/* Sprout Classroom public website (wiki PRD 16): Duolingo-style structure in Sprout colours.
   Colour pairs used for text are checked for WCAG AA. */

:root {
  --font-head: "Huninn", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --font-body: "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
  --bg: #FFFFFF;
  --paper: #FFFDF5;
  --tint: #F0FDF4;
  --ink: #1F2937;
  --mute: #4B5563;
  --line: #E5E7EB;
  --brand: #15803D;        /* white on it 5.0:1 */
  --brand-dark: #0F5F2D;   /* 3D button edge */
  --brand-bright: #22C55E; /* decoration only */
  --leaf: #4ADE80;
  --sun: #FFC93C;
  --sun-dark: #E0A100;
  --sky: #4FB6FF;
  --sky-ink: #075985;
  --navy: #0F172A;
  --navy-2: #1E293B;
  --red-pen: #E5484D;
  --radius: 18px;
  --gutter: 16px;
  --max: 1040px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.75 var(--font-body); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .4em; font-weight: 400; }
h1 { font-size: clamp(30px, 5.4vw, 46px); }
h2 { font-size: clamp(26px, 4.4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 .9em; }
a { color: var(--brand); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mute { color: var(--mute); }
.small { font-size: 14px; }
.green { color: var(--brand); }

/* Buttons: big, rounded, with a 3D bottom edge */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px; border-radius: 16px; border: 2px solid transparent; font: 700 17px/1.2 var(--font-body); letter-spacing: .08em; text-decoration: none; cursor: pointer; transition: transform .08s, box-shadow .08s, filter .15s; }
.btn-main { background: var(--brand); color: #fff; box-shadow: 0 5px 0 var(--brand-dark); }
.btn-main:hover { filter: brightness(1.08); }
.btn-main:active { transform: translateY(5px); box-shadow: 0 0 0 var(--brand-dark); }
.btn-line { background: #fff; color: var(--brand); border-color: var(--line); box-shadow: 0 4px 0 var(--line); }
.btn-line:active { transform: translateY(4px); box-shadow: none; }
.btn-wide { width: 100%; max-width: 340px; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; border-radius: 13px; box-shadow: 0 4px 0 var(--brand-dark); }

/* Header */
.top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 2px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 30px; width: auto; display: block; }
@media (max-width: 420px) { .logo img { height: 24px; } }
.top .btn { opacity: 1; transition: opacity .2s; }
.home .top:not(.scrolled) .btn { opacity: 0; pointer-events: none; }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; justify-items: center; text-align: center; }
@media (min-width: 860px) { .hero { padding: 72px 0 96px; } .hero .wrap { grid-template-columns: 1fr 1fr; gap: 48px; } }
.hero h1 { color: var(--ink); max-width: 13em; margin: 0 auto 28px; }
.hero h1 b { color: var(--brand); font-weight: 400; }
.hero .cta { display: grid; gap: 14px; justify-items: center; }
.hero .note { font-size: 14px; color: var(--mute); }
.stage { position: relative; width: min(420px, 86vw); aspect-ratio: 1; display: grid; place-items: center; }
.stage .blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: var(--tint); }
.stage .sprout-big { position: relative; animation: bob 3.2s ease-in-out infinite; }
.chip { position: absolute; display: grid; place-items: center; font: 700 22px/1 var(--font-body); color: #fff; width: 58px; height: 58px; border-radius: 16px; box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.chip.c1 { background: var(--sky); top: 8%; left: 6%; transform: rotate(-10deg); }
.chip.c2 { background: var(--sun); color: var(--ink); top: 14%; right: 4%; transform: rotate(8deg); }
.chip.c3 { background: var(--red-pen); bottom: 12%; left: 2%; transform: rotate(6deg); }
.chip.c4 { background: var(--brand); bottom: 6%; right: 10%; transform: rotate(-6deg); font-size: 18px; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .stage .sprout-big { animation: none; } html { scroll-behavior: auto; } }

/* Form strip under the hero (like Duolingo's language strip) */
.strip { border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.strip .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.strip .wrap::-webkit-scrollbar { display: none; }
.strip a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; color: var(--mute); font-weight: 700; text-decoration: none; letter-spacing: .04em; font-size: 15px; }
.strip a:hover { background: var(--tint); color: var(--brand); }
.strip .dot { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: #fff; background: var(--brand); }
.strip .dot.dse { background: var(--navy); }
.strip.subjects .wrap > * { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: 15px; }
.strip.subjects a { color: var(--brand); background: var(--tint); }
.strip.subjects small { font-size: 12px; font-weight: 700; color: var(--brand); }
.strip.subjects .soon { color: var(--mute); }
.strip.subjects .soon .dot { background: #CBD5D0; }
.strip.subjects .soon small { color: var(--mute); font-weight: 400; }

/* Feature blocks */
.feat { padding: 64px 0; }
.feat .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .feat { padding: 88px 0; } .feat .wrap { grid-template-columns: 1fr 1fr; gap: 64px; } .feat.flip .art { order: -1; } }
.feat h2 { color: var(--brand); }
.feat p { font-size: 18px; color: var(--mute); max-width: 30em; }
.art { display: grid; place-items: center; min-height: 300px; }

/* Illustration cards */
.card3d { background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 6px 0 var(--line); padding: 20px; width: min(360px, 88vw); }
.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font: 600 18px/1.4 "Noto Sans TC", sans-serif; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--paper); }
.steps .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-bright); color: #fff; display: grid; place-items: center; font-size: 16px; }
.steps li.now { outline: 2px dashed var(--sun-dark); background: #FFF8E1; }
.steps li.now .tick { background: var(--sun); color: var(--ink); }
div.bar { height: 16px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 6px 0 16px; }
div.bar i { display: block; height: 100%; width: 70%; background: var(--brand-bright); border-radius: 99px; }
.game { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.game .tile { border: 2px solid var(--line); border-radius: 16px; padding: 14px; text-align: center; box-shadow: 0 4px 0 var(--line); }
.game .big { font: 400 34px/1.1 var(--font-head); }
.game .lab { font-size: 13px; color: var(--mute); }
.flame { color: #C2410C; }
.gem { color: #0369A1; }
.bubble { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 14px 18px; font-weight: 700; box-shadow: 0 4px 0 var(--line); max-width: 260px; }
.bubble::after { content: ""; position: absolute; left: 36px; bottom: -11px; width: 18px; height: 18px; background: #fff; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.ask { display: grid; justify-items: start; gap: 18px; }
.paper { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 22px 22px 28px; font-family: "Noto Serif TC", serif; width: min(340px, 86vw); box-shadow: 0 6px 0 var(--line); }
.paper .ln { height: 10px; border-radius: 6px; background: #EEF0F3; margin: 10px 0; }
.paper .ln.s { width: 60%; }
.stamp { position: absolute; right: -14px; top: -18px; transform: rotate(12deg); border: 4px solid var(--red-pen); color: var(--red-pen); border-radius: 14px; padding: 4px 12px; font: 900 34px/1.1 "Noto Sans TC", sans-serif; background: #fff; }
.count { display: inline-block; margin-top: 8px; background: var(--navy); color: #fff; border-radius: 12px; padding: 6px 14px; font: 700 15px/1.4 var(--font-body); }

/* Two stages band */
.band { background: var(--paper); padding: 72px 0; text-align: center; }
.band h2 { color: var(--ink); }
.stages { display: grid; gap: 18px; margin-top: 32px; text-align: left; }
@media (min-width: 760px) { .stages { grid-template-columns: 1fr 1fr; } }
.stagecard { border-radius: 22px; padding: 26px; display: grid; gap: 10px; align-content: start; }
.stagecard h3 { font-size: 26px; margin: 0; }
.stagecard p { margin: 0 0 6px; }
.stagecard.pri { background: #fff; border: 2px solid var(--line); box-shadow: 0 6px 0 var(--line); }
.stagecard.dse { background: var(--navy); color: #F1F5F9; box-shadow: 0 6px 0 #020617; }
.stagecard.dse h3 { font-family: "Noto Sans TC", sans-serif; font-weight: 900; }
.stagecard.dse p { color: #CBD5E1; }
.stagecard.dse .btn-main { background: var(--leaf); color: var(--navy); box-shadow: 0 5px 0 #15803D; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.pills span { font-size: 13px; padding: 2px 10px; border-radius: 99px; background: var(--tint); color: var(--brand); font-weight: 700; }
.pills span.soon { background: #F3F4F6; color: var(--mute); font-weight: 400; }
.dse .pills span { background: #12301F; color: var(--leaf); }
.dse .pills span.soon { background: var(--navy-2); color: #94A3B8; }

/* Topic directory */
.dir { padding: 72px 0; }
.dir h2 { text-align: center; }
.dir .lead { text-align: center; color: var(--mute); margin-bottom: 32px; }
/* One button for each year (wiki PRD 29) */
.yearbtns { display: grid; gap: 22px; max-width: 820px; margin: 0 auto; }
@media (min-width: 760px) { .yearbtns { grid-template-columns: 1fr 1fr; } }
.yearbtns h3 { font-size: 19px; margin: 0 0 10px; }
.yearbtns .btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.yearbtns .btns a { display: block; text-align: center; padding: 14px 6px; background: #fff; border: 2px solid var(--line); border-radius: 14px; box-shadow: 0 3px 0 var(--line); color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none; }
.yearbtns .btns a:hover { border-color: var(--brand); color: var(--brand); }
.dir .all { text-align: center; margin: 26px 0 0; font-weight: 700; }

/* Final call to action */
.final { padding: 80px 0 96px; text-align: center; background: linear-gradient(#fff, var(--tint)); }
.final h2 { color: var(--brand); max-width: 14em; margin: 12px auto 28px; font-size: clamp(30px, 5vw, 48px); }

/* Footer */
.foot { background: var(--brand); color: #fff; padding: 56px 0 40px; }
.foot a { color: #fff; text-decoration: none; opacity: .92; }
.foot a:hover { opacity: 1; text-decoration: underline; }
.foot .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: repeat(4, 1fr); } }
.foot h2 { font-size: 19px; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.foot .base { border-top: 1px solid rgba(255,255,255,.35); margin-top: 36px; padding-top: 18px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Article and topic pages */
.crumbs { font-size: 14px; color: var(--mute); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: var(--mute); }
.doc { padding: 20px 0 64px; }
.doc header { padding: 12px 0 8px; }
.doc .kicker { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--brand); background: var(--tint); padding: 2px 12px; border-radius: 99px; margin-bottom: 10px; }
.doc .intro { font-size: 19px; color: var(--mute); }
.doc h2 { font-size: 26px; margin-top: 44px; color: var(--ink); }
.doc h3 { font-size: 20px; margin-top: 24px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 4px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 16px; margin: 8px 0 16px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--paper); }
.doc td:first-child { white-space: nowrap; }
.tablewrap { overflow-x: auto; }
.math { font-family: "Cambria Math", "STIX Two Math", "Times New Roman", serif; font-size: 1.08em; white-space: nowrap; }
.work { background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 10px 0 18px; }
.work .q { font-weight: 700; margin-bottom: 8px; }
.work ol { margin: 0; }
.work .ans { margin-top: 8px; font-weight: 700; color: var(--brand); }
.mistakes li::marker { content: "✗  "; color: var(--red-pen); font-weight: 700; }
.tip { border-left: 5px solid var(--sun); background: #FFF8E1; padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 14px 0; }
.faq details { border: 2px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 10px 0; background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
.trybox { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; background: var(--tint); border: 2px solid #BBF7D0; border-radius: 22px; padding: 20px 22px; margin: 36px 0; }
.trybox h2 { margin: 0 0 6px; font-size: 22px; }
.trybox p { margin: 0 0 12px; color: var(--mute); }
@media (max-width: 520px) { .trybox { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.related { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.related a { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; text-decoration: none; color: var(--ink); box-shadow: 0 3px 0 var(--line); }
.related a:hover { border-color: var(--brand); color: var(--brand); }
.related small { display: block; color: var(--mute); }
.unitlist { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.unitlist a { display: flex; justify-content: space-between; gap: 12px; border: 2px solid var(--line); border-radius: 14px; padding: 12px 16px; text-decoration: none; color: var(--ink); box-shadow: 0 3px 0 var(--line); }
.unitlist a:hover { border-color: var(--brand); }
.unitlist small { color: var(--mute); }
.postlist { list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.postlist a { display: block; border: 2px solid var(--line); border-radius: 18px; padding: 18px 20px; text-decoration: none; color: var(--ink); box-shadow: 0 4px 0 var(--line); }
.postlist a:hover { border-color: var(--brand); }
.postlist h2 { font-size: 21px; margin: 0 0 4px; }
.postlist p { margin: 0; color: var(--mute); }
.meta { font-size: 14px; color: var(--mute); }

/* Language switch (中文 / English) */
.top .acts { display: flex; align-items: center; gap: 16px; }
.top .acts a { white-space: nowrap; }
.lang { font-weight: 700; font-size: 15px; color: var(--brand); text-decoration: none; padding: 8px 4px; }
.lang:hover { text-decoration: underline; }

/* Free calculators (src/tools.js) */
.calc { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 18px; margin: 20px 0 8px; }
.calc .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; flex: 1 1 140px; min-width: 0; }
.calc label > span { font-size: 15px; }
.calc input, .calc select, .calc textarea { font: 400 18px/1.3 var(--font-body); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%; min-height: 48px; }
.calc input:focus, .calc select:focus, .calc textarea:focus { outline: none; border-color: var(--brand); }
.calc .num { text-align: center; }
.calc .eqn { font-size: 22px; margin: 0 0 10px; }
.calc .btn { margin-top: 14px; }
.calc .result h2 { font-size: 22px; margin-top: 24px; }
.calc .result ol { padding-left: 1.3em; }
.calc .result li { margin: 8px 0; }
.calc .result table { width: auto; min-width: 60%; }
.calc .result td:first-child { white-space: normal; }
.calc .ans { margin-top: 12px; font-weight: 700; color: var(--brand); font-size: 19px; }
.calc .err { color: var(--red-pen); font-weight: 700; margin: 14px 0 0; }
.calc .math { white-space: normal; }
.fr { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; margin: 0 2px; font-size: .92em; line-height: 1.15; }
.fr > span:first-child { border-bottom: 1.5px solid currentColor; padding: 0 3px; }
/* Working in wiki examples (fenced code in units.json): keep the columns, scroll sideways on a phone. */
.working { overflow-x: auto; margin: 6px 0 10px; font: 15px/1.7 ui-monospace, "SF Mono", Menlo, "Noto Sans TC", monospace; white-space: pre; }
.work > p:last-child, .faq details > p:last-child { margin-bottom: 0; }
.kicker a { color: inherit; }

/* 乘數表 video preview (wiki PRD 26) */
.preview { background: var(--tint); padding: 64px 0; }
.preview .wrap { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .preview { padding: 80px 0; } .preview .wrap { grid-template-columns: 5fr 6fr; gap: 48px; } }
.preview h2 { color: var(--brand); }
.preview p { font-size: 18px; }
.preview .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-bright); color: #fff; font-size: 13px; display: grid; place-items: center; }
.doc .ticks { padding-left: 0; }
.vid { margin: 0; min-width: 0; }
.vid video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius); }
.vid figcaption { font-size: 12px; color: var(--mute); margin-top: 8px; overflow-wrap: anywhere; }
.vidblock { margin-top: 36px; }
.vidblock h2 { margin-top: 0; }
.txt { border: 2px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 14px 0 0; background: #fff; }
.txt summary { font-weight: 700; cursor: pointer; }
.txt ol { margin: 10px 0 0; }

/* /math/ chapter pages (wiki PRD 29): sample questions as Learn mode asks them; the answer opens on a tap. */
.unitlist .code { color: var(--brand); margin-right: 4px; }
.lessons { columns: 2; column-gap: 32px; }
@media (max-width: 420px) { .lessons { columns: 1; } }
.sample { --surface: #fff; --ok: #15803D; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 16px 0; box-shadow: 0 3px 0 var(--line); }
.sample .sq { margin: 0 0 10px; }
.sample .no { display: inline-block; margin-right: 8px; color: var(--brand); }
.sopts { list-style: upper-latin; padding-left: 1.8em !important; display: grid; gap: 6px; margin: 0 0 12px; }
.sopts.pics { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.sopts.pics li { border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.sopts .pic { max-width: 110px; vertical-align: middle; }
.stmpl { font-size: 20px; margin: 0 0 12px; }
.blank { display: inline-block; width: 2.2em; height: 1.3em; border: 2px dashed var(--mute); border-radius: 6px; vertical-align: middle; margin: 0 .15em; }
.stiles span { display: inline-block; min-width: 2em; text-align: center; border: 2px solid var(--line); border-radius: 10px; padding: 2px 8px; margin: 0 6px 6px 0; font-weight: 700; }
.sample summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.sample details p { margin: 8px 0 0; }

/* Learn mode pictures for sample questions (copied from learn.css by build.mjs, wiki PRD 29) */
.sample .pic-row { display: flex; justify-content: center; margin: 4px 0 16px; overflow-x: auto; }.sample .pic { max-width: 100%; height: auto; }.sample .pic-box { fill: var(--tint); stroke: var(--line); stroke-width: 2; }.sample .pic-dot { fill: #E5484D; }.sample .part { fill: var(--surface); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }.sample .part.on { fill: var(--sun); }.sample .part.tap { cursor: pointer; }.sample .part.tap:hover { fill: #FFF4CC; }.sample .part.tap.on:hover { fill: #F5B301; }.sample .part:focus-visible { outline: none; stroke: var(--sky); stroke-width: 4; }.sample .ax-grid { stroke: var(--line); stroke-width: 1; }.sample .ax-axis { stroke: var(--ink); stroke-width: 2; }.sample .ax-label { fill: var(--ink); font: italic 700 15px var(--font-body); }.sample .ax-num { fill: var(--mute); font: 11px var(--font-body); }.sample .ax-curve { fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; }.sample .ax-pt { fill: var(--red-pen); stroke: var(--surface); stroke-width: 2; }.sample .ax-cursor { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 4 3; }.sample .ax-ok { fill: var(--ok); }.sample .pt { fill: var(--ink); font: 700 15px var(--font-body); }.sample .pt.small { font-size: 13px; }.sample .pt.tiny { font-size: 11px; font-weight: 600; }.sample .pt.big { font-size: 26px; }.sample .pt.halo { paint-order: stroke; stroke: var(--surface); stroke-width: 4px; stroke-linejoin: round; }.sample .pl { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }.sample .pl.thin { stroke-width: 1.5; }.sample .pl.dash { stroke-dasharray: 5 4; stroke-width: 1.5; }.sample .pl.face { fill: var(--tint); }.sample .pic-dot2 { fill: var(--sun); }.sample .pic-dot.gone { fill: #FCA5A5; }.sample .pcross { stroke: var(--ink); stroke-width: 2; }.sample .blk { fill: #BFDBFE; stroke: #1D4ED8; stroke-width: 1.5; }.sample .blk3 { fill: #93C5FD; stroke: #1D4ED8; stroke-width: 1.5; }.sample .blkl { stroke: #1D4ED8; stroke-width: .6; }.sample .cu-f { fill: #BFDBFE; stroke: #1D4ED8; stroke-width: 1.2; stroke-linejoin: round; }.sample .cu-t { fill: #DBEAFE; stroke: #1D4ED8; stroke-width: 1.2; stroke-linejoin: round; }.sample .cu-r { fill: #93C5FD; stroke: #1D4ED8; stroke-width: 1.2; stroke-linejoin: round; }.sample .clk-face { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }.sample .clk-tick { stroke: var(--mute); stroke-width: 1; }.sample .clk-tick5 { stroke: var(--ink); stroke-width: 2.5; }.sample .clk-num { fill: var(--ink); font: 700 14px var(--font-body); }.sample .clk-h { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }.sample .clk-m { stroke: var(--red-pen); stroke-width: 3.5; stroke-linecap: round; }.sample .clk-dot { fill: var(--ink); }.sample .dig { fill: #111827; }.sample .dig-t { fill: #4ADE80; font: 700 30px ui-monospace, Menlo, monospace; }.sample .cal-mark { fill: var(--sun); stroke: var(--ink); stroke-width: 1; }.sample .obj { fill: var(--sun); stroke: var(--ink); stroke-width: 2; }.sample .guide { stroke: var(--mute); stroke-width: 1.5; stroke-dasharray: 3 3; }.sample .rul { fill: #FEF3C7; stroke: #B45309; stroke-width: 1.5; }.sample .rul-t { stroke: #78350F; stroke-width: 1.2; }.sample .water { fill: #7DD3FC; }.sample .needle { stroke: var(--red-pen); stroke-width: 3; stroke-linecap: round; }.sample .needle-h { fill: var(--red-pen); }.sample .coin-g { fill: #FCD34D; stroke: #B45309; stroke-width: 2; }.sample .coin-s { fill: #E5E7EB; stroke: #6B7280; stroke-width: 2; }.sample .coin-x { fill: #E5E7EB; stroke: #6B7280; stroke-width: 2; }.sample .coin-t { font-size: 11px; fill: #1F2937; }.sample .note-in { fill: rgba(255,255,255,.55); }.sample .note-t { font-size: 16px; fill: #111827; }.sample .note10 { fill: #C4B5FD; }.sample .note20 { fill: #93C5FD; }.sample .note50 { fill: #86EFAC; }.sample .note100 { fill: #FCA5A5; }.sample .note500 { fill: #D6A77A; }.sample .note1000 { fill: #FDE68A; }.sample .tag { fill: #FFF7ED; stroke: #C2410C; stroke-width: 2; }.sample .place { fill: var(--surface); stroke: var(--line); stroke-width: 2; }.sample .place.me { fill: var(--sun); stroke: var(--ink); }.sample .cell { fill: #BBF7D0; stroke: none; }.sample .cell.b { fill: #BFDBFE; }.sample .bar { fill: #38BDF8; stroke: #0369A1; stroke-width: 1; }.sample .bar2 { fill: #FBBF24; stroke: #B45309; stroke-width: 1; }.sample .gline { fill: none; stroke: #0369A1; stroke-width: 3; stroke-linejoin: round; }.sample .gpt { fill: #0369A1; }.sample .gline2 { fill: none; stroke: #B45309; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 7 5; }.sample .gpt2 { fill: #B45309; }.sample .pt.prot-in { fill: #0369A1; }.sample .needle.dash { stroke-dasharray: 7 5; stroke-width: 2.5; }.sample .sec { stroke: #fff; stroke-width: 2; }.sample .sec.s0 { fill: #7DD3FC; }.sample .sec.s1 { fill: #FCD34D; }.sample .sec.s2 { fill: #86EFAC; }.sample .sec.s3 { fill: #FCA5A5; }.sample .sec.s4 { fill: #C4B5FD; }.sample .opts.wide .opt .pic { max-width: 150px; }.sample .tap-plane { cursor: crosshair; touch-action: manipulation; border-radius: 12px; }.sample .tap-plane:focus-visible { outline: 3px solid var(--sky); }.sample .fr { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; line-height: 1.2; margin: 0 .15em; }.sample .fr > span:first-child { border-bottom: 2px solid currentColor; padding: 0 .2em; }.sample .ov { text-decoration: overline; }
