:root {
  --bg: #f4eee2;
  --paper: #fbf8f0;
  --paper-strong: #fffdf8;
  --ink: #1f1d19;
  --muted: #736c60;
  --line: #ded4c3;
  --red: #a84532;
  --red-dark: #7f2f21;
  --gold: #a77c3f;
  --green: #32735c;
  --shadow: 0 18px 50px rgba(71, 50, 27, .09);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(168, 69, 50, .08), transparent 26rem),
    radial-gradient(circle at 92% 20%, rgba(167, 124, 63, .09), transparent 30rem),
    var(--bg);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(99, 77, 49, .12);
  background: rgba(244, 238, 226, .88);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark, .auth-brand span, .admin-logo span {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--red); color: #fff8eb; font-family: serif; font-size: 22px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.22);
}
.brand strong { display: block; font-size: 18px; letter-spacing: .08em; }
.brand small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; letter-spacing: .08em; }
.site-nav { display: flex; gap: 26px; color: #4f493f; font-size: 14px; }
.site-nav a:hover { color: var(--red); }
.hero { position: relative; overflow: hidden; min-height: 680px; display: grid; align-items: center; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(95,73,45,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(95,73,45,.055) 1px, transparent 1px);
  background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 42px; align-items: center; padding-block: 72px 96px; }
.eyebrow { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero h1, .page-hero h1, .result-head h1 {
  margin: 18px 0;
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-weight: 700; line-height: 1.2; letter-spacing: -.02em;
}
.hero h1 { font-size: clamp(42px, 6vw, 74px); max-width: 780px; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-copy > p { max-width: 680px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; gap: 22px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.hero-points span::before { content: "◇"; color: var(--gold); margin-right: 6px; }
.button {
  border: 1px solid transparent; border-radius: 999px; padding: 13px 24px;
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; transition: .2s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(70, 42, 21, .14); }
.button.primary { color: #fff9ef; background: var(--red); }
.button.dark { color: #fff; background: var(--ink); }
.button.ghost { border-color: var(--line); background: rgba(255,255,255,.35); }
.button.wide { width: 100%; }
.hero-symbol { position: relative; width: min(400px, 100%); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.symbol-core {
  position: relative; z-index: 2; display: grid; place-items: center; width: 44%; aspect-ratio: 1;
  color: #fff9ef; background: linear-gradient(145deg, #bb5c45, #843326); border-radius: 50%;
  font: 700 clamp(52px, 9vw, 94px)/1 "Songti SC", serif;
  box-shadow: 0 24px 60px rgba(126, 48, 33, .25), inset 0 0 0 8px rgba(255,255,255,.12);
}
.symbol-ring { position: absolute; border: 1px solid rgba(92, 60, 28, .22); border-radius: 50%; inset: 7%; }
.symbol-ring::before, .symbol-ring::after {
  content: ""; position: absolute; width: 9px; height: 9px; background: var(--gold); border-radius: 50%;
}
.symbol-ring::before { left: 12%; top: 9%; }
.symbol-ring::after { right: 5%; bottom: 23%; }
.ring-b { inset: 18%; transform: rotate(38deg); border-style: dashed; }
.symbol-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.dot-a { left: 10%; top: 42%; }
.dot-b { right: 10%; top: 23%; }
.dot-c { right: 23%; bottom: 8%; }
.hero-orbit { position: absolute; border: 1px solid rgba(168, 69, 50, .12); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; right: -180px; top: 80px; }
.orbit-two { width: 620px; height: 620px; right: -280px; top: -10px; }
.section { padding-block: 76px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 32px; }
.section-head h2, .admin-page-head h1, .auth-panel h1, .form-intro h2, .report-card h2 {
  margin: 8px 0 0; font-family: "Songti SC", serif; font-size: clamp(28px, 4vw, 42px);
}
.section-head > p { max-width: 430px; color: var(--muted); line-height: 1.8; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card {
  position: relative; min-height: 320px; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,253,248,.9), rgba(247,240,228,.72));
  box-shadow: 0 8px 30px rgba(79, 57, 29, .035); transition: .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbbb9f; }
.product-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  color: var(--red); background: rgba(168,69,50,.08); font: 700 24px/1 "Songti SC", serif;
}
.product-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 22px; }
.product-meta s { color: #a49989; }
.product-card h3 { font: 700 25px/1.35 "Songti SC", serif; margin: 9px 0 12px; }
.product-card > p { color: var(--muted); line-height: 1.75; min-height: 54px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.product-foot strong { color: var(--red); font-size: 24px; }
.product-foot a { font-size: 14px; font-weight: 700; }
.process-section { background: rgba(255, 253, 248, .55); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; border-left: 1px solid var(--line); }
.step b { color: var(--gold); font-size: 13px; }
.step h3 { margin: 18px 0 8px; font-size: 20px; }
.step p { color: var(--muted); line-height: 1.8; margin: 0; }
.notice-card {
  margin-block: 0 80px; padding: 30px; border: 1px solid #d8c5a6; border-radius: var(--radius);
  background: #f6ebd8;
}
.notice-card strong { color: var(--red-dark); }
.notice-card p { margin: 8px 0 0; color: var(--muted); line-height: 1.8; }
.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: #eae1d2; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid p { max-width: 720px; color: var(--muted); line-height: 1.7; font-size: 13px; }
.footer-links { display: flex; gap: 20px; font-size: 13px; white-space: nowrap; }
.page-hero {
  padding: 90px 0 80px; background:
    radial-gradient(circle at 84% 30%, rgba(168, 69, 50, .16), transparent 20rem),
    #29251f; color: #fff8eb;
}
.page-hero.compact { padding: 66px 0 60px; }
.page-hero .eyebrow { color: #e2ba79; }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); max-width: 850px; }
.page-hero p { max-width: 760px; color: #d8cfbf; line-height: 1.85; }
.back-link { display: inline-block; color: #d8cfbf; font-size: 13px; margin-bottom: 30px; }
.price-line { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.price-line strong { font-size: 34px; color: #f2ca89; }
.price-line s { color: #9f9688; }
.form-shell { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: start; max-width: 1000px; }
.form-intro { position: sticky; top: 120px; }
.form-intro p { color: var(--muted); line-height: 1.8; }
.calc-form, .confirm-card, .lookup-form {
  padding: 32px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-strong); box-shadow: var(--shadow);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > span, .check-field > span { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 12px; line-height: 1.55; }
.field input, .field select, .field textarea, .filter-bar input, .filter-bar select {
  width: 100%; border: 1px solid #d9cdbb; background: #fffdf8; color: var(--ink);
  border-radius: 12px; padding: 13px 14px; outline: none; transition: border .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(168,69,50,.09); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { margin: 30px 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--red); font: 700 18px "Songti SC", serif; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.65; margin: 22px 0; }
.consent input { margin-top: 4px; accent-color: var(--red); }
.form-message { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-message.is-error, .alert.error { color: #8e2f20; }
.result-hero { padding: 58px 0; background: #2c2822; color: #fff9ef; }
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.result-head p { color: #c8bfb1; }
.status { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-paid { color: #195d49; background: #dff3ea; }
.status-unpaid { color: #8a4c1a; background: #fae9d2; }
.status-closed, .status-refunded { color: #6e6870; background: #ece9ec; }
.result-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; padding-block: 42px 80px; }
.report-card, .report-section, .checkout-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-strong);
}
.report-card { padding: 32px; margin-bottom: 20px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 0; }
.preview-grid > div { border-radius: 14px; padding: 15px; background: #f4ecdf; }
.preview-grid dt { color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.preview-grid dd { margin: 0; font-weight: 700; word-break: break-word; }
.report-sections { display: grid; gap: 15px; }
.report-section { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 26px; }
.section-number { color: var(--gold); font: 700 13px/1 "Courier New", monospace; }
.report-section h3 { margin: 0 0 12px; font: 700 22px "Songti SC", serif; }
.report-section p { color: #4f493f; line-height: 1.85; margin: 0; }
.report-section.locked { background: linear-gradient(110deg, #fffdf8, #f3ecdf); }
.locked-copy { color: #9a8f80; filter: blur(4px); user-select: none; line-height: 1.8; }
.lock-label, .more-note { color: var(--red) !important; font-size: 12px; margin-top: 10px !important; }
.checkout-card { position: sticky; top: 100px; padding: 28px; }
.checkout-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0; }
.checkout-price strong { font-size: 40px; color: var(--red); }
.checkout-price s { color: #9d9283; }
.checkout-copy, .mobile-hint { color: var(--muted); line-height: 1.75; font-size: 13px; }
.pay-button { margin-top: 12px; }
.checkout-meta { display: grid; gap: 6px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.checkout-meta span { color: var(--muted); }
.checkout-meta code { word-break: break-all; }
.text-link { color: var(--red); font-size: 13px; font-weight: 700; margin-top: 18px; display: inline-block; }
.text-link.center { display: block; text-align: center; }
.paid-panel { padding: 18px; border-radius: 14px; color: #185b45; background: #e1f2ea; margin: 16px 0; }
.paid-panel p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.payment-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; }
.payment-backdrop { position: absolute; inset: 0; background: rgba(26, 23, 19, .72); backdrop-filter: blur(8px); }
.payment-dialog { position: relative; z-index: 1; width: min(420px, 100%); padding: 34px; border-radius: 24px; background: var(--paper-strong); text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.32); }
.payment-dialog h2 { font: 700 27px "Songti SC", serif; }
.modal-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 28px; color: var(--muted); }
.qr-wrap { display: grid; place-items: center; min-height: 220px; padding: 12px; }
.qr-fallback { display: block; word-break: break-all; font-size: 11px; }
.payment-message { color: var(--muted); font-size: 13px; line-height: 1.65; min-height: 42px; }
.lookup-shell { max-width: 850px; }
.lookup-form { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; }
.lookup-form .field { margin: 0; }
.lookup-result { margin-top: 22px; }
.lookup-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-strong); }
.lookup-card > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.lookup-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0 0; }
.lookup-card dt { color: var(--muted); font-size: 12px; }
.lookup-card dd { margin: 5px 0 0; word-break: break-all; }
.narrow { max-width: 720px; }
.confirm-card .wide { margin-top: 22px; }
.error-page { text-align: center; min-height: 62vh; }
.error-code { color: rgba(168,69,50,.18); font: 700 110px/1 "Songti SC", serif; }
.error-page h1 { font: 700 34px "Songti SC", serif; }
.error-page p { color: var(--muted); margin-bottom: 26px; }
.alert { margin: 18px 28px; padding: 14px 18px; border-radius: 12px; font-size: 13px; }
.alert.success { color: #195d49; background: #dff3ea; }
.alert.error { background: #f7e2dc; }
.muted { color: var(--muted); }

/* Admin */
.admin-body { background: #f0ece4; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 236px 1fr; }
.admin-sidebar {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 18px;
  color: #f8f1e6; background: #25221d;
}
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-logo span { width: 36px; height: 36px; font-size: 19px; }
.admin-sidebar nav { display: grid; gap: 6px; margin-top: 24px; }
.admin-sidebar nav a { padding: 12px 14px; border-radius: 11px; color: #cfc6b9; font-size: 14px; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: #fff; background: rgba(255,255,255,.09); }
.admin-account { margin-top: auto; padding: 18px 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #cfc6b9; }
.link-button { padding: 10px 0 0; border: 0; color: #e3b76f; background: none; }
.admin-main { min-width: 0; }
.admin-topbar { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid #ddd4c7; background: rgba(255,253,248,.78); }
.admin-topbar a { color: var(--muted); font-size: 13px; }
.menu-toggle { display: none; border: 0; background: none; font-size: 22px; }
.admin-content { padding: 34px; }
.admin-page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.admin-page-head h1 { font-size: 34px; }
.admin-page-head p { color: var(--muted); line-height: 1.7; margin: 7px 0 0; }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; padding: 18px; margin-bottom: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper-strong); }
.filter-bar label { display: grid; gap: 6px; min-width: 140px; }
.filter-bar label > span { color: var(--muted); font-size: 11px; }
.filter-bar input, .filter-bar select { padding: 10px 11px; border-radius: 9px; }
.filter-bar .button { padding: 10px 17px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card { padding: 23px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper-strong); }
.stat-card.accent { background: #2f2a23; color: #fff8eb; border-color: #2f2a23; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; }
.stat-card.accent span, .stat-card.accent small { color: #c9bdab; }
.stat-card strong { display: block; margin: 16px 0 6px; font-size: 30px; letter-spacing: -.02em; }
.stat-card small { color: var(--muted); font-size: 11px; }
.admin-card { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 17px; background: var(--paper-strong); overflow: hidden; }
.admin-card > h2, .admin-card > .card-head, .admin-card > .settings-section, .admin-card > .stack-form { margin-inline: 24px; }
.admin-card > h2 { margin-top: 24px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; }
.card-head h2 { margin: 0; font-size: 18px; }
.card-head a, .card-head span { color: var(--muted); font-size: 12px; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 12px 16px; color: var(--muted); background: #f5efe5; text-align: left; font-weight: 500; white-space: nowrap; }
.data-table td { padding: 15px 16px; border-top: 1px solid #eee6da; vertical-align: top; }
.data-table a { color: var(--red); font-family: "Courier New", monospace; }
.data-table small { color: var(--muted); }
.empty { padding: 50px 24px; color: var(--muted); text-align: center; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: -4px 0 18px; color: var(--muted); font-size: 13px; }
.mini-stats b { color: var(--ink); }
.pagination { display: flex; gap: 6px; padding: 18px; flex-wrap: wrap; }
.pagination a { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.pagination a.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.stack-form { padding: 24px 0; }
.stack-form .field { margin-bottom: 18px; }
.check-field { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 14px; }
.check-field input { width: 18px; height: 18px; accent-color: var(--red); }
.check-field.emphasis { margin: 12px 0; padding: 16px; border-radius: 12px; background: #f7e9d8; }
.settings-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.settings-title { display: flex; gap: 15px; margin-bottom: 20px; }
.settings-title > span { color: var(--gold); font: 700 12px/1.5 "Courier New", monospace; }
.settings-title h2 { margin: 0; font-size: 20px; }
.settings-title p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.settings-actions { padding: 24px; text-align: right; }
.callback-box { padding: 24px; }
.callback-box h2 { margin-top: 0; font-size: 18px; }
.callback-box p { display: grid; grid-template-columns: 80px 1fr; gap: 10px; color: var(--muted); font-size: 12px; }
.callback-box code { word-break: break-all; color: var(--ink); }
.auth-body { min-height: 100vh; background: radial-gradient(circle at 20% 10%, rgba(168,69,50,.24), transparent 30rem), #25211b; }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-panel { width: min(430px, 100%); padding: 38px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; color: #f7efe2; background: rgba(43,38,31,.88); box-shadow: 0 30px 100px rgba(0,0,0,.32); backdrop-filter: blur(14px); }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.auth-panel .eyebrow { color: #d9ad67; }
.auth-panel h1 { font-size: 34px; }
.auth-panel > p { color: #bcb2a4; line-height: 1.75; }
.auth-panel .field > span { color: #d7cbbb; }
.auth-panel .field input { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.07); }
.auth-panel .alert { margin-inline: 0; }
.auth-panel .text-link { color: #e1ba79; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-symbol { position: absolute; right: -90px; top: 70px; width: 330px; opacity: .5; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-shell { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .result-layout { grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; left: 0; z-index: 100; width: 236px; transform: translateX(-100%); transition: transform .2s; }
  .admin-sidebar.open { transform: translateX(0); box-shadow: 20px 0 60px rgba(0,0,0,.22); }
  .menu-toggle { display: block; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 64px; }
  .brand small { display: none; }
  .site-nav { gap: 14px; font-size: 13px; }
  .hero { min-height: auto; }
  .hero-grid { padding-block: 58px 70px; }
  .hero h1 { font-size: 40px; }
  .hero-symbol { width: 250px; right: -120px; top: 25px; opacity: .26; }
  .hero-points { flex-wrap: wrap; gap: 10px 16px; }
  .section { padding-block: 54px; }
  .section-head { display: block; }
  .section-head > p { margin-top: 12px; }
  .product-grid, .steps { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 20px; }
  .page-hero.compact { padding: 46px 0; }
  .form-shell { gap: 24px; }
  .calc-form, .confirm-card { padding: 22px; }
  .field-row, .preview-grid, .lookup-card dl { grid-template-columns: 1fr; }
  .result-head { align-items: flex-start; flex-direction: column; }
  .result-layout { padding-block: 24px 56px; }
  .report-card, .report-section { padding: 22px; }
  .report-section { grid-template-columns: 1fr; }
  .checkout-card { padding: 22px; }
  .lookup-form { grid-template-columns: 1fr; }
  .admin-content { padding: 20px 14px; }
  .admin-topbar { padding-inline: 14px; }
  .admin-page-head { display: block; }
  .admin-page-head .button { margin-top: 15px; }
  .stat-grid { grid-template-columns: 1fr; }
  .filter-bar label { width: 100%; }
  .filter-bar .button { flex: 1; }
  .auth-panel { padding: 28px 22px; }
}
