/* Korean Nerd · TOPIK Ⅱ — «classic» layer (author 2026-11-30: «вернуть старый дизайн», the version of 12.11.2026).
   Cream paper, black menu, pastel sections, flat cards with a thin line, the Namsan photo on Home. Loaded last on every page; replaces
   apple.css (the blue design of 19.11, kept in «Архив и резервные копии/topik-site-backups/дизайн-голубой-2026-11-30»).
   Made from apple.css by /tmp/mkclassic.py once, edited by hand since. One look for everybody (no accent by gender). */
:root, :root[data-accent] { --lv-1a1430: #25231F; --lv-2a2450: #403C34; --lv-2a2540: #38342D; --lv-352d5c: #4B473E; --lv-3a3060: #4F4A41; --lv-3b2c78: #5A554A; --lv-4e3b98: #746D5F; --lv-4e4766: #5F594E; --lv-5a4599: #7A7364; --lv-5e4aa8: #857D6D; --lv-6e58b5: #938B7A; --lv-8e7cc3: #B8A887; --lv-a795e6: #CFC3AC; --lv-b8a6f2: #D5CCB8; --lv-b9a9f0: #DACEB4; --lv-c0aef2: #DDD1B9; --lv-c2b8e6: #DCD0B8; --lv-c9b8f5: #E1D7C2; --lv-cdbff5: #E3DAC7; --lv-cfc1f7: #E5DBC9; --lv-cfc8e6: #E1D7C3; --lv-d8cbf6: #E8DFCF; --lv-d9cef7: #E9E1D2; --lv-dcd3f7: #EAE3D5; --lv-e2d9ff: #EFEADF; --lv-e2daf9: #EDE7DB; --lv-e6ddfb: #EFEADF; --lv-e6dffb: #F0EBE0; --lv-e9e1fc: #F1ECE2; --lv-ede3fb: #F1ECE3; --lv-ede8fa: #F2EEE5; --lv-f1ecfd: #F5F1EA; --lv-f4f0fd: #F6F3ED; --lv-f6f2ff: #F7F4EE; }
:root {
  --bg: #F5F0E6; --surface: #FFFDF8; --surface-2: #EDE7DB; --text: #1C1C1A; --muted: #5E5B54; --border: #DDD5C6;
  --primary: #1C1C1A; --primary-hover: #000000; --on-primary: #F7F3EA; --primary-soft: #EAE3D5;
  --accent: #2F7A47; --accent-soft: #DCEEDD; --danger: #A3352B; --danger-soft: #F5DDD8; --warn: #8A5A00; --warn-soft: #F4E7C8;
  --coral: #A3352B; --coral-soft: #F5DDD8; --key: #8A5A00; --key-soft: #FBF1D3; --key-line: #E2B637;
  --ring: #1C1C1A; --inv-bg: #1C1C1A; --inv-fg: #F7F3EA; --inv-muted: #BDB7AA; --inv-line: rgba(247, 243, 234, .22);
  --grid-line: #C9BBA3; --grid-ink: #1C1C1A;
  --t-vocab: #5E4600; --t-vocab-soft: #F6D872; --t-vocab-mark: #E2B637; --t-grammar: #7E2550; --t-grammar-soft: #F3BCD2; --t-grammar-mark: #E38DB2;
  --t-listen: #263F7C; --t-listen-soft: #B9CAF0; --t-listen-mark: #7F9BDB; --t-read: #3D4D14; --t-read-soft: #BCCA82; --t-read-mark: #8EA04E;
  --t-write: #50318A; --t-write-soft: #D3C0EF; --t-write-mark: #A88AD9; --t-exam: #7A3910; --t-exam-soft: #F6C09A; --t-exam-mark: #E99A68;
  --side: #1C1C1A; --side-fg: #F7F3EA; --side-muted: #B3AD9F; --frame: #F5F0E6;
  --ink: #1C1C1A; --lav: #8A7A55; --lav-deep: #5E4F2E; --lilac: #EAE3D5; --lime: #F6D872; --lime-ink: #3A2C00; --dk-tile: #FFFDF8;
  --nm: var(--surface); --nm-2: var(--surface-2); --acc: #1C1C1A; --acc-ink: #F7F3EA; --acc-soft: #EAE3D5;
  --line: 0 0 0 1px var(--border); --ok: #2F7A47; --bar-fill: #1C1C1A;
  --shadow: none; --shadow-hover: 0 8px 20px -14px rgba(60, 45, 10, .45); color-scheme: light;
  --radius: 10px; --radius-sm: 8px; --radius-xs: 6px; --rail: 84px; --sidebar: 280px;
}
:root[data-theme="dark"] {
  --bg: #181817; --surface: #232321; --surface-2: #2D2C29; --text: #F2EEE6; --muted: #ADA89D; --border: #3B3A36;
  --primary: #F2EEE6; --primary-hover: #FFFFFF; --on-primary: #1C1C1A; --primary-soft: #36342F;
  --accent: #8FD0A3; --accent-soft: #24402E; --danger: #F0A398; --danger-soft: #4A2E2C; --warn: #F2C35B; --warn-soft: #463D27;
  --coral: #F0A398; --coral-soft: #4A2E2C; --key: #F2C35B; --key-soft: #3A3222;
  --ring: #F2EEE6; --inv-bg: #2E2D2A; --inv-fg: #F7F3EA; --inv-muted: #B3AD9F; --inv-line: rgba(247, 243, 234, .2);
  --grid-line: #5C5850; --grid-ink: #F2EEE6;
  --t-vocab: #4A3700; --t-vocab-soft: #E3C664; --t-vocab-mark: #E3C664; --t-grammar: #6A1D42; --t-grammar-soft: #E1A9C0; --t-grammar-mark: #E1A9C0;
  --t-listen: #1F356B; --t-listen-soft: #A5B8E2; --t-listen-mark: #A5B8E2; --t-read: #33410F; --t-read-soft: #A9B86F; --t-read-mark: #A9B86F;
  --t-write: #432878; --t-write-soft: #BFAAE0; --t-write-mark: #BFAAE0; --t-exam: #682F0C; --t-exam-soft: #E5AE87; --t-exam-mark: #E5AE87;
  --side: #0F0F0E; --side-fg: #F2EEE6; --side-muted: #A39E93; --frame: #181817;
  --ink: #0F0F0E; --lav: #C9B98F; --lav-deep: #D9CBA6; --lilac: #36342F; --lime: #E3C664; --lime-ink: #2A2000; --dk-tile: #232321;
  --acc: #F2EEE6; --acc-ink: #1C1C1A; --acc-soft: #36342F; --ok: #8FD0A3; --bar-fill: #F2EEE6; --shadow: none; --shadow-hover: none; color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #181817; --surface: #232321; --surface-2: #2D2C29; --text: #F2EEE6; --muted: #ADA89D; --border: #3B3A36;
  --primary: #F2EEE6; --primary-hover: #FFFFFF; --on-primary: #1C1C1A; --primary-soft: #36342F;
  --accent: #8FD0A3; --accent-soft: #24402E; --danger: #F0A398; --danger-soft: #4A2E2C; --warn: #F2C35B; --warn-soft: #463D27;
  --coral: #F0A398; --coral-soft: #4A2E2C; --key: #F2C35B; --key-soft: #3A3222;
  --ring: #F2EEE6; --inv-bg: #2E2D2A; --inv-fg: #F7F3EA; --inv-muted: #B3AD9F; --inv-line: rgba(247, 243, 234, .2);
  --grid-line: #5C5850; --grid-ink: #F2EEE6;
  --t-vocab: #4A3700; --t-vocab-soft: #E3C664; --t-vocab-mark: #E3C664; --t-grammar: #6A1D42; --t-grammar-soft: #E1A9C0; --t-grammar-mark: #E1A9C0;
  --t-listen: #1F356B; --t-listen-soft: #A5B8E2; --t-listen-mark: #A5B8E2; --t-read: #33410F; --t-read-soft: #A9B86F; --t-read-mark: #A9B86F;
  --t-write: #432878; --t-write-soft: #BFAAE0; --t-write-mark: #BFAAE0; --t-exam: #682F0C; --t-exam-soft: #E5AE87; --t-exam-mark: #E5AE87;
  --side: #0F0F0E; --side-fg: #F2EEE6; --side-muted: #A39E93; --frame: #181817;
  --ink: #0F0F0E; --lav: #C9B98F; --lav-deep: #D9CBA6; --lilac: #36342F; --lime: #E3C664; --lime-ink: #2A2000; --dk-tile: #232321;
  --acc: #F2EEE6; --acc-ink: #1C1C1A; --acc-soft: #36342F; --ok: #8FD0A3; --bar-fill: #F2EEE6; --shadow: none; --shadow-hover: none; color-scheme: dark;
} }
body { background: var(--bg); color: var(--text); font-family: var(--font); }
@media (min-width: 1024px) { body { background: var(--bg); } .content { border-radius: 0; background: var(--bg); } }

