:root{color:#172033;background:#f6f3ec;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.5;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #172033;--muted: #6b7280;--paper: #fffdf8;--soft: #ece7dc;--line: #ded6c8;--green: #1f7a5f;--green-strong: #14533f;--coral: #d95d39;--blue: #2d6cdf;--gold: #be8a1f;--shadow: 0 22px 60px rgb(23 32 51 / .12)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:270px minmax(0,1fr);min-height:100vh;background:radial-gradient(circle at top left,rgb(31 122 95 / .16),transparent 32rem),linear-gradient(145deg,#f9f5ec,#eef4f1 55%,#f7efe8)}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:28px;height:100vh;padding:26px;border-right:1px solid var(--line);background:#fffdf8bd;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.brand-mark,.section-title,.topbar-actions,.hero-actions,.eyebrow-row,.onboarding-actions,.pill{display:flex;align-items:center}.brand-mark{gap:13px}.brand-symbol{display:grid;width:48px;height:48px;place-items:center;color:#fff;border-radius:16px;background:#111827;box-shadow:0 12px 28px #1118272e}.brand-mark p,.brand-mark span,.eyebrow,.module-chip span,.module-chip small,.progress-card span,.thought-card small,.metric-card span,.sidebar-card span{margin:0}.brand-mark p{font-size:1.06rem;font-weight:800}.brand-mark span,.module-chip small,.progress-card span,.thought-card small,.metric-card span,.sidebar-card span{color:var(--muted);font-size:.78rem}.side-nav{display:grid;gap:8px}.nav-button,.bottom-button,.ghost-button,.primary-button,.module-chip,.choice-button{border:0}.nav-button{display:flex;gap:12px;align-items:center;min-height:44px;padding:0 14px;color:var(--muted);border-radius:8px;background:transparent;text-align:left}.nav-button.active{color:#fff;background:var(--green-strong)}.sidebar-card,.focus-panel,.onboarding-panel,.panel,.info-card,.quiz-card,.thought-card,.progress-card,.metric-card{background:#fffdf8eb;border:1px solid rgb(222 214 200 / .84);box-shadow:0 10px 30px #17203312}.sidebar-card{margin-top:auto;padding:16px;border-radius:8px}.sidebar-card strong{display:block;margin-top:8px;font-size:.95rem;line-height:1.45}.support-link,.support-strip{display:inline-flex;gap:7px;align-items:center;color:var(--muted);text-decoration:none;font-size:.82rem;font-weight:900}.support-link{margin-top:14px}.support-link:hover,.support-strip:hover{color:var(--green-strong)}.support-strip{width:fit-content;padding:10px 12px;border:1px solid rgb(222 214 200 / .84);border-radius:8px;background:#fffdf8b8}.main{width:min(1180px,100%);margin:0 auto;padding:28px 32px 42px}.topbar{display:flex;gap:24px;align-items:flex-start;justify-content:space-between;margin-bottom:22px}.eyebrow{color:var(--green);font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.eyebrow-row{gap:8px;flex-wrap:wrap}.version-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;color:var(--muted);border:1px solid var(--line);border-radius:999px;background:#fffdf8c2;font-size:.74rem;font-weight:900}h1,h2,h3,p{margin-top:0}h1{max-width:780px;margin-bottom:0;font-size:clamp(2rem,5vw,4.5rem);line-height:1.02}h2{margin-bottom:10px;font-size:clamp(1.6rem,4vw,3rem);line-height:1.08}h3{margin-bottom:8px;line-height:1.24}p{color:#3f4655}.topbar-actions,.hero-actions{gap:10px;flex-wrap:wrap;justify-content:flex-end}.primary-button,.ghost-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:8px;font-weight:800;white-space:nowrap}.primary-button{color:#fff;background:#111827;box-shadow:0 12px 28px #11182724}.ghost-button{color:var(--ink);border:1px solid var(--line);background:#fffdf8b8}.danger-button{color:#842029;border-color:#d95d395c}.danger-button svg{color:var(--coral)}.module-picker{display:grid;gap:12px;margin-bottom:22px}.module-filters{display:grid;gap:8px}.filter-group{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.filter-group::-webkit-scrollbar{display:none}.filter-chip{flex:0 0 auto;min-height:34px;padding:0 12px;color:var(--muted);border:1px solid var(--line);border-radius:999px;background:#fffdf8c7;font-size:.82rem;font-weight:900;white-space:nowrap}.filter-chip.active{color:#fff;border-color:#111827;background:#111827}.module-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.module-empty-state{display:grid;gap:4px;min-height:112px;place-content:center;padding:18px;color:var(--muted);border:1px dashed var(--line);border-radius:8px;background:#fffdf89e;text-align:center}.module-empty-state strong{color:var(--ink)}.module-empty-state p{margin-bottom:0}.module-chip{display:grid;gap:8px;min-height:128px;padding:14px;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fffdf8bd;text-align:left}.module-chip strong{font-size:1rem;line-height:1.35}.module-chip-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.module-tag{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;color:var(--muted);border:1px solid var(--line);border-radius:999px;background:#fffdf8d1;font-size:.74rem;font-weight:900}.module-tag.read{color:var(--green-strong);border-color:#1f7a5f47;background:#1f7a5f14}.module-chip.active{border-color:#1f7a5fb3;background:#f2fff9}.view-grid{display:grid;gap:18px}.home-grid{gap:16px}.onboarding-panel{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr) auto;gap:18px;align-items:center;padding:18px;border-radius:8px}.onboarding-panel h2{margin-bottom:0;font-size:1.35rem;line-height:1.18}.onboarding-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0;margin:0;list-style:none}.onboarding-steps li{display:grid;gap:7px;min-height:86px;align-content:center;justify-items:center;padding:12px 8px;color:var(--ink);border:1px solid rgb(222 214 200 / .84);border-radius:8px;background:#fffaf0;text-align:center;font-size:.85rem;font-weight:900}.onboarding-steps svg{color:var(--green)}.onboarding-actions{gap:9px;justify-content:flex-end}.hero-panel{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);gap:20px;overflow:hidden;min-height:410px;padding:28px;color:#fff;border-radius:8px;background:linear-gradient(115deg,#111827f5,#1f7a5fe6),#111827;box-shadow:var(--shadow)}.hero-panel p{max-width:620px;color:#ffffffc7}.hero-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}.pill{gap:8px;width:fit-content;margin-bottom:16px;padding:8px 11px;color:#e9fff6;border:1px solid rgb(255 255 255 / .2);border-radius:999px;background:#ffffff14;font-size:.85rem;font-weight:800}.mini-status{display:inline-flex;align-items:center;min-height:34px;padding:0 11px;color:#f7f8fb;border:1px solid rgb(255 255 255 / .22);border-radius:999px;background:#ffffff1a;font-size:.86rem;font-weight:800}.library-status{color:var(--ink);border-color:#ded6c8e6;background:#fffdf8db}.signal-map{position:relative;min-height:330px}.signal-card{position:absolute;z-index:2;display:flex;gap:7px;align-items:center;min-width:116px;padding:12px 13px;border:1px solid rgb(255 255 255 / .22);border-radius:8px;background:#ffffff1f;box-shadow:0 18px 42px #0000002e;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);font-weight:800}.main-signal{top:42%;left:37%;color:#fff8db}.history-signal{top:11%;left:7%}.system-signal{right:7%;top:23%}.opinion-signal{bottom:13%;left:18%}.signal-line{position:absolute;height:2px;border-radius:20px;background:linear-gradient(90deg,transparent,rgb(255 255 255 / .6),transparent);transform-origin:center}.signal-line.one{top:37%;left:18%;width:220px;transform:rotate(24deg)}.signal-line.two{top:43%;right:14%;width:160px;transform:rotate(-28deg)}.signal-line.three{bottom:31%;left:27%;width:190px;transform:rotate(-43deg)}.metric-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.range-tabs{display:inline-grid;grid-template-columns:repeat(3,minmax(80px,1fr));gap:6px;width:min(420px,100%);padding:6px;border:1px solid var(--line);border-radius:8px;background:#fffdf8b8}.range-tab{min-height:38px;color:var(--muted);border:0;border-radius:7px;background:transparent;font-weight:900}.range-tab.active{color:#fff;background:#111827;box-shadow:0 8px 20px #1118271f}.metric-card{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;align-items:center;min-height:96px;padding:17px;border-radius:8px}.metric-card svg{color:var(--green)}.metric-card strong{grid-column:1 / -1;font-size:1.55rem}.focus-panel,.content-header{display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.focus-panel{padding:20px;border-radius:8px}.focus-panel p{max-width:520px;margin-bottom:0}.content-header{padding:6px 0 4px}.header-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.content-header p{max-width:740px;margin-bottom:0}.background-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.info-card,.panel,.source-panel,.quiz-card,.thought-card,.review-card,.progress-card{border-radius:8px}.info-card{min-height:245px;padding:18px}.card-icon{display:grid;width:42px;height:42px;margin-bottom:14px;place-items:center;color:#fff;border-radius:8px;background:var(--green)}.info-card p,.glossary-list p,.progress-card p,.quiz-card p{margin-bottom:0}.two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.panel{padding:18px}.source-panel{padding:18px;background:#f7fbff;border:1px solid rgb(189 213 235 / .78)}.section-title{gap:9px;margin-bottom:14px}.section-title h3{margin-bottom:0}.timeline{display:grid;gap:13px;padding-left:0;list-style:none}.timeline li{display:grid;grid-template-columns:92px 1fr;gap:12px}.timeline span{color:var(--green);font-size:.85rem;font-weight:900}.timeline p{margin-bottom:0}.glossary-list{display:grid;gap:12px}.glossary-list div{padding-bottom:12px;border-bottom:1px solid var(--line)}.glossary-list div:last-child{padding-bottom:0;border-bottom:0}.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.source-list a{display:grid;gap:5px;min-height:132px;padding:14px;color:inherit;text-decoration:none;border:1px solid rgb(189 213 235 / .78);border-radius:8px;background:#fff}.source-list a:focus,.source-list a:hover{border-color:var(--blue)}.source-list span{color:var(--blue);font-size:.78rem;font-weight:900}.source-list strong{line-height:1.35}.source-list p{margin-bottom:0;color:var(--muted);font-size:.9rem}.score-badge{display:grid;width:76px;height:76px;flex:0 0 auto;place-items:center;color:#fff;border-radius:8px;background:var(--coral);font-size:1.25rem;font-weight:900}.quiz-stack{display:grid;gap:14px}.quiz-card{padding:18px}.quiz-heading{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:start}.quiz-heading span{display:grid;width:38px;height:38px;place-items:center;color:#fff;border-radius:8px;background:#111827;font-weight:900}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.choice-button{min-height:52px;padding:10px 13px;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fffaf0;text-align:left}.choice-button.correct{color:#0f5132;border-color:#1f7a5f80;background:#e8fff2}.choice-button.incorrect{color:#842029;border-color:#d95d3980;background:#fff0ed}.explanation{margin-top:12px;padding:12px;border-radius:8px;background:#f1f4ff}.thought-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px}.thought-status{display:grid;gap:6px;justify-items:end}.thought-status small,.thought-helper small{color:var(--muted);font-size:.78rem;font-weight:800}.tree-rail{display:grid;justify-items:center;align-content:start;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fffdf89e}.tree-node{display:grid;width:96px;min-height:44px;place-items:center;color:#fff;border-radius:999px;background:var(--green);font-size:.84rem;font-weight:900}.tree-node.root{background:#111827}.tree-branch{width:2px;height:42px;background:var(--line)}.thought-stack{display:grid;gap:12px}.thought-card{display:grid;gap:8px;padding:16px}.thought-card span{font-weight:900}.thought-helper{display:flex;justify-content:space-between;gap:10px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.review-card{display:grid;gap:14px;align-content:start;padding:18px}.review-card.wide{grid-column:1 / -1}.review-card p{margin-bottom:0}.review-action{width:fit-content;margin-top:2px}.review-thought-list{display:grid;gap:10px}.review-thought-list div{padding:12px;border:1px solid var(--line);border-radius:8px;background:#fffaf0}.review-thought-list span{display:block;margin-bottom:5px;color:var(--green);font-size:.8rem;font-weight:900}.review-thought-list p{color:#3f4655}.thought-card textarea{width:100%;resize:vertical;min-height:104px;padding:12px;color:var(--ink);border:1px solid var(--line);border-radius:8px;background:#fffaf0}.thought-card textarea:focus,.choice-button:focus,.module-chip:focus,.primary-button:focus,.ghost-button:focus,.danger-button:focus,.nav-button:focus,.bottom-button:focus{outline:3px solid rgb(45 108 223 / .25);outline-offset:2px}.progress-list{display:grid;gap:12px}.log-summary{padding:18px;border:1px solid rgb(222 214 200 / .84);border-radius:8px;background:#f2fff9}.log-summary strong{display:block;margin-bottom:6px}.log-summary p{margin-bottom:0}.log-summary-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.progress-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;align-items:center;padding:18px}.progress-card h3{margin-bottom:0}.progress-card-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:5px}.progress-card-copy{display:grid;gap:12px}.reviewed-badge{display:inline-flex;gap:4px;align-items:center;min-height:24px;padding:3px 8px;color:var(--green-strong);border:1px solid rgb(31 122 95 / .28);border-radius:999px;background:#1f7a5f14;font-size:.74rem;font-weight:900}.progress-card-action{width:fit-content;min-height:40px;padding:9px 12px}.progress-bars{display:grid;gap:10px}.progress-bar-row{display:grid;grid-template-columns:54px 1fr;gap:10px;align-items:center}.progress-bar-row span{color:var(--muted);font-size:.8rem;font-weight:800}.progress-track{overflow:hidden;height:10px;border-radius:999px;background:#eee4d5}.progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green),var(--blue))}.bottom-nav{display:none}@media(max-width:1020px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.main{padding:22px 18px 90px}.hero-panel,.background-grid{grid-template-columns:1fr 1fr}.hero-panel{min-height:auto}.module-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.bottom-nav{position:fixed;right:14px;bottom:14px;left:14px;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;border:1px solid rgb(222 214 200 / .9);border-radius:18px;background:#fffdf8e0;box-shadow:0 18px 48px #11182733;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-button{display:grid;min-height:48px;place-items:center;color:var(--muted);border-radius:13px;background:transparent}.bottom-button.active{color:#fff;background:#111827}}@media(max-width:760px){.topbar,.content-header,.focus-panel,.onboarding-panel,.progress-card{display:grid;grid-template-columns:1fr}h1{font-size:2.4rem}.topbar-actions,.hero-actions,.header-actions{justify-content:start}.hero-panel{grid-template-columns:1fr;padding:22px}.signal-map{min-height:240px}.main-signal{left:33%}.system-signal{right:2%}.metric-row,.two-column,.choice-grid,.background-grid,.onboarding-panel,.onboarding-steps,.review-grid,.source-list,.thought-layout{grid-template-columns:1fr}.onboarding-actions{justify-content:start}.tree-rail{display:none}.thought-status{justify-items:start}.quiz-heading{grid-template-columns:1fr}}@media(max-width:480px){.main{padding-inline:14px}h1{font-size:2.05rem}h2{font-size:1.75rem}.hero-panel{padding:18px}.module-strip{grid-template-columns:1fr}.signal-card{min-width:96px;padding:10px;font-size:.82rem}.signal-line{display:none}.timeline li{grid-template-columns:1fr;gap:4px}}
