:root {
  --bg: #f6f6f4; --surface: #ffffff; --fg: #17181a; --muted: #6a6d72; --line: #e4e4e0; --soft: #eeeeea;
  --accent: #2456e6; --accent-hover: #1c47c2; --accent-fg: #ffffff; --free: #157a45; --soon: #8a5a00;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 6px 20px rgba(20,20,20,.06); --shadow-hover: 0 2px 4px rgba(20,20,20,.06), 0 14px 32px rgba(20,20,20,.10);
  --r: 14px; --r-sm: 10px;
}
@media (prefers-color-scheme: dark) { :root {
  --bg: #0f1012; --surface: #17181b; --fg: #ececec; --muted: #9a9ea6; --line: #26282c; --soft: #1f2125;
  --accent: #6b8cff; --accent-hover: #86a1ff; --accent-fg: #0b0f1f; --free: #5ad08e; --soon: #e0b25a;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 6px 20px rgba(0,0,0,.4); --shadow-hover: 0 2px 4px rgba(0,0,0,.5), 0 14px 32px rgba(0,0,0,.5);
} }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif; background: var(--bg); color: var(--fg); }
body.no-scroll { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 1.25rem; }
p { margin: 0 0 .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dim { color: var(--muted); font-weight: 400; }
.small { font-size: .85rem; color: var(--muted); }
.lede { color: var(--muted); font-size: 1.05rem; }
code { font-size: .9em; background: var(--soft); padding: .1em .35em; border-radius: 4px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; display: flex; gap: 1rem; align-items: center; padding: .7rem 1.25rem; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
.brand-mark { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.top { justify-content: space-between; }
.topnav a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.topnav a:hover { color: var(--fg); }
@media (max-width: 640px) { .top { padding: .6rem .9rem; } }

main { max-width: 1480px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
@media (max-width: 640px) { main { padding: 1rem .9rem 2.5rem; } }
.foot { max-width: 1480px; margin: 0 auto; padding: 1.25rem 1.25rem 2.5rem; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.foot p { margin: .2rem 0; }

/* buttons */
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1.1rem; font: inherit; font-weight: 600; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--fg); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
button:hover, .button:hover { border-color: var(--fg); }
.button.primary, button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.button.primary:hover, button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.button.ghost { background: transparent; }
.button.small { padding: .45rem .9rem; font-size: .9rem; }
.button.wide { width: 100%; padding: .8rem 1.1rem; font-size: 1rem; }
.button:active, button:active { transform: translateY(1px); }
button[disabled] { opacity: .6; cursor: wait; }
.linkish { background: none; border: 0; padding: 0; color: var(--fg); text-decoration: underline; font-weight: 500; }

/* storefront: full-width content with a responsive filter bar */
.store { display: block; }
.side { margin-bottom: 1.25rem; }
.filters { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.chip { padding: .38rem .85rem; font-size: .875rem; font-weight: 500; border-radius: 999px; }
.chip .count { color: var(--muted); font-weight: 400; margin-left: .15rem; }
.chip.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.active .count { color: inherit; opacity: .7; }
.chip-sep { width: 1px; height: 22px; background: var(--line); margin: 0 .3rem; }
@media (max-width: 767px) {
  .side { display: none; }
}
@media (min-width: 1200px) {
  .store { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; }
  .side { position: sticky; top: 72px; align-self: start; margin-bottom: 0; }
  .side .filters { flex-direction: column; align-items: stretch; gap: .15rem; }
  .side .chip { justify-content: space-between; border-radius: var(--r-sm); border-color: transparent; background: transparent; padding: .5rem .75rem; font-size: .92rem; }
  .side .chip:hover { background: var(--soft); border-color: transparent; }
  .side .chip.active { background: var(--fg); color: var(--bg); }
  .side .chip-sep { width: auto; height: 1px; margin: .5rem .25rem; }
}
@media (min-width: 1600px) { .store { grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; } }
.intro { margin: .5rem 0 2rem; max-width: 760px; }
.eyebrow { display: block; margin-bottom: .45rem; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.intro h1 { font-size: clamp(2rem, 1.25rem + 2.5vw, 3.35rem); margin-bottom: .65rem; letter-spacing: -.035em; }
.intro .lede { margin: 0; max-width: 58ch; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
.intro-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.brand-line { margin: 1.1rem 0 0; color: var(--muted); font-size: .88rem; }

/* one product leads; the catalogue follows */
.spotlight { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.25rem; min-height: 220px; align-items: center; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 2.25rem; overflow: hidden; }
@media (min-width: 700px) { .spotlight { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; padding: 1.75rem 2rem; min-height: 300px; } }
.slide-text h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); margin: .6rem 0 .35rem; }
.slide-text p { color: var(--muted); font-size: 1rem; max-width: 40ch; }
.slide-text .spotlight-audience { color: var(--fg); font-size: .9rem; }
.slide-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.slide-media { display: block; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); background: var(--soft); aspect-ratio: 16 / 10; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* shelves */
.shelf { margin: 0 0 2.25rem; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: .9rem; }
.shelf-head h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.shelf-head p { margin: 0; font-size: .9rem; }
.shelf-labs .tile { box-shadow: none; }
.shelf-labs .tile-media { aspect-ratio: 16 / 7; }
.shelf-coming .tile { box-shadow: none; }
.shelf-coming .tile-media { aspect-ratio: 16 / 8; }
.tiles { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 400px) { .tiles { grid-template-columns: 1fr; } }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.tile-media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.tile-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile-blank { display: grid; place-items: center; background: linear-gradient(135deg, var(--soft), var(--surface)); }
.tile.soon .tile-img:not(.tile-blank) { filter: saturate(.6); }
.ribbon { position: absolute; top: .7rem; left: .7rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(0,0,0,.72); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.tile-body { display: grid; grid-template-columns: 44px 1fr auto; gap: .8rem; padding: .9rem 1rem 1rem; align-items: start; }
.tile-text { min-width: 0; overflow-wrap: anywhere; }
.tile h3 { font-size: 1.05rem; }
.tile h3 a { text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile { position: relative; }
.tile .tile-cta, .tile .tile-cta a { position: relative; z-index: 1; }
.tile .tagline { margin: .15rem 0 .35rem; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .tile-audience { margin: 0 0 .35rem; color: var(--fg); font-size: .82rem; }
.tile .meta { margin: 0; font-size: .78rem; color: var(--muted); }
.tile-cta { display: flex; flex-direction: column; align-items: flex-end; gap: .45rem; }
.price { font-weight: 700; font-size: .95rem; }
.price.free { color: var(--free); }
.price.soon { color: var(--soon); font-size: .85rem; }
.icon { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: var(--soft); flex: none; }
.icon-text { display: inline-grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--muted); }
.empty { color: var(--muted); padding: 2rem 0; text-align: center; }

/* product page */
.crumbs { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.product-top { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; margin-bottom: 2rem; }
.product-top > * { min-width: 0; }
.buybox .tagline, .buybox h1 { overflow-wrap: anywhere; }
@media (min-width: 900px) { .product-top { grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: 2rem; } }
.gallery-main { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.gallery-main img { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: var(--soft); }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.gallery-thumb { flex: none; width: 96px; height: 60px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--soft); }
.gallery-thumb.phone { width: 40px; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-caption { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); min-height: 1.3em; }
.gallery-empty { display: grid; place-items: center; min-height: 260px; border-radius: var(--r); background: linear-gradient(135deg, var(--soft), var(--surface)); border: 1px solid var(--line); }
.gallery-empty .icon { width: 96px; height: 96px; border-radius: 24px; }

.buybox { position: sticky; top: 72px; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
@media (max-width: 899px) { .buybox { position: static; order: -1; } }
.buybox-head { display: flex; gap: .9rem; align-items: center; margin-bottom: .75rem; }
.buybox-head .icon { width: 56px; height: 56px; border-radius: 14px; }
.buybox h1 { font-size: 1.45rem; }
.buybox .tagline { margin: .15rem 0 0; color: var(--muted); font-size: .95rem; }
.buybox-price { font-size: 1.6rem; font-weight: 700; margin: .25rem 0 .9rem; letter-spacing: -.02em; }
.buybox-price.free { color: var(--free); }
.buybox-price.soon { color: var(--soon); font-size: 1.1rem; }
.cta-form input { width: 100%; padding: .75rem .9rem; margin-bottom: .5rem; font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--fg); }
.cta-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.status { margin: .5rem 0 0; font-size: .82rem; color: var(--muted); min-height: 1.2em; }
.status.error { color: #c0392b; }
.more-downloads { margin-top: .6rem; }
.more-downloads summary { cursor: pointer; font-size: .9rem; color: var(--muted); }
.downloads { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .92rem; }
.downloads li { padding: .45rem 0; border-top: 1px solid var(--line); }
.downloads.compact li { padding: .3rem 0; border: 0; color: var(--muted); }
.highlights { margin: 1.1rem 0 0; padding: 0 0 0 1.1rem; }
.highlights li { margin: .3rem 0; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .9rem; margin: 1.1rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); }
.specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.specs dd { margin: .05rem 0 0; font-size: .9rem; font-weight: 600; }
.trust { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); }
.purchase-note { margin-top: .9rem; padding: .8rem .9rem; border-radius: var(--r-sm); background: var(--soft); font-size: .85rem; }
.purchase-note strong { display: block; margin-bottom: .15rem; }
.purchase-note p { margin: 0; color: var(--muted); }

.block { margin: 0 0 2rem; max-width: 780px; }
.block h2 { margin-bottom: .6rem; }
.block p, .block li { max-width: 68ch; }
.features { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); max-width: none; }
.block:has(.features) { max-width: none; }
.feature { padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { font-size: .95rem; }
.feature p { margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }
.plain { padding-left: 1.1rem; margin: 0; }
.plain li { margin: .25rem 0; }
.details { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: none; }
.details h3 { font-size: .95rem; margin-bottom: .4rem; }
.details p, .details li { font-size: .92rem; color: var(--muted); }
.details .links li { color: var(--fg); }
details { border-top: 1px solid var(--line); padding: .55rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; list-style-position: outside; }
details p { margin: .45rem 0 0; color: var(--muted); }
details.fold { border: 0; padding: 0; }
details.fold summary h2 { display: inline; }
details.fold ul { margin-top: .6rem; }
.embed { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--soft); margin-bottom: .9rem; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-gif { border-radius: var(--r); border: 1px solid var(--line); margin-bottom: .9rem; }
.credits { max-width: 780px; }
.section { margin: 2.5rem 0 0; }
.section h2 { margin-bottom: 1rem; }
.warn { padding: .6rem .8rem; background: color-mix(in srgb, var(--soon) 15%, var(--surface)); border-radius: 8px; display: inline-block; }

/* order + notices */
.order-line { display: flex; gap: .9rem; align-items: center; margin: 1rem 0 1.5rem; }
.order h1, .notice h1, .admin h1 { font-size: 1.6rem; margin-bottom: .5rem; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 2rem; background: rgba(0,0,0,.88); }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 10px; }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.15); border: 0; color: #fff; font-size: 1.5rem; }
.lb-cap { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #ddd; font-size: .9rem; margin: 0; }

/* admin */
.admin-cards { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin: 1rem 0 2rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
tr:last-child td { border-bottom: 0; }
.ok { color: var(--free); font-weight: 600; }
.pending { color: var(--soon); font-weight: 600; }

/* header cta */
.topnav { display: flex; gap: 1rem; align-items: center; }
.topnav-cta { padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--fg) !important; font-weight: 600; }
.topnav-cta:hover { border-color: var(--fg); }
.topnav a { white-space: nowrap; }
@media (max-width: 640px) { .topnav a:nth-child(2) { display: none; } .topnav { gap: .65rem; } .hide-s { display: none; } .brand { font-size: .9rem; } }
@media (max-width: 390px) { .topnav > a:not(.topnav-cta) { display: none; } }

/* subscribe strip + request card */
.subscribe { margin: 0 0 2rem; padding: 1rem 1.25rem; border: 1px dashed var(--line); border-radius: var(--r); background: var(--surface); }
.subscribe-label { display: block; font-weight: 600; margin-bottom: .5rem; }
.subscribe .inline { display: flex; gap: .5rem; flex-wrap: wrap; }
.subscribe input[type=email] { flex: 1; min-width: 220px; padding: .65rem .9rem; font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg); color: var(--fg); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.request-card { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-radius: var(--r); background: var(--fg); color: var(--bg); margin-top: 1rem; }
.request-card h2 { font-size: 1.15rem; }
.request-card p { margin: .25rem 0 0; color: inherit; opacity: .75; }
.request-card .button.primary { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.custom-service { margin: 0 0 2.25rem; padding: clamp(1.25rem, 2vw, 2rem); }
.custom-service > div { max-width: 720px; }
.custom-service h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); }
.custom-service .eyebrow { color: inherit; opacity: .65; }
.studio-principle { margin: 0 0 2.25rem; padding: clamp(1.25rem, 2vw, 2rem); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.studio-principle h2 { max-width: 760px; font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem); }
.studio-principle p { margin: .7rem 0 0; color: var(--muted); }
.labs-fold { margin-bottom: 2.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.labs-fold > summary { cursor: pointer; padding: 1rem 0; font-weight: 700; list-style-position: inside; }
.labs-fold > summary span { margin-left: .4rem; color: var(--muted); font-weight: 400; font-size: .9rem; }
.labs-fold[open] > summary { margin-bottom: 1rem; }
.labs-fold .shelf { margin-bottom: 1rem; }
.studio-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0 0 2.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); }
.studio-trust div { padding: 1.1rem; background: var(--surface); }
.studio-trust strong, .studio-trust span { display: block; }
.studio-trust span { margin-top: .35rem; color: var(--muted); font-size: .88rem; }
@media (max-width: 760px) {
  .studio-trust { grid-template-columns: 1fr; }
  .custom-service { align-items: flex-start; }
  .custom-service .button { width: 100%; }
}

/* request form */
.request-grid { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .request-grid { grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); align-items: start; } .meter { position: sticky; top: 72px; } }
.request h1 { font-size: 1.9rem; margin-bottom: .4rem; }
.request h2 { font-size: 1.05rem; margin: 1.5rem 0 .75rem; }
.fields { display: grid; gap: .9rem 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.field .req { font-weight: 400; color: var(--muted); font-size: .8rem; margin-left: .3rem; }
.field input, .field textarea, .field select { width: 100%; padding: .65rem .8rem; font: inherit; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--fg); }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field .hint { margin: .3rem 0 0; font-size: .8rem; color: var(--muted); }
.field-error { margin: .3rem 0 0; font-size: .8rem; color: #c0392b; min-height: 0; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.submit-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0 .75rem; }
.meter { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.meter h2 { font-size: 1.05rem; margin: 0 0 .75rem; }
.meter h3 { font-size: .9rem; margin: 1.1rem 0 .4rem; }
.meter-bar { height: 10px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.meter-fill { height: 100%; width: 0; background: var(--soon); transition: width .25s ease, background .25s ease; }
.meter-fill[data-tier="clear"] { background: #c98a1a; }
.meter-fill[data-tier="detailed"] { background: var(--accent); }
.meter-fill[data-tier="ready"] { background: var(--free); }
.meter-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.meter-face { font-size: 2rem; line-height: 1; }
.meter-score strong { font-size: 1.15rem; }
.meter-num { color: var(--muted); font-weight: 600; margin-left: .35rem; }
.meter-bar { position: relative; }
.meter-ticks span { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--bg); transform: translateX(-1px); }
.meter-note { margin: .6rem 0 .1rem; }
.meter-next { margin: 0 0 .9rem; font-weight: 600; color: var(--accent); }
.tiers li { display: grid; grid-template-columns: 1.4em 5em minmax(0, 1fr) auto; gap: .4rem; align-items: baseline; }
.tiers li em { font-style: normal; }
.tiers li small { color: var(--muted); }
.todo { list-style: none; padding: 0; margin: 0; }
.todo li { display: grid; grid-template-columns: 1.2em 1fr auto; gap: .5rem; align-items: center; padding: .35rem .4rem; border-radius: 8px; font-size: .9rem; }
.todo li:not(.done) { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.todo li .mark { width: 1.05em; height: 1.05em; border-radius: 50%; border: 2px solid var(--line); }
.todo li.done .mark { border-color: var(--free); background: var(--free); position: relative; }
.todo li.done .mark::after { content: ""; position: absolute; left: .28em; top: .08em; width: .3em; height: .55em; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.todo li.done { color: var(--muted); }
.todo li.done .todo-text { text-decoration: line-through; }
.todo li .pts { font-weight: 700; color: var(--accent); }
.todo li.done .pts { color: var(--muted); font-weight: 500; }
.meter-label { margin: .6rem 0 .9rem; }
.tiers { list-style: none; padding: 0; margin: 0; }
.tiers li { padding: .45rem .6rem; border-radius: 8px; font-size: .9rem; color: var(--muted); }
.tiers li strong { color: var(--fg); display: inline-block; min-width: 3.2em; }
.tiers li.active { background: var(--soft); color: var(--fg); }
td.wrap { white-space: normal; min-width: 280px; max-width: 480px; }
