    .presale-ops-full {
      isolation: isolate;
      overflow: hidden;
    }

    .presale-ops-full > :not(.auditor-modal-overlay) {
      position: relative;
      z-index: 1;
    }

    .presale-screen-top {
      backdrop-filter: blur(22px);
      animation: none !important;
    }

    .presale-screen-top::after {
      animation: none !important;
      opacity: 0;
    }

    .presale-screen-top::before {
      animation: presaleToplineRun 4.6s linear infinite;
      transform-origin: center;
    }

    .presale-screen-title {
      gap: 8px !important;
    }

    .presale-screen-title-sub {
      display: inline-flex;
      min-height: 24px;
      padding: 0 10px;
      border-radius: 999px;
      border: 1px solid rgba(124, 196, 255, 0.18);
      background: linear-gradient(180deg, rgba(16, 42, 72, 0.78), rgba(10, 26, 45, 0.62));
      color: #cfe8ff;
      font-size: clamp(11px, 0.66vw, 13px);
      letter-spacing: 0.16em;
      text-transform: uppercase;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    }

    .presale-screen-status {
      gap: 10px;
    }

    .presale-data-state::before {
      animation: presaleStatusPulse 2.8s ease-in-out infinite;
    }

    .presale-board,
    .presale-kpi-card,
    .presale-chart-block,
    .presale-person-table-shell {
      backdrop-filter: blur(18px);
    }

    .presale-board {
      animation: none !important;
      overflow: hidden;
    }

    .presale-board::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,0.06) 48%, transparent 58%);
      opacity: 0;
      transform: translateX(-22%);
      animation: none !important;
      pointer-events: none;
    }

    .presale-kpi-card {
      will-change: box-shadow, border-color;
      animation: presaleCardPulse 6.2s ease-in-out infinite;
      animation-delay: calc(var(--presale-kpi-index, 0) * 0.7s);
    }

    .presale-kpi-card::after {
      content: "";
      position: absolute;
      inset: auto 10px 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(126, 203, 255, 0.44), transparent);
      opacity: 0.8;
    }

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

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

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

    .presale-kpi-card .presale-kpi-value {
      will-change: opacity, text-shadow;
    }

    .presale-kpi-card.is-updated .presale-kpi-value {
      animation: presaleMetricRefresh 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .presale-kpi-card.is-updated::after {
      opacity: 1;
      box-shadow: 0 0 18px rgba(103, 177, 255, 0.28);
    }

    .presale-chart-block::after,
    .presale-person-board::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(112deg, transparent 0 40%, rgba(255,255,255,0.05) 48%, transparent 56%);
      opacity: 0;
      transform: translateX(-26%);
      animation: none !important;
      pointer-events: none;
    }

    .presale-chart-canvas {
      box-shadow:
        inset 0 0 0 1px rgba(124, 187, 255, 0.05),
        inset 0 -28px 42px rgba(22, 96, 196, 0.16);
    }

    .presale-chart-canvas::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(120% 100% at 50% 0%, rgba(64, 130, 255, 0.1), transparent 56%),
        linear-gradient(180deg, rgba(255,255,255,0.03), transparent 16%),
        repeating-linear-gradient(180deg, rgba(109, 182, 255, 0.08) 0 2px, transparent 2px 18px);
      opacity: 0.8;
      pointer-events: none;
      will-change: transform, opacity;
      animation: presaleChartScan 5.4s ease-in-out infinite alternate;
    }

    .presale-chart-canvas::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 34%;
      background: radial-gradient(ellipse at center bottom, rgba(52, 140, 255, 0.22), transparent 68%);
      opacity: 0.9;
      pointer-events: none;
      animation: presaleChartGlow 4.2s ease-in-out infinite;
    }

    @keyframes presaleAuroraFloat {
      0% { transform: translate3d(0, 0, 0) scale(1); }
      50% { transform: translate3d(2vw, 1vw, 0) scale(1.08); }
      100% { transform: translate3d(-1vw, 2vw, 0) scale(0.96); }
    }

    @keyframes presaleGridDrift {
      0% { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-24px, -18px, 0); }
    }

    @keyframes presaleParticleDrift {
      0% { transform: translate3d(0, 0, 0); }
      100% { transform: translate3d(-18px, 16px, 0); }
    }

    @keyframes presaleFramePulse {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 0.86; }
    }

    @keyframes presalePanelBreathe {
      0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 14px 30px rgba(2, 9, 24, 0.22); }
      50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 20px 38px rgba(2, 9, 24, 0.32), 0 0 34px rgba(52, 125, 214, 0.14); }
    }

    @keyframes presaleCardPulse {
      0%, 100% {
        transform: none;
        border-color: rgba(101, 173, 255, 0.12);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 20px rgba(2, 8, 20, 0.14);
      }
      50% {
        transform: none;
        border-color: rgba(134, 202, 255, 0.22);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 26px rgba(2, 8, 20, 0.22), 0 0 24px rgba(74, 140, 255, 0.12);
      }
    }

    @keyframes presaleSheenSweep {
      0% { transform: translateX(-38%); opacity: 0.14; }
      50% { opacity: 0.62; }
      100% { transform: translateX(38%); opacity: 0.14; }
    }

    @keyframes presaleToplineRun {
      0% { filter: brightness(0.85); transform: scaleX(0.58); opacity: 0.58; }
      50% { filter: brightness(1.35); transform: scaleX(1); opacity: 1; }
      100% { filter: brightness(0.85); transform: scaleX(0.58); opacity: 0.58; }
    }

    @keyframes presaleMetricRefresh {
      0%, 100% {
        opacity: 1;
        text-shadow: 0 0 18px rgba(103, 177, 255, 0.16);
        filter: none;
      }
      35% {
        opacity: 1;
        text-shadow: 0 0 30px rgba(103, 177, 255, 0.34), 0 0 38px rgba(43, 215, 197, 0.14);
        filter: none;
      }
    }

    @keyframes presaleChartScan {
      0% { transform: translate3d(0, -8%, 0); opacity: 0.32; }
      100% { transform: translate3d(0, 8%, 0); opacity: 0.5; }
    }

    @keyframes presaleChartGlow {
      0%, 100% { opacity: 0.38; }
      50% { opacity: 0.82; }
    }

    @keyframes presaleStatusPulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(84, 249, 227, 0.18); }
      50% { box-shadow: 0 0 0 8px rgba(84, 249, 227, 0); }
    }

    /* Shared top workspace baseline across city, operations, business and settlement views. */
    :root {
      --workspace-toolbar-height: 100px;
      --workspace-toolbar-title-size: 28px;
      --workspace-toolbar-border: rgba(182, 212, 248, 0.16);
      --workspace-toolbar-background:
        linear-gradient(135deg, rgba(24, 43, 70, 0.82), rgba(13, 28, 48, 0.9)),
        linear-gradient(90deg, rgba(42, 154, 158, 0.12), rgba(219, 170, 90, 0.08));
      --workspace-toolbar-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 26px rgba(2, 8, 20, 0.22);
    }

    .workspace-title-card {
      position: relative;
      overflow: hidden;
      animation: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      display: grid !important;
      grid-template-columns: minmax(0, 1fr) auto auto;
      align-items: center !important;
      gap: var(--surface-2-gap) !important;
      box-sizing: border-box;
      height: var(--workspace-toolbar-height) !important;
      min-height: var(--workspace-toolbar-height) !important;
      max-height: var(--workspace-toolbar-height) !important;
      border: 1px solid var(--workspace-toolbar-border) !important;
      border-radius: var(--global-surface-radius) !important;
      background: var(--workspace-toolbar-background) !important;
      box-shadow: var(--workspace-toolbar-shadow) !important;
    }

    .workspace-title-card::before {
      content: "";
      position: absolute;
      z-index: 0;
      top: 0;
      left: var(--surface-1-pad);
      right: var(--surface-1-pad);
      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;
    }

    .workspace-title-card::after {
      content: "";
      position: absolute;
      z-index: 0;
      inset: 0;
      background: repeating-linear-gradient(90deg, rgba(151, 208, 255, 0.025) 0 1px, transparent 1px 92px);
      pointer-events: none;
    }

    /* Reuse the city-assignment card shell for the presale screen header. */
    #visualizationPanel .presale-screen-top.workspace-title-card {
      border: 1px solid var(--workspace-toolbar-border) !important;
      border-radius: var(--global-surface-radius) !important;
      background: var(--workspace-toolbar-background) !important;
      box-shadow: var(--workspace-toolbar-shadow) !important;
    }

    #visualizationPanel .presale-screen-top.workspace-title-card::before {
      animation: none !important;
      transform: none;
    }

    #visualizationPanel .presale-screen-top.workspace-title-card::after {
      animation: none !important;
      opacity: 1;
    }

    /* Align every workspace heading to the city-assignment title baseline. */
    #visualizationPanel .presale-screen-top.workspace-title-card > .presale-screen-title {
      margin-left: 12px !important;
    }

    /* Every business-page title card uses the city-assignment card shell. */
    body:not(.screen-visualization) .workspace-title-card {
      border: 1px solid var(--workspace-toolbar-border) !important;
      border-radius: var(--global-surface-radius) !important;
      background: var(--workspace-toolbar-background) !important;
      box-shadow: var(--workspace-toolbar-shadow) !important;
    }

    .workspace-title-card > * {
      position: relative;
      z-index: 1;
    }

    .after-sales-workspace {
      min-height: 0;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: var(--global-gap);
    }

    .after-sales-grid {
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(12, minmax(0, 1fr));
      gap: var(--global-gap);
    }

    .after-sales-panel {
      grid-column: span 6;
      min-width: 0;
      padding: var(--global-card-pad);
      border: 1px solid rgba(182, 212, 248, 0.16);
      border-radius: var(--global-surface-radius);
      background: linear-gradient(165deg, rgba(15, 31, 52, 0.94), rgba(8, 20, 36, 0.97));
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .after-sales-panel.is-wide {
      grid-column: 1 / -1;
    }

    /* Page 1 = one full scroll viewport (2 rows + in-page gap).
       Page 2 = half viewport (1 row). Keep the same surface gap
       between pages as between cards so top/bottom compositions match. */
    #afterSalesOperationsPanel .after-sales-ops-page-grid--primary > .after-sales-panel:nth-child(-n + 2) {
      grid-column: span 6;
    }
    #afterSalesOperationsPanel .after-sales-ops-page-grid--primary > .after-sales-panel:nth-child(n + 3) {
      grid-column: span 4;
    }
    #afterSalesOperationsPanel .after-sales-workspace {
      height: 100%;
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      overflow: hidden;
    }
    #afterSalesOperationsPanel .workspace-title-card {
      margin: 0;
    }
    #afterSalesOperationsPanel .after-sales-ops-scroll {
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      /* Center the 12px scrollbar inside the page right padding gap. */
      margin-right: calc((var(--presale-business-gap) + 12px) / -2);
      padding-right: calc((var(--presale-business-gap) - 12px) / 2);
      scrollbar-gutter: auto;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
      scroll-snap-type: y mandatory;
      scroll-behavior: smooth;
      container-type: size;
      container-name: after-sales-ops;
    }
    #afterSalesOperationsPanel .after-sales-ops-scroll::-webkit-scrollbar { width: 12px; }
    #afterSalesOperationsPanel .after-sales-ops-scroll::-webkit-scrollbar-track { background: transparent; border-radius: 999px; }
    #afterSalesOperationsPanel .after-sales-ops-scroll::-webkit-scrollbar-thumb {
      background: #4a6f99;
      border-radius: 999px;
      border: 2px solid transparent;
      background-clip: padding-box;
    }
    #afterSalesOperationsPanel .after-sales-ops-scroll::-webkit-scrollbar-thumb:hover { background: #5d88bb; }
    #afterSalesOperationsPanel .after-sales-ops-pages {
      display: grid;
      /* Size against the scrollport. First and last views both
         keep edge + rows, so card borders are never flush-clipped. */
      --after-sales-ops-edge-inset: max(8px, 0.5rem);
      --after-sales-ops-row-height: calc((100cqh - var(--surface-2-gap) - (2 * var(--after-sales-ops-edge-inset))) / 2);
      --after-sales-ops-page-one-height: calc((2 * var(--after-sales-ops-row-height)) + var(--surface-2-gap));
      box-sizing: content-box;
      height: calc(
        var(--after-sales-ops-page-one-height)
        + var(--surface-2-gap)
        + var(--after-sales-ops-row-height)
      );
      min-height: calc(
        var(--after-sales-ops-page-one-height)
        + var(--surface-2-gap)
        + var(--after-sales-ops-row-height)
      );
      padding-top: var(--after-sales-ops-edge-inset);
      padding-bottom: var(--after-sales-ops-edge-inset);
      grid-template-rows:
        minmax(0, var(--after-sales-ops-page-one-height))
        minmax(0, var(--after-sales-ops-row-height));
      gap: var(--surface-2-gap);
    }
    #afterSalesOperationsPanel .after-sales-ops-page-grid {
      min-height: 0;
      height: 100%;
      grid-template-rows: repeat(2, minmax(0, 1fr));
      align-content: stretch;
      scroll-snap-align: start;
      scroll-snap-stop: always;
    }
    #afterSalesOperationsPanel .after-sales-ops-page-grid.after-sales-ops-page-grid--three-up {
      grid-template-rows: minmax(0, 1fr) !important;
    }
    #afterSalesOperationsPanel .after-sales-ops-page-grid--three-up > .after-sales-panel {
      grid-column: span 4;
    }
    #afterSalesOperationsPanel .after-sales-panel {
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: calc(var(--global-card-pad) - 4px);
    }
    #afterSalesOperationsPanel .presale-business-toolbar-main h3 {
      font-size: 28px !important;
    }
    #afterSalesOperationsPanel .presale-business-toolbar-note,
    #afterSalesOperationsPanel .presale-business-chip,
    #afterSalesOperationsPanel .presale-business-toolbar-meta .ghost {
      font-size: 13px !important;
    }
    #afterSalesOperationsPanel .after-sales-chart {
      height: auto;
      min-height: 0;
      flex: 1 1 auto;
    }
    @media (max-width: 980px) {
      #afterSalesOperationsPanel .after-sales-workspace,
      #afterSalesOperationsPanel .after-sales-ops-scroll,
      #afterSalesOperationsPanel .after-sales-ops-pages,
      #afterSalesOperationsPanel .after-sales-ops-page-grid {
        height: auto;
        min-height: 0;
        overflow: visible;
      }
      #afterSalesOperationsPanel .after-sales-ops-page-grid {
        flex: initial;
        grid-template-rows: none;
      }
      #afterSalesOperationsPanel .after-sales-panel {
        overflow: visible;
      }
      #afterSalesOperationsPanel .after-sales-chart {
        height: 270px;
        flex: none;
      }
    }

    .after-sales-panel h3 {
      margin: 0 0 8px;
      color: #edf7ff;
      font-size: 18px;
      letter-spacing: 0;
    }

    .after-sales-panel p {
      margin: 0;
      color: rgba(211, 224, 241, 0.68);
      font-size: 13px;
      line-height: 1.7;
    }

    .after-sales-placeholder {
      min-height: 210px;
      display: grid;
      place-items: center;
      margin-top: 18px;
      border: 1px dashed rgba(118, 184, 206, 0.24);
      border-radius: var(--global-control-radius);
      color: rgba(211, 224, 241, 0.54);
      background: rgba(5, 15, 27, 0.38);
      text-align: center;
    }

    .after-sales-import-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--global-gap); min-height: 0; }
    .after-sales-import-grid > .after-sales-panel { grid-column: auto; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
    .after-sales-upload { flex: 1 1 auto; min-height: 360px; display: grid; place-items: center; margin-top: 16px; padding: 28px; border: 1px dashed rgba(132, 181, 216, .38); border-radius: 6px; background: #071524; text-align: center; transition: border-color .18s ease, background .18s ease; }
    .after-sales-upload.is-dragging { border-color: #3ec4b4; background: rgba(12, 45, 56, .72); }
    .after-sales-upload-icon { display: block; color: #7fa9ca; font-size: 42px; line-height: 1; }
    .after-sales-upload strong { display: block; margin-top: 18px; color: #edf7ff; font-size: 17px; letter-spacing: 0; }
    .after-sales-upload p { margin-top: 8px; }
    .after-sales-file-name { min-height: 22px; margin-top: 14px; color: #62d3c5; font-size: 13px; overflow-wrap: anywhere; }
    .after-sales-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
    .after-sales-ledger-controls > .after-sales-panel:first-child .after-sales-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
    }
    .after-sales-ledger-controls > .after-sales-panel:first-child .after-sales-actions button { width: 100%; }
    .after-sales-ledger-controls > .after-sales-panel:nth-child(2) .after-sales-actions { justify-content: flex-end; }
    .after-sales-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
    .after-sales-stat { padding: 14px; border-left: 3px solid #5f8fbe; background: rgba(10, 28, 46, .72); }
    #afterSalesCleaningPanel .after-sales-summary { gap: 7px; margin-top: 12px; }
    #afterSalesCleaningPanel .after-sales-stat { min-height: 0; padding: 8px 9px; }
    #afterSalesCleaningPanel .after-sales-stat strong { font-size: 22px; line-height: 1.1; }
    #afterSalesCleaningPanel .after-sales-stat span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.2; }
    .after-sales-stat.is-good { border-color: #3ec4b4; } .after-sales-stat.is-bad { border-color: #ef725f; }
    .after-sales-stat strong { display: block; color: #f1f7fb; font-size: 26px; letter-spacing: 0; } .after-sales-stat span { color: #91a8ba; font-size: 12px; }
    .after-sales-message { min-height: 22px; color: #9fb5c7; font-size: 13px; } .after-sales-message.is-error { color: #ff9585; }
    .after-sales-table-wrap { margin-top: 16px; max-height: 320px; overflow: auto; border: 1px solid rgba(132, 181, 216, .16); }
    .after-sales-issues-wrap { flex: 1 1 auto; min-height: 250px; max-height: none; }
    #afterSalesCleaningPanel .after-sales-ledger-results { position: relative; display: grid; grid-template-columns: 360px minmax(0, 1fr) minmax(0, 1fr); gap: var(--global-gap); min-height: 0; height: 100%; overflow: hidden; align-items: stretch; }
    #afterSalesCleaningPanel .after-sales-ledger-results > .after-sales-panel { grid-column: auto; min-width: 0; min-height: 0; }
    .after-sales-ledger-controls { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--global-gap); min-height: 0; overflow: hidden; }
    .after-sales-ledger-controls .after-sales-panel { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
    #afterSalesCleaningPanel .after-sales-ledger-controls .after-sales-panel { padding: 16px !important; }
    #afterSalesCleaningPanel .after-sales-ledger-controls .after-sales-panel h3 { margin-bottom: 8px; font-size: 20px; }
    #afterSalesCleaningPanel .after-sales-ledger-controls .after-sales-panel > p { font-size: 13px; line-height: 1.55; }
    #afterSalesCleaningPanel .after-sales-ledger-controls > .after-sales-panel:first-child { justify-content: flex-start; gap: 10px; }
    #afterSalesCleaningPanel .after-sales-ledger-controls > .after-sales-panel:first-child .after-sales-actions { margin-top: 10px; gap: 8px; }
    #afterSalesCleaningPanel .after-sales-ledger-controls > .after-sales-panel:first-child .after-sales-actions button { min-height: 34px; font-size: 14px; }
    #afterSalesCleaningPanel .after-sales-ledger-controls > .after-sales-panel:first-child .after-sales-message { min-height: 0; margin-top: 6px; font-size: 13px; line-height: 1.4; }
    .after-sales-ledger-preview-panel, .after-sales-ledger-summary-panel { display: flex; flex-direction: column; overflow: hidden; }
    .after-sales-ledger-table-wrap { flex: 1 1 auto; min-height: 0; max-height: none; margin-top: 12px; }
    #afterSalesCleaningPanel .after-sales-ledger-table-wrap { padding-right: 2px; scrollbar-width: thin; scrollbar-color: #4a6f99 transparent; }
    #afterSalesCleaningPanel .after-sales-ledger-table-wrap::-webkit-scrollbar { width: 12px; height: 12px; }
    #afterSalesCleaningPanel .after-sales-ledger-table-wrap::-webkit-scrollbar-track { background: transparent; border-radius: 999px; }
    #afterSalesCleaningPanel .after-sales-ledger-table-wrap::-webkit-scrollbar-thumb { background: #4a6f99; border: 2px solid transparent; border-radius: 999px; background-clip: padding-box; }
    #afterSalesCleaningPanel .after-sales-ledger-table-wrap::-webkit-scrollbar-thumb:hover { background: #5d88bb; }
    #afterSalesCleaningPanel .after-sales-ledger-table { width: 100%; min-width: 0; table-layout: fixed; }
    #afterSalesCleaningPanel .after-sales-ledger-table th,
    #afterSalesCleaningPanel .after-sales-ledger-table td { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(1),
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(4),
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(5),
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(8) { width: 8%; }
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(2),
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(6) { width: 13%; }
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(3) { width: 10%; }
    #afterSalesCleaningPanel .after-sales-ledger-preview-panel .after-sales-ledger-table th:nth-child(7) { width: 32%; }
    #afterSalesCompactBody tr.is-abnormal td { border-radius: 0 !important; background: rgba(137, 48, 52, .26) !important; box-shadow: none !important; }
    #afterSalesCleaningPanel .after-sales-ledger-table td { border-radius: 0 !important; box-shadow: none !important; }
    #afterSalesCleaningPanel .after-sales-ledger-table th:not(:last-child),
    #afterSalesCleaningPanel .after-sales-ledger-table td:not(:last-child) { border-right: 1px solid rgba(132, 181, 216, .16); }
    .after-sales-ledger-pagination { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; margin-top: 12px; color: #9db5c9; font-size: 12px; }
    .after-sales-ledger-pagination button { display: inline-flex; align-items: center; justify-content: center; width: 32px; min-width: 32px; height: 30px; min-height: 30px; padding: 0 0 3px; border: 1px solid rgba(122, 177, 217, .34); border-radius: 5px; background: rgba(18, 46, 72, .76); color: #d9edf9; font-size: 20px; line-height: 1; box-shadow: none; }
    .after-sales-ledger-pagination button:hover:not(:disabled) { border-color: #62d3c5; background: rgba(26, 78, 91, .82); color: #f3fffe; }
    .after-sales-ledger-pagination button:disabled { cursor: not-allowed; opacity: .34; }
    .after-sales-ledger-pagination span { min-width: 118px; text-align: center; font-variant-numeric: tabular-nums; }
    .after-sales-retired-list { display: grid; flex: 1 1 auto; min-height: 0; gap: 5px; overflow: auto; margin-top: 10px; padding: 3px 4px 3px 0; scrollbar-width: thin; scrollbar-color: #4a6f99 transparent; }
    .after-sales-retired-option { display: flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 8px; border: 1px solid rgba(132, 181, 216, .16); border-radius: 4px; background: rgba(5, 15, 27, .42); color: #d8e8f6; font-size: 13px; cursor: pointer; }
    .after-sales-retired-option:has(input:checked) { border-color: rgba(239, 114, 95, .72); background: rgba(102, 42, 47, .24); color: #ffe0da; }
    .after-sales-retired-option input { accent-color: #ef725f; }
    .after-sales-retired-hint { margin: 10px 0 0; color: #91a8ba; font-size: 12px; line-height: 1.6; }
    .after-sales-retired-status { display: block; min-height: 19px; margin-top: 9px; color: #62d3c5; font-size: 12px; }
    #afterSalesCleaningPanel .after-sales-summary { gap: 7px; margin-top: 10px; }
    #afterSalesCleaningPanel .after-sales-stat { min-height: 0; padding: 9px 10px; }
    #afterSalesCleaningPanel .after-sales-stat strong { font-size: 24px; line-height: 1.1; }
    #afterSalesCleaningPanel .after-sales-stat span { display: block; margin-top: 4px; font-size: 11px; line-height: 1.2; }
    #afterSalesCleaningPanel .after-sales-retired-list { gap: 7px; margin-top: 14px; }
    #afterSalesCleaningPanel .after-sales-retired-option { gap: 10px; min-height: 36px; padding: 6px 10px; font-size: 14px; }
    #afterSalesCleaningPanel .after-sales-retired-hint { margin-top: 8px; font-size: 13px; line-height: 1.55; }
    #afterSalesCleaningPanel .after-sales-ledger-controls > .after-sales-panel:nth-child(2) .after-sales-actions { justify-content: center; margin-top: 14px; }
    #afterSalesCleaningPanel .after-sales-ledger-controls > .after-sales-panel:nth-child(2) .after-sales-actions button { min-width: 128px; min-height: 38px; font-size: 14px; }
    #afterSalesCleaningPanel .after-sales-retired-status { min-height: 22px; margin-top: 10px; font-size: 13px; }
    .after-sales-ledger-loading { position: absolute; z-index: 12; inset: 0; display: none; place-items: center; background: rgba(4, 13, 25, .72); backdrop-filter: blur(3px); }
    .after-sales-ledger-loading.is-visible { display: grid; }
    .after-sales-ledger-loading-card { display: grid; justify-items: center; gap: 18px; min-width: 300px; padding: 34px 42px; border: 1px solid rgba(117, 181, 224, .42); border-radius: 6px; background: #0c2036; box-shadow: 0 18px 48px rgba(0, 0, 0, .38); color: #e8f5ff; }
    .after-sales-ledger-loading-spinner { width: 42px; height: 42px; border: 4px solid rgba(110, 194, 225, .22); border-top-color: #62d3c5; border-radius: 50%; animation: after-sales-ledger-spin .8s linear infinite; }
    .after-sales-ledger-loading-card strong { font-size: 18px; } .after-sales-ledger-loading-card span { color: #a6bed0; font-size: 13px; }
    @keyframes after-sales-ledger-spin { to { transform: rotate(360deg); } }
    @media (max-width: 1240px) { #afterSalesCleaningPanel .after-sales-ledger-results { grid-template-columns: 320px minmax(0, 1fr) minmax(0, 1fr); } }
    @media (max-width: 960px) { #afterSalesCleaningPanel .after-sales-ledger-results { grid-template-columns: 1fr; height: auto; overflow: visible; } #afterSalesCleaningPanel .after-sales-ledger-results > .after-sales-panel { grid-column: 1 / -1; } .after-sales-ledger-controls { grid-template-rows: none; overflow: visible; } .after-sales-ledger-controls .after-sales-panel { overflow: visible; } .after-sales-retired-list { max-height: 280px; } .after-sales-ledger-table-wrap { min-height: 300px; max-height: 480px; } }
    .after-sales-table { width: 100%; border-collapse: collapse; font-size: 12px; }
    .after-sales-table thead { background: #10263a; }
    .after-sales-table th { position: sticky; top: 0; z-index: 1; border-radius: 0 !important; background: #10263a; box-shadow: none !important; color: #b9cddd; text-align: left; }
    .after-sales-table th, .after-sales-table td { padding: 9px 10px; border-bottom: 1px solid rgba(132, 181, 216, .12); white-space: nowrap; }
    .after-sales-table td:last-child { white-space: normal; color: #ffab9d; }
    .after-sales-issues-wrap .after-sales-table { min-width: 980px; }
    .after-sales-issues-wrap .after-sales-table th:nth-child(7), .after-sales-issues-wrap .after-sales-table td:nth-child(7) { min-width: 230px; white-space: normal; color: #ffab9d; }
    .after-sales-issues-wrap .after-sales-table td:last-child { color: #b9cddd; white-space: nowrap; }
    .after-sales-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
    .after-sales-kpi { min-height: 104px; padding: 14px; border-top: 2px solid #3ec4b4; background: rgba(8, 24, 40, .72); }
    .after-sales-kpi span { color: #8fa8ba; font-size: 12px; } .after-sales-kpi strong { display: block; margin-top: 14px; color: #f4fbff; font-size: 24px; letter-spacing: 0; }
    .after-sales-trend { display: grid; grid-template-columns: repeat(30, minmax(5px, 1fr)); align-items: end; gap: 3px; height: 210px; padding-top: 20px; }
    .after-sales-trend-day { display: flex; height: 100%; align-items: end; gap: 1px; border-bottom: 1px solid rgba(132,181,216,.18); }
    .after-sales-trend-day i { display: block; width: 50%; min-height: 2px; background: #3ec4b4; } .after-sales-trend-day i:last-child { background: #e2b35d; }
    .after-sales-empty { padding: 48px 16px; text-align: center; color: #8299aa; }
    .after-sales-chart { height: 270px; min-width: 0; } .after-sales-chart-lg { height: 310px; }
    .after-sales-value-label-overlay { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
    .presale-chart-canvas > .after-sales-value-label-overlay { z-index: 4; }
    .after-sales-reference-line-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
    .after-sales-reference-line {
      position: absolute;
      height: 0;
      border-top: 2px dashed currentColor;
      opacity: .88;
      animation: after-sales-reference-breathe 2.4s ease-in-out infinite;
    }
    .after-sales-reference-line span {
      position: absolute;
      right: 0;
      top: -19px;
      padding: 2px 5px;
      border-radius: 4px;
      background: rgba(6, 16, 31, .9);
      color: inherit;
      font-size: 12px;
      font-weight: 700;
      line-height: 1.2;
    }
    .after-sales-reference-line.is-margin-30 { color: #f0b34d; }
    .after-sales-reference-line.is-margin-30 span { top: 5px; }
    .after-sales-reference-line.is-margin-35 { color: #4dd0d8; animation-delay: 1.2s; }
    .after-sales-reference-line.is-margin-35 span { top: auto; bottom: 5px; }
    .after-sales-value-label-overlay.is-preparing-entrance { visibility: hidden; }
    .after-sales-value-label-overlay.is-entering .after-sales-value-label { animation: after-sales-value-label-in 680ms 220ms cubic-bezier(.12, .88, .22, 1) both; }
    .after-sales-value-label-overlay.is-entering.is-reveal-after-chart .after-sales-value-label { animation: none; opacity: 0; }
    .after-sales-value-label-overlay.is-waiting-for-series .after-sales-value-label { animation: none !important; opacity: 0 !important; }
    .after-sales-value-label-overlay.is-revealing-all .after-sales-value-label {
      animation: after-sales-value-label-in 180ms var(--after-sales-label-group-delay, 0ms) cubic-bezier(.12, .88, .22, 1) both;
    }
    .after-sales-value-label-overlay.is-revealing-all .after-sales-value-label.is-first-value-group {
      animation: none;
      opacity: 1;
      transform: translate(-50%, -100%);
    }
    .after-sales-value-label-overlay.is-values-visible .after-sales-value-label { opacity: 1; transform: translate(-50%, -100%); }
    .after-sales-value-label-overlay.is-entering .after-sales-value-label.is-line-value { animation: none; opacity: 0; }
    .after-sales-value-label-overlay.is-line-progress .after-sales-value-label.is-line-value.is-revealed { animation: after-sales-line-value-in 180ms ease-out both; }
    .after-sales-value-label {
      position: absolute;
      transform: translate(-50%, -100%);
      white-space: nowrap;
      font-size: 15px;
      font-weight: 500;
      line-height: 1;
    }
    @keyframes after-sales-value-label-in { from { opacity: 0; transform: translate(-50%, -45%); } to { opacity: 1; transform: translate(-50%, -100%); } }
    @keyframes after-sales-line-value-in { from { opacity: 0; transform: translate(-50%, -70%); } to { opacity: 1; transform: translate(-50%, -100%); } }
    @keyframes after-sales-reference-breathe { 0%, 100% { opacity: .45; filter: drop-shadow(0 0 0 transparent); } 50% { opacity: 1; filter: drop-shadow(0 0 5px currentColor); } }
    .after-sales-chart-hitlayer { position: absolute; z-index: 2; inset: 0; cursor: crosshair; }
    .presale-chart-hitlayer { position: absolute; z-index: 2; inset: 0; cursor: crosshair; }
    .after-sales-chart.is-preparing-entrance { visibility: hidden; }
    .presale-chart-canvas.is-preparing-entrance { visibility: hidden; }
    .after-sales-series-layer.is-entering-line,
    .after-sales-series-layer.is-entering-bar {
      transform-origin: center center;
      animation: afterSalesSeriesReveal 520ms cubic-bezier(.22, .75, .25, 1) both;
      will-change: opacity, transform;
    }
    .after-sales-series-layer.is-ready-line,
    .after-sales-series-layer.is-ready-bar {
      opacity: 0;
      transform: translate3d(0, 8px, 0) scale(.985);
    }
    @keyframes afterSalesSeriesReveal {
      from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.985); }
      to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
    }
    .after-sales-business-summary { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) clamp(600px, 34vw, 780px) minmax(0, 1fr); gap: var(--global-gap); align-items: stretch; }
    #afterSalesBusinessPanel .after-sales-workspace { height: 100%; overflow: hidden; }
    #afterSalesBusinessPanel .after-sales-business-grid { height: 100%; grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
    #afterSalesBusinessPanel .after-sales-panel.is-wide { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
    #afterSalesBusinessPanel .after-sales-panel.is-wide .after-sales-chart { height: auto; min-height: 0; flex: 1 1 auto; }
    .after-sales-summary-group { min-width: 0; padding: var(--global-card-pad); border: 1px solid rgba(182, 212, 248, .16); border-radius: var(--global-surface-radius); background: linear-gradient(165deg, rgba(15, 31, 52, .94), rgba(8, 20, 36, .97)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
    .after-sales-summary-group h4 { margin: 0 0 16px; color: #edf7ff; font-size: 21px; } .after-sales-summary-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .after-sales-summary-metric span { display: block; color: #9bb4ce; font-size: 17px; } .after-sales-summary-metric strong { display: block; margin-top: 5px; color: #f4fbff; font-size: 29px; }
    /* The summary counters are isolated from the general metric span rules. */
    .after-sales-summary-metric strong[data-after-sales-count] { font-variant-numeric: tabular-nums; white-space: nowrap; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-symbol { display: inline; position: relative; top: -0.05em; font: inherit; color: inherit; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-digit { display: inline-block; position: relative; width: 1ch; height: 1.16em; overflow: hidden; vertical-align: -.26em; line-height: 1.16em; font: inherit; color: inherit; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-final,
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-rail,
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-rail i { font: inherit; color: inherit; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-final { display: block; height: 1.16em; line-height: 1.16em; text-align: center; opacity: 0; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-rail { position: absolute; inset: 0 auto auto 0; display: block; width: 1ch; will-change: transform, opacity; backface-visibility: hidden; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-rail i { display: block; height: 1.16em; line-height: 1.16em; text-align: center; font-style: normal; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-digit.is-settled .after-sales-counter-final { opacity: 1; }
    .after-sales-summary-metric strong[data-after-sales-count] .after-sales-counter-digit.is-settled .after-sales-counter-rail { opacity: 0; }
    .after-sales-summary-group.is-emphasized { display: flex; flex-direction: column; min-height: 0; text-align: center; }
    .after-sales-summary-group.is-emphasized h4 { font-size: 27px; }
    .after-sales-summary-group.is-emphasized .after-sales-summary-metrics { flex: 1 1 auto; min-height: 0; grid-auto-rows: minmax(0, 1fr); align-items: center; }
    .after-sales-summary-group.is-emphasized .after-sales-summary-metric { text-align: center; }
    .after-sales-summary-group.is-emphasized .after-sales-summary-metric strong { font-size: 33px; }
    .after-sales-summary-group.is-volume .after-sales-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .after-sales-summary-stack { min-width: 0; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: var(--global-gap); }
    .after-sales-summary-stack .after-sales-summary-group { display: flex; flex-direction: column; justify-content: center; text-align: center; }
    .after-sales-summary-stack .after-sales-summary-group h4 { font-size: 27px; }
    .after-sales-summary-stack .after-sales-summary-metric { text-align: center; }
    .after-sales-summary-stack .after-sales-summary-metric strong { font-size: 33px; }
    .after-sales-summary-stack .after-sales-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .after-sales-summary-stack .after-sales-summary-group:last-child .after-sales-summary-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    @media (max-width: 1100px) { .after-sales-business-summary { grid-template-columns: 1fr; } #afterSalesBusinessPanel .after-sales-workspace, #afterSalesBusinessPanel .after-sales-business-grid { height: auto; overflow: visible; } #afterSalesBusinessPanel .after-sales-business-grid { grid-template-rows: none; } #afterSalesBusinessPanel .after-sales-panel.is-wide { overflow: visible; } #afterSalesBusinessPanel .after-sales-panel.is-wide .after-sales-chart { height: 270px; flex: none; } }
    @media (max-width: 960px) { .after-sales-import-grid { grid-template-columns: 1fr; } .after-sales-kpis { grid-template-columns: repeat(2, 1fr); } }

    @media (max-width: 980px) {
      .after-sales-panel {
        grid-column: 1 / -1;
      }
    }

    .workspace-title-card :is(.bill-push-title h2, .presale-screen-title h1, .presale-business-toolbar-main h3, .settlement-feedback-title h2) {
      margin: 0;
      padding: 0 !important;
      color: #edf7ff !important;
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif !important;
      font-size: var(--workspace-toolbar-title-size) !important;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: 0 !important;
      text-indent: 0;
      transform: none !important;
      white-space: nowrap;
    }

    .workspace-title-card :is(.bill-push-title, .presale-screen-title, .presale-business-toolbar-main, .settlement-feedback-title) {
      min-width: 0;
      min-height: 0;
      margin: 0 !important;
      padding: 0 !important;
      justify-self: start;
      align-self: center;
      display: flex !important;
      align-items: center !important;
      align-content: center;
      gap: var(--surface-3-gap) !important;
    }

    .workspace-title-card :is(.bill-push-title > span, .presale-business-toolbar-note, .settlement-feedback-title p) {
      margin: 0;
      transform: none !important;
    }

    .workspace-title-card :is(.bill-push-summary, .bill-push-actions, .presale-screen-status, .presale-business-toolbar-meta, .settlement-feedback-toolbar) {
      align-self: center;
      align-items: center;
      transform: none !important;
    }

    .workspace-title-card > .presale-screen-status {
      padding: 0;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    #cityAssignmentPanel .workspace-title-card > :is(.bill-push-title, .bill-push-summary, .bill-push-actions) {
      min-height: 0;
      height: auto;
      align-self: center;
      transform: none !important;
    }

    #cityAssignmentPanel .workspace-title-card > .bill-push-title {
      justify-content: flex-start;
      align-items: center;
    }

    #cityAssignmentStatus {
      position: relative;
      top: 1px;
    }

    #cityAssignmentPanel .workspace-title-card > .bill-push-summary {
      position: relative;
      top: 1px;
      align-items: center;
    }

    #cityAssignmentPanel .workspace-title-card > .bill-push-actions {
      position: relative;
      top: 1px;
      align-items: center;
      align-content: center;
    }

    .settlement-feedback-title h2 {
      white-space: nowrap;
      transform: none;
    }

    .settlement-feedback-title p {
      min-width: 0;
    }

    #settlementFeedbackPanel .workspace-title-card {
      grid-template-columns: minmax(0, 1fr) minmax(0, auto);
    }

    #settlementFeedbackPanel .workspace-title-card > .settlement-feedback-title {
      width: 100%;
      overflow: hidden;
      flex-direction: row;
      justify-content: flex-start;
      flex-wrap: nowrap;
    }

    #presaleOpsPanel .presale-business-toolbar-main {
      position: relative;
      left: 6px;
    }

    #presaleOpsPanel .presale-business-toolbar-note {
      position: relative;
      top: 2px;
      font-size: 11px;
      line-height: 1.4;
      letter-spacing: 0;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
    }

    #settlementFeedbackPanel .workspace-title-card .settlement-feedback-title h2 {
      flex: 0 0 auto;
    }

    #settlementFeedbackPanel .workspace-title-card .settlement-feedback-title p {
      flex: 1 1 auto;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    #settlementFeedbackPanel .workspace-title-card > .settlement-feedback-toolbar {
      min-width: 0;
      max-width: min(70vw, 1050px);
      flex-wrap: nowrap;
    }

    #settlementFeedbackPanel .workspace-title-card .settlement-feedback-toolbar-note {
      min-width: 0;
      max-width: 420px;
      margin: 0;
      position: relative;
      top: 2px;
      overflow: hidden;
      color: rgba(214, 229, 246, 0.72);
      font-size: 14px;
      line-height: 1.5;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    #settlementFeedbackPanel .workspace-title-card .settlement-status-pill {
      min-width: 0;
      max-width: min(28vw, 380px);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    #settlementFeedbackPanel .workspace-title-card #settlementRefreshStatusBtn {
      flex: 0 0 auto;
    }

    .settlement-feedback-hero {
      align-items: center;
    }

    .settlement-feedback-toolbar {
      align-self: center;
    }

    .presale-business-toolbar {
      align-items: center;
    }

    @media (max-width: 1260px) {
      .workspace-title-card {
        grid-template-columns: 1fr;
        height: auto !important;
        min-height: var(--workspace-toolbar-height) !important;
        max-height: none !important;
      }

      .workspace-title-card :is(.bill-push-title, .presale-screen-title, .presale-business-toolbar-main, .settlement-feedback-title) {
        flex-wrap: wrap;
      }

      #settlementFeedbackPanel .workspace-title-card {
        grid-template-columns: 1fr;
      }

      #settlementFeedbackPanel .workspace-title-card > .settlement-feedback-toolbar {
        max-width: 100%;
        justify-content: flex-start;
      }
    }

    /* Spatial hierarchy: one scale for page shells, cards and nested content. */
    :root {
      --space-1: 4px;
      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-5: 20px;
      --space-6: 24px;
      --space-7: 32px;
      --surface-1-pad: var(--space-6);
      --surface-1-gap: var(--space-5);
      --surface-2-pad: var(--space-5);
      --surface-2-gap: var(--space-4);
      --surface-3-pad: var(--space-4);
      --surface-3-gap: var(--space-3);
      --content-gap: var(--space-2);
      --layout-page-pad: var(--surface-1-gap);
      --layout-shell-gap: var(--surface-1-gap);
      --layout-section-gap: var(--surface-1-gap);
      --layout-card-gap: var(--surface-2-gap);
      --layout-inline-gap: var(--content-gap);
      --layout-card-pad: var(--surface-3-pad);
      --layout-card-pad-lg: var(--surface-2-pad);
      --global-gap: var(--surface-1-gap);
      --global-pad: var(--surface-3-pad);
      --global-card-pad: var(--surface-2-pad);
    }

    .main-shell,
    .main-shell > .page,
    .page-view > .bill-push-shell,
    .page-view > .presale-ops-page,
    .page-view > .settlement-feedback-page,
    .after-sales-workspace {
      gap: var(--surface-1-gap) !important;
    }

    .main-shell > header {
      padding: var(--surface-1-pad) !important;
    }

    .workspace-title-card {
      padding: 0 var(--surface-1-pad) !important;
    }

    .status-cards,
    .layout,
    .bill-push-grid,
    .bill-review-grid,
    .presale-business-overview,
    .presale-business-focus-grid,
    .after-sales-grid,
    .settlement-feedback-body {
      gap: var(--surface-2-gap) !important;
    }

    .status-card,
    .lane-body,
    #configPanel,
    .bill-overview-card,
    .bill-person-card,
    .bill-detail-panel,
    .bill-preview-shell,
    .presale-business-panel,
    .presale-business-kpi,
    .settlement-feedback-card,
    .after-sales-panel {
      padding: var(--surface-2-pad) !important;
    }

    .lane-body,
    .config-sections,
    .presale-business-panel,
    .presale-business-table-panel,
    .settlement-feedback-card {
      gap: var(--surface-2-gap) !important;
    }

    .config-section,
    .presale-business-rank-item,
    .presale-business-matrix-group,
    .settlement-feedback-db-item,
    .settlement-feedback-summary-item,
    .after-sales-placeholder {
      padding: var(--surface-3-pad) !important;
    }

    .config-section,
    .presale-business-rank-list,
    .presale-business-matrix-metrics,
    .settlement-feedback-db-grid,
    .settlement-feedback-summary-grid {
      gap: var(--surface-3-gap) !important;
    }

    .row,
    .lane-btns,
    .bill-push-actions,
    .presale-business-toolbar-meta,
    .settlement-feedback-toolbar {
      gap: var(--content-gap) !important;
    }

    /* The operations screen keeps the same hierarchy at dashboard density. */
    .presale-board {
      padding: var(--surface-2-pad) !important;
      gap: var(--surface-2-gap) !important;
    }

    .presale-overall-grid,
    .presale-command-strip {
      gap: var(--surface-2-gap) !important;
    }

    .presale-chart-block {
      padding: var(--surface-3-pad) !important;
      gap: var(--surface-3-gap) !important;
    }

    .presale-kpi-group-block {
      column-gap: var(--surface-3-gap) !important;
      row-gap: var(--surface-3-gap) !important;
    }

    .presale-kpi-card {
      padding: var(--surface-3-gap) !important;
    }

    .presale-kpi-group-block[data-group="flow"] .presale-kpi-card {
      padding: var(--surface-3-gap) !important;
    }

    .presale-board-head,
    .presale-ops-head {
      padding-bottom: var(--content-gap) !important;
    }

    .presale-ops-title-row {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .presale-value-label-eye {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      padding: 0;
      border: 1px solid rgba(151, 208, 255, 0.22);
      border-radius: 999px;
      background: rgba(12, 28, 48, 0.55);
      color: #9fbfdf;
      cursor: pointer;
      transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
    }

    .presale-value-label-eye:hover,
    .presale-value-label-eye:focus-visible {
      color: #eef7ff;
      border-color: rgba(159, 212, 255, 0.48);
      background: rgba(24, 48, 78, 0.78);
      outline: none;
      box-shadow: 0 0 0 2px rgba(104, 176, 255, 0.18);
    }

    .presale-value-label-eye[aria-pressed="true"],
    .presale-value-label-eye.is-full {
      color: #d8ff65;
      border-color: rgba(216, 255, 101, 0.42);
      background: rgba(48, 68, 24, 0.45);
      box-shadow: 0 0 10px rgba(216, 255, 101, 0.16);
    }


    .presale-board-head div,
    .presale-chart-legend,
    .presale-kpi-group-title-content,
    .presale-screen-status {
      gap: var(--content-gap) !important;
    }

    @media (max-width: 720px) {
      :root {
        --surface-1-pad: var(--space-5);
        --surface-1-gap: var(--space-4);
        --surface-2-pad: var(--space-4);
        --surface-2-gap: var(--space-3);
        --surface-3-pad: var(--space-3);
        --surface-3-gap: var(--space-2);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .presale-screen-top,
      .presale-screen-top::after,
      .presale-board,
      .presale-board::before,
      .presale-kpi-card,
      .presale-kpi-card .presale-kpi-value,
      .presale-chart-block::after,
      .presale-chart-canvas::before,
      .presale-chart-canvas::after,
      .presale-person-board::after,
      .presale-data-state::before {
        animation: none !important;
      }
    }
  

    .yesterday-preview-modal-card {
      width: min(1360px, 96vw);
      max-height: 90vh;
      overflow: auto;
      display: flex;
      flex-direction: column;
      gap: 22px;
      padding: 19px;
    }
    .yesterday-preview-modal-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      margin-bottom: 0;
    }

    .yesterday-preview-modal-head .auditor-modal-title {
      margin-bottom: 0;
      font-size: 22px;
    }

    .yesterday-preview-modal-head .hint {
      margin: 0;
      margin-right: auto;
      color: #89a8ca;
      font-size: 14px;
    }

    .yesterday-preview-modal-head #yesterdayPreviewModalCloseBtn {
      flex: 0 0 auto;
      min-width: 82px;
      height: 38px;
      padding: 0 19px;
    }

    .yesterday-preview-layout {
      display: grid;
      grid-template-columns: minmax(0, 2.55fr) minmax(170px, 0.44fr);
      gap: 18px;
      align-items: start;
      min-width: 0;
    }

    .yesterday-preview-columns {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 19px;
      min-width: 0;
    }



    .yesterday-preview-column {
      display: grid;
      gap: 17px;
      min-width: 0;
    }

    .yesterday-preview-section {
      position: relative;
      overflow: hidden;
      display: grid;
      gap: 14px;
      padding: 19px 17px 17px;
      border: 1px solid rgba(214, 229, 248, 0.12);
      border-radius: 19px;
      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);
    }

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

    .yesterday-preview-section-head {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 0;
      position: relative;
      z-index: 1;
      min-height: 29px;
    }

    .yesterday-preview-section-head h3 {
      margin: 0;
      color: #d8c39a;
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-align: center;
      text-shadow: 0 0 12px rgba(216, 195, 154, 0.18);
    }

    .yesterday-preview-incomplete {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      display: inline-flex;
      align-items: center;
      padding: 3px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 167, 84, 0.42);
      background: rgba(92, 48, 12, 0.42);
      color: #ffd09a;
      font-size: 14px;
      font-weight: 700;
      white-space: nowrap;
    }

    .yesterday-preview-incomplete[hidden] {
      display: none !important;
    }

    .yesterday-preview-kpi-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      position: relative;
      z-index: 1;
    }

    .yesterday-preview-kpi-grid--business {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yesterday-preview-kpi-grid--triple {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yesterday-preview-kpi-grid--quintuple {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }


    .yesterday-preview-kpi-grid--quintuple .yesterday-preview-kpi {
      padding: 14px 10px;
    }

    .yesterday-preview-kpi-grid--quintuple .yesterday-preview-kpi-label {
      font-size: 14px;
      margin-bottom: 7px;
    }

    .yesterday-preview-kpi-grid--quintuple .yesterday-preview-kpi-value {
      font-size: clamp(18px, 1.55vw, 24px);
      white-space: nowrap;
    }

    .yesterday-preview-kpi {
      min-width: 0;
      padding: 14px;
      border-radius: 17px;
      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));
      box-shadow: none;
      color: #d4deed;
    }

    .yesterday-preview-kpi-label {
      display: block;
      color: #89a8ca;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    .yesterday-preview-kpi-value {
      display: block;
      color: #f2f8ff;
      font-family: "JetBrains Mono", monospace;
      font-size: 26px;
      font-weight: 800;
      line-height: 1.15;
      white-space: nowrap;
    }

    .yesterday-preview-today {
      display: grid;
      gap: 19px;
      min-width: 0;
      align-self: start;
    }

    .yesterday-preview-today-section {
      width: 100%;
      align-content: start;
    }

    .yesterday-preview-kpi-grid--today {
      grid-template-columns: minmax(0, 1fr);
      gap: 14px;
    }

    .yesterday-preview-kpi-grid--today .yesterday-preview-kpi {
      min-width: 0;
      padding: 14px 12px;
    }

    .yesterday-preview-kpi-grid--today .yesterday-preview-kpi-label {
      font-size: 14px;
      margin-bottom: 7px;
    }

    .yesterday-preview-kpi-grid--today .yesterday-preview-kpi-value {
      font-size: clamp(18px, 1.55vw, 24px);
      white-space: nowrap;
    }

    @media (max-width: 980px) {
      .yesterday-preview-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    @media (max-width: 620px) {
      .yesterday-preview-kpi-grid,
      .yesterday-preview-kpi-grid--business {
        grid-template-columns: 1fr;
      }

      .yesterday-preview-kpi-grid--triple {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }

      .yesterday-preview-kpi-grid--quintuple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .yesterday-preview-kpi-grid--quintuple .yesterday-preview-kpi-value {
        font-size: 20px;
      }

      .yesterday-preview-kpi-grid--today .yesterday-preview-kpi-value {
        font-size: 20px;
      }
    }

    /* Standard price rules admin panel */
    #standardPricePanel .after-sales-workspace {
      display: grid;
      grid-template-rows: auto minmax(0, 1fr);
      gap: var(--global-gap);
      height: 100%;
      min-height: 0;
      overflow: hidden;
      padding: var(--global-gap);
      box-sizing: border-box;
    }

    #standardPricePanel .after-sales-grid {
      min-height: 0;
      height: 100%;
      overflow: hidden;
      align-content: stretch;
      align-items: stretch;
    }

    #standardPricePanel .standard-price-card {
      /* 12-col grid: left+right cards each take half so 4-col combo table fits */
      grid-column: span 6;
      max-width: 100%;
      min-height: 0;
      height: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    #standardPricePanel .standard-price-card > h3,
    #standardPricePanel .standard-price-card > form,
    #standardPricePanel .standard-price-card > .standard-price-table-tools {
      flex: 0 0 auto;
    }

    #standardPricePanel .standard-price-table-tools {
      display: block;
      width: 100%;
      margin-top: 10px;
      box-sizing: border-box;
    }

    #standardPricePanel #standardPriceSearchInput {
      display: block;
      width: 100%;
      min-width: 0;
      min-height: 34px;
      border-radius: 10px;
      border: 1px solid rgba(126, 194, 255, 0.28);
      background: rgba(4, 10, 20, 0.72);
      color: #e8f5ff;
      padding: 0 10px;
      outline: none;
      box-sizing: border-box;
    }

    #standardPricePanel #standardPriceSearchInput::placeholder {
      color: rgba(170, 196, 224, 0.58);
    }

    #standardPricePanel #standardPriceSearchInput:focus {
      border-color: rgba(147, 203, 255, 0.58);
      box-shadow: 0 0 0 2px rgba(84, 150, 236, 0.22);
    }








    #standardPricePanel #standardPriceRuleForm {
      display: grid;
      grid-template-columns: minmax(0, 1fr) max-content;
      grid-template-areas:
        "item save"
        "price reset"
        "status status";
      justify-content: stretch;
      align-items: end;
      column-gap: 10px;
      row-gap: 8px;
      margin-top: 12px;
      width: 100%;
    }


    #standardPricePanel #standardPriceRuleForm > label:nth-of-type(1) {
      grid-area: item;
    }

    #standardPricePanel #standardPriceRuleForm > label:nth-of-type(2) {
      grid-area: price;
    }

    #standardPricePanel #standardPriceSaveBtn {
      grid-area: save;
    }

    #standardPricePanel #standardPriceResetBtn {
      grid-area: reset;
    }

    #standardPricePanel #standardPriceRuleForm label {
      display: grid;
      gap: 6px;
      min-width: 0;
      width: 100%;
      max-width: none;
      color: rgba(210, 226, 246, 0.86);
      font-size: 13px;
      font-weight: 700;
      white-space: normal;
      justify-self: stretch;
    }


    #standardPricePanel #standardPriceRuleForm > button.side-link,
    #standardPricePanel .standard-price-row-actions button.side-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      min-width: 0;
      min-height: 36px;
      margin: 0;
      padding: 8px 12px;
      border-radius: 14px !important;
      border: 1px solid rgba(214, 229, 248, 0.16) !important;
      background: linear-gradient(128deg, rgba(31, 42, 60, 0.72), rgba(14, 20, 32, 0.72)) !important;
      color: #d4deed !important;
      box-shadow: none;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: 0.02em;
      text-align: center;
      cursor: pointer;
      box-sizing: border-box;
      white-space: nowrap;
      justify-self: stretch;
      appearance: none;
      -webkit-appearance: none;
      overflow: hidden;
    }

    #standardPricePanel #standardPriceRuleForm > button.side-link {
      width: auto;
      min-width: 64px;
      max-width: 84px;
      padding-inline: 12px;
      justify-self: end;
    }




    #standardPricePanel #standardPriceRuleForm > button.side-link:hover,
    #standardPricePanel .standard-price-row-actions button.side-link:hover {
      transform: none;
      border-color: rgba(216, 195, 154, 0.46) !important;
      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);
    }

    #standardPricePanel #standardPriceRuleForm > button.side-link:active,
    #standardPricePanel .standard-price-row-actions button.side-link:active {
      transform: translateY(1px) scale(0.97) !important;
      border-color: rgba(216, 195, 154, 0.58) !important;
      background: linear-gradient(130deg, rgba(44, 85, 132, 0.82), rgba(20, 45, 76, 0.82)) !important;
      color: #edf4ff !important;
      box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(216, 195, 154, 0.22) !important;
      filter: brightness(0.96) !important;
    }


    #standardPricePanel #standardPriceRuleForm > button.side-link:focus-visible,
    #standardPricePanel .standard-price-row-actions button.side-link:focus-visible {
      outline: none;
      border-color: rgba(147, 203, 255, 0.62) !important;
      box-shadow: 0 0 0 2px rgba(84, 150, 236, 0.28), inset 0 0 0 1px rgba(147, 203, 255, 0.18);
    }


    #standardPricePanel .standard-price-row-actions button.side-link {
      min-height: 30px;
      padding: 5px 8px;
      border-radius: 12px !important;
      font-size: 12px;
    }



    #standardPricePanel #standardPriceRuleForm .after-sales-message {
      grid-area: status;
      min-width: 0;
      width: auto;
    }

    #standardPricePanel #standardPriceRuleForm input,
    #standardPricePanel #standardPriceRuleForm select {
      width: 100%;
      min-height: 36px;
      border-radius: 10px;
      border: 1px solid rgba(126, 194, 255, 0.28);
      background: rgba(4, 10, 20, 0.72);
      color: #e8f5ff;
      padding: 0 10px;
      outline: none;
      box-sizing: border-box;
    }

    #standardPricePanel #standardPriceValue {
      -moz-appearance: textfield;
      appearance: textfield;
    }

    #standardPricePanel #standardPriceValue::-webkit-outer-spin-button,
    #standardPricePanel #standardPriceValue::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }


    #standardPricePanel .after-sales-table-wrap {
      flex: 1 1 auto;
      min-height: 0;
      max-height: none;
      margin-top: 12px;
      overflow-x: auto;
      overflow-y: auto;
      padding-right: 2px;
      scrollbar-width: thin;
      scrollbar-color: #4a6f99 transparent;
    }


    #standardPricePanel .after-sales-table-wrap::-webkit-scrollbar {
      width: 12px;
      height: 12px;
    }

    #standardPricePanel .after-sales-table-wrap::-webkit-scrollbar-track {
      background: transparent;
      border-radius: 999px;
    }

    #standardPricePanel .after-sales-table-wrap::-webkit-scrollbar-thumb {
      background: #4a6f99;
      border: 2px solid transparent;
      border-radius: 999px;
      background-clip: padding-box;
    }

    #standardPricePanel .after-sales-table-wrap::-webkit-scrollbar-thumb:hover {
      background: #5d88bb;
    }

    #standardPricePanel #standardPriceRulesTable {
      width: 100%;
      min-width: 0;
      table-layout: fixed;
      border-collapse: collapse;
    }

    #standardPricePanel #standardPriceRulesTable th,
    #standardPricePanel #standardPriceRulesTable td {
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal;
      vertical-align: middle;
      text-align: left !important;
      padding-left: 6px;
      padding-right: 4px;
    }

    #standardPricePanel #standardPriceRulesTable th:nth-child(1),
    #standardPricePanel #standardPriceRulesTable td:nth-child(1) {
      width: 30%;
      padding-left: 8px;
      padding-right: 2px;
    }

    #standardPricePanel #standardPriceRulesTable th:nth-child(2),
    #standardPricePanel #standardPriceRulesTable td:nth-child(2) {
      width: 26%;
      padding-left: 2px;
      padding-right: 4px;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
      overflow-wrap: normal;
      word-break: normal;
      text-align: left !important;
    }

    #standardPricePanel #standardPriceRulesTable th:nth-child(3),
    #standardPricePanel #standardPriceRulesTable td:nth-child(3) {
      width: 44%;
      text-align: center !important;
      padding-left: 4px;
      padding-right: 8px;
    }

    #standardPricePanel .standard-price-row-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      min-width: 0;
      width: 100%;
      margin-inline: 0 auto;
      justify-items: center;
    }

    #standardPricePanel #standardPriceRulesTable tbody tr.is-search-hit {
      background: rgba(74, 148, 228, 0.28) !important;
      border-radius: 0 !important;
      outline: none !important;
      box-shadow: none !important;
    }

    #standardPricePanel #standardPriceRulesTable tbody tr.is-search-hit > td {
      background: rgba(74, 148, 228, 0.28) !important;
      background-image: none !important;
      border-radius: 0 !important;
      outline: none !important;
      box-shadow: none !important;
      color: #f2f8ff !important;
    }

    #standardPricePanel #standardPriceRulesTable tbody tr.is-search-hit > td:first-child {
      box-shadow: inset 3px 0 0 rgba(146, 204, 255, 0.95) !important;
    }














    #standardPricePanel #standardPriceComboSearchInput {
      display: block;
      width: 100%;
      min-width: 0;
      min-height: 34px;
      border-radius: 10px;
      border: 1px solid rgba(126, 194, 255, 0.28);
      background: rgba(4, 10, 20, 0.72);
      color: #e8f5ff;
      padding: 0 10px;
      outline: none;
      box-sizing: border-box;
    }

    #standardPricePanel #standardPriceComboSearchInput::placeholder {
      color: rgba(170, 196, 224, 0.58);
    }

    #standardPricePanel #standardPriceComboSearchInput:focus {
      border-color: rgba(147, 203, 255, 0.58);
      box-shadow: 0 0 0 2px rgba(84, 150, 236, 0.22);
    }

    #standardPricePanel #standardPriceComboRuleForm {
      display: grid;
      grid-template-columns: minmax(0, 1fr) max-content;
      grid-template-areas:
        "item save"
        "operate reset"
        "price price"
        "status status";
      justify-content: stretch;
      align-items: end;
      column-gap: 10px;
      row-gap: 8px;
      margin-top: 12px;
      width: 100%;
    }

    #standardPricePanel #standardPriceComboRuleForm > label:nth-of-type(1) {
      grid-area: item;
    }

    #standardPricePanel #standardPriceComboRuleForm > label:nth-of-type(2) {
      grid-area: operate;
    }

    #standardPricePanel #standardPriceComboRuleForm > label:nth-of-type(3) {
      grid-area: price;
    }

    #standardPricePanel #standardPriceComboSaveBtn {
      grid-area: save;
    }

    #standardPricePanel #standardPriceComboResetBtn {
      grid-area: reset;
    }

    #standardPricePanel #standardPriceComboRuleForm label {
      display: grid;
      gap: 6px;
      min-width: 0;
      width: 100%;
      max-width: none;
      color: rgba(210, 226, 246, 0.86);
      font-size: 13px;
      font-weight: 700;
      white-space: normal;
      justify-self: stretch;
    }

    #standardPricePanel #standardPriceComboRuleForm > button.side-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: auto;
      min-width: 64px;
      max-width: 84px;
      min-height: 36px;
      margin: 0;
      padding: 8px 12px;
      border-radius: 14px !important;
      border: 1px solid rgba(214, 229, 248, 0.16) !important;
      background: linear-gradient(128deg, rgba(31, 42, 60, 0.72), rgba(14, 20, 32, 0.72)) !important;
      color: #d4deed !important;
      box-shadow: none;
      font-size: 13px;
      font-weight: 700;
      line-height: 1.1;
      letter-spacing: 0.02em;
      text-align: center;
      cursor: pointer;
      box-sizing: border-box;
      white-space: nowrap;
      justify-self: end;
      appearance: none;
      -webkit-appearance: none;
      overflow: hidden;
    }

    #standardPricePanel #standardPriceComboRuleForm > button.side-link:hover {
      transform: none;
      border-color: rgba(216, 195, 154, 0.46) !important;
      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);
    }

    #standardPricePanel #standardPriceComboRuleForm > button.side-link:active {
      transform: translateY(1px) scale(0.97) !important;
      border-color: rgba(216, 195, 154, 0.58) !important;
      background: linear-gradient(130deg, rgba(44, 85, 132, 0.82), rgba(20, 45, 76, 0.82)) !important;
      color: #edf4ff !important;
      box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(216, 195, 154, 0.22) !important;
      filter: brightness(0.96) !important;
    }

    #standardPricePanel #standardPriceComboRuleForm .after-sales-message {
      grid-area: status;
      min-width: 0;
      width: auto;
    }

    #standardPricePanel #standardPriceComboRuleForm input {
      width: 100%;
      min-height: 36px;
      border-radius: 10px;
      border: 1px solid rgba(126, 194, 255, 0.28);
      background: rgba(4, 10, 20, 0.72);
      color: #e8f5ff;
      padding: 0 10px;
      outline: none;
      box-sizing: border-box;
    }

    #standardPricePanel #standardPriceComboValue {
      -moz-appearance: textfield;
      appearance: textfield;
    }

    #standardPricePanel #standardPriceComboValue::-webkit-outer-spin-button,
    #standardPricePanel #standardPriceComboValue::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    #standardPricePanel #standardPriceComboRulesTable {
      width: 100%;
      min-width: 0;
      border-collapse: collapse;
      table-layout: fixed;
    }

    #standardPricePanel #standardPriceComboRulesTable th,
    #standardPricePanel #standardPriceComboRulesTable td {
      min-width: 0;
      padding: 8px 6px;
      border-bottom: 1px solid rgba(126, 194, 255, 0.12);
      vertical-align: middle;
      overflow-wrap: anywhere;
      word-break: break-word;
      white-space: normal;
    }

    #standardPricePanel #standardPriceComboRulesTable th:nth-child(1),
    #standardPricePanel #standardPriceComboRulesTable td:nth-child(1) {
      width: 28%;
      padding-left: 8px;
      padding-right: 4px;
    }

    #standardPricePanel #standardPriceComboRulesTable th:nth-child(2),
    #standardPricePanel #standardPriceComboRulesTable td:nth-child(2) {
      width: 22%;
      padding-left: 4px;
      padding-right: 4px;
    }

    #standardPricePanel #standardPriceComboRulesTable th:nth-child(3),
    #standardPricePanel #standardPriceComboRulesTable td:nth-child(3) {
      width: 18%;
      text-align: left !important;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
      overflow-wrap: normal;
      word-break: normal;
    }

    #standardPricePanel #standardPriceComboRulesTable th:nth-child(4),
    #standardPricePanel #standardPriceComboRulesTable td:nth-child(4) {
      width: 32%;
      text-align: center !important;
      padding-left: 4px;
      padding-right: 8px;
    }

    #standardPricePanel #standardPriceComboRulesTable .standard-price-row-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      min-width: 0;
      width: 100%;
      justify-items: center;
    }

    #standardPricePanel #standardPriceComboRulesTable tbody tr.is-search-hit {
      background: rgba(64, 132, 214, 0.16);
    }

    #standardPricePanel #standardPriceComboRulesTable tbody tr.is-search-hit > td {
      color: #eef7ff;
    }

    #standardPricePanel #standardPriceComboRulesTable tbody tr.is-search-hit > td:first-child {
      box-shadow: inset 3px 0 0 rgba(146, 204, 255, 0.95) !important;
    }

    #standardPricePanel .presale-business-toolbar-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    @media (max-width: 1100px) {
      #standardPricePanel .standard-price-card {
        grid-column: span 6;
      }
    }

    @media (max-width: 720px) {
      #standardPricePanel .standard-price-card {
        grid-column: 1 / -1;
      }
    }

