.topbar-home{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:inherit;text-decoration:none;border-radius:6px}
.topbar-home:focus-visible{outline:2px solid var(--green2);outline-offset:4px}
.term-tools{max-width:760px;margin-bottom:22px;display:grid;gap:10px}
.term-tools>label{font-size:13px;font-weight:600;color:var(--green)}
.term-tools>input{width:100%;min-height:48px;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:12px;padding:12px 16px;font:inherit}
.term-tools>input:focus-visible{outline:2px solid var(--green2);outline-offset:3px}
.term-tools .tabs{display:flex;flex-wrap:wrap;gap:8px}
.term-tools .tabs button{min-height:44px;border:1px solid var(--line);border-radius:9px}
.term-tools .tabs button[aria-pressed="true"]{background:var(--green);color:var(--paper)}
.term-flashcard .term-aliases{font-size:13px;color:var(--muted);margin:10px 0;overflow-wrap:anywhere}
.term-example{margin:20px 0;padding:17px;border-left:3px solid var(--green2);border-radius:0 10px 10px 0;background:var(--soft)}
.term-example h4{font-size:13px;margin-bottom:7px;color:var(--green)}
.term-flashcard .flashcard-answer .term-example p{margin:0}
.repeat-view-switch:has([data-mode="terms"]){flex-wrap:wrap}
@media(max-width:700px){.repeat-view-switch:has([data-mode="terms"]) button{flex:1 1 120px;min-height:44px}.term-tools{gap:12px}.term-tools>input{font-size:16px}.term-flashcard .flashcard-top{flex-wrap:wrap;gap:8px}.term-flashcard h2{overflow-wrap:anywhere}}
:root {
  --bg: #f4ecd8;
  --paper: #fff8e8;
  --surface: #faf2df;
  --ink: #304332;
  --muted: #666b55;
  --green: #203e2c;
  --green2: #3d6642;
  --lime: #eadb9e;
  --line: #ddd2b9;
  --soft: #ece9d1;
  --on-green: #fff5d9;
  --red: #a5433c;
  --red-bg: #fbece0;
  --amber: #855d21;
  --amber-bg: #f8edce;
  --radius: 18px;
  --shadow: 0 12px 40px #58462308;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  color-scheme: light;
  font-synthesis: none;
}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,label,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}a{color:inherit}button{color:inherit}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #5e6847;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:600}h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-1px}h2{font-size:19px;letter-spacing:-.35px}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:13px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--muted)}.skip-link{position:fixed;left:20px;top:-60px;z-index:100;padding:12px;background:var(--paper)}.skip-link:focus{top:16px}.loading-state{padding:80px;text-align:center}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 21px;z-index:20}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;margin:0 10px 54px}.brand-mark{background:var(--green);color:var(--on-green);border-radius:12px;width:38px;height:41px;display:grid;place-items:center}.brand-mark svg{width:25px;height:25px}.brand-name{font-family:Georgia,serif;font-size:25px;letter-spacing:-.7px}.brand-name strong{font-weight:700}.brand-sub{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);margin-top:4px}.nav-label{margin:0 15px 13px;font-size:10px;letter-spacing:1.5px;font-weight:600;color:#666b55}.main-nav{display:grid;gap:7px}.nav-link{display:flex;align-items:center;gap:13px;min-height:49px;border-radius:10px;text-decoration:none;color:var(--muted);font-size:14px;font-weight:500;padding:13px 16px}.nav-link:hover{background:#eee8d2}.nav-link.active{background:var(--green);color:var(--on-green)}.nav-link.active svg{stroke:#e5d7a0}.nav-count{margin-left:auto;border-radius:6px;font-size:10px;padding:2px 6px;background:var(--lime);color:var(--green)}.sidebar-foot{margin-top:auto}.pilot-note{padding:17px 15px;border:1px solid var(--line);border-radius:12px;background:#f0ead3;margin-bottom:22px}.pilot-note svg{color:var(--green2);margin-bottom:8px}.pilot-note strong{display:block;font-size:13px;margin-bottom:5px}.pilot-note p{font-size:11px;color:var(--muted);line-height:1.6}.local-link{background:none;display:flex;align-items:center;gap:9px;color:var(--muted);font-size:11px;padding:9px 11px;text-align:left}.local-dot{width:6px;height:6px;border-radius:50%;background:#7f9b50;box-shadow:0 0 0 4px #eae4cc;flex-shrink:0}.workspace{margin-left:236px;min-height:100vh}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 48px;background:var(--surface)}.topbar-left{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.topbar-left svg{width:15px;height:15px}.topbar-right{display:flex;align-items:center;gap:17px}.preview-badge{font-size:10px;font-weight:500;padding:5px 9px;background:#ede7cf;color:var(--muted);border:1px solid var(--line);border-radius:6px}.avatar{border-radius:50%;width:33px;height:33px;display:grid;place-items:center;background:#e8ddbd;color:#686b48;font-size:13px}.main{max-width:1260px;padding:37px 48px 60px;margin:auto}.page-intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;gap:18px}.page-intro h1{font-size:36px;line-height:1.2;margin:9px 0 9px}.page-intro p{font-size:13px;color:var(--muted)}.intro-date{font-size:11px;color:var(--muted);white-space:nowrap;padding-bottom:5px}.hero{position:relative;display:flex;justify-content:space-between;align-items:center;gap:28px;border-radius:var(--radius);background:var(--green);color:var(--on-green);padding:34px 38px;overflow:hidden;min-height:222px}.hero:after{content:"";position:absolute;inset:0 0 0 60%;opacity:.13;background-image:linear-gradient(#cabc8e 1px,transparent 1px),linear-gradient(90deg,#cabc8e 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(90deg,transparent,#000)}.hero-copy{position:relative;z-index:1}.hero-kicker{display:inline-flex;align-items:center;gap:7px;color:#e3d6a5;font-size:10px;letter-spacing:1.3px;text-transform:uppercase;margin-bottom:13px}.hero h2{font-family:Georgia,serif;font-size:32px;line-height:1.24;font-weight:400;letter-spacing:-.8px;margin-bottom:10px}.hero p{font-size:12px;color:#d6d6b6;max-width:400px}.hero .btn{margin-top:23px}.hero-art{width:150px;height:150px;position:relative;display:grid;place-items:center;flex-shrink:0;z-index:1;border:1px solid #c0b37f33;border-radius:50%;margin-right:12px}.hero-art:before{content:"";position:absolute;inset:16px;border:1px solid #c0b37f33;border-radius:50%}.hero-art svg{width:76px;height:76px;stroke:#ecdda7;stroke-width:.8}.art-dot{position:absolute;top:20px;right:8px;background:var(--lime);width:12px;height:12px;border:4px solid var(--green);box-sizing:content-box;border-radius:50%}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 19px;min-height:44px;font-size:13px;font-weight:600;line-height:1.3;border-radius:9px;text-decoration:none;background:var(--green);color:var(--on-green);transition:background .15s,transform .15s}.btn:hover{background:#36573b}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.4;transform:none}.btn.lime{background:var(--lime);color:var(--green)}.btn.lime:hover{background:#f1e4b5}.btn.secondary{background:var(--paper);border:1px solid var(--line);color:var(--ink)}.btn.secondary:hover{background:#f4ecd7}.btn.ghost{background:none;color:var(--muted);font-weight:500}.btn.ghost:hover{background:var(--soft)}.btn svg{width:16px;height:16px}.home-columns{display:grid;grid-template-columns:minmax(0,1fr) 256px;gap:25px;margin-top:28px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 17px}.section-head h2{font-size:17px}.section-head p{font-size:11px;color:var(--muted)}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.course-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:19px 15px 16px;text-align:left;min-width:0;position:relative;transition:border .15s,box-shadow .15s}.course-card:hover{border-color:#93a881;box-shadow:var(--shadow)}.course-card.selected{border-color:#73915f;background:#f4efd8;box-shadow:inset 0 0 0 1px #73915f}.course-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:21px}.course-icon{width:36px;height:36px;display:grid;place-items:center;background:#eee8cf;color:#627456;border-radius:10px}.course-card[data-course="borclar"] .course-icon{background:#f1e2c7;color:#a47b51}.course-card[data-course="ticaret"] .course-icon{background:#e8e6d5;color:#697466}.selection-circle{border:1px solid #c9c3a9;width:15px;height:15px;border-radius:50%;display:grid;place-items:center}.selected .selection-circle{background:var(--green);border-color:var(--green);color:var(--on-green)}.selection-circle svg{width:11px;height:11px}.course-card h3{font-size:14px;line-height:1.5;min-height:42px}.course-meta{font-size:10px;color:var(--muted);margin:8px 0 14px}.mini-track{height:3px;background:#e5dfc7;border-radius:4px;overflow:hidden}.mini-track span{display:block;height:100%;background:#789958}.course-completion{font-size:10px;color:var(--muted);margin-top:7px}.setup-row{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-top:21px;padding:17px 0;border-bottom:1px solid var(--line)}.field-label{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-bottom:8px}.select-wrap{position:relative;min-width:0;max-width:280px;flex:1}.select-wrap select{width:100%;min-height:42px;background:transparent;border:1px solid #cec6aa;border-radius:8px;padding:8px 30px 8px 11px;font-size:12px;color:var(--ink);text-overflow:ellipsis}.segmented{display:flex;gap:4px;padding:3px;background:#e6dfc8;border:1px solid var(--line);border-radius:8px}.segmented button{background:none;font-size:12px;min-width:37px;min-height:33px;border-radius:5px;color:var(--muted)}.segmented button.selected{background:var(--paper);box-shadow:0 2px 4px #243b2b0a;color:var(--green);font-weight:600}.helper-note{display:flex;align-items:flex-start;gap:7px;font-size:11px;color:var(--muted);margin-top:13px;line-height:1.6}.helper-note svg{width:14px;height:14px;margin-top:2px}.panel{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:21px}.summary-panel h2{font-size:14px}.donut{--pct:0;width:114px;height:114px;border-radius:50%;background:conic-gradient(#789858 calc(var(--pct)*1%),#eae4ce 0);margin:23px auto 16px;display:grid;place-items:center;position:relative}.donut:before{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--paper)}.donut div{position:relative;text-align:center}.donut strong{display:block;font-size:26px;letter-spacing:-1px;font-weight:600}.donut span{display:block;font-size:9px;color:var(--muted);margin-top:3px}.summary-empty{text-align:center;font-size:11px;line-height:1.7;color:var(--muted);max-width:180px;margin:0 auto 18px}.summary-line{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;font-size:11px;color:var(--muted)}.summary-line strong{color:var(--ink);font-size:13px}.text-link{display:inline-flex;align-items:center;gap:7px;background:none;padding:0;color:var(--green2);font-size:12px;font-weight:600;text-decoration:none}.text-link svg{width:14px;height:14px}.resource-note{margin-top:15px;padding:16px 18px;background:#ece7ce;border-radius:12px}.resource-note .eyebrow{font-size:9px}.resource-note p{font-size:12px;line-height:1.65;margin-top:8px;color:var(--muted)}.resource-note svg{width:17px;height:17px;margin-bottom:8px}.resume-card{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#eee8cc;border:1px solid #d6ceab;border-radius:12px;padding:15px 20px;margin-bottom:20px}.resume-card strong{font-size:13px}.resume-card p{font-size:11px;color:var(--muted);margin-top:4px}.bottom-note{margin-top:28px;display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);padding:18px 0;color:var(--muted);font-size:11px}.bottom-note strong{display:block;color:#58684e;font-size:12px;margin-bottom:3px}.bottom-note svg{width:27px;height:27px;color:#83916f}.bottom-note p{font-size:11px}.question-shell{max-width:850px;margin:auto}.question-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:28px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);background:none;padding:7px 0;text-decoration:none}.question-breadcrumb{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.question-breadcrumb svg{width:13px;height:13px}.question-meta{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;gap:12px}.course-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;background:#e8e5cb;color:#526442;font-size:10px;font-weight:600}.question-position{font-size:12px;color:var(--muted)}.progress-track{height:4px;border-radius:4px;background:#e0dac0;overflow:hidden;margin-bottom:27px}.progress-track span{display:block;height:100%;background:#829d5a;transition:width .2s}.question-paper{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:30px 34px;box-shadow:var(--shadow)}.question-title-row{display:flex;align-items:start;justify-content:space-between;gap:15px;margin-bottom:17px}.question-title-row h1{font-family:inherit;font-size:13px;font-weight:500;letter-spacing:0;color:var(--muted);line-height:1.6}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);background:var(--paper);border-radius:8px;flex-shrink:0}.icon-button:hover{background:#f0ead2}.icon-button.bookmarked{background:#eee7bb;color:#6e7e34;border-color:#c8d392}.icon-button.bookmarked svg{fill:#e4d59b}.question-stem{font-size:17px;line-height:1.85;color:var(--ink);white-space:pre-line;margin-bottom:25px}.options{display:grid;gap:10px;border:0;padding:0;margin:0;min-width:0}.options legend{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.option{position:relative;cursor:pointer;display:block}.option input{position:absolute;opacity:0;width:1px;height:1px}.option-inner{display:flex;align-items:center;gap:14px;padding:15px 17px;min-height:60px;border:1px solid var(--line);border-radius:10px;font-size:14px;line-height:1.65;background:var(--paper)}.option-letter{font-size:12px;font-weight:600;width:29px;height:29px;border-radius:8px;border:1px solid #d5cdb4;display:grid;place-items:center;flex-shrink:0;color:#728064}.option input:checked+.option-inner{border-color:#6d8a5d;background:#f1edd6;box-shadow:inset 0 0 0 1px #6d8a5d}.option input:checked+.option-inner .option-letter{background:var(--green);color:var(--on-green);border-color:var(--green)}.option input:focus-visible+.option-inner{outline:3px solid #5e6847;outline-offset:3px}.option:not(.locked):hover .option-inner{background:#faf1de;border-color:#acbba0}.option.locked{cursor:default}.option.correct .option-inner{border-color:#8aa875;background:#edf0d4}.option.correct .option-letter{background:#668444;color:var(--on-green);border-color:#668444}.option.incorrect .option-inner{border-color:#d5a099;background:var(--red-bg)}.option.incorrect .option-letter{background:#b85c52;color:var(--on-green);border-color:#b85c52}.option-copy{flex:1}.option-note{display:block;font-size:10px;font-weight:600;color:#557b36;margin-top:4px}.incorrect .option-note{color:var(--red)}.question-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:25px}.keyboard-note{font-size:10px;color:#666b55;margin-top:17px;text-align:center}.question-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:18px;font-size:10px;color:var(--muted)}.question-footer button{font-size:10px}.feedback{border-radius:12px;background:#e9edce;border:1px solid #d1d7b3;padding:21px 24px;margin-top:23px}.feedback.wrong{background:#f6e9d6;border-color:#e4d2b3}.feedback h2{font-size:15px;display:flex;align-items:center;gap:9px;margin-bottom:10px}.feedback p{font-size:14px;line-height:1.8}.feedback .answer-note{font-size:12px;color:#6b765d;margin-bottom:14px}.rationales{margin-top:18px;border-top:1px solid #d4ccb1;padding-top:15px}.rationales summary{cursor:pointer;font-size:12px;font-weight:600;min-height:30px;line-height:1.6}.rationale{display:flex;gap:11px;margin-top:12px;font-size:12px;line-height:1.75;color:#59694e}.rationale b{font-weight:600;flex-shrink:0}.sources{margin-top:21px;border-top:1px solid var(--line);padding-top:17px}.sources h3{font-size:12px;margin-bottom:9px}.source-row{display:flex;align-items:start;justify-content:space-between;gap:13px;margin:10px 0}.source-row p{font-size:11px;color:var(--muted)}.source-row a{font-size:11px;white-space:nowrap}.source-row svg{width:12px;height:12px}.empty-state{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:55px 25px}.empty-art{width:69px;height:69px;display:grid;place-items:center;margin:0 auto 20px;border:1px solid #d9d0b7;background:#eee9d0;border-radius:20px;color:#627747;transform:rotate(-4deg)}.empty-art svg{width:32px;height:32px}.empty-state h2{font-size:20px;margin-bottom:10px}.empty-state p{font-size:13px;color:var(--muted);max-width:400px;margin:0 auto 21px}.review-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:22px}.tabs{display:flex;gap:5px;border-bottom:1px solid var(--line);padding-bottom:10px}.tabs button{font-size:12px;background:none;min-height:39px;padding:9px 13px;border-radius:8px;color:var(--muted)}.tabs button.active{background:var(--green);color:var(--on-green)}.tabs span{margin-left:7px;font-size:10px;opacity:.75}.review-tools .select-wrap{max-width:190px}.review-list{display:grid;gap:12px}.review-item{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:21px 24px}.review-item-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:13px}.review-item p{font-size:13px;line-height:1.8;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin-bottom:17px}.review-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.status-tag{font-size:10px;font-weight:600;color:var(--red);display:inline-flex;align-items:center;gap:5px}.status-tag.blank{color:var(--amber)}.status-tag.correct{color:#557b36}.status-tag svg{width:13px;height:13px}.result-hero{display:grid;grid-template-columns:170px 1fr;gap:32px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:28px 35px;margin-bottom:23px}.result-hero .donut{width:142px;height:142px;margin:0}.result-hero .donut:before{inset:10px}.result-hero .donut strong{font-size:33px}.result-hero h2{font-family:Georgia,serif;font-size:27px;font-weight:400;margin-bottom:10px}.result-hero p{font-size:12px;color:var(--muted);max-width:470px}.result-counts{display:flex;gap:26px;margin-top:21px}.result-counts div{font-size:11px;color:var(--muted)}.result-counts strong{font-size:23px;color:var(--ink);display:block;margin-bottom:3px}.result-counts .good{color:#637f3d}.result-counts .bad{color:var(--red)}.result-actions{display:flex;gap:12px;margin:22px 0 32px;flex-wrap:wrap}.result-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);gap:15px}.result-row .question-id{font-size:12px;font-weight:600}.result-row .muted{font-size:11px;margin-top:3px}.result-row .text-link{font-size:11px}.result-row-left{display:flex;align-items:center;gap:12px}.result-marker{width:29px;height:29px;border-radius:8px;background:#eae7cc;color:#708c4b;display:grid;place-items:center}.result-marker.incorrect{background:var(--red-bg);color:var(--red)}.result-marker.blank{background:var(--amber-bg);color:var(--amber)}.result-marker svg{width:14px;height:14px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stat-card{background:var(--paper);border:1px solid var(--line);padding:22px 25px;border-radius:14px}.stat-card .eyebrow{font-size:9px;letter-spacing:1px}.stat-card strong{display:block;font-size:31px;font-weight:500;letter-spacing:-1px;margin:10px 0 6px}.stat-card p{font-size:11px;color:var(--muted)}.progress-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:22px}.course-progress{padding:20px 0;border-bottom:1px solid var(--line)}.course-progress:last-child{border-bottom:0;padding-bottom:3px}.course-progress-line{display:flex;justify-content:space-between;font-size:12px;margin-bottom:12px}.course-progress-line span{color:var(--muted);font-size:11px}.course-progress p{font-size:10px;color:var(--muted);margin-top:9px}.session-history{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;text-decoration:none}.session-history:last-child{border-bottom:0}.session-history p{font-size:10px;color:var(--muted);margin-top:5px}.history-score{font-size:16px;font-weight:600;color:var(--green)}.storage-warning{padding:12px 20px;background:#f4e5b9;border-bottom:1px solid #ddc98b;font-size:12px;color:#73571e}.mobile-nav{display:none}.toast{position:fixed;left:calc(50% + 118px);bottom:25px;transform:translate(-50%,15px);opacity:0;pointer-events:none;padding:13px 20px;max-width:90vw;border-radius:10px;background:var(--green);color:var(--on-green);font-size:12px;box-shadow:0 8px 24px #1b392d26;z-index:90;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{color:var(--ink);border:1px solid var(--line);border-radius:17px;padding:29px;max-width:490px;width:calc(100% - 32px);box-shadow:0 24px 100px #14392326}dialog::backdrop{background:#1c332d66;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:20px}.modal-head h2{font-size:20px}.modal-copy{font-size:13px;line-height:1.8;color:var(--muted)}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}dialog label{display:block;font-size:12px;font-weight:600;margin-top:20px}dialog select,dialog textarea{display:block;width:100%;border:1px solid #d6cfb5;border-radius:8px;background:var(--paper);padding:11px;margin-top:8px;line-height:1.5;color:var(--ink);font-size:13px}dialog textarea{min-height:110px;resize:vertical}.danger{color:var(--red)!important}.modal-error{color:var(--red);font-size:12px;margin-top:10px}.inspect-back{margin-bottom:20px}.no-data-hint{font-size:12px;color:var(--muted);padding:25px 0;line-height:1.7}
@media(min-width:1400px){.main{padding-top:44px}.hero{min-height:242px}.hero h2{font-size:36px}.home-columns{grid-template-columns:minmax(0,1fr) 280px}.course-card{padding:22px 20px}.course-card h3{font-size:15px}}
@media(max-width:1150px){.sidebar{width:205px;padding:28px 14px}.workspace{margin-left:205px}.main{padding:30px}.topbar{padding:0 30px}.home-columns{grid-template-columns:minmax(0,1fr) 225px;gap:18px}.course-grid{gap:9px}.course-card{padding:15px 12px}.hero{padding:30px}.hero-art{width:120px;height:120px;margin-right:0}.toast{left:calc(50% + 102px)}.intro-date{display:none}.brand{margin-left:8px}.brand-name{font-size:23px}}
@media(max-width:950px){.home-columns{grid-template-columns:1fr}.home-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.resource-note{margin:0;align-content:center;padding:25px}.summary-panel .donut{width:90px;height:90px;margin:15px auto 10px}.summary-empty{margin-bottom:14px}.progress-columns{grid-template-columns:1fr}.topbar{height:70px}.question-paper{padding:25px}.course-card h3{min-height:0}}
@media(max-width:700px){.sidebar{display:none}.workspace{margin:0}.topbar{height:65px;padding:0 21px}.topbar-left{font-family:Georgia,serif;font-size:20px;color:var(--green)}.topbar-left>svg{display:none}.topbar-right{gap:11px}.main{padding:27px 20px 110px}.page-intro{margin-bottom:23px}.page-intro h1{font-size:32px;margin-top:7px;line-height:1.2}.page-intro p{font-size:12px}.hero{padding:27px 24px;min-height:225px}.hero h2{font-size:29px;letter-spacing:-.7px}.hero-art{width:83px;height:83px;align-self:start;position:absolute;right:13px;top:35px;opacity:.6}.hero-art svg{width:45px;height:45px}.hero-kicker{font-size:9px;max-width:220px}.hero-copy{width:100%}.hero p{max-width:245px;font-size:11px}.hero .btn{margin-top:20px}.hero:after{inset:0 0 0 65%}.home-columns{margin-top:26px;gap:22px}.section-head h2{font-size:16px}.section-head p{font-size:10px}.course-grid{gap:8px}.course-card{padding:14px 11px;border-radius:11px}.course-icon{width:31px;height:31px;border-radius:8px}.course-icon svg{width:17px;height:17px}.course-top{margin-bottom:16px}.selection-circle{width:13px;height:13px}.course-card h3{font-size:12px;line-height:1.6;min-height:38px}.course-meta{font-size:9px;line-height:1.5;margin:6px 0 12px}.course-completion{font-size:9px}.setup-row{gap:12px;margin-top:13px}.select-wrap{max-width:none}.select-wrap select{font-size:11px;padding-left:9px;min-height:42px}.segmented button{min-width:34px}.home-aside{grid-template-columns:1fr}.summary-panel{display:grid;grid-template-columns:90px 1fr;align-items:center;column-gap:20px;padding:20px}.summary-panel h2{grid-column:2;grid-row:1;font-size:13px}.summary-panel .donut{grid-column:1;grid-row:1/4;margin:0}.summary-empty{grid-column:2;max-width:100%;text-align:left;margin:6px 0 10px;font-size:10px}.summary-line{grid-column:2;font-size:10px}.summary-line strong{font-size:11px}.resource-note{display:none}.bottom-note{margin-top:20px}.mobile-nav{display:grid;grid-template-columns:repeat(3,1fr);position:fixed;bottom:0;inset-inline:0;background:var(--paper);border-top:1px solid var(--line);padding:9px 12px calc(9px + env(safe-area-inset-bottom));z-index:30;box-shadow:0 -6px 25px #1c302706}.mobile-nav a{display:flex;align-items:center;gap:5px;flex-direction:column;justify-content:center;min-height:44px;font-size:10px;text-decoration:none;color:#666b55}.mobile-nav a svg{width:20px;height:20px}.mobile-nav a.active{color:var(--green);font-weight:600}.mobile-nav a.active svg{stroke-width:2.1}.toast{left:50%;bottom:88px;max-width:calc(100vw - 35px);width:max-content;font-size:11px}.resume-card{padding:13px;gap:10px}.resume-card .btn{padding:10px 12px;min-height:40px;font-size:11px}.resume-card strong{font-size:12px}.resume-card p{font-size:10px}.question-top{margin-bottom:22px}.question-breadcrumb{display:none}.question-meta{margin-bottom:10px}.question-title-row{margin-bottom:15px}.question-title-row h1{font-size:11px;line-height:1.7}.question-paper{padding:22px 17px;border-radius:13px}.question-stem{font-size:15px;line-height:1.85;margin-bottom:22px}.option-inner{font-size:13px;gap:11px;padding:13px 12px;line-height:1.7}.option-letter{width:25px;height:25px;border-radius:7px;font-size:11px}.question-actions{gap:5px}.question-actions .btn{font-size:12px;padding:12px 13px}.keyboard-note{display:none}.feedback{padding:18px 16px}.feedback p{font-size:13px}.feedback h2{font-size:14px}.feedback .answer-note{font-size:11px}.source-row{flex-direction:column;gap:5px}.source-row p,.source-row a{font-size:10px}.sources{margin-top:18px}.question-footer{gap:8px;flex-wrap:wrap;line-height:1.7}.question-position{font-size:11px}.progress-track{margin-bottom:21px}.review-tools{flex-direction:column;align-items:stretch;gap:14px}.tabs{justify-content:space-between;gap:3px}.tabs button{padding:9px 10px;font-size:11px;flex:1}.tabs span{margin-left:4px}.review-tools .select-wrap{max-width:none}.review-item{padding:18px}.review-item p{font-size:12px}.empty-state{padding:38px 22px}.empty-state h2{font-size:18px}.empty-state p{font-size:12px}.result-hero{padding:23px 20px;grid-template-columns:100px 1fr;gap:19px}.result-hero .donut{width:96px;height:96px}.result-hero .donut:before{inset:7px}.result-hero .donut strong{font-size:25px}.result-hero h2{font-size:22px}.result-hero p{font-size:11px}.result-counts{gap:16px;margin-top:13px}.result-counts strong{font-size:20px}.result-counts div{font-size:9px}.result-actions .btn{flex:1;font-size:11px;padding:12px}.result-row{gap:10px}.result-row .question-id{font-size:11px}.result-row .muted{font-size:10px}.result-row .text-link{font-size:10px;white-space:nowrap}.stats-grid{gap:8px}.stat-card{padding:17px 12px;border-radius:11px}.stat-card strong{font-size:26px;margin:8px 0}.stat-card .eyebrow{font-size:8px;letter-spacing:.3px;line-height:1.6;min-height:25px}.stat-card p{font-size:9px;line-height:1.5}.panel{padding:19px}.review-item-bottom .text-link{font-size:11px}.intro-action{padding:10px 12px;font-size:11px;min-height:40px}.page-intro:has(.intro-action){align-items:start}.storage-warning{font-size:11px;padding:10px 20px}.brand-mark{width:30px;height:33px}.modal-actions .btn{flex:1}.modal-head h2{font-size:18px}}


@media(max-width:700px){.question-stem{font-size:16px}.option-inner{font-size:16px}.feedback p{font-size:15px}.rationale{font-size:13px}}

.icon-button{width:44px;height:44px}.option-letter{color:#5d7050}.mobile-nav a{color:#586a50}.modal-head .icon-button{flex-shrink:0}

/* Motion is progressive: content stays visible unless the observer opts in. */
main.motion-enhanced .reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
main.motion-enhanced .reveal-pending.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
main.motion-enhanced .course-card.reveal-pending {
  transition: opacity 550ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1),
    translate 240ms cubic-bezier(.22, 1, .36, 1), scale 180ms ease,
    box-shadow 240ms ease, border-color 180ms ease;
  transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms),
    0ms, 0ms, 0ms, 0ms;
}
main.motion-enhanced .reveal-pending:focus-within {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  transition-delay: 0ms !important;
}
.page-enter .page-intro {
  animation: lawbase-page-enter 450ms cubic-bezier(.22, 1, .36, 1) both;
}
.question-paper.question-enter {
  animation: lawbase-question-enter 250ms cubic-bezier(.22, 1, .36, 1) both;
}
.feedback.feedback-enter {
  animation: lawbase-feedback-enter 220ms cubic-bezier(.22, 1, .36, 1) both;
}
.hero .hero-art {
  animation: lawbase-hero-float 7s ease-in-out infinite;
}
.page-enter .hero::after {
  animation: lawbase-grid-enter 650ms cubic-bezier(.22, 1, .36, 1) both;
}
.progress-track span,
.mini-track span {
  transition: width 400ms cubic-bezier(.22, 1, .36, 1);
}
.course-card {
  transition: translate 240ms cubic-bezier(.22, 1, .36, 1),
    scale 180ms ease, box-shadow 240ms ease, border-color 180ms ease;
}
.btn,
.icon-button {
  transition: transform 180ms ease, box-shadow 180ms ease,
    background-color 180ms ease, border-color 180ms ease;
}
.btn svg,
.nav-link svg,
.mobile-nav a svg {
  transition: transform 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .course-card:hover {
    translate: 0 -4px;
    box-shadow: 0 14px 30px #243b2b0c;
  }
  .btn:not(:disabled):hover svg:last-child {
    transform: translateX(3px);
  }
  .nav-link:hover svg,
  .mobile-nav a:hover svg {
    transform: translateY(-1px) scale(1.04);
  }
}
.course-card:active {
  translate: 0 1px;
  scale: .995;
}
.btn:not(:disabled):active,
.icon-button:active {
  transform: translateY(1px) scale(.99);
}
@keyframes lawbase-page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lawbase-question-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lawbase-feedback-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lawbase-hero-float {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-5px); }
  75% { transform: translateY(5px); }
}
@keyframes lawbase-grid-enter {
  from { background-position: 6px 3px, 6px 3px; }
  to { background-position: 0 0, 0 0; }
}


