/* RootRoad Official Brand UI V1.0 — Founder reference is the visual authority. */
:root{--brand-navy:#061a59;--brand-blue:#075bbb;--brand-teal:#00b7af;--brand-green:#00d2ad;--brand-sky:#e8f8ff;--brand-glass:rgba(255,255,255,.78);--brand-border:rgba(255,255,255,.94);--brand-shadow:0 9px 28px #449bc11a;--ink:var(--brand-navy);--muted:#5376a2;--paper:#edfaff;--line:#cfe7f1;--teal:#008f9d;--mint:#00d7bf;--radius:18px;--white:#fff;--nav:var(--brand-navy);font-family:"Microsoft YaHei","Segoe UI",system-ui,sans-serif}body{background:linear-gradient(140deg,#e8f9ff 0%,#f8fdff 40%,#dcf7ff 75%,#effaff 100%);color:var(--ink)}.workspace{margin:0}.brand-header{min-height:72px;max-width:1600px;margin:auto;padding:12px 3.5%;display:flex;align-items:center;gap:24px;flex-wrap:wrap;background:rgba(255,255,255,.77);backdrop-filter:blur(18px);border-bottom:1px solid white;position:relative;z-index:20}.brand{padding:0;flex-shrink:0;color:var(--brand-navy);font-size:23px;font-weight:750;gap:10px;letter-spacing:-.5px}.brand small{letter-spacing:0;font-size:10px;color:#6387be;margin-top:2px}.brand-mark{display:block;width:48px;height:48px;background:url('/assets/founder-reference.png') -84px -9px /1448px 1086px no-repeat;flex-shrink:0}.brand-header nav{display:flex;align-items:center;justify-content:center;gap:22px;flex:1;flex-wrap:wrap}.brand-header nav a{color:var(--brand-navy);padding:12px 0;border-radius:0;font-size:14px;font-weight:600;position:relative;white-space:nowrap}.brand-header nav a.active{background:none;box-shadow:none}.brand-header nav a.active:after{content:'';height:4px;background:var(--brand-green);border-radius:4px;position:absolute;bottom:1px;left:0;right:0}.brand-header nav a:hover{background:none;color:var(--teal)}#header-search{width:172px;position:relative}#header-search input{padding:10px 30px 10px 14px;border-radius:24px;font-size:11px;background:#fff;border:1px solid white}#header-search button{position:absolute;right:8px;top:8px;background:none;color:var(--brand-blue);font-size:20px;line-height:22px}.header-account{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.header-account #account{max-width:140px;overflow-wrap:anywhere}.header-account .primary,.header-account .secondary{padding:9px 20px;min-height:36px;font-size:13px}.header-account>a{font-size:12px}.primary{border-radius:26px;color:white;background:linear-gradient(180deg,#00dab2 0%,#00aaaf 46%,#008998 70%,#00b5a9 100%);box-shadow:inset 0 1px 3px #d0fff1,0 5px 16px #00abb62b;border:1px solid #b2fff2}.primary:hover{background:linear-gradient(#00c8ac,#008d9d);box-shadow:0 7px 22px #00a7be42}.secondary{border-radius:26px;background:#ffffffad;border:1px solid white;color:var(--brand-navy);box-shadow:inset 0 0 10px #cdefff77}.topbar{background:transparent;min-height:55px;max-width:1448px;margin:auto;padding:18px 48px;border:0;color:var(--muted)}.topbar a{font-size:12px}body[data-page=home] .topbar{display:none}main{max-width:1448px;padding:24px 48px 48px}body[data-page=home] main{padding:0 0 24px;max-width:1600px}.page-title{margin-bottom:24px}h1{letter-spacing:-1px}.brand-hero{position:relative;height:366px;isolation:isolate;overflow:hidden;background:#cef0ff}.hero-art{position:absolute;inset:0;background-image:url('/assets/founder-reference.png');background-repeat:no-repeat;background-size:1448px 1086px;background-position:center -67px;z-index:-2}.hero-wash{position:absolute;inset:0;background:linear-gradient(90deg,#e9fafff5 0%,#e5f7fff7 35%,#def5fff0 43%,#d9f4ff00 59%);z-index:-1}.hero-content{max-width:1280px;margin:auto;padding:25px 32px}.hero-kicker{font-size:14px;color:#154b94;margin-bottom:12px;letter-spacing:1px}.brand-hero h1{font-size:55px;line-height:1.15;letter-spacing:-1.5px;margin-bottom:17px;font-weight:900;max-width:690px}.brand-hero h1 span{color:#006e85}.brand-hero .hero-subtitle{font-size:16px;line-height:1.7;color:#173b85;max-width:610px;margin-bottom:18px}.hero-actions{display:flex;gap:16px;flex-wrap:wrap}.hero-actions a{font-size:17px;padding:11px 30px;min-height:48px}.hero-trust{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#265698;margin-top:17px}.hero-trust span+span{border-left:1px solid #7bdbe2;padding-left:18px}.hero-bottom{position:absolute;right:5%;bottom:35px;color:#fff;font-weight:600;line-height:1.6;text-align:center;text-shadow:0 2px 5px #063b69}.brand-stats{max-width:1360px;margin:-1px auto 12px;position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr) 1.25fr;gap:0;padding:16px 12px;background:#f9ffffdb;border:2px solid white;border-radius:16px;box-shadow:var(--brand-shadow);backdrop-filter:blur(16px)}.brand-stat{display:flex;align-items:center;justify-content:center;gap:12px;border-right:1px solid #bcecf4;padding:0 8px}.stat-emblem{width:55px;height:55px;border-radius:50%;background:linear-gradient(135deg,#e1fdff,#b5f1f5);color:#008eac;display:grid;place-items:center;font-size:27px;font-weight:700}.brand-stat strong{font-size:22px;line-height:1.2}.brand-stat p{font-size:13px;line-height:1.3;margin:3px 0}.brand-stat small{font-size:10px;color:#5e83bf;letter-spacing:.5px}.brand-quote{padding:10px 18px;display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:17px;font-weight:600}.brand-quote small{font-size:10px;color:#6293cd;font-weight:400;margin-top:8px;letter-spacing:1px}.home-grid{max-width:1360px;padding:0;margin:auto;display:grid;grid-template-columns:1.2fr 1fr .7fr;gap:12px;align-items:start}.glass{border:2px solid var(--brand-border);border-radius:16px;background:var(--brand-glass);box-shadow:var(--brand-shadow);backdrop-filter:blur(18px);min-width:0}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.card-heading h2{font-size:18px;margin:0;letter-spacing:0}.card-heading a,.card-heading button{font-size:11px;color:#009baf;background:#f5ffffb3;border:1px solid white;border-radius:22px;padding:6px 11px}.today-card{height:326px;position:relative;overflow:hidden;padding:16px 20px;background:linear-gradient(115deg,#fcffffef,#e9fbffe6 58%,#a9e6fac7)}.today-card .card-heading{position:relative;z-index:1}.today-label{font-size:16px;padding:6px 16px;border-radius:22px;color:white;background:linear-gradient(#00d5b4,#008e9a);box-shadow:0 2px 9px #63d3df}.today-card time{font-size:12px;color:#345d9d}.today-copy{position:relative;z-index:1;max-width:78%}.today-copy h2{font-size:49px;line-height:1.15;margin:14px 0 4px;border-left:5px solid var(--brand-green);padding-left:10px;overflow-wrap:anywhere}.today-copy .today-meaning{font-size:18px;font-weight:600;margin:6px 0 10px;line-height:1.5}.today-copy .today-example{font-size:11px;line-height:1.65;padding:9px 12px;background:#ffffffcf;border:1px solid white;border-radius:12px;max-height:86px;overflow:auto;margin:8px 0 12px}.today-tags{font-size:10px;color:#3e73a7}.today-bottom{position:absolute;bottom:15px;left:20px;right:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.today-bottom>div{flex:1;font-size:10px}.today-bottom .primary{font-size:13px;padding:10px 24px}.today-watermark{position:absolute;font-size:116px;font-weight:900;right:-12px;bottom:84px;color:#2197c219;transform:rotate(-13deg);max-width:85%;overflow:hidden;pointer-events:none}.home-graph{height:326px;padding:14px 16px;background:radial-gradient(ellipse at 50% 68%,#059ddd8c 0%,#79d8ff8c 30%,#e8fbffbb 68%);overflow:hidden}.home-graph .card-heading h2{font-size:17px}.home-graph>p{margin:4px 0 0;font-size:11px;color:#267ce6}.knowledge-graph{position:relative;width:100%;min-width:0}.knowledge-graph svg{display:block;width:100%;height:265px;overflow:visible}.orbit{fill:none;stroke:#e8ffff;stroke-width:1.5;filter:drop-shadow(0 0 3px #0baae1)}.tilted{transform:rotate(-22deg);transform-origin:210px 160px;opacity:.8}.graph-link{stroke:#a5faff;stroke-width:1.2}.graph-core{stroke:#e9ffff;stroke-width:2;filter:drop-shadow(0 0 12px #00ffea)}.graph-word{stroke:white;stroke-width:2;filter:drop-shadow(0 0 7px #59d9ff)}.graph-root{fill:white;font-size:30px;font-weight:750}.graph-meaning{fill:#eaffff;font-size:12px}.graph-label{fill:#082768;font-size:12px;font-weight:600}.graph-cn{fill:#265994;font-size:10px}.home-side{display:flex;flex-direction:column;gap:12px;grid-column:3;grid-row:1/3}.home-progress{padding:15px 18px;min-height:198px}.home-progress h2{font-size:18px}.progress-summary{display:flex;gap:15px;align-items:center;margin-top:16px}.progress-ring{border-radius:50%;width:98px;height:98px;background:conic-gradient(#00bdb0 var(--progress),#d2f5f9 0);position:relative;display:grid;place-items:center;flex-shrink:0}.progress-ring:before{content:'';position:absolute;inset:9px;border-radius:50%;background:white}.progress-ring strong{position:relative;font-size:28px}.progress-summary p{font-size:12px;margin:0 0 6px}.progress-summary b{font-size:17px}.home-progress .source-note{font-size:10px;margin:12px 0 7px}.progress-link{font-size:11px;color:#008fa3}.assistant-card{padding:14px;background:linear-gradient(135deg,#acd9ffaa,#eafbffdd 46%,#b8edffbb);overflow:hidden}.assistant-title{display:flex;gap:14px;align-items:center}.assistant-title h2{font-size:23px;margin:0}.assistant-title p{font-size:12px;margin:4px 0}.assistant-avatar{width:78px;height:80px;border-radius:50%;background:url('/assets/founder-reference.png') -1100px -758px/1448px 1086px no-repeat;flex-shrink:0}.assistant-prompts{display:grid;gap:4px;margin-top:12px;padding:10px;border-radius:13px;background:#ffffffb8}.assistant-prompts a{display:flex;justify-content:space-between;gap:8px;font-size:12px;padding:8px;border-bottom:1px solid #e0effa}.assistant-card small{font-size:10px;color:#466eaa;display:block;margin:9px 8px}.recommended{grid-column:1/3;padding:12px 16px 14px}.recommended .card-heading{margin-bottom:10px}.recommend-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.recommend-card{min-width:0;border-radius:9px;padding:12px;background:linear-gradient(120deg,#d6faff,#f0ffff);min-height:104px}.recommend-card:nth-child(2){background:linear-gradient(120deg,#fff2d1,#fffbee)}.recommend-card:nth-child(3){background:linear-gradient(120deg,#f1e6ff,#fef4ff)}.recommend-card:nth-child(4){background:linear-gradient(120deg,#d8efff,#eefaff)}.recommend-card h3{font-size:17px;margin-bottom:3px;overflow-wrap:anywhere}.recommend-card p{font-size:11px;line-height:1.4;margin:0 0 5px;overflow:hidden;max-height:32px}.recommend-card small{font-size:10px;line-height:1.45;display:block;color:#3977bf}.root-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.root-tile,.learning-section,.review-task,.stat,.word-row,.table-wrap,.empty{background:var(--brand-glass);border:1.5px solid white;box-shadow:var(--brand-shadow);backdrop-filter:blur(12px);border-radius:16px}.root-tile{background:linear-gradient(135deg,#ffffffed,#e9faffce)}.root-tile:hover{border-color:#4cdddb;box-shadow:0 10px 30px #129bcc26}.root-tile h2{color:#07558d}.badge{border-radius:20px;background:#e3f6fb;color:#236ea5}.badge.golden{background:#fff4d4;color:#886824}.chip{border-radius:24px;background:#ffffff80;color:#416e9e}.chip.active{background:linear-gradient(#00cbbb,#009eae);color:white;border-color:#9aeee9}.searchbox input{border:1px solid white;border-radius:26px;box-shadow:var(--brand-shadow)}.progress-fill{background:linear-gradient(90deg,#00cda7,#08afe1)}.progress-track{background:#caeaf6}.overview{display:none}.root-header{padding:28px 32px;border:2px solid white;border-radius:20px;background:linear-gradient(115deg,#fff,#e1f7ffbb 58%,#c8f2ffba);box-shadow:var(--brand-shadow)}.root-header h1{color:#006d92;font-size:58px}.unit-progress{background:#ffffffaa;border:1px solid white;border-radius:16px;padding:18px;max-width:300px;width:280px}.unit-progress p{margin-bottom:12px}.section-nav{border-bottom:0;gap:12px}.section-nav a{border-radius:22px;background:#ffffffb5;border-color:white;color:#2a6198}.learning-section{padding:26px}.core-meaning{background:linear-gradient(140deg,#e1fcf6,#dcefff);border-color:#00c9b5}.section-no{color:#00a2af}.words-layout{display:block}.word-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.word-group-title{grid-column:1/-1}.word-row{margin-bottom:0;align-self:start}.word-row summary{background:linear-gradient(135deg,#fff,#e3f6ff90)}.word-row[open] summary{background:#e0f5fc}.word-detail blockquote{background:#edfaff;border-color:#21c0c2}.root-network-section{background:radial-gradient(ellipse at center,#89dcffb0,#effbffb5);border:2px solid white;border-radius:18px;margin-bottom:24px;padding:22px}.root-network-section .knowledge-graph{max-width:640px;margin:auto}.root-network-section svg{height:330px}.network-panel{display:none}.path-stat,.exercise-box,.day-node{background:linear-gradient(135deg,#f7ffff,#e5f6ff);border-radius:14px;border:1px solid white}.option{border-radius:13px;background:#ffffffd9}.option:has(input:checked){border-color:#00b7b8;background:#defcfa}.review-ladder{gap:14px}.day-node b{color:#0075a5}.feedback{border:1px solid white}.stat strong{color:#007c9f}.empty{padding:50px 24px}.assistant-page{max-width:900px;margin:auto}.assistant-page .assistant-title{justify-content:center;padding:28px}.assistant-page .assistant-avatar{width:90px;height:90px}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.info-card{padding:25px}.info-card p{font-size:14px;color:#426b96}.map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.map-card{padding:22px;background:radial-gradient(ellipse,#c3f5ff,#ffffffcb)}.map-card h2{margin:0}.map-card .knowledge-graph svg{height:310px}footer{max-width:1448px;margin:20px auto 0;padding:20px 48px;border-color:white;color:#6584bc;background:#ffffff85;align-items:center;gap:14px}.footer-brand{font-weight:700;color:#102668;font-size:16px}.footer-links{display:flex;gap:20px;margin-left:auto;font-size:11px}footer small{margin-left:0;font-size:10px}.account{border:1px solid white}.source-note{color:#5a789d}.eyebrow{color:#008ba6}dialog{background:#f4fdfff5;border:2px solid white;color:var(--brand-navy);box-shadow:0 20px 100px #2a8bbc44}dialog::backdrop{background:#123e6a55}#toast{background:#075782;color:white}.large-empty-graph{max-width:600px;margin:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media(min-width:1500px){.brand-hero .hero-art{background-size:1600px auto;background-position:center -72px}.brand-hero{height:405px}.hero-content{padding-top:32px}.brand-hero h1{font-size:60px}}
@media(max-width:1250px){.brand-header{gap:16px;padding:12px 24px}.brand-header nav{gap:17px;order:3;flex-basis:100%}.brand-header .brand{margin-right:auto}.brand-stats,.home-grid{margin-left:24px;margin-right:24px}.brand-hero h1{font-size:48px;max-width:580px}.hero-content{padding-left:55px}.home-grid{grid-template-columns:1.1fr 1fr}.home-side{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:1fr 1fr}.recommended{grid-row:2;grid-column:1/-1}.brand-stat strong{font-size:19px}.stat-emblem{width:42px;height:42px;font-size:23px}.brand-quote{font-size:13px;padding:8px}.brand-stat{gap:8px}.progress-summary{justify-content:flex-start}.assistant-prompts{grid-template-columns:1fr 1fr}.home-progress{min-height:0}.root-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.brand-hero .hero-art{background-position:42% -67px}.hero-wash{background:linear-gradient(90deg,#e8f9ff 0%,#e8f9ff 34%,#e7faffed 48%,transparent 65%)}}
@media(max-width:900px){main{padding:22px 24px}.brand-hero h1{font-size:42px}.brand-hero .hero-subtitle{font-size:14px;max-width:480px}.hero-content{padding-left:32px}.brand-stats{grid-template-columns:repeat(4,1fr)}.brand-quote{display:none}.brand-stat{flex-direction:column;text-align:center;gap:5px}.brand-stat:last-of-type{border:0}.brand-stat strong{font-size:19px}.stat-emblem{display:none}.home-grid{gap:12px}.today-copy h2{font-size:42px}.today-copy .today-meaning{font-size:16px}.today-copy{max-width:100%}.today-card,.home-graph{height:340px}.today-bottom .primary{padding:9px 15px}.today-card{padding:14px}.today-card time{font-size:10px}.root-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.word-list{grid-template-columns:1fr}.info-grid{grid-template-columns:1fr 1fr}.root-header{padding:22px}.map-grid{grid-template-columns:1fr}.hero-actions a{font-size:14px;padding:11px 24px}}
@media(max-width:600px){.brand-header{padding:10px 16px;gap:10px}.brand{font-size:19px;gap:6px}.brand-mark{width:36px;height:40px;background-size:1158px 869px;background-position:-67px -6px}.brand small{font-size:8px}.header-account{gap:6px}.header-account .primary,.header-account .secondary{padding:7px 12px;font-size:11px;min-height:32px}#account{max-width:98px!important}.header-account #account span{display:none}#header-search{order:4;width:100%;display:none}.brand-header nav{order:3;justify-content:flex-start;gap:19px;flex-wrap:nowrap;overflow:auto;max-width:100%;padding-bottom:1px}.brand-header nav a{font-size:12px;padding:9px 0;flex-shrink:0}.topbar{padding:15px 20px;font-size:11px}main{padding:18px 18px 32px}.brand-hero{height:542px}.hero-art{background-size:1000px 750px;background-position:62% 211px}.hero-wash{background:linear-gradient(180deg,#e9faff 0%,#e9faff 42%,#e9faffee 51%,#e9faff00 67%)}.hero-content{padding:23px 23px}.hero-kicker{font-size:11px;margin-bottom:10px}.brand-hero h1{font-size:35px;line-height:1.22;letter-spacing:-1px;margin-bottom:13px}.brand-hero .hero-subtitle{font-size:12px;line-height:1.75;max-width:340px;margin-bottom:16px}.hero-actions{gap:10px}.hero-actions a{font-size:13px;padding:9px 20px;min-height:40px}.hero-trust{gap:8px;margin-top:15px;font-size:9px}.hero-trust span+span{padding-left:8px}.hero-bottom{display:none}.brand-stats{margin:0 14px 12px;padding:12px 6px;border-radius:14px;grid-template-columns:repeat(4,minmax(0,1fr))}.brand-stat{padding:0 4px}.brand-stat strong{font-size:17px}.brand-stat p{font-size:10px}.brand-stat small{font-size:7px;letter-spacing:0}.home-grid{margin:0 14px;grid-template-columns:1fr;gap:12px}.today-card{height:324px;padding:16px}.today-copy{max-width:100%}.today-copy h2{font-size:48px}.today-copy .today-meaning{font-size:17px}.today-card time{font-size:11px}.today-label{font-size:14px}.today-copy .today-example{font-size:12px;max-height:94px;line-height:1.65}.today-bottom{left:16px;right:16px}.home-graph{height:336px}.home-graph .knowledge-graph svg{height:268px}.home-side{grid-column:1;grid-row:auto;display:flex}.recommended{grid-column:1;grid-row:auto}.recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.recommend-card:last-child{grid-column:1/-1}.assistant-prompts{display:block}.assistant-title{justify-content:flex-start}.home-progress{padding:17px}.progress-summary{gap:24px}.progress-ring{width:95px;height:95px}.progress-summary b{font-size:20px}.home-progress .source-note{font-size:11px}.root-grid{grid-template-columns:1fr 1fr;gap:11px}.root-tile{padding:16px 12px}.root-tile h2{font-size:27px}.root-id{font-size:9px}.tile-top{font-size:9px}.root-tile .meaning{min-height:35px}.root-header{padding:22px 18px;gap:16px}.root-header h1{font-size:44px}.unit-progress{width:100%;max-width:none;padding:16px}.section-nav{gap:7px}.section-nav a{font-size:11px;padding:9px 12px}.learning-section{padding:20px 16px}.root-network-section{padding:15px 10px}.root-network-section svg{height:280px}.root-network-section h2{font-size:20px;padding:0 5px}.word-list{grid-template-columns:1fr}.word-row summary strong{font-size:20px}.word-detail{font-size:13px}.review-ladder{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.info-grid{grid-template-columns:1fr}.info-card{padding:23px}.assistant-page .assistant-title{padding:15px 0}.assistant-page h1{font-size:27px}.map-card{padding:15px}.map-card .knowledge-graph svg{height:265px}.table-wrap{border-radius:12px}footer{padding:22px 18px;gap:10px}.footer-links{margin-left:0;flex-basis:100%;gap:24px}footer small{font-size:9px}.stat{padding:18px}.stat strong{font-size:28px}.page-title h1{font-size:28px}.overview{display:none}}

/* Final responsive and reference-overlay corrections */
#map-root{display:block;width:100%;max-width:100%;margin:12px 0 22px;padding:12px;border:1px solid white;border-radius:14px;background:#f5fdff;color:var(--brand-navy)}.hero-wash{background:linear-gradient(90deg,#e9faff 0%,#e5f7ff 43%,#def5ff 46%,#d9f4ff00 60%)}.brand small{display:block;margin-left:0}.word-group-title{min-width:0}.assistant-avatar{background-position:-1082px -750px;width:100px;height:95px}
@media(max-width:1250px) and (min-width:601px){.hero-wash{background:linear-gradient(90deg,#e8f9ff 0%,#e8f9ff 48%,#e7faff 57%,transparent 74%)}}
@media(max-width:600px){.hero-wash{background:linear-gradient(180deg,#e9faff 0%,#e9faff 51%,#e9faff 55%,#e9faff00 70%)}.brand-hero .hero-art{background-size:1000px 750px;background-position:75% 211px}.brand small{display:block;margin-left:0}}
@media(max-width:600px){.brand-hero:after{content:"";position:absolute;bottom:0;left:0;right:0;height:27px;background:#e9faff}}

/* Exam-based IA: extend the approved brand; preserve existing learning surfaces. */
.exam-entry{max-width:1360px;margin:32px auto;padding:0 20px}.exam-entry h2{font-size:27px;margin:0}.exam-entry>p{color:#3b618e;font-size:14px}.exam-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.exam-entry-card{position:relative;display:flex;flex-direction:column;gap:20px;padding:22px;min-height:158px;background:linear-gradient(135deg,#ffffffeb,#e2f9fbda);transition:border-color .15s,box-shadow .15s}.exam-entry-card:hover{border-color:#00a9a6;box-shadow:0 8px 24px #07889926}.exam-entry-card h3{font-size:25px;margin:0 0 6px;color:#07558d}.exam-entry-card p{font-size:13px;margin:0;color:#345c85}.exam-entry-state{font-size:12px;color:#245675;padding-right:22px}.exam-entry-arrow{position:absolute;right:20px;bottom:20px;color:#007f8b;font-size:22px}.exam-entry-card:focus-visible,.exam-filters button:focus-visible{outline:3px solid #075bbb;outline-offset:3px}.exam-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.exam-path-hero{padding:28px;margin-bottom:24px}.exam-path-hero h1{font-size:34px;margin:12px 0}.exam-path-metrics{display:flex;flex-wrap:wrap;gap:36px;margin:24px 0}.exam-path-metrics strong{font-size:36px;display:block;color:#007b8c}.exam-path-metrics span{font-size:13px}.exam-order{padding:24px;margin-top:24px}.exam-order p{color:#42668d;line-height:1.7}.exam-order ol{padding-left:24px}.exam-order li{padding:12px 4px}.exam-order li a{font-weight:700;font-size:21px}.exam-order li span{display:block;font-size:12px;color:#42668d;margin-top:4px}.learning-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:24px 0}.learning-metrics strong{display:block;font-size:29px;color:#006d92}.learning-metrics span{display:block;font-size:13px;color:#345c85;margin-top:6px}.home-grid{grid-template-columns:1.1fr 1fr}.home-grid>.home-progress{grid-column:1/-1;grid-row:2;padding:24px}.home-grid>.home-side{grid-column:2;grid-row:3}.home-grid>.recommended{grid-column:1;grid-row:3}.home-grid .recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-stats{margin-top:24px;margin-bottom:24px}.exam-entry .source-note,.exam-path-hero .source-note{font-size:12px;color:#456486}.exam-entry .section-line{align-items:center;flex-wrap:wrap;gap:12px}
@media(max-width:1024px){.exam-entry-grid{gap:12px}.exam-entry-card{padding:18px 14px}.exam-entry-card h3{font-size:22px}.exam-entry-state{font-size:11px}.home-grid{padding:0 20px}.learning-metrics{gap:12px}.brand-stats{margin-left:20px;margin-right:20px}.brand-stat{min-width:0}.brand-stat p{overflow-wrap:anywhere}}
@media(max-width:600px){.exam-entry{margin:24px auto;padding:0 18px}.exam-entry h2{font-size:25px}.exam-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exam-entry-card{min-height:148px;gap:16px}.exam-entry-card h3{font-size:22px}.exam-entry-arrow{right:12px;bottom:16px}.exam-entry-state{line-height:1.6}.home-grid{display:flex;flex-direction:column;padding:0 18px}.home-grid>section,.home-grid>aside{width:100%}.home-grid>.home-side{order:5}.home-grid>.recommended{order:4}.home-grid>.home-progress{padding:20px}.learning-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}.learning-metrics strong{font-size:25px}.learning-metrics span{font-size:12px}.exam-path-hero{padding:22px 18px}.exam-path-hero h1{font-size:28px;overflow-wrap:anywhere}.exam-path-metrics{gap:22px}.exam-path-metrics strong{font-size:30px}.exam-order{padding:20px 18px}.exam-filters .chip{font-size:12px;padding:9px 13px}}

/* Platform IA restoration: honest entry points, no new services. */
.brand-header nav{gap:16px}.brand-header{column-gap:18px}.dictionary-entry{min-height:326px;padding:26px;background:linear-gradient(135deg,#faffff,#dbf7ff)}.dictionary-entry h2{font-size:27px;line-height:1.45;margin:12px 0}.dictionary-entry p{color:#365f85;line-height:1.7;font-size:14px}.dictionary-chain{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.dictionary-chain span{border:1px solid #b8e3ed;background:#fff9;border-radius:16px;padding:5px 10px;color:#12647f;font-size:12px}.capability-label{display:inline-block;background:#e4f4f7;color:#275872;border:1px solid #c0dfe8;border-radius:18px;padding:6px 12px;font-size:12px}.dictionary-entry>a{display:block;margin-top:14px}.home-grid>.today-card{grid-column:1;grid-row:1}.home-grid>.dictionary-entry{grid-column:2;grid-row:1}.home-grid>.home-graph{grid-column:1;grid-row:2}.home-grid>.home-progress{grid-column:2;grid-row:2;min-height:326px}.home-grid .learning-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.platform-entry-grid{grid-column:1/-1;grid-row:4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.platform-entry{display:block;padding:24px;min-width:0}.platform-entry h2{font-size:23px;line-height:1.5;margin:12px 0}.platform-entry p{color:#436989;font-size:13px}.platform-entry>span:last-child{font-size:13px;color:#007e8e}.platform-entry:hover{border-color:#04aaa8}.portal-intro{padding:40px;max-width:1040px;margin:0 auto}.portal-intro h1{font-size:42px;margin:20px 0}.portal-lead{font-size:22px;color:#176480}.portal-intro>p{line-height:1.8}.portal-capabilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:28px 0}.portal-capabilities>div,.portal-capabilities>a{padding:22px;border:1px solid #d0e9f0;border-radius:14px;background:#f1fbffa6;min-width:0}.portal-capabilities span{font-size:12px;color:#456780}.portal-capabilities h2{font-size:20px;margin:8px 0}.portal-capabilities h3{margin:0 0 12px}.portal-intro>.primary,.portal-intro>.secondary{display:inline-block;margin:0 12px 12px 0}.admin-workspaces{margin-top:32px}.path-overview{max-width:1280px;margin:28px auto;line-height:1.8}.path-overview p{overflow-wrap:anywhere}.footer-links{flex-wrap:wrap}
@media(max-width:1024px){.brand-header nav{gap:12px;flex-basis:100%;order:3}.portal-intro{padding:28px}.platform-entry-grid{gap:12px}.platform-entry{padding:20px}.platform-entry h2{font-size:20px}}
@media(max-width:600px){.brand-header nav{justify-content:flex-start;gap:4px 16px}.brand-header nav a{font-size:12px;padding:9px 0}.dictionary-entry{padding:22px;min-height:0}.dictionary-entry h2{font-size:25px}.home-grid>.home-progress{min-height:0}.home-grid>.home-side{order:0}.home-grid>.recommended{order:0}.platform-entry-grid{grid-template-columns:1fr}.home-grid .recommend-card:last-child{grid-column:auto}.portal-intro{padding:24px 18px}.portal-intro h1{font-size:30px}.portal-lead{font-size:19px}.portal-capabilities{grid-template-columns:1fr;gap:12px}.portal-capabilities>div,.portal-capabilities>a{padding:18px}.portal-capabilities h2{font-size:19px}.path-overview h2{font-size:23px}.platform-entry-grid{margin-top:4px}}

/* Original orbital graph retained; only node typography and detail overlay added. */
.node-formation-graph .graph-formation{fill:var(--brand-navy);font-size:12px}
.node-formation-graph .graph-morpheme-root{fill:var(--teal);font-weight:800}
.node-formation-graph .graph-cn{font-size:11px}
.node-formation-graph .graph-node:focus-visible{outline:none}
.node-formation-graph .graph-node:focus-visible .graph-word,.node-formation-graph .graph-node:hover .graph-word{stroke:var(--brand-teal);stroke-width:3}
.graph-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:80vh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--brand-sky);color:var(--ink);box-shadow:var(--brand-shadow)}
.graph-dialog::backdrop{background:rgba(6,26,89,.5)}
.graph-dialog-close{display:block;margin-left:auto;min-height:44px}
.graph-dialog h2{margin:12px 0;font-size:26px;overflow-wrap:anywhere}
.graph-dialog dl>div{margin:16px 0}.graph-dialog dt{font-size:13px;color:var(--muted);font-weight:700}.graph-dialog dd{margin:4px 0 0;font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.graph-dialog [hidden]{display:none}
.graph-dialog [data-graph-learn]{display:inline-block;min-height:44px}
/* Preserve the original graph card while allowing its SVG to fit below the heading. */
.home-grid>.home-graph{height:auto;min-height:326px}
.node-formation-graph .graph-formation{font-size:13px}
.node-formation-graph .graph-formation{font-size:16px}
.node-formation-graph .graph-cn{font-size:14px}
/* Unified pronunciation controls: no audio is requested during rendering. */
.word-audio-title{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.pronunciation-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;width:44px;min-height:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--brand-blue);cursor:pointer;flex-shrink:0;vertical-align:middle}
.pronunciation-button>span{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--brand-sky);font-size:16px;line-height:1}
.pronunciation-button:focus-visible{outline:2px solid var(--teal);outline-offset:1px}.pronunciation-button[data-state=playing]>span{background:var(--teal);color:var(--white)}.pronunciation-button[data-state=loading]>span{color:var(--teal)}.pronunciation-button:disabled{cursor:default;opacity:.6}
.graph-audio{overflow:visible}.graph-audio .pronunciation-button{width:60px;height:60px;min-width:60px;min-height:60px}.graph-audio .pronunciation-button>span{width:24px;height:24px;font-size:15px}
.pronunciation-notice{position:fixed;z-index:1000;bottom:12px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;background:var(--brand-navy);color:var(--white);border-radius:12px;padding:12px 18px;font-size:14px;pointer-events:none}
.word-search-result{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line);background:var(--brand-glass)}.word-search-result>a{font-weight:700}.word-search-result>span{flex:1 1 200px;font-size:14px}.review-word-audio{display:flex;gap:8px;flex-wrap:wrap}.word-row summary .word-audio-title{flex-shrink:0}
