:root{--paper:#f7f8f5;--surface:#fff;--ink:#253039;--muted:#76817f;--line:#e4e9e5;--green:#28796e;--green-dark:#1d625a;--mint:#e3f1ec;--mint-2:#f1f8f4;--lav:#f1eef9;--lav-ink:#7669a9;--amber:#faf1df;--amber-ink:#936a27;--blue:#eef3f8;--shadow:0 10px 28px rgba(27,48,45,.045);--radius:17px;--font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.55 var(--font)}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;min-height:600px;padding:24px 16px 19px 20px;background:#fbfcf9;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:2px 8px 29px;color:inherit;text-decoration:none}.brand-mark{width:36px;height:36px;border-radius:13px;background:var(--green);display:grid;place-items:center;color:#fff;box-shadow:0 5px 13px #28796e29}.brand-mark svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand-copy strong{display:block;font-size:15px;letter-spacing:-.3px;line-height:1.25}.brand-copy small{display:block;margin-top:3px;font-size:9px;color:#8a9590;letter-spacing:.12em;text-transform:uppercase}.nav-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#9ca6a1;font-weight:750;padding:4px 11px 9px}.nav{display:grid;gap:4px}.nav-item{border:0;background:transparent;color:#687470;border-radius:11px;text-align:left;padding:10px 12px;display:flex;align-items:center;gap:11px;font-size:13px;transition:.16s}.nav-item:hover{background:#f0f3f0;color:var(--ink)}.nav-item.active{background:var(--mint);color:var(--green-dark);font-weight:650}.nav-icon{width:18px;height:18px;display:grid;place-items:center;flex:none}.nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.subject-nav-head{display:flex;align-items:center;justify-content:space-between;margin-top:25px}.subject-nav-head .nav-label{padding-bottom:8px}.icon-button{border:0;background:transparent;color:#89928e;font-size:18px;border-radius:8px;width:28px;height:28px}.icon-button:hover{background:#edf2ef;color:var(--green)}.subject-nav{max-height:52vh;overflow:auto}.subject-nav .nav-item{padding:9px 12px}.subject-icon{height:21px;width:21px;border-radius:7px;background:#eff2f0;display:grid;place-items:center;font-size:9px;font-weight:750;color:#6f7c76;flex:none}.nav-item.active .subject-icon{background:#cfe5dc;color:var(--green-dark)}.sidebar-foot{margin-top:auto;padding:16px 7px 0}.privacy-mini{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:15px 4px 0}.privacy-lock{width:29px;height:29px;border-radius:9px;background:#f0eef8;color:#8174b1;display:grid;place-items:center}.privacy-mini strong,.privacy-mini small{display:block}.privacy-mini strong{font-size:10px;color:#66736d}.privacy-mini small{font-size:9px;color:#9aa39e}.main{width:100%;max-width:1500px;margin:0 auto;padding:0 42px 56px;min-width:0}.topbar{height:72px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.crumbs{font-size:11px;color:#89938f;display:flex;align-items:center;gap:9px}.crumbs i{width:4px;height:4px;border-radius:50%;background:#c0c8c3}.crumbs strong{color:#3c4647;font-weight:650}.top-actions{display:flex;align-items:center;gap:10px}.preview-chip{display:flex;align-items:center;gap:6px;background:var(--lav);color:#7c70a9;padding:6px 9px;border-radius:99px;font-size:9px;font-weight:750;letter-spacing:.06em}.preview-chip i{width:6px;height:6px;background:#988dc4;border-radius:50%}.btn{border:0;border-radius:10px;padding:10px 14px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:650;transition:transform .15s,background .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--green);color:white;box-shadow:0 5px 12px #28796e20}.btn-primary:hover{background:var(--green-dark)}.btn-quiet{background:#fff;color:var(--green-dark);border:1px solid #dfe9e4}.btn-outline{background:#fff;border:1px solid var(--line);color:#56625e}.btn-small{font-size:10px;padding:8px 11px}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none}.view{min-height:calc(100vh - 73px)}.welcome{padding:30px 0 20px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:var(--green);font-weight:750}.welcome h1,.page-head h1{font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:6px 0 5px;font-weight:680}.welcome p,.page-head p{font-size:12px;color:var(--muted);margin:0;max-width:680px}.welcome-date{font-size:10px;color:#939c97;white-space:nowrap}.hero{background:#e6f0eb;border-radius:20px;padding:23px 25px;display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:22px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:210px;height:210px;right:140px;top:-152px;border-radius:50%;border:1px solid #ffffffa8;box-shadow:0 0 0 23px #ffffff24,0 0 0 47px #ffffff15;pointer-events:none}.hero-copy,.hero-action{position:relative;z-index:1}.course-tag{display:inline-flex;align-items:center;gap:6px;background:#ffffffa8;padding:4px 8px;border-radius:20px;color:#55796e;font-size:9px;font-weight:700;letter-spacing:.04em}.course-tag i{width:6px;height:6px;border-radius:50%;background:#52a28e}.hero h2{font-size:21px;letter-spacing:-.45px;margin:11px 0 5px}.hero p{margin:0;color:#667a74;font-size:11px;max-width:560px}.hero-meta{display:flex;gap:15px;flex-wrap:wrap;margin-top:15px;color:#6d817a;font-size:9px}.hero-action{border-left:1px solid #cfdfd8;padding-left:17px;display:flex;flex-direction:column;justify-content:center}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#627870;margin-bottom:7px}.progress-label strong{color:var(--green-dark)}.progress-track{height:6px;border-radius:8px;background:#d1e1d9;overflow:hidden}.progress-fill{height:100%;border-radius:8px;background:#4b9989;transition:width .25s}.progress-caption{font-size:9px;color:#758781;margin-top:6px}.hero-action .btn{margin-top:13px;align-self:flex-start}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 11px}.section-heading h2,.section-heading h3{font-size:14px;letter-spacing:-.2px;margin:0}.text-link{border:0;background:none;padding:5px;color:var(--green);font-size:10px;font-weight:700}.grid-two{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(270px,.85fr);gap:15px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.card-pad{padding:17px 18px}.card-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-title-row h3{font-size:12px;margin:0}.subtle{font-size:9px;color:#9aa29e}.lesson-list{display:grid;gap:6px;margin-top:12px}.lesson-row{width:100%;border:1px solid transparent;background:transparent;border-radius:12px;text-align:left;display:grid;grid-template-columns:29px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;transition:.15s;color:inherit}.lesson-row:hover{background:#f7faf8;border-color:#e3eee8}.lesson-no{height:27px;width:27px;border-radius:9px;background:#e8f2ed;color:#438477;display:grid;place-items:center;font-size:9px;font-weight:750}.lesson-row strong{font-size:10px;display:block}.lesson-row small{font-size:9px;color:#8c9792}.badge{font-size:8px;border-radius:20px;padding:4px 7px;white-space:nowrap;font-weight:700}.badge.new{background:#fff4de;color:#9a7129}.badge.progress{background:#edf4fb;color:#587b9d}.badge.done{background:#edf6f1;color:#548872}.badge.neutral{background:#f2f3f1;color:#7e8983}.empty-state{border:1px dashed #dce5df;border-radius:12px;padding:17px;color:#87938d;font-size:10px;text-align:center;background:#fcfdfc}.privacy-banner{border:1px solid #e8e4f2;background:#f8f7fb;border-radius:13px;padding:11px 13px;display:flex;gap:10px;align-items:flex-start;margin-top:15px}.privacy-banner .shield{color:#8275ae}.privacy-banner strong{display:block;font-size:10px;color:#555c65}.privacy-banner p{font-size:9px;color:#7d8289;margin:2px 0 0;line-height:1.5}.setup-card{padding:19px 20px}.setup-card h2{font-size:15px;margin:5px 0}.setup-card>p{font-size:10px;color:#7d8884;margin:0 0 14px}.upload-zone{border:1px dashed #b9cdc4;background:#f8fcf9;border-radius:13px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.upload-zone strong{font-size:10px;display:block}.upload-zone small{font-size:9px;color:#8a9590;display:block;margin-top:2px}.file-input{max-width:190px;font-size:9px;color:#76827d}.field-label{font-size:10px;font-weight:700;color:#67736e;display:block;margin:13px 0 6px}.text-area,.chat-input,.dialog textarea{width:100%;border:1px solid #dfe7e2;border-radius:10px;background:#fff;color:var(--ink);outline:none;resize:vertical;padding:10px 11px;font-size:11px;line-height:1.5}.text-area:focus,.chat-input:focus,.dialog textarea:focus{border-color:#8dbca9;box-shadow:0 0 0 3px #e5f2eb}.setup-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:11px}.setup-note{font-size:9px;color:#8c9691}.page-head{padding:27px 0 18px}.page-head-row{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.page-head .eyebrow{margin-bottom:4px}.page-head h1{margin:3px 0 5px}.page-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.subject-tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);overflow:auto;margin-bottom:17px}.subject-tabs button{border:0;background:none;padding:10px 12px;color:#78837f;font-size:10px;white-space:nowrap;border-bottom:2px solid transparent}.subject-tabs button.active{color:var(--green-dark);border-color:var(--green);font-weight:700}.source-list{display:grid;gap:7px;margin-top:11px}.source-row{display:flex;align-items:center;gap:10px;padding:9px;border:1px solid #edf0ed;border-radius:11px;background:#fff}.source-icon{height:30px;width:30px;border-radius:9px;background:#edf2f7;color:#647f9c;display:grid;place-items:center;font-size:12px;flex:none}.source-row-main{min-width:0;flex:1}.source-row-main strong{display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-row-main small{display:block;color:#8a9690;font-size:9px}.source-row-actions{display:flex;align-items:center;gap:6px}.mini-button{border:1px solid var(--line);border-radius:8px;background:#fff;color:#64716b;padding:6px 8px;font-size:9px;font-weight:650}.mini-button:hover{border-color:#acc8bb;color:var(--green-dark)}.lesson-detail{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.75fr);gap:15px;align-items:start}.lesson-body{padding:21px 23px}.lesson-body h2{font-size:21px;letter-spacing:-.4px;margin:11px 0 7px}.lesson-body .lead{color:#697671;font-size:12px;line-height:1.7}.concept-box{border-left:3px solid #67aa98;background:#f3f8f5;border-radius:0 11px 11px 0;padding:12px 14px;margin:15px 0}.concept-box strong{display:block;font-size:10px;color:#386e62;margin-bottom:4px}.concept-box p{font-size:10px;color:#6e7d76;margin:0}.lesson-section{padding:14px 0;border-top:1px solid #eff2ef}.lesson-section h3{font-size:11px;margin:0 0 5px}.lesson-section p{font-size:10px;color:#707c76;margin:0;line-height:1.65}.citation-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.citation{border:1px solid #e0e9e4;background:#f6faf7;color:#52796c;border-radius:7px;padding:4px 7px;font-size:8px;font-weight:650;text-decoration:none}.citation:hover{background:#e9f4ee}.lesson-side{display:grid;gap:12px}.side-card{padding:16px}.side-card h3{font-size:11px;margin:0 0 9px}.side-card p{font-size:9px;color:#7d8883;line-height:1.6;margin:0}.complete-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #edf0ee}.complete-row small{font-size:9px;color:#8b9691}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-card{padding:15px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--shadow);min-height:174px;display:flex;flex-direction:column;cursor:pointer;transition:.15s}.project-card:hover{transform:translateY(-2px);border-color:#c4d9cf}.project-card.selected{background:#f7fcf9;border-color:#78ad98;box-shadow:0 0 0 2px #e1f0e8}.project-head{display:flex;justify-content:space-between;align-items:center}.project-icon{width:32px;height:32px;border-radius:10px;background:#edf5f1;color:#4b8578;display:grid;place-items:center;font-size:14px}.check-mark{height:18px;width:18px;border:1px solid #d9e0dc;border-radius:6px;color:transparent;display:grid;place-items:center;font-size:11px}.selected .check-mark{background:var(--green);border-color:var(--green);color:white}.project-card h3{font-size:11px;margin:11px 0 4px}.project-card p{font-size:9px;color:#808a85;margin:0;line-height:1.55}.project-tags{display:flex;gap:5px;margin-top:auto;padding-top:10px;flex-wrap:wrap}.project-tags span{font-size:8px;background:#f2f5f2;color:#748079;padding:4px 6px;border-radius:6px}.project-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}.selection-note{font-size:9px;color:#8c9691}.privacy-text{font-size:9px;color:#818b86;line-height:1.55}.materials-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.materials-heading h2{font-size:14px;margin:0}.upload-panel{padding:16px;margin-bottom:13px;background:#fbfdfb;border:1px dashed #bfd1c7;border-radius:14px}.upload-panel h3{font-size:11px;margin:0 0 3px}.upload-panel p{font-size:9px;color:#818d87;margin:0 0 10px}.chat-shell{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:14px;align-items:start}.chat-card{overflow:hidden;display:flex;flex-direction:column;min-height:480px}.chat-head{padding:15px 17px;border-bottom:1px solid #edf0ed;display:flex;justify-content:space-between;gap:12px;align-items:center}.chat-head h2{font-size:12px;margin:0}.chat-head p{font-size:9px;color:#89948f;margin:2px 0 0}.chat-messages{padding:16px;display:flex;flex-direction:column;gap:12px;min-height:325px;max-height:58vh;overflow:auto;background:#fdfefc}.message{max-width:min(680px,94%);padding:10px 12px;border-radius:12px;font-size:10px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.message.assistant{align-self:flex-start;background:#f0f6f2;border:1px solid #e2ede6;color:#495851}.message.user{align-self:flex-end;background:#e8f2ed;color:#3d5f53}.message small{display:block;color:#8a9690;font-size:8px;margin-top:6px}.chat-composer{padding:12px;border-top:1px solid #edf0ed;background:#fff}.chat-composer form{display:flex;align-items:flex-end;gap:8px}.chat-input{min-height:43px;max-height:120px}.chat-options{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.check-label{display:flex;align-items:center;gap:6px;font-size:9px;color:#78847e}.check-label input{accent-color:var(--green)}.chat-aside{display:grid;gap:11px}.chat-aside .card{padding:15px}.chat-aside h3{font-size:10px;margin:0 0 7px}.chat-aside p{font-size:9px;color:#7f8984;margin:0;line-height:1.6}.suggestion-list{display:grid;gap:5px}.suggestion{border:1px solid #e7ece8;background:white;color:#61706a;text-align:left;border-radius:8px;padding:7px 8px;font-size:9px}.suggestion:hover{border-color:#bad2c6;color:var(--green-dark)}.notice{border:1px solid #e8e4f2;background:#f8f7fb;border-radius:11px;padding:10px;color:#747188;font-size:9px;line-height:1.55}.notice strong{color:#625d7d}.empty-chat{font-size:10px;color:#9aa39e;text-align:center;margin:auto;padding:20px}.toast{position:fixed;left:50%;bottom:22px;z-index:20;transform:translate(-50%,16px);opacity:0;pointer-events:none;background:#283a37;color:#fff;border-radius:10px;padding:9px 14px;font-size:10px;box-shadow:0 8px 23px #192d2c30;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.dialog{padding:0;border:0;background:transparent;max-width:min(550px,calc(100% - 28px));max-height:calc(100% - 36px);overflow:visible}.dialog::backdrop{background:#182a2675;backdrop-filter:blur(2px)}.dialog-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;width:min(520px,calc(100vw - 28px));box-shadow:0 22px 75px #11251d35}.dialog-card h2{font-size:21px;letter-spacing:-.4px;margin:5px 0}.dialog-lead{font-size:10px;color:#78837e;line-height:1.65;margin:0 0 15px}.dialog-close{position:absolute;right:13px;top:11px;border:0;background:transparent;color:#87928c;font-size:22px;width:30px;height:30px}.dialog textarea{min-height:120px}.inline-note{margin-top:11px;padding:9px 10px;border-radius:9px;background:#f5f8f6;color:#78827d;font-size:9px;line-height:1.5}.inline-note strong{color:#50685d}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.consent-destination{font-size:9px;color:#6b756f;margin:11px 0;padding:8px 10px;border-radius:8px;background:#f4f6f4;overflow-wrap:anywhere}.consent-excerpt{max-height:190px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #ecefeb;border-radius:10px;padding:11px;background:#fbfcfa;color:#59665f;font-size:9px;line-height:1.55}.fine-print{font-size:9px;color:#8a9290;line-height:1.55;margin:10px 0 0}.empty-state-large{padding:34px;text-align:center}.mobile-label{display:none}.share-banner{margin:0 0 14px;padding:10px 12px;border-radius:11px;background:#eef5f0;border:1px solid #dcebe2;color:#62786e;font-size:9px}.share-banner strong{color:#3e6e5c}@media(max-width:1040px){.main{padding-left:26px;padding-right:26px}.hero{grid-template-columns:minmax(0,1fr) 205px}.chat-shell{grid-template-columns:1fr 240px}}@media(max-width:780px){.app-shell{grid-template-columns:66px minmax(0,1fr)}.sidebar{align-items:center;padding:17px 8px}.brand{padding:1px 0 22px}.brand-copy,.sidebar .nav-label,.subject-nav-head,.sidebar-foot{display:none}.nav{width:100%}.nav-item{justify-content:center;padding:10px 0}.nav-item>span:last-child{display:none}.subject-nav{margin-top:15px}.subject-nav .nav-item{padding:8px 0}.subject-icon{width:28px;height:28px;border-radius:9px}.main{padding:0 20px 42px}.grid-two,.lesson-detail{grid-template-columns:1fr}.chat-shell{grid-template-columns:1fr}.chat-aside{grid-template-columns:1fr 1fr}.hero{grid-template-columns:minmax(0,1fr) 185px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:9;left:0;right:0;bottom:0;top:auto;height:auto;min-height:0;border-right:0;border-top:1px solid var(--line);padding:7px 10px;background:#fbfcf9}.brand,.brand-copy,.sidebar .nav-label,.subject-nav-head,.sidebar-foot{display:none}.sidebar>.nav:first-of-type{display:flex;justify-content:flex-start;width:auto;gap:4px;overflow:auto}.sidebar>.nav:first-of-type .nav-item{width:66px;flex:none;display:flex;flex-direction:column;gap:2px;padding:4px 2px;font-size:8px}.sidebar>.nav:first-of-type .nav-item>span:last-child{display:block}.sidebar .subject-nav{display:flex;flex:1;margin:0;gap:4px;overflow:auto;max-height:none}.sidebar .subject-nav .nav-item{display:flex;flex:none;flex-direction:column;gap:2px;width:55px;padding:4px 2px;font-size:8px}.subject-icon{width:20px;height:20px;font-size:8px}.main{padding:0 14px 98px}.topbar{height:59px}.crumbs{font-size:9px}.top-actions{gap:6px}.preview-chip{font-size:8px;padding:5px 7px}.top-actions .btn{font-size:9px;padding:7px 8px}.welcome{padding:23px 0 15px}.welcome h1,.page-head h1{font-size:22px}.welcome-date{display:none}.hero{display:block;padding:18px}.hero h2{font-size:19px}.hero-action{border:0;border-top:1px solid #cfdfd8;margin-top:14px;padding:12px 0 0;display:grid;grid-template-columns:1fr auto;align-items:center}.hero-action .btn{margin:0;grid-column:2;grid-row:1/4}.progress-label,.progress-track,.progress-caption{max-width:190px}.hero-meta{gap:9px}.grid-two{grid-template-columns:1fr}.page-head{padding-top:23px}.page-head-row{display:block}.page-head-actions{justify-content:flex-start;margin-top:12px}.subject-tabs{margin-left:-3px}.subject-tabs button{padding:9px 10px}.lesson-body{padding:17px}.project-grid{grid-template-columns:1fr}.project-card{min-height:148px}.project-footer{align-items:stretch;flex-direction:column}.project-footer .btn{width:100%}.upload-zone{align-items:flex-start;flex-direction:column}.file-input{max-width:100%}.chat-card{min-height:430px}.chat-messages{min-height:285px;max-height:55vh}.chat-aside{grid-template-columns:1fr}.dialog-card{padding:20px}.dialog-actions{flex-wrap:wrap}.dialog-actions .btn{flex:1}.setup-actions{align-items:flex-start;flex-direction:column}.setup-actions .btn{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

[hidden]{display:none!important}

@media(max-width:780px) and (min-width:561px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{align-items:stretch;padding:17px 10px}.brand-copy{display:block}.nav-item{justify-content:flex-start;padding:10px}.nav-item>span:last-child{display:block}.subject-nav .nav-item{justify-content:flex-start;padding:8px}}
@media(max-width:560px){.sidebar .subject-nav .nav-item>span:last-child{display:block}}

.upload-zone small+small{color:#98743d}.detection-note{margin:10px 0 2px;padding:10px 11px;border:1px solid #eee2c8;border-radius:9px;background:#fcf8ee;color:#7b673f;font-size:10px;line-height:1.55}.detection-note[hidden]{display:none}

/* Explicit, per-message AI consent and data-flow disclosure */
.chat-ai-consent{display:grid;gap:9px;margin-top:11px;padding:11px 12px;border:1px solid #dbe6df;border-radius:10px;background:#f7faf8}.chat-ai-consent .check-label{align-items:flex-start;gap:8px;color:#40584e;font-size:10px;line-height:1.45}.chat-ai-consent input{flex:0 0 auto;margin-top:2px}.chat-ai-consent input:disabled+span{color:#87918c}.ai-private{padding-top:2px}.ai-disclosure{margin:0;color:#69766f;font-size:9px;line-height:1.55}.ai-disclosure strong{color:#394c43}.ai-disclosure a{color:#3d6b58;text-decoration:underline;text-underline-offset:2px}.message .message-via{color:#63786d}.chat-options{justify-content:flex-end}
@media(max-width:640px){.chat-ai-consent{padding:10px}.chat-ai-consent .check-label{font-size:10px}.ai-disclosure{font-size:9px}.chat-options{justify-content:flex-start}}
