:root {
  --traffic-ok: #1FA36A;
  --traffic-bad: #E03C3C;
  color-scheme: light;
  --bg: #F5F7F8;
  --panel: #FFFFFF;
  --text: #0F1C1E;
  --muted: #5B6B70;
  --line: #E3E9EA;
  --accent: #1F5F8B;
  --accent-strong: #164A6C;
  --deep: #16324F;
  --danger: #B42318;
  --warn-bg: #FFF6E5;
  --warn-text: #7A4A00;
  --panel-hover: #F0F4F8;
  --soft: #F3F5F6;
  --status-bg: #EEF1F2;
  --ok-soft: #E8F1F7;
  --danger-soft: #FFF1EE;
  --stat-soft: #F7F9FA;
  --control: #FFFFFF;
  --control-hover: #E8F1F7;
  --active-ring: #D0E4F0;
  --subtle: #F7F9FA;
  --unread: #E8F1F7;
  --sales-card-bg: #16324F;
  --sales-card-border: #10263D;
  --sales-card-num: #FFFFFF;
  --sales-card-muted: #B7D0E2;
  --sales-card-muted-2: #9BB8CC;
  --sales-card-shadow: 0 5px 16px rgba(16, 38, 61, 0.28);
  --sales-live: #F3C96B;
  --sales-live-glow: rgba(243, 201, 107, 0.16);
  --warn-border: #E8D09A;
  --danger-border: #E8B4AC;
  --overlay-control: rgba(255, 255, 255, 0.94);
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --shadow-panel: 0 8px 24px rgba(15, 28, 30, 0.06);
  --topbar-fg: #FFFFFF;
  --topbar-muted: rgba(255, 255, 255, 0.72);
}


/* 墨蓝浅色为 :root 默认。以下为其余配色 + 夜间 */

html[data-theme="ink-dark"],
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E161C;
  --panel: #162026;
  --text: #E8F0F6;
  --muted: #8FA3B0;
  --line: #2A3840;
  --accent: #5BA3D0;
  --accent-strong: #7CB8DC;
  --deep: #10263D;
  --danger: #ff8a80;
  --warn-bg: #40351f;
  --warn-text: #f5c979;
  --panel-hover: #1C2A32;
  --soft: #1C2A32;
  --status-bg: #243038;
  --ok-soft: #1A3140;
  --danger-soft: #3d292b;
  --stat-soft: #1A242C;
  --control: #1C2A32;
  --control-hover: #243640;
  --active-ring: #2A4A5C;
  --subtle: #1A242C;
  --unread: #1A3140;
  --overlay-control: rgba(22, 32, 38, 0.94);
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.35);
  --topbar-fg: #E8F0F6;
  --topbar-muted: rgba(232, 240, 246, 0.65);
  --sales-card-bg: #16324F;
  --sales-card-border: #10263D;
  --sales-card-num: #FFFFFF;
  --sales-card-muted: #B7D0E2;
  --sales-card-muted-2: #9BB8CC;
  --sales-card-shadow: 0 5px 16px rgba(16, 38, 61, 0.28);
  --sales-live: #F3C96B;
  --sales-live-glow: rgba(243, 201, 107, 0.16);
}

html[data-theme="gold"] {
  color-scheme: light;
  --bg: #F7F5F0;
  --panel: #FFFFFF;
  --text: #1A1610;
  --muted: #6B6256;
  --line: #E8E2D6;
  --accent: #B8860B;
  --accent-strong: #8C6508;
  --deep: #2A2116;
  --panel-hover: #F7F3EA;
  --soft: #F4EFE4;
  --status-bg: #EFE9DC;
  --ok-soft: #F8F1DE;
  --stat-soft: #F7F3EA;
  --control: #FFFFFF;
  --control-hover: #F8F1DE;
  --active-ring: #F0E0B8;
  --subtle: #F7F3EA;
  --unread: #F8F1DE;
  --topbar-fg: #F5E9D0;
  --topbar-muted: rgba(245, 233, 208, 0.72);
  --sales-card-bg: #2A2116;
  --sales-card-border: #1F1810;
  --sales-card-num: #F5D68A;
  --sales-card-muted: #D9C7A0;
  --sales-card-muted-2: #C4B089;
  --sales-card-shadow: 0 5px 16px rgba(31, 24, 16, 0.28);
  --sales-live: #F5D68A;
  --sales-live-glow: rgba(245, 214, 138, 0.18);
}

html[data-theme="gold-dark"] {
  color-scheme: dark;
  --bg: #16130E;
  --panel: #221C15;
  --text: #F3E6C8;
  --muted: #B3A386;
  --line: #3A3226;
  --accent: #E0B84A;
  --accent-strong: #F0D078;
  --deep: #1F1810;
  --danger: #ff8a80;
  --warn-bg: #40351f;
  --warn-text: #f5c979;
  --panel-hover: #2A2418;
  --soft: #2A2418;
  --status-bg: #332C20;
  --ok-soft: #3A3018;
  --danger-soft: #3d292b;
  --stat-soft: #241E16;
  --control: #2A2418;
  --control-hover: #352C1E;
  --active-ring: #5A4A22;
  --subtle: #241E16;
  --unread: #3A3018;
  --overlay-control: rgba(34, 28, 21, 0.94);
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.35);
  --topbar-fg: #F5E9D0;
  --topbar-muted: rgba(245, 233, 208, 0.72);
  --sales-card-bg: #2A2116;
  --sales-card-border: #1F1810;
  --sales-card-num: #F5D68A;
  --sales-card-muted: #D9C7A0;
  --sales-card-muted-2: #C4B089;
  --sales-card-shadow: 0 5px 16px rgba(31, 24, 16, 0.28);
  --sales-live: #F5D68A;
  --sales-live-glow: rgba(245, 214, 138, 0.18);
}

html[data-theme="coral"] {
  color-scheme: light;
  --bg: #F5F4F3;
  --panel: #FFFFFF;
  --text: #1C1B1A;
  --muted: #6A6763;
  --line: #E6E4E1;
  --accent: #C45B4A;
  --accent-strong: #A3473A;
  --deep: #2C2A28;
  --panel-hover: #F5F4F3;
  --soft: #F3F1EF;
  --status-bg: #EEECEA;
  --ok-soft: #F8EEEC;
  --stat-soft: #F5F4F3;
  --control: #FFFFFF;
  --control-hover: #F8EEEC;
  --active-ring: #F0D4CF;
  --subtle: #F5F4F3;
  --unread: #F8EEEC;
  --topbar-fg: #FFFFFF;
  --topbar-muted: rgba(255, 255, 255, 0.72);
  --sales-card-bg: #2C2A28;
  --sales-card-border: #1F1E1C;
  --sales-card-num: #FFFFFF;
  --sales-card-muted: #C8C4BE;
  --sales-card-muted-2: #B0ABA4;
  --sales-card-shadow: 0 5px 16px rgba(31, 30, 28, 0.28);
  --sales-live: #E07A6C;
  --sales-live-glow: rgba(224, 122, 108, 0.18);
}

html[data-theme="coral-dark"] {
  color-scheme: dark;
  --bg: #161514;
  --panel: #22201E;
  --text: #F1EEEA;
  --muted: #A8A49E;
  --line: #3A3734;
  --accent: #E07A6C;
  --accent-strong: #F0998E;
  --deep: #1F1E1C;
  --danger: #ff8a80;
  --warn-bg: #40351f;
  --warn-text: #f5c979;
  --panel-hover: #262422;
  --soft: #262422;
  --status-bg: #2E2C2A;
  --ok-soft: #3A2623;
  --danger-soft: #3d292b;
  --stat-soft: #1E1C1B;
  --control: #262422;
  --control-hover: #322F2C;
  --active-ring: #5A3A34;
  --subtle: #1E1C1B;
  --unread: #3A2623;
  --overlay-control: rgba(34, 32, 30, 0.94);
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.35);
  --topbar-fg: #F1EEEA;
  --topbar-muted: rgba(241, 238, 234, 0.7);
  --sales-card-bg: #2C2A28;
  --sales-card-border: #1F1E1C;
  --sales-card-num: #FFFFFF;
  --sales-card-muted: #C8C4BE;
  --sales-card-muted-2: #B0ABA4;
  --sales-card-shadow: 0 5px 16px rgba(31, 30, 28, 0.28);
  --sales-live: #E07A6C;
  --sales-live-glow: rgba(224, 122, 108, 0.18);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1618;
  --panel: #162224;
  --text: #E8F2F0;
  --muted: #8FA3A6;
  --line: #2A383B;
  --accent: #3DB892;
  --accent-strong: #5BC9A7;
  --deep: #0A2822;
  --danger: #ff8a80;
  --warn-bg: #40351f;
  --warn-text: #f5c979;
  --panel-hover: #203234;
  --soft: #223134;
  --status-bg: #2a3a3d;
  --ok-soft: #1d3c35;
  --danger-soft: #3d292b;
  --stat-soft: #1d2a2d;
  --control: #223134;
  --control-hover: #29403e;
  --active-ring: #285448;
  --subtle: #1d2a2d;
  --unread: #1b3732;
  --warn-border: #715e31;
  --danger-border: #714143;
  --overlay-control: rgba(34, 49, 52, 0.94);
  --shadow-panel: 0 8px 24px rgba(0, 0, 0, 0.35);
  --topbar-fg: #E8F2F0;
  --topbar-muted: rgba(232, 242, 240, 0.65);
}

html[data-theme="dark"] .goal-countdown,
html[data-theme="ink-dark"] .goal-countdown,
html[data-theme="gold-dark"] .goal-countdown,
html[data-theme="coral-dark"] .goal-countdown,
html[data-theme="tech"] .goal-countdown,
html[data-scheme="dark"] .goal-countdown {
  background: #1d4a3c;
  color: #c9f5e4;
  border-color: #2f6a56;
}

html[data-theme="dark"] .goal-countdown.spring,
html[data-theme="ink-dark"] .goal-countdown.spring,
html[data-theme="gold-dark"] .goal-countdown.spring,
html[data-theme="coral-dark"] .goal-countdown.spring,
html[data-theme="tech"] .goal-countdown.spring {
  background: #4a2a18;
  color: #ffd9b8;
  border-color: #8a5a3a;
}

/* === 科技感主题（霓虹青/蓝紫 + 玻璃拟态） === */
html[data-theme="tech"] {
  color-scheme: dark;
  --bg: #070b16;
  --panel: rgba(18, 24, 45, 0.82);
  --text: #e8f1ff;
  --muted: #8b9cbd;
  --line: #1f2b4d;
  --accent: #22d3ee;
  --accent-strong: #67e8f9;
  --deep: #0d1b3d;
  --danger: #fb7185;
  --warn-bg: #2a1f0d;
  --warn-text: #fbbf24;
  --panel-hover: #1a2340;
  --soft: #121a30;
  --status-bg: #18223c;
  --ok-soft: #0d2a2e;
  --danger-soft: #2e1620;
  --stat-soft: #10182c;
  --control: #18223c;
  --control-hover: #22304f;
  --active-ring: #1d3a5f;
  --subtle: #10182c;
  --unread: #142438;
  --warn-border: #6b5320;
  --danger-border: #6b2a3a;
  --overlay-control: rgba(16, 24, 44, 0.94);
}

html[data-theme="tech"] body {
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(34, 211, 238, 0.10), transparent 60%),
    radial-gradient(1000px 600px at 100% 0%, rgba(129, 140, 248, 0.10), transparent 55%),
    var(--bg);
}

html[data-theme="tech"] .topbar {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
}

html[data-theme="tech"] .panel {
  background: var(--panel);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 211, 238, 0.14);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="tech"] .stat {
  background: var(--panel);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(34, 211, 238, 0.14);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.04), 0 6px 20px rgba(0, 0, 0, 0.30);
}

html[data-theme="tech"] .stat strong,
html[data-theme="tech"] .ledger-summary-card strong {
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

html[data-theme="tech"] .top-action {
  color: var(--text);
}




* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

body:not(.login-page) {
  padding-top: 64px;
}

/* Live-commerce watermark atmosphere (non-interactive) */
.live-wm {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  color: var(--accent);
}

.live-wm-grid {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(to right, currentColor 1px, transparent 1px),
    linear-gradient(to bottom, currentColor 1px, transparent 1px);
  background-size: 72px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 85%);
}

