@font-face{font-family:NqCairo;src:url('/assistant-identity-v39/cairo.woff2') format('woff2');font-display:swap;font-weight:200 1000}
/* Shared NEFERITIQ presentation tokens. Business/auth rules remain in their modules. */
:root{--nq-ink:#193b5c;--nq-blue:#0878df;--nq-line:#dce8f3;--nq-muted:#657b90;--nq-radius:16px}
body{color:var(--nq-ink);background:#f8fbfe;font-family:NqCairo,Tahoma,Arial,sans-serif}button,input,textarea,select{font-family:inherit}button{min-height:40px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #79bbef;outline-offset:3px}
.nf-global-head{font-family:inherit;background:#fff;border-bottom:1px solid var(--nq-line);box-shadow:none}.nf-global-menubtn,.nf-global-cta{border-radius:12px}.nf-global-foot{background:#f8fbfe;color:var(--nq-muted)}
.chat{display:flex;flex-direction:column;width:min(100%,940px);margin:0 auto;padding-inline:24px!important;background:transparent;min-height:calc(100dvh - 100px)}
.chat>.nf-shell-toolbar{order:0;justify-content:flex-start;gap:8px;margin:12px 0 16px}.chat>.nf-shell-toolbar button{font-size:14px;min-height:40px;padding:8px 13px;border-radius:12px}
.chat>#business-hero{order:1;max-width:640px;margin:0 auto 16px;padding:4px 12px}.chat>#business-hero img{width:min(310px,65vw);height:220px;aspect-ratio:auto;object-fit:contain;border-radius:0;filter:none;margin-bottom:8px}.chat>#business-hero h1{font-size:clamp(24px,4vw,34px);line-height:1.55;margin:4px 0}.chat>#business-hero h1 span{color:var(--nq-blue)}.chat>#business-hero p{font-size:16px;line-height:1.85;margin:8px auto;color:var(--nq-muted)}
.chat>#business-lanes{order:3;margin:12px auto;gap:8px;max-width:720px}.chat>#business-lanes button{flex:1 1 105px;min-height:78px;max-width:135px;font-size:13px;line-height:1.65;border:1px solid var(--nq-line);background:#fff;border-radius:14px;padding:10px 5px}.chat>#business-lanes button span{width:30px;height:30px;background:transparent}
.chat>.nf-project-strip{order:4;margin:8px 0;background:transparent;justify-content:center}.chat>#messages{order:5;min-height:0;gap:24px;padding:0;margin:0}.chat:not(.has-conversation) #empty{display:none}.chat>.v39-more{order:6;background:white}.chat>#usage-status{order:7}.chat>p.note,.chat>#profile-capture,.chat>#link-status{order:7}.chat>#form{order:2}.chat>#tool-panel{order:4}
.chat:not(.has-conversation){padding-bottom:24px!important}.chat:not(.has-conversation)>.chatcompose.chat-dock{position:relative!important;inset:auto!important;z-index:1;width:100%!important;max-width:760px;margin:4px auto 8px!important;background:transparent;padding:0}
.chat.has-conversation>#messages{order:3;padding:12px 0 24px}.chat.has-conversation>.nf-project-strip{display:none}.chat.has-conversation>.v39-more{order:4}.chat.has-conversation{padding-bottom:calc(var(--chat-dock-height) + 20px)!important}
.chat .composer{border:1px solid #b9d8ef;border-radius:20px;background:#fff;box-shadow:0 4px 18px #194f7b0b;padding:10px 12px;gap:10px;align-items:flex-end}.chat .composer textarea{font-size:16px!important;line-height:1.8;min-height:52px;max-height:128px;padding:10px 4px;overflow-y:auto;color:var(--nq-ink)}.chat .composer .send{width:46px;min-width:46px;height:46px;border-radius:14px}.chat .chatcompose .note{font-size:11px;margin:7px 4px;line-height:1.6}.chat .chatcompose.chat-dock{background:linear-gradient(0deg,#f8fbfe 88%,#f8fbfe00);padding-top:8px}.chat .follow-reply[hidden]{display:none!important}
.chat .answer{width:100%;margin:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:4px 0 18px!important}.chat .answer .who{font-size:15px;gap:8px;margin:0 0 12px}.chat .answer .who img{width:32px;height:32px}.chat .answer .paper{border:0;background:transparent;border-radius:0;padding:0;min-height:0}.chat .answer .ink,.chat .answer .response-block-body{font-size:16px!important;line-height:1.95!important}.chat .answer .writing-status{font-size:11px;margin:4px 0 8px;color:var(--nq-muted)}
.chat .user-paper{align-self:flex-start;width:fit-content;max-width:88%;border:1px solid #dce9f5;background:#eef6fd;border-radius:18px;padding:12px 16px!important;margin:0;box-shadow:none}.chat .user-paper .paper{border:0;border-radius:0;background:transparent;padding:0;min-height:0}.chat .user-paper .who{font-size:12px;margin:0 0 4px}.chat .user-paper .pen-badge{display:none}.chat .user-paper .ink{font-size:16px;line-height:1.9}.chat .user-paper .actions{margin:4px 0 0}.chat .user-paper .actions button{font-size:11px;min-height:30px;padding:2px 8px;border:0;background:transparent;color:var(--nq-muted)}
.chat .answer .actions button,.chat .answer .response-block-controls button{font-size:12px;min-height:36px;border-radius:10px}.chat .answer .response-block{border-radius:0;border:0;border-bottom:1px solid var(--nq-line);background:transparent;padding:14px 0;margin:0}.chat .answer .response-block-header{padding:0;background:transparent;border:0;gap:8px}.chat .answer .response-block-body{padding:8px 0}.chat .answer .response-block h3{font-size:17px;line-height:1.7}.chat .answer .inline-chat-error{border-radius:14px}.chat .note{color:var(--nq-muted)}
@media(max-width:650px){.chat{padding-inline:16px!important}.chat>#business-hero img{height:190px;width:260px}.chat>.nf-shell-toolbar{gap:6px;margin-top:8px}.chat>.nf-shell-toolbar button{font-size:12px;padding:7px 10px}.chat>#business-lanes{gap:6px}.chat>#business-lanes button{flex:1 1 28%;max-width:none;min-height:70px;font-size:12px}.chat .user-paper{max-width:92%}.chat .chatcompose.chat-dock{inset-inline:10px!important}.chat:not(.has-conversation)>.chatcompose.chat-dock{inset:auto!important}.chat .answer .who .header-pen-replay{font-size:11px;padding:4px 8px;min-height:32px}}
@media(prefers-reduced-motion:reduce){.chat *{scroll-behavior:auto!important;animation:none!important}}

.chat:not(.has-conversation)>#messages{display:none!important}.chat>#guest-intro{order:4;font-size:12px;line-height:1.8;text-align:center;color:var(--nq-muted);margin:6px auto;max-width:600px}.chat.has-conversation>#guest-intro{display:none!important}.chat .nf-project-strip #project-step{display:none}

.chat>#trial-policy-v58,.chat>#shared-trial-status{order:7;font-size:11px;line-height:1.8;margin:8px auto;max-width:640px}
*,*::before,*::after{box-sizing:border-box}.chat .answer .response-block-body{overflow-wrap:anywhere;min-width:0}.chat .answer .response-block-head{flex-wrap:wrap}.chat .answer .response-block textarea{width:100%;max-width:100%;font:inherit;font-size:16px;line-height:1.8;border:1px solid var(--nq-line);border-radius:12px;padding:12px}
