:root{--bg:#faf8f3;--surface:#fffefa;--ink:#243c36;--muted:#6d766d;--line:#e3e7dc;--green:#476f65;--green-light:#e9efdf;--lime:#e0edbc;--purple:#8d7396;--rose:#ac7287}
body{background:var(--bg);-webkit-tap-highlight-color:transparent}
.hero,.exam-hero{background:linear-gradient(120deg,#375e55,#67877a);border-color:#476f65}
.hero .eyebrow,.hero p,.exam-hero p{color:#e4eadd}.hero h2,.exam-hero h2{color:#fffefa}
.hero .btn.lime,.exam-hero .btn.lime{color:#304c42;background:#e3e9c8}
.brand-mark,.focus-card{background:#476f65}.sidebar{background:#f5f5ed}.nav-link.active{background:#e3ebdb;color:#35594e}
.topbar{background:#faf8f3ed}.avatar{color:#375e55;background:#e5eddf}
.course-card{background:#fffefa;border-color:#e3e7dc}.progress-track{background:#e6eadd}.today-plan{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:24px 26px;border:1px solid var(--line);background:#f0f1e6;border-radius:18px;margin-bottom:22px}.today-plan h2{font-size:21px;margin:7px 0}.today-plan p{font-size:12px;color:var(--muted);margin:0}.plan-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:26px}.plan-tasks{display:grid;gap:14px}.plan-task{display:flex;gap:20px;padding:26px;border:1px solid var(--line);background:var(--surface);border-radius:16px}.plan-task>div{min-width:0}.plan-task h3{font-size:18px;line-height:1.5;margin:7px 0}.plan-task p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 18px}.plan-step{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:39px;height:39px;border-radius:50%;background:#e9efdf;color:#476f65;font-weight:700}.plan-task.is-done{background:#f1f6ed}.weekly-list{list-style:none;margin:15px 0;padding:0}.weekly-list li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.6}.weekly-list strong{min-width:26px;color:var(--green)}.book-explanation{margin-top:20px;text-align:left}.book-explanation h3{font-size:17px;margin-bottom:12px}.book-explanation blockquote{margin:12px 0;padding:16px;border-left:3px solid #8aab91;border-radius:0 10px 10px 0;background:#f2f6ed;font-size:15px;line-height:1.85;color:#344b42}.book-explanation p{font-size:13px!important}.explanation-label{font-size:11px!important;color:var(--muted)}.book-explanation ol{padding-left:22px;line-height:1.85}.bottom-nav{display:none}.archive-source-card{border:1px solid var(--line);padding:22px;border-radius:15px;background:var(--surface)}.archive-source-card h3{margin:10px 0;font-size:18px}.archive-source-card p{font-size:12px;line-height:1.8;color:var(--muted)}.source-link-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.source-link-list a{display:inline-flex;align-items:center;gap:6px;min-height:44px}.scope-box{background:#f4efe3;padding:18px 22px;border:1px solid #e7dfcc;border-radius:12px;font-size:13px;line-height:1.8;margin:18px 0}.scope-box strong{color:#6d5b36}.archive-section{margin:25px 0}.exam-tabs{display:flex;gap:10px;margin-bottom:22px;overflow:auto}.exam-tabs a{white-space:nowrap}.exam-tabs a.active{background:#476f65;color:white}.archive-source-card ul{padding-left:20px;font-size:13px;line-height:1.8}.plan-grid input[type=date]{width:100%;min-height:46px}.iphone-install{border-color:#a9bca4}.exam-stats strong{color:#476f65}.exam-card .exam-type{color:#476f65;background:#edf1e4}.exam-key{background:#eef3e5;color:#466653}.quiz-option.correct{background:#eaf5e6;color:#305c3e;border-color:#729a74}.feedback{background:#edf5e8}.toast{background:#35594e}
.focus-card,.focus-card .timer-number,.focus-card .focus-top{color:#fffefa}.focus-card p{color:#dce8dc}.focus-card .btn{background:#e3e9c8;color:#304c42}.focus-card .focus-select{color:#304c42;background:#fffefa;min-width:88px;max-width:none}.status-dot{background:#64876b}.hero .art-book{background:#e1e8d6;color:#587a69;border-color:#cadac6}.hero .art-spark{color:#e8efda}
@media(max-width:950px){.plan-grid{grid-template-columns:1fr}.plan-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:16px}.plan-grid>aside>.panel{margin-top:0!important}}
@media(max-width:720px){
 body{padding-bottom:env(safe-area-inset-bottom)}
 .topbar{padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top))}
 .bottom-nav{display:flex;position:fixed;z-index:38;left:0;right:0;bottom:0;background:#fffef9f5;border-top:1px solid #dce3d5;backdrop-filter:blur(18px);padding:8px 8px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;gap:3px}
 .bottom-nav a{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#788175;font-size:10px;min-height:45px;border-radius:10px;max-width:90px}
 .bottom-nav svg{width:20px;height:20px}.bottom-nav a.active{background:#e9efdf;color:#35594e;font-weight:700}
 main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
 .today-plan{padding:19px;align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:20px}.today-plan h2{font-size:19px}.today-plan .btn{width:100%}
 .plan-grid>aside{display:block}.plan-grid>aside>.panel+section{margin-top:16px!important}
 .plan-task{padding:19px 16px;gap:12px}.plan-step{width:29px;height:29px;font-size:12px}.plan-task h3{font-size:16px}.plan-task p{font-size:12px}
 .btn,.icon-btn,.segmented button,.text-link,select{min-height:44px}.icon-btn{min-width:44px}.text-link{display:inline-flex;align-items:center}
 .focus-dock{bottom:calc(83px + env(safe-area-inset-bottom));right:16px}.toast{bottom:calc(92px + env(safe-area-inset-bottom))}
 input,select,textarea{font-size:16px!important}.read-tabs{overflow-x:auto;flex-wrap:nowrap}.read-tabs button{flex-shrink:0}
 .archive-source-card{padding:20px}.source-link-list a{width:100%;justify-content:center}.book-explanation blockquote{padding:13px;font-size:14px}.scope-box{padding:16px;font-size:12px}
 .hero-art{opacity:.65}.dashboard-side{grid-template-columns:1fr}.dashboard-side .right-stack{display:none}
 .course-card h3{font-size:14px;line-height:1.5}.course-meta{font-size:10px}.sidebar-footer{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
}
@media print{.bottom-nav,.today-plan,.iphone-install{display:none!important}}