.live-wm-pattern {
  position: absolute;
  inset: -20%;
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20420%22%20width%3D%22640%22%20height%3D%22420%22%3E%20%3Cg%20fill%3D%22%23000%22%20font-family%3D%22PingFang%20SC%2C%20Microsoft%20YaHei%2C%20Noto%20Sans%20SC%2C%20sans-serif%22%20font-weight%3D%22800%22%3E%20%3Ctext%20x%3D%2286%22%20y%3D%2272%22%20font-size%3D%2236%22%20font-family%3D%22Avenir%20Next%2C%20system-ui%2C%20sans-serif%22%20letter-spacing%3D%223%22%3ELIVE%3C%2Ftext%3E%20%3Ctext%20x%3D%22248%22%20y%3D%2296%22%20font-size%3D%2238%22%3E%E7%88%86%E5%8D%95%3C%2Ftext%3E%20%3Ctext%20x%3D%22430%22%20y%3D%2270%22%20font-size%3D%2236%22%3E%E7%83%AD%E5%8D%96%3C%2Ftext%3E%20%3Ctext%20x%3D%2268%22%20y%3D%22188%22%20font-size%3D%2254%22%20font-family%3D%22Avenir%20Next%2C%20system-ui%2C%20sans-serif%22%3E%C2%A5%3C%2Ftext%3E%20%3Ctext%20x%3D%22198%22%20y%3D%22206%22%20font-size%3D%2234%22%20font-family%3D%22Avenir%20Next%2C%20system-ui%2C%20sans-serif%22%20letter-spacing%3D%222%22%3EHOT%3C%2Ftext%3E%20%3Ctext%20x%3D%22350%22%20y%3D%22178%22%20font-size%3D%2236%22%3E%E6%88%90%E4%BA%A4%3C%2Ftext%3E%20%3Ctext%20x%3D%22512%22%20y%3D%22206%22%20font-size%3D%2234%22%3E%E6%A9%B1%E7%AA%97%3C%2Ftext%3E%20%3Ctext%20x%3D%2286%22%20y%3D%22308%22%20font-size%3D%2234%22%3E%E4%B8%8A%E6%96%B0%3C%2Ftext%3E%20%3Ctext%20x%3D%22268%22%20y%3D%22332%22%20font-size%3D%2236%22%3E%E6%8A%A2%E5%AE%8C%3C%2Ftext%3E%20%3Ctext%20x%3D%22456%22%20y%3D%22304%22%20font-size%3D%2236%22%3E%E7%A7%92%E6%9D%80%3C%2Ftext%3E%20%3C%2Fg%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%20%3C%21--%20lightning%20bolts%20--%3E%20%3Cpath%20d%3D%22M168%20108%20L150%20148%20H166%20L152%20188%20L190%20142%20H172%20Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%20%3Cpath%20d%3D%22M590%20318%20L574%20352%20H588%20L576%20386%20L610%20348%20H594%20Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%20%3C%21--%20shopping%20bag%20--%3E%20%3Cg%20transform%3D%22translate%28560%2072%29%22%3E%20%3Crect%20x%3D%222%22%20y%3D%2210%22%20width%3D%2226%22%20height%3D%2228%22%20rx%3D%223%22%2F%3E%20%3Cpath%20d%3D%22M8%2010%20V6%20a7%207%200%200%201%2014%200%20v4%22%2F%3E%20%3C%2Fg%3E%20%3C%21--%20small%20LIVE%20pill%20--%3E%20%3Cg%20transform%3D%22translate%28148%20232%29%22%3E%20%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2252%22%20height%3D%2220%22%20rx%3D%2210%22%2F%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223.2%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%20%3C%2Fg%3E%20%3C%21--%20dots%20--%3E%20%3Cg%20fill%3D%22%23000%22%20stroke%3D%22none%22%3E%20%3Ccircle%20cx%3D%22400%22%20cy%3D%22250%22%20r%3D%223.2%22%2F%3E%20%3Ccircle%20cx%3D%22416%22%20cy%3D%22250%22%20r%3D%223.2%22%2F%3E%20%3Ccircle%20cx%3D%22432%22%20cy%3D%22250%22%20r%3D%223.2%22%2F%3E%20%3Ccircle%20cx%3D%22220%22%20cy%3D%22128%22%20r%3D%222.6%22%2F%3E%20%3Ccircle%20cx%3D%22232%22%20cy%3D%22128%22%20r%3D%222.6%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");
  mask-image: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20420%22%20width%3D%22640%22%20height%3D%22420%22%3E%20%3Cg%20fill%3D%22%23000%22%20font-family%3D%22PingFang%20SC%2C%20Microsoft%20YaHei%2C%20Noto%20Sans%20SC%2C%20sans-serif%22%20font-weight%3D%22800%22%3E%20%3Ctext%20x%3D%2286%22%20y%3D%2272%22%20font-size%3D%2236%22%20font-family%3D%22Avenir%20Next%2C%20system-ui%2C%20sans-serif%22%20letter-spacing%3D%223%22%3ELIVE%3C%2Ftext%3E%20%3Ctext%20x%3D%22248%22%20y%3D%2296%22%20font-size%3D%2238%22%3E%E7%88%86%E5%8D%95%3C%2Ftext%3E%20%3Ctext%20x%3D%22430%22%20y%3D%2270%22%20font-size%3D%2236%22%3E%E7%83%AD%E5%8D%96%3C%2Ftext%3E%20%3Ctext%20x%3D%2268%22%20y%3D%22188%22%20font-size%3D%2254%22%20font-family%3D%22Avenir%20Next%2C%20system-ui%2C%20sans-serif%22%3E%C2%A5%3C%2Ftext%3E%20%3Ctext%20x%3D%22198%22%20y%3D%22206%22%20font-size%3D%2234%22%20font-family%3D%22Avenir%20Next%2C%20system-ui%2C%20sans-serif%22%20letter-spacing%3D%222%22%3EHOT%3C%2Ftext%3E%20%3Ctext%20x%3D%22350%22%20y%3D%22178%22%20font-size%3D%2236%22%3E%E6%88%90%E4%BA%A4%3C%2Ftext%3E%20%3Ctext%20x%3D%22512%22%20y%3D%22206%22%20font-size%3D%2234%22%3E%E6%A9%B1%E7%AA%97%3C%2Ftext%3E%20%3Ctext%20x%3D%2286%22%20y%3D%22308%22%20font-size%3D%2234%22%3E%E4%B8%8A%E6%96%B0%3C%2Ftext%3E%20%3Ctext%20x%3D%22268%22%20y%3D%22332%22%20font-size%3D%2236%22%3E%E6%8A%A2%E5%AE%8C%3C%2Ftext%3E%20%3Ctext%20x%3D%22456%22%20y%3D%22304%22%20font-size%3D%2236%22%3E%E7%A7%92%E6%9D%80%3C%2Ftext%3E%20%3C%2Fg%3E%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%20%3C%21--%20lightning%20bolts%20--%3E%20%3Cpath%20d%3D%22M168%20108%20L150%20148%20H166%20L152%20188%20L190%20142%20H172%20Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%20%3Cpath%20d%3D%22M590%20318%20L574%20352%20H588%20L576%20386%20L610%20348%20H594%20Z%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%20%3C%21--%20shopping%20bag%20--%3E%20%3Cg%20transform%3D%22translate%28560%2072%29%22%3E%20%3Crect%20x%3D%222%22%20y%3D%2210%22%20width%3D%2226%22%20height%3D%2228%22%20rx%3D%223%22%2F%3E%20%3Cpath%20d%3D%22M8%2010%20V6%20a7%207%200%200%201%2014%200%20v4%22%2F%3E%20%3C%2Fg%3E%20%3C%21--%20small%20LIVE%20pill%20--%3E%20%3Cg%20transform%3D%22translate%28148%20232%29%22%3E%20%3Crect%20x%3D%220%22%20y%3D%220%22%20width%3D%2252%22%20height%3D%2220%22%20rx%3D%2210%22%2F%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223.2%22%20fill%3D%22%23000%22%20stroke%3D%22none%22%2F%3E%20%3C%2Fg%3E%20%3C%21--%20dots%20--%3E%20%3Cg%20fill%3D%22%23000%22%20stroke%3D%22none%22%3E%20%3Ccircle%20cx%3D%22400%22%20cy%3D%22250%22%20r%3D%223.2%22%2F%3E%20%3Ccircle%20cx%3D%22416%22%20cy%3D%22250%22%20r%3D%223.2%22%2F%3E%20%3Ccircle%20cx%3D%22432%22%20cy%3D%22250%22%20r%3D%223.2%22%2F%3E%20%3Ccircle%20cx%3D%22220%22%20cy%3D%22128%22%20r%3D%222.6%22%2F%3E%20%3Ccircle%20cx%3D%22232%22%20cy%3D%22128%22%20r%3D%222.6%22%2F%3E%20%3C%2Fg%3E%20%3C%2Fg%3E%20%3C%2Fsvg%3E");
  -webkit-mask-size: 640px 420px;
  mask-size: 640px 420px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  opacity: 0.11;
  transform: rotate(-18deg);
  animation: live-wm-drift 48s linear infinite;
}

@keyframes live-wm-drift {
  from { -webkit-mask-position: 0 0; mask-position: 0 0; }
  to { -webkit-mask-position: 640px 420px; mask-position: 640px 420px; }
}

