    :root {
      --lux-bg-0: #05060a;
      --lux-bg-1: #0d1320;
      --lux-bg-2: #111f31;
      --lux-gold: #d8c39a;
      --lux-ice: #9fd4ff;
      --lux-text: #edf2fb;
      --lux-muted: #9eaec4;
      --lux-line: rgba(208, 224, 246, 0.22);
      --lux-panel: rgba(11, 16, 26, 0.78);
      --lux-shadow: 0 24px 64px rgba(0, 0, 0, 0.48);
    }

    body {
      color: var(--lux-text);
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
      background:
        radial-gradient(72% 55% at -8% -14%, rgba(216, 195, 154, 0.16), transparent 72%),
        radial-gradient(64% 54% at 112% -18%, rgba(159, 212, 255, 0.14), transparent 74%),
        linear-gradient(152deg, var(--lux-bg-0), var(--lux-bg-1) 46%, var(--lux-bg-2));
      animation: lux-bg-pan 18s ease-in-out infinite alternate;
    }

    body::before {
      background:
        linear-gradient(120deg, transparent 0 46%, rgba(216, 195, 154, 0.065) 48%, transparent 50% 100%),
        linear-gradient(24deg, transparent 0 58%, rgba(159, 212, 255, 0.08) 60%, transparent 62% 100%);
      opacity: 0.42;
      filter: blur(26px);
    }

    .app-shell {
      padding: 12px;
      gap: 12px;
      grid-template-columns: 206px minmax(0, 1fr);
    }

    .sidebar {
      border: 1px solid var(--lux-line);
      border-radius: var(--global-shell-radius);
      background: linear-gradient(180deg, rgba(15, 20, 31, 0.9), rgba(8, 13, 23, 0.8));
      box-shadow: var(--lux-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
      padding: 18px 14px;
      overflow: hidden;
    }

    .side-logo {
      font-size: 30px;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #f3f7ff;
      text-shadow: 0 0 24px rgba(159, 212, 255, 0.22);
      margin-top: 8px;
    }

    .side-link {
      border: 1px solid rgba(214, 229, 248, 0.16);
      background: linear-gradient(128deg, rgba(31, 42, 60, 0.72), rgba(14, 20, 32, 0.72));
      border-radius: 14px;
      color: #d4deed;
      letter-spacing: 0.02em;
      transition: transform 0.1s cubic-bezier(0.2, 0.9, 0.2, 1), filter 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease;
    }

    button.side-link {
      min-height: 38px;
      font: inherit;
      text-align: center;
      appearance: none;
      -webkit-appearance: none;
    }

    .side-link:hover,
    .side-link.is-active {
      transform: none;
      border-color: rgba(216, 195, 154, 0.46);
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34), inset 0 0 0 1px rgba(216, 195, 154, 0.2);
      filter: brightness(1.08);
    }

    .side-group-card {
      display: grid;
      gap: 10px;
      padding: 14px 12px 12px;
      border: 1px solid rgba(214, 229, 248, 0.12);
      border-radius: 16px;
      background: linear-gradient(180deg, rgba(18, 28, 43, 0.78), rgba(10, 16, 27, 0.72));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 22px rgba(0, 0, 0, 0.18);
      position: relative;
      overflow: hidden;
    }

    .side-group-card::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(180deg, rgba(216, 195, 154, 0.06), rgba(216, 195, 154, 0));
    }

    .side-group-title {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: #d8c39a;
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.08em;
      padding: 2px 4px 4px;
      text-shadow: 0 0 12px rgba(216, 195, 154, 0.18);
    }

    .side-group-title::before {
      content: "";
      display: none;
    }

    .side-group-links {
      display: grid;
      gap: 12px;
      position: relative;
      z-index: 1;
    }

    .side-group-links .side-link {
      margin-bottom: 0;
    }

    .side-group-title span {
      position: relative;
      z-index: 1;
    }

    .side-group-title-text {
      display: inline-flex;
      align-items: center;
      line-height: 1;
    }

    .side-group-title-brand {
      font-family: "Oxanium", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important;
      font-weight: 600 !important;
      letter-spacing: 0.03em !important;
      text-transform: none;
    }

    .side-actions {
      margin-top: auto;
      display: grid;
      gap: 8px;
      padding-top: 16px;
    }

    .side-fullscreen-btn,
    .side-logout-btn {
      width: 100%;
      min-height: 38px;
      padding-inline: 12px;
    }


    .main-shell {
      border-radius: var(--global-shell-radius) !important;
      border: 1px solid var(--lux-line) !important;
      background:
        radial-gradient(150% 84% at 52% -20%, rgba(159, 212, 255, 0.08), transparent 58%),
        linear-gradient(170deg, rgba(11, 17, 28, 0.84), rgba(8, 13, 22, 0.8)) !important;
      box-shadow: var(--lux-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
      clip-path: inset(0 round var(--global-shell-radius));
    }

    .main-shell.visualization-only {
      border: 0 !important;
      box-shadow: none !important;
      background: transparent !important;
      clip-path: none !important;
    }

    .main-shell.visualization-only #visualizationPanel {
      border-top: 0 !important;
      box-shadow: none !important;
    }

    .main-shell.visualization-only .panel.page-view#visualizationPanel {
      border: 0 !important;
      border-top: 0 !important;
      box-shadow: none !important;
      background: transparent !important;
    }

    header {
      border: 1px solid rgba(211, 225, 245, 0.14);
      background: linear-gradient(145deg, rgba(18, 26, 40, 0.86), rgba(10, 15, 25, 0.84));
      border-radius: var(--global-surface-radius-sm);
      box-shadow: 0 14px 30px rgba(0, 0, 0, 0.36);
    }

    h1 {
      font-size: 32px;
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }

    .head-sub {
      color: var(--lux-muted);
      letter-spacing: 0.04em;
    }

    .page {
      gap: 14px !important;
    }

    .panel,
    .lane,
    #configPanel,
    .status-card {
      border: 1px solid var(--lux-line) !important;
      background:
        linear-gradient(162deg, rgba(20, 28, 41, 0.86), rgba(12, 18, 30, 0.84)) !important;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    .status-strip-title,
    .lane-head-title {
      letter-spacing: 0.06em;
    }

    .status-card-title {
      color: #b7c7de;
      letter-spacing: 0.02em;
    }

    .status-card-value {
      color: #f1f6ff;
      text-shadow: 0 6px 22px rgba(159, 212, 255, 0.18);
    }

    .tag,
    .lane-head-mid,
    .status-pill {
      border-color: rgba(216, 195, 154, 0.26);
      background: linear-gradient(132deg, rgba(54, 62, 76, 0.52), rgba(28, 33, 44, 0.5));
      color: #d8e2f1;
    }

    button,
    .visual-sync-btn {
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      border: 1px solid rgba(217, 196, 156, 0.36) !important;
      background: linear-gradient(135deg, rgba(70, 84, 103, 0.96), rgba(45, 57, 74, 0.96)) !important;
      color: #f2f6fd !important;
      letter-spacing: 0.04em;
      transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.22s ease, filter 0.22s ease;
    }

    button:hover,
    .visual-sync-btn:hover {
      transform: none;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(216, 195, 154, 0.28) inset;
      filter: brightness(1.08);
    }


    button.side-logout-btn {
      background: linear-gradient(135deg, rgba(92, 54, 58, 0.98), rgba(58, 32, 36, 0.98)) !important;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px rgba(0, 0, 0, 0.28);
    }


    button::after,
    .visual-sync-btn::after {
      content: "";
      position: absolute;
      inset: -180% auto auto -40%;
      width: 36%;
      height: 420%;
      transform: rotate(18deg);
      background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.22), transparent);
      opacity: 0;
      transition: transform 0.72s ease, opacity 0.42s ease;
      pointer-events: none;
    }

    button:hover::after,
    .visual-sync-btn:hover::after {
      opacity: 0.7;
      transform: rotate(18deg) translateX(240%);
    }

    /* Fix overflow shine in manual lane buttons (采纳回填) */
    .lane.manual-lane .lane-btns button {
      overflow: hidden !important;
      isolation: isolate;
    }

    .lane.manual-lane .lane-btns button::after {
      inset: -140% auto auto -48%;
    }

    .lane-log,
    #resultBox,
    textarea {
      border: 1px solid rgba(214, 228, 245, 0.16) !important;
      background: linear-gradient(175deg, rgba(9, 13, 22, 0.92), rgba(11, 16, 26, 0.9)) !important;
      color: #dbe5f3;
    }

    .page-view.active .status-card,
    .page-view.active .lane {
      animation: none !important;
    }

    /* Adaptive card fit: avoid clipping and keep each card fully visible */
    .page {
      overflow: hidden !important;
    }

    #opsView {
      position: relative !important;
      inset: auto !important;
      height: 100% !important;
      min-height: 100% !important;
      overflow: hidden !important;
      padding-right: 0 !important;
      grid-template-rows: auto minmax(0, 1fr) !important;
      align-content: stretch !important;
    }

    .workspace {
      overflow: hidden !important;
      grid-template-rows: minmax(0, 1fr) auto !important;
      align-content: stretch !important;
      height: 100% !important;
      min-height: 0 !important;
      max-height: none !important;
    }

    #consolePanel,
    #visualizationPanel {
      align-self: stretch !important;
      height: 100% !important;
      min-height: 0 !important;
      max-height: none !important;
    }

    #configPanel {
      align-self: start;
    }

    #opsView #configPanel {
      height: auto !important;
      min-height: 0 !important;
    }

    .layout {
      height: 100% !important;
      overflow: hidden !important;
      align-items: stretch;
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .status-cards {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .lane {
      height: auto !important;
      min-height: 360px;
    }

    .lane-body {
      height: auto;
      grid-template-rows: auto minmax(220px, 1fr);
    }

    .lane-log {
      min-height: 220px;
      max-height: min(48vh, 520px);
    }

    #visualizationPanel {
      overflow: hidden !important;
    }

    .main-shell.visualization-only > .page {
      padding: var(--space) !important;
      gap: 0 !important;
    }

    .visualization-shell {
      height: 100%;
      min-height: 0;
      grid-template-rows: minmax(0, 1fr);
    }

    .visual-console-card {
      height: 100% !important;
      min-height: 0;
      overflow: hidden;
      padding: 8px 10px 10px !important;
      gap: 9px !important;
      border: 1px solid rgba(128, 198, 255, 0.3) !important;
      border-top-color: rgba(128, 198, 255, 0.3) !important;
      box-shadow:
        inset 0 0 0 1px rgba(66, 139, 206, 0.12),
        0 12px 24px rgba(1, 10, 26, 0.42) !important;
    }

    .visual-console-head {
      display: none !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    .visual-console-card .visualization-toolbar {
      margin-top: 0 !important;
      min-height: 42px !important;
      padding: 6px 10px !important;
      border-radius: 12px !important;
      box-shadow:
        inset 0 0 0 1px rgba(67, 145, 210, 0.14),
        0 8px 16px rgba(1, 12, 32, 0.28) !important;
    }

    .visual-console-screen {
      min-height: 0;
      max-height: none;
      border: 1px solid rgba(143, 202, 255, 0.26) !important;
    }

    /* 控制台视图恢复满屏铺排：避免网站配置卡片离底部过远 */
    #opsView.active {
      height: 100% !important;
      min-height: 0 !important;
      grid-template-rows: auto minmax(0, 1fr) !important;
      overflow: hidden !important;
    }

    #opsView.active > .workspace {
      height: 100% !important;
      min-height: 0 !important;
      max-height: none !important;
      overflow: hidden !important;
      grid-template-rows: minmax(0, 1fr) auto !important;
      align-content: stretch !important;
    }

    #opsView.active > #consolePanel {
      align-self: stretch !important;
    }

    #opsView.active > .workspace > .layout {
      height: 100% !important;
      min-height: 0 !important;
      overflow: hidden !important;
      align-items: stretch !important;
    }

    #opsView.active > .workspace > .layout > .lane {
      height: 100% !important;
      min-height: 0 !important;
      padding: 0 !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-head {
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) !important;
      grid-template-rows: auto auto !important;
      align-items: start !important;
      gap: 4px !important;
      min-height: 70px !important;
      padding: 13px 14px 10px !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-head .lane-head-title {
      width: 100%;
      font-size: 26px !important;
      line-height: 1.1 !important;
      letter-spacing: 0.015em !important;
      justify-content: center !important;
      text-align: center !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-head .lane-head-mid {
      justify-self: start !important;
      margin-left: 0 !important;
      max-width: 100%;
      width: 100%;
      min-height: 18px;
      justify-content: center !important;
      text-align: center !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      font-size: 14px !important;
      line-height: 1.3 !important;
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
      opacity: 0.92;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body {
      height: 100% !important;
      min-height: 0 !important;
      grid-template-rows: auto minmax(0, 1fr) !important;
      align-content: stretch !important;
      padding: 0 !important;
      gap: 0 !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-btns {
      display: flex !important;
      flex-wrap: nowrap !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 12px 12px 10px !important;
      margin: 0 !important;
      gap: 7px !important;
      width: 100%;
      min-width: 0;
      overflow: hidden;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-btns button {
      flex: 0 0 auto;
      min-width: 0 !important;
      height: 40px !important;
      padding: 0 12px !important;
      border-radius: 12px !important;
      font-size: 16px !important;
      line-height: 1 !important;
      letter-spacing: 0 !important;
      overflow: hidden !important;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-btns button::after {
      content: "" !important;
      display: block !important;
      position: absolute !important;
      inset: -120% auto auto -48% !important;
      width: 46% !important;
      height: 320% !important;
      transform: rotate(20deg) translateX(0) !important;
      background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.34), transparent) !important;
      opacity: 0 !important;
      pointer-events: none !important;
      transition: opacity 0.16s ease !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-btns button:hover {
      transform: none !important;
      border-color: rgba(216, 195, 154, 0.62) !important;
      filter: brightness(1.08) !important;
      box-shadow:
        0 0 0 1px rgba(216, 195, 154, 0.28),
        inset 0 0 0 1px rgba(216, 195, 154, 0.24),
        inset 0 1px 0 rgba(255,255,255,.3),
        0 10px 18px rgba(7,22,45,.48) !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-btns button:hover::after {
      opacity: 0.72 !important;
      animation: lane-button-shine 0.9s linear infinite !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-btns button:active {
      transform: none !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-head .lane-head-action {
      appearance: none !important;
      display: inline !important;
      width: auto !important;
      min-width: 0 !important;
      height: auto !important;
      padding: 0 2px !important;
      border: 0 !important;
      border-radius: 0 !important;
      color: #d8e7fb !important;
      font: inherit !important;
      line-height: inherit !important;
      background: transparent !important;
      box-shadow: none !important;
      transform: none !important;
      filter: none !important;
      vertical-align: baseline !important;
      cursor: pointer;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-head .lane-head-action::after {
      display: none !important;
    }

    #opsView.active > .workspace > .layout > .lane > .lane-head .lane-head-action:hover {
      color: #ffffff !important;
      text-decoration: underline;
      transform: none !important;
      filter: none !important;
      box-shadow: none !important;
    }

    @keyframes lane-button-shine {
      from {
        transform: rotate(20deg) translateX(-30%);
      }
      to {
        transform: rotate(20deg) translateX(360%);
      }
    }

    #opsView.active > .workspace > .layout > .lane > .lane-body > .lane-log {
      height: 100% !important;
      min-height: 0 !important;
      max-height: none !important;
      margin: 0 !important;
      border-radius: 0 0 18px 18px !important;
    }

    #opsView.active > .workspace > #configPanel {
      align-self: auto !important;
    }

    @keyframes lux-rise {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes lux-bg-pan {
      0% { background-position: 0% 0%, 100% 0%, 50% 50%; }
      100% { background-position: 4% 2%, 98% 2%, 48% 52%; }
    }

    @media (max-width: 1120px) {
      .app-shell {
        grid-template-columns: 1fr;
        padding: 10px;
      }

      .sidebar {
        border-radius: var(--global-shell-radius);
        height: auto;
      }

      .side-actions {
        margin-top: 0;
        margin-left: auto;
        padding-top: 0;
      }

      .side-fullscreen-btn,
      .side-logout-btn {
        width: auto;
        min-width: 118px;
      }

      .main-shell {
        border-radius: var(--global-shell-radius) !important;
        clip-path: inset(0 round var(--global-shell-radius));
      }

      h1 {
        font-size: 26px;
      }
    }

    /* Final global lock: one unified curvature across all UI surfaces */
    :root {
      --global-unified-radius: var(--global-surface-radius);
    }

    :where(
      .side-link,
      .nav-link,
      .head-link,
      .status-pill,
      .status-error,
      .tag,
      .running-indicator,
      .dot,
      .visualization-toolbar,
      .visual-console-card,
      .visual-console-screen,
      .dashboard-overlay-head,
      .dashboard-overlay-card,
      [class*="pill"],
      [class*="chip"],
      [class*="badge"],
      [class*="avatar"],
      button,
      input,
      select,
      textarea,
      details,
      summary
    ) {
      border-radius: var(--global-unified-radius) !important;
    }

    .lane-log::-webkit-scrollbar-track,
    .lane-log::-webkit-scrollbar-thumb {
      border-radius: var(--global-unified-radius) !important;
    }

    @media (prefers-reduced-motion: reduce) {
      body,
      .page-view.active .status-card,
      .page-view.active .lane {
        animation: none !important;
      }

      * {
        transition-duration: 0.01ms !important;
      }
    }

    /* Fixed shell interaction: keep outer card stable, animate inner modules only */
    .main-shell,
    .main-shell.visualization-only {
      border: 1px solid rgba(182, 212, 248, 0.16) !important;
      background: linear-gradient(166deg, rgba(18, 31, 52, 0.66), rgba(13, 23, 40, 0.72)) !important;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 0 0 1px rgba(166,204,255,0.06), var(--shadow-md) !important;
      padding: 0 !important;
      grid-template-rows: minmax(0, 1fr) !important;
      row-gap: var(--space) !important;
      clip-path: inset(0 round var(--global-shell-radius)) !important;
      overflow: hidden;
    }

    .main-shell.visualization-only {
      background: linear-gradient(166deg, rgba(18, 31, 52, 0.66), rgba(13, 23, 40, 0.72)) !important;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), inset 0 0 0 1px rgba(166,204,255,0.06), var(--shadow-md) !important;
      row-gap: 0 !important;
    }

    .main-shell > .page {
      background: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
      transition: none !important;
      will-change: auto !important;
    }

    .main-shell:not(.visualization-only) > header {
      margin-inline: var(--space) !important;
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      padding-top: 10px !important;
      padding-bottom: 10px !important;
      max-height: 120px !important;
      opacity: 1 !important;
      transform: translateY(0) !important;
      pointer-events: auto !important;
    }

    .main-shell:not(.visualization-only) > header .head-left {
      gap: 2px !important;
    }

    .main-shell:not(.visualization-only) > .page {
      padding: var(--space) !important;
      gap: var(--space) !important;
      height: 100% !important;
      min-height: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    .main-shell:not(.visualization-only) #opsView {
      gap: var(--space) !important;
      height: 100% !important;
      min-height: 0 !important;
      grid-template-rows: auto minmax(0, 1fr) !important;
    }

    .main-shell:not(.visualization-only) #settlementFeedbackPanel {
      height: 100% !important;
      min-height: 0 !important;
      display: grid !important;
      grid-template-rows: minmax(0, 1fr) !important;
    }

    .main-shell:not(.visualization-only) #cityAssignmentPanel {
      height: 100% !important;
      min-height: 0 !important;
      display: grid !important;
      grid-template-rows: minmax(0, 1fr) !important;
      padding: 0;
      overflow: hidden;
    }

    .bill-push-shell {
      height: 100%;
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: var(--global-gap);
      box-sizing: border-box;
      overflow: hidden;
    }

    .settlement-feedback-page {
      height: 100%;
      min-height: 0;
      padding: var(--global-gap);
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: var(--global-gap);
      box-sizing: border-box;
    }

    .settlement-feedback-hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: var(--global-gap);
      align-items: center;
      padding: var(--global-card-pad);
      border: 1px solid rgba(182, 212, 248, 0.16);
      border-radius: var(--global-surface-radius) !important;
      background:
        linear-gradient(140deg, rgba(24, 43, 70, 0.8), rgba(13, 28, 48, 0.88)),
        linear-gradient(90deg, rgba(42, 154, 158, 0.12), rgba(219, 170, 90, 0.1));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 26px rgba(2, 8, 20, 0.22);
    }

    .settlement-feedback-title {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-self: stretch;
      gap: 7px;
      min-width: 0;
      min-height: 64px;
    }

    .settlement-feedback-title h2 {
      margin: 0;
      color: #edf7ff;
      font-size: 26px;
      line-height: 1.15;
    }

    .settlement-feedback-title p,
    .settlement-feedback-meta {
      margin: 0;
      color: rgba(214, 229, 246, 0.72);
      line-height: 1.6;
    }

    .settlement-feedback-title p {
      font-size: 16px;
    }

    .settlement-feedback-meta {
      font-size: 14px;
    }

    .settlement-feedback-body {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
      gap: var(--global-gap);
      align-items: start;
      overflow: hidden;
    }

    .settlement-feedback-card {
      min-height: 0;
      height: 100%;
      display: grid;
      grid-template-rows: auto minmax(300px, 1fr) auto;
      align-content: stretch;
      gap: 12px;
      padding: 22px;
      border: 1px solid rgba(182, 212, 248, 0.16);
      border-radius: var(--global-surface-radius) !important;
      background:
        linear-gradient(162deg, rgba(20, 28, 41, 0.88), rgba(12, 18, 30, 0.86)) !important;
      box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    }

    .settlement-feedback-side-empty {
      min-height: 100%;
      border-radius: var(--global-surface-radius);
      background: transparent;
    }

    .settlement-feedback-section {
      min-width: 0;
      display: grid;
      gap: 12px;
      padding: 14px 16px;
      border: 1px solid rgba(176, 206, 240, 0.14);
      border-radius: 18px;
      background: linear-gradient(180deg, rgba(16, 28, 46, 0.62), rgba(10, 18, 31, 0.72));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .settlement-feedback-card > .settlement-feedback-section:nth-of-type(1) {
      align-content: start;
      gap: 10px;
    }

    .settlement-feedback-card > .settlement-feedback-section:nth-of-type(2) {
      min-height: 0;
      grid-template-rows: auto minmax(0, 1fr);
      align-content: stretch;
    }

    .settlement-feedback-card > .settlement-feedback-section:nth-of-type(3) {
      align-content: start;
      gap: 10px;
    }

    .settlement-feedback-section-head {
      display: grid;
      gap: 4px;
      min-width: 0;
    }

    .settlement-feedback-card h3 {
      margin: 0;
      color: #eef7ff;
      font-size: 18px;
    }

    .settlement-feedback-card p {
      margin: 0;
      color: rgba(214, 229, 246, 0.76);
      line-height: 1.7;
    }

    .settlement-feedback-toolbar {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
    }

    .settlement-feedback-db-grid,
    .settlement-feedback-summary-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
    }

    .settlement-feedback-db-item,
    .settlement-feedback-summary-item {
      padding: 12px 14px;
      border: 1px solid rgba(176, 206, 240, 0.14);
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(21, 34, 54, 0.72), rgba(12, 20, 33, 0.84));
    }

    .settlement-feedback-db-item strong,
    .settlement-feedback-summary-item strong,
    .settlement-feedback-todo li strong {
      display: block;
      margin-bottom: 4px;
      color: #f4f8ff;
      font-size: 14px;
    }

    .settlement-feedback-db-item span,
    .settlement-feedback-summary-item span {
      color: rgba(208, 224, 242, 0.72);
      font-size: 12px;
      line-height: 1.45;
    }

    .settlement-feedback-db-item strong:last-child,
    .settlement-feedback-summary-item strong:last-child {
      margin-bottom: 0;
      font-size: 18px;
      line-height: 1.1;
      color: #f6fbff;
    }

    .settlement-dropzone {
      min-height: 0;
      height: 100%;
      display: grid;
      place-items: center;
      text-align: center;
      padding: 20px;
      border: 1px dashed rgba(159, 207, 255, 0.28);
      border-radius: 22px;
      background:
        radial-gradient(120% 120% at 50% 0%, rgba(67, 137, 255, 0.12), transparent 56%),
        linear-gradient(180deg, rgba(20, 34, 55, 0.7), rgba(10, 18, 31, 0.84));
      transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
      cursor: pointer;
    }

    .settlement-dropzone.is-dragover,
    .settlement-dropzone:hover {
      border-color: rgba(214, 193, 153, 0.54);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(214, 193, 153, 0.16);
    }

    .settlement-dropzone.is-processing {
      cursor: wait;
      opacity: 0.78;
    }

    .settlement-dropzone-core {
      max-width: 520px;
      display: grid;
      gap: 12px;
      justify-items: center;
    }

    .settlement-dropzone-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 82px;
      min-height: 82px;
      border-radius: 24px;
      border: 1px solid rgba(167, 213, 255, 0.18);
      background: linear-gradient(180deg, rgba(68, 110, 160, 0.36), rgba(20, 40, 67, 0.58));
      color: #ecf8ff;
      font-size: 28px;
      font-weight: 800;
      letter-spacing: 0.06em;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 24px rgba(7, 19, 34, 0.34);
    }

    .settlement-dropzone-core h3 {
      margin: 0;
      color: #eef8ff;
      font-size: 22px;
      line-height: 1.2;
    }

    .settlement-dropzone-core p {
      margin: 0;
      color: rgba(214, 229, 246, 0.78);
      font-size: 13px;
      line-height: 1.6;
    }

    .settlement-dropzone-actions {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .settlement-file-pill,
    .settlement-status-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 38px;
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid rgba(179, 211, 246, 0.16);
      background: rgba(17, 28, 45, 0.62);
      color: #dceafe;
      font-size: 13px;
      line-height: 1.45;
    }

    .settlement-status-pill.is-success {
      border-color: rgba(82, 197, 145, 0.36);
      color: #c9f4df;
      background: rgba(17, 68, 49, 0.26);
    }

    .settlement-status-pill.is-error {
      border-color: rgba(225, 108, 108, 0.34);
      color: #ffd5d5;
      background: rgba(84, 22, 22, 0.26);
    }

    .settlement-hidden-input {
      display: none;
    }

    .settlement-log {
      min-height: 108px;
      max-height: 220px;
      overflow: auto;
      padding: 16px;
      border-radius: 16px;
      border: 1px solid rgba(176, 206, 240, 0.14);
      background: rgba(8, 14, 24, 0.58);
      color: #dbe9fd;
      font-size: 13px;
      line-height: 1.7;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .settlement-result-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
    }

    .settlement-result-actions a {
      text-decoration: none;
    }

    .settlement-empty-note {
      display: grid;
      gap: 10px;
      color: rgba(214, 229, 246, 0.76);
    }

    .settlement-feedback-todo {
      margin: 0;
      padding-left: 18px;
      color: rgba(214, 229, 246, 0.78);
      line-height: 1.75;
    }

    .settlement-feedback-todo li + li {
      margin-top: 10px;
    }

    @media (max-width: 1080px) {
      .settlement-feedback-hero,
      .settlement-feedback-body,
      .settlement-feedback-db-grid,
      .settlement-feedback-summary-grid {
        grid-template-columns: 1fr;
      }
    }

    #cityAssignmentPanel .bill-push-shell {
      gap: var(--global-gap);
      padding: var(--global-gap);
      grid-template-rows: auto minmax(0, 1fr);
    }

    #cityAssignmentPanel .bill-push-top {
      position: relative;
      grid-template-columns: minmax(0, 1fr) auto auto;
    }

    #cityAssignmentPanel.has-unmatched .bill-push-shell {
      grid-template-rows: auto minmax(0, 1fr) auto;
    }

    .bill-push-top {
      min-height: 92px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: center;
      gap: var(--global-gap);
      padding: var(--global-card-pad);
      border: 1px solid rgba(182, 212, 248, 0.16);
      border-radius: var(--global-surface-radius) !important;
      background:
        linear-gradient(135deg, rgba(24, 43, 70, 0.82), rgba(13, 28, 48, 0.9)),
        linear-gradient(90deg, rgba(42, 154, 158, 0.14), rgba(219, 170, 90, 0.08));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 26px rgba(2, 8, 20, 0.22);
    }

    .bill-push-title {
      min-width: 0;
      display: grid;
      gap: 4px;
    }

    .bill-push-focus {
      min-width: 320px;
      display: grid;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      justify-items: center;
      align-content: center;
      gap: 4px;
      text-align: center;
      pointer-events: none;
    }

    .bill-push-focus strong {
      color: #eef7ff;
      font-size: 34px;
      line-height: 1.1;
      letter-spacing: 0.02em;
      font-weight: 800;
    }

    .bill-push-focus span {
      color: rgba(214, 229, 246, 0.72);
      font-size: 14px;
      line-height: 1.2;
      white-space: nowrap;
    }

    .bill-push-kicker {
      width: fit-content;
      padding: 3px 8px;
      border: 1px solid rgba(80, 192, 181, 0.34);
      border-radius: 8px;
      color: #8ee0d4;
      font-size: 13px;
      font-weight: 700;
      background: rgba(14, 114, 111, 0.16);
    }

    .bill-push-title h2 {
      margin: 0;
      color: #edf7ff;
      font-size: 28px;
      line-height: 1.15;
      letter-spacing: 0;
    }

    .bill-push-title > span:not(.bill-push-kicker) {
      font-size: 16px;
      line-height: 1.65;
    }

    #cityAssignmentStatus,
    #billPushStatus {
      color: rgba(214, 229, 246, 0.72);
      font-size: 14px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .city-assignment-progress {
      display: none;
      grid-template-columns: auto minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(159, 212, 255, 0.16);
      border-radius: 16px;
      background:
        linear-gradient(135deg, rgba(20, 49, 82, 0.58), rgba(7, 18, 34, 0.64));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 22px rgba(0, 0, 0, 0.16);
    }

    #cityAssignmentPanel .bill-push-top .city-assignment-progress {
      display: none;
    }

    .city-assignment-progress.is-visible {
      display: grid;
    }

    .city-assignment-progress-label {
      color: #edf7ff;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    #cityAssignmentPanel .bill-push-top .city-assignment-progress-label {
      font-size: 12px;
    }

    .city-assignment-progress-track {
      position: relative;
      height: 8px;
      overflow: hidden;
      border-radius: 999px;
      background: rgba(5, 14, 27, 0.72);
      border: 1px solid rgba(182, 212, 248, 0.1);
    }

    #cityAssignmentPanel .bill-push-top .city-assignment-progress-track {
      height: 6px;
    }

    .city-assignment-progress-fill {
      width: var(--city-assignment-progress, 0%);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #6aa8ef, #9fd4ff);
      box-shadow: 0 0 16px rgba(102, 177, 239, 0.42);
      transition: width 0.28s ease;
    }

    .city-assignment-progress.is-active .city-assignment-progress-fill::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
      animation: city-progress-sweep 1.35s linear infinite;
    }

    .city-assignment-progress-text {
      color: rgba(214, 229, 246, 0.72);
      font-size: 12px;
      white-space: nowrap;
    }

    #cityAssignmentPanel .bill-push-top .city-assignment-progress-text {
      grid-column: 1 / -1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 11px;
    }

    .city-assignment-progress-steps {
      display: none;
    }

    .city-assignment-progress-detail {
      display: none;
    }

    .city-assignment-progress-card {
      min-width: 0;
      display: grid;
      gap: 5px;
      padding: 9px 10px;
      border-radius: 12px;
      border: 1px solid rgba(182, 212, 248, 0.1);
      background: rgba(5, 14, 27, 0.34);
    }

    .city-assignment-progress-card strong {
      color: rgba(237, 247, 255, 0.86);
      font-size: 12px;
      line-height: 1.2;
      white-space: nowrap;
    }

    .city-assignment-progress-card span {
      color: rgba(184, 207, 233, 0.72);
      font-size: 11px;
      line-height: 1.35;
    }

    .city-assignment-progress-card small {
      width: fit-content;
      padding: 2px 7px;
      border-radius: 999px;
      color: rgba(221, 235, 250, 0.72);
      background: rgba(132, 156, 185, 0.16);
      font-size: 10px;
      line-height: 1.3;
      font-weight: 800;
    }

    .city-assignment-progress-card.is-current {
      border-color: rgba(159, 212, 255, 0.34);
      background:
        linear-gradient(145deg, rgba(32, 76, 122, 0.48), rgba(7, 18, 34, 0.44));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
    }

    .city-assignment-progress-card.is-current small {
      color: #eaf7ff;
      background: rgba(77, 142, 205, 0.34);
    }

    .city-assignment-progress-card.is-complete small {
      color: #dff4ff;
      background: rgba(80, 142, 131, 0.28);
    }

    .city-assignment-progress-meta {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      min-height: 22px;
      margin-top: -2px;
    }

    #cityAssignmentPanel .bill-push-top .city-assignment-progress-meta {
      display: none;
    }

    .city-assignment-progress-meta span {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      padding: 4px 9px;
      border: 1px solid rgba(182, 212, 248, 0.1);
      border-radius: 999px;
      color: rgba(214, 229, 246, 0.72);
      background: rgba(5, 14, 27, 0.32);
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }

    .city-assignment-progress-step {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      padding: 5px 8px;
      border: 1px solid rgba(182, 212, 248, 0.1);
      border-radius: 999px;
      color: rgba(214, 229, 246, 0.56);
      background: rgba(5, 14, 27, 0.34);
      font-size: 11px;
      font-weight: 700;
      white-space: nowrap;
    }

    .city-assignment-progress-step::before {
      content: "";
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: rgba(142, 166, 194, 0.58);
    }

    .city-assignment-progress-step.is-current {
      color: #edf7ff;
      border-color: rgba(159, 212, 255, 0.32);
      background: rgba(35, 79, 124, 0.42);
    }

    .city-assignment-progress-step.is-complete::before,
    .city-assignment-progress-step.is-current::before {
      background: #9fd4ff;
      box-shadow: 0 0 10px rgba(159, 212, 255, 0.42);
    }

    .city-assignment-progress.is-failed .city-assignment-progress-fill {
      background: linear-gradient(90deg, #c88755, #ffd28a);
    }

    .city-assignment-progress.is-failed .city-assignment-progress-label {
      color: #ffe4ba;
    }

    .city-assignment-progress.is-failed .city-assignment-progress-card.is-current {
      border-color: rgba(255, 210, 138, 0.34);
      background: rgba(116, 72, 32, 0.28);
    }

    @keyframes city-progress-sweep {
      from { transform: translateX(-100%); }
      to { transform: translateX(100%); }
    }

    .bill-push-summary {
      display: grid;
      grid-template-columns: repeat(3, minmax(78px, auto));
      gap: 8px;
    }

    .bill-push-total {
      min-width: 78px;
      display: grid;
      justify-items: center;
      gap: 2px;
      padding: 9px 10px;
      border: 1px solid rgba(190, 220, 248, 0.14);
      border-radius: 8px;
      background: rgba(7, 18, 34, 0.42);
    }

    .bill-push-total strong {
      color: #ffffff;
      font-size: 24px;
      line-height: 1;
    }

    .bill-push-total span {
      color: rgba(216, 231, 247, 0.64);
      font-size: 13px;
    }

    .bill-push-refresh {
      height: 38px;
      min-width: 74px;
      border-radius: 8px !important;
    }

    .bill-push-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 10px;
      overflow: auto;
      padding-right: 2px;
      scrollbar-gutter: stable;
      align-items: start;
      grid-auto-flow: row;
      grid-auto-rows: minmax(230px, max-content);
    }

    #cityAssignmentGrid {
      height: 100%;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-template-rows: repeat(2, minmax(0, 1fr));
      grid-auto-rows: minmax(230px, 1fr);
      align-items: stretch;
      align-content: stretch;
      gap: 12px;
      padding: 0 2px 0 0;
      scrollbar-gutter: auto;
    }

    #cityAssignmentPanel.is-editing .bill-push-shell {
      grid-template-rows: auto minmax(0, 0.92fr) minmax(260px, 1fr) auto;
    }

    #cityAssignmentPanel.is-editing:not(.has-unmatched) .bill-push-shell {
      grid-template-rows: auto minmax(0, 0.92fr) minmax(260px, 1fr);
    }

    #cityAssignmentPanel.is-editing #cityAssignmentGrid {
      grid-template-rows: none;
      grid-auto-rows: minmax(190px, 1fr);
    }

    .bill-person-card {
      min-height: 230px;
      min-width: 0;
      display: grid;
      grid-template-rows: auto auto minmax(0, 1fr);
      gap: 10px;
      padding: 12px;
      border: 1px solid rgba(182, 212, 248, 0.14);
      border-radius: 10px;
      background:
        linear-gradient(180deg, rgba(18, 35, 58, 0.88), rgba(11, 24, 42, 0.9)),
        linear-gradient(135deg, rgba(74, 143, 167, 0.1), rgba(220, 169, 83, 0.06));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 10px 22px rgba(1, 7, 18, 0.18);
      overflow: hidden;
    }

    #cityAssignmentGrid .bill-person-card {
      height: 100%;
      min-height: 230px;
    }

    .bill-person-head {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(168, 203, 238, 0.15);
      border-radius: 12px;
      background:
        linear-gradient(160deg, rgba(14, 31, 53, 0.78), rgba(7, 18, 33, 0.64)),
        radial-gradient(circle at top right, rgba(89, 165, 178, 0.12), transparent 42%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    }

    .bill-person-summary {
      display: grid;
      gap: 6px;
      min-width: 0;
      flex: 1 1 auto;
    }

    .bill-person-title-row {
      min-width: 0;
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 10px;
    }

    .bill-person-name {
      min-width: 0;
      color: #f3f8ff;
      font-size: 17px;
      font-weight: 800;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bill-person-counts {
      flex: 0 0 auto;
      color: rgba(223, 236, 250, 0.76);
      font-size: 13px;
    }

    .bill-person-finance {
      display: grid;
      grid-template-rows: repeat(2, auto);
      gap: 4px;
      justify-items: center;
      align-items: center;
      justify-self: center;
      color: rgba(201, 221, 245, 0.82);
      font-size: 14px;
      line-height: 1.2;
      text-align: center;
      min-width: 0;
    }

    .bill-person-finance-line {
      display: inline-flex;
      flex-wrap: nowrap;
      gap: 12px;
      align-items: center;
      justify-content: center;
      min-width: 0;
      color: rgba(201, 221, 245, 0.82);
      white-space: nowrap;
    }

    .bill-person-finance-line > span {
      display: inline-flex;
      flex: 0 0 auto;
      white-space: nowrap;
    }

    .bill-city-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-content: start;
      min-height: 30px;
    }

    #cityAssignmentGrid .bill-city-list {
      max-height: 58px;
      min-height: 0;
      overflow: auto;
      padding-right: 2px;
      scrollbar-gutter: stable;
    }

    .bill-city-token {
      max-width: 100%;
      padding: 7px 12px;
      border: 1px solid rgba(84, 188, 177, 0.22);
      border-radius: 8px;
      color: #b9ede8;
      background: rgba(23, 126, 122, 0.13);
      font-size: 14px;
      line-height: 1.2;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bill-store-list {
      min-height: 0;
      display: grid;
      align-content: start;
      gap: 6px;
      overflow: auto;
      padding-right: 2px;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
    }

    #cityAssignmentGrid .bill-city-list,
    #cityAssignmentGrid .bill-store-list {
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
    }

    #cityAssignmentGrid .bill-city-list::-webkit-scrollbar,
    #cityAssignmentGrid .bill-store-list::-webkit-scrollbar {
      width: 12px;
      height: 12px;
    }

    #cityAssignmentGrid .bill-city-list::-webkit-scrollbar-track,
    #cityAssignmentGrid .bill-store-list::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 999px;
    }

    #cityAssignmentGrid .bill-city-list::-webkit-scrollbar-thumb,
    #cityAssignmentGrid .bill-store-list::-webkit-scrollbar-thumb {
      background: #4a6f99;
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }

    #cityAssignmentGrid .bill-city-list::-webkit-scrollbar-thumb:hover,
    #cityAssignmentGrid .bill-store-list::-webkit-scrollbar-thumb:hover {
      background: #5d88bb;
    }

    .bill-store-row {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: center;
      gap: 12px;
      padding: 10px 12px;
      border: 1px solid rgba(199, 220, 244, 0.1);
      border-radius: 8px;
      background: rgba(5, 15, 29, 0.32);
      cursor: pointer;
      transition: border-color 0.12s ease, background-color 0.12s ease;
    }

    .bill-store-row:hover {
      border-color: rgba(175, 211, 246, 0.32);
      background: rgba(10, 24, 44, 0.44);
    }

    .bill-store-name {
      min-width: 0;
      display: inline-flex;
      align-items: center;
      color: rgba(237, 246, 255, 0.92);
      font-size: 15px;
      line-height: 1.2;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bill-store-city {
      display: -webkit-box;
      color: #ffd58a;
      font-size: 15px;
      line-height: 1.2;
      white-space: normal;
      max-width: 5.5em;
      overflow: hidden;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      text-align: right;
    }

    .bill-store-meta {
      display: grid;
      justify-items: end;
      align-self: center;
      gap: 4px;
      min-width: 0;
      line-height: 1.2;
      flex: 0 0 auto;
    }

    .bill-store-city-standalone {
      justify-self: end;
      align-self: center;
    }

    .bill-store-finance-line {
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 6px;
      min-width: 0;
      flex-wrap: nowrap;
      white-space: nowrap;
    }

    .bill-store-rows {
      display: inline-flex;
      align-items: center;
      align-self: center;
      color: rgba(221, 233, 246, 0.52);
      font-size: 14px;
      line-height: 1;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .bill-store-finance {
      display: inline-flex;
      align-items: center;
      color: rgba(194, 214, 238, 0.72);
      font-size: 13px;
      line-height: 1.2;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .bill-empty {
      padding: 18px 10px;
      border: 1px dashed rgba(182, 212, 248, 0.18);
      border-radius: 8px;
      color: rgba(223, 236, 250, 0.56);
      font-size: 14px;
      text-align: center;
    }

    .bill-grid-message {
      grid-column: 1 / -1;
      min-height: 180px;
      display: grid;
      place-items: center;
    }

    #cityAssignmentGrid .bill-grid-message {
      font-size: 18px;
      font-weight: 700;
      color: rgba(223, 236, 250, 0.7);
      letter-spacing: 0.01em;
    }

    .bill-push-unmatched {
      max-height: 86px;
      overflow: auto;
      padding: 10px 12px;
      border: 1px solid rgba(255, 187, 91, 0.2);
      border-radius: var(--global-surface-radius) !important;
      color: rgba(255, 226, 176, 0.9);
      background: rgba(79, 47, 12, 0.18);
      font-size: 13px;
    }

    .city-assignment-editor-modal {
      position: fixed;
      inset: 0;
      z-index: 1255;
      display: none;
      pointer-events: none;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      background: rgba(4, 10, 18, 0.76);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .city-assignment-editor-modal.is-open {
      display: flex;
      pointer-events: auto;
    }

    .city-assignment-editor-card {
      position: relative;
      isolation: isolate;
      pointer-events: auto;
      width: min(1380px, 98vw);
      height: min(1320px, calc(100vh - 16px));
      max-height: min(1320px, calc(100vh - 16px));
      overflow: hidden;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      gap: 16px;
      padding: 18px 20px 16px;
      border-radius: 24px;
      border: 1px solid rgba(154, 207, 255, 0.18);
      background:
        radial-gradient(circle at top right, rgba(112, 178, 241, 0.14), transparent 30%),
        linear-gradient(165deg, rgba(15, 27, 45, 0.97), rgba(8, 16, 29, 0.98));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 30px 68px rgba(0, 0, 0, 0.46);
    }

    .city-assignment-editor-head {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 16px;
      align-items: start;
    }

    .city-assignment-editor-kicker {
      color: #9fd4ff;
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
    }

    .city-assignment-editor-title {
      margin: 8px 0 8px;
      color: #f2f8ff;
      font-size: 30px;
      line-height: 1.2;
      letter-spacing: 0.02em;
    }

    .city-assignment-editor-desc {
      margin: 0;
      color: rgba(209, 225, 243, 0.78);
      font-size: 14px;
      line-height: 1.75;
    }

    .city-assignment-editor-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      align-self: start;
    }

    .city-assignment-editor-body {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
      gap: 16px;
      overflow: hidden;
    }

    .city-assignment-editor-main,
    .city-assignment-editor-side {
      position: relative;
      z-index: 2;
      min-height: 0;
      display: grid;
      gap: 14px;
      padding: 16px;
      border: 1px solid rgba(173, 212, 246, 0.12);
      border-radius: 18px;
      background: rgba(8, 18, 33, 0.48);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .city-assignment-editor-main {
      grid-template-rows: minmax(0, 1fr);
    }

    .city-assignment-editor-side {
      grid-template-rows: minmax(120px, auto) minmax(0, 1fr);
      overflow: auto;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
    }

    .city-assignment-editor-section-head {
      position: relative;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      min-height: 46px;
      padding: 8px 10px 8px 13px;
      border: 1px solid rgba(182, 212, 248, 0.14);
      border-radius: 14px;
      background:
        linear-gradient(135deg, rgba(31, 58, 92, 0.52), rgba(9, 22, 40, 0.42));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .city-assignment-editor-section-head::before {
      content: "";
      width: 3px;
      height: 18px;
      flex: 0 0 auto;
      border-radius: 999px;
      background: linear-gradient(180deg, #9fd4ff, rgba(159, 212, 255, 0.25));
      box-shadow: 0 0 14px rgba(91, 163, 225, 0.28);
    }

    .city-assignment-editor-section-head strong {
      flex: 1 1 auto;
      min-width: 0;
      color: #edf7ff;
      font-size: 15px;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .city-assignment-editor-section-head span {
      color: rgba(214, 229, 246, 0.72);
      font-size: 13px;
      line-height: 1.45;
    }

    .city-assignment-panel-head input,
    .city-assignment-person-row input,
    .city-assignment-person-row select,
    .city-assignment-person-row textarea,
    .city-assignment-override-row input,
    .city-assignment-override-row select {
      min-width: 0;
      border-radius: 8px;
      border: 1px solid rgba(182, 212, 248, 0.18);
      background: rgba(5, 14, 27, 0.52);
      color: #eaf5ff;
      outline: none;
    }

    .city-assignment-edit-hint {
      margin: 0;
      padding: 2px 4px 0;
      color: rgba(192, 214, 238, 0.74);
      font-size: 12px;
      line-height: 1.6;
      letter-spacing: 0.01em;
    }

    .city-assignment-people-editor {
      min-height: 0;
      overflow: auto;
      pointer-events: auto;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
      padding-right: 4px;
      scrollbar-gutter: stable;
    }

    .city-assignment-people-editor {
      display: grid;
      align-content: start;
      gap: 10px;
      padding-top: 2px;
    }

    .city-assignment-person-row {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: stretch;
      padding: 9px 12px 8px;
      border: 1px solid rgba(182, 212, 248, 0.14);
      border-radius: 16px;
      background:
        linear-gradient(145deg, rgba(17, 36, 61, 0.66), rgba(7, 18, 34, 0.48));
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 10px 22px rgba(0, 0, 0, 0.12);
    }

    .city-assignment-person-main {
      min-width: 0;
      display: grid;
      grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
      gap: 10px;
      align-items: stretch;
    }

    .city-assignment-person-side {
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 86px;
      padding-left: 2px;
    }

    .city-assignment-field {
      min-width: 0;
      display: grid;
      gap: 3px;
    }

    .city-assignment-field label {
      color: rgba(202, 224, 247, 0.78);
      font-size: 12px;
      font-weight: 700;
      line-height: 1;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    .city-assignment-person-row input,
    .city-assignment-person-row select {
      position: relative;
      z-index: 6;
      pointer-events: auto;
      width: 100%;
      height: 32px;
      padding: 5px 9px;
      font-size: 14px;
    }

    .city-assignment-person-row textarea {
      position: relative;
      z-index: 6;
      pointer-events: auto;
      width: 100%;
      min-height: 30px;
      max-height: 96px;
      padding: 6px 9px;
      resize: vertical;
      line-height: 1.45;
      font-size: 14px;
    }

    .city-assignment-person-row button,
    .city-assignment-override-row button {
      height: 32px;
      min-width: 0;
      padding: 5px 10px !important;
      border-radius: 10px !important;
    }

    .city-assignment-person-row [data-action="remove-person"] {
      min-width: 72px;
    }

    .city-assignment-person-row .city-assignment-field.cities {
      align-self: stretch;
    }

    .city-assignment-person-row .city-assignment-field-name input {
      font-size: 15px;
      font-weight: 700;
    }

    .city-assignment-person-row .city-assignment-field.cities textarea {
      min-height: 68px;
      height: 68px;
    }

    .city-assignment-overrides-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 4px;
    }

    .city-assignment-overrides-head strong {
      color: #edf7ff;
      font-size: 14px;
      letter-spacing: 0.03em;
    }

    .city-assignment-overrides-head span {
      color: rgba(192, 214, 238, 0.66);
      font-size: 12px;
    }

    .city-assignment-overrides {
      display: grid;
      grid-template-rows: minmax(0, 1fr);
      gap: 10px;
      margin-top: 8px;
      padding-top: 14px;
      border-top: 1px solid rgba(182, 212, 248, 0.12);
      min-height: 0;
      overflow: hidden;
    }

    #cityAssignmentOverrideEditor {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(120px, 1fr);
      gap: 12px;
      align-content: start;
      overflow: hidden;
    }

    #cityAssignmentOverrideEditor .city-assignment-overrides-head {
      align-items: flex-start;
    }

    #cityAssignmentOverrideEditor .city-assignment-override-list {
      padding-top: 2px;
    }

    #cityAssignmentInactiveShopEditor {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(88px, auto);
      gap: 12px;
      align-content: start;
    }

    #cityAssignmentInactiveShopEditor .city-assignment-overrides-head {
      align-items: flex-start;
    }

    #cityAssignmentInactiveShopEditor .city-assignment-override-list {
      max-height: 132px;
      padding-top: 2px;
    }

    #cityAssignmentInactiveShopEditor .city-assignment-override-row {
      grid-template-columns: minmax(0, 1fr) auto;
    }

    .city-assignment-override-list {
      position: relative;
      z-index: 4;
      min-height: 0;
      max-height: 100%;
      overflow: auto;
      pointer-events: auto;
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
      display: grid;
      align-content: start;
      gap: 10px;
    }

    .city-assignment-override-row {
      position: relative;
      z-index: 4;
      display: grid;
      grid-template-columns: minmax(0, 1.7fr) minmax(84px, 0.58fr) minmax(0, 1.05fr) auto;
      gap: 10px;
      align-items: center;
      padding: 10px 12px;
      border: 1px solid rgba(182, 212, 248, 0.1);
      border-radius: 12px;
      background: rgba(7, 18, 34, 0.3);
      pointer-events: auto;
    }

    .city-assignment-override-row input,
    .city-assignment-override-row select {
      position: relative;
      z-index: 6;
      pointer-events: auto;
      height: 36px;
      padding: 6px 10px;
      width: 100%;
    }

    .city-assignment-override-row .ghost {
      min-width: 64px;
    }

    .city-assignment-unmatched-inline {
      position: relative;
      z-index: 3;
      display: grid;
      gap: 10px;
      min-height: 0;
    }

    .city-assignment-unmatched-inline-list {
      position: relative;
      z-index: 3;
      min-height: 0;
      max-height: 196px;
      overflow: auto;
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
      display: grid;
      align-content: start;
      gap: 10px;
    }

    .city-assignment-unmatched-inline-list .city-assignment-unmatched-item {
      background: rgba(255, 216, 150, 0.06);
    }

    .city-assignment-unmatched-inline-list .city-assignment-unmatched-item strong {
      display: block;
      margin-bottom: 4px;
    }

    .city-assignment-unmatched-city {
      color: rgba(208, 225, 244, 0.74);
      font-size: 12px;
      line-height: 1.45;
    }

    .city-assignment-unmatched-modal {
      position: fixed;
      inset: 0;
      z-index: 1260;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 18px;
      background: rgba(5, 11, 20, 0.72);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }

    .city-assignment-unmatched-modal.is-open {
      display: flex;
    }

    .view-modal-host {
      position: relative;
      isolation: isolate;
    }

    .city-assignment-unmatched-card {
      width: min(640px, 94vw);
      max-height: min(76vh, 760px);
      overflow: auto;
      padding: 22px 22px 18px;
      border-radius: 20px;
      border: 1px solid rgba(255, 204, 122, 0.22);
      background:
        radial-gradient(circle at top right, rgba(255, 190, 104, 0.18), transparent 32%),
        linear-gradient(165deg, rgba(20, 28, 43, 0.96), rgba(10, 16, 28, 0.96));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 28px 60px rgba(0, 0, 0, 0.42);
    }

    .city-assignment-unmatched-kicker {
      color: #ffd58a;
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .city-assignment-unmatched-title {
      margin: 8px 0 10px;
      color: #f5fbff;
      font-size: 26px;
      line-height: 1.25;
      letter-spacing: 0.02em;
    }

    .city-assignment-unmatched-desc {
      margin: 0;
      color: rgba(216, 230, 247, 0.82);
      font-size: 14px;
      line-height: 1.8;
    }

    .city-assignment-unmatched-summary {
      margin-top: 16px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      border: 1px solid rgba(255, 201, 118, 0.18);
      background: rgba(82, 53, 18, 0.22);
      color: #ffe5ba;
      font-size: 13px;
      font-weight: 700;
    }

    .city-assignment-unmatched-list {
      margin-top: 18px;
      display: grid;
      gap: 10px;
    }

    .city-assignment-unmatched-item {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(255, 218, 158, 0.08);
      background: rgba(255, 216, 150, 0.05);
    }

    .city-assignment-unmatched-item strong {
      color: #f6fbff;
      font-size: 14px;
      line-height: 1.5;
    }

    .city-assignment-unmatched-item span {
      color: rgba(255, 225, 173, 0.88);
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
    }

    .city-assignment-unmatched-actions {
      margin-top: 20px;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
    }

    .city-assignment-editor-foot {
      position: relative;
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      padding-top: 2px;
    }

    #cityAssignmentOverrideEditor,
    #cityAssignmentUnmatchedInlineList,
    #cityAssignmentSaveBtn,
    #cityAssignmentEditorCancelBtn,
    #cityAssignmentEditorCloseBtn {
      position: relative;
      z-index: 5;
      pointer-events: auto;
    }

    #cityAssignmentOverrideEditor .city-assignment-overrides-head {
      flex: 0 0 auto;
    }

    #cityAssignmentAddOverrideBtn,
    .city-assignment-override-row button,
    .city-assignment-person-row button {
      position: relative;
      z-index: 6;
      pointer-events: auto;
    }

    .city-assignment-editor-foot-status {
      color: rgba(200, 217, 237, 0.74);
      font-size: 13px;
      line-height: 1.6;
    }

    .city-assignment-editor-foot-actions {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    /* City assignment: unify all card curvature with the page's largest container radius */
    #cityAssignmentPanel .bill-push-top,
    #cityAssignmentPanel .bill-push-total,
    #cityAssignmentPanel .bill-person-card,
    #cityAssignmentPanel .bill-city-token,
    #cityAssignmentPanel .bill-store-row,
    #cityAssignmentPanel .bill-empty,
    #cityAssignmentPanel .bill-push-unmatched {
      border-radius: var(--global-shell-radius) !important;
    }

    .bill-push-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: var(--global-gap);
      flex-wrap: wrap;
    }

    .bill-push-view-switch {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 4px;
      border-radius: 999px;
      border: 1px solid rgba(163, 199, 236, 0.18);
      background: rgba(9, 24, 41, 0.56);
    }

    .bill-push-view-switch button {
      min-width: 88px;
      border-radius: 999px !important;
      padding: 8px 14px;
      border: 1px solid transparent;
      background: transparent;
      color: rgba(205, 227, 246, 0.78);
      font-weight: 700;
    }

    .bill-push-view-switch button.is-active {
      color: #eef7ff;
      border-color: rgba(147, 203, 255, 0.26);
      background: linear-gradient(145deg, rgba(47, 90, 146, 0.72), rgba(23, 50, 88, 0.8));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 10px 20px rgba(3, 12, 26, 0.18);
    }

    .bill-review-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: 1.16fr 0.84fr;
      gap: var(--global-gap);
      overflow: hidden;
    }

    .bill-review-panel {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: var(--global-gap);
      padding: var(--global-card-pad);
      border: 1px solid rgba(182, 212, 248, 0.16);
      border-radius: var(--global-surface-radius);
      background:
        linear-gradient(180deg, rgba(12, 26, 44, 0.84), rgba(9, 19, 34, 0.9)),
        radial-gradient(circle at top right, rgba(76, 146, 177, 0.09), transparent 34%);
      overflow: hidden;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 12px 28px rgba(1, 8, 21, 0.2);
    }

    .bill-finance-review-modal {
      position: absolute;
      inset: 0;
      z-index: 1256;
      align-items: center;
      justify-content: center;
      padding: 16px;
    }

    .bill-finance-review-card {
      width: min(920px, 98vw);
      height: min(820px, calc(100vh - 24px));
      max-height: calc(100vh - 24px);
      margin-inline: auto;
    }

    .bill-finance-review-head {
      align-items: center;
    }

    .bill-finance-review-head .city-assignment-editor-title {
      margin: 0;
    }

    .bill-finance-review-head .city-assignment-editor-actions {
      min-width: 0;
      align-self: center;
    }

    .bill-finance-review-head #billPushStatus {
      min-width: 0;
      max-width: 260px;
      margin-right: 2px;
    }

    .bill-finance-review-body {
      min-height: 0;
      display: grid;
      grid-template-rows: minmax(0, 1fr);
      padding: 0 18px 18px;
    }

    .bill-finance-review-card .bill-detail-block {
      width: 100%;
      height: 100%;
    }

    .bill-finance-review-card .bill-record-list {
      padding: 16px;
    }

    .bill-preview-panel {
      background:
        linear-gradient(175deg, rgba(12, 27, 46, 0.9), rgba(9, 20, 36, 0.96)),
        radial-gradient(circle at 92% 8%, rgba(96, 162, 194, 0.12), transparent 36%);
    }

    .bill-detail-record-panel {
      background:
        linear-gradient(175deg, rgba(10, 23, 40, 0.9), rgba(7, 18, 32, 0.96)),
        radial-gradient(circle at 8% 8%, rgba(74, 126, 178, 0.12), transparent 42%);
    }

    #billPushResult {
      align-self: center;
      color: rgba(214, 229, 246, 0.72);
      font-size: 13px;
      white-space: nowrap;
      padding: 4px 10px;
      border: 1px solid rgba(163, 199, 236, 0.2);
      border-radius: 999px;
      background: rgba(10, 25, 42, 0.52);
    }

    .bill-settings-row {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 2px;
    }

    .bill-settings-row label {
      min-width: 0;
      display: grid;
      gap: 6px;
      color: rgba(214, 229, 246, 0.8);
      font-size: 13px;
      font-weight: 600;
      padding: 8px 9px;
      border: 1px solid rgba(169, 205, 242, 0.14);
      border-radius: 10px;
      background: rgba(8, 20, 35, 0.46);
    }

    .bill-settings-row input {
      height: 32px;
      min-width: 0;
      padding: 6px 10px;
      border-radius: 8px;
    }

    .bill-table-wrap {
      min-height: 0;
      overflow: auto;
      border: 1px solid rgba(182, 212, 248, 0.14);
      border-radius: 8px;
      background: rgba(5, 14, 27, 0.36);
    }

    .bill-preview-shell {
      min-height: 0;
      display: grid;
      grid-template-rows: auto auto minmax(0, 1fr);
      gap: var(--global-gap);
    }

    .bill-overview-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: var(--global-gap);
    }

    .bill-overview-card {
      min-width: 0;
      padding: 11px 12px;
      border: 1px solid rgba(167, 203, 238, 0.16);
      border-radius: 10px;
      background:
        linear-gradient(180deg, rgba(14, 30, 52, 0.92), rgba(10, 22, 39, 0.96)),
        radial-gradient(circle at top right, rgba(94, 176, 180, 0.12), transparent 42%);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
      display: grid;
      gap: 6px;
    }

    .bill-overview-card span {
      color: rgba(204, 223, 244, 0.72);
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
    }

    .bill-overview-card strong {
      color: #f4f9ff;
      font-size: 26px;
      line-height: 1;
      letter-spacing: 0;
    }

    .bill-overview-card small {
      color: rgba(170, 196, 223, 0.7);
      font-size: 13px;
      line-height: 1.35;
    }

    .bill-role-card-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
      grid-auto-rows: clamp(230px, 32vh, 300px);
      gap: 10px;
      overflow: auto;
      padding-right: 2px;
      align-items: stretch;
      align-content: start;
    }

    .bill-role-card {
      min-width: 0;
      min-height: 0;
      height: 100%;
      padding: 12px;
      border: 1px solid rgba(172, 209, 242, 0.14);
      border-radius: 10px;
      background:
        linear-gradient(180deg, rgba(16, 34, 57, 0.94), rgba(10, 20, 36, 0.98)),
        radial-gradient(circle at top right, rgba(54, 154, 149, 0.12), transparent 36%);
      display: grid;
      grid-template-rows: auto auto auto minmax(0, 1fr);
      gap: 10px;
      overflow: hidden;
    }

    .bill-role-card-head {
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .bill-role-card-head strong {
      min-width: 0;
      color: #eff7ff;
      font-size: 17px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bill-role-chip {
      flex: 0 0 auto;
      padding: 4px 8px;
      border-radius: 999px;
      border: 1px solid rgba(84, 188, 177, 0.22);
      background: rgba(23, 126, 122, 0.12);
      color: #b9ede8;
      font-size: 12px;
      font-weight: 700;
    }

    .bill-role-cities {
      color: rgba(210, 227, 245, 0.76);
      font-size: 13px;
      line-height: 1.45;
      min-height: 34px;
      max-height: 34px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    .bill-role-metrics {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }

    .bill-role-metric {
      padding: 9px 10px;
      border-radius: 8px;
      border: 1px solid rgba(150, 191, 230, 0.12);
      background: rgba(7, 18, 32, 0.5);
      display: grid;
      justify-items: center;
      text-align: center;
      gap: 4px;
    }

    .bill-role-metric span {
      color: rgba(177, 202, 228, 0.7);
      font-size: 12px;
      font-weight: 700;
    }

    .bill-role-metric strong {
      color: #f3f9ff;
      font-size: 18px;
      line-height: 1;
    }

    .bill-role-shops {
      min-height: 0;
      overflow: auto;
      display: flex;
      flex-wrap: wrap;
      align-content: flex-start;
      gap: 6px;
      padding-right: 2px;
    }

    .bill-role-shop-tag {
      max-width: 100%;
      padding: 5px 8px;
      border-radius: 8px;
      background: rgba(14, 35, 59, 0.72);
      border: 1px solid rgba(151, 197, 240, 0.12);
      color: rgba(218, 233, 249, 0.84);
      font-size: 13px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bill-detail-panel {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: 9px;
    }

    .bill-detail-panel.is-link-results {
      grid-template-rows: auto minmax(0, 1fr);
    }

    .bill-detail-block {
      min-height: 0;
      border: 1px solid rgba(176, 207, 244, 0.14);
      border-radius: 10px;
      background: linear-gradient(170deg, rgba(9, 20, 37, 0.9), rgba(7, 17, 31, 0.88));
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      overflow: hidden;
    }

    .bill-detail-block-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 10px;
      border-bottom: 1px solid rgba(176, 207, 244, 0.14);
      background: rgba(11, 24, 42, 0.55);
    }

    .bill-detail-head-main {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .bill-detail-block-head strong {
      color: rgba(230, 241, 252, 0.96);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.01em;
      line-height: 1;
    }

    .bill-detail-block-meta {
      color: rgba(173, 198, 225, 0.82);
      font-size: 15px;
      white-space: nowrap;
      line-height: 1;
    }

    .bill-detail-summary {
      color: rgba(186, 207, 229, 0.74);
      font-size: 13px;
      line-height: 1.4;
      padding: 6px 10px;
      border: 1px dashed rgba(164, 198, 233, 0.22);
      border-radius: 9px;
      background: rgba(8, 20, 35, 0.36);
    }

    .bill-record-list {
      min-height: 0;
      overflow: auto;
      padding: 9px;
      display: grid;
      gap: 7px;
      align-content: start;
    }

    .bill-record-empty {
      padding: 16px 12px;
      border: 1px dashed rgba(176, 208, 244, 0.24);
      border-radius: 8px;
      color: rgba(188, 208, 233, 0.7);
      font-size: 13px;
      text-align: center;
      background: rgba(10, 22, 40, 0.38);
    }

    .bill-record-card {
      border: 1px solid rgba(168, 203, 238, 0.16);
      border-radius: 10px;
      background: linear-gradient(160deg, rgba(13, 28, 47, 0.92), rgba(9, 20, 35, 0.9));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
      padding: 8px 10px;
      display: grid;
      gap: 7px;
    }

    .bill-link-record-card {
      position: relative;
      grid-template-columns: minmax(108px, 1fr) minmax(124px, auto);
      align-items: center;
      gap: 14px;
      padding: 11px 12px;
    }

    .bill-link-record-main {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 14px;
      align-self: center;
    }

    .bill-link-record-sub {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 7px;
      color: rgba(174, 201, 230, 0.82);
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .bill-link-record-card .bill-record-name {
      font-size: 18px;
      line-height: 1.2;
    }

    .bill-link-record-card .bill-status-tag {
      min-height: 24px;
      padding: 3px 11px;
      font-size: 13px;
      line-height: 1.15;
    }

    .bill-link-record-total {
      min-width: 0;
      width: min(292px, 100%);
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      display: grid;
      grid-template-columns: repeat(2, minmax(96px, 1fr));
      align-items: center;
      gap: 8px;
      color: rgba(226, 238, 252, 0.94);
      font-size: 15px;
      font-weight: 800;
      line-height: 1.2;
      white-space: nowrap;
    }

    .bill-link-record-metric {
      display: inline-flex;
      min-height: 34px;
      align-items: baseline;
      justify-content: center;
      gap: 5px;
      padding: 7px 8px;
      border: 1px solid rgba(160, 197, 235, 0.12);
      border-radius: 8px;
      background: rgba(9, 20, 36, 0.56);
      white-space: nowrap;
    }

    .bill-link-record-metric span {
      color: rgba(165, 194, 225, 0.84);
      font-size: 13px;
      font-weight: 700;
    }

    .bill-link-record-card .bill-record-actions {
      justify-content: flex-end;
      flex-wrap: nowrap;
    }

    .bill-link-record-card > div:last-child {
      justify-self: end;
    }

    .bill-record-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .bill-record-name {
      color: rgba(232, 241, 252, 0.95);
      font-size: 14px;
      font-weight: 700;
    }

    .bill-record-top-right {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
    }

    .bill-record-date {
      color: rgba(174, 201, 230, 0.82);
      font-size: 12px;
    }

    .bill-record-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 7px;
    }

    .bill-record-grid.cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bill-record-cell {
      min-width: 0;
      border: 1px solid rgba(160, 197, 235, 0.12);
      border-radius: 8px;
      padding: 6px 7px;
      background: rgba(9, 20, 36, 0.56);
      display: grid;
      gap: 3px;
    }

    .bill-record-label {
      color: rgba(165, 194, 225, 0.76);
      font-size: 12px;
      line-height: 1.1;
    }

    .bill-record-value {
      color: rgba(226, 238, 252, 0.94);
      font-size: 13px;
      line-height: 1.25;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .bill-status-tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 2px 9px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 700;
      border: 1px solid transparent;
      white-space: nowrap;
    }

    .bill-status-tag.pending {
      color: #cfe3ff;
      border-color: rgba(132, 172, 218, 0.38);
      background: rgba(58, 91, 127, 0.36);
    }

    .bill-status-tag.confirmed {
      color: #dcf0ff;
      border-color: rgba(93, 162, 214, 0.52);
      background: rgba(49, 109, 162, 0.35);
    }

    .bill-status-tag.issue {
      color: #fff0d8;
      border-color: rgba(212, 159, 92, 0.52);
      background: rgba(148, 99, 39, 0.35);
    }

    .bill-record-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .bill-record-link,
    .bill-record-copy {
      color: #8ec6ff;
      text-decoration: none;
      border: 1px solid rgba(142, 198, 255, 0.34);
      border-radius: 8px;
      padding: 5px 12px;
      min-width: 76px;
      min-height: 32px;
      height: 32px;
      font-size: 13px;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: inherit;
      line-height: 1;
      background: rgba(27, 63, 99, 0.36);
      box-shadow: none;
      transition: filter 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    }

    .bill-record-copy {
      appearance: none;
      -webkit-appearance: none;
      cursor: pointer;
      color: #8ec6ff !important;
      border-color: rgba(142, 198, 255, 0.34) !important;
      background: rgba(27, 63, 99, 0.36) !important;
      padding: 5px 12px !important;
      border-radius: 8px !important;
      box-shadow: none !important;
    }

    .bill-record-copy-all {
      min-width: 96px !important;
      min-height: 38px !important;
      height: 38px !important;
      padding: 7px 14px !important;
      font-size: 14px !important;
      font-weight: 700 !important;
    }

    .bill-record-copy.is-copied {
      color: #ffe0a6;
      border-color: rgba(255, 207, 134, 0.42);
      background: rgba(116, 78, 27, 0.36);
    }

    .bill-record-link:hover,
    .bill-record-copy:hover {
      filter: brightness(1.08);
      transform: none;
      border-color: rgba(167, 216, 255, 0.82) !important;
      box-shadow: 0 0 0 1px rgba(167, 216, 255, 0.18), 0 0 14px rgba(88, 164, 235, 0.18) !important;
    }

    .bill-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      table-layout: fixed;
      font-size: 13px;
    }

    .bill-table th,
    .bill-table td {
      padding: 9px 8px;
      border-bottom: 1px solid rgba(182, 212, 248, 0.12);
      text-align: left;
      vertical-align: middle;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      overflow-wrap: anywhere;
      word-break: break-word;
    }

    .bill-table thead th {
      position: sticky;
      top: 0;
      z-index: 1;
      color: rgba(224, 237, 251, 0.92);
      background: rgba(13, 29, 50, 0.96);
      font-weight: 700;
    }

    .bill-table tbody tr:hover td {
      background: rgba(70, 118, 178, 0.12);
    }

    #storeDetailTable {
      table-layout: auto !important;
      width: 100% !important;
      min-width: 100% !important;
      border-collapse: collapse !important;
      border-spacing: 0 !important;
      border-radius: 0 !important;
      font-size: clamp(11px, 0.72vw, 13px);
    }

    #storeDetailTable th,
    #storeDetailTable td {
      padding: 8px 6px !important;
      border: 1px solid rgba(176, 205, 238, 0.22) !important;
      white-space: normal !important;
      overflow: hidden !important;
      text-overflow: clip !important;
      vertical-align: top !important;
      line-height: 1.42 !important;
      word-break: break-word !important;
      overflow-wrap: anywhere !important;
      background: rgba(7, 18, 34, 0.52);
      border-radius: 0 !important;
    }

    #storeDetailTable td.store-detail-two-line {
      white-space: normal !important;
      word-break: break-word !important;
      overflow-wrap: anywhere !important;
    }

    #storeDetailTable td.store-detail-two-line .store-detail-cell-text {
      display: -webkit-box;
      max-height: calc(1.55em * 2);
      overflow: hidden;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }

    #storeDetailTable td.store-detail-no-wrap .store-detail-cell-text {
      display: inline-block;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      vertical-align: middle;
    }

    #storeDetailModal .bill-table-wrap,
    #storeDetailModal table,
    #storeDetailModal thead,
    #storeDetailModal tbody,
    #storeDetailModal tr,
    #storeDetailModal th,
    #storeDetailModal td {
      border-radius: 0 !important;
    }

    #storeDetailTable thead th {
      padding: 7px 5px !important;
      background: rgba(17, 40, 67, 0.98) !important;
      border-color: rgba(176, 205, 238, 0.32) !important;
      font-size: 11px;
      position: sticky;
      top: -1px;
      z-index: 4;
      text-align: center;
      vertical-align: middle !important;
      white-space: nowrap !important;
      word-break: keep-all !important;
      overflow-wrap: normal !important;
      box-shadow:
        inset 0 1px 0 rgba(17, 40, 67, 0.98),
        0 1px 0 rgba(176, 205, 238, 0.18);
    }

    #storeDetailTable thead,
    #storeDetailTable thead tr {
      background: rgba(17, 40, 67, 0.98) !important;
    }

    #storeDetailTable tbody td {
      vertical-align: middle !important;
    }

    #storeDetailTable th.store-detail-align-center,
    #storeDetailTable td.store-detail-align-center {
      text-align: center !important;
    }

    #storeDetailTable tbody tr:nth-child(even) td {
      background: rgba(11, 28, 51, 0.58);
    }

    #storeDetailTable tbody tr:hover td {
      background: rgba(49, 91, 140, 0.34) !important;
    }

    #storeDetailModal {
      box-sizing: border-box;
      padding: 12px clamp(12px, 1.2vw, 20px) !important;
    }

    .store-detail-modal-card {
      position: relative;
      width: min(2140px, calc(100vw - 8px)) !important;
      max-width: 100% !important;
      max-height: calc(100vh - 24px) !important;
      padding: 14px !important;
      overflow: hidden !important;
    }

    #storeDetailModal .auditor-modal-title {
      margin-bottom: 8px;
    }

    #storeDetailModal .hint {
      margin-bottom: 3px;
      line-height: 1.55;
    }

    .store-detail-toolbar {
      display: block;
      margin: 2px 0 8px;
      padding-right: 188px;
    }

    .store-detail-toolbar-status {
      color: rgba(214, 228, 247, 0.76);
      font-size: 12px;
      line-height: 1.45;
    }

    .store-detail-toolbar-status[data-tone="ok"] {
      color: #86efac;
    }

    .store-detail-toolbar-status[data-tone="error"] {
      color: #fda4af;
    }

    .store-detail-toolbar[hidden] {
      display: none !important;
    }

    .store-detail-toolbar-action[hidden] {
      display: none !important;
    }

    .store-detail-remark-input {
      width: 100%;
      min-width: 118px;
      padding: 6px 8px;
      border-radius: 8px;
      border: 1px solid rgba(116, 150, 193, 0.28);
      background: rgba(10, 23, 42, 0.82);
      color: #eaf3ff;
      outline: none;
      box-sizing: border-box;
    }

    .store-detail-remark-input:focus {
      border-color: rgba(102, 175, 255, 0.72);
      box-shadow: 0 0 0 2px rgba(63, 131, 248, 0.16);
    }

    #storeDetailModal .auditor-modal-title,
    #storeDetailModal .hint {
      padding-right: 188px;
    }

    .store-detail-table-wrap {
      position: relative;
      max-height: calc(100vh - 148px) !important;
      overflow-x: hidden !important;
      overflow-y: auto !important;
      background: rgba(7, 18, 34, 0.98);
      border-top: 1px solid rgba(176, 205, 238, 0.32);
      box-shadow: inset 0 2px 0 rgba(17, 40, 67, 0.98);
      scrollbar-gutter: stable;
    }

    #storeDetailModal .auditor-modal-actions {
      position: absolute;
      top: 14px;
      right: 14px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      height: auto;
      margin: 0;
      padding: 0;
      z-index: 2;
    }

    #storeDetailModalCloseBtn {
      min-width: 68px;
      height: 32px;
      padding: 0 16px;
      border-radius: 999px;
    }

    #afterSalesWorkOrderModal {
      box-sizing: border-box;
      padding: 12px clamp(12px, 1.2vw, 20px) !important;
    }

    .after-sales-work-order-modal-card {
      position: relative;
      width: min(1320px, calc(100vw - 24px)) !important;
      max-width: 100% !important;
      max-height: calc(100vh - 24px) !important;
      padding: 14px !important;
      overflow: hidden !important;
    }

    #afterSalesWorkOrderModal .auditor-modal-title,
    #afterSalesWorkOrderModal .hint {
      padding-right: 84px;
    }

    #afterSalesWorkOrderModal .auditor-modal-title {
      margin-bottom: 8px;
    }

    #afterSalesWorkOrderModal .hint {
      margin-bottom: 8px;
      line-height: 1.5;
    }

    .after-sales-work-order-table-wrap {
      max-height: calc(100vh - 150px) !important;
      overflow: auto !important;
      background: rgba(7, 18, 34, 0.98);
      border-top: 1px solid rgba(176, 205, 238, 0.32);
    }

    #afterSalesWorkOrderTable {
      table-layout: auto !important;
      width: 100% !important;
      min-width: 100% !important;
      border-collapse: collapse !important;
      border-spacing: 0 !important;
      border-radius: 0 !important;
      font-size: clamp(11px, 0.72vw, 13px);
    }

    #afterSalesWorkOrderTable th,
    #afterSalesWorkOrderTable td {
      padding: 8px 6px !important;
      border: 1px solid rgba(176, 205, 238, 0.22) !important;
      vertical-align: middle !important;
      line-height: 1.42 !important;
      white-space: normal !important;
      overflow: hidden !important;
      text-overflow: clip !important;
      overflow-wrap: anywhere !important;
      word-break: break-word !important;
      background: rgba(7, 18, 34, 0.52);
      border-radius: 0 !important;
    }

    #afterSalesWorkOrderTable th {
      position: sticky;
      top: -1px;
      z-index: 4;
      padding: 7px 5px !important;
      color: rgba(224, 237, 251, 0.92);
      background: rgba(17, 40, 67, 0.98) !important;
      border-color: rgba(176, 205, 238, 0.32) !important;
      font-size: 11px;
      text-align: center;
      white-space: nowrap !important;
      word-break: keep-all !important;
      overflow-wrap: normal !important;
      box-shadow:
        inset 0 1px 0 rgba(17, 40, 67, 0.98),
        0 1px 0 rgba(176, 205, 238, 0.18);
    }

    #afterSalesWorkOrderModal .bill-table-wrap,
    #afterSalesWorkOrderModal table,
    #afterSalesWorkOrderModal thead,
    #afterSalesWorkOrderModal tbody,
    #afterSalesWorkOrderModal tr,
    #afterSalesWorkOrderModal th,
    #afterSalesWorkOrderModal td {
      border-radius: 0 !important;
    }

    #afterSalesWorkOrderTable thead,
    #afterSalesWorkOrderTable thead tr {
      background: rgba(17, 40, 67, 0.98) !important;
    }

    #afterSalesWorkOrderTable tbody tr:nth-child(even) td {
      background: rgba(11, 28, 51, 0.58);
    }

    #afterSalesWorkOrderTable tbody tr:hover td {
      background: rgba(49, 91, 140, 0.34) !important;
    }

    #afterSalesWorkOrderModal .auditor-modal-actions {
      position: absolute;
      top: 14px;
      right: 14px;
      margin: 0;
      padding: 0;
    }

    .presale-business-matrix-group.is-clickable {
      cursor: pointer;
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    }

    .presale-business-matrix-group.is-clickable:hover {
      z-index: 2;
      transform: translateY(-2px);
      border-color: rgba(159, 212, 255, 0.3);
      box-shadow: 0 12px 28px rgba(6, 16, 33, 0.28);
    }

    .presale-business-matrix-group.is-clickable:active {
      transform: translateY(0);
    }

    @media (max-width: 1380px) {
      #cityAssignmentGrid {
        grid-template-rows: none;
        grid-auto-rows: minmax(230px, max-content);
      }

      .bill-role-card-grid {
        grid-auto-rows: clamp(220px, 34vh, 280px);
      }

      .city-assignment-person-row {
        grid-template-columns: 1fr;
      }

      .city-assignment-person-main {
        grid-template-columns: 1fr;
        gap: 10px;
      }

      .city-assignment-person-side {
        justify-content: flex-end;
      }

      .city-assignment-person-row .city-assignment-field.cities textarea {
        min-height: 58px;
        height: 58px;
      }

      .city-assignment-editor-body {
        grid-template-columns: 1fr;
      }

      .city-assignment-override-row {
        grid-template-columns: 1fr;
      }
    }