/* An explicit choice overrides the system default in either direction. */
:root[data-motion="off"],
:root[data-motion="off"] *,
:root[data-motion="off"] *::before,
:root[data-motion="off"] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
:root[data-motion="off"] main.motion-enhanced .reveal-pending {
  opacity: 1 !important;
}
:root[data-motion="off"] :is(
  main.motion-enhanced .reveal-pending,
  .page-intro, .question-paper, .feedback, .hero .hero-art,
  .course-card, .btn, .icon-button,
  .btn svg, .nav-link svg, .mobile-nav a svg
),
:root[data-motion="off"] .hero::after {
  transform: none !important;
  translate: none !important;
  scale: none !important;
}
.motion-toggle {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  grid-auto-flow: column;
  gap: 7px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.motion-toggle svg { width: 17px; height: 17px; }
.motion-toggle[aria-pressed="true"] {
  background: var(--soft);
  color: var(--green);
}
dialog,
select option { background: var(--paper); }
@media (max-width: 700px) {
  .motion-toggle { min-width: 35px; height: 35px; padding: 0 8px; gap: 5px; font-size: 10px; }
  .motion-toggle svg { width: 14px; height: 14px; }
}
@media (max-width: 400px) {
  .topbar-right .preview-badge { display: none; }
}

/* Accounts share the reading palette; study remains available without signing in. */
.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.account-button svg { width: 17px; height: 17px; }
.account-button .avatar { width: 28px; height: 28px; font-size: 11px; }
.account-label { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-tabs { display: flex; gap: 8px; margin: 20px 0 6px; }
.auth-tabs button {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}
.auth-tabs button[aria-pressed="true"],
.auth-tabs button.active { background: var(--soft); color: var(--green); border-color: var(--green2); }
.auth-form input {
  display: block;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  padding: 10px 12px;
  margin-top: 7px;
}
.lifecycle-panel { max-width: 760px; padding: clamp(20px,4vw,36px); }
.lifecycle-panel p, .lifecycle-management p { color: var(--muted); line-height: 1.8; }
.lifecycle-panel .auth-form { max-width: 440px; margin-top: 20px; }
.lifecycle-panel .auth-form label, .lifecycle-management .auth-form label { display: block; margin: 15px 0; }
.lifecycle-panel .auth-form .btn { margin-top: 16px; }
.lifecycle-management { display: grid; gap: 28px; margin-top: 20px; }
.lifecycle-management section + section { border-top: 1px solid var(--line); padding-top: 24px; }
.lifecycle-management h3 { margin-bottom: 10px; }
.lifecycle-status:not(:empty) { padding: 14px; margin-top: 18px; background: var(--soft); border-radius: 10px; line-height: 1.7; }
#bot-challenge { margin: 16px 0; max-width: 100%; overflow: hidden; }
.auth-error { color: var(--red); background: var(--red-bg); border-radius: 8px; font-size: 13px; line-height: 1.6; padding: 10px 12px; margin-top: 15px; }
.auth-error:empty { display: none; }
.auth-hint { font-size: 12px; line-height: 1.75; color: var(--muted); margin-top: 12px; }
.account-details { margin-top: 20px; padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.account-identity { overflow-wrap: anywhere; font-size: 15px; font-weight: 600; }
.account-role { display: inline-block; margin-top: 8px; padding: 4px 8px; border-radius: 6px; color: var(--green); background: var(--paper); font-size: 11px; }
.bank-switch { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 0 0 21px; margin-bottom: 25px; }
.bank-switch .field-label { margin-bottom: 8px; }
.bank-choices { display: flex; gap: 5px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.bank-choices button { min-height: 42px; padding: 9px 14px; background: transparent; color: var(--muted); border-radius: 7px; font-size: 12px; }
.bank-choices button[aria-pressed="true"] { background: var(--green); color: var(--on-green); }
.bank-switch > p { max-width: 330px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.study-notice { margin-bottom: 20px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--muted); font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
.study-notice.warning { background: var(--amber-bg); border-color: #cabc8e; color: var(--ink); }
.study-notice strong { display: block; font-size: 13px; }
.study-notice .btn, .study-notice .text-link { margin-top: 9px; }
.legacy-backup { padding-top: 17px; margin-top: 17px; border-top: 1px solid var(--line); }
.legacy-backup strong { font-size: 13px; color: var(--ink); }
.legacy-backup p { color: var(--muted); font-size: 12px; margin-top: 7px; line-height: 1.8; }
.legacy-backup .btn { margin-top: 11px; }
@media (max-width: 700px) {
  .bank-switch { align-items: stretch; flex-direction: column; gap: 10px; margin-bottom: 23px; }
  .bank-choices button { flex: 1; padding: 9px 10px; min-height: 44px; }
  .bank-switch > p { max-width: none; font-size: 10px; }
  .study-notice { padding: 14px; }
}
.account-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.account-button:disabled, .auth-tabs button:disabled { cursor: wait; opacity: .6; }
@media (max-width: 700px) {
  .account-button { min-width: 35px; min-height: 35px; padding: 0 8px; }
  .account-label { display: none; }
}

.legislation { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.legislation h3 { font-size: 15px; }
.law-intro { font-size: 12px; color: var(--muted); margin: 7px 0 14px; }
.law-article { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-top: 10px; }
.law-article summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 17px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; line-height: 1.6; }
.law-article summary::-webkit-details-marker { display: none; }
.law-article summary svg { width: 15px; height: 15px; }
.law-article[open] summary svg { transform: rotate(90deg); }
.law-article-body { border-top: 1px solid var(--line); padding: 16px 18px 18px; }
.law-reference { color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.law-article blockquote { margin: 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 14px; line-height: 1.9; color: var(--ink); }
.law-footnotes { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; font-size: 11px; line-height: 1.8; color: var(--muted); }
.law-footnotes p { white-space: pre-line; margin-top: 8px; }
.law-source { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 18px; font-size: 10px; color: var(--muted); }
.law-source .text-link { font-size: 11px; }
.law-unavailable { font-size: 12px; line-height: 1.8; color: var(--muted); }
.report-share { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.7; }
.report-share input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--green); }

/* Timed exams keep their source and results separate from the study notebook. */
.exam-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.exam-profile-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: left; background: var(--paper); min-width: 0; }
.exam-profile-card.selected { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.exam-profile-card h3 { font: 24px/1.2 Georgia, serif; }
.exam-profile-card > strong { font-size: 18px; }
.exam-profile-card > strong span { font-size: 12px; font-weight: 400; }
.exam-profile-card p { font-size: 11px; color: var(--muted); line-height: 1.8; overflow-wrap: anywhere; }
.exam-profile-status { font-size: 11px; margin-top: auto; color: var(--amber); }
.exam-profile-status.is-ready { color: var(--green2); }
.exam-start-panel { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--surface); margin: 18px 0 38px; }
.exam-start-panel h3 { font-size: 15px; margin-bottom: 8px; }
.exam-start-panel p { color: var(--muted); font-size: 12px; line-height: 1.8; max-width: 650px; }
.exam-start-panel .btn { flex-shrink: 0; }
.exam-missing { margin: 14px 0 0; padding-left: 18px; columns: 2; column-gap: 30px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.exam-history > select { max-width: 330px; margin-bottom: 17px; }
.exam-trend { display: grid; gap: 14px; padding: 20px 0; }
.exam-trend a { display: grid; grid-template-columns: 95px 1fr 55px; gap: 15px; align-items: center; text-decoration: none; font-size: 12px; }
.exam-trend .mini-track { width: 100%; margin: 0; }
.exam-trend strong { text-align: right; font-weight: 500; }
.exam-history-list .session-history:first-child { border-top: 0; }
.exam-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.exam-top .page-title { margin: 13px 0 8px; }
.exam-top p { font-size: 11px; line-height: 1.7; color: var(--muted); }
.exam-timer { flex-shrink: 0; padding: 15px 20px; min-width: 135px; border: 1px solid var(--line); border-radius: 13px; text-align: center; background: var(--paper); }
.exam-timer span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 7px; }
.exam-timer strong { display: block; font: 600 27px/1.2 "Segoe UI", sans-serif; font-variant-numeric: tabular-nums; }
.exam-timer strong[data-urgent="true"] { color: var(--red); }
.exam-workspace { display: grid; grid-template-columns: 182px minmax(0, 1fr); gap: 24px; align-items: start; }
.exam-palette { position: sticky; top: 20px; border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: var(--paper); }
.exam-palette-summary { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 12px; }
.exam-palette-summary span { font-size: 11px; color: var(--muted); }
.exam-question-numbers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.exam-number { display: flex; align-items: center; justify-content: center; position: relative; border: 1px solid var(--line); min-height: 32px; min-width: 0; border-radius: 7px; background: var(--surface); font-size: 11px; }
.exam-number.is-answered { background: var(--green); color: var(--on-green); border-color: var(--green); }
.exam-number.is-current { outline: 2px solid var(--green2); outline-offset: 2px; }
.exam-number.is-flagged { border-color: var(--amber); }
.exam-number > span { position: absolute; right: 1px; top: -5px; color: var(--amber); font-size: 13px; line-height: 1; }
.exam-palette > p { color: var(--muted); font-size: 9px; line-height: 1.8; margin: 15px 0; }
.exam-palette > .btn { width: 100%; font-size: 11px; padding: 11px 7px; }
.exam-question { min-width: 0; }
.exam-question .question-paper { padding: 28px 25px; }
.exam-question .question-title-row .page-title { font: 600 13px/1.7 "Segoe UI", sans-serif; margin: 0; }
.exam-question .question-stem { font-size: 16px; }
.exam-question-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.exam-question-actions > span { max-width: 240px; text-align: right; line-height: 1.7; }
.exam-course-results { margin-top: 25px; }
.exam-course-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 13px; }
.exam-course-row p { color: var(--muted); font-size: 11px; line-height: 1.8; margin-top: 5px; }
.exam-course-row > div:last-child { text-align: right; }
@media (max-width: 1000px) {
  .exam-profile-grid { grid-template-columns: 1fr; }
  .exam-profile-card { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; }
  .exam-profile-card p { grid-column: 1 / -1; }
  .exam-profile-card h3 { font-size: 22px; }
  .exam-workspace { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .exam-palette { position: static; }
  .exam-palette-summary { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 13px; }
  .exam-question-numbers { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .exam-palette > .btn { width: auto; }
}
@media (max-width: 700px) {
  .mobile-nav { grid-template-columns: repeat(4, 1fr); }
  .exam-profile-card { padding: 17px; grid-template-columns: 1fr; }
  .exam-profile-card h3 { font-size: 24px; }
  .exam-start-panel { flex-direction: column; padding: 18px; gap: 17px; }
  .exam-start-panel .btn { width: 100%; }
  .exam-missing { columns: 1; }
  .exam-top { gap: 13px; }
  .exam-top .page-title { font-size: 25px; }
  .exam-timer { padding: 11px 12px; min-width: 100px; }
  .exam-timer strong { font-size: 22px; }
  .exam-top p { font-size: 10px; }
  .exam-question-numbers { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
  .exam-number { min-height: 44px; font-size: 13px; }
  .exam-question .question-paper { padding: 21px 17px; }
  .exam-question .question-stem { font-size: 16px; }
  .exam-question-actions { flex-wrap: wrap; gap: 10px; }
  .exam-question-actions .btn { font-size: 12px; padding: 12px; }
  .exam-question-actions > span { font-size: 10px; max-width: 160px; }
  .exam-trend a { grid-template-columns: 75px 1fr 45px; gap: 10px; font-size: 11px; }
  .exam-course-row { align-items: flex-start; font-size: 12px; }
}
.repeat-view-switch { display: flex; gap: 7px; padding-bottom: 20px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.repeat-view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 19px; border-radius: 9px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; }
.repeat-view-switch button svg { width: 18px; height: 18px; }
.repeat-view-switch button[aria-pressed="true"] { color: var(--green); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.review-list-tabs { flex-wrap: wrap; }
.review-list-tabs button { min-height: 44px; }
.review-filters { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(220px, 1.3fr); gap: 15px; margin: 0 0 25px; max-width: 620px; }
.review-filters .select-wrap { max-width: none; min-width: 0; }
.review-filters select { width: 100%; }
.review-item-actions { display: flex; gap: 18px; align-items: center; flex-shrink: 0; }
.repeat-due { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; }
.repeat-due svg { width: 14px; height: 14px; }
.repeat-due.is-due { color: var(--green); }
.repeat-upcoming { margin-top: 24px; padding: 21px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.repeat-upcoming h2 { font-size: 14px; margin-bottom: 14px; }
.repeat-upcoming > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.7; color: var(--muted); }
.repeat-upcoming time { color: var(--green); white-space: nowrap; }
.repeat-rules { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 27px; color: var(--muted); }
.repeat-rules summary { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; cursor: pointer; min-height: 32px; }
.repeat-rules summary svg { width: 17px; height: 17px; flex-shrink: 0; }
.repeat-rules p { font-size: 12px; line-height: 1.9; margin-top: 12px; max-width: 760px; }
.card-progress-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 18px; max-width: 760px; }
.card-progress-strip > div { padding: 17px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); display: flex; align-items: center; gap: 12px; }
.card-progress-strip strong { font-family: Georgia, serif; font-size: 29px; font-weight: 400; color: var(--green); }
.card-progress-strip span { font-size: 11px; line-height: 1.7; color: var(--muted); }
.card-development-note { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0 0 20px; max-width: 760px; }
.card-development-note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.card-keyboard-note { max-width: 760px; margin-bottom: 14px; text-align: left; }
.flashcard { max-width: 760px; border: 1px solid var(--line); border-radius: 18px; padding: 30px 34px 21px; background: var(--paper); box-shadow: 0 10px 30px #263c2210; }
.flashcard-top { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 25px; }
.flashcard-top > span:last-child { font-size: 10px; color: var(--muted); }
.flashcard > .eyebrow { font-size: 10px; line-height: 1.8; margin-bottom: 8px; }
.flashcard h2 { font-family: Georgia, serif; font-size: 27px; font-weight: 400; line-height: 1.4; color: var(--green); }
.flashcard-front { font-size: 17px; line-height: 1.9; margin-top: 20px; color: var(--ink); }
.flashcard-reveal { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 23px; }
.flashcard-reveal > p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 17px; }
.flashcard-answer { margin-top: 25px; border-top: 1px solid var(--line); padding-top: 23px; }
.flashcard-answer h3 { font-size: 13px; color: var(--green); margin-bottom: 12px; }
.flashcard-answer > p { font-size: 15px; line-height: 1.95; white-space: pre-line; }
.flashcard-answer .flashcard-caution { font-size: 13px; background: var(--amber-bg); padding: 14px 16px; border-radius: 9px; margin-top: 17px; }
.card-sources { display: flex; flex-direction: column; gap: 8px; margin-top: 19px; }
.card-sources .text-link { font-size: 11px; line-height: 1.75; align-self: flex-start; }
.card-sources p { font-size: 10px; color: var(--muted); line-height: 1.8; }
.flashcard-rating { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 24px; }
.flashcard-rating .btn { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; line-height: 1.6; padding: 13px; }
.flashcard-rating .btn > span { display: block; flex-basis: 100%; font-size: 10px; font-weight: 400; opacity: .8; }
.flashcard-footer { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.flashcard-footer > span { font-size: 10px; color: var(--muted); line-height: 1.8; }
.flashcard-footer .text-link { font-size: 11px; min-height: 40px; }
@media (max-width: 700px) {
  .repeat-view-switch { gap: 5px; padding-bottom: 15px; margin-bottom: 19px; }
  .repeat-view-switch button { flex: 1; padding: 10px 8px; gap: 7px; font-size: 12px; }
  .review-list-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 5px; }
  .review-list-tabs button { padding: 11px 8px; font-size: 12px; border-radius: 8px; }
  .review-filters { grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
  .review-filters select { min-height: 44px; font-size: 13px; }
  .review-item-bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
  .review-item-actions { width: 100%; justify-content: space-between; }
  .review-item-actions .text-link { min-height: 40px; }
  .repeat-upcoming { padding: 18px; }
  .repeat-upcoming > div { flex-direction: column; gap: 4px; }
  .repeat-rules p { font-size: 12px; }
  .card-progress-strip { gap: 7px; }
  .card-progress-strip > div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 13px 10px; }
  .card-progress-strip strong { font-size: 27px; }
  .card-progress-strip span { font-size: 10px; }
  .card-development-note { font-size: 10px; }
  .flashcard { padding: 21px 18px 16px; border-radius: 13px; }
  .flashcard-top { gap: 8px; margin-bottom: 23px; }
  .flashcard-top > span:last-child { font-size: 9px; }
  .flashcard h2 { font-size: 24px; }
  .flashcard-front { font-size: 16px; margin-top: 16px; }
  .flashcard-answer > p { font-size: 15px; }
  .flashcard-rating { gap: 8px; }
  .flashcard-rating .btn { font-size: 12px; }
  .flashcard-footer { align-items: flex-start; gap: 12px; }
  .flashcard-footer > span { max-width: 160px; }
}
@media (max-width: 700px) {
  .law-article summary { padding: 13px 14px; }
  .law-article-body { padding: 14px; }
  .law-article blockquote { font-size: 15px; }
}
.course-search-label {display:block;font-size:12px;color:var(--muted);margin:8px 0;}
.course-search {width:100%;min-height:46px;padding:12px 15px;margin-bottom:16px;background:var(--paper);border:1px solid var(--line);border-radius:10px;color:var(--ink);}
.course-grid .course-card h3 {min-height:50px;line-height:1.5;overflow-wrap:break-word;}
@media(max-width:700px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.course-card h3{font-size:13px;}.course-search{font-size:14px;}}

/* Law Base / Studio, 22 October 2026.
   Glass-folder layers adapted to the existing dependency-free study interface.
   All reading, answer status, reduced-motion and server state rules stay intact. */
:root {
  --bg: #f6f5f0;
  --paper: #fffefb;
  --surface: #f0efe8;
  --ink: #263c32;
  --muted: #69766b;
  --green: #214b3b;
  --green2: #47735a;
  --lime: #d9edb4;
  --line: #e0e4d9;
  --soft: #eaf0e4;
  --on-green: #f6f9ed;
  --radius: 22px;
  --shadow: 0 8px 30px #24473208;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}
body { background: var(--bg); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: #59804b; }
.sidebar { width: 224px; padding: 31px 18px 20px; background: #193e31; border-right: 0; color: #f4f7ed; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #6d8d7770 transparent; }
.brand { gap: 10px; margin: 0 10px 43px; }
.brand-mark { width: 36px; height: 39px; color: #e0efc3; border: 1px solid #73978070; background: #315543; border-radius: 11px; }
.brand-name { font-size: 27px; color: #f6f8ef; }
.brand-name strong { font-weight: 400; }
.brand-sub { color: #acbfb0; font-size: 8px; letter-spacing: 2.2px; margin-top: 5px; }
.nav-label { color: #a8beaf; font-size: 9px; margin: 0 14px 14px; letter-spacing: 1.9px; }
.main-nav { gap: 7px; }
.nav-link { min-height: 48px; color: #c4d1c6; font-size: 13px; padding: 12px 15px; border-radius: 10px; }
.nav-link svg { width: 18px; height: 18px; }
.nav-link:hover { background: #305443; color: #fff; }
.nav-link.active { background: #dfedc8; color: #193e31; box-shadow: 0 3px 10px #0c251b15; }
.nav-link.active svg { stroke: #214b3b; }
.nav-count { background: #a9c692; color: #173c2c; }
.pilot-note { padding: 19px 16px; border: 1px solid #62816b55; border-radius: 15px; background: linear-gradient(140deg,#34544270,#264c3a40); margin-bottom: 16px; }
.sidebar-note-icon { display: block; margin-bottom: 15px; color: #d9edb4; }
.pilot-note .eyebrow { display: block; font-size: 8px; letter-spacing: 1.3px; color: #b8cdb6; margin-bottom: 12px; }
.pilot-note svg { margin: 0; color: inherit; }
.pilot-note strong { font-family: Georgia, serif; font-weight: 400; font-size: 20px; line-height: 1.3; color: #f3f5e8; margin-bottom: 12px; }
.pilot-note p { color: #b4c7b7; font-size: 11px; }
.sidebar-note-link { display: flex; align-items: center; gap: 12px; color: #dfedc8; font-size: 10px; text-decoration: none; margin-top: 20px; }
.sidebar-note-link svg { width: 15px; height: 15px; }
.local-link { width: 100%; color: #c4d1c6; font-size: 10px; padding: 11px 6px; }
.sidebar .local-dot { background: #b4d68b; box-shadow: 0 0 0 3px #7e9f6730; }
.local-link svg { margin-left: auto; width: 14px; height: 14px; }
.sidebar-version { display: block; margin: 17px 6px 0; font-size: 7px; letter-spacing: 1.25px; color: #a2b8a7; }
.workspace { margin-left: 224px; }
.topbar { height: 74px; padding: 0 40px; background: #fffefbce; border-bottom: 1px solid var(--line); }
.topbar-left { font-size: 11px; gap: 10px; }
.topbar-left svg { color: #49735a; }
.topbar-right { gap: 12px; }
.preview-badge { background: #edf2e7; border-color: #dce5d4; color: #516b46; font-size: 9px; border-radius: 20px; padding: 5px 10px; }
.motion-toggle { background: transparent; border-color: transparent; border-radius: 8px; min-height: 42px; font-size: 10px; }
.motion-toggle[aria-pressed="true"] { background: transparent; }
.account-button { border: 1px solid var(--line); background: var(--paper); border-radius: 30px; padding: 5px 13px 5px 5px; min-height: 40px; font-size: 11px; }
.account-button .avatar { background: #e5ecd8; color: #355740; width: 29px; height: 29px; }
.main { max-width: 1390px; padding: 25px 40px 50px; }
.bank-switch { padding-bottom: 18px; margin-bottom: 26px; align-items: center; gap: 20px; }
.bank-switch .field-label { font-size: 9px; letter-spacing: .2px; margin-bottom: 7px; }
.bank-choices { background: #eaece3; border: 0; padding: 3px; border-radius: 9px; gap: 2px; }
.bank-choices button { min-height: 34px; font-size: 10px; padding: 8px 13px; white-space: nowrap; }
.bank-choices button[aria-pressed="true"] { background: var(--paper); color: var(--green); box-shadow: 0 1px 5px #24473212; font-weight: 600; }
.bank-switch > p { font-size: 10px; max-width: 285px; line-height: 1.6; }
.page-intro { margin-bottom: 26px; }
.eyebrow { font-size: 9px; letter-spacing: 1.6px; }
.page-intro h1 { font-size: clamp(30px,2.6vw,39px); letter-spacing: -1.15px; margin: 8px 0 9px; }
.page-intro p:not(.eyebrow) { font-size: 12px; }
.intro-date { font-size: 10px; padding-bottom: 4px; }
.hero { min-height: 300px; padding: 33px 37px; border: 1px solid #365a43; border-radius: 20px; background: #214b3b; gap: 20px; }
.hero:after { inset: 0 0 0 40%; opacity: .16; background-image: radial-gradient(#deefbd 1px,transparent 1px); background-size: 17px 17px; mask-image: linear-gradient(90deg,transparent,#000); }
.hero-kicker { font-size: 8px; letter-spacing: 1.6px; color: #d9e5c5; margin-bottom: 16px; }
.hero-kicker .local-dot { width: 5px; height: 5px; background: #c7e39d; box-shadow: 0 0 0 3px #b9d59b20; }
.hero h2 { font-size: clamp(32px,3vw,45px); line-height: 1.13; letter-spacing: -1.2px; color: #fbf9e9; margin-bottom: 15px; }
.hero h2 em { font-weight: 400; color: #d9edb4; }
.hero p { max-width: 335px; color: #c7d5c6; font-size: 11px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.hero .btn { margin-top: 0; min-height: 43px; font-size: 12px; padding: 12px 17px; border-radius: 9px; }
.hero-selected { max-width: 160px; color: #e4ebd7; font-size: 10px; line-height: 1.5; }
.hero-selected small { display: block; font-size: 8px; color: #b7c9b4; margin-top: 4px; }
.hero-art { width: 270px; height: 240px; border: 0; margin: 0; border-radius: 0; animation: none !important; }
.hero-art:before { display: none; }
.hero-orbit { width: 270px; height: 270px; border: 1px solid #d9edb422; border-radius: 50%; position: absolute; top: -15px; left: 0; }
.orbit-two { inset: 12px 27px; width: 216px; height: 216px; }
.hero-art-note { position: absolute; bottom: 5px; font-size: 7px; letter-spacing: 2px; color: #c1d3b7; }
.btn { border-radius: 10px; font-weight: 600; }
.btn:hover { background: #315c46; }
.btn.lime:hover { background: #e6f4cc; }
.btn.secondary:hover { background: var(--soft); }
.overview-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 21px 0 34px; padding: 18px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.overview-strip > div { display: flex; align-items: center; gap: 12px; padding: 0 21px; min-width: 0; }
.overview-strip > div + div { border-left: 1px solid var(--line); }
.overview-strip > div > svg { width: 32px; height: 32px; padding: 8px; border-radius: 9px; background: #edf2e7; stroke: #54734b; }
.overview-strip strong { display: block; font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -.7px; }
.overview-strip strong small { font-size: 10px; font-weight: 400; letter-spacing: 0; margin-left: 5px; color: var(--muted); }
.overview-strip span > span { display: block; color: var(--muted); font-size: 8px; margin-top: 5px; }
.home-columns { grid-template-columns: minmax(0,1fr) 244px; gap: 25px; margin-top: 0; align-items: start; }
.home-aside { position: sticky; top: 24px; }
.section-head { margin-bottom: 18px; }
.section-head .eyebrow { font-size: 8px; letter-spacing: 1.7px; margin: 0 0 7px; }
.section-head h2 { font-size: 18px; font-weight: 500; letter-spacing: -.5px; line-height: 1.5; }
.library-count { font-size: 9px; border: 1px solid var(--line); background: #f0f1e9; padding: 5px 9px; border-radius: 20px; white-space: nowrap; }
.course-search-box { position: relative; margin-bottom: 15px; }
.course-search-box > svg { position: absolute; top: 15px; left: 14px; width: 17px; height: 17px; color: #778574; }
.course-search-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.course-search { min-height: 47px; padding: 12px 68px 12px 41px; margin: 0; font-size: 11px; background: var(--paper); border-color: var(--line); border-radius: 10px; }
.course-search::placeholder { color: #7a8477; }
.search-hint { position: absolute; right: 12px; top: 15px; font-size: 8px; letter-spacing: 1px; color: #7d8776; border: 1px solid #e2e5db; border-radius: 4px; padding: 2px 5px; }
.study-setup { background: #eef1e7; border: 1px solid #dfe5d5; border-radius: 12px; padding: 14px; margin-bottom: 19px; }
.setup-caption { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 10px; }
.setup-caption strong { font-weight: 600; }
.setup-caption > span:last-child { color: var(--muted); font-size: 9px; margin-left: auto; }
.setup-indicator { width: 6px; height: 6px; border-radius: 50%; background: #6c9352; }
.setup-row { padding: 0; margin-top: 14px; border: 0; gap: 11px; }
.setup-row .field-label { font-size: 9px; margin-bottom: 6px; }
.select-wrap select { background: var(--paper); border-color: #d5ddcb; border-radius: 7px; min-height: 39px; font-size: 11px; }
.segmented { background: #e2e7d8; border: 1px solid #d9e1cf; border-radius: 7px; padding: 3px; gap: 2px; }
.segmented button { min-width: 30px; min-height: 31px; font-size: 10px; }
.segmented button.selected { background: #fffefb; }
.setup-start { min-height: 39px; padding: 9px 12px; font-size: 10px; border-radius: 7px; }
.setup-start svg { width: 13px; height: 13px; }
.study-setup .helper-note { margin-top: 10px; font-size: 9px; }
.study-setup .helper-note svg { width: 12px; height: 12px; }
.course-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.course-card { background: var(--paper); border: 1px solid #e0e5da; border-radius: 13px; padding: 13px 14px 15px; overflow: hidden; }
.course-card.selected { border-color: #6d8d59; background: #fffefb; box-shadow: 0 0 0 1px #6d8d59,0 4px 18px #41693b0c; }
.course-top { margin-bottom: 0; position: relative; z-index: 2; }
.course-number { font-size: 7px; letter-spacing: 1.2px; color: #7a8675; font-weight: 500; }
.selection-circle { width: 16px; height: 16px; border-color: #cdd8c3; }
.selected .selection-circle { background: #315e43; border-color: #315e43; }
.course-grid .course-card h3 { min-height: 44px; font-size: 12px; font-weight: 600; line-height: 1.6; margin: 3px 0 0; letter-spacing: -.15px; }
.course-meta { font-size: 9px; margin: 5px 0 13px; }
.course-meta span { padding: 0 4px; }
.course-completion { font-size: 8px; line-height: 1.6; margin-top: 8px; padding-right: 13px; }
.course-open { position: absolute; right: 11px; bottom: 13px; color: #6c865d; }
.course-open svg { width: 13px; height: 13px; }
.mini-track { height: 3px; background: #e7ecdf; }
.mini-track span { background: #729556; }
.course-folder-stage { height: 122px; display: grid; place-items: center; position: relative; background: radial-gradient(ellipse,#e9eee167,transparent 70%); }
.glass-folder { --folder-a:#bbcfab; --folder-b:#597c61; --folder-c:#dce5bd; display: block; position: relative; width: 133px; height: 92px; perspective: 650px; filter: drop-shadow(0 9px 7px #2b452f19); }
.folder-tone-1 { --folder-a:#ded2b9; --folder-b:#ad8060; --folder-c:#eedec4; }
.folder-tone-2 { --folder-a:#b6c9ce; --folder-b:#567579; --folder-c:#d4e0d9; }
.folder-tone-3 { --folder-a:#d2c5d8; --folder-b:#8b6b85; --folder-c:#ebd6d7; }
.folder-tone-4 { --folder-a:#bfcabd; --folder-b:#768764; --folder-c:#e1ddb3; }
.folder-back { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(150deg,var(--folder-c) 5%,var(--folder-a) 24%,var(--folder-b) 48%,var(--folder-a) 61%,var(--folder-c) 87%); clip-path: polygon(0 10%,44% 10%,53% 0,100% 0,100% 100%,0 100%); border: 1px solid #ffffff85; }
.folder-back:after { content:""; position:absolute; inset:0; background:repeating-linear-gradient(127deg,transparent 0 7px,#ffffff12 8px,transparent 9px 17px); }
.folder-sheet { position: absolute; width: 108px; height: 70px; border: 1px solid #dde2d7; border-radius: 6px; left: 12px; top: 21px; background: linear-gradient(#fffefb,#f1f2e9); box-shadow: 0 1px 7px #1e3e2c12; padding: 10px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.folder-sheet i { display: block; height: 2px; border-radius: 2px; background: #a2b49b6b; margin-bottom: 5px; }
.folder-sheet i:first-child { width: 42%; height: 4px; margin-bottom: 7px; background: #72906466; }
.folder-sheet i:last-child { width: 74%; }
.sheet-one { transform: translateY(-3px) rotate(-5deg); }
.sheet-two { transform: translateY(3px) rotate(4deg); }
.folder-front { position: absolute; inset: 23px 0 0; border: 1px solid #ffffffb8; border-radius: 8px 10px 10px 10px; background: linear-gradient(165deg,#ffffff50,#ffffffa8 38%,#f6f7eee8 100%); backdrop-filter: blur(8px) saturate(1.2); -webkit-backdrop-filter: blur(8px) saturate(1.2); transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); box-shadow: inset 0 1px 1px #fff,0 1px 3px #32453313; }
.folder-front:before { content:""; position: absolute; left: -1px; top: -7px; width: 57px; height: 10px; border-radius: 7px 12px 0 0; background: #ffffff9e; border-top: 1px solid #fff; transform: skewX(28deg); transform-origin: bottom left; }
.folder-seal { position: absolute; left: 12px; bottom: 21px; color: #385443; }
.folder-seal svg { width: 17px; height: 17px; stroke-width: 1.2; }
.folder-caption { position: absolute; bottom: 10px; left: 12px; font-size: 5px; color: #617260; letter-spacing: 1.1px; }
.glass-folder--hero { width: 205px; height: 147px; transform: rotate(-9deg); filter: drop-shadow(0 17px 15px #102c2855); }
.glass-folder--hero .folder-back { border-radius: 16px; }
.glass-folder--hero .folder-sheet { width: 166px; height: 116px; top: 29px; left: 20px; padding: 17px; border-radius: 9px; }
.glass-folder--hero .sheet-one { transform: translateY(-12px) rotate(-7deg); }
.glass-folder--hero .sheet-two { transform: translateY(-1px) rotate(5deg); }
.glass-folder--hero .folder-front { inset: 37px 0 0; border-radius: 11px 17px 17px 17px; backdrop-filter: blur(11px); -webkit-backdrop-filter: blur(11px); }
.glass-folder--hero .folder-front:before { top: -10px; width: 88px; height: 14px; }
.glass-folder--hero .folder-seal { left: 20px; bottom: 39px; }
.glass-folder--hero .folder-seal svg { width: 28px; height: 28px; stroke: #35543e; stroke-width: 1.1; }
.glass-folder--hero .folder-caption { font-size: 8px; left: 20px; bottom: 22px; letter-spacing: 2.2px; }
.panel, .stat-card, .review-item, .question-paper, .flashcard { border-color: var(--line); background: var(--paper); box-shadow: var(--shadow); }
.panel { border-radius: 15px; padding: 22px; }
.summary-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.summary-heading .eyebrow { font-size: 7px; letter-spacing: 1.5px; }
.summary-heading svg { width: 15px; height: 15px; color: #72846b; }
.summary-panel h2 { font-family: Georgia,serif; font-size: 23px; font-weight: 400; letter-spacing: -.4px; }
.donut { width: 132px; height: 132px; background: conic-gradient(#739855 calc(var(--pct)*1%),#eaf0e1 0); margin: 25px auto 19px; }
.donut:before { inset: 8px; }
.donut strong { font-family: Georgia,serif; font-size: 38px; font-weight: 400; }
.donut span { font-size: 8px; }
.summary-empty { font-size: 10px; max-width: 180px; margin-bottom: 22px; }
.summary-line { padding: 12px 0; font-size: 10px; border-color: var(--line); }
.summary-link { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: #45663c; text-decoration: none; font-size: 10px; font-weight: 600; }
.summary-link svg { width: 15px; height: 15px; }
.resource-note { padding: 23px; border: 1px solid #dce4d0; border-radius: 15px; background: #eaf0e0; margin-top: 16px; }
.resource-note > svg { width: 26px; height: 26px; stroke: #547348; margin-bottom: 14px; }
.resource-note .eyebrow { color: #647954; font-size: 8px; margin-bottom: 9px; }
.resource-note h3 { font-family: Georgia,serif; font-size: 22px; font-weight: 400; margin-bottom: 10px; line-height: 1.25; letter-spacing: -.4px; }
.resource-note p:not(.eyebrow) { font-size: 10px; color: #607052; line-height: 1.85; }
.resource-foot { display: block; margin-top: 18px; padding-top: 13px; border-top: 1px solid #cfdbbf; color: #62764e; font-size: 8px; }
.review-shortcut { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 20px 4px; }
.review-shortcut > svg { width: 17px; height: 17px; color: #6a805e; }
.review-shortcut strong { display: block; font-size: 10px; font-weight: 500; }
.review-shortcut small { display: block; font-size: 8px; color: var(--muted); margin-top: 5px; }
.review-shortcut > svg:last-child { width: 13px; margin-left: auto; }
.bottom-note { display: flex; align-items: center; gap: 15px; background: transparent; border: 0; border-top: 1px solid var(--line); padding: 25px 0 0; margin-top: 32px; }
.bottom-note > svg { width: 21px; height: 21px; color: #788e65; }
.bottom-note strong { font-size: 11px; font-weight: 500; }
.bottom-note p { font-size: 10px; color: var(--muted); margin-top: 3px; }
.bottom-note > span { margin-left: auto; font-size: 8px; letter-spacing: 2px; color: #84917b; white-space: nowrap; }
.resume-card { border: 1px solid #d5e1c8; background: #eef3e5; border-radius: 12px; }
.question-paper { border-radius: 18px; }
.option-inner { background: #fffefb; border-color: #dce2d4; border-radius: 11px; }
.option-letter { background: #edf1e5; color: #4e6b43; border-color: #d5dec8; }
.question-stem { color: #293d32; }
.empty-state { border: 1px dashed #cad8bf; border-radius: 18px; background: #fffefb; }
.empty-art { background: #e9f0df; color: #577548; }
.stat-card { border-radius: 15px; }
dialog { border-color: var(--line); border-radius: 19px; box-shadow: 0 24px 80px #193e3130; }
dialog::backdrop { background: #142e235c; backdrop-filter: blur(5px); }
.mobile-nav { background: #fffefbf2; border-color: var(--line); backdrop-filter: blur(16px); }
.mobile-nav a { color: #69766b; }
.mobile-nav a.active { color: #214b3b; }
.mobile-nav a.active svg { stroke: #214b3b; }
@media (hover:hover) and (pointer:fine) {
  .course-card:hover { translate: 0 -3px; border-color: #a6b997; box-shadow: 0 10px 25px #28432b0b; }
  .course-card:hover .sheet-one, .course-card:focus-visible .sheet-one { transform: translate(-5px,-15px) rotate(-9deg); }
  .course-card:hover .sheet-two, .course-card:focus-visible .sheet-two { transform: translate(6px,-9px) rotate(9deg); }
  .course-card:hover .folder-front, .course-card:focus-visible .folder-front { transform: rotateX(-17deg); }
  .hero:hover .glass-folder--hero .folder-front { transform: rotateX(-12deg); }
  .hero:hover .glass-folder--hero .sheet-one { transform: translate(-4px,-23px) rotate(-10deg); }
}
@media (min-width:1600px) { .main { padding-top: 32px; } .hero { min-height: 330px; padding: 40px 47px; } }
@media (max-width:1190px) and (min-width:701px) {
  .sidebar { width: 202px; padding-right: 15px; padding-left: 15px; }
  .workspace { margin-left: 202px; }
  .topbar { padding: 0 27px; }
  .main { padding: 24px 27px 45px; }
  .home-columns { grid-template-columns: minmax(0,1fr) 210px; gap: 20px; }
  .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero { padding: 28px; min-height: 285px; }
  .hero-art { width: 205px; height: 220px; }
  .hero-orbit { width: 215px; height: 215px; top: 0; left: -5px; }
  .orbit-two { width: 175px; height: 175px; top: 20px; left: 15px; }
  .glass-folder--hero { width: 180px; height: 130px; }
  .glass-folder--hero .folder-sheet { width: 146px; height: 100px; left: 17px; }
  .overview-strip > div { padding: 0 13px; gap: 8px; }
  .overview-strip > div > svg { width: 27px; height: 27px; padding: 6px; }
  .overview-strip strong { font-size: 21px; }
  .overview-strip span > span { font-size: 7px; }
  .panel, .resource-note { padding: 19px; }
  .setup-row { flex-wrap: wrap; }
  .setup-start { width: 100%; }
}
@media (max-width:960px) and (min-width:701px) {
  .sidebar { width: 180px; padding-left: 12px; padding-right: 12px; }
  .workspace { margin-left: 180px; }
  .brand { margin-left: 6px; gap: 8px; }
  .brand-name { font-size: 23px; }
  .brand-sub { font-size: 7px; }
  .pilot-note { padding: 16px 12px; }
  .pilot-note strong { font-size: 20px; }
  .main { padding: 23px; }
  .home-columns { grid-template-columns: minmax(0,1fr); }
  .course-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .home-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .resource-note { margin-top: 0; }
  .review-shortcut { grid-column: 1/-1; padding: 5px; }
  .hero-art { width: 150px; }
  .hero-orbit { width: 180px; height: 180px; left: -15px; top: 20px; }
  .orbit-two { width: 150px; height: 150px; left: 0; top: 35px; }
  .glass-folder--hero { width: 145px; height: 104px; }
  .glass-folder--hero .folder-sheet { width: 116px; height: 75px; left: 14px; top: 28px; padding: 10px; }
  .glass-folder--hero .folder-front { inset: 28px 0 0; }
  .glass-folder--hero .folder-seal { bottom: 28px; left: 14px; }
  .glass-folder--hero .folder-caption { font-size: 6px; left: 14px; bottom: 13px; }
  .hero h2 { font-size: 34px; }
  .hero-selected { display: none; }
  .hero-art-note { font-size: 5px; letter-spacing: 1px; bottom: 19px; }
  .setup-row { flex-wrap: nowrap; }
  .setup-start { width: auto; }
  .intro-date { display: none; }
  .bank-switch > p { max-width: 220px; font-size: 9px; }
  .topbar { padding: 0 23px; }
  .topbar-right { gap: 5px; }
  .preview-badge { display: none; }
}
@media (max-width:700px) {
  .sidebar { display: none; }
  .workspace { margin-left: 0; }
  .topbar { padding: 0 19px; height: 65px; }
  .topbar-left { font-family: Georgia,serif; font-size: 23px; font-weight: 400; letter-spacing: -.8px; color: #214b3b; }
  .topbar-right { gap: 6px; }
  .topbar-right .preview-badge { display: none; }
  .motion-toggle { min-width: 34px; height: 36px; padding: 0 5px; font-size: 9px; gap: 4px; }
  .motion-toggle svg { width: 14px; height: 14px; }
  .account-button { min-height: 36px; padding: 4px 10px 4px 4px; font-size: 10px; }
  .account-button .avatar { width: 25px; height: 25px; font-size: 10px; }
  .account-label { display: inline; max-width: 74px; }
  .main { padding: 21px 19px 100px; }
  .bank-switch { display: block; padding-bottom: 16px; margin-bottom: 22px; }
  .bank-switch .field-label { font-size: 9px; }
  .bank-choices { display: inline-flex; }
  .bank-choices button { min-height: 36px; font-size: 10px; padding: 8px 14px; }
  .bank-switch > p { max-width: none; font-size: 9px; margin-top: 9px; }
  .page-intro { margin-bottom: 20px; }
  .page-intro .eyebrow { font-size: 8px; letter-spacing: 1.3px; }
  .page-intro h1 { font-size: 31px; margin: 8px 0; }
  .page-intro p:not(.eyebrow) { font-size: 11px; line-height: 1.8; }
  .intro-date { display: none; }
  .hero { padding: 26px 23px; min-height: 280px; border-radius: 16px; gap: 0; align-items: flex-start; }
  .hero-copy { width: 100%; }
  .hero-kicker { font-size: 7px; letter-spacing: 1.1px; margin-bottom: 17px; }
  .hero h2 { font-size: 34px; letter-spacing: -.9px; margin-bottom: 16px; }
  .hero p { max-width: 195px; font-size: 10px; position: relative; z-index: 2; }
  .hero-actions { margin-top: 21px; gap: 10px; flex-wrap: wrap; }
  .hero .btn { min-height: 42px; font-size: 11px; }
  .hero-selected { max-width: 140px; font-size: 9px; }
  .hero-selected small { font-size: 7px; }
  .hero-art { display: block; position: absolute; width: 95px; height: 110px; right: 13px; top: 104px; margin: 0; opacity: .82; }
  .hero-orbit { width: 115px; height: 115px; top: -4px; left: -10px; }
  .orbit-two { width: 91px; height: 91px; top: 8px; left: 2px; }
  .glass-folder--hero { width: 90px; height: 67px; position: absolute; top: 23px; left: 0; }
  .glass-folder--hero .folder-sheet { width: 72px; height: 45px; left: 9px; top: 18px; padding: 7px; }
  .glass-folder--hero .folder-front { inset: 20px 0 0; border-radius: 6px 8px 8px 8px; }
  .glass-folder--hero .folder-front:before { width: 38px; height: 7px; top: -5px; }
  .glass-folder--hero .folder-back { border-radius: 8px; }
  .glass-folder--hero .folder-seal { left: 9px; bottom: 15px; }
  .glass-folder--hero .folder-seal svg { width: 14px; height: 14px; }
  .glass-folder--hero .folder-caption { left: 9px; bottom: 7px; font-size: 4px; letter-spacing: 1px; }
  .hero-art-note { display: none; }
  .overview-strip { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 16px 0 28px; padding: 3px 14px; border-radius: 12px; }
  .overview-strip > div { min-height: 78px; padding: 12px 7px; gap: 10px; }
  .overview-strip > div + div { border: 0; }
  .overview-strip > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 17px; }
  .overview-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .overview-strip strong { font-size: 24px; }
  .overview-strip strong small { font-size: 10px; }
  .overview-strip span > span { font-size: 8px; }
  .overview-strip > div > svg { width: 30px; height: 30px; padding: 7px; }
  .home-columns { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .section-head h2 { font-size: 18px; }
  .section-head .eyebrow { font-size: 7px; letter-spacing: 1.3px; }
  .library-count { font-size: 8px; padding: 4px 8px; }
  .course-search { font-size: 12px; min-height: 46px; }
  .study-setup { padding: 13px; }
  .setup-caption { font-size: 10px; }
  .setup-caption > span:last-child { font-size: 8px; }
  .setup-row { gap: 10px; flex-wrap: wrap; }
  .setup-row .select-wrap { max-width: none; flex: 1 1 160px; }
  .setup-start { width: 100%; min-height: 40px; font-size: 11px; }
  .select-wrap select { font-size: 12px; min-height: 40px; }
  .segmented button { min-width: 32px; min-height: 32px; font-size: 11px; }
  .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .course-card { padding: 12px 12px 14px; border-radius: 12px; }
  .course-folder-stage { height: 119px; }
  .glass-folder:not(.glass-folder--hero) { width: 124px; height: 87px; }
  .glass-folder:not(.glass-folder--hero) .folder-sheet { width: 100px; left: 11px; height: 65px; }
  .course-grid .course-card h3 { font-size: 12px; min-height: 44px; }
  .course-meta { font-size: 9px; }
  .course-completion { font-size: 8px; }
  .course-number { font-size: 6px; letter-spacing: 1px; }
  .home-aside { position: static; display: block; }
  .summary-panel { padding: 23px; }
  .summary-panel h2 { font-size: 26px; }
  .summary-heading .eyebrow { font-size: 8px; }
  .summary-empty { font-size: 12px; max-width: 220px; }
  .summary-line, .summary-link { font-size: 12px; }
  .resource-note { display: block; margin-top: 16px; padding: 24px; }
  .resource-note p:not(.eyebrow) { font-size: 12px; }
  .resource-note h3 { font-size: 26px; }
  .resource-foot { font-size: 10px; }
  .review-shortcut { padding: 24px 4px 2px; }
  .review-shortcut strong { font-size: 12px; }
  .review-shortcut small { font-size: 10px; }
  .bottom-note { padding-top: 22px; margin-top: 26px; gap: 11px; }
  .bottom-note strong { font-size: 10px; }
  .bottom-note p { font-size: 9px; }
  .bottom-note > span { display: none; }
  .mobile-nav { padding-bottom: env(safe-area-inset-bottom,0px); }
  .mobile-nav a { font-size: 10px; min-height: 65px; }
  .mobile-nav a.active { background: #eaf0e4; border-radius: 10px; }
  .question-paper { padding: 23px 17px; }
  .question-stem, .option-inner { font-size: 16px; line-height: 1.85; }
  .feedback p { font-size: 15px; }
}
@media (max-width:370px) {
  .main { padding-left: 14px; padding-right: 14px; }
  .topbar { padding: 0 14px; }
  .motion-toggle span { display: none; }
  .hero { padding: 23px 19px; }
  .hero h2 { font-size: 31px; }
  .hero-art { opacity: .5; right: 5px; top: 120px; }
  .hero p { max-width: 185px; }
  .hero-selected { max-width: 110px; }
  .glass-folder:not(.glass-folder--hero) { transform: scale(.87); }
  .course-folder-stage { height: 106px; }
  .course-grid .course-card h3 { font-size: 11px; }
  .course-completion { font-size: 7px; }
  .overview-strip > div { gap: 7px; }
  .overview-strip > div:nth-child(even) { padding-left: 12px; }
}

/* Welcome / editorial landing. Scoped separately from the study workspace. */
.landing-page { --landing-dark: #102e24; --landing-light: #edf0dc; background: #f6f5ef; color: #234335; }
.landing-page a { text-decoration: none; }
.landing-nav { min-height: 88px; max-width: 1512px; margin: auto; padding: 19px 45px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.landing-brand { display: flex; align-items: center; gap: 11px; color: #244b39; flex-shrink: 0; }
.landing-brand > svg { width: 32px; height: 32px; stroke-width: 1.25; }
.landing-brand > span { font: 27px Georgia,serif; letter-spacing: -1px; line-height: 1; }
.landing-brand > span > span { font-weight: 700; }
.landing-brand small { display: block; font: 7px "Segoe UI",sans-serif; letter-spacing: 2px; margin-top: 7px; color: #70816b; }
.landing-nav nav { display: flex; align-items: center; gap: 26px; }
.landing-nav nav button { background: none; font-size: 11px; color: #63715e; padding: 10px 0; min-height: 42px; }
.landing-nav nav button:hover { color: #234b35; }
.landing-nav-actions { display: flex; align-items: center; gap: 24px; }
.landing-login { display: flex; align-items: center; gap: 10px; font-size: 11px; background: none; color: #345640; max-width: 160px; overflow-wrap: anywhere; min-height: 42px; }
.landing-login svg { width: 14px; height: 14px; }
.landing-nav-cta { display: inline-flex; align-items: center; gap: 20px; padding: 13px 18px; border: 1px solid #d5dfc9; color: #294d34; background: #e6eed7; border-radius: 7px; font-size: 11px; min-height: 43px; }
.landing-nav-cta svg { width: 15px; height: 15px; }
.landing-hero { position: relative; min-height: 665px; overflow: hidden; isolation: isolate; color: #f2f4de; background: #0c281d; margin: 0 15px; border-radius: 17px; }
.landing-shader-fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse at 70% 25%,#78865b70,transparent 50%),radial-gradient(ellipse at 42% 95%,#376648,transparent 60%),linear-gradient(140deg,#0b221a,#244a32 57%,#7d875b); }
.landing-hero canvas[data-lawbase-shader] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: .9; }
.landing-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#09221750,transparent 75%),linear-gradient(0deg,#0a211b99,transparent 70%); pointer-events: none; }
.landing-hero-content { max-width: 1420px; margin: auto; padding: 28px 49px 22px; position: relative; }
.landing-hero-topline { display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: 2px; color: #dbe6c6; padding-bottom: 22px; border-bottom: 1px solid #c5d4aa35; gap: 20px; }
.landing-hero-topline > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.landing-hero-topline i { width: 5px; height: 5px; border-radius: 50%; background: #dceba5; box-shadow: 0 0 14px #daeda84f; }
.landing-overline { font-size: 9px; letter-spacing: 3px; color: #d5dfbc; margin: 36px 0 8px; }
.landing-wordmark { font-family: "Arial", "Segoe UI",sans-serif; font-size: clamp(96px,16.8vw,245px); font-weight: 600; letter-spacing: -.09em; line-height: .97; margin: 0 0 38px -.06em; white-space: nowrap; color: #eef1d5; text-shadow: 0 1px 20px #102c1710; }
.landing-wordmark > span + span { margin-left: .035em; }
.wordmark-period { color: #c3d793; }
.landing-wordmark:focus { outline: none; }
.landing-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.landing-hero-bottom h2 { font: 38px/1.12 Georgia,serif; letter-spacing: -1px; font-weight: 400; }
.landing-hero-bottom h2 em { color: #d2e0ad; }
.landing-hero-bottom p { margin-top: 17px; font-size: 11px; line-height: 1.9; color: #d4dfc6; }
.landing-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 25px; }
.landing-primary { display: inline-flex; align-items: center; justify-content: center; gap: 28px; background: #dcecbb; color: #244830; border: 1px solid #dcecbb; padding: 15px 22px; min-height: 48px; border-radius: 7px; font-size: 12px; font-weight: 600; transition: background .2s,transform .2s; }
.landing-primary:hover { background: #eaf4d2; transform: translateY(-2px); }
.landing-primary svg { width: 17px; height: 17px; }
.landing-secondary { display: inline-flex; align-items: center; gap: 15px; background: none; color: #e6edd4; font-size: 11px; min-height: 44px; }
.landing-secondary span { font-size: 19px; font-weight: 300; }
.landing-hero-stamp { width: 160px; min-height: 178px; padding: 22px 0 20px 23px; border-left: 1px solid #cad8af50; align-self: end; margin-right: 7%; }
.landing-hero-stamp svg { width: 33px; height: 33px; stroke-width: 1; color: #d5e1b2; }
.landing-hero-stamp > span:not(.stamp-line) { display: block; font-size: 9px; line-height: 1.8; letter-spacing: 2px; margin-top: 14px; color: #e0e8ca; }
.stamp-line { display: block; width: 35px; height: 1px; background: #c2d19880; margin: 17px 0; }
.landing-hero-stamp small { display: block; font-size: 6px; letter-spacing: 1.6px; color: #c9d5b6; }
.landing-hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #b7c7a335; margin-top: 34px; padding-top: 13px; }
.landing-hero-footer > span { font-size: 7px; letter-spacing: 1.5px; color: #ccdbb5; }
.landing-motion { min-height: 36px; height: 36px; border-color: #c3d3a835; border-radius: 6px; font-size: 8px; color: #e2ebd2; margin-left: auto; padding: 0 11px; }
.landing-motion[aria-pressed="true"] { color: #e2ebd2; background: #a7c18512; }
.landing-motion svg { width: 12px; height: 12px; }
.landing-scroll { background: transparent; display: inline-flex; align-items: center; gap: 18px; color: #e2eaca; font-size: 7px; letter-spacing: 1.7px; min-height: 36px; }
.landing-scroll span { font-size: 21px; font-weight: 300; }
.landing-facts { max-width: 1290px; margin: auto; padding: 40px 35px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid #dce3d1; }
.landing-facts > div { display: flex; align-items: center; gap: 13px; }
.landing-facts strong { font-size: 38px; font-weight: 500; letter-spacing: -1.5px; line-height: 1; }
.landing-facts > div > span { font-size: 10px; line-height: 1.6; max-width: 75px; color: #6d7a60; }
.landing-facts > p { font: 24px/1.2 Georgia,serif; color: #536a45; border-left: 1px solid #d8e0cb; padding-left: 30px; }
.landing-facts-note { font-size: 8px; color: #6d7a60; line-height: 1.8; }
.landing-section { max-width: 1290px; margin: auto; padding: 85px 35px; scroll-margin-top: 28px; }
.landing-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.landing-label { font-size: 8px; font-weight: 500; letter-spacing: 2px; color: #6f805f; line-height: 1.8; }
.landing-section h2 { font: 50px/1.1 Georgia,serif; letter-spacing: -1.6px; color: #284832; font-weight: 400; margin-top: 18px; }
.landing-section h2 em { color: #72865a; }
.landing-section-head > p { color: #79836b; font-size: 12px; line-height: 1.9; padding-bottom: 4px; }
.landing-bento { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 17px; }
.landing-bento > article { border-radius: 16px; overflow: hidden; position: relative; min-width: 0; }
.landing-bento h3 { font: 30px/1.16 Georgia,serif; font-weight: 400; letter-spacing: -.8px; margin: 13px 0; }
.landing-bento p:not(.landing-label) { font-size: 11px; color: #6b7c60; line-height: 1.9; max-width: 255px; }
.landing-bento article a { display: inline-flex; align-items: center; gap: 22px; font-size: 10px; margin-top: 24px; font-weight: 600; color: #3e6142; min-height: 38px; }
.landing-bento a svg { width: 14px; height: 14px; }
.landing-feature-icon { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #aabf9355; border-radius: 10px; margin-bottom: 25px; background: #f9fbf150; color: #4b704a; }
.landing-feature-icon svg { width: 18px; height: 18px; stroke-width: 1.5; }
.landing-bento-study { grid-column: span 2; background: #e8eedf; border: 1px solid #dbe4cf; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 25px; min-height: 340px; }
.landing-bento-study .landing-feature-icon { margin-bottom: 22px; }
.landing-folder-display { height: 270px; position: relative; display: grid; place-items: center; background: radial-gradient(ellipse,#aebf9860,transparent 70%); }
.landing-folder-main { position: absolute; left: 50%; top: 45px; transform: translateX(-50%) rotate(-5deg); z-index: 2; }
.landing-folder-main .glass-folder--hero { width: 170px; height: 124px; transform: none; filter: drop-shadow(0 13px 15px #30463126); }
.landing-folder-main .glass-folder--hero .folder-sheet { width: 138px; height: 94px; left: 16px; padding: 12px; }
.landing-folder-main > span { display: block; font-size: 12px; text-align: center; margin-top: 23px; color: #3f603a; font-weight: 500; }
.landing-folder-main > small { display: block; font-size: 7px; text-align: center; color: #7c8d6b; margin-top: 6px; }
.landing-folder-mini { position: absolute; top: 40px; left: -14px; opacity: .55; transform: rotate(-20deg) scale(.82); }
.landing-folder-mini:last-child { top: 65px; right: -35px; left: auto; transform: rotate(17deg) scale(.83); }
.landing-folder-mini > span:last-child { display: block; font-size: 8px; text-align: center; margin-top: 14px; color: #4a6541; }
.landing-bento-source { background: #fcfcf6; border: 1px solid #dfe5d6; padding: 30px; }
.source-steps { display: flex; align-items: center; gap: 7px; margin-top: 34px; padding-top: 18px; border-top: 1px solid #e5eadc; }
.source-steps span { display: grid; place-items: center; gap: 9px; flex: 1; font-size: 7px; color: #708461; }
.source-steps svg { width: 19px; height: 19px; stroke-width: 1.3; }
.source-steps i { display: block; width: 18px; height: 1px; background: #d0dcc1; }
.landing-bento-repeat { grid-column: span 2; background: #193d2c; border: 1px solid #335840; padding: 30px; color: #f1f4e2; display: flex; align-items: center; gap: 20px; justify-content: space-between; min-height: 345px; }
.landing-bento-repeat .landing-feature-icon { background: #8da56d12; color: #c3d99f; border-color: #b0c68a40; }
.landing-bento-repeat .landing-label { color: #b1c693; }
.landing-bento-repeat p:not(.landing-label) { color: #beceb0; }
.landing-bento-repeat a { color: #dceabd !important; }
.landing-card-stack { width: 210px; height: 230px; position: relative; flex: 0 0 210px; margin-right: 20px; }
.landing-card-stack > span { position: absolute; inset: 15px 10px; background: #7a9469; border: 1px solid #d3e0bb45; border-radius: 12px; transform: rotate(11deg); }
.landing-card-stack > span:nth-child(2) { background: #a2b48a; transform: rotate(-6deg); }
.landing-card-stack > span:last-child { inset: 15px 10px; background: #eef0da; color: #35563a; transform: rotate(2deg); padding: 21px; box-shadow: 0 13px 20px #0b231d30; }
.landing-card-stack svg { width: 20px; height: 20px; stroke-width: 1.2; display: block; }
.landing-card-stack small { display: block; font-size: 5px; letter-spacing: 1px; margin: 18px 0 11px; color: #7c8c6a; }
.landing-card-stack strong { display: block; font: 27px/1.15 Georgia,serif; letter-spacing: -.6px; }
.landing-card-stack strong em { color: #7c8c5d; }
.landing-card-stack i { display: block; font-size: 5px; letter-spacing: 1px; margin-top: 28px; font-style: normal; color: #81916b; }
.landing-bento-exam { background: #f0eee2; border: 1px solid #e1e1d0; padding: 30px; }
.landing-bento-exam p:not(.landing-label) { max-width: 100%; }
.landing-timer-art { position: absolute; right: -19px; bottom: -34px; width: 130px; height: 130px; border-radius: 50%; border: 1px solid #96ad723c; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #66824a; opacity: .4; pointer-events: none; }
.landing-timer-art span { font: 40px Georgia,serif; }
.landing-timer-art small { font-size: 5px; letter-spacing: 1px; margin-top: 5px; }
.landing-timer-art i { position: absolute; inset: 8px; border: 1px dashed #8ca46a; border-radius: 50%; }
.landing-workflow { padding-top: 0; }
.landing-outline { display: inline-flex; align-items: center; gap: 35px; border: 1px solid #ccd8bd; border-radius: 7px; font-size: 11px; padding: 13px 18px; color: #42623c; margin-bottom: 4px; }
.landing-outline svg { width: 16px; height: 16px; }
.landing-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; padding: 0; margin: 0; border-top: 1px solid #d8e1cb; }
.landing-steps li { position: relative; padding: 28px 30px 0 0; }
.landing-steps li + li { border-left: 1px solid #d8e1cb; padding-left: 30px; }
.landing-steps li > span { display: block; font-size: 10px; letter-spacing: 1px; color: #81946e; margin-bottom: 37px; }
.landing-steps h3 { font: 25px Georgia,serif; font-weight: 400; margin-bottom: 13px; letter-spacing: -.6px; }
.landing-steps p { font-size: 11px; color: #738066; line-height: 1.9; max-width: 260px; }
.landing-steps svg { position: absolute; top: 27px; right: 30px; width: 20px; height: 20px; color: #80966a; stroke-width: 1.2; }
.landing-faq { border-top: 1px solid #dce3d1; display: grid; grid-template-columns: 1fr 1.7fr; gap: 90px; }
.landing-faq > div:first-child > p:not(.landing-label) { font-size: 12px; color: #76856b; margin-top: 25px; line-height: 1.9; }
.landing-faq-list details { border-bottom: 1px solid #d8e1cd; }
.landing-faq-list details:first-child { border-top: 1px solid #d8e1cd; }
.landing-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 13px; color: #385638; line-height: 1.7; }
.landing-faq-list summary::-webkit-details-marker { display: none; }
.landing-faq-list summary > span { font-size: 20px; font-weight: 300; color: #82956d; flex-shrink: 0; transition: transform .2s; }
.landing-faq-list details[open] summary > span { transform: rotate(45deg); }
.landing-faq-list details > p { font-size: 12px; line-height: 1.95; color: #6c7e5f; padding: 0 25px 24px 0; }
.landing-final-cta { position: relative; text-align: center; background: #e5edda; padding: 69px 25px 42px; margin: 0 15px; border-radius: 16px; overflow: hidden; isolation: isolate; }
.landing-final-cta:before { content:""; position:absolute; width:500px; height:500px; border:1px solid #bfcfab5f; border-radius:50%; top:50%;left:50%; transform:translate(-50%,-50%); z-index:-1; }
.landing-final-cta:after { content:"";position:absolute;width:620px;height:620px;border:1px solid #bfcfab3b;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%);z-index:-1; }
.landing-final-cta h2 { font: 53px/1.1 Georgia,serif; font-weight:400; letter-spacing:-1.6px; margin:22px 0 28px; }
.landing-final-cta h2 em { color:#748d5c; }
.landing-final-cta .landing-primary { background:#284d34; color:#f3f6e6; border-color:#284d34; }
.landing-final-cta .landing-primary:hover { background:#365f40; }
.landing-final-cta > span { display:block; font-size:7px;letter-spacing:3px;color:#82976b;margin-top:42px; }
.landing-footer { max-width: 1380px; margin: auto; padding: 32px 43px; display: flex; align-items: center; gap: 30px; }
.landing-footer-brand { font: 29px Georgia,serif; letter-spacing:-1px; }
.landing-footer-brand span { color:#8fa672; }
.landing-footer p { font-size:10px;color:#839173; }
.landing-footer > a:not(.landing-footer-brand) { font-size:10px;display:flex;align-items:center;gap:18px;margin-left:auto;color:#5d7950; }
.landing-footer svg { width:14px;height:14px; }
.landing-footer > span { font-size:6px;letter-spacing:1.3px;color:#8d9a80; }
.landing-page button:focus-visible, .landing-page a:focus-visible, .landing-page summary:focus-visible { outline: 2px solid #91ac6c; outline-offset: 5px; }
.landing-hero button:focus-visible, .landing-hero a:focus-visible { outline-color:#e5f2b9; }
@media(min-width:1600px) { .landing-hero { min-height: 800px; } .landing-hero-content { padding-top:35px; } .landing-overline { margin-top:52px; } .landing-wordmark { margin-bottom:45px; } .landing-hero-bottom h2 { font-size:45px; } .landing-hero-footer { margin-top:46px; } }
@media(max-width:1100px) {
  .landing-nav { padding:19px 31px;gap:18px; }
  .landing-nav nav { gap:18px; }
  .landing-nav nav button { font-size:10px; }
  .landing-nav-actions { gap:15px; }
  .landing-nav-cta { font-size:10px;gap:12px;padding:12px 14px; }
  .landing-hero-content { padding:27px 36px 20px; }
  .landing-hero { min-height:620px; }
  .landing-wordmark { font-size:16.3vw; }
  .landing-hero-bottom h2 { font-size:36px; }
  .landing-section { padding:65px 32px; }
  .landing-facts { padding:34px 32px;gap:18px; }
  .landing-facts strong { font-size:32px; }
  .landing-facts > div { gap:10px; }
  .landing-facts > div > span { font-size:9px; }
  .landing-facts > p { font-size:21px;padding-left:22px; }
  .landing-facts-note { font-size:7px; }
  .landing-section h2 { font-size:43px; }
  .landing-bento { gap:13px; }
  .landing-bento > article { padding:25px; }
  .landing-bento h3 { font-size:28px; }
  .landing-bento-study { gap:15px; }
  .landing-folder-main { transform:translateX(-50%) rotate(-5deg) scale(.9); }
  .landing-folder-mini { left:-25px;transform:rotate(-20deg) scale(.68); }
  .landing-folder-mini:last-child { right:-44px;transform:rotate(17deg) scale(.68); }
  .landing-card-stack { flex-basis:175px;width:175px;margin-right:5px; }
  .landing-card-stack strong { font-size:24px; }
  .landing-card-stack > span:last-child { padding:18px; }
  .landing-card-stack small { font-size:4px; }
  .landing-faq { gap:45px; }
}
@media(max-width:800px) {
  .landing-nav { padding:18px 26px;min-height:80px; }
  .landing-nav nav { display:none; }
  .landing-hero { min-height:630px; }
  .landing-hero-content { padding:27px 30px 20px; }
  .landing-hero-topline { font-size:6px;letter-spacing:1.5px; }
  .landing-hero-topline > span:last-child { display:none; }
  .landing-overline { margin-top:37px;font-size:8px;letter-spacing:2.2px; }
  .landing-wordmark { font-size:16vw;margin-bottom:42px; }
  .landing-hero-stamp { margin-right:0;width:125px;padding-left:20px; }
  .landing-hero-bottom h2 { font-size:36px; }
  .landing-hero-footer { margin-top:40px; }
  .landing-facts { gap:18px;flex-wrap:wrap;padding:30px; }
  .landing-facts > p { display:none; }
  .landing-facts-note { font-size:7px; }
  .landing-section { padding:60px 30px; }
  .landing-bento { grid-template-columns:1fr 1fr; }
  .landing-bento-study { grid-column:span 2; }
  .landing-bento-repeat { grid-column:span 2;grid-row:3; }
  .landing-bento-source { grid-column:1; }
  .landing-bento-exam { grid-column:2;grid-row:2; }
  .landing-folder-display { height:240px; }
  .landing-folder-main { transform:translateX(-50%) rotate(-5deg); }
  .landing-folder-mini { left:-2px;transform:rotate(-20deg) scale(.82); }
  .landing-folder-mini:last-child { right:-20px;transform:rotate(17deg) scale(.82); }
  .landing-card-stack { flex-basis:210px;width:210px;margin-right:15px; }
  .landing-section-head > p { font-size:10px;max-width:170px; }
  .landing-section h2 { font-size:40px; }
  .landing-steps li { padding-right:20px; }
  .landing-steps li + li { padding-left:20px; }
  .landing-steps svg { right:20px; }
  .landing-steps h3 { font-size:22px; }
  .landing-steps p { font-size:10px; }
  .landing-faq { grid-template-columns:1fr 1.6fr;gap:30px; }
  .landing-faq-list summary { font-size:12px; }
  .landing-footer { padding:28px 30px;gap:20px; }
  .landing-footer p { max-width:140px;line-height:1.8; }
  .landing-footer > span { display:none; }
}
@media(max-width:540px) {
  .landing-nav { min-height:78px;padding:17px 21px;gap:12px; }
  .landing-brand { gap:8px; }
  .landing-brand > svg { width:26px;height:26px; }
  .landing-brand > span { font-size:24px; }
  .landing-brand small { font-size:5px;letter-spacing:1.6px; }
  .landing-nav-actions { gap:12px; }
  .landing-login { font-size:10px;gap:7px;max-width:96px; }
  .landing-login svg { width:12px;height:12px; }
  .landing-nav-cta { display:none; }
  .landing-hero { min-height:675px; margin:0 9px;border-radius:13px; }
  .landing-hero-content { padding:24px 22px 18px; }
  .landing-hero-topline { font-size:6px;letter-spacing:1.4px;padding-bottom:20px; }
  .landing-hero-topline i { width:4px;height:4px; }
  .landing-overline { font-size:7px;letter-spacing:1.8px;margin-top:39px; }
  .landing-wordmark { white-space:normal;font-size:clamp(86px,23.7vw,128px);letter-spacing:-.085em;line-height:.88;margin:18px 0 32px -.055em; }
  .landing-wordmark > span { display:block; }
  .landing-wordmark > span + span { margin-top:8px;margin-left:0; }
  .landing-hero-bottom { display:block; }
  .landing-hero-bottom h2 { font-size:31px;line-height:1.15;letter-spacing:-.8px; }
  .landing-hero-bottom p { font-size:10px;line-height:1.9;margin-top:17px; }
  .landing-hero-actions { gap:14px;margin-top:23px; }
  .landing-primary { padding:13px 17px;min-height:46px;font-size:11px;gap:22px; }
  .landing-secondary { font-size:9px;gap:11px;min-height:40px; }
  .landing-hero-stamp { display:none; }
  .landing-hero-footer { margin-top:33px;padding-top:11px;gap:12px;flex-wrap:wrap; }
  .landing-hero-footer > span { flex:1 1 100%;font-size:6px;letter-spacing:1.1px; }
  .landing-motion { margin-left:0;min-height:32px;height:32px;font-size:7px;padding:0 8px; }
  .landing-motion span { display:inline; }
  .landing-scroll { margin-left:auto;font-size:6px;min-height:32px;gap:13px; }
  .landing-facts { padding:29px 23px;gap:24px 12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)); }
  .landing-facts > div { display:block; }
  .landing-facts > div + div { border-left:1px solid #dce3d1;padding-left:15px; }
  .landing-facts strong { display:block;font-size:32px;line-height:1.1; }
  .landing-facts > div > span { display:block;max-width:none;font-size:8px;margin-top:7px; }
  .landing-facts-note { grid-column:1/-1;font-size:8px;line-height:1.7; }
  .landing-facts-note br { display:none; }
  .landing-section { padding:49px 23px; }
  .landing-section-head { display:block;margin-bottom:27px; }
  .landing-label { font-size:7px;letter-spacing:1.5px; }
  .landing-section h2 { font-size:37px;letter-spacing:-1.3px;line-height:1.12;margin-top:15px; }
  .landing-section-head > p { max-width:none;font-size:11px;margin-top:19px;line-height:1.9; }
  .landing-bento { display:flex;flex-direction:column;gap:13px; }
  .landing-bento > article { padding:25px;border-radius:13px; }
  .landing-bento-study { display:block;min-height:0; }
  .landing-bento h3 { font-size:30px; }
  .landing-bento p:not(.landing-label) { font-size:12px;line-height:1.85;max-width:none; }
  .landing-bento article a { font-size:11px;margin-top:16px; }
  .landing-feature-icon { margin-bottom:21px; }
  .landing-folder-display { height:240px;margin-top:10px; }
  .landing-folder-main { transform:translateX(-50%) rotate(-5deg);top:36px; }
  .landing-folder-main > span { margin-top:20px;font-size:11px; }
  .landing-folder-mini { left:0;top:35px;transform:rotate(-20deg) scale(.75); }
  .landing-folder-mini:last-child { top:57px;right:-15px;transform:rotate(17deg) scale(.75); }
  .landing-folder-main .glass-folder--hero { width:170px;height:124px;position:relative;top:auto;left:auto; }
  .landing-folder-main .glass-folder--hero .folder-front { inset:37px 0 0; }
  .landing-folder-main .glass-folder--hero .folder-front:before { top:-8px;width:72px;height:12px; }
  .landing-folder-main .glass-folder--hero .folder-seal { left:17px;bottom:30px; }
  .landing-folder-main .glass-folder--hero .folder-seal svg { width:22px;height:22px; }
  .landing-folder-main .glass-folder--hero .folder-caption { left:17px;bottom:17px;font-size:6px; }
  .landing-bento-repeat { display:block; }
  .landing-card-stack { height:250px;width:210px;margin:22px auto 0; }
  .landing-card-stack > span { inset:20px 0; }
  .landing-card-stack > span:last-child { inset:20px 0;padding:23px; }
  .landing-card-stack strong { font-size:29px; }
  .landing-card-stack small { font-size:5px; }
  .landing-card-stack i { font-size:5px;margin-top:28px; }
  .landing-bento-source { order:1; }
  .landing-bento-repeat { order:2; }
  .landing-bento-exam { order:3; }
  .source-steps { margin-top:25px; }
  .source-steps span { font-size:9px; }
  .source-steps svg { width:22px;height:22px; }
  .landing-workflow { padding-top:8px; }
  .landing-outline { margin-top:22px;font-size:11px; }
  .landing-steps { display:block; }
  .landing-steps li { padding:25px 0 26px 47px; }
  .landing-steps li + li { border-left:0;border-top:1px solid #d8e1cb;padding-left:47px; }
  .landing-steps li > span { position:absolute;left:0;top:28px;font-size:10px; }
  .landing-steps h3 { font-size:25px;padding-right:27px; }
  .landing-steps p { font-size:12px;max-width:none; }
  .landing-steps svg { right:0;top:29px;width:18px;height:18px; }
  .landing-faq { display:block;padding-top:44px; }
  .landing-faq > div:first-child > p:not(.landing-label) { display:none; }
  .landing-faq-list { margin-top:30px; }
  .landing-faq-list summary { padding:20px 0;font-size:12px;gap:20px; }
  .landing-faq-list details > p { font-size:12px;padding-right:10px; }
  .landing-final-cta { padding:44px 23px 35px;margin:0 9px;border-radius:13px; }
  .landing-final-cta h2 { font-size:37px;letter-spacing:-1.2px;margin:20px 0 25px; }
  .landing-final-cta > span { font-size:6px;letter-spacing:2px;margin-top:30px; }
  .landing-footer { padding:29px 23px;gap:16px;flex-wrap:wrap; }
  .landing-footer-brand { font-size:26px; }
  .landing-footer p { font-size:9px;max-width:150px;margin-left:auto; }
  .landing-footer > a:not(.landing-footer-brand) { width:100%;margin:0;font-size:10px;padding-top:18px;border-top:1px solid #dde3d4;justify-content:space-between; }
}
@media(max-width:350px) {
  .landing-nav { padding:17px 19px; }
  .landing-hero-content { padding-right:18px;padding-left:18px; }
  .landing-wordmark { font-size:24vw; }
  .landing-hero-bottom h2 { font-size:28px; }
  .landing-hero-actions { gap:8px; }
  .landing-primary { gap:13px;padding:12px 13px;font-size:10px; }
  .landing-secondary { font-size:8px;gap:7px; }
  .landing-section { padding-left:19px;padding-right:19px; }
  .landing-bento > article { padding:22px; }
  .landing-folder-mini { left:-15px; }
  .landing-folder-mini:last-child { right:-30px; }
  .landing-facts { padding-left:23px;padding-right:23px; }
  .landing-section h2 { font-size:33px; }
}

/* Landing interactions: original, dependency-free adaptations of the free references. */
.landing-nav { position:sticky;top:0;z-index:40;background:#f7f9f0ed;backdrop-filter:blur(18px);border-bottom:1px solid transparent; }
.landing-page[data-scrolled="true"] .landing-nav { border-color:#d8e1ce;box-shadow:0 7px 28px #1f3e2410; }
.landing-scroll-progress { position:fixed;top:0;left:0;right:0;height:2px;background:#79925a;transform-origin:left;transform:scaleX(var(--landing-progress,0));z-index:60;pointer-events:none; }
.landing-section { scroll-margin-top:90px; }
.landing-hero-stamp { position:relative;isolation:isolate;width:190px;min-height:190px;border:0;padding:31px 16px;text-align:center; }
.landing-hero-stamp svg { width:30px;height:30px; }
.landing-hero-stamp > span:not(.stamp-line) { font-size:8px;letter-spacing:1.8px;margin-top:12px; }
.landing-hero-stamp small { font-size:6px; }
.landing-hero-stamp .stamp-line { margin:12px auto; }
.seal-orbit { position:absolute;inset:0;border:1px solid #d4e1b84a;border-radius:50%;z-index:-1; }
.seal-orbit.orbit-inner { inset:8px;border-style:dashed;border-color:#d4e1b82b; }
.seal-orbit-dot { position:absolute;inset:-3px;border-radius:50%;z-index:-1; }
.seal-orbit-dot:before { content:"";position:absolute;top:50%;left:0;width:6px;height:6px;background:#e1edb8;border-radius:50%;box-shadow:0 0 15px #d9ed9e80; }
.landing-subjects { padding:34px 0 32px;border-bottom:1px solid #dce3d1;overflow:hidden; }
.landing-syllabus-head { max-width:1290px;padding:0 35px;margin:0 auto 22px;display:flex;justify-content:space-between;gap:20px;font-size:7px;letter-spacing:2px;color:#7f8f70; }
.subject-viewport { overflow:auto;scrollbar-width:none;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.subject-viewport::-webkit-scrollbar { display:none; }
.subject-track,.subject-group { display:flex;width:max-content;align-items:center; }
.subject-group > span { font:25px/1.4 Georgia,serif;color:#657951;white-space:nowrap;display:flex;align-items:center;gap:29px;padding-right:29px; }
.subject-group i { font:14px Georgia,serif;color:#a2b38c; }
.subject-group[aria-hidden="true"] { display:none; }
.landing-page[data-motion-enabled="true"] .subject-group[aria-hidden="true"] { display:flex; }
.landing-page[data-motion-enabled="true"] .subject-track { animation:subject-drift 125s linear infinite!important; }
.subject-viewport:hover .subject-track,.subject-viewport:focus-within .subject-track { animation-play-state:paused!important; }
@keyframes subject-drift { to { transform:translateX(-50%); } }
.landing-page[data-motion-enabled="true"] .seal-orbit-dot { animation:seal-revolve 22s linear infinite!important; }
.landing-page[data-motion-enabled="true"] .orbit-inner { animation:seal-revolve 65s linear reverse infinite!important; }
@keyframes seal-revolve { to { transform:rotate(360deg); } }
.landing-page[data-motion-enabled="true"] .landing-wordmark > span { display:inline-block;animation:wordmark-in 1.1s cubic-bezier(.16,1,.3,1) both!important; }
.landing-page[data-motion-enabled="true"] .landing-wordmark > span + span { animation-delay:.13s!important; }
@keyframes wordmark-in { from { opacity:0;translate:0 32px;filter:blur(5px); } to { opacity:1;translate:0 0;filter:blur(0); } }
.lm-reveal { opacity:1;translate:0 0; }
.landing-page[data-motion-enabled="true"] .lm-reveal { transition:opacity .6s ease var(--lm-delay,0ms),translate .7s cubic-bezier(.2,.7,.2,1) var(--lm-delay,0ms)!important; }
.landing-page[data-motion-enabled="true"] .lm-reveal:not(.lm-visible) { opacity:0;translate:0 22px; }
.landing-page[data-motion-enabled="true"] .landing-bento > article,.landing-page[data-motion-enabled="true"] .landing-demo-panel { transform:perspective(1300px) rotateX(var(--card-rx,0deg)) rotateY(var(--card-ry,0deg));transition:opacity .6s ease var(--lm-delay,0ms),translate .7s ease var(--lm-delay,0ms),transform .24s ease,box-shadow .24s ease!important; }
.landing-bento > article:after { content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(350px circle at var(--card-x,50%) var(--card-y,50%),#ffffff25,transparent 75%);opacity:0; }
.landing-page[data-motion-enabled="true"] .landing-bento > article[data-card-active="true"]:after { opacity:1; }
.landing-bento > article[data-card-active="true"],.landing-demo-panel[data-card-active="true"] { box-shadow:0 18px 36px #284a3010; }
.landing-page[data-motion-enabled="true"] .landing-primary,.landing-page[data-motion-enabled="true"] .landing-nav-cta { translate:var(--magnet-x,0px) var(--magnet-y,0px);transition:translate .2s ease,background .2s ease,transform .2s ease!important; }
.landing-page[data-motion-enabled="false"] .lm-reveal { opacity:1;translate:0 0; }
.landing-page[data-motion-enabled][data-motion-paused="true"] *,.landing-page[data-motion-enabled][data-motion-paused="true"] *:before,.landing-page[data-motion-enabled][data-motion-paused="true"] *:after { animation-play-state:paused!important; }
.landing-course-browser { border-top:1px solid #dce3d1; }
.course-discovery-grid { display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:70px;align-items:start; }
.course-hover-list { border-top:1px solid #ccd8c0; }
.course-hover-row { width:100%;min-height:73px;display:flex;align-items:center;gap:17px;text-align:left;color:#728066;border-bottom:1px solid #d8e1ce;background:transparent;padding:17px 9px 17px 0;position:relative; }
.course-row-number { font-size:8px;letter-spacing:1px;flex:0 0 20px;color:#8a9c7c; }
.course-row-name { font:22px/1.25 Georgia,serif;letter-spacing:-.45px;flex:1; }
.course-row-count { font-size:8px;color:#89967c;white-space:nowrap; }
.course-hover-row > svg { width:17px;height:17px;flex:0 0 17px;rotate:-35deg;color:#82966d; }
.course-hover-row[aria-pressed="true"] { color:#284c32;background:linear-gradient(90deg,transparent,#e9efde); }
.course-hover-row[aria-pressed="true"] > svg { rotate:0deg;color:#355b3a; }
.course-hover-row[aria-pressed="true"] .course-row-number { color:#355b3a; }
.landing-page[data-motion-enabled="true"] .course-hover-row { transition:color .2s,background .2s!important; }
.landing-page[data-motion-enabled="true"] .course-hover-row > svg { transition:rotate .25s!important; }
.course-preview-column { position:sticky;top:120px;min-width:0;padding-top:8px; }
.course-preview-stage { height:470px;position:relative;display:grid;place-items:center;isolation:isolate;background:radial-gradient(ellipse at 50% 80%,#c7d2b855,transparent 65%); }
.course-preview-stage:after { content:"";position:absolute;bottom:12px;left:18%;right:18%;height:23px;background:#36513622;filter:blur(15px);border-radius:50%;z-index:-1; }
.course-preview-card { --cover-bg:#244a36;--cover-fg:#e8edcc;--cover-line:#d3ddb448;--cover-muted:#c4d0ae;position:relative;width:min(100%,318px);height:414px;border-radius:3px 13px 13px 3px;padding:26px 27px 22px 32px;overflow:hidden;color:var(--cover-fg);background:var(--cover-bg);border:1px solid #35513b35;box-shadow:5px 8px 0 -3px #e4e8d8,7px 10px 0 -4px #aeb9a1,12px 22px 30px #29463226;transform:translate(var(--preview-x,0px),var(--preview-y,0px)) rotate(calc(-5deg + var(--preview-rotate,0deg))); }
.course-preview-card[hidden] { display:none!important; }
.course-cover-tone-1 { --cover-bg:#bdc9a7;--cover-fg:#284c34;--cover-line:#34533944;--cover-muted:#4d6843; }
.course-cover-tone-2 { --cover-bg:#e4dfcb;--cover-fg:#575b3c;--cover-line:#6e754a40;--cover-muted:#707756; }
.course-cover-tone-3 { --cover-bg:#825e4d;--cover-fg:#f0e6cb;--cover-line:#eadfbd40;--cover-muted:#decbb2; }
.course-cover-spine { position:absolute;left:7px;top:0;bottom:0;width:6px;border-right:1px solid var(--cover-line);background:#00000008; }
.course-cover-top { display:flex;align-items:center;justify-content:space-between;font-size:12px;letter-spacing:2px;padding-bottom:14px;border-bottom:1px solid var(--cover-line); }
.course-cover-top svg { width:20px;height:20px;stroke-width:1; }
.course-cover-edition { display:block;font-size:6px;letter-spacing:1.8px;margin-top:17px;color:var(--cover-muted); }
.course-cover-art { position:relative;height:128px;margin:6px 0 12px;display:grid;place-items:center;isolation:isolate; }
.course-cover-art > span { width:101px;height:101px;position:absolute;border:1px solid var(--cover-line);border-radius:50%;transform:translateX(-28px); }
.course-cover-art > span:nth-child(2) { transform:translateX(28px); }
.course-cover-art > span:nth-child(3) { transform:rotate(45deg);border-radius:0;width:73px;height:73px; }
.course-cover-art i { font:italic 49px Georgia,serif;letter-spacing:-3px;color:var(--cover-fg); }
.course-preview-card h3 { font:31px/1.05 Georgia,serif;letter-spacing:-1px;max-width:245px;margin:0; }
.course-cover-topics { font-size:8px;line-height:1.7;color:var(--cover-muted);margin-top:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden; }
.course-cover-bottom { position:absolute;bottom:22px;left:32px;right:27px;padding-top:12px;border-top:1px solid var(--cover-line);display:flex;justify-content:space-between;gap:12px;font-size:5px;letter-spacing:.7px; }
.landing-page[data-motion-enabled="true"] .course-preview-card { transition:transform .2s ease!important;animation:cover-arrive .32s cubic-bezier(.2,.7,.2,1) both!important; }
@keyframes cover-arrive { from { opacity:0;translate:0 12px; } to { opacity:1;translate:0 0; } }
.course-preview-caption { display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:25px;padding-top:19px;border-top:1px solid #d9e2cd; }
.course-preview-caption > span { display:flex;align-items:center;gap:7px;font-size:6px;letter-spacing:1px;color:#738666; }
.course-preview-caption i { width:5px;height:5px;background:#8b9d70;border-radius:50%; }
.course-preview-caption p { font:italic 19px/1.25 Georgia,serif;color:#71855d;text-align:right; }
.course-preview-column > .landing-outline { width:100%;justify-content:space-between;margin-top:26px; }
.landing-demo { display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:70px;align-items:center;padding-top:55px; }
.landing-demo-intro > p:not(.landing-label) { font-size:12px;line-height:1.9;color:#738366;margin-top:24px; }
.demo-intro-path { display:flex;align-items:center;gap:12px;margin:33px 0; }
.demo-intro-path > span { font-size:7px;letter-spacing:1px;color:#76905e;display:flex;flex-direction:column;gap:10px;align-items:center; }
.demo-intro-path svg { width:22px;height:22px;stroke-width:1.2; }
.demo-intro-path i { width:27px;height:1px;background:#cbd8bc;margin-bottom:17px; }
.landing-demo-intro > p.demo-development-note { font-size:9px;margin:0 0 24px;color:#8c947c; }
.landing-demo-panel { border:1px solid #d3dfc5;border-radius:15px;overflow:hidden;background:#fdfdf7;min-width:0;box-shadow:0 20px 55px #29472c0a; }
.demo-window-bar { display:flex;align-items:center;justify-content:space-between;gap:15px;background:#ecf0e4;border-bottom:1px solid #dce4d2;padding:16px 22px;color:#8a997b; }
.demo-window-bar > span { display:flex;gap:5px; }
.demo-window-bar i { width:5px;height:5px;border-radius:50%;background:#b7c4a6; }
.demo-window-bar i:first-child { background:#94a77e; }
.demo-window-bar p { font-size:6px;letter-spacing:1.5px; }
.demo-window-bar > svg { width:16px;height:16px;stroke-width:1.2; }
.demo-tabs { display:flex;padding:13px 19px 0;gap:5px;border-bottom:1px solid #e2e8d8; }
.demo-tabs > button { flex:1;min-height:43px;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;font-size:10px;color:#8b977c;background:transparent;border-bottom:2px solid transparent; }
.demo-tabs > button[aria-selected="true"] { color:#365d3c;border-bottom-color:#6d8c50; }
.demo-tabs svg { width:14px;height:14px;stroke-width:1.5; }
.demo-tab-content { padding:24px;min-height:430px; }
.demo-content-meta { display:flex;justify-content:space-between;gap:15px;font-size:7px;color:#8c9a7c;margin-bottom:20px; }
.demo-content-meta > span:last-child { font-size:6px;letter-spacing:.8px; }
.demo-question-stem { font:17px/1.6 Georgia,serif;letter-spacing:-.15px;color:#36543b; }
.demo-choices { display:grid;gap:7px;margin-top:22px; }
.demo-choices > button { display:flex;align-items:center;text-align:left;gap:12px;padding:10px 12px;min-height:43px;border:1px solid #dfe6d4;border-radius:7px;background:#f8faf2;color:#66765d;font-size:10px;line-height:1.65; }
.demo-choices > button > span:first-child { display:grid;place-items:center;flex:0 0 23px;height:23px;border:1px solid #dbe4ce;border-radius:50%;font-size:9px;color:#7c8e69; }
.demo-choices > button > svg { width:14px;height:14px;margin-left:auto;flex-shrink:0; }
.demo-choices > button.demo-chosen { border-color:#99b17a;background:#eef3e2; }
.demo-choices > button.demo-correct { border-color:#9eb68b;background:#e7efdb;color:#3d633c; }
.demo-answer-hint { color:#8d9a7d;font-size:8px;margin-top:17px; }
.demo-answer-feedback { margin-top:18px;padding:16px;background:#eef3e6;border-radius:8px;color:#57704c; }
.demo-answer-feedback > strong { font-size:11px;font-weight:500; }
.demo-answer-feedback p { font-size:10px;line-height:1.9;margin-top:8px; }
.demo-answer-feedback button { background:none;padding:0;margin-top:13px;font-size:10px;color:#40633b;display:flex;align-items:center;gap:17px;min-height:32px; }
.demo-answer-feedback button svg { width:13px;height:13px; }
.demo-preview-note { display:flex;align-items:center;gap:7px;padding:14px 22px;border-top:1px solid #e4e9db;color:#8a977c;font-size:8px;line-height:1.7; }
.demo-preview-note svg { width:12px;height:12px;flex-shrink:0; }
.demo-rule-label { display:flex;align-items:center;gap:8px;font-size:7px;letter-spacing:1px;color:#7a9364;margin-bottom:15px; }
.demo-rule-label svg { width:16px;height:16px; }
.demo-tab-content > h3 { font:23px/1.25 Georgia,serif;letter-spacing:-.5px;color:#36583c; }
.demo-rule-copy { font-size:11px;line-height:1.9;color:#6c7d61;margin-top:17px; }
.demo-correct-note { display:flex;align-items:center;gap:13px;padding:15px;border:1px solid #dce5d1;border-radius:8px;margin-top:20px; }
.demo-correct-note > span { border:1px solid #b8c9a5;color:#6e8b56;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;font-size:12px;flex:0 0 28px; }
.demo-correct-note > p { font-size:10px;line-height:1.75;color:#5d7653; }
.demo-source-list { margin-top:21px; }
.demo-source-list > a { display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;border-top:1px solid #e1e8d8;color:#68805a; }
.demo-source-list > a > span { display:grid;grid-template-columns:17px 1fr;column-gap:9px;row-gap:5px; }
.demo-source-list strong { font-size:10px;font-weight:400;line-height:1.6; }
.demo-source-list small { font-size:7px;color:#8c9a7c;grid-column:2; }
.demo-source-list svg { width:13px;height:13px;flex-shrink:0; }
.demo-flashcard { border-radius:10px;border:1px solid #dae3cc;background:linear-gradient(140deg,#f0f3e5,#e7ecd7);padding:24px;position:relative; }
.demo-card-kicker { display:flex;align-items:center;gap:8px;font-size:6px;letter-spacing:1px;color:#799165; }
.demo-card-kicker svg { width:17px;height:17px;stroke-width:1.2; }
.demo-flashcard h3 { font:27px/1.1 Georgia,serif;color:#3d5e40;letter-spacing:-.7px;margin:23px 0 18px; }
.demo-flashcard > p,.demo-flashcard-back p { font-size:11px;line-height:1.9;color:#6e805f; }
.demo-flip-button { display:flex;align-items:center;gap:18px;border:1px solid #b7c8a3;border-radius:6px;background:#fbfcf130;padding:11px 14px;font-size:10px;color:#537544;min-height:40px;margin-top:23px; }
.demo-flip-button svg { width:14px;height:14px; }
.demo-card-separator { display:block;width:40px;height:1px;background:#baca9f;margin-top:29px; }
.demo-flashcard-back { margin-top:22px;border-top:1px solid #c9d6b8;padding-top:17px; }
.demo-flashcard-back small { display:block;font-size:9px;line-height:1.9;color:#839471;margin-top:13px; }
.demo-card-id { display:block;font-size:5px;letter-spacing:1px;color:#8a9c74;margin-top:25px; }
.landing-page[data-motion-enabled="true"] .demo-tab-content { animation:demo-arrive .28s ease both!important; }
@keyframes demo-arrive { from { opacity:.3;translate:0 5px; } to { opacity:1;translate:0 0; } }
@media(max-width:1100px) {
  .landing-nav nav { gap:15px; }
  .landing-hero-stamp { width:170px;min-height:170px;padding:22px 12px; }
  .course-discovery-grid { gap:35px; }
  .course-hover-row { min-height:68px;gap:12px; }
  .course-row-name { font-size:20px; }
  .course-row-count { display:none; }
  .course-preview-stage { height:450px; }
  .course-preview-card { width:285px;height:400px;padding-left:30px;padding-right:22px; }
  .course-preview-card h3 { font-size:29px; }
  .course-cover-bottom { left:30px;right:22px; }
  .course-preview-caption p { font-size:17px; }
  .landing-demo { gap:35px;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); }
  .demo-tab-content { padding:21px; }
  .demo-tabs { padding-left:12px;padding-right:12px; }
  .demo-tabs > button { font-size:9px;gap:5px; }
}
@media(max-width:800px) {
  .landing-syllabus-head { padding:0 30px; }
  .course-discovery-grid { gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,.85fr); }
  .course-row-name { font-size:19px; }
  .course-row-number { flex-basis:16px;font-size:7px; }
  .course-hover-row { gap:9px;min-height:70px; }
  .course-hover-row > svg { width:13px;height:13px;flex-basis:13px; }
  .course-preview-stage { height:390px; }
  .course-preview-card { width:230px;height:345px;padding:21px 20px 20px 25px; }
  .course-cover-top { font-size:10px;padding-bottom:12px; }
  .course-cover-edition { font-size:5px;letter-spacing:1px; }
  .course-cover-art { height:100px;margin:5px 0 12px; }
  .course-cover-art > span { width:80px;height:80px; }
  .course-cover-art > span:nth-child(3) { width:57px;height:57px; }
  .course-preview-card h3 { font-size:25px; }
  .course-cover-topics { font-size:6px;margin-top:10px; }
  .course-cover-bottom { font-size:4px;letter-spacing:.2px;left:25px;right:20px;bottom:19px; }
  .course-preview-caption { display:block;margin-top:15px; }
  .course-preview-caption p { text-align:left;margin-top:14px;font-size:19px; }
  .landing-demo { display:block;padding-top:30px; }
  .landing-demo-intro { display:grid;grid-template-columns:1.2fr 1fr;gap:0 25px;align-items:start; }
  .landing-demo-intro > .landing-label,.landing-demo-intro h2 { grid-column:1; }
  .landing-demo-intro > p:not(.landing-label) { grid-column:2;grid-row:2;margin-top:18px; }
  .demo-intro-path { grid-column:1;margin:25px 0; }
  .landing-demo-intro > p.demo-development-note { grid-column:2;grid-row:3;margin-top:27px; }
  .landing-demo-intro > .landing-outline { display:none; }
  .landing-demo-panel { margin-top:8px; }
  .demo-tabs > button { font-size:11px; }
  .demo-tab-content { min-height:420px;padding:25px; }
  .demo-question-stem { font-size:18px; }
  .demo-choices > button { font-size:11px; }
}
@media(max-width:540px) {
  .landing-page[data-motion-enabled="true"] .landing-wordmark > span { display:block; }
  .landing-hero-stamp { display:none; }
  .landing-syllabus-head { padding:0 24px;font-size:6px;letter-spacing:1.1px; }
  .landing-syllabus-head > span:last-child { display:none; }
  .landing-subjects { padding:27px 0; }
  .subject-group > span { font-size:23px;gap:22px;padding-right:22px; }
  .landing-section { scroll-margin-top:80px; }
  .course-discovery-grid { display:flex;flex-direction:column;gap:27px; }
  .course-preview-column { position:static;order:-1;width:100%;padding:0; }
  .course-preview-stage { height:355px; }
  .course-preview-card { width:235px;height:325px;padding-top:18px; }
  .course-cover-art { height:90px;margin-bottom:8px; }
  .course-cover-edition { margin-top:12px; }
  .course-preview-card h3 { font-size:25px; }
  .course-cover-topics { font-size:6px; }
  .course-preview-caption { display:flex;justify-content:center;padding-top:12px;margin-top:13px; }
  .course-preview-caption > span { font-size:6px;letter-spacing:.8px; }
  .course-preview-caption p { display:none; }
  .course-preview-column > .landing-outline { display:none; }
  .course-hover-list { width:100%;max-height:310px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b5c4a2 #edf1e5;padding-right:7px; }
  .course-hover-row { min-height:60px;padding:15px 5px;gap:10px; }
  .course-row-name { font-size:19px; }
  .course-row-count { display:block;font-size:6px; }
  .course-hover-row > svg { width:13px;height:13px; }
  .landing-course-browser .landing-section-head { margin-bottom:18px; }
  .landing-demo-intro { display:block; }
  .landing-demo-intro > p:not(.landing-label) { margin-top:20px;font-size:12px; }
  .demo-intro-path { margin:23px 0; }
  .landing-demo-intro > p.demo-development-note { margin:0 0 24px;font-size:9px; }
  .demo-window-bar { padding:14px 16px; }
  .demo-window-bar p { font-size:5px;letter-spacing:1px; }
  .demo-tabs { padding:9px 8px 0;gap:0; }
  .demo-tabs > button { font-size:9px;padding:10px 5px;gap:5px; }
  .demo-tabs svg { width:12px;height:12px; }
  .demo-tab-content { padding:20px 17px;min-height:450px; }
  .demo-content-meta { font-size:7px;gap:10px; }
  .demo-content-meta > span:last-child { font-size:5px; }
  .demo-question-stem { font-size:17px; }
  .demo-choices > button { font-size:10px;padding:10px;gap:9px; }
  .demo-preview-note { font-size:7px;padding:13px 16px; }
  .demo-flashcard { padding:19px; }
  .demo-flashcard h3 { font-size:25px; }
  .demo-tab-content > h3 { font-size:23px; }
}
@media(max-width:350px) {
  .course-row-name { font-size:17px; }
  .course-row-count { display:none; }
  .course-hover-row { min-height:61px; }
  .demo-tabs > button { font-size:8px;gap:4px; }
  .demo-tabs svg { width:11px;height:11px; }
  .demo-tab-content { padding:17px 14px; }
  .demo-window-bar p { font-size:4px; }
}
/* Green glass account form, inspired by the free Login Form preview. */
dialog:has(#auth-form) { width:470px;max-width:calc(100vw - 28px);max-height:92dvh;padding:34px 37px 25px;border:1px solid #8ba77c50;border-radius:22px;color:#e5edd7;background:radial-gradient(ellipse at 0 5%,#70934c50,transparent 56%),radial-gradient(ellipse at 100% 100%,#91ae5f30,transparent 55%),#142e24;box-shadow:0 35px 100px #071d1c70; }
dialog:has(#auth-form)::backdrop { background:#061e18aa;backdrop-filter:blur(10px); }
.auth-brand-intro { text-align:center;margin-bottom:19px; }
.auth-brand-intro > span { display:grid;place-items:center;width:49px;height:49px;border:1px solid #bcce9e44;border-radius:15px;background:#cfdfb710;margin:0 auto 16px;color:#d1e4ad; }
.auth-brand-intro svg { width:27px;height:27px;stroke-width:1.2; }
.auth-brand-intro p { font-size:7px;letter-spacing:2.3px;color:#9cb48a; }
dialog:has(#auth-form) .modal-head { justify-content:center; }
dialog:has(#auth-form) .modal-head h2 { font:35px/1.15 Georgia,serif;letter-spacing:-.7px;color:#e6efd7; }
dialog:has(#auth-form) .modal-head .icon-button { position:absolute;top:10px;right:10px;color:#b6cba2;background:transparent; }
dialog:has(#auth-form) .auth-tabs { margin:23px 0 21px;padding:4px;background:#071c1540;border:1px solid #a4bc8530;border-radius:9px;gap:4px; }
dialog:has(#auth-form) .auth-tabs button { flex:1;border:0;border-radius:6px;background:none;color:#9cb18b;font-size:11px;min-height:36px; }
dialog:has(#auth-form) .auth-tabs button.active { background:#b9ce9c1c;color:#e0edca; }
dialog:has(#auth-form) .auth-form label { font-size:11px;color:#c1d2af; }
dialog:has(#auth-form) .auth-form input { color:#e7efd9;background:#071f1825;border:0;border-bottom:1px solid #91aa776b;border-radius:0;min-height:44px;padding:12px 5px;box-shadow:none; }
dialog:has(#auth-form) .auth-form input:focus { border-bottom-color:#d1e5ae;background:#a2bf7e0a;outline:2px solid #a9c982;outline-offset:3px; }
dialog:has(#auth-form) .auth-hint { font-size:10px;color:#a8bc96;line-height:1.7;margin-top:8px; }
dialog:has(#auth-form) .auth-form .modal-actions { margin-top:24px;display:flex;flex-direction:column-reverse;gap:8px; }
dialog:has(#auth-form) #auth-form button[type=submit] { width:100%;background:linear-gradient(110deg,#b5cf8a,#d5e8b3);border-color:#bbd696;color:#23452e;min-height:46px;font-size:12px;border-radius:8px; }
dialog:has(#auth-form) .btn.secondary { background:transparent;border-color:#91a97a38;color:#b3c69f;min-height:37px;font-size:10px; }
dialog:has(#auth-form) > .account-actions { margin-top:13px; }
dialog:has(#auth-form) > .account-actions .btn { width:100%;border:0;font-size:9px; }
dialog:has(#auth-form) .auth-error { color:#f4c8bb;background:#7a3f323f;border:1px solid #ca8e7333;font-size:11px; }
.auth-records-info { margin-top:13px;padding-top:13px;border-top:1px solid #9cb37e30; }
.auth-records-info summary { font-size:9px;color:#9cb48a;cursor:pointer;min-height:26px; }
@media(max-width:540px) {
 dialog:has(#auth-form) { padding:29px 23px 20px;border-radius:18px; }
 dialog:has(#auth-form) .modal-head h2 { font-size:30px; }
 .auth-brand-intro { margin-bottom:16px; }
 .landing-page[data-course-spotlight]:after { content:'';position:fixed;inset:0;background:#06110de0;z-index:80; }
 .landing-course-browser[data-spotlight=true] { position:relative;z-index:81;transform:none!important;translate:none!important; }
 .landing-course-browser[data-spotlight=true]:before { content:'';position:absolute;inset:0;background:#06110de8;z-index:5; }
 .landing-course-browser[data-spotlight=true] .course-preview-stage { z-index:7;scroll-margin-top:14px; }
 .landing-course-browser[data-spotlight=true] .course-preview-card { box-shadow:none; }
 .landing-course-browser[data-spotlight=true] .course-hover-row[aria-expanded=true] { z-index:7;background:#f3f6e9;border-radius:5px;box-shadow:0 0 0 1px #a6be88; }
 .landing-course-browser[data-spotlight=true] .course-preview-caption { position:relative;z-index:7;color:#c5d7b1; }
 .landing-course-browser[data-spotlight=true] .course-preview-caption > span { color:#c5d7b1; }
}
dialog:has(#auth-form) { scrollbar-width:thin;scrollbar-color:#789463 #193a2a; }
@media(max-width:540px) {
 .landing-course-browser[data-spotlight=true] .course-hover-list { max-height:120px; }
}

/* Full-screen green wave scene with a transparent glass form. */
dialog:has(#auth-form) { width:100vw;height:100dvh;max-width:none;max-height:none;inset:0;margin:0;padding:24px;border:0;border-radius:0;background:#030c08;box-shadow:none;overflow:auto;isolation:isolate; }
dialog:has(#auth-form)[open] { display:grid;place-items:center; }
dialog:has(#auth-form)::backdrop { background:#030c08;backdrop-filter:none; }
.auth-wave-scene { position:fixed;inset:-10%;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 65% 40%,#113a251c,transparent 60%);overflow:hidden; }
.auth-wave-scene svg { width:100%;height:100%;display:block; }
.auth-wave-ribbons { transform-origin:50% 50%;animation:auth-waves-flow 14s ease-in-out infinite alternate; }
.auth-wave-filaments { transform-origin:50% 50%;animation:auth-waves-flow 19s ease-in-out infinite alternate-reverse; }
@keyframes auth-waves-flow { 0% { transform:translate(-55px,-55px) rotate(-9deg) scale(1.05); } 50% { transform:translate(35px,65px) rotate(5deg) scale(1.12); } 100% { transform:translate(70px,-20px) rotate(-3deg) scale(1.18); } }
.auth-screen-content { position:relative;width:430px;max-width:100%;max-height:calc(100dvh - 48px);padding:29px 33px 22px;overflow:auto;border:1px solid #d1ead024;border-radius:16px;background:#c5ebd009;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 24px 90px #00000035,inset 0 1px #e2f9d90a;scrollbar-width:thin;scrollbar-color:#b6d8ac50 transparent; }
dialog:has(#auth-form) .auth-brand-intro { margin-bottom:14px; }
dialog:has(#auth-form) .auth-brand-intro > span { width:40px;height:40px;margin-bottom:12px;background:#d5eac709; }
dialog:has(#auth-form) .modal-head h2 { font-size:32px; }
dialog:has(#auth-form) .auth-tabs { margin:18px 0 17px;background:#08170d18;border-color:#d3e6c82b; }
dialog:has(#auth-form) .auth-tabs button.active { background:#d0eec410; }
dialog:has(#auth-form) .auth-form label { margin-top:16px; }
dialog:has(#auth-form) .auth-form input { background:transparent;border-bottom-color:#c4d9bc77; }
dialog:has(#auth-form) .auth-form input:focus { background:#e4f5dc06; }
dialog:has(#auth-form) .auth-form .modal-actions { margin-top:20px; }
dialog:has(#auth-form) #auth-form button[type=submit] { background:#a8e6a4;color:#123322;border-color:#b8ecb2; }
dialog:has(#auth-form) .auth-screen-content > .account-actions { margin-top:9px; }
dialog:has(#auth-form) .auth-screen-content > .account-actions .btn { width:100%;border:0;font-size:9px; }

:root[data-motion="on"] .auth-wave-ribbons { animation:auth-waves-flow 14s ease-in-out infinite alternate!important; }
:root[data-motion="on"] .auth-wave-filaments { animation:auth-waves-flow 19s ease-in-out infinite alternate-reverse!important; }
@media(max-width:540px) {
 dialog:has(#auth-form) { padding:16px; }
 .auth-screen-content { padding:27px 23px 20px;max-height:calc(100dvh - 32px);border-radius:13px; }
 .auth-wave-scene { inset:-5% -70%; }
}
.auth-screen-content { background:#06120c29; }
dialog:has(#auth-form) .modal-head .icon-button { background:#05120b25; }
.auth-screen-content { width:min(430px,calc(100vw - 48px));min-width:0; }
@media(max-width:540px) { .auth-screen-content { width:calc(100vw - 32px); } }

/* Cream and pistachio account palette, matching the main Law Base theme. */
dialog:has(#auth-form),dialog:has(#auth-form)::backdrop { background:#f6f3e8;color:#294832; }
dialog:has(#auth-form) { scrollbar-color:#acbd92 #f6f3e8; }
.auth-wave-scene { background:radial-gradient(ellipse at 65% 40%,#d9e4bd45,transparent 60%); }
.auth-wave-scene stop:nth-child(1) { stop-color:#a8bf83; }
.auth-wave-scene stop:nth-child(2) { stop-color:#c3db9a; }
.auth-wave-scene stop:nth-child(3) { stop-color:#ddebb6; }
.auth-wave-scene stop:nth-child(4) { stop-color:#b2cb91; }
.auth-screen-content { background:#fffef929;border-color:#82956d38;box-shadow:0 24px 80px #65784912,inset 0 1px #ffffff80;scrollbar-color:#91a57565 transparent; }
dialog:has(#auth-form) .auth-brand-intro > span { color:#526e3f;background:#f8faef25;border-color:#8ca16d45; }
dialog:has(#auth-form) .auth-brand-intro p { color:#6a8055; }
dialog:has(#auth-form) .modal-head h2 { color:#294832; }
dialog:has(#auth-form) .modal-head .icon-button { color:#4c693d;background:#f7f9ef30;border-color:#8fa47750; }
dialog:has(#auth-form) .auth-tabs { background:#f9faf230;border-color:#8b9e7138; }
dialog:has(#auth-form) .auth-tabs button { color:#657c51; }
dialog:has(#auth-form) .auth-tabs button.active { background:#f7faeb80;color:#2f5238; }
dialog:has(#auth-form) .auth-form label { color:#3e5d38; }
dialog:has(#auth-form) .auth-form input { color:#294832;border-bottom-color:#7d956577; }
dialog:has(#auth-form) .auth-form input:focus { background:#fffef919;outline-color:#728d55;border-bottom-color:#65814b; }
dialog:has(#auth-form) .auth-hint { color:#60754f; }
dialog:has(#auth-form) #auth-form button[type=submit] { background:#c5dba0;color:#2b4c32;border-color:#afc78a; }
dialog:has(#auth-form) #auth-form button[type=submit]:hover { background:#d1e3b1; }
dialog:has(#auth-form) .btn.secondary { color:#536d43;border-color:#8da37245; }
dialog:has(#auth-form) .auth-error { color:#873e30;background:#f7e9dfc9;border-color:#c78e7738; }
.auth-records-info { border-top-color:#8ba17035; }
.auth-records-info summary { color:#597046; }


/* Approved free-reference adaptations: activity, command palette, reader, wordmark. */
.quick-command{display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid #d5dfc7;border-radius:8px;background:#f6f8ef;color:#5b7350;font-size:11px;min-height:40px}.quick-command svg{width:15px;height:15px}.quick-command kbd{font-size:9px;color:#7b8c6c;background:#eaf0dd;padding:3px 5px;border-radius:4px}
.activity-panel{margin-bottom:25px;background:linear-gradient(120deg,#fafbf3,#f1f5e7);border-color:#d9e3cb}.activity-panel .section-head{margin-bottom:10px}.activity-panel h2{margin-top:8px}.activity-total{font-size:11px;color:#6d8159;white-space:nowrap}.activity-subtitle{font-size:11px;color:#728466;margin-bottom:24px}.activity-layout{display:flex;align-items:center;gap:24px}.activity-axis{font-size:8px;line-height:2;letter-spacing:1px;color:#7d8f6d}.activity-grid{display:grid;grid-template-rows:repeat(7,1fr);grid-auto-flow:column;grid-auto-columns:minmax(12px,1fr);gap:6px;flex:1;max-width:640px}.activity-day{aspect-ratio:1;border-radius:4px;background:#e2e9d7;border:1px solid #d2dec4;min-width:0;padding:0}.activity-day[data-level="1"],.activity-legend i:nth-child(1){background:#d0e0b3}.activity-day[data-level="2"],.activity-legend i:nth-child(2){background:#afc987}.activity-day[data-level="3"],.activity-legend i:nth-child(3){background:#799e59}.activity-day[data-level="4"],.activity-legend i:nth-child(4){background:#456b3c}.activity-day:hover{outline:2px solid #6a8852;outline-offset:2px}.activity-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}.activity-bottom p{font-size:11px;color:#516c45}.activity-legend{display:flex;gap:4px;align-items:center;font-size:9px;white-space:nowrap;color:#6f845e}.activity-legend i{width:11px;height:11px;border-radius:2px;background:#e2e9d7}.activity-footnote{font-size:9px;color:#839176;margin-top:15px}
dialog[data-kind="command"]{width:560px;max-width:calc(100vw - 28px);padding:25px;background:#f9fbf2}.command-caption{font-size:12px;color:#7a8a6c;margin:10px 0 20px}.command-search{display:flex;align-items:center;gap:12px;border:1px solid #d3dfc2;padding:0 14px;border-radius:9px;background:#f1f6e7}.command-search input{min-width:0;width:100%;border:0;background:none;padding:16px 0;color:#34583b;outline-offset:0}.command-search svg{color:#8c9f78;width:18px}.command-results{max-height:340px;overflow:auto;margin-top:15px;display:grid;gap:4px}.command-result{display:flex;align-items:center;gap:14px;padding:13px 12px;background:transparent;text-align:left;border-radius:7px;font-size:13px;color:#42613e;min-height:53px}.command-result:hover,.command-result:focus-visible{background:#e8f0d9}.command-result>svg{width:17px;height:17px;color:#8ba472}.command-result>svg:last-child{margin-left:auto;width:13px}.command-result small{display:block;font-size:7px;letter-spacing:1px;margin-top:5px;color:#8a9b78}.command-hint{font-size:9px;color:#8c9a7f;border-top:1px solid #e1e8d6;padding-top:14px;margin-top:15px}.command-empty{padding:20px;font-size:12px;color:#7a8e68}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.law-panel-trigger{display:flex;gap:12px;align-items:center;background:#e9f1dc;border:1px solid #d1dfbd;color:#486b3e;border-radius:7px;padding:11px 15px;font-size:12px;margin:17px 0;min-height:44px}.law-panel-trigger svg{width:16px;height:16px}dialog[data-kind="law-drawer"]{inset:0 0 0 auto;margin:0;width:min(620px,90vw);height:100dvh;max-height:100dvh;border-radius:20px 0 0 20px;padding:30px;background:#f8faf1;animation:law-drawer-enter .25s ease both}.drawer-caption{font-size:11px;color:#7d906a;margin:15px 0 28px}.law-drawer-body .law-article blockquote{font-size:14px;line-height:2}.law-drawer-body .law-article{background:#fdfef8}@keyframes law-drawer-enter{from{opacity:.5;translate:30px 0}to{opacity:1;translate:0 0}}
.wordmark-footer{margin:20px 15px 0;padding:30px 35px 22px;border-radius:16px;background:#e9efdf;overflow:hidden;color:#4e6c41;border:1px solid #dbe4cf}.wordmark-footer-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark-footer-top>span{font-size:8px;letter-spacing:2px}.wordmark-footer-top a{display:flex;align-items:center;gap:22px;font-size:11px;min-height:40px}.wordmark-footer-top svg{width:15px}.wordmark-art{position:relative;width:100%;display:block;background:none;text-align:center;padding:25px 0 0;isolation:isolate}.wordmark-art>span{display:block;font:600 clamp(65px,16.6vw,245px)/1 Arial,sans-serif;letter-spacing:-.085em;background:radial-gradient(circle,#688450 1px,transparent 1.6px);background-size:4px 4px;background-clip:text;-webkit-background-clip:text;color:transparent}.wordmark-art:after{content:'';position:absolute;inset:0;background:radial-gradient(140px circle at var(--word-x,50%) var(--word-y,50%),#d9e9b580,transparent 80%);pointer-events:none;mix-blend-mode:multiply;opacity:0}.wordmark-art:hover:after{opacity:1}.wordmark-art i{position:absolute;left:var(--word-x,50%);top:var(--word-y,50%);width:40px;height:40px;border:1px solid #6d8b4b;border-radius:50%;opacity:0;pointer-events:none}.wordmark-art.pulsing i{animation:wordmark-ring .8s ease-out}.wordmark-footer>p{font-size:7px;letter-spacing:3px;text-align:center;margin-top:20px;color:#879d71}@keyframes wordmark-ring{from{opacity:.7;transform:translate(-50%,-50%) scale(.1)}to{opacity:0;transform:translate(-50%,-50%) scale(15)}}
@media(max-width:700px){.quick-command{padding:9px}.quick-command>span,.quick-command kbd{display:none}.activity-layout{gap:0}.activity-axis{display:none}.activity-grid{gap:4px}.activity-panel .section-head{align-items:flex-start;gap:12px;flex-direction:column}.activity-bottom{align-items:flex-start;flex-direction:column;gap:12px}.activity-total{font-size:10px}.activity-day{border-radius:3px}dialog[data-kind="law-drawer"]{inset:auto 0 0;margin:0;width:100vw;max-width:100vw;height:85dvh;max-height:85dvh;border-radius:20px 20px 0 0;padding:24px 20px;animation-name:law-drawer-up}@keyframes law-drawer-up{from{opacity:.5;translate:0 40px}to{opacity:1;translate:0 0}}.wordmark-footer{margin:15px 9px 0;padding:23px 20px}.wordmark-art>span{font-size:16.4vw;background-size:3px 3px}.wordmark-footer-top>span{font-size:6px;letter-spacing:1px}.wordmark-footer-top a{font-size:10px}.wordmark-footer>p{font-size:5px;letter-spacing:2px}}

.landing-page[data-motion-enabled="false"] .wordmark-art.pulsing i{animation:none!important}.wordmark-art:focus-visible{outline:2px solid #77965e;outline-offset:4px}
@media(max-width:700px){dialog[data-kind="law-drawer"]{width:100%;max-width:100%}}
.activity-grid{grid-template-rows:repeat(7,18px);grid-auto-columns:18px;gap:5px;flex:0 0 auto;max-width:none}.activity-day{width:18px;height:18px}.activity-layout{padding:4px 0}
@media(max-width:700px){.activity-grid{grid-template-rows:repeat(7,14px);grid-auto-columns:14px;gap:4px}.activity-day{width:14px;height:14px}}

/* Compact course picker and a single, soft search focus treatment. */
.command-search input:focus,.command-search input:focus-visible{outline:none!important;box-shadow:none}
.command-search:focus-within{border-color:#a9bd91;box-shadow:0 0 0 3px #aabd8d20}
.course-grid .course-card-compact{display:grid;grid-template-columns:44px minmax(0,1fr) 17px;grid-template-rows:auto auto;column-gap:11px;row-gap:3px;align-items:center;padding:14px 12px;min-height:92px;text-align:left}
.course-card-compact .course-folder-stage{grid-column:1;grid-row:1 / 3;width:44px;height:48px;min-height:0;background:none;position:relative}
.course-card-compact .glass-folder{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) scale(.32);filter:drop-shadow(0 4px 5px #28472e20)}
.course-card-compact:hover .glass-folder{transform:translate(-50%,-50%) scale(.35) rotate(-4deg)}
.course-grid .course-card-compact h3{grid-column:2;grid-row:1;min-height:0;font-size:12px;line-height:1.45;margin:0}
.course-card-compact .selection-circle{grid-column:3;grid-row:1;align-self:start}
.course-card-compact .course-meta{grid-column:2 / 4;grid-row:2;font-size:9px;line-height:1.6;margin:0;color:#7c8c6c}
.course-pagination{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dce5d2;padding:13px 1px 0;margin-top:3px;color:#7b8e69;font-size:10px}
.course-pagination nav{display:flex;gap:5px}.course-pagination button{width:35px;min-height:35px;border-radius:7px;border:1px solid #d6e0c9;background:transparent;color:#6b8256;font-size:11px}.course-pagination button[aria-current="page"]{background:#e1eccf;border-color:#a9c18d;color:#355839}
@media(max-width:1100px){.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.course-grid{gap:9px}.course-grid .course-card-compact{grid-template-columns:minmax(0,1fr) 16px;padding:13px 12px;min-height:97px;row-gap:7px}.course-card-compact .course-folder-stage{display:none}.course-grid .course-card-compact h3{grid-column:1;font-size:11px}.course-card-compact .selection-circle{grid-column:2}.course-card-compact .course-meta{grid-column:1 / 3;font-size:8px}.course-pagination{font-size:9px}.course-pagination button{width:32px;min-height:36px}}
.course-search:focus,.course-search:focus-visible{outline:none!important;box-shadow:none}.course-search-box:focus-within{border-color:#a9bd91;box-shadow:0 0 0 3px #aabd8d20;outline:none}

/* Circular squeeze collection: ten in front, remaining covers behind. */
.course-grid:has(.squeeze-shell){display:block;min-width:0}.squeeze-shell{min-width:0;padding-bottom:4px}
.squeeze-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:3px 0 2px}.squeeze-toolbar>span{font-size:7px;letter-spacing:1.2px;color:#859671}.squeeze-toolbar>div{display:flex;gap:6px;align-items:center}.squeeze-toolbar button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d3dfc3;border-radius:7px;background:#edf3e2;color:#5a7547}.squeeze-toolbar button:hover{background:#dce8c8}.squeeze-toolbar svg{width:15px;height:15px}.squeeze-position{font-size:8px;color:#81936e;font-variant-numeric:tabular-nums;margin-right:6px}
.squeeze-track{position:relative;height:346px;width:100%;min-width:0;overflow:hidden;touch-action:pan-y;isolation:isolate}
.squeeze-card{position:absolute;top:28px;left:0;width:var(--squeeze-width,0px);height:310px;border-radius:9px;overflow:hidden;isolation:isolate;background:#254b34;z-index:var(--squeeze-z,0);transform:translate3d(var(--squeeze-x,0px),0,0);transition:transform .75s cubic-bezier(.22,.72,.2,1),width .6s cubic-bezier(.22,.72,.2,1),opacity .6s;box-shadow:0 7px 16px #29442c10}
.squeeze-card:not([data-front]){visibility:hidden}.squeeze-card[data-front="false"]{pointer-events:none;opacity:.2;transform:translate3d(var(--squeeze-x),-17px,0) scale(.96);filter:saturate(.6)}
.squeeze-cover{position:absolute;inset:0;z-index:-2}.squeeze-illustration{width:100%;height:100%;display:block;stroke:none}.squeeze-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0a251be8,transparent 90%)}
.squeeze-tab{display:flex;flex-direction:column;align-items:center;justify-content:space-between;position:absolute;inset:0;width:100%;padding:14px 1px;background:transparent;color:#eff3dd;z-index:1}.squeeze-number{font-size:8px;letter-spacing:.5px}.squeeze-spine{writing-mode:vertical-rl;transform:rotate(180deg);font:12px/1.3 Georgia,serif;letter-spacing:.3px;white-space:nowrap;max-height:245px;overflow:hidden;text-overflow:ellipsis}
.squeeze-card[data-expanded="true"] .squeeze-tab{height:47px;bottom:auto;align-items:flex-start;padding:14px 18px}.squeeze-card[data-expanded="true"] .squeeze-spine,.squeeze-card[data-front="false"] .squeeze-tab{display:none}
.squeeze-copy{visibility:hidden;opacity:0;position:absolute;left:20px;right:20px;bottom:21px;color:#eef2d9;z-index:2;pointer-events:none}.squeeze-card[data-expanded="true"][data-front="true"] .squeeze-copy{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .25s .15s}.squeeze-kicker{font-size:6px;letter-spacing:1.3px;color:#c4d5ab;margin-bottom:11px;white-space:nowrap}.squeeze-copy h3{font:27px/1.05 Georgia,serif;letter-spacing:-.6px;max-width:300px;color:#f0f3df}.squeeze-meta{font-size:9px;margin-top:13px;color:#c6d8ae}.squeeze-topics{font-size:9px;line-height:1.6;margin-top:9px;color:#c0d1af;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.squeeze-select{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:39px;padding:10px 12px;background:#dbeab9;color:#2c4c34;border:1px solid #e3edca;border-radius:6px;font-size:10px;margin-top:18px;width:100%}.squeeze-select[aria-pressed="true"]{background:#f1f5e426;color:#e5efcd;border-color:#c9ddb548}.squeeze-select svg{width:14px;height:14px;flex-shrink:0}.squeeze-hint{font-size:8px;line-height:1.7;color:#869871;margin-top:10px}.squeeze-hint span{display:block}.squeeze-tab:focus-visible{outline:2px solid #e0edbc;outline-offset:-4px}.squeeze-select:focus-visible{outline:2px solid #e5edcc;outline-offset:3px}
@media(max-width:540px){.squeeze-card{height:300px}.squeeze-track{height:336px}.squeeze-copy{left:16px;right:16px;bottom:18px}.squeeze-copy h3{font-size:24px}.squeeze-toolbar>span{font-size:6px;letter-spacing:.6px}.squeeze-position{font-size:7px;margin-right:2px}.squeeze-spine{font-size:10px}.squeeze-number{font-size:7px}.squeeze-kicker{font-size:5px;letter-spacing:1px}}
/* Keep text at its final width while the cover reveals it, avoiding line-wrap jumps. */
.squeeze-card{transition:transform 1.35s cubic-bezier(.25,.1,.25,1),width 1.15s cubic-bezier(.25,.1,.25,1),opacity .9s}
.squeeze-copy{right:auto;width:var(--squeeze-copy-width);transform:translateX(18px);transition:opacity .25s,transform .6s,visibility 0s .25s}
.squeeze-card[data-expanded="true"][data-front="true"] .squeeze-copy{transform:translateX(0);transition:opacity .6s .32s,transform .9s .2s,visibility 0s}
.squeeze-card[data-expanded="true"] .squeeze-spine{display:block;opacity:0}
.squeeze-spine{transition:opacity .35s}

:root[data-motion="off"] .squeeze-card,:root[data-motion="off"] .squeeze-copy{transition:none!important}
/* The flow owns geometry frame by frame; CSS must not ease each frame to a stop. */
.squeeze-card,.squeeze-card[data-front="false"]{transform:translate3d(var(--squeeze-x,0px),var(--squeeze-y,0px),0) scale(var(--squeeze-scale,1));opacity:var(--squeeze-opacity,1)}
.squeeze-track[data-flow="running"] .squeeze-card{transition:none!important;will-change:transform,width}
/* Cards are a first-class destination; exam feedback stays readable on small screens. */
.repeat-view-switch{flex-wrap:wrap}.repeat-view-switch button span{background:var(--line);border-radius:20px;padding:2px 7px;font-size:11px}
.exam-insights,.exam-topic-results{margin:24px 0}.exam-insights>p{line-height:1.8;margin-top:12px}.exam-priority-list{padding-left:24px;margin-top:22px}.exam-priority-list li{padding:18px 0;border-top:1px solid var(--line)}.exam-priority-list h3{margin:10px 0 8px;font-size:18px}.exam-priority-list p{font-size:13px;line-height:1.8}.exam-topic-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.exam-topic-table{margin-top:16px}.exam-topic-head,.exam-topic-row{display:grid;grid-template-columns:minmax(0,1fr) 145px 82px;gap:12px;padding:14px 0;align-items:center;border-bottom:1px solid var(--line);font-size:12px}.exam-topic-head{color:var(--muted);font-size:11px}.exam-topic-row small{display:block;color:var(--muted);margin-top:7px}.exam-mistake{background:var(--paper,#fffdf7);border:1px solid var(--line);border-radius:13px;padding:20px;margin:12px 0;overflow-wrap:anywhere}.exam-mistake summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;font-weight:600}.exam-mistake .question-stem{margin:22px 0;font-size:14px}.exam-choice-note,.exam-correct-note{padding:17px;border-radius:9px;margin:14px 0;line-height:1.9;font-size:13px}.exam-choice-note{background:#f7eee2}.exam-correct-note{background:#e8efdd}.exam-choice-note p,.exam-correct-note p{margin-top:10px}.exam-positive{padding:18px;background:var(--soft);border-radius:10px}
@media(max-width:700px){.mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-nav a{min-width:0;font-size:10px}.repeat-view-switch{gap:4px}.repeat-view-switch button{padding:10px 8px;font-size:11px;gap:5px;flex:1}.repeat-view-switch button svg{display:none}.exam-topic-head,.exam-topic-row{grid-template-columns:minmax(0,1fr) 80px 49px;gap:8px;font-size:11px}.exam-topic-head{font-size:9px}.exam-mistake{padding:16px}.exam-mistake summary{font-size:12px}.exam-topic-links{gap:10px}}

.exam-solution-options{list-style:none;padding:0;margin:22px 0}.exam-solution-options li{padding:12px 14px;margin:8px 0;border:1px solid var(--line);border-radius:8px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}

/* Law Base recall deck: original CSS, visual references recorded in kartlar report. */
.flashcard{position:relative;isolation:isolate;max-width:780px;margin:36px auto 48px;padding:38px;border-radius:30px;background:linear-gradient(145deg,#fffdf4,#f4f5df);border:1px solid #d7dfbd;box-shadow:0 24px 65px #23473612;touch-action:pan-y;transition:transform .24s,box-shadow .24s;overflow:visible;outline-offset:8px}
.flashcard::before,.flashcard::after{content:'';position:absolute;inset:0;border-radius:30px;border:1px solid #ced9b2;background:#e6edcd;z-index:-1;transform:translateY(10px) scale(.975);pointer-events:none}
.flashcard::after{transform:translateY(20px) scale(.95);background:#f0eedc;z-index:-2}
.flashcard:not(.is-revealed){min-height:420px;text-align:center;cursor:pointer}
.flashcard:not(.is-revealed) h2{font-size:18px;color:#667757;margin-top:24px}
.card-face-mark{display:grid;place-items:center;width:62px;height:62px;border-radius:22px;background:#e0edbc;color:#355744;font-size:30px;margin:24px auto}
.flashcard .flashcard-front{font-family:Georgia,serif;font-size:clamp(23px,3vw,31px);line-height:1.55;max-width:620px;margin:24px auto;color:#233e31}
.card-tap-hint{display:block;color:#728164;font-size:12px;letter-spacing:.04em}.flashcard-reveal p{display:none}.flashcard-reveal{margin:22px 0}
.flashcard .flashcard-answer{background:#fffdf5;border-radius:22px;padding:28px;margin:22px 0;border:1px solid #dce5c3;animation:card-answer-in .3s ease-out}
.flashcard .flashcard-rating{display:flex;gap:18px;justify-content:center}.flashcard-rating button{flex:1;min-height:64px;border-radius:18px}.flashcard-rating .btn:not(.secondary){background:#dcecb9;color:#244b34;border:1px solid #b4cb8e}.flashcard-footer{margin-top:28px}
.flashcard.is-dragging{transition:none;user-select:none;box-shadow:0 30px 80px #244b3425}.flashcard.is-dragging::after{content:attr(data-swipe);z-index:3;inset:14px 20px auto auto;transform:rotate(-8deg);padding:12px 20px;color:#274b36;background:#dfedc0;font-weight:700;border:2px solid #87a66a;border-radius:12px}
@keyframes card-answer-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.flashcard{padding:24px 18px;margin:24px 5px 40px}.flashcard .flashcard-answer{padding:20px}.flashcard-rating button{padding:12px 8px}.flashcard-footer{gap:16px;flex-wrap:wrap}}

[data-motion="off"] .flashcard,[data-motion="off"] .flashcard .flashcard-answer{transition:none;animation:none}
.flashcard::before{inset:auto 10px -10px;height:32px;transform:none}.flashcard::after{inset:auto 22px -20px;height:32px;transform:none}
.flashcard:not(.is-revealed) h2{display:none}.flashcard-top{margin-bottom:18px}.card-face-mark{width:44px;height:44px;border-radius:16px;font-size:24px;margin:16px auto}
.flashcard .flashcard-front{font-size:clamp(22px,2.4vw,27px);line-height:1.5;margin:20px auto}.flashcard:not(.is-revealed){min-height:400px}.flashcard-reveal{padding-top:16px;margin:18px 0}.flashcard-footer{margin-top:18px;padding-top:10px}

/* Fixed, single-piece navigation; no separate sidebar scrolling. */
.sidebar{height:100dvh;overflow:hidden;overscroll-behavior:none}.sidebar .brand,.sidebar .nav-label,.sidebar .main-nav,.sidebar .sidebar-foot{flex-shrink:0}.sidebar-foot{margin-top:auto}.sidebar .local-link{white-space:normal;text-align:left}
@media(min-width:701px) and (max-height:650px){.sidebar{padding-top:20px;padding-bottom:12px}.sidebar .brand{margin-bottom:22px}.sidebar .nav-label{margin-bottom:10px}.sidebar .main-nav{gap:3px}.sidebar .nav-link{min-height:40px;padding-top:9px;padding-bottom:9px}.sidebar-version{margin-top:8px}}
@media(min-width:701px) and (max-height:450px){.sidebar{padding-top:12px}.sidebar .brand{margin-bottom:12px}.sidebar .nav-link{min-height:34px;padding-top:6px;padding-bottom:6px}.sidebar-version{display:none}.sidebar .brand-sub{display:none}}

/* Original LawBase balance/book signature. */
.brand-mark{width:46px;height:46px;background:transparent;border:0;border-radius:0}.brand-mark svg{width:46px;height:46px;stroke-width:2.4}.landing-brand>svg{width:48px;height:48px;stroke-width:2.4;flex-shrink:0}
@media(max-width:700px){.landing-brand>svg{width:38px;height:38px}}

.google-signin-block{display:grid;gap:12px;justify-items:center;margin:22px 0 16px}.google-signin-block>span{font-size:11px;opacity:.8}#google-signin{min-height:44px;max-width:100%;margin-top:12px}.google-status{font-size:12px;line-height:1.65;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.auth-screen-content .google-status{color:#e1edcc}.google-signin-block .google-status:empty{display:none}

.auth-brand-intro>span svg{width:32px;height:32px}
.landing-page { --intro-progress:0; background:#153d2f; isolation:isolate; overflow-x:clip; }
.landing-main { max-width:none; overflow:visible; }
.landing-hero { position:sticky; top:0; height:100svh; min-height:620px; margin:0; border-radius:0; background:#153d2f; color:#ecf0cf; overflow:hidden; z-index:0; }
.landing-hero-content { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:100%; height:100%; max-width:1500px; margin:auto; padding:70px 32px; text-align:center; transform:perspective(1200px) translateY(calc(var(--intro-progress) * -90px)) rotateX(calc(var(--intro-progress) * 5deg)) scale(calc(1 - var(--intro-progress) * .07)); opacity:calc(1 - var(--intro-progress) * .7); transform-origin:center; }
.landing-wordmark { margin:0; font-size:clamp(90px,17vw,245px); line-height:.91; letter-spacing:-.075em; color:#e4edbf; }
.landing-wordmark > span { display:inline-block; }
.landing-wordmark .wordmark-period { color:#e4edbf; }
.landing-hero-bottom { display:block; margin:42px 0 0; width:auto; }
.landing-hero-bottom h2 { font-size:clamp(27px,3.2vw,43px); line-height:1.18; color:#f8f1df; }
.landing-hero-bottom p { margin:20px 0 0; color:#c5d2b9; font-size:14px; line-height:1.8; }
.landing-hero .landing-scroll { position:absolute; bottom:32px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:13px; width:max-content; color:#dfeabd; font-size:9px; letter-spacing:2px; background:transparent; padding:14px; }
.landing-hero .landing-scroll span { font-size:28px; animation:story-cue 2s ease-in-out infinite; }
@keyframes story-cue { 50% { translate:0 7px; } }
.landing-content { position:relative; z-index:2; background:#f8f4e8; border-radius:28px 28px 0 0; transform:perspective(1800px) translateY(calc((1 - var(--intro-progress)) * 35px)) rotateX(calc((1 - var(--intro-progress)) * 7deg)); transform-origin:center top; box-shadow:0 -20px 80px #051b1740; }
.landing-content .landing-nav { max-width:none; border-radius:28px 28px 0 0; background:#f8f4e8f5; padding:24px clamp(22px,4vw,60px); }
.landing-content .landing-facts { background:#f8f4e8; }
.landing-facts { grid-template-columns:repeat(3,1fr) 1.2fr; }
.landing-content .landing-nav nav button { color:#305541; }
.landing-content .landing-nav-cta { border-color:#cbd8af; background:#e2edc3; }
.landing-footer { background:#f8f4e8; }
.auth-page { min-height:100svh; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); background:#fcf7eb; color:#234b39; }
.auth-story { min-height:100svh; padding:44px clamp(28px,5vw,84px); background:#153d2f; color:#f6eed9; display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden; }
.auth-brand { display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; font:30px Georgia,serif; width:fit-content; }
.auth-brand svg { width:42px; height:42px; }
.auth-story .landing-label { color:#bfcf9c; }
.auth-story h2 { font:clamp(35px,4vw,61px)/1.14 Georgia,serif; letter-spacing:-1.7px; margin:18px 0 24px; }
.auth-story h2 em { color:#dce9b2; }
.auth-story p:not(.landing-label) { font-size:14px; color:#c9d2ba; line-height:1.9; }
.auth-story-seal { display:block; margin:48px 0 0; color:#9eb589; }
.auth-story-seal svg { width:68px; height:68px; stroke-width:.9; }
.auth-back { display:flex; gap:10px; align-items:center; color:#d6dfc3; font-size:12px; width:fit-content; padding:14px 0; }
.auth-back svg { width:18px; height:18px; }
.auth-entry-wrap { display:flex; align-items:center; justify-content:center; padding:48px 40px; }
#auth-entry { max-width:400px; width:100%; }
#auth-entry h1 { font:40px/1.1 Georgia,serif; letter-spacing:-1.2px; margin:34px 0 12px; }
.auth-lead { color:#74816c; font-size:13px; line-height:1.8; margin-bottom:25px; }
.auth-tabs { display:flex; padding:4px; background:#ececda; border-radius:12px; gap:4px; }
.auth-tabs button { flex:1; background:transparent; padding:12px; border-radius:9px; color:#68765d; font-size:12px; min-height:44px; }
.auth-tabs button.active { background:#fffbed; box-shadow:0 2px 6px #2b442410; color:#234b39; }
#auth-entry .auth-form { display:grid; gap:15px; }
#auth-entry .auth-form label { display:grid; gap:8px; font-size:12px; color:#3a5743; }
#auth-entry .auth-form input { width:100%; border:1px solid #d7ddc8; background:#fffdf4; min-height:49px; border-radius:9px; padding:12px 14px; color:#153d2f; font-size:15px; }
#auth-entry .auth-form input:focus { outline:2px solid #9aad80; outline-offset:2px; }
.auth-submit { width:100%; justify-content:center; margin-top:5px; }
.auth-hint { font-size:11px; color:#77836b; line-height:1.7; }
.auth-sample-link { margin-top:30px; padding-top:24px; border-top:1px solid #dfe2d0; display:grid; gap:10px; }
.auth-sample-link > span { font-size:11px; color:#7e8872; }
.auth-sample-link a { display:flex; align-items:center; gap:12px; color:#345d41; font-size:12px; line-height:1.7; text-decoration:none; }
.auth-sample-link svg { width:16px; height:16px; flex-shrink:0; }
.auth-forgot { margin-top:19px; font-size:12px; }
.sample-page { min-height:100svh; background:#f9f5e8; color:#284a37; }
.sample-header { display:flex; justify-content:space-between; align-items:center; padding:24px clamp(20px,5vw,70px); border-bottom:1px solid #e0e3cf; gap:20px; }
.sample-header .auth-brand { font-size:25px; }
.sample-header .auth-brand svg { width:32px; height:32px; }
.sample-content { max-width:850px; margin:auto; padding:42px 24px 80px; }
.sample-progress { display:flex; justify-content:space-between; flex-wrap:wrap; gap:17px; font-size:10px; letter-spacing:1.5px; color:#76896a; }
.sample-progress > div { flex:1 1 100%; height:3px; background:#e1e5cd; }
.sample-progress i { display:block; height:100%; background:#82995e; transition:width .35s; }
.sample-paper { padding-top:36px; }
.sample-title { font:clamp(22px,3vw,29px)/1.65 Georgia,serif; letter-spacing:-.3px; margin:14px 0 28px; }
.sample-options { display:grid; gap:11px; }
.sample-options button { display:flex; align-items:center; gap:16px; text-align:left; padding:17px 20px; background:#fffdf3; border:1px solid #dce1ce; border-radius:12px; color:#35533e; line-height:1.8; font-size:14px; }
.sample-options button > span { display:grid; place-items:center; min-width:29px; height:29px; border-radius:50%; background:#eff1df; font-size:12px; }
.sample-options button:hover:not(:disabled) { border-color:#8da773; background:#f0f4df; }
.sample-options button:disabled { cursor:default; opacity:1; }
.sample-options .sample-correct { background:#e4edcd; border-color:#a3b781; }
.sample-options .sample-incorrect { background:#f5e7db; border-color:#cfb19c; }
.sample-explanation { margin-top:28px; padding:26px; border-radius:14px; background:#edf1da; }
.sample-explanation h2 { font:25px Georgia,serif; margin-bottom:12px; }
.sample-explanation p { font-size:14px; line-height:1.95; margin-bottom:14px; }
.sample-explanation details { margin:15px 0; }
.sample-explanation summary { cursor:pointer; font-size:13px; padding:8px 0; }
.sample-explanation .btn { margin-top:15px; }
.sample-finish { text-align:center; margin:60px auto; max-width:590px; display:flex; flex-direction:column; align-items:center; gap:24px; }
.sample-finish > svg { width:50px; height:50px; border-radius:50%; background:#e2ebc7; padding:12px; }
.sample-finish h1 { font:42px/1.15 Georgia,serif; }
.sample-finish p { color:#728165; font-size:14px; line-height:1.9; }
@media(max-width:700px) {
  .landing-hero { min-height:560px; }
  .landing-hero-content { padding:35px 20px 100px; }
  .landing-wordmark { font-size:clamp(75px,20vw,135px); }
  .landing-page[data-motion-enabled="true"] .landing-wordmark > span { display:block; }
  .landing-hero-bottom { margin-top:30px; }
  .landing-hero-bottom p { font-size:12px; }
  .landing-content .landing-nav { gap:12px; padding:18px 20px; }
  .landing-content .landing-nav nav { display:flex; gap:15px; }
  .landing-content .landing-nav nav button { font-size:10px; }
  .landing-content .landing-nav .landing-brand { display:none; }
  .landing-content .landing-nav-cta { font-size:10px; padding:10px; gap:5px; }
  .landing-facts { grid-template-columns:repeat(3,1fr); }
  .auth-page { display:block; }
  .auth-story { min-height:0; padding:25px; }
  .auth-story > div,.auth-story .auth-back { display:none; }
  .auth-entry-wrap { padding:32px 24px 50px; }
  #auth-entry h1 { font-size:35px; }
  .sample-content { padding:28px 20px 50px; }
  .sample-options button { padding:13px; font-size:13px; gap:11px; }
  .sample-explanation { padding:20px; }
  .sample-finish h1 { font-size:34px; }
}
.startup-screen{min-height:100svh;display:grid;place-items:center;position:relative;isolation:isolate;overflow:hidden;background:#f7f5ed;color:#173e30;padding:40px 24px;text-align:center}
.startup-screen:before{content:"";position:absolute;z-index:-1;width:min(76vw,580px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#e4e9d6 0,transparent 70%);opacity:.8}
.startup-orbit{position:absolute;width:min(82vw,520px);aspect-ratio:1;border:1px solid #2a513115;border-radius:50%;pointer-events:none}
.startup-orbit:after{content:"";position:absolute;inset:25px;border:1px solid #2a51310c;border-radius:50%}
.startup-content{position:relative;max-width:440px;width:100%}
.startup-mark{width:86px;height:92px;display:flex;align-items:center;justify-content:center;margin:0 auto 23px;background:#173e30;color:#e2ebc2;border-radius:25px 25px 25px 7px;box-shadow:0 15px 40px #173e301c;font:600 52px/1 Georgia,serif;letter-spacing:-16px;padding-right:14px}
.startup-mark span+span{font-size:40px;transform:translateY(6px)}
.startup-wordmark{font:400 43px/1.1 Georgia,serif;letter-spacing:-1.8px;margin:0}
.startup-wordmark>span{color:#83965c}
.startup-motto{font-size:10px;letter-spacing:3px;margin:14px 0 38px;color:#738169}
.startup-track{width:112px;height:3px;margin:0 auto 25px;overflow:hidden;border-radius:4px;background:#dce3ce}
.startup-track i{display:block;width:48px;height:100%;background:#627b47;border-radius:4px;animation:startup-drift 1.7s ease-in-out infinite}
.startup-status{font-size:15px;font-weight:500;line-height:1.5;margin:0}
.startup-caption{font-size:12px;line-height:1.6;color:#7d8375;margin:9px 0 0}
@keyframes startup-drift{0%,100%{transform:translateX(-45px);opacity:.35}50%{transform:translateX(110px);opacity:1}}
.landing-mobile-access{display:none}
@media(max-width:700px){.landing-mobile-access{display:flex;position:absolute;top:max(20px,env(safe-area-inset-top));left:20px;right:20px;align-items:center;justify-content:space-between;gap:12px;z-index:3}.landing-mobile-brand{display:flex;align-items:center;gap:8px;color:#e4edbf;font:22px Georgia,serif;text-decoration:none}.landing-mobile-brand>svg{width:29px;height:32px}.landing-mobile-start{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 17px;border:1px solid #d4e0b0;border-radius:999px;background:#e2edc3;color:#173e30;font-size:13px;font-weight:600;text-decoration:none}.landing-mobile-start>svg{width:17px;height:17px}.landing-mobile-start:active{transform:translateY(1px)}}
@media(prefers-reduced-motion:reduce){.startup-track i{animation:none;transform:translateX(32px)}}