.live-wm-seal {
  position: absolute;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.08;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.live-wm-seal-live {
  top: 12%;
  left: 6%;
  font-size: clamp(40px, 7vw, 92px);
  transform: rotate(-12deg);
  border: 3px solid currentColor;
  border-radius: 12px;
  padding: 0.06em 0.2em 0.1em;
}

.live-wm-seal-burst {
  top: 38%;
  right: 5%;
  font-size: clamp(48px, 8vw, 110px);
  transform: rotate(16deg);
  color: var(--sales-live, var(--accent));
}

.live-wm-seal-hot {
  bottom: 18%;
  left: 8%;
  font-size: clamp(36px, 6vw, 80px);
  transform: rotate(-8deg);
}

.live-wm-seal-yen {
  bottom: 12%;
  right: 10%;
  font-size: clamp(56px, 9vw, 120px);
  opacity: 0.06;
}

html[data-scheme="dark"] .live-wm-grid {
  opacity: 0.09;
}

html[data-scheme="dark"] .live-wm-pattern {
  opacity: 0.15;
}

html[data-scheme="dark"] .live-wm-seal {
  opacity: 0.10;
}

html[data-scheme="dark"] .live-wm-seal-yen {
  opacity: 0.08;
}

@media (prefers-reduced-motion: reduce) {
  .live-wm-pattern {
    animation: none;
  }
}



.live-wm-gold {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url("data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%20%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201280%20800%22%20width%3D%221280%22%20height%3D%22800%22%3E%20%3Crect%20x%3D%22816.5%22%20y%3D%22105.4%22%20width%3D%2211.5%22%20height%3D%224.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2824.2%20822.2%20107.4%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.61%22%2F%3E%20%3Crect%20x%3D%22522.5%22%20y%3D%22280.6%22%20width%3D%224.3%22%20height%3D%224.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%285.0%20524.7%20282.8%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.31%22%2F%3E%20%3Crect%20x%3D%22884.0%22%20y%3D%2285.0%22%20width%3D%228.6%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-48.8%20888.3%2087.5%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.79%22%2F%3E%20%3Crect%20x%3D%22439.9%22%20y%3D%22598.0%22%20width%3D%223.8%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-65.1%20441.8%20600.5%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.32%22%2F%3E%20%3Crect%20x%3D%2292.3%22%20y%3D%22651.8%22%20width%3D%2211.8%22%20height%3D%225.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2822.9%2098.2%20654.7%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.69%22%2F%3E%20%3Crect%20x%3D%221024.1%22%20y%3D%22436.1%22%20width%3D%229.2%22%20height%3D%222.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2841.6%201028.7%20437.4%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.85%22%2F%3E%20%3Crect%20x%3D%2230.3%22%20y%3D%22285.5%22%20width%3D%2212.9%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-0.6%2036.8%20288.0%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.52%22%2F%3E%20%3Crect%20x%3D%221013.3%22%20y%3D%22707.1%22%20width%3D%2210.3%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-27.9%201018.5%20709.8%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.89%22%2F%3E%20%3Crect%20x%3D%221204.5%22%20y%3D%22603.7%22%20width%3D%229.1%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2843.9%201209.1%20606.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.68%22%2F%3E%20%3Crect%20x%3D%2248.9%22%20y%3D%22667.6%22%20width%3D%2212.2%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-47.2%2055.0%20669.3%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.71%22%2F%3E%20%3Crect%20x%3D%22101.1%22%20y%3D%229.8%22%20width%3D%2211.1%22%20height%3D%225.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-62.2%20106.6%2012.7%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.48%22%2F%3E%20%3Crect%20x%3D%2272.1%22%20y%3D%22766.9%22%20width%3D%2210.2%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2873.7%2077.2%20769.6%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.80%22%2F%3E%20%3Crect%20x%3D%22711.5%22%20y%3D%22660.1%22%20width%3D%227.0%22%20height%3D%224.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2847.5%20715.0%20662.5%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.67%22%2F%3E%20%3Crect%20x%3D%2235.3%22%20y%3D%22322.6%22%20width%3D%2211.1%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2829.7%2040.8%20325.0%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%2229.4%22%20y%3D%22476.0%22%20width%3D%2211.2%22%20height%3D%223.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2812.4%2035.0%20477.9%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.86%22%2F%3E%20%3Crect%20x%3D%221260.4%22%20y%3D%22542.6%22%20width%3D%2213.3%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2816.2%201267.1%20545.2%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.72%22%2F%3E%20%3Crect%20x%3D%221050.1%22%20y%3D%22664.5%22%20width%3D%225.5%22%20height%3D%223.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-71.9%201052.9%20666.3%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.47%22%2F%3E%20%3Crect%20x%3D%22121.8%22%20y%3D%2262.4%22%20width%3D%2211.2%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2866.5%20127.4%2064.6%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.78%22%2F%3E%20%3Crect%20x%3D%22338.5%22%20y%3D%22710.3%22%20width%3D%227.1%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2831.9%20342.0%20712.9%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.56%22%2F%3E%20%3Crect%20x%3D%2223.3%22%20y%3D%22420.1%22%20width%3D%2213.1%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%283.5%2029.8%20422.7%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.59%22%2F%3E%20%3Crect%20x%3D%22322.2%22%20y%3D%2274.5%22%20width%3D%229.6%22%20height%3D%224.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2836.6%20327.0%2076.5%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.65%22%2F%3E%20%3Crect%20x%3D%22512.3%22%20y%3D%22422.9%22%20width%3D%225.5%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-1.4%20515.1%20424.0%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.30%22%2F%3E%20%3Crect%20x%3D%22958.3%22%20y%3D%22683.7%22%20width%3D%2211.6%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2836.4%20964.1%20686.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.85%22%2F%3E%20%3Crect%20x%3D%22198.5%22%20y%3D%22725.3%22%20width%3D%228.9%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-12.4%20203.0%20726.8%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.72%22%2F%3E%20%3Crect%20x%3D%2277.6%22%20y%3D%22653.9%22%20width%3D%2212.4%22%20height%3D%223.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2856.4%2083.8%20655.8%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.85%22%2F%3E%20%3Crect%20x%3D%22263.0%22%20y%3D%22195.9%22%20width%3D%2210.4%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2868.4%20268.2%20197.4%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.65%22%2F%3E%20%3Crect%20x%3D%221191.3%22%20y%3D%22640.7%22%20width%3D%2213.1%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2849.9%201197.8%20643.2%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.51%22%2F%3E%20%3Crect%20x%3D%22854.3%22%20y%3D%22691.4%22%20width%3D%2213.9%22%20height%3D%223.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-73.1%20861.3%20692.9%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.77%22%2F%3E%20%3Crect%20x%3D%22151.3%22%20y%3D%2278.2%22%20width%3D%229.2%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2874.0%20155.8%2080.7%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%22607.0%22%20y%3D%22360.3%22%20width%3D%224.9%22%20height%3D%224.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%280.6%20609.4%20362.4%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.18%22%2F%3E%20%3Crect%20x%3D%22811.5%22%20y%3D%22729.7%22%20width%3D%2211.4%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2819.6%20817.1%20731.9%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.66%22%2F%3E%20%3Crect%20x%3D%221112.2%22%20y%3D%22542.3%22%20width%3D%226.3%22%20height%3D%226.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-51.8%201115.3%20545.2%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%2298.6%22%20y%3D%22179.4%22%20width%3D%2210.0%22%20height%3D%224.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-19.0%20103.6%20181.4%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.73%22%2F%3E%20%3Crect%20x%3D%2252.6%22%20y%3D%22448.8%22%20width%3D%2212.8%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2828.8%2059.1%20450.5%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%22306.3%22%20y%3D%22237.8%22%20width%3D%225.7%22%20height%3D%225.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-16.3%20309.1%20240.6%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.23%22%2F%3E%20%3Crect%20x%3D%22822.6%22%20y%3D%22353.7%22%20width%3D%225.6%22%20height%3D%224.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-54.0%20825.4%20355.8%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.17%22%2F%3E%20%3Crect%20x%3D%22576.6%22%20y%3D%22666.4%22%20width%3D%2211.7%22%20height%3D%224.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-17.1%20582.5%20668.8%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.85%22%2F%3E%20%3Crect%20x%3D%22625.4%22%20y%3D%22156.8%22%20width%3D%225.1%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-74.8%20628.0%20159.4%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.73%22%2F%3E%20%3Crect%20x%3D%22266.5%22%20y%3D%22664.3%22%20width%3D%2211.4%22%20height%3D%222.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-51.4%20272.1%20665.6%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.89%22%2F%3E%20%3Crect%20x%3D%22139.8%22%20y%3D%2221.9%22%20width%3D%226.2%22%20height%3D%223.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2824.8%20142.9%2023.5%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.92%22%2F%3E%20%3Crect%20x%3D%22245.9%22%20y%3D%22222.1%22%20width%3D%228.0%22%20height%3D%223.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-60.8%20249.8%20224.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%22225.1%22%20y%3D%22395.2%22%20width%3D%226.9%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2822.8%20228.5%20397.8%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.47%22%2F%3E%20%3Crect%20x%3D%22166.3%22%20y%3D%22315.2%22%20width%3D%228.4%22%20height%3D%222.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-48.3%20170.5%20316.6%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.48%22%2F%3E%20%3Crect%20x%3D%22437.9%22%20y%3D%2293.6%22%20width%3D%2212.6%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%289.9%20444.2%2095.0%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.83%22%2F%3E%20%3Crect%20x%3D%2292.9%22%20y%3D%22285.5%22%20width%3D%229.8%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-60.4%2097.7%20286.9%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.90%22%2F%3E%20%3Crect%20x%3D%2246.2%22%20y%3D%22722.0%22%20width%3D%229.8%22%20height%3D%225.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-2.0%2051.1%20724.8%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%221122.4%22%20y%3D%2287.9%22%20width%3D%225.5%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-10.1%201125.2%2090.6%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.63%22%2F%3E%20%3Crect%20x%3D%221041.6%22%20y%3D%22658.7%22%20width%3D%2211.9%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-19.4%201047.6%20661.1%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.79%22%2F%3E%20%3Crect%20x%3D%2271.9%22%20y%3D%22349.4%22%20width%3D%229.3%22%20height%3D%224.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-42.2%2076.6%20351.6%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.52%22%2F%3E%20%3Crect%20x%3D%22274.0%22%20y%3D%22103.6%22%20width%3D%228.3%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-3.8%20278.2%20106.3%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.93%22%2F%3E%20%3Crect%20x%3D%22976.1%22%20y%3D%2219.6%22%20width%3D%228.0%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2867.5%20980.1%2021.9%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.55%22%2F%3E%20%3Crect%20x%3D%221191.6%22%20y%3D%22138.4%22%20width%3D%2213.0%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2848.4%201198.1%20141.1%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.68%22%2F%3E%20%3Crect%20x%3D%22985.5%22%20y%3D%22758.2%22%20width%3D%225.6%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2866.3%20988.3%20759.3%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.69%22%2F%3E%20%3Crect%20x%3D%22218.3%22%20y%3D%22641.5%22%20width%3D%229.4%22%20height%3D%224.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-7.3%20223.0%20643.6%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%22495.9%22%20y%3D%22705.4%22%20width%3D%2210.3%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-22.8%20501.1%20708.2%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.54%22%2F%3E%20%3Crect%20x%3D%221130.7%22%20y%3D%2295.6%22%20width%3D%226.4%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-45.5%201133.9%2097.3%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.52%22%2F%3E%20%3Crect%20x%3D%221212.4%22%20y%3D%22423.1%22%20width%3D%226.1%22%20height%3D%224.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-62.8%201215.5%20425.6%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.70%22%2F%3E%20%3Crect%20x%3D%22460.6%22%20y%3D%2213.2%22%20width%3D%2213.2%22%20height%3D%223.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-66.7%20467.2%2015.0%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%22183.5%22%20y%3D%22671.8%22%20width%3D%228.0%22%20height%3D%225.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-39.6%20187.5%20674.7%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%221109.5%22%20y%3D%22164.2%22%20width%3D%227.7%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2815.8%201113.4%20165.9%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.51%22%2F%3E%20%3Crect%20x%3D%22186.5%22%20y%3D%22439.5%22%20width%3D%2211.9%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2856.9%20192.5%20442.2%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.92%22%2F%3E%20%3Crect%20x%3D%22202.1%22%20y%3D%22670.5%22%20width%3D%227.0%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2863.4%20205.6%20671.7%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.94%22%2F%3E%20%3Crect%20x%3D%221038.3%22%20y%3D%2211.0%22%20width%3D%225.1%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2816.2%201040.8%2012.2%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.72%22%2F%3E%20%3Crect%20x%3D%221170.6%22%20y%3D%22637.4%22%20width%3D%227.6%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-1.2%201174.4%20639.8%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.84%22%2F%3E%20%3Crect%20x%3D%22130.9%22%20y%3D%22536.5%22%20width%3D%228.0%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2814.8%20134.9%20539.0%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.73%22%2F%3E%20%3Crect%20x%3D%22352.9%22%20y%3D%22696.7%22%20width%3D%227.3%22%20height%3D%223.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2822.9%20356.5%20698.6%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.74%22%2F%3E%20%3Crect%20x%3D%22149.1%22%20y%3D%22174.2%22%20width%3D%2212.0%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2864.3%20155.1%20175.6%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.79%22%2F%3E%20%3Crect%20x%3D%22803.9%22%20y%3D%22680.9%22%20width%3D%2213.8%22%20height%3D%223.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2836.6%20810.9%20682.7%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.82%22%2F%3E%20%3Crect%20x%3D%221070.7%22%20y%3D%2272.7%22%20width%3D%2213.2%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-66.2%201077.4%2075.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%22292.0%22%20y%3D%22682.0%22%20width%3D%226.3%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2821.3%20295.1%20683.2%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.69%22%2F%3E%20%3Crect%20x%3D%22671.2%22%20y%3D%2264.0%22%20width%3D%228.6%22%20height%3D%223.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%280.4%20675.5%2065.5%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%22169.3%22%20y%3D%22373.7%22%20width%3D%227.7%22%20height%3D%225.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2864.3%20173.1%20376.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.87%22%2F%3E%20%3Crect%20x%3D%2281.2%22%20y%3D%22165.1%22%20width%3D%225.8%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-26.5%2084.1%20167.3%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%22560.3%22%20y%3D%22723.0%22%20width%3D%2211.3%22%20height%3D%225.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-31.5%20566.0%20725.6%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.74%22%2F%3E%20%3Crect%20x%3D%221243.6%22%20y%3D%22363.7%22%20width%3D%227.0%22%20height%3D%223.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%280.7%201247.1%20365.4%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.63%22%2F%3E%20%3Crect%20x%3D%22997.8%22%20y%3D%22154.8%22%20width%3D%228.8%22%20height%3D%224.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%2828.5%201002.2%20156.9%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.56%22%2F%3E%20%3Crect%20x%3D%221106.2%22%20y%3D%22595.0%22%20width%3D%226.8%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2825.0%201109.6%20597.2%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%22575.0%22%20y%3D%22757.3%22%20width%3D%229.0%22%20height%3D%222.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-21.0%20579.5%20758.5%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.91%22%2F%3E%20%3Crect%20x%3D%221083.9%22%20y%3D%22663.1%22%20width%3D%226.5%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2811.3%201087.1%20665.8%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.59%22%2F%3E%20%3Crect%20x%3D%22398.1%22%20y%3D%22110.8%22%20width%3D%227.8%22%20height%3D%225.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%2858.5%20402.0%20113.3%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%2286.8%22%20y%3D%22193.8%22%20width%3D%2213.0%22%20height%3D%224.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-27.6%2093.3%20195.8%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.51%22%2F%3E%20%3Crect%20x%3D%221237.9%22%20y%3D%22331.9%22%20width%3D%227.0%22%20height%3D%223.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2865.9%201241.4%20333.7%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.89%22%2F%3E%20%3Crect%20x%3D%22419.1%22%20y%3D%22621.9%22%20width%3D%225.4%22%20height%3D%222.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2823.3%20421.8%20623.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%221085.9%22%20y%3D%22499.4%22%20width%3D%228.0%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%284.6%201089.9%20500.6%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.56%22%2F%3E%20%3Crect%20x%3D%221105.7%22%20y%3D%22675.9%22%20width%3D%2212.9%22%20height%3D%224.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-8.7%201112.1%20678.0%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.65%22%2F%3E%20%3Crect%20x%3D%22554.8%22%20y%3D%22765.7%22%20width%3D%2213.6%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-65.8%20561.6%20767.2%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.78%22%2F%3E%20%3Crect%20x%3D%22826.4%22%20y%3D%2255.2%22%20width%3D%2213.7%22%20height%3D%223.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2827.6%20833.3%2057.0%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.71%22%2F%3E%20%3Crect%20x%3D%221194.2%22%20y%3D%22755.5%22%20width%3D%2211.3%22%20height%3D%225.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-20.5%201199.9%20758.0%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.55%22%2F%3E%20%3Crect%20x%3D%221018.1%22%20y%3D%22383.9%22%20width%3D%225.4%22%20height%3D%223.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%283.0%201020.8%20385.7%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.74%22%2F%3E%20%3Crect%20x%3D%22448.2%22%20y%3D%22536.3%22%20width%3D%224.2%22%20height%3D%223.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-41.9%20450.3%20537.9%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.20%22%2F%3E%20%3Crect%20x%3D%22196.1%22%20y%3D%2217.9%22%20width%3D%227.9%22%20height%3D%223.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-23.2%20200.1%2019.8%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.77%22%2F%3E%20%3Crect%20x%3D%22280.5%22%20y%3D%22108.7%22%20width%3D%228.3%22%20height%3D%224.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%2835.4%20284.6%20110.7%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%22122.5%22%20y%3D%22121.6%22%20width%3D%2213.8%22%20height%3D%224.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-52.8%20129.4%20123.8%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.89%22%2F%3E%20%3Crect%20x%3D%221010.7%22%20y%3D%22674.7%22%20width%3D%2210.7%22%20height%3D%224.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-41.7%201016.0%20677.1%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.77%22%2F%3E%20%3Crect%20x%3D%221124.2%22%20y%3D%22651.3%22%20width%3D%2213.7%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-59.5%201131.1%20654.0%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.54%22%2F%3E%20%3Crect%20x%3D%22922.7%22%20y%3D%22678.5%22%20width%3D%2212.2%22%20height%3D%224.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-19.5%20928.8%20680.9%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.49%22%2F%3E%20%3Crect%20x%3D%22946.1%22%20y%3D%22610.9%22%20width%3D%223.9%22%20height%3D%224.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-29.9%20948.1%20613.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.23%22%2F%3E%20%3Crect%20x%3D%221192.6%22%20y%3D%22153.6%22%20width%3D%2213.4%22%20height%3D%222.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2841.5%201199.3%20154.7%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.86%22%2F%3E%20%3Crect%20x%3D%22556.8%22%20y%3D%22316.1%22%20width%3D%226.6%22%20height%3D%224.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2856.0%20560.1%20318.6%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.22%22%2F%3E%20%3Crect%20x%3D%221027.7%22%20y%3D%22140.7%22%20width%3D%2210.6%22%20height%3D%223.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2825.6%201033.0%20142.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.64%22%2F%3E%20%3Crect%20x%3D%22695.5%22%20y%3D%22360.2%22%20width%3D%224.1%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-60.5%20697.5%20361.7%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.25%22%2F%3E%20%3Crect%20x%3D%22143.5%22%20y%3D%22675.1%22%20width%3D%2211.4%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%284.7%20149.2%20677.4%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%22668.4%22%20y%3D%22346.8%22%20width%3D%225.5%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-4.4%20671.2%20349.0%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.13%22%2F%3E%20%3Crect%20x%3D%22322.2%22%20y%3D%22286.7%22%20width%3D%224.7%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2833.0%20324.5%20287.9%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.21%22%2F%3E%20%3Crect%20x%3D%221009.4%22%20y%3D%22258.9%22%20width%3D%2212.2%22%20height%3D%225.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2843.4%201015.5%20261.8%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.68%22%2F%3E%20%3Crect%20x%3D%22526.5%22%20y%3D%22645.3%22%20width%3D%227.8%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2813.9%20530.4%20648.0%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.92%22%2F%3E%20%3Crect%20x%3D%221238.9%22%20y%3D%22169.2%22%20width%3D%229.1%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-32.2%201243.4%20170.6%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%221221.9%22%20y%3D%22690.9%22%20width%3D%227.0%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2837.6%201225.3%20692.0%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.66%22%2F%3E%20%3Crect%20x%3D%221118.5%22%20y%3D%22180.6%22%20width%3D%227.1%22%20height%3D%223.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%283.4%201122.1%20182.4%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%22720.9%22%20y%3D%22664.1%22%20width%3D%2212.2%22%20height%3D%223.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-0.4%20727.0%20665.6%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.78%22%2F%3E%20%3Crect%20x%3D%221035.1%22%20y%3D%22639.9%22%20width%3D%225.8%22%20height%3D%225.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2830.3%201038.0%20642.7%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.61%22%2F%3E%20%3Crect%20x%3D%22128.0%22%20y%3D%22633.1%22%20width%3D%228.2%22%20height%3D%222.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2839.9%20132.1%20634.4%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.82%22%2F%3E%20%3Crect%20x%3D%22199.8%22%20y%3D%22651.0%22%20width%3D%2210.2%22%20height%3D%223.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-60.4%20204.8%20652.5%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%22486.8%22%20y%3D%22342.8%22%20width%3D%224.0%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-48.0%20488.8%20344.6%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.26%22%2F%3E%20%3Crect%20x%3D%221232.8%22%20y%3D%22630.2%22%20width%3D%2210.7%22%20height%3D%222.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2870.8%201238.2%20631.6%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.83%22%2F%3E%20%3Crect%20x%3D%2239.2%22%20y%3D%22718.6%22%20width%3D%228.0%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2835.7%2043.2%20721.0%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.94%22%2F%3E%20%3Crect%20x%3D%221149.2%22%20y%3D%22667.5%22%20width%3D%229.8%22%20height%3D%224.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2873.8%201154.1%20669.7%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.72%22%2F%3E%20%3Crect%20x%3D%22532.8%22%20y%3D%22102.9%22%20width%3D%226.1%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2865.5%20535.8%20105.7%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.63%22%2F%3E%20%3Crect%20x%3D%2297.2%22%20y%3D%22546.7%22%20width%3D%228.9%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2827.7%20101.6%20549.0%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.52%22%2F%3E%20%3Crect%20x%3D%22149.5%22%20y%3D%22534.4%22%20width%3D%225.2%22%20height%3D%225.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2866.7%20152.1%20537.3%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.53%22%2F%3E%20%3Crect%20x%3D%221013.1%22%20y%3D%2292.2%22%20width%3D%2210.7%22%20height%3D%223.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%2854.4%201018.4%2093.8%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.47%22%2F%3E%20%3Crect%20x%3D%22934.6%22%20y%3D%22746.2%22%20width%3D%226.4%22%20height%3D%224.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2837.2%20937.8%20748.7%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.67%22%2F%3E%20%3Crect%20x%3D%22414.9%22%20y%3D%22394.3%22%20width%3D%224.0%22%20height%3D%224.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2814.4%20416.9%20396.3%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.32%22%2F%3E%20%3Crect%20x%3D%22886.5%22%20y%3D%22268.4%22%20width%3D%225.5%22%20height%3D%224.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-47.1%20889.2%20270.5%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.31%22%2F%3E%20%3Crect%20x%3D%22218.6%22%20y%3D%2248.7%22%20width%3D%2211.0%22%20height%3D%223.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-9.2%20224.1%2050.2%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.51%22%2F%3E%20%3Crect%20x%3D%2255.4%22%20y%3D%22190.7%22%20width%3D%225.7%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2868.3%2058.3%20192.9%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.74%22%2F%3E%20%3Crect%20x%3D%22111.6%22%20y%3D%22584.5%22%20width%3D%227.0%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-51.0%20115.1%20585.6%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.69%22%2F%3E%20%3Crect%20x%3D%221007.2%22%20y%3D%22462.9%22%20width%3D%229.6%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-47.0%201012.0%20465.3%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.54%22%2F%3E%20%3Crect%20x%3D%22203.7%22%20y%3D%2298.5%22%20width%3D%229.8%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2866.0%20208.6%20100.9%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.55%22%2F%3E%20%3Crect%20x%3D%22993.9%22%20y%3D%22628.8%22%20width%3D%2212.3%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2865.3%201000.0%20631.0%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%221035.0%22%20y%3D%22623.6%22%20width%3D%225.9%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2865.4%201037.9%20626.4%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.93%22%2F%3E%20%3Crect%20x%3D%22172.6%22%20y%3D%22704.2%22%20width%3D%2210.5%22%20height%3D%225.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2826.1%20177.9%20707.2%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.78%22%2F%3E%20%3Crect%20x%3D%22388.7%22%20y%3D%22150.9%22%20width%3D%2211.3%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-22.6%20394.3%20153.4%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.60%22%2F%3E%20%3Crect%20x%3D%2217.2%22%20y%3D%22670.9%22%20width%3D%227.7%22%20height%3D%223.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-34.2%2021.0%20672.7%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.65%22%2F%3E%20%3Crect%20x%3D%221061.3%22%20y%3D%22165.7%22%20width%3D%2211.8%22%20height%3D%225.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-2.0%201067.2%20168.3%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.50%22%2F%3E%20%3Crect%20x%3D%22556.1%22%20y%3D%22110.8%22%20width%3D%2211.5%22%20height%3D%222.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2818.3%20561.9%20112.1%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.86%22%2F%3E%20%3Crect%20x%3D%22108.2%22%20y%3D%22684.1%22%20width%3D%226.1%22%20height%3D%225.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2850.8%20111.3%20687.1%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.69%22%2F%3E%20%3Crect%20x%3D%22709.7%22%20y%3D%22696.2%22%20width%3D%225.4%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2837.7%20712.4%20698.4%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.60%22%2F%3E%20%3Crect%20x%3D%221119.9%22%20y%3D%22668.3%22%20width%3D%2211.1%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-27.8%201125.4%20670.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.60%22%2F%3E%20%3Crect%20x%3D%2234.5%22%20y%3D%22349.3%22%20width%3D%225.4%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-8.3%2037.2%20352.0%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.92%22%2F%3E%20%3Crect%20x%3D%221157.0%22%20y%3D%22715.7%22%20width%3D%227.0%22%20height%3D%224.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2842.5%201160.5%20717.9%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.59%22%2F%3E%20%3Crect%20x%3D%221132.6%22%20y%3D%22161.8%22%20width%3D%2212.4%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-45.0%201138.8%20164.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.66%22%2F%3E%20%3Crect%20x%3D%22124.0%22%20y%3D%22598.5%22%20width%3D%226.6%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-47.2%20127.3%20601.2%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.66%22%2F%3E%20%3Crect%20x%3D%22100.2%22%20y%3D%22233.7%22%20width%3D%229.2%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-51.6%20104.8%20236.0%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.82%22%2F%3E%20%3Crect%20x%3D%22274.3%22%20y%3D%2241.4%22%20width%3D%2211.6%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%288.7%20280.1%2044.0%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.94%22%2F%3E%20%3Crect%20x%3D%221016.2%22%20y%3D%22709.7%22%20width%3D%226.0%22%20height%3D%225.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%282.5%201019.2%20712.5%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.66%22%2F%3E%20%3Crect%20x%3D%221107.3%22%20y%3D%22569.5%22%20width%3D%2211.2%22%20height%3D%225.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-50.2%201112.9%20572.5%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%221012.3%22%20y%3D%22149.6%22%20width%3D%226.0%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%285.2%201015.3%20152.3%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%22654.9%22%20y%3D%22741.5%22%20width%3D%2210.7%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2821.9%20660.2%20742.7%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.74%22%2F%3E%20%3Crect%20x%3D%22180.6%22%20y%3D%22545.9%22%20width%3D%227.2%22%20height%3D%224.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2831.2%20184.2%20548.0%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.54%22%2F%3E%20%3Crect%20x%3D%22742.0%22%20y%3D%22531.5%22%20width%3D%223.9%22%20height%3D%224.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2853.1%20743.9%20533.6%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.31%22%2F%3E%20%3Crect%20x%3D%22604.3%22%20y%3D%2263.7%22%20width%3D%2211.1%22%20height%3D%225.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2835.8%20609.8%2066.3%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.85%22%2F%3E%20%3Crect%20x%3D%22663.7%22%20y%3D%22770.8%22%20width%3D%225.3%22%20height%3D%225.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-58.2%20666.3%20773.5%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.68%22%2F%3E%20%3Crect%20x%3D%22187.8%22%20y%3D%22774.8%22%20width%3D%227.1%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2843.0%20191.4%20777.3%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.73%22%2F%3E%20%3Crect%20x%3D%221050.3%22%20y%3D%22104.7%22%20width%3D%2213.5%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-69.4%201057.0%20105.9%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.55%22%2F%3E%20%3Crect%20x%3D%221237.7%22%20y%3D%22351.0%22%20width%3D%2210.7%22%20height%3D%223.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%289.4%201243.1%20352.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.67%22%2F%3E%20%3Crect%20x%3D%2255.6%22%20y%3D%22417.9%22%20width%3D%226.9%22%20height%3D%223.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%285.9%2059.1%20419.7%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.94%22%2F%3E%20%3Crect%20x%3D%22337.1%22%20y%3D%2253.2%22%20width%3D%2213.6%22%20height%3D%225.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2839.9%20343.9%2056.2%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.45%22%2F%3E%20%3Crect%20x%3D%22383.4%22%20y%3D%2278.1%22%20width%3D%2212.9%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-45.2%20389.8%2080.8%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.70%22%2F%3E%20%3Crect%20x%3D%2243.4%22%20y%3D%22153.2%22%20width%3D%2210.6%22%20height%3D%223.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2834.1%2048.7%20155.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.78%22%2F%3E%20%3Crect%20x%3D%2275.5%22%20y%3D%22317.5%22%20width%3D%2210.1%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2831.6%2080.6%20320.3%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.48%22%2F%3E%20%3Crect%20x%3D%221034.7%22%20y%3D%2256.2%22%20width%3D%2211.7%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-34.4%201040.6%2057.4%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.71%22%2F%3E%20%3Crect%20x%3D%22783.5%22%20y%3D%22423.1%22%20width%3D%224.8%22%20height%3D%223.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2866.8%20785.9%20424.8%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.27%22%2F%3E%20%3Crect%20x%3D%22894.1%22%20y%3D%2241.2%22%20width%3D%2211.5%22%20height%3D%223.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2820.9%20899.9%2042.8%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.47%22%2F%3E%20%3Crect%20x%3D%221140.4%22%20y%3D%22161.3%22%20width%3D%2212.1%22%20height%3D%224.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2874.1%201146.4%20163.5%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.90%22%2F%3E%20%3Crect%20x%3D%22539.6%22%20y%3D%2232.1%22%20width%3D%2212.7%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2873.4%20545.9%2033.5%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.84%22%2F%3E%20%3Crect%20x%3D%221212.8%22%20y%3D%22312.3%22%20width%3D%2211.5%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-19.3%201218.6%20314.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.47%22%2F%3E%20%3Crect%20x%3D%22436.2%22%20y%3D%22115.4%22%20width%3D%226.6%22%20height%3D%222.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2870.9%20439.5%20116.7%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.65%22%2F%3E%20%3Crect%20x%3D%22286.4%22%20y%3D%2281.8%22%20width%3D%2211.7%22%20height%3D%225.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-20.6%20292.2%2084.7%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%22180.1%22%20y%3D%22668.5%22%20width%3D%2213.8%22%20height%3D%223.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%2846.9%20187.0%20670.2%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%221117.2%22%20y%3D%22667.2%22%20width%3D%2211.5%22%20height%3D%222.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2814.0%201123.0%20668.5%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.68%22%2F%3E%20%3Crect%20x%3D%221119.8%22%20y%3D%22582.1%22%20width%3D%2213.9%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2853.0%201126.7%20584.6%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.51%22%2F%3E%20%3Crect%20x%3D%22977.4%22%20y%3D%22418.2%22%20width%3D%224.6%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-30.7%20979.7%20420.5%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.27%22%2F%3E%20%3Crect%20x%3D%22569.3%22%20y%3D%22309.1%22%20width%3D%224.6%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-26.9%20571.6%20310.6%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.20%22%2F%3E%20%3Crect%20x%3D%22292.2%22%20y%3D%22643.3%22%20width%3D%2213.7%22%20height%3D%223.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-33.2%20299.0%20644.8%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%221170.2%22%20y%3D%22629.4%22%20width%3D%2212.0%22%20height%3D%225.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-70.3%201176.2%20632.0%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%22145.0%22%20y%3D%22185.6%22%20width%3D%229.1%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-39.1%20149.5%20188.2%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.83%22%2F%3E%20%3Crect%20x%3D%22649.5%22%20y%3D%22167.5%22%20width%3D%228.9%22%20height%3D%225.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-38.0%20654.0%20170.3%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.92%22%2F%3E%20%3Crect%20x%3D%22389.0%22%20y%3D%22209.9%22%20width%3D%226.6%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%2825.0%20392.3%20211.3%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.24%22%2F%3E%20%3Crect%20x%3D%221230.8%22%20y%3D%22561.6%22%20width%3D%226.2%22%20height%3D%225.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2849.7%201233.9%20564.4%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.69%22%2F%3E%20%3Crect%20x%3D%22494.9%22%20y%3D%22689.9%22%20width%3D%226.5%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2837.3%20498.2%20691.0%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.70%22%2F%3E%20%3Crect%20x%3D%22197.8%22%20y%3D%22725.6%22%20width%3D%2211.7%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-13.6%20203.7%20728.2%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.85%22%2F%3E%20%3Crect%20x%3D%22505.7%22%20y%3D%22646.5%22%20width%3D%2210.3%22%20height%3D%222.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-74.8%20510.8%20647.8%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.65%22%2F%3E%20%3Crect%20x%3D%22740.7%22%20y%3D%22264.6%22%20width%3D%224.2%22%20height%3D%223.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-22.1%20742.8%20266.3%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.17%22%2F%3E%20%3Crect%20x%3D%22171.7%22%20y%3D%2294.8%22%20width%3D%2211.5%22%20height%3D%222.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-46.2%20177.4%2095.9%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.80%22%2F%3E%20%3Crect%20x%3D%22180.6%22%20y%3D%22599.9%22%20width%3D%2211.6%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-53.9%20186.4%20602.4%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.52%22%2F%3E%20%3Crect%20x%3D%22175.3%22%20y%3D%22176.7%22%20width%3D%226.2%22%20height%3D%222.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-36.1%20178.4%20178.0%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.74%22%2F%3E%20%3Crect%20x%3D%2261.3%22%20y%3D%22168.0%22%20width%3D%229.1%22%20height%3D%223.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2813.9%2065.8%20169.7%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.55%22%2F%3E%20%3Crect%20x%3D%221265.8%22%20y%3D%22459.8%22%20width%3D%2212.0%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-30.4%201271.8%20462.1%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.80%22%2F%3E%20%3Crect%20x%3D%22210.8%22%20y%3D%22558.3%22%20width%3D%2211.4%22%20height%3D%222.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-41.0%20216.5%20559.4%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.57%22%2F%3E%20%3Crect%20x%3D%22260.5%22%20y%3D%22681.2%22%20width%3D%228.6%22%20height%3D%222.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%2869.3%20264.8%20682.5%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.49%22%2F%3E%20%3Crect%20x%3D%22275.5%22%20y%3D%22352.5%22%20width%3D%229.2%22%20height%3D%224.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-33.0%20280.1%20354.6%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.68%22%2F%3E%20%3Crect%20x%3D%22577.0%22%20y%3D%22263.8%22%20width%3D%223.2%22%20height%3D%223.1%22%20rx%3D%220.6%22%20transform%3D%22rotate%289.6%20578.6%20265.4%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.29%22%2F%3E%20%3Crect%20x%3D%221134.0%22%20y%3D%22274.2%22%20width%3D%228.0%22%20height%3D%223.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-4.2%201137.9%20275.9%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%22152.3%22%20y%3D%22373.5%22%20width%3D%228.5%22%20height%3D%224.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-3.3%20156.6%20375.8%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%221054.7%22%20y%3D%22354.9%22%20width%3D%226.6%22%20height%3D%223.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%2846.6%201058.0%20356.5%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.94%22%2F%3E%20%3Crect%20x%3D%22393.7%22%20y%3D%2242.4%22%20width%3D%229.7%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-29.9%20398.5%2043.8%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.49%22%2F%3E%20%3Crect%20x%3D%22136.7%22%20y%3D%22565.4%22%20width%3D%2210.3%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-18.7%20141.9%20568.1%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.75%22%2F%3E%20%3Crect%20x%3D%221247.3%22%20y%3D%22518.1%22%20width%3D%227.5%22%20height%3D%226.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-50.5%201251.1%20521.1%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.52%22%2F%3E%20%3Crect%20x%3D%22225.2%22%20y%3D%22568.1%22%20width%3D%2211.8%22%20height%3D%225.3%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-42.8%20231.1%20570.8%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.86%22%2F%3E%20%3Crect%20x%3D%22113.0%22%20y%3D%22204.9%22%20width%3D%228.4%22%20height%3D%223.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%2840.9%20117.3%20206.5%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.81%22%2F%3E%20%3Crect%20x%3D%22506.0%22%20y%3D%2216.4%22%20width%3D%2211.1%22%20height%3D%222.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-69.7%20511.6%2017.7%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.62%22%2F%3E%20%3Crect%20x%3D%22434.9%22%20y%3D%22787.4%22%20width%3D%227.6%22%20height%3D%222.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%288.3%20438.7%20788.6%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.76%22%2F%3E%20%3Crect%20x%3D%22867.4%22%20y%3D%22560.6%22%20width%3D%224.2%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2844.9%20869.5%20563.1%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.25%22%2F%3E%20%3Crect%20x%3D%221225.1%22%20y%3D%22344.1%22%20width%3D%229.5%22%20height%3D%222.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2830.5%201229.9%20345.6%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%221192.9%22%20y%3D%22250.9%22%20width%3D%226.8%22%20height%3D%225.6%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-67.0%201196.3%20253.7%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.48%22%2F%3E%20%3Crect%20x%3D%22222.5%22%20y%3D%22731.0%22%20width%3D%226.6%22%20height%3D%225.5%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-71.6%20225.7%20733.7%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.63%22%2F%3E%20%3Crect%20x%3D%22273.5%22%20y%3D%22172.9%22%20width%3D%2212.8%22%20height%3D%224.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2841.5%20279.9%20174.9%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.53%22%2F%3E%20%3Crect%20x%3D%22921.7%22%20y%3D%22387.0%22%20width%3D%225.4%22%20height%3D%222.2%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-25.1%20924.4%20388.1%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.23%22%2F%3E%20%3Crect%20x%3D%22974.8%22%20y%3D%22789.6%22%20width%3D%227.4%22%20height%3D%223.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-15.8%20978.5%20791.5%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.66%22%2F%3E%20%3Crect%20x%3D%221109.9%22%20y%3D%22538.7%22%20width%3D%227.5%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-24.8%201113.7%20540.9%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.81%22%2F%3E%20%3Crect%20x%3D%22847.8%22%20y%3D%22758.5%22%20width%3D%225.8%22%20height%3D%222.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-2.6%20850.7%20759.9%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.81%22%2F%3E%20%3Crect%20x%3D%2281.5%22%20y%3D%22495.7%22%20width%3D%2211.0%22%20height%3D%225.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%2846.6%2087.0%20498.5%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.63%22%2F%3E%20%3Crect%20x%3D%221151.1%22%20y%3D%22467.2%22%20width%3D%2210.9%22%20height%3D%223.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2821.5%201156.6%20469.1%29%22%20fill%3D%22%23FFF1B0%22%20opacity%3D%220.46%22%2F%3E%20%3Crect%20x%3D%22101.0%22%20y%3D%22183.8%22%20width%3D%225.1%22%20height%3D%224.9%22%20rx%3D%220.6%22%20transform%3D%22rotate%2829.4%20103.6%20186.3%29%22%20fill%3D%22%23C9962A%22%20opacity%3D%220.94%22%2F%3E%20%3Crect%20x%3D%22987.3%22%20y%3D%2221.8%22%20width%3D%229.5%22%20height%3D%224.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%2812.9%20992.1%2023.8%29%22%20fill%3D%22%23F6E27A%22%20opacity%3D%220.71%22%2F%3E%20%3Crect%20x%3D%22111.6%22%20y%3D%22767.8%22%20width%3D%2210.1%22%20height%3D%225.0%22%20rx%3D%220.6%22%20transform%3D%22rotate%289.1%20116.6%20770.2%29%22%20fill%3D%22%23EED27A%22%20opacity%3D%220.70%22%2F%3E%20%3Crect%20x%3D%221181.8%22%20y%3D%22220.7%22%20width%3D%228.9%22%20height%3D%223.8%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-56.5%201186.2%20222.6%29%22%20fill%3D%22%23E8C547%22%20opacity%3D%220.77%22%2F%3E%20%3Crect%20x%3D%22836.8%22%20y%3D%2262.5%22%20width%3D%225.3%22%20height%3D%224.7%22%20rx%3D%220.6%22%20transform%3D%22rotate%28-60.7%20839.4%2064.9%29%22%20fill%3D%22%23F3D56A%22%20opacity%3D%220.67%22%2F%3E%20%3Crect%20x%3D%22773.9%22%20y%3D%22765.2%22%20width%3D%2210.4%22%20height%3D%224.4%22%20rx%3D%220.6%22%20transform%3D%22rotate%2830.4%20779.1%20767.4%29%22%20fill%3D%22%23D4A017%22%20opacity%3D%220.94%22%2F%3E%20%3C%2Fsvg%3E") 0 0 / 1280px 800px repeat;
  opacity: 0.34;
  animation: live-gold-fall 48s linear infinite;
}

html[data-scheme="dark"] .live-wm-gold {
  opacity: 0.44;
}

@keyframes live-gold-fall {
  from { background-position: 0 0; }
  to { background-position: 1280px 800px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-wm-gold {
    animation: none;
  }
}


.shell {
  position: relative;
  z-index: 1;
  width: min(1440px, calc(100vw - 40px));
  margin: 24px auto 40px;
}

.topbar-inner,
.section-head,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 16px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  color: var(--text);
  background: transparent;
  box-shadow: none;
  border-bottom: none;
}

.topbar-inner {
  width: min(1440px, calc(100vw - 40px));
  min-height: 64px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--text) 28%, transparent);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
}

