.family-question-home{box-sizing:border-box;margin:clamp(2rem,8vh,6rem) auto;max-width:49rem;padding:clamp(.3rem,2vw,1.5rem);color:var(--hub-ink,#173554)}
.family-question-home h1{margin:0 0 .55rem;text-align:center;font-size:clamp(1.7rem,3vw,2rem);line-height:1.25;letter-spacing:-.03em;color:inherit}
.family-question-home .sara-subtitle{text-align:center;font-size:1rem;line-height:1.55;color:#52677b;margin:0 0 1.75rem}
.sara-home-form{display:grid;gap:.5rem;border:1px solid #bacbd5;box-shadow:0 5px 22px #27496a0c;border-radius:1rem;padding:1.1rem;background:#fff}
.sara-home-form .primary{justify-self:end}
.sara-home-form:focus-within{outline:2px solid #236397;outline-offset:2px}
.sara-home-form textarea{font:inherit;box-sizing:border-box;width:100%;min-width:0;min-height:5.4rem;border:0;padding:.3rem;resize:vertical;background:#fff;color:#173554}
.sara-home-form textarea:focus{outline:none}
.sara-home-form .primary,.family-sara-dialog .primary{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:.6rem 1.2rem;background:#16598d;border-radius:.65rem;border:0;color:white;font-weight:650}
.sara-topics,.sara-actions,.sara-contact{display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.sara-topics{justify-content:center;margin-top:.65rem}
.sara-chip[aria-expanded=true]{background:#edf6fb;border-color:#7cabc8}
.family-question-home .sara-sample,.sara-home-contact{margin-inline:auto}
.sara-home-contact{display:block;margin-block:1.15rem;padding:.45rem .7rem;border:0;background:none;color:#1b5d88;cursor:pointer;font:inherit;text-decoration:underline;text-underline-offset:.23rem}
.sara-chip,.sara-request{min-height:44px;padding:.55rem .95rem;border:1px solid #c3d0da;background:#fff;color:#214a68;border-radius:2rem;font:inherit;cursor:pointer}
.sara-sample{display:block;min-height:44px;text-align:left;padding:.45rem 0;border:none;background:none;font:inherit;color:#1b5d88;cursor:pointer;text-decoration:underline;text-underline-offset:.22rem}
.family-sara-dialog{box-sizing:border-box;max-inline-size:min(42rem,calc(100vw - 1.25rem));width:100%;max-height:90dvh;overflow:auto;border:1px solid #c2d0db;border-radius:1rem;padding:clamp(1rem,3vw,2rem);background:white;color:#193956;box-shadow:0 20px 75px #163c5a30}
.family-sara-dialog::backdrop{background:#17334c65}
.family-sara-dialog>header{position:static;display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;background:white;color:#193956;box-shadow:none;padding:0;margin:0}
.family-sara-dialog h2,.family-sara-dialog h3{font-size:1.45rem;line-height:1.25;margin:.2em 0}
.sara-dialog-content{display:grid;gap:.85rem;min-width:0}
.sara-dialog-content p,.sara-dialog-content article{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.sara-dialog-content label{display:grid;gap:.45rem;color:#203f5b;font-weight:600}
.sara-dialog-content textarea,.sara-dialog-content select{box-sizing:border-box;min-width:0;width:100%;font:inherit;line-height:1.45;padding:.75rem;border:1px solid #9db1c4;border-radius:.6rem;background:white;color:#193956}
.family-sara-dialog button,.sara-home-form button{cursor:pointer}
.family-sara-dialog button:disabled{cursor:wait;opacity:.65}
.sara-contact a{padding:.45rem 0;color:#16598d}
.sara-turn{padding:1rem;background:#f1f6fa;border-radius:.7rem;display:grid;gap:.45rem}
.sara-conversation{display:grid;gap:.7rem}
.sara-turn-own{justify-self:end;box-sizing:border-box;max-inline-size:90%;background:var(--hub-canvas,#f6f8fa);border:1px solid #c3d0da;border-end-end-radius:.2rem}
.sara-status{color:#345b74;line-height:1.4}
.sara-status.sara-thinking{
 position:sticky;inset-block-start:0;z-index:1;display:flex;align-items:center;gap:.7rem;
 margin-block:.75rem;padding:.7rem 1rem;border:1px solid #8baec5;border-radius:.7rem;
 background:#edf6fb;color:#214a68;font-weight:650;
}
.sara-thinking::before{
 content:"";flex:0 0 .4rem;height:.4rem;margin-inline-end:1.2rem;border-radius:50%;
 background:currentColor;box-shadow:.6rem 0 currentColor,1.2rem 0 currentColor;
}
@media(prefers-reduced-motion:no-preference){
 .sara-thinking::before{animation:sara-thinking-pulse 1.35s ease-in-out infinite alternate}
 @keyframes sara-thinking-pulse{from{opacity:.45}to{opacity:1}}
}
.sara-status:empty{position:absolute;inline-size:1px;block-size:1px;margin:0;overflow:hidden;clip-path:inset(50%)}
.sara-examples:empty,.sara-conversation:empty{display:none}
.sara-request{text-align:left;border-radius:.6rem;overflow-wrap:anywhere}
@media(max-width:480px){.sara-home-form textarea{font-size:16px;min-height:6.25rem}.family-question-home{margin-block:2rem}.family-sara-dialog{max-height:95dvh}}

.ask-filters{display:flex;flex-wrap:wrap;gap:.8rem;align-items:end;margin-block:.7rem}
.ask-filters label{display:grid;gap:.3rem}
.ask-filters label:has(input[type=checkbox]){display:flex;align-items:center}
.ask-filters select{font:inherit;max-width:100%;border:1px solid #a5b8c8;border-radius:.45rem;padding:.45rem;color:inherit;background:white}
.ask-answer a{display:block;margin:.35rem 0;overflow-wrap:anywhere}
.family-function-help{margin:.75rem;min-height:44px}
.family-sara-dialog textarea{font-size:max(16px,1em)}

.family-sara-dialog>header{flex-wrap:wrap}.family-sara-dialog>header h2{min-width:0;overflow-wrap:anywhere}.family-sara-dialog>header button{flex:none;max-width:100%}

/* Keep the family launcher clear of the shell's technical-feedback dock. */
.family-function-help.sara-launcher {
 position:fixed;z-index:82;right:max(1rem,env(safe-area-inset-right));bottom:calc(1rem + env(safe-area-inset-bottom,0px));
 display:inline-flex;align-items:center;gap:.55rem;margin:0;min-height:46px;padding:.55rem 1.1rem;
 border:1px solid #155989;border-radius:2rem;color:white;background:#175b88;box-shadow:0 3px 14px #163b5326;font-weight:650;
}
.sara-launcher::before {content:"";inline-size:1rem;block-size:.8rem;border:2px solid currentColor;border-radius:.4rem .4rem .4rem .1rem}
.sara-launcher.sara-has-reply::before {background:#c7ecf4}
body:has(.pf-dock) .sara-launcher {bottom:calc(4.8rem + env(safe-area-inset-bottom,0px))}
body:has(.issue-floating:not([hidden])) .sara-launcher {bottom:calc(8.8rem + env(safe-area-inset-bottom,0px))}
.sara-launcher[aria-expanded=true] {visibility:hidden}
#familySaraPanel.sara-chat[open] {
 position:fixed;inset:auto max(1rem,env(safe-area-inset-right)) max(1rem,env(safe-area-inset-bottom)) auto;
 z-index:85;display:flex;flex-direction:column;width:min(26rem,calc(100vw - 2rem));height:min(39rem,calc(100dvh - 2rem));
 max-height:none;max-width:none;padding:0;margin:0;overflow:hidden;border-radius:1rem;
}
#familySaraPanel.sara-chat>header {align-items:center;flex-wrap:nowrap;padding:.8rem 1rem;background:#f2f7fa;border-bottom:1px solid #cedce4}
#familySaraPanel.sara-chat h2 {font-size:1.22rem;margin:0}
#familySaraPanel.sara-chat header button {min-height:44px}
#familySaraPanel.sara-chat .secondary {font:inherit;line-height:1.25;color:#235475;background:#fff;border:1px solid #a3bccb;border-radius:.55rem;padding:.5rem .75rem;min-height:44px}
#familySaraPanel.sara-chat .secondary:hover {background:#eef5f8}
.sara-chat .sara-dialog-content {display:flex;flex-direction:column;flex:1;min-height:0;gap:0}
.sara-chat .sara-status:not(:empty) {margin:0;padding:.45rem 1rem;font-size:.9rem}
.sara-chat .sara-status.sara-thinking {border:0;border-radius:0}
.sara-modes {display:flex;padding:.4rem .8rem;gap:.3rem;border-bottom:1px solid #d6e2e9}
.sara-modes button,.sara-prompt {min-height:44px;font:inherit;color:#16598d}
.sara-modes button {flex:1;border-radius:.45rem}
#familySaraPanel.sara-chat .sara-modes button[aria-pressed=true] {background:#e3f1f7;border-color:#68a0ba;color:#134665;font-weight:650}
.sara-history {min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:1rem;scrollbar-gutter:stable}
.sara-history>p {line-height:1.5;color:#34516b}
.sara-history>.sara-child-label {font-weight:650;margin-bottom:.65rem}
.sara-launcher[hidden] {display:none}
.sara-prompt {margin-top:.65rem;text-align:left;padding:.45rem .7rem;border:1px solid #a0bdcb;background:white;border-radius:.7rem;cursor:pointer}
.sara-chat .sara-conversation {align-content:start}
.sara-chat .sara-turn {padding:.7rem .85rem;max-width:94%;width:fit-content}
.sara-chat .sara-turn-own {background:#e4f2f8}
.sara-composer {display:grid;flex:none;gap:.4rem;padding:.7rem 1rem;border-top:1px solid #cedce4;max-height:52%;overflow:auto}
.sara-composer label {font-size:.9rem}
.sara-composer textarea {resize:none;min-height:44px}
.sara-composer>.sara-actions {justify-content:flex-end}
.sara-more summary {cursor:pointer;width:fit-content;color:#16598d;padding:.45rem 0}
.sara-more {margin:0}
@media(max-width:600px){
 #familySaraPanel.sara-chat[open] {inset:0;width:100%;height:100dvh;border:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
}