@media (max-width: 860px) {
      #storeDetailModal {
        padding: 10px;
      }

      .bill-push-top {
        grid-template-columns: 1fr;
        align-items: stretch;
      }

      .bill-review-grid {
        grid-template-columns: 1fr;
      }

      .bill-finance-review-head {
        grid-template-columns: 1fr;
      }

      .bill-finance-review-head .city-assignment-editor-actions {
        flex-wrap: wrap;
      }

      .bill-finance-review-head #billPushStatus {
        flex: 1 1 100%;
        max-width: none;
        margin-right: 0;
      }

      #billPushResult {
        align-self: flex-start;
      }

      .bill-push-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

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

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

      .bill-record-grid.cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .bill-push-grid {
        grid-template-columns: 1fr;
      }

      #cityAssignmentPanel .bill-push-shell {
        padding: 10px;
      }

      .city-assignment-workspace {
        grid-template-columns: 1fr;
        overflow: auto;
      }

      .bill-settings-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      #cityAssignmentGrid {
        grid-auto-rows: minmax(230px, max-content);
      }

      .bill-role-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        grid-auto-rows: 240px;
      }

    }

    .main-shell:not(.visualization-only) #consolePanel {
      height: 100% !important;
      min-height: 0 !important;
      grid-template-rows: minmax(0, 1fr) auto !important;
      align-self: stretch !important;
    }

    .main-shell:not(.visualization-only) #configPanel {
      align-self: end !important;
    }

    #opsView,
    #opsView > #overviewPanel,
    #opsView > #consolePanel,
    #cityAssignmentPanel {
      will-change: transform, opacity;
    }

    .main-shell.is-switching-to-visual #opsView,
    .main-shell.is-switching-to-ops #opsView,
    .main-shell.is-switching-to-visual #cityAssignmentPanel,
    .main-shell.is-switching-to-ops #cityAssignmentPanel,
    .main-shell.is-switching-to-visual #visualizationPanel,
    .main-shell.is-switching-to-ops #visualizationPanel {
      transition: none !important;
      animation: none !important;
    }

    .main-shell.is-switching-to-visual .status-card,
    .main-shell.is-switching-to-ops .status-card,
    .main-shell.is-switching-to-visual .lane,
    .main-shell.is-switching-to-ops .lane,
    .main-shell.is-switching-to-visual .lane-body,
    .main-shell.is-switching-to-ops .lane-body,
    .main-shell.is-switching-to-visual .lane-log,
    .main-shell.is-switching-to-ops .lane-log,
    .main-shell.is-switching-to-visual .presale-screen-top,
    .main-shell.is-switching-to-ops .presale-screen-top,
    .main-shell.is-switching-to-visual .presale-board,
    .main-shell.is-switching-to-ops .presale-board,
    .main-shell.is-switching-to-visual .presale-chart-block,
    .main-shell.is-switching-to-ops .presale-chart-block,
    .main-shell.is-switching-to-visual .presale-person-card,
    .main-shell.is-switching-to-ops .presale-person-card {
      animation: none !important;
      transition: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      box-shadow: none !important;
    }

    .main-shell.is-switching-to-visual .status-card:hover,
    .main-shell.is-switching-to-ops .status-card:hover,
    .main-shell.is-switching-to-visual .side-link:hover,
    .main-shell.is-switching-to-ops .side-link:hover,
    .main-shell.is-switching-to-visual button:hover,
    .main-shell.is-switching-to-ops button:hover {
      transform: none !important;
      filter: none !important;
      box-shadow: none !important;
    }

    .main-shell.is-switching-to-visual .running-indicator::after,
    .main-shell.is-switching-to-ops .running-indicator::after,
    .main-shell.is-switching-to-visual button::after,
    .main-shell.is-switching-to-ops button::after {
      animation: none !important;
      opacity: 0 !important;
    }

    .main-shell.visualization-only > header {
      max-height: 0 !important;
      height: 0 !important;
      min-height: 0 !important;
      opacity: 0 !important;
      transform: translateY(-22px) !important;
      pointer-events: none !important;
      border-color: transparent !important;
      border-width: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
      box-shadow: none !important;
    }

    .main-shell.visualization-only > .page {
      padding: 0 !important;
      gap: 0 !important;
      height: 100% !important;
      min-height: 0 !important;
      border-radius: var(--global-surface-radius) !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    #visualizationPanel.presale-ops-shell {
      display: grid !important;
      height: 100% !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }

    .presale-ops-full {
      height: 100%;
      min-height: 0;
      display: grid;
      grid-template-rows: minmax(0, 1fr) minmax(160px, 24%);
      gap: var(--global-gap);
    }

    .presale-overall-layout {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 2.05fr) minmax(360px, 0.95fr);
      gap: var(--global-gap);
    }

    .presale-chart-column,
    .presale-metric-column,
    .presale-people-section {
      min-height: 0;
      display: grid;
      gap: var(--global-gap);
      overflow: hidden;
    }

    .presale-chart-column {
      grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr);
    }

    .presale-metric-column {
      grid-template-rows: auto minmax(0, 1fr);
    }

    .presale-people-section {
      grid-template-rows: auto minmax(0, 1fr);
    }

    .presale-ops-head {
      min-height: 30px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--global-gap);
      padding: 0 2px 6px;
      border-bottom: 1px solid rgba(151, 208, 255, 0.14);
    }

    .presale-ops-head h2,
    .presale-chart-title {
      margin: 0;
      font-size: 18px;
      line-height: 1.2;
      letter-spacing: 0.02em;
      color: #eef7ff;
      font-weight: 800;
    }

    .presale-ops-meta {
      color: #9fbfdf;
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      white-space: nowrap;
    }

    .presale-chart-block {
      min-height: 0;
      display: grid;
      grid-template-rows: auto auto minmax(0, 1fr);
      gap: var(--global-gap);
      overflow: hidden;
    }

    .presale-chart-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      color: #9fbfdf;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.2;
    }

    .presale-chart-legend span {
      display: inline-flex;
      align-items: center;
      min-height: 28px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(134, 194, 255, 0.14);
      background: linear-gradient(180deg, rgba(14, 33, 58, 0.82), rgba(10, 22, 39, 0.68));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
      letter-spacing: 0.01em;
    }

    .presale-chart-legend span::before {
      content: "";
      display: inline-block;
      width: 10px;
      height: 10px;
      margin-right: 7px;
      border-radius: 999px;
      background: var(--dot, #7f8cff);
    }

    .presale-chart-canvas {
      min-height: 0;
      position: relative;
      display: block;
      width: 100%;
      height: 100%;
      padding: 0;
      border-bottom: 0;
      background:
        linear-gradient(rgba(151, 208, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 208, 255, 0.06) 1px, transparent 1px);
      background-size: 100% 25%, 8.33% 100%;
      overflow: hidden;
    }

    .presale-axis-hitbar {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 2px;
      height: 18px;
      z-index: 6;
      pointer-events: none;
    }

    .presale-axis-hitbar.is-visible {
      pointer-events: auto;
    }

    .presale-axis-hitbtn {
      position: absolute;
      top: 0;
      height: 100%;
      background: transparent !important;
      border: 0 !important;
      box-shadow: none !important;
      cursor: pointer;
    }

    .presale-axis-hitbtn:hover {
      background: transparent !important;
    }

    .presale-axis-hitbtn:focus-visible {
      outline: none;
      background: transparent !important;
    }

    .presale-axis-hitbtn::before,
    .presale-axis-hitbtn::after {
      content: none !important;
      display: none !important;
      animation: none !important;
      opacity: 0 !important;
    }

    .presale-hour-chart {
      min-height: 100%;
      height: 100%;
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .presale-30day-chart {
      grid-template-columns: repeat(30, minmax(8px, 1fr));
      gap: 4px;
    }

    .presale-node-modal-card {
      width: min(720px, 92vw);
      max-height: 78vh;
      overflow: auto;
      padding: 18px 18px 16px;
      background:
        linear-gradient(180deg, rgba(13, 28, 49, 0.98), rgba(8, 18, 33, 0.96)),
        radial-gradient(120% 140% at 0% 0%, rgba(79, 125, 255, 0.14), transparent 48%);
    }

    #presaleBusinessDailyReportModal .auditor-modal-card {
      width: min(640px, 94vw);
    }

    #presaleBusinessDailyReportText {
      min-height: 240px;
    }

    #presaleBusinessDailyReportModal .auditor-modal-actions {
      margin-top: 12px;
    }

    .presale-node-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .presale-node-modal-head .auditor-modal-title {
      margin-bottom: 0;
    }

    .presale-node-modal-meta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(167, 203, 238, 0.18);
      background: rgba(8, 20, 35, 0.42);
      color: #b9d8f6;
      font-size: 13px;
      line-height: 1;
      font-weight: 700;
      letter-spacing: 0.02em;
      white-space: nowrap;
    }

    .presale-node-modal-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 12px;
    }

    #presaleNodeModal .auditor-modal-actions {
      margin-top: 18px;
      padding-right: 8px;
      padding-bottom: 4px;
    }

    .presale-alert-modal-card {
      width: min(500px, 92vw);
      padding: 0;
      overflow: hidden;
      border-color: rgba(255, 183, 88, 0.5);
      background: linear-gradient(155deg, rgba(39, 29, 21, 0.98), rgba(11, 21, 37, 0.98));
      box-shadow: 0 24px 72px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(255, 183, 88, 0.08) inset;
    }

    .presale-alert-modal-body {
      padding: 24px;
    }

    .presale-alert-modal-kicker {
      color: #ffc46f;
      font-family: "Oxanium", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .presale-alert-modal-title {
      margin: 8px 0 4px;
      color: #fff6e5;
      font-size: 26px;
      letter-spacing: 0;
    }

    .presale-alert-modal-city {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 22px 0 14px;
      padding: 16px;
      border: 1px solid rgba(255, 195, 113, 0.24);
      background: rgba(255, 178, 75, 0.08);
    }

    .presale-alert-modal-city strong { color: #ffcf89; font-size: 30px; line-height: 1; text-align: center; }

    .presale-alert-modal-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }

    .presale-alert-modal-meta div {
      min-width: 0;
      padding: 10px 12px;
      border: 1px solid rgba(134, 175, 218, 0.15);
      background: rgba(5, 14, 27, 0.42);
    }

    .presale-alert-modal-meta .presale-alert-modal-vehicle { grid-column: 1 / -1; }
    .presale-alert-modal-meta span { display: block; color: #809dbc; font-size: 12px; }
    .presale-alert-modal-meta strong { display: block; overflow: hidden; color: #eaf3ff; font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
    .presale-alert-modal-meta .presale-alert-modal-vehicle strong { white-space: normal; }
    #presalePendingAlertModal .auditor-modal-actions { padding: 0 24px 22px; margin: 0; }
    .presale-alert-modal-audio-status { min-height: 18px; margin: 0 auto; color: #9eb7d1; font-size: 12px; text-align: center; }

    #afterSalesPendingAlertModal .presale-alert-modal-meta {
      display: block;
    }

    #afterSalesPendingAlertModal .after-sales-alert-follow-user {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 14px 0 0;
      padding: 16px;
      border: 1px solid rgba(255, 195, 113, 0.24);
      background: rgba(255, 178, 75, 0.08);
    }

    #afterSalesPendingAlertModal .after-sales-alert-follow-user strong {
      color: #ffcf89;
      font-size: 30px;
      line-height: 1;
      text-align: center;
    }

    #afterSalesPendingAlertModal .auditor-modal-actions { padding: 0 24px 22px; margin: 0; }

    .presale-node-modal-item {
      min-width: 0;
      padding: 12px;
      border-radius: 12px;
      border: 1px solid rgba(138, 197, 255, 0.12);
      background: linear-gradient(180deg, rgba(13, 29, 52, 0.9), rgba(8, 18, 32, 0.74));
    }

    .presale-node-modal-label {
      color: #89a8ca;
      font-size: 12px;
      font-weight: 700;
      margin-bottom: 6px;
      white-space: nowrap;
    }

    .presale-node-modal-value {
      color: #f2f8ff;
      font-family: "JetBrains Mono", monospace;
      font-size: 22px;
      font-weight: 800;
      line-height: 1.1;
      white-space: nowrap;
    }

    .presale-node-modal-value .unit {
      margin-left: 4px;
      color: #8fb3d9;
      font-size: 12px;
      font-weight: 700;
    }

    @media (max-width: 920px) {
      .presale-node-modal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 620px) {
      .presale-node-modal-grid {
        grid-template-columns: 1fr;
      }
    }

    .presale-chart-slot {
      min-width: 0;
      height: 100%;
      display: grid;
      grid-template-rows: minmax(0, 1fr) auto;
      gap: 8px;
      align-items: end;
    }

    .presale-bar-stack {
      position: relative;
      height: 100%;
      display: flex;
      align-items: end;
      justify-content: center;
      gap: 8px;
    }

    .presale-bar {
      position: relative;
      width: min(34px, 44%);
      min-height: 2px;
      border-radius: 9px 9px 4px 4px;
      background: linear-gradient(180deg, rgba(144, 123, 255, 0.98), rgba(108, 86, 232, 0.9));
      opacity: 0.96;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        0 8px 16px rgba(18, 28, 66, 0.24);
    }

    .presale-bar.quote {
      background: linear-gradient(180deg, rgba(177, 219, 52, 0.98), rgba(129, 170, 27, 0.92));
    }
    .presale-bar.delivery { background: #35c9c7; }
    .presale-bar.inventory { background: #4f7dff; }

    .presale-bar-value {
      position: absolute;
      inset: 8px 4px auto 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f4f8ff;
      font-family: "JetBrains Mono", monospace;
      font-size: 13px;
      font-weight: 800;
      line-height: 1;
      text-align: center;
      text-shadow: 0 0 10px rgba(7, 19, 39, 0.38);
      white-space: nowrap;
      pointer-events: none;
    }

    .presale-line-dot {
      width: 7px;
      height: 7px;
      margin-bottom: var(--dot-y, 0%);
      border-radius: 999px;
      background: #27d3d1;
      box-shadow: 0 0 10px rgba(39, 211, 209, 0.5);
    }

    .presale-line-path {
      position: absolute;
      inset: 18px 18px 26px 18px;
      pointer-events: none;
      overflow: visible;
    }

    .presale-line-path polyline {
      fill: none;
      stroke: #35c9c7;
      stroke-width: 1;
      stroke-linecap: round;
      stroke-linejoin: round;
      filter: none;
    }

    .presale-line-node {
      position: absolute;
      left: var(--node-x, 50%);
      bottom: var(--node-y, 0%);
      width: 5px;
      height: 5px;
      border-radius: 999px;
      background: #35c9c7;
      border: 0;
      transform: translate(-50%, 50%);
      box-shadow: none;
    }

    .presale-line-value {
      position: absolute;
      left: var(--node-x, 50%);
      bottom: calc(var(--node-y, 0%) + 18px);
      transform: translateX(-50%);
      color: #7ff0e1;
      font-family: "JetBrains Mono", monospace;
      font-size: 13px;
      font-weight: 800;
      line-height: 1;
      white-space: nowrap;
      text-shadow: 0 0 10px rgba(18, 52, 63, 0.45);
      pointer-events: none;
    }

    .presale-chart-label {
      color: #89a8ca;
      font-family: "JetBrains Mono", monospace;
      font-size: 11px;
      font-weight: 700;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .presale-side-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: minmax(78px, 1fr);
      gap: 10px 14px;
      overflow: hidden;
    }

    .presale-kpi-card {
      min-width: 0;
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: 7px;
      padding: 8px 0 8px 14px;
      border-left: 1px solid rgba(151, 208, 255, 0.18);
      background: transparent;
      overflow: hidden;
    }

    .presale-kpi-label {
      color: #b7d4f2;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.2;
    }

    .presale-kpi-value {
      color: #f1f8ff;
      font-size: 32px;
      font-weight: 800;
      line-height: 1;
      align-self: end;
    }

    .presale-kpi-value .presale-kpi-value-unit {
      font-size: 14px;
      font-weight: 700;
      color: #bad7f3;
      margin-left: 5px;
    }

    .presale-kpi-hint {
      display: none;
    }

    .presale-table-wrap {
      min-height: 0;
      height: 100%;
      overflow: auto;
      border: 0;
      border-radius: 0;
      background: transparent;
    }

    .presale-table {
      width: 100%;
      min-width: 1120px;
      border-collapse: collapse;
      color: #eaf6ff;
      font-size: 13px;
    }

    .presale-table th,
    .presale-table td {
      padding: 9px 12px;
      border-bottom: 1px solid rgba(151, 208, 255, 0.12);
      text-align: left;
      white-space: nowrap;
    }

    .presale-table th {
      position: sticky;
      top: 0;
      z-index: 2;
      color: #eaf6ff;
      background: rgba(17, 36, 62, 0.96);
      font-weight: 800;
    }

    .presale-table td {
      color: #cfe2f7;
    }

    .presale-table th:first-child,
    .presale-table td:first-child {
      position: sticky;
      left: 0;
      z-index: 3;
      min-width: 108px;
      color: #eef7ff;
      background: rgba(12, 29, 53, 0.98);
      font-weight: 800;
    }

    .presale-table tbody tr:hover td {
      background-color: rgba(99, 164, 255, 0.08);
    }

    body.screen-visualization {
      overflow: hidden;
    }

    html {
      background: #04070f;
    }

    body.screen-visualization .app-shell {
      position: fixed !important;
      inset: clamp(8px, 0.6vw, 12px) !important;
      width: auto !important;
      grid-template-columns: minmax(0, 1fr) !important;
      height: auto !important;
      min-height: 0 !important;
      padding: 0 !important;
      gap: 0 !important;
      border-radius: var(--global-surface-radius) !important;
      overflow: hidden !important;
      clip-path: inset(0 round var(--global-surface-radius)) !important;
    }

    body.screen-visualization .sidebar {
      display: none !important;
    }

    body.screen-visualization .main-shell {
      width: 100% !important;
      height: 100% !important;
      min-height: 0 !important;
      grid-template-rows: minmax(0, 1fr) !important;
      border-radius: var(--global-surface-radius) !important;
      overflow: hidden !important;
      clip-path: inset(0 round var(--global-surface-radius)) !important;
      border: 1px solid rgba(151, 208, 255, 0.18) !important;
      background: linear-gradient(180deg, rgba(9, 19, 35, 0.92), rgba(8, 16, 30, 0.9)) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 28px rgba(2, 10, 24, 0.22) !important;
    }

    body.screen-visualization .main-shell > .page {
      height: 100% !important;
      min-height: 0 !important;
      padding: 0 !important;
      gap: 0 !important;
    }

    body.screen-visualization #visualizationPanel.presale-ops-shell {
      display: grid !important;
      height: 100% !important;
      min-height: 0 !important;
      padding: clamp(4px, 0.32vw, 6px) !important;
      border: 1px solid rgba(151, 208, 255, 0.18) !important;
      border-radius: var(--global-surface-radius) !important;
      background: linear-gradient(180deg, rgba(10, 22, 40, 0.72), rgba(7, 16, 30, 0.62)) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 10px 22px rgba(2, 10, 24, 0.18) !important;
      overflow: hidden !important;
      clip-path: inset(0 round var(--global-surface-radius)) !important;
    }

    body.screen-visualization .presale-ops-full {
      height: 100% !important;
      min-height: 0 !important;
      padding: clamp(8px, 0.62vw, 12px) !important;
    }

    body.screen-visualization .presale-ops-page {
      --presale-business-gap: clamp(12px, 0.9vw, 16px);
      --presale-business-pad: clamp(16px, 1.1vw, 22px);
      --presale-business-scrollbar-nudge: clamp(6px, 0.45vw, 10px);
    }

    body.screen-visualization .presale-screen-top {
      margin-left: 0 !important;
      margin-right: 0 !important;
    }

    .presale-ops-full {
      grid-template-rows: auto minmax(0, 1fr) minmax(152px, 20%) !important;
      gap: clamp(8px, 0.7vw, 12px) !important;
    }

    .presale-ops-full.show-overall {
      grid-template-rows: auto minmax(0, 1fr) !important;
    }

    .presale-ops-full.show-person {
      grid-template-rows: auto minmax(0, 1fr) !important;
    }

    .presale-screen-top {
      min-height: 42px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      border-bottom: 1px solid rgba(151, 208, 255, 0.12);
      padding-bottom: 6px;
    }

    .presale-screen-title {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .presale-screen-title span {
      color: #9dbbdd;
      font-family: "JetBrains Mono", monospace;
      font-size: clamp(11px, 0.68vw, 13px);
      white-space: nowrap;
    }

    .presale-screen-status {
      display: flex;
      align-items: center;
      gap: 10px;
      color: #bcd8f5;
      font-family: "JetBrains Mono", monospace;
      font-size: clamp(11px, 0.68vw, 13px);
      white-space: nowrap;
    }

    .presale-exit-screen-btn {
      appearance: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 28px;
      padding: 5px 11px;
      border: 1px solid rgba(151, 208, 255, 0.28);
      border-radius: 999px;
      color: #d8ecff;
      background: rgba(12, 28, 50, 0.72);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
      font-size: clamp(11px, 0.66vw, 13px);
      font-weight: 800;
      letter-spacing: 0.02em;
      cursor: pointer;
      transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    }

    .presale-exit-screen-btn:hover {
      border-color: rgba(126, 230, 214, 0.5);
      background: rgba(17, 45, 73, 0.86);
      transform: translateY(-1px);
    }

    #broadcastOwnerBadge[hidden],
    #setBroadcastOwnerBtn[hidden] {
      display: none !important;
    }

    .presale-data-state {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      color: #7ee6d6;
      font-weight: 800;
    }

    .presale-data-state::before {
      content: "";
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: #35d8c8;
      box-shadow: 0 0 14px rgba(53, 216, 200, 0.65);
    }

    .presale-data-state.is-error {
      color: #ffb3bd;
    }

    .presale-data-state.is-error::before {
      background: #ff697d;
      box-shadow: 0 0 14px rgba(255, 105, 125, 0.65);
    }

    .presale-overall-layout {
      grid-template-columns: minmax(0, 2fr) minmax(420px, 0.9fr) !important;
      gap: clamp(12px, 1vw, 18px) !important;
    }

    .presale-chart-column {
      grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
      gap: clamp(10px, 0.85vw, 16px) !important;
    }

    .presale-chart-block,
    .presale-metric-column,
    .presale-people-section {
      padding: 0;
      background: transparent;
      border: 0;
      box-shadow: none;
    }

    .presale-chart-block {
      grid-template-rows: auto auto minmax(0, 1fr) !important;
    }

    .presale-ops-head {
      border-bottom-color: rgba(151, 208, 255, 0.12);
    }

    .presale-ops-head h2,
    .presale-chart-title {
      font-size: clamp(17px, 1.1vw, 23px) !important;
    }

    .presale-chart-canvas {
      border-bottom: 0 !important;
      border-left: 1px solid rgba(151, 208, 255, 0.12);
      background:
        linear-gradient(rgba(151, 208, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 208, 255, 0.055) 1px, transparent 1px);
      background-size: 100% 25%, 8.33% 100%;
    }

    .presale-side-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      grid-auto-rows: minmax(78px, 1fr);
      align-content: stretch;
    }

    .presale-kpi-card {
      position: relative;
      padding: 9px 0 9px 16px !important;
      border-left-color: rgba(151, 208, 255, 0.2);
    }

    .presale-kpi-card[data-group="flow"] { border-left-color: rgba(130, 114, 255, 0.58); }
    .presale-kpi-card[data-group="risk"] { border-left-color: rgba(255, 157, 61, 0.62); }
    .presale-kpi-card[data-group="result"] { border-left-color: rgba(53, 201, 199, 0.58); }

    .presale-kpi-label {
      font-size: clamp(13px, 0.82vw, 16px);
    }

    .presale-kpi-value {
      font-size: clamp(30px, 2vw, 46px);
    }

    .presale-table {
      font-size: clamp(12px, 0.72vw, 15px);
    }

    .presale-table th,
    .presale-table td {
      padding: clamp(8px, 0.58vw, 12px) 12px;
    }

    /* 可视化页直接使用外层主容器，不再额外显示一层内卡片。 */
    #visualizationPanel.presale-ops-shell,
    body.screen-visualization #visualizationPanel.presale-ops-shell {
      display: grid !important;
      height: 100% !important;
      min-height: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      border: 0 !important;
      border-radius: var(--global-surface-radius) !important;
      background: transparent !important;
      box-shadow: none !important;
      clip-path: inset(0 round var(--global-surface-radius)) !important;
    }

    /* 售前整备作战指挥舱：一屏按“指标-流转-风险-人员”组织。 */
    .presale-ops-full {
      position: relative;
      padding: clamp(8px, 0.72vw, 14px);
      grid-template-rows:
        auto
        minmax(84px, 12%)
        minmax(0, 46%)
        minmax(210px, 32%) !important;
      gap: clamp(8px, 0.72vw, 14px) !important;
      background:
        radial-gradient(70% 56% at 50% 18%, rgba(60, 133, 214, 0.1), transparent 68%),
        radial-gradient(42% 48% at 86% 36%, rgba(39, 211, 209, 0.07), transparent 68%);
    }

    .presale-screen-top {
      padding: 0 10px 8px !important;
      border: 1px solid rgba(151, 208, 255, 0.16);
      border-radius: 14px;
      background: linear-gradient(90deg, rgba(12, 27, 48, 0.58), rgba(9, 19, 35, 0.26));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .presale-command-strip {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(9, minmax(0, 1fr));
      gap: clamp(6px, 0.55vw, 10px);
      align-items: stretch;
      overflow: hidden;
    }

    .presale-command-main {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.78fr) minmax(330px, 0.82fr);
      gap: clamp(10px, 0.78vw, 14px);
      overflow: hidden;
    }

    .presale-bottom-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
      gap: clamp(10px, 0.78vw, 14px);
      overflow: hidden;
    }

    .presale-chart-block,
    .presale-flow-panel,
    .presale-risk-panel,
    .presale-people-section {
      position: relative;
      min-height: 0;
      display: grid;
      gap: 6px;
      overflow: hidden;
      padding: clamp(7px, 0.54vw, 10px);
      border: 1px solid rgba(151, 208, 255, 0.1);
      border-radius: 16px;
      background:
        linear-gradient(150deg, rgba(8, 21, 40, 0.46), rgba(6, 15, 29, 0.18)),
        linear-gradient(90deg, rgba(151, 208, 255, 0.06), transparent 34%);
    }

    .presale-chart-block,
    .presale-people-section {
      grid-template-rows: auto auto minmax(0, 1fr) !important;
    }

    .presale-flow-panel,
    .presale-risk-panel {
      grid-template-rows: auto minmax(0, 1fr);
    }

    .presale-ops-head {
      min-height: 24px;
      padding: 0 0 4px !important;
      border-bottom: 1px solid rgba(151, 208, 255, 0.1);
    }

    .presale-ops-head h2,
    .presale-chart-title {
      font-size: clamp(15px, 0.96vw, 20px) !important;
    }

    .presale-kpi-card {
      min-width: 0;
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      gap: 4px;
      padding: clamp(7px, 0.52vw, 10px) clamp(7px, 0.58vw, 11px) !important;
      border: 1px solid rgba(151, 208, 255, 0.1);
      border-left: 3px solid rgba(151, 208, 255, 0.28);
      border-radius: 15px;
      background:
        linear-gradient(160deg, rgba(13, 31, 56, 0.62), rgba(7, 17, 33, 0.34)),
        radial-gradient(90% 120% at 0% 0%, rgba(128, 198, 255, 0.1), transparent 62%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .presale-kpi-card[data-group="flow"] { border-left-color: rgba(130, 114, 255, 0.72); }
    .presale-kpi-card[data-group="risk"] { border-left-color: rgba(255, 157, 61, 0.72); }
    .presale-kpi-card[data-group="result"] { border-left-color: rgba(53, 201, 199, 0.68); }

    .presale-kpi-label {
      color: #a9c9eb;
      font-size: clamp(11px, 0.64vw, 13px) !important;
      font-weight: 800;
    }

    .presale-kpi-value {
      align-self: end;
      color: #f3f9ff;
      font-size: clamp(21px, 1.38vw, 32px) !important;
      line-height: 0.98;
      letter-spacing: 0.01em;
      text-shadow: 0 0 18px rgba(127, 193, 255, 0.16);
    }

    .presale-kpi-hint {
      display: block;
      color: #7899ba;
      font-size: clamp(10px, 0.58vw, 12px);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .presale-chart-canvas {
      position: relative;
      min-height: 0;
      padding: 14px 8px 6px;
      border: 0 !important;
      border-left: 1px solid rgba(151, 208, 255, 0.1);
      background:
        linear-gradient(rgba(151, 208, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 208, 255, 0.055) 1px, transparent 1px);
      background-size: 100% 25%, 8.33% 100%;
    }

    .presale-chart-canvas.is-empty::after {
      content: "";
      position: absolute;
      left: 50%;
      top: 45%;
      transform: translate(-50%, -50%);
      color: rgba(190, 217, 246, 0.34);
      font-size: clamp(16px, 1vw, 22px);
      font-weight: 800;
      letter-spacing: 0.08em;
      pointer-events: none;
    }

    .presale-flow-rail {
      min-height: 0;
      display: grid;
      grid-template-rows: repeat(4, minmax(0, 1fr));
      gap: 6px;
      align-content: stretch;
    }

    .presale-flow-node {
      position: relative;
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(84px, 0.7fr) minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
      padding: 6px 9px;
      border-radius: 14px;
      border: 1px solid rgba(151, 208, 255, 0.11);
      background: linear-gradient(90deg, rgba(17, 39, 68, 0.56), rgba(8, 18, 34, 0.28));
    }

    .presale-flow-node:not(:last-child)::after {
      content: "";
      position: absolute;
      left: 31px;
      bottom: -9px;
      width: 2px;
      height: 10px;
      background: linear-gradient(180deg, rgba(126, 230, 214, 0.6), transparent);
    }

    .presale-flow-name,
    .presale-risk-name {
      color: #b9d7f4;
      font-size: clamp(11px, 0.68vw, 14px);
      font-weight: 800;
    }

    .presale-flow-value,
    .presale-risk-value {
      color: #f1f8ff;
      font-size: clamp(18px, 1.24vw, 28px);
      font-weight: 900;
      line-height: 1;
    }

    .presale-flow-unit,
    .presale-risk-unit {
      color: #94b5d8;
      font-size: clamp(10px, 0.58vw, 12px);
      font-weight: 800;
    }

    .presale-flow-track {
      height: 6px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(151, 208, 255, 0.1);
    }

    .presale-flow-fill {
      display: block;
      width: var(--fill, 0%);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, #8272ff, #35c9c7);
      box-shadow: 0 0 12px rgba(53, 201, 199, 0.34);
    }

    .presale-risk-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: minmax(0, 1fr);
      gap: 6px;
    }

    .presale-risk-item {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr) auto;
      gap: 4px;
      padding: 7px 9px;
      border-radius: 14px;
      border: 1px solid rgba(151, 208, 255, 0.1);
      border-left: 3px solid rgba(255, 157, 61, 0.72);
      background: linear-gradient(160deg, rgba(23, 36, 54, 0.44), rgba(7, 17, 32, 0.24));
    }

    .presale-risk-item[data-level="high"] {
      border-left-color: rgba(255, 105, 125, 0.82);
      background: linear-gradient(160deg, rgba(70, 26, 36, 0.28), rgba(7, 17, 32, 0.22));
    }

    .presale-risk-item[data-level="steady"] {
      border-left-color: rgba(53, 201, 199, 0.72);
    }

    .presale-risk-meta {
      color: #7596b8;
      font-size: clamp(10px, 0.58vw, 12px);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .presale-table-wrap {
      border: 1px solid rgba(151, 208, 255, 0.08);
      border-radius: 14px;
      background: rgba(5, 14, 27, 0.2);
    }

    .presale-table {
      min-width: 920px;
      font-size: clamp(10px, 0.62vw, 13px) !important;
    }

    .presale-table th,
    .presale-table td {
      padding: clamp(6px, 0.42vw, 8px) 9px !important;
    }

    .presale-table td.presale-person-name {
      font-size: clamp(12px, 0.72vw, 14px);
    }

    .presale-cell-value {
      display: inline-flex;
      align-items: baseline;
      gap: 4px;
      color: #e8f4ff;
      font-weight: 800;
    }

    .presale-cell-value small {
      color: #82a2c4;
      font-size: 0.78em;
    }

    .presale-cell-meter {
      display: block;
      width: min(86px, 100%);
      height: 3px;
      margin-top: 5px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(151, 208, 255, 0.08);
    }

    .presale-cell-meter i {
      display: block;
      width: var(--fill, 0%);
      height: 100%;
      border-radius: inherit;
      background: linear-gradient(90deg, rgba(130, 114, 255, 0.82), rgba(53, 201, 199, 0.82));
    }

    @media (max-width: 1360px) {
      .presale-command-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .presale-command-main,
      .presale-bottom-grid {
        grid-template-columns: 1fr;
      }
    }

    /* 两个一级分区：整体运营看板 + 个人运营看板。 */
    .presale-ops-full {
      grid-template-rows: auto minmax(0, 0.98fr) minmax(500px, 1.02fr) !important;
    }

    .presale-board {
      min-height: 0;
      display: grid;
      gap: clamp(6px, 0.52vw, 10px);
      overflow: hidden;
      padding: clamp(7px, 0.58vw, 11px);
      border: 1px solid rgba(151, 208, 255, 0.15);
      border-radius: 18px;
      background:
        linear-gradient(150deg, rgba(9, 22, 41, 0.56), rgba(5, 13, 26, 0.2)),
        radial-gradient(88% 96% at 0% 0%, rgba(128, 198, 255, 0.08), transparent 66%);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .presale-overall-board {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
      grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
      align-items: start;
      align-content: stretch;
      gap: clamp(14px, 1vw, 18px);
      overflow: visible;
    }

    .presale-overall-board.is-active {
      min-height: 100%;
      height: 100%;
      align-self: stretch;
    }

    .presale-person-board {
      grid-template-rows: auto minmax(0, 1fr);
      padding-top: 0;
    }

    .presale-board-head {
      min-height: 28px;
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 5px;
      border-bottom: 1px solid rgba(151, 208, 255, 0.12);
    }

    .presale-board-head div {
      min-width: 0;
      display: flex;
      align-items: baseline;
      gap: 10px;
    }

    .presale-board-head span {
      color: #55d8d3;
      font-family: "JetBrains Mono", monospace;
      font-size: clamp(10px, 0.6vw, 12px);
      font-weight: 800;
      letter-spacing: 0.08em;
      white-space: nowrap;
    }

    .presale-board-head h2 {
      margin: 0;
      color: #f1f8ff;
      font-size: clamp(17px, 1.06vw, 22px);
      line-height: 1;
      letter-spacing: 0.01em;
    }

    .presale-board-head small {
      color: #89a8ca;
      font-family: "JetBrains Mono", monospace;
      font-size: clamp(10px, 0.62vw, 12px);
      white-space: nowrap;
    }

    .presale-command-strip {
      grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
    }

    .presale-overall-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      grid-template-rows: minmax(0, 1fr);
      gap: clamp(6px, 0.52vw, 10px);
      overflow: hidden;
    }

    .presale-person-board .presale-table-wrap {
      min-height: 0;
    }

    body.screen-visualization .app-shell {
      height: auto !important;
      min-height: 0 !important;
      max-height: none !important;
    }

    body.screen-visualization .main-shell {
      height: 100% !important;
      min-height: 0 !important;
      max-height: none !important;
    }

    /* 顶部智慧大屏标题卡：压住全屏的视觉中轴，但不抢两个业务看板。 */
    .presale-screen-top {
      position: relative !important;
      min-height: clamp(42px, 3.1vw, 54px) !important;
      overflow: hidden;
      padding: 8px clamp(7px, 0.58vw, 11px) !important;
      border: 1px solid rgba(164, 218, 255, 0.22) !important;
      border-radius: 18px !important;
      background:
        linear-gradient(90deg, rgba(18, 42, 72, 0.72), rgba(7, 18, 35, 0.36) 46%, rgba(12, 29, 53, 0.62)),
        radial-gradient(74% 120% at 18% -40%, rgba(108, 188, 255, 0.18), transparent 62%);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(98, 178, 255, 0.08),
        0 10px 26px rgba(2, 10, 24, 0.22);
    }

    .presale-screen-top::before {
      content: "";
      position: absolute;
      left: clamp(7px, 0.58vw, 11px);
      right: clamp(7px, 0.58vw, 11px);
      top: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(81, 225, 216, 0.9), rgba(121, 174, 255, 0.74), transparent);
      opacity: 0.76;
      pointer-events: none;
    }

    .presale-screen-top::after {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,0.055) 42%, transparent 47% 100%),
        repeating-linear-gradient(90deg, rgba(151,208,255,0.035) 0 1px, transparent 1px 92px);
      opacity: 0.7;
      pointer-events: none;
    }

    .presale-screen-title,
    .presale-screen-status {
      position: relative;
      z-index: 1;
    }

    .presale-screen-title {
      display: grid !important;
      grid-template-columns: minmax(0, max-content);
      align-items: center !important;
      gap: 4px !important;
      margin-left: 18px;
    }

    .presale-board-switch {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
    }

    .presale-board-switch-btn {
      appearance: none;
      border: 0;
      min-height: 30px;
      padding: 0 14px;
      border-radius: 999px;
      background: transparent;
      color: #8fb5dd;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.04em;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      transition: color 160ms ease, background 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
    }


    .presale-board-switch-btn.is-active {
      color: #eff8ff;
      background: linear-gradient(180deg, rgba(41, 103, 194, 0.72), rgba(17, 48, 92, 0.72));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 8px 14px rgba(6, 18, 38, 0.16);
    }

    .presale-board-switch[aria-busy="true"] {
      opacity: 0.88;
    }

    .presale-board-switch-btn:disabled {
      cursor: wait;
      opacity: 0.78;
    }

    .presale-board-switch-btn.is-loading::after {
      width: 11px;
      height: 11px;
      box-sizing: border-box;
      border: 2px solid rgba(239, 248, 255, 0.28);
      border-top-color: #eff8ff;
      border-radius: 50%;
      content: '';
      animation: spinner-rotate 760ms linear infinite;
      flex: 0 0 auto;
    }

    #presaleOpsPanel .presale-business-overview.is-view-loading,
    #presaleOpsPanel .presale-business-focus-grid.is-view-loading {
      position: relative;
      pointer-events: none;
    }

    #presaleOpsPanel .presale-business-overview.is-view-loading::after,
    #presaleOpsPanel .presale-business-focus-grid.is-view-loading::after {
      position: absolute;
      inset: 0;
      z-index: 5;
      display: grid;
      place-items: center;
      padding: 18px;
      border-radius: inherit;
      background: rgba(6, 14, 28, 0.42);
      backdrop-filter: blur(1.5px);
      color: #e7f3ff;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-align: center;
      content: attr(data-loading-text);
      box-shadow: inset 0 0 0 1px rgba(143, 196, 255, 0.12);
    }


    .presale-board.is-hidden {
      display: none !important;
    }

    .presale-screen-title h1 {
      margin: 0;
      font-size: clamp(22px, 1.38vw, 30px) !important;
      font-weight: 800;
      letter-spacing: 0.08em !important;
      color: #f6fbff !important;
      text-shadow:
        0 0 18px rgba(116, 193, 255, 0.28),
        0 2px 0 rgba(0, 0, 0, 0.24);
    }

    .presale-screen-title span {
      width: fit-content;
      display: inline-flex;
      align-items: center;
      min-height: 22px;
      padding: 3px 9px;
      border: 1px solid rgba(151, 208, 255, 0.16);
      border-radius: 999px;
      color: #a9c9eb !important;
      background: rgba(7, 18, 34, 0.42);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
      font-size: clamp(10px, 0.62vw, 12px);
    }

    .presale-screen-status {
      padding: 6px 7px 6px 10px;
      border: 1px solid rgba(151, 208, 255, 0.14);
      border-radius: 999px;
      background: rgba(5, 16, 31, 0.52);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
      transform: translateY(2px);
    }

    #presaleOpsUpdatedAt {
      color: #c2dcf6;
    }

    /* Command-center final art direction */
    body.screen-visualization #visualizationPanel.presale-ops-shell {
      background:
        radial-gradient(120% 120% at 0% 0%, rgba(41, 126, 255, 0.18), transparent 42%),
        radial-gradient(90% 90% at 100% 0%, rgba(30, 221, 201, 0.08), transparent 44%),
        linear-gradient(180deg, rgba(9, 19, 35, 0.84), rgba(5, 12, 24, 0.74)) !important;
      border-color: rgba(123, 191, 255, 0.22) !important;
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 40px rgba(1, 7, 18, 0.3) !important;
    }

    body.screen-visualization .presale-ops-full {
      padding: clamp(10px, 0.78vw, 14px) !important;
      gap: clamp(10px, 0.8vw, 14px) !important;
      background:
        radial-gradient(72% 56% at 50% 0%, rgba(57, 118, 255, 0.1), transparent 62%),
        linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0));
    }

    /* 可视化页减层：正常查看时只保留主壳 + 两个业务板块，不让中间容器重复包边。 */
    body:not(.screen-visualization) #visualizationPanel.presale-ops-shell {
      padding: 0 !important;
      border: 0 !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      background: transparent !important;
      clip-path: none !important;
      overflow: visible !important;
    }

    body:not(.screen-visualization) .presale-ops-full {
      padding: var(--global-gap) !important;
      gap: var(--global-gap) !important;
      background: transparent !important;
      border: 0 !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      overflow: visible !important;
    }

    body:not(.screen-visualization) .presale-screen-top {
      border: 1px solid rgba(108, 183, 255, 0.2) !important;
      border-radius: var(--global-surface-radius) !important;
      background:
        linear-gradient(90deg, rgba(14, 35, 63, 0.9), rgba(10, 24, 44, 0.72) 48%, rgba(9, 26, 48, 0.84)) !important;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 8px 18px rgba(3, 10, 24, 0.16) !important;
      padding: var(--global-card-pad) !important;
      margin: 0 !important;
    }

    body:not(.screen-visualization) .presale-board {
      border-radius: var(--global-surface-radius) !important;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(83, 152, 255, 0.04),
        0 8px 18px rgba(2, 9, 24, 0.16) !important;
    }

    .presale-screen-top {
      min-height: 56px !important;
      padding: 11px 12px !important;
      border: 1px solid rgba(108, 183, 255, 0.2) !important;
      border-radius: 20px !important;
      background:
        linear-gradient(90deg, rgba(14, 35, 63, 0.9), rgba(10, 24, 44, 0.72) 48%, rgba(9, 26, 48, 0.84)) !important;
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 0 0 1px rgba(123, 191, 255, 0.04),
        0 14px 28px rgba(2, 9, 24, 0.24) !important;
    }

    .presale-screen-top::before {
      left: 12px;
      right: 12px;
      height: 3px;
      opacity: 0.92;
    }

    .presale-screen-title span {
      min-height: 28px;
      padding: 5px 12px;
      border-color: rgba(103, 185, 255, 0.18);
      color: #d8ecff !important;
      background: linear-gradient(180deg, rgba(25, 54, 92, 0.68), rgba(12, 28, 49, 0.56));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 0 1px rgba(87, 160, 255, 0.06);
      letter-spacing: 0.02em;
      font-size: clamp(13px, 0.78vw, 15px);
      font-weight: 700;
    }

    .presale-screen-status {
      padding: 8px 10px 8px 13px;
      border-color: rgba(109, 193, 255, 0.18);
      background: linear-gradient(180deg, rgba(10, 29, 51, 0.9), rgba(7, 18, 33, 0.84));
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 0 0 1px rgba(87, 160, 255, 0.04);
      font-size: clamp(13px, 0.78vw, 15px);
    }

    .presale-data-state {
      font-size: clamp(13px, 0.78vw, 15px);
      letter-spacing: 0.01em;
    }

    #presaleOpsUpdatedAt {
      font-size: clamp(13px, 0.78vw, 15px);
      color: #d6e9fb;
    }

    .presale-board {
      padding: clamp(7px, 0.58vw, 10px);
      gap: clamp(8px, 0.66vw, 12px);
      border-color: rgba(108, 183, 255, 0.16);
      border-radius: 22px;
      background:
        linear-gradient(180deg, rgba(9, 21, 39, 0.86), rgba(7, 16, 29, 0.7)),
        radial-gradient(100% 120% at 0% 0%, rgba(64, 121, 255, 0.09), transparent 62%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        inset 0 0 0 1px rgba(83, 152, 255, 0.04),
        0 14px 30px rgba(2, 9, 24, 0.22);
    }

    .presale-board-head {
      grid-column: 1 / -1;
      min-height: 28px;
      padding-bottom: 5px;
      border-bottom-color: rgba(104, 176, 255, 0.14);
    }

    .presale-person-board .presale-board-head {
      min-height: 20px;
      padding-bottom: 4px;
    }

    .presale-board-head div {
      gap: 12px;
    }

    .presale-board-head span {
      display: inline-flex;
      align-items: center;
      min-height: 20px;
      padding: 0 8px;
      border-radius: 999px;
      color: #7df0da;
      background: rgba(15, 64, 74, 0.28);
      box-shadow: inset 0 0 0 1px rgba(63, 210, 192, 0.12);
    }

    .presale-board-head h2 {
      font-size: clamp(20px, 1.18vw, 26px);
      letter-spacing: 0.015em;
      text-shadow: 0 6px 18px rgba(52, 123, 255, 0.18);
    }

    .presale-board-head small {
      color: #8fb5dd;
      font-size: clamp(11px, 0.7vw, 13px);
      display: inline-flex;
      align-self: flex-start;
    }

    .presale-command-strip {
      grid-column: 2;
      grid-row: 1 / span 2;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows:
        72px minmax(0, 3fr)
        72px minmax(0, 2fr)
        72px minmax(0, 1fr);
      gap: clamp(12px, 0.9vw, 16px) !important;
      align-content: stretch;
      justify-content: stretch;
      width: 100%;
      min-height: 100%;
      height: 100%;
      align-self: stretch;
      min-width: 0;
    }

    .presale-kpi-group-block {
      min-width: 0;
      display: grid;
      column-gap: clamp(12px, 0.9vw, 16px);
      row-gap: clamp(18px, 1.2vw, 24px);
      align-items: stretch;
      min-height: 0;
    }

    .presale-kpi-group-block[data-group="flow"] {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(3, minmax(0, 1fr));
      grid-column: 1 / -1;
      min-height: 0;
      height: 100%;
    }

    .presale-kpi-group-block[data-group="risk"] {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(2, minmax(0, 1fr));
      grid-column: 1 / -1;
      min-height: 0;
      height: 100%;
    }

    .presale-kpi-group-block[data-group="result"] {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(1, minmax(0, 1fr));
      grid-column: 1 / -1;
      min-height: 0;
      height: 100%;
    }

    .presale-kpi-group-title {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 72px;
      height: 72px;
      padding: 0 10px;
      font-size: 24px;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: #dcecff;
      border-radius: 14px;
      border: 1px solid rgba(101, 173, 255, 0.12);
      background:
        linear-gradient(180deg, rgba(13, 30, 54, 0.88), rgba(8, 18, 33, 0.72)),
        radial-gradient(120% 150% at 0% 0%, rgba(69, 129, 255, 0.08), transparent 55%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 8px 16px rgba(3, 10, 24, 0.14);
      grid-column: 1 / -1;
      text-align: center;
    }

    .presale-kpi-group-title-content {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-width: 0;
      height: 100%;
    }

    .presale-kpi-group-title-text {
      min-width: 0;
    }

    .presale-kpi-group-title-meta {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      border: 1px solid rgba(167, 203, 238, 0.18);
      background: rgba(8, 20, 35, 0.42);
      color: #b9d8f6;
      font-size: 13px;
      line-height: 1;
      font-weight: 700;
      letter-spacing: 0.02em;
      white-space: nowrap;
      transform: translateY(3px);
    }

    .presale-kpi-group-title-meta.is-clickable {
      cursor: pointer;
      transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    }

    .presale-kpi-group-title-meta.is-clickable:hover {
      border-color: rgba(191, 223, 255, 0.3);
      background: rgba(10, 26, 46, 0.58);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 8px 16px rgba(3, 10, 24, 0.14);
    }

    .presale-kpi-group-title[data-group="flow"] {
      color: #b9b2ff;
      grid-column: 1 / -1;
    }

    .presale-kpi-group-title[data-group="risk"] {
      color: #ffc482;
      grid-column: 1 / -1;
    }

    .presale-kpi-group-title[data-group="result"] {
      color: #82f2dd;
      grid-column: 1 / -1;
    }

    .presale-kpi-card {
      position: relative;
      min-height: 0;
      height: 100%;
      min-width: 0;
      padding: 8px 8px 8px 8px !important;
      border: 1px solid rgba(101, 173, 255, 0.12);
      border-left-width: 1px;
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(13, 30, 54, 0.88), rgba(8, 18, 33, 0.72)),
        radial-gradient(120% 150% at 0% 0%, rgba(69, 129, 255, 0.1), transparent 55%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 18px rgba(3, 10, 24, 0.18);
      overflow: hidden;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto minmax(0, 1fr) auto;
      align-items: stretch;
    }

    .presale-kpi-group-block[data-group="flow"] .presale-kpi-card {
      min-height: 0;
      padding: 12px 12px 10px 12px !important;
    }

    .presale-kpi-group-block[data-group="risk"] .presale-kpi-card,
    .presale-kpi-group-block[data-group="result"] .presale-kpi-card {
      min-height: 0;
    }

    .presale-kpi-card::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(105, 176, 255, 0.75), transparent);
      opacity: 0.9;
    }

    .presale-kpi-card[data-group="flow"]::before {
      background: linear-gradient(90deg, transparent, rgba(129, 114, 255, 0.82), transparent);
    }

    .presale-kpi-card[data-group="risk"]::before {
      background: linear-gradient(90deg, transparent, rgba(255, 172, 71, 0.88), transparent);
    }

    .presale-kpi-card[data-group="result"]::before {
      background: linear-gradient(90deg, transparent, rgba(43, 215, 197, 0.88), transparent);
    }

    .presale-kpi-label {
      position: relative;
      grid-column: 1;
      grid-row: 1;
      left: 8px;
      top: 6px;
      z-index: 2;
      color: #d4e8ff;
      font-size: clamp(14px, 0.78vw, 16px) !important;
      letter-spacing: 0.02em;
      line-height: 1.15;
      text-align: left;
      white-space: nowrap;
      display: block;
      width: calc(100% - 8px);
      height: auto;
      transform: none;
    }

    .presale-kpi-group-block[data-group="flow"] .presale-kpi-label {
      left: 2px;
      top: 1px;
      width: calc(100% - 2px);
      font-size: clamp(14px, 0.8vw, 16px) !important;
      line-height: 1.05;
    }

    .presale-kpi-value {
      position: absolute;
      left: 50%;
      top: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
      transform: translate(-50%, -50%);
      font-size: clamp(28px, 1.78vw, 40px) !important;
      line-height: 1;
      text-align: center;
      white-space: nowrap;
      text-shadow: 0 0 22px rgba(103, 177, 255, 0.18);
      padding-left: 0;
    }

    .presale-kpi-group-block[data-group="flow"] .presale-kpi-value {
      font-size: clamp(30px, 1.96vw, 42px) !important;
    }

    .presale-kpi-group-block[data-group="flow"] .presale-kpi-hint {
      font-size: clamp(9px, 0.52vw, 11px);
    }

    .presale-kpi-value-main {
      display: inline-block;
      font-size: inherit;
      font-weight: inherit;
      line-height: 1;
    }

    .presale-kpi-value-unit {
      position: relative;
      left: 0;
      top: 0;
      transform: none;
      color: #bad7f3;
      font-size: 0.48em;
      font-weight: 700;
      line-height: 1;
      text-shadow: none;
      pointer-events: none;
      margin-left: 6px;
      align-self: center;
    }

    .presale-kpi-hint {
      position: relative;
      grid-column: 2;
      grid-row: 2;
      right: 0;
      bottom: 0;
      z-index: 2;
      display: block;
      color: #7397bd;
      font-size: clamp(11px, 0.64vw, 12px);
      text-align: right;
      max-width: 100%;
      width: 100%;
      padding-right: 2px;
      align-self: end;
    }

    .presale-overall-grid {
      grid-column: 1;
      grid-row: 1 / span 2;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: minmax(0, 0.88fr) minmax(0, 1.12fr);
      gap: clamp(14px, 1vw, 18px);
      justify-content: stretch;
      width: 100%;
      align-content: stretch;
      align-self: stretch;
      min-height: 0;
      overflow: hidden;
    }

    .presale-today-panel {
      grid-row: 1;
      grid-column: 1;
      grid-template-rows: auto auto minmax(0, 1fr) !important;
      min-height: 0;
      align-self: stretch;
    }

    .presale-trend-panel {
      grid-row: 2;
      grid-column: 1;
    }

    .presale-chart-block {
      min-height: 0;
      height: 100%;
      width: 100%;
      padding: clamp(10px, 0.8vw, 14px);
      border-color: rgba(103, 173, 255, 0.12);
      border-radius: 20px;
      background:
        linear-gradient(180deg, rgba(9, 23, 41, 0.88), rgba(6, 15, 28, 0.74)),
        radial-gradient(100% 100% at 100% 0%, rgba(38, 212, 198, 0.05), transparent 42%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 22px rgba(2, 8, 20, 0.16);
    }

    .presale-ops-head {
      min-height: 30px;
      padding-bottom: 6px !important;
      border-bottom-color: rgba(103, 173, 255, 0.14);
    }

    .presale-ops-head h2,
    .presale-chart-title {
      font-size: clamp(18px, 1.02vw, 22px) !important;
      letter-spacing: 0.01em;
      color: #edf7ff;
    }

    .presale-ops-meta {
      color: #8ab2da;
      font-size: clamp(11px, 0.68vw, 13px);
    }

    .presale-chart-legend {
      gap: 12px;
      color: #91b7db;
      font-size: 12px;
    }

    .presale-chart-canvas {
      min-height: 0;
      height: 100%;
      padding: 16px 10px 8px;
      border-left-color: rgba(97, 170, 255, 0.12);
      border-radius: 14px;
      background:
        radial-gradient(140% 100% at 50% 0%, rgba(42, 92, 184, 0.12), transparent 56%),
        linear-gradient(rgba(120, 177, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 177, 255, 0.055) 1px, transparent 1px);
      background-size: auto, 100% 25%, 8.33% 100%;
    }

    .presale-chart-canvas.is-empty::after {
      color: rgba(191, 220, 248, 0.3);
      letter-spacing: 0.12em;
    }

    .presale-person-overview {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
      margin-bottom: 10px;
    }

    .presale-person-overview-card {
      position: relative;
      overflow: hidden;
      min-height: 136px;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto auto 1fr;
      gap: 10px;
      padding: 14px 16px 12px;
      border-radius: 18px;
      border: 1px solid rgba(149, 198, 240, 0.14);
      background:
        linear-gradient(165deg, rgba(23, 49, 82, 0.9), rgba(9, 20, 36, 0.84)),
        radial-gradient(120% 140% at 0% 0%, rgba(120, 196, 255, 0.18), transparent 48%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.05),
        0 14px 28px rgba(2, 8, 20, 0.16);
    }

    .presale-person-overview-card::after {
      content: "";
      position: absolute;
      inset: auto -10% 0 auto;
      width: 84px;
      height: 84px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(126, 199, 255, 0.16), transparent 70%);
      pointer-events: none;
    }

    .presale-person-overview-label {
      color: #8fb1d5;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      position: relative;
      z-index: 1;
    }

    .presale-person-overview-value {
      color: #f4fbff;
      font-size: 30px;
      font-weight: 700;
      letter-spacing: 0.02em;
      line-height: 1.08;
      position: relative;
      z-index: 1;
    }

    .presale-person-overview-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      align-self: end;
      position: relative;
      z-index: 1;
    }

    .presale-person-overview-meta-item {
      display: grid;
      gap: 3px;
      min-height: 46px;
      padding: 8px 6px;
      border-radius: 12px;
      border: 1px solid rgba(153, 204, 247, 0.12);
      background: rgba(8, 20, 35, 0.46);
      text-align: center;
    }

    .presale-person-overview-meta-label {
      color: #7fa2c5;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      line-height: 1.15;
    }

    .presale-person-overview-meta-value {
      color: #eef8ff;
      font-size: 14px;
      font-weight: 700;
      line-height: 1.25;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    .presale-person-table-shell {
      min-height: 0;
      height: 100%;
      overflow: auto;
      display: grid;
      grid-template-columns: 1fr;
      gap: 10px;
      align-content: start;
      padding: 14px 10px 10px;
      border: 1px solid rgba(166, 199, 243, 0.18);
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(11, 20, 35, 0.78), rgba(7, 13, 22, 0.9)),
        radial-gradient(circle at top, rgba(107, 172, 255, 0.08), transparent 48%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        0 10px 20px rgba(2, 8, 20, 0.14);
    }

    .presale-person-row {
      display: grid;
      grid-template-columns: 220px repeat(4, minmax(0, 1fr));
      gap: 10px;
      align-items: stretch;
      position: relative;
      z-index: 0;
    }

    .presale-person-row-name {
      display: grid;
      gap: 8px;
      min-width: 0;
      padding: 12px;
      border-radius: 16px;
      border: 1px solid rgba(149, 198, 240, 0.12);
      background: linear-gradient(180deg, rgba(15, 33, 58, 0.82), rgba(9, 20, 36, 0.74));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
      align-content: center;
    }

    .presale-person-row-top {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      justify-content: space-between;
    }

    .presale-person-row-name-text {
      color: #f2f7ff;
      font-size: 19px;
      font-weight: 800;
      letter-spacing: 0.02em;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .presale-person-row-name-sub {
      color: #89a9cb;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .presale-person-row-rank {
      flex: 0 0 auto;
      color: #86f0de;
      font-family: "JetBrains Mono", monospace;
      font-size: 12px;
      padding: 3px 8px;
      border-radius: 999px;
      background: linear-gradient(180deg, rgba(16, 66, 74, 0.56), rgba(10, 38, 42, 0.44));
      box-shadow:
        inset 0 0 0 1px rgba(63, 210, 192, 0.16),
        0 0 12px rgba(54, 222, 198, 0.08);
      white-space: nowrap;
    }

    .presale-person-row-actions {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      justify-content: flex-start;
      padding-top: 2px;
    }

    .presale-person-group {
      display: grid;
      gap: 7px;
      min-height: 0;
      padding: 10px 12px;
      border-radius: 16px;
      border: 1px solid rgba(149, 198, 240, 0.12);
      background: linear-gradient(180deg, rgba(14, 30, 52, 0.86), rgba(10, 22, 39, 0.9));
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    }

    .presale-person-group-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
    }

    .presale-person-group-title {
      color: #eef8ff;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.03em;
    }

    .presale-person-group-tag {
      color: #7fa2c5;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

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

    .presale-person-metric-card {
      display: grid;
      gap: 4px;
      min-height: 56px;
      padding: 8px 10px;
      border-radius: 14px;
      border: 1px solid rgba(149, 198, 240, 0.08);
      background: rgba(8, 20, 35, 0.42);
      position: relative;
      z-index: 0;
      transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
      transform-origin: center center;
      will-change: transform;
    }

    .presale-person-row:hover {
      z-index: 2;
    }

    .presale-person-metric-card:hover {
      z-index: 3;
      transform: translateY(-2px);
      border-color: rgba(175, 216, 255, 0.22);
      background: rgba(10, 24, 42, 0.58);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 12px 22px rgba(3, 10, 24, 0.2);
    }

    .presale-person-metric-label {
      color: #89a9cb;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.2;
    }

    .presale-person-metric-value {
      color: #f4fbff;
      font-size: 20px;
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: 0.02em;
      white-space: nowrap;
      align-self: end;
    }

    .presale-person-metric-value small {
      margin-left: 4px;
      color: rgba(162, 191, 223, 0.84);
      font-size: 11px;
      font-weight: 600;
    }

    @media (max-width: 960px) {
      .presale-person-table-shell,
      .presale-person-row,
      .presale-person-group-metrics {
        grid-template-columns: 1fr;
      }
    }

    .presale-person-actions-cell {
      width: 96px;
      text-align: center;
    }

    .presale-person-actions-wrap {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 88px;
    }

    .presale-person-empty {
      min-height: 320px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #9fb4cd;
      font-size: 15px;
      letter-spacing: 0.03em;
      text-align: center;
    }

    .presale-person-export-btn {
      appearance: none;
      border: 0;
      color: #86f0de;
      font-family: "JetBrains Mono", monospace;
      font-weight: 700;
      letter-spacing: 0;
      background: linear-gradient(180deg, rgba(16, 66, 74, 0.56), rgba(10, 38, 42, 0.44));
      border-radius: 999px;
      font-size: 13px;
      line-height: 1;
      min-height: 28px;
      padding: 0 12px;
      cursor: pointer;
      white-space: nowrap;
      box-shadow:
        inset 0 0 0 1px rgba(63, 210, 192, 0.16),
        0 0 12px rgba(54, 222, 198, 0.08);
    }

    .presale-person-export-btn:hover {
      color: #cffff6;
      filter: brightness(1.04);
      box-shadow:
        inset 0 0 0 1px rgba(63, 210, 192, 0.16),
        0 0 12px rgba(54, 222, 198, 0.08);
    }

    .presale-person-metrics {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      grid-auto-rows: minmax(0, 1fr);
      gap: 8px 12px;
      align-content: start;
    }

    .presale-person-metric {
      min-width: 0;
      display: flex;
      align-items: baseline;
      gap: 4px;
      padding: 4px 0;
      white-space: nowrap;
    }

    .presale-person-metric-label {
      color: #8fb5dd;
      font-size: 14px;
      line-height: 1.25;
      white-space: nowrap;
      overflow: visible;
      text-overflow: initial;
      flex: 0 0 auto;
    }

    .presale-person-metric-value {
      color: #eaf6ff;
      font-size: clamp(14px, 0.88vw, 17px);
      font-weight: 800;
      line-height: 1.1;
      white-space: nowrap;
      flex: 0 0 auto;
    }

    .presale-person-metric-value small {
      margin-left: 4px;
      color: #86abcf;
      font-size: 0.8em;
      font-weight: 700;
    }

    .presale-person-compare {
      min-height: 0;
      height: 100%;
      display: none;
      grid-template-rows: auto minmax(0, 1fr);
      gap: 10px;
    }

    .presale-person-compare.is-active {
      display: grid;
    }

    .presale-compare-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 10px 14px;
      color: #90b4d8;
      font-size: 11px;
    }

    .presale-compare-legend-item {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .presale-compare-legend-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      box-shadow: 0 0 10px rgba(90, 173, 255, 0.22);
    }

    .presale-compare-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      grid-auto-rows: minmax(0, 1fr);
      gap: 12px;
      overflow: auto;
      padding-right: 4px;
    }

    .presale-compare-metric-card {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(100, 173, 255, 0.12);
      border-radius: 16px;
      background:
        linear-gradient(180deg, rgba(10, 24, 43, 0.92), rgba(7, 17, 31, 0.76)),
        radial-gradient(140% 120% at 0% 0%, rgba(44, 114, 255, 0.08), transparent 60%);
      box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.03),
        0 10px 18px rgba(2, 8, 20, 0.12);
    }

    .presale-compare-metric-title {
      color: #eff8ff;
      font-size: 13px;
      font-weight: 800;
      line-height: 1.2;
    }

    .presale-compare-bars {
      min-height: 0;
      display: grid;
      gap: 8px;
      align-content: start;
    }

    .presale-compare-bar-row {
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr) auto;
      align-items: center;
      gap: 8px;
    }

    .presale-compare-bar-name {
      color: #8fb5dd;
      font-size: 11px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .presale-compare-bar-track {
      position: relative;
      height: 10px;
      border-radius: 999px;
      overflow: hidden;
      background: rgba(96, 160, 234, 0.1);
      box-shadow: inset 0 0 0 1px rgba(108, 172, 255, 0.06);
    }

    .presale-compare-bar-fill {
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: var(--fill, 0%);
      border-radius: inherit;
      background: var(--bar-color, linear-gradient(90deg, #60a8ff, #33d7c5));
      box-shadow: 0 0 12px rgba(69, 144, 255, 0.2);
    }

    .presale-compare-bar-value {
      color: #eaf6ff;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap;
    }

    @media (max-width: 1360px) {
      /* Keep left charts / right KPI columns on common laptop widths.
         Only soften density; do not restack the overall board. */
      .presale-ops-full {
        overflow: auto;
      }

      .presale-overall-board,
      .presale-person-board {
        min-height: 520px;
      }

      .presale-kpi-group-block[data-group="risk"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .presale-kpi-group-block[data-group="flow"] {
        grid-auto-rows: minmax(104px, 1fr);
      }

      .presale-person-table {
        min-width: 920px;
      }

      .presale-person-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .presale-person-name-cell {
        min-width: 152px;
        width: 152px;
      }
    }

    /* Disable button hover bounce/jump globally */
    button:hover,
    input[type="button"]:hover,
    input[type="submit"]:hover,
    input[type="reset"]:hover,
    .btn:hover,
    [role="button"]:hover {
      transform: none !important;
      animation: none !important;
    }

    button:hover::before,
    button:hover::after,
    input[type="button"]:hover::before,
    input[type="button"]:hover::after,
    input[type="submit"]:hover::before,
    input[type="submit"]:hover::after,
    input[type="reset"]:hover::before,
    input[type="reset"]:hover::after,
    .btn:hover::before,
    .btn:hover::after,
    [role="button"]:hover::before,
    [role="button"]:hover::after {
      transform: none !important;
      animation: none !important;
    }

  