/* 动态表单字段必须服从 HTML hidden 状态，避免 label/grid 的 display 覆盖浏览器默认隐藏样式。 */
[hidden] { display: none !important; }

.membership-plan-table { min-width: 1040px; }
.membership-plan-table th:first-child,
.membership-plan-table td:first-child { width: 90px; }
.membership-plan-table th:last-child,
.membership-plan-table td:last-child { width: 150px; }
.plan-name-cell { display: grid; min-width: 230px; gap: 5px; }
.plan-name-cell > span,
.plan-value { display: inline-flex; align-items: center; gap: 6px; }
.plan-name-cell small { margin: 0; }
.plan-type-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 99px; background: #edf3e8; color: #4f6b42; font-size: 12px; white-space: nowrap; }
.plan-type-chip.annual { background: #f7ead7; color: #936128; }
.plan-value b { color: #354932; font-family: "Noto Serif SC", serif; font-size: 14px; }
.membership-plan-table td > small { display: block; margin-top: 3px; color: #96988f; font-size: 11px; }

/* 返场管理：按商品聚合顾客想要信号。 */
.customer-result-count{align-self:flex-end;color:#72806c;font-size:12px}.customer-toolbar .table-tools{display:flex;align-items:center;gap:8px}.customer-toolbar select{height:34px;padding:0 8px;border:1px solid #d9d1c3;border-radius:6px;background:#fffdf9;color:#43543d;font-size:12px}.customer-table-complete{min-width:1240px}.customer-table-complete td{vertical-align:middle}.customer-table-complete .customer-sort-heading{padding:0}.customer-column-sort{display:inline-flex;width:100%;min-height:42px;align-items:center;gap:5px;padding:0 12px;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;white-space:nowrap;cursor:pointer}.customer-column-sort:hover{background:#f7faf3;color:#45653c}.customer-column-sort i{color:#98a592;font-size:14px;font-style:normal;line-height:1}.customer-column-sort.active{color:#395d32}.customer-column-sort.active i{color:#527843;font-weight:800}@media(max-width:760px){.customer-result-count{align-self:flex-start}.customer-toolbar .table-tools{width:100%;flex-wrap:wrap}.customer-toolbar .table-tools input{min-width:0;flex:1 1 100%}.customer-toolbar select{flex:1}}
.comeback-product-card{grid-template-columns:64px minmax(250px,1fr) 80px auto!important}@media(max-width:980px){.comeback-product-card{grid-template-columns:60px minmax(220px,1fr) 70px auto!important}}@media(max-width:650px){.comeback-product-card{grid-template-columns:54px minmax(0,1fr) 58px auto!important}}
.comeback-product-next{overflow:visible!important;margin-top:3px!important;color:#547044!important;font-weight:600;line-height:1.55!important;text-overflow:clip!important;white-space:normal!important}
.comeback-management{padding:5px 0 30px}.comeback-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:18px 0}.comeback-head h2{margin:5px 0 7px;color:#31462d;font-family:"Noto Serif SC",serif;font-size:29px;letter-spacing:.03em}.comeback-head p{max-width:680px;margin:0;color:#778171;font-size:13px;line-height:1.7}.comeback-overview{display:flex;overflow:hidden;min-width:350px;border:1px solid #e4decf;border-radius:10px;background:#fffdf8}.comeback-overview span{display:grid;gap:2px;padding:11px 15px;border-left:1px solid #eee7da;color:#8b9187;font-size:11px;white-space:nowrap}.comeback-overview span:first-child{border-left:0}.comeback-overview b{color:#49673d;font-family:"Noto Serif SC",serif;font-size:19px;line-height:1}.comeback-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px;padding:11px 13px;border:1px solid #e7dfd1;border-radius:10px;background:#fffdf9}.comeback-tabs{display:flex;gap:3px;overflow:auto}.comeback-tabs button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:0;border-radius:5px;background:transparent;color:#6a7466;font-family:"Noto Serif SC",serif;font-size:12px;white-space:nowrap}.comeback-tabs button b{display:grid;min-width:17px;height:17px;place-items:center;border-radius:9px;background:#edf0e9;color:#64745a;font-size:10px}.comeback-tabs button.active{background:#edf4e7;color:#385735}.comeback-tabs button.active b{background:#d8e6cc;color:#35562c}.comeback-toolbar input{width:205px;height:31px;padding:0 10px;border:1px solid #dfd8ca;border-radius:6px;background:#fff;color:#43543d;font-size:12px}.comeback-list{display:grid;gap:10px}.comeback-product-card{display:grid;grid-template-columns:64px minmax(250px,1fr) 80px 84px auto;align-items:center;gap:16px;min-height:88px;padding:12px 14px;border:1px solid #e7dfd1;border-radius:11px;background:#fffdf9}.comeback-product-cover{display:grid;overflow:hidden;width:64px;height:64px;place-items:center;border-radius:8px;background:#f0ece3;color:#708264;font-size:22px}.comeback-product-cover img{width:100%;height:100%;object-fit:cover}.comeback-product-main{display:grid;min-width:0;gap:4px}.comeback-product-title{display:flex;align-items:center;gap:9px;min-width:0}.comeback-product-title h3{overflow:hidden;margin:0;color:#344936;font-family:"Noto Serif SC",serif;font-size:16px;text-overflow:ellipsis;white-space:nowrap}.comeback-product-main p{overflow:hidden;margin:0;color:#747d70;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.comeback-product-main small{color:#a09c90;font-size:10px}.comeback-lifecycle{display:inline-flex;flex:0 0 auto;align-items:center;min-height:21px;padding:0 7px;border-radius:11px;background:#edf3e8;color:#527143;font-size:10px;font-style:normal}.comeback-lifecycle.soldout{background:#f8eedb;color:#9b6c2c}.comeback-lifecycle.confirmed{background:#e9f0e4;color:#4a743d}.comeback-lifecycle.selling{background:#e8f3eb;color:#34704a}.comeback-lifecycle.ended{background:#f1eee8;color:#858278}.comeback-product-signal{display:grid;gap:2px;text-align:center}.comeback-product-signal strong{color:#48673c;font-family:"Noto Serif SC",serif;font-size:21px;line-height:1}.comeback-product-signal span{color:#8a9285;font-size:10px}.comeback-product-actions{display:flex;justify-content:flex-end;gap:7px}.comeback-product-actions button{min-height:31px;padding:0 10px;border-radius:6px;font-size:12px;white-space:nowrap}.comeback-empty{display:grid;min-height:180px;place-content:center;gap:7px;border:1px dashed #dcd4c6;border-radius:10px;color:#889084;text-align:center}.comeback-empty b{color:#56654f;font-family:"Noto Serif SC",serif}.comeback-empty p{margin:0;color:#90968c;font-size:12px}@media(max-width:980px){.comeback-head{align-items:flex-start;flex-direction:column}.comeback-overview{min-width:0}.comeback-product-card{grid-template-columns:60px minmax(220px,1fr) 70px 70px}.comeback-product-actions{grid-column:2 / -1;justify-content:flex-start}}@media(max-width:650px){.comeback-toolbar{align-items:stretch;flex-direction:column}.comeback-toolbar input{width:auto}.comeback-product-card{grid-template-columns:54px minmax(0,1fr) 58px 58px;gap:10px;padding:10px}.comeback-product-cover{width:54px;height:54px}.comeback-product-actions{grid-column:1 / -1}.comeback-product-main p{white-space:normal}.comeback-overview{width:100%}.comeback-overview span{flex:1;padding:10px}.comeback-tabs{padding-bottom:2px}}

:root {
  --brand: #4f663d;
  --brand-dark: #344828;
  --nav: #f6f2e7;
  --nav-hover: #ebe5d5;
  --ink: #283529;
  --muted: #818678;
  --line: #e7e1d4;
  --canvas: #f7f4ec;
  --paper: #fffdf8;
  --warning: #cc6b27;
  --danger: #bc4d37;
  --shadow: 0 14px 35px rgba(82, 67, 43, .06);
}

.runner-pricing-block { display: grid; grid-column: 1 / -1; gap: 10px; padding: 16px; border: 1px solid #e7e0d5; border-radius: 11px; background: #faf8f2; }
.runner-pricing-block > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.runner-pricing-block > header b, .runner-pricing-block > header small { display: block; }
.runner-pricing-block > header b { color: #495644; font-size: 13px; }
.runner-pricing-block > header small { margin-top: 3px; color: #8d9388; font-size: 11px; }
.runner-pricing-block .repeat-card { padding-top: 38px; }
.runner-pricing-block .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.runner-pricing-block .add-line { margin-top: 0; justify-self: start; }
@media (max-width: 900px) { .runner-pricing-block .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .runner-pricing-block .form-grid { grid-template-columns: 1fr; } }

.welfare-sort-value,.welfare-sort-editor{display:inline-flex;align-items:center;gap:4px}.welfare-sort-editor input{box-sizing:border-box;width:72px;height:30px;padding:0 7px;border:1px solid #a8bd98;border-radius:5px;background:#fffdf9;color:#344a36;font-family:"Noto Serif SC",serif;font-size:13px;font-weight:700;outline:0}.welfare-sort-editor input:focus{border-color:#668955;box-shadow:0 0 0 3px rgba(94,133,73,.13)}.inline-sort-save,.inline-sort-cancel{min-height:28px!important;margin:0!important;padding:0 7px!important;border:1px solid #b7c9aa!important;border-radius:5px!important;background:#f4f8f0!important;color:#45683b!important;font-size:11px!important;font-weight:700!important}.inline-sort-cancel{width:28px;padding:0!important;border-color:#ddd5c9!important;background:#fffdf9!important;color:#897f72!important;font-size:17px!important;line-height:1!important}

body { background: var(--canvas); font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .01em; }
button, input, textarea, select { font-family: inherit; }
.brand-mark.brand-image { overflow: hidden; background: #e9eddf; }
.brand-mark.brand-image img { width: 94%; height: 94%; object-fit: contain; }
.login-view { border: 1px solid var(--line); border-radius: 22px; background: rgba(255, 253, 248, .96); box-shadow: 0 30px 70px rgba(70, 56, 33, .10); }
.login-view h1, .dashboard-intro h2, .dashboard-actions h2, .story-main strong { font-family: "Noto Serif SC", "Songti SC", serif; }
.console-view { grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { padding: 22px 14px 16px; border-right: 1px solid #e3ddcf; background: var(--nav); color: var(--ink); }
.sidebar-brand { gap: 12px; padding: 2px 10px 27px; }
.sidebar-brand strong { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 17px; letter-spacing: .05em; }
.sidebar-brand span { color: #909382; font-size: 9px; letter-spacing: .08em; }
.nav-tabs { gap: 18px; }
.nav-caption { padding: 0 12px 7px; color: #a8a18e; font-size: 10px; letter-spacing: .14em; }
.nav-item, .logout { min-height: 38px; padding: 9px 11px; border-radius: 10px; color: #687060; font-weight: 600; }
.nav-item i { width: 22px; color: #8c947e; font-size: 15px; }
.nav-item:hover, .nav-item.active { background: #fffdf8; color: #a94327; box-shadow: 0 5px 14px rgba(88, 72, 45, .06); }
.nav-item.active i { color: #c95530; }
.sidebar-footer { margin-top: auto; padding: 20px 8px 11px; text-align: center; }
.sidebar-footer img { width: 88px; height: 88px; object-fit: contain; }
.sidebar-footer p { margin: 3px 0 0; color: #8d8b7d; font-family: "Noto Serif SC", serif; font-size: 11px; line-height: 1.9; }
.logout { margin-top: 0; color: #8d7d70; }

.workspace { padding: 0 42px 52px; }
.topbar { min-height: 84px; margin: 0 -42px 29px; padding: 0 42px; border-bottom-color: var(--line); background: rgba(255, 253, 248, .86); }
.topbar .eyebrow { color: #ad9e83; }
.topbar h1 { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 21px; }
.top-search input { border: 1px solid #e8e1d4; border-radius: 99px; background: #fbf9f2; }
.notice-dot, .quiet, .outline { border: 1px solid #e5ddcf; border-radius: 99px; background: #fffdf8; color: #606a54; }
.primary { border-radius: 99px; background: #bd452e; box-shadow: 0 7px 17px rgba(185, 69, 43, .18); }
.primary:hover { background: #a43724; }

.dashboard { width: min(1240px, 100%); margin: 0 auto; }
.dashboard-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 3px 0 23px; }
.dashboard-intro .eyebrow { margin: 0 0 6px; color: #aa987b; }
.dashboard-intro h2 { margin: 0; color: #37472e; font-size: 35px; font-weight: 600; line-height: 1.25; }
.dashboard-intro-copy { margin: 6px 0 0; color: #777d70; font-size: 14px; }
.dashboard-date { display: grid; justify-items: end; gap: 4px; padding-bottom: 6px; color: #5b6555; font-family: "Noto Serif SC", serif; font-size: 13px; }
.dashboard-date small { color: #aaa392; font-family: inherit; font-size: 11px; }
.dashboard-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .78fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.story-main { display: grid; min-height: 398px; align-content: start; padding: 31px 34px 27px; background: #fbf9f0; }
.story-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #596354; font-size: 14px; font-weight: 700; }
.story-status { color: #bd4a32; font-size: 12px; font-weight: 600; }
.story-main strong { display: block; margin: 22px 0 12px; color: #435b32; font-size: clamp(56px, 6vw, 94px); font-weight: 600; letter-spacing: -.055em; line-height: .95; }
.story-main > p { margin: 0; color: #8b907f; font-size: 13px; }
.story-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; align-self: end; padding-top: 30px; border-top: 1px solid #e6e0d3; color: #65705e; font-size: 13px; }
.feature-product { display: grid; grid-template-rows: 206px 1fr; border-left: 1px solid var(--line); background: #f6f1e7; }
.feature-media { overflow: hidden; background: #eee7d7; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { padding: 22px 24px; }
.feature-copy > span { color: #b14a2e; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.feature-copy h3 { margin: 6px 0 7px; color: #35482d; font-family: "Noto Serif SC", serif; font-size: 19px; line-height: 1.5; }
.feature-copy p { margin: 0 0 10px; color: #787f70; font-size: 12px; line-height: 1.7; }
.text-button { color: #698153; }
.dashboard-signals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 8px 22px rgba(82, 67, 43, .035); }
.dashboard-signals article { display: flex; min-width: 0; gap: 15px; padding: 23px 24px; border-right: 1px solid var(--line); }
.dashboard-signals article:last-child { border-right: 0; }
.signal-mark { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border-radius: 50%; font-family: "Noto Serif SC", serif; font-size: 16px; font-weight: 700; }
.signal-mark.orange { background: #f8ead6; color: #b65f27; }.signal-mark.sage { background: #e8ede1; color: #59704b; }.signal-mark.rose { background: #f6e7df; color: #b9543a; }
.dashboard-signals strong { margin-right: 7px; color: #b5462e; font-family: "Noto Serif SC", serif; font-size: 31px; line-height: 1; }.dashboard-signals span { color: #505b4c; font-size: 13px; font-weight: 700; }.dashboard-signals p { min-height: 34px; margin: 7px 0 4px; color: #8b907e; font-size: 12px; line-height: 1.5; }.dashboard-signals button { padding: 0; background: transparent; color: #667d53; font-size: 12px; font-weight: 700; }
.dashboard-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 23px 27px; border: 1px solid #e5dacb; border-radius: 16px; background: #f3eee2; }.dashboard-actions p { margin: 0 0 3px; color: #ae9a7f; font-size: 11px; font-weight: 800; letter-spacing: .08em; }.dashboard-actions h2 { margin: 0; color: #3d4d33; font-size: 19px; font-weight: 600; }.dashboard-actions > div:last-child { display: flex; gap: 9px; }.dashboard-actions button { min-height: 38px; padding: 8px 15px; }

.module { width: min(1240px, 100%); margin: 0 auto; }.content-card, .editor-card, .detail-card, .dashboard-panel { border-color: var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--shadow); }.content-card { padding: 27px; }.module-head h2, .editor-top h2 { color: #34442d; font-family: "Noto Serif SC", serif; font-size: 21px; }.module-head p, .editor-top p { color: #8b907e; }.filter-tab { border-radius: 99px; background: #f2efe6; color: #69715f; }.filter-tab.active { background: #e4ecdc; color: #456237; }.data-table-wrap, .restaurant-order-list, .youzan-order-card { border-color: #e8e3d8; border-radius: 11px; }.data-table th { background: #f8f5ed; color: #8e9283; }.data-table td { border-bottom-color: #eee9df; }.data-table tbody tr:hover, .data-table tbody tr.selected { background: #fbfaf4; }.status-badge.on, .status-badge.active, .status-badge.completed, .status-badge.accepted { background: #e7efe2; color: #4d7040; }.status-badge.preparing, .status-badge.pendingConfirmation, .status-badge.pendingAcceptance, .status-badge.shipping, .status-badge.awaitingPickup, .status-badge.refundPending { background: #faecd7; color: #a85f24; }.small-action.primary-action { background: #e7efe2; color: #4e7040; }.editor-page-bar { background: rgba(255, 253, 248, .96); }.editor-sticky { background: #fffdf8; }.form-section { border-bottom-color: var(--line); }.repeat-card, .delivery-card { border-color: #e4ded3; background: #fffdf9; }.setup-card { background: #f3eee2; }.restaurant-order-workbench, .customer-summary { border-color: #e4ddd2; background: #faf8f1; }.restaurant-order-row, .customer-summary > div { border-color: #ece6dc; }.restaurant-order-row:hover { background: #fffdf8; }

@media (max-width: 1100px) { .workspace { padding: 0 26px 40px; }.topbar { margin: 0 -26px 24px; padding: 0 26px; }.dashboard-story { grid-template-columns: 1fr; }.feature-product { grid-template-columns: 235px 1fr; grid-template-rows: 1fr; border-top: 1px solid var(--line); border-left: 0; }.feature-copy { align-self: center; }.dashboard-signals { grid-template-columns: 1fr; }.dashboard-signals article { border-right: 0; border-bottom: 1px solid var(--line); }.dashboard-signals article:last-child { border-bottom: 0; } }
@media (max-width: 760px) { .console-view { grid-template-columns: 1fr; }.sidebar { padding: 9px; }.sidebar-footer { display: none; }.workspace { padding: 0 14px 28px; }.topbar { margin: 0 -14px 18px; padding: 0 14px; }.dashboard-intro { align-items: start; flex-direction: column; gap: 9px; }.dashboard-date { justify-items: start; padding: 0; }.dashboard-intro h2 { font-size: 29px; }.story-main { min-height: 315px; padding: 24px 20px; }.story-main strong { font-size: 58px; }.feature-product { grid-template-columns: 1fr; grid-template-rows: 180px auto; }.feature-copy { padding: 19px 20px; }.dashboard-actions { align-items: flex-start; flex-direction: column; padding: 20px; }.dashboard-actions > div:last-child { width: 100%; }.dashboard-actions button { flex: 1; }.content-card { padding: 18px; } }

/* Fusion reference implementation: ledger canvas, icon rail, editorial data cards. */
.design-icon { display: inline-block; font-family: "Apple Symbols", "PingFang SC", sans-serif; font-style: normal; font-weight: 500; line-height: 1; }
.console-view { grid-template-columns: 154px minmax(0, 1fr); background: #fbfaf4; }
.sidebar { align-items: center; padding: 29px 13px 14px; background: #fffdf7; border-right: 1px solid #e8e2d4; overflow: hidden; }
.sidebar-brand { display: grid; justify-items: center; gap: 6px; width: 100%; padding: 0 0 34px; text-align: center; }
.sidebar-brand .brand-mark { width: 48px; height: 48px; border-radius: 50%; background: #556844; }
.sidebar-brand strong { color: #263729; font-size: 18px; line-height: 1.2; }
.sidebar-brand span { color: #746f64; font-size: 9px; letter-spacing: .12em; }
.nav-tabs { display: grid; width: 100%; gap: 3px; }
.nav-group { display: contents; }.nav-caption { display: none; }
.nav-item { justify-content: center; width: 46px; min-height: 44px; margin: 0 auto; padding: 0; border-radius: 15px; color: #65715b; }
.nav-item i { width: auto; color: currentColor; font-size: 22px; }.nav-item span { display: none; }
.nav-item:hover, .nav-item.active { background: #657846; color: #fffdf7; box-shadow: none; }.nav-item.active i { color: currentColor; }
.sidebar-footer { width: calc(100% + 8px); margin: auto -4px 0; padding: 16px 0 5px; border-top: 1px solid #ece6d9; }.sidebar-footer img { width: 106px; height: 106px; }.sidebar-footer p { display: none; }.logout { width: auto; min-height: 28px; margin: 5px 0 0; padding: 5px 9px; color: #968e7f; font-size: 11px; }
.workspace { padding: 0 42px 36px; overflow: visible; background-color: #fbfaf4; background-image: radial-gradient(circle at 1px 1px, rgba(117, 105, 76, .055) 1px, transparent 0); background-size: 18px 18px; }
.topbar { min-height: 50px; margin: 0 -42px; padding: 0 42px; border-bottom: 1px solid rgba(226, 220, 208, .85); background: rgba(255, 253, 248, .67); }.topbar-title { display: none; }.top-actions { margin-left: auto; }.top-search, .notice-dot, #refresh { display: none; }
.dashboard { width: min(1240px, 100%); margin: 0 auto; }.module { width: min(1240px, 100%); }
.ledger-greeting { display: flex; align-items: start; justify-content: space-between; gap: 22px; padding: 34px 0 25px; }.ledger-greeting h2 { margin: 0; color: #34472e; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 34px; font-weight: 600; letter-spacing: .045em; }.ledger-greeting p { margin: 8px 0 0; color: #626d5d; font-family: "Noto Serif SC", serif; font-size: 14px; }.ledger-date { display: grid; gap: 6px; justify-items: end; color: #5f6759; font-family: "Noto Serif SC", serif; font-size: 14px; }.ledger-date small { color: #aaa294; font-family: "Source Han Sans SC", sans-serif; font-size: 11px; }
.ledger-layout { display: grid; grid-template-columns: minmax(0, 1.57fr) minmax(355px, 1fr); gap: 21px; }.sales-ledger-card, .featured-product, .compact-ledger-card, .ledger-actions { border: 1px solid #e8e1d2; border-radius: 13px; background: rgba(255, 253, 247, .79); box-shadow: none; }.sales-ledger-card { display: grid; grid-template-rows: auto 1fr auto; min-height: 554px; overflow: hidden; }.sales-ledger-card > header { display: flex; justify-content: space-between; gap: 18px; padding: 26px 27px 0; }.sales-ledger-card h3, .compact-ledger-card h3 { margin: 0; color: #364530; font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 600; }.sales-ledger-card h3 i { margin-left: 2px; color: #929889; font-size: 16px; vertical-align: -3px; }.sales-ledger-card header strong { display: block; margin-top: 9px; color: #465a39; font-family: "Noto Serif SC", serif; font-size: clamp(57px, 5.2vw, 82px); font-weight: 500; letter-spacing: -.06em; line-height: .94; }.sales-ledger-card header p { margin: 13px 0 2px; color: #777d70; font-family: "Noto Serif SC", serif; font-size: 15px; }.sales-ledger-card header p b, .goal-progress b, .compact-ledger-card em, .ledger-actions em { color: #df402a; font-style: normal; }.sales-ledger-card header small { color: #777d70; font-size: 13px; }.goal-progress { padding-top: 9px; color: #646b5e; font-size: 13px; white-space: nowrap; }.goal-progress i { color: #e5412a; font-size: 20px; vertical-align: -4px; }.sales-chart { display: grid; grid-template-rows: minmax(170px, 1fr) 25px; min-height: 230px; margin: 3px 25px 0; }.sales-chart canvas { width: 100%; height: 100%; }.chart-axis { display: flex; justify-content: space-between; padding: 0 1px; color: #868d82; font-size: 11px; }.sales-ledger-card footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 27px; padding: 15px 0 22px; border-top: 1px solid #e8e2d6; color: #778070; font-size: 13px; }.sales-ledger-card footer > span { display: flex; align-items: center; gap: 8px; }.sales-ledger-card footer > span i { color: #567142; font-size: 21px; }.text-button { display: inline-flex; align-items: center; gap: 3px; padding: 5px 0; color: #516843; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 600; }.text-button i { font-size: 16px; }
.ledger-side { display: grid; grid-template-rows: minmax(0, 1.56fr) minmax(100px, .62fr) minmax(100px, .62fr); gap: 13px; min-height: 554px; }.featured-product { display: grid; grid-template-rows: minmax(180px, 1fr) auto; overflow: hidden; }.featured-media { min-height: 170px; background: #e8dfd1; }.featured-media img { width: 100%; height: 100%; object-fit: cover; }.featured-copy { position: relative; padding: 16px 18px 15px; }.featured-copy > span { position: absolute; top: -28px; left: 16px; padding: 6px 10px; border-radius: 5px; background: #dd462f; color: #fffdf8; font-size: 12px; font-weight: 800; }.featured-copy h3 { margin: 0 0 2px; color: #35452e; font-family: "Noto Serif SC", serif; font-size: 23px; }.featured-copy strong { position: absolute; right: 18px; top: 19px; color: #dc432d; font-family: "Noto Serif SC", serif; font-size: 27px; font-weight: 500; }.featured-copy strong small { color: #67705f; font-size: 12px; }.featured-copy p { margin: 4px 0 3px; color: #757c70; font-size: 12px; }.compact-ledger-card { position: relative; display: grid; grid-template-columns: 1fr 100px auto; align-items: center; gap: 7px; padding: 13px 17px; overflow: hidden; }.compact-ledger-card h3 { font-size: 16px; }.compact-ledger-card h3 i { color: #48613b; font-size: 19px; vertical-align: -4px; }.compact-ledger-card p { margin: 7px 0 3px; color: #5d6659; font-size: 13px; }.compact-ledger-card p b { color: #df442e; font-family: "Noto Serif SC", serif; font-size: 20px; font-weight: 600; }.compact-ledger-card small { color: #8c9186; font-size: 11px; }.member-card img { width: 87px; height: 87px; object-fit: contain; align-self: end; }.stock-card img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }.stock-card p { display: grid; gap: 2px; margin-top: 5px; }.stock-card p b { color: #37452f; font-family: "Noto Serif SC", serif; font-size: 15px; }.stock-card p small { color: #838a7b; }.stock-card p em { padding-left: 4px; font-family: "Noto Serif SC", serif; font-size: 21px; }.outline.stock-action { min-width: 78px; padding: 7px 10px; border: 1px solid #efb6aa; border-radius: 99px; background: transparent; color: #d9432e; font-size: 12px; }
.ledger-actions { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 17px; overflow: hidden; }.ledger-actions article { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 24px 24px 53px; border-right: 1px solid #e8e1d3; }.ledger-actions article:last-of-type { border: 0; }.action-icon { display: grid; flex: 0 0 auto; width: 57px; height: 57px; place-items: center; border-radius: 50%; }.action-icon i { font-size: 28px; }.action-icon.orange { background: #fbeed9; color: #d98d2d; }.action-icon.sage { background: #e9eee0; color: #697c54; }.ledger-actions h3 { margin: 0; color: #3c4935; font-family: "Noto Serif SC", serif; font-size: 16px; font-weight: 600; white-space: nowrap; }.ledger-actions h3 b { margin-right: 6px; color: #d8442f; font-size: 31px; font-weight: 600; }.ledger-actions p { margin: 3px 0 0; color: #858a7f; font-size: 12px; }.ledger-plan { grid-column: 1 / -1; justify-self: center; align-self: end; width: min(350px, calc(100% - 40px)); min-height: 48px; margin: -39px 0 16px; border-radius: 99px; background: #db3d2c; box-shadow: 0 9px 18px rgba(190, 61, 40, .19); font-family: "Noto Serif SC", serif; font-size: 16px; }.ledger-plan:hover { background: #c93122; }.ledger-plan i { margin-right: 8px; font-size: 22px; vertical-align: -5px; }
@media (max-width: 1050px) { .workspace { padding: 0 26px 34px; }.topbar { margin: 0 -26px; padding: 0 26px; }.ledger-layout { grid-template-columns: 1fr; }.ledger-side { grid-template-columns: minmax(280px, 1.15fr) 1fr; grid-template-rows: repeat(2, minmax(110px, 1fr)); min-height: 0; }.featured-product { grid-row: 1 / 3; }.ledger-actions article { padding-left: 16px; padding-right: 16px; }.ledger-actions h3 { font-size: 14px; }.ledger-actions h3 b { font-size: 26px; } }
@media (max-width: 760px) { .console-view { grid-template-columns: 1fr; }.sidebar { position: sticky; top: 0; z-index: 20; display: flex; flex-direction: row; height: 58px; padding: 6px 10px; border-right: 0; border-bottom: 1px solid #e8e2d4; overflow-x: auto; }.sidebar-brand, .sidebar-footer, .logout { display: none; }.nav-tabs { display: flex; width: max-content; gap: 3px; }.nav-item { width: 38px; min-height: 38px; border-radius: 12px; }.nav-item i { font-size: 20px; }.workspace { padding: 0 15px 24px; }.topbar { display: none; }.ledger-greeting { padding: 25px 2px 19px; }.ledger-greeting h2 { font-size: 28px; }.ledger-date { display: none; }.ledger-layout { gap: 14px; }.sales-ledger-card { min-height: 475px; }.sales-ledger-card > header { padding: 21px 19px 0; }.sales-ledger-card header strong { font-size: 56px; }.sales-chart { min-height: 185px; margin: 3px 16px 0; }.sales-ledger-card footer { align-items: flex-start; flex-direction: column; margin: 0 19px; padding: 12px 0 18px; }.ledger-side { grid-template-columns: 1fr; grid-template-rows: 260px 105px 105px; }.featured-product { grid-row: auto; }.ledger-actions { grid-template-columns: 1fr; }.ledger-actions article { padding: 18px; border-right: 0; border-bottom: 1px solid #e8e1d3; }.ledger-actions article:last-of-type { border-bottom: 0; }.ledger-plan { margin: 0 0 16px; } }

/* Desktop navigation: expose the task names instead of relying on icon memory. */
@media (min-width: 761px) {
  .console-view { grid-template-columns: 236px minmax(0, 1fr); }
  .sidebar { align-items: stretch; padding: 24px 13px 15px; overflow-y: auto; }
  .sidebar-brand { display: flex; align-items: center; justify-items: unset; gap: 10px; padding: 0 8px 25px; text-align: left; }
  .sidebar-brand .brand-mark { flex: 0 0 auto; width: 42px; height: 42px; }
  .sidebar-brand strong { font-size: 17px; }
  .sidebar-brand span { font-size: 8px; letter-spacing: .08em; }
  .nav-tabs { gap: 15px; }
  .nav-group { display: grid; gap: 2px; }
  .nav-caption { display: block; padding: 0 12px 5px; color: #9b9689; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
  .nav-item { justify-content: flex-start; width: 100%; min-height: 39px; margin: 0; padding: 8px 12px; border-radius: 10px; }
  .nav-item i { display: grid; width: 22px; place-items: center; font-size: 18px; }
  .nav-item span { display: inline; color: currentColor; font-size: 13px; }
  .sidebar-footer { width: 100%; margin: auto 0 0; padding: 16px 5px 9px; }
  .sidebar-footer img { width: 82px; height: 82px; }
  .sidebar-footer p { display: block; font-size: 10px; }
  .logout { width: 100%; min-height: 34px; margin-top: 2px; text-align: center; }
}

@media (min-width: 761px) and (max-width: 1120px) {
  .console-view { grid-template-columns: 196px minmax(0, 1fr); }
  .sidebar { padding-left: 9px; padding-right: 9px; }
  .workspace { padding-left: 26px; padding-right: 26px; }
  .topbar { margin-left: -26px; margin-right: -26px; padding-left: 26px; padding-right: 26px; }
  .nav-item span { font-size: 12px; }
}

/* Keep the overview within one working viewport: canvas must not size the grid. */
.ledger-layout { align-items: start; }
.sales-ledger-card { height: 540px; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; }
.ledger-side { height: 540px; min-height: 0; grid-template-rows: minmax(0, 1.56fr) minmax(0, .62fr) minmax(0, .62fr); }
.sales-chart { min-height: 0; grid-template-rows: minmax(0, 1fr) 25px; overflow: hidden; }
.sales-chart canvas { display: block; min-width: 0; min-height: 0; height: 100% !important; }
.featured-product, .compact-ledger-card { min-height: 0; }

@media (max-width: 1050px) and (min-width: 761px) {
  .sales-ledger-card, .ledger-side { height: auto; min-height: 500px; }
}

@media (max-width: 760px) {
  .sales-ledger-card { height: 475px; min-height: 0; }
  .ledger-side { height: auto; min-height: 0; }
}

/* Use the available workspace on wide merchant screens instead of a centered 1240px canvas. */
.dashboard, .module { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }

/* Shared operations surface: filters, tables and editors use the same warm-paper system as the overview. */
.content-card, .editor-card, .detail-card, .dashboard-panel { border-color: #e7dfd0; background: rgba(255, 253, 248, .9); box-shadow: 0 9px 26px rgba(74, 59, 35, .035); }
.module-head { margin-bottom: 21px; }.module-head h2, .editor-top h2 { color: #35482e; }.crumb { color: #a29986; }.module-head p, .editor-top p { color: #7c8275; }
.workspace input, .workspace textarea, .workspace select { border-color: #e3dccf; border-radius: 9px; background: #fffdf8; color: #394736; }.workspace input:focus, .workspace textarea:focus, .workspace select:focus { border-color: #879b70; box-shadow: 0 0 0 3px rgba(112, 137, 86, .12); }
.list-toolbar { min-height: 44px; margin: 3px 0 15px; padding: 7px 8px; border: 1px solid #e8e1d3; border-radius: 12px; background: #f8f4ea; }.filter-tabs { gap: 6px; }.filter-tab { border: 1px solid transparent; border-radius: 99px; background: transparent; color: #747b6f; }.filter-tab:hover { border-color: #dcd3c1; background: #fffdf8; color: #526943; }.filter-tab.active { border-color: #d6e0c8; background: #e8eee0; color: #49643b; }.table-tools input { border-radius: 99px; background: #fffdf8; }
.data-table-wrap, .restaurant-order-list, .youzan-order-card { border-color: #e6dfd1; border-radius: 13px; background: #fffdf8; }.data-table th { background: #f7f2e8; border-bottom-color: #e5ded1; color: #8d887c; }.data-table td { border-bottom-color: #eee8dc; }.data-table tbody tr:hover, .data-table tbody tr.selected { background: #fbf8f0; }
.status-badge { border: 1px solid transparent; background: #f2eee6; color: #756e62; }.status-badge.on, .status-badge.active, .status-badge.completed, .status-badge.accepted { border-color: #d7e5d1; background: #ebf2e6; color: #4d703e; }.status-badge.preparing, .status-badge.pendingConfirmation, .status-badge.pendingAcceptance, .status-badge.shipping, .status-badge.awaitingPickup, .status-badge.refundPending { border-color: #f0dfbc; background: #fbf0dc; color: #a4672a; }.status-badge.canceled, .status-badge.off, .status-badge.inactive { border-color: #efdeda; background: #f9efed; color: #a66a5a; }
.small-action { margin-left: 4px; border: 1px solid #e2dacb; border-radius: 99px; background: #f6f1e7; color: #5d6b54; }.small-action.primary-action { border-color: #d7e4d0; background: #eaf1e5; color: #4d6e3d; }.quiet, .outline { border-color: #e0d7c7; background: #fffdf8; color: #58694d; }
.restaurant-order-workbench { border-color: #e5ddce; border-radius: 13px; background: #f8f4ea; }.restaurant-order-workbench > div { border-right-color: #e7dfd1; }.restaurant-order-workbench strong { color: #456037; }.restaurant-order-workbench span, .restaurant-order-workbench small { color: #8c887c; }.restaurant-order-workbench p { color: #667060; }
.order-filter-panel { gap: 13px; padding: 15px; margin-bottom: 15px; border-color: #e6decf; border-radius: 13px; background: #f8f4ea; }.order-filter-field { color: #7b7b6e; font-size: 11px; }.order-filter-field > span { color: #918a7c; }.order-filter-field input, .order-filter-field select { height: 39px; border-color: #e1d8c9; border-radius: 9px; background: #fffdf8; color: #44533e; }.order-filter-date em { color: #aaa08e; }.order-filter-search::after { color: #87917d; }
.restaurant-order-toolbar { min-height: 45px; margin-bottom: 12px; padding: 5px 8px; border-bottom: 1px solid #e7dfd1; }.restaurant-order-toolbar .filter-tab { padding: 7px 11px 8px; border-radius: 99px; }.restaurant-order-toolbar .filter-tab:hover { background: #f2eee4; }.restaurant-order-toolbar .filter-tab.active { background: #e8eee0; color: #49643b; }.restaurant-order-toolbar .filter-tab.active::after { display: none; }.restaurant-order-toolbar .filter-tab b { background: #eeeae0; color: #8c887c; }.restaurant-order-toolbar .filter-tab.active b { background: #dce7d4; color: #4e6d3e; }.order-results-count { color: #958f81; }
.restaurant-order-list { border-color: #e6dfd1; }.restaurant-order-columns { border-bottom-color: #e6dfd1; background: #f7f2e8; }.restaurant-order-columns > span { border-right-color: #e7dfd1; color: #8d887c; }.restaurant-order-row { border-bottom-color: #eee8dc; background: #fffdf8; }.restaurant-order-row:hover { background: #fbf8f0; }.restaurant-order-row > section { border-right-color: #eee8dc; }.restaurant-order-main, .restaurant-order-state { background: transparent; }.restaurant-order-number b, .restaurant-order-buyer b, .restaurant-order-products b, .restaurant-order-fulfilment b { color: #3b4c35; }.restaurant-order-number span { background: #eaf2e7; color: #52733f; }.restaurant-order-buyer small, .restaurant-order-products small, .restaurant-order-fulfilment small, .restaurant-order-amount small, .restaurant-order-state > small { color: #8d9185; }.restaurant-order-amount strong { color: #3f5c35; }

/* Order fulfilment workbench: selected fusion reference, batch flow + time-of-day queue. */
.material-symbols-rounded { font-family: "Material Symbols Rounded"; font-weight: normal; font-style: normal; font-size: 18px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: "liga"; -webkit-font-smoothing: antialiased; font-feature-settings: "liga"; }
.content-card.fulfillment-page { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.fulfillment-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 27px 0 18px; }
.fulfillment-head .crumb { margin-bottom: 6px; }
.fulfillment-head h2 { margin: 0; color: #31462d; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 31px; font-weight: 600; letter-spacing: .035em; line-height: 1.12; }
.fulfillment-head p { margin: 8px 0 0; color: #748070; font-family: "Noto Serif SC", serif; font-size: 13px; }
.fulfillment-head-actions { display: flex; align-items: center; gap: 11px; }
.goods-share-orders-page .fulfillment-head { align-items: flex-start; flex-direction: column; gap: 12px; }
.goods-share-orders-page .fulfillment-head-actions { width: 100%; flex-wrap: wrap; justify-content: flex-start; }
.goods-share-orders-page .fulfillment-search { margin-left: auto; }
.fulfillment-head-actions .auto-accept-control.compact { min-width: 245px; padding: 8px 11px; border: 1px solid #e5ddcf; border-radius: 10px; background: #fffdf8; }
.fulfillment-control { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; margin-bottom: 13px; padding: 10px 16px; border: 1px solid #e8dfcf; border-radius: 12px; background: rgba(255, 253, 248, .84); }.auto-accept-control { display: grid; grid-template-columns: 28px minmax(0, 1fr) 42px; align-items: center; gap: 10px; min-width: 0; }.auto-accept-control > .material-symbols-rounded { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #edf3e7; color: #5d784b; font-size: 16px; }.auto-accept-control > div { display: grid; min-width: 0; gap: 3px; }.auto-accept-control b { color: #394d35; font-family: "Noto Serif SC", serif; font-size: 13px; }.auto-accept-control small { overflow: hidden; color: #7d8678; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.order-switch { position: relative; display: block; width: 40px; height: 22px; cursor: pointer; }.order-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }.order-switch span { position: absolute; inset: 0; border-radius: 99px; background: #c8cec3; transition: background .16s ease; }.order-switch span::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fffdf8; box-shadow: 0 1px 2px rgba(54, 67, 47, .18); content: ""; transition: transform .16s ease; }.order-switch input:checked + span { background: #5e7d49; }.order-switch input:checked + span::after { transform: translateX(18px); }.order-switch input:focus-visible + span { outline: 2px solid #9caf89; outline-offset: 3px; }.fulfillment-insights { display: flex; align-items: center; gap: 15px; color: #7c8578; font-size: 11px; white-space: nowrap; }.fulfillment-insights > span { padding-right: 15px; border-right: 1px solid #e7dfd2; }.fulfillment-insights b { margin-right: 3px; color: #4e6e3e; font-family: "Noto Serif SC", serif; font-size: 14px; }.fulfillment-insights .needs-attention b { color: #bd6832; }.control-link { display: inline-flex; align-items: center; gap: 4px; padding: 4px 0; background: transparent; color: #526e42; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.control-link:hover { color: #3e5a31; }.control-link .material-symbols-rounded { font-size: 14px; }
.fulfillment-search { position: relative; display: flex; align-items: center; width: 230px; margin: 0; }
.fulfillment-search > span { position: absolute; z-index: 1; left: 11px; color: #899585; font-size: 18px; pointer-events: none; }
.fulfillment-search input { height: 38px; padding-left: 35px; border-radius: 9px; background: #fffdf8; font-size: 12px; }
.fulfillment-date { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 13px; border: 1px solid #e5ddce; border-radius: 9px; background: #fffdf8; color: #485844; font-family: "Noto Serif SC", serif; font-size: 12px; }
.fulfillment-date .material-symbols-rounded { color: #4f6943; font-size: 17px; }
.fulfillment-stage-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #e8dfcf; border-radius: 12px; background: rgba(255, 253, 248, .75); }
.fulfillment-stage { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) 22px; align-items: start; gap: 11px; min-height: 147px; padding: 19px 20px; border-right: 1px solid #eee5d8; background: transparent; color: #394c34; text-align: left; transition: background .16s ease, box-shadow .16s ease; }
.fulfillment-stage:last-child { border-right: 0; }.fulfillment-stage:hover, .fulfillment-stage.is-active { background: #fffdf8; box-shadow: inset 0 -3px 0 #738557; }
.stage-icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: #f6e4c7; color: #ad7331; font-size: 17px; }
.fulfillment-stage.making .stage-icon { background: #e9f0df; color: #5b7644; }.fulfillment-stage.delivery .stage-icon { background: #e7eddf; color: #62764b; }.fulfillment-stage.complete .stage-icon { background: #e8eee0; color: #5c7148; }
.stage-copy { display: grid; min-width: 0; gap: 4px; }.stage-copy > b { color: #394d35; font-family: "Noto Serif SC", serif; font-size: 16px; font-weight: 600; }.stage-copy strong { color: #304a2d; font-family: "Noto Serif SC", serif; font-size: 25px; font-weight: 600; line-height: 1.05; }.stage-copy strong small { font-size: 12px; font-weight: 500; }.stage-copy em { overflow: hidden; color: #8b8b7e; font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }.stage-copy i { width: fit-content; margin-top: 7px; padding: 5px 8px; border: 1px solid #ead3ae; border-radius: 6px; color: #cf582e; font-size: 11px; font-style: normal; font-weight: 700; }.making .stage-copy i, .delivery .stage-copy i, .complete .stage-copy i { border-color: #cddbc1; color: #587444; }.stage-arrow { align-self: center; color: #293a29; font-size: 23px; }.fulfillment-stage:last-child .stage-arrow { visibility: hidden; }
.fulfillment-workspace { display: grid; grid-template-columns: minmax(560px, 1fr) 420px; gap: 17px; margin-top: 13px; align-items: start; }
.fulfillment-queue, .fulfillment-detail { overflow: hidden; border: 1px solid #e8dfcf; border-radius: 12px; background: rgba(255, 253, 248, .84); }
/* 订单操作菜单不能被订单列表和分页区域裁切。菜单统一向上展开，避免最后一行
   的“更多”操作落到容器外；详情面板仍保留圆角裁切。 */
.fulfillment-queue { position: relative; z-index: 2; overflow: visible; }
.queue-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 9px 13px 0; border-bottom: 1px solid #dcd6ca; }.queue-tabs { align-self: stretch; display: flex; align-items: stretch; gap: 28px; }.queue-tabs > button { position: relative; min-height: 48px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #7d8478; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 500; white-space: nowrap; }.queue-tabs > button:hover { color: #536946; }.queue-tabs > button.active { background: transparent; color: #3f5935; font-weight: 700; }.queue-tabs > button.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px 2px 0 0; background: #617a4b; content: ""; }.queue-tabs b { display: inline; margin-left: 7px; color: #75836e; font-family: "Source Han Sans SC", sans-serif; font-size: 12px; font-weight: 600; }.queue-tabs > button.active b { color: #4e6b3f; }.queue-tools > div:last-child { display: flex; align-items: center; gap: 6px; padding-bottom: 8px; color: #7c8176; font-size: 11px; }.sort-button { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; background: transparent; color: #6c7966; }.sort-button:hover { background: #f2eee4; }
.queue-period { padding: 0 12px; }.queue-period > header { display: flex; align-items: baseline; gap: 18px; min-height: 55px; border-bottom: 1px solid #ece5d9; }.queue-period h3 { margin: 0; color: #34482e; font-family: "Noto Serif SC", serif; font-size: 18px; font-weight: 600; }.queue-period h3 small { margin-left: 11px; color: #8c9184; font-family: "Source Han Sans SC", sans-serif; font-size: 11px; font-weight: 500; }.queue-period p { margin: 0; color: #888f82; font-size: 11px; }.queue-period p b { color: #567342; font-weight: 700; }.queue-period p span { margin: 0 5px; color: #cbc3b7; }
.queue-column-labels, .queue-order-row { display: grid; grid-template-columns: 62px minmax(115px, 1fr) minmax(145px, 1.48fr) minmax(120px, 1.07fr) 80px 86px 92px; column-gap: 10px; align-items: center; }.queue-column-labels { min-height: 32px; color: #a19c90; font-size: 10px; }.queue-order-row { width: 100%; min-height: 65px; padding: 5px 0; border-top: 1px solid #f0e9de; background: transparent; color: #3d4b37; cursor: pointer; text-align: left; transition: background .15s ease, box-shadow .15s ease; }.queue-order-row:hover { background: #fbf8ef; }.queue-order-row.is-selected { margin: 3px 0; padding-right: 8px; padding-left: 8px; border: 1px solid #a9ba95; border-radius: 8px; background: #f4f8ef; box-shadow: 0 2px 8px rgba(74, 98, 52, .05); }.queue-order-row time { display: grid; gap: 2px; color: #4b5a47; font-family: "Noto Serif SC", serif; font-size: 12px; font-style: normal; line-height: 1.25; }.queue-order-row time small { color: #899083; font-family: "Source Han Sans SC", sans-serif; font-size: 10px; font-weight: 500; }.queue-order-row time b { color: #40583a; font-size: 13px; font-weight: 600; }.queue-person { display: flex; align-items: center; min-width: 0; gap: 8px; }.queue-person > i, .detail-customer > i { display: grid; flex: 0 0 auto; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #f2dfbe; color: #91662e; font-size: 11px; font-style: normal; }.queue-person span, .queue-products, .queue-fulfillment, .queue-amount, .queue-status { display: grid; min-width: 0; gap: 2px; }.queue-person b, .queue-products b, .queue-fulfillment b { overflow: hidden; color: #3c4b37; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.queue-person small, .queue-products small, .queue-fulfillment small, .queue-amount small { overflow: hidden; color: #929489; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.queue-amount b { color: #2e4a30; font-family: "Noto Serif SC", serif; font-size: 13px; }.queue-status { justify-items: start; }.queue-status .status-badge { width: fit-content; padding: 3px 6px; font-size: 10px; }.queue-risk { min-height: 12px; padding: 0; color: #879184; font-size: 10px; font-style: normal; }.queue-risk:empty { display: none; }.queue-risk em { margin-left: 7px; color: #6d796a; font-style: normal; }.queue-risk.urgent { color: #d65036; }.queue-risk.warning { color: #bd7a2b; }.queue-action { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }.queue-action-split { display: grid; grid-template-columns: minmax(0, 1fr) 24px; width: 90px; min-height: 30px; overflow: hidden; border: 1px solid #e5decf; border-radius: 6px; background: #fffdf8; }.queue-primary-action, .queue-action-more, .queue-record { min-height: 29px; border: 0; background: transparent; color: #49653b; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.queue-primary-action:hover, .queue-action-more:hover, .queue-record:hover { background: #f2f6ed; }.queue-action-more { display: grid; place-items: center; border-left: 1px solid #e9e2d7; }.queue-action-more .material-symbols-rounded { font-size: 16px; color: #69805b; }.queue-action-split.is-emphasis { border-color: #4d6e3c; background: #557743; }.queue-action-split.is-emphasis .queue-primary-action { color: #fffdf8; }.queue-action-split.is-emphasis .queue-action-more { border-left-color: rgba(255,255,255,.35); }.queue-action-split.is-emphasis .queue-action-more .material-symbols-rounded { color: #fffdf8; }.queue-action-split.is-emphasis .queue-primary-action:hover, .queue-action-split.is-emphasis .queue-action-more:hover { background: #466335; }.queue-record { width: 90px; border: 1px solid #e5decf; border-radius: 6px; }.queue-empty { min-height: 74px; padding: 25px 2px; color: #9a9c90; font-size: 12px; text-align: center; }
.queue-footer { display: flex; align-items: center; justify-content: flex-end; gap: 17px; min-height: 56px; padding: 10px 13px; border-top: 1px solid #ece5d9; color: #8e9085; font-size: 11px; }.queue-footer > div { display: flex; gap: 4px; }.queue-footer button { display: grid; min-width: 27px; height: 27px; place-items: center; padding: 0 7px; border: 1px solid #e8e0d3; border-radius: 5px; background: #fffdf8; color: #66715d; font-size: 11px; }.queue-footer button:disabled { color: #c0b9ae; }.queue-footer button.current { border-color: #a5b692; color: #4c663c; }.queue-footer .material-symbols-rounded { font-size: 17px; }.queue-footer .page-size { display: inline-flex; align-items: center; gap: 3px; }
.fulfillment-detail { position: sticky; top: 66px; min-height: 630px; }.fulfillment-detail > header { display: flex; align-items: start; justify-content: space-between; padding: 17px 17px 13px; border-bottom: 1px solid #ebe3d7; }.fulfillment-detail > header span { color: #6b7864; font-size: 12px; }.fulfillment-detail > header h3 { margin: 8px 0 0; color: #31452e; font-family: "Noto Serif SC", serif; font-size: 15px; font-weight: 600; }.detail-close { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 6px; background: transparent; color: #6f7c6a; }.detail-close:hover { background: #f2eee4; }.detail-close .material-symbols-rounded { font-size: 18px; }.detail-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 17px; border-bottom: 1px solid #eee7dc; }.detail-status > div { display: grid; gap: 6px; }.detail-status b { color: #3a4b34; font-size: 13px; }.detail-status small { color: #919488; font-size: 10px; text-align: right; }.detail-status .status-badge { width: fit-content; padding: 3px 7px; font-size: 10px; }
.detail-block { padding: 14px 17px; border-bottom: 1px solid #eee7dc; }.detail-block h4 { margin: 0 0 12px; color: #6a7863; font-size: 11px; font-weight: 700; }.detail-customer { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: center; gap: 8px; }.detail-customer > i { width: 27px; height: 27px; }.detail-customer div { display: grid; min-width: 0; gap: 2px; }.detail-customer b { color: #3b4c36; font-size: 12px; }.detail-customer small { color: #909388; font-size: 10px; }.detail-customer .material-symbols-rounded { color: #577544; font-size: 18px; }.detail-block dl { display: grid; gap: 8px; margin: 0; }.detail-block dl > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; }.detail-block dt { color: #99978c; font-size: 10px; }.detail-block dd { margin: 0; color: #4a5746; font-size: 11px; line-height: 1.45; }.detail-items ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }.detail-items li { display: flex; justify-content: space-between; gap: 10px; color: #4d5a48; font-size: 11px; }.detail-items li span { min-width: 0; }.detail-items li small { color: #99978d; }.detail-items li b { flex: 0 0 auto; color: #4d5c47; font-family: "Noto Serif SC", serif; font-weight: 600; }.detail-total { margin-top: 13px !important; padding-top: 11px; border-top: 1px solid #eee7dc; }.detail-total .paid-total { margin-top: 2px; padding-top: 8px; border-top: 1px solid #e4dccd; }.detail-total .paid-total dt, .detail-total .paid-total dd { color: #2e462e; font-weight: 700; }.detail-total .paid-total dd { color: #df432f; font-family: "Noto Serif SC", serif; font-size: 16px; }
.detail-item-copy { display: grid; min-width: 0; gap: 7px; }.detail-item-choices { display: grid; gap: 5px; }.detail-item-choices small { display: grid; grid-template-columns: 40px minmax(0,1fr); align-items: center; gap: 7px; min-height: 25px; padding: 3px 7px 3px 5px; border-left: 3px solid #76925f; border-radius: 3px 6px 6px 3px; background: #f2f6ed; color: #283f28 !important; font-size: 13px !important; font-weight: 700; line-height: 1.45; }.detail-item-choices em { display: inline-flex; width: 40px; min-height: 19px; align-items: center; justify-content: center; padding: 1px 5px; border-radius: 4px; background: #587743; color: #fffdf8; font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.detail-actions { display: grid; gap: 7px; padding: 14px 17px 15px; }.detail-action { min-height: 34px; border-radius: 7px; font-family: "Noto Serif SC", serif; font-size: 12px; font-weight: 600; }.detail-action.primary { background: #567442; color: #fffdf8; }.detail-action.primary:hover { background: #455f35; }.detail-action.secondary, .detail-action.minor { border: 1px solid #a6b893; background: #fffdf8; color: #4e6a3c; }.detail-action.minor { border-color: #e4d8c8; color: #716d62; }.detail-actions > small { display: flex; align-items: start; gap: 5px; margin-top: 3px; color: #8b8e83; font-size: 10px; line-height: 1.45; }.detail-actions > small .material-symbols-rounded { flex: 0 0 auto; color: #718363; font-size: 14px; }.fulfillment-detail.is-empty { display: grid; place-content: center; min-height: 330px; padding: 36px; color: #858d80; text-align: center; }.fulfillment-detail.is-empty > span { color: #aab7a0; font-size: 32px; }.fulfillment-detail.is-empty h3 { margin: 12px 0 5px; color: #52654b; font-family: "Noto Serif SC", serif; }.fulfillment-detail.is-empty p { margin: 0; font-size: 12px; line-height: 1.6; }
@media (max-width: 1260px) { .fulfillment-workspace { grid-template-columns: minmax(500px, 1fr) 380px; }.queue-column-labels, .queue-order-row { grid-template-columns: 54px minmax(105px, 1fr) minmax(130px, 1.3fr) 105px 70px 77px 74px; column-gap: 7px; }.queue-action > b { display: none; }.queue-action { grid-template-columns: 18px; justify-content: end; }.fulfillment-stage { padding: 17px 14px; gap: 9px; }.stage-copy i { font-size: 10px; } }
@media (max-width: 1040px) { .fulfillment-workspace { grid-template-columns: 1fr; }.fulfillment-detail { position: static; min-height: 0; }.fulfillment-detail:not(.is-empty) { display: grid; grid-template-columns: 1fr 1fr; }.fulfillment-detail > header, .detail-status, .detail-actions { grid-column: 1 / -1; }.detail-block { min-height: 160px; }.detail-block.detail-items { border-left: 1px solid #eee7dc; }.fulfillment-stage { min-height: 133px; }.stage-copy i { display: none; } }
@media (max-width: 760px) { .fulfillment-head { align-items: start; flex-direction: column; gap: 14px; padding: 23px 2px 16px; }.fulfillment-head h2 { font-size: 26px; }.fulfillment-head-actions { width: 100%; }.fulfillment-search { flex: 1; width: auto; }.fulfillment-date { font-size: 0; }.fulfillment-date .material-symbols-rounded { font-size: 19px; }.fulfillment-stage-board { grid-template-columns: 1fr 1fr; }.fulfillment-stage { min-height: 109px; border-bottom: 1px solid #eee5d8; }.fulfillment-stage:nth-child(2) { border-right: 0; }.fulfillment-stage:nth-last-child(-n+2) { border-bottom: 0; }.stage-arrow { display: none; }.queue-tools { align-items: start; flex-direction: column; }.queue-period > header { align-items: start; flex-direction: column; gap: 3px; padding: 13px 0; }.queue-column-labels { display: none; }.queue-order-row { grid-template-columns: 47px minmax(0, 1fr) 83px; gap: 8px; min-height: 66px; }.queue-products, .queue-fulfillment, .queue-status { display: none; }.queue-amount { grid-column: 3; grid-row: 1; text-align: right; }.queue-action { grid-column: 2 / 4; grid-row: 2; display: flex; justify-content: space-between; padding-bottom: 3px; }.queue-action > b { display: block; }.queue-order-row.is-selected { padding: 5px 8px; }.queue-footer { justify-content: space-between; gap: 5px; }.queue-footer > span { display: none; }.fulfillment-detail:not(.is-empty) { display: block; }.detail-block.detail-items { border-left: 0; }.fulfillment-detail { border-radius: 11px; }.detail-actions { padding-bottom: 18px; } }
.repeat-card, .delivery-card, .setup-card, .customer-summary, .customer-summary > div { border-color: #e5ddcf; background: #fffdf8; }.setup-card { background: #f5f0e5; }.editor-page-bar, .editor-sticky { border-color: #e7dfd1; background: rgba(255, 253, 248, .97); }
@media (max-width: 760px) { .fulfillment-control { align-items: start; flex-direction: column; gap: 11px; padding: 13px; }.auto-accept-control { width: 100%; }.fulfillment-insights { width: 100%; gap: 10px; }.fulfillment-insights > span { padding-right: 10px; }.control-link { margin-left: auto; } }
.queue-demo-mark { display: inline-block; margin-left: 5px; padding: 1px 4px; border-radius: 3px; background: #edf1e9; color: #6a7c5e; font-family: "Source Han Sans SC", sans-serif; font-size: 9px; font-style: normal; font-weight: 600; line-height: 1.25; vertical-align: 1px; }

/* Every available next-step action uses the same primary treatment. */
.queue-action-split.is-primary { border-color: #4d6e3c; background: #557743; }
.queue-action-split.is-primary .queue-primary-action { color: #fffdf8; }
.queue-action-split.is-primary .queue-action-more { border-left-color: rgba(255,255,255,.35); }
.queue-action-split.is-primary .queue-action-more .material-symbols-rounded { color: #fffdf8; }
.queue-action-split.is-primary .queue-primary-action:hover, .queue-action-split.is-primary .queue-action-more:hover { background: #466335; }

/* Orders are grouped twice: fulfilment date first, then actual time of day. */
.queue-date-group { padding: 0 12px; }
.queue-date-group > header { display: flex; align-items: baseline; gap: 16px; min-height: 56px; border-bottom: 1px solid #e7dfd2; }
.queue-date-group > header h3 { margin: 0; color: #33492f; font-family: "Noto Serif SC", serif; font-size: 19px; font-weight: 600; letter-spacing: .015em; }
.queue-date-group > header p { margin: 0; color: #8a9083; font-size: 11px; }
.queue-date-group > header p span { margin: 0 5px; color: #cbc4b7; }
.queue-date-group > header p b { color: #557342; font-weight: 700; }
.queue-date-group .queue-period { padding: 0; }
.queue-date-group .queue-period > header { min-height: 44px; border-bottom: 1px solid #eee8dd; }
.queue-date-group .queue-period h3 { font-size: 14px; }
.queue-date-group .queue-period h3 small { margin-left: 8px; }
.queue-action { position: relative; overflow: visible; }
.queue-cancel-actions { display: grid; grid-template-columns: 1fr; width: 90px; gap: 4px; }.queue-cancel-actions button { min-width: 0; min-height: 27px; padding: 0 6px; border-radius: 5px; font-family: var(--merchant-font-ui); font-size: 11px; font-weight: 700; white-space: nowrap; }.queue-cancel-approve { border: 1px solid #557743 !important; background: #557743; color: #fffdf8; }.queue-cancel-approve:hover { background: #466335; }.queue-cancel-reject { border: 1px solid #d7dfcf !important; background: #fffdf8; color: #56694a; }.queue-cancel-reject:hover { border-color: #9bad8c !important; background: #f1f5eb; color: #405d33; }
.queue-action-menu { position: absolute; z-index: 40; right: 0; bottom: 35px; display: none; min-width: 124px; padding: 5px; border: 1px solid #e1d9ca; border-radius: 8px; background: #fffdf8; box-shadow: 0 11px 24px rgba(67, 75, 53, .14); }
.queue-action-menu.is-open { display: grid; gap: 1px; }
.queue-action-menu button { min-height: 30px; padding: 0 9px; border-radius: 5px; background: transparent; color: #506248; font-family: "Noto Serif SC", serif; font-size: 11px; text-align: left; white-space: nowrap; }
.queue-action-menu button:hover { background: #f1f5eb; color: #405d33; }
.queue-action-menu button.danger { color: #bc5538; }
.queue-action-menu button.danger:hover { background: #faeee7; color: #a63e27; }
@media (max-width: 760px) { .queue-date-group > header { align-items: start; flex-direction: column; gap: 3px; padding: 13px 0; }.queue-date-group .queue-period > header { padding: 11px 0; }.queue-action-menu { bottom: 32px; } }
.batch-order-bar { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 13px; border-bottom: 1px solid #e9e1d5; background: #fbfaf5; color: #7d8678; font-size: 11px; }.batch-order-bar.has-selection { background: #f4f8ef; }.batch-order-select { display: inline-flex; align-items: center; gap: 7px; color: #4d6243; cursor: pointer; white-space: nowrap; }.batch-order-select input, .queue-select input { width: 15px; height: 15px; margin: 0; accent-color: #5c7b47; cursor: pointer; }.batch-order-summary { min-width: 120px; color: #7d8678; }.batch-order-summary b { color: #3c5933; font-family: "Noto Serif SC", serif; font-size: 14px; }.batch-order-actions { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 7px; }.batch-order-action { min-height: 28px; padding: 0 10px; border: 1px solid #9caf8d; border-radius: 6px; background: #fffdf8; color: #49653b; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.batch-order-action:hover { border-color: #617c4c; background: #eaf2e2; }.batch-order-action b { margin-left: 4px; color: #6f865d; }.batch-order-actions small { color: #968d81; font-size: 10px; }.batch-order-clear { margin-left: auto; padding: 4px 0; background: transparent; color: #788274; font-size: 11px; white-space: nowrap; }.batch-order-clear:hover { color: #48633b; }.batch-mode-toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 0 8px; border: 1px solid #e2dacd; border-radius: 6px; background: #fffdf8; color: #5e6e56; font-family: "Noto Serif SC", serif; font-size: 11px; white-space: nowrap; }.batch-mode-toggle:hover, .batch-mode-toggle.is-active { border-color: #a7b896; background: #eef4e8; color: #47633a; }.batch-mode-toggle .material-symbols-rounded { font-size: 15px; }.queue-column-labels, .queue-order-row { grid-template-columns: 62px minmax(115px, 1fr) minmax(145px, 1.48fr) minmax(120px, 1.07fr) 80px 86px 92px; }.queue-column-labels.is-batch-mode, .queue-order-row.is-batch-mode { grid-template-columns: 28px 54px minmax(108px, 1fr) minmax(140px, 1.42fr) minmax(114px, 1.02fr) 76px 82px 90px; }.queue-select { display: grid; place-items: center; min-width: 0; }.queue-order-row.is-selected .queue-select { margin-left: -8px; }
@media (max-width: 1260px) { .queue-column-labels, .queue-order-row { grid-template-columns: 54px minmax(105px, 1fr) minmax(130px, 1.3fr) 105px 70px 77px 74px; column-gap: 7px; }.queue-column-labels.is-batch-mode, .queue-order-row.is-batch-mode { grid-template-columns: 25px 47px minmax(94px, 1fr) minmax(115px, 1.22fr) 94px 65px 72px 74px; column-gap: 6px; }.batch-order-bar { gap: 9px; }.batch-order-summary { min-width: 96px; } }
@media (max-width: 760px) { .batch-order-bar { flex-wrap: wrap; gap: 7px 11px; padding: 9px 12px; }.batch-order-summary { min-width: 0; }.batch-order-actions { flex-basis: 100%; order: 3; }.batch-order-clear { margin-left: auto; }.queue-order-row { grid-template-columns: 47px minmax(0, 1fr) 83px; gap: 8px; }.queue-order-row.is-batch-mode { grid-template-columns: 26px 42px minmax(0, 1fr) 83px; }.queue-order-row.is-batch-mode .queue-select { grid-column: 1; grid-row: 1 / 3; }.queue-order-row.is-batch-mode time { grid-column: 2; }.queue-order-row.is-batch-mode .queue-person { grid-column: 3; }.queue-order-row.is-batch-mode .queue-amount { grid-column: 4; grid-row: 1; }.queue-order-row.is-batch-mode .queue-action { grid-column: 3 / 5; grid-row: 2; }.queue-order-row.is-selected .queue-select { margin-left: 0; } }

/* 阅读舒适度：整体抬升字号，同时保持原有信息层级。 */
body { font-size: 15px; line-height: 1.55; }
.sidebar-brand strong { font-size: 18px; }.sidebar-brand span { font-size: 10px; }.nav-caption { font-size: 11px; }.nav-item, .logout { font-size: 14px; }.sidebar-footer p { font-size: 12px; }

/* 侧栏采用业务分区与两层目录，避免把后台入口画成层层嵌套的树。 */
.sidebar .nav-tabs { gap: 16px; padding: 4px 2px 14px; }
.sidebar .nav-group { gap: 2px; }
.sidebar .nav-caption { display: block; padding: 1px 11px 5px; color: #999487; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.sidebar .nav-item { min-height: 40px; padding: 9px 11px; border: 1px solid transparent; border-radius: 8px; box-shadow: none; }
.sidebar .nav-item:hover { border-color: transparent; background: #f5f3eb; box-shadow: none; }
.sidebar .nav-parent-item { color: #46583d; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 700; }
.sidebar .nav-parent-item.active { border-color: #d8e2cf; background: #edf3e8; color: #405d35; box-shadow: none; }
.sidebar .nav-parent-item i { color: #6f875e; }
.sidebar .nav-chevron { margin-left: auto; color: #91a08a; font-size: 19px; font-weight: 400; line-height: 1; transition: transform .18s ease; }
.sidebar .nav-parent-item[aria-expanded="true"] .nav-chevron { transform: rotate(90deg); }
.sidebar .nav-subitems { display: grid; gap: 1px; margin: 2px 0 4px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; }
.sidebar .nav-subitems .nav-subitems { margin: 0; padding: 0; border: 0; background: transparent; }
.sidebar .nav-item.nav-subitem { min-height: 35px; padding: 7px 11px 7px 37px; border-radius: 6px; color: #687462; font-size: 12px; font-weight: 600; }
.sidebar .nav-item.nav-subitem i { display: none; }
.sidebar .nav-item.nav-subitem:hover { border-color: transparent; background: #f7f6f0; color: #46623c; box-shadow: none; }
.sidebar .nav-item.nav-subitem.active { border-color: transparent; background: #edf3e8; color: #3f6138; box-shadow: inset 3px 0 0 #71905f; }
.sidebar .nav-item.nav-depth-2 { padding-left: 37px; color: #77806f; font-size: 11px; }
@media (max-width: 760px) {
  .sidebar .nav-subitems,
  .sidebar .nav-subitems .nav-subitems { display: contents; margin: 0; padding: 0; border: 0; }
  .sidebar .nav-parent-item .nav-chevron { display: none; }
}
.topbar h1 { font-size: 22px; }.topbar .eyebrow, .crumb { font-size: 12px; }.module-head h2, .editor-top h2 { font-size: 22px; }.module-head p, .editor-top p { font-size: 14px; }
label, .form-field > span { font-size: 14px; }.form-field small { font-size: 12px; }.filter-tab, .text-button, .small-action { font-size: 13px; }.data-table th { font-size: 12px; }.data-table td { font-size: 14px; }.data-table strong { font-size: 14px; }.data-table small, .table-muted { font-size: 13px; }.status-badge { font-size: 12px; }
.fulfillment-head p { font-size: 14px; }.fulfillment-control small, .fulfillment-insights, .control-link { font-size: 12px; }.fulfillment-insights b { font-size: 15px; }.queue-tabs > button { font-size: 14px; }.queue-tabs b, .queue-tools > div:last-child { font-size: 12px; }.queue-period h3 { font-size: 19px; }.queue-period h3 small, .queue-period p, .queue-date-group > header p { font-size: 12px; }.queue-column-labels { font-size: 11px; }.queue-order-row time { font-size: 13px; }.queue-person b, .queue-products b, .queue-fulfillment b { font-size: 13px; }.queue-person small, .queue-products small, .queue-fulfillment small, .queue-amount small { font-size: 11px; }.queue-amount b { font-size: 14px; }.queue-status .status-badge, .queue-risk { font-size: 11px; }.queue-primary-action, .queue-action-more, .queue-record, .queue-action-menu button { font-size: 12px; }.queue-footer, .queue-footer button { font-size: 12px; }
.fulfillment-detail > header span { font-size: 14px; }.fulfillment-detail > header h3 { font-size: 19px; }.detail-status b { font-size: 16px; }.detail-status small { font-size: 12px; }.detail-block h4 { font-size: 13px; }.detail-customer b { font-size: 15px; }.detail-customer small { font-size: 13px; }.detail-block dt { font-size: 12px; }.detail-block dd, .detail-items li { font-size: 13px; }.detail-total .paid-total dd { font-size: 20px; }.detail-action { font-size: 14px; }.detail-actions > small { font-size: 12px; }.batch-order-bar, .batch-order-action, .batch-order-clear, .batch-mode-toggle { font-size: 12px; }
.merchant-notes { background: #fcfbf6; }.merchant-notes-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.merchant-notes-head h4 { margin-bottom: 0; }.merchant-notes-head h4 small { margin-left: 5px; color: #a39d90; font-size: 10px; font-weight: 500; }.merchant-notes-head button { min-height: 27px; padding: 0 8px; border: 1px solid #c3d0b7; border-radius: 5px; background: #fffdf8; color: #4b683d; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.merchant-notes-head button:hover { background: #f0f5eb; }.merchant-notes ul { display: grid; gap: 7px; margin: 11px 0 0; padding: 0; list-style: none; }.merchant-notes li { padding: 8px 9px; border: 1px solid #eee7da; border-radius: 6px; background: #fffdf9; }.merchant-notes li p { margin: 0; color: #4d5b48; font-size: 12px; line-height: 1.5; white-space: pre-wrap; }.merchant-notes li small { display: block; margin-top: 4px; color: #9a998e; font-size: 10px; }.merchant-notes li.merchant-note-empty { padding: 3px 0; border: 0; background: transparent; color: #a29f94; font-size: 11px; }.merchant-notes-count { margin: 8px 0 0; color: #a09c90; font-size: 10px; }

/* Merchant console readability: use a more comfortable base scale across management pages. */
body { font-size: 15px; line-height: 1.6; }
.sidebar .nav-item { font-size: 14px; }
.sidebar .nav-caption, .sidebar .nav-item.nav-depth-2 { font-size: 12px; }
.product-list-page .listing-batch-select { font-size: 14px; }
.product-list-page .listing-batch-select select { font-size: 14px; }
.product-list-page .listing-batch-summary span, .product-list-page .listing-batch-summary small { font-size: 13px; }
.product-list-page .listing-batch-summary b { font-size: 15px; }
.product-list-page .product-status-tabs .filter-tab { font-size: 14px; }
.product-list-page .product-status-tabs .filter-tab b { font-size: 11px; }
.product-list-page .product-list-search input, .product-list-page .product-list-search select, .product-list-page .product-list-search button, .product-list-page .product-batch-actions { font-size: 14px; }

/* 订单详情复制：整单入口收在标题栏，分段入口紧贴各自的信息块。 */
.fulfillment-detail > header { gap: 8px; }.detail-copy-order, .detail-copy-section { display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid #c8d4bd; border-radius: 5px; background: #fffdf8; color: #4e6b3e; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; white-space: nowrap; }.detail-copy-order { min-height: 28px; margin-left: auto; padding: 0 8px; }.detail-copy-order:hover, .detail-copy-section:hover { border-color: #9bb08a; background: #f0f5eb; color: #3f5c31; }.detail-copy-order:focus-visible, .detail-copy-section:focus-visible { outline: 2px solid #a6bc93; outline-offset: 2px; }.detail-copy-order .material-symbols-rounded, .detail-copy-section .material-symbols-rounded { font-size: 14px; }.detail-block { position: relative; }.detail-copy-section { position: absolute; top: 10px; right: 17px; min-height: 25px; padding: 0 7px; font-size: 10px; }.detail-copy-section .material-symbols-rounded { font-size: 13px; }

/* 订单分组：日期是主信息，时段与金额收敛为一行摘要。 */
.queue-date-group { padding: 0 12px; }.queue-date-summary { display: flex; align-items: center; justify-content: flex-start; gap: 24px; min-height: 46px; border-bottom: 1px solid #e7dfd2; }.queue-date-summary h3 { min-width: 132px; margin: 0; color: #33492f; font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 600; letter-spacing: .01em; }.queue-summary-meta { display: flex; align-items: center; gap: 9px; color: #8c9184; font-size: 12px; white-space: nowrap; }.queue-summary-meta b { color: #4f6842; font-family: "Noto Serif SC", serif; font-size: 13px; }.queue-summary-meta small { color: #969b90; font-size: 11px; }.queue-summary-meta span, .queue-period-summary p span { color: #818a7d; }.queue-summary-meta strong, .queue-period-summary p strong { color: #466239; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 700; }.queue-summary-meta span::before, .queue-summary-meta strong::before, .queue-period-summary p strong::before { margin-right: 9px; color: #d1c8b9; content: "·"; }.queue-date-group.is-single-period .queue-date-summary { min-height: 49px; }.queue-date-group .queue-period { padding: 0; }.queue-period-summary { display: flex; align-items: center; justify-content: flex-start; gap: 24px; min-height: 37px; border-bottom: 1px solid #eee8dd; }.queue-period-summary > div { min-width: 132px; }.queue-period-summary > div, .queue-period-summary p { display: flex; align-items: baseline; gap: 8px; margin: 0; }.queue-period-summary b { color: #4b623f; font-family: "Noto Serif SC", serif; font-size: 13px; }.queue-period-summary small { color: #969b90; font-size: 11px; }.queue-period-summary p { color: #818a7d; font-size: 12px; white-space: nowrap; }.queue-date-group .queue-column-labels { min-height: 29px; }.queue-date-group + .queue-date-group { margin-top: 8px; border-top: 1px solid #eee7da; }
@media (max-width: 760px) { .queue-date-summary { align-items: start; flex-direction: column; gap: 3px; padding: 11px 0; }.queue-summary-meta { flex-wrap: wrap; gap: 5px 8px; }.queue-period-summary { min-height: 34px; }.queue-date-group + .queue-date-group { margin-top: 5px; } }
@media (max-width: 760px) { .detail-copy-order { min-height: 27px; padding: 0 7px; font-size: 10px; }.detail-copy-section { top: 9px; right: 14px; } }

/* 订单制作：订单选择与商品汇总分开，配送页只接收已完成备货的订单。 */
.queue-production-link { min-height: 29px; padding: 0 9px; border: 1px solid #d9c99f; border-radius: 6px; background: #fff9ec; color: #966328; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; white-space: nowrap; }.queue-production-link:hover { background: #f8edcf; }
.production-page { padding: 0 0 28px; }.production-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 27px 0 18px; }.production-head h2 { margin: 0; color: #31462d; font-family: "Noto Serif SC", serif; font-size: 31px; font-weight: 600; letter-spacing: .035em; }.production-head p { margin: 8px 0 0; color: #748070; font-family: "Noto Serif SC", serif; font-size: 13px; }.production-head .quiet { display: inline-flex; align-items: center; gap: 5px; min-height: 35px; padding: 0 11px; border: 1px solid #d9dfd0; border-radius: 8px; background: #fffdf8; color: #536b43; font-family: "Noto Serif SC", serif; font-size: 12px; }.production-head .material-symbols-rounded { font-size: 16px; }.production-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(250px, 1.4fr); overflow: hidden; margin-bottom: 14px; border: 1px solid #e7dfcf; border-radius: 12px; background: rgba(255,253,248,.84); }.production-overview > div { display: flex; align-items: center; gap: 10px; min-height: 76px; padding: 13px 18px; border-right: 1px solid #eee6d9; }.production-overview > div > span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf2e8; color: #60794c; font-size: 17px; }.production-overview > div:nth-child(2) > span { background: #f8e8cd; color: #a76b27; }.production-overview p { display: grid; gap: 2px; margin: 0; color: #778171; font-size: 11px; }.production-overview strong { color: #334c2e; font-family: "Noto Serif SC", serif; font-size: 23px; line-height: 1; }.production-overview strong small { margin-left: 2px; font-family: "Source Han Sans SC", sans-serif; font-size: 11px; font-weight: 500; }.production-overview > small { align-self: center; padding: 0 18px; color: #888e81; font-size: 11px; line-height: 1.55; }.production-workspace { display: grid; grid-template-columns: minmax(540px, 1.35fr) minmax(340px, .8fr); gap: 16px; align-items: start; }.production-orders, .production-summary, .production-history { overflow: hidden; border: 1px solid #e7dfcf; border-radius: 12px; background: rgba(255,253,248,.84); }.production-orders > header, .production-summary > header, .production-history > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 16px; border-bottom: 1px solid #eee6d9; }.production-orders h3, .production-summary h3, .production-history h3 { margin: 0; color: #3b4e35; font-family: "Noto Serif SC", serif; font-size: 16px; font-weight: 600; }.production-orders header p, .production-history header p { margin: 4px 0 0; color: #858b80; font-size: 11px; }.production-select-all { display: inline-flex; align-items: center; gap: 6px; color: #64705e; font-size: 12px; white-space: nowrap; }.production-select-all input, .production-order-row input { accent-color: #587944; }.production-order-columns, .production-order-row { display: grid; grid-template-columns: minmax(138px, 1.1fr) minmax(102px, .7fr) minmax(165px, 1fr) 70px; column-gap: 12px; align-items: center; }.production-order-columns { min-height: 33px; padding: 0 16px 0 43px; border-bottom: 1px solid #f0eadf; color: #a09b8e; font-size: 10px; }.production-order-row { position: relative; min-height: 64px; padding: 8px 16px 8px 43px; border-bottom: 1px solid #f0eadf; color: #455141; cursor: pointer; transition: background .15s ease; }.production-order-row:last-child { border-bottom: 0; }.production-order-row:hover, .production-order-row.is-selected { background: #f5f8f0; }.production-order-row.is-selected { box-shadow: inset 3px 0 0 #76935e; }.production-order-row > input { position: absolute; left: 16px; width: 16px; height: 16px; }.production-order-time { color: #4a6340; font-family: "Noto Serif SC", serif; font-size: 12px; line-height: 1.45; }.production-order-customer { display: grid; min-width: 0; gap: 3px; }.production-order-customer b, .production-order-products { overflow: hidden; color: #3e4e39; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.production-order-customer small { color: #8d9287; font-size: 10px; }.production-order-products { font-weight: 600; }.production-order-amount { color: #36523a; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 700; text-align: right; }.production-summary > header > div { display: grid; gap: 5px; }.production-summary > header span { color: #81897c; font-size: 11px; }.production-summary > header > b { color: #577246; font-size: 11px; }.production-summary > ul, .production-plan-card ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }.production-summary > ul { min-height: 185px; padding: 7px 16px; }.production-summary > ul li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eee8dc; }.production-summary > ul li:last-child { border-bottom: 0; }.production-summary > ul li > div { display: grid; min-width: 0; gap: 3px; }.production-summary li b { overflow: hidden; color: #3e4c38; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.production-summary li small { color: #95968d; font-size: 10px; }.production-summary li > span { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }.production-summary li em { color: #92978c; font-size: 10px; font-style: normal; }.production-summary li strong { color: #48663a; font-family: "Noto Serif SC", serif; font-size: 16px; }.production-summary-empty { justify-content: center !important; min-height: 150px; color: #999d94; font-size: 12px; line-height: 1.6; text-align: center; }.production-summary footer { display: grid; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid #eee6d9; }.production-summary footer .primary, .production-plan-card .primary { min-height: 36px; border-radius: 7px; background: #567442; color: #fffdf8; font-family: "Noto Serif SC", serif; font-size: 13px; font-weight: 700; }.production-summary footer .quiet { min-height: 33px; border: 1px solid #d7caa9; border-radius: 7px; background: #fffdf8; color: #91652e; font-family: "Noto Serif SC", serif; font-size: 12px; font-weight: 700; }.production-summary footer button:disabled { border-color: #ebe5da; background: #f4f0e8; color: #bbb5aa; cursor: not-allowed; }.production-summary footer small { color: #90948a; font-size: 10px; line-height: 1.5; }.production-history { margin-top: 16px; }.production-plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 13px; }.production-plan-card { min-width: 0; border: 1px solid #e8e0d2; border-radius: 9px; background: #fffdf8; }.production-plan-card.completed { background: #fbfcf8; }.production-plan-card header { display: flex; align-items: start; justify-content: space-between; gap: 10px; padding: 12px 13px 10px; border-bottom: 1px solid #eee7db; }.production-plan-card header > div { display: grid; gap: 5px; }.production-plan-card .status-badge { width: fit-content; padding: 3px 6px; font-size: 10px; }.production-plan-card h3 { overflow: hidden; margin: 0; color: #3b4d36; font-family: "Noto Serif SC", serif; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.production-plan-card p, .production-plan-card header > small { margin: 0; color: #8c9186; font-size: 10px; }.production-plan-card .primary { flex: 0 0 auto; min-height: 29px; padding: 0 8px; font-size: 11px; }.production-plan-card ul { padding: 6px 13px; }.production-plan-card li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 27px; color: #606d5b; font-size: 11px; }.production-plan-card li span { display: flex; min-width: 0; gap: 5px; }.production-plan-card li span small { overflow: hidden; color: #99988e; text-overflow: ellipsis; white-space: nowrap; }.production-plan-card li b { color: #49663c; font-family: "Noto Serif SC", serif; }.production-plan-card li.production-more { justify-content: flex-start; color: #96988d; }.production-plan-empty, .production-empty { display: grid; min-height: 120px; place-content: center; gap: 7px; padding: 20px; color: #969a90; font-size: 12px; text-align: center; }.production-empty .material-symbols-rounded { margin: 0 auto; color: #a9b99c; font-size: 30px; }.production-empty b { color: #63735b; font-family: "Noto Serif SC", serif; }.production-empty p { margin: 0; font-size: 11px; line-height: 1.6; }
@media (max-width: 1180px) { .production-workspace { grid-template-columns: minmax(470px, 1.2fr) minmax(300px, .8fr); }.production-order-columns, .production-order-row { grid-template-columns: minmax(118px, 1fr) minmax(92px, .7fr) minmax(125px, .9fr) 64px; column-gap: 8px; } }
@media (max-width: 880px) { .production-overview { grid-template-columns: repeat(3, 1fr); }.production-overview > small { grid-column: 1 / -1; padding: 11px 16px; border-top: 1px solid #eee6d9; }.production-workspace { grid-template-columns: 1fr; }.production-summary { order: -1; }.production-plan-list { grid-template-columns: 1fr; } }
@media (max-width: 660px) { .production-head { align-items: start; flex-direction: column; padding-top: 22px; }.production-head h2 { font-size: 26px; }.production-overview { grid-template-columns: 1fr; }.production-overview > div { border-right: 0; border-bottom: 1px solid #eee6d9; }.production-overview > small { grid-column: auto; }.production-order-columns { display: none; }.production-order-row { grid-template-columns: minmax(0, 1fr) 68px; gap: 6px; padding-left: 42px; }.production-order-time { grid-column: 1 / -1; }.production-order-products { grid-column: 1; }.production-order-amount { grid-column: 2; grid-row: 2 / 4; }.production-order-customer { grid-column: 1; }.production-plan-list { padding: 9px; } }

/* 制作页使用与订单配送一致的满宽工作区；仅保留内部操作卡片。 */
.production-page { width: 100%; }
.production-auto-accept { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 64px; margin-bottom: 14px; padding: 10px 16px; border: 1px solid #e8dfcf; border-radius: 12px; background: rgba(255,253,248,.84); }
.production-auto-accept > p { margin: 0; color: #7b8477; font-size: 11px; line-height: 1.55; }
.production-auto-accept .control-link { justify-self: end; white-space: nowrap; }
.production-pending-orders { overflow: hidden; margin-bottom: 14px; border: 1px solid #e7dfcf; border-radius: 12px; background: rgba(255,253,248,.84); }
.production-pending-orders > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-bottom: 1px solid #eee6d9; }
.production-pending-orders h3 { margin: 0; color: #3b4e35; font-family: "Noto Serif SC", serif; font-size: 16px; }.production-pending-orders p { margin: 3px 0 0; color: #858b80; font-size: 11px; }.production-pending-orders > header > b { color: #a46628; font-family: "Noto Serif SC", serif; font-size: 14px; white-space: nowrap; }
.production-pending-list { display: grid; }.production-pending-row { display: grid; grid-template-columns: minmax(0, 1fr) 74px 82px; align-items: center; gap: 14px; min-height: 54px; padding: 8px 16px; border-bottom: 1px solid #f0eadf; }.production-pending-row:last-child { border-bottom: 0; }.production-pending-row > div { display: grid; min-width: 0; gap: 2px; }.production-pending-row b { color: #3e4e39; font-size: 13px; }.production-pending-row small { overflow: hidden; color: #858d81; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.production-pending-row > strong { color: #49643a; font-family: "Noto Serif SC", serif; font-size: 13px; text-align: right; }.production-pending-row button { min-height: 29px; border: 1px solid #d9c99f; border-radius: 6px; background: #fff9ec; color: #926027; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.production-pending-row button:hover { background: #f8edcf; }.production-pending-empty { margin: 0 !important; padding: 17px; color: #9a9a8e !important; text-align: center; }
.production-auto-accept { display: inline-grid; grid-template-columns: minmax(0, 1fr); min-height: 0; margin: -8px 0 10px; padding: 0; border: 0; border-radius: 0; background: transparent; }.production-auto-accept > p, .production-auto-accept .control-link { display: none; }.production-auto-accept .auto-accept-control { grid-template-columns: 24px minmax(0, 1fr) 40px; gap: 8px; }.production-auto-accept .auto-accept-control > .material-symbols-rounded { width: 24px; height: 24px; font-size: 14px; }.production-auto-accept .auto-accept-control b { font-size: 12px; }.production-auto-accept .auto-accept-control small { font-size: 10px; }.production-pending-orders { margin-bottom: 10px; }.production-pending-orders > header { min-height: 43px; padding: 8px 13px; }.production-pending-orders h3 { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }.production-pending-orders h3 b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 99px; background: #f8e9cf; color: #a36b2b; font-size: 10px; }.production-pending-orders p { font-size: 10px; }.production-pending-orders > header > button { display: inline-flex; align-items: center; gap: 3px; min-height: 26px; padding: 0 7px; border: 1px solid #e1d8ca; border-radius: 5px; background: #fffdf8; color: #697561; font-family: "Noto Serif SC", serif; font-size: 10px; }.production-pending-orders > header > button .material-symbols-rounded { font-size: 14px; }.production-pending-orders:not(.is-expanded) { background: transparent; }.production-pending-orders:not(.is-expanded) > header { border-bottom: 0; }
.production-orders .queue-record { pointer-events: auto; }.production-orders .queue-record.is-selected { border-color: #84a26d; background: #eaf2e5; color: #446438; }.production-staging-bar { position: sticky; z-index: 4; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 10px 14px; border: 1px solid #e6ded0; border-radius: 10px; background: rgba(255,253,248,.96); box-shadow: 0 10px 24px rgba(68,61,44,.08); }.production-staging-bar.has-selection { border-color: #cbdabd; background: #f8fbf5; }.production-staging-bar > div:first-child { display: flex; align-items: baseline; gap: 8px; min-width: 0; }.production-staging-bar span { color: #899184; font-size: 11px; }.production-staging-bar b { color: #3d5735; font-family: "Noto Serif SC", serif; font-size: 14px; white-space: nowrap; }.production-staging-bar small { overflow: hidden; color: #8d9288; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.production-staging-bar > div:last-child { display: flex; gap: 8px; }.production-staging-bar button { min-height: 32px; padding: 0 11px; border-radius: 6px; font-family: "Noto Serif SC", serif; font-size: 12px; font-weight: 700; }.production-staging-bar .quiet { border: 1px solid #ded6c8; background: #fffdf8; color: #596b50; }.production-staging-bar .primary { background: #557842; color: #fffdf8; }.production-staging-bar button:disabled { border-color: #e7e1d8; background: #f3f0e9; color: #b4afa5; cursor: not-allowed; }.production-checklist-modal { width: min(520px, calc(100vw - 32px)); }.production-checklist-modal > ul { display: grid; gap: 0; max-height: min(48vh, 430px); margin: 0; padding: 6px 22px; overflow: auto; list-style: none; }.production-checklist-modal > ul li { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 48px; border-bottom: 1px solid #eee8dc; }.production-checklist-modal > ul li:last-child { border-bottom: 0; }.production-checklist-modal li > span { display: grid; min-width: 0; gap: 2px; }.production-checklist-modal li b { color: #40513a; font-size: 13px; }.production-checklist-modal li small { color: #97968c; font-size: 11px; }.production-checklist-modal li strong { color: #48683b; font-family: "Noto Serif SC", serif; font-size: 17px; white-space: nowrap; }.production-checklist-empty { justify-content: center !important; color: #99988f; font-size: 12px; }
.production-list-actions { display: inline-flex; align-items: center; gap: 9px; }.production-orders .queue-date-group { padding: 0 12px; }.production-orders .queue-order-row { cursor: pointer; }.production-orders .queue-record { pointer-events: auto; }.production-order-detail { align-self: start; min-height: 420px; }.production-order-detail.is-empty { display: grid; min-height: 420px; place-content: center; padding: 24px; text-align: center; }.production-order-detail.is-empty h3 { margin: 8px 0 3px; color: #506448; font-family: "Noto Serif SC", serif; font-size: 17px; }.production-order-detail.is-empty p { margin: 0; color: #90978b; font-size: 12px; line-height: 1.6; }.production-order-detail .detail-actions { padding-bottom: 15px; }.production-order-detail .detail-actions .minor { width: 100%; }.production-order-detail .merchant-notes { border-top: 1px solid #eee6d9; border-bottom: 1px solid #eee6d9; }.production-checklist-modal .production-skip-button { border: 1px solid #ddcba9; background: #fffaf0; color: #95622b; }
.production-note-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #eee6d9; color: #596755; font-family: "Noto Serif SC", serif; font-size: 12px; }.production-note-entry span { display: inline-flex; gap: 6px; align-items: baseline; }.production-note-entry small { color: #97998f; font-family: "Source Han Sans SC", sans-serif; font-size: 10px; }.production-note-entry button { min-height: 27px; padding: 0 8px; border: 1px solid #cbd9bd; border-radius: 5px; background: #fffdf8; color: #557543; font-family: "Noto Serif SC", serif; font-size: 10px; }
.production-checklist-modal section { border-top: 1px solid #eee8dc; }.production-checklist-modal section > h3 { display: flex; align-items: baseline; gap: 7px; margin: 0; padding: 10px 22px 5px; color: #53664b; font-family: "Noto Serif SC", serif; font-size: 12px; }.production-checklist-modal section > h3 small { color: #9a9a90; font-family: "Source Han Sans SC", sans-serif; font-size: 10px; font-weight: 400; }.production-checklist-modal section > ul { display: grid; gap: 0; max-height: min(24vh, 210px); margin: 0; padding: 0 22px 6px; overflow: auto; list-style: none; }.production-checklist-modal section > ul li { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 43px; border-bottom: 1px solid #eee8dc; }.production-checklist-modal section > ul li:last-child { border-bottom: 0; }.production-checklist-modal li small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.production-selected-order-list li button { min-height: 25px; padding: 0 8px; border: 1px solid #e0cab2; border-radius: 5px; background: #fffaf1; color: #9a6330; font-family: "Noto Serif SC", serif; font-size: 10px; }
.production-history > header { align-items: center; }.production-plan-batch-toggle { min-height: 29px; padding: 0 9px; border: 1px solid #d6dfce; border-radius: 6px; background: #fffdf8; color: #526b43; font-family: "Noto Serif SC", serif; font-size: 11px; }.production-plan-batch-bar { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-bottom: 1px solid #eee6d9; background: #f9fbf6; }.production-plan-batch-bar label { display: inline-flex; align-items: center; gap: 6px; color: #5b6d54; font-size: 11px; }.production-plan-batch-bar label input, .production-plan-select input { accent-color: #587944; }.production-plan-batch-bar > span { flex: 1; color: #8b9187; font-size: 11px; }.production-plan-batch-bar .primary { min-height: 29px; padding: 0 9px; border-radius: 6px; background: #567942; color: #fffdf8; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.production-plan-batch-bar .primary:disabled { background: #ece8df; color: #b4afa6; }.production-plan-select { display: inline-flex; align-items: center; gap: 5px; color: #5b6d54; font-size: 11px; white-space: nowrap; }.production-plan-card.is-selected { border-color: #aac397; box-shadow: inset 0 0 0 1px #d8e7cf; }
.production-checklist-modal { width: min(760px, calc(100vw - 48px)); max-height: min(88vh, 820px); }.production-checklist-modal .operation-head { padding: 20px 24px 16px; }.production-checklist-modal section > h3 { padding: 12px 24px 7px; font-size: 13px; }.production-checklist-modal section > ul { max-height: min(29vh, 270px); padding: 0 24px 9px; }.production-checklist-modal section > ul li { min-height: 49px; }.production-checklist-modal li b { font-size: 14px; }.production-checklist-modal li small { font-size: 12px; }.production-checklist-modal .operation-actions { padding: 14px 24px 18px; }.production-checklist-modal .operation-actions .quiet { min-height: 33px; }.production-checklist-modal .operation-actions .primary { min-height: 33px; }
.detail-operation-panel { display: grid; gap: 10px; padding-top: 13px; padding-bottom: 13px; border-top: 1px solid #eee7dc; border-bottom: 1px solid #eee7dc; background: #fbfcf8; }.detail-operation-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }.detail-operation-head h4 { margin: 0; }.detail-operation-head small { color: #92978c; font-size: 10px; line-height: 1.45; text-align: right; }.detail-operation-actions { display: flex; flex-wrap: wrap; gap: 7px; }.detail-operation-button { min-height: 29px; padding: 0 9px; border: 1px solid #bdcfad; border-radius: 6px; background: #fffdf8; color: #4f6c40; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.detail-operation-button:hover { background: #f0f6ea; }.detail-operation-button.danger { border-color: #e4baa9; background: #fff7f3; color: #b35335; }.detail-operation-button.danger:hover { background: #ffede6; }

/* 客户资产与邀请关系：将流水、调整和改绑说明放在同一张详情卡，避免运营操作脱离账本上下文。 */
.customer-operation-detail { max-width: 760px; }.customer-operation-section { padding: 16px 22px 6px; }.customer-operation-section h3 { margin: 0; color: #40563a; font-size: 15px; }.customer-operation-section p { margin: 5px 0 12px; color: #8a887d; font-size: 12px; line-height: 1.6; }.customer-operation-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid #eee8de; }.customer-operation-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid #eee8de; }.customer-operation-list li div { display: grid; gap: 3px; min-width: 0; }.customer-operation-list li b { color: #4a5745; font-size: 13px; }.customer-operation-list li small { color: #969286; font-size: 11px; line-height: 1.45; }.customer-operation-list strong { font-size: 14px; white-space: nowrap; }.customer-operation-list .is-credit { color: #4d7942; }.customer-operation-list .is-debit { color: #b75438; }.customer-detail-empty { color: #979186; font-size: 12px; justify-content: center !important; }.operation-lock-note { color: #a06b51; font-size: 11px; }.customer-candidate-search { display: flex; gap: 8px; }.customer-candidate-search input { min-width: 0; flex: 1; height: 36px; padding: 0 10px; border: 1px solid #d9d1c3; border-radius: 7px; background: #fffdf9; color: #48553f; }.customer-candidate-list { display: grid; margin-top: 12px; border-top: 1px solid #eee8de; }.customer-candidate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 2px; border: 0; border-bottom: 1px solid #eee8de; background: transparent; color: #48613d; text-align: left; cursor: pointer; }.customer-candidate-row:hover { background: #f5f8f0; }.customer-candidate-row span { display: grid; gap: 3px; }.customer-candidate-row b { color: #465540; font-size: 13px; }.customer-candidate-row small { color: #979186; font-size: 11px; }.customer-candidate-row i { font-style: normal; font-size: 12px; font-weight: 700; }.customer-profile-head h2 small { color: #8d9585; font-size: 13px; font-weight: 500; }@media(max-width:760px){.customer-operation-section{padding:14px 16px 4px}.customer-operation-list li{align-items:flex-start}.customer-candidate-search{align-items:stretch}.customer-candidate-search .quiet{min-width:54px}}
.production-plan-batch-bar { justify-content: flex-start; }.production-plan-batch-bar label { flex: 0 0 auto; }.production-plan-batch-bar label input { width: 14px; height: 14px; margin: 0; }.production-plan-batch-bar > span { flex: 0 0 auto; }.production-plan-batch-bar .primary { margin-left: 2px; }
@media (max-width: 760px) { .detail-operation-head { align-items: start; flex-direction: column; gap: 3px; }.detail-operation-head small { text-align: left; }.detail-operation-button { flex: 1; } }
.production-checklist-modal section > h3 { justify-content: space-between; }.production-checklist-modal section > h3 > span { display: inline-flex; align-items: baseline; gap: 7px; }.production-checklist-modal section > h3 > button { min-height: 27px; padding: 0 9px; border: 1px solid #c8d7bb; border-radius: 5px; background: #fffdf8; color: #4e6c40; font-family: "Noto Serif SC", serif; font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; }.production-checklist-modal .operation-actions { display: grid; grid-template-columns: max-content minmax(12px, 1fr) max-content max-content; align-items: center; gap: 9px; }.production-checklist-modal .operation-actions > span { min-width: 12px; }.production-checklist-modal .operation-actions button { padding: 0 13px; font-family: "Noto Serif SC", serif; font-size: 12px; line-height: 1; white-space: nowrap; }.production-checklist-modal .operation-actions .production-skip-button { padding: 0 15px; }.production-checklist-modal .operation-actions .primary { padding: 0 16px; }
@media (max-width: 760px) { .production-checklist-modal .operation-actions { grid-template-columns: repeat(2, max-content); justify-content: start; }.production-checklist-modal .operation-actions > span { display: none; }.production-checklist-modal .operation-actions .production-skip-button { grid-column: 1; }.production-checklist-modal .operation-actions .primary { grid-column: 2; } }
.action-dialog-actions .primary.danger { border: 1px solid #a64f38; background: #b44732; color: #fffdf9; box-shadow: 0 7px 15px rgba(141, 56, 38, .2); }.action-dialog-actions .primary.danger:hover, .action-dialog-actions .primary.danger:focus-visible { background: #963a28; color: #fff; }
.production-list-actions { display: flex; align-items: center; gap: 7px; }.production-search-form { display: flex; align-items: center; min-width: 236px; height: 30px; padding: 0 4px 0 8px; border: 1px solid #ded8cc; border-radius: 6px; background: #fffdf9; }.production-search-form .material-symbols-rounded { color: #899184; font-size: 15px; }.production-search-form input { min-width: 0; height: 28px; padding: 0 7px; border: 0; background: transparent; box-shadow: none; color: #495847; font-size: 11px; }.production-search-form input:focus { box-shadow: none; }.production-search-form button, .production-search-clear { min-height: 24px; padding: 0 7px; border-radius: 4px; background: #edf3e9; color: #526e43; font-family: "Noto Serif SC", serif; font-size: 10px; font-weight: 700; white-space: nowrap; }.production-search-clear { border: 1px solid #e1d9cb; background: #fffdf8; color: #7b786f; }.production-queue-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; min-height: 47px; padding: 9px 12px; border-top: 1px solid #eee7dc; color: #8a9085; font-size: 10px; }.production-queue-footer > div { display: flex; gap: 4px; }.production-queue-footer button { display: grid; min-width: 26px; height: 26px; place-items: center; padding: 0 6px; border: 1px solid #e6ded2; border-radius: 5px; background: #fffdf8; color: #60705a; font-size: 11px; }.production-queue-footer button.current { border-color: #a5b893; color: #466439; }.production-queue-footer button:disabled { color: #c6c0b6; cursor: not-allowed; }.production-queue-footer .material-symbols-rounded { font-size: 16px; }
@media (max-width: 760px) { .production-list-actions { width: 100%; }.production-search-form { flex: 1; min-width: 0; }.production-queue-footer { justify-content: space-between; } }
.production-checklist-modal { display: flex; flex-direction: column; height: min(88vh, 820px); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; }.production-checklist-modal .operation-head { flex: 0 0 auto; }.production-checklist-modal .production-selected-order-list, .production-checklist-modal .production-item-list { display: flex; flex: 1 1 0; flex-direction: column; min-height: 0; }.production-checklist-modal .production-selected-order-list { flex-grow: 1.08; }.production-checklist-modal .production-item-list { flex-grow: .92; }.production-checklist-modal section > ul { flex: 1 1 auto; max-height: none; min-height: 0; padding-bottom: 8px; }.production-checklist-modal .operation-actions { flex: 0 0 auto; margin-top: 0; border-top: 1px solid #e5ded2; background: #fffdf9; box-shadow: 0 -8px 18px rgba(65, 57, 42, .05); }
@media (max-width: 760px) { .production-checklist-modal { width: min(100% - 24px, 760px); height: min(92vh, 760px); }.production-checklist-modal .production-selected-order-list { flex-grow: 1; }.production-checklist-modal .production-item-list { flex-grow: 1; } }
.production-order-batch-toggle { min-height: 29px; padding: 0 9px; border: 1px solid #d4dfc9; border-radius: 6px; background: #fffdf8; color: #506d42; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; white-space: nowrap; }.production-order-batch-toggle.is-active { border-color: #91aa7b; background: #edf5e8; color: #405f32; }.production-order-batch-bar { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 6px 13px; border-bottom: 1px solid #e8e2d7; background: #f6faf2; }.production-order-batch-bar span { color: #61705a; font-size: 11px; }.production-order-batch-bar button { min-height: 26px; padding: 0 9px; border-radius: 5px; background: #587946; color: #fffdf8; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; }.production-order-batch-bar button:disabled { background: #e9e6df; color: #b6b0a5; cursor: not-allowed; }.production-order-batch-select { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 58px; min-height: 27px; padding: 0 7px; border: 1px solid #d9e3cf; border-radius: 5px; background: #fffdf8; color: #5c7051; font-family: "Noto Serif SC", serif; font-size: 10px; cursor: pointer; }.production-order-batch-select:hover, .production-order-batch-select.is-selected { border-color: #9db989; background: #eff7ea; color: #466638; }.production-order-batch-select .material-symbols-rounded { font-size: 15px; }.production-order-batch-select b { font-weight: 700; }.production-orders .queue-order-row.is-selected, .production-orders .queue-order-row.is-batch-selected { margin: 0; padding: 5px 0; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }.production-orders .queue-order-row.is-selected { border-color: #d9e4cf; background: #f4f8ef; }.production-orders .queue-order-row.is-batch-selected { background: #f2f8ed; }
.production-checklist-modal .production-selected-order-list:not(.is-expanded) { flex: 0 0 auto; }.production-checklist-modal .production-item-list { flex-grow: 1; }.production-checklist-modal section > h3 > div { display: inline-flex; align-items: center; gap: 6px; }.production-checklist-modal section > h3 > .production-list-expand { display: inline-flex; align-items: center; gap: 1px; }.production-checklist-modal .production-list-expand .material-symbols-rounded { font-size: 14px; }
.production-checklist-modal { display: block; height: auto; max-height: min(88vh, 820px); padding: 0; overflow: auto; }.production-checklist-modal .production-selected-order-list, .production-checklist-modal .production-item-list, .production-checklist-modal .production-selected-order-list:not(.is-expanded) { display: block; flex: none; min-height: auto; }.production-checklist-modal .production-selected-order-list { flex-grow: 0; }.production-checklist-modal .production-item-list { flex-grow: 0; }.production-checklist-modal section > ul { display: grid; flex: none; max-height: min(29vh, 270px); min-height: auto; }.production-checklist-modal .operation-actions { margin-top: 0; box-shadow: none; }
.production-plan-head-action { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 8px; min-height: 30px; }.production-plan-head-action .primary { min-width: 108px; }.production-plan-head-action > small { color: #8c9186; font-size: 10px; text-align: right; }.production-plan-head-action .production-plan-select { min-height: 30px; padding: 0 7px; border: 1px solid #cad9bd; border-radius: 6px; background: #fffdf8; }.production-plan-items-toggle { display: inline-flex; align-items: center; min-height: 28px; margin: 0 13px 9px; padding: 0; border: 0; background: transparent; color: #597447; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; cursor: pointer; }.production-plan-items-toggle:hover { color: #3e612e; text-decoration: underline; }
.production-sale-sync { display: flex; align-items: center; gap: 8px; min-height: 34px; margin: 0 13px 11px; padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; font-size: 10px; line-height: 1.45; }.production-sale-sync > .material-symbols-rounded { flex: 0 0 auto; font-size: 16px; }.production-sale-sync > span:nth-child(2) { display: grid; gap: 1px; min-width: 0; }.production-sale-sync b { color: inherit; font-size: 10px; }.production-sale-sync small { display: block; color: inherit; font-size: 9px; opacity: .82; }.production-sale-sync.recorded { border-color: #d5e5cb; background: #f3f8ef; color: #4e713f; }.production-sale-sync.pending { border-color: #ead4b6; background: #fff8ec; color: #98652d; }.production-sale-sync button { flex: 0 0 auto; min-height: 24px; margin-left: auto; padding: 0 8px; border: 1px solid #d9b98f; border-radius: 5px; background: #fffdf8; color: #8a5b28; font-family: "Noto Serif SC", serif; font-size: 9px; font-weight: 700; cursor: pointer; }.production-sale-sync button:hover { background: #fff2dc; }
.fulfillment-stage-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.option-group-card { display: grid; gap: 12px; }.option-group-card .compact-grid { padding-right: 34px; }.option-values-editor, .tag-editor { display: grid; gap: 9px; padding: 12px; border: 1px solid #e9e2d6; border-radius: 8px; background: #fcfbf7; }.option-values-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #4a5f43; font-family: "Noto Serif SC", serif; font-size: 12px; font-weight: 700; }.option-values-title em { margin-left: 4px; color: #bf6541; font-family: "Source Han Sans SC", sans-serif; font-size: 10px; font-style: normal; }.option-values-title small { color: #93978d; font-family: "Source Han Sans SC", sans-serif; font-size: 10px; font-weight: 400; }.option-value-list { display: flex; flex-wrap: wrap; gap: 8px; }.option-value-row { display: inline-flex; align-items: center; min-width: 0; }.option-value-row input { width: 142px; min-height: 32px; padding: 0 9px; border: 1px solid #ded7ca; border-radius: 6px 0 0 6px; background: #fffdf9; color: #3e4e39; font-size: 12px; }.option-value-row input:focus { position: relative; z-index: 1; border-color: #95ad80; outline: 0; }.option-value-row button { width: 28px; min-height: 32px; border: 1px solid #ded7ca; border-left: 0; border-radius: 0 6px 6px 0; background: #fffaf5; color: #9b7755; font-size: 16px; line-height: 1; cursor: pointer; }.option-value-row button:hover { background: #fff0e8; color: #b75538; }.add-option-value { justify-self: start; min-height: 27px; padding: 0 8px; border: 1px dashed #b8c8a9; border-radius: 5px; background: #fffdf8; color: #557343; font-family: "Noto Serif SC", serif; font-size: 11px; font-weight: 700; cursor: pointer; }.add-option-value:hover { border-style: solid; background: #f3f8ee; }.multi-value-field { align-self: stretch; }.tag-editor { min-height: 100%; }
@media (max-width: 660px) { .option-value-row { width: 100%; }.option-value-row input { flex: 1; width: auto; } }
@media (max-width: 760px) { .production-list-actions { flex-wrap: wrap; }.production-order-batch-toggle { margin-left: auto; }.production-order-batch-select { min-width: 58px; } }
@media (max-width: 880px) { .production-auto-accept { grid-template-columns: minmax(0, 1fr) auto; }.production-auto-accept > p { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 660px) { .production-auto-accept { display: grid; margin: -3px 0 9px; }.production-auto-accept > p { grid-column: auto; grid-row: auto; }.production-auto-accept .control-link { justify-self: start; }.production-pending-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; }.production-pending-row > strong { grid-column: 2; grid-row: 1; }.production-pending-row button { grid-column: 1 / -1; }.production-list-actions { width: 100%; justify-content: space-between; }.production-orders > header { align-items: start; flex-direction: column; }.production-order-detail.is-empty { min-height: 220px; }.production-staging-bar { align-items: start; flex-direction: column; gap: 9px; }.production-staging-bar > div:first-child { display: grid; gap: 2px; }.production-staging-bar > div:last-child { width: 100%; }.production-staging-bar button { flex: 1; } }
.addon-value-row{gap:0}.addon-value-row .addon-price-field{display:inline-flex;align-items:center;gap:3px;height:32px;padding:0 6px;border:1px solid #ded7ca;border-left:0;background:#fffdf9;color:#6c795f;font-size:11px}.addon-value-row .addon-price-field input{width:66px;min-height:28px;padding:0 3px;border:0!important;border-radius:0;background:transparent}.addon-value-row .addon-price-field input:focus{box-shadow:none}.dietary-card{background:#fffdf9}

/* Keep adjacent table actions visually and interactively separate. */
.data-table .row-action { width: 1%; min-width: 184px; white-space: normal; }
.row-action-buttons { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px 10px; max-width: 100%; }
.row-action-buttons .text-button, .row-action-buttons .small-action { display: inline-flex; align-items: center; justify-content: center; min-height: 30px; margin: 0; padding: 4px 9px; border: 1px solid #d9e2cf; border-radius: 6px; background: #fffdf8; color: #527044; line-height: 1; white-space: nowrap; }
.row-action-buttons .text-button:hover, .row-action-buttons .small-action:hover { border-color: #a8be97; background: #eff5e9; color: #365d2e; }
.row-action-buttons .table-delete-action, .product-row-actions .product-delete-action { color: #aa5d4f; }
.row-action-buttons .table-delete-action:hover, .product-row-actions .product-delete-action:hover { color: #913f34; }
.special-batch-row-actions { flex-wrap: nowrap; min-width: 250px; white-space: nowrap; }
.trial-activity-row-actions { flex-wrap: nowrap; min-width: 190px; white-space: nowrap; }
.row-action-buttons .small-action.primary-action { border-color: #c4d5b4; background: #e8f1e1; }
@media (max-width: 760px) { .data-table .row-action { min-width: 168px; }.row-action-buttons { gap: 6px; } }
.module-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.module-head-actions .quiet,.module-head-actions .primary{white-space:nowrap}
.grass-points-batch-panel{width:min(840px,100%);max-height:calc(100vh - 32px);overflow:auto}.grass-points-batch-panel form{display:grid}.grass-points-batch-section{padding-bottom:14px}.grass-points-batch-selection-actions{display:flex;align-items:center;gap:10px}.grass-points-batch-selection-actions button{padding:0}.grass-points-selected-users{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-height:320px;padding-right:5px;overflow-y:auto;overflow-anchor:none;scrollbar-gutter:stable}.grass-points-selected-users>span{min-width:0}.grass-points-batch-actions{position:sticky;bottom:0;z-index:3;background:rgba(255,253,248,.97);border-top:1px solid #e8e1d5}.grass-points-batch-panel textarea{min-height:82px}@media(max-width:700px){.grass-points-batch-selection-actions{align-items:flex-end;flex-direction:column;gap:4px}.grass-points-selected-users{grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px}.grass-points-batch-panel{max-height:calc(100vh - 16px)}}
.new-product-coupon-page{display:grid;gap:16px}.new-coupon-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.new-coupon-stats>div{padding:16px;border:1px solid #e4ded2;border-radius:12px;background:#faf8f1}.new-coupon-stats span,.new-coupon-stats small{color:#8a8d80}.new-coupon-stats strong{margin:0 5px;color:#405b37;font-family:"Noto Serif SC",serif;font-size:26px}.new-coupon-rule,.new-product-pool{margin:0}.new-product-name{display:flex;align-items:center;gap:10px}.new-product-name>span,.new-product-candidate>span{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;border-radius:9px;background:#e8f0e3;color:#45683a;font-weight:800}.new-product-name small{max-width:280px}.new-product-pool input[type=date]{min-width:145px}.new-product-picker{width:min(620px,calc(100vw - 32px));max-height:min(720px,86vh);padding:22px;border-radius:16px;background:#fffdf8;overflow:auto}.new-product-picker header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.new-product-picker h3{margin:0;color:#344a32;font-size:20px}.new-product-picker p{margin:4px 0 0;color:#7e8577}.new-product-picker>input{margin-bottom:12px}.new-product-candidates{display:grid;gap:8px}.new-product-candidate{display:flex;align-items:center;gap:11px;width:100%;padding:11px;border:1px solid #e7e0d4;border-radius:11px;background:#fff;text-align:left}.new-product-candidate:hover{border-color:#a8bd98;background:#f7faf4}.new-product-candidate div{flex:1}.new-product-candidate strong,.new-product-candidate small{display:block}.new-product-candidate small{margin-top:2px;color:#8a8e82}.new-product-candidate>b{color:#527b43}.new-product-picker-empty{padding:45px;text-align:center;color:#92978c}@media(max-width:760px){.new-coupon-stats{grid-template-columns:repeat(2,1fr)}.new-product-picker{width:100%;max-height:82vh;border-radius:16px 16px 0 0}}
.share-demand-images{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.share-demand-images button{display:block;width:48px;height:48px;padding:0;overflow:hidden;border:1px solid #dfd8ca;border-radius:6px;background:#f4f1e9;box-shadow:0 1px 2px rgba(72,61,43,.08);cursor:zoom-in}.share-demand-images button:hover{border-color:#98ad88;box-shadow:0 2px 7px rgba(72,91,61,.17)}.share-demand-images img{display:block;width:100%;height:100%;object-fit:cover}.image-preview-mask{position:fixed;z-index:200;inset:0;display:grid;place-items:center;padding:28px;background:rgba(26,34,25,.78);cursor:zoom-out}.image-preview-dialog{position:relative;display:grid;max-width:min(92vw,960px);max-height:88vh;padding:10px;border-radius:10px;background:#fffdf9;box-shadow:0 24px 72px rgba(0,0,0,.3);cursor:default}.image-preview-dialog img{display:block;max-width:min(88vw,900px);max-height:calc(88vh - 20px);border-radius:5px;object-fit:contain}.image-preview-close{position:absolute;z-index:1;top:-14px;right:-14px;display:grid;place-items:center;width:32px;height:32px;border:2px solid #fffdf9;border-radius:50%;background:#395333;color:#fff;font-size:24px;line-height:1;cursor:pointer}
.feedback-record{display:grid;gap:6px;min-width:360px;padding:3px 0}.feedback-record-head{display:flex;align-items:center;gap:10px}.feedback-record-head strong{color:#33492f;font-family:"Noto Serif SC",serif;font-size:15px}.feedback-record p{margin:0;color:#46513f;font-size:14px;line-height:1.55;white-space:pre-wrap}.feedback-record-meta{display:flex;align-items:center;gap:4px;color:#94968c;font-size:12px}.feedback-submitter,.feedback-record-meta button{margin:0;padding:0;border:0;background:transparent;color:#4d7440;font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;cursor:pointer}.feedback-submitter{padding:3px 8px;border:1px solid #d4e1c9;border-radius:999px;background:#f3f8ee;text-decoration:none}.feedback-submitter:hover,.feedback-record-meta button:hover{color:#2f5c29}.submitter-preview-mask{position:fixed;z-index:201;inset:0;display:grid;place-items:center;padding:24px;background:rgba(26,34,25,.56)}.submitter-preview-dialog{position:relative;width:min(430px,calc(100vw - 40px));padding:26px;border-radius:14px;background:#fffdf9;box-shadow:0 24px 72px rgba(0,0,0,.28)}.submitter-preview-kicker{color:#788c70;font-size:11px;font-weight:700;letter-spacing:.12em}.submitter-preview-dialog h3{margin:7px 0 5px;color:#314a2f;font-family:"Noto Serif SC",serif;font-size:25px}.submitter-preview-membership{display:inline-flex;min-height:22px;align-items:center;padding:0 8px;border:1px solid #c7d8bb;border-radius:999px;background:#f0f6eb;color:#537746;font-size:11px;font-weight:700}.submitter-preview-dialog dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:21px 0 0}.submitter-preview-dialog dl div{padding:10px;border:1px solid #ebe4d8;border-radius:8px;background:#fcfbf7}.submitter-preview-dialog dt{color:#99978d;font-size:11px}.submitter-preview-dialog dd{margin:4px 0 0;overflow:hidden;color:#43523e;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.submitter-preview-close{position:absolute;top:12px;right:12px;width:28px;height:28px;border:0;border-radius:50%;background:#eef3ea;color:#58724d;font-size:22px;line-height:1;cursor:pointer}@media(max-width:640px){.feedback-record{min-width:280px}.submitter-preview-dialog dl{grid-template-columns:1fr}}
.feedback-workspace{padding:4px 0 28px}.feedback-workspace-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 17px}.feedback-workspace-head h2{margin:2px 0 5px;color:#30472f;font-family:"Noto Serif SC",serif;font-size:29px;font-weight:600;letter-spacing:.03em}.feedback-workspace-head p{margin:0;color:#7c8578;font-size:13px}.feedback-workspace-head>span{padding:6px 10px;border:1px solid #e4ddcf;border-radius:999px;background:#fffdf8;color:#858c80;font-size:12px}.feedback-workspace-layout{display:grid;grid-template-columns:minmax(270px,31%) minmax(0,1fr);min-height:660px;overflow:hidden;border:1px solid #e7dfd0;border-radius:14px;background:#fffdf9}.feedback-queue{display:flex;min-height:0;flex-direction:column;border-right:1px solid #e9e1d5;background:#fcfbf7}.feedback-queue-tabs{display:flex;gap:4px;padding:14px 13px 10px;overflow-x:auto;border-bottom:1px solid #eee8dc}.feedback-queue-tabs button{display:inline-flex;align-items:center;gap:5px;min-height:29px;padding:0 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#71806c;font-family:"Noto Serif SC",serif;font-size:11px;white-space:nowrap;cursor:pointer}.feedback-queue-tabs button b{display:grid;min-width:15px;height:15px;place-items:center;border-radius:8px;background:#ecefe8;color:#7c8877;font-family:"Source Han Sans SC",sans-serif;font-size:9px}.feedback-queue-tabs button.active{border-color:#c8d7bc;background:#eff5ea;color:#3e6236}.feedback-queue-tabs button.active b{background:#d7e7c9;color:#426738}.feedback-queue-list{min-height:0;overflow:auto}.feedback-queue-item{position:relative;display:grid;width:100%;grid-template-columns:1fr auto;gap:5px 9px;padding:16px 17px;border:0;border-bottom:1px solid #eee8dc;background:transparent;color:#4a5847;text-align:left;cursor:pointer}.feedback-queue-item:hover{background:#f7faf3}.feedback-queue-item.is-selected{background:#f2f7ed;box-shadow:inset 3px 0 0 #607f4d}.feedback-queue-item .feedback-queue-type{justify-self:start;padding:3px 7px;border-radius:5px;background:#eef3e7;color:#5c7a48;font-size:10px;font-weight:700}.feedback-queue-item strong{grid-column:1;color:#334a32;font-family:"Noto Serif SC",serif;font-size:14px;font-weight:600}.feedback-queue-item small{grid-column:1;overflow:hidden;color:#889087;font-size:11px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}.feedback-queue-item em{position:absolute;top:17px;right:17px;color:#a5a59d;font-size:10px;font-style:normal}.feedback-queue-item .status-badge{grid-column:2;grid-row:2 / 4;align-self:center;justify-self:end;white-space:nowrap}.feedback-workspace-main{min-width:0;padding:24px 28px;background:#fffdf9}.feedback-detail{display:flex;min-height:610px;flex-direction:column}.feedback-detail>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid #ede6da}.feedback-detail>header>div{display:flex;align-items:center;gap:10px}.feedback-detail-type{display:inline-flex;align-items:center;min-height:25px;padding:0 9px;border-radius:6px;background:#eef3e7;color:#587845;font-family:"Noto Serif SC",serif;font-size:12px;font-weight:700}.feedback-detail>header small{color:#92978d;font-size:12px}.feedback-detail-content{padding:23px 0 18px}.feedback-detail-content>span,.feedback-detail-user>span,.feedback-detail-profile>span,.feedback-detail-media>span{display:block;margin-bottom:9px;color:#8b9287;font-size:11px;font-weight:700}.feedback-detail-content p{max-width:760px;margin:0;color:#334233;font-family:"Noto Serif SC",serif;font-size:20px;font-weight:600;line-height:1.7;white-space:pre-wrap}.feedback-detail-lower{display:grid;grid-template-columns:minmax(280px,1fr) minmax(180px,.8fr);gap:20px;padding:17px 0;border-top:1px solid #f0eadf;border-bottom:1px solid #f0eadf}.feedback-detail-user button{display:flex;width:100%;align-items:center;gap:10px;padding:11px 13px;border:1px solid #dde7d3;border-radius:999px;background:#f7faf3;color:#41593b;text-align:left;cursor:pointer}.feedback-detail-user button:hover{border-color:#a8bd98;background:#f0f6eb}.feedback-user-initial{display:grid;width:35px;height:35px;flex:0 0 auto;place-items:center;border-radius:50%;background:#dbe8cf;color:#48663b;font-family:"Noto Serif SC",serif;font-size:15px;font-weight:700}.feedback-detail-user button div:nth-child(2){display:grid;gap:2px}.feedback-detail-user b{font-family:"Noto Serif SC",serif;font-size:14px}.feedback-detail-user small{color:#899486;font-size:11px}.feedback-detail-user i{margin-left:auto;color:#7c8d73;font-size:21px;font-style:normal}.feedback-detail-profile{padding:11px 0}.feedback-detail-profile p{margin:5px 0;color:#687465;font-size:12px}.feedback-detail-media{padding-top:19px}.feedback-detail-thumbnails{display:flex;gap:9px;min-height:78px}.feedback-detail-thumbnails button{width:76px;height:76px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:8px;background:#f1eee6;cursor:zoom-in}.feedback-detail-thumbnails button.is-active{border-color:#668553}.feedback-detail-thumbnails img{width:100%;height:100%;object-fit:cover}.feedback-detail-image{width:min(100%,700px);max-height:290px;margin-top:14px;padding:0;overflow:hidden;border:1px solid #e5ddd0;border-radius:10px;background:#f3f0e8;cursor:zoom-in}.feedback-detail-image img{display:block;width:100%;max-height:290px;object-fit:cover}.feedback-no-images{margin:0;color:#9a9c94;font-size:12px}.feedback-detail footer{display:flex;justify-content:flex-end;margin-top:auto;padding-top:24px}.feedback-workspace-action{min-width:178px;min-height:46px;padding:0 20px;border:0;border-radius:8px;background:#5b793f;color:#fffdf8;font-family:"Noto Serif SC",serif;font-size:15px;font-weight:700;cursor:pointer}.feedback-workspace-action:hover{background:#496b35}.feedback-detail-empty{display:grid;place-content:center;flex:1;color:#84907e;text-align:center}.feedback-detail-empty b{color:#506647;font-family:"Noto Serif SC",serif;font-size:19px}.feedback-detail-empty p{max-width:280px;margin:8px 0 0;font-size:13px;line-height:1.6}.feedback-workspace-empty{padding:40px 16px;color:#94998f;font-size:12px;text-align:center}@media(max-width:960px){.feedback-workspace-layout{grid-template-columns:310px minmax(0,1fr)}.feedback-workspace-main{padding:20px}.feedback-detail-content p{font-size:18px}.feedback-detail-lower{grid-template-columns:1fr}}@media(max-width:720px){.feedback-workspace-layout{display:block;min-height:0}.feedback-queue{max-height:390px;border-right:0;border-bottom:1px solid #e9e1d5}.feedback-workspace-main{min-height:560px}.feedback-workspace-head{align-items:start;flex-direction:column}.feedback-detail-content p{font-size:17px}.feedback-detail-lower{gap:8px}.feedback-detail-image{max-height:230px}.feedback-detail-image img{max-height:230px}}
.bundle-product-picker{position:relative;display:block}.bundle-product-picker summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:38px;padding:0 10px;border:1px solid #cbd7bd;border-radius:7px;background:#fffdf8;color:#3f5337;cursor:pointer;list-style:none}.bundle-product-picker summary::-webkit-details-marker{display:none}.bundle-product-picker summary b{overflow:hidden;font-family:"Noto Serif SC",serif;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.bundle-product-picker summary .material-symbols-rounded{color:#617757;font-size:19px;transition:transform .15s ease}.bundle-product-picker[open] summary{border-color:#8eaa77;border-bottom-right-radius:0;border-bottom-left-radius:0;box-shadow:0 0 0 3px rgba(128,161,105,.12)}.bundle-product-picker[open] summary .material-symbols-rounded{transform:rotate(180deg)}.bundle-product-popover{position:absolute;z-index:30;top:calc(100% - 1px);right:0;left:0;padding:8px;border:1px solid #8eaa77;border-radius:0 0 8px 8px;background:#fffdf9;box-shadow:0 12px 24px rgba(68,61,44,.16)}.bundle-product-popover input{width:100%;min-height:32px;padding:0 9px;border:1px solid #e1dacd;border-radius:5px;background:#fff;color:#465440;font-size:12px}.bundle-product-options{display:grid;max-height:210px;margin-top:7px;overflow:auto;overscroll-behavior:contain;border-top:1px solid #eee7da}.bundle-product-options button{min-height:34px;padding:0 9px;border:0;border-bottom:1px solid #f0eadf;background:transparent;color:#45533f;font-family:"Noto Serif SC",serif;font-size:12px;text-align:left;cursor:pointer}.bundle-product-options button:hover,.bundle-product-options button.is-selected{background:#eef5e9;color:#426136}.bundle-product-options button.is-selected::after{float:right;color:#5a7a48;content:"✓"}.bundle-product-options p{margin:10px 4px;color:#98998f;font-size:12px}.bundle-product-picker + small{display:block;margin-top:5px}
.trial-product-selection{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:48px;padding:10px 12px;border:1px solid #e5dfd3;border-radius:9px;background:#fcfbf7}.trial-product-selection .trial-product-selected{flex:1;margin:0}.trial-product-selection .outline{flex:0 0 auto}.trial-product-picker-dialog{display:flex;min-height:0;flex-direction:column}.trial-product-picker-dialog>header{position:relative;display:block;margin:0 0 16px;padding:0 42px 0 0}.trial-product-picker-dialog>header h3{margin:0;color:#344a32;font-family:"Noto Serif SC",serif;font-size:20px}.trial-product-picker-dialog>header p{margin:5px 0 0;color:#7e8577;font-size:12px}.trial-product-picker-dialog>header .close-editor{position:absolute;top:0;right:0;display:grid;place-items:center;margin:0}.trial-product-picker-dialog>input{box-sizing:border-box;width:100%;min-height:38px;padding:0 11px;border:1px solid #ded7ca;border-radius:7px;background:#fffdf9;color:#41503c;outline:0}.trial-product-picker-dialog>input:focus{border-color:#8fa97a;box-shadow:0 0 0 3px rgba(117,151,94,.12)}.trial-product-picker-dialog .trial-product-option-list{display:grid;min-height:0;max-height:min(52vh,460px);gap:8px;margin-top:13px;overflow:auto}.trial-product-picker-dialog .trial-product-option{display:grid!important;grid-template-columns:18px 48px minmax(0,1fr) 142px;align-items:center;gap:12px;width:100%;min-height:76px;padding:11px 13px;border:1px solid #e7e0d4;border-radius:11px;background:#fff;text-align:left;box-sizing:border-box}.trial-product-picker-dialog .trial-product-option:hover{border-color:#a8bd98;background:#f7faf4}.trial-product-picker-dialog .catalog-product-select{display:grid;place-items:center;width:18px;height:18px;cursor:pointer}.trial-product-picker-dialog .trial-product-option input[type=checkbox]{display:block!important;box-sizing:border-box!important;justify-self:center;align-self:center;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;accent-color:#597947}.trial-product-picker-dialog .trial-product-option-image{display:block!important;width:48px!important;height:48px!important;min-width:48px!important;margin:0!important;border-radius:9px;object-fit:cover;background:#eef2e9}.trial-product-picker-dialog .trial-product-option-image-placeholder{background:#e8f0e3}.trial-product-picker-dialog .trial-product-option-copy{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;text-align:left!important}.trial-product-picker-dialog .trial-product-option-copy strong{display:block!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344a32;font-size:14px;line-height:20px}.trial-product-picker-dialog .catalog-listing-stock{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0;padding:7px 9px;border-left:1px solid #ebe4d8;color:#52624d}.trial-product-picker-dialog .catalog-listing-stock[hidden]{display:none!important}.trial-product-picker-dialog .catalog-listing-stock b{font-size:12px;line-height:1.2}.trial-product-picker-dialog .catalog-listing-stock>input{box-sizing:border-box;width:100%;height:30px;min-height:30px;padding:0 8px;border:1px solid #d9d2c5;border-radius:6px;background:#fffdf9;color:#344a32;font-size:13px;font-weight:700}.trial-product-picker-dialog .catalog-listing-stock>input:disabled{background:#f3f1eb;color:#979b92}.trial-product-picker-dialog .catalog-unlimited-stock{display:inline-flex;align-items:center;gap:5px;width:max-content;color:#526c46;font-size:11px;font-weight:700;cursor:pointer}.trial-product-picker-dialog .catalog-unlimited-stock input[type=checkbox]{width:14px!important;height:14px!important;min-width:14px!important;min-height:14px!important}.trial-product-picker-dialog .catalog-listing-stock small{color:#899083;font-size:10px;line-height:1.25}.trial-product-picker-dialog .editor-actions{position:sticky;bottom:-22px;margin:16px -22px -22px;padding:14px 22px 15px;background:#fffdf8;border-top:1px solid #eee7da}@media(max-width:620px){.trial-product-selection{align-items:stretch;flex-direction:column}.trial-product-selection .outline{width:100%}.trial-product-picker-dialog .trial-product-option{grid-template-columns:18px 48px minmax(0,1fr)}.trial-product-picker-dialog .catalog-listing-stock{grid-column:2/-1;grid-row:2;margin-top:1px;padding:8px 0 0;border-top:1px solid #eee7da;border-left:0}.trial-product-picker-dialog .editor-actions{bottom:-16px;margin:14px -16px -16px;padding:12px 16px}}
.product-list-card{padding:24px 25px}.product-reference-table-wrap{border:1px solid #e8e2d8;border-radius:9px}.product-reference-table{min-width:1080px}.product-reference-table th{height:43px;padding:0 12px;background:#faf8f3;color:#313e34;font-size:12px;font-weight:700}.product-reference-table td{height:74px;padding:9px 12px;background:rgba(255,253,248,.7);vertical-align:middle}.product-reference-table tbody tr:hover td,.product-reference-table tbody tr.is-selected td{background:#f7faf3}.product-reference-table .product-select-cell{width:38px;padding-right:4px;padding-left:12px}.product-reference-table input[type="checkbox"]{width:14px;height:14px;margin:0;accent-color:#597c46;vertical-align:middle}.product-sort-cell{width:76px;color:#5b665d;font-family:"Noto Serif SC",serif}.product-id-cell{width:104px;color:#697268;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.product-name-cell{display:flex;align-items:center;gap:10px;min-width:255px}.product-list-image{display:block;flex:0 0 auto;width:42px;height:42px;border:1px solid #eee6d9;border-radius:4px;object-fit:cover;background:#f1ece1}.product-list-image-placeholder{background:#f1ece1}.product-name-cell strong{max-width:255px;overflow:hidden;color:#33452f;font-family:"Noto Serif SC",serif;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.product-name-cell small{margin-top:2px;color:#94998d;font-size:11px}.product-category-chip{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border:1px solid #e5e5e4;border-radius:4px;background:#f6f7f8;color:#70766e;font-size:12px}.product-price-cell{width:120px;color:#37443a;font-family:"Noto Serif SC",serif;font-size:13px;font-weight:600}.product-stock-cell{display:flex;align-items:center;gap:8px;min-width:145px;color:#44523f}.product-stock-cell b{font-family:"Noto Serif SC",serif;font-size:13px;font-weight:600}.product-stock-cell button,.product-row-actions button{padding:0;background:transparent;color:#517047;font-size:12px;line-height:1.5}.product-stock-cell button:hover,.product-row-actions button:hover{text-decoration:underline}.product-row-actions{min-width:220px;white-space:nowrap}.product-row-actions button{margin-left:10px}.product-sale-state{display:inline-flex;align-items:center;gap:5px;color:#6d796c;font-size:12px}.product-sale-state i{width:5px;height:5px;border-radius:50%;background:#a7ada3}.product-sale-state.on i{background:#28a36a}.product-sale-state.off i,.product-sale-state.draft i{background:#b8a27f}.product-sale-state.off{color:#8e8372}.product-sale-state.draft{color:#90734d}@media (max-width:760px){.product-list-card{padding:17px}.product-reference-table{min-width:1000px}.product-reference-table td{height:69px}.product-row-actions{min-width:190px}}
.product-status-tabs{display:flex;align-items:stretch;overflow-x:auto;margin-top:18px;border-bottom:1px solid #e4ded2}.product-status-tabs .filter-tab{display:inline-flex;align-items:center;gap:7px;min-height:42px;padding:0 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:#777d73;font-family:"Noto Serif SC",serif;font-size:12px;white-space:nowrap}.product-status-tabs .filter-tab b{color:#567347;font-size:11px}.product-status-tabs .filter-tab.active{border-bottom-color:#597747;color:#395535}.product-list-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}.product-list-search,.product-batch-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.product-list-search input,.product-list-search select{height:34px;border:1px solid #ded8cb;border-radius:6px;background:#fffdf8;color:#46553f;font-size:12px}.product-list-search input{width:208px;padding:0 10px}.product-list-search select{min-width:116px;padding:0 8px}.product-list-search button,.product-batch-actions button{min-height:32px;padding:0 10px;border:1px solid #d7d1c4;border-radius:6px;background:#fffdf8;color:#526a45;font-family:"Noto Serif SC",serif;font-size:11px;font-weight:700}.product-batch-actions{justify-content:flex-end}.product-batch-actions>span{margin-right:3px;color:#7f877b;font-size:11px}.product-batch-actions button:disabled{border-color:#e7e1d7;background:#f6f3ed;color:#b2aca1;cursor:not-allowed}.product-batch-actions button[data-product-batch="recycle"]{color:#a3543b}.inline-edit-action{display:inline-flex!important;align-items:center;justify-content:center;width:22px;height:22px;margin:0 0 0 5px!important;border:1px solid transparent!important;border-radius:4px!important;background:transparent!important;color:#809076!important;vertical-align:middle}.inline-edit-action .material-symbols-rounded{font-size:15px}.inline-edit-action:hover{border-color:#c6d4bb!important;background:#f2f7ed!important;color:#4e7040!important;text-decoration:none!important}.product-sort-cell,.product-id-cell,.product-price-cell{white-space:nowrap}.product-stock-cell{display:grid;grid-template-columns:auto 1fr;gap:1px 5px}.product-stock-cell small{grid-column:1 / -1;color:#93988f;font-size:10px}.product-stock-cell>span{grid-column:1 / -1;display:flex;gap:2px}.product-sale-state.recycled{color:#9a7462}.product-sale-state.recycled i{background:#b97d61}@media(max-width:980px){.product-list-controls{align-items:flex-start;flex-direction:column}.product-batch-actions{justify-content:flex-start}}@media(max-width:660px){.product-list-search input{width:100%;flex:1 1 100%}.product-list-search{width:100%}.product-status-tabs .filter-tab{padding:0 10px}}
.product-list-page{width:100%;padding:5px 0 0}.product-list-page .module-head{margin-bottom:17px}.product-list-page .batch-selector{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:0;border:0;background:transparent}.product-list-page .batch-selector label{display:flex;align-items:center;gap:8px;color:#52604b;font-family:"Noto Serif SC",serif;font-size:12px}.product-list-page .batch-selector select{width:220px;height:34px;background:#fffdf8}.product-list-page .batch-selector small{color:#62755a;font-size:12px}.product-status-tabs{gap:4px;margin-top:5px}.product-status-tabs .filter-tab{min-height:37px;padding:0 12px;border:1px solid transparent;border-bottom:2px solid transparent;border-radius:7px 7px 0 0;color:#5f675c}.product-status-tabs .filter-tab b{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:9px;background:#e8eee2;color:#4b683d;font-size:10px}.product-status-tabs .filter-tab.active{border-color:#bdcdae;border-bottom-color:#587746;background:#edf5e8;color:#365431}.product-status-tabs .filter-tab.active b{background:#d4e5c8;color:#35572b}.product-list-controls{padding:12px 0 13px}.product-list-search input,.product-list-search select{border-color:#d9d1c3;background:#fffdf9;color:#384936}.product-list-search select{background-color:#f7f4ec;color:#354b35;font-weight:600}.product-reference-table{min-width:1190px}.product-reference-table th{color:#3d4a3c;background:#faf8f2}.product-reference-table td{background:#fffdf9}.product-reference-table .product-id-cell{width:130px;color:#536251;font-weight:600;letter-spacing:.25px}.product-name-title{display:inline-flex;align-items:center;gap:2px;max-width:100%}.product-name-title .inline-edit-action{flex:0 0 auto}.product-category-chip{border-color:#b9cdb0;background:#edf4e8;color:#385735;font-family:"Noto Serif SC",serif;font-weight:700}.product-price-cell,.product-member-price-cell{width:112px;color:#243d30;font-family:"Noto Serif SC",serif;font-size:13px;font-weight:700;white-space:nowrap}.product-member-price-cell{color:#7a5237}.product-stock-cell{min-width:168px}.product-stock-cell b{color:#344a36}.product-stock-cell .listing-stock-edit{display:inline-flex;align-items:center;gap:3px;padding:1px 2px;color:#344a36;font-family:"Noto Serif SC",serif;font-size:13px;font-weight:700}.product-stock-cell .listing-stock-edit .material-symbols-rounded{color:#719064;font-size:14px;font-weight:500}.product-stock-cell .listing-stock-edit:hover{text-decoration:none}.product-stock-cell .listing-stock-edit:hover .material-symbols-rounded{color:#3f6c35}.product-stock-cell .inline-edit-action{margin-left:0!important}.product-stock-cell small{color:#798275}.inline-edit-action{color:#527744!important}.inline-edit-action:hover{border-color:#9fba8c!important;background:#e8f3e1!important;color:#315c2d!important}.product-row-actions{min-width:178px}.product-row-actions button{color:#4b6d40}.product-list-page .product-reference-table-wrap{border-radius:9px;background:#fffdf9}@media(max-width:760px){.product-list-page .batch-selector{align-items:flex-start;flex-direction:column;gap:6px}.product-list-page .batch-selector select{width:min(300px,100%)}.product-reference-table{min-width:1130px}}
.feedback-queue-search{padding:0 13px 11px;border-bottom:1px solid #eee8dc}.feedback-queue-search input{box-sizing:border-box;width:100%;height:32px;padding:0 9px;border:1px solid #dfd8cb;border-radius:6px;background:#fffdf9;color:#43543d;font-size:12px;outline:0}.feedback-queue-search input:focus{border-color:#90aa7b;box-shadow:0 0 0 3px rgba(112,146,91,.12)}.feedback-image-viewer{display:flex;align-items:flex-start;gap:18px}.feedback-detail-thumbnails{display:flex;flex:0 0 54px;flex-direction:column;gap:10px;min-height:0;overflow:visible}.feedback-detail-thumbnails button{width:54px;height:54px;flex:0 0 auto;cursor:pointer}.feedback-image-stage{position:relative;display:inline-flex;max-width:calc(100% - 72px)}.feedback-detail-image{display:inline-flex;width:auto;max-width:100%;height:auto;max-height:480px;align-items:center;justify-content:center;margin:0;cursor:default}.feedback-detail-image img{display:block;width:auto;height:auto;max-width:100%;max-height:480px;object-fit:contain}.feedback-open-original{position:absolute;right:10px;bottom:10px;min-height:30px;padding:0 10px;border:1px solid rgba(255,255,255,.75);border-radius:6px;background:rgba(32,43,31,.78);color:#fff;font-size:12px;font-weight:700;cursor:pointer;backdrop-filter:blur(4px)}.feedback-open-original:hover{background:rgba(45,73,37,.94)}@media(max-width:720px){.feedback-image-viewer{gap:10px}.feedback-detail-thumbnails{flex-basis:44px;gap:7px}.feedback-detail-thumbnails button{width:44px;height:44px}.feedback-image-stage{max-width:calc(100% - 54px)}.feedback-detail-image,.feedback-detail-image img{max-height:360px}}
.community-review-workspace .feedback-workspace-head>span b{color:#48693b;font-family:"Noto Serif SC",serif;font-size:15px}.community-review-tabs{padding-bottom:8px}.community-review-type{display:flex;gap:5px;padding:10px 13px}.community-review-type button{flex:1;min-height:29px;padding:0 5px;border:1px solid #e2dccf;border-radius:6px;background:#fffdf9;color:#7a8276;font-size:10px;cursor:pointer}.community-review-type button.active{border-color:#b8cba9;background:#edf5e8;color:#3f6237;font-weight:700}.community-review-detail>header>div{flex-wrap:wrap}.community-review-submitter{display:flex;align-items:center;gap:12px;padding:14px 0;border-top:1px solid #f0eadf;border-bottom:1px solid #f0eadf}.community-review-submitter span{color:#8b9287;font-size:11px;font-weight:700}.community-review-submitter strong{color:#40523d;font-family:"Noto Serif SC",serif;font-size:14px}.community-review-actions{gap:10px}.community-review-reject{min-width:112px;min-height:46px;padding:0 20px;border:1px solid #d8b7aa;border-radius:8px;background:#fff8f4;color:#a0543e;font-family:"Noto Serif SC",serif;font-size:14px;font-weight:700;cursor:pointer}.community-review-reject:hover{border-color:#bd806c;background:#fff0e9}.community-review-actions button:disabled{border-color:#ddd8ce;background:#f1eee8;color:#aaa79e;cursor:not-allowed}.community-review-workspace .status-badge.approved{background:#e8f2e3;color:#48713a}.community-review-workspace .status-badge.rejected{background:#f6e9e3;color:#9b563f}.community-review-queue-item .feedback-queue-type{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:720px){.community-review-type{flex-wrap:wrap}.community-review-type button{flex:1 1 30%}.community-review-actions{justify-content:stretch}.community-review-actions button{flex:1;min-width:0}}
.welfare-icon-picker{grid-column:1/-1}.welfare-icon-trigger{display:flex;width:100%;align-items:center;gap:12px;min-height:70px;padding:10px 13px;border:1px solid #d9d2c5;border-radius:9px;background:#fffdf8;color:#3e5139;text-align:left;cursor:pointer}.welfare-icon-trigger:hover{border-color:#8da77b;background:#f7faf3}.welfare-icon-trigger>i{display:grid;width:46px;height:46px;flex:0 0 auto;place-items:center;border-radius:8px;background:#edf4e8;color:#62804f;font-family:"Noto Serif SC",serif;font-size:23px;font-style:normal}.welfare-icon-trigger>i img{width:44px;height:44px;object-fit:contain}.welfare-icon-trigger span{display:grid;gap:3px;min-width:0}.welfare-icon-trigger b{font-family:"Noto Serif SC",serif;font-size:14px}.welfare-icon-trigger small{overflow:hidden;color:#879080;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.welfare-icon-trigger em{margin-left:auto;color:#75856d;font-size:24px;font-style:normal}.welfare-icon-modal[hidden]{display:none}.welfare-icon-modal{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:24px;background:rgba(35,42,30,.42);backdrop-filter:blur(3px)}.welfare-icon-dialog{width:min(790px,100%);max-height:min(720px,calc(100vh - 48px));padding:22px;overflow:auto;border:1px solid #dfd7ca;border-radius:14px;background:#fffdf8;box-shadow:0 22px 55px rgba(31,38,27,.25)}.welfare-icon-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.welfare-icon-dialog h3{margin:0;color:#344b31;font-family:"Noto Serif SC",serif;font-size:20px}.welfare-icon-dialog p{margin:5px 0 0;color:#818a7c;font-size:12px}.welfare-icon-dialog header button{display:grid;width:31px;height:31px;place-items:center;border:0;border-radius:7px;background:#f1eee6;color:#72806a;font-size:22px;cursor:pointer}.welfare-icon-preset-grid{display:grid;grid-template-columns:repeat(6,minmax(88px,1fr));gap:10px}.welfare-icon-preset{display:grid;min-width:0;min-height:104px;grid-template-rows:72px auto;place-items:center;padding:8px 6px 7px;border:1px solid #ded8cc;border-radius:10px;background:#fffdf8;color:#667060;font-family:"Noto Serif SC",serif;font-size:11px;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.welfare-icon-preset:hover{border-color:#a9bc99;background:#f6faf2;transform:translateY(-1px)}.welfare-icon-preset.is-selected{border-color:#66874f;background:#eef6e8;box-shadow:0 0 0 2px rgba(102,135,79,.14)}.welfare-icon-preset img{display:block;width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 4px 5px rgba(75,70,49,.12))}.welfare-icon-preset span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.welfare-icon-dialog footer{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.welfare-icon-upload{display:inline-flex;min-height:36px;align-items:center;padding:0 13px;border:1px solid #77966a;border-radius:7px;background:#edf5e8;color:#45643a;font-family:"Noto Serif SC",serif;font-size:12px;font-weight:700;cursor:pointer}.welfare-icon-upload input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}@media(max-width:900px){.welfare-icon-preset-grid{grid-template-columns:repeat(4,minmax(82px,1fr))}}@media(max-width:560px){.welfare-icon-modal{padding:12px}.welfare-icon-dialog{max-height:calc(100vh - 24px);padding:16px}.welfare-icon-preset-grid{grid-template-columns:repeat(3,minmax(78px,1fr))}.welfare-icon-preset{min-height:96px;grid-template-rows:64px auto}.welfare-icon-preset img{width:62px;height:62px}}
.welfare-rule-summary{margin:0 0 14px;padding:11px 13px;border:1px solid #dce7d5;border-radius:8px;background:#f4f8f1;color:#4d6545;font-size:12px;line-height:1.6}.welfare-issuance-summary{margin:0 0 15px;padding:11px 13px;border-left:3px solid #7f9c69;border-radius:5px 8px 8px 5px;background:#edf5e8;color:#385635;font-size:12px;font-weight:700;line-height:1.65}.welfare-form-grid>[data-welfare-coupon-only][hidden],.welfare-form-grid>[data-welfare-threshold-only][hidden],.welfare-form-grid>[data-welfare-manual-only][hidden]{display:none!important}.welfare-form-grid select:disabled{border-color:#e3ded4;background:#f3f1eb;color:#7f847b;cursor:not-allowed}
.sidebar .nav-alert-count{display:inline-flex;min-width:19px;height:19px;align-items:center;justify-content:center;margin-left:auto;padding:0 5px;border-radius:99px;background:#c94d32;color:#fff;font-family:"Source Han Sans SC",sans-serif;font-size:10px;font-style:normal;font-weight:800;line-height:1;box-shadow:0 2px 5px rgba(159,57,37,.18)}
.product-list-page .product-list-search select{width:132px;min-width:132px;flex:0 0 132px}
.fulfillment-stage.after-sales .stage-icon{background:#f8dfd6;color:#b34f33}.fulfillment-stage.refund .stage-icon{background:#f9ead0;color:#a76d24}.after-sales .stage-copy i{border-color:#e8b9a8;color:#b64e32}.refund .stage-copy i{border-color:#e8cf9e;color:#a56b24}.after-sales-page .queue-tabs>button.active{color:#a7442c}.after-sales-page .queue-tabs>button.active::after{background:#bd4d32}.after-sales-page .fulfillment-queue{border-color:#e4d5ce}.after-sales-info{background:#fff8f4}.after-sales-info>div{display:flex;align-items:center;gap:7px;margin-bottom:11px}.after-sales-info>div .material-symbols-rounded{color:#b34f33;font-size:18px}.after-sales-info>div h4{margin:0;color:#91412f}.after-sales-info dd b{color:#a64630}.after-sales-info dd small{display:block;margin-top:4px;color:#b15a45;font-size:10px;line-height:1.45}
@media(max-width:760px){.sidebar .nav-alert-count{position:absolute;top:2px;right:1px;min-width:16px;height:16px;padding:0 4px;font-size:9px}.after-sales-page .fulfillment-stage-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
.store-location-control{display:grid;grid-column:1/-1;gap:10px}.store-location-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.store-location-actions button{min-height:36px;padding:0 13px}.store-location-actions button:disabled{cursor:wait;opacity:.65}.store-location-status{color:#858c80;font-size:12px}.store-location-status.success{color:#4e7544;font-weight:700}.store-location-status.warning{color:#9b6c2f}.store-location-status.error{color:#b75549}.store-location-advanced{border:1px solid #e8e1d6;border-radius:8px;background:#faf8f2}.store-location-advanced summary{padding:10px 12px;color:#687163;font-size:12px;font-weight:700;cursor:pointer}.store-location-advanced[open] summary{border-bottom:1px solid #ece5da}.store-location-advanced .form-grid{padding:13px}.store-location-advanced>p{margin:0;padding:0 13px 13px;color:#93978e;font-size:11px}.store-location-advanced .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:760px){.store-location-actions{align-items:stretch;flex-direction:column}.store-location-actions button{width:100%}.store-location-status{text-align:center}.store-location-advanced .form-grid{grid-template-columns:1fr}}
.fulfillment-page:not(.after-sales-page):not(.goods-share-orders-page) .fulfillment-stage-board{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-order-remark{background:#fffaf0}.buyer-order-remark>div{display:flex;align-items:center;gap:7px}.buyer-order-remark>div .material-symbols-rounded{color:#ad6a2c;font-size:18px}.buyer-order-remark h4{margin:0;color:#79572e}.buyer-order-remark p{margin:9px 0 0;padding:10px 11px;border-left:3px solid #d69a4f;border-radius:4px 7px 7px 4px;background:#fffdf8;color:#2e412e;font-size:14px;font-weight:700;line-height:1.6;white-space:pre-wrap}.live-order-alert{position:fixed;z-index:310;top:88px;right:26px;display:grid;grid-template-columns:34px minmax(180px,1fr) auto 24px;align-items:center;gap:11px;width:min(470px,calc(100vw - 40px));padding:14px 13px 14px 15px;border:1px solid #d9a080;border-radius:12px;background:#fffaf4;box-shadow:0 16px 42px rgba(75,48,30,.22);animation:live-order-enter .25s ease-out}.live-order-alert>span{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;background:#c95131;color:#fff;font-size:20px}.live-order-alert>div{display:grid;gap:2px}.live-order-alert b{color:#8d3725;font-family:"Noto Serif SC",serif;font-size:15px}.live-order-alert small{color:#7f746a;font-size:11px}.live-order-alert>button[data-open-live-orders]{min-height:32px;padding:0 11px;border-radius:7px;background:#b9472d;color:#fffdf8;font-family:"Noto Serif SC",serif;font-size:12px;font-weight:700}.live-order-alert-close{width:24px;height:24px;padding:0;border-radius:50%;background:transparent;color:#967e70;font-size:20px;line-height:22px}@keyframes live-order-enter{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.fulfillment-page:not(.after-sales-page) .fulfillment-stage-board{grid-template-columns:1fr 1fr}.live-order-alert{top:70px;right:12px;left:12px;width:auto;grid-template-columns:32px minmax(0,1fr) 22px}.live-order-alert>button[data-open-live-orders]{grid-column:2;justify-self:start}.live-order-alert-close{grid-column:3;grid-row:1}}
.fulfillment-page.goods-share-orders-page:not(.after-sales-page) .fulfillment-stage-board{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){.fulfillment-page.goods-share-orders-page:not(.after-sales-page) .fulfillment-stage-board{grid-template-columns:1fr 1fr}}
.community-review-workspace .status-badge.rewarded{border-color:#ead8a8;background:#fbf2d7;color:#9b6d25}
.product-list-page .listing-batch-workspace{display:flex;align-items:center;gap:14px;margin:0 0 13px;padding:12px 14px;border:1px solid #dce6d5;border-radius:9px;background:#f8fbf5}.product-list-page .listing-batch-select{display:flex;align-items:center;gap:9px;min-width:0;color:#4c6147;font-family:"Noto Serif SC",serif;font-size:12px;font-weight:700;white-space:nowrap}.product-list-page .listing-batch-select select{width:min(320px,42vw);min-height:36px;padding:0 9px;border:1px solid #cddbc4;border-radius:6px;background:#fffdf9;color:#355232;font-family:"Noto Serif SC",serif;font-size:12px;font-weight:700}.product-list-page .listing-batch-summary{display:grid;min-width:0;gap:2px;padding-left:14px;border-left:1px solid #dce4d6}.product-list-page .listing-batch-summary span{color:#788773;font-size:11px}.product-list-page .listing-batch-summary b{overflow:hidden;color:#42603b;font-family:"Noto Serif SC",serif;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.product-list-page .listing-batch-summary small{color:#7f8a7b;font-size:11px}.product-list-page .product-list-controls{align-items:center}.product-list-page .product-list-search{flex:1}.product-list-page .product-list-search input{flex:1;max-width:300px}.product-list-page .product-list-controls .product-batch-actions{margin-left:auto}@media(max-width:980px){.product-list-page .product-list-controls{flex-direction:row;flex-wrap:wrap;align-items:center}.product-list-page .product-list-controls .product-batch-actions{margin-left:0}.product-list-page .product-list-search{min-width:min(100%,480px)}}@media(max-width:660px){.product-list-page .listing-batch-workspace{align-items:stretch;flex-direction:column;gap:10px}.product-list-page .listing-batch-select{align-items:stretch;flex-direction:column}.product-list-page .listing-batch-select select{width:100%}.product-list-page .listing-batch-summary{padding:10px 0 0;border-top:1px solid #dce4d6;border-left:0}.product-list-page .product-list-search input{max-width:none}}
.product-list-page.is-product-library .product-reference-table thead th:nth-child(2){display:none}

/* Larger desktop type scale for day-to-day merchant operations. */
body{font-size:16px;line-height:1.65}.sidebar .nav-item{font-size:15px}.sidebar .nav-caption,.sidebar .nav-item.nav-depth-2{font-size:13px}.topbar h1{font-size:24px}.topbar .eyebrow,.crumb{font-size:14px}.module-head h2,.editor-top h2{font-size:28px}.module-head p,.editor-top p{font-size:16px}.product-list-page .listing-batch-workspace{gap:18px;padding:15px 17px}.product-list-page .listing-batch-select{font-size:16px}.product-list-page .listing-batch-select select{width:min(420px,50vw);min-height:42px;font-size:16px}.product-list-page .listing-batch-summary{gap:4px;padding-left:18px}.product-list-page .listing-batch-summary span,.product-list-page .listing-batch-summary small{font-size:14px}.product-list-page .listing-batch-summary b{font-size:16px}.product-list-page .product-status-tabs .filter-tab{min-height:44px;padding:0 15px;font-size:15px}.product-list-page .product-list-search input,.product-list-page .product-list-search select,.product-list-page .product-list-search button{height:38px;font-size:15px}.product-list-page .product-batch-actions{font-size:14px}.data-table th{font-size:13px}.data-table td,.data-table strong{font-size:15px}.data-table small,.table-muted{font-size:13px}
.community-review-batch{display:flex;align-items:center;gap:7px;padding:8px 13px;border-top:1px solid #eee8dd;border-bottom:1px solid #eee8dd;background:#fbfaf6;font-size:11px;color:#6e7569}.community-review-batch label{display:flex;align-items:center;gap:4px;white-space:nowrap;cursor:pointer}.community-review-batch input{accent-color:#557b48}.community-review-batch span{margin-right:auto;color:#63705e}.community-review-batch button{min-height:28px;padding:0 8px;border:1px solid #d9c6bd;border-radius:6px;background:#fff8f4;color:#9a5948;font-size:11px;cursor:pointer}.community-review-batch button.primary{border-color:#527847;background:#557b48;color:#fff}.community-review-batch button:disabled{opacity:.45;cursor:not-allowed}.community-review-queue-row{display:flex;align-items:stretch;border-bottom:1px solid #eee8dd}.community-review-queue-row .community-review-queue-item{flex:1;border-bottom:0}.community-review-select{display:flex;align-items:center;justify-content:center;width:33px;border-right:1px solid #eee8dd;color:#7f8c77;cursor:pointer}.community-review-select input{position:absolute;opacity:0;pointer-events:none}.community-review-select .material-symbols-rounded{font-size:18px}@media(max-width:720px){.community-review-batch{flex-wrap:wrap}.community-review-batch span{order:3;width:100%}}

/* Keep catalog inventory controls inside each product card instead of overflowing into the next one. */
.trial-product-picker-dialog .trial-product-option{min-height:98px}.trial-product-picker-dialog .catalog-listing-stock{align-self:stretch;align-content:center;grid-template-rows:auto 30px auto;gap:5px}.trial-product-picker-dialog .catalog-listing-stock>input{height:30px;min-height:30px}.trial-product-picker-dialog .catalog-unlimited-stock{min-height:16px;line-height:16px}.trial-product-picker-dialog .catalog-listing-stock small{display:none}
@media(max-width:620px){.trial-product-picker-dialog .trial-product-option{min-height:112px}.trial-product-picker-dialog .catalog-listing-stock{grid-template-rows:auto 30px auto}}
.product-sale-state.available{color:#4a7042}.product-sale-state.available i{background:#4f9b58}.product-sale-state.comeback{color:#a06d31}.product-sale-state.comeback i{background:#d49438}.product-list-page:not(.is-product-library) .product-row-actions{min-width:280px}.product-reference-table tbody tr.is-share-comeback td{background:#fffbf2}.product-reference-table tbody tr.is-share-comeback:hover td{background:#fff5e4}.product-reference-table tbody tr.is-share-comeback td:first-child{box-shadow:inset 3px 0 #d89a42}
.status-badge.ended{border-color:#e4cfa6;background:#fff5df;color:#92702f}.data-table tbody tr.is-ended-supply td{background:#fffdf7}.data-table tbody tr.is-ended-supply:hover td{background:#fff8e9}
/* 售后只保留三种实际状态，始终横向展示，避免被通用订单看板的两列规则覆盖。 */
#app .fulfillment-page.after-sales-page .fulfillment-stage-board{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:760px){#app .fulfillment-page.after-sales-page .fulfillment-stage-board{grid-template-columns:repeat(3,minmax(180px,1fr))!important;overflow-x:auto}#app .fulfillment-page.after-sales-page .fulfillment-stage{border-bottom:0}}

/* 财务与售后：将“日报表”升级为可直接处理经营资金与售后风险的工作台。 */
.finance-workspace{display:grid;gap:18px;padding:26px!important}.finance-head,.finance-head-actions,.finance-kpis,.finance-insights,.finance-after-sales-summary,.finance-after-sales-grid,.finance-ledger>header{display:flex;align-items:center}.finance-head,.finance-ledger>header{justify-content:space-between;gap:20px}.finance-head h2{margin:5px 0 7px;color:#31462d;font-family:"Noto Serif SC",serif;font-size:29px}.finance-head p{max-width:760px;margin:0;color:#748070;font-size:14px;line-height:1.65}.finance-head-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px}.finance-head-actions button{min-height:36px}.finance-kpis{align-items:stretch;gap:12px}.finance-kpi{display:grid;flex:1;min-width:0;gap:6px;padding:17px 18px;border:1px solid #e6decf;border-radius:12px;background:#fffdf9}.finance-kpi span,.finance-after-sales span{color:#7d877a;font-size:12px}.finance-kpi strong{color:#395638;font-family:"Noto Serif SC",serif;font-size:25px;line-height:1.1}.finance-kpi small{color:#8d9188;font-size:11px;line-height:1.55}.finance-kpi.primary{border-color:#cfddc5;background:linear-gradient(135deg,#f5f9f0,#fffdf9)}.finance-kpi.primary strong{color:#3f6b37}.finance-kpi.warning{border-color:#ead6bd;background:#fffaf3}.finance-kpi.warning strong{color:#af6631}.finance-insights{align-items:stretch;gap:12px}.finance-trend-card,.finance-breakdown-card,.finance-after-sales,.finance-ledger{border:1px solid #e8dfd2;border-radius:12px;background:#fffdf9}.finance-trend-card{display:grid;flex:1.55;min-width:0;padding:17px}.finance-breakdown-card{display:grid;flex:1;min-width:220px;padding:17px}.finance-trend-card header,.finance-breakdown-card header,.finance-after-sales header,.finance-ledger header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.finance-trend-card header span,.finance-breakdown-card header span,.finance-after-sales header>div>span,.finance-ledger header span{display:block;color:#536d4b;font-size:13px;font-weight:800}.finance-trend-card header small,.finance-breakdown-card header small{display:block;margin-top:4px;color:#90968a;font-size:11px}.finance-trend-card header>b{color:#426c3b;font-family:"Noto Serif SC",serif;font-size:17px}.finance-trend-bars{display:flex;align-items:end;justify-content:space-between;gap:8px;height:148px;margin-top:16px}.finance-trend-bars>div{display:grid;flex:1;min-width:0;height:100%;grid-template-rows:1fr auto auto;align-items:end;gap:4px;text-align:center}.finance-trend-bars i{display:block;align-self:end;min-height:5px;border-radius:6px 6px 2px 2px;background:linear-gradient(#789b67,#507b48)}.finance-trend-bars b{overflow:hidden;color:#66755f;font-size:10px;font-weight:600;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.finance-trend-bars small{overflow:hidden;color:#8c9489;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.finance-breakdown-card ul,.finance-reason-list,.finance-after-sales-list{display:grid;gap:9px;margin:14px 0 0;padding:0;list-style:none}.finance-breakdown-card li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:center}.finance-breakdown-card li span{overflow:hidden;color:#5e6a59;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-breakdown-card li b{color:#3d5739;font-size:14px}.finance-breakdown-card li small{grid-column:1 / -1;color:#94988f;font-size:10px}.finance-empty{color:#969a91!important;font-size:12px!important}.finance-after-sales{padding:18px}.finance-after-sales h3,.finance-ledger h3{margin:4px 0 0;color:#334d32;font-family:"Noto Serif SC",serif;font-size:19px}.finance-after-sales-summary{align-items:stretch;gap:0;margin-top:16px;border:1px solid #e9e3d8;border-radius:9px;background:#fcfbf7}.finance-after-sales-summary article{display:grid;flex:1;min-width:0;gap:3px;padding:12px 15px;border-left:1px solid #e9e3d8}.finance-after-sales-summary article:first-child{border-left:0}.finance-after-sales-summary b{overflow:hidden;color:#46653e;font-family:"Noto Serif SC",serif;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.finance-after-sales-summary article:last-child b{font-family:inherit;font-size:12px}.finance-after-sales-grid{align-items:stretch;gap:22px;margin-top:16px}.finance-after-sales-grid>section{flex:1;min-width:0}.finance-after-sales-grid h4{margin:0;color:#65745f;font-size:12px}.finance-after-sales-list li{display:flex;align-items:start;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px dashed #e9e2d5}.finance-after-sales-list li>div{display:grid;min-width:0;gap:3px}.finance-after-sales-list b{overflow:hidden;color:#475745;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-after-sales-list small{overflow:hidden;color:#8e948b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.finance-after-sales-list li>span{display:grid;flex:0 0 auto;justify-items:end;gap:4px}.finance-after-sales-list strong{color:#4b623f;font-size:12px}.finance-after-sales-list em{padding:2px 6px;border-radius:9px;background:#eef4e9;color:#507442;font-size:10px;font-style:normal}.finance-after-sales-list em.cancelRequested{background:#fff1e7;color:#b2653d}.finance-after-sales-list em.refundPending{background:#fff5e4;color:#a86b2d}.finance-reason-list li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:7px;background:#f7f7f2}.finance-reason-list span{overflow:hidden;color:#687360;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-reason-list b{flex:0 0 auto;color:#617453;font-size:12px}.finance-ledger{overflow:hidden}.finance-ledger>header{padding:17px 18px;border-bottom:1px solid #ebe4d8}.finance-ledger>header>small{max-width:420px;color:#8d9389;font-size:11px;line-height:1.5;text-align:right}.finance-ledger .data-table{min-width:720px}.finance-ledger td.is-refund{color:#b56248}.finance-ledger td>small{display:block;margin-top:2px;color:#94998f;font-size:10px}.finance-ledger-note{margin:0;padding:11px 18px;color:#8d9389;font-size:11px}.finance-workspace .status-badge{font-size:10px}
@media(max-width:1050px){.finance-kpis{display:grid;grid-template-columns:1fr 1fr}.finance-insights{display:grid;grid-template-columns:1fr 1fr}.finance-trend-card{grid-column:1 / -1}.finance-after-sales-grid{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:680px){.finance-workspace{padding:17px!important}.finance-head,.finance-ledger>header{align-items:start;flex-direction:column}.finance-head-actions{justify-content:flex-start}.finance-kpis,.finance-insights,.finance-after-sales-grid{grid-template-columns:1fr}.finance-trend-card{grid-column:auto}.finance-after-sales-summary{display:grid;grid-template-columns:1fr 1fr}.finance-after-sales-summary article{border-top:1px solid #e9e3d8}.finance-after-sales-summary article:nth-child(odd){border-left:0}.finance-after-sales-summary article:nth-child(-n+2){border-top:0}.finance-ledger>header>small{text-align:left}.finance-trend-bars{gap:4px}.finance-trend-bars small{font-size:9px}}
.comeback-wish-users{margin-top:5px}.comeback-wish-users summary{width:max-content;max-width:100%;color:#527143;cursor:pointer;font-size:11px;line-height:1.5;list-style:none}.comeback-wish-users summary::-webkit-details-marker{display:none}.comeback-wish-users summary::before{content:"⌄";display:inline-block;margin-right:4px;font-size:13px;transition:transform .16s ease}.comeback-wish-users[open] summary::before{transform:rotate(180deg)}.comeback-wish-users ul{display:grid;gap:5px;max-height:180px;margin:7px 0 0;padding:7px 9px;overflow:auto;border:1px solid #e3eadc;border-radius:7px;background:#f7faf4;list-style:none}.comeback-wish-users li{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#53644c;font-size:11px}.comeback-wish-users li span{display:grid;min-width:0;gap:1px}.comeback-wish-users li b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comeback-wish-users li small,.comeback-wish-users li time{color:#929a8e;font-size:10px}.comeback-wish-users li time{flex:0 0 auto}.comeback-wish-users .comeback-wish-empty{display:block;color:#929a8e}

/* 财务优惠明细：收进优惠让利指标卡，按需展开，避免打断经营概览的阅读顺序。 */
.finance-discount-kpi{position:relative;z-index:1}.finance-discount-kpi:has(.finance-discount-popover){z-index:3}.finance-kpi-discount-preview{display:grid;gap:2px;min-height:32px}.finance-kpi-discount-preview span{display:flex;justify-content:space-between;gap:8px;color:#8d9188;font-size:11px;line-height:1.45}.finance-kpi-discount-preview b{color:#a86038;font-weight:700;white-space:nowrap}.finance-discount-toggle{justify-self:start;min-height:0;padding:0;border:0;background:transparent;color:#557248;font-size:12px;font-weight:700;cursor:pointer}.finance-discount-toggle::after{content:" ›"}.finance-discount-popover{position:absolute;top:calc(100% + 10px);left:0;z-index:5;display:grid;min-width:330px;max-width:420px;gap:4px;padding:14px 15px;border:1px solid #d9e4d2;border-radius:10px;background:#fffefa;box-shadow:0 12px 30px rgba(53,72,45,.16)}.finance-discount-popover>strong{color:#3c5538;font-size:14px}.finance-discount-popover>small{color:#879083;font-size:11px}.finance-discount-popover ul{display:grid;gap:0;margin:7px 0 0;padding:0;border-top:1px solid #ede6da;list-style:none}.finance-discount-popover li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 12px;padding:8px 0;border-bottom:1px solid #f0eadf}.finance-discount-popover li span{overflow:hidden;color:#61705e;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-discount-popover li b{color:#a86038;font-size:13px}.finance-discount-popover li small{grid-column:1 / -1;color:#939b91;font-size:10px}.finance-discount-popover .finance-empty{display:block}.finance-discount-popover .finance-empty{grid-column:1 / -1}
.finance-discount-details{padding:17px 18px;border:1px solid #e8dfd2;border-radius:12px;background:#fffdf9}.finance-discount-details>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.finance-discount-details header span{display:block;color:#536d4b;font-size:13px;font-weight:800}.finance-discount-details h3{margin:4px 0 0;color:#334d32;font-family:var(--merchant-font-display);font-size:19px;line-height:1.4}.finance-discount-details header small{max-width:460px;color:#788476;font-size:13px;line-height:1.55;text-align:right}.finance-discount-details ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:16px 0 0;padding:0;border:1px solid #e9e3d8;border-radius:9px;background:#fcfbf7;list-style:none}.finance-discount-details li{display:grid;min-width:0;gap:3px;padding:12px 15px;border-left:1px solid #e9e3d8}.finance-discount-details li:first-child{border-left:0}.finance-discount-details li span{overflow:hidden;color:#697866;font-size:13px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}.finance-discount-details li b{overflow:hidden;color:#ad653b;font-family:var(--merchant-font-display);font-size:17px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.finance-discount-details li small{color:#8d9788;font-size:12px;line-height:1.5}.finance-discount-details .finance-empty{grid-column:1 / -1;border-left:0}@media(max-width:1050px){.finance-visitor-summary,.finance-discount-details ul{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-discount-details li:nth-child(4){border-left:0}}@media(max-width:680px){.finance-discount-details>header{flex-direction:column}.finance-discount-details header small{text-align:left}.finance-discount-details ul,.finance-visitor-summary{grid-template-columns:1fr 1fr}.finance-discount-details li{border-top:1px solid #e9e3d8}.finance-discount-details li:nth-child(odd){border-left:0}.finance-discount-details li:nth-child(-n+2){border-top:0}}
.finance-discount-details{padding:17px 18px;border:1px solid #e8dfd2;border-radius:12px;background:#fffdf9}.finance-discount-details>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.finance-discount-details header span{display:block;color:#536d4b;font-size:13px;font-weight:800}.finance-discount-details h3{margin:4px 0 0;color:#334d32;font-family:var(--merchant-font-display);font-size:19px;line-height:1.4}.finance-discount-details header small{max-width:460px;color:#788476;font-size:13px;line-height:1.55;text-align:right}.finance-discount-details ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:16px 0 0;padding:0;border:1px solid #e9e3d8;border-radius:9px;background:#fcfbf7;list-style:none}.finance-discount-details li{display:grid;min-width:0;gap:3px;padding:12px 15px;border-left:1px solid #e9e3d8}.finance-discount-details li:first-child{border-left:0}.finance-discount-details li span{overflow:hidden;color:#697866;font-size:13px;line-height:1.55;text-overflow:ellipsis;white-space:nowrap}.finance-discount-details li b{overflow:hidden;color:#ad653b;font-family:var(--merchant-font-display);font-size:17px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.finance-discount-details li small{color:#8d9788;font-size:12px;line-height:1.5}.finance-discount-details .finance-empty{grid-column:1 / -1;border-left:0}@media(max-width:1050px){.finance-visitor-summary,.finance-discount-details ul{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-discount-details li:nth-child(4){border-left:0}}@media(max-width:680px){.finance-discount-details>header{flex-direction:column}.finance-discount-details header small{text-align:left}.finance-discount-details ul,.finance-visitor-summary{grid-template-columns:1fr 1fr}.finance-discount-details li{border-top:1px solid #e9e3d8}.finance-discount-details li:nth-child(odd){border-left:0}.finance-discount-details li:nth-child(-n+2){border-top:0}}

/* 与小程序保持一致：正文使用系统中文无衬线，宋体只用于展示级标题。 */
:root{--merchant-font-ui:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",Arial,sans-serif;--merchant-font-display:"Songti SC","STSong","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",serif}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--merchant-font-ui);letter-spacing:normal;font-synthesis:none;color:#26382c}
#app :not(.material-symbols-rounded):not(.design-icon){font-family:var(--merchant-font-ui)!important}
#app .ledger-greeting h2,#app .dashboard-intro h2,#app .module-head h2,#app .editor-top h2,#app .comeback-head h2,#app .printer-page-head h2,#app .printer-config-title h3,#app .printer-help-card h3{font-family:var(--merchant-font-display)!important;font-weight:700}
#app .nav-item,#app .data-table td,#app .data-table strong,#app .form-field>span,#app .form-field input,#app .form-field textarea,#app .form-field select,#app .comeback-product-main,#app .comeback-product-actions button,#app .text-button,#app .quiet,#app .outline,#app .primary{font-size:15px;line-height:1.55}
#app .data-table th,#app .form-field small,#app .data-table small,#app .comeback-product-main p,#app .comeback-product-main small,#app .comeback-product-signal span,#app .status-badge{font-size:13px;line-height:1.55}
#app .data-table th{color:#5c6b61;font-weight:600}#app .form-field small,#app .data-table small,#app .table-muted{color:#6b776e}

/* 正文字号、字重和对比度采用小程序的阅读层级，避免后台的细小浅灰文字发虚。 */
#app .workspace{color:#142719;font-size:15px;line-height:1.65;text-rendering:optimizeLegibility}
#app .data-table td,#app .form-field>span,#app label,#app .nav-item,#app .text-button,#app .outline,#app .quiet{font-weight:500}
#app .data-table strong,#app .form-section h3,#app .module-head h3,#app .editor-top h3,#app .primary{font-weight:700}
#app .data-table small,#app .form-field small,#app .table-muted,#app .crumb,#app .module-head p,#app .editor-top p{color:#617165}

/* 全后台统一沿用“订单制作”的字号层级：标题 31px、区块 18px、正文 14px、辅助信息 13px。 */
#app .workspace{font-size:14px!important;line-height:1.6}
#app .workspace :is(p,button,input,textarea,select,label,.data-table td,.table-muted){font-size:14px!important;line-height:1.6}
#app .workspace :is(small,.data-table th,.form-field small,.crumb,.status-badge){font-size:13px!important;line-height:1.55}
#app .workspace .data-table strong{font-size:15px!important;line-height:1.5}
#app .workspace :is(h3,.form-section h3,.module-head h3,.editor-top h3){font-size:18px!important;line-height:1.45}
#app .workspace :is(.module-head h2,.editor-top h2,.production-head h2,.fulfillment-head h2,.finance-head h2,.comeback-head h2,.printer-page-head h2,.ledger-greeting h2,.dashboard-intro h2){font-size:31px!important;line-height:1.25}
@media(max-width:760px){#app .workspace :is(.module-head h2,.editor-top h2,.production-head h2,.fulfillment-head h2,.finance-head h2,.comeback-head h2,.printer-page-head h2,.ledger-greeting h2,.dashboard-intro h2){font-size:26px!important}#app .workspace :is(h3,.form-section h3,.module-head h3,.editor-top h3){font-size:17px!important}}

/* 已结束的返场只展示状态，不再模拟可点击操作。 */
.comeback-ended-action{display:inline-flex;align-items:center;min-height:31px;padding:0 10px;border:1px solid #e2ddd3;border-radius:6px;background:#f4f1eb;color:#918d83;font-size:12px;white-space:nowrap}

/* 数据请求较慢时仍保持页面文字清晰，不再用全页模糊遮罩。 */
body.is-loading::after{background:rgba(247,250,248,.18);backdrop-filter:none;color:#315b39}

/* 订单制作是高频操作页：覆盖旧版局部 10–12px 规则，统一为可读字号。 */
#app .sidebar .nav-item>span:not(.material-symbols-rounded){font-size:15px!important}
#app .production-page p,#app .production-page button,#app .production-page input,#app .production-page select{font-size:14px!important;line-height:1.6}
#app .production-page small{font-size:13px!important;line-height:1.55}
#app .production-page h3{font-size:18px!important;line-height:1.45}
#app .production-page .auto-accept-control b{font-size:14px!important}

/* 订单处理、好物订单和售后使用与订单制作相同的阅读层级；早期页面遗留了 10–13px 的局部定值。 */
#app .fulfillment-page p,#app .fulfillment-page button,#app .fulfillment-page input,#app .fulfillment-page select{font-size:14px!important;line-height:1.6}
#app .fulfillment-page small{font-size:13px!important;line-height:1.55}
#app .fulfillment-page h3{font-size:18px!important;line-height:1.45}
#app .fulfillment-page .auto-accept-control b,#app .fulfillment-page .queue-person b,#app .fulfillment-page .queue-products b,#app .fulfillment-page .queue-fulfillment b,#app .fulfillment-page .stage-copy>b{font-size:15px!important;line-height:1.5}
#app .fulfillment-page .queue-column-labels,#app .fulfillment-page .queue-risk,#app .fulfillment-page .queue-status .status-badge,#app .fulfillment-page .detail-block h4,#app .fulfillment-page .detail-block dt,#app .fulfillment-page .detail-status .status-badge{font-size:13px!important;line-height:1.5}
#app .fulfillment-page .queue-amount b,#app .fulfillment-page .detail-status b,#app .fulfillment-page .detail-customer b{font-size:16px!important;line-height:1.45}
#app .fulfillment-page .detail-block dd,#app .fulfillment-page .detail-items li,#app .fulfillment-page .detail-action{font-size:14px!important;line-height:1.6}

/* 经营分析沿用后台的中文阅读层级，避免旧财务工作台仍使用偏小的独立字号。 */
#app .finance-workspace{font-size:15px!important;line-height:1.65}
#app .finance-head h2,#app .finance-after-sales h3,#app .finance-ledger h3{font-family:var(--merchant-font-display)!important;font-weight:700}
#app .finance-head h2{font-size:28px!important;line-height:1.35}
#app .finance-head p{font-size:15px!important;line-height:1.65}
#app .finance-kpi span,#app .finance-after-sales span,#app .finance-trend-card header span,#app .finance-breakdown-card header span,#app .finance-ledger header span,#app .finance-after-sales-grid h4{font-size:14px!important;line-height:1.55}
#app .finance-kpi strong{font-size:25px!important;line-height:1.2}
#app .finance-kpi small,#app .finance-trend-card header small,#app .finance-breakdown-card header small,#app .finance-breakdown-card li small,#app .finance-after-sales-list small,#app .finance-ledger>header>small,#app .finance-ledger-note{font-size:13px!important;line-height:1.55}
#app .finance-trend-card header>b,#app .finance-after-sales-summary b{font-size:18px!important;line-height:1.3}
#app .finance-breakdown-card li span,#app .finance-breakdown-card li b,#app .finance-after-sales-list b,#app .finance-after-sales-list strong,#app .finance-reason-list span,#app .finance-reason-list b{font-size:15px!important;line-height:1.55}
#app .finance-after-sales-list em,#app .finance-workspace .status-badge,#app .finance-trend-bars b,#app .finance-trend-bars small{font-size:13px!important;line-height:1.45}

/* 当日访问与成交：先看进入了谁，再看谁真正转化，避免只从订单倒推活跃用户。 */
.finance-visitors{padding:18px;border:1px solid #e8dfd2;border-radius:12px;background:#fffdf9}.finance-visitors>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.finance-visitors>header>div>span{display:block;color:#536d4b;font-size:14px;font-weight:800}.finance-visitors h3{margin:4px 0 0;color:#334d32;font-family:var(--merchant-font-display);font-size:19px;line-height:1.4}.finance-visitors>header>small{max-width:440px;color:#788476;font-size:13px;line-height:1.55;text-align:right}.finance-visitor-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:16px 0;border:1px solid #e9e3d8;border-radius:9px;background:#fcfbf7}.finance-visitor-summary article{display:grid;gap:3px;min-width:0;padding:12px 15px;border-left:1px solid #e9e3d8}.finance-visitor-summary article:first-child{border-left:0}.finance-visitor-summary b{overflow:hidden;color:#46653e;font-family:var(--merchant-font-display);font-size:18px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.finance-visitor-summary span{color:#697866;font-size:13px;line-height:1.55}.finance-visitors-table{border-radius:9px}.finance-visitors-table .data-table{min-width:980px}.finance-visitors-table td{vertical-align:middle}.finance-visitors-table td>small{display:block;margin-top:3px}.finance-visitor-payment{color:#526d46;font-size:14px;line-height:1.5}.finance-visitor-spend{color:#46653e}.finance-visitor-spend strong{display:block;color:#3f6b37;font-family:var(--merchant-font-display);font-size:16px}.finance-visitor-spend small{display:block;margin-top:3px;color:#9a6247}
#app .finance-visitors h3{font-family:var(--merchant-font-display)!important;font-size:19px!important;font-weight:700}.finance-visitors>header>div>span,.finance-visitor-summary span{font-size:14px!important;line-height:1.55}.finance-visitors>header>small{font-size:13px!important;line-height:1.55}.finance-visitor-summary b{font-size:18px!important;line-height:1.3}
@media(max-width:760px){.finance-visitors>header{flex-direction:column}.finance-visitors>header>small{text-align:left}.finance-visitor-summary{grid-template-columns:1fr 1fr}.finance-visitor-summary article{border-top:1px solid #e9e3d8}.finance-visitor-summary article:nth-child(odd){border-left:0}.finance-visitor-summary article:nth-child(-n+2){border-top:0}}

/* 订单结算：把会员价、试吃券、优惠券、种草值分项列清，避免一笔“优惠”掩盖金额组成。 */
.fulfillment-detail .detail-total{display:grid;width:100%;min-width:0;grid-template-columns:minmax(0,1fr);gap:0}.fulfillment-detail .detail-total>div{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:16px;width:100%}.fulfillment-detail .detail-total>div dt,.fulfillment-detail .detail-total>div dd{min-width:0;margin:0}.fulfillment-detail .detail-total>div dt{white-space:nowrap}.fulfillment-detail .detail-total>div dd{white-space:nowrap;text-align:right}.detail-total .included-discount{margin-top:3px;color:#73866d}.detail-total .detail-total-note{margin:2px 0 8px;padding:0;color:#8b9786;font-size:12px;line-height:1.5}.detail-total .detail-total-discount{margin-top:7px;padding-top:7px;border-top:1px dashed #e5dfd3;color:#a1533e;font-weight:700}.detail-payment-info dd{font-weight:700}.detail-payment-info dl div:first-child dd{color:#496e40}

/* 客户管理：按可运营的客户分层组织，避免消费、资产和跟进状态混在同一列。 */
.customer-workbench-table{min-width:1420px}.customer-workbench-table th:nth-child(1){min-width:190px}.customer-workbench-table th:nth-child(2){min-width:164px}.customer-workbench-table th:nth-child(3){min-width:176px}.customer-workbench-table th:nth-child(4){min-width:144px}.customer-workbench-table th:nth-child(5){min-width:150px}.customer-workbench-table th:nth-child(6){min-width:170px}.customer-workbench-table td{padding-top:15px;padding-bottom:15px}.customer-segment-board{margin:16px 0 14px;padding:15px 16px;border:1px solid #e5dfd2;border-radius:12px;background:linear-gradient(135deg,#fbfcf8,#f7f4ec)}.customer-segment-board-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.customer-segment-board-head>div{display:grid;gap:3px}.customer-segment-board-head span{color:#415a3d;font-weight:800;font-size:14px}.customer-segment-board-head small{color:#788474;font-size:12px}.customer-segment-board-head>b{color:#6a7b61;font-size:12px;font-weight:700;white-space:nowrap}.customer-segment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.customer-segment-card{display:grid;gap:3px;min-width:0;padding:13px 14px;border:1px solid #e6e1d6;border-radius:9px;background:#fffdf9;color:#60715a;text-align:left;cursor:pointer;transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease}.customer-segment-card:hover{border-color:#aabe9d;box-shadow:0 5px 13px rgba(74,95,65,.08);transform:translateY(-1px)}.customer-segment-card span{font-size:12px;font-weight:700}.customer-segment-card strong{color:#355a35;font-family:var(--merchant-font-display);font-size:25px;line-height:1.05}.customer-segment-card small{overflow:hidden;color:#879083;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.customer-segment-card.value{border-left:3px solid #77986a}.customer-segment-card.dormant{border-left:3px solid #c99a57}.customer-segment-card.dormant strong{color:#9c6c2b}.customer-segment-card.new{border-left:3px solid #91a696}.customer-lifecycle-cell{display:grid;justify-items:start;gap:5px;min-width:130px}.customer-lifecycle{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:999px;background:#edf4e8;color:#4d7643;font-size:12px;font-weight:700;white-space:nowrap}.customer-lifecycle.value{background:#e7f1e3;color:#3e6b38}.customer-lifecycle.dormant{background:#fff3df;color:#9c6a2b}.customer-lifecycle.new{background:#edf0ed;color:#647363}.customer-lifecycle-cell small{color:#7d887a;font-size:11px;line-height:1.45}.customer-lifecycle-cell em{font-size:10px;font-style:normal;color:#5b784e}.customer-workbench-table .customer-assets b{display:block;margin-bottom:1px}.customer-workbench-table .customer-assets span{display:block;color:#6f7c6d;font-size:12px}.customer-workbench-table .customer-assets small{display:block;margin-top:3px;color:#879083;font-size:11px}.customer-workbench-table .customer-trade b{font-size:14px}.customer-workbench-table .customer-trade small{display:block;margin-top:3px;line-height:1.5}.customer-profile-actions [data-customer-profile-edit]{border-color:#b8cdaa;background:#f4f8ef;color:#486b3d}
@media(max-width:760px){.customer-segment-board{padding:13px}.customer-segment-board-head{align-items:flex-start;flex-direction:column;gap:5px}.customer-segment-grid{grid-template-columns:1fr}.customer-segment-card{grid-template-columns:1fr auto;align-items:center}.customer-segment-card small{grid-column:1 / -1}.customer-workbench-table{min-width:1160px}}

/* 批量操作统一放进所在列表的右侧工具区，避免出现单独一整行的左侧操作条。 */
.queue-tools .queue-tools-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.queue-tools .batch-order-bar{display:inline-flex;align-items:center;flex:0 1 auto;gap:8px;min-height:30px;padding:0 0 0 10px;border:0;border-left:1px solid #e4ddd2;background:transparent;white-space:nowrap}.queue-tools .batch-order-summary{min-width:0}.queue-tools .batch-order-actions{display:inline-flex;flex:0 0 auto;gap:6px}.queue-tools .batch-order-clear{margin-left:0}.production-order-batch-actions,.production-plan-batch-actions,.production-plan-header-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.production-order-batch-actions,.production-plan-batch-actions{margin-left:2px;padding-left:10px;border-left:1px solid #e4ddd2}.production-order-batch-actions span,.production-plan-batch-actions span{color:#61705a;font-size:11px;white-space:nowrap}.production-order-batch-actions button,.production-plan-batch-actions .primary{min-height:28px;padding:0 10px;border-radius:5px;background:#587946;color:#fffdf8;font-family:"Noto Serif SC",serif;font-size:11px;font-weight:700;white-space:nowrap}.production-order-batch-actions button:disabled,.production-plan-batch-actions .primary:disabled{background:#e9e6df;color:#b6b0a5;cursor:not-allowed}.production-plan-batch-actions label{display:inline-flex;align-items:center;gap:6px;color:#5b6d54;font-size:11px;white-space:nowrap}.production-plan-batch-actions label input{width:14px;height:14px;margin:0;accent-color:#587944}.production-plan-header-actions{flex:0 0 auto}.production-plan-header-actions .production-plan-batch-toggle{flex:0 0 auto}@media(max-width:1100px){.queue-tools .queue-tools-actions{flex-wrap:wrap}.queue-tools .batch-order-bar{order:3;flex-basis:100%;justify-content:flex-end;padding-top:6px;border-top:1px solid #eee7dc;border-left:0}.production-plan-header-actions{flex-wrap:wrap}.production-plan-batch-actions{justify-content:flex-end}}@media(max-width:760px){.queue-tools .queue-tools-actions{width:100%;justify-content:flex-start}.queue-tools .batch-order-bar{justify-content:flex-start}.production-order-batch-actions,.production-plan-batch-actions{flex-wrap:wrap;margin-left:0;padding-left:0;border-left:0}.production-plan-header-actions{width:100%;justify-content:flex-start}}

/* 客户运营标签：商家先维护标签库，客户档案只负责点选和留下跟进记录。 */
.supply-category-sort-panel{width:min(560px,calc(100vw - 34px));padding:0!important;overflow:hidden}.supply-category-sort-panel .operation-head{padding:21px 24px 16px;border-bottom:1px solid #e9e4d9}.supply-category-sort-list{display:grid;gap:9px;max-height:min(50vh,440px);margin:0;padding:16px 24px 18px;overflow:auto}.supply-category-sort-row{display:flex;align-items:center;gap:12px;min-height:62px;padding:0 11px;border:1px solid #e5eadf;border-radius:10px;background:linear-gradient(135deg,#fffefb,#f8fbf5)}.supply-category-sort-rank{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:#e6f0df;color:#48713f;font-size:13px;font-weight:800}.supply-category-sort-copy{display:grid;flex:1;min-width:0;gap:2px}.supply-category-sort-copy strong{overflow:hidden;color:#365139;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.supply-category-sort-copy small{color:#85927f;font-size:12px}.supply-category-sort-actions{display:inline-flex;gap:5px}.supply-category-sort-actions button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #d5e1cc;border-radius:7px;background:#fffdf8;color:#547548;font-size:16px;font-weight:800;cursor:pointer}.supply-category-sort-actions button:hover:not(:disabled){border-color:#9bb98d;background:#edf5e8}.supply-category-sort-actions button:disabled{opacity:.35;cursor:not-allowed}.supply-category-sort-empty{margin:6px 0;color:#83907d;font-size:13px;line-height:1.6;text-align:center}.supply-category-sort-panel .operation-actions{margin:0;padding:14px 24px 18px;border-top:1px solid #e9e4d9;background:#fffdf9}@media(max-width:640px){.supply-category-sort-panel .operation-head,.supply-category-sort-list,.supply-category-sort-panel .operation-actions{padding-right:16px;padding-left:16px}.supply-category-sort-row{min-height:58px}}
.customer-row-actions{min-width:370px!important;flex-wrap:nowrap!important}.customer-workbench-table .row-action{min-width:390px}.customer-tag-editor,.customer-tag-manager{width:min(680px,calc(100vw - 36px));padding:0!important;overflow:hidden}.customer-tag-editor>header,.customer-tag-manager>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px 16px;border-bottom:1px solid #ece5d9}.customer-tag-editor header span,.customer-tag-manager header span{color:#71866a;font-size:11px;font-weight:800;letter-spacing:.08em}.customer-tag-editor h2,.customer-tag-manager h2{margin:4px 0;color:#334d32;font-family:var(--merchant-font-display);font-size:22px}.customer-tag-editor header p,.customer-tag-manager header p{margin:4px 0 0;color:#788376;font-size:12px;line-height:1.6}.customer-tag-editor>section{padding:17px 24px;border-bottom:1px solid #eee7dc}.customer-tag-editor-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.customer-tag-editor h3{margin:0;color:#465841;font-size:14px}.customer-tag-editor-head small{display:block;margin-top:4px;color:#8c9388;font-size:11px;line-height:1.55}.customer-tag-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.customer-tag-picker>p{margin:0;color:#92988e;font-size:12px}.customer-tag-choice{min-height:31px;padding:0 12px;border:1px solid #dbe3d3;border-radius:999px;background:#fffdf9;color:#5c7054;font-size:12px;cursor:pointer}.customer-tag-choice:hover{border-color:#a9bf9d;background:#f4f8ef}.customer-tag-choice.selected{border-color:#a7c494;background:#eaf3e3;color:#3f6936;font-weight:700}.customer-followup-field{display:grid;gap:7px;color:#4b5d46;font-size:13px;font-weight:700}.customer-followup-field textarea{box-sizing:border-box;min-height:92px;width:100%;padding:10px;border:1px solid #ded7ca;border-radius:8px;background:#fffdf9;color:#40513d;font:inherit;font-size:13px;font-weight:500;line-height:1.6;resize:vertical}.customer-tag-editor>footer,.customer-tag-manager>footer{display:flex;align-items:center;gap:9px;padding:16px 24px}.customer-tag-editor>footer>span,.customer-tag-manager>footer>span{flex:1}.customer-tag-manager>.customer-tag-library-list{display:grid;gap:8px;max-height:45vh;margin:18px 24px 12px;overflow:auto}.customer-tag-library-list>div{display:flex;align-items:center;gap:8px}.customer-tag-library-list input{min-width:0;flex:1;height:36px;padding:0 10px;border:1px solid #ddd6ca;border-radius:7px;background:#fffdf9;color:#42533e;font:inherit;font-size:13px}.customer-tag-manager>#add-customer-library-tag{margin:0 24px 4px}.customer-tag-manager .quiet,.customer-tag-editor .quiet{min-height:32px;font-size:12px}@media(max-width:680px){.customer-tag-editor,.customer-tag-manager{width:calc(100vw - 22px)}.customer-tag-editor>header,.customer-tag-manager>header,.customer-tag-editor>section,.customer-tag-editor>footer,.customer-tag-manager>footer{padding-right:16px;padding-left:16px}.customer-tag-manager>.customer-tag-library-list{margin-right:16px;margin-left:16px}.customer-tag-manager>#add-customer-library-tag{margin-left:16px}.customer-tag-editor-head{align-items:flex-start;flex-direction:column}.customer-row-actions{min-width:370px!important}}

/* 经营分析：以“结果、趋势、构成、访问、售后”的顺序分组，避免小卡片平铺后出现大面积留白。 */
#app .finance-workspace{width:min(100%,1680px);margin:0 auto;gap:16px;padding:26px!important}
#app .finance-head{align-items:flex-end;padding-bottom:16px;border-bottom:1px solid #e9e1d5}
#app .finance-head-actions{padding-bottom:2px}
#app .finance-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#app .finance-kpi{min-height:128px;align-content:start;padding:16px 18px;gap:5px}
#app .finance-kpi.primary{box-shadow:0 10px 24px rgba(80,111,65,.08)}
#app .finance-insights{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(420px,1fr);gap:16px}
.finance-trend-card{min-height:224px;padding:18px}
#app .finance-trend-bars{height:126px;margin-top:12px}
.finance-composition-card{display:grid;grid-template-columns:1fr;min-width:0;border:1px solid #e8dfd2;border-radius:12px;background:#fffdf9;overflow:hidden}
.finance-composition-card .finance-breakdown-card{min-width:0;padding:20px;border:0;border-radius:0;background:transparent}
.finance-composition-card .finance-breakdown-card+.finance-breakdown-card{border-top:1px solid #ebe4d8}
.finance-composition-card .finance-breakdown-card ul{align-content:start;gap:7px;margin-top:10px}
#app .finance-visitors,#app .finance-after-sales,#app .finance-ledger{box-shadow:0 8px 22px rgba(78,92,67,.035)}
#app .finance-visitors{padding:20px}
#app .finance-visitor-summary{grid-template-columns:repeat(5,minmax(0,1fr));margin:18px 0}
#app .finance-visitor-summary article{padding:14px 16px}
#app .finance-after-sales{display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,.72fr);column-gap:22px;padding:20px}
#app .finance-after-sales>header{grid-column:1 / -1}
#app .finance-after-sales-summary{grid-column:1 / -1;margin-top:18px}
#app .finance-after-sales-grid{display:contents}
#app .finance-after-sales-grid>section{margin-top:17px}
#app .finance-ledger>header{padding:20px}
@media(max-width:1180px){#app .finance-insights{grid-template-columns:minmax(0,1.25fr) minmax(360px,1fr)}#app .finance-after-sales{grid-template-columns:1fr 1fr}}
@media(max-width:980px){#app .finance-kpis{grid-template-columns:1fr 1fr}#app .finance-insights{grid-template-columns:1fr}#app .finance-after-sales{grid-template-columns:1fr}#app .finance-after-sales-grid>section{margin-top:17px}}
@media(max-width:680px){#app .finance-workspace{padding:18px!important;gap:16px}#app .finance-head{align-items:flex-start;padding-bottom:16px}#app .finance-kpi{min-height:116px;padding:14px}.finance-composition-card .finance-breakdown-card+.finance-breakdown-card{border-top:1px solid #ebe4d8}#app .finance-visitor-summary{grid-template-columns:1fr 1fr}#app .finance-visitor-summary article{border-top:1px solid #e9e3d8}#app .finance-visitor-summary article:nth-child(odd){border-left:0}#app .finance-visitor-summary article:nth-child(-n+2){border-top:0}}

/* 产品反馈统计：概览只保留四项，主体使用排行与明细双栏，避免统计页堆满零散图表。 */
.community-review-head-actions{display:flex;align-items:center;gap:12px}.community-review-view-tabs{display:inline-flex;align-items:center;gap:3px;padding:3px;border:1px solid #e3dccf;border-radius:8px;background:#fffdf9}.community-review-view-tabs button{min-height:30px;padding:0 11px;border:0;border-radius:5px;background:transparent;color:#7d8778;font-size:12px;font-weight:700;cursor:pointer}.community-review-view-tabs button.active{background:#edf5e8;color:#416838}.product-review-stats-page{display:grid;gap:16px;padding:4px 0 28px}.community-review-stats-head{margin-bottom:0}.product-review-stat-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e6ded2;border-radius:12px;background:#fffdf9;overflow:hidden}.product-review-stat-overview article{display:grid;gap:4px;min-width:0;padding:16px 18px;border-left:1px solid #ebe4d8}.product-review-stat-overview article:first-child{border-left:0}.product-review-stat-overview span{color:#73806f;font-size:12px;font-weight:700}.product-review-stat-overview strong{color:#3f633a;font-family:var(--merchant-font-display);font-size:28px;line-height:1.15}.product-review-stat-overview small{color:#92988d;font-size:11px}.product-review-stat-toolbar{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #e8e0d3;border-radius:10px;background:#fcfbf7}.product-review-stat-toolbar>div{display:inline-flex;gap:4px}.product-review-stat-toolbar button{min-height:31px;padding:0 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:#788273;font-size:12px;font-weight:700;cursor:pointer}.product-review-stat-toolbar button.active{border-color:#bed0b3;background:#edf5e8;color:#416a38}.product-review-stat-toolbar select,.product-review-stat-toolbar input{height:33px;border:1px solid #ded6c8;border-radius:6px;background:#fffdf9;color:#4d5b48;font:inherit;font-size:12px}.product-review-stat-toolbar select{min-width:122px;padding:0 28px 0 10px}.product-review-stat-toolbar label{display:flex;align-items:center;min-width:220px;margin-left:auto;border:1px solid #ded6c8;border-radius:6px;background:#fffdf9;color:#84907c}.product-review-stat-toolbar label:focus-within{border-color:#93ae84;box-shadow:0 0 0 3px rgba(109,145,91,.12)}.product-review-stat-toolbar label span{padding:0 0 0 9px;font-size:17px}.product-review-stat-toolbar input{width:100%;border:0;background:transparent;outline:0}.product-review-stat-layout{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(330px,.78fr);align-items:start;gap:16px}.product-feedback-ranking,.product-feedback-detail{min-width:0;border:1px solid #e8dfd2;border-radius:12px;background:#fffdf9}.product-feedback-ranking>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 18px 14px;border-bottom:1px solid #ebe4d8}.product-feedback-ranking>header span,.product-feedback-detail>header>span{display:block;color:#56704e;font-size:12px;font-weight:800}.product-feedback-ranking h3{margin:4px 0 0;color:#334d32;font-family:var(--merchant-font-display);font-size:20px;line-height:1.35}.product-feedback-ranking>header small{max-width:245px;color:#889184;font-size:11px;line-height:1.55;text-align:right}.product-feedback-rank-list{padding:4px 12px 12px}.product-feedback-rank-row{display:grid;width:100%;grid-template-columns:28px 50px minmax(0,1fr) minmax(124px,.45fr) 18px;align-items:center;gap:11px;padding:12px 8px;border:0;border-bottom:1px solid #eee8dd;background:transparent;color:#495947;text-align:left;cursor:pointer}.product-feedback-rank-row:last-child{border-bottom:0}.product-feedback-rank-row:hover,.product-feedback-rank-row.is-selected{background:#f3f8ef}.product-feedback-rank-row.is-selected{box-shadow:inset 3px 0 0 #6b8d59}.product-feedback-rank{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#eff4eb;color:#58744a;font-family:var(--merchant-font-display);font-size:13px}.product-feedback-rank-row:nth-child(-n+3) .product-feedback-rank{background:#f4ead0;color:#9a6d26}.product-feedback-image{display:grid;width:50px;height:50px;overflow:hidden;place-items:center;border-radius:9px;background:#eef2e9;color:#89a07e}.product-feedback-image img{width:100%;height:100%;object-fit:cover}.product-feedback-image-placeholder,.product-feedback-detail-placeholder{font-size:19px}.product-feedback-copy{display:grid;min-width:0;gap:3px}.product-feedback-copy strong{overflow:hidden;color:#384e36;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.product-feedback-copy small{overflow:hidden;color:#899187;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.product-feedback-copy em,.product-feedback-detail-product em{display:flex;flex-wrap:wrap;gap:4px;font-style:normal}.product-feedback-copy em span,.product-feedback-detail-product em span{padding:2px 6px;border-radius:999px;background:#edf4e9;color:#55764b;font-size:10px;line-height:1.35}.product-feedback-copy em .muted{background:#f1f0eb;color:#979a91}.product-feedback-count{display:grid;justify-items:end;gap:2px;min-width:0}.product-feedback-count b{color:#46693e;font-family:var(--merchant-font-display);font-size:19px;line-height:1.2}.product-feedback-count small{color:#879083;font-size:10px;white-space:nowrap}.product-feedback-rank-row>i{color:#8a9785;font-size:19px;font-style:normal}.product-feedback-detail{position:sticky;top:18px;padding-bottom:2px}.product-feedback-detail>header{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #ebe4d8}.product-feedback-detail>header>b{color:#526f47;font-size:12px}.product-feedback-detail-product{display:flex;gap:12px;padding:15px 16px;border-bottom:1px solid #eee8dd}.product-feedback-detail-image{display:grid;width:64px;height:64px;flex:0 0 auto;overflow:hidden;place-items:center;border-radius:10px;background:#eef2e9;color:#8aa07d}.product-feedback-detail-image img{width:100%;height:100%;object-fit:cover}.product-feedback-detail-product>div{display:grid;min-width:0;gap:4px}.product-feedback-detail-product h3{margin:0;overflow:hidden;color:#344c33;font-family:var(--merchant-font-display);font-size:16px;text-overflow:ellipsis;white-space:nowrap}.product-feedback-detail-product p{margin:0;color:#899285;font-size:11px}.product-feedback-comment-list{display:grid;gap:0;max-height:530px;margin:0;padding:0 16px;overflow:auto;list-style:none}.product-feedback-comment-list li{padding:13px 0;border-bottom:1px solid #eee8dd}.product-feedback-comment-list li:last-child{border-bottom:0}.product-feedback-comment-list header{display:flex;align-items:center;justify-content:space-between;gap:8px}.product-feedback-comment-list header b{color:#52654d;font-size:12px}.product-feedback-comment-list time,.product-feedback-comment-list small{color:#969d93;font-size:10px}.product-feedback-comment-list li>div{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.product-feedback-comment-list li>div span{padding:2px 6px;border-radius:999px;background:#eff5eb;color:#587a4d;font-size:10px}.product-feedback-comment-list p{margin:7px 0 4px;color:#596758;font-size:12px;line-height:1.6;white-space:pre-wrap}.product-feedback-empty{display:grid;place-items:center;min-height:164px;padding:22px;color:#8b9588;text-align:center}.product-feedback-empty b{color:#5d7156;font-size:14px}.product-feedback-empty p{margin:6px 0 0;font-size:12px;line-height:1.6}@media(max-width:1020px){.product-review-stat-layout{grid-template-columns:1fr}.product-feedback-detail{position:static}.product-feedback-comment-list{max-height:360px}.product-review-stat-toolbar{flex-wrap:wrap}.product-review-stat-toolbar label{margin-left:0}}@media(max-width:720px){.community-review-head-actions{align-items:flex-start;flex-direction:column}.product-review-stat-overview{grid-template-columns:1fr 1fr}.product-review-stat-overview article{border-top:1px solid #ebe4d8}.product-review-stat-overview article:nth-child(odd){border-left:0}.product-review-stat-overview article:nth-child(-n+2){border-top:0}.product-review-stat-toolbar{align-items:stretch;flex-direction:column}.product-review-stat-toolbar>div{width:100%}.product-review-stat-toolbar button{flex:1;padding:0 4px}.product-review-stat-toolbar select,.product-review-stat-toolbar label{width:100%;min-width:0}.product-feedback-ranking>header{align-items:flex-start;flex-direction:column;gap:5px}.product-feedback-ranking>header small{text-align:left}.product-feedback-rank-row{grid-template-columns:24px 44px minmax(0,1fr) 16px;gap:8px}.product-feedback-image{width:44px;height:44px}.product-feedback-count{grid-column:3;grid-row:2;justify-items:start}.product-feedback-copy em{display:none}.product-feedback-rank-row>i{grid-column:4;grid-row:1 / 3}}

/* 产品反馈统计：排行首先服务于扫读，次级标签和订单信息不再与主结论争夺注意力。 */
#app .product-review-stats-page{gap:20px;padding-bottom:36px}
#app .product-review-stat-overview article{gap:6px;padding:19px 21px}
#app .product-review-stat-overview span{font-size:14px}
#app .product-review-stat-overview strong{font-size:32px}
#app .product-review-stat-overview small{font-size:12px}
#app .product-review-stat-toolbar{gap:12px;padding:13px 16px}
#app .product-review-stat-toolbar button{min-height:36px;padding:0 13px;font-size:14px}
#app .product-review-stat-toolbar select,#app .product-review-stat-toolbar input{height:38px;font-size:14px}
#app .product-review-stat-toolbar select{min-width:170px}
#app .product-review-stat-toolbar label{min-width:246px}
#app .product-review-stat-layout{grid-template-columns:minmax(0,1.36fr) minmax(390px,.9fr);gap:20px}
#app .product-feedback-ranking>header{padding:20px 22px 17px}
#app .product-feedback-ranking>header span,#app .product-feedback-detail>header>span{font-size:13px}
#app .product-feedback-ranking h3{font-size:22px}
#app .product-feedback-ranking>header small{max-width:250px;font-size:12px;line-height:1.7}
#app .product-feedback-rank-list{padding:5px 14px 14px}
#app .product-feedback-rank-row{grid-template-columns:32px 62px minmax(0,1fr) minmax(132px,.38fr) 20px;gap:13px;min-height:90px;padding:14px 10px}
#app .product-feedback-rank{width:28px;height:28px;font-size:14px}

/* 社区审核：把状态、类型、搜索与批量操作收进一条工作栏，审核队列只保留待办内容。 */
#app .community-review-workspace{padding-bottom:36px}
#app .community-review-head-actions{gap:10px}
#app .community-review-view-link{display:inline-flex;align-items:center;gap:5px;min-height:38px;padding:0 12px;border:1px solid #cdddc2;border-radius:8px;background:#fffdf9;color:#496c40;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
#app .community-review-view-link:hover{border-color:#8aaa7d;background:#f2f8ee}
#app .community-review-view-link .material-symbols-rounded{font-size:17px}
#app .community-review-controlbar{display:flex;align-items:end;gap:12px;margin:0 0 14px;padding:13px 15px;border:1px solid #e5ddd0;border-radius:12px;background:#fcfbf7}
#app .community-review-filter-field{display:grid;gap:5px;min-width:150px;color:#6f7d69;font-size:12px;font-weight:700}
#app .community-review-filter-field select{height:38px;padding:0 29px 0 10px;border:1px solid #ddd5c8;border-radius:7px;background:#fffdf9;color:#3f513c;font:inherit;font-size:13px;font-weight:600;outline:0}
#app .community-review-filter-field select:focus,#app .community-review-search:focus-within{border-color:#8eae80;box-shadow:0 0 0 3px rgba(106,143,88,.12)}
#app .community-review-search{display:flex;min-width:230px;flex:1;align-items:center;gap:7px;height:38px;padding:0 10px;border:1px solid #ddd5c8;border-radius:7px;background:#fffdf9;color:#8a9684}
#app .community-review-search .material-symbols-rounded{font-size:18px}
#app .community-review-search input{width:100%;min-width:0;border:0;background:transparent;color:#40513d;font:inherit;font-size:13px;outline:0}
#app .community-review-batch{display:flex;align-items:center;gap:8px;min-height:38px;padding:0 0 0 12px;border:0;border-left:1px solid #e7dfd4;background:transparent;color:#65725f;font-size:12px}
#app .community-review-batch label{font-weight:700}
#app .community-review-batch span{margin:0;white-space:nowrap}
#app .community-review-batch span b{color:#486c3e;font-size:14px}
#app .community-review-batch>div{display:flex;gap:6px}
#app .community-review-batch button{min-height:31px;padding:0 9px;font-size:12px;white-space:nowrap}
#app .community-review-workspace .feedback-workspace-layout{min-height:630px}
#app .community-review-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 16px 12px;border-bottom:1px solid #eee8dc;background:#fcfbf7}
#app .community-review-queue-head strong{color:#42583d;font-family:var(--merchant-font-display);font-size:16px}
#app .community-review-queue-head span{color:#90988c;font-size:12px}
#app .community-review-workspace .feedback-queue-list{padding-top:0}
@media(max-width:1180px){#app .community-review-controlbar{flex-wrap:wrap;align-items:end}#app .community-review-search{min-width:260px}#app .community-review-batch{margin-left:auto}}
@media(max-width:760px){#app .community-review-controlbar{align-items:stretch;flex-direction:column;gap:10px}#app .community-review-filter-field,#app .community-review-search{width:100%;min-width:0}#app .community-review-batch{justify-content:space-between;margin:0;padding:10px 0 0;border-top:1px solid #e7dfd4;border-left:0}#app .community-review-head-actions{width:100%}#app .community-review-view-link{flex:1;justify-content:center}}
@media(max-width:480px){#app .community-review-batch{align-items:flex-start;flex-wrap:wrap}#app .community-review-batch>div{width:100%}#app .community-review-batch button{flex:1}}
#app .community-review-workspace{display:grid;gap:14px;padding:2px 0 38px}
#app .community-review-workspace .feedback-workspace-head{align-items:center;margin:0}
#app .community-review-workspace .feedback-workspace-head p{max-width:650px;line-height:1.6}
#app .community-review-overview{display:grid;grid-template-columns:repeat(3,minmax(140px,.72fr)) minmax(260px,1.45fr);overflow:hidden;border:1px solid #e5ded3;border-radius:13px;background:#fffdf9}
#app .community-review-overview-card{display:grid;gap:4px;min-height:108px;padding:16px 18px;border:0;border-right:1px solid #ece5da;background:#fffdf9;color:#63715d;text-align:left;cursor:pointer;transition:background .18s ease,box-shadow .18s ease}
#app .community-review-overview-card:hover{background:#f6faf2}
#app .community-review-overview-card.is-active{background:#f0f7eb;box-shadow:inset 0 3px 0 #659052}
#app .community-review-overview-card span{font-size:12px;font-weight:700}
#app .community-review-overview-card strong{color:#3f6339;font-family:var(--merchant-font-display);font-size:29px;line-height:1.05}
#app .community-review-overview-card small{color:#92998e;font-size:11px}
#app .community-review-content-summary{display:grid;align-content:center;gap:8px;padding:17px 20px;background:linear-gradient(135deg,#fbfcf8,#f4f8f0)}
#app .community-review-content-summary span{color:#62745c;font-size:12px;font-weight:800}
#app .community-review-content-summary p{margin:0;color:#788476;font-size:13px;line-height:1.55}
#app .community-review-controlbar{display:grid;grid-template-columns:minmax(135px,.8fr) 154px 154px minmax(240px,1.65fr);align-items:end;gap:10px;margin:0;padding:12px 14px;border-radius:12px}
#app .community-review-controlbar-label{display:grid;align-content:center;gap:3px;min-height:38px}
#app .community-review-controlbar-label span{color:#415b3c;font-family:var(--merchant-font-display);font-size:15px;font-weight:700}
#app .community-review-controlbar-label small{color:#949b90;font-size:11px}
#app .community-review-controlbar .community-review-filter-field{min-width:0}
#app .community-review-controlbar .community-review-search{min-width:0}
#app .community-review-workspace .feedback-workspace-layout{grid-template-columns:minmax(300px,31%) minmax(0,1fr);min-height:650px;border-color:#e5ded3;border-radius:13px;box-shadow:0 8px 24px rgba(79,91,68,.04)}
#app .community-review-queue-head{padding:9px 17px 8px}
#app .community-review-queue-head>div{display:grid;gap:1px}
#app .community-review-queue-head strong{font-size:14px;line-height:1.35}
#app .community-review-queue-head small{color:#959b91;font-size:11px;line-height:1.35}
#app .community-review-batch{min-height:43px;padding:0 13px;border-top:0;border-bottom:1px solid #e9e2d7;background:#f7faf4}
#app .community-review-batch>div{margin-left:auto}
#app .community-review-queue-row{min-height:104px}
#app .community-review-queue-row .community-review-select{width:38px;background:#fffdf9}
#app .community-review-queue-item{padding:15px 17px 14px}
#app .community-review-queue-item .feedback-queue-type{max-width:130px}
#app .community-review-workspace .feedback-workspace-main{padding:25px 30px 18px;background:#fffefd}
#app .community-review-detail{min-height:606px}
#app .community-review-status-line{display:flex;align-items:flex-start;gap:9px;margin-top:18px;padding:11px 13px;border:1px solid #dce8d3;border-radius:9px;background:#f6faf2;color:#5d7456}
#app .community-review-status-line .material-symbols-rounded{margin-top:1px;font-size:18px}
#app .community-review-status-line p{margin:0;color:#62715e;font-size:12px;line-height:1.55}
#app .community-review-detail .community-review-submitter,#app .community-review-detail .feedback-detail-content,#app .community-review-detail .feedback-detail-media{display:grid;gap:9px;margin:14px 0 0;padding:14px 16px;border:1px solid #e4ded2;border-radius:10px;background:#fffefa}
#app .community-review-detail .community-review-submitter{align-items:center;grid-template-columns:max-content 1fr}
#app .community-review-detail .community-review-submitter span,#app .community-review-detail .feedback-detail-content>span,#app .community-review-detail .feedback-detail-media>span{display:inline-flex;width:max-content;min-height:23px;align-items:center;padding:0 8px;border-radius:5px;background:#edf4e8;color:#557247;font-size:11px;font-weight:800;letter-spacing:.04em}
#app .community-review-detail .community-review-submitter strong{color:#294429;font-family:"Noto Serif SC",serif;font-size:16px;font-weight:700}
#app .community-review-detail .feedback-detail-content p{margin:0;color:#283b29;font-family:inherit;font-size:16px;font-weight:600;line-height:1.7}
#app .community-review-detail .community-review-content{border-color:#d5e4cb;background:#f8fbf5}
#app .community-review-detail .community-review-content p{max-width:780px;color:#213c24;font-family:"Noto Serif SC",serif;font-size:20px;font-weight:700;line-height:1.72}
#app .community-review-detail .feedback-detail-media{padding-bottom:16px}
#app .community-review-actions{position:sticky;bottom:0;z-index:2;justify-content:flex-end;margin:24px -30px -18px!important;padding:14px 30px!important;border-top:1px solid #e9e2d8;background:rgba(255,254,253,.97)}
#app .community-review-actions .feedback-workspace-action{min-width:150px}
@media(max-width:1180px){#app .community-review-overview{grid-template-columns:repeat(3,1fr)}#app .community-review-content-summary{grid-column:1 / -1;padding:12px 18px;border-top:1px solid #ece5da}#app .community-review-controlbar{grid-template-columns:minmax(135px,.8fr) 1fr 1fr;align-items:end}#app .community-review-search{grid-column:2 / 4}}
@media(max-width:760px){#app .community-review-workspace{gap:11px}#app .community-review-workspace .feedback-workspace-head{align-items:flex-start}#app .community-review-overview{grid-template-columns:repeat(3,1fr)}#app .community-review-overview-card{min-height:94px;padding:13px 12px}#app .community-review-overview-card strong{font-size:25px}#app .community-review-overview-card small{font-size:10px}#app .community-review-content-summary{padding:11px 13px}#app .community-review-controlbar{grid-template-columns:1fr 1fr;gap:9px}#app .community-review-controlbar-label{grid-column:1 / -1;min-height:auto}#app .community-review-search{grid-column:1 / -1}#app .community-review-workspace .feedback-workspace-main{padding:20px 18px 16px}#app .community-review-actions{margin:22px -18px -16px!important;padding:13px 18px!important}#app .community-review-queue-head{padding:14px 15px 12px}}
@media(max-width:720px){#app .community-review-workspace .feedback-workspace-layout{display:block;min-height:0}}
@media(max-width:480px){#app .community-review-overview-card{padding:12px 10px}#app .community-review-overview-card span{font-size:11px}#app .community-review-content-summary p{font-size:12px}#app .community-review-batch{padding:9px 12px}#app .community-review-batch>div{margin-left:0}}
#app .product-feedback-image{width:62px;height:62px;border-radius:10px}
#app .product-feedback-copy{gap:6px}
#app .product-feedback-copy strong{font-size:16px;line-height:1.35}
#app .product-feedback-copy small{font-size:12px;line-height:1.45}
#app .product-feedback-copy em{gap:5px;margin-top:1px}
#app .product-feedback-copy em span{padding:3px 7px;font-size:11px;line-height:1.35}
#app .product-feedback-copy em span:nth-child(n+3){display:none}
#app .product-feedback-count{gap:4px}
#app .product-feedback-count b{font-size:24px}
#app .product-feedback-count small{font-size:12px}
#app .product-feedback-rank-row>i{font-size:22px}
#app .product-feedback-detail>header{padding:18px 20px}
#app .product-feedback-detail>header>b{font-size:13px}
#app .product-feedback-detail-product{gap:14px;padding:19px 20px}
#app .product-feedback-detail-image{width:72px;height:72px;border-radius:11px}
#app .product-feedback-detail-product>div{gap:6px}
#app .product-feedback-detail-product h3{font-size:18px;line-height:1.35}
#app .product-feedback-detail-product p{font-size:13px;line-height:1.5}
#app .product-feedback-detail-product em{gap:5px}
#app .product-feedback-detail-product em span{padding:3px 7px;font-size:11px}
#app .product-feedback-comment-list{max-height:580px;padding:0 20px}
#app .product-feedback-comment-list li{padding:16px 0}
#app .product-feedback-comment-list header b{font-size:14px}
#app .product-feedback-comment-list time,#app .product-feedback-comment-list small{font-size:12px}
#app .product-feedback-comment-list li>div{gap:5px;margin-top:9px}
#app .product-feedback-comment-list li>div span{padding:3px 7px;font-size:11px}
#app .product-feedback-comment-list p{margin:9px 0 6px;font-size:14px;line-height:1.65}
@media(max-width:1180px){#app .product-review-stat-layout{grid-template-columns:minmax(0,1.25fr) minmax(360px,.9fr)}#app .product-feedback-rank-row{grid-template-columns:30px 56px minmax(0,1fr) minmax(118px,.34fr) 18px;gap:10px}#app .product-feedback-image{width:56px;height:56px}}
@media(max-width:1020px){#app .product-review-stat-layout{grid-template-columns:1fr}#app .product-feedback-detail{position:static}}
@media(max-width:720px){#app .product-review-stat-toolbar button{font-size:12px}#app .product-feedback-rank-row{grid-template-columns:26px 50px minmax(0,1fr) 16px;min-height:0;padding:12px 6px}#app .product-feedback-image{width:50px;height:50px}#app .product-feedback-copy strong{font-size:14px}#app .product-feedback-count{grid-column:3;grid-row:2;justify-items:start}#app .product-feedback-copy em{display:none}#app .product-feedback-rank-row>i{grid-column:4;grid-row:1 / 3}}

/* 时间范围始终横排显示，避免中文与数字在窄容器中逐字换行。 */
#app .product-review-stat-toolbar>div{display:grid;grid-template-columns:repeat(4,max-content);flex:0 0 auto;white-space:nowrap}
#app .product-review-stat-toolbar>div button{min-width:58px;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}
@media(max-width:720px){#app .product-review-stat-toolbar>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}#app .product-review-stat-toolbar>div button{min-width:0}}
@media(max-width:760px){#app .operational-panel .module-head{align-items:stretch;flex-direction:column}#app .operational-panel .module-head>button{align-self:flex-start;white-space:nowrap}}

/* 社区内容与评价：先区分三种业务内容，再进入各自的处理或分析区域。 */
#app .community-review-center{display:grid;gap:18px;padding:2px 0 38px}
#app .community-review-page-head{display:grid;gap:15px}
#app .community-review-page-head .feedback-workspace-head{margin:0}
#app .community-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#app .community-section-card{display:grid;min-height:238px;grid-template-rows:auto auto auto 1fr auto;gap:8px;padding:17px 18px;border:1px solid #e4ddd2;border-radius:13px;background:#fffdf9;color:#455544;text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}
#app .community-section-card:hover{border-color:#a9c096;background:#fbfdf9;box-shadow:0 8px 18px rgba(64,87,56,.06)}
#app .community-section-card.is-active{border-color:#6f925c;background:#f4f9ef;box-shadow:inset 0 3px 0 #6b9256}
#app .community-section-card header{display:flex;align-items:center;justify-content:space-between;gap:10px}
#app .community-section-card header>span{color:#355332;font-family:var(--merchant-font-display);font-size:19px;font-weight:700}
#app .community-section-card header i{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#eaf2e4;color:#568047;font-size:18px;font-style:normal}
#app .community-section-card>p{min-height:38px;margin:0;color:#7f897c;font-size:12px;line-height:1.6}
#app .community-section-metric{display:flex;align-items:baseline;gap:7px;padding:10px 0;border-top:1px solid #e9e3d9;border-bottom:1px solid #e9e3d9}
#app .community-section-metric strong{color:#426a3a;font-family:var(--merchant-font-display);font-size:27px;line-height:1}
#app .community-section-metric span{color:#788373;font-size:11px;line-height:1.45}
#app .community-section-card ul{display:grid;gap:6px;align-content:start;min-width:0;margin:0;padding:0;list-style:none}
#app .community-section-card li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:baseline;min-width:0;color:#788274;font-size:11px}
#app .community-section-card li b{max-width:72px;overflow:hidden;color:#52614e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
#app .community-section-card li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#app .community-section-card .community-section-empty{display:block;color:#a0a79d}
#app .community-section-card footer{display:flex;align-items:center;justify-content:space-between;padding-top:8px;color:#507145;font-size:12px;font-weight:700}
#app .community-section-card footer .material-symbols-rounded{font-size:17px}
#app .community-review-panel,#app .product-review-stats-page{display:grid;gap:14px;padding:18px;border:1px solid #e5ded3;border-radius:14px;background:#fffdf9}
#app .community-review-panel .community-review-controlbar{display:grid;grid-template-columns:minmax(230px,.82fr) minmax(310px,1.1fr) minmax(240px,.9fr);align-items:end;gap:12px;margin:0;padding:0;border:0;background:transparent}
#app .community-review-panel .community-review-controlbar-label{min-height:0}
#app .community-review-panel .community-review-controlbar-label span{color:#375536;font-family:var(--merchant-font-display);font-size:20px;font-weight:700}
#app .community-review-panel .community-review-controlbar-label small{max-width:310px;font-size:12px;line-height:1.55}
#app .community-review-status-tabs{display:inline-flex;gap:4px;padding:3px;border:1px solid #e3ddd1;border-radius:9px;background:#f7f6f1}
#app .community-review-status-tabs button{display:inline-flex;min-width:0;flex:1;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 11px;border:0;border-radius:6px;background:transparent;color:#737d70;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
#app .community-review-status-tabs button b{display:grid;min-width:18px;height:18px;place-items:center;border-radius:10px;background:#e6e9e2;color:#778271;font-size:10px}
#app .community-review-status-tabs button.active{background:#e7f1df;color:#3e6738}
#app .community-review-status-tabs button.active b{background:#cfe2bf;color:#3f6738}
#app .community-review-panel .community-review-search{width:100%;min-width:0}
#app .community-review-panel .feedback-workspace-layout{min-height:610px;border-radius:10px}
#app .community-review-panel .community-review-queue-head{background:#faf9f5}
#app .community-review-panel .community-review-queue-head strong{font-size:16px}
#app .community-review-panel .community-review-queue-row{min-height:96px}
#app .community-review-panel .community-review-queue-item .feedback-queue-type{display:none}
#app .community-review-panel .community-review-queue-item strong{padding-top:2px}
#app .community-review-panel .feedback-workspace-main{background:#fffdf9}
#app .community-panel-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:1px 2px 4px}
#app .community-panel-head>div{display:grid;gap:4px}
#app .community-panel-head span{color:#5c7655;font-size:12px;font-weight:800}
#app .community-panel-head h3{margin:0;color:#355332;font-family:var(--merchant-font-display);font-size:22px}
#app .community-panel-head p{margin:0;color:#7f887b;font-size:12px;line-height:1.55}
#app .community-review-center .product-review-stats-page{padding:18px}
@media(max-width:1100px){#app .community-review-panel .community-review-controlbar{grid-template-columns:1fr 1fr}#app .community-review-panel .community-review-search{grid-column:1 / -1}}
@media(max-width:760px){#app .community-section-grid{grid-template-columns:1fr;gap:10px}#app .community-section-card{min-height:0;grid-template-rows:auto auto auto auto auto}#app .community-section-card>p{min-height:0}#app .community-review-panel,#app .product-review-stats-page{padding:13px}#app .community-review-panel .community-review-controlbar{grid-template-columns:1fr;align-items:stretch}#app .community-review-panel .community-review-search{grid-column:auto}#app .community-review-status-tabs button{padding:0 7px;font-size:11px}#app .community-review-panel .feedback-workspace-layout{min-height:0}.community-panel-head{align-items:flex-start;flex-direction:column}}

/* 订单操作始终以完整单行显示，避免“填写单号”“退款处理中”等被折成两行。 */
@media (min-width: 761px) {
  .queue-column-labels,
  .queue-order-row {
    grid-template-columns: 62px minmax(115px, 1fr) minmax(145px, 1.48fr) minmax(120px, 1.07fr) 80px 86px 112px;
  }

  .queue-action-split {
    grid-template-columns: minmax(0, 1fr) 26px;
    width: 112px;
  }

  .queue-primary-action {
    overflow: visible;
    white-space: nowrap;
    word-break: keep-all;
  }

  @media (max-width: 1260px) {
    .queue-column-labels,
    .queue-order-row {
      grid-template-columns: 54px minmax(105px, 1fr) minmax(130px, 1.3fr) 105px 70px 77px 112px;
    }

    .queue-column-labels.is-batch-mode,
    .queue-order-row.is-batch-mode {
      grid-template-columns: 25px 47px minmax(94px, 1fr) minmax(115px, 1.22fr) 94px 65px 72px 112px;
    }
  }
}

/* 所有业务文本输入共用的按需表情助手。文本框右侧只显示入口，点击后才展开。 */
.emoji-input-shell { position: relative; display: block; width: 100%; min-width: 0; }
.emoji-input-shell > input,
.emoji-input-shell > textarea { padding-right: 43px !important; }
.emoji-input-trigger {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 7px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #84917e;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 17px !important;
  line-height: 1 !important;
  transform: translateY(-50%);
}
.emoji-input-shell.has-textarea .emoji-input-trigger { top: 8px; transform: none; }
.emoji-input-trigger:hover,
.emoji-input-trigger.is-active { border-color: #cbdac2; background: #eef4e9; color: #527048; }
.emoji-input-assistant {
  position: fixed;
  z-index: 10020;
  width: min(440px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid #d9e3d2;
  border-radius: 14px;
  background: rgba(255, 253, 248, .98);
  box-shadow: 0 18px 46px rgba(45, 66, 40, .18);
  backdrop-filter: blur(14px);
}
.emoji-input-assistant header { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.emoji-input-assistant header b { color: #3d5c36; font-size: 13px; }
.emoji-input-assistant header small { flex: 1; color: #879180; font-size: 11px; }
.emoji-input-assistant header button { width: 25px; height: 25px; padding: 0; border-radius: 50%; background: #f0eee7; color: #7b8075; font-size: 18px; line-height: 1; }
.emoji-assistant-search {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  margin-bottom: 8px;
  padding: 0 10px;
  border: 1px solid #dfe6da;
  border-radius: 9px;
  background: #f8f7f1;
  color: #83907c;
}
.emoji-assistant-search input {
  width: 100%;
  min-width: 0;
  height: 32px;
  padding: 0 !important;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #42513e;
  font-size: 12px;
}
.emoji-assistant-tabs {
  display: flex;
  gap: 4px;
  margin: 0 -2px 8px;
  padding: 2px 2px 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.emoji-assistant-tabs button {
  display: grid;
  flex: 0 0 38px;
  min-width: 38px;
  height: 38px;
  padding: 3px 2px 2px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 17px !important;
  line-height: 1 !important;
}
.emoji-assistant-tabs button small { display: none; }
.emoji-assistant-tabs button:hover,
.emoji-assistant-tabs button.is-active { border-color: #bfd1b3; background: #edf5e8; }
.emoji-assistant-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
  max-height: min(45vh, 360px);
  min-height: 154px;
  padding-right: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.emoji-input-assistant [data-insert-emoji] {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8f6ef;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif !important;
  font-size: 20px !important;
  line-height: 1 !important;
}
.emoji-input-assistant [data-insert-emoji]:hover { border-color: #bfd1b3; background: #edf5e8; }
.emoji-assistant-empty {
  grid-column: 1 / -1;
  align-self: center;
  margin: 0;
  color: #8b9486;
  text-align: center;
  font-size: 12px;
}
.emoji-assistant-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 8px;
  padding-top: 7px;
  border-top: 1px solid #e8ece4;
}
.emoji-assistant-footer small { flex: 1; color: #879180; font-size: 11px; }
.emoji-assistant-footer button { padding: 5px 9px; border-radius: 7px; background: #edf4e9; color: #527048; font-size: 11px; }
#app .emoji-text-supported { font-family: var(--merchant-font-ui) !important; }
@media (max-width: 560px) {
  .emoji-assistant-grid { grid-template-columns: repeat(8, 1fr); }
  .emoji-input-assistant [data-insert-emoji] { width: 100%; }
}

/* 成本盒子：成本与理论毛利 */
.cost-workspace{display:grid;gap:20px}.cost-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.cost-head h2{margin:5px 0 7px;color:#34472e;font-family:"Noto Serif SC",serif;font-size:25px}.cost-head p{max-width:760px;margin:0;color:#7c8375;font-size:13px;line-height:1.75}.cost-head-actions{display:grid;flex:0 0 auto;gap:8px;justify-items:end}.cost-head-actions span{color:#999486;font-size:11px}.cost-scope-note{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;border:1px solid #e8dfce;border-radius:10px;background:#faf6ec;color:#74796e;font-size:12px;line-height:1.65}.cost-scope-note strong{flex:0 0 auto;color:#566a48;font-family:"Noto Serif SC",serif}.cost-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #e8e1d3;border-radius:13px;background:#fffdf8}.cost-kpis article{display:grid;gap:5px;min-height:118px;padding:19px 20px;border-right:1px solid #ebe4d7}.cost-kpis article:last-child{border-right:0}.cost-kpis span{color:#858a7c;font-size:12px}.cost-kpis strong{color:#3e5135;font-family:"Noto Serif SC",serif;font-size:30px;font-weight:600}.cost-kpis strong small{color:#929687;font-size:13px}.cost-kpis p{margin:0;color:#97998f;font-size:11px;line-height:1.5}.cost-kpis article.warning strong{color:#bf6545}.cost-extremes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cost-extremes article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:14px 17px;border:1px solid #e8e2d6;border-radius:10px;background:#fbf9f3}.cost-extremes span{color:#8c9185;font-size:11px}.cost-extremes strong{overflow:hidden;color:#4b5944;font-family:"Noto Serif SC",serif;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.cost-extremes b{color:#557448;font-family:"Noto Serif SC",serif;font-size:19px}.cost-unlinked-note{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;padding:13px 16px;border:1px solid #ebd8bd;border-radius:9px;background:#fff8eb}.cost-unlinked-note strong{color:#9b6629;font-size:12px}.cost-unlinked-note span{overflow:hidden;color:#7f776b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cost-unlinked-note small{grid-column:1 / -1;color:#a09280}.cost-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.cost-toolbar>input{width:min(320px,35vw);height:37px;padding:0 12px;border:1px solid #ddd7ca;border-radius:8px;background:#fff;color:#465142}.cost-filter-tabs{display:flex;gap:5px;overflow:auto}.cost-table-wrap{overflow:auto}.cost-table{min-width:1120px}.cost-table td{vertical-align:middle}.cost-table td strong,.cost-table td small{display:block}.cost-table td small{max-width:190px;margin-top:4px;color:#99998f;font-size:10px;line-height:1.4}.cost-link-state,.cost-recipe-state,.cost-margin{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:99px;font-size:10px;font-weight:700}.cost-link-state.linked,.cost-recipe-state.ready{background:#eaf1e5;color:#507047}.cost-link-state.unlinked,.cost-recipe-state.missing{background:#f5eee2;color:#9a7040}.cost-margin{min-width:55px;justify-content:center;font-family:"Noto Serif SC",serif;font-size:12px}.cost-margin.healthy{background:#e5f0df;color:#47703d}.cost-margin.watch{background:#f7eed6;color:#9b742c}.cost-margin.risk{background:#fae5df;color:#b24d3a}.cost-margin.missing{background:#f0eee8;color:#969287}.cost-profit.healthy{color:#4f7043}.cost-profit.watch{color:#9a742f}.cost-profit.risk{color:#bd4b3b}.cost-shortage-badge{display:block;min-height:25px;padding:3px 8px;border-radius:99px;background:#fae8df;color:#b4503e;font-size:10px}.cost-stock-ok{display:block;color:#778b6d;font-size:10px}.cost-detail-toggle{margin-top:5px;padding:0;background:transparent;color:#5d754e;font-size:10px}.cost-detail-row td{padding:0!important;background:#faf8f1}.cost-detail-panel{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:17px 22px;border-top:1px dashed #e3dccf;color:#747a70;font-size:11px;line-height:1.7}.cost-detail-panel strong{color:#4c5b45;font-family:"Noto Serif SC",serif;font-size:13px}.cost-detail-panel p{margin:4px 0 0}.cost-detail-panel ul{margin:5px 0 0;padding-left:18px}.cost-detail-panel li{margin:2px 0}.is-loading .cost-workspace{pointer-events:none;opacity:.68}
@media(max-width:1000px){.cost-kpis{grid-template-columns:repeat(2,1fr)}.cost-kpis article:nth-child(2){border-right:0}.cost-kpis article:nth-child(-n+2){border-bottom:1px solid #ebe4d7}.cost-head{flex-direction:column}.cost-head-actions{justify-items:start}.cost-toolbar{align-items:stretch;flex-direction:column}.cost-toolbar>input{width:100%}.cost-detail-panel{grid-template-columns:1fr}}
@media(max-width:620px){.cost-kpis{grid-template-columns:1fr}.cost-kpis article{border-right:0;border-bottom:1px solid #ebe4d7!important}.cost-kpis article:last-child{border-bottom:0!important}.cost-extremes{grid-template-columns:1fr}.cost-scope-note{flex-direction:column;gap:5px}.cost-filter-tabs{padding-bottom:3px}.cost-unlinked-note{grid-template-columns:1fr}.cost-unlinked-note small{grid-column:auto}}

/* 专场预约订单：实际毛利 */
.cost-view-tabs{display:flex;width:max-content;padding:4px;border:1px solid #e1dacd;border-radius:11px;background:#f5f1e8}.cost-view-tabs button{display:grid;min-width:210px;min-height:52px;padding:7px 17px;border-radius:8px;background:transparent;color:#7e8278;text-align:left}.cost-view-tabs button b{font-size:12px}.cost-view-tabs button small{margin-top:2px;color:#9a9c93;font-size:10px;font-weight:400}.cost-view-tabs button.active{background:#fff;color:#41543a;box-shadow:0 2px 8px rgba(67,77,58,.1)}.cost-view-tabs button.active small{color:#75816f}.cost-view-loading{display:grid;justify-items:center;min-height:300px;padding:72px 20px;border:1px solid #e8e1d5;border-radius:12px;background:#fbfaf6;text-align:center}.cost-view-loading span{width:28px;height:28px;border:3px solid #dce5d7;border-top-color:#5d754e;border-radius:50%;animation:cost-view-spin .8s linear infinite}.cost-view-loading strong{margin-top:17px;color:#4c5d45;font-family:"Noto Serif SC",serif;font-size:16px}.cost-view-loading p{max-width:520px;margin:7px 0 0;color:#92958c;font-size:11px;line-height:1.7}@keyframes cost-view-spin{to{transform:rotate(360deg)}}.cost-scope-note.actual{border-color:#d9e4d2;background:#f3f8f0}.actual-profit-status{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.actual-profit-status article{display:grid;gap:4px;padding:13px 15px;border:1px solid #e7e1d5;border-radius:9px;background:#fbfaf6}.actual-profit-status b{color:#4d6045;font-family:"Noto Serif SC",serif;font-size:18px}.actual-profit-status span{color:#92968c;font-size:11px}.actual-profit-alert{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;border:1px solid #eed1b9;border-radius:11px;background:#fff7ed}.actual-profit-alert.success{border-color:#d8e4d2;background:#f3f8f0}.actual-profit-alert strong{color:#945d35;font-family:"Noto Serif SC",serif;font-size:14px}.actual-profit-alert.success strong{color:#527047}.actual-profit-alert p{max-width:850px;margin:5px 0 0;color:#877b70;font-size:11px;line-height:1.65}.actual-profit-alert button{flex:0 0 auto}.actual-profit-section{display:grid;gap:12px;padding-top:2px}.actual-profit-section>header{display:flex;align-items:end;justify-content:space-between;gap:18px}.actual-profit-section>header span{color:#8c9185;font-size:10px;letter-spacing:.08em}.actual-profit-section>header h3{margin:4px 0 0;color:#46563f;font-family:"Noto Serif SC",serif;font-size:17px}.actual-profit-section>header small{color:#98998f;font-size:10px}.actual-profit-table{min-width:760px}.actual-profit-table td strong,.actual-profit-table td small{display:block}.actual-profit-table td small{margin-top:4px;color:#99998f;font-size:10px}.actual-profit-footnote{padding:13px 16px;border-top:1px dashed #ddd7cb;color:#96978e;font-size:10px;line-height:1.7}
@media(max-width:1000px){.actual-profit-status{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.cost-view-tabs{width:100%}.cost-view-tabs button{flex:1;min-width:0;padding:7px 10px}.actual-profit-status{grid-template-columns:1fr 1fr}.actual-profit-alert{align-items:stretch;flex-direction:column}.actual-profit-section>header{align-items:flex-start;flex-direction:column;gap:5px}}

/* 订单利润筛选与成本盒子商家配置 */
.actual-profit-filters{display:grid;grid-template-columns:minmax(170px,1fr) minmax(150px,.75fr) minmax(145px,.72fr) minmax(145px,.72fr) minmax(230px,1.15fr);align-items:end;gap:10px;padding:14px 16px;border:1px solid #e2ded3;border-radius:12px;background:#f8f7f2}.actual-profit-filters label,.actual-profit-filters>div{display:grid;gap:6px;min-width:0}.actual-profit-filters label>span,.actual-profit-filters>div>span{color:#8b9085;font-size:10px;font-weight:700;letter-spacing:.05em}.actual-profit-filters select,.actual-profit-filters input{width:100%;height:38px;padding:0 10px;border:1px solid #dcd8cd;border-radius:8px;outline:0;background:#fff;color:#45503f;font:inherit;font-size:12px}.actual-profit-filters select:focus,.actual-profit-filters input:focus{border-color:#8aa07e;box-shadow:0 0 0 3px rgba(108,135,95,.1)}.actual-profit-filters>div{align-content:center;min-height:38px;padding:0 12px;border-left:1px solid #ddd9cf}.actual-profit-filters>div strong{overflow:hidden;color:#52644b;font-family:"Noto Serif SC",serif;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cost-head-actions>div{display:flex;gap:8px}.actual-order-profit-table{min-width:1220px}.actual-order-profit-table th:nth-child(3),.actual-order-profit-table td:nth-child(3){min-width:220px;max-width:320px}.actual-order-items{display:block;overflow:hidden;color:#687164;font-size:11px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}.costbox-settings-panel{width:min(680px,calc(100vw - 30px))}.costbox-settings-panel form{display:grid;gap:18px}.costbox-settings-panel .form-grid{grid-template-columns:1fr}.costbox-connection-state{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #ead7c2;border-radius:9px;background:#fff8ed}.costbox-connection-state b{color:#9a6639;font-size:12px}.costbox-connection-state span{color:#958779;font-size:11px}.costbox-connection-state.connected{border-color:#d3e1cd;background:#f1f7ed}.costbox-connection-state.connected b{color:#4e7044}.costbox-connection-state.connected span{color:#778571}.costbox-posting-mode{display:grid;gap:9px;margin:0;padding:0;border:0}.costbox-posting-mode legend{margin-bottom:2px;color:#52644b;font-size:12px;font-weight:800}.costbox-posting-mode label{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start;padding:12px 14px;border:1px solid #dedbd1;border-radius:10px;background:#fff;cursor:pointer}.costbox-posting-mode label:has(input:checked){border-color:#8ca17f;background:#f3f8f0;box-shadow:0 0 0 2px rgba(108,135,95,.08)}.costbox-posting-mode input{margin-top:3px;accent-color:#607b55}.costbox-posting-mode span{display:grid;gap:3px}.costbox-posting-mode b{color:#45503f;font-size:12px}.costbox-posting-mode small{color:#7b8276;font-size:11px;line-height:1.55}
@media(max-width:1180px){.actual-profit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.actual-profit-filters>div{grid-column:1 / -1;border-left:0;border-top:1px solid #ddd9cf;padding:10px 0 0}}
@media(max-width:620px){.actual-profit-filters{grid-template-columns:1fr}.actual-profit-filters>div{grid-column:auto}.cost-head-actions>div{align-items:stretch;flex-direction:column}.cost-head-actions>div button{width:100%}.costbox-connection-state{align-items:flex-start;flex-direction:column;gap:4px}}

/* 专场活动对订单利润的影响：商品优惠只降低实收，包邮才额外扣成本。 */
.actual-activity-impact{display:grid;gap:11px;padding:15px 16px;border:1px solid #e4ded1;border-radius:12px;background:#fffdf8}.actual-activity-impact>header{display:flex;align-items:end;justify-content:space-between;gap:18px}.actual-activity-impact>header span{color:#8b9085;font-size:10px;letter-spacing:.08em}.actual-activity-impact>header h3{margin:3px 0 0;color:#46563f;font-family:"Noto Serif SC",serif;font-size:16px}.actual-activity-impact>header small{max-width:520px;color:#90948a;font-size:10px;text-align:right}.actual-activity-impact>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden;border:1px solid #e8e2d7;border-radius:9px}.actual-activity-impact article{display:grid;gap:3px;padding:12px 14px;border-right:1px solid #e8e2d7;background:#faf8f2}.actual-activity-impact article:last-child{border-right:0}.actual-activity-impact article>span{color:#81877c;font-size:10px}.actual-activity-impact article>strong{color:#52654a;font-family:"Noto Serif SC",serif;font-size:18px}.actual-activity-impact article>small{color:#9a9b92;font-size:9px}.actual-activity-impact article.shipping{background:#fff5eb}.actual-activity-impact article.shipping>strong,.activity-cost{color:#bd6245!important}.actual-order-activity{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){.actual-activity-impact>div{grid-template-columns:repeat(2,1fr)}.actual-activity-impact article:nth-child(2){border-right:0}.actual-activity-impact article:nth-child(-n+2){border-bottom:1px solid #e8e2d7}}
@media(max-width:620px){.actual-activity-impact>header{align-items:flex-start;flex-direction:column;gap:5px}.actual-activity-impact>header small{text-align:left}.actual-activity-impact>div{grid-template-columns:1fr}.actual-activity-impact article{border-right:0;border-bottom:1px solid #e8e2d7!important}.actual-activity-impact article:last-child{border-bottom:0!important}}

/* 成本利润 V2：围绕“这一笔实际赚了多少”组织信息。 */
.profit-v2-workspace{display:grid;gap:15px;padding:26px 28px 22px}.profit-v2-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.profit-v2-head h2{margin:5px 0 6px;color:#34472e;font-family:"Noto Serif SC",serif;font-size:26px;font-weight:650;letter-spacing:.01em}.profit-v2-head p{margin:0;color:#7f877a;font-size:12px;line-height:1.7}.profit-v2-head-actions{display:grid;flex:0 0 auto;gap:7px;justify-items:end}.profit-v2-head-actions>span{color:#a09d93;font-size:10px}.profit-v2-head-actions>div{display:flex;gap:8px}.profit-v2-filterbar{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(145px,.72fr) minmax(145px,.7fr) minmax(145px,.7fr) minmax(240px,1.3fr);align-items:end;gap:10px;padding:12px 14px;border:1px solid #e3dfd4;border-radius:11px;background:#f7f6f1}.profit-v2-filterbar label,.profit-v2-filter-context{display:grid;gap:5px;min-width:0}.profit-v2-filterbar label>span,.profit-v2-filter-context>span{color:#8e9489;font-size:9px;font-weight:700;letter-spacing:.07em}.profit-v2-filterbar select,.profit-v2-filterbar input{width:100%;height:36px;padding:0 10px;border:1px solid #dcd8cc;border-radius:7px;outline:0;background:#fff;color:#44513f;font:inherit;font-size:11px}.profit-v2-filterbar select:focus,.profit-v2-filterbar input:focus{border-color:#89a07d;box-shadow:0 0 0 3px rgba(104,134,89,.09)}.profit-v2-filter-context{align-content:center;min-height:36px;padding-left:13px;border-left:1px solid #dedacf}.profit-v2-filter-context strong{overflow:hidden;color:#52644b;font-family:"Noto Serif SC",serif;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.profit-v2-summary{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(520px,1.8fr);align-items:stretch;overflow:hidden;border:1px solid #dbe4d5;border-radius:14px;background:#f5f9f2}.profit-v2-result{display:grid;align-content:center;gap:4px;min-height:136px;padding:22px 25px;background:linear-gradient(135deg,#496842 0%,#607c56 100%);color:#fff}.profit-v2-result>span{color:rgba(255,255,255,.75);font-size:11px}.profit-v2-result>strong{font-family:"Noto Serif SC",serif;font-size:35px;font-weight:650;letter-spacing:.01em}.profit-v2-result>small{color:rgba(255,255,255,.72);font-size:10px}.profit-v2-equation{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:10px;padding:21px 24px}.profit-v2-equation article{display:grid;gap:7px;min-width:0}.profit-v2-equation article span{color:#858d80;font-size:10px;white-space:nowrap}.profit-v2-equation article strong{color:#44543e;font-family:"Noto Serif SC",serif;font-size:20px;font-weight:600;white-space:nowrap}.profit-v2-equation article.total strong{color:#4f7444}.profit-v2-equation i{color:#adb4a8;font-family:"Noto Serif SC",serif;font-size:18px;font-style:normal}.profit-v2-coverage{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 14px;border:1px solid #ead3ba;border-radius:10px;background:#fff8ee}.profit-v2-coverage>div{display:flex;align-items:center;gap:8px;min-width:0}.profit-v2-coverage .material-symbols-rounded{color:#a96d32;font-size:18px}.profit-v2-coverage strong{color:#895d35;font-size:11px}.profit-v2-coverage span:last-child{overflow:hidden;color:#8d8072;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.profit-v2-coverage button{flex:0 0 auto}.profit-v2-activity{overflow:hidden;border:1px solid #e5e0d5;border-radius:10px;background:#fffdf9}.profit-v2-activity>button{display:grid;width:100%;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 14px;background:transparent;color:#56634f;text-align:left}.profit-v2-activity>button>.material-symbols-rounded:first-child{display:grid;width:28px;height:28px;place-items:center;border-radius:7px;background:#edf3e9;color:#63805a;font-size:17px}.profit-v2-activity>button>span:nth-child(2){display:grid;gap:2px}.profit-v2-activity>button strong{font-size:11px}.profit-v2-activity>button small{color:#95978e;font-size:9px;font-weight:400}.profit-v2-chevron{color:#92988d;font-size:18px}.profit-v2-activity-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e8e3d9}.profit-v2-activity-details article{display:grid;gap:4px;padding:13px 15px;border-right:1px solid #e8e3d9;background:#faf9f5}.profit-v2-activity-details article:last-child{border-right:0}.profit-v2-activity-details article>span{color:#858a80;font-size:9px}.profit-v2-activity-details article>strong{color:#53664b;font-family:"Noto Serif SC",serif;font-size:16px}.profit-v2-activity-details article>small{color:#9b9b93;font-size:8px;line-height:1.45}.profit-v2-activity-details article.shipping{background:#fff7ef}.profit-v2-activity-details article.shipping>strong{color:#ba6246}.profit-v2-tabs{display:flex;align-items:center;gap:3px;margin-top:2px;border-bottom:1px solid #e3dfd5}.profit-v2-tabs button{display:flex;align-items:center;gap:7px;min-height:40px;padding:0 16px;border-bottom:2px solid transparent;background:transparent;color:#8c9187;font-size:11px}.profit-v2-tabs button span{display:inline-grid;min-width:20px;height:18px;padding:0 5px;place-items:center;border-radius:99px;background:#efede6;color:#898c83;font-size:9px}.profit-v2-tabs button.active{border-bottom-color:#5d7b53;color:#47613f;font-weight:700}.profit-v2-tabs button.active span{background:#e5efe0;color:#54714b}.profit-v2-panel{overflow:hidden;border:1px solid #e5e0d6;border-radius:11px;background:#fff}.profit-v2-panel>header{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:14px 16px 10px}.profit-v2-panel>header span{color:#94978e;font-size:9px;letter-spacing:.06em}.profit-v2-panel>header h3{margin:3px 0 0;color:#485a42;font-family:"Noto Serif SC",serif;font-size:14px}.profit-v2-table-wrap{overflow-x:auto}.profit-v2-table{width:100%;min-width:760px}.profit-v2-table th,.profit-v2-table td{padding-right:14px;padding-left:14px}.profit-v2-table th:first-child,.profit-v2-table td:first-child{width:34%}.profit-v2-table td{vertical-align:middle}.profit-v2-table td>strong,.profit-v2-table td>small{display:block}.profit-v2-table td>small{margin-top:3px;color:#a0978d;font-size:9px}.profit-v2-order-toggle{display:grid;width:100%;grid-template-columns:auto 1fr;align-items:center;gap:7px;padding:0;background:transparent;color:#475640;text-align:left}.profit-v2-order-toggle>.material-symbols-rounded{color:#8b9984;font-size:17px}.profit-v2-order-toggle>span:last-child{display:grid;gap:3px}.profit-v2-order-toggle strong{font-size:11px}.profit-v2-order-toggle small{overflow:hidden;max-width:320px;color:#96988f;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.profit-v2-order-row.is-expanded td{background:#fcfaf5}.profit-v2-order-detail td{padding:0!important;background:#f9f8f3}.profit-v2-order-detail>td>div{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(280px,1.4fr) minmax(260px,1.2fr);gap:18px;padding:13px 42px 15px;border-top:1px dashed #ded9ce}.profit-v2-order-detail section{display:grid;gap:4px}.profit-v2-order-detail section span{color:#999b92;font-size:8px;letter-spacing:.05em}.profit-v2-order-detail section strong{color:#5d6758;font-size:9px;font-weight:500;line-height:1.55}.profit-v2-trend-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px}.profit-v2-compact-table{min-width:650px}.profit-v2-compact-table td strong,.profit-v2-compact-table td small{display:block}.profit-v2-compact-table td small{margin-top:3px;color:#9b9c93;font-size:8px}.profit-v2-footnote{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:9px;background:#f7f6f1;color:#90928a;font-size:9px;line-height:1.65}.profit-v2-footnote strong{flex:0 0 auto;color:#667060}.profit-v2-footnote span{max-width:980px}.is-loading .profit-v2-workspace{pointer-events:none;opacity:.68}
@media(max-width:1180px){.profit-v2-filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.profit-v2-filter-context{grid-column:1 / -1;padding:10px 0 0;border-top:1px solid #dedacf;border-left:0}.profit-v2-summary{grid-template-columns:250px 1fr}.profit-v2-equation{gap:7px;padding:18px}.profit-v2-equation article strong{font-size:17px}.profit-v2-trend-grid{grid-template-columns:1fr}}
@media(max-width:820px){.profit-v2-workspace{padding:21px 18px}.profit-v2-head{flex-direction:column}.profit-v2-head-actions{justify-items:start}.profit-v2-summary{grid-template-columns:1fr}.profit-v2-result{min-height:112px}.profit-v2-equation{overflow-x:auto}.profit-v2-activity-details{grid-template-columns:repeat(2,1fr)}.profit-v2-activity-details article:nth-child(2){border-right:0}.profit-v2-activity-details article:nth-child(-n+2){border-bottom:1px solid #e8e3d9}.profit-v2-order-detail>td>div{grid-template-columns:1fr;padding:13px 28px}}
@media(max-width:560px){.profit-v2-filterbar{grid-template-columns:1fr}.profit-v2-filter-context{grid-column:auto}.profit-v2-head-actions>div{align-items:stretch;flex-direction:column}.profit-v2-coverage{align-items:stretch;flex-direction:column}.profit-v2-coverage>div{align-items:flex-start;flex-wrap:wrap}.profit-v2-activity-details{grid-template-columns:1fr}.profit-v2-activity-details article{border-right:0;border-bottom:1px solid #e8e3d9!important}.profit-v2-activity-details article:last-child{border-bottom:0!important}.profit-v2-activity>button small{line-height:1.5}.profit-v2-tabs button{flex:1;justify-content:center}.profit-v2-footnote{flex-direction:column;gap:3px}}

/* 方案 3 视觉校准：核心毛利保持白底报表形态，利润与毛利率并列。 */
.profit-v2-summary{grid-template-columns:minmax(390px,.9fr) minmax(520px,1.35fr);border-color:#e2ddd2;background:#fffdf9}.profit-v2-result{gap:10px;padding:20px 25px;border-right:1px solid #e7e1d7;background:transparent;color:#44543e}.profit-v2-result>span{color:#7f887a;font-size:11px;font-weight:700}.profit-v2-result>small{color:#96998f;font-size:9px}.profit-v2-result-metrics{display:grid;grid-template-columns:1.2fr .8fr;gap:26px}.profit-v2-result-metrics article{display:grid;gap:3px}.profit-v2-result-metrics article+article{padding-left:25px;border-left:1px solid #e4dfd4}.profit-v2-result-metrics small{color:#8d9288;font-size:9px}.profit-v2-result-metrics strong{color:#45613e;font-family:"Noto Serif SC",serif;font-size:31px;font-weight:650;letter-spacing:.01em;white-space:nowrap}
@media(max-width:1180px){.profit-v2-summary{grid-template-columns:340px 1fr}.profit-v2-result-metrics{gap:18px}.profit-v2-result-metrics article+article{padding-left:18px}.profit-v2-result-metrics strong{font-size:26px}}
@media(max-width:820px){.profit-v2-summary{grid-template-columns:1fr}.profit-v2-result{border-right:0;border-bottom:1px solid #e7e1d7}}

/* 订单制作：方案 1 的成本与原材料双栏复核弹窗。 */
.production-checklist-modal.production-cost-review{display:flex;width:min(1080px,calc(100vw - 48px));max-height:min(90vh,860px);padding:0;overflow:hidden;flex-direction:column;background:#fffdfa}.production-cost-review .operation-head{flex:0 0 auto;padding:20px 24px 15px}.production-cost-review .operation-head h2{margin-top:4px;color:#354a31;font-size:23px}.production-cost-review .operation-head p{margin-top:5px;color:#8b9187;font-size:11px}.production-cost-kpis{display:grid;flex:0 0 auto;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 24px 12px;overflow:hidden;border:1px solid #e5dfd3;border-radius:10px;background:#fbfaf6}.production-cost-kpis article{display:grid;gap:3px;min-height:73px;padding:12px 16px;border-right:1px solid #e8e2d7}.production-cost-kpis article:last-child{border-right:0}.production-cost-kpis span{color:#7e8978;font-size:10px}.production-cost-kpis strong{color:#47633f;font-family:"Noto Serif SC",serif;font-size:21px;font-weight:650}.production-cost-kpis strong>small{color:inherit;font-size:10px}.production-cost-kpis article>small{color:#9a9c93;font-size:8px}.production-cost-kpis article.warning{background:#fff7ee}.production-cost-kpis article.warning strong{color:#c6633e}.production-cost-review .production-selected-order-list{flex:0 0 auto;margin:0 24px 12px;border:1px solid #e5dfd4;border-radius:9px;background:#fff}.production-cost-review .production-selected-order-list>h3{padding:10px 13px}.production-cost-review .production-selected-order-list>ul{max-height:150px;padding:0 13px 7px}.production-estimate-note{display:flex;flex:0 0 auto;align-items:center;gap:8px;margin:0 24px 12px;padding:8px 11px;border:1px solid #e4dfd4;border-radius:8px;background:#f8f7f2;color:#727c6c;font-size:9px;line-height:1.5}.production-estimate-note .material-symbols-rounded{font-size:16px}.production-estimate-note.loading{border-color:#d7e2d0;background:#f3f8f0;color:#5c7254}.production-estimate-note.warning{border-color:#ead3b9;background:#fff8ee;color:#8d6238}.production-estimate-note.error{border-color:#e9c9bd;background:#fff4f0;color:#96513d}.production-estimate-note.error>span:nth-child(2){display:grid;gap:1px}.production-estimate-note.error small{color:#a1786c;font-size:8px}.production-estimate-note.error button{margin-left:auto;padding:5px 9px;border:1px solid #dfbeaF;border-radius:5px;background:#fff;color:#8b513f;font-size:9px}.production-cost-grid{display:grid;flex:1 1 auto;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);gap:12px;min-height:0;margin:0 24px}.production-cost-grid>article{display:flex;min-width:0;min-height:0;overflow:hidden;border:1px solid #e5dfd4;border-radius:9px;background:#fff;flex-direction:column}.production-cost-grid>article>header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:10px 13px;border-bottom:1px solid #ebe5da}.production-cost-grid>article>header h3{margin:0;color:#40543a;font-family:"Noto Serif SC",serif;font-size:13px}.production-cost-grid>article>header p{margin:3px 0 0;color:#999a91;font-size:8px}.production-cost-grid>article>header button{padding:5px 8px;border:1px solid #cbd9c0;border-radius:5px;background:#fffdf9;color:#56704d;font-size:9px}.production-cost-grid>article>header>span{color:#92968d;font-size:9px}.production-cost-table-wrap{flex:1 1 auto;min-height:0;overflow:auto}.production-cost-grid table{width:100%;border-collapse:collapse;color:#646d60;font-size:9px}.production-cost-grid th{position:sticky;z-index:1;top:0;height:32px;padding:0 10px;border-bottom:1px solid #e9e3d8;background:#f8f6f0;color:#80867b;font-size:8px;font-weight:700;text-align:left;white-space:nowrap}.production-cost-grid td{height:47px;padding:7px 10px;border-bottom:1px solid #eee8dd;vertical-align:middle}.production-cost-grid td strong,.production-cost-grid td small{display:block}.production-cost-grid td strong{color:#465540;font-size:10px}.production-cost-grid td small{max-width:165px;margin-top:3px;overflow:hidden;color:#999b92;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.production-cost-products th:first-child{width:34%}.production-cost-products th:nth-child(2){width:14%}.production-cost-products th:nth-child(5){width:17%}.production-cost-grid tfoot td{position:sticky;bottom:0;height:35px;border-bottom:0;background:#fbfaf6;color:#727970;font-weight:700}.production-cost-grid tfoot td strong{font-family:"Noto Serif SC",serif;font-size:12px}.production-cost-status{display:inline-flex!important;width:max-content;min-height:20px;padding:0 7px;align-items:center;border-radius:99px;font-size:8px!important;font-weight:700}.production-cost-status.complete{background:#eaf2e5;color:#517149!important}.production-cost-status.loading{background:#f0eee8;color:#8b8e85!important}.production-cost-status.missing{background:#fff0df;color:#b56b32!important}.production-cost-materials tr.is-shortage td{background:#fff7ee}.production-cost-materials tr.is-shortage td:nth-child(2) strong,.production-cost-materials tr.is-shortage td:last-child strong{color:#c35e39}.production-cost-materials th:first-child{width:38%}.production-cost-empty{height:120px!important;color:#989990;text-align:center}.production-cost-footnote{display:flex;flex:0 0 auto;align-items:flex-start;gap:7px;margin:10px 24px 0;color:#92958c;font-size:8px;line-height:1.55}.production-cost-footnote .material-symbols-rounded{color:#7f9177;font-size:14px}.production-cost-review .operation-actions{display:grid;flex:0 0 auto;grid-template-columns:max-content minmax(12px,1fr) max-content max-content;margin-top:10px;padding:13px 24px 16px;border-top:1px solid #e5ded2;background:#fffdfa;box-shadow:0 -7px 18px rgba(65,57,42,.04)}.production-cost-review .operation-actions button{min-height:34px;padding:0 15px}
@media(max-width:980px){.production-checklist-modal.production-cost-review{width:min(100% - 24px,760px);max-height:94vh}.production-cost-kpis{grid-template-columns:repeat(2,1fr)}.production-cost-kpis article:nth-child(2){border-right:0}.production-cost-kpis article:nth-child(-n+2){border-bottom:1px solid #e8e2d7}.production-cost-grid{grid-template-columns:1fr;overflow:auto}.production-cost-grid>article{min-height:280px}.production-cost-review .operation-actions{grid-template-columns:repeat(2,max-content);justify-content:start}.production-cost-review .operation-actions>span{display:none}}
.production-cost-footnote>span:last-child{display:grid;gap:1px}.production-cost-footnote b{color:#66755f;font-size:8px}.production-cost-footnote small{color:#92958c;font-size:8px}
.costbox-connection-state.connected.sales-limited{border-color:#ead7c2;background:#fff8ed}.costbox-connection-state.connected.sales-limited b{color:#9a6639}.costbox-connection-state.connected.sales-limited span{color:#958779}.costbox-connection-state.connected.sales-enabled{border-color:#c9ddc2;background:#eef6ea}.costbox-connection-state.connected.sales-enabled b{color:#456a3d}
@media(max-width:620px){.production-cost-kpis,.production-cost-review .production-selected-order-list,.production-estimate-note,.production-cost-grid,.production-cost-footnote{margin-right:14px;margin-left:14px}.production-cost-review .operation-head{padding-right:16px;padding-left:16px}.production-cost-kpis{grid-template-columns:1fr 1fr}.production-cost-grid>article{min-width:620px}.production-cost-grid{overflow:auto}.production-cost-review .operation-actions{padding-right:14px;padding-left:14px}.production-cost-review .operation-actions button{padding:0 10px;font-size:10px}}

/* 制作清单可读性：桌面端接近全屏展示，正文不再使用微型字号。 */
.production-checklist-modal.production-cost-review {
  width: min(1420px, calc(100vw - 28px));
  height: min(96vh, 940px);
  max-height: calc(100vh - 20px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 14px;
}
.production-cost-review .operation-head { padding: 22px 28px 17px; }
.production-cost-review .operation-head h2 { font-size: 30px; line-height: 1.25; }
.production-cost-review .operation-head p { margin-top: 7px; font-size: 14px; line-height: 1.55; }
.production-cost-kpis { margin: 0 28px 14px; }
.production-cost-kpis article { min-height: 84px; padding: 14px 18px; }
.production-cost-kpis span { font-size: 13px; }
.production-cost-kpis strong { font-size: 26px; }
.production-cost-kpis strong > small { font-size: 13px; }
.production-cost-kpis article > small { font-size: 13px; line-height: 1.45; }
.production-cost-review .production-selected-order-list { margin: 0 28px 13px; }
.production-cost-review .production-selected-order-list > h3 { padding: 12px 15px; font-size: 17px; }
.production-cost-review .production-selected-order-list > h3 small { font-size: 13px; }
.production-cost-review .production-selected-order-list > h3 button { min-height: 33px; padding: 0 12px; font-size: 13px; }
.production-estimate-note { margin: 0 28px 13px; padding: 10px 13px; font-size: 13px; }
.production-estimate-note.error small { font-size: 12px; }
.production-estimate-note.error button { font-size: 13px; }
.production-cost-grid { flex: 0 0 min(44vh, 420px); grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 14px; min-height: 300px; margin: 0 28px; }
.production-cost-grid > article { border-radius: 10px; }
.production-cost-grid > article > header { min-height: 72px; padding: 13px 16px; }
.production-cost-grid > article > header h3 { font-size: 19px; }
.production-cost-grid > article > header p { margin-top: 4px; font-size: 14px; line-height: 1.45; }
.production-cost-grid > article > header button { min-height: 35px; padding: 0 12px; font-size: 13px; }
.production-cost-grid > article > header > span { font-size: 13px; }
.production-cost-grid table { font-size: 14px; }
.production-cost-grid th { height: 46px; padding: 0 13px; font-size: 13px; }
.production-cost-grid td { height: 66px; padding: 10px 13px; font-size: 14px; line-height: 1.45; }
.production-cost-grid td strong { font-size: 15px; }
.production-cost-grid td small { max-width: 250px; margin-top: 4px; font-size: 13px; line-height: 1.35; }
.production-cost-grid tfoot td { height: 48px; }
.production-cost-grid tfoot td strong { font-size: 16px; }
.production-cost-status { min-height: 27px; padding: 0 9px; font-size: 12px !important; }
.production-cost-products th:first-child { width: 38%; }
.production-cost-products th:nth-child(2) { width: 13%; }
.production-cost-products th:nth-child(3),
.production-cost-products th:nth-child(4) { width: 14%; }
.production-cost-products th:nth-child(5) { width: 21%; }
.production-cost-products tbody tr.is-category-start td { border-top: 2px solid #dce5d6; }
.production-cost-product-meta { color: #7b8b74 !important; font-weight: 500; }
.production-cost-materials th:first-child { width: 42%; }
.production-cost-materials tbody tr.is-category-start td { border-top: 2px solid #dce5d6; }
.production-material-meta { color: #7b8b74 !important; font-weight: 500; }
.production-cost-header-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.production-cost-header-actions > span { white-space: nowrap; }
.production-cost-sort { display: flex; width: 100%; min-height: 46px; padding: 0; align-items: center; gap: 5px; border: 0; background: transparent; color: #697468; font-size: 13px; font-weight: 750; text-align: left; white-space: nowrap; cursor: pointer; }
.production-cost-sort .material-symbols-rounded { color: #9aa398; font-size: 18px; }
.production-cost-sort:hover { color: #46623f; }
.production-cost-sort:hover .material-symbols-rounded,
.production-cost-sort.is-active .material-symbols-rounded { color: #567a4d; }
.production-cost-sort.is-active { color: #3f5e38; }
.production-cost-footnote { margin: 12px 28px 0; font-size: 13px; line-height: 1.55; }
.production-cost-footnote .material-symbols-rounded { font-size: 19px; }
.production-cost-footnote b,
.production-cost-footnote small { font-size: 13px; }
.production-cost-review .operation-actions { position: sticky; z-index: 5; bottom: 0; margin-top: 11px; padding: 14px 28px 17px; }
.production-cost-review .operation-actions button { min-height: 42px; padding: 0 19px; font-size: 14px; }

@media (max-width: 1100px) {
  .production-checklist-modal.production-cost-review { width: calc(100vw - 20px); height: calc(100vh - 20px); max-height: none; }
  .production-cost-grid { flex: 0 0 auto; grid-template-columns: 1fr; overflow: visible; }
  .production-cost-grid > article { min-height: 330px; }
}

@media (max-width: 700px) {
  .production-cost-review .operation-head,
  .production-cost-review .operation-actions { padding-right: 16px; padding-left: 16px; }
  .production-cost-kpis,
  .production-cost-review .production-selected-order-list,
  .production-estimate-note,
  .production-cost-grid,
  .production-cost-footnote { margin-right: 16px; margin-left: 16px; }
  .production-cost-grid > article { min-width: 680px; }
}

.costbox-pending-sales { margin: 14px 0; overflow: hidden; border: 1px solid #e5c79f; border-radius: 12px; background: #fffaf1; box-shadow: 0 3px 12px rgba(121, 79, 34, .04); }
.costbox-pending-sales > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid #ecd9bd; background: #fff6e8; }
.costbox-pending-sales > header > div { display: flex; align-items: center; gap: 10px; }
.costbox-pending-sales > header .material-symbols-rounded { color: #b87532; font-size: 23px; }
.costbox-pending-sales > header span:not(.material-symbols-rounded) { display: grid; gap: 3px; }
.costbox-pending-sales > header b { color: #76512e; font-size: 15px; }
.costbox-pending-sales > header small { color: #8d755d; font-size: 12px; }
.costbox-pending-sales button { flex: 0 0 auto; min-height: 34px; padding: 0 13px; border: 1px solid #d7ae79; border-radius: 7px; background: #fffdf8; color: #8b5d29; font-size: 12px; font-weight: 700; cursor: pointer; }
.costbox-pending-sales button:hover { background: #fff1dc; }
.costbox-pending-sales-list { display: grid; gap: 0; }
.costbox-pending-sales-list > article { display: grid; grid-template-columns: minmax(190px, .72fr) minmax(320px, 1.8fr) auto; align-items: center; gap: 16px; padding: 13px 16px; border-bottom: 1px solid #eee0cb; }
.costbox-pending-sales-list > article:last-child { border-bottom: 0; }
.costbox-pending-order-meta { display: grid; gap: 4px; }
.costbox-pending-order-meta b { overflow: hidden; color: #4c583f; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.costbox-pending-order-meta small { color: #8c897f; font-size: 11px; line-height: 1.45; }
.costbox-pending-sales ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.costbox-pending-sales li { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(180px, 1.3fr); gap: 10px; align-items: start; }
.costbox-pending-sales li > span { display: grid; gap: 2px; }
.costbox-pending-sales li b { color: #45533f; font-size: 12px; }
.costbox-pending-sales li small { color: #969185; font-size: 10px; }
.costbox-pending-sales li em { color: #b34f37; font-size: 11px; font-style: normal; line-height: 1.45; }
.costbox-pending-sales li.more { display: block; color: #8d8375; font-size: 11px; }
.costbox-pending-sales > footer { padding: 9px 16px; border-top: 1px solid #eee0cb; color: #8c8174; font-size: 11px; }
.profit-v2-workspace .costbox-pending-sales { margin: 0 0 14px; }

@media (max-width: 900px) {
  .costbox-pending-sales-list > article { grid-template-columns: 1fr auto; }
  .costbox-pending-sales-list > article > ul { grid-column: 1 / -1; grid-row: 2; }
}

/* 经营总览：支付、退款、通知与库存异常统一监控。 */
.operational-health { margin: 0 0 18px; border: 1px solid #dbe6d6; border-radius: 16px; background: #f9fcf7; box-shadow: 0 5px 18px rgba(63, 87, 55, .05); }
.operational-health.is-healthy { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 18px; }
.operational-health.is-healthy > .material-symbols-rounded { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #e6f1e1; color: #4f7847; font-size: 22px; }
.operational-health.is-healthy h3 { margin: 0 0 3px; color: #344a31; font-size: 15px; }
.operational-health.is-healthy p,
.operational-health.is-healthy small { margin: 0; color: #74816f; font-size: 12px; }
.operational-health.has-alerts { overflow: hidden; border-color: #e7c4ac; background: #fffcf8; }
.operational-health.has-alerts > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 18px; border-bottom: 1px solid #efdbcc; background: #fff7ef; }
.operational-health.has-alerts > header > div { display: flex; align-items: center; gap: 11px; }
.operational-health.has-alerts > header .material-symbols-rounded { color: #b65f39; font-size: 27px; }
.operational-health.has-alerts h3 { margin: 0 0 3px; color: #70402f; font-size: 16px; }
.operational-health.has-alerts header p { margin: 0; color: #8b6858; font-size: 12px; }
.operational-health.has-alerts header > strong { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: #f6e2d3; color: #a14f31; font-size: 12px; }
.operational-alert-list { display: grid; }
.operational-alert { display: grid; grid-template-columns: 5px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid #f1e5dc; }
.operational-alert:last-child { border-bottom: 0; }
.operational-alert-indicator { width: 5px; height: 38px; border-radius: 999px; background: #d69a6f; }
.operational-alert.is-critical .operational-alert-indicator { background: #c94f3d; }
.operational-alert h4 { margin: 0 0 3px; color: #553c32; font-size: 14px; }
.operational-alert p { margin: 0 0 4px; color: #76675f; font-size: 12px; line-height: 1.5; }
.operational-alert small { color: #9a8d86; font-size: 11px; }
.operational-alert button { min-width: 82px; min-height: 34px; color: #875237; white-space: nowrap; }

@media (max-width: 700px) {
  .operational-health.is-healthy { grid-template-columns: auto 1fr; }
  .operational-health.is-healthy > small { grid-column: 2; }
  .operational-health.has-alerts > header { align-items: flex-start; }
  .operational-health.has-alerts header > strong { display: none; }
  .operational-alert { grid-template-columns: 5px minmax(0, 1fr); }
  .operational-alert button { grid-column: 2; justify-self: start; }
}

/* 订单制作筛选与信息层级：专场是第一筛选轴，日期、时段、订单依次下钻。 */
.production-orders > .production-orders-head {
  min-height: 72px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #e8e1d5;
  background: #fffdf9;
}
.production-orders > .production-orders-head p { max-width: 620px; }
.production-filter-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 10px 14px;
  border-bottom: 1px solid #e4ddd0;
  background: linear-gradient(135deg, #faf8f1, #f6f8f2);
}
.production-supply-scope,
.production-supply-filter,
.production-filter-result,
.production-filter-result > span {
  display: flex;
  align-items: center;
}
.production-supply-scope { flex: 1 1 auto; max-width: none; min-width: 0; gap: 14px; }
.production-supply-filter {
  flex: 0 1 320px;
  width: auto;
  max-width: 320px;
  min-width: 230px;
  gap: 9px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #d6dfcd;
  border-radius: 9px;
  background: #fffdf9;
  cursor: pointer;
}
.production-supply-filter > .material-symbols-rounded {
  flex: 0 0 auto;
  color: #587548;
  font-size: 19px;
}
.production-supply-filter > span { display: grid; flex: 1; min-width: 0; gap: 1px; }
#app .production-page .production-supply-filter small,
#app .production-page .production-filter-result small {
  color: #8a9485;
  font-size: 11px !important;
  font-weight: 600;
  line-height: 1.3;
}
#app .production-page .production-supply-filter select {
  width: 100%;
  min-width: 0;
  height: 25px;
  padding: 0 26px 0 0;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  color: #345033;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
}
.production-filter-result {
  display: grid;
  flex: 0 0 155px;
  width: 155px;
  min-width: 0;
  gap: 1px;
  padding-left: 14px;
  border-left: 1px solid #ddd8cc;
}
.production-filter-result b {
  overflow: hidden;
  max-width: 190px;
  color: #3b5338;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.production-filter-result > span { gap: 6px; color: #71806d; font-size: 12px; white-space: nowrap; }
.production-filter-result > span::before { width: 5px; height: 5px; border-radius: 50%; background: #799765; content: ""; }
.production-filter-toolbar .production-list-actions { flex: 0 0 auto; justify-content: flex-end; min-width: 0; max-width: 100%; margin-left: auto; }
.production-filter-toolbar .production-search-form { min-width: 248px; height: 36px; border-radius: 8px; }
.production-filter-toolbar .production-search-form input { height: 34px; }
.production-filter-toolbar .production-order-batch-toggle { min-height: 36px; padding: 0 12px; border-radius: 8px; }

@media (min-width: 1261px) {
  .unified-order-list .queue-column-labels,
  .unified-order-list .queue-order-row {
    grid-template-columns: 66px minmax(165px, 1.1fr) minmax(220px, 1.55fr) minmax(145px, 1fr) 90px 92px 104px;
    column-gap: 12px;
  }
}

.production-orders .queue-date-group,
.production-orders .queue-date-group + .queue-date-group {
  overflow: hidden;
  margin: 12px 12px 0;
  padding: 0;
  border: 1px solid #e3ddd1;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 5px 14px rgba(70, 82, 60, .035);
}
.production-orders .queue-date-group:last-of-type { margin-bottom: 12px; }
.production-orders .queue-date-summary,
.production-orders .queue-date-group.is-single-period .queue-date-summary {
  position: relative;
  min-height: 62px;
  padding: 9px 15px 9px 18px;
  border-bottom: 1px solid #dfe4d8;
  background: linear-gradient(90deg, #edf3e8, #f8f8f1 64%, #fbf8f0);
}
.production-orders .queue-date-summary::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #6f8d59;
  content: "";
}
.queue-date-title { display: grid; min-width: 160px; gap: 1px; }
#app .production-page .queue-date-title > small {
  color: #7d8b78;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.3;
}
#app .production-page .queue-date-title > h3 {
  min-width: 0;
  color: #284328;
  font-size: 20px !important;
  font-weight: 800;
}
.production-orders .queue-summary-meta {
  gap: 14px;
  margin-left: auto;
  padding: 8px 11px;
  border: 1px solid rgba(118, 143, 98, .18);
  border-radius: 7px;
  background: rgba(255, 253, 249, .72);
}
.production-orders .queue-summary-meta span::before,
.production-orders .queue-summary-meta strong::before { display: none; }
#app .production-page .queue-summary-meta span { color: #65735f; font-size: 13px; }
#app .production-page .queue-summary-meta strong { color: #365a32; font-size: 15px; }
.production-orders .queue-period-summary {
  min-height: 43px;
  padding: 6px 12px;
  border-bottom: 1px solid #e8e3d8;
  background: #faf8f2;
}
.production-orders .queue-period-summary > div { min-width: 0; gap: 8px; }
.production-orders .queue-period-summary > div > span {
  padding: 2px 6px;
  border-radius: 4px;
  background: #e9eee3;
  color: #617458;
  font-size: 11px;
  font-weight: 700;
}
#app .production-page .queue-period-summary b { color: #344e32; font-size: 14px; }
#app .production-page .queue-period-summary small { color: #818a7d; font-size: 12px !important; }
.production-orders .queue-period-summary p { margin-left: auto; }
.production-orders .queue-period-summary p strong::before { display: inline; }
.production-orders .queue-column-labels {
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid #e9e3d8;
  background: #fdfbf6;
  color: #8e9388;
  font-size: 12px;
  font-weight: 600;
}
.production-orders .queue-order-row,
.production-orders .queue-order-row.is-selected,
.production-orders .queue-order-row.is-batch-selected {
  min-height: 78px;
  margin: 0;
  padding: 9px 12px;
  border-width: 1px 0 0;
  border-radius: 0;
}
.production-orders .queue-order-row:first-of-type { border-top: 0; }
.production-orders .queue-order-row:hover { background: #f8faf5; box-shadow: inset 3px 0 0 #a6ba96; }
#app .production-page .queue-order-row time b,
#app .production-page .queue-person b,
#app .production-page .queue-fulfillment b { font-size: 14px; }
#app .production-page .queue-products b { color: #263f27; font-size: 15px; font-weight: 800; }
#app .production-page .queue-amount b { color: #315b35; font-size: 15px; font-weight: 800; }
.production-filter-empty {
  display: grid;
  min-height: 210px;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 24px;
  color: #8b9488;
  text-align: center;
}
.production-filter-empty .material-symbols-rounded { color: #8da47c; font-size: 30px; }
.production-filter-empty b { color: #52684d; font-size: 15px; }
.production-filter-empty p { margin: 0; }

@media (max-width: 1220px) {
  .production-filter-toolbar { align-items: stretch; flex-direction: column; gap: 9px; }
  .production-supply-scope { justify-content: space-between; }
  .production-filter-toolbar .production-list-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 1100px) {
  .production-workspace { grid-template-columns: minmax(0, 1fr); }
  .production-order-detail { position: static; min-height: 260px; }
  .production-orders .queue-column-labels,
  .production-orders .queue-order-row {
    grid-template-columns: 54px minmax(100px, 1fr) minmax(125px, 1.35fr) minmax(105px, 1fr) 70px 76px 84px;
    column-gap: 8px;
  }
}
@media (max-width: 760px) {
  .production-filter-toolbar { padding: 10px; }
  .production-supply-scope { align-items: stretch; flex-direction: column; gap: 8px; }
  .production-supply-filter { width: 100%; max-width: none; min-width: 0; }
  .production-filter-result { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 7px 2px 0; border-top: 1px solid #e3ddd2; border-left: 0; }
  .production-filter-result b { max-width: none; }
  .production-filter-toolbar .production-list-actions { align-items: stretch; flex-wrap: wrap; justify-content: flex-start; }
  .production-filter-toolbar .production-search-form { flex: 1 1 100%; min-width: 0; }
  .production-orders .queue-date-summary { align-items: center; flex-direction: row; padding: 10px 12px 10px 16px; }
  .queue-date-title { min-width: 0; }
  .production-orders .queue-summary-meta { margin-left: auto; padding: 5px 7px; }
  .production-orders .queue-summary-meta strong { display: none; }
  .production-orders .queue-period-summary { align-items: center; flex-direction: row; padding: 7px 9px; }
  .production-orders .queue-order-row,
  .production-orders .queue-order-row.is-selected,
  .production-orders .queue-order-row.is-batch-selected { min-height: 72px; padding: 8px 10px; }
}

/* 成本利润订单展开区：紧凑展示联系人、配送信息与逐项商品账单。 */
.profit-v2-order-detail > td > .profit-v2-order-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  padding: 12px 20px 14px;
  border-top: 1px dashed #ded9ce;
  background: #faf9f5;
}
.profit-v2-order-overview {
  display: grid;
  grid-template-columns: minmax(210px, .8fr) minmax(330px, 1.45fr) minmax(150px, .62fr) minmax(150px, .62fr);
  gap: 8px;
}
.profit-v2-customer-summary,
.profit-v2-overview-fact {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid #e4dfd3;
  border-radius: 8px;
  background: #fff;
}
.profit-v2-customer-summary { border-color: #d7e2d2; background: #f3f7f0; }
.profit-v2-customer-summary > .material-symbols-rounded,
.profit-v2-overview-fact > .material-symbols-rounded {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 7px;
  background: #edf2e9;
  color: #63805a;
  font-size: 16px;
}
.profit-v2-customer-summary > .material-symbols-rounded { background: #dfeadc; color: #526f49; }
.profit-v2-customer-summary > div,
.profit-v2-overview-fact > div { display: grid; min-width: 0; gap: 3px; }
.profit-v2-customer-summary small,
.profit-v2-overview-fact small { color: #989b92; font-size: 8px; font-weight: 700; letter-spacing: .05em; line-height: 1.2; }
.profit-v2-customer-summary strong { overflow: hidden; color: #40543a; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.profit-v2-customer-summary p { margin: 0; color: #6e786a; font-size: 10px; line-height: 1.2; }
.profit-v2-overview-fact strong {
  display: -webkit-box;
  overflow: hidden;
  color: #556250;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.profit-v2-item-section { display: grid; gap: 6px; }
.profit-v2-item-section > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 2px;
}
.profit-v2-item-section > header > div { display: grid; gap: 2px; }
.profit-v2-item-section > header span { color: #42553c; font-size: 14px; font-weight: 700; line-height: 1.25; }
.profit-v2-item-section > header strong { color: #778071; font-size: 11px; font-weight: 500; line-height: 1.25; }
.profit-v2-item-section > header b { padding: 4px 8px; border-radius: 99px; background: #e8efe4; color: #597052; font-size: 11px; white-space: nowrap; }
.profit-v2-item-table {
  overflow: hidden;
  border: 1px solid #e4dfd4;
  border-radius: 8px;
  background: #fff;
}
.profit-v2-item-row {
  display: grid;
  grid-template-columns: minmax(250px, .95fr) minmax(290px, 1.1fr) minmax(300px, 1.15fr);
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 10px 12px;
}
.profit-v2-item-row {
  border-top: 1px solid #eeeae1;
}
.profit-v2-item-row:first-child { border-top: 0; }
.profit-v2-item-name { display: grid; gap: 3px; min-width: 0; }
.profit-v2-item-name strong { color: #32452f; font-size: 14px; line-height: 1.4; }
.profit-v2-item-name > div { display: flex; align-items: center; gap: 8px; }
.profit-v2-item-name small { color: #727b6d; font-size: 12px; line-height: 1.3; }
.profit-v2-item-name span { padding: 2px 6px; border-radius: 5px; background: #e9e8e1; color: #626c5d; font-size: 11px; font-weight: 700; line-height: 1.2; }
.profit-v2-item-pricing { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; padding: 9px 11px; border-radius: 7px; background: #f7f6f1; }
.profit-v2-item-pricing > span { grid-column: 1 / -1; color: #6f786b; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.profit-v2-item-pricing p { display: grid; gap: 2px; margin: 0; }
.profit-v2-item-pricing p small { color: #747d70; font-size: 11px; line-height: 1.25; }
.profit-v2-item-pricing p strong { color: #34452f; font-size: 13px; font-weight: 700; line-height: 1.3; }
.profit-v2-item-pricing.cost { padding-right: 82px; background: #f2f6ef; }
.profit-v2-item-pricing.cost > em { position: absolute; top: 8px; right: 9px; padding: 3px 6px; border-radius: 99px; background: #dfeadc; color: #4d6847; font-size: 10px; font-style: normal; font-weight: 700; }
.profit-v2-item-pricing.cost.missing { background: #fff8ee; }
.profit-v2-item-pricing.cost.missing > em { background: #f3e7d6; color: #9a6939; }
.profit-v2-item-pricing.cost.missing p strong { color: #9a6939; }
.profit-v2-order-cost-note { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 7px; background: #f2f1ec; }
.profit-v2-order-cost-note > .material-symbols-rounded { color: #71806b; font-size: 16px; }
.profit-v2-order-cost-note > div { display: flex; align-items: center; min-width: 0; gap: 10px; }
.profit-v2-order-cost-note small { flex: 0 0 auto; color: #8e9389; font-size: 8px; font-weight: 700; line-height: 1.2; }
.profit-v2-order-cost-note strong { overflow: hidden; color: #596455; font-size: 9px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.profit-v2-order-cost-note p { flex: 0 0 auto; margin: 0; padding-left: 10px; border-left: 1px solid #d9d6ce; color: #787f73; font-size: 9px; line-height: 1.25; }
.profit-v2-detail-empty { padding: 16px; color: #999b92; font-size: 10px; text-align: center; }

/* 展开详情保持正文可读，只覆盖全局偏松的行高，不再通过极小字号换取高度。 */
#app .workspace .profit-v2-order-detail-body small { font-size: 12px !important; line-height: 1.3 !important; }
#app .workspace .profit-v2-order-detail-body p { font-size: 12px !important; line-height: 1.35 !important; }
#app .workspace .data-table .profit-v2-order-detail-body strong { font-size: 14px !important; line-height: 1.35 !important; }
#app .workspace .data-table .profit-v2-item-section > header strong { font-size: 11px !important; line-height: 1.25 !important; }
#app .workspace .data-table .profit-v2-item-pricing p strong { font-size: 13px !important; line-height: 1.3 !important; }

@media (max-width: 1180px) {
  .profit-v2-order-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profit-v2-item-row { grid-template-columns: minmax(220px, 1.2fr) repeat(2, minmax(210px, 1fr)); }
}
@media (max-width: 820px) {
  .profit-v2-order-detail > td > .profit-v2-order-detail-body { padding: 10px 14px 12px; }
  .profit-v2-order-overview { grid-template-columns: minmax(0, 1fr); }
  .profit-v2-item-row { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .profit-v2-order-cost-note > div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .profit-v2-order-cost-note p { padding-left: 0; border-left: 0; }
}

/* 四个订单工作台共用同一套列表；详情是辅助窄栏，主空间留给订单。 */
.fulfillment-workspace,
.production-workspace { grid-template-columns: minmax(0, 1fr) 400px; }
.fulfillment-queue,
.fulfillment-detail,
.production-orders,
.production-order-detail { min-width: 0; }
.fulfillment-detail,
.production-order-detail { width: 100%; max-width: 400px; justify-self: end; }

.unified-order-list .queue-date-group,
.unified-order-list .queue-date-group + .queue-date-group {
  overflow: hidden;
  margin: 10px 10px 0;
  padding: 0;
  border: 1px solid #e3ddd1;
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 4px 12px rgba(70, 82, 60, .03);
}
.unified-order-list .queue-date-group:last-of-type { margin-bottom: 10px; }
.unified-order-list .queue-date-summary,
.unified-order-list .queue-date-group.is-single-period .queue-date-summary {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 12px 7px 16px;
  border-bottom: 1px solid #dfe4d8;
  background: linear-gradient(90deg, #edf3e8, #f8f8f1 64%, #fbf8f0);
}
.unified-order-list .queue-date-summary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #6f8d59;
  content: "";
}
.unified-order-list .queue-date-title { display: grid; min-width: 0; gap: 0; }
#app .unified-order-list .queue-date-title > small {
  color: #7d8b78;
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.25;
}
#app .unified-order-list .queue-date-title > h3 {
  min-width: 0;
  margin: 0;
  color: #284328;
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.35;
}
.unified-order-list .queue-summary-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid rgba(118, 143, 98, .18);
  border-radius: 7px;
  background: rgba(255, 253, 249, .75);
}
.unified-order-list .queue-summary-meta span::before,
.unified-order-list .queue-summary-meta strong::before { display: none; }
#app .unified-order-list .queue-summary-meta span { color: #65735f; font-size: 13px !important; }
#app .unified-order-list .queue-summary-meta strong { color: #365a32; font-size: 15px !important; }
.unified-order-list .queue-period-summary {
  min-height: 42px;
  padding: 6px 11px;
  border-bottom: 1px solid #e8e3d8;
  background: #faf8f2;
}
.unified-order-list .queue-column-labels {
  min-height: 35px;
  padding: 0 11px;
  border-bottom: 1px solid #e9e3d8;
  background: #fdfbf6;
}
.unified-order-list .queue-order-row,
.unified-order-list .queue-order-row.is-selected,
.unified-order-list .queue-order-row.is-batch-selected {
  min-height: 76px;
  margin: 0;
  padding: 8px 11px;
  border-width: 1px 0 0;
  border-radius: 0;
}
.unified-order-list .queue-order-row:hover { background: #f8faf5; box-shadow: inset 3px 0 0 #a6ba96; }
.queue-person .queue-person-avatar {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border: 1px solid rgba(151, 119, 66, .12);
  background: #f2dfbe;
  color: #91662e;
  font-size: 13px;
  object-fit: cover;
}
.queue-person .queue-person-copy { gap: 2px; }
#app .queue-person .queue-wechat-nickname {
  color: #70816a;
  font-size: 9px !important;
  font-weight: 600;
  line-height: 1.15;
}
#app .queue-person .queue-person-phone { line-height: 1.15; }

.order-supply-toolbar,
.order-supply-filter,
.order-supply-result { display: flex; align-items: center; }
.order-supply-toolbar {
  gap: 13px;
  min-height: 58px;
  padding: 8px 11px;
  border-bottom: 1px solid #e4ddd0;
  background: #f7f8f2;
}
.order-supply-filter {
  flex: 1 1 300px;
  max-width: 430px;
  min-width: 230px;
  gap: 9px;
  padding: 6px 9px;
  border: 1px solid #d6dfcd;
  border-radius: 8px;
  background: #fffdf9;
}
.order-supply-filter > .material-symbols-rounded { flex: 0 0 auto; color: #587548; font-size: 18px; }
.order-supply-filter > span:not(.material-symbols-rounded) { display: grid; flex: 1; min-width: 0; gap: 0; }
#app .order-supply-filter small,
#app .order-supply-result small { color: #8a9485; font-size: 11px !important; font-weight: 600; line-height: 1.25; }
#app .order-supply-filter select {
  width: 100%;
  height: 24px;
  padding: 0 24px 0 0;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  color: #345033;
  font-size: 14px !important;
  font-weight: 700;
  cursor: pointer;
}
.order-supply-result {
  display: grid;
  min-width: 175px;
  gap: 0;
  padding-left: 13px;
  border-left: 1px solid #ddd8cc;
}
.order-supply-result b { overflow: hidden; color: #3b5338; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.order-supply-result span { color: #71806d; font-size: 12px; white-space: nowrap; }

@media (max-width: 1260px) {
  .fulfillment-workspace { grid-template-columns: minmax(0, 1fr) 400px; }
}
@media (max-width: 1100px) {
  .production-workspace { grid-template-columns: minmax(0, 1fr); }
  .production-order-detail { max-width: none; justify-self: stretch; }
}
@media (max-width: 1040px) {
  .fulfillment-workspace { grid-template-columns: minmax(0, 1fr); }
  .fulfillment-detail { max-width: none; justify-self: stretch; }
}
@media (max-width: 760px) {
  .order-supply-toolbar { align-items: stretch; flex-direction: column; gap: 7px; }
  .order-supply-filter { width: 100%; max-width: none; min-width: 0; }
  .order-supply-result { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; width: 100%; padding: 6px 1px 0; border-top: 1px solid #e3ddd2; border-left: 0; }
  .unified-order-list .queue-date-summary { padding-right: 9px; padding-left: 14px; }
  .unified-order-list .queue-summary-meta { padding: 4px 6px; }
  .unified-order-list .queue-summary-meta strong { display: none; }
}

/* Loyal-customer settings use progressive disclosure and keep each job in its own section. */
#module:has(> .loyal-customer-page),
#module:has(> .loyal-customer-list-page) {
  width: 100%;
  max-width: none;
  margin: 0;
}
.loyal-customer-page {
  width: 100%;
  margin: 0;
  padding: 30px;
}
.loyal-customer-page > .module-head {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ebe4d8;
}
.loyal-assignment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border: 1px solid #d9e5d2;
  border-radius: 13px;
  background: #f3f8ef;
}
.loyal-assignment-card h3,
.loyal-section-heading h3 {
  margin: 2px 0 0;
  color: #344a32;
  font-size: 18px;
}
.loyal-assignment-card p,
.loyal-section-heading p,
.loyal-config-actions p {
  margin: 5px 0 0;
  color: #758071;
  font-size: 13px;
}
.loyal-assignment-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}
.loyal-section-kicker {
  color: #6f8b60;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.loyal-config-form {
  overflow: hidden;
  border: 1px solid #e5ded2;
  border-radius: 13px;
  background: #fffdf9;
}
.loyal-config-section {
  padding: 22px;
  border-bottom: 1px solid #ece5d9;
}
.loyal-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.loyal-config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.loyal-config-grid .form-field.wide { grid-column: 1 / -1; }
.loyal-bonus-heading { align-items: flex-end; }
.loyal-bonus-toggle {
  flex: 0 0 220px;
}
.loyal-bonus-toggle .form-field { gap: 5px; }
.loyal-bonus-details {
  padding-top: 18px;
  border-top: 1px dashed #e6dfd3;
}
.loyal-bonus-details[hidden],
.loyal-conditional-field[hidden] {
  display: none !important;
}
.loyal-conditional-field .form-field { height: 100%; }
.loyal-source-field {
  margin: 18px 0 0;
  padding: 0;
  border: 0;
}
.loyal-source-field legend {
  margin-bottom: 8px;
  color: #3d4d44;
  font-size: 13px;
  font-weight: 700;
}
.loyal-source-field > small {
  display: block;
  margin-top: 8px;
  color: #8b9589;
  font-size: 11px;
}
.loyal-source-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.loyal-source-options label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #e0ddd3;
  border-radius: 8px;
  background: #fff;
  color: #53604f;
  cursor: pointer;
}
.loyal-source-options label:has(input:checked) {
  border-color: #abc39b;
  background: #eef5e9;
  color: #3d6134;
}
.loyal-source-options input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #597947;
}
.loyal-config-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  background: #f8f5ed;
}
.loyal-config-actions p { margin: 0; }
.loyal-config-actions .primary { min-width: 132px; }
.loyal-benefits-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e8e1d5;
}
.loyal-benefits-section .loyal-section-heading { align-items: center; }
.loyal-benefits-section .data-table-wrap { background: #fff; }
.loyal-benefits-section .empty-cell { padding: 46px 24px !important; }

.loyal-customer-list-page {
  width: 100%;
  margin: 0;
  padding: 30px;
}
.loyal-customer-list-page > .module-head {
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebe4d8;
}
.loyal-customer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.loyal-customer-summary > div {
  display: grid;
  gap: 2px;
  padding: 15px 17px;
  border: 1px solid #e3e4d9;
  border-radius: 11px;
  background: #fafbf6;
}
.loyal-customer-summary span { color: #71806d; font-size: 12px; font-weight: 700; }
.loyal-customer-summary strong { color: #344d31; font-size: 25px; line-height: 1.15; }
.loyal-customer-summary small { color: #92998e; font-size: 11px; }
.loyal-customer-toolbar {
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  padding: 12px 14px;
  border: 1px solid #e5e0d6;
  border-bottom: 0;
  border-radius: 11px 11px 0 0;
  background: #f8f8f3;
}
.loyal-customer-toolbar .filter-tabs { flex: 1 1 auto; }
.loyal-customer-toolbar .table-tools {
  display: flex;
  flex: 0 1 440px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
#app .loyal-customer-toolbar input {
  width: min(330px, 100%);
  min-width: 220px;
}
.loyal-batch-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 14px;
  border: 1px solid #d5e1cd;
  border-bottom: 0;
  background: #eff5eb;
}
.loyal-batch-context > div:first-child { display: grid; gap: 1px; }
.loyal-batch-context strong { color: #3e5938; font-size: 13px; }
.loyal-batch-context small { color: #798776; font-size: 11px; }
.loyal-batch-context > div:last-child { display: flex; align-items: center; gap: 9px; }
.loyal-customer-list-page .data-table-wrap {
  border-radius: 0 0 11px 11px;
  background: #fff;
}
.loyal-customer-table .selection-cell {
  width: 44px;
  padding-right: 8px;
  text-align: center;
}
.loyal-customer-table .selection-cell input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #587846;
}
.loyal-customer-table td > small {
  display: block;
  margin-top: 4px;
  color: #8a9487;
  font-size: 11px;
}
.loyal-customer-table .customer-name { min-width: 190px; }
.loyal-customer-table .row-action button { min-width: 88px; }

@media (min-width: 1600px) {
  .loyal-config-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loyal-config-grid .form-field.wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .loyal-customer-page { padding: 18px; }
  .loyal-assignment-card,
  .loyal-section-heading,
  .loyal-config-actions { align-items: stretch; flex-direction: column; }
  .loyal-assignment-actions { width: 100%; }
  .loyal-assignment-actions button { flex: 1; }
  .loyal-config-section { padding: 18px; }
  .loyal-config-grid { grid-template-columns: 1fr; }
  .loyal-config-grid .form-field.wide { grid-column: auto; }
  .loyal-bonus-toggle { width: 100%; flex-basis: auto; }
  .loyal-config-actions .primary,
  .loyal-benefits-section .primary { width: 100%; }
  .loyal-customer-list-page { padding: 18px; }
  .loyal-customer-list-page > .module-head,
  .loyal-customer-toolbar,
  .loyal-customer-toolbar .table-tools { align-items: stretch; flex-direction: column; }
  .loyal-customer-summary { grid-template-columns: 1fr; }
  .loyal-customer-toolbar .table-tools { width: 100%; flex-basis: auto; }
  #app .loyal-customer-toolbar input { width: 100%; min-width: 0; }
  .loyal-batch-context { align-items: stretch; flex-direction: column; }
  .loyal-batch-context > div:last-child { width: 100%; }
  .loyal-batch-context button { flex: 1; }
}

.variant-stock-cell { display: block !important; min-width: 190px; }
.variant-stock-cell > b { display: block; margin-bottom: 5px; color: #60705d; font-size: 11px; }
.variant-stock-list { display: grid; gap: 3px; }
.variant-stock-row { display: grid; grid-template-columns: minmax(60px, 1fr) auto 23px; align-items: center; gap: 5px; min-height: 24px; }
.variant-stock-row > span { max-width: 100px; overflow: hidden; color: #657060; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.variant-stock-row > b { font-size: 12px; }
.variant-stock-row.is-low > b { color: #b06242; }
.variant-stock-row .inline-edit-action { width: 21px; height: 21px; }
.product-reference-table { min-width: 1480px; }
.product-reference-table .product-commercial-heading,
.product-reference-table .product-commercial-column { width: 680px; min-width: 680px; padding: 0; border-right: 1px solid #eee8dc; border-left: 1px solid #eee8dc; }
.product-commercial-grid { display: grid; grid-template-columns: minmax(92px, .85fr) minmax(118px, 1fr) minmax(118px, 1fr) minmax(150px, 1.18fr); align-items: center; column-gap: 20px; }
.product-commercial-heading .product-commercial-grid { min-height: 43px; padding: 0 24px; }
.product-commercial-heading span { color: #3d4a3c; font-size: 12px; font-weight: 700; }
.product-commercial-cell { display: grid; min-width: 0; }
.product-commercial-cell .product-commercial-grid { padding-right: 24px; padding-left: 24px; }
.commercial-option-row { min-height: 38px; }
.commercial-option-row + .commercial-option-row { border-top: 1px solid #f1ece3; }
.commercial-option-row > strong { overflow: hidden; color: #40533e; font-family: system-ui, sans-serif; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.commercial-option-row > b,
.product-commercial-grid.is-default > b { color: #294333; font-family: "Noto Serif SC", serif; font-size: 12px; font-weight: 700; white-space: nowrap; }
.commercial-option-row > b.member-price,
.product-commercial-grid.is-default > b.member-price { color: #865839; }
.commercial-option-row > b.member-price { display: inline-flex; align-items: center; gap: 6px; }
.commercial-option-row > b.is-inherited { color: #8b8172; font-family: system-ui, sans-serif; font-size: 10px; font-weight: 500; }
.commercial-option-row .inline-edit-action { width: 21px !important; height: 21px !important; }
.variant-price-edit-action { flex: 0 0 auto; width: 22px !important; height: 22px !important; margin: 0 !important; }
.product-commercial-grid.is-default { min-height: 68px; padding: 0 24px; }
.product-commercial-grid.is-default > span { color: #738071; font-size: 11px; }
@media(max-width:1100px){.product-reference-table .product-commercial-heading,.product-reference-table .product-commercial-column{width:620px;min-width:620px}.product-commercial-grid{column-gap:14px;grid-template-columns:82px 112px 112px 145px}.product-commercial-heading .product-commercial-grid,.product-commercial-cell .product-commercial-grid{padding-right:18px;padding-left:18px}}
