:root{--ink:#22352d;--muted:#52655b;--soft:#e2e7df;--paper:#f7f8f4;--white:#fff;--green:#284d3b;--rust:#a24832;--sage:#e4eee3;--lilac:#eee9f4;--peach:#f6e7da;--sans:Inter,"Segoe UI",Arial,sans-serif;--serif:Georgia,"Times New Roman",serif;font:16px/1.53 var(--sans);color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:var(--green);text-underline-offset:3px}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button,a,input,select,textarea,summary{outline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #af542e}input,textarea,select{width:100%;min-width:0;border:1px solid #c4cfc5;background:white;border-radius:9px;padding:.64rem .8rem}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' stroke='%233b5146' fill='none' stroke-width='1.6'/%3E%3C/svg%3E");background-size:16px;background-repeat:no-repeat;background-position:right .7rem center;padding-right:2.1rem}textarea{resize:vertical;min-height:88px}input[type=checkbox],input[type=radio]{width:17px;height:17px;accent-color:var(--green);flex:none}input[type=range]{padding:0;accent-color:var(--green)}img,video{max-width:100%;height:auto}svg{flex-shrink:0;vertical-align:middle}p{margin:.4rem 0 .9rem}h1,h2,h3{line-height:1.15;letter-spacing:-.035em;color:#233a2f}h1,h2{font-family:var(--serif);font-weight:500}h1{font-size:clamp(2.35rem,4.7vw,4.1rem);margin:.3rem 0 .6rem}h2{font-size:clamp(1.7rem,2.7vw,2.45rem);margin:0 0 .65rem}h3{font-size:1.15rem;margin:.5rem 0 .6rem}small,time{font-size:.84rem;color:var(--muted)}strong,b{font-weight:650}.shell{min-height:100vh;display:grid;grid-template-columns:222px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100dvh;padding:30px 18px 15px;background:#fbfcf9;border-right:1px solid var(--soft);display:flex;flex-direction:column;z-index:12}.brand{display:flex;align-items:center;gap:9px;width:fit-content;margin-left:7px;color:#253d30;text-decoration:none;font:600 2.8rem/.96 var(--serif);letter-spacing:-.08em}.brand-mark{width:43px;height:43px;color:var(--rust)}.brand-mark svg{width:100%;height:100%}.brand-dot{color:var(--rust)}.brand-sub{color:var(--muted);font-size:1rem;margin:8px 0 42px 10px}.nav-label,.eyebrow,.date-line,.hero-over{font-size:.76rem;text-transform:uppercase;letter-spacing:.12em;font-weight:650}.nav-label{color:#63756b;margin:0 10px 9px}.personal-label{margin-top:29px}.nav-item{display:flex;align-items:center;gap:13px;font-weight:540;font-size:.95rem;text-decoration:none;color:#46594e;border-radius:9px;padding:11px 13px;margin-bottom:4px;min-height:44px}.nav-item:hover,.iconbtn:hover{background:#edf1eb}.nav-item.current{color:#254f39;background:#e4eee4;font-weight:650}.sidebar-bottom{margin-top:auto}.sidebar-lang{border-top:1px solid var(--soft);margin:14px 5px 0;padding:16px 8px 2px;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.9rem}.flag-es{width:23px;height:15px;border-radius:3px;background:linear-gradient(#b34735 0 27%,#f5c25e 27% 73%,#b34735 73%);box-shadow:0 0 0 1px #0001}.body-area{min-width:0}.topbar{height:71px;display:flex;align-items:center;gap:22px;padding:0 clamp(23px,4vw,65px);border-bottom:1px solid var(--soft);background:#fbfcf9}.crumb,.acct,.top-search,.hero-meta,.hero-actions,.hero-actions span,.line-link,.card-head,.route-count,.actions,.row-heading,.inline-info,.run-meta,.checkline,.between,.mini-actions,.time{display:flex;align-items:center}.crumb{gap:9px;color:var(--muted);font-size:.875rem}.crumb b{color:var(--ink)}.top-search{margin-left:auto;position:relative;gap:7px;width:min(238px,29vw);border:1px solid #dce2d9;border-radius:8px;background:#f3f5f0;padding:5px 10px;color:var(--muted)}.top-search input{padding:.14rem 0;background:transparent;min-height:25px;border:0;font-size:.85rem}.top-search kbd{white-space:nowrap;border:1px solid #d9e0d7;background:#fcfcfa;border-radius:4px;padding:1px 4px;font:.7rem var(--sans)}.acct{gap:8px;border:0;background:none;padding:0;min-height:40px;font-size:.9rem}.avatar{width:33px;height:33px;display:grid;place-items:center;background:#eee2d4;border:1px solid #dfcbb8;color:#744e37;border-radius:50%}.main-inner,.foot{width:min(1340px,100%);margin:auto;padding:clamp(27px,3.5vw,54px) clamp(22px,4vw,65px)}main{min-height:calc(100vh - 71px);outline:none}.foot{margin-top:1.5rem;padding-top:20px;padding-bottom:25px;display:flex;gap:20px;justify-content:space-between;color:var(--muted);font-size:.8rem}.foot a{color:inherit}.hello{margin-bottom:26px}.date-line{color:#8d503b;display:flex;align-items:center;gap:8px}.shortline{width:24px;border-top:2px solid #ae624b}.hello h1{margin:9px 0 7px;font-size:clamp(2.6rem,4.5vw,4.6rem);line-height:1.08;letter-spacing:-.052em}.hello h1 span{font-style:italic;color:var(--rust)}.hello h1 em{font-weight:normal;font-style:normal}.hello p,.section-heading p{color:var(--muted);font-size:1rem}.home-grid{display:grid;grid-template-columns:minmax(0,2.25fr) minmax(220px,.92fr);gap:20px}.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:19px;min-height:305px;display:flex;color:white;background:#245144}.hero-image,.hero-shade{position:absolute;inset:0;z-index:-1}.hero-image{background:url("/media/sevilla.webp") 66% 54%/cover no-repeat}.hero-shade{background:linear-gradient(90deg,rgba(13,44,36,.98) 0%,rgba(19,49,38,.93) 27%,rgba(23,51,40,.78) 47%,rgba(16,43,34,.25) 74%,rgba(16,43,34,.05)),linear-gradient(0deg,rgba(13,39,31,.32),transparent 37%)}.hero-inner{padding:clamp(23px,2.5vw,38px);width:100%;align-self:center}.hero-over{display:flex;align-items:center;gap:8px;color:#e4eddc;font-size:.72rem}.hero-dot{width:7px;height:7px;border-radius:50%;background:#e9ab73}.hero-meta{gap:9px;font-size:.86rem;margin:18px 0 8px}.hero-meta b{background:#f3ecda;color:#294a39;border-radius:5px;padding:1px 7px;font-size:.81rem}.hero h2{color:#fffdf5;font-size:clamp(1.9rem,3.2vw,3.2rem);line-height:1.05;max-width:87%;margin:0 0 .45rem}.hero p{color:#f1f3eb;max-width:67%;line-height:1.45;font-size:.94rem}.hero-actions{margin-top:21px;gap:17px}.hero-actions button,.btn{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:.62rem 1rem;border-radius:8px;min-height:42px;font-size:.92rem;font-weight:640;line-height:1.3}.hero-actions button{background:#faf5e9;color:#213c2f}.hero-actions button:hover{background:white}.hero-actions span{gap:5px;font-size:.84rem}.photo-tip{position:absolute;bottom:14px;right:15px;display:flex;align-items:center;gap:4px;padding:3px 6px;border-radius:5px;font-size:.72rem;color:#fff;background:#15392dbf}.route-card,.panel,.list-panel,.filter-box,.module-card,.level-box,.metric,.wide-card,.empty,.exam-banner{border:1px solid var(--soft);border-radius:15px;background:#fff}.route-card{padding:clamp(16px,1.85vw,29px);display:flex;flex-direction:column}.card-head{gap:8px;font-size:1rem;font-weight:600}.icon-square,.qicon{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border-radius:11px}.sage,.mint{background:#e0ebde;color:#31573f}.peach,.apricot{background:#f3e1d3;color:#945137}.lilac{background:#eae4f2;color:#66517e}.pale{background:#eff2ed;color:#526d59}.route-level{display:flex;align-items:baseline;gap:10px;margin:16px 0 11px;font:500 2.7rem/1.1 var(--serif);letter-spacing:-.055em}.route-level span{color:var(--muted);font:.9rem var(--sans);letter-spacing:0}.route-steps{position:relative;display:flex;justify-content:space-between;gap:4px}.route-steps:before{content:"";position:absolute;top:50%;left:9px;right:9px;height:1px;background:#ced8cf}.route-steps button{position:relative;background:#f7f9f5;border:1px solid #d4ded4;width:38px;height:34px;border-radius:8px;color:var(--muted);font-size:.84rem;font-weight:650}.route-steps button.selected{background:#365e46;color:#fff;border-color:#365e46}.route-count{justify-content:space-between;color:var(--muted);font-size:.85rem;margin:16px 0}.route-count strong{color:var(--ink)}.line-link,.text-btn{background:none;border:none;padding:3px 0;color:var(--green);font-size:.88rem;font-weight:630;display:inline-flex;align-items:center;gap:6px;text-align:left}.text-btn:hover,.line-link:hover{text-decoration:underline}.route-card .line-link{border-top:1px solid var(--soft);margin-top:auto;padding-top:12px;justify-content:space-between}.row-heading,.between{justify-content:space-between;gap:12px}.row-heading{margin:28px 0 13px}.row-heading h2,.between h2{margin:0}.eyebrow{color:#80553f;margin-bottom:5px}.quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.quick{padding:17px 20px;text-align:left;border:1px solid #00000007;border-radius:14px;transition:transform .18s}.quick:hover,.module-card:hover,.wide-card:hover{transform:translateY(-2px)}.quick strong,.quick small,.wide-card strong,.wide-card small,.grow strong,.grow small,.word-row small,.metric span{display:block}.quick strong{font-size:1.16rem;color:#22362b;margin:10px 0 2px}.quick small{color:#465b50}.q-top{display:flex;justify-content:space-between;align-items:center}.qicon{width:37px;height:37px;background:#ffffffa6}.qchev{opacity:.65}.lower-grid,.module-grid,.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.wide-card{display:flex;align-items:center;gap:13px;text-align:left;padding:18px;width:100%;margin-bottom:9px}.wide-card span:nth-child(2){flex:1}.wide-card strong{font-size:.99rem}.mobile-menu,.bottom-nav,.scrim{display:none}.skip{position:fixed;left:-1000px;top:10px;z-index:100;background:#fff;padding:10px}.skip:focus{left:10px}.section-heading{margin:0 0 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.section-heading p{max-width:74ch}.section-heading h1{font-size:clamp(2.25rem,4vw,3.55rem)}.panel,.filter-box,.empty,.exam-banner{padding:clamp(18px,2.2vw,30px);margin-bottom:17px}.panel h2,.filter-box h2{font-size:1.75rem}.panel p,.module-card p{color:var(--muted)}.level-grid,.module-grid,.quick-grid{margin:12px 0 20px}.level-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}.level-box,.metric,.module-card{text-align:left;padding:18px}.level-box b,.level-box span,.metric strong{display:block}.level-box b,.metric strong{font:500 2.15rem var(--serif)}.level-box.chosen,.options .chosen,.photo-grid .chosen{border-color:#4a7357;background:#e7f0e5}.module-card{display:flex;flex-direction:column}.module-top,.module-end{display:flex;align-items:center;justify-content:space-between;gap:8px}.module-card h3{font-size:1.2rem;margin:13px 0 4px}.module-card p{font-size:.93rem}.module-end{border-top:1px solid var(--soft);padding-top:.6rem;margin-top:auto;font-size:.83rem}.tag{font-size:.75rem;color:#345643;background:#edf2e9;font-weight:650;border-radius:5px;padding:3px 8px;display:inline-block}.list-panel{overflow:hidden;margin:12px 0}.list-item,.word-row,.skillrow,.review-line{border:0;border-bottom:1px solid var(--soft)}.list-item{width:100%;display:flex;align-items:center;gap:14px;padding:13px 17px;text-align:left;background:white}.list-item:last-child,.word-row:last-child{border-bottom:0}.list-item:hover:not(.static){background:#f6f8f2}.grow{min-width:0;flex:1}.grow small{margin-top:2px}.time,.inline-info{gap:6px;font-size:.84rem;color:var(--muted)}.inline-info{margin:12px 0}.inline-info span{margin-left:auto}.field{display:flex;flex-direction:column;gap:5px;font-size:.9rem;font-weight:600;color:#344e3e;min-width:0}.field input,.field select,.field textarea{font-weight:400}.field.short{max-width:250px;margin:12px 0}.formstack,.lesson-panel{display:grid;gap:14px}.formstack>.btn,.lesson-panel>.btn{justify-self:start}.formrow,.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.formrow .field{flex:1;min-width:140px}.olympiad-admin-grid{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:16px}.olympiad-admin-grid .list-panel{height:max-content}.olympiad-admin-grid .list-item.chosen{border-color:var(--teal);background:#edf4ef}@media(max-width:820px){.olympiad-admin-grid{grid-template-columns:1fr}}.actions,.run-meta{gap:10px}.wrap,.actions,.run-meta{flex-wrap:wrap}.btn.solid,.chips button.on,.steps button.on,.admin-tabs button.on{background:#315541;color:#fff;border-color:#315541}.btn.solid:hover{background:#234434}.btn.light{border-color:#c9d4c9;background:#fff}.btn.light:hover{background:#eef3ed}.chips,.steps,.admin-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 20px}.chips button,.steps button,.admin-tabs button{display:inline-flex;gap:7px;align-items:center;background:#fff;border:1px solid #cfd8cc;color:#3c5443;border-radius:8px;padding:7px 12px;font-size:.875rem;min-height:38px}.chips button{border-radius:99px}.steps{margin:12px 0}.searchbox{position:relative;display:flex;align-items:center;gap:8px}.searchbox input{flex:1}.filters{margin-top:12px}.filters select{width:auto;max-width:100%}.checkline{gap:7px;font-weight:500}.video-tile,.film{width:100%;border-radius:14px;margin:0 0 17px}.video-tile{border:1px solid var(--soft);overflow:hidden;background:#fff;display:flex;align-items:center;text-align:left;gap:18px;padding:0 18px 0 0}.video-tile img{width:144px;height:102px;object-fit:cover}.video-tile strong,.video-tile small{display:block}.video-tile span:nth-child(2){flex:1}.video-tile strong{margin:4px 0}.exam-banner{display:flex;align-items:center;gap:15px;background:#f8eddf}.exam-banner a{margin-left:auto;font-size:.875rem}.exam-banner p{margin:3px 0}.back{margin-bottom:14px}.passage,.spanish,.material-block p,.preview-pane p{white-space:pre-line;overflow-wrap:anywhere}.passage{background:#f5f5ec;border-left:3px solid #b98057;border-radius:2px 10px 10px 2px;padding:17px 20px;font:1.13rem/1.65 var(--serif)}.language-note,.notice{border:1px solid #d7e2d8;padding:12px 15px;border-radius:10px;background:#edf3e9}.language-note{display:flex;align-items:flex-start;gap:9px}.language-note p{margin:0}.good{background:#e0efdf}.error,.danger{color:#8b382c}.notice.error{background:#faebe6;border-color:#ecc8bf}.audio,.recorder,.edit-block,.preview-pane{background:#f7f9f5;border:1px solid var(--soft);border-radius:12px;padding:14px;margin:5px 0 12px}.audio-row{display:flex;gap:12px;align-items:center}.audio-row select{width:76px;font-size:.84rem}.play{background:var(--green);color:white;border:0;width:38px;height:38px;border-radius:50%;flex:none}.audio-track{min-width:45px;flex:1}.audio-track strong{font-size:.84rem}.audio-track input{display:block}.audio small{white-space:nowrap}.audio p,.audio .text-btn{margin:8px 0 0}.word-row,.skillrow,.score{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}.word-row span,.word-row small,.review-line small{overflow-wrap:anywhere}.question{min-width:0;border:0;border-bottom:1px solid var(--soft);padding:15px 0;margin:0 0 9px}.question legend{float:left;width:100%;font-size:1.02rem;font-weight:650;margin:0 0 10px}.question legend+*{clear:both}.question-num{background:#e8eee6;border-radius:5px;padding:2px 7px;margin-right:3px}.options{display:grid;gap:7px;margin:0 0 11px}.options>*{display:flex;align-items:center;text-align:left;gap:9px;border:1px solid var(--soft);border-radius:8px;background:white;padding:9px 12px;cursor:pointer}.question>.actions,.recorder small{margin-top:9px}.rubric{padding-left:1.35rem}.rubric li+li{margin-top:4px}details>summary{cursor:pointer;font-weight:620;color:var(--green);padding:7px 0}.tutor summary svg{margin-right:6px}.score{justify-content:flex-start}.score strong{font:2.1rem var(--serif)}.score p{margin:0}.review-line{padding:12px 0}.review-line p{margin:4px 0}.photo-grid img,.oral-photo{display:block;max-height:280px;object-fit:cover;max-width:100%}.photo-grid button{border:1px solid var(--soft);border-radius:9px;overflow:hidden;padding:4px;background:#fff}.run-meta{margin:-11px 0 16px}.run-meta span{display:inline-flex;align-items:center;gap:4px}.run-meta small{margin-left:auto}.material-block img,.material-block video,.film{max-height:65vh}.recorder audio{display:block;width:min(100%,400px);margin:9px 0}.loading,.toast{display:flex;align-items:center;gap:7px}.loading{padding:20px;color:var(--muted)}.toast{position:fixed;z-index:30;bottom:24px;left:50%;transform:translateX(-50%);border-radius:12px;background:#233f30;color:white;padding:12px 17px;box-shadow:0 7px 32px #1f352f33;max-width:90vw}.toast button,.mini-actions button,.iconbtn{background:transparent;border:0;color:inherit}.admin-tree{display:grid;grid-template-columns:minmax(190px,.76fr) minmax(0,1.65fr);gap:14px}.admin-tree .panel{min-width:0}.tree{align-self:start}.tree-item{padding:8px 0;border-bottom:1px solid var(--soft)}.tree-item>button{border:0;text-align:left;background:none;width:100%}.tree-item small,.tree-item b{display:block}.tree-item .actions{padding:7px}.admin-tabs{margin:0 0 18px}.edit-block{display:grid;gap:8px}.editor-actions{margin:15px 0}.mini-actions{gap:4px}.mini-actions button{padding:5px}.preview-pane.narrow{max-width:390px;margin-inline:auto}.issue{display:block}.scrollbox{max-height:340px;overflow:auto}.formstack details{margin:2px 0}.formstack summary{border-bottom:1px solid var(--soft)}.panel hr{width:100%;border:0;border-top:1px solid var(--soft)}pre{white-space:pre-wrap;overflow-wrap:anywhere}audio{max-width:100%}.iconbtn{width:40px;height:40px;align-items:center;justify-content:center}.nav-item,.hero-inner,.word-row,.quick,.tree-item,.section-heading,.exam-banner,.list-item,.panel,.steps,.admin-tabs{overflow-wrap:anywhere}
@media(min-width:1600px){.shell{grid-template-columns:245px minmax(0,1fr)}.hero{min-height:360px}}
@media(max-width:1150px){.shell{grid-template-columns:194px minmax(0,1fr)}.sidebar{padding-inline:12px}.home-grid{grid-template-columns:minmax(0,1.95fr) minmax(195px,.9fr);gap:13px}.topbar,.main-inner,.foot{padding-left:27px;padding-right:27px}.quick-grid{gap:12px}.hero p{max-width:76%}.route-card{padding:17px}}
@media(max-width:860px){.shell{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;left:0;top:0;width:235px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.scrim{display:block;position:fixed;inset:0;z-index:11;background:#192c2380;border:0}.mobile-menu{display:inline-flex}.topbar{height:60px;gap:10px;padding-inline:18px}.main-inner,.foot{padding-inline:22px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;border-top:1px solid var(--soft);background:#fbfcf9;z-index:10;padding:4px 6px max(4px,env(safe-area-inset-bottom))}.bottom-nav .nav-item{flex-direction:column;gap:2px;padding:5px 10px;font-size:.75rem;margin:0;min-width:60px;border-radius:7px}.body-area{padding-bottom:58px}.toast{bottom:72px}.hero{min-height:278px}.quick{padding:14px}.home-grid{grid-template-columns:minmax(0,1.8fr) minmax(185px,.9fr)}.admin-tree{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}}
@media(max-width:620px){.main-inner{padding:25px 16px}.topbar{padding:0 10px}.crumb{display:none}.top-search{width:auto;flex:1;margin:0}.top-search kbd{display:none}.acct b{max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-grid,.lower-grid,.module-grid,.admin-tree{grid-template-columns:minmax(0,1fr)}.hello{margin-bottom:20px}.hello h1{font-size:clamp(2.1rem,8.6vw,3.05rem)}.hero{min-height:258px}.hero-inner{padding:22px}.hero-meta{margin-top:17px}.hero p{max-width:85%}.hero-shade{background:linear-gradient(90deg,#123b31f5 0%,#16382cce 44%,#1b382e3b 88%),linear-gradient(0deg,#18372960,transparent 33%)}.photo-tip{bottom:8px;right:8px}.route-card{display:grid;grid-template-columns:1fr 1fr;gap:9px 15px;padding:15px}.card-head{font-size:.95rem}.card-head .icon-square{width:29px;height:29px}.card-head svg{width:17px}.route-level{font-size:1.6rem;margin:0;align-self:center;justify-self:end}.route-level span{font-size:.75rem}.route-steps{grid-column:1/-1}.route-count{margin:0}.route-card .line-link{border:0;padding:1px 0;justify-self:end}.quick-grid{gap:7px}.quick{padding:11px 9px}.quick .qchev{display:none}.quick strong{font-size:.92rem}.quick small{font-size:.75rem;line-height:1.35}.qicon{width:31px;height:31px}.qicon svg{width:19px}.row-heading{margin:22px 0 10px;align-items:end}.row-heading h2{font-size:1.65rem}.row-heading .line-link{font-size:.77rem}.hello p,.section-heading p{font-size:.92rem}.level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.level-box,.metric{padding:12px}.exam-banner{align-items:flex-start;flex-wrap:wrap}.exam-banner a{margin-left:0}.video-tile{gap:10px;padding-right:10px}.video-tile img{width:80px;height:105px}.panel,.filter-box,.empty,.exam-banner{padding:15px}.list-item{gap:8px;padding:10px}.time{font-size:.75rem}.skillrow{align-items:flex-start;flex-direction:column;gap:3px}.foot{padding-inline:16px}.filters select{width:100%}.audio-row{gap:6px}.audio select{width:65px;padding-left:3px}.audio{padding:10px}.audio small{font-size:.7rem}.photo-grid{grid-template-columns:minmax(0,1fr)}.word-row{flex-wrap:wrap}.editor-actions>*{flex-grow:1}.route-steps button,.chips button,.steps button,.mini-actions button{min-height:40px}.foot a,.topbar b{font-size:.79rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

@media(max-width:860px){.sidebar:not(.open){visibility:hidden}.sidebar.open{visibility:visible}}

.warmup{background:#f6f8f1;padding:10px 15px;border-radius:10px}.pair-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pair-grid>div{display:grid;gap:6px}.pair-grid button,.word-order button{background:white;border:1px solid #c9d4c9;border-radius:7px;padding:7px;min-height:36px}.pair-grid .chosen{background:#dbe9d9;border-color:#52765d}.word-order{min-height:46px;border:1px dashed #a1b29f;border-radius:7px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:5px}

.captions{line-height:1.8;margin-top:7px}.captions button{background:transparent;border:0;text-align:left;padding:1px 4px;border-radius:4px}.captions .now{background:#d4e5cc;color:#1e442d}

:root {
  --paper: #f6f7f2;
  --soft: #dde4da;
  --ink: #18372d;
  --green: #315b45;
  --rust: #b35f43;
}

body {
  background:
    radial-gradient(circle at 78% 8%, rgba(220, 232, 216, .55), transparent 24rem),
    var(--paper);
}

.topbar {
  background: rgba(251, 252, 249, .92);
  backdrop-filter: blur(14px);
}

.sidebar {
  background: linear-gradient(180deg, #fcfdf9 0%, #f7f9f3 100%);
  box-shadow: 8px 0 28px rgba(32, 61, 48, .025);
}

.brand-mark {
  filter: drop-shadow(0 4px 8px rgba(162, 72, 50, .12));
}

.nav-item {
  position: relative;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-item:hover {
  transform: translateX(2px);
}

.nav-item.current {
  box-shadow: inset 3px 0 0 #3c7055;
}

.top-search {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 5px 18px rgba(37, 65, 51, .04);
}

.main-inner {
  max-width: 1380px;
}

.hello {
  margin-bottom: 20px;
}

.hello h1 {
  max-width: 760px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -4px 0 18px;
}

.value-strip span {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #e2e8df;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}

.value-strip b {
  color: #2e5a43;
  font-size: .92rem;
}

.value-strip small {
  font-size: .78rem;
}

.hero,
.route-card,
.panel,
.metric,
.quick,
.wide-card,
.list-panel,
.empty,
.exam-banner {
  box-shadow: 0 12px 34px rgba(42, 67, 54, .055);
}

.hero {
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 42px rgba(25, 67, 51, .16);
}

.hero-actions button,
.btn.solid {
  box-shadow: 0 8px 20px rgba(32, 69, 51, .12);
}

.hero-actions button {
  border-radius: 10px;
  font-weight: 750;
}

.route-card {
  background: linear-gradient(145deg, #fff 0%, #f8faf5 100%);
}

.route-steps button {
  transition: transform .15s ease, background .15s ease;
}

.route-steps button:hover {
  transform: translateY(-2px);
}

.quick {
  border: 1px solid #e1e7df;
  background: #fff;
  box-shadow: 0 8px 22px rgba(45, 68, 55, .045);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick:hover,
.wide-card:hover,
.module-card:hover {
  border-color: #bdccbe;
  box-shadow: 0 16px 34px rgba(45, 68, 55, .09);
  transform: translateY(-3px);
}

.quick.mint { background: linear-gradient(145deg, #fbfdf9, #edf4e9); }
.quick.apricot { background: linear-gradient(145deg, #fffdf9, #f8eee3); }
.quick.lilac { background: linear-gradient(145deg, #fdfcff, #f2edf6); }

.section-heading {
  align-items: end;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dde4da;
}

.section-heading h1 {
  margin-bottom: 8px;
}

.admin-tabs {
  gap: 8px;
  padding: 8px;
  border: 1px solid #dde4da;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.admin-tabs button {
  border: 0;
  border-radius: 9px;
  min-height: 40px;
  transition: background .15s ease, transform .15s ease;
}

.admin-tabs button:hover {
  transform: translateY(-1px);
  background: #edf2ec;
}

.admin-tabs button.on {
  box-shadow: 0 8px 18px rgba(40, 77, 59, .16);
}

.level-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  border: 1px solid #dde4da;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232, 239, 228, .9), rgba(255, 255, 255, .96));
}

.metric:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(248, 237, 225, .9), rgba(255, 255, 255, .96));
}

.metric:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(238, 233, 244, .9), rgba(255, 255, 255, .96));
}

.metric strong {
  margin-bottom: 8px;
  font-size: 2.7rem;
  color: #264a39;
}

.metric span {
  color: #5a6c61;
}

.panel {
  border: 1px solid #dde4da;
  border-radius: 17px;
  background: rgba(255, 255, 255, .94);
}

.btn,
.hero-actions button,
.chips button,
.steps button,
.admin-tabs button {
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn:hover,
.chips button:hover,
.steps button:hover {
  transform: translateY(-1px);
}

.list-item,
.word-row {
  transition: background .15s ease;
}

.list-item:hover,
.word-row:hover {
  background: #f5f8f2;
}

@media (max-width: 860px) {
  .value-strip {
    grid-template-columns: 1fr;
  }

  .value-strip span {
    min-height: 44px;
  }

  .level-grid {
    grid-template-columns: 1fr;
  }

  .admin-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .admin-tabs button {
    flex: 0 0 auto;
  }
}

/* Patio visual refresh */
:root {
  --paper: #f5f4ee;
  --white: #fffefa;
  --ink: #20372d;
  --muted: #718077;
  --soft: #e4e7de;
  --green: #28523d;
  --rust: #b75e43;
  --sage: #e7eee2;
  --lilac: #eee9f2;
  --peach: #f5e8dc;
  --shadow-card: 0 12px 32px rgba(37, 57, 43, .065);
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse at 86% 0%, rgba(224, 232, 214, .42), transparent 34rem),
    var(--paper);
  color: var(--ink);
}

::selection { background: #dce8d7; color: #20372d; }

.shell { grid-template-columns: 252px minmax(0, 1fr); }

.sidebar {
  padding: 28px 17px 18px;
  background: linear-gradient(165deg, #1d4638 0%, #203e32 58%, #263c31 100%);
  border-right: 0;
  box-shadow: 12px 0 36px rgba(26, 49, 37, .1);
}

.brand { color: #fffaf0; font-size: 2.7rem; }
.brand-mark { width: 42px; height: 42px; color: #e3ae72; filter: none; }
.brand-dot { color: #e3ae72; }
.brand-sub { margin: 8px 0 38px 10px; color: #bdc9bc; font-size: .91rem; letter-spacing: .015em; }
.nav-label { color: #a7b9aa; font-size: .68rem; letter-spacing: .15em; }

.nav-item {
  position: relative;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #d9e3da;
  font-size: .93rem;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-item:hover { background: rgba(255, 255, 255, .075); color: #fffefa; transform: translateX(2px); }
.nav-item.current { color: #fffaf0; background: rgba(232, 239, 223, .14); border-color: rgba(232, 239, 223, .08); box-shadow: inset 3px 0 #e3ae72; }
.sidebar-bottom .nav-item.current { background: rgba(232, 239, 223, .14); }
.sidebar-lang { margin: 13px 5px 0; border-color: rgba(236, 241, 233, .15); color: #c4d0c4; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 9;
  height: 74px;
  padding-inline: clamp(26px, 4vw, 66px);
  border-color: rgba(217, 222, 211, .8);
  background: rgba(250, 249, 244, .88);
  backdrop-filter: blur(18px);
}

.crumb { color: #839087; }
.crumb b { color: #344b3e; }

.top-search {
  width: min(300px, 30vw);
  min-height: 40px;
  padding-inline: 12px;
  border-color: #e3e5dc;
  border-radius: 11px;
  background: rgba(255, 255, 252, .9);
  box-shadow: 0 4px 14px rgba(37, 57, 43, .035);
}

.top-search:focus-within,
.searchbox:focus-within {
  border-color: #94aa96;
  box-shadow: 0 0 0 3px rgba(74, 113, 83, .1);
}

.acct { gap: 9px; border-radius: 999px; padding: 4px 7px 4px 4px; transition: background .18s ease; }
.acct:hover { background: #eeefe7; }
.avatar { width: 36px; height: 36px; background: #f1e4d3; border-color: #e6d3ba; color: #77543b; font-weight: 700; }
main { min-height: calc(100vh - 74px); }

.main-inner,
.foot {
  width: min(1450px, 100%);
  padding-right: clamp(26px, 4vw, 66px);
  padding-left: clamp(26px, 4vw, 66px);
}

.main-inner { padding-top: clamp(31px, 4vw, 58px); }
.foot { margin-top: 0; padding-top: 18px; border-top: 1px solid rgba(218, 223, 212, .8); color: #879188; }
.foot a { color: #627568; }
h1, h2, h3 { color: #233a2f; }

.hello { margin-bottom: 22px; }
.date-line { color: #98704f; font-size: .7rem; letter-spacing: .15em; }
.shortline { width: 28px; border-color: #bd7657; }
.hello h1 { font-size: clamp(2.6rem, 4.5vw, 4.35rem); letter-spacing: -.055em; }
.hello h1 span { color: #b45d42; }
.hello p, .section-heading p { color: #748077; }

.value-strip { gap: 12px; margin: 0 0 22px; }
.value-strip span { min-height: 54px; padding: 12px 16px; border-color: #e5e6dd; border-radius: 13px; background: rgba(255, 255, 251, .72); }
.value-strip b { color: #315a41; font-size: .95rem; }
.value-strip small { color: #7a857c; }

.home-grid { grid-template-columns: minmax(0, 2.25fr) minmax(245px, .92fr); gap: 18px; }
.home-primary { display: grid; align-content: start; gap: 14px; min-width: 0; }
.home-aside { display: grid; align-content: start; gap: 14px; min-width: 0; }
.home-aside .route-card { align-self: start; }
.home-primary .course-catalog { margin: 0; }
.home-primary .course-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero { min-height: 338px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 22px; background: #244b3d; box-shadow: 0 20px 46px rgba(34, 64, 46, .18); }
.hero-image { background-position: 66% 52%; transform: scale(1.015); transition: transform .7s ease; }
.hero:hover .hero-image { transform: scale(1.045); }
.hero-shade { background: linear-gradient(90deg, rgba(17, 47, 37, .97) 0%, rgba(22, 52, 40, .9) 34%, rgba(23, 50, 39, .61) 59%, rgba(18, 43, 35, .08) 100%), linear-gradient(0deg, rgba(16, 43, 34, .42), transparent 43%); }
.hero-inner { padding: clamp(26px, 3vw, 43px); }
.hero-over { color: #e3eadc; letter-spacing: .14em; }
.hero-dot { background: #e8b675; box-shadow: 0 0 0 4px rgba(232, 182, 117, .16); }
.hero-meta { margin: 21px 0 10px; }
.hero-meta b { background: #f1e8d8; color: #31513e; }
.hero h2 { font-size: clamp(2rem, 3.4vw, 3.35rem); }
.hero p { max-width: 70%; color: rgba(248, 249, 241, .88); }
.hero-actions { margin-top: 24px; }

.hero-actions button {
  min-height: 45px;
  padding-inline: 18px;
  border-radius: 10px;
  background: #f4eddf;
  color: #254534;
  box-shadow: 0 8px 20px rgba(16, 36, 27, .16);
  transition: transform .18s ease, background .18s ease;
}

.hero-actions button:hover { background: #fffaf0; transform: translateY(-2px); }
.photo-tip { right: 17px; bottom: 16px; padding: 5px 8px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 7px; background: rgba(24, 50, 39, .72); backdrop-filter: blur(8px); }

.route-card,
.panel,
.list-panel,
.filter-box,
.module-card,
.level-box,
.metric,
.wide-card,
.empty,
.exam-banner {
  border-color: #e4e6dd;
  background-color: var(--white);
  box-shadow: var(--shadow-card);
}

.route-card { padding: clamp(20px, 2vw, 30px); border-radius: 19px; background: linear-gradient(155deg, #fffefa 0%, #f7f8f1 100%); }
.card-head { color: #4a5e50; font-size: .94rem; }
.icon-square { border-radius: 12px; }
.route-level { margin: 19px 0 15px; color: #2b4938; }
.route-steps button { border-color: #dce2d8; background: #f7f8f3; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.route-steps button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgba(40, 73, 52, .12); }
.route-steps button.selected { border-color: #315c43; background: #315c43; }
.route-count { color: #7b867d; }
.route-card .line-link { color: #315c43; }

.row-heading { margin: 31px 0 15px; }
.row-heading h2 { color: #2a4033; font-size: clamp(1.55rem, 2.2vw, 2rem); }
.quick-grid { gap: 14px; }

.quick {
  min-height: 145px;
  padding: 19px 20px;
  border: 1px solid #e6e7de;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(37, 57, 43, .045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.quick:hover,
.wide-card:hover,
.module-card:hover {
  border-color: #c8d3c4;
  box-shadow: 0 16px 34px rgba(37, 57, 43, .1);
  transform: translateY(-3px);
}

.quick.mint { background: linear-gradient(145deg, #fffefa, #edf3e9); }
.quick.apricot { background: linear-gradient(145deg, #fffefa, #f8eee3); }
.quick.lilac { background: linear-gradient(145deg, #fffefa, #f1edf5); }
.quick strong { color: #263d30; font-size: 1.12rem; }
.quick small { color: #68786d; }
.qicon { border: 1px solid rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .72); }
.qchev { color: #68796d; }
.lower-grid { gap: 14px; }
.wide-card { min-height: 82px; margin: 0; padding: 16px 18px; border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wide-card strong { color: #2b4235; }
.wide-card small { margin-top: 3px; color: #77837a; }

.section-heading { align-items: flex-start; margin-bottom: 24px; padding-bottom: 21px; border-bottom: 1px solid #e3e5dc; }
.section-heading > div { max-width: 850px; }
.section-heading h1 { margin: 5px 0 8px; font-size: clamp(2.3rem, 4vw, 3.65rem); letter-spacing: -.05em; }
.section-heading p { max-width: 70ch; margin-bottom: 0; line-height: 1.65; }
.eyebrow { color: #a56b4b; font-size: .7rem; letter-spacing: .15em; }
.panel, .filter-box, .empty, .exam-banner { padding: clamp(20px, 2.5vw, 32px); border-radius: 17px; }
.panel h2, .filter-box h2 { color: #2b4435; font-size: 1.65rem; }
.panel p, .module-card p, .empty p { color: #77837a; }

.level-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 13px; margin: 14px 0 21px; }
.level-grid:has(.level-box) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.level-box { min-height: 102px; border-radius: 15px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.level-box:hover { transform: translateY(-2px); border-color: #b9cbb9; }
.level-box b, .metric strong { color: #315a41; }
.level-box span { margin-top: 4px; color: #758178; }
.level-box.chosen { border-color: #78947a; background: #edf3e9; box-shadow: inset 0 0 0 1px rgba(87, 124, 89, .12); }

.metric { min-height: 136px; padding: 22px; border-radius: 17px; }
.metric strong { margin-bottom: 7px; font-size: 2.65rem; }
.metric span { color: #728078; }
.metric:nth-child(2) { background: linear-gradient(140deg, #fbf1e7, #fffefa); }
.metric:nth-child(3) { background: linear-gradient(140deg, #f0edf4, #fffefa); }
.module-grid { gap: 14px; margin: 13px 0 20px; }
.module-card { min-height: 195px; padding: 20px; border-radius: 16px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.module-card h3 { margin: 17px 0 6px; color: #2b4435; }
.module-card p { line-height: 1.55; }
.module-end { color: #708076; }
.tag { border: 1px solid #e5e9df; border-radius: 999px; background: #edf2e9; color: #45644e; font-size: .72rem; letter-spacing: .015em; }

.list-panel { overflow: hidden; border-radius: 15px; }
.list-item { min-height: 69px; padding: 12px 17px; background: transparent; transition: background .16s ease; }
.list-item:hover:not(.static) { background: #f5f7f1; }
.list-item strong, .word-row strong { color: #2c4436; }
.list-item small, .word-row small { color: #7c877e; }
.time { color: #79867b; }
.filter-box { background: linear-gradient(145deg, #fffefa, #f9f9f4); }

.searchbox {
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #e1e5db;
  border-radius: 11px;
  background: #fff;
  color: #708075;
}

.searchbox input { border: 0; background: transparent; box-shadow: none; }
.filters select, .field select, .formstack select { border-color: #dfe4da; border-radius: 10px; background-color: #fffefa; }
.field { color: #405a48; }

.field input,
.field select,
.field textarea,
.formstack input,
.formstack textarea {
  border-color: #dfe4da;
  border-radius: 10px;
  background-color: #fffefa;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.formstack input:focus,
.formstack textarea:focus {
  border-color: #8da78f;
  box-shadow: 0 0 0 3px rgba(74, 113, 83, .1);
  outline: 0;
}

.btn { min-height: 42px; padding: .62rem 1rem; border-radius: 10px; font-weight: 650; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn.solid, .chips button.on, .steps button.on, .admin-tabs button.on { border-color: #2f5a41; background: #2f5a41; color: #fffefa; box-shadow: 0 6px 15px rgba(39, 81, 57, .15); }
.btn.solid:hover:not(:disabled) { background: #234a35; box-shadow: 0 8px 18px rgba(39, 81, 57, .2); }
.btn.light { border-color: #dce3d8; background: #fffefa; color: #3d5a46; }
.btn.light:hover:not(:disabled) { background: #f0f4ed; }
.text-btn, .line-link { color: #315d43; }

.chips button,
.steps button {
  min-height: 39px;
  border-color: #dfe4da;
  background: #fffefa;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.chips button:hover, .steps button:hover { transform: translateY(-1px); border-color: #b7c8b7; }
.chips button.on, .steps button.on { border-color: #2f5a41; }

.admin-tabs {
  gap: 6px;
  margin: 0 0 20px;
  padding: 7px;
  border: 1px solid #e1e5db;
  border-radius: 14px;
  background: rgba(255, 255, 251, .78);
}

.admin-tabs button { min-height: 40px; padding: 8px 13px; border: 1px solid transparent; border-radius: 9px; color: #65756a; font-size: .86rem; transition: background .16s ease, color .16s ease, transform .16s ease; }
.admin-tabs button:hover { background: #f0f3eb; transform: translateY(-1px); }
.admin-tabs button.on { color: #fffefa; }
.admin-tree { gap: 16px; }
.admin-tree .panel { border-radius: 16px; }
.tree-item { border-color: #e8e9e1; }
.tree-item > button { padding: 9px; border-radius: 8px; }
.tree-item > button:hover { background: #f3f5ef; }
.exam-banner { border-color: #ead9c7; background: linear-gradient(125deg, #f8eee1, #fff9f0); }
.passage { border-left-color: #bd7657; background: #f7f5ec; border-radius: 4px 12px 12px 4px; }
.notice, .language-note { border-color: #dce5d8; border-radius: 12px; background: #eef4ea; }
.notice.error { border-color: #edcec3; background: #fbefeb; }
.audio, .recorder, .edit-block, .preview-pane { border-color: #e1e5dc; border-radius: 13px; background: #f8f9f4; }
.play { background: #315a41; box-shadow: 0 4px 10px rgba(39, 81, 57, .18); }
.options > * { border-color: #e1e5dc; border-radius: 10px; transition: border-color .16s ease, background .16s ease; }
.options > *:hover { border-color: #b6c8b5; background: #f8faf5; }
.options .chosen, .photo-grid .chosen { border-color: #759276; background: #edf3e9; }
.question { border-color: #e6e8df; }
.question-num { background: #eaf0e6; color: #45664e; }
.warmup { border: 1px solid #e3e8dc; border-radius: 12px; background: #f3f6ee; }
.pair-grid button, .word-order button { border-color: #dce4d9; border-radius: 9px; transition: background .15s ease, border-color .15s ease; }
.pair-grid button:hover, .word-order button:hover { border-color: #a9bea9; background: #f4f8f1; }
.pair-grid .chosen { border-color: #779277; background: #e8f0e5; }

.bottom-nav { background: rgba(250, 249, 244, .96); backdrop-filter: blur(14px); }
.bottom-nav .nav-item { color: #65756a; }
.bottom-nav .nav-item.current { color: #2c5a40; background: #e7eee2; box-shadow: none; }
.toast { border: 1px solid rgba(255, 255, 255, .12); background: #234735; box-shadow: 0 12px 34px rgba(25, 50, 36, .24); }
.loading { min-height: 72px; color: #6c7d70; }

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible { outline-color: #b65f43; }

@media (max-width: 1150px) {
  .shell { grid-template-columns: 228px minmax(0, 1fr); }
  .home-grid { grid-template-columns: minmax(0, 1.8fr) minmax(220px, .9fr); }
}

@media (max-width: 860px) {
  .level-grid:has(.level-box) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { width: 260px; box-shadow: 18px 0 48px rgba(20, 42, 31, .25); }
  .topbar { height: 64px; }
  .main-inner, .foot { padding-right: 22px; padding-left: 22px; }
  .bottom-nav { border-color: #e1e4da; box-shadow: 0 -7px 24px rgba(35, 54, 41, .05); }
  .home-grid { grid-template-columns: minmax(0, 1.65fr) minmax(200px, .9fr); }
}

@media (max-width: 620px) {
  .topbar { height: 60px; }
  .main-inner { padding: 25px 16px; }
  .foot { padding-right: 16px; padding-left: 16px; }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .hello h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .value-strip { grid-template-columns: 1fr; gap: 8px; }
  .value-strip span { min-height: 44px; padding: 9px 13px; }
  .hero { min-height: 275px; border-radius: 18px; }
  .hero-inner { padding: 22px; }
  .hero p { max-width: 86%; }
  .route-card { padding: 16px; border-radius: 16px; }
  .quick { min-height: 122px; padding: 12px 10px; border-radius: 13px; }
  .quick strong { font-size: .92rem; }
  .quick small { font-size: .75rem; }
  .section-heading { margin-bottom: 20px; padding-bottom: 17px; }
  .section-heading h1 { font-size: clamp(2.1rem, 8.5vw, 3rem); }
  .panel, .filter-box, .empty, .exam-banner { padding: 16px; border-radius: 14px; }
  .metric { min-height: 110px; padding: 15px; border-radius: 14px; }
  .level-box, .module-card { padding: 15px; border-radius: 13px; }
  .list-item { padding: 11px; }
  .admin-tabs { margin-inline: -2px; overflow-x: auto; scrollbar-width: thin; }
  .admin-tabs button { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.dashboard-hello {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-hello > div { max-width: 860px; }
.dashboard-hello p { max-width: 68ch; }

.dashboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  margin-bottom: 12px;
  padding: 8px 12px;
  border: 1px solid #e6e5d9;
  border-radius: 999px;
  background: rgba(255, 255, 251, .72);
  color: #607466;
  font-size: .77rem;
  letter-spacing: .015em;
}

.dashboard-badge svg { color: #ad7350; }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.dashboard-stat {
  display: grid;
  grid-template-columns: 41px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 12px;
  min-width: 0;
  min-height: 82px;
  padding: 13px 15px;
  border: 1px solid #e4e6dc;
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(255, 255, 251, .94), rgba(247, 248, 241, .92));
  color: var(--ink);
  text-align: left;
  box-shadow: 0 7px 20px rgba(37, 57, 43, .035);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dashboard-stat:hover {
  transform: translateY(-2px);
  border-color: #cbd6c7;
  box-shadow: 0 13px 28px rgba(37, 57, 43, .085);
}

.stat-icon {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #eaf0e5;
  color: #45674d;
}

.stat-streak .stat-icon { background: #f7eade; color: #b15d3f; }
.stat-reviews .stat-icon { background: #eee9f4; color: #725d87; }
.stat-copy { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.stat-copy strong { color: #274c37; font: 600 1.43rem/1 var(--serif); }
.stat-copy small { overflow: hidden; color: #708076; font-size: .81rem; text-overflow: ellipsis; white-space: nowrap; }
.stat-note { display: inline-flex; grid-column: 2; align-items: center; gap: 4px; color: #8a948b; font-size: .72rem; }
.stat-reviews .stat-note { color: #536f5b; }

.route-progress {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 14px 0 17px;
  padding: 13px;
  border: 1px solid #e8ebe1;
  border-radius: 14px;
  background: rgba(245, 247, 240, .82);
}

.progress-donut {
  display: grid;
  position: relative;
  flex: none;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fffefa 79%, transparent 81%), conic-gradient(#4b7852 var(--progress), #e3e9df 0);
  color: #315940;
}

.progress-donut span { font-size: .79rem; font-weight: 750; }
.route-progress-copy { display: grid; gap: 2px; min-width: 0; }
.route-progress-copy > small:first-child { color: #879188; font-size: .62rem; letter-spacing: .1em; }
.route-progress-copy strong { color: #2e513c; font: 600 1.25rem/1.1 Georgia, "Times New Roman", serif; }
.route-progress-copy strong span { color: #879188; font: 400 .86rem Arial, sans-serif; }
.route-progress-copy > small:last-child { color: #77837a; font-size: .73rem; }

.hero-inner { position: relative; z-index: 1; }
.hero-orbit { position: absolute; z-index: 0; pointer-events: none; border: 1px solid rgba(248, 236, 205, .28); border-radius: 50%; }
.hero-orbit-one { top: -82px; right: 12%; width: 210px; height: 210px; }
.hero-orbit-two { top: -44px; right: 5%; width: 134px; height: 134px; border-color: rgba(248, 236, 205, .18); }

.home-extras {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin: 20px 0 4px;
}

.daily-word-card,
.weekly-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e6dc;
  border-radius: 18px;
  box-shadow: 0 11px 30px rgba(37, 57, 43, .055);
}

.daily-word-card {
  display: flex;
  flex-direction: column;
  min-height: 282px;
  padding: 22px 24px 18px;
  background:
    radial-gradient(circle at 89% 19%, rgba(232, 199, 144, .35), transparent 9rem),
    linear-gradient(135deg, #f8f2e7 0%, #fbfaf4 53%, #edf1e8 100%);
}
.home-extras .daily-word-card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr auto; column-gap: 28px; }
.home-extras .daily-word-top { grid-column: 1 / -1; }
.home-extras .daily-word-main { grid-column: 1; grid-row: 2 / 4; margin: 16px 0 0; }
.home-extras .daily-word-card blockquote { grid-column: 2; grid-row: 2; align-self: end; margin: 0 0 12px; }
.home-extras .word-practice-link { grid-column: 2; grid-row: 3; align-self: start; }

.daily-word-orb {
  position: absolute;
  top: 52px;
  right: -25px;
  width: 182px;
  height: 182px;
  border: 1px solid rgba(177, 127, 78, .16);
  border-radius: 50%;
  pointer-events: none;
}

.daily-word-orb::before,
.daily-word-orb::after {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(177, 127, 78, .12);
  border-radius: 50%;
  content: "";
}

.daily-word-orb::after { inset: 31px; background: rgba(255, 255, 250, .25); }

.daily-word-top,
.daily-word-title,
.weekly-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.daily-word-top { position: relative; z-index: 1; }
.daily-word-top > span { display: inline-flex; align-items: center; gap: 7px; color: #97704e; font-size: .67rem; font-weight: 750; letter-spacing: .14em; }
.daily-word-top > span svg { color: #ba8053; }
.daily-word-top b { padding: 4px 8px; border: 1px solid #e8dfd1; border-radius: 999px; background: rgba(255, 255, 255, .55); color: #7a674f; font-size: .7rem; }
.daily-word-main { position: relative; z-index: 1; margin: 23px 0 15px; }
.daily-word-title { justify-content: flex-start; gap: 10px; }
.daily-word-title h2 { margin: 0; color: #2c4635; font: 500 clamp(1.7rem, 3vw, 2.45rem)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }

.speak-word {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid #e1dfd3;
  border-radius: 50%;
  background: rgba(255, 255, 251, .76);
  color: #57745d;
  transition: transform .16s ease, background .16s ease;
}

.speak-word:hover { transform: scale(1.06); background: #fffefa; }
.word-meaning { min-height: 24px; margin: 9px 0 11px; color: #7b877c; font-size: .91rem; transition: color .2s ease, transform .2s ease; }
.word-meaning.revealed { color: #315a41; font-weight: 700; transform: translateY(-1px); }

.word-reveal,
.word-practice-link,
.weekly-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  transition: transform .16s ease, background .16s ease;
}

.word-reveal { padding: 0 13px; background: #315a41; color: #fffefa; }
.word-reveal:hover { transform: translateY(-1px); background: #234a35; }
.daily-word-card blockquote { position: relative; z-index: 1; margin: auto 0 13px; padding-left: 12px; border-left: 2px solid #c69367; color: #647568; font: italic .91rem/1.5 Georgia, "Times New Roman", serif; }
.word-practice-link { min-height: 28px; padding: 0; background: transparent; color: #526e58; }
.word-practice-link:hover, .weekly-link:hover { transform: translateX(2px); }

.weekly-card {
  display: flex;
  flex-direction: column;
  min-height: 282px;
  padding: 21px 22px 17px;
  background: linear-gradient(155deg, #fffefa, #f5f7f0);
}

.weekly-card-head { align-items: flex-start; }
.weekly-card-head h2 { margin: 4px 0 0; color: #2e4737; font: 500 1.38rem/1.12 var(--serif); }
.weekly-card-head .eyebrow { margin: 0; font-size: .63rem; }
.weekly-total { display: grid; justify-items: end; gap: 0; padding: 6px 10px; border: 1px solid #e7ebe1; border-radius: 10px; background: #fffefa; }
.weekly-total strong { color: #315940; font: 600 1.2rem/1 Georgia, "Times New Roman", serif; }
.weekly-total small { color: #819087; font-size: .64rem; }

.week-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  min-height: 105px;
  margin: 15px 0 8px;
  padding: 8px 9px 5px;
  border: 1px solid #eaede5;
  border-radius: 13px;
  background: rgba(255, 255, 255, .67);
}

.week-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.week-bar-track { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 64px; }
.week-bar-track > span { display: block; width: min(17px, 72%); min-height: 5px; border-radius: 999px; background: linear-gradient(180deg, #8eac82, #4d7756); transform-origin: bottom; animation: bar-rise .65s cubic-bezier(.2,.8,.2,1) both; }
.week-day.today .week-bar-track > span { background: linear-gradient(180deg, #dfb072, #bc714d); }
.week-day small { color: #89938b; font-size: .62rem; text-transform: uppercase; }
.week-day.today small { color: #a46142; font-weight: 750; }
.weekly-note { margin: 0 0 9px; color: #748178; font-size: .77rem; line-height: 1.45; }
.weekly-link { min-height: 28px; margin-top: auto; padding: 0; background: transparent; color: #315d43; }

.dashboard > * { animation: dashboard-enter .45s cubic-bezier(.2, .75, .25, 1) both; }
.dashboard > *:nth-child(2) { animation-delay: .04s; }
.dashboard > *:nth-child(3) { animation-delay: .08s; }
.dashboard > *:nth-child(4) { animation-delay: .12s; }
.dashboard > *:nth-child(5) { animation-delay: .16s; }
.dashboard > *:nth-child(6) { animation-delay: .2s; }
.dashboard > *:nth-child(7) { animation-delay: .24s; }

@keyframes dashboard-enter {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bar-rise {
  from { transform: scaleY(.1); }
  to { transform: scaleY(1); }
}

@media (max-width: 1050px) {
  .home-extras { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
  .dashboard-badge { font-size: .7rem; }
}

@media (max-width: 860px) {
  .dashboard-hello { align-items: flex-start; }
  .home-extras { grid-template-columns: minmax(0, 1fr); }
  .weekly-card { min-height: 250px; }
}

@media (max-width: 620px) {
  .dashboard-hello { display: block; margin-bottom: 17px; }
  .dashboard-badge { margin: 0 0 2px; }
  .dashboard-stats { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 15px; }
  .dashboard-stat { min-height: 68px; padding: 10px 12px; }
  .home-extras { gap: 10px; margin-top: 14px; }
  .daily-word-card { min-height: 260px; padding: 19px 18px 15px; }
  .weekly-card { min-height: 250px; padding: 18px; }
  .hero-orbit-one { right: 1%; }
  .hero-orbit-two { right: -8%; }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard > *,
  .week-bar-track > span { animation: none; }
}

.daily-focus {
  display: flex;
  align-self: start;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  min-height: 132px;
  overflow: hidden;
  padding: 14px 18px;
  border: 1px solid #dfe6dc;
  border-radius: 17px;
  background:
    radial-gradient(circle at 90% 8%, rgba(210, 223, 199, .7), transparent 12rem),
    linear-gradient(140deg, #f8faf3, #fffefa 57%, #f5f1e7);
  box-shadow: 0 14px 36px rgba(37, 57, 43, .06);
}

.daily-focus::after {
  position: absolute;
  right: -66px;
  bottom: -124px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(89, 128, 91, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 23px rgba(89, 128, 91, .035), 0 0 0 48px rgba(89, 128, 91, .025);
  content: "";
  pointer-events: none;
}

.focus-over,
.focus-footer {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.focus-over { justify-content: flex-start; color: #788b78; font-size: .62rem; font-weight: 750; letter-spacing: .13em; }
.focus-over > span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #e6e8dc; border-radius: 8px; background: rgba(255, 255, 251, .8); color: #a87450; }
.focus-copy { position: relative; z-index: 1; margin: 4px 0; }
.focus-copy h2 { max-width: 32ch; margin: 0 0 3px; color: #284736; font: 500 clamp(1.2rem, 1.6vw, 1.45rem)/1.13 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.focus-copy p { max-width: 58ch; margin: 0; color: #6f7e72; font-size: .75rem; line-height: 1.4; }
.focus-action { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 11px; border: 0; border-radius: 8px; background: #315a41; color: #fffefa; font-size: .74rem; font-weight: 700; transition: transform .16s ease, background .16s ease; }
.focus-action:hover { transform: translateY(-1px); background: #234a35; }
.focus-footer > span { color: #819087; font-size: .72rem; }

.course-catalog { margin: 8px 0 24px; }
.course-catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.course-catalog-heading .eyebrow { color: #829083; font-size: .64rem; font-weight: 750; letter-spacing: .13em; }
.course-catalog-heading h2 { margin: 3px 0 0; color: #2a4033; font: 500 clamp(1.25rem, 1.8vw, 1.55rem)/1.2 Georgia, "Times New Roman", serif; }
.course-catalog-heading .line-link { flex: none; }
.course-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.course-catalog-card { display: grid; position: relative; grid-template-columns: 36px minmax(0, 1fr) 16px; grid-template-rows: 1fr auto; align-items: center; gap: 9px 10px; min-width: 0; min-height: 112px; padding: 12px; border: 1px solid #e2e7dd; border-radius: 14px; background: linear-gradient(145deg, #fffefa, #f7f8f2); color: #304b39; text-align: left; box-shadow: 0 7px 20px rgba(37, 57, 43, .035); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.course-catalog-card:hover { transform: translateY(-2px); border-color: #b9cbb9; box-shadow: 0 12px 24px rgba(37, 57, 43, .08); }
.main-course-card { border-color: #d3dfd1; background: linear-gradient(145deg, #f4f8ef, #fffefa); }
.course-catalog-icon { display: grid; grid-row: 1 / 3; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #e9f0e5; color: #456a4d; }
.course-catalog-copy { display: grid; align-content: center; min-width: 0; gap: 4px; }
.course-catalog-copy strong { display: -webkit-box; overflow: hidden; color: #2c4937; font: 600 .9rem/1.2 Georgia, "Times New Roman", serif; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.course-catalog-copy small { overflow: hidden; color: #77847a; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.course-catalog-copy em { overflow: hidden; color: #8a795f; font-size: .59rem; font-style: normal; font-weight: 700; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.course-catalog-arrow { color: #829087; }
.course-catalog-progress { display: block; grid-column: 2 / 3; height: 4px; overflow: hidden; border-radius: 999px; background: #e3e9df; }
.course-catalog-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8ca980, #4a7652); }
.course-page-catalog { margin: 18px 0 30px; }
.course-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; }
.course-detail-meta span { padding: 6px 10px; border: 1px solid #e2e8de; border-radius: 999px; background: #f7f9f3; color: #67786b; font-size: .73rem; }

.started-course-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.started-course {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 8px 11px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #e2e6dc;
  border-radius: 15px;
  background: linear-gradient(145deg, #fffefa, #f8f9f3);
  color: #2e4637;
  text-align: left;
  box-shadow: 0 8px 22px rgba(37, 57, 43, .04);
  transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;
}

.started-course:hover { transform: translateY(-2px); border-color: #b9cbb9; box-shadow: 0 13px 26px rgba(37, 57, 43, .08); }
.started-course-icon { display: grid; grid-row: 1 / 3; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: #eaf0e5; color: #45674d; }
.started-course-copy { display: grid; min-width: 0; gap: 4px; }
.started-course-copy strong { overflow: hidden; color: #2c4937; font: 600 .99rem/1.2 Georgia, "Times New Roman", serif; text-overflow: ellipsis; white-space: nowrap; }
.started-course-copy small { overflow: hidden; color: #7a877d; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.started-course-count { color: #6b7b6f; font-size: .7rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.started-course-track { display: block; grid-column: 2; height: 5px; overflow: hidden; border-radius: 999px; background: #e6ebe2; }
.started-course-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8ca980, #4a7652); }
.started-course-arrow { grid-column: 3; color: #758779; }

.started-courses-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border: 1px dashed #d8dfd3;
  border-radius: 14px;
  background: rgba(255, 255, 251, .55);
}

.started-courses-empty p { margin: 0; color: #76847a; font-size: .84rem; }
.started-courses-empty .line-link { flex: none; }

.ol-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ol-card { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 19px; border: 1px solid #e3e7dd; border-radius: 16px; background: linear-gradient(145deg, #fffefa, #f8f9f4); }
.ol-card h2 { margin: 13px 0 8px; color: #294836; font: 500 1.25rem/1.2 Georgia, "Times New Roman", serif; }
.ol-card p { color: #718076; font-size: .84rem; line-height: 1.5; }
.ol-card-head { display: flex; align-items: center; gap: 10px; }
.ol-card-head > div:last-child { display: grid; justify-items: start; gap: 5px; }
.ol-card-head small { color: #78867b; font-size: .75rem; }
.ol-time { display: flex; align-items: center; gap: 7px; color: #65796b !important; }
.ol-time svg { flex: none; color: #9a7956; }
.ol-card .actions { margin-top: auto; padding-top: 6px; }
.ol-pending { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #eadfce; border-radius: 10px; background: #faf4e9; color: #8d704f; font-size: .76rem; }
.ol-section { margin: 14px 0; }
.ol-section h2 { margin: 0; color: #2e4938; font: 500 1.35rem/1.2 Georgia, "Times New Roman", serif; }
.ol-section p { margin: 6px 0 0; color: #748178; font-size: .83rem; }
.ol-admin-link { margin-top: 18px; }
.ol-study-layout,
.ol-review-layout { display: grid; grid-template-columns: minmax(225px, .75fr) minmax(0, 1.6fr); align-items: start; gap: 14px; }
.ol-outline { position: sticky; top: 78px; display: grid; gap: 6px; padding: 15px; border: 1px solid #e3e7dd; border-radius: 15px; background: #fffefa; }
.ol-outline h2 { margin: 0; color: #2d4d39; font: 500 1.15rem Georgia, "Times New Roman", serif; }
.ol-outline p { margin: 0 0 4px; color: #7b887e; font-size: .78rem; }
.ol-outline button { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #53675a; font-size: .79rem; text-align: left; }
.ol-outline button:hover { background: #f3f6ef; }
.ol-outline button.selected { border-color: #dce5d8; background: #edf3e9; color: #315a41; }
.ol-outline button > span { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #f0f2ec; color: #697d6d; font-size: .72rem; }
.ol-outline button.selected > span { background: #315a41; color: #fffefa; }
.ol-unit { min-width: 0; padding: 22px; border: 1px solid #e2e7dd; border-radius: 16px; background: #fffefa; }
.ol-unit h2 { margin: 12px 0 7px; color: #294836; font: 500 1.55rem/1.2 Georgia, "Times New Roman", serif; }
.ol-unit > p { color: #718076; font-size: .88rem; line-height: 1.55; }
.ol-field { display: grid; gap: 7px; margin: 15px 0; color: #435b49; font-size: .85rem; }
.ol-reading { margin: 12px 0; padding: 15px; border: 1px solid #e8e8dc; border-radius: 12px; background: #f7f6ef; color: #354d3d; font-size: .93rem; line-height: 1.65; white-space: pre-wrap; }
.ol-reading details { margin-top: 10px; }
.ol-reading summary { color: #49674f; cursor: pointer; font-size: .8rem; font-weight: 650; }
.ol-reading .btn { margin-bottom: 8px; }
.ol-photo { margin: 12px 0; }
.ol-photo img { display: block; width: 100%; max-height: 340px; border-radius: 12px; object-fit: cover; }
.ol-photo figcaption { margin-top: 6px; color: #829087; font-size: .7rem; }
.ol-photo a, .ol-sources a { color: #315d43; }
.ol-course-foot { display: grid; gap: 10px; margin-top: 14px; color: #829087; font-size: .76rem; }
.ol-sources { padding-top: 11px; border-top: 1px solid #e5e9df; }
.ol-sources > span { color: #76867a; font-size: .72rem; font-weight: 700; }
.ol-sources ul { display: flex; flex-wrap: wrap; gap: 6px 15px; margin: 6px 0; padding: 0; list-style: none; }
.ol-sources li { font-size: .74rem; }
.ol-sources a { display: inline-flex; align-items: center; gap: 4px; }
.ol-sources small { color: #88948b; font-size: .68rem; }
.ol-review { display: grid; gap: 14px; }
.ol-review > h3 { margin: 2px 0 0; color: #2e4938; font: 500 1.2rem Georgia, "Times New Roman", serif; }
.ol-review-layout { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.5fr); }
.ol-review-layout .ol-outline { position: static; }
.ol-review-unit { min-width: 0; padding: 16px; border: 1px solid #e5e8df; border-radius: 13px; background: #fafaf6; }
.ol-review-unit h3 { margin: 0 0 7px; color: #2e4938; font: 500 1.15rem Georgia, "Times New Roman", serif; }
.ol-source-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: end; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e8ebe4; }
.ol-approval { display: grid; gap: 10px; justify-items: start; margin-top: 10px; padding: 13px; border: 1px solid #dfe7dc; border-radius: 12px; background: #f4f7f0; }
.ol-inbox-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid #e8ebe4; }
.ol-inbox-item:last-child { border-bottom: 0; }
.ol-inbox-item h3 { margin: 7px 0 3px; color: #2e4938; font: 500 1.05rem Georgia, "Times New Roman", serif; }
.ol-inbox-item small, .ol-sync-detail { color: #758279; font-size: .75rem; }

@media (max-width: 860px) {
  .ol-grid { grid-template-columns: minmax(0, 1fr); }
  .ol-study-layout, .ol-review-layout { grid-template-columns: minmax(0, 1fr); }
  .ol-outline { position: static; }
  .course-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .daily-focus { min-height: 126px; padding: 13px 15px; }
  .focus-copy { margin: 4px 0; }
  .focus-copy h2 { font-size: 1.2rem; }
  .focus-footer { align-items: center; flex-direction: row; }
  .started-course-grid { grid-template-columns: minmax(0, 1fr); }
  .started-courses-empty { align-items: flex-start; flex-direction: column; }
  .course-catalog { margin-bottom: 20px; }
  .course-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .course-catalog-card { min-height: 112px; padding: 10px; grid-template-columns: 31px minmax(0, 1fr) 14px; gap: 8px; }
  .course-catalog-icon { width: 31px; height: 31px; border-radius: 9px; }
  .course-catalog-copy strong { font-size: .79rem; }
  .course-catalog-copy small { font-size: .65rem; }
  .course-catalog-copy em { font-size: .53rem; }
  .course-catalog-heading { align-items: center; }
  .course-catalog-heading .line-link { gap: 3px; font-size: .72rem; }
  .ol-unit { padding: 16px; }
  .ol-inbox-item { align-items: flex-start; flex-direction: column; }
  .ol-source-edit { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .course-catalog-grid { grid-template-columns: minmax(0, 1fr); }
}

:root { font-size: 17px; }
small,
time { font-size: .92rem; }
.focus-over { font-size: .76rem; }
.focus-copy h2 { font-size: clamp(1.45rem, 1.8vw, 1.75rem); }
.focus-copy p { font-size: .93rem; line-height: 1.5; }
.focus-action { min-height: 40px; padding-inline: 14px; font-size: .9rem; }
.focus-footer > span { font-size: .84rem; }
.course-catalog { margin-top: 20px; }
.course-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.course-catalog-card { min-height: 126px; padding: 15px; }
.course-catalog-copy strong { font-size: 1rem; line-height: 1.3; }
.course-catalog-copy small { font-size: .84rem; }
.course-catalog-copy em { font-size: .72rem; }
.daily-word-top > span,
.daily-word-top b { font-size: .8rem; }
.stat-copy small { font-size: .9rem; }
.stat-note { font-size: .82rem; }
.listening-practice { display: grid; gap: 12px; padding: 16px; border: 1px solid #dfe6dc; border-radius: 12px; background: #f7f9f5; }
.listening-practice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.listening-practice > p { margin: 0; color: #647568; font-size: .95rem; }
.listening-practice .passage { margin: 0; font-size: 1.2rem; }

@media (max-width: 860px) {
  .course-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-primary .course-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .course-catalog-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-primary .course-catalog-grid { grid-template-columns: minmax(0, 1fr); }
  .course-catalog-card { min-height: 108px; padding: 14px; }
  .course-catalog-copy strong { font-size: 1.02rem; }
  .course-catalog-copy small { font-size: .88rem; }
  .course-catalog-copy em { font-size: .76rem; }
  .focus-copy h2 { font-size: 1.48rem; }
}

@media (max-width: 620px) {
  .home-extras .daily-word-card { display: flex; }
}
