:root {
  color-scheme: light;
  --paper: #f6f7f1;
  --surface: #fffef9;
  --ink: #163d33;
  --text: #253e35;
  --muted: #58695e;
  --radius-control: 9px;
  --radius-panel: 12px;
  --radius-dialog: 18px;
  --motion-fast: 160ms;
  --motion-ease: cubic-bezier(.2,.7,.2,1);
  --line: #dce1d5;
  --lime: #d6ed9c;
  --lime-deep: #b9d771;
  --soft-green: #edf2e4;
  --white: #fff;
  --amber: #9d6c29;
  --shadow: 0 18px 42px -24px rgb(24 48 35 / 30%);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--paper); line-height: 1.6; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; opacity: .42; }
button, a, select, input { outline-offset: 4px; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid #7da24d; }
button, a { color: inherit; }
a { text-underline-offset: 3px; }
button svg, a svg { flex-shrink: 0; }
svg.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; stroke-width: 1.65; }
h1, h2, h3, p { margin: 0; }
img { max-width: 100%; }
button { border-radius: 0; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 6px 0; border: 0; background: transparent; color: #71816a; font-size: 12px; }
.text-button:hover { color: var(--ink); }
fieldset.control-group { min-width: 0; margin: 0; padding: 0; border: 0; }
legend.control-label { width: 100%; padding: 0; }
.hidden, [hidden] { display: none !important; }
.muted { color: var(--muted); }
.mono, .eyebrow, .brand-sub, .version-pill, .tiny-label, .card-number, .shelf-index, .panel-label, .draw-number { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.shell { width: min(1160px, calc(100% - 80px)); margin: 0 auto; }

/* Quiet frame: this is a small creative workshop, not a reporting dashboard. */
.topbar { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; border: 0; padding: 0; background: transparent; text-align: left; }
.brand-mark { height: 39px; width: 39px; border-radius: 12px; display: grid; place-items: center; color: var(--paper); background: var(--ink); transform: rotate(-5deg); }
.brand-mark svg { transform: rotate(5deg); }
.brand-text { display: block; color: var(--ink); font-size: 18px; font-weight: 750; letter-spacing: -.65px; line-height: 1.45; }
.brand-sub { display: block; font-size: 9px; letter-spacing: 1.35px; color: #7a877a; font-weight: 400; line-height: 1.5; text-transform: uppercase; }
.top-nav { display: flex; align-items: center; gap: 25px; }
.nav-button { color: #708070; border: 0; background: transparent; min-height: 44px; padding: 6px 0; font-size: 12px; white-space: nowrap; }
.nav-button:hover { color: var(--ink); }
.version-pill, .pill { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d6dec9; border-radius: 30px; background: #f0f3e7; padding: 4px 10px; line-height: 1.5; font-size: 10px; letter-spacing: .45px; white-space: nowrap; }

/* Landing / the draw shelf */
.home { padding-top: 58px; }
.hero { position: relative; display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; min-height: 440px; gap: 40px; padding-bottom: 48px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #6a7f60; font-size: 10px; font-weight: 500; letter-spacing: 1.8px; text-transform: uppercase; }
.status-dot { height: 6px; width: 6px; background: #83a354; border-radius: 50%; box-shadow: 0 0 0 4px #e9eedf; flex: 0 0 6px; }
.hero h1 { font-size: clamp(40px, 4.3vw, 59px); color: var(--ink); font-weight: 650; letter-spacing: -2.8px; line-height: 1.28; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; position: relative; z-index: 0; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; inset: auto -3px 3px; height: 14px; background: var(--lime); z-index: -1; transform: rotate(-1.4deg); border-radius: 1px; }
.hero-intro { color: #718072; font-size: 14px; line-height: 1.9; max-width: 350px; }
.hero-intro strong { color: var(--text); font-weight: 550; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; margin-top: 28px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 47px; border: 1px solid transparent; padding: 11px 20px; border-radius: var(--radius-control); font-size: 14px; font-weight: 550; line-height: 1.5; text-decoration: none; transition: background .18s, border-color .18s, box-shadow .18s, transform .18s; }
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn.primary { background: var(--ink); color: #f7faef; box-shadow: 0 4px 9px -4px #163d3340; }
.btn.primary:hover:not(:disabled) { background: #245445; box-shadow: 0 5px 16px -7px #163d3380; }
.btn.primary svg { color: var(--lime); }
.btn.secondary { background: #fffef9; border-color: #d9dfd0; color: var(--ink); }
.btn.secondary:hover:not(:disabled) { background: #edf3e3; border-color: #becdb0; }
.btn.text-button { background: transparent; color: #72816d; padding: 10px 6px; border-color: transparent; }
.btn.text-button:hover:not(:disabled) { color: var(--ink); background: #edf1e6; }
.btn.small { font-size: 12px; min-height: 42px; padding: 9px 13px; }
.btn.full { width: 100%; }
.btn.icon-button { width: 42px; min-height: 42px; padding: 9px; flex: 0 0 42px; }
.micro-note { color: #939b8d; font-size: 11px; margin-top: 14px; display: flex; align-items: center; gap: 6px; }
.micro-note svg.icon { width: 12px; height: 12px; }
.hero-art { min-width: 0; min-height: 400px; position: relative; display: flex; align-items: center; justify-content: center; }
.card-stack { width: 262px; height: 342px; position: relative; margin: 0 4px 5px 0; }
.deck-card { position: absolute; inset: 0; border-radius: var(--card-face-radius, 5.53% / 4.24%); overflow: hidden; border: 1px solid #cdd7bc; }
.back-one { background: #d3dfa9; transform: rotate(-14deg) translate(-21px, 0); box-shadow: 0 10px 25px -18px #35522c; }
.back-two { background: #e8eddc; transform: rotate(10deg) translate(22px, 1px); }
.back-one::after, .back-two::after { content: ''; position: absolute; inset: 13px; border: 1px solid rgb(86 110 53 / 16%); border-radius: 7px; }
.front-card { background: #fffef9; transform: rotate(-3deg); padding: 22px; box-shadow: 0 18px 34px -17px rgb(27 55 30 / 35%); display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; align-items: center; color: #78856e; }
.card-number { font-size: 10px; letter-spacing: 1px; }
.card-seal { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #dee5d1; border-radius: 50%; color: #829365; }
.card-seal svg.icon { width: 15px; height: 15px; }
.card-art { position: relative; flex: 1; display: flex; justify-content: center; align-items: center; min-height: 190px; }
.card-art::before { content: ''; position: absolute; width: 144px; height: 144px; background: #e7eeda; border-radius: 50%; box-shadow: inset 0 0 0 1px #dce5cc; }
.card-art > * { position: relative; z-index: 1; }
.card-art > svg:not(.icon) { width: 160px; max-height: 160px; }
.card-art > .icon { width: 72px; height: 72px; stroke-width: 1.25; color: var(--ink); }
.repair-illustration { position: relative; width: 145px; height: 145px; }
.repair-sheet { position: absolute; width: 91px; height: 118px; left: 22px; top: 13px; padding: 20px 12px; background: #fffef7; border: 1.5px solid #446040; border-radius: 6px; box-shadow: 5px 5px 0 #cadaaa; transform: rotate(5deg); }
.repair-sheet::before { content: ''; display: block; height: 21px; width: 26px; background: #d6e9ad; border: 1px solid #9bb778; border-radius: 3px; margin-bottom: 12px; }
.repair-line { display: block; height: 4px; background: #d6ddca; border-radius: 3px; margin: 6px 0; width: 100%; }
.repair-line:nth-of-type(2) { width: 79%; }
.repair-line:nth-of-type(3) { width: 55%; }
.repair-knob { position: absolute; width: 79px; height: 25px; border: 1.5px dashed #789651; background: rgb(221 239 185 / 64%); top: 65px; left: 19px; transform: rotate(5deg); }
.repair-knob::before, .repair-knob::after { content: ''; position: absolute; height: 5px; width: 5px; background: #fffef7; border: 1px solid #6e894e; top: -3px; }
.repair-knob::before { left: -3px; }
.repair-knob::after { right: -3px; }
.repair-cursor { position: absolute; z-index: 3; right: 4px; bottom: 17px; height: 34px; width: 25px; background: var(--ink); clip-path: polygon(0 0, 100% 63%, 61% 67%, 81% 100%, 61% 100%, 43% 73%, 16% 97%); transform: rotate(-8deg); filter: drop-shadow(1px 2px 0 #fff); }
.repair-spark { position: absolute; top: 7px; right: 0; width: 21px; height: 21px; background: #78994a; clip-path: polygon(50% 0, 60% 39%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.card-bottom { padding-top: 15px; border-top: 1px solid #e0e5d7; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.card-bottom h3, .card-bottom strong { color: var(--ink); font-size: 17px; font-weight: 600; }
.card-bottom p, .card-bottom span { color: #859079; font-size: 10px; }
.card-bottom > div { min-width: 0; }
.orbit { position: absolute; height: 348px; width: 348px; border: 1px dashed #d2dcc1; border-radius: 50%; transform: rotate(-20deg) scaleX(1.27); pointer-events: none; }
.tiny-label { position: static; display: inline-block; color: #8c997e; font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; z-index: 3; }
.intro-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-bottom: 36px; gap: 28px; }
.intro-step { display: flex; align-items: flex-start; gap: 12px; }
.step-index { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d2dbc5; color: #738564; border-radius: 50%; font-size: 10px; margin-top: 2px; }
.intro-step h3, .intro-step strong { display: block; font-size: 12px; font-weight: 550; color: var(--ink); line-height: 1.8; }
.intro-step p { font-size: 11px; color: #8a9383; margin-top: 2px; }
.collection-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.collection-heading h2 { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -.5px; }
.collection-heading p, .collection-heading > span { font-size: 11px; color: #8c9585; }
.task-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.shelf-item { display: flex; align-items: center; gap: 12px; padding: 18px 15px; background: #fbfcf6; border: 1px solid #dfe4d6; border-radius: 9px; text-align: left; width: 100%; min-width: 0; transition: border-color .18s, background .18s, transform .18s; }
.shelf-item:hover { border-color: #a5b787; background: #fffef9; transform: translateY(-2px); }
.shelf-item:active { transform: translateY(0); }
.shelf-index { display: grid; place-items: center; width: 35px; height: 42px; background: #edf2e1; border: 1px solid #dde5cf; border-radius: 5px; flex-shrink: 0; color: #7c8e62; font-size: 10px; transform: rotate(-4deg); }
.shelf-copy { min-width: 0; flex: 1; }
.shelf-copy h3, .shelf-copy strong { display: block; font-size: 12px; font-weight: 550; color: #385039; line-height: 1.8; }
.shelf-copy p, .shelf-copy small { display: block; font-size: 10px; color: #8a9581; margin-top: 3px; }
.shelf-tag { border: 1px solid #dce4cf; border-radius: 4px; padding: 1px 5px; font-size: 9px; color: #73865b; background: #f0f4e7; white-space: nowrap; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 35px 0 24px; font-size: 10px; color: #97a08f; letter-spacing: .2px; }

/* Workbench */
.workspace { padding: 28px 0 42px; }
.workspace-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 23px; }
.workspace-heading h1 { font-size: 28px; line-height: 1.4; letter-spacing: -.8px; color: var(--ink); font-weight: 600; margin-top: 10px; }
.breadcrumb { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #84907c; font-size: 11px; }
.breadcrumb button { padding: 0; background: none; border: 0; color: #738266; min-height: 32px; }
.breadcrumb svg.icon { width: 12px; height: 12px; }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; color: #7b8a6d; padding-bottom: 3px; }
.task-meta span { white-space: nowrap; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.preview-panel { overflow: hidden; background: #eef2e8; border: 1px solid #dce3d1; border-radius: 14px; min-width: 0; }
.panel-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #819071; font-size: 10px; letter-spacing: .9px; text-transform: uppercase; }
.preview-panel > .panel-label { padding: 17px 20px 0; }
.panel-label > span:last-child { font-size: 9px; color: #8e9c80; }
.conditions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 15px 20px 0; }
.condition-button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; padding: 8px 11px; min-height: 38px; border: 1px solid #d5ddc9; border-radius: 7px; color: #7c896c; background: #f8faf2; font-size: 11px; line-height: 1.35; transition: background .16s, border-color .16s; }
.condition-button:hover { border-color: #a7b791; }
.condition-button.active { color: #294b33; border-color: #bdd298; background: #dcebbb; }
.condition-button svg.icon { width: 14px; height: 14px; }
.preview-stage { padding: 25px 18px 19px; display: flex; align-items: flex-start; justify-content: center; min-width: 0; background-image: radial-gradient(#bec9b34a .65px, transparent .65px); background-size: 12px 12px; background-position: center 12px; }
.preview-caption { text-align: center; padding: 0 18px 17px; color: #89967b; font-size: 10px; line-height: 1.7; }
.sandbox-phone { width: 320px; max-width: 100%; min-width: 0; flex-shrink: 1; border: 5px solid #fcfdf9; outline: 1px solid #dae1d2; border-radius: 29px; overflow: hidden; background: #f5f5f5; color: #20251f; box-shadow: 0 14px 32px -19px rgb(44 55 38 / 35%); font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; transition: width .24s ease; }
.sandbox-phone.narrow, .sandbox-phone[data-viewport='narrow'] { width: 275px; }
.mock-status { display: flex; justify-content: space-between; align-items: center; height: 31px; padding: 6px 19px 0; color: #252d24; background: #f7f7f7; font-size: 10px; font-weight: 650; line-height: 1; }
.mock-status svg { width: 40px; height: 11px; }
.mock-status > span:last-child { font-size: 9px; letter-spacing: 1px; }
.mock-nav { height: 42px; padding: 7px 15px 9px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f7f7f7; color: #20251f; font-size: 14px; font-weight: 550; border-bottom: 1px solid #ebebeb; }
.mock-nav > span:first-child, .mock-nav > span:last-child { width: 24px; }
.mock-nav svg.icon { width: 17px; height: 17px; }
.mock-nav > span:last-child { text-align: right; letter-spacing: 1px; }
.mock-body { padding: 26px 19px 23px; min-height: 370px; background: #fff; overflow-wrap: anywhere; }
.mock-page-title { font-size: 19px; color: #252a24; font-weight: 600; line-height: 1.5; margin: 0 0 12px; }
.mock-note { font-size: 12px; color: #8c908a; line-height: 1.8; margin-bottom: 20px; }
.notice-content { border: 1px solid #e6e8e2; border-radius: 7px; padding: 13px; background: #f6f7f4; margin-bottom: 19px; color: #59604f; }
.notice-content.fixed { height: 116px; overflow: hidden; }
.notice-content.grow { height: auto; min-height: 116px; overflow: visible; }
.notice-content.reflow { height: auto; min-height: 116px; display: block; }
.notice-heading { display: flex; align-items: flex-start; gap: 7px; color: #57624b; font-size: 12px; font-weight: 550; line-height: 1.7; margin-bottom: 7px; }
.notice-icon { display: inline-grid; place-items: center; min-width: 16px; height: 19px; color: #738561; flex-shrink: 0; }
.notice-icon svg.icon { width: 15px; height: 15px; }
.notice-text { font-size: 12px; line-height: 1.8; color: #767e6d; }
.notice-text p + p { margin-top: 6px; }
.notice-content.reflow .notice-heading { margin-bottom: 9px; }
.notice-content.reflow .notice-text { line-height: 1.9; }
.notice-content.small-font .notice-text { font-size: 10px !important; line-height: 1.55; }
.mock-primary, .mock-secondary, .mock-button { border-radius: 6px; border: 0; min-height: 39px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 550; line-height: 1.55; text-align: center; padding: 9px 12px; overflow-wrap: anywhere; }
.mock-primary { color: white; background: #07ad5f; width: 100%; }
.mock-secondary { color: #617056; background: #f1f2ee; width: 100%; margin-top: 9px; }
.mock-actions { display: flex; gap: 9px; margin-top: 21px; min-width: 0; }
.mock-actions .mock-button { min-width: 0; }
.mock-actions.row { flex-direction: row; }
.mock-actions.stack { flex-direction: column; }
.mock-actions.row .mock-button { flex: 1; }
.mock-actions.stack .mock-button { width: 100%; }
.mock-actions.fixed .mock-button { white-space: nowrap; flex-shrink: 0; }
.mock-actions.row.full.fixed .mock-button { display: block; overflow: hidden; text-overflow: ellipsis; }
.mock-actions.flexible .mock-button { white-space: normal; flex-shrink: 1; }
.mock-actions.short .mock-button { font-size: 12px; }
.mock-button:first-child { background: #ededed; color: #314231; }
.mock-button:last-child { background: #07ad5f; color: white; }
.mock-amount { margin: 10px 0 5px; font-size: 33px; font-weight: 600; letter-spacing: -.7px; line-height: 1.4; }
.mock-label { font-size: 11px; color: #999c95; margin-top: 3px; }
.mock-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; padding: 11px 0; border-bottom: 1px solid #f0f1ed; font-size: 11px; color: #969b90; }
.actions-mock > .mock-line { height: 1px; padding: 0; margin: 16px 0; background: #edf0e9; }
.mock-line > :last-child { color: #485140; text-align: right; }
.article-art { position: relative; aspect-ratio: 1.68; margin: -26px -19px 18px; background: #b9cbb0; overflow: hidden; }
.article-art::before { content: ''; position: absolute; height: 150%; width: 68%; background: #849e7e; border-radius: 50%; top: 20%; left: -12%; transform: rotate(23deg); }
.article-art::after { content: ''; position: absolute; height: 100px; width: 100px; border-radius: 50%; background: #e9e9bc; top: 20px; right: 33px; box-shadow: 28px 108px 0 79px #d9dcc4; }
.article-title { font-size: 17px; font-weight: 550; line-height: 1.65; color: #303b2c; margin-bottom: 8px; }
.article-copy { font-size: 12px; line-height: 1.9; color: #808976; }
.article-copy.full { display: block; }
.article-copy.expand { display: block; overflow: visible; }
.article-copy.small-font { font-size: 10px !important; line-height: 1.65; }
.article-region { min-width: 0; }
.article-region.flow { height: 325px; overflow-y: auto; }
.article-region.separate { display: flex; flex-direction: column; height: 325px; }
.article-region.separate .article-copy { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.article-region.separate .article-title { flex-shrink: 0; }
.article-region.separate .article-tools { margin-top: auto; padding-top: 14px; flex-shrink: 0; }
.article-region [data-action='read-full'] { display: inline-flex; align-items: center; min-height: 35px; border: 0; background: transparent; color: #5979a3; font-size: 11px; padding: 5px 0; }
.article-tools { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid #eff1ea; margin-top: 20px; padding-top: 12px; min-width: 0; }
.article-tool { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 10px; color: #7b886e; min-height: 30px; background: transparent; border: 0; padding: 0; }
.article-tool svg.icon { width: 15px; height: 15px; }
.sandbox-phone.large-text .notice-text, .sandbox-phone[data-text-size='large'] .notice-text { font-size: 17px; }
.sandbox-phone.large-text .notice-heading, .sandbox-phone[data-text-size='large'] .notice-heading { font-size: 15px; }
.sandbox-phone.large-text .mock-page-title, .sandbox-phone[data-text-size='large'] .mock-page-title { font-size: 23px; }
.sandbox-phone.large-text .mock-note, .sandbox-phone[data-text-size='large'] .mock-note { font-size: 16px; }
.sandbox-phone.large-text .mock-button, .sandbox-phone[data-text-size='large'] .mock-button { font-size: 17px; }
.sandbox-phone.large-text .article-copy, .sandbox-phone[data-text-size='large'] .article-copy { font-size: 17px; }
.sandbox-phone.large-text .article-title, .sandbox-phone[data-text-size='large'] .article-title { font-size: 22px; }
.control-panel { background: var(--surface); border: 1px solid #dde3d4; border-radius: 14px; padding: 23px; min-width: 0; }
.task-goal { border-bottom: 1px solid #e7eadd; padding: 13px 0 20px; margin-bottom: 21px; }
.task-goal h2 { font-size: 18px; line-height: 1.65; color: var(--ink); letter-spacing: -.5px; font-weight: 550; margin-bottom: 8px; }
.task-goal p { color: #7f8a75; font-size: 12px; line-height: 1.9; }
.constraint-list { padding-left: 16px; margin: 10px 0 0; color: #7f8a75; font-size: 11px; line-height: 1.85; }
.constraint-list li + li { margin-top: 3px; }
.control-group + .control-group { margin-top: 20px; }
.control-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: #435936; font-weight: 550; margin-bottom: 9px; }
.control-label span, .control-label small { font-size: 10px; font-weight: 400; color: #94a083; }
.option-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.option-group:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option-button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; color: #818c75; border: 1px solid #e0e5d7; background: #fbfcf6; border-radius: 7px; min-height: 44px; padding: 10px 6px; font-size: 11px; line-height: 1.6; transition: background .18s, border-color .18s, color .18s; overflow-wrap: anywhere; }
.option-button:hover { background: #f0f5e7; border-color: #bccca5; }
.option-button.selected { border-color: #a9c47d; background: #eaf3d7; color: #3e5b27; box-shadow: inset 0 0 0 .5px #b3ca8e; }
.option-button svg.icon { height: 18px; width: 18px; }
.option-button small { font-size: 9px; opacity: .7; font-weight: 400; }
.control-help { font-size: 10px; line-height: 1.8; color: #929c85; margin-top: 7px; }
.workspace-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 12px; margin-top: 23px; border-top: 1px solid #e7eadd; }
.workspace-tools > .btn { flex: 1; white-space: nowrap; }
.workspace-tools > .btn.primary { flex-basis: 100%; margin-bottom: 3px; }
.history-select { display: block; width: 100%; min-height: 42px; border-radius: 7px; border: 1px solid #e0e5d8; color: #7e8a72; background: #fbfcf7; padding: 8px 30px 8px 11px; font-size: 11px; text-overflow: ellipsis; }
.source-link { display: inline-flex; align-items: center; gap: 5px; background: transparent; border: 0; color: #87937b; padding: 8px 0; font-size: 10px; line-height: 1.7; text-align: left; text-underline-offset: 3px; }
.source-link:hover { color: #425f31; text-decoration: underline; }
.source-link svg.icon { width: 12px; height: 12px; }
.feedback { margin-top: 21px; padding: 18px; border-radius: 10px; border: 1px solid #d8e3c6; background: #f1f6e8; animation: appear .24s ease both; }
.feedback.passed { background: #edf5e3; border-color: #c5d9ad; }
.feedback.needs-work { border-color: #e5dcc7; background: #faf6ec; }
.feedback-heading { display: flex; align-items: flex-start; gap: 9px; color: #436332; }
.feedback-heading h3, .feedback-heading strong { display: block; font-size: 14px; font-weight: 600; }
.feedback-heading p { font-size: 11px; color: #80936e; margin-top: 3px; line-height: 1.8; }
.needs-work .feedback-heading { color: #86693f; }
.needs-work .feedback-heading p { color: #9b8b6e; }
.check-list { list-style: none; padding: 0; margin: 13px 0 0; }
.check-item { display: flex; align-items: flex-start; gap: 8px; margin-top: 9px; color: #7c8c6e; font-size: 11px; line-height: 1.8; }
.check-dot { flex: 0 0 15px; width: 15px; height: 15px; display: grid; place-items: center; margin-top: 3px; border-radius: 50%; background: #dfebcc; color: #6c8850; font-size: 9px; }
.check-dot svg.icon { width: 10px; height: 10px; stroke-width: 2; }
.check-item.failed .check-dot, .check-item[data-passed='false'] .check-dot { background: #ece2ce; color: #a98753; }
.check-copy strong { display: block; font-size: 11px; font-weight: 550; color: #4b623d; }
.check-copy p { margin-top: 2px; }
.trigger-card { border-left: 2px solid #a4bf79; padding: 9px 12px; margin-top: 17px; color: #667954; background: #e7efd9; font-size: 11px; line-height: 1.9; }
.trigger-card strong, .trigger-card .tiny-label { display: block; position: static; color: #4e6839; font-size: 9px; margin-bottom: 3px; transform: none; }
.success-mark { display: inline-grid; place-items: center; background: #ddeebf; border: 1px solid #c4d8a3; color: #607f40; height: 36px; width: 36px; border-radius: 50%; flex-shrink: 0; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.result-actions .btn { flex: 1; }
.hint { display: flex; gap: 7px; align-items: flex-start; margin-top: 14px; padding: 11px 12px; border-radius: 6px; background: #f1f3ea; color: #879177; font-size: 11px; line-height: 1.8; }
.hint svg.icon { width: 14px; height: 14px; margin-top: 3px; }
.inline-note { font-size: 10px; line-height: 1.8; color: #8e9a80; margin-top: 10px; }

/* Native dialogs: a tactile card draw and review table. */
.dialog { border: 1px solid #d7dfca; border-radius: 16px; color: var(--text); background: var(--surface); padding: 0; width: min(500px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; box-shadow: 0 30px 100px -20px rgb(22 45 28 / 35%); }
.dialog[open] { animation: dialog-in .2s ease both; }
.dialog::backdrop { background: rgb(33 49 32 / 32%); backdrop-filter: blur(4px); }
.dialog:has(.compare-grid) { width: min(830px, calc(100% - 36px)); }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 26px 0; }
.dialog-header h2 { font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -.6px; line-height: 1.55; }
.dialog-header .btn { margin: -5px -10px -5px 0; }
.dialog-subtitle { color: #8a967d; font-size: 11px; margin-top: 5px; line-height: 1.8; }
.dialog-body { padding: 19px 26px 25px; }
.dialog-body > p { font-size: 13px; color: #7b896e; line-height: 1.9; }
.dialog-body > p + p { margin-top: 12px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; padding: 0 26px 26px; }
.dialog-actions > .btn { flex: 1; }
.draw-result { text-align: center; padding: 6px 0 0; }
.draw-illustration { position: relative; height: 142px; width: 114px; display: grid; place-items: center; color: var(--ink); border: 1px solid #cddbb5; border-radius: 8px; background: #e8f0d5; margin: 12px auto 23px; transform: rotate(-5deg); box-shadow: 7px 7px 0 -1px #f4f6ed, 7px 7px 0 0 #d6dec9; }
.draw-illustration::before { content: ''; position: absolute; inset: 9px; border: 1px solid #d0ddb9; border-radius: 4px; }
.draw-illustration svg.icon { width: 45px; height: 45px; stroke-width: 1.35; }
.draw-number { position: absolute; left: 16px; top: 15px; font-size: 8px; color: #8e9f70; letter-spacing: 1px; }
.draw-category { display: inline-flex; padding: 3px 9px; border: 1px solid #d7e3c5; border-radius: 5px; font-size: 10px; color: #7c9262; background: #f0f5e7; margin-bottom: 12px; }
.draw-result h3 { font-size: 24px; letter-spacing: -.8px; color: var(--ink); font-weight: 600; line-height: 1.5; }
.draw-result > p { max-width: 320px; margin: 10px auto 0; font-size: 12px; color: #8a967d; line-height: 1.9; }
.goal-box { margin-top: 21px; padding: 15px 17px; background: #f1f5e8; border: 1px solid #dee6d0; border-radius: 8px; text-align: left; font-size: 12px; color: #798c64; line-height: 1.9; }
.goal-box strong { display: block; color: #4d673a; font-size: 11px; font-weight: 550; margin-bottom: 4px; }
.source-block { padding: 16px 17px; background: #f2f5eb; border-left: 2px solid #afc38e; color: #6c7f58; margin: 16px 0; font-size: 12px; line-height: 1.9; }
.source-block h3, .source-block strong { color: #466334; font-size: 12px; font-weight: 550; margin-bottom: 5px; }
.source-block p + p { margin-top: 9px; }
.source-block a { overflow-wrap: anywhere; }
.compare-conditions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 17px; color: #849275; font-size: 11px; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; align-items: start; }
.compare-column { min-width: 0; padding: 13px 12px 17px; background: #edf2e6; border: 1px solid #dce5cf; border-radius: 10px; }
.compare-label { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; color: #697f54; font-size: 11px; }
.compare-label span { font-size: 9px; color: #99a88a; }
.compare-column .sandbox-phone { margin: 0 auto; width: 100%; max-width: 320px; }
.compare-column .sandbox-phone.narrow, .compare-column .sandbox-phone[data-viewport='narrow'] { max-width: 275px; }
.compare-column .mock-body { min-height: 365px; }
.compare-note { font-size: 11px; color: #8e9b7d; line-height: 1.85; margin-top: 16px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; color: #f1f6e7; background: #294d3f; border: 1px solid #4f6c53; border-radius: 9px; box-shadow: 0 8px 30px -10px #193a3260; padding: 12px 19px; width: max-content; max-width: calc(100% - 32px); text-align: center; font-size: 12px; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (min-width: 1250px) {
  .home { padding-top: 66px; }
  .hero { min-height: 465px; }
  .hero-copy { padding-left: 12px; }
  .hero-art { margin-right: 22px; }
}

@media (max-width: 960px) {
  .shell { width: calc(100% - 48px); }
  .topbar { min-height: 82px; }
  .top-nav { gap: 17px; }
  .home { padding-top: 44px; }
  .hero { gap: 10px; }
  .hero h1 { font-size: 45px; letter-spacing: -2px; }
  .card-stack { width: 223px; height: 304px; }
  .front-card { padding: 18px; }
  .orbit { width: 290px; height: 290px; }
  .hero-art { min-height: 345px; }
  .shelf-item { padding: 15px 11px; gap: 9px; }
  .shelf-tag { display: none; }
  .work-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: 16px; }
  .control-panel { padding: 19px; }
  .preview-stage { padding: 25px 13px 19px; }
  .conditions { padding-left: 14px; padding-right: 14px; }
  .condition-button { padding: 8px 9px; }
  .option-group:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
  .option-button { flex-direction: row; min-height: 42px; }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .topbar { min-height: 76px; gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { height: 34px; width: 34px; border-radius: 10px; }
  .brand-text { font-size: 16px; letter-spacing: -.5px; }
  .brand-sub { font-size: 8px; letter-spacing: 1px; }
  .top-nav { gap: 12px; }
  .nav-button { font-size: 11px; }
  .version-pill { font-size: 8px; padding: 3px 7px; }
  .home { padding-top: 34px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .hero-copy { max-width: 470px; }
  .hero h1 { font-size: 43px; line-height: 1.25; margin-top: 19px; margin-bottom: 17px; }
  .hero-intro { font-size: 13px; max-width: 360px; }
  .hero-actions { margin-top: 23px; }
  .hero-art { min-height: 330px; margin: 6px 0 6px; }
  .card-stack { width: 221px; height: 293px; }
  .card-art { min-height: 157px; }
  .card-art::before { width: 123px; height: 123px; }
  .card-art > svg:not(.icon) { width: 140px; max-height: 140px; }
  .card-bottom h3, .card-bottom strong { font-size: 15px; }
  .card-bottom p, .card-bottom span { font-size: 9px; }
  .orbit { width: 274px; height: 274px; transform: rotate(-20deg) scaleX(1.13); }
  .intro-steps { gap: 10px; padding: 19px 0; margin-bottom: 28px; }
  .intro-step { flex-direction: column; gap: 7px; }
  .intro-step h3, .intro-step strong { font-size: 11px; }
  .intro-step p { font-size: 10px; line-height: 1.7; max-width: 115px; }
  .step-index { height: 23px; width: 23px; flex-basis: 23px; font-size: 9px; }
  .collection-heading h2 { font-size: 16px; }
  .collection-heading p, .collection-heading > span { font-size: 10px; }
  .task-shelf { grid-template-columns: 1fr; gap: 9px; }
  .shelf-item { padding: 15px 16px; gap: 13px; }
  .shelf-copy h3, .shelf-copy strong { font-size: 12px; }
  .shelf-copy p, .shelf-copy small { font-size: 10px; }
  .shelf-tag { display: inline-flex; }
  .shelf-index { height: 40px; }
  .site-footer { padding: 28px 0 22px; gap: 12px; font-size: 9px; }
  .workspace { padding-top: 20px; }
  .workspace-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 18px; }
  .workspace-heading h1 { margin-top: 7px; font-size: 24px; }
  .task-meta { padding: 0; }
  .work-grid { grid-template-columns: 1fr; gap: 17px; }
  .preview-panel { border-radius: 12px; }
  .preview-panel > .panel-label { padding: 15px 17px 0; }
  .conditions { padding: 13px 15px 0; }
  .condition-button { min-height: 42px; padding: 9px 12px; }
  .preview-stage { padding: 23px 15px 17px; }
  .sandbox-phone { width: 320px; }
  .mock-body { min-height: 350px; }
  .control-panel { padding: 21px; border-radius: 12px; }
  .option-group:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .option-button { min-height: 44px; font-size: 11px; flex-direction: column; }
  .control-label { font-size: 12px; }
  .control-help { font-size: 11px; }
  .task-goal h2 { font-size: 18px; }
  .task-goal p { font-size: 12px; }
  .workspace-tools { padding-top: 20px; }
  .dialog { max-height: calc(100dvh - 28px); }
  .dialog-header { padding: 22px 21px 0; }
  .dialog-body { padding: 17px 21px 22px; }
  .dialog-actions { padding: 0 21px 22px; }
}

@media (max-width: 560px) {
  .compare-grid { grid-template-columns: 1fr; gap: 15px; }
  .compare-column { padding: 14px 12px 17px; }
  .compare-column .sandbox-phone { width: 320px; max-width: 100%; }
  .compare-column .sandbox-phone.narrow, .compare-column .sandbox-phone[data-viewport='narrow'] { width: 275px; }
  .dialog:has(.compare-grid) { width: calc(100% - 22px); }
  .dialog:has(.compare-grid) .dialog-body { padding-left: 14px; padding-right: 14px; }
  .compare-note { padding: 0 2px; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 28px); }
  .brand-text { font-size: 15px; }
  .brand-sub { font-size: 7px; }
  .top-nav { gap: 8px; }
  .version-pill { font-size: 7px; padding: 3px 5px; }
  .hero h1 { font-size: 39px; }
  .hero-actions { gap: 7px; }
  .hero-actions .btn { padding-left: 16px; padding-right: 16px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  .collection-heading { align-items: flex-start; }
  .collection-heading p, .collection-heading > span { max-width: 150px; text-align: right; }
  .control-panel { padding: 17px; }
  .conditions { gap: 5px; padding-left: 11px; padding-right: 11px; }
  .condition-button { padding-left: 8px; padding-right: 8px; font-size: 10px; }
  .preview-stage { padding-left: 10px; padding-right: 10px; }
  .option-button { font-size: 10px; }
  .site-footer { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Match the working prototype: labels stay in flow, paper details stay local. */
.tiny-label { inset: auto; transform: none; line-height: 1.6; }
.hero-art { flex-direction: column; gap: 27px; }
.hero-art-note { color: #7b8974; font-size: 12px; letter-spacing: .6px; }
.card-stack { flex-shrink: 0; }
.card-top { gap: 12px; align-items: flex-start; }
.card-top .tiny-label { font-size: 9px; max-width: 100px; }
.card-seal { width: 48px; height: 48px; flex: 0 0 48px; font-family: monospace; font-size: 8px; line-height: 1.15; text-align: center; border: 1px dashed #9aaa82; transform: rotate(12deg); }
.card-art { min-height: 165px; }
.repair-illustration .orbit { width: 210px; height: 170px; left: -30px; top: -12px; transform: rotate(-20deg); }
.card-bottom { display: grid; grid-template-columns: 1fr auto; align-items: start; margin-top: auto; }
.card-bottom p { font-size: 14px; line-height: 1.6; color: #496042; text-align: right; }
.card-bottom .tiny-label { grid-column: 1 / -1; margin-top: 7px; font-size: 8px; }
.nav-button { display: inline-flex; gap: 6px; align-items: center; }
.hero-intro { font-size: 15px; }
.micro-note { line-height: 1.7; }
.shelf-copy > span { display: block; margin-top: 3px; font-size: 11px; color: #87947c; }
.shelf-copy strong { font-size: 13px; }
.mock-nav > span { width: auto !important; flex: 1; text-align: center !important; }
.mock-amount { font-size: 26px; margin: 22px 0; }
.mock-amount > span { display: block; font-size: 12px; letter-spacing: 0; color: #969d91; font-weight: 400; margin-top: 4px; }
.mock-status .battery { display: inline-block; border: 1px solid currentColor; width: 15px; height: 8px; border-radius: 2px; margin-left: 4px; position: relative; }
.mock-status .battery::before { content: ''; position: absolute; inset: 1px; background: currentColor; }
.mock-bottom-note { text-align: center; margin-top: 14px; font-size: 9px; }
.notice-content { display: flex; align-items: flex-start; gap: 8px; }
.notice-content > div { min-width: 0; }
.notice-content.reflow { display: block; }
.notice-content.reflow .notice-icon { margin-bottom: 6px; }
.notice-content.reflow .notice-heading { font-weight: 650; }
.notice-text { font-size: 13px; }
.file-preview { display: flex; align-items: center; gap: 10px; padding: 15px 12px; background: #f3f5f0; border: 1px solid #e7ebe3; border-radius: 10px; margin: 24px 0; }
.file-preview-art { display: grid; place-items: center; flex: 0 0 38px; height: 48px; border-radius: 6px; background: #dfead3; color: #557b43; }
.file-preview strong { display: block; font-size: 13px; }
.file-preview span { display: block; font-size: 10px; color: #89927f; margin-top: 3px; }
.file-ready { margin-left: auto; }
.file-ready .icon { width: 15px; }
.mock-check-row { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #717d68; margin: 10px 0; }
.mock-check-row .icon { width: 13px; height: 13px; color: #679746; }
.mock-line { height: 1px; background: #edf0e8; margin: 24px 0 17px; }
.mock-actions.fixed .mock-button { height: 42px; }
.mock-actions.flexible .mock-button { height: auto; min-height: 42px; }
.article-art { position: relative; background: #d4e1bd; overflow: hidden; min-height: 150px; margin-bottom: 20px; }
.article-art .sun { position: absolute; width: 45px; height: 45px; background: #fff4c6; border-radius: 50%; top: 17px; right: 32px; }
.article-art .hill { position: absolute; width: 220px; height: 190px; border-radius: 50%; bottom: -130px; }
.article-art .hill-one { background: #8fa977; left: -55px; transform: rotate(20deg); }
.article-art .hill-two { background: #577952; right: -55px; bottom: -110px; }
.article-art > span { position: absolute; z-index: 1; top: 22px; left: 17px; color: #3f6245; font-size: 17px; font-weight: 650; line-height: 1.2; letter-spacing: -.6px; }
.article-region { padding: 0 2px; }
.article-copy { font-size: 13px; }
.article-copy p { margin-top: 10px; }
.article-copy.expand { -webkit-line-clamp: unset; overflow: visible; }
.article-author { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; }
.author-avatar { display: inline-grid; place-items: center; width: 24px; height: 24px; background: #d9e6d1; border-radius: 6px; font-size: 11px; color: #527648; }
.article-tools { background: #fff; }
.article-tool { font-size: 22px; color: #677362; }
.article-region.separate .article-copy { padding-right: 5px; scrollbar-width: thin; }
.read-full { cursor: pointer; }
.task-goal { padding-top: 0; }
.task-goal .tiny-label { margin-bottom: 8px; }
.task-goal h2 { font-size: 19px; line-height: 1.65; }
.constraint-list { font-size: 12px; line-height: 1.9; color: #7c8772; padding-left: 16px; margin: 12px 0 0; }
.control-label { font-size: 13px; }
.option-button { font-size: 12px; min-height: 46px; }
.option-button svg.icon { height: 13px; }
.control-help { font-size: 11px; }
.history-control { min-width: 0; display: flex; gap: 7px; flex: 1 1 210px; }
.history-control .history-select { min-width: 0; flex: 1; width: 120px; }
.history-control .btn { flex: 0 0 auto; }
.workspace-tools { gap: 8px; padding-bottom: 5px; }
.history-note { font-size: 10px; color: #89957f; margin: 5px 0 16px; }
.check-button { margin-top: 2px; font-size: 13px; }
.feedback > p { font-size: 12px; line-height: 1.9; margin-top: 13px; color: #657855; }
.feedback-heading .tiny-label { font-size: 9px; display: block; margin-bottom: 3px; }
.feedback-heading h3 { font-size: 16px; }
.feedback-heading { align-items: center; }
.check-dot.no { color: #957c51; background: #ede2c8; }
.check-copy strong { font-size: 12px; }
.check-copy p { font-size: 11px; }
.trigger-card .tiny-label { font-size: 10px; }
.trigger-card p { font-size: 12px; }
.workspace-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 24px 0 32px; font-size: 11px; color: #8a9681; }
.goal-box { text-align: left; border: 1px solid #dfe6d4; background: #f0f4e7; border-radius: 9px; padding: 16px; margin: 18px 0; }
.goal-box p { font-size: 13px; line-height: 1.85; color: #647756; margin-top: 5px; }
.draw-result h3 { font-size: 24px; line-height: 1.45; letter-spacing: -.5px; }
.draw-result > p:not(.micro-note) { font-size: 13px; color: #849178; margin-top: 12px; }
.draw-result .micro-note { justify-content: center; }
.draw-category { display: flex; justify-content: space-between; color: #829472; font-size: 11px; }
.draw-illustration > .icon { width: 44px; height: 44px; }
.help-steps > div { position: relative; padding-left: 42px; margin-bottom: 25px; }
.help-steps .step-index { position: absolute; top: 1px; left: 0; }
.help-steps h3 { font-size: 16px; }
.help-steps p { color: #7f8d72; font-size: 13px; margin-top: 5px; line-height: 1.85; }
.source-block > .eyebrow { font-size: 10px; }
.source-block h3 { font-size: 20px; margin: 13px 0 9px; }
.source-principle { font-size: 15px; margin-top: 19px; color: #4f6940; }
.full-reading { font-size: 16px; line-height: 2; color: #506447; }
.full-reading p + p { margin-top: 20px; }
.compare-label { justify-content: flex-start; }
.compare-label .status-dot { margin-right: 4px; }
.muted-dot { background: #c6cdbd; box-shadow: none; }
.celebrate .success-mark { animation: repair-pop .5s ease both; }
@keyframes repair-pop { 0% { transform: scale(.65) rotate(-16deg); } 65% { transform: scale(1.16) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
@media (max-width: 720px) {
  .hero-art { gap: 28px; padding-top: 10px; }
  .hero-intro { font-size: 14px; }
  .hero-art-note { font-size: 11px; }
  .card-top .tiny-label { font-size: 8px; max-width: 80px; }
  .card-art { min-height: 142px; }
  .card-seal { width: 40px; height: 40px; flex-basis: 40px; font-size: 7px; }
  .card-bottom p { font-size: 12px; }
  .card-bottom .tiny-label { font-size: 7px; }
  .option-button { font-size: 12px; min-height: 48px; }
  .workspace-tools > .btn { flex: 0 0 auto; }
  .preview-caption span { display: block; }
  .preview-caption .icon { width: 12px; }
  .task-goal h2 { font-size: 18px; }
  .dialog-header h2 { font-size: 20px; }
  .draw-result h3 { font-size: 23px; }
}

/* A quick preview keeps mobile adjustments close to their visible effect. */
.mobile-preview { display: none; margin-top: 18px; }
.quick-preview { display: flex; justify-content: center; padding: 16px 0; }
@media (max-width: 720px) { .mobile-preview { display: flex; } }

/* Preserve refinement: shared outer controls. The WeChat canvas has its own tokens. */
.text-button, .btn.text-button, .nav-button { color: var(--muted); }
.nav-button { font-size: 14px; }
.btn.secondary { background: var(--surface); border-color: #bac6b3; }
.btn { transition: background var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), transform var(--motion-fast); transition-timing-function: var(--motion-ease); }
.btn:focus-visible, .text-button:focus-visible, .nav-button:focus-visible { outline-color: var(--ink); }
.btn.small { font-size: 13px; }
.micro-note { color: var(--muted); font-size: 13px; }
.draw-category, .draw-result > p:not(.micro-note), .help-steps p,
.goal-box p, .compare-note, .history-note, .control-help, .constraint-list,
.feedback > p, .check-copy p, .workspace-footer, .preview-caption { color: var(--muted); }
.draw-result > p:not(.micro-note), .goal-box p, .help-steps p { font-size: 15px; }
.tiny-label { color: var(--muted); font-size: 11px; letter-spacing: .5px; }
.dialog { border-radius: var(--radius-dialog); }
.feedback, .goal-box { border-radius: var(--radius-panel); }
.feedback > p, .check-copy p, .trigger-card p { font-size: 14px; line-height: 1.75; }
.check-copy strong { font-size: 14px; }
@media (hover: hover) {
 .nav-button:hover, .text-button:hover { color: var(--ink); }
 .btn.primary:hover:not(:disabled) { box-shadow: 0 5px 14px -7px rgb(22 61 51 / 40%); }
}
