/* Approved direction C: tactile color planes. Local product, not a static mockup. */
:root {
  --paper:#ffe477; --card:#fffaf2; --ink:#17152f; --muted:#625e78;
  --line:#dcd6dd; --lilac:#ddd1fb; --violet:#4d2097; --coral:#ff756c;
  --green:#216148; --green-soft:#e8f4e9; --red:#9e303b; --red-soft:#fff0ee;
  --sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;
  --serif:var(--sans);
  color-scheme:light;
}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 92% 0%,#fff6c9 0%,transparent 48%),linear-gradient(115deg,#ffe375,#ffe992);color:var(--ink);font:15px/1.6 var(--sans);min-height:100vh}
body::before{content:"";position:fixed;inset:120px 0 0;z-index:-1;pointer-events:none;background:linear-gradient(26deg,transparent 0 18%,#ff8777 18% 32%,transparent 32% 70%,#ff9680 70% 78%,transparent 78%)}
button,input,select,textarea{font:inherit;color:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button{cursor:pointer;background:none;border:0}
button:disabled{cursor:not-allowed;opacity:.43}
a{color:inherit;text-underline-offset:4px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--violet);outline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:720;line-height:1.25;letter-spacing:-.025em}
h1{font-size:32px}h2{font-size:23px}h3{font-size:17px}small{font-size:12px}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.muted{color:var(--muted)}
.eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:650;color:var(--muted)}
.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:16px}.hide{display:none!important}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:44px;padding:11px 18px;border:1px solid #d6d0df;border-radius:13px;background:#fffaf8;font-size:14px;font-weight:600;text-decoration:none;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}
.btn:hover:not(:disabled){background:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #4935640a}
.btn:active:not(:disabled){transform:translateY(1px)}
.btn.primary{background:linear-gradient(115deg,#ff8677,#ff746b);border:1px solid #ed6a64;color:#39172a;box-shadow:inset 0 1px 0 #ffbcaa,0 5px 15px #bf543514}
.btn.primary:hover:not(:disabled){background:linear-gradient(115deg,#ff9380,#ff7e72);box-shadow:inset 0 1px 0 #ffd0c4,0 8px 20px #bc603d23}
.btn.small{min-height:36px;font-size:12px;padding:7px 11px;border-radius:10px}.btn.ghost{border-color:transparent;background:transparent;box-shadow:none}
.btn.danger{background:var(--red);border-color:var(--red);color:white}
.text-button{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);padding:7px 0;text-align:left}
.text-button:hover{text-decoration:underline}.text-button svg{width:14px}
.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;flex-shrink:0}
.icon-btn:hover:not(:disabled){background:#eae0f180}.icon-btn.previous svg{transform:rotate(180deg)}
.count-badge{border-radius:20px;background:#ebe5ef;padding:2px 8px;color:var(--muted);font-size:11px}
.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;border:1px solid #cabce4;border-radius:20px;padding:3px 9px;white-space:nowrap;background:#ffffff50}
.pill.ready{background:var(--green-soft);color:#216148;border-color:#c6decc}
.pill.warning{background:#fff0da;color:#854a1b;border-color:#e2cba9}
.topbar{max-width:1600px;margin:auto;min-height:88px;display:flex;align-items:center;justify-content:space-between;padding:18px 42px;gap:22px}
.brand{display:flex;align-items:baseline;gap:18px;text-decoration:none;white-space:nowrap}
.brand b{font-size:24px;font-weight:760;letter-spacing:-.8px}.brand small{font-size:12px;color:#686046}
.nav{display:flex;align-items:center;gap:3px;border:1px solid #fffae3;background:#fff8dfb5;border-radius:32px;padding:4px}
.nav button{padding:9px 20px;white-space:nowrap;font-size:13px;border-radius:24px;transition:background .2s}
.nav button.active{background:linear-gradient(130deg,#eae3ff,#d7c5f8);box-shadow:inset 0 1px 0 #ffffff80}
.nav button:hover{background:#ffffff80}
.header-actions{display:flex;align-items:center;gap:14px}.language{font-size:12px;padding:8px}
.account{display:flex;gap:10px;align-items:center;font-size:13px;white-space:nowrap}.account>svg{width:14px;transform:rotate(90deg)}
.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:linear-gradient(130deg,#e1cfff,#b694eb);font-size:14px;font-weight:650}
.shell{max-width:1600px;margin:5px auto 0;padding:0 34px;display:grid;grid-template-columns:minmax(0,46fr) minmax(0,54fr);align-items:start}
.sidebar{position:sticky;top:18px;min-width:0;min-height:738px;background:linear-gradient(145deg,#fffdf6,#faf7ef);border:1px solid #fff;border-radius:28px;padding:28px 28px 20px;box-shadow:0 12px 40px #916b2710}
.side-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}
.side-head h2{font-size:23px}.material-toolbar{display:flex;gap:10px;align-items:stretch}
.current-file{display:flex;align-items:center;gap:11px;flex:1;min-width:0;border:1px solid #e6e0db;border-radius:12px;padding:13px 14px;background:#fffdf750}
.current-file>div{min-width:0}.current-file strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.45}
.current-file small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.file-icon{display:grid;place-items:center;width:31px;height:36px;border-radius:7px;background:#ff8175;color:#411c30;flex-shrink:0}
.file-icon svg{width:20px}.upload-button{font-size:12px;padding:12px 15px;background:transparent;max-width:160px}
.material-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 12px}
.material-actions .row{gap:0}.material-actions .btn{padding:5px 8px}
.source-reader{border:1px solid #e9e3de;border-radius:17px;background:linear-gradient(150deg,#fff,#fcfaf7);overflow:hidden;box-shadow:0 3px 16px #68504104}
.reader-toolbar{display:flex;align-items:center;gap:8px;padding:9px 12px;background:#f6f3f1;border-bottom:1px solid #eeebe6;color:var(--muted);font-size:12px}
.reader-page{margin-left:auto;font-size:11px;white-space:nowrap}
.reader-text{height:445px;overflow:auto;padding:28px 29px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.8;scrollbar-width:thin;scrollbar-color:#cfc4d3 transparent}
.reader-text mark{background:#ffb7ae;color:#2c1e30;padding:2px 0;border-radius:3px;box-shadow:2px 0 #ffb7ae,-2px 0 #ffb7ae;animation:highlight-in .4s ease}
.source-empty{min-height:410px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:22px;padding:30px;white-space:pre-line}
.source-empty p{color:var(--muted);font-size:14px;line-height:1.85}
.upload-empty{width:100%;border:1.5px dashed #d5cbc3;border-radius:18px;text-align:left;background:#ffffff55}
.upload-empty>svg{width:32px;height:32px;color:#a8444f}.upload-empty:hover{border-color:#ff8175;background:#fff9f0}
.source-summary{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin-top:12px}
.status-dot{width:6px;height:6px;background:#417557;border-radius:50%}
.source-warnings{margin-top:10px;font-size:11px;color:var(--muted)}.source-warnings summary{cursor:pointer}.source-warnings p{margin:8px 0}
.side-foot{margin-top:22px;display:flex;gap:7px;font-size:10px;line-height:1.6;color:#6a6373}
.side-foot svg{width:13px;height:16px}.mobile-source-toggle{display:none}
.main{position:relative;min-width:0;min-height:722px;margin-top:16px;isolation:isolate}
.main::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 80% 0%,#eeebff 0%,transparent 50%),linear-gradient(130deg,#e2dafa,#d8ccfa 78%,#e9ddfc);border-radius:34px 48px 70px 28px;box-shadow:inset 1px 1px 0 #f4ecffb0,0 14px 35px #63489208}
.panel-tab{position:absolute;top:-17px;left:0;padding:9px 30px 12px;background:linear-gradient(110deg,#ff8c77,#ff766d);color:#39192a;font-size:17px;font-weight:700;border-radius:25px 24px 26px 0;box-shadow:inset 0 1px 0 #ffb8a6}
.study-content{padding:57px 38px 30px}
.page-heading{margin-bottom:27px}.page-heading h1{font-size:29px;margin-bottom:10px;overflow-wrap:anywhere}
.page-heading p{color:var(--muted);font-size:13px;line-height:1.75}
.panel{background:#fffdf9c4;border:1px solid #f9f4ff;border-radius:17px}
.tool-tabs{display:flex;gap:26px;border-bottom:1px solid #bfaedb;margin-bottom:23px}
.tool-tabs button{display:flex;align-items:center;gap:8px;padding:0 0 13px;font-size:13px;border-bottom:3px solid transparent;margin-bottom:-2px;color:#635678}
.tool-tabs button.active{color:var(--violet);border-color:var(--violet);font-weight:650}
.settings{padding:24px}.settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.setting-fields{display:grid;grid-template-columns:1fr 1.2fr;gap:18px}
.field{display:flex;flex-direction:column;gap:8px;font-size:12px;min-width:0}
.field input,.field select,.field textarea{padding:12px 13px;border:1px solid #d8cfdf;border-radius:10px;background:#fff;color:var(--ink);min-height:44px;width:100%}
.field textarea{resize:vertical;min-height:190px}
.deliverables{display:flex;gap:10px 18px;flex-wrap:wrap;margin:22px 0;color:#625777;font-size:11px}
.deliverables span{display:flex;align-items:center;gap:5px}.deliverables svg{width:14px;height:14px}
.helper{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.7}
.generate-button{margin-top:20px;min-height:52px;width:100%;justify-content:space-between;padding:12px 22px;font-size:15px}
.guide-includes{list-style:none;padding:0;margin:0;counter-reset:feature;display:grid;gap:18px}
.guide-includes li{display:grid;grid-template-columns:30px 1fr;column-gap:10px;counter-increment:feature}
.guide-includes li::before{content:"0" counter(feature);color:#806395;font-size:12px;grid-row:span 2}
.guide-includes b{font-size:14px}.guide-includes span{color:var(--muted);font-size:12px}
.generation-status{display:flex;gap:14px;align-items:center;background:#f7f1ffa3;padding:20px;border-radius:15px;margin-top:20px}
.generation-status b{font-size:13px}.generation-status p{font-size:12px;color:var(--muted);margin-top:5px}
.generation-status .spinner{flex-shrink:0}
.demo-callout{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;margin-top:12px;border-top:1px solid #cbbbe3}
.demo-callout b,.demo-callout h3{font-size:13px}.demo-callout p{font-size:12px;color:var(--muted);margin-top:6px}
.demo-callout>.btn{flex-shrink:0}.saved-outputs{margin-top:27px}
.results-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.results-heading h2{font-size:16px}
.result-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #cbbce1}
.result-row .desc{flex:1;min-width:0}.result-row h3{font-size:13px;overflow-wrap:anywhere}.result-row p{font-size:11px;color:var(--muted);margin-top:5px}
.empty-results{padding:20px 0;color:var(--muted);font-size:12px}
.bottom-note{display:flex;align-items:flex-start;gap:8px;color:var(--muted);font-size:10px;line-height:1.65;margin-top:23px}
.bottom-note svg{width:13px;height:16px}
.output-meta{display:flex;gap:14px;align-items:center;margin-bottom:20px;font-size:12px;color:var(--muted);flex-wrap:wrap}
.mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:25px 0}
.mode-choice{padding:24px;text-align:left;transition:transform .18s,box-shadow .18s}
.mode-choice:hover{transform:translateY(-3px);box-shadow:0 7px 18px #5839700e}.mode-choice h2{font-size:22px;margin:22px 0 12px}
.mode-choice p{font-size:13px;color:var(--muted);line-height:1.8}.mode-icon{display:grid;place-items:center;background:#eaddf5;width:38px;height:38px;border-radius:13px;color:var(--violet)}
.mode-cta{display:flex;align-items:center;justify-content:space-between;font-size:13px;margin-top:30px;font-weight:650}
.practice-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 15px}
.practice-heading h1{font-size:19px;letter-spacing:-.5px}.practice-heading .text-button{font-size:12px}.practice-heading .text-button svg{transform:rotate(90deg)}
.question-type{display:flex;justify-content:space-between;gap:12px;color:#655280;font-size:11px;letter-spacing:1.5px;margin-bottom:30px}
.question-type span:last-child{letter-spacing:0}
.question-stem{font-size:clamp(24px,2.3vw,36px);line-height:1.23;letter-spacing:-1px;font-weight:760;overflow-wrap:anywhere;margin-bottom:28px}
.option{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:14px 17px;margin:0 0 11px;border:1px solid #fffcf6;border-radius:15px;background:#fffaf5f0;font-size:15px;transition:background .18s,border-color .18s,transform .18s}
.option-copy{flex:1;min-width:0;overflow-wrap:anywhere;line-height:1.5}
.letter{display:grid;place-items:center;flex-shrink:0;background:#e6e1e9;border-radius:50%;width:33px;height:33px;font-weight:700;font-size:15px}
.option-indicator{margin-left:auto;width:19px;height:19px;border:1.5px solid #aaa2b8;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-size:13px;line-height:1}
.option:hover:not(:disabled){border-color:#a77bdd;transform:translateX(2px)}
.option.chosen{background:#e9ddff;border-color:#af83f0;color:#482080}
.option.chosen .letter{background:#4f209b;color:#fff}
.option.chosen .option-indicator{border-color:#6f37bb;box-shadow:inset 0 0 0 3px #e9ddff;background:#6f37bb}
.option.correct{background:#ebf7ee;border-color:#77a785;color:#22543d}.option.correct .letter{background:#28684a;color:white}
.option.correct .option-indicator{box-shadow:none;background:#28684a;border-color:#28684a;color:white}
.option.incorrect{background:#fff0ed;border-color:#bc5865;color:#812533}.option.incorrect .letter{background:#9e303b;color:white}
.option.incorrect .option-indicator{box-shadow:none;background:#9e303b;border-color:#9e303b;color:white}
.option:disabled{opacity:1}
.question-actions{display:grid;grid-template-columns:1.45fr 1fr;gap:16px;margin-top:27px}
.question-actions .btn{min-height:57px;font-size:15px;border-radius:17px}
.question-actions .primary{justify-content:space-between;padding-left:24px;padding-right:24px}
.question-actions .source-action{background:transparent;border-color:#a286ce;font-size:12px}
.feedback{margin-top:20px;border:1px solid #c6decf;background:#f1f9f0;border-radius:15px;padding:20px;animation:feedback-in .25s ease-out}
.feedback.wrong{background:#fff2e8;border-color:#e8c5b6}.feedback h3{font-size:14px}.feedback p{font-size:13px;line-height:1.85;margin:10px 0 14px}
.source-link{display:inline-flex;gap:6px;align-items:center;padding:6px 8px;font-size:11px;text-align:left;border-radius:7px;background:#fff9e4;border:1px solid #dcccaa;max-width:100%;overflow-wrap:anywhere}
.source-link svg{width:13px;height:14px}.source-link:hover{background:#ffefcc}
.question-map{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:28px;padding-top:19px;border-top:1px solid #c3b3df}
.number-grid{display:flex;gap:6px;flex-wrap:wrap}.number-grid button{width:31px;height:31px;border:1px solid #ae98ca;border-radius:9px;font-size:11px;position:relative}
.number-grid button.answered::after{content:"";position:absolute;bottom:3px;left:calc(50% - 2px);width:4px;height:4px;background:currentColor;border-radius:50%}
.number-grid button.current{background:#502b81;color:#fff;border-color:#502b81}
.question-map .helper{margin:0 0 0 auto}
.score-block{display:flex;align-items:center;gap:30px;background:#fff9eca6;padding:28px;border-radius:19px;margin-bottom:25px}
.score-big{font-size:70px;font-weight:750;letter-spacing:-4px;line-height:1}.score-big small{font-size:24px;letter-spacing:-1px}
.score-block h2{font-size:20px;margin-bottom:10px}.score-block p{font-size:13px;color:var(--muted)}
.section-line{height:1px;background:#beadd8;margin:28px 0}
.review-item{background:#fffaf0a6;border:1px solid #f7edfc;border-radius:16px;padding:22px;margin-top:15px}
.review-item h3{font-size:18px;line-height:1.45;margin-top:14px}.review-item p{font-size:13px;line-height:1.75;margin:13px 0}
.guide-nav{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.guide-nav .eyebrow{width:100%;font-size:10px}
.guide-nav a{background:#eee5ff;border:1px solid #c9b1e7;padding:7px 10px;border-radius:10px;font-size:12px;text-decoration:none}
.guide-nav a:hover{background:#f5edff}
.guide-content{padding:25px}.guide-topic{padding:10px 0 30px;border-bottom:1px solid #e1d7e8;margin-bottom:24px;scroll-margin-top:22px}
.guide-topic:last-child{border:0;margin-bottom:0;padding-bottom:0}
.guide-topic h2{font-size:25px;margin:8px 0 18px}.guide-topic p{font-size:14px;line-height:1.85}
.guide-topic dl{padding:20px;background:#eee6fb;border-radius:12px;margin:20px 0}
.guide-topic dt{font-size:14px;font-weight:700}.guide-topic dd{margin:6px 0 16px;font-size:13px;line-height:1.8}.guide-topic dd:last-child{margin-bottom:0}
.selfcheck{margin:20px 0}.selfcheck h3{font-size:14px}.selfcheck ul{padding-left:20px;font-size:14px;line-height:1.9}
.notice{font-size:12px;background:#fff3d5;border:1px solid #e6cf9e;padding:13px 15px;border-radius:12px;margin-bottom:18px;line-height:1.8}
.notice.error{background:var(--red-soft);border-color:#ce979b;color:#822d3b}.notice.good{background:#edf6ed;border-color:#c4dbc7}
.public-layout{max-width:1100px;padding:35px 40px 60px;margin:12px auto 30px;border-radius:28px;background:var(--card)}
.seo-index{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:25px}.seo-tile{padding:23px;text-align:left}
.seo-tile h2{font-size:22px;margin:10px 0}.seo-tile p{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.seo-copy{max-width:740px;margin:30px auto;font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.seo-copy h1{font-size:40px;margin:22px 0}.seo-copy h2{font-size:26px;margin:35px 0 15px}.seo-copy h3{font-size:19px;margin:23px 0 10px}.seo-copy p{margin:12px 0}
.server-copy{display:none}.server-copy[hidden]{display:none!important}.loading{padding:80px;text-align:center;color:var(--muted)}
.preview-footer{max-width:1600px;margin:auto;padding:20px 42px 24px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#62583f;font-size:10px;letter-spacing:.7px}
.preview-footer button{font-size:11px;text-decoration:underline;letter-spacing:0}
dialog{border:1px solid #fff8eb;border-radius:24px;background:#fffaf3;color:var(--ink);padding:0;max-width:760px;width:calc(100% - 40px);max-height:88vh;box-shadow:0 24px 80px #42284b35}
dialog::backdrop{background:#3b254957;backdrop-filter:blur(5px)}
.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:22px 25px;border-bottom:1px solid #e7dedd;position:sticky;top:0;background:#fffaf3;z-index:2}
.dialog-head h2{font-size:21px}.dialog-body{padding:23px 25px}.dialog-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.tabs{display:flex;gap:18px;margin-bottom:22px;border-bottom:1px solid #ded2df}.tabs button{padding:0 2px 12px;font-size:13px;border-bottom:2px solid transparent}.tabs button.active{border-color:var(--violet)}
.upload-zone{border:1.5px dashed #baa6c1;border-radius:16px;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#f7f0ff;padding:25px;text-align:center;cursor:pointer}
.upload-zone.dragging{background:#e6d8f9;border-color:var(--violet)}.upload-zone svg{width:30px;height:30px}.upload-zone p{font-size:12px;color:var(--muted)}
progress{width:100%;height:8px;accent-color:var(--violet)}.progress-box{padding:18px;border:1px solid var(--line);border-radius:12px;margin-top:14px}.progress-box p{font-size:12px;margin-bottom:10px}
.checkbox{display:flex;align-items:center;gap:8px;font-size:12px}.checkbox input{accent-color:var(--violet);width:17px;height:17px}
.source-segment{padding:16px 0;border-bottom:1px solid var(--line)}.source-segment blockquote{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 0;font-size:14px;line-height:1.9}
.selected-quote{padding:10px 14px;background:#ffd2be;border-left:3px solid #c5604f;margin:0 0 16px;font-size:13px;white-space:pre-wrap}
.source-list{display:flex;flex-direction:column;gap:7px}.source-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px;border:1px solid #e8dfdf;border-radius:12px}.source-item>span:nth-child(2){flex:1;min-width:0}
.source-item.selected{background:#ede0fc;border-color:#b59bd1}.source-item:hover{background:#f0e7fa}.source-item strong{font-size:13px;display:block;overflow-wrap:anywhere}.source-item small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.side-empty{padding:25px;color:var(--muted);font-size:13px}
.workspace-library{min-height:540px}.library-actions{margin:22px 0;flex-wrap:wrap}.workspace-empty{padding:42px 8px;line-height:1.8}.workspace-empty h3{font-size:23px;margin-bottom:15px}.workspace-empty p{font-size:14px;color:var(--muted)}.workspace-library .source-list{max-height:540px;overflow:auto}.saved-outputs>h2{font-size:17px}
#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);max-width:calc(100% - 40px);background:#352743;color:#fff;padding:13px 20px;border-radius:14px;font-size:13px;z-index:10;box-shadow:0 6px 25px #30213920;display:none}
.spinner{display:inline-block;width:17px;height:17px;border:2px solid #b69bcc;border-top-color:var(--violet);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes feedback-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes highlight-in{from{background:#fff0d8}to{background:#ffb7ae}}
@media(min-width:1440px){.study-content{padding:68px 46px 35px}.reader-text{height:492px;padding:34px;font-size:17px}.sidebar{min-height:810px;padding:35px}.main{min-height:794px}.question-stem{margin-bottom:32px}.option{padding:15px 19px;font-size:17px;margin-bottom:12px}.question-actions{margin-top:30px}.question-actions .btn{min-height:64px;font-size:17px}.question-actions .source-action{font-size:13px}.topbar{min-height:96px}.practice-heading h1{font-size:21px}}
@media(max-width:1150px){.topbar{padding:18px 25px;gap:15px}.brand{display:block}.brand b{font-size:21px}.brand small{font-size:10px}.nav button{padding:8px 15px}.shell{padding:0 20px;grid-template-columns:minmax(0,43fr) minmax(0,57fr)}.sidebar{padding:23px 20px}.study-content{padding:53px 26px 28px}.material-toolbar{flex-wrap:wrap}.current-file{flex-basis:100%}.upload-button{max-width:none;flex:1}.reader-text{padding:22px;font-size:14px;height:400px}.sidebar{min-height:780px}.main{min-height:764px}.material-actions{margin-top:5px}.question-stem{font-size:28px}.mode-choice{padding:19px}.settings{padding:20px}.question-actions{gap:10px}.question-actions .btn{font-size:13px;padding:12px 16px}.question-actions .source-action{font-size:11px}}
@media(min-width:768px) and (max-width:900px){.shell{grid-template-columns:minmax(0,39fr) minmax(0,61fr)}.sidebar{padding:22px 14px}.study-content{padding:48px 22px 25px}.nav button{padding:8px 11px;font-size:11px}.account>span:not(.avatar),.account>svg{display:none}.header-actions{gap:5px}.material-actions .btn{font-size:10px;padding:6px 3px}.reader-text{padding:18px;font-size:13px}.reader-toolbar{padding:8px 4px;gap:2px;font-size:10px}.reader-toolbar .icon-btn{width:26px}.side-head h2{font-size:19px}.page-heading h1{font-size:25px}.mode-choices{grid-template-columns:1fr}.setting-fields{gap:10px}.tool-tabs{gap:18px}.tool-tabs button{font-size:12px}.settings-heading{flex-wrap:wrap}}
@media(max-width:767px){body::before{inset:130px 0 0}.topbar{padding:17px 18px 14px;flex-wrap:wrap;gap:13px}.brand{display:flex;gap:10px}.brand b{font-size:20px}.brand small{display:none}.header-actions{margin-left:auto}.account>span:not(.avatar),.account>svg{display:none}.avatar{width:30px;height:30px}.nav{order:3;width:100%;justify-content:space-between}.nav button{flex:1;padding:8px 10px;font-size:12px}.shell{display:block;padding:0 12px}.sidebar{position:relative;top:0;min-height:0;padding:20px 18px 16px;border-radius:23px}.side-head{margin-bottom:12px}.side-head h2{font-size:20px}.material-toolbar{flex-wrap:nowrap}.current-file{flex-basis:auto;padding:12px 10px}.upload-button{flex:none;padding:10px;max-width:112px;font-size:11px}.upload-button svg{width:16px}.current-file strong{font-size:12px}.current-file small{font-size:10px}.material-actions{margin:7px 0}.material-actions .btn{font-size:11px}.source-reader{display:none}.source-reader.expanded{display:block}.mobile-source-toggle{display:flex;align-items:center;gap:7px;font-size:12px;padding:8px 0;color:var(--violet);text-decoration:underline}.mobile-source-toggle svg{width:16px}.reader-text{height:310px;font-size:14px;padding:20px}.source-empty{min-height:180px;padding:22px;gap:13px}.source-empty>svg{display:none}.source-empty h3{font-size:19px}.source-empty p{font-size:12px}.upload-empty .btn{font-size:12px;min-height:38px}.side-foot{font-size:9px;margin-top:12px}.source-summary{margin-top:6px}.main{min-height:0;margin-top:33px}.main::before{border-radius:27px 35px 50px 23px}.panel-tab{font-size:15px;padding:8px 24px 10px}.study-content{padding:47px 22px 27px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.settings{padding:19px}.settings-heading{gap:10px;flex-wrap:wrap}.setting-fields{gap:12px}.field{font-size:11px}.field input,.field select,.field textarea{font-size:16px}.tool-tabs{gap:22px}.tool-tabs button{font-size:12px}.deliverables{gap:10px;font-size:10px}.demo-callout{flex-wrap:wrap}.mode-choices{grid-template-columns:1fr}.mode-choice h2{margin-top:15px}.mode-cta{margin-top:20px}.practice-heading{gap:8px}.practice-heading h1{font-size:17px}.practice-heading .text-button{font-size:10px}.question-type{margin-bottom:25px;font-size:10px;letter-spacing:1px}.question-stem{font-size:26px;letter-spacing:-.7px;margin-bottom:25px;line-height:1.25}.option{font-size:14px;padding:12px;gap:10px;border-radius:13px}.letter{width:29px;height:29px;font-size:13px}.option-indicator{width:17px;height:17px}.question-actions{grid-template-columns:1fr;gap:10px;margin-top:24px}.question-actions .btn{min-height:48px;font-size:14px}.question-actions .source-action{min-height:42px;font-size:12px}.question-map{margin-top:22px}.question-map .helper{width:100%;margin:0}.score-block{padding:24px 18px;gap:20px}.score-big{font-size:58px}.score-block h2{font-size:17px}.guide-content{padding:21px}.guide-topic h2{font-size:23px}.review-item{padding:20px}.public-layout{margin:12px;padding:25px 21px}.seo-index{grid-template-columns:1fr}.seo-copy h1{font-size:30px}.preview-footer{padding:18px 22px;align-items:flex-start;font-size:9px}.preview-footer>span{max-width:65%}.dialog-body,.dialog-head{padding:19px}.dialog-head h2{font-size:19px}.loading{padding:55px 24px}}
@media(min-width:768px) and (max-width:1150px){.brand b,.brand small{display:block}.brand small{margin-top:1px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Stable navigation: overview / source library / creation workflow. */
.app-page{max-width:1440px;margin:14px auto 0;padding:0 34px 18px}
.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:22px 8px 32px}
.overview-heading .page-heading{margin:10px 0 0}.overview-heading .page-heading h1{font-size:clamp(30px,3.1vw,44px);letter-spacing:-1.5px}
.overview-heading .page-heading p{font-size:14px;margin-top:12px}.overview-heading>.row{flex-shrink:0}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h2{font-size:20px}
.overview-grid{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,6fr);gap:20px;align-items:start}
.overview-materials,.overview-results,.resume-section,.first-step,.material-list-panel,.create-source{border:1px solid #fff9eb;border-radius:26px;padding:28px;background:linear-gradient(140deg,#fffdf6,#faf7ef);box-shadow:0 12px 40px #916b2710;min-width:0}
.overview-results{background:linear-gradient(130deg,#e6ddfb,#dacef7);border-color:#eee5ff;min-height:280px}
.overview-results .result-row:last-child{border-bottom:0}.overview-results .result-row h3{font-size:16px}
.resume-section{margin-bottom:22px;background:#fff8ded9;padding:22px 28px}.resume-section .section-heading{margin-bottom:0}.resume-section .result-row:last-child{border-bottom:0}
.filter-tabs{display:flex;gap:7px;padding-bottom:12px;border-bottom:1px solid #c9b8e2}.filter-tabs button{min-height:40px;border-radius:20px;padding:8px 17px;font-size:13px;border:1px solid transparent}
.filter-tabs button[aria-pressed="true"]{background:#fffaf5;border-color:#fff;box-shadow:0 2px 8px #5b368a0b}
.first-step{max-width:850px;display:flex;gap:25px;padding:48px}.first-step h2{font-size:29px}.first-step p{margin:18px 0;color:var(--muted);max-width:600px}
.workspace-page>.bottom-note{margin:23px 8px}.overview-materials .source-item{background:#fffdf880;padding:17px 13px}.source-item.selected{background:#ede0fc}
.materials-grid{display:grid;grid-template-columns:minmax(0,32fr) minmax(0,68fr);gap:22px;align-items:start}
.material-list-panel{padding:24px;position:sticky;top:20px}.material-list-panel .source-list{max-height:560px;overflow:auto}.format-note{padding-top:22px;margin-top:20px;border-top:1px solid var(--line);line-height:1.8}
.material-detail{min-width:0;background:linear-gradient(130deg,#e4dafb,#d7c8f4);border-radius:28px;padding:22px}
.material-next{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 6px 22px}.material-next p{font-size:13px;margin-top:6px;color:var(--muted)}.material-next>.btn{flex-shrink:0}
.material-detail .sidebar{position:static;min-height:0;padding:24px}.material-detail .side-head,.material-detail .upload-button,.material-detail .material-actions>[data-action="paste"],.material-detail .mobile-source-toggle{display:none}
.material-detail .material-actions{justify-content:flex-end;margin:8px 0}.material-detail .source-reader{display:block}.material-detail .reader-text{height:370px}.material-detail .current-file{flex-basis:100%}
.material-placeholder{padding:90px 25px;min-height:420px;text-align:center}.material-placeholder .mode-icon{margin:0 auto 24px}.material-placeholder p{color:var(--muted);margin:17px auto 25px;max-width:390px;font-size:14px;line-height:1.8}
.creation-grid{display:grid;grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:20px;align-items:start}
.create-source{position:sticky;top:20px;padding:30px}.create-builder{min-width:0;border-radius:30px;background:linear-gradient(130deg,#e7dffd,#d7c8f5);padding:30px;box-shadow:0 12px 40px #916b2710}
.step-heading{display:flex;gap:13px;align-items:center;margin-bottom:23px}.step-heading h2{font-size:22px}.step-heading .eyebrow{font-size:9px;letter-spacing:1.3px;display:block;margin-bottom:6px}
.step-number{width:34px;height:34px;background:#ff8275;display:grid;place-items:center;font-size:12px;font-weight:700;border-radius:11px;flex-shrink:0;box-shadow:inset 0 1px 0 #ffd0be}.first-step>.step-number{margin-top:2px}
.chosen-material{padding:22px;background:#f4eee8;border:1px solid #e8ded8;border-radius:16px;margin-bottom:15px}.chosen-material h3{margin-top:16px;font-size:19px;overflow-wrap:anywhere;line-height:1.4}.chosen-material p{margin:7px 0 13px;font-size:12px;color:var(--muted)}
.scope-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);margin-top:24px;padding:22px 0 14px}.scope-summary h3{font-size:14px}.scope-summary p{font-size:12px;color:var(--muted);margin-top:5px}
.create-source>.helper{font-size:12px;line-height:1.8}.create-source .side-foot{font-size:10px;line-height:1.7;margin-top:20px}.source-additions{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:23px;padding-top:19px}
.create-source-empty{padding:23px 0 10px}.create-source-empty h3{font-size:23px;margin:19px 0 12px}.create-source-empty p{font-size:14px;color:var(--muted);margin-bottom:23px;line-height:1.8}
.content-types{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:27px}.content-type{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:21px;border:1.5px solid #c6b1e2;border-radius:17px;text-align:left;transition:background .18s,border-color .18s;background:#f8f1ff65;min-width:0}
.content-type:hover{background:#fff9f2d9}.content-type.selected{background:#fffaf4;border-color:#7e54b4;box-shadow:0 4px 15px #603f8820}.content-type strong{font-size:17px;margin:15px 0 8px;line-height:1.25}.content-type>span:not(.type-icon):not(.type-check){font-size:12px;line-height:1.7;color:var(--muted)}
.type-icon{color:var(--violet)}.type-icon svg{width:24px;height:24px}.type-check{position:absolute;right:17px;top:18px;width:20px;height:20px;border:1px solid #b8a2cd;border-radius:50%;font-size:12px;display:grid;place-items:center}.selected .type-check{background:var(--violet);border-color:var(--violet);color:#fff}
.create-builder .settings{padding:26px}.create-builder .settings-heading{align-items:center;gap:12px;flex-wrap:wrap}.create-builder .settings-heading .step-heading{margin:0}.create-builder .settings-heading h2{font-size:20px}.create-builder .settings-heading .step-number{background:#e7daf8;box-shadow:none;color:var(--violet);width:30px;height:30px;font-size:11px}
.create-builder .generate-button{min-height:52px}.create-builder .bottom-note{margin-bottom:0}.missing-source{font-size:12px;color:#76424a;margin-bottom:12px}.existing-content{margin-top:22px}.existing-content summary{cursor:pointer;font-size:13px;padding:7px 0}.existing-content .result-row{padding:16px 0}
.result-breadcrumb{margin:-12px 0 16px}.source-item,.result-row .desc,.overview-heading>div{min-width:0}.result-row h3,.result-row p{overflow-wrap:anywhere}
.app-page .btn.small,.app-page .icon-btn{min-height:44px}.app-page .icon-btn{min-width:44px}
@media(max-width:1100px){.overview-heading{align-items:flex-start;flex-direction:column;gap:22px}.app-page{padding:0 22px}.create-source,.create-builder{padding:23px}.creation-grid{grid-template-columns:minmax(0,38fr) minmax(0,62fr);gap:15px}.create-builder .settings{padding:21px}.step-heading h2{font-size:20px}.content-type{padding:18px 14px}.content-type strong{font-size:16px}.material-list-panel{padding:19px}.material-detail{padding:18px}.material-next{flex-wrap:wrap}.overview-grid{grid-template-columns:minmax(0,4fr) minmax(0,6fr)}.overview-materials,.overview-results{padding:24px}}
@media(max-width:800px){.creation-grid{grid-template-columns:1fr}.create-source{position:static}.chosen-material{display:grid;grid-template-columns:35px 1fr auto;column-gap:13px;padding:19px}.chosen-material .file-icon{grid-row:1/3;align-self:center}.chosen-material h3{margin:0;font-size:17px}.chosen-material p{margin:6px 0 0}.chosen-material .pill{grid-column:3;grid-row:1/3;align-self:center}.create-source .side-foot{max-width:550px}.materials-grid{grid-template-columns:minmax(0,36fr) minmax(0,64fr);gap:15px}.overview-grid{grid-template-columns:1fr}.material-next>.btn{width:100%}}
@media(max-width:600px){.app-page{padding:0 12px;margin-top:15px}.overview-heading{margin:14px 6px 25px;gap:20px}.overview-heading .page-heading h1{font-size:32px;letter-spacing:-1px}.overview-heading .page-heading p{font-size:13px}.overview-heading>.row{flex-shrink:1}.overview-heading .eyebrow{font-size:10px}.materials-grid{grid-template-columns:1fr}.material-list-panel{position:static;padding:21px}.material-list-panel .source-list{max-height:235px}.material-detail{padding:13px}.material-detail .sidebar{padding:17px}.material-detail .reader-text{height:320px}.material-next{padding:6px 6px 19px}.material-placeholder{padding:45px 15px;min-height:300px}.create-source,.create-builder{padding:22px;border-radius:24px}.step-heading .eyebrow{font-size:8px;letter-spacing:.8px}.step-heading h2{font-size:19px}.chosen-material{display:block}.chosen-material h3{margin-top:12px}.chosen-material p{margin:6px 0 12px}.content-types{gap:9px}.content-type{padding:18px 12px}.content-type strong{font-size:15px;margin-top:12px}.content-type>span:not(.type-icon):not(.type-check){font-size:11px}.type-check{right:12px;top:18px;width:18px;height:18px}.create-builder .settings{padding:18px}.create-builder .setting-fields{grid-template-columns:1fr}.create-builder .settings-heading h2{font-size:17px}.step-number{width:30px;height:30px}.scope-summary{align-items:flex-start;flex-wrap:wrap}.first-step{padding:30px 24px;gap:15px}.first-step h2{font-size:25px}.first-step .row{margin-left:-45px;padding-top:10px}.first-step p{font-size:14px}.resume-section{padding:22px}.result-row{gap:10px}.result-row .btn{font-size:11px;padding:8px 10px}.result-row h3{font-size:14px}.overview-results .result-row h3{font-size:15px}.section-heading h2{font-size:18px}.overview-materials,.overview-results{padding:23px}.result-row>.file-icon{display:none}}
/* Immediate release: a quiet reading surface; color communicates an action or evidence. */
:root{--ink:#1a1a2e;--muted:#6b7280;--line:#e5e7eb;--violet:#6d4bc4}
html,body{background:#fff;color:var(--ink)}
body:before,body:after{display:none!important}
body{font-size:17px;line-height:1.6}
.topbar{background:#fff;border-bottom:1px solid var(--line);max-width:1240px;margin:auto;padding:24px 32px}
.brand small{display:none}.nav{background:#f8f7f5;border:0}.nav button.active{background:#fff;box-shadow:0 1px 4px #1a1a2e12}
.btn,.nav button,.icon-btn{min-height:48px;border-radius:12px;transition:background 120ms,transform 120ms}
.btn.primary{background:#ff6b5e;color:#1a1a2e;border-color:#ff6b5e;box-shadow:none}
.btn.primary:hover{background:#f05a4d}.btn.primary:active{background:#e04a3e;transform:translateY(1px)}
button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #1a1a2e;outline-offset:3px}
.helper,.bottom-note,.side-foot,.eyebrow,.pill,.source-summary,.current-file small,.content-type>span,.preview-footer{font-size:14px!important}
.landing-page{max-width:800px;margin:64px auto;padding:0 24px;text-align:center}.hero-copy .page-heading h1{font-size:40px;line-height:1.15;letter-spacing:-1.2px}.hero-copy .page-heading p{max-width:620px;margin:24px auto;font-size:17px}
.landing-upload{background:#f8f7f5;border:1px dashed #b8bac0;border-radius:16px;padding:40px 24px;margin:32px 0}.landing-upload .mode-icon{margin:auto;background:#fff;color:#1a1a2e}.landing-upload h2{font-size:24px;margin:16px 0}.landing-upload>.btn{display:flex;width:max-content;max-width:100%;margin:16px auto}.landing-upload .helper{margin-top:24px}
.trust-points{display:flex;justify-content:center;gap:24px;flex-wrap:wrap;padding:0;list-style:none;font-size:14px}
.app-page,.shell{max-width:1200px;margin:32px auto}.shell{gap:24px;align-items:start;background:none;border:0;box-shadow:none;overflow:visible}
.main,.create-builder,.sidebar,.overview-materials,.overview-results,.resume-section,.material-detail,.create-source{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:none}
.main{margin:0;padding:0}.sidebar{padding:24px}.create-builder{padding:32px}.creation-grid{grid-template-columns:minmax(0,42fr) minmax(0,58fr);gap:24px}.create-builder h1{font-size:28px;line-height:1.2;margin-bottom:24px}
.content-type,.content-type.selected,.content-type:hover{background:#fff;border-color:var(--line);box-shadow:none}.content-type.selected{border:2px solid #ff6b5e;background:#fff8f6}.content-type strong{margin:0 0 8px}.settings.panel{background:#f8f7f5;border:0;border-radius:16px}.advanced-settings{margin:16px 0}.advanced-settings summary{cursor:pointer;min-height:44px}.advanced-settings .field{margin-top:16px}
.source-reader{background:#fff;border:1px solid var(--line);border-radius:12px}.reader-text{height:400px;line-height:1.8;font-size:16px}.reader-toolbar{background:#f8f7f5}.reader-text mark{background:#f4f0ff;color:#6d4bc4}
.panel-tab{display:none}.study-content{padding:32px}.question-stem{font-size:28px;line-height:1.3}.option{background:#fff;border-color:var(--line)}.source-evidence{background:#f4f0ff;border:0;border-left:4px solid #8b5cf6;color:#6d4bc4;border-radius:8px;padding:16px;margin:16px 0;font-size:16px}.source-evidence p{margin-top:8px}.source-link{background:#f4f0ff;color:#6d4bc4;min-height:44px}.guide-content,.guide dl{background:#f8f7f5}.guide-nav a{background:#f8f7f5;border-color:var(--line);color:var(--ink)}
.generation-status{display:block;background:#f8f7f5;padding:16px;border-radius:12px}.generation-status progress{width:100%;height:4px;accent-color:#ff6b5e}.generation-status p{margin:8px 0}.plan-interest{padding:16px;background:#f8f7f5;border-radius:12px;margin:24px 0}.plan-interest summary{cursor:pointer;min-height:44px}.score-block{background:#f8f7f5}.first-step{background:#f8f7f5;border-color:var(--line)}
.overview-grid{display:flex;flex-direction:column}.overview-results{order:0}.overview-materials{order:1}.preview-footer{background:#fff;border-top:1px solid var(--line);margin-top:48px;padding:24px 32px}.server-copy{display:block;max-width:800px;margin:48px auto;padding:24px}.server-copy h2{margin:32px 0 16px}.server-copy h3{margin:24px 0 8px}
@media(max-width:767px){.topbar{padding:16px;flex-wrap:wrap;gap:12px}.header-actions{gap:8px}.header-actions .btn{font-size:14px}.landing-page{margin-top:32px}.hero-copy .page-heading h1{font-size:28px}.landing-upload{padding:24px 16px}.trust-points{gap:8px;flex-direction:column}.shell,.creation-grid{display:flex;flex-direction:column;margin:16px 0;padding:0 16px}.shell>.main{order:0;width:100%}.shell>.sidebar{order:1;width:100%}.creation-grid>.sidebar,.create-builder{width:100%;padding:24px}.study-content{padding:24px}.question-stem{font-size:22px}.create-builder h1{font-size:22px}.source-reader{display:none}.source-reader.expanded{display:block}.create-page .source-reader{display:block}.create-page .reader-text{height:200px}.content-types{gap:8px}.content-type{padding:16px}.overview-heading .page-heading h1{font-size:28px}.main .btn{white-space:normal}.landing-page,.app-page,.shell{min-width:0}.nav{order:2}.reader-text{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}
.main:before{display:none}
.builder-title{font-size:28px;line-height:1.2;margin-bottom:24px}
@media(max-width:767px){.builder-title{font-size:22px}}
.option.chosen{background:#fff4f1;border-color:#ff6b5e;color:#1a1a2e}.option.chosen .letter{background:#1a1a2e;color:white}.option.chosen .option-indicator{background:#ff6b5e;border-color:#ff6b5e;box-shadow:inset 0 0 0 3px #fff4f1}
.option.correct{background:#e8f4e9;border-color:#216148}.option.incorrect{background:#fff0ee;border-color:#9e303b}
.option.correct .option-indicator,.option.correct .letter{background:#216148;border-color:#216148;box-shadow:none;color:#fff}.option.incorrect .option-indicator{background:#9e303b;border-color:#9e303b;box-shadow:none;color:#fff}
.reader-text mark{box-shadow:none;animation:highlight-in 200ms ease}
.source-link:hover{background:#ebe3ff}.avatar{background:#f8f7f5;color:#1a1a2e}.number-grid button.current{background:#1a1a2e;border-color:#1a1a2e;color:#fff}
#toast{pointer-events:none;background:#1a1a2e}
.btn.primary:hover:not(:disabled){background:#f05a4d;box-shadow:none}
.feedback .source-evidence{width:100%;margin:8px 0}
/* Account access: quiet, task-triggered, consistent with the study workspace. */
.site-footer{max-width:1240px;margin:48px auto 0;padding:24px 32px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:14px;color:var(--muted)}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 20px}.site-footer a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.legal-page{max-width:800px;margin:48px auto;padding:0 24px;overflow-wrap:anywhere}.legal-page h1{font-size:40px;line-height:1.15}.legal-page h2{font-size:24px;line-height:1.3;margin:32px 0 12px}.legal-page p{margin:14px 0}.legal-page a,.signin-panel a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.policy-date{color:var(--muted);font-size:14px}
.server-copy>nav{padding:24px 0}.server-copy>nav li{margin:12px 0}.server-copy a:not(.btn){text-decoration:underline;text-underline-offset:3px}.server-copy p{margin:12px 0;line-height:1.8}
@media(max-width:767px){.site-footer{padding:20px;display:block}.site-footer nav{margin-top:16px;gap:8px 16px}.legal-page{margin-top:32px}.legal-page h1{font-size:30px}.legal-page h2{font-size:22px}}
.signin-panel{display:grid;gap:18px;max-width:440px;margin:4px auto 14px}
.signin-panel .mode-icon{margin-bottom:0}
.signin-intro{font-size:22px;line-height:1.4;font-weight:650;margin:0}
.signin-panel .helper{margin:0;line-height:1.65}
.google-signin{justify-content:center;width:100%;background:#fff;min-height:52px}
.google-letter{font-weight:750;font-size:20px;color:#4285f4;margin-right:8px}
.header-actions .account{max-width:230px}
.header-actions .account>span:not(.avatar){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:600px){.header-actions .account{max-width:150px}.signin-intro{font-size:20px}}