.brand-text h1 {
  font-size: 18px;
}

.brand p,
.brand-meta {
  margin-top: 1px;
  color: var(--muted);
  font-size: 12px;
}

.global-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.global-actions--slim {
  flex-wrap: nowrap;
  gap: var(--space-1);
}

.top-action {
  height: 36px;
  border-color: color-mix(in srgb, var(--text) 28%, transparent);
  background: transparent;
  color: var(--text);
}

.top-action:hover {
  background: var(--control-hover);
}

.theme-toggle {
  width: 38px;
  padding: 0;
  font-size: 19px;
}

.top-badge {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
}

.panel {
  margin-top: 14px;
  padding: var(--space-2);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}

.dashboard {
  padding: 18px 0 2px;
}

.period-stats-dialog {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
}

.period-dialog-shell {
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 18px;
}

.period-dialog-head {
  margin-bottom: 8px;
}

.period-stats-controls {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) minmax(170px, 0.8fr) minmax(280px, 1.4fr);
  gap: 12px;
  align-items: end;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--control);
  overflow: visible;
}

.period-stats-controls label {
  color: var(--muted);
  font-weight: 700;
}

.period-account-field {
  min-width: 0;
  color: var(--muted);
  font-weight: 700;
}

.period-account-dropdown {
  position: relative;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.period-stats-controls input {
  margin-top: 6px;
}

.period-account-menu-btn {
  width: 100%;
  height: 38px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.period-account-menu-btn span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.period-account-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: 280px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 30px rgba(24, 58, 53, 0.18);
  overflow: auto;
}

.period-refresh-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.period-refresh-row .summary {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.period-refresh-row button {
  width: auto;
  white-space: nowrap;
}

.period-auto-refresh,
.period-auto-interval {
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.period-auto-refresh input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.period-auto-interval input {
  width: 76px;
  margin: 0;
}

.period-account-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.period-account-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.period-account-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.period-account-option span,
.period-account-option strong,
.period-account-option small {
  min-width: 0;
}

.period-account-option span {
  display: grid;
  gap: 2px;
}

.period-account-option strong,
.period-account-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.period-account-option small {
  color: var(--muted);
  font-weight: 600;
}

.period-stats-results {
  display: grid;
  gap: 10px;
}

.period-sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--sales-card-border);
  border-radius: 10px;
  background: var(--sales-card-bg);
  color: var(--sales-card-num);
}

.period-sales-main {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.period-sales-main span {
  color: inherit;
  opacity: 0.78;
  font-weight: 800;
}

.period-sales-amount {
  display: block;
  max-width: 100%;
  margin-top: 6px;
  color: var(--sales-card-num);
  font-family: "Arial Black", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  transform-origin: center center;
}

.period-sales-side {
  min-width: 0;
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.period-sales-side span,
.period-sales-side small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.period-sales-side strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.period-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.period-hero-item {
  min-width: 0;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--control);
}

.period-hero-item span {
  display: block;
  color: inherit;
  opacity: 0.75;
  font-weight: 800;
}

.period-money {
  display: block;
  width: 100%;
  margin-top: 10px;
  color: inherit;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  transform-origin: left center;
}

.period-rate {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.period-rate.muted {
  margin-top: 3px;
  font-weight: 700;
  opacity: 0.78;
}

.period-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.period-stat {
  min-height: 66px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--control);
}

.period-stat strong {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.15;
}

.period-stat span,
.period-stat small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.period-account-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.period-account-card {
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
}

.period-account-title {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.period-account-title strong {
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.period-account-title small {
  color: var(--muted);
  flex: 0 1 auto;
  min-width: 80px;
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.period-account-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.period-account-metrics span {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(88px, 1fr);
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 8px;
  background: var(--control);
}

.period-account-metrics em,
.period-account-metrics b {
  min-width: 0;
}

.period-account-metrics em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.period-account-metrics b {
  color: var(--text);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.period-warning {
  margin: 0;
  padding: 9px 10px;
  border: 1px solid var(--warn-border);
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn-text);
}

.today-sales-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 126px;
  width: 100%;
  margin: 16px 0 14px;
  padding: 20px 26px 29px;
  border: 1px solid var(--sales-card-border);
  border-radius: 8px;
  background: var(--sales-card-bg);
  color: var(--sales-card-num);
  box-shadow: var(--sales-card-shadow);
}

.today-sales-main {
  width: clamp(320px, 34vw, 520px);
  min-width: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  text-align: center;
}

.today-sales-metrics {
  position: absolute;
  left: 26px;
}

.today-sales-updated {
  position: absolute;
  right: 26px;
}

.today-sales-main > strong {
  display: block;
  width: 100%;
  margin-top: 0;
  font-family: "Arial Black", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.today-sales-main > strong.today-sales-amount,
.today-sales-amount {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  height: 1em;
  min-height: 1em;
  margin-top: 7px;
  overflow: visible;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-align: center;
  transform: translateZ(0);
  letter-spacing: 0.01em;
  vertical-align: middle;
}

.today-sales-amount.slot-amount {
  gap: 0;
}

.today-sales-amount .slot-reel {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: center;
  width: 0.62em;
  height: 1em;
  overflow: hidden;
  line-height: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.today-sales-amount .slot-strip {
  display: block;
  will-change: transform;
  transform: translateY(0);
  line-height: 1;
}

.today-sales-amount .slot-strip i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1em;
  font-style: normal;
  font-weight: inherit;
  line-height: 1;
  text-align: center;
}

.today-sales-amount .slot-char {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 1em;
  line-height: 1;
}

.today-sales-amount .slot-currency {
  margin-right: 0.06em;
  font-size: 0.72em;
  font-weight: 900;
  line-height: 1;
  opacity: 0.95;
  transform: translateY(0.02em);
}

.today-sales-amount .slot-dot {
  width: 0.34em;
  text-align: center;
  transform: translateY(-0.02em);
}

.today-sales-amount.is-counting {
  filter: drop-shadow(0 0 12px rgba(255, 214, 102, 0.34));
}

.today-sales-amount.is-settled {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .today-sales-amount .slot-strip {
    transition: none !important;
  }
}

.today-sales-main > span,
.today-sales-metrics span {
  color: var(--sales-card-muted);
  font-size: 13px;
}

.today-sales-updated span {
  color: var(--sales-card-muted-2);
  font-size: 11px;
  font-weight: 500;
}

.today-sales-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.today-sales-live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sales-live);
  box-shadow: 0 0 0 5px var(--sales-live-glow);
}

.today-sales-metrics {
  text-align: left;
}

.today-sales-metrics strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 21px;
  white-space: nowrap;
}

.today-sales-updated {
  text-align: right;
  white-space: nowrap;
}

.today-sales-updated strong {
  display: block;
  margin-top: 4px;
  color: var(--sales-card-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.today-sales-note {
  position: absolute;
  right: 18px;
  bottom: 8px;
  color: var(--sales-card-muted-2);
  font-size: 11px;
}

.eyebrow {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.icon-button {
  width: 38px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.global-notice {
  position: fixed;
  top: 82px;
  right: 20px;
  z-index: 50;
  width: min(360px, calc(100vw - 40px));
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid #bdd9d2;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 30px rgba(24, 58, 53, 0.18);
}

.global-notice-title {
  color: var(--text);
  font-weight: 700;
}

.add-account-panel {
  padding: 12px 16px;
}

.add-account-panel summary {
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--control);
  color: var(--text);
  font: inherit;
}

textarea {
  height: auto;
  resize: vertical;
}

button {
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

button:hover {
  background: var(--accent-strong);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

button.secondary {
  background: var(--control);
  color: var(--accent);
}

button.secondary:hover {
  background: var(--control-hover);
}

button.mini {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.button-link {
  display: inline-flex;
  height: 38px;
  padding: 0 14px;
  align-items: center;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.button-link.mini {
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.button-link:hover {
  background: var(--control-hover);
}

.table-sort {
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.table-sort:hover {
  background: transparent;
  color: var(--accent);
}

.product-note-input {
  width: 76px;
  height: 30px;
  padding: 5px 7px;
}

.actions {
  align-self: end;
  justify-content: flex-start;
}

.message {
  min-height: 22px;
  margin-top: 10px;
  color: var(--muted);
}

.message.error,
.issue {
  color: var(--danger);
}

.layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--space-2);
}

.layout > * {
  min-width: 0;
}

.account-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.accounts-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.accounts-head #openAddAccountBtn {
  flex: 0 0 auto;
}

.dashboard-accounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}

.dashboard-accounts-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.dashboard-accounts-summary {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.dashboard-accounts-summary::-webkit-details-marker {
  display: none;
}

.dashboard-accounts-summary > .summary {
  margin-top: 0;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-account {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  height: auto;
  min-height: 108px;
  padding: 10px;
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
  text-align: left;
}

.dashboard-account:hover {
  background: var(--panel-hover);
}

.dashboard-account span {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-account strong {
  display: block;
  font-size: 14px;
}

.account-id,
.last-time {
  display: block;
  margin-top: 4px;
}

.status {
  justify-self: end;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--status-bg);
}

.status.ok {
  color: var(--accent);
  background: var(--ok-soft);
}

.status.bad {
  color: var(--danger);
  background: var(--danger-soft);
}

.account-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.account-metrics span {
  padding: 5px;
  border-radius: 6px;
  background: var(--soft);
}

.account-metrics b {
  display: block;
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.account-metric-money {
  text-align: center;
}

.account-metric-money b {
  font-size: 15px;
}

.account-metric-today-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.account-metric-today {
  text-align: center;
  background: var(--ok-soft);
}

.account-metric-today b {
  font-size: 16px;
  color: var(--accent-strong);
}

.account-metric-today-commission {
  text-align: center;
  background: var(--warn-bg);
}

.account-metric-today-commission b {
  font-size: 16px;
  color: var(--warn-text);
}

.no-stats-badge {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 12px;
  font-weight: 600;
}

.checkbox-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin: 4px 0 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.checkbox-field small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent, #2563eb);
}

/* 删除账号确认按钮：专用实心危险按钮。
   注意：不要复用 .danger-button —— 原有规则带 !important 把文字强制成 --danger，
   与背景同色会导致文字完全不可见。 */
.confirm-delete-button {
  background: #b42318;
  border-color: #b42318;
  color: #fff;
}

.confirm-delete-button:hover:not(:disabled) {
  background: #8f1c13;
  border-color: #8f1c13;
  color: #fff;
}

.confirm-delete-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.last-time {
  grid-column: 1 / -1;
}

.sync-status {
  grid-column: 1 / -1;
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.sync-status.changed {
  color: var(--accent-strong);
}

.sync-status.skipped {
  color: var(--muted);
}

.account {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 118px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  white-space: normal;
  overflow: visible;
}

.account.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--active-ring);
}

.account-card-title {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.account strong {
  display: -webkit-box;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding-right: 0;
  font-size: 15px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: break-word;
}

.account-card-title .status-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin: 5px 0 0;
}

.account span,
.summary {
  color: var(--muted);
}

.account-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.account-card-actions {
  position: static;
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 2px;
}

.account .delete-account,
.account .edit-account,
.account .archive-account,
.account .unarchive-account {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--control);
  color: var(--danger);
  font-size: 12px;
}

.account .edit-account {
  color: var(--accent);
}

.account .archive-account {
  color: var(--muted);
}

.account .unarchive-account {
  color: #16a34a;
}

.account.archived {
  opacity: 0.62;
  background: var(--control);
}

.account-archived-tag {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  align-self: center;
  margin-left: 0;
  padding: 1px 7px;
  border-radius: 4px;
  background: var(--control);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.account-appid,
.account-remark,
.account-error,
.account-time {
  display: block;
  margin-top: 6px;
  line-height: 1.35;
}

.account-appid {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-remark {
  color: var(--muted) !important;
  font-weight: 400;
}

.account-error {
  display: -webkit-box;
  max-height: 38px;
  overflow: hidden;
  color: var(--danger);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--muted);
}

.status-dot.ok {
  background: var(--traffic-ok);
}

.status-dot.bad {
  background: var(--traffic-bad);
}

.table-wrap {
  width: 100%;
  max-height: min(70vh, 920px);
  overflow: auto;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-scroll-hint {
  display: none;
}

.tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.tab {
  height: 36px;
  background: var(--control);
  color: var(--muted);
  border-color: var(--line);
}

.tab.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.workspace-head {
  margin-top: 16px;
}

.workspace {
  min-width: 0;
}

.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-filters {
  grid-template-columns: minmax(220px, 1.25fr) minmax(220px, 1.25fr) minmax(130px, 0.62fr) minmax(150px, 0.7fr) minmax(120px, 0.52fr);
  align-items: end;
}

.filter-note {
  align-self: end;
  min-height: 38px;
  padding: 9px 0;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-monitor-table {
  min-width: 1180px;
  table-layout: fixed;
}

.product-monitor-table th,
.product-monitor-table td,
.commission-orders-table th,
.commission-orders-table td,
.hot-products-table th,
.hot-products-table td,
.samples-table th,
.samples-table td {
  padding: 10px 10px;
  line-height: 1.45;
  vertical-align: middle;
}

.product-monitor-table thead th,
.commission-orders-table thead th,
.hot-products-table thead th,
.samples-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--soft);
  box-shadow: 0 1px 0 var(--line);
}

.product-monitor-table tbody tr.row-issue td:first-child {
  box-shadow: inset 3px 0 0 var(--danger);
}

.product-monitor-table tbody tr.row-issue td {
  background: color-mix(in srgb, var(--danger-soft) 55%, var(--panel));
}

.product-monitor-table tbody tr.row-issue:hover td:first-child {
  box-shadow:
    inset 3px 0 0 var(--danger),
    inset 0 1px 0 color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--accent) 24%, transparent);
}

th {
  background: var(--soft);
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.copyable-product-row {
  cursor: pointer;
}

.product-monitor-table tbody tr td,
.commission-orders-table tbody tr td,
.hot-products-table tbody tr td,
.samples-table tbody tr td {
  position: relative;
  transition: background .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.product-monitor-table tbody tr:hover td,
.commission-orders-table tbody tr:hover td,
.hot-products-table tbody tr:hover td,
.samples-table tbody tr:hover td {
  background: color-mix(in srgb, var(--accent-soft) 52%, var(--panel));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--accent) 24%, transparent),
    0 8px 18px rgba(5, 95, 77, 0.08);
}

.product-monitor-table tbody tr:hover td:first-child,
.commission-orders-table tbody tr:hover td:first-child,
.hot-products-table tbody tr:hover td:first-child,
.samples-table tbody tr:hover td:first-child {
  border-top-left-radius: 7px;
  border-bottom-left-radius: 7px;
  box-shadow:
    inset 1px 0 0 color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--accent) 24%, transparent),
    0 8px 18px rgba(5, 95, 77, 0.08);
}

.product-monitor-table tbody tr:hover td:last-child,
.commission-orders-table tbody tr:hover td:last-child,
.hot-products-table tbody tr:hover td:last-child,
.samples-table tbody tr:hover td:last-child {
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
  box-shadow:
    inset -1px 0 0 color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--accent) 34%, transparent),
    inset 0 -1px 0 color-mix(in srgb, var(--accent) 24%, transparent),
    0 8px 18px rgba(5, 95, 77, 0.08);
}

.copyable-product-row.copied td {
  background: color-mix(in srgb, var(--success-soft) 70%, transparent);
}

.copy-toast {
  position: fixed;
  z-index: 2000;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--deep);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -6px);
  box-shadow: var(--shadow);
  transition: opacity .16s ease, transform .16s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, -14px);
}