/* ---------- everything that was black is now a soft grey card with dark text ---------- */
.h9-today, .h9-tile, .card.practice-card, .pe-hero, .wp-past, .px-real, .card.px-type, .card.px-type.is-current, .pf-me, .ab-hero, .lb-start,
.vr-ring-card, .fp-ring-card, .card.g-folder, .card.g-folder.is-current, .grid > .card.stat, .grid > .card.stat:first-child, .h9-now, .h9-proverb,
.h9-stat, .h9-cal, .h9-skills, .vr-today, .card, .px-mine, .wp-mine, .pe-prog, .pe-goal, .ab-line, .ab-struct, .ab-levels, .ab-bring, .lb-recent, .lb-book,
.vr-words, .cv-main, .cv-card, .h9-pv-strip, .card.vr-main, .card.drill-card, .fp-panel, .xr-block, .tabbar, .vp-bar, .g-sum {
  background: var(--nm) !important; color: var(--text) !important; border: 0 !important; box-shadow: var(--line) !important; border-radius: 10px;
}
:is(.h9-today, .h9-tile, .card.practice-card, .pe-hero, .wp-past, .px-real, .card.px-type, .pf-me, .ab-hero, .lb-start, .vr-ring-card, .fp-ring-card, .card.g-folder, .grid > .card.stat, .h9-now, .h9-stat, .vr-today)
  :is(h2, h3, b, strong, p, span, small, li, a:not(.btn):not(.h9-pill):not(.h9-now-go):not(.px-go):not(.pe-start), .ko, .s, .tt, .px-ru, .px-ko, .px-range, .g-folder-n, .g-folder-t, .g-folder-s) { color: inherit; }
:is(.h9-today, .h9-tile, .pe-hero, .wp-past, .px-real, .pf-me, .ab-hero, .lb-start, .vr-ring-card, .h9-now, .card.px-type.is-current, .card.g-folder.is-current) :is(small, .muted, .px-ru, .g-folder-s, .s) { color: var(--muted) !important; }
.h9-tile .ko, .h9-tile .s strong { color: var(--muted) !important; }

/* pressed-in = selected / current */
.card.px-type.is-current, .card.g-folder.is-current, .vr-steps li.is-cur .vr-n, .h9-tasks a.is-done { box-shadow: inset 0 0 0 1px var(--border) !important; }
.card.px-type.is-current .px-range, .card.g-folder.is-current .g-folder-n { color: var(--acc) !important; }

