:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0c0c0c;--surface:#111;--surface-alt:#151515;--surface-soft:#1b1b1b;--border:#ffffff1c;--border-strong:#ffffff38;--line:#ffffff14;--fill:#ffffff0e;--text:#fafafa;--muted:#666;--muted-strong:#a3a3a3;--text-muted:#666;--accent:#fff;--accent-soft:#ffffff14;--accent-strong:#fff;--accent-muted:#fff3;--accent-glow:#ffffff14;--danger:#ff4d4f;--shadow-card:none;--shadow-glow:0 0 0 1px var(--accent-muted);--radius-lg:0;--radius-md:0;--radius-sm:0;--ease:cubic-bezier(.16, 1, .3, 1);--font-ui:"Geist", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;--font-heading:"Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{background:var(--bg);height:100%;min-height:100%}body{background:var(--bg);color:var(--text);font-family:var(--font-ui);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;font-optical-sizing:auto;margin:0}a,button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.site-shell{width:min(1240px,100% - 32px);margin:0 auto;padding:20px 0 48px}.workspace{gap:22px;display:grid}@media (width>=721px){body[data-page=home]{--home-carousel-max-height:calc(100dvh - 180px);overflow-y:auto}body[data-page=home] .site-shell{padding-bottom:24px}body[data-page=home] .workspace,body[data-page=home] .page-home.is-active{min-height:0}body[data-page=home] .page-home.is-active{align-content:start;overflow:visible}body[data-page=home] .tool-grid{height:min(var(--tool-grid-height), var(--home-carousel-max-height));max-height:var(--home-carousel-max-height);transition:height .22s var(--ease);align-items:start}body[data-page=home] .tool-panel{max-height:var(--home-carousel-max-height);overscroll-behavior:contain;align-self:start;overflow-y:auto}body[data-page=home] .mobile-indicator{padding:12px 0 0}}.topbar{z-index:20;border:1px solid var(--border);-webkit-backdrop-filter:blur(22px)saturate(1.25);background:#050505d1;border-radius:999px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px 16px;margin-bottom:24px;padding:10px 12px;display:grid;position:sticky;top:14px;box-shadow:inset 0 1px #ffffff0f,0 1px #ffffff0a,0 20px 60px #00000052}.brand{min-height:38px;transition:color .18s var(--ease), background .18s var(--ease);border-radius:999px;align-items:center;gap:10px;padding:0 8px 0 4px;display:inline-flex}.brand strong,h1,h2,h3{font-family:var(--font-heading);letter-spacing:0;margin:0;font-weight:620}.brand strong{color:var(--text);font-size:1rem}.brand-mark{width:24px;height:24px;color:var(--accent);flex:none}.topbar-nav{border:1px solid var(--border);background:#ffffff06;border-radius:999px;justify-content:center;gap:4px;min-width:0;padding:3px;display:none}.topbar-nav-link{min-height:30px;color:var(--muted);white-space:nowrap;transition:color .16s var(--ease), background .16s var(--ease);border-radius:999px;align-items:center;padding:0 12px;font-size:.84rem;font-weight:550;display:inline-flex}.topbar-nav-link.is-active{background:var(--text);color:var(--bg);font-weight:650}.topbar-account-btn,.topbar-sign-in-btn{display:none}.topbar-account-btn{border:1px solid var(--border);width:36px;height:36px;color:var(--muted-strong);transition:border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);background:#ffffff0a;border-radius:999px;justify-content:center;align-items:center;padding:0}.topbar-account-btn:hover{border-color:var(--border-strong);box-shadow:0 0 0 3px var(--accent-soft);background:#ffffff12}.topbar-sign-in-label{font-size:.84rem;font-weight:600}@media (width>=981px){.topbar-nav,.topbar-account-btn{display:inline-flex}.nav-menu-toggle,.nav-menu-pages{display:none}}.nav-menu-wrap{display:inline-flex;position:relative}.nav-menu-toggle{border:1px solid var(--border);width:36px;height:34px;color:var(--muted);cursor:pointer;transition:all .18s var(--ease);background:#ffffff0a;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.nav-menu-toggle:hover{color:var(--text);border-color:var(--border-strong);background:#ffffff12}.nav-menu-toggle[aria-expanded=true]{color:var(--text);background:var(--accent-soft);border-color:var(--accent-muted);box-shadow:0 0 0 3px var(--accent-soft)}.nav-menu-toggle svg{display:block}.nav-menu{z-index:25;border:1px solid var(--border-strong);background:#0c0d0efa;border-radius:14px;gap:2px;min-width:180px;padding:7px;display:grid;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 24px 80px #0000007a,inset 0 1px #ffffff0d}.nav-menu-item{width:100%;min-height:34px;color:var(--muted);text-align:left;transition:all .14s var(--ease);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;padding:0 12px;font-size:.88rem;font-weight:500;text-decoration:none;display:flex}.nav-menu-item:hover{color:var(--text);background:#ffffff12}.nav-menu-item:focus-visible{color:var(--text);box-shadow:0 0 0 2px var(--accent-soft);background:#ffffff0f;outline:none}.nav-menu-item.is-active{background:var(--text);color:var(--bg);font-weight:600}.nav-menu-account{gap:2px;display:grid}.nav-menu-account-label{border-top:1px solid var(--line);min-width:0;color:var(--muted);align-items:center;gap:8px;padding:9px 12px;font-size:.78rem;font-weight:600;display:flex}.nav-menu-account-label span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.nav-menu-account-action{justify-content:flex-start}.topbar-actions{justify-content:end;align-items:center;gap:8px;display:flex}.search-field{border:1px solid var(--border);width:280px;min-width:180px;max-width:320px;min-height:36px;color:var(--muted);box-shadow:none;text-align:left;cursor:pointer;transition:border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);background:#ffffff06;border-radius:999px;flex:0 0 280px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 9px 0 12px;display:grid}.search-field:hover{border-color:var(--border-strong);background:#ffffff0a;box-shadow:0 0 0 3px #ffffff08}.search-field:focus-visible{border-color:var(--accent-muted);box-shadow:0 0 0 3px var(--accent-soft);background:#ffffff0b;outline:none}.search-icon{width:15px;height:15px;color:var(--muted);opacity:.8;transition:color .2s var(--ease)}.search-placeholder{min-width:0;color:var(--muted);white-space:nowrap;font-size:.9rem;line-height:1.2;overflow:hidden}.search-hint,kbd{min-width:36px;min-height:22px;color:var(--muted);background:#ffffff0e;border:1px solid #ffffff14;border-radius:999px;justify-content:center;align-items:center;padding:0 6px;font-size:.72rem;font-weight:600;display:inline-flex;box-shadow:0 1px 2px #00000026}.search-field .search-hint{min-width:34px;min-height:20px;box-shadow:none;opacity:.85;background:#ffffff09;border-color:#ffffff0f}.ghost-button,.segment,.switch-chip{border:1px solid var(--border);min-height:36px;color:var(--muted-strong);transition:all .18s var(--ease);background:0 0;border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.84rem;font-weight:500;display:inline-flex}.ghost-button:hover,.switch-chip:hover{border-color:var(--border-strong);color:var(--text);background:#ffffff0d}.ghost-button:active,.switch-chip:active{background:#ffffff08}.switch-chip{min-height:30px;padding:0 10px;font-size:.78rem}.switch-chip.is-active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-strong);box-shadow:none}.icon-button{width:34px;height:34px;color:var(--muted);transition:all .18s var(--ease);background:0 0;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-button:hover{color:var(--muted);background:0 0;border-color:#0000}.icon-button svg{width:16px;height:16px}.page{display:none}.page.is-active{gap:22px;display:grid}.page-copy,.search-result-copy,.sheet-summary,.sheet-list li{color:var(--muted)}.page-copy,.sheet-summary{margin:6px 0 0;line-height:1.55}.tool-grid{overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;grid-auto-columns:100%;grid-auto-flow:column;gap:0;width:100%;max-width:960px;margin-inline:auto;display:grid;position:relative;overflow:auto hidden}.tool-grid::-webkit-scrollbar{display:none}.sheet-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid;position:relative}.sheet-grid:before{content:"";background:var(--border);pointer-events:none;width:1px;position:absolute;top:5%;bottom:5%;left:calc(50% - .5px)}.tool-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:inset 0 1px 0 #ffffff0e, var(--shadow-card);scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;min-width:0;transition:border-color .22s var(--ease);padding:24px;position:relative}.tool-panel:before{content:"";opacity:.6;height:1px;transition:opacity .22s var(--ease);pointer-events:none;background:#ffffff29;position:absolute;top:-1px;left:20px;right:20px}.tool-panel:hover{border-color:var(--border-strong)}.tool-panel:hover:before{opacity:.6}.sheet-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);transition:border-color .2s var(--ease);gap:12px;padding:20px;display:grid}.sheet-card:hover{border-color:var(--border-strong)}.preset-row{flex-wrap:wrap;gap:8px;padding:2px 0;display:flex}.preset-button,.sheet-practice-btn{border:1px solid var(--border);background:var(--fill);min-height:30px;color:var(--muted-strong);cursor:pointer;transition:border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);border-radius:999px;padding:0 10px;font-size:.78rem;font-weight:650;line-height:1}.preset-button:hover,.sheet-practice-btn:hover{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--text)}.sheet-practice-links{flex-wrap:wrap;gap:8px;display:flex}.sheet-practice-btn{min-height:28px;font-size:.76rem}.reference-table-stack{gap:12px;min-width:0;display:grid}.reference-table{gap:7px;min-width:0;display:grid}.reference-table h4{color:var(--muted-strong);letter-spacing:0;margin:0;font-size:.82rem;line-height:1.35}.reference-table-scroll{border:1px solid var(--border);border-radius:var(--radius-sm);background:#ffffff09;overflow-x:auto}.reference-table table{border-collapse:collapse;width:100%;min-width:360px;color:var(--muted-strong);font-size:.78rem;line-height:1.35}.reference-table th,.reference-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:left;vertical-align:top;white-space:nowrap;padding:7px 9px}.reference-table th:last-child,.reference-table td:last-child{border-right:0}.reference-table tbody tr:last-child td{border-bottom:0}.reference-table th{color:var(--text);background:#ffffff0e;font-weight:700}.reference-table td:first-child{color:var(--text);font-weight:650}.page-learning{width:100%;max-width:1120px;margin-inline:auto}.learning-header{padding:4px 0 2px}.learning-count,.learning-category-pill,.learning-kicker{border:1px solid var(--accent-muted);background:var(--accent-soft);width:fit-content;min-height:26px;color:var(--accent-strong);border-radius:999px;align-items:center;padding:0 9px;font-size:.76rem;font-weight:700;display:inline-flex}.learning-route-strip{grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:8px;display:grid}.learning-route-strip span{border:1px solid var(--border);border-radius:var(--radius-md);min-height:38px;color:var(--muted-strong);text-align:center;background:#ffffff09;justify-content:center;align-items:center;padding:0 10px;font-size:.8rem;font-weight:700;display:inline-flex;position:relative}.learning-route-strip span:not(:last-child):after{content:"";background:var(--border-strong);width:8px;height:1px;position:absolute;right:-8px}.learning-filters{flex-wrap:wrap;gap:8px;display:flex}.learning-filter-btn{border:1px solid var(--border);background:var(--fill);min-height:34px;color:var(--muted-strong);transition:border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);border-radius:999px;padding:0 12px;font-size:.8rem;font-weight:700}.learning-filter-btn:hover{border-color:var(--border-strong);color:var(--text);background:#ffffff0f}.learning-filter-btn.is-active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-strong)}.learning-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.learning-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);transition:border-color .2s var(--ease);align-content:start;gap:14px;padding:20px;display:grid}.learning-card:hover{border-color:var(--border-strong)}.learning-card-head{justify-content:space-between;align-items:start;gap:12px;display:flex}.learning-card-head>div{gap:8px;min-width:0;display:grid}.learning-card h3{font-size:1.08rem;line-height:1.25}.learning-category-pill{border-color:var(--border);color:var(--muted-strong);background:#ffffff0a;flex:none}.learning-summary{color:var(--muted-strong);margin:0;line-height:1.55}.learning-fact-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;display:grid}.learning-fact{border:1px solid var(--line);border-radius:var(--radius-sm);background:#ffffff06;min-width:0;padding:9px 10px}.learning-fact dt{color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:700;line-height:1.2}.learning-fact dd{color:var(--text);margin:4px 0 0;font-size:.84rem;font-weight:650;line-height:1.35}.learning-action-row{flex-wrap:wrap;gap:8px;display:flex}.learning-section-stack,.learning-section{gap:8px;display:grid}.learning-section h4{color:var(--text);margin:0;font-size:.9rem;line-height:1.25}.learning-section ul{color:var(--muted);margin:0;padding-left:18px;line-height:1.55}.learning-bottom-grid{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:2px;display:grid}.learning-section--compact li{font-size:.86rem}.page-tutorials{width:100%;max-width:1040px;margin-inline:auto}.tutorials-header{padding:4px 0 2px}.tutorial-count,.tutorial-category{border:1px solid var(--accent-muted);background:var(--accent-soft);width:fit-content;min-height:26px;color:var(--accent-strong);border-radius:999px;align-items:center;padding:0 9px;font-size:.76rem;font-weight:700;display:inline-flex}.tutorial-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);transition:border-color .2s var(--ease);overflow:hidden}.tutorial-card:hover{border-color:var(--border-strong)}.tutorial-card-body{align-content:start;gap:12px;padding:18px;display:grid}.tutorial-card-body h3{letter-spacing:0;font-size:1.06rem;line-height:1.25}.tutorial-card-body p{color:var(--muted-strong);margin:0;line-height:1.55}.tutorial-card-body ul{color:var(--muted);margin:0;padding-left:18px;line-height:1.55}.tutorial-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.tutorial-card{grid-template-rows:auto 1fr;display:grid}.tutorial-card-kicker{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:.76rem;font-weight:700;display:flex}.tutorial-source-link{justify-self:start;margin-top:2px}.tutorial-embed{aspect-ratio:16/9;background:#050607;width:100%;position:relative;overflow:hidden}.tutorial-embed iframe{border:0;width:100%;height:100%;position:absolute;inset:0}.tool-meta{color:var(--muted);font-size:.78rem}.page-header,.tool-heading,.sheet-card-head,.modal-header{justify-content:space-between;align-items:center;gap:14px;display:flex}.page-header h2,.modal-header h2{font-size:1.18rem}.page-header{align-items:start}.tool-heading h3,.sheet-card-head h3{letter-spacing:0;font-size:1.06rem;font-weight:700;line-height:1.2}.tool-title{padding-left:0;position:relative}.tool-title:before{content:none}.tool-title-wrap{align-items:center;max-width:100%;display:inline-flex;position:relative}.tool-title{cursor:help;outline:none;align-items:center;margin:0;display:inline-flex}.tool-tooltip{z-index:5;border:1px solid var(--border-strong);border-radius:var(--radius-md);width:min(300px,100vw - 48px);color:var(--muted-strong);opacity:0;pointer-events:none;transition:opacity .18s var(--ease), transform .18s var(--ease);background:#121315fa;padding:10px 12px;font-size:.76rem;line-height:1.5;position:absolute;top:calc(100% + 8px);left:0;transform:translateY(-4px)}.tool-title-wrap:hover .tool-tooltip,.tool-title-wrap:focus-within .tool-tooltip{opacity:1;transform:translateY(0)}.tool-form,.tool-output{gap:12px;margin-top:16px;display:grid}.field,.palette-search{gap:6px;display:grid}.field span:first-child{color:var(--muted-strong);letter-spacing:.01em;font-size:.8rem;font-weight:600}.field-row,.mini-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.mini-metrics.stacked{grid-template-columns:1fr}input:not([type=checkbox]):not([type=radio]),select{border:1px solid var(--border);width:100%;min-height:44px;color:var(--text);transition:border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);background:#ffffff0b;border-radius:12px;padding:0 14px;box-shadow:inset 0 1px #ffffff09}input::placeholder{color:var(--muted)}select{appearance:none}input:focus,select:focus{border-color:var(--accent);box-shadow:inset 0 1px 0 #ffffff0a, 0 0 0 3px var(--accent-soft);background:#ffffff12;outline:none}.ghost-button:focus-visible,.segment:focus-visible,.switch-chip:focus-visible,.palette-result:focus-visible,.icon-button:focus-visible{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft);outline:none}input[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 3px #ef53501a}.input-wrap{align-items:center;display:flex;position:relative}.input-wrap input{padding-right:72px}.unit-select,.suffix{position:absolute;right:6px}.unit-select{background:var(--surface-soft);border-color:#0000;border-radius:999px;width:60px;min-height:30px;padding:0 8px;font-size:.8rem;font-weight:600}.suffix{background:var(--surface-soft);min-width:44px;height:30px;color:var(--muted-strong);border:0;border-radius:999px;justify-content:center;align-items:center;font-size:.8rem;font-weight:600;display:inline-flex}.segmented{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.segment{border-color:var(--border);min-height:42px}.check-row{flex-wrap:wrap;align-items:center;gap:16px;min-height:42px;display:flex}.check-option{cursor:pointer;color:var(--muted-strong);-webkit-user-select:none;user-select:none;align-items:center;gap:8px;font-size:.9rem;display:inline-flex}.check-option input[type=checkbox]{cursor:pointer;width:18px;height:18px;accent-color:var(--accent);margin:0}.check-option:has(input:checked){color:var(--text)}input:disabled{opacity:.5;cursor:not-allowed}.segment.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong);box-shadow:none}.tool-output{margin-top:auto}.result-main{border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-md);background:var(--surface-alt);gap:6px;padding:18px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0a}.result-label{color:var(--muted-strong);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.7rem;font-weight:700}.result-value{color:var(--accent-strong);letter-spacing:-.02em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;z-index:1;margin:0;font-size:clamp(1.8rem,4vw,2.8rem);font-weight:760;line-height:1;position:relative}.result-value:has(.copyable-result.is-placeholder){color:var(--muted)}.mini-metrics strong{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.mini-metrics>div{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);transition:border-color .18s var(--ease);gap:4px;padding:12px 14px;display:grid}.mini-metrics>div:hover{border-color:var(--border-strong);background:#ffffff08}.mini-metrics span{color:var(--muted);font-size:.76rem;font-weight:500}.mini-metrics strong{font-size:.95rem;font-weight:600}@media (width>=981px){body[data-page=home] .tool-grid{max-width:1240px}body[data-page=home] .tool-panel{grid-template-columns:minmax(0,1fr) minmax(300px,.44fr);grid-template-areas:"heading heading""form output""formula output";gap:18px;padding:22px;display:grid}body[data-page=home] .tool-panel:before{content:none}body[data-page=home] .tool-heading{border-bottom:1px solid var(--line);grid-area:heading;padding-bottom:16px}body[data-page=home] .tool-heading h3{font-size:1.15rem}body[data-page=home] .tool-form{grid-area:form;align-content:start;gap:14px;margin-top:0}body[data-page=home] .tool-output{grid-area:output;align-content:start;gap:10px;margin-top:0}body[data-page=home] .field-row{gap:12px}body[data-page=home] .field-note{margin-top:-4px}body[data-page=home] .result-main{align-content:center;min-height:160px;padding:24px}body[data-page=home] .result-value{font-size:clamp(2.6rem,4vw,4rem)}body[data-page=home] .mini-metrics>div{padding:14px 16px}body[data-page=home] .formula-toggle{grid-area:formula;align-self:start;margin-top:-2px;padding:0}}.field-error{color:#ff8a80;margin:-2px 0 0;font-size:.78rem;line-height:1.4}.field-note{color:var(--muted);margin:-2px 0 0;font-size:.76rem;line-height:1.4}.formula-note{color:var(--muted);margin:2px 0 0;font-size:.76rem;line-height:1.4}.containment-rows{gap:8px;display:grid}.containment-card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);transition:border-color .18s var(--ease), box-shadow .18s var(--ease);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.containment-card:hover{border-color:var(--border);box-shadow:none}.containment-index{background:var(--fill);width:26px;height:26px;color:var(--muted);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.72rem;font-weight:700;display:flex}.containment-fields{grid-template-columns:1fr 1fr;gap:8px;display:grid}.containment-field{gap:3px;display:grid}.containment-field span{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:600}.containment-field select{background:var(--bg);border-radius:8px;min-height:34px;padding:0 10px;font-size:.85rem}.containment-remove{width:28px;height:28px;color:var(--muted);cursor:pointer;transition:all .18s var(--ease);background:0 0;border:0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex}.containment-remove:hover{color:var(--muted);background:0 0}.add-containment-btn{border:1px dashed var(--border);width:100%;min-height:38px;color:var(--muted-strong);cursor:pointer;transition:all .18s var(--ease);background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:0 14px;font-size:.82rem;font-weight:500;display:inline-flex}.add-containment-btn:hover{border-color:var(--border);color:var(--muted-strong);box-shadow:none;background:0 0}.breakdown-row{border-radius:var(--radius-md);grid-template-columns:repeat(4,1fr);gap:2px;display:grid;overflow:hidden}.breakdown-item{background:var(--surface-alt);gap:3px;padding:10px 12px;display:grid}.breakdown-item span{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;font-size:.68rem;font-weight:600}.breakdown-item strong{font-size:.88rem;font-weight:600}.breakdown-total{background:var(--surface-soft)}.result-sub{color:var(--muted);margin:0;font-size:.72rem;font-weight:500}.tool-actions-row{flex-wrap:wrap;gap:10px;display:flex}.sheet-list{margin:0;padding-left:18px}.sheet-list li+li{margin-top:8px}.sheet-list li{font-size:.9rem;line-height:1.5}.legend-grid{flex-direction:column;gap:6px;display:flex}.legend-row{align-items:center;gap:12px;display:flex}.legend-swatch{border:1px solid #ffffff26;border-radius:3px;flex-shrink:0;width:48px;height:20px;position:relative;overflow:hidden}.legend-swatch--x{justify-content:center;align-items:center;display:flex}.legend-swatch--stripe,.legend-swatch--ladder{background:0 0;display:flex}.legend-stripe-bars{width:100%;height:100%;display:flex}.legend-stripe-bars span{flex:1 1 0}.legend-ladder-rungs{justify-content:space-around;width:100%;height:100%;padding:0 5px;display:flex}.legend-ladder-rungs span{width:3px;height:100%}.legend-x{width:100%;height:100%;position:absolute;inset:0}.legend-swatch--box{justify-content:center;align-items:center;height:24px;display:flex}.legend-box-text{color:inherit;font-size:.6rem;font-weight:800}.legend-swatch--outline{background:0 0}.legend-label{color:var(--text);font-size:.82rem;font-weight:500}.empty-state{border:1px dashed var(--border);border-radius:var(--radius-md);color:var(--muted);text-align:center;padding:16px}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(14px)saturate(1.05);background:#000000b8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-shell{border:1px solid var(--border-strong);background:#0c0d0efa;border-radius:16px;width:min(660px,100%);max-height:min(80vh,720px);padding:20px;overflow:auto;box-shadow:0 28px 100px #0000008c,inset 0 1px #ffffff0e}.palette-search{margin-top:14px}.palette-search input{min-height:44px}.result-list,.palette-results,.help-grid{gap:8px;display:grid}.search-result,.palette-result,.help-row{border:1px solid var(--border);border-radius:var(--radius-md);background:#ffffff06}.search-result,.palette-result{color:inherit;text-align:left;transition:all .18s var(--ease);gap:4px;padding:12px 14px;display:grid}.palette-result:hover{border-color:var(--border-strong);background:#ffffff0f}.palette-result.is-active{border-color:var(--accent);background:var(--accent-soft);box-shadow:none}.search-result-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.search-result-title,.palette-result-title{font-size:.92rem;font-weight:600}.search-result-tag{color:var(--accent-strong);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem;font-weight:600}.palette-result-subtitle{color:var(--muted);font-size:.84rem}.help-shell{width:min(480px,100%)}.help-row{justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.help-action-row .ghost-button{min-height:34px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-indicator{justify-content:center;align-items:center;gap:10px;width:100%;max-width:860px;margin-inline:auto;padding:12px 0 4px;display:flex}.mobile-nav-btn{border:1px solid var(--border);width:36px;height:36px;color:var(--muted-strong);cursor:pointer;transition:all .18s var(--ease);background:0 0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:flex}.mobile-nav-btn:hover{border-color:var(--border);color:var(--muted-strong)}.mobile-nav-btn:active{background:var(--fill);border-color:var(--border-strong)}.mobile-nav-btn:disabled{opacity:.25;pointer-events:none}.mobile-nav-btn svg{width:16px;height:16px}.mobile-dots{scrollbar-width:none;-ms-overflow-style:none;justify-content:center;align-items:center;gap:7px;min-width:0;padding:4px 0;display:flex;overflow-x:auto}.mobile-dots::-webkit-scrollbar{display:none}.mobile-dot{cursor:pointer;width:7px;height:7px;transition:all .28s var(--ease);background:#ffffff26;border:0;border-radius:50%;flex-shrink:0;padding:0}.mobile-dot:hover{background:#ffffff26}.mobile-dot.is-active{background:var(--accent);width:24px;box-shadow:0 0 8px var(--accent-glow);border-radius:4px}@media (width<=980px){.topbar{grid-template-columns:auto minmax(0,1fr);gap:10px 12px}.topbar-actions{grid-column:1/-1;width:100%}.search-field{flex:auto;width:auto;max-width:none}.topbar-actions,.sheet-grid,.learning-grid,.learning-fact-list,.learning-bottom-grid,.tutorial-feature,.tutorial-grid,.field-row,.mini-metrics{grid-template-columns:1fr}.containment-card{grid-template-columns:auto minmax(0,1fr) auto}.containment-fields{grid-template-columns:1fr 1fr}.breakdown-row{grid-template-columns:repeat(2,1fr)}.site-shell{width:min(100% - 20px,1160px);padding-top:12px}.page-header,.sheet-card-head,.modal-header{flex-direction:column;align-items:start}.tool-heading{flex-direction:row;align-items:center}.tool-switcher{width:100%}.tool-grid:before,.sheet-grid:before{display:none}}@media (width<=720px){html,body,#root{background:var(--surface);overflow:hidden}body{width:100%}#root{width:auto;height:auto;min-height:0;position:fixed;inset:0;overflow:hidden}.site-shell{background:var(--bg);grid-template-rows:auto minmax(0,1fr);width:auto;height:auto;min-height:0;padding:0;display:grid;position:absolute;inset:0}.workspace,.page.is-active{gap:0}.workspace{min-height:0;overflow:hidden}.page-home.is-active{grid-template-rows:minmax(0,1fr);gap:0;min-height:0;overflow:hidden}.page-home.is-active .tool-grid{height:100%;min-height:0;padding-bottom:0}.page-home.is-active .tool-panel{background:var(--bg);width:100%;padding-bottom:calc(env(safe-area-inset-bottom) + 104px);border:0;border-radius:0;flex-direction:column;display:flex;overflow-y:auto}.page-home.is-active .tool-panel .tool-output{margin-top:14px;padding-bottom:4px}.mobile-indicator{padding:6px calc(env(safe-area-inset-right) + 10px) max(env(safe-area-inset-bottom) - 22px, 6px) calc(env(safe-area-inset-left) + 10px);-webkit-backdrop-filter:blur(16px)saturate(1.3);z-index:30;background:#050505f0;border-top:1px solid #ffffff0f;gap:6px;position:fixed;bottom:0;left:0;right:0}.mobile-dots{flex:1}.topbar{padding:calc(env(safe-area-inset-top) + 8px) calc(env(safe-area-inset-right) + 14px) 8px calc(env(safe-area-inset-left) + 14px);border:0;border-bottom:1px solid var(--border);-webkit-backdrop-filter:none;backdrop-filter:none;background:#050505f0;border-radius:0;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px;margin-bottom:0;display:grid;position:relative}.brand{grid-column:1;min-height:34px;padding:0;display:inline-flex}.brand-mark{width:20px;height:20px}.brand strong{font-size:.95rem;display:inline}.nav-menu{min-width:min(260px,100vw - 28px);right:0}.topbar-actions{grid-column:1/-1;grid-template-columns:34px minmax(0,1fr) 34px;gap:8px;width:100%;min-width:0;display:grid;overflow:visible}.topbar-actions>.topbar-icon-button{grid-column:1}.topbar-actions>.search-field{grid-column:2;width:100%}.topbar-actions .nav-menu-wrap{grid-column:3;justify-self:end}.nav-menu-toggle{border-radius:var(--radius-sm);width:34px;height:34px}.search-field{border-radius:var(--radius-sm);min-width:0;min-height:34px;padding:0 8px 0 10px;font-size:.82rem;overflow:hidden}.search-placeholder{font-size:.82rem}.search-icon{width:14px;height:14px}.search-hint{display:none}.tool-panel{padding:16px}.sheet-card{margin:0 12px;padding:16px}.page-learning.is-active{padding:10px 10px calc(max(env(safe-area-inset-bottom) - 30px, 2px) + 16px)}.learning-route-strip{grid-template-columns:1fr;gap:6px}.learning-route-strip span{justify-content:flex-start;min-height:34px}.learning-route-strip span:not(:last-child):after{width:1px;height:6px;top:100%;left:20px;right:auto}.learning-card{border-radius:var(--radius-md);padding:16px}.learning-card-head{flex-direction:column;align-items:start}.learning-filter-btn{min-height:32px;font-size:.76rem}.page-tutorials.is-active{padding:10px 10px calc(max(env(safe-area-inset-bottom) - 30px, 2px) + 16px)}.tutorial-card{border-radius:var(--radius-md)}.tutorial-card-body{padding:14px}.tutorial-card-kicker{flex-direction:column;align-items:start;gap:6px}.modal-shell{border-radius:var(--radius-lg)}.page-header,.modal-header{gap:8px}.tool-heading,.sheet-card-head{flex-direction:row;align-items:center;gap:8px}.page-header h2,.modal-header h2{font-size:1rem}.tool-heading h3,.sheet-card-head h3{font-size:.98rem}.tool-grid,.sheet-grid,.field-row,.mini-metrics{gap:10px}.tool-actions-row .ghost-button{width:100%}.tool-form,.tool-output{gap:10px;margin-top:14px}.field{gap:5px}.field span:first-child,.tool-meta{font-size:.76rem}input,select{border-radius:var(--radius-sm);min-height:40px;padding:0 12px;font-size:16px}.input-wrap input{padding-right:66px}.unit-select,.suffix{height:28px;min-height:28px;font-size:.76rem;right:5px}.unit-select{width:54px;padding:0 6px}.suffix{min-width:40px}.result-main{border-radius:var(--radius-sm);padding:14px}.result-label{font-size:.68rem}.result-value{font-size:clamp(1.5rem,9vw,2.2rem)}.mini-metrics>div{border-radius:var(--radius-sm);padding:10px 12px}.mini-metrics strong{font-size:.92rem}.sheet-grid{gap:10px;padding:0 4px}.learning-grid,.tutorial-grid{grid-template-columns:1fr;gap:10px}.sheet-list{padding-left:16px}.modal-backdrop{padding:10px}.modal-shell{width:100%;max-height:calc(100vh - 20px);padding:16px}.palette-search{margin-top:10px}.ghost-button,.switch-chip,.icon-button{min-height:34px;font-size:.84rem}.page.is-active:not(.page-home){gap:10px;padding:12px 0;overflow-y:auto}}@media (width<=480px){.tool-panel{padding:14px}.ghost-button,.switch-chip{font-size:.8rem}.icon-button{width:32px;height:32px;min-height:32px}.result-value{font-size:clamp(1.35rem,10vw,1.9rem)}.search-result-title-row{flex-direction:column;align-items:start;gap:4px}}.topbar-icon-button{border:1px solid var(--border);width:36px;height:36px;color:var(--muted-strong);cursor:pointer;transition:color .15s var(--ease), border-color .15s var(--ease);background:#ffffff0b;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.topbar-icon-button:hover{color:var(--text);border-color:var(--border-strong);box-shadow:0 0 0 3px var(--accent-soft);background:#ffffff14}@media (width<=720px){.topbar .topbar-icon-button{border-radius:var(--radius-sm);width:34px;height:34px}}.copyable-result{color:inherit;font:inherit;cursor:pointer;transition:color .15s var(--ease);background:0 0;border:none;align-items:center;gap:6px;padding:0;display:inline-flex}.copyable-result.is-placeholder{cursor:default}.copyable-result:not(.is-placeholder):hover{color:inherit}.copyable-result .copy-icon{opacity:0;transition:opacity .15s var(--ease);color:var(--muted);display:inline-flex}.copyable-result:hover .copy-icon,.copyable-result.is-copied .copy-icon,.copyable-result.is-failed .copy-icon{opacity:1}.copyable-result.is-copied .copy-icon{color:var(--accent)}.copyable-result.is-failed,.copyable-result.is-failed .copy-icon{color:var(--danger,#d8504a)}.formula-toggle{padding:0 20px 14px}.formula-trigger{color:var(--muted);cursor:pointer;transition:color .15s var(--ease);background:0 0;border:none;align-items:center;gap:6px;padding:0;font-size:.78rem;display:inline-flex}.formula-trigger:hover{color:var(--muted)}.formula-content{background:var(--fill);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--muted-strong);white-space:pre-wrap;font-size:.78rem;line-height:1.6;font-family:var(--font-ui);margin:8px 0 0;padding:10px 14px}.field-hint{color:var(--muted);margin-top:4px;font-size:.75rem;font-style:italic;display:block}.history-shell{max-width:480px}.modal-header-actions{align-items:center;gap:8px;display:flex}.history-list{max-height:400px;padding:4px 16px 16px;overflow-y:auto}.history-entry{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:baseline;gap:4px 10px;padding:10px 0;display:grid}.history-tool{color:var(--accent-strong);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:600}.history-time{color:var(--muted);grid-area:1/3;font-size:.72rem}.history-label{color:var(--muted-strong);grid-column:1/-1;font-size:.82rem}.history-value{color:var(--text);grid-column:1/-1;font-size:.92rem}.page-exams.is-active{gap:22px;display:grid}.exam-shell{gap:20px;min-width:0;max-width:100%;display:grid}.exam-hero{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:22px 24px;display:grid}.exam-hero-text{gap:8px;min-width:0;display:grid}.exam-title-wrap{grid-template-columns:minmax(0,auto) auto;align-items:center;gap:8px;width:max-content;max-width:100%;display:inline-grid;position:relative}.exam-title-wrap h2{margin:0}.exam-title-info{border:1px solid var(--border);background:var(--fill);width:18px;height:18px;color:var(--muted);cursor:help;border-radius:50%;justify-content:center;align-items:center;font-family:Georgia,Times New Roman,serif;font-size:.75rem;font-style:italic;font-weight:600;line-height:1;transition:color .15s,border-color .15s;display:inline-flex}.exam-title-info:hover,.exam-title-info:focus-visible{color:var(--text);border-color:var(--border-strong);outline:none}.exam-tooltip{border:1px solid var(--border);border-radius:var(--radius-md);opacity:0;visibility:hidden;pointer-events:none;z-index:20;background:#121315fa;gap:6px;width:min(440px,100vw - 48px);padding:12px 14px;transition:opacity .15s,transform .15s,visibility .15s;display:grid;position:absolute;top:calc(100% + 10px);left:0;transform:translateY(-6px);box-shadow:0 12px 32px #00000059}.exam-title-info:hover~.exam-tooltip,.exam-title-info:focus-visible~.exam-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.exam-tooltip-subtitle{color:var(--text);letter-spacing:.02em;font-size:.8rem;font-weight:600}.exam-tooltip-description,.exam-tooltip-format{color:var(--muted);margin:0;font-size:.82rem;line-height:1.55}.exam-tooltip-format{color:var(--muted-strong);font-weight:500}.exam-title-menu-wrap{min-width:0;max-width:100%;position:relative}.exam-title-button{max-width:100%;box-shadow:none;color:var(--text);font-family:var(--font-heading);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;grid-template-columns:minmax(0,auto) auto;align-items:center;gap:10px;padding:2px 0;font-size:1.35rem;font-weight:400;line-height:1;transition:color .15s;display:grid}.exam-title-button:hover,.exam-title-button:focus-visible{color:var(--accent-strong);box-shadow:none;border:0;outline:none}.exam-title-button span{text-overflow:ellipsis;min-width:0;overflow:hidden}.exam-title-chevron{width:20px;height:20px;color:var(--muted-strong)}.exam-title-menu{z-index:35;border:1px solid var(--border);width:min(520px,100vw - 48px);max-height:min(420px,100vh - 220px);box-shadow:none;background:#111111fa;border-radius:0;gap:2px;padding:6px;display:grid;position:absolute;top:calc(100% + 10px);left:0;overflow:auto}.exam-title-option{width:100%;min-height:36px;color:var(--muted-strong);font-family:var(--font-ui);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;padding:8px 10px;font-size:.9rem;line-height:1.25}.exam-title-option:hover,.exam-title-option:focus-visible{background:var(--surface-soft);color:var(--text);outline:none}.exam-title-option.is-active{background:var(--text);color:var(--bg)}.exam-hero-stats{grid-auto-flow:column;align-self:start;align-items:stretch;gap:10px;display:grid}.exam-stat{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);text-align:center;gap:4px;min-width:86px;padding:12px 16px;display:grid}.exam-stat span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:.7rem;font-weight:600}.exam-stat strong{letter-spacing:-.02em;color:var(--text);font-size:1.4rem;font-weight:700}.exam-stat-sub{color:var(--muted);letter-spacing:0;margin-left:2px;font-size:.8rem;font-weight:500}.exam-progress{background:#ffffff14;border-radius:999px;width:100%;height:6px;position:relative;overflow:hidden}.exam-progress-bar{background:var(--accent);height:100%;box-shadow:none;transition:width .28s var(--ease)}.exam-sections{gap:24px;display:grid}.exam-section{gap:14px;display:grid}.exam-section-title{color:var(--text);letter-spacing:.04em;text-transform:uppercase;border-bottom:1px solid var(--border);padding-bottom:8px;font-size:1rem}.exam-question-list{gap:14px;display:grid}.exam-question{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);min-width:0;max-width:100%;transition:border-color .18s var(--ease), box-shadow .18s var(--ease);gap:12px;padding:18px 20px;scroll-margin-top:90px;display:grid}.exam-question.is-correct{box-shadow:var(--shadow-card);border-color:#22c55e59}.exam-question.is-incorrect,.exam-question.is-unanswered{box-shadow:var(--shadow-card);border-color:#ef535059}.exam-question-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.exam-question-actions{justify-content:flex-end;align-items:center;gap:10px;min-width:0;display:inline-flex}.exam-q-number{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;font-weight:700}.exam-copy-btn{border:1px solid var(--border);width:36px;height:36px;color:var(--muted-strong);cursor:pointer;transition:color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease), box-shadow .16s var(--ease), transform .16s var(--ease);background:#ffffff0a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.exam-copy-btn:hover,.exam-copy-btn:focus-visible{color:var(--text);border-color:var(--border-strong);background:#ffffff12}.exam-copy-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.exam-copy-btn--copied{color:#4ade80;background:#22c55e14;border-color:#22c55e73;box-shadow:0 0 10px #22c55e0f}.exam-copy-btn--copied .exam-copy-icon{animation:exam-copy-icon-pop .26s var(--ease)}.exam-copy-btn--failed{color:#f87171;background:#ef53501a;border-color:#ef535073}.exam-copy-icon{transition:transform .16s var(--ease);justify-content:center;align-items:center;display:inline-flex}@keyframes exam-copy-icon-pop{0%{transform:scale(.92)}64%{transform:scale(1.08)}to{transform:scale(1)}}.exam-q-badge{letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:700}.exam-q-badge--ok{color:#4ade80;background:#22c55e24;border:1px solid #22c55e4d}.exam-q-badge--bad{color:#f87171;background:#ef535024;border:1px solid #ef53504d}.exam-q-prompt{color:var(--text);margin:0;font-size:.96rem;font-weight:500;line-height:1.55}.exam-question-media{gap:10px;display:grid}.exam-question-media img,.exam-option-image{border:1px solid var(--border);border-radius:var(--radius-sm);background:#fff;max-width:100%;height:auto;display:block}.exam-question-media img{object-fit:contain;max-height:360px}.exam-options{gap:8px;display:grid}.exam-option{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);color:var(--text);text-align:left;cursor:pointer;transition:all .18s var(--ease);grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 14px;font-size:.88rem;line-height:1.5;display:grid}.exam-option:hover:not(:disabled){border-color:var(--border-strong);background:#ffffff0a}.exam-option:disabled{cursor:default}.exam-option.is-selected:not(.is-answer):not(.is-wrong){border-color:var(--accent);background:var(--accent-soft);box-shadow:none}.exam-option.is-answer{color:var(--text);background:#22c55e1a;border-color:#22c55e8c}.exam-option.is-wrong{background:#ef53501a;border-color:#ef53508c}.exam-option-letter{width:26px;height:26px;color:var(--muted-strong);background:#ffffff0f;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.78rem;font-weight:700;display:inline-flex}.exam-option.is-selected .exam-option-letter{background:var(--accent);color:#050505}.exam-option.is-answer .exam-option-letter{color:#0a0a0a;background:#22c55ecc}.exam-option.is-wrong .exam-option-letter{color:#0a0a0a;background:#ef5350cc}.exam-option-text{overflow-wrap:anywhere;word-break:break-word;gap:8px;min-width:0;display:grid}.exam-option-image{object-fit:contain;max-height:120px}.exam-option-mark{color:#4ade80;background:#22c55e40;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:.8rem;font-weight:800;display:inline-flex}.exam-option-mark--bad{color:#f87171;background:#ef535040}.exam-explanation{border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-md);background:var(--fill);padding:12px 14px}.exam-explanation-label{color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px;font-size:.7rem;font-weight:700;display:block}.exam-explanation p{color:var(--muted-strong);margin:0;font-size:.85rem;line-height:1.6}.exam-footer{z-index:5;border:1px solid var(--border);-webkit-backdrop-filter:blur(14px)saturate(1.3);box-shadow:0 -8px 28px #00000038, var(--shadow-card);background:#08090ae6;border-radius:999px;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;display:flex;position:sticky;bottom:0}.exam-footer-status{color:var(--muted-strong);flex:1;min-width:0;font-size:.86rem}.exam-status-ok{color:#4ade80;font-weight:600}.exam-status-bad{color:#f87171;font-weight:600}.exam-jump-btn{font-size:.82rem}.exam-submit-btn{border:1px solid var(--accent);background:var(--accent);color:#050505;letter-spacing:.02em;cursor:pointer;min-height:42px;box-shadow:none;transition:all .18s var(--ease);border-radius:999px;padding:0 22px;font-size:.92rem;font-weight:700}.exam-submit-btn:hover:not(:disabled){box-shadow:none;transform:none}.exam-submit-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.exam-footer-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.exam-review-tools{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.exam-review-filter-row{flex-wrap:wrap;gap:8px;display:flex}.exam-review-filter{border:1px solid var(--border);background:var(--surface-alt);min-height:30px;color:var(--muted-strong);cursor:pointer;transition:border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease);border-radius:999px;padding:0 10px;font-size:.78rem;font-weight:700}.exam-review-filter:hover,.exam-review-filter.is-active{border-color:var(--accent-muted);background:var(--accent-soft);color:var(--accent-strong)}.exam-review-section{color:var(--muted);white-space:nowrap;align-items:center;gap:8px;font-size:.78rem;font-weight:650;display:flex}.exam-review-section select{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-alt);min-height:32px;color:var(--text);padding:0 8px}.exam-results{gap:16px;scroll-margin-top:90px;display:grid}.exam-results-banner{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;display:flex}.exam-results-banner.is-pass{box-shadow:var(--shadow-card);background:#22c55e14;border-color:#22c55e66}.exam-results-banner.is-fail{box-shadow:var(--shadow-card);background:#ef535014;border-color:#ef535066}.exam-results-score-block{gap:2px;display:grid}.exam-results-label{color:var(--muted-strong);letter-spacing:.1em;text-transform:uppercase;font-size:.72rem;font-weight:700}.exam-results-score{letter-spacing:-.02em;color:var(--text);font-size:clamp(2rem,6vw,3rem);font-weight:800;line-height:1}.exam-results-score span{color:var(--muted-strong);margin-left:2px;font-size:.55em;font-weight:600}.exam-results-percent{color:var(--accent-strong);font-size:.9rem;font-weight:600}.is-pass .exam-results-percent{color:#4ade80}.is-fail .exam-results-percent{color:#f87171}.exam-results-verdict{text-align:right;gap:4px;display:grid}.exam-results-verdict strong{color:var(--text);font-size:1.1rem;font-weight:700}.exam-results-verdict span{color:var(--muted-strong);font-size:.84rem}.exam-results-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.exam-results-card{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-card);padding:16px 18px}.exam-results-card--by-section{grid-column:span 2}.exam-results-card h4{letter-spacing:.08em;text-transform:uppercase;color:var(--text);margin:0 0 12px;font-size:.78rem;font-weight:700}.exam-scoring-list,.exam-priorities-list,.exam-section-breakdown{gap:8px;margin:0;padding:0;list-style:none;display:grid}.exam-scoring-list li{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-alt);justify-content:space-between;align-items:baseline;gap:12px;padding:10px 12px;display:flex}.exam-scoring-list li.is-active{border-color:var(--accent);background:var(--accent-soft);box-shadow:none}.exam-scoring-list strong{color:var(--text);font-size:.9rem;font-weight:700}.exam-scoring-list span{color:var(--muted-strong);text-align:right;font-size:.82rem}.exam-priorities-list li{color:var(--muted-strong);padding-left:16px;font-size:.86rem;line-height:1.55;position:relative}.exam-priorities-list li:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:.55em;left:0}.exam-section-breakdown{gap:12px}.exam-section-breakdown-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px;display:flex}.exam-section-breakdown-title{color:var(--text);font-size:.86rem;font-weight:500}.exam-section-breakdown-head strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:.86rem;font-weight:700}.exam-section-breakdown-bar{background:#ffffff0f;border-radius:999px;height:6px;overflow:hidden}.exam-section-breakdown-fill{background:var(--accent);height:100%;transition:width .4s var(--ease)}@media (width<=980px){.exam-hero{grid-template-columns:1fr}.exam-hero-stats{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.exam-stat{min-width:0}.exam-results-grid{grid-template-columns:1fr}.exam-results-card--by-section{grid-column:auto}.exam-results-banner{flex-direction:column;align-items:start}.exam-review-tools{grid-template-columns:1fr}.exam-review-section{flex-direction:column;align-items:stretch;width:100%}.exam-review-section select{width:100%}.exam-results-verdict{text-align:left}}@media (width<=720px){.page-exams.is-active{width:100%;min-width:0;max-width:100%;padding:8px 10px calc(max(env(safe-area-inset-bottom) - 30px, 2px) + 48px);overflow:hidden auto}.exam-shell,.exam-hero,.exam-results,.exam-results-banner,.exam-results-card,.exam-footer{width:100%;min-width:0;max-width:100%}.exam-shell{gap:10px;overflow-x:clip}.exam-hero{border-radius:var(--radius-md);gap:8px;padding:10px 12px}.exam-title-wrap{grid-template-columns:minmax(0,1fr) auto;width:100%;min-width:0}.exam-hero-text h2,.exam-title-button{font-size:.98rem}.exam-title-button,.exam-title-menu-wrap{width:100%;min-width:0}.exam-title-button{text-overflow:ellipsis;grid-template-columns:minmax(0,1fr) auto;overflow:hidden}.exam-title-menu{width:min(100%,100vw - 32px);max-height:320px}.exam-title-info{justify-self:end}.exam-tooltip{width:calc(100vw - 32px);max-width:calc(100vw - 32px)}.exam-hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:initial;gap:6px;width:100%;overflow:hidden}.exam-stat{border-radius:var(--radius-sm);gap:2px;padding:6px}.exam-stat span{letter-spacing:.03em;overflow-wrap:anywhere;font-size:.56rem}.exam-stat strong{font-size:1rem}.exam-progress{height:4px}.exam-sections,.exam-section,.exam-question-list{min-width:0;max-width:100%}.exam-sections{gap:16px}.exam-section{gap:10px}.exam-section-title{padding-bottom:6px;font-size:.9rem}.exam-question{border-radius:var(--radius-md);padding:12px 14px}.exam-question-head{min-width:0}.exam-question-actions{gap:8px}.exam-copy-btn{width:34px;height:34px}.exam-q-prompt,.exam-explanation p,.exam-scoring-list strong,.exam-scoring-list span,.exam-priorities-list li,.exam-section-breakdown-title{overflow-wrap:anywhere}.exam-option{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:10px 12px;font-size:.9rem}.exam-option-letter{width:24px;height:24px}.exam-option-mark{width:20px;height:20px}.exam-footer{padding:4px calc(env(safe-area-inset-right) + 10px) max(env(safe-area-inset-bottom) - 30px, 2px) calc(env(safe-area-inset-left) + 10px);background:var(--surface);-webkit-backdrop-filter:none;z-index:35;border-bottom:0;border-left:0;border-right:0;border-radius:0;flex-wrap:nowrap;gap:8px;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -1px #ffffff0a}.exam-footer-status{flex:auto;min-width:0}.exam-footer-status .ghost-button{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;overflow:hidden}.exam-submit-btn{flex:none;min-width:92px;min-height:32px;padding:0 14px;font-size:.86rem}.exam-footer-actions{flex:none;gap:6px}.exam-footer-actions .ghost-button{min-height:32px;padding:0 10px;font-size:.78rem}.exam-jump-btn{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;min-height:32px;padding:0 10px;overflow:hidden}}.page-interactive{width:100%;max-width:1600px;margin-inline:auto}.page-interactive.is-active{flex-direction:column;gap:14px;display:flex}body[data-page=interactive] .page-interactive{flex:1;width:100vw;max-width:none;min-height:calc(100dvh - 90px);margin-left:calc(50% - 50vw);padding:0 16px 16px}body[data-page=interactive] .page-interactive.is-active{flex-direction:column;display:flex}body[data-page=interactive] .ix-layout{flex:1;min-height:0}body[data-page=interactive] .ix-canvas-wrap{height:100%}body[data-page=interactive] .ix-canvas{height:100%;min-height:0}.ix-header{flex-wrap:wrap;align-items:flex-start;gap:12px}.ix-header-actions{align-items:center;gap:8px;display:flex}.ix-energize{background:var(--accent);color:#050505;border:1px solid var(--accent-strong);letter-spacing:.02em;box-shadow:var(--shadow-card);transition:filter .2s var(--ease), box-shadow .2s var(--ease);border-radius:999px;padding:10px 18px;font-size:.92rem;font-weight:700}.ix-energize:hover{filter:none;box-shadow:var(--shadow-card)}.ix-energize.is-on{background:var(--accent);box-shadow:var(--shadow-card)}.ix-tabs{background:var(--surface);border:1px solid var(--border);border-radius:999px;align-self:flex-start;gap:4px;padding:4px;display:inline-flex}.ix-3d-wrap{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);flex:auto;min-height:600px;display:flex;overflow:hidden}.ix-3d-wrap>*{flex:auto;width:100%;min-width:0;height:100%}.ix-panel-loading{color:var(--muted);place-items:center;font-size:.92rem;display:grid}body[data-page=interactive] .ix-3d-wrap{min-height:calc(100dvh - 200px)}.ix-tab{color:var(--muted);transition:color .16s var(--ease), background .16s var(--ease);background:0 0;border:none;border-radius:999px;padding:8px 14px;font-size:.9rem;font-weight:600}.ix-tab:hover{color:var(--text)}.ix-tab.is-active{background:var(--text);color:var(--bg);box-shadow:none}.ix-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;padding:8px 0;display:flex}.ix-toolbar-group{flex-wrap:wrap;gap:6px;display:flex}.ix-save-group{align-items:center;margin-left:auto}.ix-save-input,.ix-save-select{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);min-height:34px;color:var(--text);padding:0 10px;font-size:.82rem}.ix-save-input{width:min(180px,100%)}.ix-save-select{width:min(220px,100%)}.ix-layout{grid-template-columns:168px minmax(0,1fr) 280px;align-items:start;gap:14px;display:grid}.ix-palette{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);flex-direction:column;gap:6px;padding:10px;display:flex;position:sticky;top:12px}.ix-palette-item{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);text-align:left;transition:border-color .16s var(--ease), background .16s var(--ease);align-items:center;gap:8px;padding:8px 10px;display:flex}.ix-palette-item:hover{border-color:var(--border-strong);background:var(--surface-soft)}.ix-palette-item.is-active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.ix-palette-icon{width:38px;height:22px;color:var(--muted-strong);justify-content:center;align-items:center;display:inline-flex}.ix-palette-item.is-active .ix-palette-icon{color:var(--accent-strong)}.ix-palette-label{font-size:.86rem;font-weight:600}.ix-palette-hint{color:var(--muted);margin:6px 4px 0;font-size:.74rem;line-height:1.4}.ix-canvas-wrap{flex-direction:column;gap:8px;min-width:0;display:flex}.ix-canvas{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);touch-action:none;-webkit-user-select:none;user-select:none;width:100%;height:auto;min-height:min(72vh,720px);display:block}.ix-grid-line{stroke:var(--line);stroke-width:1px}.ix-component{cursor:grab;color:var(--text)}.ix-component:active{cursor:grabbing}.ix-component.is-selected{filter:drop-shadow(0 0 6px var(--accent-glow))}.ix-component.is-hover{filter:drop-shadow(0 0 4px var(--accent-glow))}.ix-lead,.ix-batt-short,.ix-switch-lever,.ix-lamp-cross,.ix-resistor{stroke:var(--text);stroke-width:2px;stroke-linecap:round;fill:none}.ix-batt-long{stroke:var(--text);stroke-width:3px;stroke-linecap:round}.ix-pin{fill:var(--text)}.ix-lamp-bulb{fill:var(--surface-alt);stroke:var(--text);stroke-width:2px;transition:fill .16s var(--ease), filter .16s var(--ease)}.ix-lamp-bulb.is-on{fill:color-mix(in srgb, var(--accent) calc(var(--lamp-glow,0) * 100%), var(--surface-alt));filter:drop-shadow(0 0 calc(var(--lamp-glow,0) * 12px) var(--accent))}.ix-breaker-body{fill:var(--surface-alt);stroke:var(--text);stroke-width:1.5px}.ix-breaker-body.is-tripped{fill:#ef535029;stroke:var(--danger)}.ix-glyph-label{fill:var(--muted-strong);text-anchor:middle;font-size:11px;font-family:var(--font-ui)}.ix-glyph-meta{fill:var(--muted);text-anchor:middle;font-size:10px;font-family:var(--font-ui);pointer-events:none}.ix-glyph-rating{fill:var(--text);text-anchor:middle;font-size:10px;font-weight:700;font-family:var(--font-ui)}.ix-terminal{fill:var(--surface);stroke:var(--accent);stroke-width:1.5px;cursor:crosshair;transition:fill .12s var(--ease), stroke .12s var(--ease), r .12s var(--ease)}.ix-terminal:hover{fill:var(--accent)}.ix-terminal.is-pending{fill:var(--accent);stroke:var(--accent-strong)}.ix-wire{stroke:var(--muted-strong);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;fill:none;cursor:pointer;transition:stroke .16s var(--ease), stroke-width .16s var(--ease)}.ix-wire:hover{stroke:var(--accent-strong)}.ix-wire.is-selected{stroke:var(--accent);stroke-width:3.5px}.ix-wire.is-pending{stroke:var(--accent);stroke-dasharray:4 4;pointer-events:none}.ix-wire.is-live{stroke:var(--accent);stroke-dasharray:8 6;animation:1.2s linear infinite ix-current-flow}@keyframes ix-current-flow{to{stroke-dashoffset:-28px}}.ix-tip{pointer-events:none}.ix-tip-bg{fill:#111315f0;stroke:var(--accent-muted);stroke-width:1px}.ix-tip-text{fill:var(--accent-strong);text-anchor:middle;font-size:10px;font-weight:600;font-family:var(--font-ui)}.ix-status{background:var(--surface-soft);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--muted-strong);padding:10px 14px;font-size:.84rem}.ix-status.is-warning{color:#fda4a0;background:#ef535014;border-color:#ef535066}.ix-info{flex-direction:column;gap:12px;display:flex;position:sticky;top:12px}.ix-info-block{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);padding:12px 14px}.ix-info-block h3{text-transform:uppercase;letter-spacing:.06em;color:var(--muted-strong);margin:0 0 8px;font-size:.78rem}.ix-empty{color:var(--muted);margin:0;font-size:.84rem}.ix-selected{flex-direction:column;gap:8px;display:flex}.ix-selected-row{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.ix-selected-kind{text-transform:capitalize;color:var(--accent-strong);font-weight:700}.ix-selected-id{color:var(--muted);font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.74rem}.ix-field{color:var(--muted-strong);flex-direction:column;gap:4px;font-size:.78rem;display:flex}.ix-field input{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);padding:6px 8px;font-size:.9rem}.ix-field input:focus{border-color:var(--accent);outline:none}.ix-selected-actions{flex-wrap:wrap;gap:6px;display:flex}.ix-readout{grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 0;display:grid}.ix-readout>div{background:var(--surface-alt);border:1px solid var(--border);border-radius:var(--radius-sm);padding:6px 8px}.ix-readout dt{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0;font-size:.66rem}.ix-readout dd{color:var(--accent-strong);margin:2px 0 0;font-size:.92rem;font-weight:700}.ix-tip-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.ix-tip-list li{color:var(--muted-strong);padding-left:14px;font-size:.82rem;line-height:1.45;position:relative}.ix-tip-list li:before{content:"";background:var(--accent);border-radius:50%;width:5px;height:5px;position:absolute;top:8px;left:0}.ix-tip-list kbd{background:var(--surface-alt);border:1px solid var(--border);color:var(--text);border-radius:4px;padding:1px 5px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.74rem}.ix-welcome-backdrop{z-index:50;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#050505b8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.ix-welcome{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);width:100%;max-width:460px;box-shadow:var(--shadow-card);padding:22px 24px}.ix-welcome h3{color:var(--accent-strong);margin:0 0 12px}.ix-welcome ol{color:var(--muted-strong);flex-direction:column;gap:8px;margin:0 0 16px;padding-left:20px;font-size:.92rem;line-height:1.5;display:flex}.ix-welcome strong{color:var(--text)}.ix-welcome-go{background:var(--accent);color:#050505;border:1px solid var(--accent-strong);border-radius:999px;width:100%;padding:10px 18px;font-weight:700}.ix-welcome-go:hover{filter:none}@media (width<=980px){.ix-layout{grid-template-columns:1fr}.ix-palette{flex-flow:wrap;position:static}.ix-palette-item{flex:calc(33% - 6px)}.ix-palette-hint{flex:100%}.ix-info{position:static}}@media (width<=600px){.ix-palette-item{flex:calc(50% - 6px);padding:8px}.ix-palette-label{font-size:.78rem}.ix-energize{padding:8px 14px;font-size:.86rem}}.auth-modal{border:1px solid var(--border-strong);background:#0c0d0efa;border-radius:18px;width:min(400px,100%);padding:32px 28px 28px;position:relative;box-shadow:0 28px 100px #0000008c,inset 0 1px #ffffff0e}.modal-close{width:32px;height:32px;color:var(--text-muted);cursor:pointer;transition:color .15s var(--ease), background .15s var(--ease);background:0 0;border:none;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;top:12px;right:12px}.modal-close:hover{background:var(--border);color:var(--text)}.auth-modal-title{color:var(--text);margin:0 0 20px;font-size:1.25rem;font-weight:600}.auth-form{gap:14px;display:grid}.auth-field{gap:5px;display:grid}.auth-field span{color:var(--text-muted);font-size:.82rem;font-weight:500}.auth-field input{border:1px solid var(--border);min-height:42px;color:var(--text);font:inherit;transition:border-color .15s var(--ease);background:#ffffff0b;border-radius:12px;padding:0 12px;font-size:.95rem}.auth-field input:focus{border-color:var(--accent);outline:none}.auth-error{border-radius:var(--radius-sm);color:#eb5757;background:#eb57571f;margin:0;padding:8px 12px;font-size:.85rem}.auth-submit{background:var(--accent);color:#050505;min-height:42px;font:inherit;cursor:pointer;transition:opacity .15s var(--ease);border:none;border-radius:999px;margin-top:4px;padding:0 20px;font-size:.95rem;font-weight:600}.auth-submit:hover{background:var(--accent-strong)}.auth-submit:disabled{opacity:.5;cursor:default}.auth-switch{text-align:center;color:var(--text-muted);margin:16px 0 0;font-size:.85rem}.auth-switch-btn{color:var(--accent-strong);font:inherit;cursor:pointer;text-underline-offset:2px;background:0 0;border:none;padding:0;font-size:.85rem;font-weight:600;text-decoration:underline}.auth-switch-btn:hover{opacity:.8}.account-avatar{background:var(--accent);color:#050505;border-radius:50%;place-items:center;width:28px;height:28px;font-size:.75rem;font-weight:700;line-height:1;display:grid}::selection{background:var(--text);color:var(--bg)}body{background:linear-gradient(#ffffff06 1px, transparent 1px), var(--bg);background-size:100% 96px}.site-shell{width:min(1280px,100% - 40px);padding-top:0}.topbar{margin-inline:calc(50% - 50vw);border-style:solid;border-width:0 0 1px;border-color:var(--border);box-shadow:none;-webkit-backdrop-filter:blur(18px);background:#0c0c0cdb;border-radius:0;margin-bottom:42px;padding:16px max(20px,50vw - 620px);top:0}.brand{border-radius:0;min-height:34px;padding:0}.brand:hover{background:0 0}.brand:hover .brand-mark{filter:none}.brand strong{font-family:var(--font-ui);letter-spacing:0;font-weight:500}.brand-mark{color:var(--text)}.topbar-nav{background:0 0;border:0;border-radius:0;gap:18px;padding:0}.topbar-nav-link{min-height:34px;color:var(--muted);border-radius:0;padding:0;font-size:.9rem;font-weight:500}.topbar-nav-link:hover{color:var(--text);background:0 0}.topbar-nav-link.is-active{color:var(--text);box-shadow:inset 0 -1px 0 var(--text);background:0 0;font-weight:500}.topbar-actions{gap:10px}.topbar-account-btn:has(.topbar-sign-in-label){width:auto;min-width:62px;padding-inline:12px}.topbar-sign-in-label{white-space:nowrap}.topbar-icon-button,.topbar-account-btn,.nav-menu-toggle,.search-field{border-color:var(--border);box-shadow:none;background:0 0}.topbar-icon-button:hover,.topbar-account-btn:hover,.nav-menu-toggle:hover,.search-field:hover{border-color:var(--border-strong);background:var(--accent-soft);box-shadow:none;color:var(--text)}.search-field{background:var(--surface);border-radius:999px}.search-field:hover .search-icon{color:var(--text)}.search-field:focus-visible,.nav-menu-toggle[aria-expanded=true]{border-color:var(--border-strong);background:var(--surface-soft);box-shadow:0 0 0 1px var(--border-strong)}.search-hint,kbd{border-color:var(--border);box-shadow:none;background:0 0}.nav-menu,.modal-shell,.auth-modal{border-color:var(--border);box-shadow:none;background:#111111fa;border-radius:0}.nav-menu-item,.modal-close{border-radius:0}.nav-menu-item:hover,.nav-menu-item:focus-visible,.modal-close:hover{background:var(--surface-soft)}.nav-menu-item.is-active{background:var(--text);color:var(--bg)}.page.is-active{gap:24px}.page-header,.learning-header,.tutorials-header,.ix-header{padding-top:8px}.page-header h2,.modal-header h2,.exam-hero-text h2,.exam-title-button{font-family:var(--font-heading);letter-spacing:0;font-weight:400;line-height:.98}.page-header h2{max-width:820px;font-size:clamp(2.5rem,8vw,6.7rem)}.page-copy{max-width:660px;color:var(--muted-strong);font-size:1rem}.tool-heading h3,.sheet-card-head h3,.learning-card h3,.tutorial-card-body h3,.exam-results-card h4,.ix-info-block h3,.auth-modal-title{font-family:var(--font-heading);letter-spacing:0;font-weight:400}.tool-panel,.sheet-card,.learning-card,.tutorial-card,.exam-hero,.exam-question,.exam-review-tools,.exam-results-banner,.exam-results-card,.containment-card,.result-main,.mini-metrics>div,.reference-table-scroll,.search-result,.palette-result,.help-row,.ix-tabs,.ix-3d-wrap,.ix-palette,.ix-canvas,.ix-info-block,.ix-status,.ix-welcome,.auth-modal{border-color:var(--border);background:var(--surface);box-shadow:none;border-radius:0}.tool-panel:before{display:none}.tool-panel:hover,.sheet-card:hover,.learning-card:hover,.tutorial-card:hover,.exam-question:hover,.palette-result:hover,.ix-palette-item:hover{border-color:var(--border-strong)}.sheet-card,.learning-card,.tutorial-card-body,.exam-question,.exam-results-card,.ix-info-block{padding:20px}.tool-panel{padding:28px}.learning-count,.learning-category-pill,.learning-kicker,.tutorial-count,.tutorial-category,.exam-q-badge,.search-result-tag,.exam-results-label,.result-label,.exam-q-number{border-color:var(--border);color:var(--muted-strong);font-family:var(--font-ui);letter-spacing:.04em;background:0 0;font-weight:500}.learning-route-strip span,.learning-fact,.reference-table th,.reference-table td,.exam-stat,.exam-option,.exam-scoring-list li,.breakdown-item,.palette-result,.search-result,.help-row,.history-entry,.ix-palette-item,.ix-readout>div,.formula-content,.exam-explanation{border-color:var(--border);background:var(--surface-alt);box-shadow:none}.reference-table th,.exam-section-title,.exam-results-card h4{color:var(--text);font-weight:500}input:not([type=checkbox]):not([type=radio]),select,.ix-save-input,.ix-save-select,.ix-field input,.auth-field input,.unit-select,.suffix{border-color:var(--border);background:var(--surface-alt);box-shadow:none;border-radius:0}input:focus,select:focus,.auth-field input:focus,.ix-field input:focus{border-color:var(--border-strong);background:var(--surface-soft);box-shadow:0 0 0 1px var(--border-strong)}.ghost-button,.segment,.switch-chip,.preset-button,.sheet-practice-btn,.learning-filter-btn,.exam-review-filter,.exam-jump-btn,.ix-tab,.ix-energize,.ix-welcome-go,.auth-submit,.exam-submit-btn{border-color:var(--border);box-shadow:none;font-weight:500}.ghost-button:hover,.switch-chip:hover,.preset-button:hover,.sheet-practice-btn:hover,.learning-filter-btn:hover,.exam-review-filter:hover,.ix-tab:hover{border-color:var(--border-strong);background:var(--accent-soft);color:var(--text)}.switch-chip.is-active,.segment.active,.learning-filter-btn.is-active,.exam-review-filter.is-active,.palette-result.is-active,.ix-tab.is-active,.ix-palette-item.is-active,.exam-scoring-list li.is-active,.exam-option.is-selected:not(.is-answer):not(.is-wrong){border-color:var(--text);background:var(--text);color:var(--bg)}.palette-result.is-active .palette-result-subtitle,.ix-palette-item.is-active .ix-palette-icon,.ix-palette-item.is-active .ix-palette-label,.exam-option.is-selected:not(.is-answer):not(.is-wrong) .exam-option-letter{color:var(--bg)}.exam-option.is-selected:not(.is-answer):not(.is-wrong) .exam-option-letter{background:var(--bg)}.exam-submit-btn,.ix-energize,.ix-welcome-go,.auth-submit{border-color:var(--text);background:var(--text);color:var(--bg)}.exam-submit-btn:hover:not(:disabled),.ix-energize:hover,.ix-welcome-go:hover,.auth-submit:hover{background:#e5e5e5;border-color:#e5e5e5}.mobile-dot.is-active,.exam-progress-bar,.exam-section-breakdown-fill{background:var(--text);box-shadow:none}.result-main,.exam-explanation{border-left-color:var(--text)}.result-value,.exam-tooltip-subtitle,.exam-results-percent,.history-tool,.search-result-tag,.exam-explanation-label,.ix-selected-kind,.ix-readout dd,.auth-switch-btn{color:var(--text)}.exam-title-button{color:var(--text);font-size:clamp(1.85rem,4.4vw,3.7rem);font-weight:400}.exam-title-button:hover,.exam-title-button:focus-visible{color:var(--text)}.exam-hero{grid-template-columns:minmax(0,1fr);align-items:start;gap:22px}.exam-title-wrap{width:max-content;max-width:100%}.exam-title-button,.exam-title-menu-wrap{width:100%;min-width:0}.exam-title-button{text-overflow:ellipsis;grid-template-columns:minmax(0,1fr) auto;overflow:hidden}.exam-hero-text h2{font-size:clamp(2.1rem,5vw,4.6rem)}.exam-hero-stats{grid-auto-columns:minmax(110px,auto);justify-self:start}.exam-stat strong,.exam-results-score,.result-value{font-family:var(--font-heading);letter-spacing:0;font-weight:400}.exam-footer{box-shadow:none;background:#0c0c0ce6;border-width:1px 0 0;border-radius:0}.ix-canvas-bg{fill:var(--bg)}.ix-terminal,.ix-wire.is-selected,.ix-wire.is-pending,.ix-wire.is-live{stroke:var(--text)}.ix-terminal:hover,.ix-terminal.is-pending,.account-avatar{background:var(--text);color:var(--bg)}.ix-component.is-selected,.ix-component.is-hover,.ix-lamp-bulb.is-on{filter:none}.ix-lamp-bulb.is-on{fill:var(--text)}.ix-tip-bg{fill:var(--surface);stroke:var(--border-strong)}.ix-tip-text{fill:var(--text)}@media (width>=981px){body[data-page=home] .tool-panel{padding:28px}body[data-page=home] .tool-heading{border-bottom-color:var(--border)}}@media (width<=980px){.site-shell{width:min(100% - 20px,1160px)}.topbar{margin-bottom:22px;padding-inline:10px}.page-header h2{font-size:clamp(2rem,10vw,4.4rem)}}@media (width<=720px){body{background:var(--bg)}.site-shell{width:auto}.topbar{margin-inline:0;padding:calc(env(safe-area-inset-top) + 10px) calc(env(safe-area-inset-right) + 12px) 10px calc(env(safe-area-inset-left) + 12px);background:#0c0c0cf5;margin-bottom:0}.page.is-active:not(.page-home){padding:12px 10px calc(max(env(safe-area-inset-bottom) - 30px, 2px) + 16px)}.page-exams.is-active{padding-bottom:calc(max(env(safe-area-inset-bottom) - 30px, 2px) + 48px)}.page-header h2,.modal-header h2,.exam-hero-text h2,.exam-title-button{font-size:1.35rem;line-height:1.08}.exam-title-menu{width:min(100%,100vw - 20px);max-height:320px}.tool-panel,.sheet-card,.learning-card,.tutorial-card-body,.exam-question,.exam-results-card,.ix-info-block{padding:14px}.search-field,.nav-menu-toggle,.topbar .topbar-icon-button{border-radius:0}.mobile-indicator,.exam-footer{background:#0c0c0cf5}}@media (width>=981px){.nav-menu-toggle,.nav-menu-pages{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
