/* 工作台与业务页公共框架作用域，不影响登录和手机页面。 */
.wb-app {
  --wb-brand: #8f3742; --wb-brand-dark: #702b34; --wb-brand-light: #f8ecec;
  --wb-bg: #f7f4ef; --wb-card: #fff; --wb-text: #26221f; --wb-muted: #77716b;
  --wb-line: #ede7e1; --wb-gold: #b99563; --wb-sidebar: 220px;
  color: var(--wb-text); background: var(--wb-bg); min-height: 100vh;
  font: 14px/1.5 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.wb-app *, .wb-app *::before, .wb-app *::after { box-sizing: border-box; }
.wb-app h1, .wb-app h2, .wb-app p, .wb-app blockquote { margin: 0; }
.wb-app a { color: inherit; text-decoration: none; }
.wb-app button, .wb-app input { font: inherit; }
.wb-app button { cursor: pointer; }
.wb-app button:disabled { cursor: not-allowed; opacity: .5; }
.wb-app :is(a,button,input):focus-visible { outline: 2px solid var(--wb-brand); outline-offset: 4px; }
.wb-app .wb-icon { width: 22px; height: 22px; flex: 0 0 22px; display: inline-block; vertical-align: middle; }
.wb-app .wb-skip { position: fixed; top: -70px; left: 240px; padding: 12px 24px; z-index: 100; background: white; }
.wb-app .wb-skip:focus { top: 8px; }
.wb-app h1, .wb-app h2, .wb-brand strong, .wb-module-card strong, .wb-feature strong { font-family:var(--restaurant-font); }
.wb-sidebar { width: var(--wb-sidebar); position: fixed; inset: 0 auto 0 0; background: #faf7f2; border-right: 1px solid var(--wb-line); padding: 20px 16px 12px; z-index: 30; overflow-y: auto; display: flex; flex-direction: column; }
.wb-brand { display: flex; align-items: center; gap: 12px; padding: 2px 8px 24px; }
.wb-brand-mark { width: 45px; height: 45px; flex: 0 0 45px; display: grid; place-items: center; color: white; background: var(--wb-brand); border-radius: 13px; }
.wb-brand .wb-icon { width: 30px; height: 30px; }
.wb-brand strong { display: block; font-size: 23px; white-space: nowrap; letter-spacing: .02em; }
.wb-brand small { font-size: 11px; display: block; margin-top: 3px; color: var(--wb-muted); letter-spacing: .08em; }
.wb-nav-item { display: flex; align-items: center; gap: 15px; min-height: 40px; padding: 8px 13px; margin: 2px 0; border-radius: 8px; }
.wb-nav-item .wb-icon { width: 21px; height: 21px; color: var(--wb-brand); }
.wb-nav-item:hover { background: #f1e9e3; }
.wb-nav-item.selected { color: var(--wb-brand-dark); background: #efdfde; font-weight: 600; }
.wb-nav-label { color: var(--wb-muted); font-size: 11px; padding: 15px 13px 5px; letter-spacing: .1em; }
.wb-nav-divider { margin-top: 12px; border-top: 1px solid var(--wb-line); }
.wb-sidebar-foot { padding: 22px 12px 4px; margin-top: auto; color: #8b8179; font-size: 12px; }
.wb-sidebar-foot small { display: block; margin-top: 4px; font-size: 11px; }
.wb-body { margin-left: var(--wb-sidebar); min-width: 0; }
.wb-header { display: flex; align-items: center; gap: 18px; justify-content: space-between; height: 92px; padding: 0 28px; }
.wb-store { min-width: 0; }
.wb-store > strong { display: block; font-size: 20px; font-family:var(--restaurant-font); max-width: 380px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-store small { display: block; margin-top: 5px; color: var(--wb-muted); font-size: 12px; }
.wb-store small span { margin: 0 8px; color: #c9bfb5; }
.wb-header-tools { display: flex; align-items: center; gap: 20px; }
.wb-search-wrap { position: relative; }
.wb-search { display: flex; align-items: center; gap: 9px; padding: 0 13px; background: #eeeae5; border: 1px solid transparent; height: 38px; border-radius: 22px; width: 280px; color: var(--wb-muted); }
.wb-search:focus-within { border-color: var(--wb-brand); background: white; }
.wb-search > .wb-icon { width: 18px; height: 18px; flex-basis: 18px; }
.wb-search input { width: 100%; min-width: 0; outline: none; border: none; background: none; font-size: 12px; color: var(--wb-text); }
.wb-search-results, .wb-account-popover { position: absolute; top: calc(100% + 9px); right: 0; background: white; border: 1px solid var(--wb-line); border-radius: 10px; padding: 8px; box-shadow: 0 8px 26px #26221f12; z-index: 40; }
.wb-search-results { width: 350px; max-height: 440px; overflow: auto; }
.wb-search-results a { display: flex; align-items: center; gap: 12px; padding: 11px; border-radius: 6px; }
.wb-search-results a:hover, .wb-account-popover :is(a,button):hover { background: var(--wb-bg); }
.wb-search-results small { display: block; color: var(--wb-muted); font-size: 11px; }
.wb-search-results a > .wb-icon:last-child { margin-left: auto; width: 16px; }
.wb-search-results p { padding: 16px; font-size: 13px; color: var(--wb-muted); }
.wb-icon-button { border: 0; color: var(--wb-brand); background: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 5px; border-radius: 6px; }
.wb-user-menu { position: relative; padding-left: 18px; border-left: 1px solid var(--wb-line); }
.wb-user-button { display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; text-align: left; color: var(--wb-text); }
.wb-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: #eadbd2; border-radius: 50%; color: var(--wb-brand-dark); }
.wb-user-button strong { font-size: 13px; font-weight: 600; display: block; }
.wb-user-button small { font-size: 11px; color: var(--wb-muted); }
.wb-user-button > .wb-icon { width: 16px; margin-left: 8px; }
.wb-account-popover { width: 185px; }
.wb-account-popover a, .wb-account-popover button { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--wb-text); background: none; border: 0; padding: 12px; border-radius: 6px; }
.wb-auth-links { display: flex; gap: 10px; }
.wb-main { padding: 0 28px; }
/* 旧业务内容放入右侧区域，侧栏不被全屏背景和原页面边距覆盖。 */
.wb-business { min-width: 0; }
.wb-business .restaurant-bg { display: none; }
.wb-business :is(.module-page,.private-page,.ops-page,.appearance-page,.table-pos) { padding: 0; min-height: 0; }
.wb-business :is(.module-header,.module-shell,.private-header,.private-shell,.ops-header,.ops-shell,.appearance-header,.appearance-intro,.appearance-grid) { max-width: none; }
.wb-business :is(.module-header,.private-header,.ops-header) { margin-bottom: 20px; }
.wb-business :is(.module-header,.private-header,.ops-header) > :is(.back-link,.session-panel) { display: none; }
.wb-business .module-content { min-width: 0; overflow-x: auto; }
.wb-business .module-content button { white-space: nowrap; }
.wb-home-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; align-items: start; }
.wb-home-main, .wb-home-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wb-panel { border: 1px solid var(--wb-line); background: var(--wb-card); border-radius: 14px; }
.wb-hero { position: relative; overflow: hidden; border-radius: 14px; height: clamp(250px,18.5vw,316px); background: #35110e; }
.wb-hero > img, .wb-core-banner > img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.wb-hero-content { position: absolute; inset: 0; padding: 40px 36px; color: #fff8ed; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.wb-hero h1 { font-size: clamp(27px,2.4vw,40px); line-height: 1.45; font-weight: 600; letter-spacing: .015em; text-shadow: 0 1px 5px #31120f88; }
.wb-hero p { font-size: 12px; line-height: 1.95; color: #f0dfd1; margin: 15px 0 22px; max-width: 530px; text-shadow: 0 1px 4px #31120f; }
.wb-hero-actions { display: flex; gap: 14px; }
.wb-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 7px; border: 1px solid var(--wb-line); background: white; min-height: 38px; padding: 8px 19px; white-space: nowrap; font-size: 13px; }
.wb-button:hover { filter: brightness(.96); }
.wb-button.wb-gold { color: #442c16; background: #f5d69a; border-color: #f5d69a; border-radius: 24px; min-width: 116px; }
.wb-button.wb-on-dark { color: #fff8ed; border-color: #cbb4a7; background: #ffffff13; border-radius: 24px; min-width: 116px; }
.wb-button.wb-primary { color: white; background: var(--wb-brand); border-color: var(--wb-brand); }
.wb-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.wb-stat { display: flex; align-items: flex-start; gap: 12px; padding: 17px 15px; border: 1px solid var(--wb-line); border-radius: 12px; background: #fff; min-width: 0; }
.wb-stat-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; background: var(--wb-brand-light); color: var(--wb-brand); border-radius: 9px; }
.wb-stat > div { min-width: 0; }
.wb-stat div > span { color: var(--wb-muted); font-size: 12px; display: block; white-space: nowrap; }
.wb-stat strong { display: block; font-size: 23px; font-weight: 600; margin-top: 3px; font-variant-numeric: tabular-nums; line-height: 1.45; overflow-wrap: anywhere; }
.wb-stat small { color: var(--wb-muted); font-size: 10px; display: block; margin-top: 5px; }
.wb-quick { padding: 16px; }
.wb-app h2 { font-size: 18px; font-weight: 600; line-height: 1.5; }
.wb-quick-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.wb-quick-grid a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border: 1px solid var(--wb-line); border-radius: 9px; font-size: 12px; white-space: nowrap; }
.wb-quick-grid .wb-icon { color: var(--wb-brand); width: 20px; height: 20px; flex-basis: 20px; }
.wb-quick-grid a:hover, .wb-module-card:hover, .wb-extension a:hover { border-color: #c6979c; background: #fcf8f5; }
.wb-core { padding: 18px; }
.wb-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.wb-section-heading > span { font-size: 12px; color: var(--wb-muted); }
.wb-section-heading h2 { display: flex; align-items: center; gap: 7px; }
.wb-section-heading h2 .wb-icon { width: 17px; height: 17px; flex-basis: 17px; color: var(--wb-brand); }
.wb-section-heading > a { font-size: 11px; display: inline-flex; align-items: center; gap: 2px; color: var(--wb-muted); white-space: nowrap; }
.wb-section-heading > a .wb-icon { width: 13px; height: 13px; flex-basis: 13px; }
.wb-core-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.wb-module-card { display: flex; align-items: center; gap: 18px; padding: 19px 20px; border: 1px solid var(--wb-line); border-radius: 10px; min-width: 0; transition: background .16s, border-color .16s; }
.wb-module-card > .wb-icon { color: var(--wb-brand); width: 28px; height: 28px; flex-basis: 28px; }
.wb-module-card strong { font-size: 18px; font-weight: 600; display: block; }
.wb-module-card small { font-size: 12px; color: var(--wb-muted); margin-top: 5px; display: block; }
.wb-module-card .wb-module-arrow { width: 16px; height: 16px; flex-basis: 16px; margin-left: auto; display: none; }
.wb-extension { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--wb-line); }
.wb-extension > p { color: var(--wb-muted); letter-spacing: .1em; font-size: 11px; margin-bottom: 9px; }
.wb-extension-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; }
.wb-extension a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; padding: 12px 5px; border: 1px solid var(--wb-line); border-radius: 9px; white-space: nowrap; font-size: 12px; }
.wb-extension .wb-icon { color: var(--wb-brand); }
.wb-day { padding: 19px 18px 15px; }
.wb-day > div { display: flex; justify-content: space-between; font-size: 12px; color: var(--wb-muted); }
.wb-day-caption { padding: 20px 3px; font-size: 12px; color: var(--wb-gold); letter-spacing: .2em; }
.wb-day blockquote { background: #f9f5ee; padding: 23px 15px; color: #86543b; font-family:var(--restaurant-font); font-size: 16px; line-height: 1.9; border-radius: 8px; }
.wb-day cite { display: block; text-align: right; font-style: normal; font-size: 12px; margin-top: 11px; color: #97755f; }
.wb-tasks, .wb-orders { padding: 15px 16px; }
.wb-tasks .wb-section-heading { margin-bottom: 4px; }
.wb-tasks > a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 12px; }
.wb-tasks > a strong { margin-left: auto; color: var(--wb-brand); font-size: 15px; font-weight: 600; }
.wb-tasks > a > .wb-icon { width: 12px; height: 12px; flex-basis: 12px; color: var(--wb-muted); }
.wb-data-note { font-size: 10px; color: var(--wb-muted); padding-top: 7px; }
.wb-order { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid #f3efec; }
.wb-order > span { min-width: 0; }
.wb-order strong { display: block; font-size: 12px; font-weight: 500; }
.wb-order small { display: block; color: var(--wb-muted); font-size: 11px; margin-top: 3px; }
.wb-order-middle { flex: 1; padding-left: 6px; }
.wb-order-middle strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 110px; }
.wb-status { font-size: 10px; white-space: nowrap; border-radius: 6px; padding: 6px 8px; color: var(--wb-brand); background: var(--wb-brand-light); }
.wb-status.paid { color: #28744a; background: #eaf5ed; }
.wb-status.confirmed { color: #32659b; background: #edf3fc; }
.wb-status.served { color: #956313; background: #fff5e2; }
.wb-empty { padding: 23px 0; color: var(--wb-muted); text-align: center; }
.wb-empty p { font-size: 12px; margin: 9px 0; }
.wb-empty a { display: inline-flex; gap: 5px; align-items: center; color: var(--wb-brand); font-size: 12px; }
.wb-empty a .wb-icon { width: 14px; height: 14px; }
.wb-feature { position: relative; height: 130px; border-radius: 12px; overflow: hidden; background: #f0e7da; }
.wb-feature img { position: absolute; width: 58%; height: 100%; right: 0; object-fit: cover; }
.wb-feature > span { position: relative; padding: 18px 15px; display: block; width: 58%; background: #f0e7da; height: 100%; border-radius: 0 50% 50% 0; }
.wb-feature strong { font-size: 16px; line-height: 1.6; font-weight: 500; }
.wb-feature small { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; background: var(--wb-brand); color: white; border-radius: 20px; margin-top: 9px; font-size: 10px; }
.wb-feature .wb-icon { width: 12px; height: 12px; }
.wb-notice { display: flex; align-items: center; gap: 9px; padding: 12px 16px; border-radius: 8px; background: #f1e9df; color: #75493b; font-size: 12px; }
.wb-notice a, .wb-notice button { margin-left: auto; font-weight: 600; color: var(--wb-brand); white-space: nowrap; border: 0; background: none; }
.wb-notice.wb-error { background: #fff0ed; }
.wb-footer { display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; font-size: 11px; color: var(--wb-muted); }
.wb-footer i { padding: 0 10px; font-style: normal; color: #c6b9ad; }
.wb-core-banner { height: 134px; overflow: hidden; border-radius: 12px; position: relative; background: #33170f; margin-bottom: 18px; }
.wb-core-banner img { object-position: center 46%; filter: brightness(.7); }
.wb-core-banner > div { position: absolute; inset: 0 auto 0 32px; color: #fff8ec; display: flex; flex-direction: column; justify-content: center; }
.wb-core-banner h1 { font-size: 30px; line-height: 1.5; font-weight: 500; }
.wb-core-banner p { color: #eddfd2; font-size: 13px; margin-top: 10px; }
.wb-core-banner > span { position: absolute; right: 32px; top: 34px; color: #fff8ec; font-family:var(--restaurant-font); font-size: 17px; line-height: 1.8; text-align: right; }
.wb-core.expanded { padding: 28px 32px 32px; }
.wb-core.expanded .wb-eyebrow { color: var(--wb-gold); font-size: 12px; margin-bottom: 8px; letter-spacing: .15em; }
.wb-core.expanded h2 { font-size: 30px; }
.wb-core.expanded .wb-section-heading { margin-bottom: 28px; }
.wb-core.expanded .wb-core-grid { gap: 16px 20px; }
.wb-core.expanded .wb-module-card { position: relative; min-height: 174px; padding: 24px 28px; flex-direction: column; align-items: flex-start; gap: 20px; }
.wb-core.expanded .wb-module-card strong { font-size: 24px; }
.wb-core.expanded .wb-module-card small { font-size: 14px; margin-top: 8px; }
.wb-core.expanded .wb-module-arrow { position: absolute; display: block; right: 22px; top: 50%; margin-top: -10px; }
.wb-core.expanded .wb-extension { margin-top: 24px; padding-top: 17px; }
.wb-core.expanded .wb-extension-grid { gap: 14px; }
.wb-core.expanded .wb-extension a { min-height: 96px; gap: 8px; font-size: 17px; font-family:var(--restaurant-font); }
.wb-menu-toggle, .wb-sidebar-close, .wb-scrim { display: none; }
/* 按参考图收紧模块节奏，让桌面首屏保留完整经营概览。 */
.wb-nav-item { font-size: 16px; }
.wb-stat { padding-top: 15px; padding-bottom: 15px; }
.wb-quick { padding: 14px 16px; }
.wb-quick-grid a { height: 48px; }
.wb-module-card { padding-top: 17px; padding-bottom: 17px; }
.wb-tasks { padding: 10px 16px; }
.wb-tasks > a { padding: 4px 0; }
.wb-orders .wb-section-heading { margin-bottom: 10px; }
.wb-order { padding: 8px 0; }
.wb-order small { margin-top: 1px; }
.wb-core-banner::after { content: ''; position: absolute; inset: 0; background: #1f10084d; pointer-events: none; }
.wb-core-banner > div, .wb-core-banner > span { z-index: 1; }
.wb-core.expanded { padding-bottom: 28px; }
.wb-core.expanded .wb-section-heading { margin-bottom: 20px; }
.wb-core.expanded .wb-module-card { min-height: 164px; gap: 16px; }
.wb-core.expanded .wb-module-arrow { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #f7f2ed; margin-top: -15px; }
.wb-core.expanded .wb-extension { margin-top: 20px; }
/* 对齐桌面密度，同时允许纵向滚动，不缩小文字塞满屏幕。 */
@media (max-height: 850px) and (min-width: 1001px) { .wb-nav-item { min-height: 33px; padding-top: 5px; padding-bottom: 5px; font-size: 13px; }.wb-brand { padding-bottom: 14px; }.wb-nav-label { padding-top: 9px; }.wb-sidebar-foot { padding-top: 12px; } }
@media (max-width: 1500px) { .wb-app { --wb-sidebar: 198px; }.wb-header { padding: 0 22px; height: 82px; }.wb-main { padding: 0 22px; }.wb-home-grid { grid-template-columns: minmax(0,1fr) 284px; gap: 16px; }.wb-brand { gap: 8px; padding-left: 2px; }.wb-brand strong { font-size: 21px; }.wb-stat { padding: 14px 10px; gap: 9px; }.wb-stat-icon { width: 32px; height: 32px; flex-basis: 32px; }.wb-stat strong { font-size: 20px; }.wb-stat div > span { font-size: 11px; }.wb-module-card { padding: 16px 13px; gap: 12px; }.wb-module-card strong { font-size: 17px; }.wb-module-card small { font-size: 11px; }.wb-quick-grid a { font-size: 11px; gap: 6px; }.wb-hero-content { padding: 28px; }.wb-day blockquote { font-size: 14px; }.wb-core.expanded .wb-module-card { min-height: 158px; }.wb-header-tools { gap: 13px; }.wb-search { width: 250px; } }
@media (max-width: 1200px) { .wb-app { --wb-sidebar: 185px; }.wb-home-grid { grid-template-columns: minmax(0,1fr); }.wb-home-rail { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }.wb-feature { display: none; }.wb-search { width: 230px; }.wb-header-tools { gap: 8px; }.wb-user-button > span:not(.wb-avatar) { display: none; }.wb-hero { height: 280px; }.wb-brand strong { font-size: 19px; }.wb-brand-mark { width: 38px; height: 38px; flex-basis: 38px; }.wb-core-banner > span { display: none; } }
@media (max-width: 1000px) { .wb-sidebar { transform: translateX(-100%); width: 230px; transition: transform .18s; }.wb-sidebar.is-open { transform: translateX(0); }.wb-body { margin-left: 0; }.wb-menu-toggle { display: inline-flex; }.wb-sidebar-close { position: absolute; top: 3px; right: 3px; display: flex; }.wb-scrim { display: block; position: fixed; inset: 0; z-index: 25; background: #26221f66; border: 0; }.wb-header { height: 80px; gap: 10px; }.wb-store { margin-right: auto; }.wb-store strong { font-size: 17px; }.wb-store small { font-size: 10px; }.wb-footer { gap: 15px; }.wb-core.expanded .wb-module-card { padding: 22px; } }
@media (max-width: 700px) { .wb-header { flex-wrap: wrap; height: auto; padding: 16px; gap: 12px; }.wb-header-tools { width: 100%; justify-content: space-between; }.wb-search-wrap { flex: 1; }.wb-search { width: 100%; }.wb-search-results { width: min(350px,90vw); left: 0; right: auto; }.wb-user-menu { padding-left: 8px; }.wb-main { padding: 0 14px; }.wb-hero { height: 270px; }.wb-hero > img { object-position: 35% center; filter: brightness(.68); }.wb-hero-content { padding: 25px 20px; }.wb-hero h1 { font-size: 28px; }.wb-hero p { max-width: 280px; font-size: 11px; }.wb-wide-only { display: none; }.wb-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }.wb-stat small { font-size: 10px; }.wb-stat strong { font-size: 21px; }.wb-quick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.wb-core-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.wb-module-card { padding: 16px 10px; gap: 9px; }.wb-module-card > .wb-icon { width: 22px; flex-basis: 22px; }.wb-module-card strong { font-size: 16px; }.wb-module-card small { font-size: 10px; }.wb-section-heading > span { display: none; }.wb-extension-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.wb-home-rail { display: flex; }.wb-day { display: none; }.wb-feature { display: block; }.wb-footer { padding: 20px 16px; font-size: 10px; }.wb-footer i { padding: 0 3px; }.wb-core-banner { height: 160px; }.wb-core-banner > div { left: 20px; right: 20px; }.wb-core-banner h1 { font-size: 25px; }.wb-core-banner p { font-size: 11px; }.wb-core.expanded { padding: 22px 16px; }.wb-core.expanded h2 { font-size: 26px; }.wb-core.expanded .wb-module-card { min-height: 155px; padding: 18px 14px; }.wb-core.expanded .wb-module-card strong { font-size: 19px; }.wb-core.expanded .wb-module-card small { font-size: 11px; }.wb-core.expanded .wb-module-arrow { right: 10px; }.wb-core.expanded .wb-extension a { font-size: 14px; }.wb-notice { flex-wrap: wrap; }.wb-auth-links .wb-button { padding: 5px 11px; }.wb-skip { left: 12px; } }
@media (prefers-reduced-motion: reduce) { .wb-app * { transition: none; animation: none; scroll-behavior: auto; } }
/* 隐藏抽屉时同步移出可访问树，避免键盘焦点落到屏幕外。 */
@media (max-width: 1000px) { .wb-sidebar { visibility: hidden; }.wb-sidebar.is-open { visibility: visible; } }

/* 门店业务页使用独立命名空间，保留收银和其他既有页面的样式。 */
.wb-app:has(.biz-page) {
  --wb-sidebar: 230px;
  --wb-bg: #f6f3ef;
}
.wb-app:has(.biz-page) .wb-header {
  height: 84px;
  background: #fbf9f6;
  border-bottom: 1px solid #eee8e2;
}
.wb-app:has(.biz-page) .wb-nav-item.selected {
  color: #fff;
  background: #8f303d;
}
.wb-app:has(.biz-page) .wb-nav-item.selected .wb-icon {
  color: #fff;
}
.biz-page {
  min-width: 0;
  color: #282521;
  padding-bottom: 4px;
}
.biz-page h3,
.biz-dialog h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.biz-page small {
  font-size: 12px;
}
.biz-page button,
.biz-page input,
.biz-page select,
.biz-dialog input,
.biz-dialog select,
.biz-dialog button {
  font: inherit;
}
.biz-page :is(input, select),
.biz-dialog :is(input, select) {
  height: 36px;
  border: 1px solid #e6e1db;
  background: #fff;
  border-radius: 9px;
  padding: 0 12px;
  color: #3c3935;
  min-width: 0;
  font-size: 12px;
}
.biz-page :is(input, select):focus-visible,
.biz-dialog :is(input, select, button):focus-visible {
  outline: 2px solid #923341;
  outline-offset: 3px;
}
.biz-page select {
  max-width: 180px;
}
.biz-page input::placeholder,
.biz-dialog input::placeholder {
  color: #92908c;
}
.biz-hero {
  height: 126px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px;
  margin: 0 -28px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f8f5ef;
}
.biz-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("/images/workbench/dining-banner.png") center 48% / cover
    no-repeat;
  opacity: 0.82;
}
.biz-hero h1 {
  font-size: 31px;
  font-weight: 650;
  line-height: 1.3;
  margin-bottom: 6px;
}
.biz-hero p {
  color: #726d67;
  font-size: 13px;
}
.biz-hero-mark {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: #975248;
  box-shadow: inset -8px -12px 25px #c7956c88;
  color: #fff;
  flex: none;
}
.biz-hero-mark .wb-icon {
  width: 38px;
  height: 38px;
}
.biz-hero-poem {
  color: #976354;
  font:
    17px/1.8 "Kaiti SC",
    "STKaiti",
    serif;
  letter-spacing: 0.16em;
  margin-left: 35px;
  padding-left: 40px;
  border-left: 1px solid #e7dcd1;
  white-space: nowrap;
}
.biz-hero-tools {
  margin-left: auto;
}
.biz-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.biz-card {
  background: #fff;
  border: 1px solid #eee9e4;
  border-radius: 18px;
  padding: 18px 20px;
  min-width: 0;
  box-shadow: 0 4px 18px #5d403303;
}
.biz-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.biz-metrics.strip {
  background: white;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #eee9e4;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
}
.biz-metric {
  min-width: 0;
  background: #fff;
  border: 1px solid #eee9e4;
  border-radius: 16px;
  min-height: 122px;
  padding: 20px 16px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.biz-metrics.strip .biz-metric {
  min-height: 102px;
  padding: 14px 12px;
  border: 0;
  background: #fcfaf8;
  border-radius: 12px;
  gap: 12px;
}
.biz-metric-icon {
  height: 48px;
  width: 48px;
  background: #fbeeed;
  color: #96333e;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
}
.biz-metrics.strip .biz-metric-icon {
  height: 42px;
  width: 42px;
}
.biz-metric-icon .wb-icon {
  width: 28px;
  height: 28px;
}
.biz-metric-icon.green {
  background: #e6f7ec;
  color: #138356;
}
.biz-metric-icon.gold {
  background: #fcf0e1;
  color: #ae651b;
}
.biz-metric-icon.blue {
  background: #eaf1ff;
  color: #3971c0;
}
.biz-metric > div {
  min-width: 0;
}
.biz-metric > div > span {
  font-size: 12px;
  color: #716b66;
  display: block;
}
.biz-metric strong {
  display: block;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.025em;
}
.biz-metric small {
  color: #85807b;
  font-size: 11px;
  display: block;
  line-height: 1.6;
}
.biz-metrics.five .biz-metric:first-child strong {
  color: #8f303d;
}
.biz-summary-title {
  align-self: center;
  padding: 0 4px;
}
.biz-summary-title h2 {
  color: #8f303d;
  font-size: 21px;
  margin-bottom: 8px;
}
.biz-summary-title small {
  color: #777;
}
.biz-summary-title input {
  max-width: 100%;
}
.biz-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
  gap: 14px;
  align-items: start;
}
.biz-columns.ordering {
  grid-template-columns: minmax(0, 1.6fr) minmax(370px, 1fr);
}
.biz-columns.inventory {
  grid-template-columns: minmax(0, 2.15fr) minmax(290px, 1fr);
}
.biz-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.biz-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  min-width: 0;
}
.biz-section-head h2 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.4;
}
.biz-section-head > span,
.biz-section-head p {
  font-size: 12px;
  color: #817b76;
}
.biz-section-head p {
  margin-top: 3px;
}
.biz-section-head.compact {
  margin-top: 12px;
  margin-bottom: 8px;
}
.biz-section-head h2 .wb-icon {
  color: #923341;
  width: 20px;
  height: 20px;
}
.biz-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.biz-section-head .biz-toolbar {
  margin: 0;
}
.biz-toolbar > input {
  flex: 1;
  min-width: 120px;
}
.biz-toolbar > select {
  flex-shrink: 0;
}
.biz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 15px;
  border: 1px solid #e1d8d0;
  background: #fff;
  color: #74323a;
  border-radius: 9px;
  white-space: nowrap;
  font-size: 12px;
  cursor: pointer;
}
.biz-btn .wb-icon {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
}
.biz-btn.primary,
.biz-quick-actions .primary {
  background: #8f303d;
  color: #fff;
  border-color: #8f303d;
}
.biz-btn.primary:hover {
  background: #772631;
}
.biz-btn:not(.primary):hover {
  background: #f8f3ef;
}
.biz-btn.small {
  min-height: 28px;
  padding: 4px 11px;
  font-size: 12px;
}
.biz-link {
  border: 0;
  padding: 2px 0;
  background: none;
  color: #8f303d;
  font-size: 12px;
  white-space: nowrap;
}
.biz-link:hover {
  text-decoration: underline;
}
.biz-icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #777;
  background: #f5f2ef;
}
.biz-tabs {
  display: flex;
  gap: 3px;
  align-items: center;
  flex-wrap: wrap;
}
.biz-tabs button {
  min-height: 32px;
  padding: 6px 16px;
  border: 0;
  border-radius: 20px;
  background: #f6f5f3;
  color: #66625f;
  white-space: nowrap;
  font-size: 12px;
}
.biz-tabs button.active {
  background: #8f303d;
  color: white;
}
.biz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 11px;
  color: #726e69;
}
.biz-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.biz-legend > span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #98958e;
}
.biz-legend .available::before {
  background: #229565;
}
.biz-legend .occupied::before {
  background: #e05a50;
}
.biz-legend .booked::before {
  background: #4385dd;
}
.biz-legend .settling::before {
  background: #d39939;
}
.biz-zone h3 {
  margin: 12px 0 6px;
  padding-left: 10px;
  border-left: 3px solid #923341;
  line-height: 1.15;
}
.biz-map-zones { max-height:480px; overflow:auto; scrollbar-width:thin; padding-right:3px; }
.biz-map-zones:focus-visible { outline:2px solid #923341; outline-offset:3px; }
.biz-floor {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
  padding: 10px 14px 12px;
  border-radius: 12px;
  background: #f3eee5 url("/images/workbench/dining-floor.png") center/cover;
}
.biz-table {
  position: relative;
  min-width: 0;
  height: 118px;
  border: 0;
  padding: 7px 12%;
  background: url("/images/workbench/dining-table.png") center/100% 100%
    no-repeat;
  color: #282521;
  border-radius: 18px;
  transition: transform 0.14s;
}
.biz-table:hover {
  transform: translateY(-2px);
}
.biz-table-surface {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #188153;
  border-radius: 13px;
  background: #f2fff6ed;
  box-shadow: 0 4px 8px #32442510;
  gap: 4px;
  padding: 8px 3px;
}
.biz-table.occupied .biz-table-surface {
  border-color: #d64947;
  background: #fff2f1f2;
}
.biz-table.booked .biz-table-surface,
.biz-table.reserved .biz-table-surface {
  border-color: #4684dd;
  background: #eff5fff2;
}
.biz-table.settling .biz-table-surface {
  border-color: #c39443;
  background: #fff8eaf2;
}
.biz-table.maintenance .biz-table-surface {
  border-color: #8d857c;
  background: #f4f2efef;
}
.biz-table.selected .biz-table-surface {
  outline: 3px solid #933c454d;
  outline-offset: 3px;
}
.biz-table strong {
  font-size: 16px;
  line-height: 1.15;
}
.biz-table b {
  color: #96323b;
  font-size: 14px;
  line-height: 1.15;
}
.biz-table .biz-pill { line-height: 1.25; padding: 2px 8px; }
.biz-table-surface > * { flex-shrink: 0; }
.biz-table small {
  font-size: 11px;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.biz-pill {
  font-size: 11px;
  display: inline-block;
  border-radius: 18px;
  padding: 3px 11px;
  white-space: nowrap;
  color: #6e5b52;
  background: #f4eeea;
  line-height: 1.5;
  font-weight: 500;
}
.biz-pill.available,
.biz-pill.vacant,
.biz-pill.completed {
  background: #dff6e8;
  color: #1a7546;
}
.biz-pill.occupied {
  background: #fce1de;
  color: #b93030;
}
.biz-pill.booked,
.biz-pill.reserved,
.biz-pill.confirmed {
  background: #e7effe;
  color: #356cc5;
}
.biz-pill.warning,
.biz-pill.pending,
.biz-pill.settling {
  background: #fff0db;
  color: #9d5b13;
}
.biz-pill.cancelled,
.biz-pill.maintenance {
  background: #f0edeb;
  color: #716d67;
}
.biz-pill.gold {
  background: #faeed8;
  color: #92601d;
}
.biz-pill.platinum {
  background: #eee8e4;
  color: #635347;
}
.biz-pill.silver {
  background: #edf0f2;
  color: #5c6468;
}
.biz-caption {
  display: block;
  font-size: 11px;
  color: #8a827b;
  line-height: 1.7;
  margin-top: 10px;
}
.biz-map-search {
  width: 112px;
  margin-left: auto;
  flex: 0 0 112px;
}
.biz-empty {
  text-align: center;
  color: #89817a;
  padding: 28px 12px;
  font-size: 13px;
}
.biz-loading {
  padding: 18px;
  text-align: center;
  color: #81766e;
}
.biz-message {
  padding: 10px 15px;
  border-radius: 9px;
  background: #edf6f0;
  color: #386344;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}
.biz-message.error {
  color: #932f3a;
  background: #fbebeb;
}
.biz-timeline {
  max-height: 350px;
  overflow-y: auto;
  padding-right: 2px;
}
.biz-timeline-row {
  display: flex;
  gap: 22px;
  margin-bottom: 10px;
}
.biz-timeline-row time {
  width: 44px;
  flex: none;
  font-size: 16px;
  padding-top: 12px;
  font-weight: 500;
}
.biz-reservation {
  flex: 1;
  min-width: 0;
  position: relative;
  padding: 10px 12px;
  border: 1px solid #f0ece8;
  background: #fcfaf9;
  border-radius: 10px;
}
.biz-reservation::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #923341;
  position: absolute;
  top: 16px;
  left: -14px;
}
.biz-reservation > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.biz-reservation strong {
  font-size: 13px;
}
.biz-reservation small {
  color: #68635e;
}
.biz-reservation p {
  color: #8a847d;
  font-size: 11px;
  margin-top: 5px;
}
.biz-row-actions {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}
.biz-row-actions a {
  font-size: 11px;
  color: #8f303d;
}
.biz-row-actions .biz-link {
  font-size: 11px;
}
.biz-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.biz-quick-actions button {
  padding: 15px 10px;
  border: 1px solid #eae1d8;
  border-radius: 12px;
  color: #633e37;
  background: #faf6f0;
  text-align: left;
}
.biz-quick-actions .wb-icon {
  display: block;
  margin-bottom: 8px;
}
.biz-quick-actions strong {
  display: block;
  font-size: 13px;
}
.biz-quick-actions small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  opacity: 0.72;
}
.biz-selected-note {
  padding-top: 13px;
  color: #81766b;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.biz-clock {
  min-width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  grid-column: span 1;
  padding-left: 15px;
  border-left: 1px solid #eee;
  flex-wrap: wrap;
  color: #777;
  font-size: 13px;
}
.biz-service {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.biz-service .wb-icon {
  color: #923341;
  width: 17px;
  height: 17px;
}
.biz-service strong {
  font-size: 13px;
  white-space: nowrap;
}
.biz-service > span {
  font-size: 11px;
  color: #81766e;
}
.biz-order-panel h2 {
  color: #87303a;
  font-size: 25px;
}
.biz-order-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.biz-order-meta > span {
  padding: 10px;
  background: #faf7f4;
  border-radius: 10px;
  font-size: 11px;
}
.biz-order-meta .wb-icon {
  color: #923341;
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.biz-order-total {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 20px 0;
}
.biz-order-total strong {
  font-size: 28px;
  color: #8f303d;
  display: block;
}
.biz-order-total small {
  color: #8b837b;
}
.biz-order-progress {
  display: flex;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
}
.biz-order-progress span {
  padding-top: 12px;
  border-top: 2px solid #ddd;
  font-size: 11px;
  color: #999;
}
.biz-order-progress .done {
  border-color: #923341;
  color: #923341;
}
.biz-order-lines {
  max-height: 328px;
  overflow-y: auto;
  border: 1px solid #f0ebe5;
  border-radius: 12px;
  padding: 4px 8px;
}
.biz-order-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 0;
  border-bottom: 1px solid #f5f1ed;
  font-size: 12px;
}
.biz-order-line:last-child {
  border: 0;
}
.biz-order-line img,
.biz-dish-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.biz-dish-placeholder {
  background: #f4ece2;
  display: grid;
  place-items: center;
  color: #977c61;
}
.biz-order-line > div {
  flex: 1;
  min-width: 0;
}
.biz-order-line strong {
  font-weight: 500;
  display: block;
}
.biz-order-line small {
  font-size: 10px;
  color: #999;
}
.biz-order-line b {
  min-width: 56px;
  text-align: right;
  font-weight: 500;
}
.biz-order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.biz-order-actions .biz-btn {
  min-height: 46px;
}
.biz-idle-table {
  text-align: center;
  padding: 70px 12px;
  color: #7f756c;
}
.biz-idle-table > .wb-icon {
  width: 62px;
  height: 62px;
  color: #b5977a;
  margin-bottom: 20px;
}
.biz-idle-table p {
  margin: 12px 0 24px;
}
.biz-risk-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.biz-risk {
  border: 1px solid #eee9e5;
  border-radius: 10px;
  padding: 12px 10px;
  min-width: 0;
}
.biz-material-mark {
  width: 46px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #987860;
  border-radius: 12px;
  background: #f6f0e8;
  margin-bottom: 9px;
}
.biz-material-mark .wb-icon {
  height: 28px;
  width: 28px;
}
.biz-risk > strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.biz-risk .biz-pill {
  padding: 2px 7px;
  font-size: 10px;
}
.biz-risk dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 4px;
  font-size: 10px;
  margin: 16px 0 2px;
}
.biz-risk dt {
  color: #89817a;
}
.biz-risk dd {
  margin: 0;
  text-align: right;
}
.danger {
  color: #94303c;
  font-weight: 600;
}
.biz-purchase-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #f1ede8;
}
.biz-purchase-row > div {
  flex: 1;
}
.biz-purchase-row strong {
  display: block;
  font-size: 13px;
}
.biz-purchase-row small {
  display: block;
  color: #827970;
  margin-top: 4px;
  font-size: 11px;
}
.biz-material-mini {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #a3866d;
  background: #f6efe7;
  display: grid;
  place-items: center;
}
.biz-request {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 13px 0;
  border-bottom: 1px solid #f1ece6;
}
.biz-request > div {
  flex: 1;
  min-width: 0;
}
.biz-request strong {
  display: block;
  font-size: 12px;
}
.biz-request small {
  display: block;
  font-size: 10px;
  color: #89817a;
  margin-top: 4px;
}
.biz-rank {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #923341;
  background: #f8eeea;
  font-size: 12px;
}
.biz-rank.first {
  background: #d4ad6c;
  color: white;
}
.biz-table-scroll {
  overflow-x: auto;
}
.biz-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}
.biz-data-table th {
  padding: 10px;
  background: #f9f6f2;
  color: #807970;
  font-weight: 500;
  font-size: 11px;
  white-space: nowrap;
}
.biz-data-table td {
  padding: 10px;
  border-bottom: 1px solid #f0ece7;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.biz-data-table td strong {
  font-weight: 500;
}
.biz-data-table td small {
  display: block;
  font-size: 10px;
  color: #91867c;
}
.biz-data-table th:first-child {
  border-radius: 9px 0 0 9px;
}
.biz-data-table th:last-child {
  border-radius: 0 9px 9px 0;
}
.biz-data-table tr:last-child td {
  border-bottom: 0;
}
.biz-member-charts {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.biz-member-charts .biz-section-head {
  min-height: 32px;
  margin-bottom: 8px;
}
.biz-member-charts .biz-tabs button {
  padding: 5px 10px;
  font-size: 11px;
}
.biz-chart {
  height: 250px;
  width: 100%;
}
.biz-member-charts .biz-chart {
  height: 190px;
}
.biz-material-mark img, .biz-material-mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.chart-empty {
  height: 250px;
  display: grid;
  place-items: center;
}
.biz-operation-row {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #fcfaf8;
  border: 0;
  color: #39332f;
  padding: 8px 10px;
  border-radius: 12px;
  gap: 11px;
  margin-bottom: 7px;
  min-height: 56px;
}
.biz-operation-row > div {
  flex: 1;
}
.biz-operation-row span {
  font-size: 11px;
}
.biz-operation-row strong {
  display: block;
  color: #8c2f3a;
  font-size: 22px;
  line-height: 1.3;
}
.biz-operation-row small {
  font-size: 10px;
  color: #898079;
  max-width: 92px;
}
.biz-round-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: none;
  border-radius: 50%;
  background: #f8eeea;
  color: #933541;
}
.biz-operation-row .biz-unconnected {
  font-size: 16px;
  color: #aaa098;
}
.biz-reminders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.biz-reminders button {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fcfaf8;
  gap: 18px;
  color: #746b63;
}
.biz-reminders button.selected {
  border-color: #9c5960;
}
.biz-reminders .wb-icon {
  width: 28px;
  height: 28px;
  color: #943340;
}
.biz-reminders span {
  font-size: 12px;
}
.biz-reminders strong {
  display: block;
  font-size: 20px;
  color: #913440;
}
.biz-reminders small {
  display: block;
  font-size: 11px;
  color: #92867c;
}
.biz-member-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.biz-member-avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f0e5dc;
  color: #846f59;
}
.biz-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 12px;
  font-size: 11px;
  color: #857970;
}
.biz-pagination > span:first-child {
  margin-right: auto;
}
.biz-analytics-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.biz-analytics-bottom {
  display: grid;
  grid-template-columns: 1.06fr 1fr 1fr;
  gap: 14px;
}
.biz-analytics-bottom .biz-card {
  padding: 18px 16px;
}
.biz-analytics-bottom .biz-section-head h2 {
  font-size: 19px;
}
.biz-analytics-bottom .biz-section-head > span {
  font-size: 10px;
}
.biz-analytics-bottom .biz-chart {
  height: 215px;
}
.biz-ranking td,
.biz-ranking th {
  padding: 9px 5px;
  font-size: 11px;
}
.biz-ranking td:nth-child(2) {
  white-space: normal;
}
.biz-ranking-dish {
  display: flex;
  gap: 7px;
  align-items: center;
}
.biz-ranking img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
.biz-insight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px;
  background: #fcfaf8;
  border-radius: 12px;
  margin-bottom: 8px;
}
.biz-insight > div {
  flex: 1;
}
.biz-insight strong {
  font-size: 12px;
  font-weight: 600;
}
.biz-insight p {
  font-size: 11px;
  color: #8b7e74;
  line-height: 1.7;
  margin-top: 3px;
}
.biz-insight > small {
  background: #f4e5e5;
  color: #923341;
  padding: 2px 5px;
  border-radius: 5px;
}
.biz-insight .biz-round-icon {
  width: 38px;
  height: 38px;
}
.biz-date-filter {
  background: #fff;
  padding: 10px 13px;
  border: 1px solid #eee6df;
  border-radius: 13px;
  min-width: 280px;
}
.biz-date-filter label {
  font-size: 11px;
  color: #80776e;
}
.biz-date-filter label > span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
}
.biz-date-filter input {
  width: 130px;
  padding: 0 7px;
  font-size: 11px;
  height: 30px;
}
.biz-hero:has(.biz-date-filter) .biz-hero-poem {
  display: none;
}
.biz-report-foot {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 2px 5px;
}
.biz-report-foot p {
  font-size: 11px;
  color: #91877e;
  line-height: 1.7;
  max-width: 85%;
}
.biz-dialog {
  border: 1px solid #e6d9ce;
  border-radius: 18px;
  box-shadow: 0 20px 80px #30231e33;
  padding: 24px;
  color: #302925;
  width: min(560px, calc(100vw - 32px));
  max-height: 85vh;
  overflow: auto;
  font:
    14px/1.5 "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
.biz-dialog::backdrop {
  background: #30201c66;
}
.biz-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.biz-dialog h2 {
  font:
    600 23px "Songti SC",
    serif;
  margin: 0;
}
.biz-dialog .wb-icon {
  width: 20px;
  height: 20px;
}
.biz-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.biz-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #74685d;
}
.biz-form input,
.biz-form select {
  height: 40px;
  width: 100%;
}
.biz-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.biz-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.biz-dialog button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.biz-menu-list {
  max-height: 370px;
  overflow: auto;
}
.biz-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
  background: #faf7f3;
  color: #5b473e;
  border: 1px solid #eee3d9;
  border-radius: 9px;
  width: 100%;
  margin-bottom: 8px;
  cursor: pointer;
  text-align: left;
}
.biz-choice strong {
  color: #923341;
}
.biz-checkout-amount {
  font-size: 32px;
  color: #923341;
  font-weight: 600;
}
.biz-checkout-amount small {
  display: block;
  color: #85776e;
  font-size: 12px;
  font-weight: 400;
  margin-top: 6px;
}
@media (min-width: 1501px) {
  .wb-app:has(.biz-page) .wb-nav-item {
    min-height: 42px;
  }
  .wb-app:has(.biz-page) .wb-sidebar {
    padding-top: 24px;
  }
  .wb-app:has(.biz-page) .wb-brand {
    padding-bottom: 25px;
  }
}
@media (max-width: 1400px) {
  .wb-app:has(.biz-page) {
    --wb-sidebar: 200px;
  }
  .biz-hero {
    margin: 0 -22px;
    padding: 18px 22px;
  }
  .biz-hero h1 {
    font-size: 28px;
  }
  .biz-hero-poem {
    display: none;
  }
  .biz-metric {
    padding: 16px 12px;
    gap: 10px;
  }
  .biz-metric-icon {
    width: 37px;
    height: 37px;
  }
  .biz-metric strong {
    font-size: 23px;
  }
  .biz-metrics.strip .biz-metric {
    padding: 12px 8px;
    gap: 8px;
  }
  .biz-metrics.strip .biz-metric-icon {
    width: 30px;
    height: 30px;
  }
  .biz-metric-icon .wb-icon {
    width: 23px;
    height: 23px;
  }
  .biz-section-head h2 {
    font-size: 19px;
  }
  .biz-columns.ordering,
  .biz-columns.reservations {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  }
  .biz-card {
    padding: 16px;
  }
  .biz-risk-grid {
    gap: 6px;
  }
  .biz-risk {
    padding: 10px 7px;
  }
  .biz-table {
    height: 131px;
    padding-left: 11%;
    padding-right: 11%;
  }
  .biz-floor {
    padding: 12px 7px;
    gap: 10px 3px;
  }
  .biz-table small {
    font-size: 10px;
  }
  .biz-member-charts {
    grid-template-columns: 1.4fr 1fr;
  }
  .biz-member-charts > .biz-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
  }
  .biz-operation-row {
    margin: 0;
  }
  .biz-analytics-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .biz-analytics-bottom > .biz-card:last-child {
    grid-column: 1 / -1;
  }
  .biz-analytics-bottom > .biz-card:last-child .biz-insight {
    display: inline-flex;
    width: calc(33.33% - 8px);
    vertical-align: top;
    margin-right: 8px;
  }
  .biz-risk dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .biz-risk dd {
    text-align: left;
    margin-bottom: 6px;
  }
}
@media (max-width: 1100px) {
  .biz-metrics.strip {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .biz-metrics.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .biz-columns,
  .biz-columns.ordering,
  .biz-columns.inventory {
    grid-template-columns: 1fr;
  }
  .biz-clock {
    border: 0;
  }
  .biz-hero h1 {
    font-size: 25px;
  }
  .biz-hero p {
    max-width: 400px;
    font-size: 12px;
  }
  .biz-hero-mark {
    width: 56px;
    height: 56px;
  }
  .biz-risk dl {
    grid-template-columns: 1fr auto;
  }
  .biz-risk dd {
    text-align: right;
  }
  .biz-reservation > div:first-child {
    justify-content: flex-start;
  }
  .biz-reservation .biz-pill {
    margin-left: auto;
  }
}
@media (max-width: 700px) {
  .wb-app:has(.biz-page) .wb-header { height: auto; }
  .biz-hero {
    margin: 0 -14px;
    padding: 16px 14px;
    height: auto;
    min-height: 116px;
    flex-wrap: wrap;
  }
  .biz-hero-mark {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .biz-hero-mark .wb-icon {
    width: 27px;
    height: 27px;
  }
  .biz-hero h1 {
    font-size: 25px;
  }
  .biz-hero p {
    max-width: 270px;
    font-size: 11px;
  }
  .biz-hero-tools {
    margin-left: 0;
  }
  .biz-metrics.five,
  .biz-metrics.strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .biz-metric {
    min-height: 110px;
  }
  .biz-metric strong {
    font-size: 21px;
  }
  .biz-summary-title {
    padding: 10px;
  }
  .biz-metrics.strip .biz-metric {
    min-height: 105px;
  }
  .biz-columns.reservations {
    grid-template-columns: 1fr;
  }
  .biz-card {
    padding: 15px 12px;
  }
  .biz-section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .biz-legend {
    gap: 8px;
    font-size: 10px;
  }
  .biz-floor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .biz-table {
    height: 140px;
  }
  .biz-toolbar .biz-tabs {
    width: 100%;
  }
  .biz-tabs button {
    padding: 6px 11px;
  }
  .biz-map-search {
    width: 100%;
    flex: 1;
  }
  .biz-risk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .biz-risk:last-child {
    grid-column: 1 / -1;
  }
  .biz-member-charts,
  .biz-analytics-charts,
  .biz-analytics-bottom {
    grid-template-columns: 1fr;
  }
  .biz-member-charts > .biz-card:last-child {
    display: block;
  }
  .biz-operation-row {
    margin-bottom: 7px;
  }
  .biz-analytics-bottom > .biz-card:last-child .biz-insight {
    display: flex;
    width: 100%;
    margin-right: 0;
  }
  .biz-reminders {
    grid-template-columns: 1fr;
  }
  .biz-reminders button {
    padding: 10px 16px;
  }
  .biz-reminders > button > div {
    display: flex;
    flex-direction: column;
  }
  .biz-chart {
    height: 230px;
  }
  .biz-report-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .biz-report-foot p {
    max-width: 100%;
  }
  .biz-form-grid {
    grid-template-columns: 1fr;
  }
  .biz-order-total {
    gap: 12px;
  }
  .biz-timeline-row {
    gap: 18px;
  }
  .biz-reservation small {
    font-size: 10px;
  }
  .biz-reservation p {
    overflow-wrap: anywhere;
  }
  .biz-quick-actions {
    gap: 6px;
  }
  .biz-quick-actions button {
    padding: 12px 8px;
  }
  .biz-quick-actions small {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .biz-table {
    transition: none;
  }
}

.owner-page { display:grid; gap:18px; }
.owner-page .biz-card { min-width:0; }
.owner-page .biz-metrics.four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.owner-toolbar form,.owner-actions { display:flex; align-items:end; gap:10px; flex-wrap:wrap; }
.owner-toolbar form { margin-top:18px; }
.owner-toolbar label,.owner-trial>label { display:grid; gap:7px; color:#756c67; font-size:13px; }
.owner-page input:not([type=checkbox]) { border:1px solid #e5ddd6; padding:10px 12px; border-radius:9px; background:#fff; color:#302725; min-width:0; }
.owner-page input:focus-visible,.owner-page summary:focus-visible { outline:2px solid #8c303c; outline-offset:3px; }
.owner-toolbar .biz-tabs a { padding:10px 18px; border-radius:9px; text-decoration:none; color:#756c67; }
.owner-toolbar .biz-tabs a.active { background:#8c303c; color:white; }
.owner-context { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; }
.owner-context p { margin:8px 0; }
.owner-context>small { flex-basis:100%; }
.owner-context small,.owner-hint { color:#87776c; line-height:1.7; }
.owner-two { display:grid; grid-template-columns:1.25fr 1fr; gap:18px; }
.owner-summary { line-height:1.9; margin:16px 0; }
.owner-page h2 { margin:0 0 16px; font-size:20px; }
.owner-page .biz-table-wrap { overflow-x:auto; }
.owner-page table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.owner-page th,.owner-page td { padding:14px 12px; border-bottom:1px solid #eee8e2; white-space:nowrap; }
.owner-page th { background:#f8f5f1; color:#796e67; font-weight:500; }
.owner-filters { margin:18px 0; flex-wrap:wrap; }
.owner-candidates { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.owner-candidate { padding:22px; border:1px solid #e7dfd8; border-radius:14px; background:linear-gradient(145deg,#fff,#fcfaf7); }
.owner-candidate h3 { font-family:var(--restaurant-font); font-size:23px; margin:16px 0 12px; }
.owner-candidate p,.owner-candidate li { color:#786f68; font-size:13px; line-height:1.85; }
.owner-candidate ol { padding-left:18px; min-height:108px; }
.owner-kind { display:inline-block; background:#f3ece3; color:#866036; font-size:12px; padding:5px 10px; border-radius:6px; }
.owner-kind.risk { background:#f9e9e8; color:#9b2737; }
.owner-kind.opportunity { background:#edf4eb; color:#456848; }
.owner-sources { font-size:13px; color:#766c65; line-height:1.8; }
.owner-sources summary { cursor:pointer; font-size:15px; font-weight:600; color:#362d28; }
.owner-trial { display:grid; gap:16px; }
.owner-trial label:has(input[type=checkbox]) { display:flex; align-items:center; }
.owner-trial input[type=checkbox] { accent-color:#8c303c; width:18px; height:18px; flex-shrink:0; }
.owner-blockers { color:#9b2737; background:#fff4f2; padding:16px 16px 16px 30px; line-height:1.9; }
.owner-plan { padding:16px; background:#f8f5ef; border-radius:12px; font-size:13px; line-height:1.7; }
@media(max-width:1150px) { .owner-candidates { grid-template-columns:repeat(2,minmax(0,1fr)); } .owner-two { grid-template-columns:1fr; } }
@media(max-width:700px) { .owner-candidates { grid-template-columns:1fr; } .owner-toolbar label { flex:1 1 40%; } .owner-page .biz-section-head { flex-wrap:wrap; gap:12px; } .owner-page .biz-metrics.four { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* 移除待结账按钮后，收款入口独占一行。 */
.wb-app .ordering .biz-order-actions > .primary:last-child{grid-column:1/-1}
