/* A shared, quiet reading rhythm. Preserve the selected C composition. */
:root{--ink-soft:#665d70}.topbar-actions{position:relative}.workspace-login{font-size:.8125rem;color:inherit;text-decoration:none;display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}.consumer-account{position:absolute;right:0;top:calc(100% + 12px);z-index:90;width:280px;padding:20px;background:#fffdf9;color:#433b49;border:1px solid #ddd6e1;border-radius:12px;box-shadow:0 12px 36px #30223818}.consumer-account p{font-size:13px;line-height:1.65;margin:0 0 12px}.consumer-account a,.consumer-account button{display:block;text-align:left;background:none;border:0;color:#624777;padding:11px 0;width:100%;font-size:14px}.sample-reply{display:grid;grid-template-columns:3.5rem minmax(0,1fr);gap:18px}.sample-reply p{max-width:36em;color:#5f576a}.sample-label,.sample-speaker{color:#655b70}.sample-summary{padding-top:18px;border-top:1px solid #ded7e3;margin-top:26px;max-width:41rem}.sample-summary summary{display:list-item;line-height:1.6;padding:8px 0}.intro-footer{background:#eee9f0;padding-top:18px;padding-bottom:18px}.chat-main{max-width:1020px;margin-inline:auto;width:100%}.composer-privacy,.composer-hint{color:#665d70}.msg-assistant .msg-body{max-width:38em}.pref-btn{color:#665d70}.sidebar{background:#ede9ef}.conversation-item{transition:background-color .16s ease}.composer-row:focus-within{border-color:#806790;box-shadow:0 0 0 2px #80679018}.topbar :focus-visible,.consumer-account :focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:640px){.topbar-actions{gap:10px}.workspace-login{font-size:.75rem}.topbar .brand-sub{display:none}.sample-reply{grid-template-columns:2.8rem minmax(0,1fr);gap:12px}.consumer-account{right:0;max-width:calc(100vw - 32px)}.topbar .link-btn{font-size:.7rem}.is-chat .topbar-actions{gap:8px}.chat-main{margin:0}.topbar-inner{padding-left:18px;padding-right:18px}.sample-summary{margin-top:22px;padding-top:12px}}
@media(prefers-reduced-motion:reduce){.conversation-item{transition:none}}
@media(max-width:640px){.topbar .topbar-inner{grid-template-columns:auto 1fr auto auto auto!important;column-gap:10px!important}.topbar .brand{grid-column:1 / 3!important}.topbar .workspace-login{grid-column:3!important;grid-row:1!important;font-size:11px;justify-self:end}.topbar #btn-help{grid-column:4 / 6!important;grid-row:1!important}.topbar #btn-usage{grid-column:3 / 5!important;grid-row:2!important}.topbar .product-support-entry{grid-column:5!important;grid-row:2!important}.topbar .consumer-account{right:16px;top:calc(100% - 4px)}}
/* One conversation, with a clear secondary path to an editable summary. */
.organize-entry{display:flex;align-items:center;gap:8px;margin:16px 0 24px}
.organize-entry .organize-primary{flex:1;min-width:0;min-height:48px;padding:12px 16px;background:#665078;color:#fffdf9;border:1px solid #665078;border-radius:12px;font-size:16px;font-weight:600;line-height:1.4;text-align:center;box-shadow:0 2px 4px #30223814}
.organize-entry .organize-primary:hover{background:#514060;border-color:#514060}
.organize-entry .circle-info{flex:0 0 36px;width:36px;height:44px;min-width:36px;min-height:44px;padding:0;border:0;background:transparent;font-size:16px;color:#665078}
.organize-entry .circle-info:hover{background:#e1dbe7;border-radius:10px}
.organize-primary:focus-visible,.experience-dialog summary:focus-visible{outline:3px solid #826491;outline-offset:3px}
.chat-head{justify-content:flex-start}.chat-identity{min-width:0}
#dialog-usage{width:min(680px,calc(100vw - 32px));border-radius:18px}
#dialog-usage .dialog-body{padding:32px 36px}#dialog-usage .dialog-heading{margin-bottom:24px}
#dialog-usage .about-lead{font-size:25px!important;line-height:1.55!important;margin:0 0 28px;max-width:24em;color:#514060}
#dialog-usage .about-choice{padding:0;background:none;border-radius:0;margin:0 0 24px}
#dialog-usage h3{font-size:17px;line-height:1.5;margin:0 0 8px;color:#514060}
#dialog-usage section p{font-size:15px;line-height:1.85;margin:0;color:#5e5567}
#dialog-usage .about-sharing{padding:20px;border-left:3px solid #a18cb3;background:#f1edf4;margin:0 0 24px}
.experience-dialog{overscroll-behavior:contain}
@media(max-width:640px){#dialog-usage .dialog-body{padding:22px}#dialog-usage .about-lead{font-size:21px!important}.organize-entry .organize-primary{font-size:16px}.chat-head{padding-block:16px}}

/* A clear return to the opening chapter, with explicit, non-destructive resume. */
.home-actions{display:flex;flex-direction:column;align-items:flex-start;gap:14px;max-width:400px}.home-intro{font-size:1rem;line-height:1.8;margin:0 0 8px}.home-saved-note{font-size:.8rem;line-height:1.8;margin:0;opacity:.9}.chapter-hero .home-actions .btn{max-width:100%;white-space:normal}.chapter-hero .home-new{background:transparent;color:inherit;border:1px solid currentColor}.home-actions [hidden]{display:none!important}#btn-home{flex-shrink:0;min-height:44px;padding:8px 12px}#btn-home:focus-visible,.home-actions button:focus-visible{outline:2px solid currentColor;outline-offset:4px}@media(max-width:640px){.home-actions{max-width:none;gap:12px}.home-intro{font-size:.9rem}.home-saved-note{font-size:.75rem}.chat-head{gap:4px}#btn-home{font-size:.75rem;padding:8px}.chat-title{font-size:1rem}}

.chapter-hero .home-actions .btn-primary{background:#faf9f5;color:#514565;border-color:#faf9f5}.chapter-hero .home-actions .btn-primary:hover{background:#eae5ef}.home-actions{max-width:520px}.demo-warning{padding:14px 16px;border-left:3px solid #67517c;background:#eee9f0;line-height:1.8}#consumer-demo-form label{display:block;margin:18px 0 8px}#consumer-demo-form input{display:block;box-sizing:border-box;width:100%;font:inherit;padding:12px;border:1px solid #8f819d;border-radius:8px;background:#fdfcf8;color:#34313e}#consumer-demo-submit{margin-top:24px}#consumer-demo-form input:focus-visible{outline:2px solid #67517c;outline-offset:2px}#consumer-demo-error{color:#8a2842}.chat-head #btn-home{order:2;margin-left:auto}

/* Localized mark and an explicit demonstration sign-in step. */
.avatar-letter{display:inline-flex;align-items:center;justify-content:center;background:#ede9e1;color:#5b5173;border-radius:23%;font:600 18px/1 Georgia,serif;width:26px;height:26px;flex-shrink:0}.avatar-letter[hidden]{display:none!important}.chat-mark-en{width:30px;height:30px;font-size:21px}.workspace-login{background:none;border:0;padding:0;cursor:pointer}.intro-footer{display:flex;justify-content:space-between;gap:20px}.intro-footer a{line-height:1.7}#dialog-consumer-demo{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}#dialog-consumer-demo .dialog-body{padding:36px 40px}#consumer-demo-submit{width:100%;min-height:48px}#consumer-demo-close{background:transparent;border:0;padding:8px;min-height:44px;cursor:pointer;color:#5b5173}#consumer-demo-title{font-size:28px;font-weight:500;margin:0}#dialog-consumer-demo .dialog-heading{align-items:center}#consumer-demo-form input{min-height:48px}#dialog-consumer-demo .demo-warning{font-size:14px}.intro-config{max-width:38em}
@media(max-width:640px){#dialog-consumer-demo .dialog-body{padding:24px}#consumer-demo-title{font-size:23px}.avatar-letter{width:20px;height:20px;font-size:15px}.chat-mark-en{width:28px;height:28px;font-size:19px}.intro-footer{flex-direction:column;gap:12px}}

/* A quiet arrival, not a bouncing popup or simulated typing delay. */
.message-enter{animation:moonlit-soft-arrive .32s ease-out both}
.report-arrive{animation:moonlit-soft-arrive .36s ease-out both}
@keyframes moonlit-soft-arrive{from{opacity:.4}to{opacity:1}}
#report-status:not(:empty){padding:14px 18px;margin:20px 0 6px;background:#f1edf3;border:1px solid #e5dfe9;border-radius:12px;color:#65566f;font-size:.9375rem;line-height:1.85;max-width:68ch}
#report-status.report-fail{background:#faf0ec;border-color:#ead7ce;color:#794e40}
.report-section{margin-block:26px}
.report-section p{line-height:1.9;overflow-wrap:anywhere}
@media(prefers-reduced-motion:reduce){.message-enter,.report-arrive{animation:none!important;transform:none!important}}

/* Intro abilities are a product demonstration, never conversation modes. */
.sample-quote{position:relative;padding-inline-start:0}
.sample-panel #sample-user{margin:0 0 24px;padding:0;text-indent:0;white-space:pre-line;line-height:1.65;letter-spacing:normal;text-align:start;overflow-wrap:anywhere}
.chapter-example .example-tab{gap:10px;border-bottom-color:#d7cfdf;padding-block:18px}
.chapter-example .example-tab span{font-size:.8125rem;line-height:1.65;white-space:normal}
.sample-panel .sample-label{font-size:.75rem;letter-spacing:.06em;margin:0 0 18px;color:#81758e}
.sample-panel .sample-reply{margin-top:20px!important;padding-inline-start:0;gap:8px!important}
.sample-panel .sample-summary{margin-inline-start:0}
@media(max-width:640px){.sample-quote{padding-inline-start:0}.chapter-example .example-tab{gap:4px;padding-block:12px}.chapter-example .example-tab span{font-size:.75rem}.sample-panel .sample-reply{padding-inline-start:0}.sample-panel .sample-summary{margin-inline-start:0}}

/* Keep one return action in the page navigation, not the chat heading. */
.topbar #btn-home{margin:0;min-height:44px;padding:8px 10px;flex-shrink:0}
.topbar [hidden]{display:none!important}
/* The help glyph has a visible 28px circular rim inside a 44px hit target. */
.organize-entry .circle-info{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;line-height:1;border:0;border-radius:50%}
.organize-entry .circle-info::before{content:"";position:absolute;inset:8px;border:1.5px solid currentColor;border-radius:50%;pointer-events:none}
.organize-entry .circle-info:hover{border-radius:50%;background:#e1dbe7}
.topbar .brand{align-items:center;flex-wrap:nowrap}
.topbar .brand-wordmark{vertical-align:middle;align-self:center}
.topbar .brand-sub{align-self:center;line-height:1;margin-block:0;transform:none}

.sidebar-head:has(> .sidebar-close:only-child){justify-content:flex-end}.sidebar-scroll .history-list-title{font-size:.8125rem;line-height:1.6;color:#706678;margin:24px 10px 10px;font-weight:500}.sidebar-scroll #conversation-list{margin-top:0}

#dialog-terms{width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}#dialog-terms p{line-height:1.85}#dialog-terms section{margin-block:24px}#dialog-terms .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}#dialog-terms [data-close]{min-height:44px;padding:8px;border:0;background:transparent;color:inherit;cursor:pointer}.intro-footer{flex-wrap:wrap}.composer-foot{justify-content:flex-end}

/* Large CSS viewports: ease reading without changing laptop/Mac-size layouts.
   These breakpoints describe available CSS space, not a physical monitor size. */
@media(min-width:1920px){
 body.is-chat .msg,body.is-chat .composer-input,body.is-chat .report-section p{font-size:1.125rem}
 body.is-chat .chat-title{font-size:1.5rem}
 body.is-chat .new-conversation,body.is-chat .organize-primary{font-size:1rem}
 body.is-chat .conversation-row button,body.is-chat .topbar .link-btn,body.is-chat .topbar .workspace-login{font-size:.9375rem}
 body.is-chat .composer-hint,body.is-chat .sidebar-foot p{font-size:.8125rem}
 .home-intro,.sample-reply p{font-size:1.125rem}
}
@media(min-width:3000px){
 body.is-chat .msg,body.is-chat .composer-input,body.is-chat .report-section p{font-size:1.25rem}
}


/* Use the existing English Moonlit wordmark face and weight, not a new serif M. */
html[lang=en] .avatar-letter{font-family:var(--font);font-weight:550;font-style:normal;letter-spacing:-.035em}

/* Navigation links share one gap and identical text-side padding. */
.topbar .topbar-links{display:flex;align-items:center;gap:20px;min-width:0}
.topbar .topbar-links #btn-home,.topbar .topbar-links #btn-usage,.topbar .topbar-links .product-support-entry{margin:0;padding:8px 0!important;min-height:44px;line-height:1.4;flex:0 0 auto}
/* Intro examples are plain text, not chat bubbles or disclosure widgets. */
.chapter-example .sample-panel,.chapter-example #sample-user,.chapter-example .sample-reply,.chapter-example .sample-reply p,.chapter-example .sample-summary{background:transparent;border:0;border-radius:0;box-shadow:none}
.chapter-example .sample-summary{padding-top:0;margin-top:26px}
.chapter-example .sample-summary p{margin:0;line-height:1.85;color:#665d70;max-width:42em}
@media(max-width:640px){.topbar .topbar-links{grid-column:1 / -1;grid-row:3;justify-content:flex-end;gap:18px;flex-wrap:wrap}.topbar #btn-demo-logout{grid-column:3 / 6;grid-row:2;justify-self:end;min-height:44px}.topbar .topbar-links #btn-usage,.topbar .topbar-links .product-support-entry{font-size:.75rem!important}.chapter-example .sample-summary{margin-top:20px}}

.chapter-example .sample-summary h3{margin:0 0 10px;font:inherit;font-size:.9375rem;font-weight:500;color:#514567;line-height:1.6}#dialog-usage .about-data{margin-top:24px}#dialog-usage .about-data p+p{margin-top:16px}

/* About is a coherent secondary reading page rather than stacked popup cards. */
#dialog-usage{width:min(1100px,calc(100vw - 48px));height:calc(100dvh - 48px);max-height:calc(100dvh - 48px);border-radius:8px;padding:0;overflow:auto;background:#fcfbf8;color:#423b4a}
#dialog-usage .dialog-body{padding:0}
#dialog-usage .information-nav{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:68px;padding:12px 48px;background:#fcfbf8;border-bottom:1px solid #e6e0e9}
#dialog-usage .information-brand{font:550 21px/1.2 var(--font);letter-spacing:-.02em}
#dialog-usage .information-nav button{background:none;border:0;padding:10px 0;min-height:44px;font:inherit;color:#675873;cursor:pointer}
#dialog-usage .information-hero{padding:48px 48px 38px;max-width:900px}
#dialog-usage .information-hero h2{margin:0 0 20px;font-size:clamp(28px,3vw,40px);font-weight:500;line-height:1.25;letter-spacing:-.025em}
#dialog-usage .about-lead{font-size:19px!important;line-height:1.85!important;max-width:43em;margin:0;color:#655b6d}
#dialog-usage .information-body{padding:0 48px 48px}
#dialog-usage .information-section{display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:32px;padding:28px 0;margin:0;background:none;border:0;border-top:1px solid #e6e0e9;border-radius:0}
#dialog-usage .information-section h3{font-size:17px;font-weight:500;line-height:1.65;margin:0;color:#51465c}
#dialog-usage .information-section p{font-size:16px;line-height:1.95;margin:0;max-width:65ch;overflow-wrap:anywhere}
#dialog-usage .information-section p+p{margin-top:18px}
#dialog-usage .information-section .link-btn{margin-top:16px}
@media(max-width:640px){#dialog-usage{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}#dialog-usage .information-nav{min-height:60px;padding:8px 22px}#dialog-usage .information-hero{padding:30px 22px}#dialog-usage .about-lead{font-size:17px!important}#dialog-usage .information-body{padding:0 22px 32px}#dialog-usage .information-section{grid-template-columns:1fr;gap:12px;padding:24px 0}#dialog-usage .information-section p{font-size:16px;line-height:1.85}}

.demo-entry-status{display:block;flex-shrink:0;margin:0;padding:10px 20px;background:#f6eee5;color:#715038;font-size:.8125rem;line-height:1.65}.demo-entry-status[hidden]{display:none!important}

@media(max-width:640px){#dialog-usage{max-width:100vw;inset:0}}
