:where(.skip-link,.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog){font-family:"Segoe UI",Arial,sans-serif;color:#2c243b;font-synthesis:none;font-weight:400;--purple:#694597;--purple-dark:#4c2d71;--muted:#796e86;--border:#e5deec;--focus:#217b99}body{margin:0;background:#f8f6fb}.skip-link,:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog),:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) *{box-sizing:border-box}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) :where(button,input){font:inherit}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) :where(button,a,input){-webkit-tap-highlight-color:transparent}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) button{cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) button:disabled{cursor:default;opacity:.43}.skip-link:focus-visible,:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) :where(button,a,input,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:4px}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) button svg{flex-shrink:0}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) a{color:var(--purple)}:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) [hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:12px;z-index:30;transform:translateY(-180%);padding:12px 18px;background:var(--purple-dark);color:white;border-radius:8px;text-decoration:none}.skip-link:focus{transform:none}
.site-header{max-width:1296px;margin:auto;padding:23px 36px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:24px}.brand{display:flex;align-items:center;gap:10px;color:#3b2c4e;text-decoration:none;font-size:22px;font-weight:430;letter-spacing:-.6px;line-height:1.06}.brand strong{font-weight:700}.brand small{display:block;font-size:9px;letter-spacing:1.1px;text-transform:uppercase;font-weight:550;color:#8e7b9e;margin-top:6px}.brandmark{display:grid;place-items:center;width:41px;height:43px;color:#7955a3}.brandmark svg{width:37px;height:37px}.header-note{display:flex;align-items:center;gap:8px;font-size:12px;color:#867b90;letter-spacing:.1px}.header-note>span{width:5px;height:5px;border-radius:50%;background:#ad95c6}.header-link{display:flex;align-items:center;gap:7px;border:0;background:none;color:#79658d;font-size:12px;padding:9px 0 9px 9px}.header-link:hover{color:var(--purple-dark)}.site-shell main{max-width:1296px;margin:auto;padding:34px 36px 20px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:30px}.eyebrow{font-size:9px;line-height:1.5;letter-spacing:1.7px;font-weight:700;color:#826b98;margin:0 0 9px}.site-shell h1{font-size:clamp(34px,3.65vw,49px);font-weight:480;letter-spacing:-2px;line-height:1.12;margin:0}.site-shell h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#7b58a2}.site-shell h1 br{display:none}.intro-copy{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 2px}.intro-copy>span{display:block;font-size:11px;color:#9a8da5;margin-top:8px}
.workspace{display:grid;grid-template-columns:.88fr 1.12fr;gap:23px;align-items:stretch}.stage,.conversation{height:658px;border-radius:22px;min-width:0}.stage{position:relative;overflow:hidden;border:1px solid #ddd0eb;background:radial-gradient(ellipse at 46% 31%,#f4effa 0%,#e7def2 64%,#e0d3ee 100%);isolation:isolate}.stage-top{position:absolute;top:21px;left:21px;right:21px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px}.pill{display:flex;align-items:center;gap:7px;max-width:68%;padding:8px 11px;background:#ffffffe0;border:1px solid #ffffffc9;border-radius:30px;font-size:10px;font-weight:600;line-height:1.3;color:#6d5f7d}.pill i{display:block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#a391b3}.pill i.live{background:#309e82;box-shadow:0 0 0 3px #309e821c}.ai-label{font-size:8px;letter-spacing:1.5px;color:#947ca9;white-space:nowrap}.stage-wordmark{position:absolute;left:0;right:0;top:110px;text-align:center;font:italic 220px/.8 Georgia,serif;letter-spacing:-15px;color:#c4aed930;z-index:-1;user-select:none}.stage .portrait{position:absolute;inset:52px 0 76px;max-width:none}.portrait img,.portrait canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.stage-bottom{position:absolute;bottom:0;left:0;right:0;z-index:3;text-align:center;padding:18px 20px 24px;pointer-events:none;background:linear-gradient(transparent,#e3d7efc9 48%)}.stage-bottom p{margin:8px 0 0;font-size:11px;color:#826995;line-height:1.4}.wave{height:22px;display:flex;align-items:center;justify-content:center;gap:4px}.wave b{display:block;width:3px;height:4px;border-radius:3px;background:#a789bc}.character-loading{position:absolute;z-index:3;bottom:4px;left:24px;right:24px;margin:0;text-align:center;font-size:11px;line-height:1.5;color:#765989;background:#f5effbd9;border:1px solid #ffffffa8;border-radius:10px;padding:8px}
.conversation{background:#fff;border:1px solid var(--border);padding:25px 27px 18px;display:flex;flex-direction:column;box-shadow:0 5px 24px #4d326006}.panel-head{display:flex;align-items:center;justify-content:flex-end;gap:15px}.panel-head .eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:6px}:where(.site-shell,.info-dialog,.reference-dialog,.auth-dialog) h2{font-size:22px;line-height:1.3;letter-spacing:-.7px;font-weight:550;margin:0}.text-button{border:0;background:none;color:#8b759e;font-size:11px;padding:7px 0}.text-button:hover{color:var(--purple-dark)}.reset-button{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:10px}.mode-row{display:flex;align-items:center;gap:10px;margin:19px 0 2px;padding-bottom:15px;border-bottom:1px solid #efeaf3;min-height:53px}.mode-switch{display:flex;align-items:center;gap:3px;border:1px solid #ede7f3;border-radius:10px;padding:3px;background:#f8f5fb}.mode-switch button{display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:1px solid transparent;color:#8f7d9d;font-size:11px;line-height:1;padding:8px 13px;border-radius:7px;min-width:78px}.mode-switch button[aria-pressed=true]{background:white;border-color:#e7deee;color:#674488;box-shadow:0 1px 3px #4d32600b}.mode-switch button:hover:not(:disabled){color:var(--purple-dark);background:#fff}.mode-caption{font-size:10px;color:#a396ad;margin-left:auto}.transcript{flex:1;min-height:0;overflow:auto;padding:20px 2px 15px;scrollbar-width:thin;scrollbar-color:#d9cbe6 transparent;scroll-margin:24px}.transcript:focus-visible{outline-offset:-2px;border-radius:8px}#empty{padding:0 0 3px}.welcome-icon{width:38px;height:38px;border:1px solid #e8dff1;border-radius:12px;background:#f6f1fa;color:#9976b4;display:grid;place-items:center;margin-bottom:12px}.site-shell h3{font-size:18px;letter-spacing:-.4px;font-weight:600;line-height:1.3;margin:0 0 7px}#empty>p{font-size:12px;line-height:1.65;color:#8b7b99;margin:0}#empty .starter-label{font-size:8px;letter-spacing:1.3px;font-weight:650;color:#a08aae;margin:21px 0 8px}.starters{display:flex;flex-direction:column;gap:7px}.starters button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid #ebe3f2;border-radius:9px;background:#fbf9fd;color:#776084;text-align:left;font-size:11px;line-height:1.5;padding:10px 12px}.starters button svg{color:#b6a0c5}.starters button:hover{background:#f2eaf9;border-color:#cdb7dd;color:#5b377b}.starters button:hover svg{color:#7e5b9b}
.composer{padding-top:2px}.controls{display:flex;align-items:stretch;gap:7px}.primary{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;background:var(--purple);color:#fff;border:1px solid var(--purple);border-radius:10px;padding:12px 10px;min-height:45px;font-size:12px;font-weight:600;box-shadow:0 3px 7px #59317f16}.primary:hover:not(:disabled){background:#57357f;border-color:#57357f;box-shadow:0 3px 11px #59317f24}.secondary{border:1px solid #e2d7eb;border-radius:9px;color:#80638f;background:#fff;padding:9px 12px;font-size:10px;font-weight:550}.secondary:hover:not(:disabled){border-color:#bba0ce;background:#f8f3fb}.secondary[aria-pressed=true]{background:#f1e6f8;color:#5c3874;border-color:#bda2d0}.end-button:not(:disabled){color:#975c72;background:#fff9fa;border-color:#e8d2dc}.connection-hint{font-size:10px;color:#9887a5;text-align:center;line-height:1.5;margin:8px 0 12px}#textForm{display:flex;align-items:center;gap:10px;padding:7px 8px 7px 14px;border:1px solid #e3d9ec;border-radius:10px;background:#fcfbfd;transition:border-color .15s ease,box-shadow .15s ease}#textForm:focus-within{border-color:#a885bf;box-shadow:0 0 0 3px #9470b214}#textInput{min-width:0;width:100%;border:0;background:transparent;color:#4f3963;padding:6px 0;font-size:12px;line-height:1.5}#textInput:focus-visible{outline:none}#textInput::placeholder{color:#a797b2}#send{display:grid;place-items:center;width:33px;height:33px;flex-shrink:0;border:1px solid #e8dff0;border-radius:7px;background:#eee5f6;color:#7b5699}#send:hover:not(:disabled){background:#dfd0ed;border-color:#c3a9d8}.usage-hint{font-size:9px;line-height:1.5;color:#a698af;text-align:center;margin:10px 0 0}.notice{background:#f7f0fc;color:#715185;border:1px solid #e7d6f2;padding:10px 12px;font-size:11px;line-height:1.6;border-radius:9px;margin:0 0 10px;overflow-wrap:anywhere}.notice[data-kind=error],.notice.error{background:#fff3f0;border-color:#efd5cc;color:#96503d}.enable-audio{width:100%;margin-bottom:10px}.message{border:1px solid #eee6f5;border-radius:12px 12px 12px 3px;background:#f7f2fc;color:#654a7a;padding:12px 14px;margin:0 20px 13px 0;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{border-radius:12px 12px 3px 12px;background:#f5f6f8;color:#5f5b69;border-color:#e9e9ee;margin-left:30px;margin-right:0}.message strong{display:block;font-size:8px;font-weight:650;letter-spacing:1.3px;color:#9a81ad;margin-bottom:5px}.message.user strong{color:#8d8998}.message p{margin:0}.message.pending{color:#96829f}
.site-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:16px 3px 0;font-size:10px;line-height:1.65;color:#9989a4}.site-footer p{margin:0}.info-dialog,.reference-dialog{width:min(460px,calc(100vw - 32px));border:1px solid #e0d3eb;border-radius:18px;padding:24px;color:#695079;background:#fff;box-shadow:0 24px 90px #24113838;max-height:90vh;overflow:auto}.info-dialog::backdrop,.reference-dialog::backdrop{background:#2b16355e}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-head h2{font-size:20px}.dialog-close{display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:1px solid #e9e0f1;border-radius:50%;background:#f7f2fb;color:#8f6ba6;font-size:24px;line-height:1}.info-dialog p{font-size:13px;line-height:1.75;margin:0 0 15px}.info-dialog>a{display:inline-block;font-size:12px;text-underline-offset:3px;margin-top:3px}.reference-dialog img{display:block;max-height:72vh;width:100%;height:auto;object-fit:contain}
.reference-thumb{position:absolute;top:70px;right:15px;z-index:5;width:85px;padding:5px;border:1px solid #fff;border-radius:9px;background:#fff9;font-size:9px;color:#715085}.reference-thumb img{width:100%;height:105px;object-fit:cover}.reference-thumb span{display:block;padding:4px 0}.face-reference{position:relative;margin:0;height:658px;border:1px solid #d9d0e7;border-radius:22px;overflow:hidden;background:#e7def2}.face-reference figcaption{position:absolute;top:25px;left:24px;z-index:2;font-size:11px;color:#795f8f}.face-reference-crop{position:absolute;inset:52px 0 76px;overflow:hidden}.face-reference-crop img{position:absolute;max-width:none}.face-study{grid-template-columns:1fr 1fr}.face-study .conversation,.face-study .reference-thumb{display:none}.face-study .stage .ai-label{font-size:0}.face-study .stage .ai-label:after{content:attr(data-view-label);font-size:8px}.face-study .stage-wordmark{display:none}#comparisonPreview{position:absolute;bottom:8px;left:10px;right:10px;z-index:5;margin:auto}.face-study .stage-bottom{bottom:25px}.face-study .wave{display:none}
@media(min-width:1150px){.site-shell h1 br{display:block}.intro{margin-bottom:29px}.intro-copy{padding-bottom:5px}}
@media(min-width:1450px){.site-shell main{padding-top:41px}.intro{margin-bottom:35px}.stage,.conversation,.face-reference{height:690px}.conversation{padding:28px 31px 20px}.transcript{padding-top:24px}.starters button{padding:12px 14px;font-size:12px}#empty>p,.message{font-size:13px}.welcome-icon{margin-bottom:14px}#empty .starter-label{margin-top:24px}.stage-wordmark{font-size:235px;top:120px}}
@media(max-width:1149px){.intro{align-items:flex-start;flex-direction:column;gap:15px}.intro-copy{font-size:13px;line-height:1.6}.intro-copy br{display:none}.intro-copy>span{display:inline;margin-left:8px;font-size:11px}.site-shell h1{font-size:37px}.workspace{grid-template-columns:.86fr 1.14fr;gap:18px}.conversation{padding:23px 23px 18px}.stage-top{left:16px;right:16px}.ai-label{font-size:7px;letter-spacing:1px}.mode-caption{font-size:9px}.stage-wordmark{font-size:190px;top:145px}.primary{font-size:11px}.secondary{padding:9px 10px}.reset-button{font-size:9px;gap:4px}}
@media(max-width:850px){.site-header{padding:19px 24px}.header-note{font-size:10px}.header-link{font-size:11px}.site-shell main{padding:27px 24px 20px}.intro{margin-bottom:24px}.intro-copy>span{display:block;margin:5px 0 0}.workspace{grid-template-columns:.77fr 1.23fr;gap:14px}.stage,.conversation,.face-reference{height:665px}.conversation{padding:22px 19px 17px}:where(.site-shell,.info-dialog,.reference-dialog,.auth-dialog) h2{font-size:20px}.mode-caption{display:none}.stage-top{top:17px;left:13px;right:13px;flex-wrap:wrap;gap:10px}.ai-label{width:100%;padding-left:7px}.pill{max-width:100%}.stage .portrait{inset:70px -25px 76px}.stage-wordmark{font-size:150px;top:185px}.stage-bottom{padding:18px 15px 22px}.stage-bottom p{font-size:10px}.controls{gap:6px}.primary{padding:12px 8px}.secondary{padding:9px 8px}.reset-button svg{display:none}.starters button{font-size:10px;padding:10px}.desktop-break{display:none}.message{margin-right:7px}.message.user{margin-left:18px}}
@media(max-width:680px){.site-header{padding:17px 20px}.brand{font-size:21px}.brandmark{width:35px;height:39px}.brandmark svg{width:34px;height:34px}.header-note{display:none}.site-shell main{padding:25px 16px 20px}.intro{gap:13px;padding:0 4px;margin-bottom:23px}.intro .eyebrow{font-size:8px;letter-spacing:1.5px}.site-shell h1{font-size:34px;line-height:1.12;letter-spacing:-1.5px}.site-shell h1 br{display:block}.intro-copy{font-size:12px;line-height:1.65;max-width:370px}.intro-copy>span{font-size:10px;margin-top:6px}.workspace{grid-template-columns:1fr;gap:15px}.stage{height:330px;min-height:330px;border-radius:19px}.stage-top{left:18px;right:18px;top:16px;flex-wrap:nowrap}.ai-label{width:auto;padding:0;font-size:7px}.stage .portrait{inset:31px 0 41px}.stage-wordmark{font-size:175px;letter-spacing:-12px;top:101px}.stage-bottom{padding:10px 16px 13px}.stage-bottom p{font-size:9px;margin-top:4px}.wave{height:15px}.wave b{width:2px}.character-loading{font-size:9px;left:55px;right:55px;bottom:5px;padding:6px}.conversation{height:642px;min-height:590px;border-radius:19px;padding:22px 21px 17px;scroll-margin-top:12px}.panel-head{gap:10px}:where(.site-shell,.info-dialog,.reference-dialog,.auth-dialog) h2{font-size:22px}.reset-button{font-size:10px}.reset-button svg{display:block}.mode-row{margin-top:17px;padding-bottom:13px}.mode-caption{display:block;font-size:9px}.mode-switch button{font-size:11px;min-width:76px}.transcript{padding-top:17px}.welcome-icon{margin-bottom:10px}.site-shell h3{font-size:18px}#empty>p{font-size:12px}#empty .starter-label{margin-top:18px}.starters button{font-size:11px;padding:10px 12px}.primary{font-size:12px;min-height:46px;padding:12px 9px}.secondary{font-size:10px;padding:10px 12px}.controls{gap:7px}.connection-hint{font-size:9px;margin:8px 0 11px}#textInput{font-size:16px;line-height:1.5;padding:3px 0}#textInput::placeholder{font-size:12px}.usage-hint{font-size:9px}.message{font-size:13px}.site-footer{padding:15px 5px 0;flex-direction:column;gap:12px;font-size:9px}.face-study{grid-template-columns:1fr 1fr;gap:9px}.face-study .stage,.face-reference{height:460px;min-height:460px}.face-study .stage-top{left:10px;right:10px;flex-wrap:wrap}.face-study .stage .ai-label:after{font-size:6px}.face-study .stage .portrait{inset:70px 0 76px}.face-reference-crop{inset:70px 0 76px}.face-reference figcaption{left:12px;top:22px;font-size:10px}}
@media(max-width:370px){.site-shell main{padding-left:12px;padding-right:12px}.site-shell h1{font-size:30px}.conversation{padding-left:16px;padding-right:16px}.mode-caption{display:none}.primary{font-size:11px;gap:6px}.primary svg{width:16px}.secondary{padding:9px 10px}.reset-button{font-size:9px}.reset-button svg{display:none}.starters button{font-size:10px}}
@media(prefers-reduced-motion:reduce){:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) button,.site-shell #textForm{transition:none!important}}
/* Keep supporting copy and conversation text readable at normal zoom. */
.header-note{color:#766980}.intro-copy>span{color:#82708f}.mode-caption{color:#84728f}.connection-hint{color:#85718f;font-size:11px}.usage-hint{color:#8b7796;font-size:10px}.site-footer{color:#84708f;font-size:11px}.message{font-size:14px;line-height:1.65}.starters button{font-size:12px}#empty>p{font-size:13px}#textInput{font-size:14px}#textInput::placeholder{color:#9a87a8}.ai-label{color:#8b719f}.text-button{color:#80658f}
@media(max-width:850px){.starters button{font-size:11px}}
@media(max-width:680px){.site-footer{font-size:10px}.connection-hint,.usage-hint{font-size:10px}.mode-switch button{min-height:35px}.starters button{min-height:43px;font-size:11px}#textInput{font-size:16px}.message{font-size:14px}#empty>p{font-size:12px}}
/* Text mode keeps the question composer as the primary action. */
.mobile-conversation-link{display:none}.thinking-message{font-size:13px;color:#79628c;padding:8px 12px}
@media(max-width:680px){
  .mobile-conversation-link{display:inline-flex;gap:12px;align-items:center;font-size:13px;font-weight:600;text-underline-offset:4px;padding:5px 0}
  .conversation .transcript{min-height:180px}
  .conversation{height:680px}.stage{height:280px;min-height:280px}.stage-wordmark{top:82px;font-size:150px}
  #conversation{scroll-margin-top:24px}
}

.message-note { display: block; margin-top: 8px; font-size: 12px; color: #75677d; }
.display-options{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
.conversation .composer{flex-shrink:0;padding-top:14px;border-top:1px solid #efeaf3}
.voice-toolbar{display:flex;align-items:center;gap:8px;margin-top:10px;height:40px}.voice-toolbar .primary{flex:none;width:132px;min-height:40px;padding:9px 12px;font-size:12px}.voice-toolbar .primary[aria-pressed=true]{background:#f2eaf8;color:#65428b;border-color:#cfbade;box-shadow:none}.voice-toolbar .secondary{width:94px;min-height:40px;padding:9px 8px;font-size:11px}
.conversation #textForm{border-color:#c8b1dc;background:#fbf8fd;box-shadow:0 2px 8px #69459709}.conversation #textForm:focus-within{border-color:#9b78b5;box-shadow:0 0 0 3px #9470b21c}.conversation #send{background:var(--purple);color:#fff;border-color:var(--purple)}.conversation #send:hover:not(:disabled){background:var(--purple-dark)}
.conversation .connection-hint{display:flex;align-items:center;justify-content:center;height:32px;margin:3px 0;font-size:10px;line-height:1.4}.conversation .usage-hint{margin-top:4px}
@media(max-width:680px){.voice-toolbar .primary{flex:1;width:auto}.voice-toolbar .secondary{width:100px}.conversation .composer{padding-top:12px}.conversation #textInput::placeholder{font-size:12px}}
.workspace:not(.face-study){grid-template-columns:1fr;max-width:860px;margin-inline:0}

/* Visit-only conversation history stays available without competing with the primary prompt. */
.panel-actions{display:flex;align-items:center;gap:10px;min-width:0}.recent-conversations{display:block;min-width:0}.recent-conversations select{max-width:172px;min-width:140px;border:1px solid #e2d7eb;border-radius:8px;background:#fff;color:#6d5780;padding:7px 9px;font-size:11px;line-height:1.4}.recent-conversations select:hover{border-color:#bba0ce;background:#f8f3fb}.recent-conversations select:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

/* Locally hosted Font Awesome Sharp Light icon sizing. */
:where(.sidebar,.site-shell,.info-dialog,.reference-dialog,.auth-dialog) button .fa-icon{flex-shrink:0}.reset-icon{width:15px;font-size:15px}.welcome-fa-icon{font-size:25px}.starter-icon{width:16px;font-size:16px;color:#b6a0c5}.starters button:hover .starter-icon{color:#7e5b9b}.send-icon{font-size:20px}.voice-toolbar .voice-icon{width:18px;font-size:18px;text-align:center}.voice-toolbar .voice-label{white-space:nowrap}.voice-toolbar .save-answer{width:auto;padding-inline:12px;white-space:nowrap}.dialog-icon{font-size:20px}.external-link-icon,.reference-icon,.mobile-link-icon{font-size:.85em;vertical-align:-.08em}.mobile-link-icon{margin-left:4px}.reference-thumb .reference-icon{display:inline-block;padding:0}
.portrait #avatarFallback{object-fit:cover;object-position:center}
#askPage .stage .portrait{inset:0}
@media(max-width:850px){.reset-button .reset-icon{display:none}}
@media(max-width:680px){.reset-button .reset-icon{display:inline-block}}
@media(max-width:370px){.reset-button .reset-icon{display:none}}
@media(max-width:850px){.panel-actions{gap:7px}.recent-conversations select{min-width:126px;max-width:142px;font-size:10px}}
@media(max-width:680px){.panel-head{align-items:flex-start;flex-wrap:wrap}.panel-actions{width:100%;justify-content:space-between}.recent-conversations{flex:1}.recent-conversations select{width:100%;max-width:none;font-size:11px}}

/* Character review sits below the conversation and uses an independent preview. */
.character-inspector{margin-top:32px;max-width:1080px;padding:22px;border:1px solid var(--border);border-radius:13px;background:var(--surface,#fff);color:#171440}
.inspection-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.inspection-heading h2{font-size:23px;margin:0}
.character-inspector p{line-height:1.6;color:#5e607f;font-size:14px}.inspection-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.inspection-comparison figure{margin:0;min-width:0}.inspection-comparison figcaption{font-size:14px;font-weight:650;padding:12px 0}
.inspection-viewport,.inspection-reference{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 50% 38%,#f5f0ff,#e2d9f9)}
.inspection-comparison{position:sticky;top:0;z-index:2;padding-bottom:12px;background:#fff}
@media(min-width:681px){.inspection-viewport,.inspection-reference{height:min(44vh,480px);width:auto;max-width:100%;margin-inline:auto}}
@media(max-width:650px){.inspection-comparison{top:72px}}
.inspection-viewport img,.inspection-reference img,.inspection-viewport canvas{display:block;width:100%;height:100%;object-fit:contain}.inspection-viewport [hidden]{display:none}
.character-inspector fieldset{border:0;padding:0;margin:0;min-width:0}.character-inspector fieldset:disabled{opacity:.55}
.inspection-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:18px}.inspection-fields label{display:block;font-size:13px;font-weight:600;min-width:0}.inspection-fields output{float:right;font-variant-numeric:tabular-nums;color:#5e607f}
.inspection-fields select{display:block;width:100%;margin-top:7px;border:1px solid var(--border);border-radius:8px;background:#fff;color:#171440;min-height:42px;padding:9px;font:inherit}.inspection-fields input[type=range]{display:block;width:100%;height:32px;margin:7px 0 0;accent-color:var(--purple)}
.inspection-presets,.inspection-actions{display:flex;flex-wrap:wrap;gap:8px}.character-inspector button{min-height:40px;padding:9px 13px;border:1px solid var(--border);background:#fff;border-radius:8px;color:#342455;font:inherit;font-size:13px;cursor:pointer}.character-inspector button:hover{background:#f4eeff}.character-inspector button[aria-pressed=true]{background:#eee6ff;border-color:#7138f5;color:#5020c7}.character-inspector button:disabled{cursor:default}.character-inspector :is(button,input,select):focus-visible{outline:3px solid var(--focus);outline-offset:3px}.character-inspector .inspection-note{font-size:12px;margin-bottom:0}.inspection-status{min-height:24px}
@media(max-width:680px){.character-inspector{padding:15px}.inspection-comparison{gap:8px}.inspection-comparison figcaption{font-size:12px}.inspection-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inspection-heading h2{font-size:21px}.inspection-actions button{flex:1 1 40%}}
.auth-dialog{width:min(600px,calc(100vw - 28px));max-height:calc(100vh - 28px);padding:30px;border:1px solid var(--border,#e8e6f2);border-radius:20px;background:#fff;color:#171440;box-shadow:0 28px 100px #17144040;overflow:auto}.auth-dialog::backdrop{background:#1714405c}.auth-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}.auth-dialog-head img{display:block;width:154px;height:auto}.auth-dialog h2{margin:0 0 8px;font-size:clamp(25px,4vw,34px);line-height:1.15;color:#171440}.auth-intro,.auth-step>p{margin:0 0 23px;color:#6f7395;font-size:14px;line-height:1.55}.auth-provider-list{display:grid;gap:10px;margin:24px 0}.auth-provider{position:relative;display:flex;align-items:center;justify-content:center;min-height:50px;padding:10px 50px;border:1px solid #dcd9e8;border-radius:10px;background:#fff;color:#171440;font-family:inherit;font-size:15px;font-weight:600;line-height:1.2}.auth-provider:not(:disabled):hover{border-color:#7138f5;background:#faf8ff}.auth-provider:disabled{opacity:.52;cursor:not-allowed}.auth-provider-mark{position:absolute;left:17px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f1edfb;color:#5b35b4;font-size:13px;font-weight:750}.auth-provider-mark-microsoft{grid-template-columns:repeat(2,8px);grid-template-rows:repeat(2,8px);gap:2px;border-radius:0;background:transparent}.auth-provider-mark-microsoft i{display:block;width:8px;height:8px;background:#7138f5}.auth-provider-mark-microsoft i:nth-child(2),.auth-provider-mark-microsoft i:nth-child(3){background:#9c7cf4}.auth-divider{display:flex;align-items:center;gap:14px;margin:22px 0;color:#8584a1;font-size:12px;text-transform:uppercase}.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#e8e6f2}.auth-divider:empty::after{display:none}.auth-form{display:grid;gap:10px}.auth-form label{font-size:15px;font-weight:700;color:#171440}.auth-form p{margin:-5px 0 4px;color:#6f7395;font-size:13px}.auth-form input{width:100%;height:51px;padding:0 15px;border:1px solid #dcd9e8;border-radius:10px;background:#fff;color:#171440;font-family:inherit;font-size:15px}.auth-form input:focus{border-color:#7138f5;outline:3px solid #7138f526}.auth-primary{min-height:50px;margin-top:3px;border:0;border-radius:10px;background:#7138f5;color:#fff;font-family:inherit;font-size:15px;font-weight:700}.auth-primary:hover{background:#5020c7}.auth-primary:disabled{opacity:.65;cursor:wait}.auth-consent{margin:17px auto 0;max-width:480px;color:#6f7395;font-size:12px;line-height:1.55;text-align:center}.auth-consent a{color:#6534d7;text-underline-offset:2px}.auth-enterprise{display:grid;grid-template-columns:24px 1fr 24px;align-items:center;width:100%;min-height:51px;padding:10px 14px;border:1px solid #dcd9e8;border-radius:10px;background:#fff;color:#171440;font-family:inherit;font-size:15px;font-weight:600}.auth-enterprise:not(:disabled):hover{border-color:#7138f5;background:#faf8ff}.auth-enterprise:disabled{opacity:.52;cursor:not-allowed}.auth-enterprise-note{margin:10px 0 0;color:#6f7395;font-size:12px;text-align:center}.auth-text-button{margin-top:16px;padding:0;border:0;background:transparent;color:#6534d7;font-family:inherit;font-size:13px;font-weight:600;text-decoration:underline;text-underline-offset:3px}.auth-status{min-height:20px;margin:18px 0 0;color:#7138f5;font-size:13px;line-height:1.45}.auth-step[hidden]{display:none}.auth-form[aria-busy=true]{opacity:.75}.auth-dialog :focus-visible{outline:3px solid var(--focus,#6534d7);outline-offset:3px}
@media(max-width:520px){.auth-dialog{padding:22px 18px;border-radius:15px}.auth-dialog-head{margin-bottom:22px}.auth-dialog-head img{width:132px}.auth-provider{padding-inline:42px;font-size:14px}.auth-provider-mark{left:13px}}