.product-monitor-table th:not(:nth-child(2)),
.commission-orders-table th:not(:first-child),
.hot-products-table th:not(:nth-child(2)),
.product-monitor-table td:not(:nth-child(2)),
.commission-orders-table td:not(:first-child),
.hot-products-table td:not(:nth-child(2)) {
  text-align: center;
}

.product-monitor-table th:nth-child(2),
.product-monitor-table td:nth-child(2) {
  width: 350px;
  min-width: 350px;
  text-align: left;
}

.product-monitor-table th:nth-child(1),
.product-monitor-table td:nth-child(1) {
  width: 82px;
}

.product-monitor-table th:nth-child(3),
.product-monitor-table td:nth-child(3),
.product-monitor-table th:nth-child(4),
.product-monitor-table td:nth-child(4) {
  width: 90px;
}

.product-monitor-table th:nth-child(5),
.product-monitor-table td:nth-child(5),
.product-monitor-table th:nth-child(6),
.product-monitor-table td:nth-child(6),
.product-monitor-table th:nth-child(8),
.product-monitor-table td:nth-child(8) {
  width: 64px;
}

.product-monitor-table th:nth-child(7),
.product-monitor-table td:nth-child(7) {
  width: 80px;
}

.product-monitor-table th:nth-child(9),
.product-monitor-table td:nth-child(9) {
  width: 94px;
}

.product-monitor-table th:nth-child(10),
.product-monitor-table td:nth-child(10) {
  width: 108px;
}

.product-monitor-table th:nth-child(11),
.product-monitor-table td:nth-child(11) {
  width: 92px;
}

.product-monitor-table .product-tags-button {
  margin-inline: auto;
}

.summary {
  margin-top: 10px;
}

.subhead {
  margin-top: 18px;
}

.hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.search-input-wrap {
  position: relative;
  display: block;
}

.search-input-wrap input {
  padding-right: 42px;
}

.clear-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--soft);
  color: var(--muted);
  line-height: 1;
}

.clear-search-btn:hover {
  background: var(--line);
  color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 2px 4px 2px 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: 12px;
}

.hot-products-filters {
  grid-template-columns: minmax(180px, 220px) minmax(220px, 1fr) minmax(180px, 240px);
  align-items: end;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 38px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--control);
}

