@import url("learn.css");
:root{font-family:Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#26383e;background:#f7f7f2;--ink:#243e47;--accent:#ad8354;--line:#e5e7df;--muted:#748086;--paper:#fff;--sidebar:#1c3038}body{background:#f7f7f2;font-size:14px;line-height:1.55}a{color:inherit}button,.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:43px;border-radius:8px;padding:10px 16px;font-size:14px;font-weight:550;border-color:#dce2dc;transition:background .15s,border-color .15s}button:hover,.button:hover{background:#edf0e9;border-color:#a8b8b4}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover{background:#152e37;color:white}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{min-height:44px;border:1px solid #d7ded8;border-radius:8px;color:#26383e;padding:10px 12px;font-size:14px}input::placeholder{color:#929c9c}input[type=checkbox]{min-height:18px;width:18px;height:18px;accent-color:var(--ink)}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-size:clamp(27px,2.5vw,36px);font-weight:650;letter-spacing:-.05em;line-height:1.32}h2{font-size:21px;font-weight:650;letter-spacing:-.025em}h3{font-size:17px;font-weight:600;line-height:1.5}p{line-height:1.8}progress{appearance:none;height:6px;border:0;background:#e9ece5;border-radius:20px;width:100%;overflow:hidden}progress::-webkit-progress-bar{background:#e9ece5;border-radius:20px}progress::-webkit-progress-value{background:#ad8354;border-radius:20px}progress::-moz-progress-bar{background:#ad8354;border-radius:20px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.button .icon{width:17px;height:17px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.17em;font-weight:650;color:#8d795e}.full{width:100%}.app-layout{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--sidebar);color:#b9c5c7;position:sticky;top:0;height:100dvh;overflow-y:auto;padding:31px 20px 22px;display:flex;flex-direction:column;border-right:1px solid #2b4149;z-index:30}.brand{display:flex;align-items:center;gap:11px;color:#f2eee3;font-size:21px;line-height:1.3;letter-spacing:.02em;padding:0 5px;margin-bottom:42px}.brand small{display:block;font-size:7px;letter-spacing:.14em;font-weight:400;color:#a3afb1;margin-top:6px}.brand-mark{width:36px;height:36px;flex-shrink:0;color:#ae865b}.sidebar-caption{font-size:9px;letter-spacing:.17em;color:#8b9fa4;margin:0 11px 12px;font-weight:600}.sidebar nav{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin-bottom:28px}.sidebar nav a{display:flex;align-items:center;gap:13px;position:relative;color:#bec9cb;padding:11px 13px;border-radius:7px;font-size:13px;min-height:43px;text-decoration:none;border:0;font-weight:450}.sidebar nav a .icon{width:18px;height:18px;opacity:.85}.sidebar nav a:hover{background:#2c424a;color:#fff}.sidebar nav a[aria-current=page]{background:#f2f0e5;color:#283f46;border:none;font-weight:650}.sidebar nav a i{width:5px;height:5px;border-radius:50%;background:#ad8354;margin-left:auto}.sidebar-bottom{margin-top:auto;padding:28px 12px 3px;border-top:1px solid #3b4d53}.sidebar-note{color:#bf9d75}.sidebar-bottom p{font-size:15px;line-height:1.8;color:#e0e5e2;margin:13px 0 16px}.sidebar-bottom a{color:#9fb0b2;font-size:10px;text-decoration:none;display:flex;align-items:center;gap:12px}.sidebar-bottom a .icon{width:14px}.workspace{min-width:0}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;border-bottom:1px solid var(--line);background:#fcfcf9;gap:20px}.topbar-position,.topbar-actions{display:flex;align-items:center;gap:24px}.breadcrumb{font-size:12px;color:#8a9291;white-space:nowrap}.breadcrumb>span{margin:0 12px;color:#c4cbc8}.breadcrumb strong{color:#46565b;font-weight:500}.topbar-actions{gap:21px}.topbar form{display:flex;align-items:center;gap:10px;background:#f3f4ef;border:1px solid #e9ebe3;border-radius:8px;padding:0 10px;max-width:250px}.topbar form>.icon{width:15px;color:#8d9797}.topbar input{width:165px;padding:7px 0;border:0;background:transparent;font-size:11px;outline:none;min-height:37px}.topbar form button{background:none;border:0;padding:2px;min-height:26px}.topbar form button .icon{width:14px;color:#8d9797}.account-pill{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:11px;white-space:nowrap}.avatar{width:34px;height:34px;background:#e6ece4;border:1px solid #dbe3da;border-radius:50%;display:grid;place-items:center;font-size:13px;color:#617364;font-weight:600}.account-pill small{display:block;font-size:9px;color:#899591;margin-top:2px}.account-pill>.icon{width:12px;color:#91a29e}.workspace main{width:100%;max-width:1560px;padding:30px 36px 22px;margin:0 auto;min-width:0}.icon-button{padding:7px;border:0;background:transparent;min-height:38px}.topbar #open-menu,.sidebar #close-menu,.sidebar-shade{display:none}.welcome-line{display:flex;align-items:center;justify-content:space-between;color:#6f7d7d;font-size:11px;margin-bottom:19px}.welcome-line span:first-child{font-size:14px;color:#43585c;font-weight:550}.home-intro{display:grid;grid-template-columns:minmax(0,1fr) 254px;gap:20px}.study-hero{border-radius:12px;min-height:366px;padding:34px 32px 25px;color:#fff7ec;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(14,23,25,.38),rgba(14,23,25,.15) 65%,transparent),url("assets/learning/piano-study-hero-v1.webp") center/cover}.hero-kicker{font-size:9px;letter-spacing:.2em;color:#e2c9a3}.study-hero h1{font-size:clamp(27px,2.2vw,38px);letter-spacing:-.035em;line-height:1.55;margin:20px 0 14px;font-weight:500;max-width:600px;text-shadow:0 1px 14px #17212755}.study-hero h1 span{color:#dbb983}.study-hero p{font-size:11px;color:#bfc5bf;line-height:1.8;margin-bottom:25px}.study-hero .actions{gap:20px}.hero-primary{background:#f4ecd9;color:#374344;border-color:#f4ecd9;font-size:12px;padding:10px 15px}.hero-primary:hover{background:white;color:#263e47}.hero-secondary{font-size:11px;color:#ece7dc;text-decoration:none}.hero-bottom{display:flex;align-items:center;gap:12px;color:#c0c4ba;font-size:9px;margin-top:29px;letter-spacing:.02em}.hero-bottom i{height:3px;width:3px;border-radius:50%;background:#a5a99d}.continue-card{background:#eef0e7;border:1px solid #e4e7db;border-radius:12px;padding:24px 23px;display:flex;flex-direction:column}.section-kicker{font-size:8px;letter-spacing:.11em;color:#6e7b6b;display:flex;align-items:center;gap:7px;font-weight:600}.section-kicker .icon{width:13px;height:13px}.continue-card h2{font-size:19px;line-height:1.5;margin:19px 0 16px;font-weight:550}.continue-card h3{font-size:14px;line-height:1.7;margin:7px 0}.continue-card p{font-size:10px;color:#81907f}.continue-label{font-size:9px;color:#82907d}.continue-percent{font-family:Georgia,serif;font-size:38px;margin:5px 0;color:#41554c}.continue-percent small{font-family:inherit;font-size:15px;margin-left:5px}.continue-detail{font-size:9px;color:#83907c;margin:10px 0 18px}.continue-card .full{font-size:11px;min-height:39px;margin-top:auto}.continue-history{display:flex;justify-content:center;align-items:center;font-size:10px;color:#71816e;margin-top:16px;text-decoration:none}.continue-history .icon{width:12px;height:12px}.next-illustration{color:#9ba793;border-bottom:1px solid #d9dfd0;padding-bottom:10px}.next-illustration .icon{width:36px;height:36px}.overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:11px;background:#fdfdf9;margin:22px 0 34px;padding:20px 0}.overview-stat{display:flex;align-items:center;gap:14px;padding:0 23px;border-right:1px solid var(--line)}.overview-stat:last-child{border-right:0}.stat-icon{color:#a38e72;background:#f5f0e6;border:1px solid #eee7da;display:grid;place-items:center;width:36px;height:36px;border-radius:9px;flex-shrink:0}.stat-icon .icon{width:17px;height:17px}.overview-stat>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:baseline;min-width:0}.overview-stat strong{font-size:25px;font-weight:500;letter-spacing:-.04em}.overview-stat span:not(.stat-icon){font-size:10px;color:#6e7f7e}.overview-stat small{grid-column:1/-1;font-size:8px;color:#9baba4;margin-top:3px}.section-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:30px 0 18px}.section-heading h2{font-size:21px;margin:5px 0 0;font-weight:550}.section-heading>a{font-size:11px;text-decoration:none;display:flex;align-items:center;gap:9px;color:#71817c}.section-heading>a .icon{width:14px;height:14px}.learning-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.path-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px 17px;text-decoration:none;transition:background .15s,border-color .15s}.path-card:hover{border-color:#bdc9bd;background:#fbfcf7}.path-card h3{font-size:14px;margin:0 0 4px}.path-card p{font-size:9px;color:#859189;line-height:1.7;margin:0}.path-card>.icon{width:14px;margin-left:auto;color:#a3ada7}.path-icon{width:39px;height:39px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;background:#e9eee9;color:#5f7c70}.path-icon.blue{color:#557b89;background:#e7eff1}.path-icon.gold{color:#a8844c;background:#f6efdf}.path-icon.plum{color:#8b6d89;background:#efe8ed}.path-icon .icon{width:19px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}.library-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;min-width:0;transition:border-color .16s,box-shadow .16s}.library-card:hover{border-color:#c6d0c2;box-shadow:0 6px 18px #273e4210}.paper-cover{height:176px;position:relative;overflow:hidden;--cover:#ede6d5;--cover-ink:#8d8263;background:var(--cover);color:var(--cover-ink);padding:17px 20px}.paper-cover:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;border:1px solid currentColor;opacity:.12;left:-72px;bottom:-177px}.tone-0{--cover:#e6e8de;--cover-ink:#7b8a68}.tone-1{--cover:#e6e0d2;--cover-ink:#8f8061}.tone-2{--cover:#dce8e7;--cover-ink:#638b88}.tone-3{--cover:#e6e0e7;--cover-ink:#8c758d}.tone-4{--cover:#e9ddcf;--cover-ink:#aa8966}.cover-label{font-size:8px;letter-spacing:.15em;font-weight:650;position:relative;z-index:1}.cover-number{font:58px/1 Georgia,"Times New Roman",serif;position:absolute;left:20px;top:46px;font-weight:400;letter-spacing:-.06em;opacity:.85}.cover-art{position:absolute;width:190px;height:155px;right:-16px;top:29px;opacity:.65;transform:rotate(-4deg)}.cover-composer{position:absolute;bottom:16px;left:20px;font-size:10px;letter-spacing:.13em}.favorite-button{position:absolute;right:12px;top:12px;width:31px;height:31px;min-height:31px;padding:7px;background:#ffffff9c;border:1px solid #ffffff9c;border-radius:50%;color:#8a9386;z-index:2}.favorite-button .icon{width:15px;height:15px}.favorite-button.is-saved{color:#a17e44;background:#fff7df}.favorite-button.is-saved .icon{fill:#e5c987}.library-body{padding:19px 20px 0}.card-meta{display:flex;justify-content:space-between;gap:5px;align-items:center;font-size:8px;color:#8a968d;line-height:1.5}.access-tag{display:inline-block;padding:3px 7px;border-radius:4px;background:#edf2e9;color:#6f8762;font-size:9px}.access-tag.locked{background:#f4eee5;color:#a48a63}.library-body h2{font-size:15px;line-height:1.6;letter-spacing:-.02em;margin:12px 0 6px;font-weight:600}.card-description{font-size:10px;color:#8b958e;margin:0 0 15px;min-height:18px}.paper-facts{display:flex;gap:13px;color:#829087;font-size:10px;padding-bottom:17px}.paper-facts span+span{position:relative}.paper-facts span+span:before{content:"";position:absolute;left:-7px;top:7px;width:2px;height:2px;border-radius:50%;background:#c1c9bc}.paper-action{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e9;min-height:49px;font-size:11px;text-decoration:none;color:#557267}.paper-action .icon{width:15px}.action-locked{color:#978363}.mini-progress{font-size:9px;color:#8b978b;margin-bottom:13px}.mini-progress progress{height:4px;margin-top:5px}.previous-score{font-size:9px;color:#7f8e81;margin:-3px 0 11px;display:flex;gap:7px}.previous-score span{margin-left:auto;color:#a6afa4}.bottom-dashboard{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr);gap:22px;margin-top:28px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;padding:23px}.recent-panel .section-heading{margin:0 0 16px}.recent-panel .section-heading h2{font-size:17px}.quiet-empty{padding:28px 12px;text-align:center;color:#a0aca1;font-size:11px}.quiet-empty>.icon{width:28px;height:28px;color:#b4bfb2}.attempt-row{display:flex;gap:13px;align-items:center;padding:17px 0;border-top:1px solid #eff1ea;text-decoration:none}.attempt-symbol{width:32px;height:32px;background:#f0f3eb;border-radius:8px;color:#88977c;display:grid;place-items:center;flex-shrink:0}.attempt-symbol .icon{width:16px}.attempt-title{min-width:0}.attempt-title strong{font-size:12px;font-weight:550;display:block}.attempt-title small{font-size:9px;color:#95a08f;display:block;margin-top:4px}.attempt-score{margin-left:auto;white-space:nowrap;font-size:22px;color:#7a8766;font-family:Georgia,serif}.attempt-score small{font-size:12px;color:#aab09d}.attempt-row>.icon{width:14px;color:#9caa98}.next-focus{border:1px solid #e7e4d8;border-radius:11px;padding:26px;background:#f0eee4}.next-focus .eyebrow{font-size:8px}.next-focus h2{font-size:22px;line-height:1.6;margin:18px 0 12px;max-width:230px;font-weight:500}.next-focus p{font-size:11px;color:#8b8e79}.next-focus a{display:flex;gap:20px;align-items:center;font-size:11px;color:#7c8269;text-decoration:none;margin-top:23px}.next-focus a .icon{width:15px}.page-heading{margin:8px 0 29px}.page-heading h1{font-size:32px;margin:11px 0 12px}.page-heading p{font-size:12px;color:#849086}.library-feature{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #e3e7de;border-radius:10px;background:#edf0e7;padding:19px 22px;margin:0 0 25px}.library-feature>div{display:flex;gap:15px;align-items:center}.library-feature>div>.icon{color:#91a27c;width:24px;height:24px}.library-feature strong{font-size:13px;font-weight:550;display:block}.library-feature small{font-size:10px;color:#8a9681;display:block;margin-top:5px}.library-feature .button{font-size:11px;white-space:nowrap;background:#fcfcf7;min-height:38px}.library-tabs{display:flex;align-items:center;gap:22px;border-bottom:1px solid #e3e7dd;overflow-x:auto;margin-bottom:23px}.library-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;padding:12px 2px;white-space:nowrap;font-size:12px;color:#929b8e;gap:8px;min-height:43px}.library-tabs button span{font-size:9px;background:#eef0e8;padding:1px 5px;border-radius:4px}.library-tabs button[aria-pressed=true]{border-bottom-color:#6f8678;color:#34584d}.library-toolbar{display:flex;align-items:center;gap:10px;margin:0 0 19px;flex-wrap:wrap}.search-field{display:flex;gap:11px;align-items:center;margin:0;background:white;border:1px solid #dce2d9;border-radius:8px;flex:1;min-width:220px;padding:0 13px}.search-field>.icon{width:16px;color:#8f9d8c}.search-field input{min-width:0;min-height:43px;border:0;padding:10px 0;background:transparent}.search-field:focus-within{outline:2px solid #b8c9b1;outline-offset:1px}.search-field input:focus-visible{outline:none}.library-toolbar>select{width:auto;max-width:180px;font-size:11px;min-height:44px;background:#fdfef9}.favorites-filter{font-size:11px;min-height:44px}.favorites-filter .icon{width:15px}.favorites-filter[aria-pressed=true]{background:#fff3d8;color:#97753b;border-color:#dac496}.results-line{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0;color:#9aa491;font-size:10px}.results-line p{margin:0}.results-line strong{color:#5a725a;font-weight:600}.layout-switch{display:flex;gap:3px}.layout-switch button{width:30px;height:30px;min-height:30px;padding:6px;border-radius:5px;background:transparent;border-color:transparent;color:#9eab98}.layout-switch button[aria-pressed=true]{background:#e6ebe1;color:#5b755d}.layout-switch .icon{width:15px;height:15px}.library-grid.is-list{grid-template-columns:1fr}.is-list .library-card{display:grid;grid-template-columns:170px minmax(0,1fr)}.is-list .paper-cover{height:100%;min-height:170px}.is-list .cover-art{right:-50px}.is-list .favorite-button{left:127px;right:auto}.is-list .library-body{padding:17px 23px 0}.is-list .card-description{margin-bottom:8px}.is-list .paper-facts{padding-bottom:11px}.empty-state{grid-column:1/-1;text-align:center;background:#fff;border:1px dashed #d7e0d1;border-radius:11px;padding:54px 25px;color:#a0ac98}.empty-state>div>.icon{width:40px;height:40px;margin-bottom:20px}.empty-state h2{font-size:20px;color:#5c745d;font-weight:500}.empty-state p{font-size:12px;margin-bottom:23px}.source-selector{display:flex;align-items:center;gap:16px;margin-bottom:25px;background:#fdfef9}.source-selector h2{font-size:15px;margin:0 0 5px}.source-selector p{font-size:10px;color:#8e9c86;margin:0}.source-selector select{max-width:290px;margin-left:auto;font-size:12px}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.topic-card{border:1px solid var(--line);border-radius:10px;padding:24px;background:#fff}.topic-highlight{border-color:#a9be9b;background:#fcfff8}.topic-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.topic-number{font:34px Georgia,serif;color:#c7d1bd}.topic-mini-art{width:42px;height:42px;border:1px solid #e0e8d8;border-radius:50%;display:grid;place-items:center;color:#a3b48f}.topic-card:nth-child(3n+2) .topic-number,.topic-card:nth-child(3n+2) .topic-mini-art{color:#baa586}.topic-card:nth-child(3n) .topic-number,.topic-card:nth-child(3n) .topic-mini-art{color:#aba1b4}.topic-card>.eyebrow{font-size:8px;color:#99a68d}.topic-card h2{font-size:19px;margin:8px 0 12px}.topic-card>p{font-size:11px;color:#8b9882;min-height:80px}.topic-footer{border-top:1px solid #eef1e8;padding-top:15px}.topic-footer>span{display:block;font-size:9px;color:#9daa91;margin-bottom:13px}.topic-footer>a{display:flex;justify-content:space-between;text-decoration:none;font-size:12px;color:#5a7854;font-weight:600}.topic-footer>a .icon{width:15px}.topic-method{display:flex;align-items:center;justify-content:center;gap:8px;font-size:9px;margin-top:18px;color:#9aa78d;text-decoration:none}.topic-method .icon{width:12px}.terms-banner{border:1px solid #e4dfdc;border-radius:11px;background:#eee6e4;display:grid;grid-template-columns:1fr 1.15fr;gap:30px;padding:30px 35px;margin-bottom:25px}.terms-banner>div:first-child{display:flex;flex-direction:column;justify-content:center;border-right:1px solid #d9cfc9;color:#967f75;min-height:125px}.term-calligraphy{font:italic 46px Georgia,serif;letter-spacing:-.03em;margin-bottom:12px}.terms-banner>div:first-child>span:last-child{font-size:10px;color:#a28e84}.terms-banner strong{font-size:17px;font-weight:500;color:#78675e}.terms-banner p{font-size:11px;color:#9b8b7e;margin:12px 0 19px}.terms-banner a{display:inline-flex;align-items:center;gap:14px;font-size:11px;color:#8d7765;text-decoration:none}.terms-banner .icon{width:15px}.terms-controls{display:flex;justify-content:space-between;align-items:center;margin:25px 0 22px}.segmented{display:flex;gap:2px;background:#ecefe7;padding:4px;border-radius:8px;overflow:auto}.segmented button{border-color:transparent;border-radius:6px;background:transparent;color:#8d9d81;min-height:33px;padding:7px 14px;font-size:11px;white-space:nowrap}.segmented button[aria-pressed=true]{background:#fff;color:#506c4c;box-shadow:0 1px 4px #1f3c3010}.subtle-link{font-size:10px;display:flex;gap:8px;align-items:center;color:#929d88;text-decoration:none}.subtle-link .icon{width:12px}.term-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.term-card{border:1px solid var(--line);border-radius:10px;background:#fff;padding:21px 23px;min-width:0}.term-card>div{display:flex;align-items:center;justify-content:space-between}.term-category{font-size:9px;color:#9ca78d;background:#f0f2e9;padding:3px 7px;border-radius:4px}.term-card button{border:0;background:transparent;padding:4px;min-height:26px;color:#afbaa2}.term-card button[aria-pressed=true]{color:#8a7444}.term-card button .icon{width:15px}.term-card h2{font:italic 25px/1.4 Georgia,serif;color:#62765a;margin:19px 0 14px;overflow-wrap:anywhere}.term-card p{font-size:13px;color:#7b8971;margin:0 0 7px}.term-card>span{font-size:10px;color:#a1ab94;display:block;line-height:1.7}.flashcard-area{max-width:660px;margin:25px auto}.flashcard-progress{display:flex;justify-content:space-between;color:#97a387;font-size:11px;margin-bottom:15px}.flashcard{display:flex;flex-direction:column;gap:25px;min-height:310px;width:100%;background:#fffdf6;border:1px solid #e2decf;padding:42px 28px;border-radius:14px;box-shadow:0 10px 28px #40533206}.flashcard.is-flipped{background:#eef3e8}.flashcard-kicker{font-size:9px;letter-spacing:.17em;color:#a3ab92}.flashcard strong{font:italic 35px/1.45 Georgia,"Microsoft YaHei",serif;color:#657553;font-weight:400}.flashcard>span:not(.flashcard-kicker){font-size:13px;color:#96a17e}.flashcard small{display:flex;align-items:center;gap:8px;font-size:10px;color:#a7b092}.flashcard small .icon{width:13px}.flashcard-actions{display:flex;gap:12px;justify-content:space-between;margin-top:20px}.flashcard-actions button{font-size:11px}.guide-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:27px}.guide-outline{align-self:start;position:sticky;top:22px;display:flex;flex-direction:column;gap:4px}.guide-outline>.eyebrow{font-size:9px;margin:7px 9px 17px}.guide-outline>button{display:flex;justify-content:flex-start;gap:13px;font-size:12px;padding:11px 10px;background:transparent;border:0;color:#7a8d6d;min-height:39px}.guide-outline>button span{color:#b5bfa7;font:14px Georgia,serif}.guide-outline>button:hover{background:#e9eee0}.guide-outline>a{font-size:10px;color:#a0aa8d;margin:25px 10px 0;line-height:1.8;text-decoration:none}.guide-outline>a .icon{width:12px}.guide-note{border:1px solid var(--line);border-radius:11px;background:white;padding:30px;margin-bottom:23px;scroll-margin-top:22px}.guide-title{display:flex;gap:21px;align-items:center;margin-bottom:20px}.guide-title>span{font:42px Georgia,serif;color:#d0d7c6}.guide-title small{font-size:9px;color:#a0ad8e;letter-spacing:.1em}.guide-title h2{font-size:23px;margin:4px 0 0}.guide-note ol{list-style:none;padding:0;margin:0}.guide-note li{display:flex;gap:16px;padding:12px 0;border-top:1px solid #f0f2ea}.guide-note li>span{color:#b2bca4;font-size:10px;padding-top:4px}.guide-note li p{font-size:12px;color:#86977a;margin:0;line-height:1.9}.pitfall{border-radius:7px;padding:17px 19px;background:#f8f3e7;margin:18px 0 21px;color:#a5926d}.pitfall strong{font-size:10px;font-weight:500}.pitfall p{font-size:11px;line-height:1.9;margin:7px 0 0}.guide-note>.button{font-size:11px;min-height:37px;background:#fafcf6}.draft-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.draft-row h3{font-size:15px;margin:0}.draft-row p{font-size:11px;color:#8f9e80;margin:7px 0 0}.review-summary{display:flex;gap:35px;border:1px solid #e1e6d9;border-radius:11px;background:#f0f3e9;padding:25px 28px;margin-bottom:25px}.review-summary>div{display:grid;grid-template-columns:auto 1fr;column-gap:13px;align-items:center;min-width:130px}.review-summary>div .icon{grid-row:1/3;color:#a2ae90;width:28px;height:28px}.review-summary strong{font:30px Georgia,serif;color:#72875e}.review-summary span{font-size:10px;color:#a4b18f}.review-summary p{font-size:10px;color:#a1ad8e;margin:0 0 0 auto}.review-row{display:flex;align-items:center;gap:19px;border:1px solid var(--line);border-radius:10px;background:white;padding:22px;margin-bottom:16px}.review-icon{color:#b38b78;background:#f7eee7;display:grid;place-items:center;width:39px;height:39px;border-radius:9px;flex-shrink:0}.review-icon.resolved{color:#8ca078;background:#edf4e7}.review-row>div{min-width:0}.review-meta{display:flex;gap:13px;font-size:9px;color:#9fab8f}.review-meta>span:first-child{color:#829771}.review-row h2{font-size:14px;line-height:1.7;margin:9px 0 5px;max-width:700px}.review-row p{font-size:10px;color:#a2ad94;margin:0}.review-row .button{white-space:nowrap;margin-left:auto;font-size:11px;flex-shrink:0}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,.9fr);max-width:1050px;margin:35px auto 55px;border:1px solid #e0e4d9;border-radius:15px;overflow:hidden;background:white}.auth-story{background:linear-gradient(0deg,#192e30b0,#192e3033),url('assets/learning/piano-study-hero-v1.webp') 66%/cover;min-height:500px;padding:46px 38px;display:flex;flex-direction:column;color:#f3efde}.auth-story>.eyebrow{color:#d0b58c;font-size:9px}.auth-story h1{font-size:34px;line-height:1.7;font-weight:450;margin:33px 0 23px;max-width:320px}.auth-story p{font-size:12px;color:#c4ccb7;line-height:1.9;max-width:260px}.auth-story>.auth-note{font-size:10px;color:#bfccaf;margin-top:auto;padding-top:45px;display:flex;gap:10px;align-items:center}.auth-note .icon{width:16px}.auth-layout .form{max-width:none;border:0;box-shadow:none;margin:0;padding:42px 37px;background:#fff}.auth-layout .form h2{font-size:24px;margin-bottom:27px}.auth-layout .form label{font-size:11px;color:#899878;margin-top:19px;margin-bottom:8px}.auth-layout .form input{background:#fcfdf9}.auth-layout .form>.primary{width:100%;margin:17px 0 12px}.auth-layout .form>p{font-size:11px;color:#95a584}.account-hero{display:flex;justify-content:space-between;gap:25px;padding:30px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:24px}.account-profile{display:flex;gap:21px;align-items:center}.account-avatar{width:65px;height:65px;background:#e9eee2;color:#81966d;border:1px solid #dae3cf;border-radius:19px;display:grid;place-items:center;font-size:25px}.account-profile h1{font-size:27px;margin:6px 0 7px}.account-profile p{font-size:11px;color:#9aa88a;margin:0}.account-hero>button{align-self:center;font-size:11px;color:#889d76}.account-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:26px}.account-quicklinks .panel{display:flex;gap:15px;align-items:center;text-decoration:none}.account-quicklinks .panel>.icon{width:23px;color:#a0b18d}.account-quicklinks strong{display:block;font-size:13px;font-weight:550}.account-quicklinks small{display:block;font-size:10px;margin-top:5px;color:#a1ae90}.account-quicklinks .panel>.icon:last-child{margin-left:auto;width:15px}.hero{border-color:var(--line);background:linear-gradient(120deg,#e9eee5,#fcfdf8);padding:30px;border-radius:12px}.hero p{color:#8c9e80;font-size:12px}.hero h1{font-size:31px}.card{border-color:var(--line);border-radius:10px;padding:25px;background:#fff}.card h2{font-size:21px}.card h3{font-size:16px}.card p{font-size:12px;color:#83967a}.card label{font-size:12px;color:#7a8b72}.card input,.card select{font-size:13px;background:#fdfef9}.card .notice{font-size:11px}.card .two{gap:15px}.table-wrap{background:#fff}th{font-size:11px;color:#98a98b}td{font-size:11px;color:#7d8e71}.notice{border-left-color:#b9a074;background:#f8f3e6;color:#9b8a65;font-size:12px}.error{font-size:12px}.form{max-width:620px}.numbers strong{font-family:Georgia,serif;font-weight:400;color:#798d67}.grid{gap:22px}.tag{background:#edf2e7;color:#8ca279}.foot{display:flex;align-items:center;justify-content:space-between;gap:25px;border-top:1px solid var(--line);margin-top:43px;padding:25px 0 8px;color:#b1bda1}.foot>div{display:flex;gap:11px;align-items:center;flex-shrink:0}.foot .brand-mark{color:#d7d3be;width:28px;height:28px}.foot strong{font-size:11px;font-weight:500;color:#99a88b}.foot small{display:block;font-size:8px;margin-top:4px;color:#b3bca5}.foot>p{font-size:8px;color:#aab69a;text-align:right;line-height:1.9;margin:0}#status:not(:empty){background:#304b3c;border:1px solid #536b43;z-index:60;font-size:12px}#root:empty{min-height:100vh}:focus-visible{outline:3px solid #ba9a58;outline-offset:3px}
@media(min-width:1550px){.app-layout{grid-template-columns:244px minmax(0,1fr)}.sidebar{padding:34px 26px}.workspace main{padding:35px 45px}.topbar{padding:0 45px}.home-intro{grid-template-columns:minmax(0,1fr) 285px}.study-hero{padding:38px 40px;min-height:390px}.study-hero h1{font-size:38px}.library-grid{gap:25px}.paper-cover{height:195px}.library-body{padding:22px 24px 0}.library-body h2{font-size:17px}.card-description{font-size:11px}.paper-facts{font-size:11px}.paper-action{font-size:12px}}
@media(max-width:1180px){.app-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:28px 14px}.brand{gap:8px;font-size:18px}.brand small{font-size:6px}.brand-mark{width:31px;height:31px}.sidebar nav a{font-size:12px;padding:10px 11px}.workspace main{padding:25px 25px 20px}.topbar{padding:0 25px}.topbar form{max-width:190px}.topbar input{width:110px}.home-intro{grid-template-columns:minmax(0,1fr) 224px;gap:17px}.study-hero{padding:29px 24px}.study-hero h1{font-size:29px}.hero-bottom{font-size:8px;gap:9px}.continue-card{padding:22px 18px}.overview-stat{padding:0 14px;gap:10px}.overview-stat span:not(.stat-icon){font-size:9px}.overview-stat small{font-size:7px}.stat-icon{width:31px;height:31px}.learning-paths{gap:12px}.path-card{padding:18px 12px;gap:9px}.path-card>.icon{display:none}.path-card h3{font-size:13px}.path-card p{font-size:8px}.library-grid{gap:17px}.paper-cover{height:153px;padding:16px}.cover-label{font-size:7px}.cover-number{font-size:48px;left:17px;top:45px}.cover-art{width:157px;height:130px;right:-23px;top:29px}.cover-composer{left:17px;font-size:9px;bottom:12px}.library-body{padding:16px 15px 0}.library-body h2{font-size:14px}.paper-facts{gap:11px;font-size:9px}.card-meta{font-size:7px}.card-description{font-size:9px}.paper-action{font-size:10px}.bottom-dashboard{gap:17px}.next-focus{padding:23px}.next-focus h2{font-size:20px}.topic-grid{gap:16px}.topic-card{padding:21px}.term-grid{gap:16px}.guide-layout{grid-template-columns:165px minmax(0,1fr);gap:18px}}
@media(max-width:980px){.home-intro{grid-template-columns:minmax(0,1fr)}.continue-card{display:grid;grid-template-columns:1fr 1fr;gap:8px 22px}.continue-card h2{margin:7px 0;font-size:18px}.continue-card h3,.continue-card p{grid-column:1}.continue-card .full{grid-column:2;grid-row:3/5;align-self:center;margin:0}.continue-card .continue-history{grid-column:2;margin:0}.continue-card .continue-percent{font-size:30px;grid-column:2;grid-row:1/3;text-align:right}.continue-card .continue-label{display:none}.continue-card progress,.continue-card .continue-detail{grid-column:1;margin:3px 0}.continue-card .next-illustration{display:none}.study-hero{min-height:340px;background-position:center}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 0}.overview-stat:nth-child(2){border:0}.overview-stat{padding:0 22px}.library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-library .library-card:last-child{display:none}.learning-paths{grid-template-columns:1fr}.path-card{padding:15px 19px;gap:16px}.path-card>.icon{display:block}.path-card h3{font-size:14px}.path-card p{font-size:10px}.bottom-dashboard{grid-template-columns:1fr}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.term-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.terms-banner{gap:21px;padding:27px}.term-calligraphy{font-size:37px}.terms-banner strong{font-size:15px}.terms-banner p{font-size:10px}.account-quicklinks{grid-template-columns:1fr;gap:12px}.auth-layout{grid-template-columns:1fr}.auth-story{min-height:240px;padding:28px 30px;background-position:60% 55%}.auth-story h1{font-size:27px;margin:15px 0 12px;max-width:none}.auth-story p{font-size:11px;max-width:none}.auth-story>.auth-note{padding-top:15px}.auth-layout .form{padding:30px}.foot{align-items:flex-start}.foot>p{max-width:280px}.guide-layout{grid-template-columns:1fr}.guide-outline{position:static;display:grid;grid-template-columns:1fr 1fr;gap:3px;border:1px solid var(--line);border-radius:10px;padding:13px;background:#fff}.guide-outline>.eyebrow{grid-column:1/-1;margin:3px 10px 8px}.guide-outline>a{grid-column:1/-1;margin:10px;font-size:10px}.review-summary{gap:20px}.review-summary p{display:none}.review-row{flex-wrap:wrap}.review-row>.button{margin-left:58px}.source-selector{flex-wrap:wrap}.source-selector select{max-width:none;width:100%;margin-left:0}}
@media(max-width:760px){.app-layout{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:252px;transform:translateX(-100%);height:100dvh;padding:28px 22px;transition:transform .18s ease;box-shadow:8px 0 40px #152d3420}.sidebar.is-open{transform:translateX(0)}.sidebar nav a{font-size:14px;padding:12px}.sidebar .brand{font-size:21px;margin-bottom:32px}.sidebar .brand-mark{width:36px;height:36px}.sidebar #close-menu{display:flex;position:absolute;right:12px;top:12px;color:#cad6c7}.sidebar #close-menu .icon{width:16px}.sidebar-shade:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100%;border:0;border-radius:0;background:#12282d66;z-index:29;cursor:default}.menu-open{overflow:hidden}.topbar{height:67px;padding:0 19px;position:sticky;top:0;z-index:20;background:#fafbf7ef;backdrop-filter:blur(10px)}.topbar #open-menu{display:flex;color:#6f8267;padding:5px;min-height:35px}.topbar-position{gap:10px}.breadcrumb{font-size:11px}.breadcrumb>span{margin:0 8px}.topbar form{display:none}.topbar-actions{gap:8px}.account-pill{gap:7px}.account-pill>span:not(.avatar){display:none}.account-pill>.icon{display:none}.avatar{width:31px;height:31px;font-size:12px}.workspace main{padding:23px 19px 20px}.welcome-line{font-size:9px;margin-bottom:18px;gap:12px}.welcome-line span:first-child{font-size:12px}.study-hero{padding:29px 26px;min-height:335px;background-position:58% center}.study-hero h1{font-size:28px;margin:20px 0 13px}.study-hero p{font-size:10px;margin-bottom:24px}.hero-primary{font-size:11px;padding:10px 13px}.hero-secondary{font-size:10px}.hero-bottom{font-size:8px;gap:11px}.overview-grid{margin:20px 0 29px;padding:20px 0;gap:21px 0}.overview-stat{padding:0 16px;gap:11px}.overview-stat strong{font-size:26px}.overview-stat span:not(.stat-icon){font-size:10px}.overview-stat small{font-size:8px}.section-heading{margin:28px 0 17px}.section-heading h2{font-size:21px}.section-heading .eyebrow{font-size:8px}.learning-paths{gap:11px}.path-card{padding:17px}.path-card p{font-size:10px}.library-grid{gap:15px}.home-library .library-card:last-child{display:block}.home-library{grid-template-columns:1fr}.home-library .library-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.home-library .paper-cover{height:100%;min-height:174px;padding:13px}.home-library .cover-number{left:13px;top:48px;font-size:42px}.home-library .cover-art{right:-55px;top:65px;width:125px;height:105px;opacity:.35}.home-library .cover-label{font-size:6px;line-height:1.8;display:block;width:65px}.home-library .cover-composer{left:13px;font-size:8px;bottom:17px}.home-library .favorite-button{left:76px;top:10px;width:25px;height:25px;min-height:25px;padding:5px}.home-library .library-body{padding:16px 16px 0}.home-library .library-body h2{font-size:14px;margin:10px 0 5px}.home-library .paper-facts{font-size:9px;padding-bottom:12px}.home-library .card-meta{font-size:7px}.home-library .paper-action{font-size:10px;min-height:40px}.bottom-dashboard{margin-top:21px;gap:18px}.recent-panel{padding:21px}.next-focus{padding:25px}.next-focus h2{font-size:24px;max-width:none}.page-heading{margin:5px 0 24px}.page-heading h1{font-size:27px;max-width:420px}.page-heading p{font-size:11px;line-height:1.9}.library-feature{padding:18px;gap:15px;align-items:flex-start;flex-direction:column}.library-feature strong{font-size:12px}.library-feature small{font-size:9px;line-height:1.8}.library-feature>div{gap:12px}.library-feature .button{align-self:flex-end;font-size:10px;min-height:35px}.library-tabs{gap:20px;scrollbar-width:thin;margin-bottom:20px}.library-tabs button{font-size:11px}.library-tabs button span{font-size:8px}.library-toolbar{gap:8px}.search-field{flex-basis:100%;min-width:0}.library-toolbar>select{flex:1;max-width:none;min-width:0;font-size:10px;padding:9px}.favorites-filter{font-size:10px;padding:9px;gap:5px}.favorites-filter .icon{width:13px}.results-line{font-size:10px}.paper-cover{height:144px;padding:13px}.cover-label{font-size:6px;max-width:100px;display:block;line-height:1.8}.cover-number{font-size:45px;left:14px;top:47px}.cover-art{width:145px;height:120px;right:-28px;top:33px;opacity:.5}.cover-composer{font-size:8px;left:14px}.library-body{padding:15px 13px 0}.library-body h2{font-size:13px;line-height:1.65;margin:11px 0 7px;min-height:42px}.card-meta{flex-wrap:wrap;gap:5px;font-size:7px;min-height:31px}.access-tag{font-size:8px}.card-description{font-size:8px;line-height:1.8;min-height:29px;margin-bottom:12px}.paper-facts{font-size:8px;gap:9px;flex-wrap:wrap;padding-bottom:13px}.paper-facts span+span:before{left:-5px;top:6px}.paper-action{font-size:9px;min-height:44px;gap:5px}.paper-action .icon{width:13px}.favorite-button{width:27px;height:27px;min-height:27px;right:9px;top:9px;padding:6px}.library-grid.is-list .library-card{grid-template-columns:104px minmax(0,1fr)}.is-list .paper-cover{min-height:190px}.is-list .favorite-button{left:70px;width:25px;height:25px;min-height:25px;padding:5px}.is-list .cover-art{right:-72px;top:65px;opacity:.32}.is-list .library-body{padding:16px 15px 0}.is-list .library-body h2{min-height:0;font-size:14px}.is-list .card-meta{min-height:0;flex-wrap:nowrap}.is-list .card-description{min-height:0}.source-selector{padding:19px}.source-selector h2{font-size:14px}.source-selector p{font-size:9px}.topic-grid{gap:15px}.topic-card{padding:19px 16px}.topic-top{margin-bottom:19px}.topic-number{font-size:31px}.topic-mini-art{width:33px;height:33px}.topic-mini-art .icon{width:17px}.topic-card>.eyebrow{font-size:7px;letter-spacing:.07em;min-height:24px;display:block}.topic-card h2{font-size:17px;line-height:1.6;min-height:51px;margin:5px 0 10px}.topic-card>p{font-size:10px;line-height:1.9;min-height:133px}.topic-footer>span{font-size:8px}.topic-footer>a{font-size:11px}.topic-method{font-size:8px;gap:3px}.terms-banner{grid-template-columns:1fr;padding:27px;gap:21px}.terms-banner>div:first-child{border-right:0;border-bottom:1px solid #d9cfc9;padding-bottom:22px;min-height:0}.term-calligraphy{font-size:42px}.terms-banner strong{font-size:17px}.terms-banner p{font-size:11px}.terms-controls{gap:15px;flex-wrap:wrap}.segmented button{font-size:10px;padding:7px 11px}.subtle-link{font-size:9px}.term-grid{gap:13px}.term-card{padding:19px 15px}.term-card h2{font-size:24px;line-height:1.5;margin:16px 0 12px}.term-card p{font-size:12px}.term-card>span{font-size:9px}.term-category{font-size:8px}.flashcard{min-height:280px;padding:32px 22px}.flashcard strong{font-size:31px}.flashcard>span:not(.flashcard-kicker){font-size:12px}.flashcard-actions{gap:7px}.flashcard-actions button{font-size:10px;padding:9px}.guide-note{padding:23px}.guide-title{gap:16px}.guide-title>span{font-size:37px}.guide-title h2{font-size:21px}.guide-note li p{font-size:11px}.pitfall{padding:16px}.guide-outline>button{font-size:11px;padding:10px}.guide-note{scroll-margin-top:85px}.review-summary{padding:22px;gap:24px}.review-summary>div{min-width:0;column-gap:10px}.review-summary>div .icon{width:24px}.review-summary strong{font-size:28px}.review-summary span{font-size:9px}.review-row{padding:20px;gap:15px}.review-meta{gap:8px;flex-wrap:wrap;font-size:8px}.review-row h2{font-size:13px}.review-row>div{flex:1}.review-row .button{margin-left:0;width:100%;font-size:11px}.review-icon{width:33px;height:33px}.attempt-title strong{font-size:11px}.attempt-score{font-size:21px}.attempt-score small{font-size:10px}.attempt-row{gap:10px}.attempt-title small{font-size:8px}.attempt-list{padding:18px}.draft-row{padding:21px;gap:12px;flex-wrap:wrap}.draft-row h3{font-size:14px}.draft-row .button{font-size:11px}.auth-layout{margin:5px 0 28px;border-radius:12px}.auth-story{min-height:220px;padding:27px}.auth-story h1{font-size:28px;line-height:1.55;margin:15px 0 11px}.auth-story p{font-size:10px}.auth-story>.auth-note{font-size:9px;padding-top:20px}.auth-layout .form{padding:27px}.auth-layout .form h2{font-size:23px;margin-bottom:23px}.auth-layout .form label{font-size:11px}.auth-layout .form input{font-size:12px}.account-hero{padding:24px;gap:20px;flex-wrap:wrap}.account-profile{gap:16px}.account-avatar{width:53px;height:53px;font-size:23px;border-radius:15px}.account-profile h1{font-size:25px;margin:5px 0}.account-profile p{font-size:10px}.account-hero>button{margin-left:69px;padding:6px 12px;min-height:34px}.account-quicklinks .panel{padding:20px}.hero{padding:25px}.hero h1{font-size:28px}.card{padding:22px}.card h2{font-size:20px}.grid{grid-template-columns:1fr}.foot{flex-direction:column;gap:18px;margin-top:32px;padding-top:23px}.foot>p{text-align:left;max-width:none;font-size:8px}.foot>div small{font-size:8px}.foot .brand-mark{width:25px;height:25px}.foot strong{font-size:10px}}
@media(max-width:370px){.workspace main{padding:20px 14px}.topbar{padding:0 14px}.study-hero{padding:27px 21px}.study-hero h1{font-size:25px}.hero-bottom{font-size:7px;gap:8px}.welcome-line span:last-child{font-size:8px}.overview-stat{padding:0 12px;gap:8px}.overview-stat span:not(.stat-icon){font-size:9px}.overview-stat small{font-size:7px}.library-grid{gap:12px}.topic-grid,.term-grid{grid-template-columns:1fr}.topic-card h2,.topic-card>p,.topic-card>.eyebrow{min-height:0}.topic-card>p{margin-bottom:23px}.library-body{padding:14px 11px 0}.library-body h2{font-size:12px}.paper-facts{font-size:7px;gap:8px}.favorite-button{right:7px}.cover-number{font-size:40px}.cover-label{max-width:75px}.auth-layout .form{padding:23px}.flashcard-actions{flex-wrap:wrap}.flashcard-actions button{flex:1}.flashcard-actions #know-term{order:3;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Account recovery uses the existing form/card system. */
.password-form{max-width:640px}.reset-code{width:100%;font-family:monospace;font-size:14px}.sidebar nav a span{min-width:0;line-height:1.45}.password-form[hidden]{display:none}
.sidebar .nav-level{display:block;font-size:.8em;white-space:nowrap;opacity:.85}

/* Teacher Onboarding Demo Modal Styles */
.teacher-demo-dialog{max-width:820px;width:calc(100% - 32px);padding:0;border:1px solid #d4deda;border-radius:18px;background:#ffffff;box-shadow:0 30px 90px rgba(20,45,55,0.35);color:#243e47;overflow:hidden}
.teacher-demo-dialog::backdrop{background:rgba(18,44,52,0.65);backdrop-filter:blur(4px)}
.teacher-demo-shell{display:flex;flex-direction:column;max-height:88dvh}
.demo-header{padding:24px 28px 16px;background:linear-gradient(135deg,#1f3842,#2d4c57);color:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.demo-badge{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.12em;background:rgba(173,131,84,0.3);color:#e2ba8c;padding:3px 9px;border-radius:4px;margin-bottom:8px}
.demo-header h2{font-size:22px;margin:0 0 4px;color:#fff;font-weight:650;letter-spacing:-.02em}
.demo-subtitle{font-size:13px;color:#b2c7cc;margin:0;line-height:1.5}
.demo-close{background:none;border:0;color:#c0d2d6;font-size:20px;cursor:pointer;padding:4px 8px;min-height:32px;line-height:1;border-radius:6px}
.demo-close:hover{background:rgba(255,255,255,0.15);color:#fff}
.demo-body{padding:24px 28px;overflow-y:auto;flex:1}
.demo-card{background:#f9fbf9;border:1px solid #e1e9e4;border-radius:12px;padding:20px}
.demo-compare{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.compare-col{padding:16px;border-radius:10px}
.compare-col.old{background:#fdf4f4;border:1px solid #f2d4d4}
.compare-col.old h3{color:#b33a3a;margin:0 0 12px;font-size:15px}
.compare-col.old li{margin-bottom:10px;font-size:12px;color:#613434;line-height:1.6}
.compare-col.new{background:#f0f7f3;border:1px solid #c7e5d2}
.compare-col.new h3{color:#1e7545;margin:0 0 12px;font-size:15px}
.compare-col.new li{margin-bottom:10px;font-size:12px;color:#24533a;line-height:1.6}
.demo-case-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e1e9e4}
.demo-score-tag{padding:6px 14px;border-radius:20px;font-weight:650;font-size:13px}
.demo-score-tag.warning{background:#fff1df;color:#9b5a0e;border:1px solid #fedbb0}
.demo-radar-table{display:flex;flex-direction:column;gap:9px}
.radar-row{display:grid;grid-template-columns:90px 140px 1fr 160px;align-items:center;gap:12px;padding:8px 12px;background:#fff;border:1px solid #eaefe9;border-radius:8px;font-size:12px}
.radar-row .sec-id{font-weight:700;color:#6c7a7e}
.radar-row .sec-name{font-weight:550;color:#253c43}
.sec-bar-wrap{background:#ecefe9;height:10px;border-radius:6px;overflow:hidden}
.sec-bar{background:#2a9d62;height:100%;border-radius:6px}
.sec-bar.danger{background:#d94545}
.sec-bar.warning{background:#d99126}
.sec-score{font-weight:600;text-align:right}
.text-danger{color:#c92a2a;font-weight:700}
.text-warning{color:#b86c00;font-weight:600}
.demo-tip{margin-top:16px;background:#eef5f8;border-left:4px solid #337a91;padding:12px 16px;border-radius:6px;font-size:12px;line-height:1.7;color:#1d4c5c}
.demo-drilldown{background:#fff;border:1px solid #e0e7e2;border-radius:10px;padding:16px;margin-bottom:16px}
.drilldown-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.drilldown-title h4{margin:0;font-size:14px;color:#223c44}
.tag.danger{background:#ffe3e3;color:#c92a2a;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:700}
.mistake-item{display:flex;gap:12px;padding:10px 0;border-top:1px dashed #e2e8e3;font-size:12px}
.q-badge{background:#e7ece6;color:#354a4f;padding:4px 8px;border-radius:6px;font-weight:700;height:fit-content;white-space:nowrap}
.mistake-desc{margin:0 0 6px;line-height:1.6}
.mistake-reason{margin:0 0 6px;line-height:1.6}
.mistake-guidance{margin:0;color:#1e7545;font-weight:550}
.demo-prescribe{background:#edf6f1;border:1px solid #c2e2d0;border-radius:10px;padding:16px}
.prescribe-arrow{font-size:13px;font-weight:700;color:#1d663e;margin-bottom:8px}
.prescribe-box strong{font-size:13px;color:#1a4d33}
.action-pills{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.pill{background:#fff;border:1px solid #9dcbb1;color:#1a5937;padding:7px 12px;border-radius:8px;font-size:12px;font-weight:600}
.chart-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.timeline-step{background:#fff;border:1px solid #e1e7e2;border-radius:10px;padding:12px;text-align:center;display:flex;flex-direction:column;gap:6px}
.timeline-step.highlight{background:#f1f9f4;border-color:#a5d8b7}
.step-label{font-size:11px;font-weight:600;color:#6d797c}
.step-score{font-size:20px;font-weight:800}
.step-score.danger{color:#cf3b3b}
.step-score.success{color:#1e884d}
.step-score.gold{color:#ad8354}
.step-status{font-size:10px;color:#55666b;line-height:1.4}
.guidance-card{padding:14px 18px;border-radius:10px;font-size:12px}
.guidance-card.green{background:#f4f9f6;border-left:4px solid #238b52;color:#1c4d34}
.guidance-card.green h4{margin:0 0 8px;font-size:13px;color:#1b5735}
.guidance-card.blue{background:#f0f7fb;border-left:4px solid #1976d2;color:#154a75}
.guidance-card.blue h4{margin:0 0 8px;font-size:13px;color:#135080}
.guidance-card ul{margin:0;padding-left:18px}
.guidance-card li{margin-bottom:6px;line-height:1.6}
.benefit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}
.benefit-item{display:flex;gap:12px;background:#fff;border:1px solid #dbe5e0;border-radius:10px;padding:14px;align-items:flex-start}
.benefit-icon{font-size:24px;flex-shrink:0}
.benefit-item strong{display:block;font-size:13px;color:#1f3a42;margin-bottom:4px}
.benefit-item p{margin:0;font-size:11px;color:#607175;line-height:1.5}
.welcome-note{background:#f7f6ed;border:1px solid #e5dcbd;padding:12px 16px;border-radius:8px;font-size:12px;color:#675735}
.demo-footer{padding:16px 28px;background:#fcfdfa;border-top:1px solid #e2e8e2;display:flex;justify-content:space-between;align-items:center;gap:16px}
.demo-dots{display:flex;gap:8px}
.demo-dot{width:10px;height:10px;border-radius:50%;background:#dbe2de;transition:all .2s}
.demo-dot.active{background:#253e47;width:24px;border-radius:10px}
.demo-dot.passed{background:#ad8354}
.demo-actions{display:flex;gap:10px}
@media(max-width:680px){
 .radar-row{grid-template-columns:1fr;gap:6px}
 .demo-compare{grid-template-columns:1fr}
 .chart-timeline{grid-template-columns:1fr 1fr}
 .benefit-grid{grid-template-columns:1fr}
}