/* ---------- the one main action: blue → cyan gradient pill ---------- */
.btn-primary, .h9-pill, .h9-now-go, .px-go, .g-cur-go, .btn.vr-start, .btn.btn-lime, .btn.pe-start, .btn.wp-rnd, .btn.px-mock, .cv-exam, .btn.cv-start, .xr-submit,
.practice-card .btn-nav, .lg-card .btn-primary, .card.px-actions .btn-primary, .drill-actions .btn-primary, .h9-dpill, .ab-pill, .wt-badge, .pe-new, .fp-count {
  background: var(--acc) !important; color: var(--acc-ink) !important; border: 0 !important; box-shadow: none;
}
.btn-primary:hover, .h9-pill:hover, .h9-now-go:hover, .btn.vr-start:hover { filter: brightness(1.05); color: var(--acc-ink) !important; }
.btn-ghost, .btn-soft, .btn-nav, .btn.btn-nav, .icon-btn, .h9-pv-btn, .lb-pills button, .wp-chips button, .vr-goal button, .cv-switch, .px-switch, .tab, .seg button, .rate button, .opt, .xr-opt, .vr-opt, .lg-card .btn-soft {
  background: var(--nm) !important; color: var(--text) !important; border: 0 !important; box-shadow: var(--line) !important;
}
.tabs { background: transparent; gap: 12px; }
.tab[aria-selected="true"], .tabs.tabs-sub .tab[aria-selected="true"], .main.has-band .tab[aria-selected="true"], .seg button[aria-current="true"], .lb-pills button[aria-selected="true"],
.vr-goal button[aria-checked="true"], .cv-switch button[aria-selected="true"], .px-switch a[aria-current], .opt[aria-pressed="true"], .xr-opt[aria-pressed="true"], .tabs.pf-tabs .tab[aria-selected="true"] {
  background: var(--nm) !important; color: var(--acc) !important; box-shadow: inset 0 0 0 1px var(--border) !important;
}
.px-switch a[aria-current] b, .px-switch a[aria-current] small { color: var(--acc) !important; }
.cv-switch button { box-shadow: none !important; background: transparent !important; }
.px-switch, .cv-switch { padding: 6px; border-radius: 8px; }
.rate .again { color: #D64550 !important; } .rate .hard { color: #D98324 !important; } .rate .good { color: var(--acc) !important; } .rate .easy { color: #1E9E6A !important; }
.input, input.input, select.input, textarea.input, input[type="search"].input { background-color: var(--nm) !important; border: 0 !important; box-shadow: inset 0 0 0 1px var(--border) !important; color: var(--text); }
.chip { background: var(--nm) !important; color: var(--text) !important; box-shadow: var(--line); }
.chip.ok { color: var(--accent) !important; }

/* progress: blue gradient in a sunken track */
.bar, .vr-bar, .px-prog .bar, .pe-bars .bar, .wp-mine .bar, .g-sum .bar, .g-cur .bar { background: var(--nm-2) !important; box-shadow: inset 0 0 0 1px var(--border); height: 12px; border-radius: 8px; }
.bar > i, .bar.pri > i, .vr-fill, .px-prog .bar > i, .g-sum .bar > i, .g-cur .bar > i, .wp-mine .bar > i, .h9-spark i.on, .px-bars i { background: var(--acc) !important; }
.vr-fill em { background: var(--nm) !important; color: var(--text) !important; box-shadow: var(--line); }
.fp-ring, .fp-ring.vr-ring, .fp-ring.h9-now-ring, .vr-cheer-card .vr-ring-light { background: radial-gradient(closest-side, var(--nm) 80%, transparent 81% 100%), conic-gradient(var(--acc) 0, var(--acc) calc(var(--p) * 1%), var(--nm-2) 0) !important; box-shadow: var(--line); }
.fp-ring b, .vr-ring b, .h9-now-ring b { color: var(--text) !important; }

/* section tiles: soft square tiles, accent line icon */
.h9-tile .ic { background: var(--nm) !important; color: var(--acc) !important; box-shadow: inset 0 0 0 1px var(--border); }
.h9-tile .ic::after { display: none; }
.h9-tile .go { color: var(--muted); }
.practice-card .tile-icon { background: var(--nm) !important; color: var(--acc) !important; box-shadow: inset 0 0 0 1px var(--border); }
.practice-card .tile-icon::after { display: none; }

/* less text (author: «без лишних описаний») */
.page-band-s, .vr-sub, .tabs-label, .wl-head > p.small, .h9-hello p:not(.h9-hi):not(.h9-dpill), .px-mine > p, .wp-mine > p, .pe-prog > p, .lb-start > p, .wp-past-h small, .pe-hero-h small, .ab-line-h a span { display: none !important; }
.page-band-ic { background: var(--nm) !important; color: var(--acc) !important; box-shadow: var(--line); }
.page-band-t [lang="ko"] { color: var(--muted); }
.h9-pv-ko { color: var(--text) !important; } .h9-pv-label, .h9-pv-label [lang="ko"] { color: var(--muted) !important; }

.toast { background: var(--text); color: var(--nm); }

/* «Практика»: title + one segmented switch over the five practice pages */
.pr-title { margin: 6px 0 14px; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.pr-seg { display: inline-flex; gap: 4px; padding: 6px; border-radius: 8px; background: var(--nm); box-shadow: inset 0 0 0 1px var(--border); margin-bottom: 22px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pr-seg::-webkit-scrollbar { display: none; }
.pr-seg a { flex: none; padding: 10px 20px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; min-height: 44px; display: grid; place-items: center; transition: color .15s, box-shadow .2s; }
.pr-seg a:hover { color: var(--text); }
.pr-seg a[aria-current] { color: var(--acc-ink); background: var(--acc); box-shadow: none; }
.px-switch { display: none !important; }
.px-top { justify-content: flex-end; }
.practice-hub { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important; }
.card.practice-card { min-height: 0; gap: 10px; }
.practice-card h2 { color: var(--text) !important; font-size: 1.3rem; }
@media (max-width: 700px) {
  .pr-title { font-size: 1.8rem; margin: 0 0 10px; }
  .pr-seg { display: flex; margin-bottom: 14px; }
  .pr-seg a { padding: 8px 14px; font-size: 14px; }
  .practice-hub { grid-template-columns: 1fr !important; gap: 12px; }
  .card.practice-card { flex-direction: row; display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .card.practice-card .practice-note, .card.practice-card .bar, .card.practice-card .btn-nav { display: none; }
}

/* =========================================================
   HOME (design 41 / 42)
   ========================================================= */
.h9-dpill { display: inline-flex !important; gap: 6px; align-items: center; margin: 8px 0 0 !important; padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.h9-dpill b { color: var(--acc-ink) !important; }
.ap-row { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; align-items: stretch; }
@media (min-width: 1000px) { .ap-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .ap-row2 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.h9-now { display: grid !important; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "h h" "ring next" "go go"; align-items: center; gap: 18px 24px; padding: 26px 28px; text-align: left; }
.h9-now-h { grid-area: h; } .h9-now-ring { grid-area: ring; } .h9-now-next { grid-area: next; } .h9-now-go { grid-area: go; }
.h9-now-h b { font-size: 1.4rem; color: var(--text) !important; } .h9-now-h small { color: var(--muted) !important; font-size: 15px; }
.h9-now-cal { background: var(--nm) !important; color: var(--acc) !important; box-shadow: var(--line); }
.fp-ring.h9-now-ring { width: 140px; height: 140px; }
.h9-now-next small { color: var(--muted) !important; font-size: 14px; } .h9-now-next b { font-size: 1.5rem; color: var(--text) !important; }
.h9-now-go { display: flex !important; align-items: center; justify-content: center; gap: 10px; min-height: 60px; border-radius: 8px; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.h9-now-go svg { width: 22px; height: 22px; }
.ap-row > .h9-proverb { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 26px; margin: 0; }
.ap-row > .h9-proverb > div:first-child { max-width: 100%; }
.ap-row > .h9-proverb .h9-pv-ko { font-size: clamp(1.6rem, 1rem + 1.6vw, 2.3rem); }
.ap-row > .h9-proverb .h9-pv-img { width: 100%; height: 55%; top: auto; bottom: 0; object-position: right bottom; opacity: .9; -webkit-mask-image: linear-gradient(transparent, #000 50%); mask-image: linear-gradient(transparent, #000 50%); }
.ap-row > .h9-proverb .h9-pv-lit { font-size: 15px; }
.ap-tiles { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-tile { display: grid; justify-items: center; align-content: center; gap: 14px; min-height: 170px; padding: 18px 10px; border-radius: 10px; background: var(--nm); box-shadow: var(--line); color: var(--text); text-decoration: none; text-align: center; transition: box-shadow .25s, transform .25s var(--spring); }
.ap-tile:hover { color: var(--acc); transform: translateY(-3px); }
.ap-tile:active { box-shadow: inset 0 0 0 1px var(--border); transform: none; }
.ap-tile-ic { width: 64px; height: 64px; display: grid; place-items: center; color: var(--acc); }
.ap-tile-ic svg { width: 44px; height: 44px; stroke-width: 1.6; }
.ap-tile b { font-weight: 600; font-size: 16px; }
.ap-skills { display: grid; gap: 14px; padding: 22px 26px; border-radius: 10px; background: var(--nm); box-shadow: var(--line); color: var(--text); text-decoration: none; }
.ap-skills-h { display: flex; justify-content: space-between; align-items: center; } .ap-skills-h b { font-size: 1.2rem; } .ap-skills-h svg { width: 20px; height: 20px; color: var(--muted); }
.ap-bars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; }
.ap-bar { display: grid; justify-items: center; gap: 8px; }
.ap-bar-t { position: relative; width: 44px; height: 130px; border-radius: 8px; background: var(--nm-2); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; display: flex; align-items: flex-end; }
.ap-bar-t i { display: block; width: 100%; border-radius: 8px; background: var(--acc); background: var(--bar-fill); }
.ap-bar small { color: var(--muted); font-weight: 600; }
.main.home .exam-soon { margin-top: 22px; }
/* the old home blocks are gone; phones: «Сегодня», the proverb strip, then tiles and skills */
.h9-grid, .h9-sec-h, .h9-tiles { display: none !important; }
.h9-pv-strip { display: none !important; }
@media (max-width: 700px) {
  .h9-pv-strip { display: flex !important; }
  .ap-row > .h9-proverb { display: none !important; }
  .h9-now { grid-template-columns: minmax(0, 1fr); grid-template-areas: "h" "ring" "next" "go"; justify-items: center; text-align: center; padding: 20px; }
  .h9-now-h { justify-self: stretch; }
  .ap-row { gap: 14px; }
  .ap-tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ap-tile { min-height: 110px; }
  .ap-tile-ic svg { width: 34px; height: 34px; }
  .ap-bar-t { width: 34px; height: 100px; }
}
.h9-now-h { justify-self: stretch; display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.h9-now-h b { display: block; } .h9-now-h small { display: block; }
.h9-now-cal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.h9-now-cal svg { width: 20px; height: 20px; }
.h9-now-next { margin: 0; display: grid; gap: 4px; }
.h9-now-ring { display: grid; place-content: center; text-align: center; border-radius: 50%; }
.h9-now-ring b { font-size: 1.6rem; }
.ap-row > .h9-proverb { align-content: start; padding-bottom: 150px; }
.ap-row > .h9-proverb .h9-pv-img { -webkit-mask-image: linear-gradient(transparent, #000 50%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 50%, #000 90%, transparent); }

/* Лексика (design 43): one «Кругов в день ▾», round dots only when few, soft steps */
.vr-goal, .vr-hint > span { display: none !important; }
.vr-goal-sel { display: flex !important; align-items: center; gap: 10px; justify-self: end; grid-column: 2; font-size: 14px; color: var(--muted); font-weight: 600; }
.vr-goal-sel select { width: auto; min-height: 44px; border-radius: 8px !important; padding: 6px 16px; font-weight: 700; box-shadow: var(--line) !important; }
.vr-hint { background: transparent !important; padding: 0; }
.vr-rounds.is-many { display: none !important; }
.vr-today { grid-template-columns: auto minmax(0, 1fr) auto; }
.vr-today-h small { display: none; }
.vr-n { background: var(--nm) !important; box-shadow: var(--line); color: var(--muted); }
.vr-steps li.is-done .vr-n { background: var(--acc) !important; color: var(--acc-ink) !important; box-shadow: none; }
.vr-steps li.is-cur .vr-n { background: var(--nm) !important; color: var(--acc) !important; box-shadow: inset 0 0 0 1px var(--border) !important; }
.vr-steps li + li::before { background: var(--nm-2) !important; box-shadow: inset 0 0 0 1px var(--border); }
.vr-steps li.is-done + li::before { background: var(--acc) !important; }
.vr-stage { background: transparent !important; }
.vr-grid li { background: var(--nm) !important; box-shadow: var(--line); }
.vr-grid li.is-ok i { background: var(--acc) !important; }
.vr-grid li.is-ok { background: var(--nm) !important; }
.vr-rounds li.is-done i, .vr-rounds li.is-cur i { background: var(--acc) !important; }
@media (max-width: 700px) { .vr-today { grid-template-columns: 1fr; } .vr-goal-sel { justify-self: stretch; justify-content: space-between; grid-column: auto; } }
.practice-card > .row .chip { order: 3; }
@media (max-width: 700px) { .card.practice-card .chip { display: none; } }
.lg-hero { background: #1C1C1A !important; color: #F7F3EA !important; border-radius: 0 !important; }
.lg-hero .lg-ko, .lg-hero .lg-lav { color: #F6D872 !important; } .lg-hero .lg-quote { color: #BDB7AA !important; } .lg-hero::after { background: linear-gradient(transparent, #1C1C1A) !important; }
.lg-land { opacity: .45 !important; } .lg-how li, .lg-feat li { border-radius: 8px !important; } .lg-how small { color: #BDB7AA !important; }
.lg-how b, .lg-feat li:first-child { background: #F6D872 !important; color: #1C1C1A !important; border-color: #F6D872 !important; }
.login, .lg-side { background: var(--bg) !important; } .lg-card { background: var(--surface) !important; border: 1px solid var(--border) !important; box-shadow: none !important; border-radius: 10px !important; } .lg-brand img { box-shadow: none !important; background: #F6D872 !important; }
.lg-top .kn-petals { display: none; }
@media (min-width: 900px) { .login { background: var(--bg) !important; } .lg-side { border-radius: 0 !important; } }
.h9-now-day { display: block; color: var(--muted); text-decoration: none; font-size: 15px; } .h9-now-day:hover { color: var(--acc); }
:root[data-theme="dark"] .h9-pv-img, :root[data-theme="dark"] .lg-land { mix-blend-mode: screen !important; filter: invert(1) hue-rotate(180deg) brightness(.85) !important; opacity: .7 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .h9-pv-img { mix-blend-mode: screen !important; filter: invert(1) hue-rotate(180deg) brightness(.85) !important; opacity: .7 !important; } }
/* iPad check: the site-wide zoom off on this device (?nozoom=1) — Apple Pencil «Рукописный ввод» may not work with CSS zoom */
html.no-zoom { zoom: 1 !important; --zoom: 1 !important; }

/* Лексика → «Настройки колоды»: levels as toggle buttons (any combination) */
.lv-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.lv-chips button { flex: 1 1 0; min-width: 52px; min-height: 40px; border: 0; border-radius: 12px; font: inherit; font-weight: 600; cursor: pointer; color: var(--muted, #6B7280); background: var(--nm); box-shadow: var(--line); }
.lv-chips button[aria-pressed="true"] { color: var(--acc-ink); background: var(--acc); box-shadow: inset 0 0 0 1px var(--border); }
.lv-chips button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ---------- TOPIK Ⅰ track (t1/*.html, assets/js/t1.js) ---------- */
.t1-hello { font-size: 30px; margin: 4px 0 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.t1-hello small { font-size: 14px; font-weight: 600; color: var(--muted); }
.t1-today { margin-bottom: 18px; }
.t1-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.t1-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.t1-tile .tile-icon { margin-bottom: 6px; }
.t1-bar { display: block; height: 8px; border-radius: 99px; background: var(--nm); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; margin-top: 6px; }
.t1-bar i { display: block; height: 100%; border-radius: inherit; background: var(--acc); }
.t1-types { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.t1-types a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; background: var(--nm); box-shadow: var(--line); color: inherit; text-decoration: none; }
.t1-types a:hover { box-shadow: var(--line); }
.t1-n { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; background: var(--nm); box-shadow: inset 0 0 0 1px var(--border); }
.t1-types a.is-seen .t1-n { color: var(--acc-ink); background: var(--acc); box-shadow: none; }
.t1-n i svg { width: 20px; height: 20px; }
.t1-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.t1-tt small { color: var(--muted); }
.t1-types .chev svg { width: 18px; height: 18px; color: var(--muted); }
.t1-type-h h2 { margin: 10px 0 4px; }
.t1-type-h p { margin: 0 0 8px; }
.t1-type-nav { margin-top: 8px; }
.t1-me { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.t1-me-av { border-radius: 50%; }
.t1-me-nums { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.t1-me-nums span { display: flex; flex-direction: column; }
.t1-me-nums b { font-size: 22px; }
.t1-me-nums small { color: var(--muted); }
.t1-avatars { display: flex; flex-wrap: wrap; gap: 10px; }
.t1-avatars button { padding: 3px; border: 0; border-radius: 50%; background: var(--nm); box-shadow: var(--line); cursor: pointer; }
.t1-avatars button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--acc); }
.t1-avatars img { display: block; border-radius: 50%; }
/* grammar cards from Notion (t1/data/grammar-details.js) */
.g-md > :first-child { margin-top: 0; }
.g-md p { margin: 0 0 10px; }
.g-md blockquote { margin: 0 0 12px; padding: 10px 14px; border-left: 3px solid var(--acc); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--acc) 7%, transparent); }
.g-md blockquote p:last-child { margin-bottom: 0; }
.g-md h3, .g-md h4 { font-size: 15px; margin: 14px 0 6px; }
.g-md ul, .g-md ol { margin: 0 0 10px; padding-left: 22px; }
.g-md li { margin: 4px 0; }
.g-md .table-wrap { margin: 0 0 12px; }
.g-md details.t1-toggle { margin: 6px 0 12px; padding: 10px 14px; border-radius: 14px; background: var(--nm); box-shadow: var(--line); }
.g-md details.t1-toggle > summary { cursor: pointer; font-weight: 600; }
.g-md details.t1-toggle[open] > summary { margin-bottom: 8px; }
@media (max-width: 700px) { .t1-me-nums { margin-left: 0; gap: 16px; } .t1-hello { font-size: 24px; } }

/* =========================================================
   MENU AND TOP BAR of 12.11
   ========================================================= */
.sidebar .nav .nav-ic, .sidebar .nav .nav-ic:not(.t-base) { width: 36px; height: 36px; border-radius: 10px; box-shadow: none; transform: none !important; }
.sidebar .nav .nav-ic svg { width: 19px; height: 19px; color: #1C1C1A !important; }
.sidebar .nav .nav-ic.t-base { background: #32312E !important; } .sidebar .nav .nav-ic.t-base svg { color: #F7F3EA !important; }
.sidebar .nav .nav-ic.t-vocab { background: #F6D872 !important; } .sidebar .nav .nav-ic.t-grammar { background: #F3BCD2 !important; }
.sidebar .nav .nav-ic.t-listen { background: #B9CAF0 !important; } .sidebar .nav .nav-ic.t-read { background: #BCCA82 !important; }
.sidebar .nav .nav-ic.t-write { background: #D3C0EF !important; } .sidebar .nav .nav-ic.t-exam { background: #F6C09A !important; }
.sidebar .nav a[aria-current="page"] .nav-ic.t-base { background: #EAE3D5 !important; } .sidebar .nav a[aria-current="page"] .nav-ic.t-base svg { color: #1C1C1A !important; }
.sidebar .nav .nav-en { display: block; font-size: 12.5px; font-weight: 400; color: var(--side-muted); }
.sidebar .nav-label { color: var(--side-muted); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 600; }
.sidebar .brand { display: flex; align-items: center; gap: 14px; padding: 22px 22px 18px; color: #F7F3EA; }
.sidebar .brand-mark { background: #F6D872 !important; color: #1C1C1A; border: 0; border-radius: 8px; width: 46px; height: 46px; display: grid; place-items: center; flex: none; --logo-glass: #1C1C1A; }
.sidebar .brand-mark svg { width: 36px; height: 36px; }
.sidebar .brand-sub { color: var(--side-muted); letter-spacing: .14em; }
.sidebar-foot { color: var(--side-muted); } .sidebar-foot a { color: #fff; } .sidebar .acct { background: #2B2A27; border-radius: 8px; color: #fff; }
.rail-btn { display: none !important; }
.menu-btn { border-radius: 8px; } .menu-btn svg { width: 24px; height: 24px; }
.topbar { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--border); border-radius: 0; height: 64px; }
.topbar .icon-btn { background: transparent !important; box-shadow: none !important; border-radius: 50%; }
.topbar .title { font-weight: 700; font-size: 17px; text-align: left; }
.top-av img { box-shadow: none; }
@media (min-width: 1024px) {
  .top-menu-btn { display: grid !important; }
  .sidebar { background: var(--side) !important; box-shadow: none; overflow-y: auto; overflow-x: hidden; }
  .sidebar .nav { padding: 4px 14px 10px; }
  .sidebar .nav a, .sb-wide .sidebar .nav a { flex-direction: row; justify-content: flex-start; text-align: left; gap: 12px; min-height: 54px; padding: 8px 11px; margin: 2px 0; border-radius: 10px; color: var(--side-fg); white-space: normal; }
  .sidebar .nav a > span:nth-child(2) { font-size: 16px; font-weight: 600; line-height: 1.25; opacity: 0; }
  .sb-wide .sidebar .nav a > span:nth-child(2) { opacity: 1; font-size: 16px; }
  .sidebar .nav a:hover { background: #2B2A27; }
  .sidebar .nav a[aria-current="page"] { background: #F7F3EA; color: #1C1C1A; } .sidebar .nav a[aria-current="page"] .nav-en { color: #5E5B54; }
  .sidebar .nav a[aria-current="page"]::before, .sidebar .nav a[aria-current="page"]::after { display: none; }
  html:not(.sb-wide) .sidebar .brand { padding: 22px 19px 18px; } html:not(.sb-wide) .sidebar .brand > :not(.brand-mark) { display: none; }
  html:not(.sb-wide) .sidebar .nav a { width: 56px; padding: 8px 10px; } html:not(.sb-wide) .sidebar .nav a > span:nth-child(2) { display: none; }
  .sb-wide .sidebar .nav-label { padding: 18px 12px 8px; }
  .content { margin-left: var(--rail); } .sb-wide .content { margin-left: var(--sidebar); }
}
@media (max-width: 1023px) {
  .sidebar { background: var(--side) !important; border-radius: 0; }
  .sidebar .nav a { color: var(--side-fg); border-radius: 10px; } .sidebar .nav a[aria-current="page"] { background: #F7F3EA !important; color: #1C1C1A !important; } .sidebar .nav a[aria-current="page"] .nav-en { color: #5E5B54; }
  .topbar { height: 48px; }
}
/* phone: the bar with five buttons stays, in the black of the menu */
.tabbar { background: #1C1C1A !important; box-shadow: none !important; border-radius: 16px; padding: 6px; }
.tabbar a { color: #B3AD9F !important; border-radius: 12px; } .tabbar a[aria-current] { color: #F6D872 !important; }
.tabbar a[aria-current] .tb-ic { background: #F6D872 !important; color: #1C1C1A !important; width: 48px; border-radius: 10px; }

/* =========================================================
   SECTION BANDS, TABS, BUTTONS, CARDS
   ========================================================= */
.page-band { background: var(--tone-soft, #EAE3D5) !important; border-radius: 8px; padding: 20px 22px !important; margin-bottom: 18px; color: #1C1C1A; }
.page-band.t-vocab { --tone-soft: var(--t-vocab-soft); } .page-band.t-grammar { --tone-soft: var(--t-grammar-soft); } .page-band.t-listen { --tone-soft: var(--t-listen-soft); }
.page-band.t-read { --tone-soft: var(--t-read-soft); } .page-band.t-write { --tone-soft: var(--t-write-soft); } .page-band.t-exam { --tone-soft: var(--t-exam-soft); }
.page-band-t { color: #1C1C1A !important; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; margin: 0; } .page-band-t [lang="ko"] { color: rgba(28, 28, 26, .6); }
.page-band-s { display: block !important; color: rgba(28, 28, 26, .75) !important; margin: 2px 0 0; }
.page-band-ic { background: rgba(255, 253, 248, .7) !important; color: #1C1C1A !important; box-shadow: none !important; }
.pr-title { display: flex; align-items: center; background: var(--t-listen-soft); color: #1C1C1A; border-radius: 8px; padding: 22px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 14px; }
.main[data-page="past"] > .pr-title { background: var(--t-exam-soft); } .main[data-page="writing"] > .pr-title { background: var(--t-write-soft); } .main[data-page="reading"] > .pr-title, .main[data-page="drill"] > .pr-title { background: var(--t-read-soft); }
.pr-seg { background: transparent; box-shadow: none; padding: 0; gap: 6px; border-radius: 0; flex-wrap: wrap; }
.pr-seg a { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 8px; } .pr-seg a[aria-current] { background: #1C1C1A; color: #F7F3EA; border-color: #1C1C1A; }
:root[data-theme="dark"] .pr-seg a[aria-current] { background: #F2EEE6; color: #1C1C1A; }
.card, .btn, .tab, .chip, .input, .opt { transition: background .15s, border-color .15s, box-shadow .2s; }
.btn:hover, .tab:hover, .seg button:hover, .px-switch a:hover { transform: none; }
.btn { border-radius: 8px; } .chip { border-radius: 4px; background: var(--primary-soft) !important; box-shadow: none; } .chip.ok { background: var(--accent-soft) !important; color: var(--accent) !important; } .chip.warn { background: var(--warn-soft) !important; color: var(--warn) !important; } .chip.bad-chip, .chip.bad { background: var(--danger-soft) !important; color: var(--danger) !important; }
.btn-primary, .h9-pill, .h9-now-go, .px-go, .g-cur-go, .btn.vr-start, .btn.btn-lime, .btn.pe-start, .btn.wp-rnd, .btn.px-mock, .cv-exam, .btn.cv-start, .xr-submit, .practice-card .btn-nav, .lg-card .btn-primary, .card.px-actions .btn-primary, .drill-actions .btn-primary, .ab-pill { border-radius: 8px !important; box-shadow: none !important; }
:root[data-theme="dark"] :is(.btn-primary, .btn-primary:hover) { background: #F2EEE6 !important; color: #1C1C1A !important; }
.tab, .tabs.tabs-sub .tab { border-radius: 8px !important; border: 1px solid var(--border) !important; box-shadow: none !important; }
.tab[aria-selected="true"], .tabs.tabs-sub .tab[aria-selected="true"], .main.has-band .tab[aria-selected="true"], .main.has-band .tabs.tabs-sub .tab[aria-selected="true"], .tabs.pf-tabs .tab[aria-selected="true"] { background: var(--tone-now, #EAE3D5) !important; color: #1C1C1A !important; border-color: #1C1C1A !important; box-shadow: none !important; }
.main.t-vocab, .main[data-page="vocabulary"] { --tone-now: var(--t-vocab-soft); } .main.t-grammar { --tone-now: var(--t-grammar-soft); } .main.t-read, .main[data-page="reading"], .main[data-page="drill"] { --tone-now: var(--t-read-soft); } .main[data-page="listening"] { --tone-now: var(--t-listen-soft); } .main.t-write, .main[data-page="writing"] { --tone-now: var(--t-write-soft); } .main[data-page="past"] { --tone-now: var(--t-exam-soft); } .main[data-page="profile"] { --tone-now: #EAE3D5; }
.seg button[aria-current="true"], .lb-pills button[aria-selected="true"], .vr-goal button[aria-checked="true"], .cv-switch button[aria-selected="true"], .opt[aria-pressed="true"], .xr-opt[aria-pressed="true"], .lv-chips button[aria-pressed="true"] { background: var(--tone-now, #EAE3D5) !important; color: #1C1C1A !important; box-shadow: 0 0 0 1px #1C1C1A !important; }
.seg button[aria-current="true"] small { color: rgba(28, 28, 26, .7) !important; }
.input, input.input, select.input, textarea.input, input[type="search"].input { background-color: var(--surface) !important; border-radius: 8px !important; }
.bar, .vr-bar, .px-prog .bar, .pe-bars .bar, .wp-mine .bar, .g-sum .bar, .g-cur .bar { background: #E7DFD0 !important; box-shadow: none; height: 8px; border-radius: 4px; } :root[data-theme="dark"] .bar { background: #3B3A36 !important; }
.bar > i, .bar.pri > i, .vr-fill { border-radius: 4px; }
.rate .again { background: #F5DDD8 !important; color: #7C241B !important; } .rate .hard { background: #F4E7C8 !important; color: #6A4600 !important; } .rate .good { background: #DCEEDD !important; color: #1F5A33 !important; } .rate .easy { background: #B9CAF0 !important; color: #1F356B !important; } .rate button { border-radius: 8px; box-shadow: none !important; }
.flash, .face { border-radius: 16px; } .face { background: var(--surface) !important; border: 1px solid var(--border) !important; box-shadow: none !important; } .face.back { background: #FBF6EA !important; } :root[data-theme="dark"] .face.back { background: #2D2C29 !important; } .face .meaning { color: var(--text) !important; }
.kn-petals { display: none; }
.practice-card .tile-icon, .h9-tile .ic { background: var(--tone-ic, #EAE3D5) !important; color: #1C1C1A !important; box-shadow: none !important; border-radius: 10px !important; }
.t-vocab { --tone-ic: var(--t-vocab-soft); } .t-grammar { --tone-ic: var(--t-grammar-soft); } .t-listen { --tone-ic: var(--t-listen-soft); } .t-read { --tone-ic: var(--t-read-soft); } .t-write { --tone-ic: var(--t-write-soft); } .t-exam { --tone-ic: var(--t-exam-soft); }
.vr-steps li.is-done .vr-n, .vr-grid li.is-ok i { background: var(--ok) !important; color: #fff !important; } .vr-steps li.is-cur .vr-n { background: var(--t-vocab-soft) !important; color: #1C1C1A !important; box-shadow: 0 0 0 1px #1C1C1A !important; }
.fp-tab { background: #1C1C1A; color: #F7F3EA; border-radius: 10px 0 0 10px; box-shadow: none; } .fp-tab:hover { background: #32312E; } .fp-count { background: #F6D872 !important; color: #1C1C1A !important; } .fp-panel { border-radius: 0; }
@media (max-width: 1023px) { .fp-tab { border-radius: 10px; } }
.toast { background: #1C1C1A; color: #F7F3EA; }
.wl-n, .wl-step .wl-n { background: var(--t-write-soft) !important; color: #1C1C1A !important; }

/* =========================================================
   HOME of 12.11: proverb in 원고지 cells · progress · «План на сегодня» on the Namsan photo
   ========================================================= */
.main.home .hello-av { box-shadow: none; } .main.home .hello-av img { border-radius: 50%; }
.main.home .home-top > * { margin: 0; }
.main.home .today-cover { background: #1C1C1A !important; color: #F7F3EA !important; border: 1px solid #1C1C1A !important; border-radius: 10px; box-shadow: none !important; }
.main.home .today-cover .btn-primary { background: #F7F3EA !important; color: #1C1C1A !important; } .main.home .today-cover .btn-ghost { background: transparent !important; color: #F7F3EA !important; border: 1px solid rgba(247, 243, 234, .4) !important; box-shadow: none !important; }
.main.home .today-cover .bar { background: rgba(247, 243, 234, .25) !important; } .main.home .today-cover .bar > i { background: #F6D872 !important; }
.main.home .today-cover .chip.ok { background: rgba(220, 238, 221, .92) !important; color: #1F5A33 !important; }
.ap-tile { border: 1px solid var(--border); box-shadow: none; min-height: 150px; } .ap-tile:hover { transform: none; border-color: #1C1C1A; color: var(--text); }
.ap-tile-ic { width: 56px; height: 56px; border-radius: 14px; color: #1C1C1A; background: #EAE3D5; } .ap-tile-ic svg { width: 28px; height: 28px; }
.ap-tile:nth-child(1) .ap-tile-ic { background: var(--t-vocab-soft); } .ap-tile:nth-child(2) .ap-tile-ic { background: var(--t-grammar-soft); } .ap-tile:nth-child(3) .ap-tile-ic { background: var(--t-listen-soft); } .ap-tile:nth-child(4) .ap-tile-ic { background: var(--t-exam-soft); }
.ap-skills { border: 1px solid var(--border); box-shadow: none; } .ap-bar-t { box-shadow: none; border-radius: 8px; background: #EDE7DB; } .ap-bar-t i { border-radius: 8px; }
.ap-bar:nth-child(1) i { background: #E2B637; } .ap-bar:nth-child(2) i { background: #E38DB2; } .ap-bar:nth-child(3) i { background: #7F9BDB; } .ap-bar:nth-child(4) i { background: #8EA04E; } .ap-bar:nth-child(5) i { background: #A88AD9; }
:root[data-theme="dark"] .ap-bar-t { background: #3B3A36; }

/* ---------- tuning (2026-11-30, after the screenshots) ---------- */
.sidebar .nav a[aria-current="page"] .nav-ic.t-vocab { background: #F6D872 !important; } .sidebar .nav a[aria-current="page"] .nav-ic.t-grammar { background: #F3BCD2 !important; } .sidebar .nav a[aria-current="page"] .nav-ic.t-listen { background: #B9CAF0 !important; }
.sidebar .nav a[aria-current="page"] .nav-ic.t-read { background: #BCCA82 !important; } .sidebar .nav a[aria-current="page"] .nav-ic.t-write { background: #D3C0EF !important; } .sidebar .nav a[aria-current="page"] .nav-ic.t-exam { background: #F6C09A !important; }
.sidebar .nav a[aria-current="page"] .nav-ic svg { color: #1C1C1A !important; }
.sidebar .acct { padding: 6px; margin: 0 0 12px; } .sidebar .acct:hover { background: #32312E; color: #fff; } .sidebar .acct b { color: #F7F3EA; } .sidebar .acct small { color: var(--side-muted); }
html:not(.sb-wide) .sidebar-foot { opacity: 0; } @media (max-width: 1023px) { html:not(.sb-wide) .sidebar-foot { opacity: 1; } }
.today-cover { --hero-h: clamp(260px, 14vw + 130px, 350px) !important; } @media (max-width: 640px) { .today-cover { --hero-h: 330px !important; } }
.slide-exam { font-size: 12px !important; letter-spacing: .1em !important; gap: 6px !important; } .slide-dday, .inv .slide-dday, .today-cover .slide-meta .slide-dday { background: transparent !important; color: inherit !important; padding: 0 !important; font: inherit !important; letter-spacing: inherit !important; }
.slide-dday::before { content: "· "; }
.card, .wl-head, .pe-card, .px-type, .lb-book, .lb-cover, .ab-hero, .access-hero, .hero, .fp-ring-card, .callout, .passage, .opt, .vr-opt, .xr-opt, .seg, .seg button, .lv-chips button, .vr-grid li, .ab-struct li, .acc, .cv-card, .table-wrap { border-radius: 10px !important; }
.lb-pills button, .ab-pills a, .px-switch { border-radius: 8px !important; }
.px-grid > *, .pe-grid > *, .t1-tiles > *, .pay-plans > *, .practice-hub > *, .g-folders > *, .grid > .card, .lb-grid > * { margin-top: 0 !important; }
:root[data-theme] .page-band-ic, .page-band-ic { background: rgba(255, 253, 248, .7) !important; color: #1C1C1A !important; } .page-band-ic svg { color: #1C1C1A !important; }

.pf-me, .pf-me :is(label, span, div, summary, small, b, p, .field, .input) { color: var(--text) !important; } .pf-me :is(.muted, small) { color: var(--muted) !important; } .pf-me .pf-seg button small:empty { display: none; } .pf-dot.g-f { background: #F3BCD2 !important; } .pf-dot.g-m { background: #B9CAF0 !important; }
.pf-me .pf-seg button[aria-checked="true"] { background: #EAE3D5 !important; box-shadow: inset 0 0 0 1px #1C1C1A !important; } .pf-me .pf-seg button[aria-checked="true"] * { color: #1C1C1A !important; }
.vr-flag, .vr-flag span { color: var(--text) !important; }
:root[data-theme="dark"] .progress-sum .nw, :root[data-theme="dark"] .progress-sum .nw * { color: #1C1C1A !important; } @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .progress-sum .nw, :root:not([data-theme="light"]) .progress-sum .nw * { color: #1C1C1A !important; } }
.lb-cover { border: 1px solid rgba(28, 28, 26, .12); color: #1C1C1A !important; background: #EAE3D5 !important; box-shadow: none !important; } .lb-book:nth-child(6n+1) .lb-cover { background: #F6D872 !important; } .lb-book:nth-child(6n+2) .lb-cover { background: #F3BCD2 !important; } .lb-book:nth-child(6n+3) .lb-cover { background: #B9CAF0 !important; } .lb-book:nth-child(6n+4) .lb-cover { background: #BCCA82 !important; } .lb-book:nth-child(6n+5) .lb-cover { background: #D3C0EF !important; } .lb-book:nth-child(6n) .lb-cover { background: #F6C09A !important; } .lb-cover b { color: #1C1C1A !important; } .lb-book:hover .lb-cover { transform: none; }
.lb-pills button[aria-selected="true"] { background: var(--t-write-soft) !important; color: #1C1C1A !important; }
.px-state, .pe-state, .pe-card .btn { border-radius: 8px !important; }

.pf-me .pf-goal, .pf-me .pf-seg, .pf-me .acc-body { background: transparent !important; } .pf-me .pf-seg button { background: var(--surface) !important; color: var(--text) !important; box-shadow: 0 0 0 1px var(--border) !important; border-radius: 8px !important; } .pf-me .pf-seg button * { color: var(--text) !important; }
.pf-me .pf-seg button[aria-checked="true"], .pf-me .pf-seg button[aria-pressed="true"] { background: #EAE3D5 !important; box-shadow: 0 0 0 1px #1C1C1A !important; color: #1C1C1A !important; } .pf-me .pf-seg button[aria-checked="true"] *, .pf-me .pf-seg button[aria-pressed="true"] * { color: #1C1C1A !important; }
.pf-me img { box-shadow: none !important; } .vr-today .vr-flag, .vr-today .vr-flag span, :root[data-theme="dark"] .vr-bar .vr-flag, :root[data-theme="dark"] .vr-bar .vr-flag * { color: var(--text) !important; background: transparent !important; }
.pe-hero-ic, .pe-hero .tile-icon, .pe-hero > span:first-child, .ab-hero .tile-icon { background: var(--t-exam-soft) !important; color: #1C1C1A !important; } .pe-hero-ic svg { color: #1C1C1A !important; }
:root[data-theme="dark"] :is(.bar, .vr-bar, .px-prog .bar, .pe-bars .bar, .wp-mine .bar, .g-sum .bar, .g-cur .bar) { background: #3B3A36 !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :is(.bar, .vr-bar, .px-prog .bar, .pe-bars .bar, .wp-mine .bar, .g-sum .bar, .g-cur .bar) { background: #3B3A36 !important; } }
.pe-ic { background: var(--t-exam-soft) !important; color: #1C1C1A !important; } .pe-ic svg { color: #1C1C1A !important; }
