:root {
  --green:#19633f; --deep:#173e2c; --rail:#193f30; --lime:#dcebc6; --paper:#f6f6ef; --ink:#233b2d;
  --muted:#627167; --line:#dce4d9; --red:#a82c36; --radius:17px;
  font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif; color:var(--ink); background:var(--paper); font-size:15px;
}
* {box-sizing:border-box}
body {margin:0}
[hidden] {display:none!important}
button,input,select,textarea {font:inherit}
button {cursor:pointer;transition:background .16s ease,color .16s ease}
button:disabled {cursor:wait;opacity:.55}
:focus-visible {outline:3px solid #69aa7b;outline-offset:3px}
h1,h2,h3,p {margin:0}
h1,h2 {letter-spacing:-.035em}
button,.pill {border:0}
.primary,.secondary,.danger,.text-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650}
.primary,.secondary,.danger {min-height:40px;padding:9px 20px;border-radius:28px}
.primary {background:var(--green);color:#fff}
.primary:hover {background:#104f32}
.secondary {color:#294b35;background:#fff;border:1px solid var(--line)}
.secondary:hover,.text-button:hover {background:#eef4e8}
.danger {background:#b82e3b;color:white}
.small {min-height:33px;padding:5px 14px;font-size:13px}
.text-button {border-radius:7px;color:var(--green);background:none;padding:5px 8px}
.subtle {color:var(--muted);line-height:1.55;font-size:14px}
.wordmark {display:flex;gap:12px;align-items:center;letter-spacing:.08em;font-size:27px;color:#fff}
.leafmark {position:relative;display:block;width:38px;height:38px;border-radius:11px;background:#dfedc5;overflow:hidden}
.leafmark:before,.leafmark:after {content:"";position:absolute;background:#2b6643;transform:rotate(-12deg)}
.leafmark:before {width:15px;height:11px;left:6px;top:17px;border-radius:1px 100% 2px 100%}
.leafmark:after {width:17px;height:16px;left:16px;top:8px;border-radius:100% 1px 100% 2px}
.login-layout {display:grid;grid-template-columns:minmax(330px,.8fr) minmax(420px,1fr);min-height:100vh}
.login-cover {position:relative;isolation:isolate;overflow:hidden;background:var(--rail);padding:clamp(36px,5vw,86px);display:flex;flex-direction:column;justify-content:space-between;min-height:600px;color:#fff}
.cover-copy {position:relative;z-index:1;margin-bottom:11vh}
.cover-copy h1 {font-size:clamp(34px,4.1vw,74px);line-height:1.22;margin-bottom:.36em;letter-spacing:-.06em}
.cover-copy p {color:#c6dcc6;font-size:clamp(17px,1.4vw,24px)}
.fields-art {position:absolute;z-index:-1;right:-45%;top:12%;width:145%;height:85%;border-radius:44% 32% 60% 20%;opacity:.6;background:repeating-radial-gradient(ellipse at 80% 24%,transparent 0 20px,rgba(173,208,146,.16) 21px 22px,transparent 23px 34px);transform:rotate(-16deg)}
.login-section {display:grid;place-items:center;padding:32px}
.login-card {background:white;width:min(100%,415px);border-radius:24px;padding:36px;border:1px solid var(--line);box-shadow:0 12px 36px #25453109}
.login-card h2 {font-size:31px}
.login-card>p {margin:10px 0 24px}
.login-card label,.field {display:flex;flex-direction:column;gap:7px;color:#344d3d;font-size:14px;font-weight:650}
.login-card label+label {margin-top:18px}
input,textarea,select {min-height:42px;border-radius:9px;border:1px solid #c8d5c9;background:#fff;color:var(--ink);padding:9px 11px;width:100%;font-size:14px}
input[type=checkbox] {width:16px;height:16px;min-height:0;accent-color:var(--green)}
textarea {resize:vertical;min-height:88px}
.login-submit {width:100%;margin-top:24px}
.workspace {min-height:100vh;display:grid;grid-template-columns:226px minmax(0,1fr)}
.sidebar {background:var(--rail);height:100dvh;position:sticky;top:0;color:white;padding:28px 16px 18px;display:flex;flex-direction:column}
.sidebar .wordmark {padding:0 12px}
.scope {padding:20px 12px;color:#c4d7c5;font-size:13px;white-space:normal;line-height:1.55}
#nav {flex:1;overflow-y:auto}
.nav-group {font-size:11px;color:#aac3ae;letter-spacing:.08em;font-weight:600;margin:22px 12px 7px}
.nav-group:first-child {margin-top:3px}
.nav-link {display:flex;align-items:center;gap:12px;width:100%;min-height:40px;color:#e1eae3;padding:8px 12px;text-align:left;border:0;border-radius:10px;background:none;font-size:14px}
.nav-link+.nav-link {margin-top:2px}
.nav-link:hover {background:#ffffff10}
.nav-link[aria-current=page] {background:#dcebc9;color:#173c2b;font-weight:700}
.nav-icon {width:18px;height:18px;flex:none;opacity:.9}
.sidebar-foot {display:flex;align-items:center;gap:8px;border-top:1px solid #ffffff25;padding:15px 8px 0;margin-top:12px;font-size:13px}
.online-dot {width:8px;height:8px;border-radius:50%;background:#bbdc9e}
#signed-in {min-width:0;overflow-wrap:anywhere}
.logout {margin-left:auto;background:none;color:#d3e1d5;border:0;font-size:13px}
.main {min-width:0}
.bar {position:sticky;top:0;z-index:8;height:65px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:12px;padding:0 clamp(20px,3vw,48px);color:#657468;font-size:13px}
.bar #refresh {margin-left:auto}
.content {padding:clamp(22px,3vw,47px);max-width:1650px;margin:auto}
.heading {display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap}
.heading h1 {font-size:clamp(27px,3vw,37px);line-height:1.2}
.heading .subtle {margin-top:7px}
.surface {background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}
.metrics {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin-bottom:22px}
.metric {text-align:left;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;min-height:110px;color:var(--ink)}
.metric:hover {border-color:#8cb49b}
.metric span {display:block;color:var(--muted);font-size:13px}
.metric strong {display:block;font-size:32px;margin-top:12px;font-variant-numeric:tabular-nums;line-height:1.1}
.metric:first-child {background:#eaf2e3;border-color:#cfddc5}
.section-head,.toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:17px 20px;border-bottom:1px solid #edf0e9}
.section-head h2,.toolbar h2 {font-size:18px}
.toolbar input {max-width:270px}
.list-search {min-width:0;padding:6px 20px;border-bottom:1px solid var(--line)}
.order-status-strip {display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 16px}
.order-status-chip {display:inline-flex;flex:none;align-items:center;gap:8px;min-height:42px;padding:5px 12px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--deep);font-size:14px;font-weight:600;white-space:nowrap}
.order-status-chip:hover {border-color:#94ac98}
.order-status-chip[aria-pressed=true] {background:var(--deep);border-color:var(--deep);color:#fff}
.order-chip-count {min-width:23px;padding:1px 6px;border-radius:20px;background:#edf2e9;color:#496451;font-size:12px;font-variant-numeric:tabular-nums;text-align:center}
.order-status-chip[aria-pressed=true] .order-chip-count {background:#e6f2d8;color:#214434}
.filter-summary {display:flex;justify-content:space-between;align-items:center;gap:10px}
.filter-toggle {display:inline-flex;align-items:center;gap:8px;min-height:44px;background:transparent;color:var(--deep);font-weight:700;padding:4px 6px;border-radius:8px}
.filter-toggle:hover {background:#f0f5ec}
.filter-toggle::after {content:"";width:7px;height:7px;border:solid var(--muted);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-4px 3px 0 1px}
.filter-toggle[aria-expanded=true]::after {transform:rotate(225deg);margin-top:4px}
.filter-count {display:inline-grid;place-items:center;min-width:22px;min-height:22px;padding:0 6px;border-radius:12px;background:var(--green);color:#fff;font-size:12px;font-variant-numeric:tabular-nums}
.filter-results {font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}
.filter-panel {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr));gap:12px 16px;align-items:end;padding:8px 0 14px}
.filter-control {display:grid;min-width:0;gap:5px;color:var(--muted);font-size:13px;font-weight:600}
.filter-control input,.filter-control select {min-width:0;max-width:100%;min-height:44px;font-weight:400}
.filter-keyword {grid-column:span 2}
.filter-actions {display:flex;align-items:center}
.filter-actions button {min-height:44px}
.filter-actions button:disabled {cursor:default}
.filter-error {grid-column:1/-1;color:var(--red);font-size:13px}
.table-wrap {overflow:auto}
.record-label {display:none}
.sort-pages {display:flex;justify-content:flex-end;padding:5px 18px}
.sort-pages button {min-height:42px}
.reorder-title {display:flex;align-items:center;gap:8px;min-width:0}
.reorder-title>.item-media {min-width:0}
.reorder-handle {display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:40px;border-radius:8px;background:#f0f4ee;color:#4b6857;cursor:grab;touch-action:none;user-select:none}
.reorder-handle::before {content:"";display:block;width:14px;height:20px;background:radial-gradient(circle at 3px 3px,currentColor 1.6px,transparent 1.9px);background-size:7px 7px}
.reorder-handle:hover,.reorder-handle:focus-visible {background:#e0ecdd;color:var(--green)}
.reorder-dragging .reorder-handle {cursor:grabbing;background:#d9e9da}
.reorder-dragging>td {background:#f4f8f2}
.reorder-before>td {box-shadow:inset 0 3px var(--green)}
.reorder-after>td {box-shadow:inset 0 -3px var(--green)}
.record-table tbody[aria-busy=true] .reorder-handle {opacity:.55;cursor:wait}
@media (max-width:850px), (max-width:960px) and (pointer:coarse) {
  .reorder-handle {flex-basis:44px;width:44px;height:44px}
  .record-table .reorder-before {box-shadow:inset 0 3px var(--green)}
  .record-table .reorder-after {box-shadow:inset 0 -3px var(--green)}
  .record-table .reorder-before>td,.record-table .reorder-after>td {box-shadow:none}
  .record-table .reorder-dragging>td {background:transparent}
  .record-table tbody tr.reorder-dragging {background:#f4f8f2}
}
table {width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:14px}
th,td {padding:13px 18px;border-bottom:1px solid #edf0e9;vertical-align:middle}
th {font-weight:600;background:#fbfcf9;color:#627166;font-size:12px}
tbody tr:last-child td {border-bottom:0}
td:last-child,th:last-child {text-align:right}
.title-cell {font-weight:650;color:#284430;max-width:270px;overflow:hidden;text-overflow:ellipsis}
.item-media {display:flex;align-items:center;gap:10px}
.thumb {width:38px;height:38px;object-fit:cover;border-radius:9px;background:#edf2ed}
.shop-visuals {display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.shop-visuals figure {margin:0;max-width:100%}
.shop-visuals img,.proof-thumb {display:block;max-width:100%;height:90px;object-fit:contain;border-radius:9px;background:#f5f7f2}
.shop-visuals figcaption {margin-top:5px;font-size:12px;color:var(--muted)}
.proof-thumb {width:80px;height:80px;object-fit:cover}
.pill {display:inline-block;padding:4px 9px;border-radius:20px;color:#34623c;background:#edf3e8;font-size:12px}
.pill.muted {background:#f2f2ee;color:#687064}
.badge-choices {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(165px,100%),1fr));gap:10px;padding:18px 20px}
.badge-choice {min-width:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 12px;background:#fbfcf9;border:1px solid var(--line);border-radius:10px;text-align:left}
.badge-choice:hover {border-color:#8cb49b;background:#f2f6ed}
.badge-choice-arrow {font-size:20px;color:var(--muted);line-height:1}
.badge-sample {display:inline-block;max-width:100%;border-radius:4px;padding:3px 6px;font-size:13px;font-weight:650;line-height:1.25;overflow-wrap:anywhere}
.badge-empty {padding:16px 20px}
.badge-example {margin-bottom:20px;padding:13px 16px;background:#f5f7f2;border-radius:12px}
.badge-example>span {font-size:12px;color:var(--muted)}
.badge-example>div {display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:8px;overflow-wrap:anywhere}
.badge-color-control {min-width:0;display:flex;flex-direction:column;gap:7px}
.badge-color-inputs {display:flex;gap:7px}
.badge-color-inputs input[type=color] {width:48px;min-height:44px;flex:none;cursor:pointer;padding:3px}
.badge-color-inputs input[type=text],.badge-color-inputs input:not([type]) {min-width:0;font-family:monospace}
.badge-fields [data-gradient] {align-self:start}
.badge-foot .badge-reset {margin-right:auto}
@media(max-width:680px){
  .badge-choices {grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}
  .badge-foot {flex-wrap:wrap;gap:6px;padding:12px}
  .badge-foot button {min-height:44px}
}
.empty {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:11px;min-height:210px;padding:24px;text-align:center;color:var(--muted)}
.empty-mark {width:42px;height:35px;border:2px solid #b3c9b4;border-radius:7px;background:linear-gradient(0deg,#f2f7ee 50%,#fff 50%);transform:rotate(-4deg)}
.quick-links {display:flex;gap:10px;flex-wrap:wrap;padding:18px 20px}
.surface+.surface {margin-top:20px}
.error {background:#fbedeb;color:#9b2836;padding:10px 12px;font-size:14px;border-radius:8px}
.workspace-error {margin:18px clamp(20px,3vw,48px) 0}
#notice {position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#193f30;color:#fff;padding:10px 18px;border-radius:12px;z-index:30}
dialog {border:0;border-radius:19px;padding:0;max-width:min(calc(100vw - 28px),780px);width:100%;max-height:calc(100dvh - 45px);color:var(--ink);box-shadow:0 25px 90px #10281833}
dialog::backdrop {background:#10271a66}
.dialog-head,.dialog-foot {display:flex;align-items:center;justify-content:space-between;padding:18px 23px;gap:15px;background:#fff}
.dialog-head {position:sticky;top:0;z-index:1;border-bottom:1px solid var(--line)}
.dialog-head h2 {font-size:21px}
.dialog-close {width:34px;height:34px;border-radius:50%;background:#f0f3ed;color:#3f5544;font-size:22px}
.dialog-body {padding:22px 24px}
.wechat-pay form.dialog-body,
form.dialog-body[data-scene],
.dialog-body[data-loading-order] {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:14px;
}
.dialog-body[data-loading-order] {justify-items:start}
#editor .dialog-body > :is(.form-grid,.field,[data-preview]:empty) + :is(p.hint,p.subtle):not([hidden]),
#editor .dialog-body > :is(.form-grid,.field,p,.appearance-tools):not([hidden]) + p.error:not([hidden]),
[data-sort-error]:not([hidden]),
#home-entries-panel > .surface + p.error:not([hidden]),
.customer-items > .links + p.error:not([hidden]),
[data-usage] [data-entries]:not(:empty) + p.error:not([hidden]) {margin-block-start:12px}
.dialog-body > p.error:not([hidden]) + button:not([hidden]),
[data-config] > p.error:not([hidden]) + button:not([hidden]),
[data-sort-error]:not([hidden]) + [data-sort-reload]:not([hidden]) {margin-block-start:10px}
[data-settings] [data-copy-callback] {margin-block-start:8px}
.dialog-foot {position:sticky;bottom:0;justify-content:flex-end;border-top:1px solid var(--line)}
.delete-link {margin-right:auto;border:0;background:none;color:var(--red);padding:8px}
.form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}
.wide,.repeat-box,.divider {grid-column:1/-1}
.span-limit {overflow-wrap:anywhere}
.hint {color:var(--muted);font-size:12px;font-weight:400;line-height:1.55}
.upload-control {position:relative;display:inline-flex;width:fit-content;padding:6px 11px;max-width:100%;overflow:hidden;border:1px solid var(--line);border-radius:20px;color:var(--green);font-size:12px;cursor:pointer}
.upload-control input {position:absolute;inset:0;opacity:0;padding:0;cursor:pointer;min-height:0}
.upload-control:focus-within {outline:2px solid var(--green);outline-offset:2px}
.field .required {color:#9b3a3e}
.field.check {display:flex;flex-direction:row;align-items:center;align-self:end;min-height:42px}
.check-group {display:flex;flex-wrap:wrap;gap:8px 14px}
.check-group label {display:flex;gap:6px;align-items:center;font-weight:500}
.repeat-box {border:1px solid var(--line);border-radius:12px;padding:13px}
.repeat-box .repeat-title {display:flex;align-items:center;justify-content:space-between;margin-bottom:7px;font-weight:700}
.repeat-row {display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr)) 40px;gap:8px;align-items:end;padding:10px 0}
.repeat-row+.repeat-row {border-top:1px solid #edf0e9}
.repeat-row .field {font-size:12px}
.row-remove {align-self:end;justify-self:end;width:36px;height:36px;padding:0;line-height:1;border:0;border-radius:50%;background:#fcf3f2;color:var(--red);font:500 18px/1 sans-serif}
.image-zoom {display:inline-grid;place-items:center;flex:none;border:0;padding:0;background:transparent;border-radius:8px}
.image-zoom,img.thumb,.shop-visuals img,.proof-thumb,.media-frame img,.choice-image img,[data-image-preview]{cursor:zoom-in}
#image-preview {padding:12px;max-width:calc(100vw - 24px);width:max-content;background:#18211e;overflow:visible}
#image-preview::backdrop {background:#10201be0}
#image-preview img {display:block;max-width:calc(100vw - 48px);max-height:calc(100dvh - 88px);object-fit:contain;margin:auto}
#image-preview button {position:absolute;right:8px;top:8px;width:38px;height:38px;border:1px solid #ffffff70;border-radius:50%;background:#18211ed9;color:#fff;font:24px/1 sans-serif}
.hot-search-list {margin:0;padding:0 18px;list-style:none}
.hot-search-list li {display:flex;align-items:center;gap:12px;min-height:58px;padding:6px 0}
.hot-search-list li+li {border-top:1px solid var(--line)}
.detail-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:14px;margin:8px 0 20px}
.detail-grid dt {color:var(--muted);font-size:12px}
.detail-grid dd {margin:5px 0 0;line-height:1.5;overflow-wrap:anywhere}
.detail-sub {font-size:15px;margin:18px 0 10px}
.detail-item {padding:10px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0e9}
.claim {background:#f6f8f3;border-radius:12px;padding:14px;margin:10px 0}
.claim p {margin:6px 0;color:#546154}
.links {display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.customer-search summary {display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;cursor:pointer;font-weight:650}
.customer-search summary::after {content:"⌄";color:var(--muted)}
.customer-search[open] summary::after {transform:rotate(180deg)}
.customer-search .filter-results {margin-left:auto;font-weight:400}
.customer-search .links button,.customer-tabs button {min-height:44px}
.customer-id {font-size:14px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.customer-identity,.customer-tabs {display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 20px}
.customer-tabs {gap:6px;padding-block:0 16px;border-bottom:1px solid #edf0e9}
.customer-tabs .secondary {padding:6px 14px}
.customer-tabs [aria-pressed=true] {background:var(--green);border-color:var(--green);color:white}
.customer-items {padding:0 20px;overflow-wrap:anywhere}
.customer-block,.customer-line {padding:15px 0}
.customer-block+.customer-block,.customer-line+.customer-line {border-top:1px solid #edf0e9}
.customer-block p {margin-top:5px}
.customer-block > [role=status]:not(:empty) {display:block;margin-block-start:10px}
.customer-line {display:flex;gap:12px;align-items:center}
.customer-line .thumb {width:48px;height:48px;flex:none}
.customer-line-copy {flex:1;min-width:0}
.customer-price {color:var(--red);font-variant-numeric:tabular-nums;text-align:right}
.mobile-mask,.mobile-toggle {display:none}
@media(max-width:850px){.workspace{grid-template-columns:185px minmax(0,1fr)}.sidebar{padding-inline:10px}.content{padding:22px 17px}.login-layout{grid-template-columns:.8fr 1fr}}
@media(max-width:680px){.workspace{display:block}.sidebar{display:none;position:fixed;left:0;top:0;width:230px;z-index:20}.nav-open .sidebar{display:flex}.nav-open .mobile-mask{display:block;position:fixed;inset:0;background:#142c1b66;z-index:19}.mobile-toggle{display:inline-block;border:0;border-radius:6px;background:#edf3e7;color:var(--deep);font-size:19px;padding:4px 8px}.bar{height:55px;padding:0 14px}.login-layout{display:block}.login-cover{min-height:0;height:175px;padding:22px 26px}.cover-copy{margin:0}.cover-copy h1{font-size:28px}.cover-copy p{font-size:14px}.login-section{padding:25px 14px}.login-card{padding:26px}.heading{margin-bottom:18px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{min-height:86px;padding:14px}.metric strong{font-size:27px}td,th{padding:11px 12px}.form-grid{grid-template-columns:1fr}.dialog-body{padding:15px}.repeat-row{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar input{width:100%;max-width:none}}
@media (max-width:850px), (max-width:960px) and (pointer:coarse) {
  .order-status-strip {flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;max-width:100%;padding:4px 3px 6px;margin-bottom:7px}
  .order-status-chip {min-height:44px}
  .surface:has(> #results),.surface:has(> .table-wrap) {background:transparent;border:0}
  .list-search {background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:12px;padding:3px 14px}
  .filter-panel {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
  .filter-keyword,.filter-actions {grid-column:1/-1}
  .filter-actions {justify-content:flex-end}
  .filter-control input,.filter-control select {font-size:16px;padding-inline:8px}
  .surface:has(> #results) > .toolbar,.surface:has(> .table-wrap) > .section-head {padding:0 0 12px;border:0}
  .surface:has(> #results) > .toolbar h2 {display:none}
  .surface:has(> #results) > .toolbar input {max-width:none}
  #results > .empty {background:white;border-radius:var(--radius)}
  #results > .section-head {padding:12px 0 0;border:0}
  #results > .section-head button {min-height:44px;padding-inline:14px}
  .table-wrap:has(> .record-table) {overflow:visible}
  .record-table {position:relative;display:block;white-space:normal}
  .record-table thead {position:absolute;width:1px;height:1px;padding:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
  .record-table tbody {display:grid;gap:12px}
  .record-table tbody tr {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;
    padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  }
  .record-table td {display:block;min-width:0;border:0;padding:0;text-align:left;overflow-wrap:anywhere}
  .record-title,.record-wide,.record-actions {grid-column:1/-1}
  .record-table .title-cell {display:block;max-width:none;overflow:visible;font-size:16px;line-height:1.45}
  .record-table .thumb {width:44px;height:44px;flex:none}
  .record-label {display:block;margin-bottom:2px;color:var(--muted);font-size:12px;line-height:1.4}
  .record-value {font-size:14px;line-height:1.45}
  .record-table td.record-actions {display:flex;gap:8px;padding-top:4px}
  .record-table td.no-actions {display:none}
  .record-actions button {
    flex:1;min-width:0;min-height:44px;padding:9px 12px;border-radius:10px;
    background:#edf4e9;color:var(--green);font-size:15px;
  }
  .record-actions button:not(:last-child) {background:#f4f5f1;color:var(--ink)}
  .record-actions button:active {background:#dbead5}
}
@media(max-width:380px){.filter-control:has(input[type=date]) {grid-column:1/-1}}
@media (max-width:850px), (max-width:960px) and (pointer:coarse) {
  .customer-directory .surface:has(.customer-search) {background:transparent;border:0}
  .customer-directory [data-output]>.empty {background:white;border-radius:var(--radius)}
  .customer-directory [data-output]>.section-head {padding:12px 0 0;border:0}
  .customer-directory [data-output]>.section-head button,.customer-directory .heading button {min-height:44px}
  .customer-search .links {grid-column:1/-1}
  .customer-identity,.customer-tabs,.customer-items {padding-inline:14px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.intercept-count {margin-inline-start:auto;padding:2px 7px;border-radius:999px;background:#af3731;color:#fff;font-size:12px;font-weight:700;line-height:1.4}
.wechat-pay .surface+.surface {margin-top:24px}
.wechat-pay .wechat-mode-actions,.wechat-pay .wechat-job-pages:not(:empty) {display:flex;flex-wrap:wrap;gap:10px}
.wechat-pay .wechat-job-pages:not(:empty) {justify-content:flex-end;padding:14px 20px}
.captcha-row {display:flex;gap:10px;align-items:center}
.captcha-row input {min-width:0;flex:1}
.captcha-row button {flex:none;width:144px;height:44px;padding:0;border:none;border-radius:8px;background:#edf4eb}
.captcha-row img {width:100%;height:100%;display:block}
.pin-setup:not([hidden]) {min-height:100vh;display:grid;place-items:center;padding:20px}
.pin-setup .login-card {width:min(100%,410px)}
.pin-setup .pin-actions {display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:20px}
.pin-actions button {min-height:44px}
.pin-setup .error {margin:12px 0 0}
.faq-answer {margin-top:6px;white-space:pre-wrap;overflow-wrap:anywhere;font-weight:400}
