
@theme { --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
:root{--ink:#202d2b;--muted:#7b8585;--green:#215849;--green-dark:#173f36;--line:#e8eceb;--background:#f6f7f9;--lime:#d4e7a5;--shadow:0 4px 20px #173f3604}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--ink);font-family:var(--font-sans);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #9bbda4;outline-offset:3px}input,select,textarea{min-width:0;width:100%;border:1px solid #dde3e1;border-radius:10px;background:white;color:var(--ink);padding:12px 14px;outline:0;font-size:16px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#5c947f;box-shadow:0 0 0 3px #e4eee9}textarea{resize:vertical;min-height:100px}input[type=range]{padding:0;accent-color:var(--green);border:0;box-shadow:none;margin-top:18px}input[type=checkbox]{width:17px;height:17px;accent-color:var(--green);flex-shrink:0}select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23687971' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat}label{display:block;font-size:14px;font-weight:500;line-height:1.5}label input,label select,label textarea{margin-top:8px}h1,h2,h3,h4,p{margin:0}h1{font-size:32px;line-height:1.25;letter-spacing:-1.1px;font-weight:650}h2{font-size:23px;line-height:1.35;letter-spacing:-.6px;font-weight:620}h3{font-size:17px;font-weight:620;letter-spacing:-.2px}p{color:#75817e}small{font-size:13px}strong{font-weight:620}svg{flex-shrink:0;stroke-width:1.7}.muted{color:var(--muted)}.divider{height:1px;background:var(--line);margin:24px 0}.inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.full{width:100%}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:10px;padding:12px 20px;font-size:14px;line-height:1.5;font-weight:600;transition:background .15s,transform .15s;min-height:44px}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#164637}.light{background:#fff;color:#224c40}.subtle{background:#fff;border:1px solid #e2e8e4;color:#485d54}.subtle:hover{background:#f4f8f5}.danger{background:#fae9e7;color:#a13f34}.text-button{background:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--green);font-size:14px;padding:10px 0}.icon-button{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:10px;color:#70817b}.text-link{display:inline-flex;gap:5px;align-items:center;font-size:14px;color:var(--green);font-weight:500}.eyebrow{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:650;letter-spacing:1.55px;color:#7b8984;line-height:1.5}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:var(--shadow)}.card>p{margin-top:12px;font-size:14px}.card>h3+.button,.card>p+.button{margin-top:20px}.pill{font-size:12px;font-weight:500;border-radius:20px;padding:6px 10px;background:#f1f4f2;color:#718178;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.pill.success{background:#edf5ef;color:#387350}.pill.warning{background:#fff4e5;color:#a77c39}.badge{font-size:11px;font-weight:550;color:#83918b;background:#f5f7f5;border:1px solid #ebefec;border-radius:6px;padding:4px 7px;white-space:nowrap}.green-dot{width:6px;height:6px;background:#71a284;border-radius:50%}.notice{display:flex;align-items:flex-start;gap:10px;background:#f0f5f2;border:1px solid #dde9e0;border-radius:12px;padding:14px 17px;margin-bottom:22px;font-size:14px;color:#5a7263}.notice a{color:#255f47;text-decoration:underline}.notice.error{background:#fff0ee;color:#a45045;border-color:#f1d7d3}.empty{text-align:center;padding:64px 28px;display:flex;flex-direction:column;align-items:center;gap:15px}.empty>svg{color:#6b9b81}.empty p{max-width:560px}.empty .button{margin-top:8px}.loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid #e8edeb;padding:34px 19px 20px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;white-space:nowrap;margin-left:9px}.brand>div:last-child{font-size:23px;font-weight:700;letter-spacing:-1.1px}.brand>div>span{font-weight:400;color:#6c877b;margin-left:3px}.brand small{display:block;letter-spacing:1.05px;font-size:8px;font-weight:600;color:#99a49e;margin-top:1px}.brand-symbol{width:39px;height:42px;background:var(--green);color:#fff;border-radius:12px;font-family:Georgia,serif;font-weight:bold;font-size:39px;line-height:37px;text-align:center;position:relative;flex-shrink:0}.brand-symbol span{position:absolute;width:8px;height:8px;right:6px;bottom:6px;border-radius:50%;background:var(--lime)}.sidebar-label{font-size:10px;letter-spacing:1.55px;color:#a5ada9;font-weight:600;margin:43px 14px 15px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav a{display:flex;gap:12px;align-items:center;color:#7c8782;font-size:13px;font-weight:450;padding:12px 13px;border-radius:9px;min-height:44px}.sidebar nav a:hover{background:#f6f8f6}.sidebar nav a.active{background:#eaf2ed;color:#2e5b44;font-weight:600}.sidebar nav a.active:before{content:'';height:17px;position:absolute;left:0;background:#335c45;width:3px;border-radius:0 3px 3px 0}.nav-count{margin-left:auto;background:#eaece6;font-size:11px;padding:0 5px;border-radius:5px}.sidebar-goal{background:#f5f8f3;border:1px solid #e7ede1;margin:32px 7px 0;padding:18px 16px;border-radius:12px}.sidebar-goal .eyebrow{font-size:9px;color:#7a8e74;letter-spacing:1px}.sidebar-goal strong{font-size:25px;display:block;margin-top:11px;color:#355d43}.sidebar-goal strong span{display:block;font-size:11px;letter-spacing:0;color:#87967f;font-weight:400}.sidebar-goal p{font-size:11px;margin:9px 0 14px;color:#879480}.sidebar-goal a{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e5ebdf;padding-top:11px;font-size:11px;color:#55754e}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom>a,.sidebar-bottom>button{display:flex;align-items:center;gap:11px;padding:8px 14px;background:transparent;font-size:13px;color:#8b9690}.user-mini{display:flex;align-items:center;gap:10px;margin:19px 7px 0;padding-top:20px;border-top:1px solid var(--line)}.user-mini strong{font-size:12px;display:block}.user-mini small{font-size:10px;display:block;color:#9da59f}.avatar{background:#e9e5de;color:#827460;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:13px;font-weight:600;flex-shrink:0}.avatar.small{width:32px;height:32px}.main-wrap{margin-left:244px;width:calc(100% - 244px);min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;border-bottom:1px solid #e8eceb;background:#fcfdfd}.top-left,.top-right{display:flex;align-items:center;gap:24px}.top-left>span{font-size:12px;color:#9aa49e}.top-right{gap:22px}.date-label{font-size:12px;color:#8e9a93}.streak{font-size:12px;color:#a18450;display:flex;align-items:center;gap:5px;padding-left:22px;border-left:1px solid #e6e9e4}.main-content{max-width:1430px;margin:0 auto;padding:38px 42px 46px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading .eyebrow{margin-bottom:10px;font-size:10px}.page-heading p{font-size:14px;margin-top:9px;color:#8a9590}.page-heading>.pill{background:white;border:1px solid #e5ebe6;color:#78927e;font-size:11px;padding:7px 12px;align-self:flex-end;margin-bottom:8px}.overview-top{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(220px,1fr);gap:22px}.hero-card{background:linear-gradient(115deg,#224f42,#34624d);border-radius:16px;min-height:299px;position:relative;overflow:hidden;color:#fff;display:flex}.hero-copy{padding:31px;z-index:2;width:65%}.hero-tag{display:inline-flex;gap:7px;align-items:center;font-size:9px;letter-spacing:1.2px;color:#d3e8ca;border:1px solid #66816b;border-radius:20px;padding:5px 9px}.hero-copy h2{font-size:30px;line-height:1.28;font-weight:550;letter-spacing:-.6px;margin-top:16px}.hero-copy p{font-size:12px;line-height:1.7;color:#a9c2b1;margin-top:11px;max-width:320px}.hero-actions{display:flex;align-items:center;gap:14px;margin-top:22px}.hero-actions .button{font-size:12px;padding:11px 16px;min-height:40px}.hero-actions>span{font-size:10px;color:#bed0bd;display:flex;align-items:center;gap:5px}.hero-bottom{display:flex;align-items:center;gap:5px;font-size:9px;color:#91b29e;margin-top:20px}.hero-art{position:absolute;right:12px;top:10px;width:265px;height:300px}.orbit{position:absolute;border:1px solid #91b99c26;border-radius:50%;width:295px;height:295px;top:45px;left:-5px}.orbit-two{width:220px;height:220px;top:85px;left:33px}.art-card{position:absolute;width:157px;height:192px;border-radius:10px}.card-back{right:9px;top:58px;transform:rotate(14deg);background:#a8c788;color:#3b633b;padding:25px 16px;box-shadow:0 8px 16px #102f2b10}.card-back span{font-size:11px;display:block}.card-back small{font-size:10px}.card-front{right:54px;top:64px;transform:rotate(-9deg);background:#f6f6eb;padding:20px 15px;box-shadow:0 10px 20px #102b2330}.art-icon{color:#73875e;background:#e7ead6;display:flex;align-items:center;justify-content:center;width:46px;height:42px;border-radius:9px;margin-bottom:14px}.card-front small{font-size:6px;letter-spacing:1.6px;color:#91a080;display:block}.card-front strong{display:block;font-size:16px;color:#42593b;margin-top:3px;white-space:nowrap}.card-front>span{font-size:9px;color:#98a28b}.art-divider{height:1px;background:#dfe4d2;margin:13px 0 9px}.art-check{display:flex;gap:4px;align-items:center;color:#7c9369;font-size:8px}.art-spark{position:absolute;right:23px;top:22px;font-size:31px;color:#c9d69d}.today-card{padding:24px;display:flex;flex-direction:column;align-items:center}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;width:100%}.section-title h3{font-size:15px}.section-title p{font-size:12px;margin-top:4px}.section-title>svg{color:#a1aaa4}.today-card .section-title{margin-bottom:13px}.daily-ring{height:131px;width:131px;position:relative;border-radius:50%;background:conic-gradient(#719476 var(--progress),#edf2e9 0);display:flex;align-items:center;justify-content:center;transform:rotate(-90deg)}.daily-ring>div{width:113px;height:113px;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.daily-ring strong{font-size:36px;line-height:1.2;font-weight:500;letter-spacing:-1px;color:#324b3a}.daily-ring span{font-size:11px;color:#9aa494}.today-card>p{font-size:11px;text-align:center;margin-top:16px;max-width:180px}.today-card .button{font-size:11px;min-height:36px;padding:7px 12px;margin-top:17px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:23px 0}.stat-card{padding:21px 20px;position:relative;min-height:137px}.stat-icon{position:absolute;right:18px;top:20px;width:31px;height:31px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#edf4ed;color:#7f9e7d}.stat-icon svg{width:16px;height:16px}.stat-icon.blue{background:#eaf1fa;color:#7297bd}.stat-icon.orange{background:#fbf0e6;color:#c49c71}.stat-icon.purple{background:#efedf8;color:#a99ac4}.stat-card>span{display:block;font-size:11px;color:#89958c;margin-bottom:14px;padding-right:30px}.stat-card>strong{display:block;font-size:29px;line-height:1.2;font-weight:550;letter-spacing:-.6px;color:#35433a}.stat-card small{display:block;font-size:10px;color:#a1aaa3;margin-top:9px}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:22px}.plan-card,.skills-card{padding:25px}.level-track{display:flex;justify-content:space-between;position:relative;margin:31px 0 8px}.level-track:before{content:'';height:2px;background:#ecf0e9;position:absolute;top:20px;left:25px;right:25px}.level-node{position:relative;display:flex;flex-direction:column;align-items:center;min-width:45px;gap:9px}.level-node>span{width:41px;height:41px;border-radius:50%;background:#f6f8f3;border:2px solid white;display:flex;align-items:center;justify-content:center;font-size:12px;color:#a0aa9b;font-weight:600}.level-node small{font-size:9px;color:#a1ac9c;min-height:14px}.level-node.current>span{background:#4a7659;color:#fff;box-shadow:0 0 0 4px #edf4e9}.level-node.current small{color:#668561}.level-node.target>span{background:#f2f6e8;border:1.5px dashed #b5c99b;color:#6e8955}.route-caption{display:flex;justify-content:space-between;font-size:9px;color:#a6aea4;margin:8px 0 22px}.route-caption a{color:#738b69}.goal-strip{display:flex;align-items:center;gap:12px;background:#f7f9f5;border:1px solid #edf1e9;border-radius:10px;padding:14px;margin-bottom:11px}.goal-icon{width:36px;height:36px;border-radius:9px;background:#edf3e7;color:#8fa476;display:flex;align-items:center;justify-content:center;flex-shrink:0}.goal-strip strong{font-size:12px;font-weight:550}.goal-strip p{font-size:10px;margin-top:2px;color:#99a391}.goal-strip>.pill{margin-left:auto;font-size:9px;padding:4px 7px}.plan-card>small{font-size:9px;display:block;line-height:1.6}.skill-row{display:flex;align-items:center;gap:13px;margin:17px 0}.skill-row>span{font-size:11px;color:#87928b;width:104px;flex-shrink:0}.skill-line{height:5px;background:#eff2ed;flex:1;border-radius:4px;overflow:hidden}.skill-line i{display:block;height:100%;background:#a0b48c}.skill-row b{font-size:10px;color:#b1b9ae;min-width:20px;text-align:right}.skills-card .text-link{font-size:10px;margin-top:4px}.practice-heading{margin-top:29px;margin-bottom:17px}.practice-heading h2{font-size:18px}.practice-heading p{font-size:12px;margin-top:5px}.practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.practice-tile{padding:23px 23px 20px;border:1px solid;border-radius:13px;position:relative;transition:transform .15s}.practice-tile:hover{transform:translateY(-3px)}.practice-tile.green{background:#f0f5ef;border-color:#e4ece1}.practice-tile.blue{background:#edf3f9;border-color:#e0e9f2}.practice-tile.peach{background:#faf2ec;border-color:#f0e7de}.tile-icon{width:36px;height:36px;background:#ffffff80;border-radius:10px;color:#80987a;display:flex;align-items:center;justify-content:center;margin-bottom:15px}.blue .tile-icon{color:#83a0bd}.peach .tile-icon{color:#bf9e7f}.practice-tile h3{font-size:14px;font-weight:550;color:#4e6553}.blue h3{color:#536c88}.peach h3{color:#866e57}.practice-tile p{font-size:11px;line-height:1.7;margin-top:7px;max-width:220px;color:#98a493}.blue p{color:#96a6b9}.peach p{color:#b4a18d}.practice-tile>span{display:flex;align-items:center;justify-content:space-between;margin-top:18px;font-size:10px;color:#8ba07e}.blue>span{color:#8ea4bd}.peach>span{color:#b1997e}.import-note{display:flex;align-items:center;gap:8px;color:#a2aaa4;font-size:10px;margin-top:24px}.import-note a{margin-left:auto;color:#879e8a}.footer{max-width:1430px;margin:auto;display:flex;justify-content:space-between;gap:20px;padding:0 42px 25px;font-size:9px;color:#acb3ae}.footer>span:last-child{display:flex;align-items:center;gap:5px}.mobile-menu,.mobile-close,.mobile-shade{display:none}
/* Learning tools */
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}.two-columns .card{min-width:0}.path-hero{display:flex;align-items:center;gap:24px;margin-bottom:22px;background:#eef4ed;border-color:#e0eadb}.path-hero>svg{color:#7c9972}.path-hero h2{margin:5px 0}.path-hero p{font-size:13px}.path-hero>div:last-child{margin-left:auto;text-align:right}.path-hero>div:last-child strong{font-size:16px;display:block}.path-hero>div:last-child small{color:#8da082}.segmented{display:flex;align-items:center;padding:4px;border-radius:10px;background:#edf0ed;gap:3px;max-width:100%}.segmented button{font-size:13px;padding:8px 13px;border-radius:7px;color:#8d968e;background:transparent;flex:1;white-space:nowrap}.segmented .selected{background:#fff;color:#3d654c;box-shadow:0 1px 5px #20302408}.calculator>label{margin-top:26px}.calculator>label>b{float:right;font-size:15px;color:#416547}.forecast-results{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:26px}.forecast-results>div{display:flex;flex-direction:column;padding:15px 10px;border:1px solid #eef0eb;border-radius:10px;gap:9px;text-align:center}.forecast-results .base{background:#edf5eb;border-color:#d8e6d3}.forecast-results span{font-size:11px;color:#9aa48f}.forecast-results strong{font-size:18px;color:#51674a}.forecast-results small{font-size:10px;color:#9aa78d}.confidence{margin:20px 0}.confidence p{font-size:12px;margin:10px 0}.confidence a{font-size:11px;text-decoration:underline;color:#709067}.calculator>small{font-size:11px}.milestones{display:flex;flex-direction:column;gap:26px;margin:24px 0}.milestone{display:flex;gap:17px;align-items:flex-start}.milestone-mark{width:44px;height:44px;flex-shrink:0;border-radius:50%;border:1px solid #dce6d9;display:flex;align-items:center;justify-content:center;color:#8ea581;background:#f5f8f1;font-weight:600;font-size:13px}.milestone-mark.current{background:#416e4c;color:white}.milestone h3{font-size:15px}.milestone p{font-size:12px;margin-top:5px}.milestone small{color:#abb5a3;font-size:10px}.plan-scales{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:22px}.plan-scales h3{margin-top:10px}.plan-scales p{font-size:13px}.daily-blocks{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:20px 0}.daily-blocks>div{border-left:2px solid #e2eadb;padding:0 12px;display:flex;flex-direction:column;gap:9px}.daily-blocks span{font-size:12px;color:#8b9982}.daily-blocks strong{font-size:23px;font-weight:500}.daily-blocks small{font-size:12px;color:#a5af9f}.daily-program>p{font-size:12px}.profile-form{max-width:850px}.profile-form h3{margin-bottom:24px}.profile-form .button{margin-top:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}.checkbox-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.profile-form .form-grid+h3{margin-top:30px}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:13px;color:#73816f;font-weight:400}.checkbox-label input{margin-top:0}.diagnostic-card{max-width:720px;margin:30px auto;padding:40px}.diagnostic-card h2{margin:25px 0;font-size:25px}.choices{display:flex;flex-direction:column;gap:12px;margin-bottom:28px}.choices button{border:1px solid #e2e8df;border-radius:10px;background:white;text-align:left;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;color:#788871}.choices .chosen{background:#edf4e9;border-color:#7a9c6a;color:#385b2e}.choices span{width:22px;height:22px;border:1px solid #d8e4d1;border-radius:50%;display:flex;align-items:center;justify-content:center}.diagnostic-results{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.diagnostic-results>div{background:#f8faf6;border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:6px}.diagnostic-results span{font-size:12px;color:#9ba790}.diagnostic-results strong{font-size:20px}.diagnostic-results small{font-size:11px;color:#99a48f}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.search{display:flex;align-items:center;gap:10px;background:white;padding:0 14px;border:1px solid #e3e8df;border-radius:10px;max-width:340px;color:#a6b09c}.search input{margin:0;border:0;box-shadow:none;background:transparent;padding:10px 0;font-size:14px}.vocab-top{display:flex;justify-content:space-between;align-items:center;margin:20px 0;font-size:13px;color:#9ca696}.vocab-list{padding:0;overflow:hidden}.vocab-item+.vocab-item{border-top:1px solid #edf0e9}.vocab-main{display:flex;align-items:center;gap:18px;background:white;padding:18px 23px;width:100%;text-align:left}.vocab-main>div:nth-child(2){flex:1}.vocab-main strong{font-size:15px;font-weight:550}.vocab-main p{font-size:12px;margin-top:3px;color:#a0aa96}.word-initial{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f2f6ed;border-radius:9px;color:#9aab89;font-size:18px;flex-shrink:0}.vocab-details{padding:0 25px 25px 82px;font-size:14px}.vocab-details p{margin:15px 0}.vocab-details blockquote{font-style:italic;color:#7d8b72;margin:12px 0;padding-left:15px;border-left:2px solid #dce6d3}.mini-metric{display:flex;flex-direction:column;padding:14px 16px;background:#f6f8f3;border-radius:10px;gap:4px;min-width:150px}.mini-metric small,.mini-metric span{font-size:11px;color:#99a58d}.mini-metric strong{font-size:15px}.mistakes-list{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mistake-card p{margin-top:10px}.correction{color:#447347!important;font-weight:500}.tags{display:flex;gap:8px;margin-top:15px}.historical-box{margin-top:23px}.sub-stat{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.sub-stat span{color:#8c9784}.sub-stat strong{font-size:14px}.retention-comparison{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.retention-comparison>div{background:#fcf3e8;border-radius:10px;display:flex;flex-direction:column;padding:20px;gap:8px}.retention-comparison>div+div{background:#eef6eb}.retention-comparison strong{font-size:34px;color:#a78c65;font-weight:500}.retention-comparison>div+div strong{color:#729569}.retention-comparison span{font-size:12px;color:#9b9986}.legend{display:flex;gap:15px;font-size:10px;color:#a2ad98}.legend span{display:flex;align-items:center;gap:5px}.legend i{width:7px;height:7px;border-radius:2px;background:#8faa7a}.legend span+span i{background:#e9c1a2}.bar-chart{display:flex;gap:22px;padding:25px 10px 0;height:225px;overflow-x:auto}.chart-col{min-width:42px;flex:1;display:flex;align-items:center;flex-direction:column}.chart-col>span{font-size:11px;color:#a2ac97;margin-bottom:7px}.bar-space{height:145px;display:flex;align-items:flex-end;width:100%;max-width:43px}.stacked-bar{display:flex;flex-direction:column;width:100%;border-radius:5px 5px 0 0;overflow:hidden;min-height:3px}.correct-bar{background:#a3b78e}.wrong-bar{background:#e8c8aa}.chart-col small{font-size:10px;white-space:nowrap;margin-top:9px;color:#9eaa91}.table-card{margin-bottom:22px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}th{font-weight:500;color:#a1ab95;font-size:11px;padding:12px;border-bottom:1px solid var(--line)}td{padding:15px 12px;border-bottom:1px solid #f0f3ec;color:#7b896f}.danger-zone{margin-top:25px;border-color:#eeded8}.danger-zone .form-grid{max-width:700px;margin:20px 0}.json-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.large-icon{display:inline-flex;align-items:center;justify-content:center;width:66px;height:66px;background:#edf4e8;color:#86a475;border-radius:18px;margin-bottom:20px}.study-start{max-width:690px;margin:30px auto;padding:40px}.study-start .form-grid{margin:28px 0}.study-start .checkbox-label{margin:22px 0}.study-start>p{font-size:14px;margin-top:10px}.study-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:26px;align-items:start}.round-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:20px}.round-top h2{margin-top:8px}.round-dots{display:flex;gap:6px;flex-wrap:wrap;max-width:120px}.round-dots>span{width:9px;height:9px;border-radius:50%;background:#e3e9df}.round-dots .filled{background:#73955e}.exercise-card{margin-bottom:15px;padding:23px 27px}.exercise-top{display:flex;align-items:center;gap:10px;font-size:10px;color:#9fac95;margin-bottom:17px}.exercise-number{font-size:12px;color:#98ab8b;background:#f1f5ed;padding:4px 7px;border-radius:6px}.exercise-reason{margin-left:auto;font-size:9px;color:#b4bea9}.exercise-prompt{font-size:16px;font-weight:500;line-height:1.6;margin-bottom:13px;color:#495940}.exercise-card input{background:#fafbf8;font-size:16px;padding:13px 15px}.exercise-card input:focus{background:white}.exercise-context{font-size:17px;margin:10px 0 15px;font-style:italic;color:#7c9070}.answer-correct{border-color:#d6e6ce}.answer-wrong{border-color:#eadac6}.answer-pending{border-color:#e1e3da}.answer-feedback{margin-top:17px;padding-top:17px;border-top:1px solid #e9ede3;display:flex;flex-direction:column;gap:10px}.answer-feedback strong{font-size:13px;color:#6d8d5e}.answer-wrong .answer-feedback strong{color:#b08d5e}.answer-feedback p{font-size:13px;margin-top:7px}.answer-feedback small{display:block;font-size:12px;margin-top:10px;color:#95a18a}.answer-feedback>.text-button{align-self:flex-start;font-size:11px;color:#9eaa91}.study-aside{padding-top:3px;position:sticky;top:22px}.study-aside .eyebrow{font-size:9px;letter-spacing:1px}.study-aside h3{font-size:16px;line-height:1.6;margin-top:17px;font-weight:500}.study-aside p{font-size:12px;line-height:1.8;margin-top:13px}.study-aside>.text-link{margin-top:18px;font-size:12px}.save-status{display:flex;align-items:center;gap:10px;color:#92a783;font-size:11px;margin:18px 0}.save-status svg{color:#87a273}.study-aside .button{font-size:12px;margin-top:15px}.round-summary{text-align:center;margin-top:20px}.round-summary>div:first-child{display:flex;align-items:center;flex-direction:column;gap:10px;color:#6c8a5f}.round-summary p{font-size:12px}.round-summary .inline-actions{justify-content:center;margin-top:22px}.practice-tabs{display:flex;gap:9px;margin-bottom:25px}.practice-tabs button{display:flex;align-items:center;gap:8px;border-radius:9px;background:#eef1eb;font-size:13px;padding:12px 18px;color:#9baa8e}.practice-tabs .selected{background:#e0edda;color:#57744a}.conversation-layout{grid-template-columns:minmax(0,1fr) 280px}.conversation-card{padding:24px;min-width:0}.messages{min-height:260px;max-height:600px;overflow:auto;padding:5px 0 20px}.conversation-intro{text-align:center;margin:35px 20px}.conversation-intro h3{margin-bottom:12px}.conversation-intro p{font-size:13px}.message{margin:15px 0;max-width:92%;background:#f2f6ee;border-radius:12px;padding:17px}.message.user{background:#eaf0f5;margin-left:auto}.message small{font-size:10px;color:#a0ad93}.message p{font-size:15px;color:#647458;margin-top:5px;white-space:pre-wrap}.message-feedback{font-size:12px;border-top:1px solid #dce6d2;margin-top:15px;padding-top:10px;color:#8a9a7b}.message blockquote{margin:10px 0;font-style:italic}.composer{border:1px solid #e1e8d8;border-radius:12px;overflow:hidden}.composer textarea{border:0;box-shadow:none;font-size:14px}.composer>div{display:flex;justify-content:space-between;padding:10px;gap:10px}.composer .button{font-size:12px;padding:9px 14px}.recording{color:#c56755;background:#fff1eb}.conversation-layout aside>label{margin-top:20px}.conversation-layout aside>small{display:block;margin-top:18px;font-size:11px}.writing-card{max-width:900px}.writing-card>h2{margin-top:15px}.writing-card>p{font-size:14px}.reading-text{font-size:17px!important;line-height:1.9;color:#657357!important;margin:23px 0!important}.writing-input{min-height:250px;margin-top:25px;background:#fdfefb}.writing-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:15px}.writing-footer>span{font-size:11px}.writing-result{background:#f5f8ef;border-radius:12px;padding:23px;margin-top:25px}.writing-result>p{font-size:14px;margin:15px 0;white-space:pre-wrap}.writing-result blockquote{font-size:14px;color:#6d7e5c;margin:18px 0;padding:15px;background:white;border-radius:9px;white-space:pre-wrap}.criterion-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.criterion-grid>div{display:flex;flex-direction:column;gap:5px}.criterion-grid span{font-size:11px;color:#a4b092}.criterion-grid strong{font-size:19px;color:#71875e}.listening-card{max-width:800px}.listening-card>label{margin:23px 0}.listening-card>label>select{max-width:250px;display:block}.listening-card>.inline-actions{margin:25px 0}.listening-card blockquote{font-size:15px;color:#7e8c6f;margin:20px 0;padding:18px;background:#f4f7ee;border-radius:10px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.login-story{background:radial-gradient(ellipse at 90% 100%,#48724e,transparent 70%),#234d40;color:white;padding:55px 70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;border:1px solid #719a6c35;width:600px;height:600px;border-radius:50%;bottom:-310px;right:-210px;pointer-events:none}.login-story .brand{position:absolute;top:40px;left:60px;margin:0}.light-brand>div>span{color:#a3be9d}.light-brand .brand-symbol{background:#e0e7c9;color:#36583b}.light-brand .brand-symbol span{background:#7f9d69}.login-story>.eyebrow{color:#a2b99a;font-size:11px;margin-top:70px}.login-story h1{font-size:52px;font-weight:500;letter-spacing:-1.8px;line-height:1.2;margin-top:27px}.login-story em{font-family:Georgia,serif;color:#c7daa8;font-weight:400}.login-story>p{font-size:14px;color:#a8c0a0;line-height:1.9;margin-top:25px}.login-benefits{display:flex;flex-direction:column;gap:16px;font-size:12px;color:#bdd1b2;margin-top:45px}.login-benefits span{display:flex;align-items:center;gap:12px}.login-benefits svg{width:17px;color:#c4dca8}.login-form{max-width:490px;width:100%;align-self:center;justify-self:center;padding:50px}.login-form>h2{font-size:30px;margin-top:14px}.login-form>p{font-size:13px;margin:13px 0 27px}.login-form form>label{margin:18px 0;color:#89957e}.login-form form>.button{margin-top:10px}.login-form>.text-button{margin-top:10px;font-size:12px}.divider-text{text-align:center;font-size:11px;color:#adb7a4;position:relative;margin:25px 0}.login-note{display:block;font-size:11px;margin-top:16px;text-align:center}
/* Responsive and touch layouts */
@media(min-width:1600px){.main-content{padding-top:45px}.hero-card{min-height:320px}.hero-copy{padding:35px}.hero-art{right:35px}.hero-copy h2{font-size:33px}}
@media(max-width:1200px){.sidebar{width:217px;padding-left:13px;padding-right:13px}.main-wrap{margin-left:217px;width:calc(100% - 217px)}.main-content{padding:30px 25px}.topbar{padding:0 25px}.footer{padding-left:25px;padding-right:25px}.brand>div:last-child{font-size:21px}.sidebar nav a{font-size:12px}.hero-art{opacity:.8;right:-50px}.hero-copy{width:72%;padding:25px}.hero-copy h2{font-size:27px}.hero-copy p{max-width:250px}.hero-actions{gap:8px}.hero-actions>span{font-size:9px}.overview-top{gap:17px;grid-template-columns:minmax(0,2fr) minmax(200px,1fr)}.today-card{padding:20px}.stats-grid{gap:12px}.stat-card{padding:19px 15px}.stat-icon{right:13px}.stat-card>span{font-size:10px}.stat-card>strong{font-size:26px}.dashboard-columns{grid-template-columns:1.4fr 1fr;gap:17px}.plan-card,.skills-card{padding:20px}.goal-strip{padding:10px;gap:8px}.goal-strip>.pill{display:none}.skill-row>span{width:95px;font-size:10px}.skill-row{gap:10px}.practice-grid{gap:14px}.practice-tile{padding:20px}.practice-tile h3{font-size:13px}.study-layout{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.study-aside .card{padding:20px}.forecast-results{gap:6px}.forecast-results span{font-size:10px}.forecast-results strong{font-size:16px}.conversation-layout{grid-template-columns:minmax(0,1fr) 230px}.login-story{padding:55px 45px}.login-story h1{font-size:44px}.login-story .brand{left:45px}.daily-blocks{grid-template-columns:repeat(3,1fr);row-gap:20px}.checkbox-grid{grid-template-columns:1fr 1fr}.toolbar{flex-wrap:wrap}}
@media(max-width:960px){.sidebar{width:205px}.main-wrap{margin-left:205px;width:calc(100% - 205px)}.main-content{padding:28px 22px}.hero-art{display:none}.hero-copy{width:100%}.hero-copy p{max-width:100%}.hero-copy h2{font-size:26px}.page-heading{align-items:flex-start}.page-heading h1{font-size:27px}.page-heading>.pill{display:none}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-columns,.two-columns{grid-template-columns:1fr}.practice-grid{gap:10px}.practice-tile{padding:17px}.practice-tile h3{font-size:12px}.practice-tile p{font-size:10px}.practice-tile>span{font-size:9px}.study-layout{grid-template-columns:1fr}.study-aside{position:static}.study-aside .card{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.study-aside h3,.study-aside p,.study-aside .eyebrow,.study-aside .divider{display:none}.study-aside .save-status{flex:1}.study-aside .button{width:auto;margin:0}.plan-scales{grid-template-columns:1fr}.plan-scales .card{padding:22px}.path-hero{padding:23px;flex-wrap:wrap}.path-hero>div:last-child{margin-left:55px;text-align:left}.topbar .date-label{display:none}.footer{font-size:8px}.footer>span:first-child{max-width:180px}.conversation-layout{grid-template-columns:1fr}.practice-tabs{overflow:auto;white-space:nowrap;padding-bottom:8px}.login-page{grid-template-columns:1fr 1fr}.login-story{padding:45px 30px}.login-story h1{font-size:36px}.login-story .brand{left:30px}.login-form{padding:35px}.login-form>h2{font-size:25px}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:260px;padding:28px 20px}.sidebar.open{transform:translateX(0)}.sidebar nav a{font-size:14px;padding:13px}.sidebar .brand>div:last-child{font-size:23px}.sidebar-label{margin-top:31px}.sidebar-goal{margin-top:24px}.mobile-shade.shown{display:block;position:fixed;inset:0;background:#10291d55;backdrop-filter:blur(3px);z-index:29}.mobile-close{display:flex;position:absolute;right:7px;top:7px}.mobile-menu{display:flex}.main-wrap{margin-left:0;width:100%}.topbar{height:65px;padding:0 18px;background:#fff}.top-left{gap:10px}.top-left>span{font-size:11px}.top-right{gap:12px}.streak{font-size:10px;padding-left:0;border:0}.top-right .avatar{width:29px;height:29px}.main-content{padding:27px 20px}.page-heading{gap:15px;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:27px;letter-spacing:-.8px}.page-heading p{font-size:13px;line-height:1.7}.page-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.overview-top{grid-template-columns:minmax(0,1.8fr) minmax(150px,1fr);gap:13px}.hero-copy{padding:22px}.hero-copy h2{font-size:25px}.hero-tag{font-size:8px}.hero-actions{flex-wrap:wrap;margin-top:18px}.hero-bottom{font-size:8px}.today-card{padding:17px 13px}.today-card .section-title h3{font-size:13px}.daily-ring{height:110px;width:110px}.daily-ring>div{height:96px;width:96px}.daily-ring strong{font-size:30px}.daily-ring span{font-size:10px}.today-card>p{font-size:10px}.today-card .button{font-size:10px;padding:7px}.stats-grid{margin:18px 0;gap:12px}.stat-card{min-height:130px;padding:20px 18px}.stat-card>span{font-size:11px}.stat-card small{font-size:10px}.stat-card>strong{font-size:29px}.dashboard-columns{gap:18px}.plan-card,.skills-card{padding:23px}.skill-row>span{font-size:12px;width:125px}.skill-row{margin:19px 0}.skills-card .text-link{font-size:12px}.practice-grid{grid-template-columns:1fr}.practice-tile{padding:22px;display:grid;grid-template-columns:43px 1fr;gap:0 16px}.tile-icon{grid-row:1/4;width:43px;height:43px;margin:0}.practice-tile h3{font-size:15px}.practice-tile p{font-size:12px;max-width:none}.practice-tile>span{font-size:11px;margin-top:14px}.import-note{align-items:flex-start;font-size:10px;line-height:1.7}.import-note a{display:none}.footer{padding:0 20px 25px;flex-direction:column;gap:8px;font-size:9px}.footer>span:first-child{max-width:none}.button{font-size:14px}.card{padding:22px}.exercise-card{padding:22px;margin-bottom:14px}.exercise-card input{font-size:16px}.study-start{padding:27px}.study-start h2{font-size:23px}.form-grid{gap:18px}.diagnostic-card{padding:27px}.diagnostic-card h2{font-size:22px}.diagnostic-results{grid-template-columns:1fr 1fr}.vocab-main{padding:18px;gap:12px}.vocab-main>.pill{font-size:10px;padding:4px 7px}.vocab-main .badge{display:none}.vocab-main p{font-size:12px}.vocab-details{padding:0 20px 22px}.vocab-top{gap:14px;align-items:flex-start;flex-direction:column}.toolbar{gap:14px}.toolbar .segmented{width:100%}.toolbar .search{max-width:none;width:100%}.mistakes-list{grid-template-columns:1fr}.table-card{padding:18px}.path-hero{gap:17px}.path-hero h2{font-size:21px}.path-hero>div:last-child{margin-left:50px}.path-hero>div:last-child strong{font-size:14px}.forecast-results strong{font-size:18px}.forecast-results span{font-size:10px}.calculator .notice{font-size:12px}.checkbox-grid{grid-template-columns:1fr 1fr}.practice-tabs{gap:7px}.practice-tabs button{padding:10px 14px;font-size:12px;min-height:44px}.practice-tabs svg{width:16px}.writing-footer{align-items:flex-start;flex-direction:column}.writing-footer .button{width:100%}.criterion-grid{grid-template-columns:1fr 1fr;gap:20px}.conversation-card{padding:18px}.composer>div{gap:8px}.composer .button{font-size:11px;padding:9px 12px}.message{max-width:96%}.login-page{grid-template-columns:1fr}.login-story{padding:100px 30px 40px;min-height:430px}.login-story .brand{top:28px}.login-story>.eyebrow{margin-top:30px}.login-story h1{font-size:39px;margin-top:18px}.login-story>p{font-size:12px;margin-top:20px}.login-benefits{display:none}.login-form{max-width:460px;padding:40px 25px}.login-form>h2{font-size:28px}}
@media(max-width:430px){.main-content{padding:24px 16px}.page-heading h1{font-size:25px}.overview-top{grid-template-columns:1fr}.hero-card{min-height:290px}.hero-copy{padding:25px;width:75%}.hero-copy h2{font-size:28px}.hero-copy p{font-size:12px}.hero-actions>span{font-size:10px}.hero-art{display:block;width:200px;right:-105px;opacity:.65;top:25px;transform:scale(.85)}.hero-tag{font-size:8px}.today-card{display:grid;grid-template-columns:1fr 90px;align-items:center;gap:0 15px;padding:20px}.today-card .section-title{margin-bottom:6px;grid-column:1;grid-row:1}.today-card .section-title>svg{display:none}.today-card>p{text-align:left;font-size:11px;margin:0;max-width:none;grid-column:1;grid-row:2}.today-card .daily-ring{grid-column:2;grid-row:1/4;width:87px;height:87px}.today-card .daily-ring>div{width:75px;height:75px}.today-card .daily-ring strong{font-size:27px}.today-card .daily-ring span{font-size:9px}.today-card .button{grid-column:1;grid-row:3;font-size:10px;padding:6px 9px;margin-top:12px;min-height:32px}.stats-grid{gap:10px}.stat-card{padding:18px 14px;min-height:130px}.stat-card>span{font-size:10px;max-width:120px;padding-right:20px}.stat-card>strong{font-size:27px}.stat-card small{font-size:9px}.stat-icon{right:12px;top:17px;width:26px;height:26px}.stat-icon svg{width:14px}.level-node{min-width:38px}.level-node>span{width:35px;height:35px;font-size:11px}.level-track:before{top:17px}.level-node small{font-size:8px}.level-track{margin-top:26px}.goal-strip strong{font-size:11px}.goal-strip p{font-size:9px}.route-caption{font-size:8px;gap:15px}.plan-card,.skills-card{padding:20px}.form-grid{grid-template-columns:1fr}.checkbox-grid{grid-template-columns:1fr}.exercise-reason{font-size:8px}.exercise-card{padding:20px}.exercise-prompt{font-size:15px}.round-top h2{font-size:22px}.round-dots{gap:5px}.vocab-main{gap:10px;padding:17px 14px;flex-wrap:wrap}.vocab-main strong{font-size:14px}.vocab-main .pill{margin-left:50px}.vocab-main>div:nth-child(2){min-width:220px}.word-initial{width:37px;height:37px}.toolbar .segmented button{font-size:11px;padding:9px 10px}.forecast-results>div{padding:14px 5px}.forecast-results span{font-size:9px}.forecast-results strong{font-size:16px}.forecast-results small{font-size:9px}.daily-blocks{grid-template-columns:1fr 1fr}.top-left>span{font-size:10px}.top-right{gap:8px}.streak{font-size:9px}.top-right .avatar{display:none}.practice-tabs button{padding:11px 10px}.practice-tabs svg{display:none}.retention-comparison>div{padding:16px}.retention-comparison span{font-size:11px}.bar-chart{gap:16px;padding:25px 0 0}.chart-col{min-width:35px}.chart-col small{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Legible task content on every breakpoint; small type is reserved for metadata. */
.sidebar nav a,.sidebar-bottom>a,.sidebar-bottom>button{font-size:14px}
.sidebar-goal strong span,.sidebar-goal p,.sidebar-goal a,.user-mini strong{font-size:12px}
.top-left>span,.top-right .date-label,.streak{font-size:12px;color:#6f7e74}
.page-heading p{font-size:15px;color:#738179}
.hero-copy p{font-size:14px;color:#c1d4c6}
.hero-actions .button{font-size:14px}.hero-actions>span{font-size:12px}
.hero-bottom{font-size:11px;color:#bbcebf}
.today-card>p{font-size:13px;color:#6e7e70}.today-card .button{font-size:12px}
.stat-card>span{font-size:13px;color:#75836f}.stat-card small{font-size:12px;color:#7c8975}
.section-title h3{font-size:17px}.section-title p{font-size:13px;color:#7c8975}
.skill-row>span{font-size:13px;color:#6e7e68;width:125px}.skill-row b{font-size:12px}
.skills-card .text-link{font-size:13px}.route-caption{font-size:11px;color:#7e8d75}
.goal-strip strong{font-size:14px}.goal-strip p{font-size:12px;color:#7e8e73}
.plan-card>small{font-size:11px;color:#819077}.level-node small{font-size:11px;color:#839278}
.practice-tile h3{font-size:16px}.practice-tile p{font-size:14px;color:#7d8f72}.blue p{color:#768ca6}.peach p{color:#a08b74}
.practice-tile>span{font-size:12px}.practice-heading p{font-size:14px}
.import-note{font-size:12px;color:#84927b}.footer{font-size:11px;color:#89947f}
.exercise-top{font-size:12px;color:#788d6b}.exercise-reason{font-size:11px;color:#8a9d7a}
.save-status,.study-aside p{font-size:13px;color:#7c926b}
.checkbox-label{font-size:14px}.badge{font-size:12px}.pill{font-size:12px}
.forecast-results span{font-size:12px;color:#7b8e6b}.forecast-results small{font-size:12px;color:#839674}
.confidence p,.calculator>small,.daily-program>p{font-size:13px}
.vocab-main p,.vocab-details p{font-size:14px;color:#7a8b6a}
@media(max-width:760px){.overview-top{grid-template-columns:1fr}.hero-copy{width:75%;padding:26px}.hero-card{min-height:300px}.hero-art{display:block;right:-10px;opacity:.7}.hero-copy h2{font-size:28px}.today-card{display:grid;grid-template-columns:1fr 100px;gap:0 20px;padding:23px}.today-card .section-title{grid-column:1;grid-row:1;margin-bottom:8px}.today-card .section-title svg{display:none}.today-card>p{grid-column:1;grid-row:2;text-align:left;max-width:none;margin:0}.today-card .button{grid-column:1;grid-row:3;margin-top:14px;font-size:12px}.today-card .daily-ring{grid-column:2;grid-row:1/4;width:96px;height:96px}.today-card .daily-ring>div{width:82px;height:82px}.stat-card{padding:20px 16px;min-height:153px}.stat-card>span{font-size:13px;padding-right:28px;max-width:none}.stat-card small{font-size:12px;line-height:1.6}.goal-strip strong{font-size:13px}.goal-strip p{font-size:12px}.route-caption{gap:15px;align-items:flex-start}.route-caption a{min-width:100px;text-align:right}.hero-art{right:-78px;transform:scale(.85)}.hero-copy{width:87%}.hero-copy p{max-width:270px}.hero-copy h2{font-size:27px}.level-node small{font-size:10px}.import-note{font-size:12px}.forecast-results{grid-template-columns:1fr}.forecast-results>div{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:5px 10px;padding:15px}.forecast-results small{grid-column:2}.forecast-results strong{text-align:right}.forecast-results small{text-align:right}.vocab-main>div:nth-child(2){min-width:0}.vocab-main .pill{font-size:11px}.toolbar .segmented button{font-size:12px}.exercise-reason{font-size:10px}.top-left>span{font-size:11px}.streak{font-size:10px}}

/* EnglishRooms — an inviting, architectural learning space. */
:root{--bg:#f5f6fa;--ink:#25293e;--muted:#74788c;--line:#e9eaf1;--green:#7660cf;--green-dark:#5d48b6;--green-light:#f0edfb}
body{background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3{color:var(--ink)}h1{font-size:32px;letter-spacing:-1px;font-weight:650}p,.muted{color:#73778a}.card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 4px 18px #20243903}.button{border-radius:12px;font-size:14px;font-weight:600;min-height:46px;padding:12px 18px;transition:transform .15s,background .15s,box-shadow .15s}.button:hover{transform:translateY(-1px)}.button:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #a99ce7;outline-offset:4px}.button.primary{background:#7660cf;color:#fff;box-shadow:0 4px 12px #7660cf20}.button.primary:hover{background:#6550bb}.button.subtle{background:#fff;border:1px solid #e2e3ed;color:#45485f}.button.light{background:#d8ecb5;color:#253b24;border:0}.text-link,.text-button,.route-caption a{color:#705bc2}.badge{background:#f2f0f9;color:#766996;border:0;font-size:12px}.pill{font-size:12px;background:#f0edfa;color:#7864b6}.pill.warning{background:#fff5e6;color:#99733e}.pill.success{background:#edf5e8;color:#5c7b43}.eyebrow{font-size:12px;letter-spacing:1.6px;color:#8b8ba1;font-weight:500}.sidebar{width:248px;padding:30px 20px 20px;background:#fff;border-right:1px solid var(--line)}.brand{gap:0;margin:0 9px 34px}.brand>div:not(.brand-symbol){font-size:25px;letter-spacing:-1.25px;font-weight:750;white-space:nowrap;color:#242945}.brand>div>span{color:#8a72df;font-weight:750;margin-left:0}.brand small{font-size:8px!important;letter-spacing:1.1px;color:#a1a0b1;display:none}.brand-symbol{background:#7660cf;color:white;border-radius:18px}.sidebar-label{font-size:11px;color:#a09cb0;letter-spacing:1.8px;margin:10px 14px 16px}.sidebar nav{gap:7px}.sidebar nav a{border-radius:11px;padding:12px 14px;font-size:14px;color:#787a90;min-height:48px}.sidebar nav a svg{color:#9190a8;flex-shrink:0}.sidebar nav a.active{background:#f0edfa;color:#6d56bf;font-weight:600}.sidebar nav a.active:before{display:none}.sidebar nav a.active svg{color:#8167cf}.sidebar nav a:hover{background:#f7f5fc}.main-wrap{margin-left:248px;width:calc(100% - 248px)}.sidebar-goal{background:linear-gradient(145deg,#f7f6fc,#efedf8);border:1px solid #e9e5f4;border-radius:16px;padding:19px;margin-top:28px}.sidebar-goal .eyebrow{font-size:11px;color:#9280b8}.sidebar-goal strong{color:#5e4a94;font-size:34px;margin-top:10px}.sidebar-goal strong span{color:#8b80a3;font-size:12px}.sidebar-goal p{color:#8b80a3;font-size:12px}.sidebar-goal a{color:#7762a3;border-color:#e4dff0;font-size:12px}.sidebar-bottom>a,.sidebar-bottom>button{color:#858299;font-size:14px}.user-mini{border-color:var(--line)}.user-mini strong{font-size:12px}.user-mini small{font-size:11px}.avatar{background:#e9e4f5;color:#8471aa}.topbar{height:78px;background:#ffffffbd;border-color:var(--line);padding:0 40px}.top-left>span{color:#9893a7;font-size:13px}.top-right .date-label{color:#878195;font-size:13px}.streak{font-size:12px;color:#9581b0;border-color:#e9e5ef}.main-content{max-width:1480px;padding:35px 40px 48px}.page-heading{margin-bottom:26px;gap:16px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.8px;color:#9a91aa}.page-heading h1{font-size:30px;line-height:1.3}.page-heading p{font-size:14px;color:#8d869a}.page-heading>.pill{font-size:12px;color:#8c77af;border-color:#eae5f4;align-self:center;gap:7px}.overview-top{grid-template-columns:minmax(0,2.7fr) minmax(240px,1fr);gap:22px}.hero-card{min-height:352px;border-radius:22px;background:#282d49;box-shadow:0 10px 30px #2a254512}.hero-copy{padding:32px 34px;width:64%}.hero-tag{border-color:#6969858c;color:#b9b2d1;font-size:10px;letter-spacing:1.5px;padding:6px 10px}.hero-copy h2{font-size:32px;line-height:1.22;letter-spacing:-1px;font-weight:500;color:#fff;max-width:460px;margin-top:23px}.hero-copy h2 em{font-family:Georgia,serif;color:#d6e8b7;font-weight:400;font-size:1.22em}.hero-copy p{font-size:14px;color:#afaec7;max-width:335px;margin-top:16px;line-height:1.75}.hero-actions{margin-top:23px;gap:14px}.hero-actions .button{font-size:13px;padding:12px 17px;min-height:44px}.hero-actions>span{color:#b4accb;font-size:12px}.hero-bottom{font-size:11px;color:#9895b6;margin-top:20px}.room-scene{position:absolute;inset:0 0 0 auto;width:37%;overflow:hidden}.scene-halo{width:260px;height:260px;border:1px solid #6664874d;position:absolute;top:15px;left:5%;border-radius:50%}.scene-halo:after{content:'';position:absolute;inset:20px;border:1px solid #6664873b;border-radius:50%}.scene-floor{position:absolute;bottom:30px;left:15px;right:-40px;height:75px;background:linear-gradient(160deg,#46425f,#2c304c);transform:skewY(-12deg);border-radius:50%}.room-door{position:absolute;width:132px;height:230px;border-radius:85px 85px 5px 5px;bottom:55px;box-shadow:10px 12px 20px #0c0d242b}.door-back{right:-15px;bottom:83px;background:#738ca0;transform:skewY(10deg);height:190px;width:115px;border:10px solid #869baa}.door-back span{position:absolute;bottom:18px;left:14px;color:#c4d1d9;font-size:9px;letter-spacing:2px}.door-mid{right:56px;background:#bcb4de;transform:skewY(-7deg);height:232px;border:10px solid #d1c9eb}.door-mid span{position:absolute;bottom:10px;left:18px;color:#77658f;font-size:10px;letter-spacing:2px}.door-window{position:absolute;inset:20px 16px 44px;background:linear-gradient(145deg,#a299c2,#7b709f);border-radius:45px 45px 3px 3px;border:1px solid #9684bd}.door-front{right:109px;bottom:43px;background:#d9e8bd;transform:skewY(9deg);width:138px;height:220px;border:10px solid #ecf2d8;padding:57px 12px 0}.door-label{font-size:6px;letter-spacing:1.5px;color:#80916b}.door-front strong{font-family:Georgia,serif;color:#4d6241;font-size:23px;line-height:1.25;display:block;margin-top:12px;font-weight:400}.door-knob{position:absolute;right:10px;bottom:67px;background:#829561;border-radius:50%;height:5px;width:5px}.floating-word{position:absolute;bottom:23px;right:37px;font-family:Georgia,serif;font-size:13px;font-style:italic;color:#a8a1bc;transform:rotate(-3deg)}.scene-plant{position:absolute;bottom:40px;right:12px;width:47px;height:99px}.scene-plant b{display:block;position:absolute;bottom:0;left:11px;width:28px;height:35px;background:#d2a58f;border-radius:0 0 8px 8px}.scene-plant i{position:absolute;width:20px;height:49px;border-radius:100% 0 100% 0;background:#829b79;bottom:30px;left:20px;transform:rotate(5deg)}.scene-plant i:nth-child(2){transform:rotate(-60deg);bottom:27px;left:5px;background:#9cae88}.scene-plant i:nth-child(3){transform:rotate(28deg);bottom:26px;left:28px;background:#627f69}.today-card{padding:25px}.today-card h3{font-size:18px}.daily-ring{width:146px;height:146px;background:conic-gradient(#9d89dc var(--progress),#f0edf7 0);margin:8px 0}.daily-ring>div{width:130px;height:130px}.daily-ring strong{color:#655581;font-size:39px}.daily-ring span{font-size:12px;color:#9b90aa}.today-card>p{font-size:13px;color:#9a91a4;max-width:200px;line-height:1.7;margin-top:12px}.today-card .button{margin-top:19px;font-size:12px}.stats-grid{gap:18px;margin:22px 0}.stat-card{min-height:140px;padding:23px}.stat-card>span{color:#8c8398;font-size:13px}.stat-card>strong{color:#4b4358;font-size:30px;font-weight:550}.stat-card small{color:#9c93a5;font-size:12px}.stat-icon{background:#eee9f8;color:#9e89c5}.stat-icon.blue{background:#e9f0f8;color:#91aac4}.stat-icon.orange{background:#faf0e7;color:#c3a287}.stat-icon.purple{background:#edf3e6;color:#99ac84}.section-title h3{font-size:17px;color:#51495f}.section-title p{font-size:13px;color:#9c94a5}.plan-card,.skills-card{padding:26px}.level-track:before{background:#eeeaf4}.level-node>span{color:#b0a8ba;background:#f6f4f9;border-color:white;font-size:12px}.level-node.current>span{background:#8b78b2;color:white;box-shadow:0 0 0 5px #f0ecf6}.level-node.target>span{background:#f5f7ec;color:#9aab71;border-color:#c3cfa3;border-style:dashed}.level-node small{color:#a197ad;font-size:11px}.route-caption{color:#b0a6bc;font-size:11px}.goal-strip{background:#f7f5fb;border:1px solid #f0ecf7;border-radius:13px}.goal-icon{background:#eee8f8;color:#a38bc8}.goal-strip strong{color:#7d6d96;font-size:13px}.goal-strip p{color:#a295b1;font-size:12px}.plan-card>small{color:#aaa0b8;font-size:11px}.skill-row>span{color:#9990a6;font-size:13px;width:132px}.skill-row b{color:#a79bb7}.skill-line{background:#f2eff6}.skill-line i{background:#a895d0}.practice-heading{margin-top:32px}.practice-heading .eyebrow{font-size:10px;color:#a398b4;letter-spacing:1.8px}.practice-heading h2{font-size:24px;color:#554964;margin-top:6px}.practice-heading p{font-size:14px;color:#a194b1}.rooms-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.room-tile{border:1px solid #e5e0f0;border-radius:18px;padding:23px 21px;min-height:225px;position:relative;overflow:hidden;transition:transform .2s,box-shadow .2s}.room-tile:hover{transform:translateY(-4px);box-shadow:0 12px 30px #5f4e8710}.room-tile.lavender{background:#f0ebfa}.room-tile.mint{background:#eaf1e4;border-color:#e1e8dc}.room-tile.peach{background:#faf0e7;border-color:#f0e4d9}.room-tile.sky{background:#eaf0f8;border-color:#dfe7f1}.room-tile-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.room-icon{width:45px;height:45px;display:grid;place-items:center;background:#fff9;border:1px solid #ffffffc9;border-radius:14px;color:#a18abd}.mint .room-icon{color:#91a578}.peach .room-icon{color:#c3a287}.sky .room-icon{color:#8da8c2}.room-name{font-size:10px;letter-spacing:.2px;color:#a899b9}.mint .room-name{color:#9aaa8b}.peach .room-name{color:#bfa792}.sky .room-name{color:#9aaec4}.room-tile h3{font-size:16px;font-weight:600;margin-top:18px;color:#7c6b92}.mint h3{color:#7b8d66}.peach h3{color:#a98c74}.sky h3{color:#718ca8}.room-tile p{font-size:13px;line-height:1.7;color:#a493b7;margin-top:7px}.mint p{color:#97a588}.peach p{color:#baa38f}.sky p{color:#96a9be}.room-detail{display:block;margin-top:18px;padding-top:13px;border-top:1px solid #b9a6d126;font-size:11px;color:#a590bc}.mint .room-detail{color:#96a482}.peach .room-detail{color:#b79a80}.sky .room-detail{color:#92a7be}.import-note{color:#ada0bb;font-size:12px;margin-top:26px}.footer{color:#b0a5bc;font-size:11px;border-color:#eee9f3}.login-page{background:#f7f6fa}.login-story{background:#282d49;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:270px;height:390px;border:35px solid #b6a6dd14;border-radius:180px 180px 0 0;right:-80px;bottom:-75px;transform:rotate(15deg)}.login-story .brand>div{color:white;font-size:31px}.login-story .brand>div>span{color:#b49aec}.login-story h1{font-size:48px;font-weight:450;line-height:1.2;letter-spacing:-1.5px;color:white}.login-story h1 em{font-family:Georgia,serif;color:#d6e8b7;font-weight:400}.login-story .eyebrow{color:#a69abd;font-size:10px;letter-spacing:2px}.login-story>p{color:#aaa4bf;font-size:15px;line-height:1.8}.login-benefits span{color:#bdb4cd;font-size:13px}.login-benefits svg{color:#c8dca9}.login-form h2{font-size:30px;color:#5f526f}.login-form>p{color:#a096ac;font-size:15px}.login-form .eyebrow{font-size:11px;color:#ad9abd}.login-form label{font-size:14px;color:#8b7b9b}.login-form input{background:#fff;border-color:#e7e1ef;border-radius:12px;min-height:49px;font-size:15px}.login-note{font-size:12px}.login-form .text-button{font-size:13px}.divider-text{font-size:12px;color:#b7a8c6}.notice{background:#f1eff7;border:1px solid #e7e1f1;color:#9c8aae;border-radius:13px;font-size:14px}.notice a{color:#8f75af}.notice.error{background:#fff1ef;color:#ad6d66}.exercise-card{border-radius:18px;padding:25px}.exercise-prompt{font-size:18px;color:#5e4d6f;font-weight:500;line-height:1.7}.exercise-card input{font-size:17px;border-color:#e8dfef;background:#fcfbfd;color:#655171;border-radius:12px;padding:16px}.exercise-card input:focus{border-color:#b79bcc;box-shadow:0 0 0 3px #ac8bc116}.exercise-top{color:#af98c0;font-size:12px}.exercise-number{background:#f4eff8;color:#b79cc9}.exercise-reason{font-size:11px;color:#bca3cb}.exercise-context{background:#f6f2fa;color:#8f75a3;font-size:16px}.save-status,.study-aside p{color:#b19ac4;font-size:13px}.round-dots .filled{background:#a78cbe}.round-top h2{font-size:24px}.path-hero{background:linear-gradient(120deg,#eee7f8,#f8f5fc);border-color:#e9e0f2;color:#b397c8}.path-hero h2{font-size:28px;color:#84669b}.forecast-results .base{background:#f1eaf8;border-color:#d6c3e5}.forecast-results strong{color:#9475ac}.segmented{background:#f1edf6}.segmented button{font-size:14px;color:#ac94bf}.segmented button.selected{background:white;color:#8d6ba7}.milestone-mark.current{background:#a486ba;color:white}.daily-blocks{gap:12px}.daily-blocks>div{background:#f6f1fa}.vocab-main,.vocab-details{color:#8f70a4}.vocab-main p,.vocab-details p{color:#b39ac5}.word-initial{background:#f0e7f7;color:#b294c6}.profile-form label{font-size:14px}.profile-form input,.profile-form select{font-size:15px}.reading-text{font-size:18px;line-height:1.9}.bar-chart .correct-bar{background:#b199cb}.bar-chart .wrong-bar{background:#ddbcaa}
@media(min-width:1500px){.hero-copy h2{font-size:38px}.hero-copy{padding:38px}.hero-card{min-height:370px}.room-scene{width:39%}.room-door{transform:scale(1.1)}.door-front{transform:skewY(9deg) scale(1.1)}.door-mid{transform:skewY(-7deg) scale(1.1)}.door-back{transform:skewY(10deg) scale(1.1)}}
@media(max-width:1200px){.main-content{padding:30px 28px}.rooms-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy h2{font-size:28px}.hero-copy{width:69%;padding:28px}.room-scene{width:34%;opacity:.8}.door-front{right:60px}.door-mid{right:10px}.door-back{right:-55px}.scene-plant{display:none}.hero-actions{flex-wrap:wrap}.page-heading>.pill{display:none}}
@media(max-width:1000px){.sidebar{width:220px}.main-wrap{margin-left:220px;width:calc(100% - 220px)}.brand>div:not(.brand-symbol){font-size:23px}.overview-top{grid-template-columns:1fr}.today-card{display:grid;grid-template-columns:1fr 110px;gap:0 15px;align-items:center}.today-card .section-title{grid-column:1;grid-row:1;margin:0}.today-card .daily-ring{grid-column:2;grid-row:1/4;width:104px;height:104px;margin:0}.today-card .daily-ring>div{width:88px;height:88px}.today-card>p{grid-column:1;grid-row:2;text-align:left;max-width:none;margin:8px 0}.today-card .button{grid-column:1;grid-row:3;margin-top:6px;max-width:230px}.hero-copy{width:65%}.room-scene{width:39%;opacity:1}.door-front{right:90px}.door-mid{right:40px}.door-back{right:-20px}.hero-copy h2{font-size:32px}.page-heading h1{font-size:28px}.topbar{padding:0 28px}.top-left>span{font-size:12px}}
@media(max-width:760px){.sidebar{width:274px;padding:28px 22px}.main-wrap{margin-left:0;width:100%}.main-content{padding:25px 18px 32px}.topbar{padding:0 20px;height:65px}.top-left{gap:10px}.top-left>span{font-size:11px;max-width:190px;line-height:1.5}.top-right{gap:10px}.streak{font-size:10px;padding:0;border:0}.page-heading{margin-bottom:20px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.3px}.page-heading h1{font-size:27px;letter-spacing:-.7px}.page-heading p{font-size:14px;line-height:1.7}.hero-card{min-height:378px;border-radius:20px}.hero-copy{padding:27px 25px;width:90%}.hero-copy h2{font-size:29px;max-width:290px;position:relative;z-index:2}.hero-copy p{font-size:14px;max-width:235px;position:relative;z-index:2}.hero-actions{position:relative;z-index:2}.hero-tag{font-size:8px}.hero-bottom{font-size:10px;position:relative;z-index:2}.room-scene{width:180px;right:-85px;opacity:.38;top:50px;transform:scale(.8);transform-origin:right center}.door-front{right:50px}.door-mid{right:0}.door-back{right:-40px}.floating-word{display:none}.stats-grid{gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:20px 16px;min-height:146px}.stat-card>span{font-size:12px;margin-bottom:14px}.stat-card>strong{font-size:28px}.stat-card small{font-size:11px;line-height:1.7}.stat-icon{right:12px;top:18px;width:27px;height:27px}.today-card{padding:22px}.rooms-grid{gap:12px}.room-tile{padding:18px 15px;min-height:235px}.room-tile-top{display:block}.room-name{display:block;font-size:10px;margin-top:9px}.room-tile h3{font-size:15px;margin-top:13px}.room-tile p{font-size:12px;line-height:1.8}.room-detail{font-size:10px;margin-top:14px}.plan-card,.skills-card{padding:22px 19px}.section-title h3{font-size:16px}.practice-heading h2{font-size:23px}.login-story{padding:36px 25px}.login-story .brand{margin-bottom:32px}.login-story h1{font-size:37px}.login-form{padding:35px 25px}.login-story>p{font-size:14px}.exercise-card{padding:21px 18px}.exercise-prompt{font-size:17px}.exercise-card input{font-size:16px;padding:15px 13px}.room-scene+.today-card{display:none}.footer{font-size:10px}.sidebar nav a{font-size:14px}.hero-actions .button{font-size:13px}.path-hero h2{font-size:25px}.forecast-results span,.forecast-results small{font-size:12px}.forecast-results strong{font-size:16px}}
/* Keep primary copy readable; tint is for surfaces, not instructional text. */
.page-heading p,.hero-copy p,.today-card>p,.stat-card>span,.stat-card small,.section-title p,.skill-row>span,.room-tile p,.room-detail,.import-note,.footer,.save-status,.study-aside p,.vocab-main p,.vocab-details p,.profile-form label,.notice,.exercise-top,.exercise-reason,.route-caption,.goal-strip p,.plan-card>small{color:#747084}
.hero-copy p{color:#bcb8cf}.hero-bottom{color:#a49dbb}.room-tile h3{color:#574966}.mint h3{color:#52634a}.peach h3{color:#765a47}.sky h3{color:#4e647c}.room-name{color:#8d7c9e}.room-detail{color:#84758f}.notice{color:#81728e}.exercise-prompt{color:#493b57}.login-form>p,.login-form label{color:#85768f}.forecast-results span,.forecast-results small{color:#887695}.forecast-results strong{color:#715c87}.login-note{color:#9a8aa4}.page-heading .eyebrow{color:#91849f}

/* EnglishRooms / Night Study. Shared colors for every learning screen. */
:root {
  color-scheme: dark;
  --bg: #171c2c;
  --background: #171c2c;
  --surface: #21283b;
  --surface-raised: #2a3249;
  --surface-inset: #1b2133;
  --ink: #f0f2fa;
  --muted: #aab3ca;
  --line: #343d55;
  --accent: #b9a5ff;
  --mint: #b7e4d0;
  --green: #b9a5ff;
  --green-dark: #cbbcff;
  --green-light: #34304e;
  --lime: #b7e4d0;
  --shadow: 0 8px 28px #0c10221a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--bg); }
body {
  position: relative;
  isolation: isolate;
  background: var(--bg);
  color: var(--ink);
}
/* Soft light fields sit behind the app and never intercept input. */
body::before, body::after {
  content: '';
  position: fixed;
  inset: -12%;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
}
body::before {
  background: radial-gradient(ellipse at 78% 12%, #8f70cf42, transparent 48%),
    radial-gradient(ellipse at 30% 82%, #559e8e2e, transparent 46%);
  animation: ambient-lavender 23s ease-in-out infinite alternate;
}
body::after {
  background: radial-gradient(ellipse at 88% 68%, #548ba52e, transparent 42%),
    radial-gradient(ellipse at 42% 32%, #8762c71f, transparent 38%);
  animation: ambient-mint 29s ease-in-out infinite alternate;
}
@keyframes ambient-lavender {
  from { transform: translate3d(-3%, -2%, 0) scale(1); opacity: .75; }
  to { transform: translate3d(4%, 5%, 0) scale(1.08); opacity: 1; }
}
@keyframes ambient-mint {
  from { transform: translate3d(4%, 3%, 0) scale(1.06); opacity: .6; }
  to { transform: translate3d(-5%, -4%, 0) scale(1); opacity: 1; }
}
::selection { background: #b9a5ff4a; color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
button:focus-visible, a:focus-visible { outline-color: var(--accent); }
h1, h2, h3, h4, strong { color: var(--ink); }
.section-title h3, .practice-heading h2, .round-top h2 { color: var(--ink); }
p, .muted { color: var(--muted); }
.card { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.divider { background: var(--line); }
.eyebrow, .page-heading .eyebrow { color: #b2acc9; font-size: 12px; letter-spacing: 1.5px; }
.page-heading p { color: var(--muted); font-size: 16px; }
.page-heading > .pill { background: var(--surface); color: #c9c0e7; border-color: var(--line); font-size: 12px; }
.text-link, .text-button, .notice a, .route-caption a, .import-note a { color: var(--accent); }
.text-link:hover, .text-button:hover { color: #ddd3ff; }
.icon-button { color: var(--muted); }
.icon-button:hover { background: var(--surface-raised); color: var(--ink); }
.button { font-size: 14px; min-height: 44px; }
.button.primary { background: var(--accent); color: #241d3c; box-shadow: 0 4px 18px #a28bea14; }
.button.primary:hover { background: #cbbcff; color: #241d3c; }
.button.light { background: var(--mint); color: #203d34; }
.button.light:hover { background: #cceddf; color: #203d34; }
.button.subtle { background: var(--surface-raised); border-color: #414b65; color: #e0e4f0; }
.button.subtle:hover { background: #353e58; border-color: #697294; }
.button.danger { background: #4b303b; color: #ffc0c4; }
.button.danger:hover { background: #5b3542; }
.pill, .badge { background: #2e354d; color: #c5cce0; border-color: #434b65; font-size: 12px; }
.pill.success { background: #263f3b; color: #b7e4d0; }
.pill.warning { background: #443c32; color: #f0d09e; }
.notice { background: #2b3048; border-color: #434966; color: #c3c9de; }
.notice.error { background: #422e3c; border-color: #70444f; color: #ffc3c9; }
.empty > svg { color: var(--accent); }

/* A joined, outlined vector wordmark; no external fonts or image requests. */
.brand { margin: 0 0 26px; line-height: 1; width: fit-content; max-width: 100%; }
.brand .brand-wordmark { display: block; width: 208px; height: auto; max-width: 100%; }
.brand-name { white-space: nowrap; color: var(--ink); }
.brand-name > span { color: var(--mint); }
.brand-name > .brand-ai { display: inline-block; vertical-align: .12em; font-size: .58em; font-weight: 650; line-height: 1.4; letter-spacing: .04em; padding: .12em .35em; border: 1px solid #807095; border-radius: .3em; color: var(--accent); background: #b9a5ff0d; }
.brand.compact-brand { display: none; }
.loading .brand { margin: 0; }
.loading .brand-wordmark { width: 260px; }
.loading p { color: var(--muted); }
.sidebar { background: #1b2032; border-color: #30374d; overflow-y: auto; }
.sidebar-label { color: #9ca6c1; font-size: 12px; margin-top: 5px; }
.sidebar nav a { color: #b0b8d0; }
.sidebar nav a svg { color: #9fa8c4; }
.sidebar nav a:hover { background: #282f44; color: var(--ink); }
.sidebar nav a.active { background: #36304f; color: #d2c2ff; box-shadow: inset 0 0 0 1px #64558945; }
.sidebar nav a.active svg { color: #bca7ff; }
.nav-count { background: #51406b; color: #e2d4ff; }
.sidebar-goal { background: linear-gradient(135deg, #302d47, #272d43); border-color: #45405c; }
.sidebar-goal .eyebrow { color: #c3b3ec; font-size: 12px; }
.sidebar-goal strong { color: #d2c2ff; }
.sidebar-goal strong span, .sidebar-goal p { color: #b6b5cc; font-size: 13px; }
.sidebar-goal a { color: #cbbbfa; border-color: #49415e; font-size: 13px; }
.sidebar-bottom > a, .sidebar-bottom > button { color: #adb6cf; }
.sidebar-bottom > a:hover, .sidebar-bottom > button:hover { color: #e0d5ff; }
.user-mini { border-color: var(--line); }
.user-mini strong { color: #e5e8f4; font-size: 14px; }
.user-mini small { color: #9ea8c2; font-size: 12px; }
.avatar { background: #3a334f; color: #d1bfff; }
.topbar { background: #1b2032d9; border-color: #30374d; }
.ambient-motion-control { border: 1px solid #b9a5ff30; color: #c2b1e8; flex-shrink: 0; }
.ambient-motion-control:hover { background: #3b3453; }
.top-left > span, .top-right .date-label { color: #a0abc5; font-size: 13px; }
.streak { color: #d3c0a7; border-color: #3e4258; font-size: 13px; }
.footer, .import-note { color: #a1abc3; font-size: 12px; }
.mobile-shade.shown { background: #0c1128a8; backdrop-filter: blur(6px); }

/* Rooms are gently lit surfaces inside a blue graphite workspace. */
.hero-card {
  isolation: isolate;
  background: linear-gradient(120deg, #292b46, #2d334e 58%, #243e43);
  border: 1px solid #72638c70;
  box-shadow: 0 16px 45px #0c102233, inset 0 1px 0 #e0d2ff0d;
}
.hero-card::before, .hero-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.hero-card::before {
  inset: -35%;
  background: radial-gradient(ellipse at 60% 30%, #ad86f54f, transparent 45%),
    radial-gradient(ellipse at 85% 75%, #91dfba40, transparent 45%);
  animation: hero-light 17s ease-in-out infinite alternate;
}
.hero-card::after {
  inset: -70% -22% -65% 12%;
  background: radial-gradient(ellipse at 100% 50%,
    transparent 45%, #d0c6f838 45.1%, transparent 45.3%,
    transparent 54%, #d0c6f82b 54.1%, transparent 54.3%,
    transparent 63%, #b7e4d028 63.1%, transparent 63.3%,
    transparent 72%, #b7e4d019 72.1%, transparent 72.3%);
  animation: hero-orbits 25s ease-in-out infinite alternate;
}
@keyframes hero-light {
  from { transform: translate3d(-6%, -3%, 0) rotate(-8deg); opacity: .65; }
  to { transform: translate3d(7%, 4%, 0) rotate(8deg); opacity: 1; }
}
@keyframes hero-orbits {
  from { transform: translate3d(3%, -2%, 0) rotate(-12deg); opacity: .5; }
  to { transform: translate3d(-5%, 5%, 0) rotate(5deg); opacity: .95; }
}
.hero-tag { color: #c7bfdc; border-color: #6d6386; font-size: 12px; letter-spacing: 1px; }
.hero-copy h2 { color: #f4f3fc; }
.hero-copy h2 em { color: var(--mint); }
.hero-copy p { color: #c1c6da; font-size: 16px; line-height: 1.7; }
.hero-actions .button { font-size: 14px; }
.hero-actions > span, .hero-bottom { color: #b7bed6; font-size: 12px; }
.dialogue-scene { position: absolute; top: 0; right: 30px; bottom: 0; width: 32%; pointer-events: none; }
.dialogue-caption { position: absolute; top: 50px; right: 2px; color: #b7b0cf; font-size: 10px; letter-spacing: 1.7px; }
.dialogue-card { position: absolute; width: 228px; padding: 24px; border-radius: 22px; box-shadow: 0 15px 30px #10132630; }
.dialogue-card > span { display: block; font-size: 8px; font-weight: 650; letter-spacing: 1.1px; }
.dialogue-card strong { display: block; font-size: 30px; font-weight: 650; letter-spacing: -1px; white-space: nowrap; margin-top: 12px; }
.dialogue-card:after { content: ''; position: absolute; bottom: -12px; width: 26px; height: 26px; background: inherit; border-radius: 3px; transform: skewY(-35deg); }
.dialogue-question { top: 95px; right: 0; background: #bdb0ed; transform: rotate(6deg); color: #4e426e; }
.dialogue-question strong { color: #302444; }
.dialogue-question:after { right: 27px; }
.dialogue-reply { bottom: 55px; left: -20px; background: #b7e4d0; transform: rotate(-7deg); color: #41685a; }
.dialogue-reply strong { color: #244b3d; }
.dialogue-reply:after { left: 25px; transform: skewY(35deg); }
.dialogue-wave { height: 23px; display: flex; gap: 5px; align-items: center; margin-top: 14px; }
.dialogue-wave i { display: block; width: 4px; height: 9px; background: #796891; border-radius: 3px; }
.dialogue-wave i:nth-child(2n) { height: 19px; }
.dialogue-wave i:nth-child(3n) { height: 25px; }
.dialogue-dots { display: flex; gap: 6px; margin-top: 18px; }
.dialogue-dots i { display: block; width: 6px; height: 6px; background: #619880; border-radius: 50%; }
.today-card .section-title > svg, .section-title > svg { color: #acb3cd; }
.daily-ring { background: conic-gradient(var(--mint) var(--progress), #394158 0); }
.daily-ring > div { background: var(--surface); }
.daily-ring strong { color: #f1f4fb; }
.daily-ring span, .today-card > p { color: #adb7ce; font-size: 14px; }
.today-card .button { font-size: 14px; min-height: 44px; }
.stat-card > span { color: #bac3d8; font-size: 14px; }
.stat-card > strong { color: #eff2fc; }
.stat-card small { color: #a4afc8; font-size: 12px; }
.stat-icon { background: #2b413f; color: #acd9c6; }
.stat-icon.blue { background: #2c3b55; color: #a2c6f4; }
.stat-icon.orange { background: #433c3d; color: #edc29f; }
.stat-icon.purple { background: #3a3353; color: #c9b3fa; }
.section-title p, .practice-heading p { color: var(--muted); font-size: 14px; }
.level-track:before { background: #41465e; }
.level-node > span { background: #2b3348; border-color: var(--surface); color: #aeb8d1; }
.level-node.current > span { background: #b7a2fb; color: #261c41; box-shadow: 0 0 0 4px #3a3352; }
.level-node.target > span { background: #2c3f40; border-color: #8eb8ab; color: #b7e4d0; }
.level-node small, .level-node.current small { color: #b7b2cd; font-size: 12px; }
.route-caption, .goal-strip p, .plan-card > small { color: #a7b0c9; font-size: 12px; }
.route-caption { gap: 12px; }
.goal-strip { background: #282f44; border-color: #3c445e; }
.goal-strip strong { color: #e4e8f5; font-size: 14px; }
.goal-icon { background: #38354f; color: #bcaaf2; }
.skill-row > span { color: #bec5d9; font-size: 14px; }
.skill-line { background: #3a4259; }
.skill-line i { background: #aa95ec; }
.skill-row b { color: #aeb8ce; font-size: 13px; }
.skills-card .text-link { font-size: 14px; }
.room-tile.lavender { background: #2c2943; border-color: #4a3f63; }
.room-tile.mint { background: #233735; border-color: #37504a; }
.room-tile.peach { background: #382f34; border-color: #55434a; }
.room-tile.sky { background: #263349; border-color: #3c4c68; }
.room-tile:hover { box-shadow: 0 12px 24px #0a0f2429; border-color: #8d7fb6; transform: translateY(-3px); }
.room-icon { background: #bca5ff12; border-color: #bca5ff30; color: #c6b0f3; }
.mint .room-icon { background: #b7e4d010; border-color: #b7e4d02b; color: #b0d9c8; }
.peach .room-icon { background: #edc2aa12; border-color: #edc2aa30; color: #e5ba9f; }
.sky .room-icon { background: #aacdfa12; border-color: #aacdfa30; color: #afcff5; }
.room-tile h3 { color: #e5ddf4; font-size: 17px; }
.room-tile.mint h3 { color: #d1e8df; }
.room-tile.peach h3 { color: #f0ded3; }
.room-tile.sky h3 { color: #d7e5f8; }
.room-tile p { color: #b9bbcf; font-size: 14px; }
.room-name { color: #c0addf; font-size: 12px; }
.mint .room-name { color: #a7c8bb; }
.peach .room-name { color: #d2b3a2; }
.sky .room-name { color: #aec4e2; }
.room-detail, .mint .room-detail, .peach .room-detail, .sky .room-detail { color: #c3c6d8; border-color: #b2adc522; font-size: 12px; }

/* Inputs, vocabulary, diagnostic, exercise feedback and AI screens. */
label, .profile-form label, .checkbox-label, .login-form label { color: #c5cce0; font-size: 14px; }
input, select, textarea, .exercise-card input, .login-form input, .writing-input {
  background-color: #1b2235;
  border-color: #48516d;
  color: #eff2fc;
  font-size: 16px;
}
input::placeholder, textarea::placeholder { color: #929db9; opacity: 1; }
input:focus, select:focus, textarea:focus, .exercise-card input:focus {
  background-color: #20263c;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px #b9a5ff1c;
}
input[type=checkbox], input[type=range] { accent-color: var(--accent); }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23bdc6dd' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
option { background: #22293e; color: var(--ink); }
input:-webkit-autofill { -webkit-text-fill-color: #eff2fc; -webkit-box-shadow: 0 0 0 1000px #1b2235 inset; caret-color: #eff2fc; }
.segmented, .practice-tabs button { background: #1b2234; color: #b1bad1; }
.segmented button { color: #aeb8d2; font-size: 14px; }
.segmented button.selected, .practice-tabs .selected { background: #3b3355; color: #decfff; box-shadow: inset 0 0 0 1px #62517d; }
.search { background: #1b2235; border-color: #48516d; color: #a7b3cd; }
.search input, .search input:focus { background: transparent; box-shadow: none; }
.vocab-top { color: #abb6cf; }
.vocab-item + .vocab-item { border-color: var(--line); }
.vocab-main { background: var(--surface); color: var(--ink); }
.vocab-main:hover { background: #293148; }
.vocab-main strong { font-size: 17px; }
.vocab-main p, .vocab-details p { color: #b1b9d0; font-size: 14px; }
.vocab-details { color: #c3cce1; }
.vocab-details blockquote { color: #bcb0e0; border-color: #76628f; }
.word-initial, .large-icon { background: #3a3353; color: #c5b3f4; }
.mini-metric { background: #2b3349; }
.mini-metric small, .mini-metric span { color: #abb7ce; font-size: 12px; }
.choices button { background: #262e44; border-color: #48516b; color: #d3d9ea; }
.choices button:hover { background: #33334d; border-color: #8d7baa; }
.choices .chosen { background: #3c3356; border-color: #b5a0eb; color: #ebdfff; }
.choices span { border-color: #6a6786; }
.diagnostic-results > div { background: #2a3248; }
.diagnostic-results span, .diagnostic-results small { color: #b2bdd4; font-size: 13px; }
.exercise-prompt { color: #edf0fa; }
.exercise-top, .exercise-reason { color: #b4bbd2; font-size: 12px; }
.exercise-number { background: #39334f; color: #c8b7f4; }
.exercise-context { background: #2e334e; color: #d6caed; border-radius: 10px; padding: 14px 16px; }
.round-dots > span { background: #48516d; }
.round-dots .filled { background: #b7a1ed; }
.answer-correct { border-color: #527e6f; }
.answer-wrong { border-color: #aa7560; }
.answer-pending { border-color: #82764e; }
.answer-feedback { border-color: var(--line); }
.answer-feedback strong { color: #b7e4d0; font-size: 14px; }
.answer-wrong .answer-feedback strong { color: #f0c1a7; }
.answer-pending .answer-feedback strong { color: #ecd6a5; }
.answer-feedback p { color: #c3cadd; font-size: 14px; }
.answer-feedback small, .answer-feedback > .text-button { color: #b7b0d0; font-size: 13px; }
.correction { color: #b7e4d0 !important; }
.save-status, .study-aside p { color: #b0bbd2; font-size: 14px; }
.save-status svg { color: var(--mint); }
.study-aside .eyebrow { font-size: 12px; }
.round-summary > div:first-child { color: var(--mint); }
.round-summary p { color: #bdc7dc; font-size: 14px; }
.message { background: #2d344b; }
.message.user { background: #3a3352; }
.message p { color: #e3e7f3; }
.message small, .message-feedback { color: #b9bbd4; border-color: #4b4562; }
.composer { background: #1b2235; border-color: #48516d; }
.composer textarea { background: transparent; }
.recording { background: #563442; color: #ffc3c7; }
.reading-text { color: #dce2f1 !important; }
.writing-result { background: #2c344b; }
.writing-result blockquote, .listening-card blockquote { background: #232b40; color: #d2d9ec; }
.criterion-grid span { color: #adb8d3; font-size: 12px; }
.criterion-grid strong { color: var(--mint); }

/* Goal, charts and settings. */
.path-hero { background: linear-gradient(115deg, #363049, #263349); border-color: #4b4561; }
.path-hero > svg, .path-hero .eyebrow { color: #c3adef; }
.path-hero h2 { color: #ece5f9; }
.path-hero p, .path-hero > div:last-child small { color: #b9bfd5; }
.calculator > label > b { color: #c6b1ff; }
.forecast-results > div { background: #232b3f; border-color: #3e4861; }
.forecast-results .base { background: #3b3254; border-color: #79658f; }
.forecast-results span, .forecast-results small { color: #bcc4d9; font-size: 12px; }
.forecast-results strong { color: #ede3ff; }
.confidence p { color: #b4bed4; }
.confidence a { color: #c4b2ee; font-size: 13px; }
.milestone-mark { background: #2c344c; color: #bbc6de; border-color: #4f5771; }
.milestone-mark.current { background: #baa5f5; color: #2b2043; border-color: #baa5f5; }
.milestone p, .milestone small { color: #adb8d0; font-size: 13px; }
.daily-blocks > div { background: #2a3148; border-color: #8b73bc; border-radius: 4px 10px 10px 4px; padding: 14px; }
.daily-blocks span, .daily-blocks small { color: #b6bfd6; font-size: 13px; }
.sub-stat span { color: #b2bdd5; }
.retention-comparison > div { background: #3c343b; }
.retention-comparison > div + div { background: #2a3e3c; }
.retention-comparison strong { color: #e8bb9e; }
.retention-comparison > div + div strong { color: #b7e4d0; }
.retention-comparison span { color: #c1c4d4; font-size: 13px; }
.bar-chart .correct-bar, .legend i { background: #a89ad9; }
.bar-chart .wrong-bar, .legend span + span i { background: #cf9b87; }
.legend, .chart-col > span, .chart-col small { color: #b0bdd4; font-size: 12px; }
th { color: #b7c2da; font-size: 13px; border-color: var(--line); }
td { color: #d2d9e9; border-color: var(--line); }
.danger-zone { border-color: #71505d; }

/* The entry and offline screens belong to the same visual system. */
.login-page { background: transparent; }
.login-story { background: radial-gradient(ellipse at 15% 80%, #34514e60, transparent 60%), linear-gradient(130deg, #292d46, #302a44); border-right: 1px solid #443e59; }
.login-story:after { width: 230px; height: 150px; border-radius: 26px; border: 2px solid #b9a5ff24; transform: rotate(-12deg); right: -45px; bottom: 30px; }
.login-story .brand { width: 250px; }
.login-story .brand-wordmark { width: 250px; }
.login-story h1 { color: #f3f3fb; }
.login-story h1 em { color: var(--mint); }
.login-story .eyebrow { color: #c1b3db; font-size: 12px; }
.login-story > p, .login-benefits span { color: #c2c5d9; font-size: 16px; }
.login-benefits svg { color: var(--mint); }
.login-form h2 { color: #edf0fa; }
.login-form > p { color: #afb9d0; font-size: 16px; }
.login-form .eyebrow { color: #b6a5d8; font-size: 12px; }
.login-form .text-button { font-size: 14px; }
.divider-text, .login-note { color: #a5b0ca; font-size: 13px; }
.offline-page { max-width: 540px; margin: 14vh auto; padding: 28px; }
.offline-page h1 { margin: 32px 0 16px; }
.offline-page p { margin-bottom: 24px; }

@media (max-width: 1000px) and (min-width: 761px) {
  .brand .brand-wordmark { width: 180px; }
}
@media (min-width: 761px) and (max-width: 1200px) {
  .dialogue-scene { transform: scale(.78); transform-origin: right center; right: 18px; }
}
@media (max-width: 760px) {
  .topbar { background: #1b2032; padding: 0 16px; }
  .top-left { gap: 9px; min-width: 0; }
  .top-left > span, .topbar .streak { display: none; }
  .brand.compact-brand { display: flex; margin: 0; }
  .brand.compact-brand .brand-wordmark { width: 204px; }
  .sidebar .brand-wordmark { width: 220px; }
  .page-heading h1 { font-size: 27px; overflow-wrap: anywhere; }
  .page-heading .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .hero-copy { width: 100%; padding: 26px 24px; }
  .hero-copy h2 { font-size: 29px; max-width: 310px; }
  .hero-copy p { font-size: 16px; max-width: 265px; }
  .hero-tag { font-size: 11px; letter-spacing: .8px; }
  .hero-bottom { font-size: 12px; }
  .dialogue-scene { display: none; }
  .stat-card > span { font-size: 14px; }
  .stat-card small { font-size: 12px; }
  .stat-icon { display: none; }
  .stat-card > span { padding-right: 0; }
  .room-tile { min-height: 245px; }
  .room-tile h3 { font-size: 16px; }
  .room-tile p { font-size: 14px; }
  .room-name, .room-detail { font-size: 12px; }
  .level-node { min-width: 0; flex: 1; }
  .level-node small { font-size: 12px; white-space: nowrap; }
  .route-caption { flex-wrap: wrap; }
  .skills-card .text-link { font-size: 14px; }
  .footer { font-size: 12px; }
  .vocab-main > .pill { font-size: 12px; }
  .exercise-reason { font-size: 12px; }
  .exercise-top { flex-wrap: wrap; }
  .login-story .brand-wordmark { width: 230px; }
  .login-story > p { font-size: 16px; }
}
@media (max-width: 360px) {
  .brand.compact-brand .brand-wordmark { width: 180px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-tile { min-height: auto; }
}

/* Pause preserves the current frame. Reduced motion uses a still composition. */
html[data-ambient-motion="paused"] body::before,
html[data-ambient-motion="paused"] body::after,
html[data-ambient-motion="paused"] .hero-card::before,
html[data-ambient-motion="paused"] .hero-card::after,
html[data-page-hidden="true"] body::before,
html[data-page-hidden="true"] body::after,
html[data-page-hidden="true"] .hero-card::before,
html[data-page-hidden="true"] .hero-card::after { animation-play-state: paused; }

@media (max-width: 760px) {
  .ambient-motion-control { width: 34px; height: 34px; }
  body::before, body::after { inset: -6%; }
  .hero-card::after { left: -30%; opacity: .65; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, .hero-card::before, .hero-card::after { animation: none; }
  .ambient-motion-control { display: none; }
}
