/* Route / · dist/styles/famille-assistant.css */
.as-screen {
  background: var(--paper, #faf7ef);
  color: var(--ink, #121c41);
  font-family: var(--sans, Arial, sans-serif);
}
.as-screen *, .as-screen *::before, .as-screen *::after { box-sizing: border-box; }
.as-wrap { width: min(1160px, calc(100% - 72px)); margin: 0 auto; padding: 28px 0 52px; }
.as-back { display: inline-flex; align-items: center; gap: 9px; color: #4d5364; font-size: .84rem; text-decoration: none; }
.as-back:hover { text-decoration: underline; }
.as-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px; margin: 25px 0 26px; }
.as-screen .as-kicker { font-size: .71rem; font-weight: 700; line-height: 1.3; letter-spacing: .17em; text-transform: uppercase; color: #766139; margin: 0 0 12px; }
.as-heading h1 { font: 400 clamp(2.35rem,4.3vw,4.05rem)/1.02 var(--serif, Georgia, serif); letter-spacing: -.045em; margin: 0; color: var(--ink, #121c41); }
.as-heading h1 em { font-family: var(--script, Georgia, serif); font-weight: 400; font-style: normal; color: #806123; letter-spacing: 0; }
.as-heading p:not(.as-kicker) { margin: 10px 0 0; color: #4c5364; font-size: 1rem; }
.as-demo { display: inline-block; font-size: .76rem; color: #675a47; line-height: 1.5; }
.as-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 30%); gap: 23px; align-items: start; }
.as-chat { background: #fffdf9; border: 1px solid #d9d3c6; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 22px #1a24420a; }
.as-chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; color: #fff9e9; background: linear-gradient(110deg, #081754, #0b287c); }
.as-mark { color: #e7c977; border: 1px solid #d4b76286; width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; }
.as-screen svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; flex: none; }
.as-mark svg { width: 23px; height: 23px; }
.as-chat-head h2 { color: inherit; margin: 0; font: 400 1.43rem/1.12 var(--serif, Georgia, serif); }
.as-chat-head p { color: #e4d5b0; margin: 4px 0 0; font-size: .76rem; }
.as-transcript { height: clamp(300px, 39vh, 435px); overflow-y: auto; padding: 21px 23px; scrollbar-width: thin; }
.as-message { margin: 0 0 17px; display: grid; justify-items: start; }
.as-message:last-child { margin-bottom: 0; }
.as-message.as-user { justify-items: end; }
.as-speaker { margin: 0 2px 5px; color: #686656; font-size: .73rem; font-weight: 600; }
.as-bubble { max-width: 94%; padding: 12px 16px; background: #f1eee6; border-radius: 2px 12px 12px 12px; color: #23344a; overflow-wrap: anywhere; }
.as-bubble p { margin: 0; color: inherit; font-size: .94rem; line-height: 1.55; }
.as-bubble p + p { margin-top: 8px; }
.as-user .as-bubble { background: #eaf0fa; border-radius: 12px 2px 12px 12px; }
.as-source { display: inline-flex; gap: 5px; align-items: baseline; color: #2d4778; font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; margin-top: 11px; }
.as-form { border-top: 1px solid #e3ddd2; background: #fcfaf5; padding: 15px 22px 18px; }
.as-form label { display: block; color: #273450; font-weight: 600; font-size: .82rem; margin-bottom: 7px; }
.as-input-row { display: flex; align-items: stretch; gap: 8px; }
.as-input-row input { flex: 1 1 0; min-width: 0; width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #b9bbbc; border-radius: 4px; font-size: 1rem; background: white; color: #182343; }
.as-send { display: inline-flex; align-items: center; gap: 8px; justify-content: center; border: 0; border-radius: 4px; padding: 9px 15px; font: 600 .89rem/1.4 var(--sans, Arial, sans-serif); color: #fff9e8; background: #142b73; cursor: pointer; }
.as-send:hover { background: #203d91; }
.as-send svg { width: 15px; height: 15px; }
.as-form .as-privacy { display: flex; align-items: flex-start; gap: 6px; margin: 9px 0 0; color: #666760; font-size: .73rem; line-height: 1.5; }
.as-privacy svg { width: 13px; height: 13px; margin-top: 2px; }
.as-index { align-self: start; border: 1px solid #d9d3c6; background: #f4f0e6; border-radius: 8px; padding: 24px; }
.as-index h2, .as-human h3 { font: 400 1.65rem/1.12 var(--serif, Georgia, serif); letter-spacing: -.02em; color: #1d2c4a; margin: 0; }
.as-topics { display: flex; flex-direction: column; gap: 7px; margin: 18px 0 22px; }
.as-topics button { background: #fffdf8; border: 1px solid #d9d0be; border-radius: 4px; padding: 10px 11px; min-height: 46px; display: flex; align-items: center; gap: 11px; text-align: left; font: 500 .9rem/1.35 var(--sans, Arial, sans-serif); color: #26364e; cursor: pointer; }
.as-topics button:hover { background: #fcf3df; }
.as-topics svg { color: #8a723d; }
.as-human { border-top: 1px solid #d8cdba; padding-top: 19px; }
.as-human h3 { font-size: 1.31rem; }
.as-human p { font-size: .875rem; line-height: 1.5; color: #565d65; margin: 7px 0; }
.as-human a { font: 500 1.05rem/1.3 var(--sans, Arial, sans-serif); color: #293e6d; text-underline-offset: 3px; }
.as-screen :is(button,a,input,.as-transcript):focus-visible { outline: 3px solid #866424; outline-offset: 3px; }
@media (max-width: 760px) {
  .as-wrap { width: calc(100% - 36px); padding: 22px 0 30px; }
  .as-heading { align-items: start; flex-direction: column; gap: 8px; margin: 20px 0; }
  .as-layout { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .as-transcript { height: 320px; padding: 15px; }
  .as-chat-head, .as-form { padding: 13px 15px; }
  .as-index { padding: 18px; }
  .as-bubble { max-width: 97%; }
  .as-send { padding: 9px 10px; gap: 5px; }
}

.as-directory{border-top:1px solid #d8cdba;padding:13px 0;color:#26364e;font:400 .9rem/1.5 var(--sans,Arial,sans-serif)}
.as-directory summary{cursor:pointer;font-weight:600}.as-directory p{margin:.6rem 0 0}.as-bubble>a.as-source+strong{display:block;margin-top:1em}

.as-load{margin:0;padding:8px 16px;background:#f4f0e6;color:#23364c;font:400 .88rem/1.4 var(--sans,Arial,sans-serif)}

.as-bubble .as-source+.as-source{display:block;margin-top:.4rem}
