/* Website skins follow the app palettes in src/shared/theme/{cyber,sketch}. Classic uses the original per-component fallbacks. */
@font-face { font-family: 'Exo 2'; src: url('assets/fonts/exo-2-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('assets/fonts/exo-2-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('assets/fonts/exo-2-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Exo 2'; src: url('assets/fonts/exo-2-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('assets/fonts/caveat-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('assets/fonts/caveat-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('assets/fonts/caveat-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('assets/fonts/caveat-700.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root { --site-font: Onest; }
html[data-site-style="cyber"] {
  color-scheme: dark;
  --site-font: 'Exo 2';
  --skin-canvas: #0a0b12;
  --skin-canvas-rgb: 10 11 18;
  --skin-surface: #10121c;
  --skin-surface-rgb: 16 18 28;
  --skin-soft: #161927;
  --skin-soft-rgb: 22 25 39;
  --skin-deep: #0d0f18;
  --skin-deep-rgb: 13 15 24;
  --skin-selected: #0f2733;
  --skin-selected-rgb: 15 39 51;
  --skin-primary: #0a7a92;
  --skin-primary-rgb: 10 122 146;
  --skin-accent: #00e5ff;
  --skin-accent-rgb: 0 229 255;
  --skin-text: #e6f1ff;
  --skin-text-rgb: 230 241 255;
  --skin-muted: #a9b6d0;
  --skin-muted-rgb: 169 182 208;
  --skin-line: #2b3250;
  --skin-line-rgb: 43 50 80;
  --skin-depth: transparent;
  --skin-depth-rgb: 0 0 0;
  --skin-button-ink: #ffffff;
  --skin-button-ink-rgb: 255 255 255;
  --skin-paper: #1a1608;
  --skin-paper-rgb: 26 22 8;
  --skin-paper-text: #fcee0a;
  --skin-paper-text-rgb: 252 238 10;
  --skin-art-paper: #151827;
  --skin-art-paper-rgb: 21 24 39;
  --skin-art-ink: #e6f1ff;
  --skin-art-ink-rgb: 230 241 255;
  --skin-art-soft: #26324a;
  --skin-art-soft-rgb: 38 50 74;
  --skin-art-mid: #a9b6d0;
  --skin-art-mid-rgb: 169 182 208;
  --skin-art-green-dark: #124d39;
  --skin-art-green-dark-rgb: 18 77 57;
  --skin-art-green-mid: #39ff88;
  --skin-art-green-mid-rgb: 57 255 136;
  --skin-art-green-light: #0d3028;
  --skin-art-green-light-rgb: 13 48 40;
  --skin-art-gold-dark: #8b7209;
  --skin-art-gold-dark-rgb: 139 114 9;
  --skin-art-gold-mid: #fcee0a;
  --skin-art-gold-mid-rgb: 252 238 10;
  --skin-art-gold-light: #302c0a;
  --skin-art-gold-light-rgb: 48 44 10;
  --skin-art-blue-dark: #0a7a92;
  --skin-art-blue-dark-rgb: 10 122 146;
  --skin-art-blue-mid: #00e5ff;
  --skin-art-blue-mid-rgb: 0 229 255;
  --skin-art-blue-light: #103b4a;
  --skin-art-blue-light-rgb: 16 59 74;
  --skin-art-violet-dark: #5b3fd0;
  --skin-art-violet-dark-rgb: 91 63 208;
  --skin-art-violet-mid: #b14fff;
  --skin-art-violet-mid-rgb: 177 79 255;
  --skin-art-violet-light: #2b1942;
  --skin-art-violet-light-rgb: 43 25 66;
  --shape-2: 2px;
  --shape-3: 2px;
  --shape-4: 2px;
  --shape-5: 2px;
  --shape-6: 2px;
  --shape-7: 2px;
  --shape-8: 2px;
  --shape-9: 2px;
  --shape-10: 2px;
  --shape-12: 3px;
  --shape-13: 3px;
  --shape-14: 3px;
  --shape-15: 3px;
  --shape-16: 3px;
  --shape-17: 4px;
  --shape-19: 4px;
  --shape-20: 4px;
  --shape-22: 4px;
  --shape-23: 4px;
  --shape-24: 4px;
  --shape-25: 6px;
  --shape-28: 6px;
  --shape-29: 6px;
  --shape-32: 6px;
}
html[data-site-style="sketch"] {
  color-scheme: light;
  --site-font: Caveat;
  --skin-canvas: #fbf9f4;
  --skin-canvas-rgb: 251 249 244;
  --skin-surface: #fffefb;
  --skin-surface-rgb: 255 254 251;
  --skin-soft: #f2efe6;
  --skin-soft-rgb: 242 239 230;
  --skin-deep: #f4f1e9;
  --skin-deep-rgb: 244 241 233;
  --skin-selected: #efe9da;
  --skin-selected-rgb: 239 233 218;
  --skin-primary: #efe9da;
  --skin-primary-rgb: 239 233 218;
  --skin-accent: #3a3834;
  --skin-accent-rgb: 58 56 52;
  --skin-text: #3a3834;
  --skin-text-rgb: 58 56 52;
  --skin-muted: #5a574f;
  --skin-muted-rgb: 90 87 79;
  --skin-line: #b3aea2;
  --skin-line-rgb: 179 174 162;
  --skin-depth: #d3cec2;
  --skin-depth-rgb: 211 206 194;
  --skin-button-ink: #3a3834;
  --skin-button-ink-rgb: 58 56 52;
  --skin-paper: #fff9e8;
  --skin-paper-rgb: 255 249 232;
  --skin-paper-text: #6f5a22;
  --skin-paper-text-rgb: 111 90 34;
  --skin-art-paper: #fffefb;
  --skin-art-paper-rgb: 255 254 251;
  --skin-art-ink: #3a3834;
  --skin-art-ink-rgb: 58 56 52;
  --skin-art-soft: #e4e0d5;
  --skin-art-soft-rgb: 228 224 213;
  --skin-art-mid: #b3aea2;
  --skin-art-mid-rgb: 179 174 162;
  --skin-art-green-dark: #3f6a37;
  --skin-art-green-dark-rgb: 63 106 55;
  --skin-art-green-mid: #58804e;
  --skin-art-green-mid-rgb: 88 128 78;
  --skin-art-green-light: #eef3e8;
  --skin-art-green-light-rgb: 238 243 232;
  --skin-art-gold-dark: #95660f;
  --skin-art-gold-dark-rgb: 149 102 15;
  --skin-art-gold-mid: #b49a63;
  --skin-art-gold-mid-rgb: 180 154 99;
  --skin-art-gold-light: #fff9e8;
  --skin-art-gold-light-rgb: 255 249 232;
  --skin-art-blue-dark: #3f5f8f;
  --skin-art-blue-dark-rgb: 63 95 143;
  --skin-art-blue-mid: #4e6f9f;
  --skin-art-blue-mid-rgb: 78 111 159;
  --skin-art-blue-light: #edf0f5;
  --skin-art-blue-light-rgb: 237 240 245;
  --skin-art-violet-dark: #655084;
  --skin-art-violet-dark-rgb: 101 80 132;
  --skin-art-violet-mid: #7a62a0;
  --skin-art-violet-mid-rgb: 122 98 160;
  --skin-art-violet-light: #f0edf4;
  --skin-art-violet-light-rgb: 240 237 244;
  --shape-2: 2px;
  --shape-3: 3px;
  --shape-4: 4px;
  --shape-5: 5px;
  --shape-6: 6px;
  --shape-7: 6px;
  --shape-8: 7px;
  --shape-9: 8px;
  --shape-10: 9px;
  --shape-12: 10px;
  --shape-13: 11px;
  --shape-14: 12px;
  --shape-15: 13px;
  --shape-16: 14px;
  --shape-17: 14px;
  --shape-19: 16px;
  --shape-20: 17px;
  --shape-22: 19px;
  --shape-23: 20px;
  --shape-24: 20px;
  --shape-25: 21px;
  --shape-28: 24px;
  --shape-29: 25px;
  --shape-32: 27px;
  --type-5: 13px;
  --type-6: 13px;
  --type-7: 13px;
  --type-8: 13px;
  --type-9: 13.1px;
  --type-10: 14.5px;
  --type-11: 15.7px;
  --type-12: 16.9px;
  --type-13: 18px;
  --type-14: 19px;
  --type-15: 20.2px;
  --type-16: 21.3px;
  --type-17: 22.4px;
  --type-18: 23.4px;
  --type-19: 24.5px;
  --type-20: 25.6px;
  --type-21: 26.7px;
  --type-22: 27.7px;
  --type-23: 28.8px;
  --type-24: 29.8px;
  --type-25: 30.8px;
  --type-26: 31.9px;
  --type-27: 32.9px;
  --type-28: 33.9px;
  --type-29: 34.9px;
  --type-30: 35.8px;
  --type-31: 36.8px;
  --type-32: 37.8px;
  --type-34: 40px;
  --type-35: 41.1px;
  --type-36: 42.2px;
  --type-37: 43.3px;
  --type-38: 44.4px;
  --type-39: 45.5px;
  --type-40: 46.6px;
  --type-43: 49.9px;
  --type-44: 50.9px;
  --type-46: 53.1px;
  --type-47: 54.1px;
  --type-50: 57.5px;
  --type-52: 59.8px;
  --type-58: 66.7px;
  --type-61: 70.1px;
}

/* Four independent app previews; their typography never inherits the selected site skin. */
.site-styles-section { padding: 88px 0 75px; }
.styles-heading { max-width: 620px; margin: 0 auto 37px; text-align: center; }
.styles-heading h2 { font-size: var(--type-40, 40px); line-height: 1.2; letter-spacing: -1.3px; margin: 17px 0 23px; }
.styles-heading p { font-size: var(--type-15, 15px); line-height: 1.85; color: var(--skin-muted, #69765f); max-width: 580px; margin-inline: auto; }
.styles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.style-card { display: flex; flex-direction: column; text-align: left; padding: 21px 18px 17px; min-width: 0; background: var(--skin-surface, #fff); border: 1.5px solid var(--skin-line, #e1e7d8); border-radius: var(--shape-20, 20px); box-shadow: 0 5px 0 var(--skin-depth, #e8ecdf); position: relative; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
button.style-card:hover { transform: translateY(-4px); border-color: var(--skin-accent, #9eb782); }
button.style-card:active { transform: translateY(2px); }
.style-card[aria-pressed="true"] { border-color: var(--skin-accent, #8fae6c); box-shadow: 0 5px 0 var(--skin-selected, #b9cda0); }
.style-card[aria-busy="true"] { cursor: progress; }
.style-card-heading { display: flex; align-items: center; gap: 8px; min-height: 35px; margin-bottom: 20px; }
.style-card-heading > strong { font-size: var(--type-13, 13px); font-weight: 600; white-space: nowrap; }
.style-glyph { display: grid; place-items: center; flex-shrink: 0; height: 29px; width: 29px; border-radius: 8px; font: 19px Onest, sans-serif; }
.glyph-strict { color: #55575e; background: #f2f2f5; }
.glyph-classic { color: #658b45; background: #edf3e5; }
.glyph-cyber { color: #00e5ff; background: #10121c; border-radius: 3px; }
.glyph-sketch { color: #5a574f; background: #f2efe6; font-size: 23px; border: 1px solid #b3aea2; transform: rotate(-4deg); }
.style-card-check { display: grid; place-items: center; margin-left: auto; color: var(--skin-accent, #72984e); width: 18px; height: 18px; flex-shrink: 0; opacity: 0; }
.style-card-check svg { width: 18px; height: 18px; stroke-width: 2; }
.style-card[aria-pressed="true"] .style-card-check { opacity: 1; }
.style-preview { display: block; width: 100%; padding: 18px 14px 17px; background: var(--pv-bg); color: var(--pv-text); border: var(--pv-border-width, 1px) solid var(--pv-border); border-radius: var(--pv-radius); font-family: var(--pv-font); box-shadow: var(--pv-depth, none); min-height: 227px; position: relative; isolation: isolate; }
.style-preview[data-preview-style="strict"] { --pv-bg: #f5f5f7; --pv-text: #1d1d1f; --pv-muted: #62636a; --pv-border: #e5e5ea; --pv-radius: 12px; --pv-font: Onest; --pv-accent: #0071e3; --pv-button-ink: #fff; --pv-track: #e5e5ea; }
.style-preview[data-preview-style="classic"] { --pv-bg: #fffef8; --pv-text: #293b31; --pv-muted: #646e5c; --pv-border: #dce4cd; --pv-radius: 15px; --pv-font: Onest; --pv-accent: #587d3e; --pv-button-ink: #fff; --pv-track: #edf2e5; --pv-depth: 0 4px 0 #e2e9d7; --pv-border-width: 1.5px; }
.style-preview[data-preview-style="cyber"] { --pv-bg: #0a0b12; --pv-text: #e6f1ff; --pv-muted: #a9b6d0; --pv-border: #2b3250; --pv-radius: 3px; --pv-font: 'Exo 2'; --pv-accent: #0a7a92; --pv-button-ink: #fff; --pv-track: #1c2033; }
.style-preview[data-preview-style="sketch"] { --pv-bg: #fffefb; --pv-text: #3a3834; --pv-muted: #5a574f; --pv-border: #8a857a; --pv-radius: 11px 14px 12px 8px; --pv-font: Caveat; --pv-accent: #efe9da; --pv-button-ink: #3a3834; --pv-track: #e4e0d5; --pv-depth: 2px 3px 0 #d3cec2; background-image: url('assets/paper-light.png'); background-size: 160px; transform: rotate(-1.4deg); }
.preview-eyebrow { display: block; font-size: 6px; line-height: 1.4; font-weight: 600; letter-spacing: 1px; color: var(--pv-muted); }
.preview-title { display: block; font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: -.3px; margin-top: 10px; white-space: normal; overflow-wrap: anywhere; }
.preview-subtitle { display: block; font-size: 6px; line-height: 1.5; color: var(--pv-muted); margin-top: 6px; }
.preview-table { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 10px 7px; align-items: center; margin-top: 22px; }
.preview-table > span { font-size: 5px; color: var(--pv-muted); font-weight: 500; }
.preview-table i { font-size: 9px; color: var(--pv-muted); font-style: normal; }
.preview-table b { font-size: 12px; font-weight: 600; }
.preview-progress { display: block; height: 4px; border-radius: 2px; background: var(--pv-track); margin-top: 19px; overflow: hidden; }
.preview-progress i { display: block; width: 62%; height: 100%; background: var(--pv-accent); border-radius: inherit; }
.preview-record { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 29px; margin-top: 14px; background: var(--pv-accent); border-radius: var(--pv-radius); color: var(--pv-button-ink); font-size: 7px; font-weight: 600; white-space: nowrap; }
.preview-record svg { width: 11px; height: 11px; }
[data-preview-style="classic"] .preview-record { box-shadow: 0 3px 0 #42602f; }
[data-preview-style="cyber"] .preview-eyebrow { color: #00e5ff; letter-spacing: 1.4px; }
[data-preview-style="cyber"] .preview-record { border: 1px solid #00e5ff; box-shadow: 0 0 10px #00e5ff44; text-transform: uppercase; letter-spacing: .6px; }
[data-preview-style="cyber"] .preview-progress i { background: #00e5ff; box-shadow: 0 0 8px #00e5ff55; }
[data-preview-style="sketch"] .preview-title { font-size: 20px; }
[data-preview-style="sketch"] .preview-eyebrow { font-size: 9px; }
[data-preview-style="sketch"] .preview-subtitle { font-size: 10px; }
[data-preview-style="sketch"] .preview-table { margin-top: 15px; gap: 7px; }
[data-preview-style="sketch"] .preview-table > span { font-size: 8px; }
[data-preview-style="sketch"] .preview-table i { font-size: 13px; }
[data-preview-style="sketch"] .preview-table b { font-size: 17px; }
[data-preview-style="sketch"] .preview-record { font-size: 12px; border: 1.3px solid #3a3834; background-image: repeating-linear-gradient(130deg, transparent 0 4px, #3a383422 4px 4.7px); }
[data-preview-style="sketch"] .preview-progress i { background: #58804e; }
.style-description { display: block; color: var(--skin-muted, #78816d); font-size: var(--type-10, 10px); line-height: 1.9; margin-top: 21px; }
.style-card-action { display: flex; align-items: center; justify-content: space-between; font-size: var(--type-10, 10px); font-weight: 600; color: var(--skin-accent, #648449); border-top: 1px solid var(--skin-line, #e8ecdf); padding-top: 14px; margin-top: 18px; min-height: 30px; }
.style-card-strict .style-card-action { color: var(--skin-muted, #8e9684); font-weight: 400; }
.styles-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 26px; font-size: var(--type-10, 10px); line-height: 1.8; }
.styles-footnote { color: var(--skin-muted, #87927a); }
#site-style-status { color: var(--skin-accent, #638346); text-align: right; }

/* Skin-specific materials and component geometry. */
html[data-site-style="cyber"] h2 em, html[data-site-style="cyber"] .hero h1 span, html[data-site-style="cyber"] .brand { color: #00e5ff; }
html[data-site-style="cyber"] .button-primary { background: #0a7a92; color: #fff; border: 1px solid #00e5ff; box-shadow: 0 0 14px #00e5ff66; letter-spacing: .7px; text-transform: uppercase; }
html[data-site-style="cyber"] .button-primary:hover { background: #0a6f86; box-shadow: 0 0 22px #00e5ff80; }
html[data-site-style="cyber"] .button-primary:active { box-shadow: 0 0 8px #00e5ff66; }
html[data-site-style="cyber"] :is(.segmented .is-active, .format-tabs [aria-pressed="true"], .style-card[aria-pressed="true"], .screen-tabs .is-active) { border-color: #00e5ff; box-shadow: 0 0 10px #00e5ff55; }
html[data-site-style="cyber"] :is(.badge-dialog) { background: #131624; border: 1px solid #2f3a5c; box-shadow: 0 0 24px #00e5ff38; }
html[data-site-style="cyber"] .style-glyph:not(.glyph-cyber) { box-shadow: none; }
html[data-site-style="cyber"] .site-header { background: #0a0b12f2; }
html[data-site-style="cyber"] :is(.section-label, .eyebrow) { letter-spacing: 1.8px; }
html[data-site-style="cyber"] :is(.rhythm-days .is-complete, .set-row.is-done .set-check) { color: #fff; background: #0d7a48; border-color: #39ff88; box-shadow: none; }
html[data-site-style="cyber"] :is(.round-check, .summary-check) { color: #39ff88; }
html[data-site-style="cyber"] :is(.training-illustration, .collectible-model > svg) { filter: drop-shadow(0 0 8px #00e5ff14); }
html[data-site-style="cyber"] .training-illustration rect { rx: 3px; }
html[data-site-style="cyber"] .art-spark { stroke: #00e5ff; }
html[data-site-style="sketch"] body { background-color: #fbf9f4; background-image: url('assets/paper-light.png'); background-size: 180px; }
html[data-site-style="sketch"] .site-header { background: #fbf9f4f5; }
html[data-site-style="sketch"] :is(.button-primary, .button-outline, .format-tabs [aria-pressed="true"], .segmented .is-active) { background-color: #efe9da; color: #3a3834; border-color: #3a3834; border-width: 1.6px; box-shadow: 2px 3px 0 #d3cec2; background-image: repeating-linear-gradient(130deg, transparent 0 5px, #3a383414 5px 5.8px); }
html[data-site-style="sketch"] .button-primary:hover { background-color: #e6dfcd; box-shadow: 2px 3px 0 #b9b3a4; }
html[data-site-style="sketch"] .button-primary:active { box-shadow: 0 1px 0 #b9b3a4; }
html[data-site-style="sketch"] :is(.rhythm-days .is-complete, .set-row.is-done .set-check) { color: #3f6a37; background: #eef3e8; border-color: #58804e; background-image: repeating-linear-gradient(125deg, transparent 0 3.8px, #58804e33 3.8px 4.6px); }
html[data-site-style="sketch"] .notebook-cover { background: #efe9da; color: #3a3834; background-image: repeating-linear-gradient(135deg, transparent 0 7px, #3a383412 7px 7.6px); }
html[data-site-style="sketch"] :is(.notebook-cover > span, .notebook-cover > svg) { color: #5a574f; }
html[data-site-style="sketch"] .notebook-pages { background: #fffefb; background-image: url('assets/paper-light.png'); background-size: 150px; }
html[data-site-style="sketch"] [data-skin-fill$="mid"]:not(text):not(tspan) { fill: url('#site-pencil-hatch'); stroke: #3a3834; stroke-width: .9px; }
html[data-site-style="sketch"] [data-skin-fill$="dark"]:not(text):not(tspan) { stroke: #3a3834; stroke-width: .8px; }
html[data-site-style="sketch"] svg text { font-family: Caveat; letter-spacing: .1px; }
html[data-site-style="sketch"] .hero h1 { line-height: 1.08; }
html[data-site-style="sketch"] :is(.hero h1, h2) { letter-spacing: -.4px; }
html[data-site-style="sketch"] .set-head { grid-template-columns: 62px 1fr 1fr 36px; }
html[data-site-style="sketch"] .screen-tabs button { min-height: 73px; }
html[data-site-style="sketch"] .set-feedback { min-height: 36px; }
html[data-site-style="sketch"] .scene-detail-top { gap: 8px; }
html[data-site-style="sketch"] .format-detail > p { min-height: 80px; }
html[data-site-style="sketch"] .preview-title { letter-spacing: -.3px; }
html[data-site-style="sketch"] .site-sketch-static { position: relative; }
html[data-site-style="sketch"] .site-sketch-host:not(.button) { border-color: transparent !important; box-shadow: none !important; }
.site-pencil-frame { display: none; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
html[data-site-style="sketch"] .site-pencil-frame { display: block; }
.site-pencil-frame path { transition: none; }
::view-transition-old(root) { animation: skin-fade-out 320ms ease both; }
::view-transition-new(root) { animation: skin-fade-in 320ms ease both; }
::view-transition-group(root) { animation-duration: 320ms; pointer-events: none; }
@keyframes skin-fade-out { to { opacity: 0; } }
@keyframes skin-fade-in { from { opacity: 0; } }
html.style-color-transition body, html.style-color-transition :is(.site-header, .style-card, .calendar-card, .workout-card, .chart-card, .format-theatre, .format-detail, .collection-section, .app-section, .final-cta, dialog) { transition: background-color 320ms ease, color 320ms ease, border-color 320ms ease, box-shadow 320ms ease; }
@media (max-width: 1265px) {
 .styles-grid { gap: 13px; }
 .style-card { padding: 17px 13px 15px; }
 .style-card-heading { gap: 6px; }
 .style-card-heading > strong { font-size: var(--type-11, 11px); }
 .style-glyph { width: 25px; height: 25px; font-size: 17px; }
 .style-preview { padding: 16px 12px; }
 .preview-title { font-size: 12px; }
 .preview-table { gap: 10px 5px; }
 [data-preview-style="sketch"] .preview-title { font-size: 18px; }
}
@media (max-width: 1035px) {
 .styles-grid { grid-template-columns: 1fr 1fr; gap: 20px; max-width: 680px; margin-inline: auto; }
 .style-card { padding: 21px; }
 .style-card-heading > strong { font-size: var(--type-14, 14px); }
 .style-glyph { width: 30px; height: 30px; }
 .style-preview { padding: 22px; min-height: 250px; }
 .preview-title { font-size: 16px; }
 .preview-subtitle { font-size: 8px; }
 .preview-eyebrow { font-size: 8px; }
 .preview-table > span { font-size: 7px; }
 .preview-table b { font-size: 15px; }
 .preview-table i { font-size: 11px; }
 .preview-record { min-height: 33px; font-size: 9px; }
 [data-preview-style="sketch"] .preview-title { font-size: 24px; }
 [data-preview-style="sketch"] .preview-table b { font-size: 20px; }
 [data-preview-style="sketch"] .preview-record { font-size: 15px; }
 html[data-site-style="sketch"] .desktop-nav { gap: 15px; }
}
@media (max-width: 805px) {
 .site-styles-section { padding: 63px 0 55px; }
 .styles-heading h2 { font-size: var(--type-32, 32px); }
 .styles-heading p { font-size: var(--type-13, 13px); }
 .styles-grid { gap: 14px; }
 .style-card { padding: 15px 11px; }
 .style-card-heading { gap: 6px; margin-bottom: 15px; }
 .style-card-heading > strong { font-size: var(--type-11, 11px); }
 .style-glyph { width: 23px; height: 23px; font-size: 16px; border-radius: 6px; }
 .style-card-check { width: 13px; }
 .style-card-check svg { width: 13px; }
 .style-preview { padding: 16px 12px; min-height: 220px; }
 .preview-title { font-size: 12px; }
 .preview-eyebrow { font-size: 6px; }
 .preview-subtitle { font-size: 6px; }
 .preview-table > span { font-size: 5px; }
 .preview-table b { font-size: 12px; }
 .preview-table i { font-size: 9px; }
 .preview-record { min-height: 29px; font-size: 7px; }
 [data-preview-style="sketch"] .preview-title { font-size: 19px; }
 [data-preview-style="sketch"] .preview-table b { font-size: 17px; }
 [data-preview-style="sketch"] .preview-record { font-size: 12px; }
 .style-description { font-size: var(--type-9, 9px); margin-top: 19px; }
 .style-card-action { font-size: var(--type-9, 9px); }
 .styles-footer { flex-direction: column; gap: 4px; text-align: center; }
 #site-style-status { text-align: center; }
}
@media (max-width: 425.5px) {
 .styles-grid { gap: 10px; }
 .style-card { padding: 12px 8px; }
 .style-card-heading > strong { font-size: var(--type-10, 10px); }
 .style-glyph { width: 21px; height: 21px; font-size: 15px; }
 .style-card-heading { gap: 5px; }
 .style-card-check { width: 10px; }
 .style-preview { padding: 14px 9px; }
 .preview-title { font-size: 11px; }
 .preview-subtitle { font-size: 5px; }
 .preview-record { font-size: 6px; }
 [data-preview-style="sketch"] .preview-title { font-size: 17px; }
 [data-preview-style="sketch"] .preview-subtitle { font-size: 9px; }
 .style-card-action { font-size: var(--type-8, 8px); }
}
@media (prefers-reduced-motion: reduce) {
 ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(root) { animation: none !important; }
 .style-card { transition: none; }
}
html[data-site-style="cyber"] :is(.format-theatre, .format-detail) { background: #10121c; }
html[data-site-style="cyber"] .format-halo { background: radial-gradient(circle at 40% 35%, #19263a, #111a28 65%); }
html[data-site-style="sketch"] :is(.format-halo, .rhythm-glow, .notes-halo) { background: #f2efe6; box-shadow: 0 0 0 18px #f4f1e980, 0 0 0 19px #b3aea244; }
html[data-site-style="sketch"] .rhythm-section[data-step="4"] .rhythm-glow { background: #eef3e8; box-shadow: 0 0 0 18px #f4f1e980, 0 0 0 19px #58804e44; }
html[data-site-style="sketch"] .note-editor textarea { font-size: 19px; }
html[data-site-style="sketch"] .screen-tabs button.is-active { background: #efe9da; border-color: #3a3834; }
html[data-site-style="sketch"] .style-card[aria-pressed="true"] { background: #f4f1e9; }
html[data-site-style="sketch"] .skip-link { color: #fffefb; }
html[data-site-style="cyber"] .skip-link { background: #10121c; color: #e6f1ff; }
/* Спортсмен и бегун (tools/gen-athlete.cjs): «Лайм» берёт запасные значения из рисунка. В «Карандаше» --ath-edge и --ath-hatch включают контуры и штриховку теней. */
html[data-site-style="cyber"] {
 --ath-skin: #d9a37c;
 --ath-skin-shade: #a8714f;
 --ath-skin-hi: #f0c39c;
 --ath-skin-far: #b98a68;
 --ath-skin-far-shade: #8f5f41;
 --ath-beard: #14161f;
 --ath-beard-shade: #0a0b12;
 --ath-tank: #0f2733;
 --ath-tank-shade: #09171f;
 --ath-tank-hi: #00e5ff;
 --ath-shorts: #1d2236;
 --ath-shorts-shade: #121524;
 --ath-shorts-hi: #b14fff;
 --ath-shorts-far: #171b2c;
 --ath-shorts-far-shade: #0e111d;
 --ath-shoe: #26324a;
 --ath-shoe-shade: #1a2236;
 --ath-shoe-far: #1f2940;
 --ath-shoe-far-shade: #151c2e;
 --ath-sole: #39ff88;
 --ath-accent: #00e5ff;
 --ath-plate: #1b2c3b;
 --ath-plate-top: #00e5ff;
 --ath-plate-shade: #0b131c;
 --ath-bar: #a9b6d0;
 --ath-bar-shade: #6b7894;
 --ath-ground: #161927;
}
html[data-site-style="sketch"] {
 --ath-hatch: url(#site-pencil-hatch);
 --ath-edge: #3a3834;
 --ath-edge-w: 1.1;
 --ath-edge-under: 2.2;
 --ath-skin: #fbf6ec;
 --ath-skin-shade: #efe7d8;
 --ath-skin-hi: #fffefb;
 --ath-skin-far: #f1ebdf;
 --ath-skin-far-shade: #e4dccc;
 --ath-beard: #4a4740;
 --ath-beard-shade: #3a3834;
 --ath-tank: #dfe9d3;
 --ath-tank-shade: #cbdabb;
 --ath-tank-hi: #fffefb;
 --ath-shorts: #cfcabd;
 --ath-shorts-shade: #bdb7a9;
 --ath-shorts-hi: #ece8de;
 --ath-shorts-far: #c2bdb0;
 --ath-shorts-far-shade: #b0aa9c;
 --ath-shoe: #fffefb;
 --ath-shoe-shade: #efebe2;
 --ath-shoe-far: #f4f1e9;
 --ath-shoe-far-shade: #e6e2d8;
 --ath-sole: #8f8a7e;
 --ath-accent: #58804e;
 --ath-plate: #5a574f;
 --ath-plate-top: #8a857a;
 --ath-plate-shade: #3a3834;
 --ath-bar: #e4e0d5;
 --ath-bar-shade: #b3aea2;
 --ath-ground: #ece8de;
}
html[data-site-style="sketch"] .notes-scene { min-height: calc(620px * var(--notes-scale, 1)); }
html[data-site-style="sketch"] .notebook-date { font-size: 11px; }
html[data-site-style="sketch"] .notebook-entry { margin-top: 14px; }
html[data-site-style="sketch"] .notebook-entry > span { font-size: 10px; }
html[data-site-style="sketch"] .notebook-entry > strong { font-size: 16px; line-height: 1.25; }
html[data-site-style="sketch"] .notebook-entry p { font-size: 11px; line-height: 1.3; margin-top: 4px; }
html[data-site-style="sketch"] .notebook-rule { margin-top: 8px; }
html[data-site-style="sketch"] .notebook-page-number { font-size: 10px; margin-top: 7px; }