.segmented-control button {
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
}

.segmented-control button:hover,
.segmented-control button.active {
  background: var(--accent);
  color: #fff;
}

.hot-products-scope {
  width: 100%;
}

.hot-rank {
  color: var(--accent);
  font-size: 18px;
}

.hot-advice {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--status-bg);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.hot-advice.priority,
.hot-advice.growth {
  color: var(--accent);
  background: var(--ok-soft);
}

.hot-advice.hot {
  color: var(--warn-text);
  background: var(--warn-bg);
}

.hot-advice.danger {
  color: var(--danger);
  background: var(--danger-soft);
}

.product-cell {
  display: grid;
  grid-template-columns: 48px minmax(220px, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.product-text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-cell strong {
  display: -webkit-box;
  overflow: hidden;
  line-height: 1.28;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-cell .summary {
  display: block;
  margin-top: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: #f1f3f5;
}

.product-image-button {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
}

.product-image-button:hover {
  background: transparent;
}

.product-image-button:hover .product-img {
  border-color: var(--accent);
}

.open-price-history {
  display: grid;
  gap: 3px;
  min-width: 92px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.open-price-history:hover {
  background: transparent;
}

.price-change-up,
.price-change-down {
  font-size: 12px;
  white-space: nowrap;
}

.price-change-up {
  color: var(--danger);
}

.price-change-down {
  color: var(--accent);
}

.latest-commission {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 84px;
  white-space: nowrap;
}

.latest-commission strong {
  color: var(--text);
  font-weight: inherit;
}

.latest-commission small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.price-history-dialog {
  width: min(680px, calc(100vw - 32px));
}

.price-history-dialog table {
  min-width: 0;
}

.product-img-empty::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 16px auto;
  border: 2px solid #c9d0d8;
  border-radius: 4px;
}

.image-preview-dialog {
  max-width: min(92vw, 920px);
  max-height: 92vh;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.image-preview-dialog::backdrop {
  background: rgba(12, 35, 31, 0.58);
}

.image-preview-dialog img {
  display: block;
  max-width: min(88vw, 880px);
  max-height: 86vh;
  object-fit: contain;
}

.image-preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  background: var(--overlay-control);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.stat-grid.always-visible {
  margin-top: 0;
  margin-bottom: 14px;
}

.stat {
  position: relative;
  min-height: 82px;
  padding: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--stat-soft);
  box-shadow: var(--shadow-panel);
}

.stat small.share-deduction {
  position: absolute;
  right: 9px;
  bottom: 7px;
  margin-top: 0;
  font-size: 11px;
  color: var(--muted);
  opacity: 0.85;
}

.stat strong {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.stat span,
.stat small,
.log-item span,
.diag span {
  color: var(--muted);
}

.stat small {
  display: block;
  margin-top: 5px;
}

.stat.warn {
  background: var(--warn-bg);
  border-color: var(--warn-border);
}

.stat.danger-soft {
  background: var(--danger-soft);
  border-color: var(--danger-border);
}

.stat.muted-soft {
  background: var(--soft);
}

.log-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.log-item {
  display: grid;
  grid-template-columns: 170px 80px 160px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.log-result.ok {
  color: var(--accent);
}

.log-result.error {
  color: var(--danger);
}

.collapsed-logs {
  margin-top: 8px;
}

.collapsed-logs summary {
  width: fit-content;
  cursor: pointer;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--panel);
  font-weight: 600;
}

.collapsed-logs summary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.collapsed-logs-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.notification-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.notification-dialog::backdrop {
  background: rgba(12, 35, 31, 0.42);
}

.staff-dialog {
  width: min(1040px, calc(100vw - 32px));
}

.staff-access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.staff-access-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.check-list {
  display: grid;
  gap: 7px;
  max-height: 230px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.staff-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.staff-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.staff-item strong,
.staff-item span {
  display: block;
}

.staff-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.staff-item-actions {
  display: flex;
  gap: 8px;
}

.finance-ledger-dialog {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* 关闭时不显示（display:flex 会覆盖 dialog 默认的 display:none，必须补回） */
.finance-ledger-dialog:not([open]) {
  display: none;
}

.finance-ledger-shell {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  min-height: 0;
  padding-right: 4px;
}

.finance-ledger-filters,
.ledger-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.finance-ledger-filters label,
.ledger-form-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

.ledger-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ledger-goal-row {
  margin-top: 12px;
}

.ledger-summary-card.goal {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-content: stretch;
}

.goal-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.goal-title {
  font-weight: 700;
  font-size: 14px;
}

.goal-countdown {
  padding: 3px 12px;
  border-radius: 999px;
  background: #e6f7f0;
  color: #0b6750;
  border: 1px solid #7fd8b8;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.goal-countdown.spring {
  background: #fff1e6;
  color: #c2410c;
  border: 1px solid #fdba74;
}

.goal-head .set-goal-btn {
  margin-left: auto;
}

.goal-body {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.goal-amount {
  font-size: clamp(22px, 3vw, 32px) !important;
  line-height: 1;
}

.goal-body .goal-progress-meta {
  flex: 1;
  min-width: 160px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.goal-percent {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.goal-body .goal-progress-track {
  flex: 1;
  min-width: 200px;
}

.ledger-summary-card {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.ledger-summary-card.balance {
  background: var(--accent);
  color: white;
}

.goal-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.goal-progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}

.goal-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.goal-remaining {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.goal-remaining strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.ledger-summary-card span:not(.goal-countdown):not(.goal-pace):not(.goal-pace-amount) {
  color: inherit;
  opacity: 0.82;
  font-weight: 700;
}

.ledger-summary-card .goal-countdown {
  opacity: 1;
  background: #e6f7f0;
  color: #0b6750;
  border-color: #7fd8b8;
}
.ledger-summary-card .goal-countdown.spring {
  background: #fff1e6;
  color: #c2410c;
  border-color: #fdba74;
}
html[data-scheme="dark"] .ledger-summary-card .goal-countdown {
  background: #1d4a3c;
  color: #c9f5e4;
  border-color: #2f6a56;
}
html[data-scheme="dark"] .ledger-summary-card .goal-countdown.spring {
  background: #4a2a18;
  color: #ffd9b8;
  border-color: #8a5a3a;
}

.ledger-summary-card strong {
  font-family: "Arial Black", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.finance-ledger-body {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
  gap: 14px;
  align-items: start;
}

.ledger-form,
.ledger-list-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.ledger-form h3,
.ledger-list-head h3 {
  margin: 0;
}

.ledger-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.ledger-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ledger-list {
  display: grid;
  gap: 8px;
  max-height: min(460px, calc(100vh - 360px));
  overflow: auto;
}

.ledger-entry {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(130px, auto) minmax(96px, auto) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.ledger-entry.income {
  border-left: 4px solid var(--accent);
}

.ledger-entry.expense {
  border-left: 4px solid var(--danger);
}

.ledger-entry-main,
.ledger-entry-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ledger-entry-main span,
.ledger-entry-meta {
  color: var(--muted);
  font-size: 13px;
}

.ledger-entry-main strong,
.ledger-entry-main span,
.ledger-entry-meta span,
.ledger-entry-meta time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ledger-entry-amount {
  color: var(--accent);
  font-size: 18px;
  text-align: right;
}

.ledger-entry.expense .ledger-entry-amount {
  color: var(--danger);
}

.ledger-entry-actions {
  display: flex;
  gap: 6px;
}

.sms-center-dialog {
  flex-direction: column;
  width: min(1040px, calc(100vw - 32px));
  height: min(1020px, calc(100vh - 48px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  overflow: hidden;
}

.sms-center-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  display: flex;
}

.sms-center-dialog::backdrop {
  background: rgba(12, 35, 31, 0.42);
}

.sms-section-tabs {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  border-bottom: 1px solid var(--line);
}

.sms-section-tab {
  height: 38px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
}

.sms-section-tab:hover,
.sms-section-tab.active {
  border-bottom-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.sms-section-view {
  display: none;
}

.sms-section-view.active {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.sms-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto auto;
  gap: 8px;
  margin-top: 16px;
}

.sms-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 12px;
  flex: 1;
  min-height: 0;
  margin-top: 12px;
}

.sms-devices-head {
  margin-top: 14px;
}

.sms-devices-list {
  display: grid;
  flex: 1;
  min-height: 0;
  gap: 10px;
  margin-top: 12px;
  overflow-y: auto;
}

.esp32-device-card,
.esp32-empty {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.esp32-device-card-head,
.esp32-device-metrics,
.esp32-device-policy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.esp32-device-card-head {
  align-items: flex-start;
  justify-content: space-between;
}

.esp32-device-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 13px;
}

.esp32-device-metrics span {
  min-width: 0;
  padding: 9px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.esp32-device-metrics b {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 14px;
}

.esp32-device-policy {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
}

.esp32-device-policy span::before {
  content: "·";
  margin-right: 5px;
  color: var(--accent);
}

.esp32-status {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.esp32-status.online {
  background: var(--ok-soft);
  color: var(--accent);
}

.esp32-status.offline {
  background: var(--status-bg);
  color: var(--muted);
}

.esp32-device-token {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #f0c56c;
  border-radius: 7px;
  background: var(--warn-bg);
}

.esp32-device-token[hidden] {
  display: none;
}

.sms-outbound-section {
  flex-shrink: 0;
  margin-top: 12px;
}

.sms-outbound-list {
  display: grid;
  max-height: 166px;
  gap: 7px;
  margin-top: 8px;
  overflow-y: auto;
}

.sms-outbound-item {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.sms-outbound-item p {
  margin-top: 5px;
  white-space: pre-wrap;
}

.sms-outbound-status.sent {
  color: var(--accent);
}

.sms-outbound-status.failed {
  color: var(--danger);
}

.sms-numbers-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.sms-number-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  gap: 12px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.sms-number-remark {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
}

.sms-groups,
.sms-messages-pane {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--subtle);
}

.sms-groups {
  padding: 8px;
}

.sms-group {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  border-color: transparent;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.sms-group:hover,
.sms-group.active {
  border-color: #c9e2dc;
  background: var(--control-hover);
}

/* 号码归属地 */
.sms-area {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  background: var(--soft, rgba(0, 0, 0, 0.04));
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
}

/* 号码复制小按钮 */
.sms-copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 13px;
  font-style: normal;
  color: var(--muted);
  background: var(--soft, rgba(0, 0, 0, 0.04));
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.sms-group:hover .sms-copy-btn {
  opacity: 1;
}
.sms-copy-btn.copied {
  opacity: 1;
  color: #07c160;
  font-size: 11px;
  width: auto;
  padding: 0 7px;
}

.sms-group strong,
.sms-group span {
  display: block;
}

.sms-group span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.sms-group b {
  position: absolute;
  top: 9px;
  right: 9px;
  min-width: 20px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  text-align: center;
}

.sms-messages-pane {
  padding: 10px;
  background: var(--panel);
}

.sms-messages {
  display: grid;
  gap: 9px;
}

.sms-message {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}

.sms-message.unread {
  border-left: 4px solid var(--accent);
  background: var(--unread);
  cursor: pointer;
}

.sms-message-head,
.sms-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
}

.sms-message-head {
  justify-content: space-between;
}

.sms-message-head span,
.sms-meta span {
  color: var(--muted);
  font-size: 12px;
}

.sms-message p {
  margin-top: 8px;
  white-space: pre-wrap;
}

.sms-meta {
  margin-top: 8px;
}

.copy-sms-captcha {
  height: auto;
  min-height: 0;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.4;
}

.sms-mobile-detail {
  display: none;
  margin-bottom: 8px;
}

.sms-url-actions {
  margin-top: 8px;
}

.danger-button {
  color: var(--danger) !important;
}

.dialog-field {
  margin-top: 18px;
}

.check-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
}

.check-line input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.schedule-head,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.schedule-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.template-test {
  margin-top: 18px;
}

.template-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}

.compact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.schedule-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
}

.schedule-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 12px;
}

.schedule-metrics .check-line {
  margin-top: 0;
  color: var(--text);
  font-size: 12px;
}

.diagnostics {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.diag-account {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
}

.diag-account strong {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.diag-lights {
  display: grid;
  gap: 5px;
}

.diag-light-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
}

.diag-light-row span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.diag-light {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--muted);
}

.diag-light-row.ok .diag-light {
  background: var(--accent);
  box-shadow: 0 0 0 3px #dff5ed;
}

.diag-light-row.bad .diag-light {
  background: var(--danger);
  box-shadow: 0 0 0 3px #fde4e1;
}

@media (max-width: 1220px) {
  .dashboard-accounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .today-sales-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: auto;
    margin: 16px 0 14px;
    padding: 18px 18px 34px;
  }

  .today-sales-main {
    position: static;
    width: 100%;
    transform: none;
  }

  .today-sales-main > strong {
    font-size: 38px;
  }

  .today-sales-metrics {
    position: static;
    text-align: center;
  }

  .today-sales-updated {
    position: static;
    text-align: center;
  }

  .today-sales-note {
    right: 12px;
    bottom: 8px;
    max-width: calc(100% - 24px);
    font-size: 10px;
    text-align: right;
  }

  .form-grid,
  .layout,
  .filters,
  .period-stats-controls,
  .period-stats-results,
  .period-sales-hero,
  .period-hero,
  .period-mini-grid,
  .period-account-picker,
  .period-account-rows,
  .period-account-metrics,
  .dashboard-accounts,
  .dashboard-account {
    grid-template-columns: 1fr;
  }

  .period-dialog-shell {
    padding: 14px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .stat {
    min-height: 68px;
    padding: 9px;
  }

  .stat strong {
    font-size: 18px;
  }

  .log-item {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .compact-form {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: fixed;
  }

  body:not(.login-page) {
    padding-top: 64px;
  }

  .topbar-inner {
    width: min(100% - 24px, 680px);
    min-height: 64px;
    padding: 8px 0;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .brand-text h1 {
    font-size: 16px;
  }

  .brand-meta {
    display: none;
  }

  .global-actions,
  .global-actions--slim {
    display: flex;
    flex-wrap: nowrap;
    width: auto;
    margin-left: auto;
    gap: 6px;
  }

  .top-action {
    width: auto;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .shell {
    width: min(100% - 24px, 680px);
    margin-top: 12px;
  }

  .global-notice {
    top: 12px;
    right: 12px;
    width: calc(100vw - 24px);
  }

  .notification-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 14px;
  }

  .sms-center-dialog {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    padding: 12px;
  }

  .sms-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .sms-toolbar input {
    grid-column: 1 / -1;
  }

  .sms-number-item {
    grid-template-columns: 1fr;
  }

  .sms-layout {
    display: block;
    flex: 1;
    min-height: 0;
  }

  .esp32-device-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esp32-device-card-head .actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .sms-groups,
  .sms-messages-pane {
    height: 100%;
  }

  .sms-messages-pane,
  .sms-center-dialog.show-detail .sms-groups {
    display: none;
  }

  .sms-center-dialog.show-detail .sms-messages-pane {
    display: block;
  }

  .sms-mobile-detail {
    display: inline-flex;
  }

  .account-card-actions {
    position: static;
    margin-top: 8px;
  }

  .account strong {
    padding-right: 0;
  }

  .table-scroll-hint {
    display: block;
    margin: 0;
    padding: 7px 10px;
    color: var(--muted);
    background: var(--subtle);
    font-size: 12px;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-head {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-head .actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  /* 资金账本：窄屏单列，避免横向溢出 */
  .finance-ledger-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    overflow: hidden;
  }

  .finance-ledger-filters,
  .ledger-form-grid,
  .ledger-summary-grid,
  .finance-ledger-body {
    grid-template-columns: 1fr;
  }

  .finance-ledger-filters input,
  .finance-ledger-filters select {
    width: 100%;
    min-width: 0;
  }

  .ledger-entry {
    grid-template-columns: 1fr;
  }

  .ledger-entry-amount {
    text-align: left;
  }

  .ledger-list {
    max-height: none;
  }
}

.sync-progress {
  margin: 12px 0;
}

.progress-bar-track {
  height: 22px;
  background: #e8eaed;
  border-radius: 11px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 11px;
  transition: width 0.3s ease;
  min-width: 0;
}

.progress-bar-fill.error {
  background: #b42318;
}

.progress-text {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.pagination,
.pagination-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination {
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.sync-tasks-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sync-tasks-summary {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto 38px;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.sync-tasks-summary::-webkit-details-marker {
  display: none;
}

.sync-tasks-summary > .summary {
  margin-top: 0;
  color: var(--muted);
  font-size: 12px;
}

.sync-tasks-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.sync-task {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.sync-task.running {
  border-color: var(--accent);
}

.sync-task summary {
  display: grid;
  grid-template-columns: minmax(140px, 1.1fr) auto minmax(180px, 1.5fr) auto;
  gap: 9px;
  align-items: center;
  padding: 9px 10px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
}

.sync-task summary strong {
  color: var(--text);
}

.sync-task-status {
  padding: 2px 7px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--ok-soft);
}

.sync-task-status.warning,
.sync-task-status.failed {
  color: var(--danger);
  background: var(--danger-soft);
}

.sync-task-body {
  padding: 0 10px 9px;
}

.sync-task-body .progress-bar-track {
  height: 8px;
  border-radius: 4px;
}

.sync-task-body p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.sync-task-detail {
  color: var(--danger) !important;
}

.product-tags-button {
  display: flex;
  max-width: 190px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  gap: 4px;
  line-height: 1.2;
}

.product-tag,
.sms-keyword {
  display: inline-flex;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--ok-soft);
  font-size: 11px;
  line-height: 1.4;
}

.product-tag-suggestions,
.sms-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.sms-message.risk {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.sms-message.risk .sms-keyword {
  color: var(--danger);
  background: var(--panel);
}

.sample-settings-row {
  grid-template-columns: minmax(240px, 360px) minmax(260px, 1fr);
}

.compact-stats {
  margin: 12px 0;
}

.sample-stat-card {
  min-height: 72px;
  padding: 12px;
}

.samples-table th,
.samples-table td {
  vertical-align: middle;
}

.sample-merchant-cell {
  color: var(--text);
}

.sample-merchant-cell strong,
.sample-merchant-cell span {
  display: block;
}

.sample-merchant-cell strong {
  font-weight: 700;
}

.sample-merchant-cell span {
  margin-top: 3px;
  color: var(--text);
}

.sample-merchant-cell .text-copy-button {
  color: var(--text);
  font-weight: 700;
}

.sample-status {
  display: inline-flex;
  height: auto;
  min-width: 64px;
  justify-content: center;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  color: var(--accent);
  background: var(--ok-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.sample-status:hover {
  transform: none;
  filter: brightness(0.98);
  box-shadow: 0 0 0 2px color-mix(in srgb, currentColor 22%, transparent);
}

.sample-status.pending_contact,
.sample-status.contacted,
.sample-status.approved,
.sample-status.shipped {
  color: #9a5a00;
  background: #fff4d6;
}

.sample-status.rejected,
.sample-status.eliminated,
.sample-status.archived {
  color: var(--danger);
  background: var(--danger-soft);
}

.sample-status.promotable,
.sample-status.listed {
  color: var(--accent);
  background: var(--ok-soft);
}

[data-theme="dark"] .sample-status.pending_contact,
[data-theme="dark"] .sample-status.contacted,
[data-theme="dark"] .sample-status.approved,
[data-theme="dark"] .sample-status.shipped,
[data-scheme="dark"] .sample-status.pending_contact,
[data-scheme="dark"] .sample-status.contacted,
[data-scheme="dark"] .sample-status.approved,
[data-scheme="dark"] .sample-status.shipped {
  color: #ffd37a;
  background: rgba(255, 193, 7, 0.14);
}

.text-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.text-copy-button:hover {
  text-decoration: underline;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.sync-notes-dialog {
  max-width: 760px;
}

.sync-notes-preview {
  margin-top: 12px;
}

.sync-notes-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sync-notes-cards div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.sync-notes-cards strong,
.sync-notes-cards span,
.sync-notes-list span {
  display: block;
}

.sync-notes-list {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  margin-top: 12px;
}

.sync-notes-list article {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.merchant-filters {
  grid-template-columns: minmax(260px, 520px);
}

.merchants-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.merchant-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(10, 54, 44, 0.05);
  overflow: hidden;
}

.merchant-summary-row {
  display: grid;
  grid-template-columns: auto minmax(160px, 1.2fr) minmax(160px, 1fr) minmax(240px, 1.4fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.merchant-summary-row::-webkit-details-marker {
  display: none;
}

.merchant-summary-row::before {
  content: "▸";
  color: var(--accent);
  font-weight: 900;
}

.merchant-card[open] .merchant-summary-row::before {
  content: "▾";
}

.merchant-main,
.merchant-main strong,
.merchant-main span {
  display: block;
}

.merchant-main strong {
  font-size: 17px;
}

.merchant-main span,
.merchant-meta,
.merchant-card p {
  color: var(--muted);
}

.merchant-status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}

.merchant-status.paused,
.merchant-status.blocked {
  background: var(--danger-soft);
  color: var(--danger);
}

.merchant-contact-row,
.merchant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.merchant-meta span {
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--soft);
}

.merchant-detail-row {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px 36px;
  border-top: 1px solid var(--line);
}

.merchant-bound-products {
  display: grid;
  gap: 8px;
}

.merchant-bound-product {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(80px, auto) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.merchant-bound-product strong,
.merchant-bound-product span {
  display: block;
}

.product-merchant-name {
  color: var(--accent);
  font-weight: 700;
}

.product-merchant-pill {
  display: inline-grid;
  gap: 2px;
  max-width: 118px;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--text);
  text-align: left;
}

.product-merchant-pill strong,
.product-merchant-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-merchant-pill strong {
  font-size: 13px;
}

.product-merchant-pill span {
  color: var(--muted);
  font-size: 12px;
}

.merchant-dialog,
.product-merchant-dialog {
  max-width: 760px;
}

.sample-item-dialog {
  max-width: 860px;
}

@media (prefers-reduced-motion: reduce) {
  .today-sales-amount {
    animation: none;
    filter: none;
  }
}

@media (max-width: 720px) {
  .finance-ledger-filters,
  .ledger-form-grid,
  .ledger-summary-grid,
  .finance-ledger-body {
    grid-template-columns: 1fr;
  }

  .ledger-entry {
    grid-template-columns: 1fr;
  }

  .ledger-entry-amount {
    text-align: left;
  }

  .dashboard-accounts-summary {
    grid-template-columns: 1fr;
  }

  .sync-tasks-summary {
    grid-template-columns: minmax(0, 1fr) 38px;
  }

  .sync-tasks-summary > .summary {
    display: none;
  }

  .sync-task summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sync-task summary span:nth-of-type(2),
  .sync-task summary time {
    grid-column: 1 / -1;
  }
}

/* 预估佣金趋势柱状图 */
.commission-trend-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 18px;
}
.commission-trend-chart {
  margin-top: 14px;
  overflow-x: auto;
}
.commission-trend-svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 620px;
}
.commission-trend-svg .grid-line {
  stroke: var(--line);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.commission-trend-svg .y-label,
.commission-trend-svg .axis-label {
  fill: var(--muted);
  font-size: 11px;
}
.commission-trend-svg .bar-commission {
  fill: var(--accent);
}
.commission-trend-svg .bar-sales {
  fill: rgba(96, 165, 250, 0.55);
}
.commission-trend-svg .bar-gross {
  fill: rgba(136, 135, 128, 0.45);
}
.commission-trend-svg .bar-refund {
  fill: #e24b4a;
}
.commission-trend-svg .bar-net {
  fill: var(--accent);
}
.commission-trend-svg .bar-net-comm {
  fill: #185fa5;
}
.commission-trend-svg .bar-share {
  fill: #e8890c;
}
.commission-trend-svg .bar-group:hover .bar {
  opacity: 0.8;
}
.commission-trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.commission-trend-legend .legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  border-radius: 2px;
  vertical-align: -1px;
}
.commission-trend-legend .legend-dot.commission {
  background: var(--accent);
}
.commission-trend-legend .legend-dot.sales {
  background: rgba(96, 165, 250, 0.55);
}
.commission-trend-legend .legend-dot.gross {
  background: rgba(136, 135, 128, 0.45);
}
.commission-trend-legend .legend-dot.refund {
  background: #e24b4a;
}
.commission-trend-legend .legend-dot.net {
  background: var(--accent);
}
.commission-trend-legend .legend-dot.net-comm {
  background: #185fa5;
}
.commission-trend-legend .legend-dot.share {
  background: #e8890c;
}
/* 每日净佣金K线走势 */
.net-commission-kline-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0 4px;
}
.kline-stat {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stat-soft);
}
.kline-stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.kline-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.kline-stat strong em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.kline-stat.accent strong {
  color: var(--accent);
}
.kline-stat.share-stat {
  border-color: rgba(232, 137, 12, 0.35);
  background: rgba(232, 137, 12, 0.08);
}
.kline-stat.share-stat strong {
  color: #e8890c;
}
.net-commission-kline-svg .netcandle {
  opacity: 0.9;
}
.net-commission-kline-svg .netcandle.candle-up {
  fill: #e24b4a;
}
.net-commission-kline-svg .netcandle.candle-down {
  fill: #2e9e6b;
}
.net-commission-kline-svg .netshare {
  fill: #e8890c;
  opacity: 0.45;
}
.net-commission-kline-svg .avg-line {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}
.net-commission-kline-svg .avg-label {
  font-size: 11px;
  fill: var(--accent);
  font-weight: 600;
}
.commission-trend-legend .legend-dot.kline-up {
  background: #e24b4a;
}
.commission-trend-legend .legend-dot.kline-down {
  background: #2e9e6b;
}
.commission-trend-legend .legend-dot.kline-avg {
  background: var(--accent);
  border-radius: 50%;
}
@media (max-width: 720px) {
  .net-commission-kline-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stat.clickable-stat {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.stat.clickable-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 53, 47, 0.12);
}
.stat.clickable-stat .trend-icon {
  margin-left: 4px;
  font-size: 12px;
  font-style: normal;
}

/* 当天SPU订单统计卡片 */
.spu-today-card {
  margin-top: 16px;
  padding: 18px;
}
.spu-today-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.spu-today-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.spu-refresh-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.spu-refresh-label select.mini {
  height: 28px;
  padding: 0 6px;
  font-size: 12px;
}
.spu-today-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.spu-today-stat {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
}
.spu-today-stat strong {
  display: block;
  font-size: 22px;
}
.spu-today-stat span {
  color: var(--muted);
  font-size: 12px;
}
.spu-today-top {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.spu-today-top-head,
.spu-today-top-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 76px 96px;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  font-size: 13px;
}
.spu-today-top-head {
  background: var(--subtle);
  color: var(--muted);
  font-size: 12px;
}
.spu-today-top-row + .spu-today-top-row {
  border-top: 1px solid var(--line);
}
.spu-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
}
.spu-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .spu-today-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spu-today-top-head,
  .spu-today-top-row {
    grid-template-columns: 30px minmax(0, 1fr) 64px;
  }
  .spu-today-top-head span:nth-child(4),
  .spu-today-top-row span:nth-child(4) {
    display: none;
  }
}

/* 异常商品列表弹窗 */
.issue-products-dialog {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 18px;
}
.issue-products-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.issue-product-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.issue-product-item.hidden-mark {
  border-left: 4px solid #f0c56c;
}
.issue-product-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--subtle);
}
.issue-product-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
}
.issue-product-info {
  min-width: 0;
}
.issue-product-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.issue-product-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.issue-product-reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}
.issue-product-time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .issue-product-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .issue-product-img {
    width: 48px;
    height: 48px;
  }
  .issue-product-time {
    display: none;
  }
}

/* 售后中订单弹窗 */
.aftersale-orders-dialog {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 18px;
}
.aftersale-orders-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.aftersale-order-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.aftersale-order-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 5px;
  background: var(--subtle);
}
.aftersale-order-img.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
}
.aftersale-order-info {
  min-width: 0;
}
.aftersale-order-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aftersale-order-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.aftersale-order-time {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .aftersale-order-item {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .aftersale-order-img {
    width: 48px;
    height: 48px;
  }
  .aftersale-order-time {
    display: none;
  }
}


/* body 锁定类（JS 兜底用） */
body.body-dialog-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ===== 滚动穿透加强修复 v2 ===== */
html:has(dialog[open]),
html:has(dialog[open]) body {
  overflow: hidden !important;
  overscroll-behavior: none;
  height: auto;
}
dialog[open],
dialog[open] * {
  overscroll-behavior: contain;
}

/* 账号卡片订单刷新倒计时 */
.dashboard-account .order-countdown {
  display: block;
  margin-top: 6px;
  color: var(--accent, #07c160);
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}
.dashboard-account .order-countdown.soon {
  color: #e67e22;
}

/* SPU 刷新按钮旋转动画 */
.icon-button.spinning {
  animation: spu-spin 0.7s linear infinite;
  pointer-events: none;
}
@keyframes spu-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 首页并排双销售额卡片 */
.today-sales-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  margin: 16px 0 14px;
}
.today-sales-row .today-sales-card {
  margin: 0;
}
.today-sales-row .sales-card-30d {
  min-height: 126px;
  padding: 20px 26px;
}
.today-sales-row .sales-card-30d .today-sales-main {
  position: static;
  transform: none;
  width: 100%;
  min-height: 74px;
}
.today-sales-row .sales-card-today .today-sales-main {
  width: auto;
  min-width: 0;
  max-width: 320px;
}
.today-sales-row .today-sales-amount-sm {
  font-size: clamp(26px, 3vw, 38px) !important;
}
@media (max-width: 900px) {
  .today-sales-row {
    grid-template-columns: 1fr;
  }
}

/* 待发货订单弹窗 */
.pending-ship-buckets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.pending-ship-bucket {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--subtle);
  color: var(--text);
  font-size: 12px;
  cursor: pointer;
}
.pending-ship-bucket b { font-weight: 700; margin-left: 2px; }
.pending-ship-bucket.warn { border-color: #e67e22; color: #e67e22; }
.pending-ship-bucket.danger { border-color: #e74c3c; color: #e74c3c; }
.pending-ship-bucket.ok { border-color: #07c160; color: #07c160; }
.pending-ship-bucket.active { background: var(--accent, #07c160); color: #fff; border-color: var(--accent, #07c160); }
.pending-ship-bucket.active.warn { background: #e67e22; }
.pending-ship-bucket.active.danger { background: #e74c3c; }
.pending-ship-bucket.active.ok { background: #07c160; }
.pending-ship-waited {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pending-ship-waited.warn { color: #e67e22; }
.pending-ship-waited.urgent { color: #e67e22; }
.pending-ship-waited.overdue { color: #e74c3c; }
.pending-ship-waited.shipped { color: #07c160; }
.pending-ship-item.urgent { border-left: 4px solid #e67e22; }
.pending-ship-item.overdue { border-left: 4px solid #e74c3c; }
.pending-ship-item.shipped { border-left: 4px solid #07c160; }

/* 手机端今日销售额卡片垂直对齐修复 v2：metrics/updated 并排，main 居中 */
@media (max-width: 900px) {
  .today-sales-row .sales-card-today {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    align-items: center;
    justify-items: center;
    gap: 6px 16px;
    min-height: 126px;
    padding: 16px 16px 26px;
  }
  .today-sales-row .sales-card-today .today-sales-main {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
  }
  .today-sales-row .sales-card-today .today-sales-metrics {
    grid-column: 1;
    grid-row: 1;
    position: static;
    text-align: center;
    margin: 0;
  }
  .today-sales-row .sales-card-today .today-sales-updated {
    grid-column: 2;
    grid-row: 1;
    position: static;
    text-align: center;
    margin: 0;
  }
  .today-sales-row .sales-card-today .today-sales-note {
    grid-column: 1 / -1;
    grid-row: 3;
    position: static;
    text-align: center;
    max-width: none;
    margin: 0;
  }
}


/* ============================================================
   现代化细节打磨（更现代简洁风格，仅 CSS，不影响结构与逻辑）
   追加覆盖规则，置于文件末尾保证优先级
   ============================================================ */

/* 1. 卡片质感：硬边框 -> 极淡边框 + 柔和分层阴影 */
:root {
  --radius-card: 12px;
  --radius-ctl: 8px;
  --shadow-card: 0 1px 2px rgba(16, 42, 38, 0.04), 0 4px 16px rgba(16, 42, 38, 0.05);
  --shadow-card-hover: 0 2px 4px rgba(16, 42, 38, 0.06), 0 10px 28px rgba(16, 42, 38, 0.10);
  --transition-fast: 0.15s ease;
  --transition-base: 0.22s ease;
}

.panel,
.stat,
.ledger-summary-card,
.sales-card,
.today-sales-card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

/* 卡片 hover 轻微上浮（仅带交互的卡片） */
.stat.clickable-stat:hover,
.sales-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

/* 2. 统一圆角：按钮/输入框/弹窗控件 */
button,
.button-link,
input,
select,
textarea {
  border-radius: var(--radius-ctl);
}

/* 3. 按钮与控件的平滑过渡 */
button,
.button-link,
input,
select,
textarea {
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

button:hover:not(:disabled) {
  box-shadow: 0 2px 8px rgba(17, 126, 99, 0.22);
}

button.secondary:hover:not(:disabled) {
  box-shadow: 0 2px 8px rgba(16, 42, 38, 0.10);
}

/* 4. 输入框聚焦态：更柔和的强调环 */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--active-ring);
}

/* 5. 数字排版：大数字更精致、等宽对齐 */
.stat strong {
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

/* 6. 卡片间距更透气（仅在桌面端微调，避免挤压） */
@media (min-width: 901px) {
  .panel { padding: 20px; }
  .stat { padding: 14px; min-height: 88px; }
}

/* 7. 面板标题间距微调 */
.section-head {
  margin-bottom: 2px;
}


/* ============================================================
   改头换脸 · 清爽运营台（落地图追加）
   ============================================================ */

.dashboard {
  padding: var(--space-3) 0 var(--space-1);
  margin-bottom: var(--space-3);
}

.section-head {
  margin-bottom: var(--space-2);
}

.layout {
  gap: var(--space-2);
}

.panel.accounts,
.panel.workspace {
  padding: var(--space-2);
  border-radius: var(--radius-md);
}

.workspace .tabs {
  margin-bottom: var(--space-2);
}

.filters,
.product-filters,
.actions {
  gap: var(--space-1);
}

.table-wrap th,
.table-wrap td {
  padding-top: 11px;
  padding-bottom: 11px;
}

button,
.top-action {
  border-radius: var(--radius-sm);
}

.top-action.primary {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.top-action.primary:hover {
  background: var(--accent-strong);
  color: #fff;
}

.more-menu {
  position: relative;
}

.more-trigger {
  position: relative;
  min-width: 38px;
  padding: 0 10px;
  font-size: 18px;
  letter-spacing: 1px;
}

.more-trigger-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.more-trigger-badge[hidden] {
  display: none !important;
}

.more-menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 220px;
  padding: 4px 6px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-panel);
  color: var(--text);
}

.more-menu-panel[hidden] {
  display: none !important;
}

.more-group + .more-group {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.more-group-label {
  padding: 8px 12px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

.more-group:first-child .more-group-label {
  padding-top: 4px;
}

.more-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.more-item:hover {
  background: var(--control-hover);
}

.more-item .top-badge {
  margin-left: auto;
  min-width: 18px;
  background: var(--danger);
  color: #fff;
}

/* 登录页共用 styles.css token */
body.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.login-shell {
  width: min(420px, calc(100vw - 32px));
  padding: var(--space-3);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-panel);
}

.login-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-page .brand-mark {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--deep);
  color: #fff;
  font-size: 20px;
}

.login-page .brand h1 {
  font-size: 21px;
  color: var(--text);
}

.login-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.login-form {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.login-form input {
  height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--control);
  color: var(--text);
  font: inherit;
}

.login-form button[type="submit"] {
  height: 42px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.login-form button[type="submit"]:hover {
  background: var(--accent-strong);
}

.login-form .message {
  min-height: 20px;
  color: var(--danger);
  font-size: 13px;
}

@media (max-width: 900px) {
  .global-actions--slim {
    flex-wrap: nowrap;
  }
}


.sync-tasks-dialog {
  width: min(720px, calc(100vw - 24px));
  max-height: min(80vh, 820px);
}

.sync-tasks-dialog .sync-tasks-list {
  margin-top: 12px;
  max-height: min(60vh, 640px);
  overflow: auto;
}


/* 顶栏：夜间模式按钮改为配色切换 */
.theme-switcher {
  position: relative;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-swatch {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}
.theme-menu-panel {
  min-width: 200px;
}
.theme-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15, 28, 30, 0.12);
  flex: 0 0 auto;
}
.theme-option {
  font-weight: 600;
}
.theme-option[aria-checked="true"] {
  background: var(--ok-soft);
  color: var(--accent-strong);
}
.theme-option[aria-checked="true"]::after {
  content: "✓";
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}


/* 销售额大数字居中，说明/订单/更新时间各自沉底为小字 */
.today-sales-row .today-sales-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding: 22px 22px 14px;
}

.today-sales-row .today-sales-main {
  position: static;
  transform: none;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: auto 0 0;
}

.today-sales-row .today-sales-amount,
.today-sales-row .today-sales-amount-sm {
  font-size: clamp(44px, 5.2vw, 68px) !important;
  margin-top: 0;
}

.today-sales-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  width: 100%;
  margin-top: 16px;
  color: var(--sales-card-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.today-sales-row .sales-card-30d .today-sales-foot {
  justify-content: center;
}

.today-sales-foot .today-sales-metrics,
.today-sales-foot .today-sales-updated {
  position: static;
  margin: 0;
  text-align: left;
  white-space: nowrap;
}

.today-sales-foot .today-sales-updated {
  text-align: right;
}

.today-sales-foot .today-sales-metrics span,
.today-sales-foot .today-sales-updated span {
  color: var(--sales-card-muted-2);
  font-size: 11px;
  font-weight: 500;
}

.today-sales-foot .today-sales-metrics strong,
.today-sales-foot .today-sales-updated strong {
  display: inline;
  margin: 0 0 0 4px;
  color: var(--sales-card-muted);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.today-sales-foot .today-sales-live {
  flex: 1 1 auto;
  justify-content: center;
  color: var(--sales-card-muted);
  font-size: 11px;
  font-weight: 700;
}

.today-sales-foot .today-sales-live i {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px var(--sales-live-glow);
}

@media (max-width: 900px) {
  .today-sales-row .today-sales-card,
  .today-sales-row .sales-card-today {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    min-height: 136px;
    padding: 18px 16px 12px;
  }

  .today-sales-main > strong,
  .today-sales-row .today-sales-amount,
  .today-sales-row .today-sales-amount-sm {
    font-size: clamp(36px, 9vw, 52px) !important;
  }

  .today-sales-foot {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin-top: 12px;
  }

  .today-sales-foot .today-sales-metrics,
  .today-sales-foot .today-sales-updated,
  .today-sales-foot .today-sales-live {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

/* 手机端：卡片内文字/栅格不再撑破容器 */
@media (max-width: 900px) {
  .panel,
  .today-sales-card,
  .stat,
  .dashboard-account,
  .account,
  .merchant-card,
  .spu-today-card,
  .spu-today-stat {
    max-width: 100%;
    min-width: 0;
  }

  /* 顶栏保持一行置顶，但不让按钮把标题挤出屏幕 */
  .topbar-inner,
  .brand,
  .brand-text {
    min-width: 0;
  }
  .brand {
    flex: 1 1 auto;
  }
  .brand-text h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .global-actions,
  .global-actions--slim {
    flex: 0 1 auto;
    min-width: 0;
  }

  /* 销售额大数字：随宽度缩小，禁止撑出卡片 */
  .today-sales-main {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
  }
  .today-sales-main > strong,
  .today-sales-row .today-sales-amount,
  .today-sales-row .today-sales-amount-sm {
    font-size: clamp(28px, 8vw, 44px) !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .today-sales-foot .today-sales-metrics,
  .today-sales-foot .today-sales-updated,
  .today-sales-foot .today-sales-live {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* 末尾有一条桌面 `.stat strong { 22px }`，把手机端 18px 盖掉了 */
  .stat strong {
    font-size: 18px !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .stat span,
  .stat small {
    overflow-wrap: anywhere;
  }
  .stat small.share-deduction {
    position: static;
    display: block;
    margin-top: 4px;
    right: auto;
    bottom: auto;
    max-width: 100%;
  }

  /* 样品设置行写在 900px 规则之后，又把双列 minmax(240+260) 加回来了 */
  .filters,
  .product-filters,
  .hot-products-filters,
  .sample-settings-row,
  .merchant-filters {
    grid-template-columns: 1fr !important;
  }

  /* 五个页签在窄屏会顶出工作区卡片，改为横向滑，不折行也不溢出 */
  .tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .tab {
    flex: 0 0 auto;
  }

  /* 商家卡片桌面是 6 列，最窄也超过手机宽度 */
  .merchant-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
  }
  .merchant-main,
  .merchant-contact-row,
  .merchant-meta {
    flex: 1 1 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .dashboard-account strong,
  .dashboard-account .account-id,
  .account-card-head,
  .account-card-title,
  .account strong {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 720px) {
  .today-sales-foot .today-sales-metrics,
  .today-sales-foot .today-sales-updated,
  .today-sales-foot .today-sales-live {
    flex: 1 1 100%;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    display: none; /* 给「同步当天订单」让出宽度，避免顶栏横向溢出 */
  }
  .top-action {
    padding: 0 7px;
    font-size: 12px;
  }
}

/* 账号列表：滑动或点按时不要出现按钮 hover 底色 */
button.account {
  -webkit-tap-highlight-color: transparent;
}
button.account:hover,
button.account:active,
button.account:focus {
  background: var(--panel);
  color: var(--text);
  box-shadow: none;
}
button.account.active:hover,
button.account.active:active,
button.account.active:focus {
  background: var(--panel);
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--active-ring);
}
button.account.archived:hover,
button.account.archived:active,
button.account.archived:focus {
  background: var(--control);
  color: var(--text);
}

/* 仅手机：销售额数字在卡片里上下左右都居中，底栏沉底；电脑布局不动 */
@media (max-width: 900px) {
  .today-sales-row .today-sales-card,
  .today-sales-row .sales-card-today,
  .today-sales-row .sales-card-30d {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 168px;
    padding: 20px 16px 64px;
  }

  .today-sales-row .today-sales-main {
    margin: 0 auto; /* 覆盖桌面 margin: auto 0 0，避免数字上下不居中 */
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .today-sales-row .today-sales-foot,
  .today-sales-row .sales-card-today .today-sales-foot,
  .today-sales-row .sales-card-30d .today-sales-foot {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    width: auto;
    margin-top: 0;
    justify-content: center;
    text-align: center;
  }

  .today-sales-foot .today-sales-metrics,
  .today-sales-foot .today-sales-updated,
  .today-sales-foot .today-sales-live {
    text-align: center !important;
    justify-content: center;
  }
}

/* 资金账本：当前余额 + 收入目标并排；目标卡改为标题/小字倒计时、金额、进度三层 */
.ledger-summary-wrap,
#financeLedgerSummary {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(360px, 2fr);
  gap: 12px;
  align-items: stretch;
}
.ledger-summary-wrap > .ledger-summary-card.balance,
#financeLedgerSummary > .ledger-summary-card.balance {
  position: relative;
  height: 100%;
  min-height: 140px;
  place-items: center;
  align-content: unset;
}
.ledger-summary-wrap > .ledger-summary-card.balance > span,
#financeLedgerSummary > .ledger-summary-card.balance > span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
}
.ledger-summary-wrap > .ledger-summary-card.balance > strong,
#financeLedgerSummary > .ledger-summary-card.balance > strong {
  text-align: center;
  max-width: 100%;
}
.ledger-summary-wrap .ledger-summary-card.goal,
#financeLedgerSummary .ledger-summary-card.goal {
  min-width: 0;
  height: 100%;
  justify-content: flex-start;
  gap: 16px;
}
.ledger-summary-wrap .goal-head,
#financeLedgerSummary .goal-head {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.goal-head-main {
  display: flex;
  align-items: center;
  gap: 12px;
}
.goal-head-main .set-goal-btn,
.goal-head .goal-head-main .set-goal-btn {
  margin-left: auto;
}
.ledger-summary-wrap .goal-title,
#financeLedgerSummary .goal-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.goal-countdowns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
}
.goal-countdown-sep {
  color: var(--muted);
  opacity: 0.55;
  font-weight: 500;
  line-height: 1.4;
}
.ledger-summary-wrap .goal-countdowns .goal-countdown,
#financeLedgerSummary .goal-countdowns .goal-countdown,
html[data-scheme="dark"] .ledger-summary-card .goal-countdowns .goal-countdown,
html[data-theme="dark"] .goal-countdowns .goal-countdown,
html[data-theme="ink-dark"] .goal-countdowns .goal-countdown,
html[data-theme="gold-dark"] .goal-countdowns .goal-countdown,
html[data-theme="coral-dark"] .goal-countdowns .goal-countdown,
html[data-theme="tech"] .goal-countdowns .goal-countdown {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 1;
}
.ledger-summary-wrap .goal-countdowns .goal-pace,
#financeLedgerSummary .goal-countdowns .goal-pace {
  flex: 1 0 100%;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 1;
  white-space: normal;
}
.ledger-summary-wrap .goal-pace-amount,
#financeLedgerSummary .goal-pace-amount {
  font-family: "Arial Black", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  opacity: 1;
}

.ledger-summary-wrap .goal-body,
#financeLedgerSummary .goal-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  flex: 1;
  width: 100%;
  min-width: 0;
}
.ledger-summary-wrap .goal-amount,
#financeLedgerSummary .goal-amount {
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 1;
}
.goal-progress-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
  flex: 0 0 auto;
}
.goal-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.goal-progress-row .goal-progress-track {
  flex: 1;
  min-width: 0;
  width: auto;
}
.ledger-summary-wrap .goal-percent,
#financeLedgerSummary .goal-percent {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  opacity: 1;
  white-space: nowrap;
  flex: none;
}
.ledger-summary-wrap .goal-body .goal-progress-meta,
#financeLedgerSummary .goal-body .goal-progress-meta {
  flex: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.ledger-summary-wrap .goal-progress-meta > span,
#financeLedgerSummary .goal-progress-meta > span {
  color: var(--muted);
  opacity: 1;
  font-weight: 500;
  font-size: 12px;
}
.ledger-summary-wrap .goal-remaining,
#financeLedgerSummary .goal-remaining {
  margin-top: 0;
  font-weight: 500;
}
@media (max-width: 900px) {
  .ledger-summary-wrap,
  #financeLedgerSummary {
    grid-template-columns: 1fr;
  }
}

/* ===== 软件版本管理 ===== */
.release-upload-panel {
  padding: 20px;
  margin-bottom: 16px;
}
.release-upload-title {
  margin: 0 0 14px;
  font-size: 15px;
}
.release-upload-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
}
.release-upload-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  min-width: 160px;
}
.release-upload-form input,
.release-upload-form textarea {
  min-width: 200px;
}
.release-upload-form textarea {
  resize: vertical;
  min-height: 48px;
}
.releases-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.release-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
}
.release-item.latest {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--active-ring);
}
.release-item-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.release-item-main strong {
  font-size: 15px;
}
.release-latest-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--ok-soft);
  color: var(--accent);
  font-size: 11px;
}
.release-file,
.release-notes,
.release-time {
  color: var(--muted);
  font-size: 12px;
}
.release-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.release-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.release-dialog:not([open]) {
  display: none;
}
.release-dialog-shell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  min-height: 0;
  padding: 4px 4px 0 0;
}

.release-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
}
.release-group-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.release-group-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.release-group-meta {
  font-size: 12px;
  color: var(--muted);
}
.release-group .release-item {
  background: var(--panel);
}

#releaseUploadProgress {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  appearance: none;
  -webkit-appearance: none;
  margin-top: 8px;
}
#releaseUploadProgress::-webkit-progress-bar {
  background: var(--status-bg);
  border-radius: 4px;
}
#releaseUploadProgress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 4px;
}
.release-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.release-group-meta {
  flex: 1;
}
.release-group-head .copy-connect-prompt {
  flex-shrink: 0;
}

.release-platform-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--status-bg);
  color: var(--muted);
  font-size: 11px;
}

.login-switch {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 2px;
  text-decoration: underline;
}
.login-switch:hover {
  color: var(--accent-strong);
}
.totp-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0;
}
.totp-qr-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.totp-qr-row img {
  border: 1px solid var(--line);
  border-radius: 8px;
}
.totp-secret {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 2px;
  font-size: 15px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--status-bg);
  user-select: all;
}
.totp-verify-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.totp-verify-row input {
  flex: 1;
  letter-spacing: 4px;
  font-size: 18px;
  text-align: center;
}
