:root{--color-canvas:#fafafa;--color-surface:#fff;--color-card:var(--color-surface);--color-secondary-button:#f7f7f7;--text-eyebrow:.625rem;--color-card-border:#eee;--border-card:1px solid var(--color-card-border);--border-secondary:1px solid var(--color-card-border);--color-surface-subtle:#f1f1f1;--color-header:var(--color-surface-subtle);--color-ink:#202020;--color-text-secondary:#484848;--color-accent:#202020;--color-accent-hover:#383838;--color-accent-active:#000;--color-accent-soft:#ededed;--color-border:#f3f3f3;--color-control-border:#858585;--color-on-accent:#fff;--color-disabled-bg:#e9e9e9;--color-disabled-text:#626262;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:16px;--space-6:20px;--space-8:24px;--space-10:28px;--space-12:32px;--space-16:44px;--font-body:ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-editorial:Georgia, "Times New Roman", serif;--font-code:ui-monospace, SFMono-Regular, Consolas, monospace;--text-page:clamp(1.75rem, 1.5rem + 1vw, 2.25rem);--text-section:clamp(1.125rem, 1rem + .3vw, 1.375rem);--text-component:1.0625rem;--text-body:.875rem;--text-lead:.9375rem;--text-supporting:.8125rem;--text-metadata:.75rem;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--line-heading:1.15;--line-compact:1.4;--line-body:1.5;--tracking-heading:-.04em;--tracking-label:.1em;--radius-sm:6px;--radius-md:8px;--radius-lg:10px;--border-width:1px;--border-subtle:var(--border-width) solid var(--color-border);--border-control:var(--border-width) solid var(--color-control-border);--shadow-button:0 2px 0 #00000024, 0 3px 5px #0000001a;--focus-width:3px;--focus-offset:4px;--focus-ring:var(--focus-width) solid var(--color-accent);--touch-target:44px;--control-height:44px;--nav-item-height:44px;--nav-bottom-height:64px;--nav-sidebar-width:208px;--header-height:52px;--content-max:1120px;--reading-max:68ch;--page-gutter:var(--space-5);--section-gap:var(--space-12);--icon-size:20px;--brand-size:28px;font-family:var(--font-body);font-size:16px;line-height:var(--line-body);color:var(--color-ink);background:var(--color-header);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{font-size:var(--text-body);background:var(--color-canvas);margin:0}button,input,select{font:inherit}input,select,textarea,progress{accent-color:var(--color-accent)}a{color:inherit;text-decoration:none}button,a,select{touch-action:manipulation}button{cursor:pointer}button,input,select{max-width:100%}:focus-visible{outline:var(--focus-ring);outline-offset:var(--focus-offset)}main:focus{outline:none}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--color-ink);line-height:var(--line-heading)}h1{font-size:var(--text-page);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-heading);text-wrap:balance}h2{font-size:var(--text-section);font-weight:var(--weight-semibold);letter-spacing:-.025em}h3{font-size:var(--text-component);font-weight:var(--weight-semibold)}p{color:var(--color-text-secondary)}svg{flex-shrink:0}input::placeholder{color:var(--color-text-secondary);opacity:1}button:disabled,input:disabled,select:disabled{color:var(--color-disabled-text);background:var(--color-disabled-bg);border-color:var(--color-control-border);cursor:not-allowed}::selection{color:var(--color-ink);background:#dedede}.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}.skip-link{top:var(--space-3);left:var(--space-4);z-index:10;padding:var(--space-3) var(--space-5);background:var(--color-surface);border:var(--border-control);border-radius:var(--radius-sm);position:fixed;transform:translateY(-200%)}.skip-link:focus{transform:none}@media (width>=640px){:root{--page-gutter:var(--space-8)}}@media (width>=1000px){:root{--page-gutter:var(--space-12)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.visual-example{margin:var(--space-3) 0 0;min-width:0;scroll-margin-top:var(--space-4)}.visual-example figcaption{margin-bottom:var(--space-2);font-size:var(--text-metadata);color:var(--color-text-secondary)}.visual-example-frame{border:var(--border-subtle);border-radius:var(--radius-sm);background:var(--color-surface-subtle);min-width:0;padding:8px;overflow:hidden}.ve-demo{color:#202020;min-width:0;max-width:100%;font-size:13px;line-height:1.45}.ve-demo p{color:inherit}.ve-demo strong{font-size:14px;line-height:1.3;display:block}.ve-demo small{color:#626262;margin-top:8px;font-size:11px;display:block}.ve-demo .ve-card{background:#fff;border:1px solid #858585;border-radius:6px;padding:16px}.ve-demo .ve-card>p{margin-top:8px}.ve-demo .ve-action{color:#fff;background:#202020;border:1px solid #202020;border-radius:4px;justify-content:center;align-items:center;min-height:36px;padding:8px 12px;font-size:12px;font-weight:600;display:inline-flex}.ve-demo .ve-secondary{color:#fff;background:#202020}.ve-card-interior .ve-card{padding:2px}.ve-card-interior.ve-fixed .ve-card{padding:16px}.ve-demo .ve-siblings{gap:2px;display:grid}.ve-sibling-cards.ve-fixed .ve-siblings{gap:16px}.ve-demo .ve-setting{margin-top:12px}.ve-demo .ve-setting span,.ve-demo .ve-setting b{display:block}.ve-demo .ve-setting b{font-size:13px;font-weight:500}.ve-settings-edges .ve-setting:first-of-type{margin-left:16px}.ve-settings-edges .ve-setting:last-of-type{margin-left:6px}.ve-settings-edges.ve-fixed .ve-setting{margin-left:0}.ve-article-emphasis .ve-article-title,.ve-article-emphasis .ve-article-summary,.ve-article-emphasis .ve-article-date{color:#202020;font-size:13px;font-weight:400;line-height:1.45}.ve-article-emphasis.ve-fixed .ve-article-title{font-size:19px;font-weight:600}.ve-article-emphasis.ve-fixed .ve-article-date{color:#626262;font-size:11px}.ve-demo .ve-aligned-copy{text-align:justify;text-align-last:justify}.ve-paragraph-alignment.ve-fixed .ve-aligned-copy{text-align:start;text-align-last:auto}.ve-status-colors .ve-card>p,.ve-status-colors .ve-card>small{color:#bababa}.ve-status-colors.ve-fixed .ve-card>p,.ve-status-colors.ve-fixed .ve-card>small{color:#515151}.ve-demo .ve-message{justify-content:space-between;align-items:center;gap:12px;min-height:44px;display:flex}.ve-demo .ve-icon-target{border:1px solid #858585;border-radius:4px;flex:none;place-items:center;width:18px;height:18px;display:grid}.ve-demo .ve-icon-target>span{font-size:16px;line-height:1}.ve-icon-area.ve-fixed .ve-icon-target{width:44px;height:44px}.ve-demo .ve-leading-copy{font-size:12px;line-height:1}.ve-paragraph-leading.ve-fixed .ve-leading-copy{line-height:1.6}.ve-demo .ve-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.ve-action-emphasis.ve-fixed .ve-secondary{color:#202020;background:#fff}.ve-demo .ve-form,.ve-demo .ve-field{gap:2px;display:grid}.ve-demo .ve-field-label{font-size:12px;font-weight:600}.ve-demo .ve-input{background:#fff;border:1px solid #858585;border-radius:4px;padding:6px 8px;font-size:12px;display:block}.ve-demo .ve-help{color:#626262;font-size:11px}.ve-field-groups.ve-fixed .ve-form{gap:16px}.ve-field-groups.ve-fixed .ve-field{gap:4px}.ve-demo .ve-phone{background:#fff;border:1px solid #858585;width:100%;max-width:230px;margin-inline:auto;padding:8px;overflow:hidden}.ve-demo .ve-phone-bar{border-bottom:1px solid #dedede;padding-bottom:8px;font-size:11px;font-weight:600}.ve-demo .ve-plan{border:1px solid #858585;border-radius:4px;width:320px;margin-top:8px;padding:12px}.ve-demo .ve-plan>p{margin-top:8px}.ve-demo .ve-plan .ve-action{width:100%;margin-top:8px}.ve-phone-content.ve-fixed .ve-plan{width:100%}.ve-demo .ve-list{background:#fff;border:1px solid #858585;border-radius:6px;padding:12px}.ve-demo .ve-list-row>p{margin-top:4px}.ve-list-intervals .ve-list-row:nth-child(2){margin-top:2px}.ve-list-intervals .ve-list-row:nth-child(3){margin-top:28px}.ve-list-intervals.ve-fixed .ve-list-row+.ve-list-row{margin-top:16px}.workspace{min-width:0}.topbar{min-height:var(--header-height);margin-inline:var(--page-gutter);justify-content:space-between;align-items:center;gap:var(--space-4);border-bottom:var(--border-subtle);display:flex}.brand{align-items:center;gap:var(--space-3);min-height:var(--touch-target);font-size:var(--text-body);font-weight:var(--weight-semibold);letter-spacing:-.025em;display:inline-flex}.brand-mark{width:var(--brand-size);height:var(--brand-size);border-radius:var(--radius-sm);color:var(--color-on-accent);background:var(--color-accent);font-size:var(--text-component);font-weight:var(--weight-semibold);place-items:center;display:grid}.topbar-note,.local-label,.sidebar-brand,.nav-caption,.sidebar-note{display:none}.navigation{bottom:0;background:var(--color-surface);border-top:var(--border-subtle);min-height:calc(var(--nav-bottom-height) + env(safe-area-inset-bottom));padding:var(--space-2) var(--space-2) calc(var(--space-2) + env(safe-area-inset-bottom));z-index:5;position:fixed;inset-inline:0}.navigation nav{gap:var(--space-1);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.navigation nav a{justify-content:center;align-items:center;gap:var(--space-1);min-height:var(--nav-item-height);padding:var(--space-1);border-radius:var(--radius-sm);font-size:var(--text-metadata);line-height:var(--line-compact);color:var(--color-text-secondary);font-weight:var(--weight-medium);flex-direction:column;display:flex}.navigation nav a[aria-current=page]{color:var(--color-accent-active);background:var(--color-accent-soft);font-weight:var(--weight-bold);box-shadow:inset 0 3px var(--color-accent)}.nav-icon{font-size:var(--icon-size);align-items:center;line-height:1;display:flex}main{max-width:var(--content-max);padding:var(--space-10) var(--page-gutter) calc(var(--nav-bottom-height) + var(--space-12) + env(safe-area-inset-bottom));overflow-wrap:anywhere;margin-inline:auto}main a,main button,main input,main select{scroll-margin-block:var(--space-6) calc(var(--nav-bottom-height) + var(--space-6) + env(safe-area-inset-bottom))}.page-heading{margin-bottom:var(--space-8)}.eyebrow,.small-label{font-size:var(--text-metadata);font-weight:var(--weight-semibold);line-height:var(--line-compact);letter-spacing:var(--tracking-label);color:var(--color-text-secondary);text-transform:uppercase}.page-heading .eyebrow{margin-bottom:var(--space-2)}.lead{font-size:var(--text-body);line-height:var(--line-body);max-width:var(--reading-max);margin-top:var(--space-5)}.desktop-break{display:none}.collection-panel{padding:var(--space-6);border:var(--border-subtle);border-radius:var(--radius-md);background:var(--color-accent-soft);gap:var(--space-6);justify-content:space-between;display:flex}.collection-panel h2{margin-block:var(--space-3)}.collection-panel h2 strong{font-weight:inherit}.collection-panel p:not(.eyebrow){font-size:var(--text-supporting)}.collection-art{display:none}.primary-link{gap:var(--space-4);min-height:var(--touch-target);padding:var(--space-3) var(--space-5);border:var(--border-width) solid var(--color-accent);border-radius:var(--radius-sm);background:var(--color-accent);color:var(--color-on-accent);font-size:var(--text-supporting);font-weight:var(--weight-semibold);line-height:var(--line-compact);margin-top:var(--space-6);justify-content:center;align-items:center;display:inline-flex}.search-entry,.search-field{align-items:center;gap:var(--space-3);border:var(--border-control);border-radius:var(--radius-sm);background:var(--color-surface);min-height:var(--control-height);color:var(--color-text-secondary);padding:var(--space-2) var(--space-4);display:flex}.search-entry{margin-top:var(--space-6);font-size:var(--text-body)}.search-entry>span:first-child,.search-field>span{font-size:var(--icon-size);line-height:1}.search-arrow{margin-left:auto}.categories-section{margin-top:var(--section-gap)}.section-heading{justify-content:space-between;align-items:end;gap:var(--space-3);margin-bottom:var(--space-6);flex-wrap:wrap;display:flex}.section-heading .eyebrow{margin-bottom:var(--space-2)}.muted{color:var(--color-text-secondary);font-size:var(--text-metadata)}.category-grid{border-top:var(--border-subtle);grid-template-columns:minmax(0,1fr);display:grid}.category-item{gap:var(--space-4);border-bottom:var(--border-subtle);padding:var(--space-3) var(--space-2);min-width:0;min-height:var(--touch-target);align-items:center;display:flex}.category-item h3{font-size:var(--text-body);line-height:var(--line-compact)}.category-item p{font-size:var(--text-supporting);margin-top:var(--space-1)}.category-arrow{color:var(--color-accent);margin-left:auto}.page-footer{font-size:var(--text-supporting);color:var(--color-text-secondary);padding-top:var(--space-8);margin-top:var(--space-4)}.library-controls{gap:var(--space-4);align-items:center;display:grid}.search-field input{width:100%;min-width:0;color:var(--color-ink);background:0 0;border:0;min-height:28px;font-size:1rem}.search-field:focus-within{outline:var(--focus-ring);outline-offset:var(--focus-offset)}.search-field input:focus-visible{outline:none}.category-select{align-items:center;gap:var(--space-3);font-size:var(--text-supporting);display:flex}.category-select label{white-space:nowrap;font-weight:var(--weight-medium);flex-shrink:0}.category-select select{width:100%;min-width:0;min-height:var(--control-height);padding:var(--space-3);border:var(--border-control);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-ink);font-size:var(--text-body)}.result-count{font-size:var(--text-supporting);margin:var(--space-6) 0 var(--space-4)}.term-list{gap:var(--space-4);display:grid}.term-card{padding:var(--space-4);border:var(--border-subtle);background:var(--color-surface);border-radius:var(--radius-md);flex-direction:column;display:flex}.term-card-top{justify-content:space-between;align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.difficulty{font-size:var(--text-metadata);line-height:var(--line-compact);color:var(--color-accent-active);background:var(--color-accent-soft);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);text-transform:capitalize}.term-card h2{font-size:var(--text-section);margin:var(--space-6) 0 var(--space-3);justify-content:space-between;display:flex}.term-card h2 span{font-size:var(--text-component);color:var(--color-accent)}.term-card p{font-size:var(--text-body)}.term-action{align-items:center;gap:var(--space-3);font-size:var(--text-supporting);font-weight:var(--weight-medium);color:var(--color-accent);padding-top:var(--space-6);margin-top:auto;display:flex}.term-detail{max-width:var(--reading-max)}.text-link{min-height:var(--touch-target);color:var(--color-accent);text-underline-offset:var(--space-1);align-items:center;text-decoration:underline;display:inline-flex}.back-link{margin-bottom:var(--space-6);font-size:var(--text-supporting)}.term-detail>.eyebrow{margin-bottom:var(--space-3)}.explanation{margin-top:var(--space-8);padding:var(--space-6);background:var(--color-accent-soft);border-left:var(--focus-width) solid var(--color-accent);border-radius:0 var(--radius-sm) var(--radius-sm) 0}.explanation h2,.knowledge-section h2{font-size:var(--text-component);margin-bottom:var(--space-4)}.knowledge-section{padding-top:var(--space-8);margin-top:var(--space-8);border-top:var(--border-subtle)}.knowledge-section ul{padding-left:var(--space-6);color:var(--color-text-secondary);margin:0}.knowledge-section li+li{margin-top:var(--space-3)}pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:var(--space-5);background:var(--color-surface-subtle);border:var(--border-subtle);border-radius:var(--radius-sm);font-family:var(--font-code);font-size:var(--text-supporting);line-height:var(--line-body);color:var(--color-ink)}code{font-family:var(--font-code)}.chips{gap:var(--space-2);flex-wrap:wrap;display:flex}.chips a,.chips>span{align-items:center;gap:var(--space-1);border:var(--border-subtle);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);font-size:var(--text-supporting);flex-wrap:wrap;display:inline-flex}.chips a{color:var(--color-accent);background:var(--color-accent-soft);min-height:var(--touch-target);text-underline-offset:var(--space-1);text-decoration:underline}.chips small{font-size:var(--text-metadata);color:var(--color-text-secondary)}.upcoming{max-width:var(--reading-max);padding-block:var(--space-6)}.upcoming-symbol{color:var(--color-accent);font-size:var(--space-16);margin:var(--space-8) 0 var(--space-3);display:block}.status-label{font-size:var(--text-metadata);border:var(--border-subtle);padding:var(--space-1) var(--space-3);border-radius:var(--radius-sm);margin-bottom:var(--space-5);color:var(--color-text-secondary);background:var(--color-surface);display:inline-block}.empty-state{padding:var(--space-8) var(--space-6);border:var(--border-subtle);border-radius:var(--radius-md);background:var(--color-surface)}.empty-state p{margin-top:var(--space-3)}@media (hover:hover){.primary-link:not(:disabled):hover{background:var(--color-accent-hover);border-color:var(--color-accent-hover)}.navigation nav a:hover,.category-item:hover{background:var(--color-accent-soft);color:var(--color-accent-active)}.category-item:hover h3,.term-card:hover h2{color:var(--color-accent)}.term-card:hover,.search-entry:hover,.chips a:hover{border-color:var(--color-accent);background:var(--color-accent-soft)}.text-link:hover{color:var(--color-accent-active)}}.primary-link:not(:disabled):active{background:var(--color-accent-active);border-color:var(--color-accent-active)}.navigation nav a:active,.category-item:active,.term-card:active,.search-entry:active,.chips a:active{background:var(--color-surface-subtle);color:var(--color-accent-active)}.primary-link:disabled{background:var(--color-disabled-bg);color:var(--color-disabled-text);border-color:var(--color-control-border)}@media (width>=640px){.category-grid{column-gap:var(--space-8);grid-template-columns:repeat(2,minmax(0,1fr))}.term-list{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-panel{padding:var(--space-5)}.collection-art{border-left:var(--border-subtle);padding-left:var(--space-8);color:var(--color-accent);flex-direction:column;flex:0 0 28%;justify-content:center;align-items:center;display:flex}.collection-art>span{font-family:var(--font-editorial);font-size:var(--space-16);line-height:var(--line-heading);letter-spacing:var(--tracking-heading)}.collection-art small{text-align:center;max-width:16ch;font-size:var(--text-metadata);line-height:var(--line-compact);letter-spacing:var(--tracking-label);margin-top:var(--space-3)}.library-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.desktop-break{display:initial}.local-label{font-size:var(--text-metadata);color:var(--color-text-secondary);display:block}.local-label span{color:var(--color-accent);margin-right:var(--space-1)}.lead{font-size:var(--text-lead)}}@media (width>=1000px){.navigation{width:var(--nav-sidebar-width);border-top:0;border-right:var(--border-subtle);padding:var(--space-8) var(--space-4);flex-direction:column;display:flex;top:0;right:auto;overflow-y:auto}.sidebar-brand{white-space:nowrap;display:flex}.nav-caption{font-size:var(--text-metadata);line-height:var(--line-compact);letter-spacing:var(--tracking-label);margin:var(--space-12) var(--space-3) var(--space-4);display:block}.navigation nav{gap:var(--space-2);flex-direction:column;display:flex}.navigation nav a{justify-content:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);font-size:var(--text-supporting);min-height:var(--touch-target);flex-direction:row}.navigation nav a[aria-current=page]{box-shadow:inset 3px 0 var(--color-accent)}.nav-icon{width:var(--icon-size);justify-content:center}.sidebar-note{margin:auto var(--space-3) 0;padding-top:var(--space-10);display:block}.sidebar-note p{font-family:var(--font-editorial);font-size:var(--text-component);color:var(--color-ink);line-height:var(--line-compact);margin:var(--space-3) 0 var(--space-6)}.sidebar-note small{font-size:var(--text-metadata);color:var(--color-text-secondary)}.workspace{margin-left:var(--nav-sidebar-width)}.topbar>.brand{display:none}.topbar-note{font-size:var(--text-metadata);color:var(--color-text-secondary);display:block}main{padding-block:var(--space-12) var(--space-16)}main a,main button,main input,main select{scroll-margin-block:var(--space-6)}.page-heading{margin-bottom:var(--space-10)}}.navigation nav a>span:last-child{white-space:nowrap}.favorite-button,.favorites-filter,.reset-filters{min-height:var(--touch-target);justify-content:center;align-items:center;gap:var(--space-2);border:var(--border-control);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);background:var(--color-surface);color:var(--color-text-secondary);font-size:var(--text-supporting);font-weight:var(--weight-medium);display:inline-flex}.favorite-button{min-width:var(--touch-target);padding:var(--space-2);flex-shrink:0}.favorite-button[aria-pressed=true],.favorites-filter[aria-pressed=true]{background:var(--color-accent-soft);border-color:var(--color-accent);color:var(--color-accent-active);font-weight:var(--weight-bold)}.library-filter-row{gap:var(--space-3);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.reset-filters{text-underline-offset:var(--space-1);background:0 0;border-color:#0000;text-decoration:underline}.term-title-link{justify-content:space-between;gap:var(--space-3);width:100%;min-height:var(--touch-target);align-items:center;display:flex}.term-card h2{margin-top:var(--space-3)}.term-card-footer{justify-content:space-between;align-items:center;gap:var(--space-3);padding-top:var(--space-5);flex-wrap:wrap;margin-top:auto;display:flex}.term-card-footer .term-action{min-height:var(--touch-target);margin:0;padding:0}.term-detail-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.term-detail-heading h1{min-width:0}@media (hover:hover){.favorite-button:hover,.favorites-filter:hover,.reset-filters:hover{background:var(--color-accent-soft);color:var(--color-accent-active)}.term-title-link:hover,.term-action:hover{text-underline-offset:var(--space-1);text-decoration:underline}article.term-card:hover{background:var(--color-surface);border-color:var(--color-border)}}article.term-card:active{background:var(--color-surface);color:var(--color-ink)}.favorite-button:active,.favorites-filter:active,.reset-filters:active{background:var(--color-surface-subtle)}.storage-notice{padding:var(--space-4);margin-bottom:var(--space-6);border:var(--border-control);border-radius:var(--radius-sm);background:var(--color-surface-subtle)}.personal-notes textarea{resize:vertical;width:100%;min-height:10rem;margin-top:var(--space-4);padding:var(--space-3);font:inherit;color:var(--color-ink);background:var(--color-surface);border:var(--border-control);border-radius:var(--radius-sm);display:block}.personal-notes [role=status]{margin-top:var(--space-3);font-size:var(--text-supporting)}.favorite-button:disabled{cursor:not-allowed;color:var(--color-disabled-text);background:var(--color-disabled-bg)}.app-shell{min-height:100svh;padding-top:env(safe-area-inset-top,0px);background:var(--color-header)}.workspace{min-height:calc(100vh - env(safe-area-inset-top,0px));min-height:calc(100svh - env(safe-area-inset-top,0px));background:var(--color-canvas)}.topbar,main{padding-left:max(var(--page-gutter), env(safe-area-inset-left));padding-right:max(var(--page-gutter), env(safe-area-inset-right))}@media (width<=999px){.navigation{padding-left:max(var(--space-2), env(safe-area-inset-left));padding-right:max(var(--space-2), env(safe-area-inset-right))}}.practice-start>p{margin-top:var(--space-4)}.practice-group-description{margin-top:var(--space-2);color:var(--color-text-secondary);font-size:var(--text-supporting)}.practice-modes{margin-top:var(--space-4);gap:var(--space-4);display:grid}.practice-mode{padding-block:var(--space-4);border-top:var(--border-subtle)}.practice-mode h4{font-size:var(--text-body)}.practice-mode p{margin-top:var(--space-3);color:var(--color-text-secondary)}.practice-mode .practice-empty{color:var(--color-ink)}.practice-category-grid{gap:var(--space-3);margin-block:var(--space-6);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.practice-category-grid button{min-width:0;min-height:var(--touch-target);text-align:left;padding:var(--space-4);border:var(--border-control);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-ink)}.practice-category-grid strong,.practice-category-grid span{overflow-wrap:anywhere;display:block}.practice-category-grid span{margin-top:var(--space-2);font-size:var(--text-supporting);color:var(--color-text-secondary)}.practice-category-name{font-weight:var(--weight-semibold)}@media (width>=48rem){.practice-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.practice-progress p{font-size:var(--text-supporting);margin-bottom:var(--space-2)}.practice-progress progress{width:100%;height:var(--space-2);accent-color:var(--color-accent);display:block}.practice-answer>p+p{margin-top:var(--space-4)}.practice-example{margin-top:var(--space-6);padding:var(--space-4);background:var(--color-accent-soft);border-left:var(--focus-width) solid var(--color-accent)}.practice-example h3{font-size:var(--text-supporting);margin-bottom:var(--space-2)}.practice-ratings{min-width:0;margin-top:var(--space-8);border:0;padding:0}.practice-ratings legend{font-weight:var(--weight-semibold);margin-bottom:var(--space-4)}.practice-rating-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.practice-rating-grid button{min-width:0;min-height:var(--touch-target);text-align:left;padding:var(--space-4);border:var(--border-control);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-ink)}.practice-rating-grid strong,.practice-rating-grid span{display:block}.practice-rating-grid span{margin-top:var(--space-2);font-size:var(--text-supporting);color:var(--color-text-secondary)}.practice-interval{margin-top:var(--space-1);font-size:var(--text-supporting);color:var(--color-text-secondary);display:block}.practice-rating-grid button:disabled{background:var(--color-disabled-bg);color:var(--color-disabled-text);cursor:not-allowed}.practice-rating-grid button:not(:disabled):active{background:var(--color-accent-soft)}.practice-summary{gap:var(--space-4);margin-top:var(--space-6);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.practice-summary div{gap:var(--space-3);border-bottom:var(--border-subtle);padding-bottom:var(--space-3);justify-content:space-between;display:flex}.practice-summary dd{font-weight:var(--weight-semibold);margin:0}@media (hover:hover){.practice-rating-grid button:not(:disabled):hover{border-color:var(--color-accent);background:var(--color-accent-soft)}}.compact-heading{margin-bottom:var(--space-4)}.compact-heading h1{font-size:var(--text-section)}.back-link{width:fit-content;margin-bottom:var(--space-2);display:flex}.back-button{font:inherit;background:0 0;border:0;padding:0}.back-button:disabled{background:0 0}.topbar{margin-inline:0}.lead{margin-top:var(--space-3)}.collection-panel{background:var(--color-surface)}.difficulty{color:var(--color-text-secondary);background:var(--color-surface-subtle)}.explanation{background:var(--color-surface-subtle)}.page-heading h1 span{color:var(--color-ink)}.term-card-footer{padding-top:var(--space-2)}.practice-mode h4{margin-block:0}@media (width>=1000px){.compact-heading{margin-bottom:var(--space-4)}}.library-heading{min-height:44px;margin-bottom:var(--space-3);grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;display:grid;position:relative}.library-heading h1{text-align:center;font-size:var(--text-component)}.library-back{min-height:44px;color:var(--color-accent);justify-content:flex-start;align-items:center;display:inline-flex}.library-controls{gap:var(--space-2);grid-template-columns:minmax(0,1fr) minmax(0,.8fr) 36px}.library-controls .search-field{min-height:36px;padding:0 var(--space-2);gap:var(--space-1)}.library-controls .search-field input{min-height:34px;font-size:var(--text-supporting);padding:0}.library-controls .category-select select{min-height:36px;padding:var(--space-1);font-size:var(--text-supporting)}.library-controls .favorites-filter{min-width:36px;min-height:36px;padding:0}.library-filter-row{margin-top:var(--space-1)}.result-count{margin-block:var(--space-3) var(--space-2)}.term-list{gap:var(--space-3)}.term-card .favorite-button{min-width:32px;min-height:32px;padding:var(--space-1);background:0 0;border-color:#0000}.term-card .favorite-button svg{width:16px;height:16px}.term-card .favorite-button[aria-pressed=true]{color:var(--color-accent)}.term-card h2{margin:0 0 var(--space-1)}.term-card-footer{padding-top:var(--space-1);gap:var(--space-2)}.term-card-footer .term-action{justify-content:center;min-width:32px;min-height:32px}@media (hover:hover){.library-back:hover{color:var(--color-accent-active)}}.term-card{padding-bottom:var(--space-3);position:relative}.term-title-link:after{content:"";border-radius:var(--radius-md);position:absolute;inset:0}.term-card .favorite-button{z-index:1;position:relative}.term-title-link:focus-visible{outline:none}.term-card:has(.term-title-link:focus-visible){outline:var(--focus-ring);outline-offset:var(--focus-offset)}@media (hover:hover){article.term-card:has(.term-title-link:hover){border-color:var(--color-accent);background:var(--color-surface-subtle)}}.library-main{padding-top:0}.library-heading{margin-inline:calc(-1 * max(var(--page-gutter), env(safe-area-inset-left))) calc(-1 * max(var(--page-gutter), env(safe-area-inset-right)));padding:var(--space-2) max(var(--page-gutter), env(safe-area-inset-left)) var(--space-2) max(var(--page-gutter), env(safe-area-inset-right));background:var(--color-surface);border-bottom:var(--border-subtle);min-height:60px;margin-bottom:var(--space-4)}.library-back{justify-content:center;width:44px;height:44px;position:relative}.library-back:before{content:"";background:var(--color-surface-subtle);border:var(--border-subtle);border-radius:50%;width:32px;height:32px;position:absolute}.library-back svg{width:16px;height:16px;position:relative}@media (hover:hover){.library-back:hover:before{background:var(--color-accent-soft);border-color:var(--color-accent)}}.term-card-top .eyebrow{font-size:11px}.term-card-top{min-height:16px;margin-bottom:4px;padding-right:32px;position:relative}.library-controls{margin-bottom:var(--space-3)}.library-controls .category-select{position:relative}.library-controls .category-select select{appearance:none;padding-right:28px}.category-chevron{pointer-events:none;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.library-back:before{background:var(--color-surface)}@media (hover:hover){.library-back:hover:before{background:var(--color-surface)}}.term-card .term-title-link{min-height:0}.library-controls .search-field{gap:8px;padding-inline:8px}.library-controls .search-field input{padding:0}.search-icon{flex-shrink:0}.library-controls .category-select select{padding-left:8px}.term-card-top{justify-content:flex-end;gap:16px;min-height:32px;padding-right:0;display:flex}.term-card-top .eyebrow{text-align:right}.term-card-top .favorite-button{position:relative;top:auto;right:auto}.term-card-top{flex-wrap:nowrap;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:8px;display:grid}.term-card-top h2{min-width:0;margin:0}.term-card-top .eyebrow{max-width:15ch}.library-heading{min-height:56px;padding-block:6px}.home-header-title{text-align:center;font-size:var(--text-component);font-weight:var(--weight-semibold);line-height:var(--line-heading);grid-column:2}.home-heading{justify-content:flex-start;min-height:57px;display:flex}.home-header-brand{font-size:var(--text-component)}.term-card h2{font-size:calc(var(--text-section) - 2px)}button.library-back{background:0 0;border:0;padding:0}button.library-back:disabled{opacity:.6;background:0 0}.practice{max-width:none}.practice-start>h2{font-size:calc(var(--text-section) - 2px)}.practice-start>p{margin-top:var(--space-2);font-size:var(--text-supporting)}.practice-mode-group{margin-top:var(--space-4)}.practice-mode-group>h3{font-size:var(--text-body)}.practice-modes{gap:var(--space-3);margin-top:var(--space-2)}.practice-mode{padding:var(--space-3) var(--space-4);border:var(--border-subtle);border-radius:var(--radius-md);background:var(--color-surface);flex-direction:column;align-items:flex-start;display:flex}.practice-mode h4{font-size:calc(var(--text-section) - 2px);font-weight:var(--weight-semibold)}.practice-mode p{margin-top:var(--space-1);font-size:var(--text-body)}.practice-mode-action{min-height:36px;padding:var(--space-1) var(--space-3);border:var(--border-secondary);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-accent);font-size:var(--text-supporting);font-weight:var(--weight-semibold)}.practice-mode button{margin-top:var(--space-2)}.practice-summary{margin-top:var(--space-3);gap:var(--space-3);font-size:var(--text-supporting)}.practice-category-grid{margin-block:var(--space-3);gap:var(--space-3)}.practice-category-grid button{padding:var(--space-3);border:var(--border-subtle);border-radius:var(--radius-md)}.practice-progress{margin-bottom:var(--space-3)}.practice-content{padding-block:var(--space-4)}.practice-term{font-size:var(--text-section);margin-block:var(--space-2)}.practice-content>.eyebrow{font-size:11px}.practice-content .primary-link{min-height:36px;margin-top:var(--space-3);padding-block:var(--space-2)}.practice-example{margin-top:var(--space-3);padding:var(--space-3);background:var(--color-surface-subtle)}.practice-ratings{margin-top:var(--space-4)}.practice-ratings legend{font-size:var(--text-body);margin-bottom:var(--space-2)}.practice-rating-grid{gap:var(--space-2)}.practice-rating-grid button{padding:var(--space-3);border:var(--border-subtle)}@media (hover:hover){.practice-mode-action:not(:disabled):hover,.practice-category-grid button:hover{color:var(--color-accent-active);background:var(--color-accent-soft);border-color:var(--color-accent)}}.practice-mode-action:not(:disabled):active{background:var(--color-surface-subtle)}.practice{font-size:.8125rem}.practice .library-heading h1{font-size:var(--text-component)}.practice-start>h2,.practice-mode h4{font-size:.875rem}.practice-start>p,.practice-group-description,.practice-summary,.practice-progress p{font-size:.75rem}.practice-mode-group>h3,.practice-mode p,.practice-ratings legend{font-size:.8125rem}.practice-mode-action,.practice-category-grid span,.practice-rating-grid span,.practice-interval{font-size:.75rem}.practice-category-grid strong,.practice-rating-grid strong{font-size:.8125rem}.practice-review-group .practice-modes{grid-template-columns:repeat(2,minmax(0,1fr))}.practice-review-group .practice-mode{min-width:0;padding:var(--space-2) var(--space-3)}.practice-review-group .practice-mode button{margin-top:auto}.practice-review-group .practice-mode p:last-of-type{margin-bottom:var(--space-2)}.practice-term{font-size:var(--text-page);overflow-wrap:anywhere}.practice-answer h3{font-size:.875rem}.practice-content .primary-link{font-size:.75rem}.practice-count-chip{border:var(--border-subtle);background:var(--color-surface-subtle);min-width:22px;color:var(--color-text-secondary);font-size:11px;font-weight:var(--weight-semibold);border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:1px 6px;line-height:1.5;display:inline-flex}.practice-mode-action.practice-caught-up:disabled{color:var(--color-text-secondary);cursor:default;background:0 0;border-color:#0000;align-items:center;gap:6px;padding-inline:0;display:inline-flex}.practice-caught-up svg{color:var(--color-accent)}.practice-divider{border:0;border-top:var(--border-subtle);margin:var(--space-4) 0}.home-page .eyebrow{font-size:10px}.challenge-start,.challenge-body{background:0 0;border:0;padding:0}.challenge-start>p{margin-top:var(--space-3)}.challenge-start .primary-link,.challenge-body>.primary-link{margin-top:var(--space-4);min-height:var(--touch-target)}.challenge-body>h2{font-size:var(--text-section);line-height:var(--line-compact)}.challenge-options{gap:var(--space-2);margin-top:var(--space-4);display:grid}.challenge-option{justify-content:space-between;align-items:center;gap:var(--space-3);min-width:0;min-height:48px;padding:var(--space-3);border:var(--border-control);border-radius:var(--radius-sm);background:var(--color-surface);color:var(--color-ink);text-align:left;display:flex}.challenge-option small{font-size:var(--text-metadata)}.challenge-option[aria-pressed=true]{border-color:var(--color-accent);background:var(--color-accent-soft)}.challenge-option[aria-disabled=true]{cursor:default}.challenge-feedback{margin-top:var(--space-4);padding:var(--space-3);background:var(--color-surface-subtle);border-radius:var(--radius-sm)}.challenge-feedback h3{font-size:var(--text-body)}.challenge-feedback p{margin-top:var(--space-2)}.challenge-actions{align-items:center;gap:var(--space-4);flex-wrap:wrap;display:flex}.challenge-actions .reset-filters{min-height:var(--touch-target);margin-top:var(--space-4)}@media (hover:hover){.challenge-option:not([aria-disabled=true]):hover{background:var(--color-accent-soft);border-color:var(--color-accent)}}.challenge-option:not([aria-disabled=true]):active{background:var(--color-accent-soft)}.challenge-modes{margin-top:var(--space-4)}.challenge-mode+.challenge-mode{margin-top:var(--space-3);padding-top:var(--space-3);border-top:var(--border-subtle)}.challenge-mode{gap:var(--space-2) var(--space-3);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}.challenge-mode>h4{font-size:var(--text-body);grid-column:1;margin:0}.challenge-mode>p{grid-column:1/-1;margin:0}.challenge-mode .challenge-type-start{grid-area:1/2;margin:0}.challenge-instructions .challenge-option{align-items:stretch;gap:var(--space-1);line-height:var(--line-body);flex-direction:column}.challenge-option-label{font-size:var(--text-metadata);font-weight:var(--weight-semibold);color:var(--color-text-secondary)}.challenge-instructions .challenge-option small{font-weight:var(--weight-semibold)}.challenge-session-size{font-size:var(--text-metadata);color:var(--color-text-secondary);display:inline}.challenge-compare{margin-top:var(--space-4);margin-right:var(--space-3);min-height:var(--touch-target);padding:var(--space-2) var(--space-4);color:var(--color-accent);background:var(--color-surface);border:var(--border-control);border-radius:var(--radius-sm);justify-content:center;align-items:center;display:inline-flex}.challenge-compare[aria-pressed=true]{background:var(--color-accent-soft)}@media (hover:hover){.challenge-compare:hover{background:var(--color-accent-soft)}}.challenge-types-heading{margin-top:var(--space-5);font-size:var(--text-body)}.challenge-coverage{gap:var(--space-3) var(--space-6);margin:var(--space-4) 0 0;flex-wrap:wrap;display:flex}.challenge-coverage>div{align-items:baseline;gap:var(--space-2);display:flex}.challenge-coverage dt{color:var(--color-text-secondary)}.challenge-coverage dd{font-weight:var(--weight-semibold);margin:0}.challenge-type-start{min-height:var(--touch-target);padding:var(--space-2) var(--space-3);border:var(--border-control);border-radius:var(--radius-sm);color:var(--color-accent);background:var(--color-surface)}.challenge-save-status{margin-top:var(--space-2);font-size:var(--text-supporting)}.challenge-save-status:empty{display:none}.challenge-start .storage-notice .reset-filters{min-height:var(--touch-target)}@media (hover:hover){.challenge-type-start:not(:disabled):hover{background:var(--color-accent-soft)}}.backup-entry{padding-block:var(--space-3);min-height:var(--touch-target);margin-top:var(--space-8);display:inline-block}.backup-content{max-width:var(--reading-max);margin:var(--space-6) auto;padding:var(--space-5);gap:var(--space-5);overflow-wrap:anywhere;display:grid}.backup-content .primary-link{justify-self:start}.backup-restore{gap:var(--space-4);min-width:0;padding-top:var(--space-5);border-top:var(--border-subtle);display:grid}.backup-restore input{width:100%;min-width:0}.backup-filename{overflow-wrap:anywhere}.backup-preview{gap:var(--space-3);min-width:0;display:grid}.backup-metrics{gap:var(--space-2);margin:0;display:grid}.backup-metrics>div{justify-content:space-between;gap:var(--space-3);display:flex}.backup-metrics dd{font-weight:var(--weight-semibold);margin:0}.backup-actions{align-items:center;gap:var(--space-3);flex-wrap:wrap;display:flex}.backup-actions .primary-link{margin-top:0}.primary-link,.practice-mode-action,.secondary-button,.practice-category-grid button,.challenge-option,.challenge-compare,.challenge-type-start,.favorite-button,.favorites-filter{box-shadow:var(--shadow-button)}button:disabled,.practice-caught-up:disabled,.term-card .favorite-button{box-shadow:none}.secondary-button{background:var(--color-surface);color:var(--color-ink)}.practice-mode-heading{align-items:baseline;gap:var(--space-2);min-width:0;display:flex}.practice-mode-heading h4{order:-1;margin:0}.practice-favorite-count{color:var(--color-text-secondary);font-size:var(--text-metadata);flex-shrink:0;margin-left:auto}.category-item h3{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.term-detail{font-size:var(--text-body)}.term-detail .lead{font-size:var(--text-body);line-height:1.65}.term-detail .back-link{margin-bottom:var(--space-3)}.practice-content>.text-link{margin-top:var(--space-3)}.practice-rating-grid .secondary-button:last-child{grid-column:1/-1}.category-item>div{flex:1;min-width:0}.term-card-top{position:static}.term-card .favorite-button{min-width:var(--touch-target);min-height:var(--touch-target);position:relative;top:auto;right:auto}.term-card-top{grid-template-columns:minmax(0, 1fr) minmax(0, .7fr) var(--touch-target);align-items:center;padding-right:0}.term-card h2{padding-right:0}@media (hover:hover){article.term-card:has(.term-title-link:hover){border-color:var(--color-border);background:var(--color-surface-subtle)}}.practice-rating-grid{gap:var(--space-2);flex-wrap:wrap;display:flex}.practice-rating-grid .secondary-button{min-height:var(--touch-target);padding:var(--space-2) var(--space-4);text-align:center;font-size:var(--text-body);font-weight:var(--weight-medium);flex:0 auto}.practice-rating-grid .secondary-button .sr-only{margin:0}@media (width<=999px){:root{--nav-bottom-height:80px}.navigation{background:var(--color-surface-subtle);padding:var(--space-3) var(--space-2) calc(var(--space-3) + env(safe-area-inset-bottom));border-top:0}.navigation nav{gap:0}.navigation nav a{gap:var(--space-1);border-radius:var(--radius-md);min-height:56px;font-size:var(--text-metadata);padding:0}.navigation nav a[aria-current=page]{box-shadow:none;font-weight:var(--weight-semibold);background:0 0}.nav-icon{border-radius:999px;justify-content:center;width:64px;height:32px}.navigation nav a[aria-current=page] .nav-icon{color:var(--color-accent-active);background:#dedede}.navigation nav a:active .nav-icon{background:#dedede}@media (hover:hover){.navigation nav a:hover{background:0 0}.navigation nav a:hover .nav-icon{background:#e5e5e5}}}.term-card,.empty-state,.practice-mode,.practice-category-grid button{border:var(--border-card);background:var(--color-surface)}.practice-mode-action,.practice-rating-grid .secondary-button,.challenge-type-start,.challenge-compare{border:var(--border-secondary)}.challenge-option{border:var(--border-card)}@media (hover:hover){article.term-card:has(.term-title-link:hover){border-color:var(--color-card-border)}.practice-mode-action:not(:disabled):hover,.practice-rating-grid button:not(:disabled):hover,.challenge-type-start:not(:disabled):hover,.challenge-compare:hover{border-color:var(--color-border);background:var(--color-accent-soft)}}.term-detail,.practice-content{font-size:var(--text-body);line-height:1.65}.term-detail-heading h1,.practice-term{font-size:var(--text-page);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-heading);line-height:var(--line-heading)}.practice-answer .lead,.practice-answer h3{font-size:var(--text-body)}.challenges{font-size:var(--text-supporting)}.challenge-content{max-width:var(--reading-max);margin-inline:0}.challenge-start>h2,.challenge-body>h2,.challenge-types-heading,.challenge-mode>h4{font-size:var(--text-body);line-height:var(--line-body)}.challenge-start>p,.challenge-coverage,.challenge-mode>p,.challenge-body .practice-progress p{font-size:var(--text-metadata)}.challenge-option,.challenge-feedback p{font-size:var(--text-body);line-height:var(--line-body)}.challenge-type-start{font-size:var(--text-metadata)}.challenge-feedback{padding:var(--space-4) 0 0;background:0 0;border-radius:0}.library-heading,.topbar{background:var(--color-header)}.library-heading h1,.practice .library-heading h1{font-size:var(--text-component);font-weight:var(--weight-semibold)}.search-entry,.search-field,.category-select select,.library-controls .favorites-filter{border:var(--border-secondary)}@media (hover:hover){.search-entry:hover{border-color:var(--color-border)}}.term-card-top .eyebrow{text-align:right;max-width:none;line-height:var(--line-compact);margin:0}.challenge-start>h2,.challenge-mode>h4{font-size:var(--text-body);font-weight:var(--weight-semibold);letter-spacing:normal;line-height:var(--line-body)}.challenge-modes{gap:var(--space-3);display:grid}.challenge-mode{padding:var(--space-3) var(--space-4);border:var(--border-card);border-radius:var(--radius-md);background:var(--color-surface)}.challenge-mode+.challenge-mode{padding-top:var(--space-3);border-top:var(--border-card);margin-top:0}.challenge-mode>p{font-size:var(--text-supporting)}.challenge-mode .practice-mode-action{min-height:36px;padding:var(--space-1) var(--space-3);font-size:var(--text-metadata);font-weight:var(--weight-semibold)}.primary-link.primary-link-compact{padding:var(--space-2) var(--space-5);min-height:36px;font-size:var(--text-metadata)}.library-back:before{background:var(--color-surface-subtle);border-color:var(--color-surface-subtle)}@media (hover:hover){.library-back:hover:before{background:var(--color-accent-soft);border-color:var(--color-border)}}.library-back:active:before{background:var(--color-accent-soft)}.library-heading h1,.practice .library-heading h1,.home-header-brand{letter-spacing:normal}.challenge-types-heading{border-top:var(--border-subtle);padding-top:var(--space-4);margin-top:var(--space-4);font-size:var(--text-metadata);font-weight:var(--weight-medium);letter-spacing:var(--tracking-label);text-transform:uppercase;color:var(--color-text-secondary);font-size:.6875rem}.search-entry{padding-inline:var(--space-2);gap:var(--space-2);font-size:var(--text-supporting)}.search-entry>span:first-child{font-size:inherit;line-height:var(--line-body)}.search-entry .search-icon{margin-left:auto}.term-explanation-action{border-top:var(--border-subtle);margin-top:var(--space-6);padding-top:var(--space-3)}.challenge-start>h2+p{margin-top:var(--space-1)}.challenge-mode{row-gap:var(--space-1);align-items:start}.challenge-mode>h4{align-self:center}.challenge-mode .challenge-type-start{grid-row:1/span 2;align-self:start}.challenge-mode>h4+p{padding-right:0}.challenge-mode>p{grid-column:1}.practice-answer,.term-detail{font-size:1rem;line-height:1.7}.practice-answer .lead,.term-detail .lead{font-size:1.125rem;line-height:1.65}.practice-term-details{margin-top:var(--space-5);border-block:var(--border-subtle)}.practice-term-details summary{justify-content:space-between;align-items:center;gap:var(--space-3);padding-block:var(--space-3);min-height:var(--touch-target);cursor:pointer;color:var(--color-ink);font-size:var(--text-body);font-weight:var(--weight-semibold);list-style:none;display:flex}.practice-term-details-content{gap:var(--space-5);padding-bottom:var(--space-3);display:grid}.practice-term-details-content h3{margin-bottom:var(--space-2)}.practice-term-details-content ul{padding-left:var(--space-6);color:var(--color-text-secondary);margin:0}.practice-term-details-content li+li{margin-top:var(--space-2)}.practice-term-details summary::-webkit-details-marker{display:none}.practice-term-details[open] .practice-details-chevron{transform:rotate(180deg)}.term-detail>.lead,.term-detail .explanation p,.term-detail .knowledge-section ul,.practice-answer p,.practice-term-details-content ul{color:var(--color-ink)}.app-shell:before{content:"";height:env(safe-area-inset-top,0px);background:var(--color-header);pointer-events:none;z-index:10;position:fixed;inset:0 0 auto}.term-detail .lead,.practice-answer .lead{font-size:1rem}.term-explanation-copy p+p,.practice-answer>.term-explanation-copy{margin-top:var(--space-4)}.personal-notes #notes-help{font-size:var(--text-metadata);line-height:1.5}.practice-term-details-content{padding-top:var(--space-5);gap:var(--space-6)}.practice-explanation-action{padding-bottom:var(--space-3);border-bottom:var(--border-subtle)}.challenge-related{margin-top:var(--space-4)}.challenge-related>p{font-size:var(--text-supporting);margin-bottom:var(--space-2)}.challenge-body .challenge-feedback p{color:var(--color-ink);font-size:1rem;line-height:1.65}.primary-link,.primary-link.primary-link-compact,.practice-content .primary-link{min-height:var(--control-height);padding:var(--space-2) var(--space-5);font-size:var(--text-metadata);line-height:var(--line-compact)}.practice-mode-action,.challenge-mode .practice-mode-action{min-height:var(--control-height)}.library-results-summary{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-3);flex-wrap:wrap;display:flex}.library-results-summary p,.library-results-summary button{font-size:var(--text-supporting)}.library-results-summary .reset-filters{min-height:var(--touch-target);color:var(--color-ink)}.challenge-option[data-result=correct]{border-color:var(--color-ink);background:var(--color-accent-soft)}.challenge-option[data-result=incorrect]{border-style:dashed;border-color:var(--color-control-border)}.challenge-option small{color:var(--color-ink)}@media (width<=639px){.challenge-option{flex-wrap:wrap}.challenge-option small:not(:empty){flex-basis:100%}}.pwa-notice{z-index:20;inset-inline:var(--page-gutter);bottom:calc(var(--nav-bottom-height) + env(safe-area-inset-bottom,0px) + var(--space-6));border:var(--border-control);max-width:34rem;box-shadow:var(--shadow-button);background:var(--color-surface);margin:0 auto;position:fixed}@media (width>=1000px){.pwa-notice{inset-inline:auto var(--page-gutter);bottom:var(--space-6)}}.category-item{padding-inline:0}.home-page .eyebrow,.term-card-top .eyebrow,.library-controls .category-select select{font-size:var(--text-eyebrow)}.term-card h2,.practice-mode h4{font-size:var(--text-body)}.term-card p,.practice-mode p,.challenge-start>p,.challenge-mode>p{font-size:var(--text-supporting)}.term-card,.practice-mode,.challenge-mode,.practice-category-grid button,.challenge-option{background:var(--color-card)}.library-heading>h1{grid-area:1/2}.library-heading>.library-back{grid-area:1/1}.screen-header-sticky{top:env(safe-area-inset-top,0px);z-index:8;position:sticky}.library-results-summary:has(>.sr-only:only-child){margin:0}main:has([data-focused=true]) :is(h2,h3,a,button,input,textarea,summary){scroll-margin-top:calc(72px + env(safe-area-inset-top,0px))}@media (width<=999px){.app-shell:has([data-focused=true])>.navigation{display:none}.app-shell:has([data-focused=true]) main{padding-bottom:calc(var(--space-12) + env(safe-area-inset-bottom,0px))}.app-shell:has([data-focused=true]) .pwa-notice{bottom:calc(var(--space-6) + env(safe-area-inset-bottom,0px))}}.term-card,.practice-mode,.challenge-mode,.practice-category-grid button,.challenge-option,.practice-mode-action,.secondary-button,.challenge-compare,.challenge-type-start{box-shadow:none}.secondary-button{border:var(--border-secondary)}.library-controls .category-select select{font-size:var(--text-supporting)}.term-card{padding:var(--space-4)}.term-card-top{grid-template-columns:minmax(0, 1fr) auto var(--touch-target)}.term-card-top .eyebrow{white-space:nowrap}.term-card-top{column-gap:var(--space-3);min-height:0;margin-bottom:var(--space-2);grid-template-columns:minmax(0,1fr) auto 20px}.term-card-top h2{line-height:20px}.term-card-top .term-title-link{min-height:0}.term-card .favorite-button{top:var(--space-1);right:var(--space-1);width:var(--touch-target);height:var(--touch-target);position:absolute}.challenge-mode .challenge-mode-meta{border-top:var(--border-secondary);padding-top:var(--space-3);margin-top:var(--space-2);font-size:var(--text-metadata);grid-column:1/-1}.secondary-button:not(:disabled),.practice-mode-action:not(:disabled),.challenge-type-start:not(:disabled),.challenge-compare:not(:disabled){box-shadow:var(--shadow-button);background:var(--color-secondary-button)}@media (hover:hover){.secondary-button:not(:disabled):hover,.practice-mode-action:not(:disabled):hover,.challenge-type-start:not(:disabled):hover,.challenge-compare:not(:disabled):hover{background:var(--color-accent-soft)}}.secondary-button:not(:disabled):active,.practice-mode-action:not(:disabled):active,.challenge-type-start:not(:disabled):active,.challenge-compare:not(:disabled):active{background:var(--color-surface-subtle)}
