:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #233c30;
  --muted: #5c6b60;
  --forest: #294c39;
  --mint: #e8efe4;
  --line: #d9e1d4;
  --white: #fffef9;
  --red: #a74337;
  --gold: #edce86;
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .5; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, .table-wrap:focus-visible { outline: 3px solid #bb782e; outline-offset: 4px; }
a:hover { color: var(--red); }
input, select { min-height: 42px; border: 1px solid #b8c7b4; border-radius: 7px; padding: 8px 10px; background: #fff; color: var(--ink); }
input:invalid, input[aria-invalid="true"] { border-color: var(--red); background: #fff6f3; }
::selection { background: #e8d194; color: #203328; }
[hidden] { display: none !important; }
.container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 100; padding: 12px; background: var(--forest); color: white; }
.skip-link:focus { top: 12px; }
.site-header { display: flex; align-items: center; gap: 35px; padding-block: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 25px; font-weight: 800; letter-spacing: -.065em; }
.amp { font-weight: 400; margin: 0 3px; font-family: Georgia, serif; font-style: italic; }
.brand-bead { height: 22px; width: 22px; border: 7px solid var(--forest); border-radius: 50%; margin-right: 8px; }
.site-header nav { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.language-picker { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.language-picker select { min-height: 36px; padding: 5px 9px; background: transparent; font-size: 12px; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding-block: 45px 60px; min-height: 530px; }
.eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 650; letter-spacing: .085em; text-transform: uppercase; }
h1 { font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif; margin: 0; font-size: clamp(43px, 4.7vw, 70px); font-weight: 400; letter-spacing: -.05em; line-height: 1.1; }
.hero-description { max-width: 370px; margin: 24px 0 26px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 49px; padding: 13px 21px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; text-align: center; transition: background .15s, transform .15s; }
.button span:last-child:not(:first-child) { font-size: 20px; line-height: 1; }
.primary { background: var(--forest); color: #fff; }
.primary:hover { color: #fff; background: #1c3728; }
.button:active { transform: translateY(1px); }
.hero-footnote { margin: 17px 0 0; color: var(--muted); font-size: 11px; }
.hero-art { position: relative; min-height: 420px; padding: 20px 15px 25px; }
.art-mat { position: relative; height: 365px; background: #e4ebdf; border: 1px solid #d3dfcd; border-radius: 46% 46% 15px 15px; background-image: radial-gradient(#b7c7ae 1px, transparent 1px); background-size: 15px 15px; }
.hero-tree { position: absolute; width: 58%; top: 0; left: 1%; transform: rotate(-9deg); }
.hero-gift { position: absolute; width: 50%; bottom: 0; right: 0; transform: rotate(10deg); }
.hero-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(2px 6px 4px #243c2e15); }
.art-label { position: absolute; right: 0; top: 2px; transform: rotate(4deg); padding: 12px 17px; border-radius: 3px; background: #fffdf4; box-shadow: 0 3px 12px #2033280c; font-family: Georgia, serif; font-style: italic; font-size: 15px; }
.label-line { display: inline-block; width: 15px; height: 1px; background: var(--muted); vertical-align: middle; margin-right: 7px; }
.art-note { display: block; color: var(--muted); font-size: 10px; text-align: right; padding-top: 12px; }
.kit-strip { background: var(--mint); border-block: 1px solid var(--line); }
.kit-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; font-size: 12px; }
.kit-strip-inner > span:first-child { font-family: Georgia, serif; font-size: 17px; }
.kit-strip-inner > span:nth-child(2) { color: var(--muted); }
.kit-strip-inner a { font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.section { padding-block: 65px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 30px; }
.section-heading .eyebrow { margin-bottom: 10px; }
h2 { margin: 0; font-family: Georgia, "Microsoft YaHei", serif; font-weight: 400; font-size: clamp(29px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading > p { margin: 0; max-width: 350px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.pattern-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pattern-card { display: grid; grid-template-columns: 45% 1fr; align-items: center; gap: 20px; padding: 24px; border-radius: 14px; background: #eaf0e5; }
.pattern-card:nth-child(2) { background: #f2e9df; }
.pattern-preview { min-width: 0; }
.pattern-preview svg { width: 100%; height: auto; display: block; max-height: 220px; }
.pattern-meta { color: var(--muted); font-size: 10px; margin: 0 0 9px; }
.pattern-card h3 { margin: 0 0 10px; font-family: Georgia, "Microsoft YaHei", serif; font-size: 24px; font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
.pattern-info { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 11px; margin: 0 0 20px; }
.quantity-control { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.quantity-control label { font-size: 12px; }
.stepper { display: grid; grid-template-columns: 32px 48px 32px; border: 1px solid #aebda6; border-radius: 7px; overflow: hidden; background: #fffef9; }
.stepper button { border: 0; background: transparent; padding: 8px 0; min-height: 40px; font-size: 18px; }
.stepper button:hover { background: #dae5d4; }
.stepper input { width: 48px; min-height: 40px; border: 0; border-inline: 1px solid #d5dfce; border-radius: 0; padding: 4px; text-align: center; appearance: textfield; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.download-link { display: inline-block; margin-top: 14px; padding: 5px 0; font-size: 11px; border: 0; border-bottom: 1px solid #899a83; background: transparent; }
.sample-notice { margin: 20px 0 0; color: var(--muted); max-width: 800px; font-size: 11px; line-height: 1.75; }
.planner-section { background: #eaf0e5; padding-block: 64px; border-block: 1px solid var(--line); }
.planner-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.setting { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.setting-help { flex: 1; max-width: 300px; margin: 0 auto 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }
.input-unit { display: flex; align-items: center; gap: 6px; }
.input-unit input { width: 70px; }
.setting select { font-size: 12px; }
.planner-layout { display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 22px; align-items: start; }
.materials-panel { min-width: 0; border: 1px solid #d4dfcc; border-radius: 12px; background: var(--white); overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 22px 16px; }
.panel-heading h3 { margin: 0; font-size: 17px; font-weight: 600; }
.small-tag { color: var(--muted); font-size: 10px; }
.table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.materials-table { min-width: 650px; }
th { text-align: left; font-weight: 500; color: var(--muted); }
th, td { padding: 13px 8px; border-bottom: 1px solid #e5eadf; vertical-align: middle; font-size: 12px; }
th { font-size: 10px; line-height: 1.4; background: #f5f7f0; }
th:first-child, td:first-child { padding-left: 20px; }
td:last-child, th:last-child { padding-right: 20px; }
td:last-child { font-weight: 700; text-align: center; }
.table-color { display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.color-swatch { width: 17px; height: 17px; flex: 0 0 17px; border-radius: 50%; border: 1px solid #223d2a55; }
.table-color span:last-child { display: flex; gap: 4px; flex-wrap: wrap; }
.table-color b { font-weight: 600; }
.materials-table input { width: 72px; min-height: 37px; padding: 7px; font-size: 12px; }
.materials-table input[data-field="price"] { width: 80px; }
.table-note { margin: 15px 20px; font-size: 10px; color: var(--muted); line-height: 1.7; }
.color-note { margin-top: -4px; }
.summary-panel { background: var(--forest); border-radius: 12px; padding: 25px; color: #fffdf1; }
.summary-kicker { font-size: 10px; color: #d5e0cf; }
.summary-panel h3 { margin: 12px 0 23px; font-family: Georgia, "Microsoft YaHei", serif; font-size: 27px; line-height: 1.18; font-weight: 400; letter-spacing: -.025em; }
.summary-numbers { margin: 0; }
.summary-numbers > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block: 9px; border-bottom: 1px solid #ffffff20; }
.summary-numbers dt { font-size: 12px; color: #e0e9da; }
.summary-numbers dd { margin: 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.budget { margin-top: 25px; }
.budget > span { font-size: 11px; color: #d5e0cf; }
.budget > strong { display: block; font-weight: 500; font-size: 28px; letter-spacing: -.025em; margin-top: 6px; }
.budget p { font-size: 10px; line-height: 1.6; color: #e7d4a2; margin: 8px 0; }
.consumption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 10px; color: #d5e0cf; line-height: 1.5; }
.consumption strong { font-weight: 500; color: #fffdf1; text-align: right; }
.summary-note { font-size: 10px; color: #d5e0cf; line-height: 1.7; margin: 15px 0 20px; }
.print-button { width: 100%; background: var(--gold); color: #24372c; gap: 10px; padding-inline: 14px; }
.print-button:hover:not(:disabled) { background: #f2dba7; }
.print-hint { margin: 12px 0 0; color: #d5e0cf; line-height: 1.6; font-size: 10px; }
.print-status { font-size: 11px; line-height: 1.6; color: #ffe2a5; margin: 8px 0 0; }
.form-error { margin: 0 0 20px; border: 1px solid #ba6250; border-radius: 7px; padding: 14px 18px; background: #fff7ef; color: #8d3024; font-size: 13px; line-height: 1.6; }
.field-error { display: block; margin: 6px 0 0; max-width: 180px; color: #8d3024; font-size: 10px; line-height: 1.5; }
.setting > .field-error { max-width: 150px; }
.materials-panel[data-invalid] [data-used], .materials-panel[data-invalid] [data-required], .materials-panel[data-invalid] [data-bags] { color: var(--muted); }
.empty-plan { text-align: center; padding: 40px 20px; }
.empty-plan h3 { font-family: Georgia, serif; font-size: 26px; font-weight: 400; margin: 0 0 12px; }
.empty-plan p { font-size: 13px; color: var(--muted); }
.guide-section { display: grid; grid-template-columns: 1fr 2fr; gap: 35px; }
.guide-title p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 290px; margin-top: 20px; }
.guide-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 4px; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid #aabd9e; border-radius: 50%; font-size: 12px; margin-bottom: 19px; }
.guide-steps h3 { margin: 0 0 12px; font-size: 14px; }
.guide-steps p { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; }
.before-you-begin { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 24px; display: flex; gap: 30px; }
.before-you-begin strong { font-size: 12px; white-space: nowrap; }
.before-you-begin p { max-width: 900px; color: var(--muted); line-height: 1.8; font-size: 11px; margin: 0; }
.site-footer { display: flex; align-items: center; gap: 30px; justify-content: space-between; padding-block: 26px; border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 20px; }
.site-footer > span { color: var(--muted); font-size: 11px; }
.site-footer > a:last-child { font-size: 11px; }
.noscript { padding: 20px; text-align: center; color: var(--red); }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { font-family: "Microsoft YaHei", "Segoe UI", sans-serif; letter-spacing: -.035em; }
@media (min-width: 1600px) { .hero { gap: 90px; } }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .planner-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 15px; }
  .summary-panel { padding: 21px; }
  .pattern-card { padding: 20px; grid-template-columns: 40% 1fr; gap: 14px; }
  .pattern-card h3 { font-size: 21px; }
  .hero-art { min-height: 350px; }
  .art-mat { height: 310px; }
  .kit-strip-inner > span:nth-child(2) { display: none; }
}
@media (max-width: 850px) {
  .site-header nav { display: none; }
  .language-picker { margin-left: auto; }
  .hero { gap: 20px; min-height: 450px; padding-block: 35px 45px; }
  h1 { font-size: 43px; }
  .hero-art { min-height: 300px; padding-inline: 0; }
  .art-mat { height: 280px; }
  .art-label { font-size: 12px; right: -5px; }
  .pattern-card { grid-template-columns: 1fr; gap: 12px; }
  .pattern-preview svg { height: 200px; }
  .planner-layout { grid-template-columns: 1fr; }
  .summary-panel { display: block; max-width: none; }
  .summary-numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
  .summary-panel h3 br { display: none; }
  .guide-section { grid-template-columns: 1fr; }
  .guide-title p:not(.eyebrow) { max-width: 600px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .site-header { padding-block: 19px; gap: 10px; }
  .wordmark { font-size: 21px; }
  .brand-bead { width: 18px; height: 18px; border-width: 6px; margin-right: 4px; }
  .language-picker > span { display: none; }
  .language-picker select { max-width: 100px; }
  .hero { grid-template-columns: 1fr; padding-top: 24px; padding-bottom: 30px; gap: 28px; }
  .hero-copy { max-width: 400px; }
  h1 { font-size: clamp(40px, 10vw, 56px); }
  .hero-description { margin-block: 20px; font-size: 14px; max-width: 320px; }
  .hero-art { max-width: 400px; width: 100%; min-height: 290px; margin: 0 auto; }
  .art-mat { height: 285px; }
  .hero-tree { width: 54%; }
  .hero-gift { width: 47%; }
  .kit-strip-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section, .planner-section { padding-block: 42px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading > p { margin-top: 15px; font-size: 12px; max-width: 100%; }
  .pattern-cards { grid-template-columns: 1fr; gap: 15px; }
  .pattern-card { grid-template-columns: 42% 1fr; padding: 15px; }
  .pattern-preview svg { height: auto; max-height: 190px; }
  .pattern-card h3 { font-size: 22px; }
  .pattern-info { margin-bottom: 13px; }
  .quantity-control { gap: 8px; }
  .quantity-control label { font-size: 11px; }
  .stepper { grid-template-columns: 29px 40px 29px; }
  .stepper input { width: 40px; }
  .planner-toolbar { gap: 16px; }
  .setting-help { flex: 1 1 calc(100% - 150px); margin: 0; }
  .setting { font-size: 11px; gap: 7px; }
  .setting select { max-width: 115px; }
  .small-tag { display: none; }
  .panel-heading { padding: 20px; }
  .summary-panel { padding: 24px; }
  .guide-steps { grid-template-columns: 1fr; gap: 25px; }
  .guide-steps article { display: grid; grid-template-columns: 30px 1fr; column-gap: 15px; }
  .step-number { grid-row: span 2; margin: 0; }
  .guide-steps h3 { margin-top: 5px; }
  .guide-steps p { grid-column: 2; }
  .before-you-begin { display: block; }
  .before-you-begin p { margin-top: 12px; }
  .site-footer { flex-wrap: wrap; gap: 16px; }
  .site-footer > span { order: 3; flex-basis: 100%; }
}
.activity-page .site-header { padding-block: 18px; border-bottom: 1px solid var(--line); }
.detail-hero { padding-block: 20px 0; }
.gallery-back { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--muted); font-size: 12px; }
.detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 10px 0 18px; }
.detail-heading h1 { font-size: clamp(25px, 3vw, 36px); letter-spacing: -.035em; line-height: 1.2; }
.detail-stats { margin: 9px 0 0; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1.6; }
.detail-plan-link { font-size: 12px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.pattern-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pattern-picker button { min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); font-size: 12px; }
.pattern-picker button[aria-pressed="true"] { background: var(--mint); border-color: var(--forest); }
.pattern-viewer { margin: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.view-switch { display: flex; flex-wrap: wrap; gap: 3px; }
.view-switch button { min-height: 40px; border: 1px solid transparent; border-radius: 6px; padding: 8px 16px; background: transparent; color: var(--muted); font-size: 13px; }
.view-switch button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.viewer-enlarge { min-height: 40px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; background: #fff; font-size: 12px; white-space: nowrap; }
.viewer-enlarge > span:first-child { font-size: 18px; vertical-align: middle; }
.pattern-stage { display: flex; justify-content: center; align-items: center; padding: 14px; min-height: 300px; }
.pattern-stage svg { display: block; width: min(100%, 390px); height: auto; }
.pattern-stage[data-mode="beads"] { background: var(--paper); }
.pattern-stage[data-mode="beads"] svg { width: min(100%, 345px); }
.view-caption { border-top: 1px solid var(--line); padding: 10px 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.detail-notice { margin-top: 12px; font-size: 11px; }
.activity-page #patterns { padding-block: 30px 38px; }
.activity-page #patterns h2 { font-size: 24px; }
.activity-page #patterns .section-heading { margin-bottom: 18px; align-items: center; }
.activity-page .pattern-card { grid-template-columns: 100px minmax(0, 1fr); padding: 18px 22px; }
.activity-page .pattern-card h3 { font-size: 22px; }
.activity-page .pattern-preview svg { max-height: 120px; }
.activity-page .pattern-info { margin-bottom: 12px; }
.single-pattern { grid-template-columns: 1fr; }
.single-pattern .pattern-card { max-width: 720px; }
.pattern-dialog { width: min(1200px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--white); color: var(--ink); }
.pattern-dialog::backdrop { background: #17291fd1; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dialog-heading h2 { font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.dialog-heading button { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; padding: 8px 15px; background: #fff; font-size: 13px; }
.zoom-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; font-size: 12px; }
.zoom-toolbar input { width: min(260px, 50%); padding: 0; accent-color: var(--forest); }
.zoom-toolbar output { font-variant-numeric: tabular-nums; }
#dialog-hint { font-size: 12px; color: var(--muted); line-height: 1.6; }
.dialog-scroll { overflow: auto; max-height: calc(100dvh - 255px); border: 1px solid var(--line); background: #fff; overscroll-behavior: contain; }
.dialog-stage { width: max-content; min-width: 100%; padding: 16px; }
.dialog-stage svg { display: block; max-width: none; margin-inline: auto; }
.dialog-scroll:focus-visible { outline: 3px solid #bb782e; outline-offset: 3px; }
body:has(.pattern-dialog[open]) { overflow: hidden; }
@media (max-width: 850px) {
  .activity-page .site-header { flex-wrap: wrap; gap: 12px; }
  .activity-page .site-header nav { display: flex; order: 3; width: 100%; margin: 0; gap: 22px; font-size: 12px; }
  .activity-page .language-picker { margin-left: auto; }
  .activity-page .pattern-card { grid-template-columns: 80px minmax(0, 1fr); padding: 16px; }
  .activity-page .pattern-card h3 { font-size: 20px; }
}
@media (max-width: 560px) {
  .activity-page .site-header { padding-block: 12px; }
  .detail-hero { padding-top: 10px; }
  .detail-heading { margin: 8px 0 14px; }
  .detail-heading h1 { font-size: 26px; }
  .detail-stats { font-size: 11px; margin-top: 7px; }
  .detail-plan-link { display: none; }
  .viewer-toolbar { gap: 6px; padding: 7px; }
  .view-switch { gap: 0; }
  .view-switch button { font-size: 12px; padding: 8px 10px; min-height: 44px; }
  .viewer-enlarge { min-height: 44px; padding-inline: 8px; font-size: 11px; }
  .pattern-stage { padding: 8px; min-height: 0; }
  .view-caption { padding: 9px 11px; font-size: 10px; }
  .detail-notice { font-size: 10px; line-height: 1.6; }
  .activity-page #patterns { padding-block: 26px; }
  .activity-page #patterns .section-heading > p { margin-top: 10px; }
  .activity-page .pattern-card { padding: 14px; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .activity-page .pattern-card h3 { font-size: 20px; }
  .activity-page .quantity-control label { font-size: 12px; }
  .activity-page .stepper { grid-template-columns: 36px 46px 36px; }
  .activity-page .stepper button, .activity-page .stepper input { min-height: 44px; }
  .activity-page .stepper input { width: 46px; }
  .pattern-dialog { width: calc(100% - 16px); padding: 12px; max-height: calc(100dvh - 16px); }
  .dialog-heading h2 { font-size: 17px; }
  .zoom-toolbar { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
