/* Dashboard V2 page-specific styles extracted from dashboard_v2.html. */
.dashboard-v2-stack {
        display: grid;
        gap: 24px;
        min-width: 0;
        max-width: 100%;
    }

    .dashboard-v2-stack > section,
    .dashboard-filter-card,
    .dashboard-table-card,
    .dashboard-table-wrap {
        min-width: 0;
        max-width: 100%;
    }

    .dashboard-section-label {
        display: flex;
        align-items: baseline;
        gap: 10px;
        margin-bottom: 12px;
        min-width: 0;
        flex-wrap: wrap;
    }

    .dashboard-section-label .num {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--momo-text-tertiary);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .dashboard-section-label .num::after {
        display: inline-block;
        width: 56px;
        height: 6px;
        content: "";
        background-image: radial-gradient(circle, var(--momo-text-tertiary) 1px, transparent 1px);
        background-size: 6px 6px;
        opacity: 0.5;
    }

    .dashboard-section-label .title {
        color: var(--momo-text-primary);
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0;
    }

    .dashboard-section-label .meta {
        margin-left: auto;
        color: var(--momo-text-tertiary);
        font-size: 10px;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .dashboard-kpi-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        overflow: hidden;
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border-light);
        border-radius: 8px;
    }

    .dashboard-kpi {
        position: relative;
        min-width: 0;
        padding: 20px 24px;
        overflow: hidden;
        border-right: 1px solid var(--momo-border-light);
    }

    .dashboard-kpi::before {
        position: absolute;
        inset: 0;
        content: "";
        background-image: radial-gradient(circle, rgba(42, 37, 32, 0.12) 1px, transparent 1px);
        background-size: 8px 8px;
        opacity: 0.28;
        pointer-events: none;
    }

    .dashboard-kpi > * {
        position: relative;
    }

    .dashboard-kpi:last-child {
        border-right: 0;
    }

    .dashboard-kpi.is-accent {
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
    }

    .dashboard-kpi.is-accent::before {
        background-image: radial-gradient(circle, rgba(250, 247, 240, 0.18) 1px, transparent 1px);
        opacity: 0.55;
    }

    .dashboard-kpi-label {
        margin-bottom: 10px;
        color: var(--momo-text-tertiary);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.10em;
        text-transform: uppercase;
    }

    .dashboard-kpi.is-accent .dashboard-kpi-label,
    .dashboard-kpi.is-accent .dashboard-kpi-sub {
        color: rgba(250, 247, 240, 0.68);
    }

    .dashboard-kpi-value {
        margin-bottom: 8px;
        color: var(--momo-text-primary);
        font-size: 34px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1;
    }

    .dashboard-kpi-value.is-small {
        font-size: 20px;
        letter-spacing: 0;
        line-height: 1.15;
    }

    .dashboard-kpi-value.is-danger {
        color: var(--momo-danger);
    }

    .dashboard-kpi-value.is-success {
        color: var(--momo-success);
    }

    .dashboard-kpi-value.is-warning {
        color: var(--momo-warning-text);
    }

    .dashboard-kpi.is-accent .dashboard-kpi-value {
        color: var(--momo-text-inverse);
    }

    .dashboard-kpi-sub {
        color: var(--momo-text-secondary);
        font-size: 11px;
    }

    .dashboard-kpi-sub-link {
        color: inherit;
        font-weight: 800;
        text-decoration: none;
    }

    .dashboard-kpi-sub-link:hover {
        color: var(--momo-accent-strong);
    }

    .dashboard-backfill-card {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) minmax(160px, 280px) minmax(240px, 1fr) auto;
        gap: 14px;
        align-items: center;
        min-width: 0;
        margin-top: 12px;
        padding: 14px 16px;
        overflow: hidden;
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border-light);
        border-radius: 8px;
    }

    .dashboard-backfill-card[data-status="running"] {
        border-color: rgba(190, 106, 45, 0.36);
        box-shadow: inset 3px 0 0 var(--momo-warm-caramel);
    }

    .dashboard-backfill-card[data-status="failed"],
    .dashboard-backfill-card[data-status="stale"] {
        border-color: rgba(188, 75, 49, 0.32);
        box-shadow: inset 3px 0 0 var(--momo-danger);
    }

    .dashboard-backfill-main {
        min-width: 0;
    }

    .dashboard-backfill-label {
        margin-bottom: 3px;
        color: var(--momo-text-tertiary);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.10em;
    }

    .dashboard-backfill-title {
        color: var(--momo-text-primary);
        font-size: 15px;
        font-weight: 800;
        line-height: 1.25;
    }

    .dashboard-backfill-meta,
    .dashboard-backfill-status {
        min-width: 0;
        color: var(--momo-text-secondary);
        font-size: 11px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .dashboard-backfill-progress {
        position: relative;
        width: 100%;
        height: 8px;
        overflow: hidden;
        background: rgba(42, 37, 32, 0.08);
        border: 1px solid rgba(42, 37, 32, 0.08);
        border-radius: 999px;
    }

    .dashboard-backfill-progress span {
        position: absolute;
        inset: 0 auto 0 0;
        width: 0%;
        background: linear-gradient(90deg, var(--momo-warm-caramel), var(--momo-success));
        transition: width 240ms ease;
    }

    .dashboard-backfill-card[data-status="failed"] .dashboard-backfill-progress span,
    .dashboard-backfill-card[data-status="stale"] .dashboard-backfill-progress span {
        background: linear-gradient(90deg, var(--momo-danger), var(--momo-warm-rust));
    }

    .dashboard-backfill-status {
        display: grid;
        gap: 2px;
    }

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

    .dashboard-focus-card,
    .dashboard-filter-card,
    .dashboard-table-card {
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border-light);
        border-radius: 8px;
    }

    .dashboard-focus-card {
        min-width: 0;
        padding: 18px;
    }

    .dashboard-focus-label {
        margin-bottom: 8px;
        color: var(--momo-text-tertiary);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.10em;
        text-transform: uppercase;
    }

    .dashboard-focus-title {
        margin-bottom: 4px;
        color: var(--momo-text-primary);
        font-size: 16px;
        font-weight: 800;
        line-height: 1.35;
    }

    .dashboard-focus-number {
        margin-bottom: 6px;
        color: var(--momo-danger);
        font-size: 24px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1;
    }

    .dashboard-focus-sub {
        color: var(--momo-text-secondary);
        font-size: 11px;
    }

    .dashboard-focus-list {
        display: grid;
        gap: 10px;
    }

    .dashboard-focus-row {
        display: grid;
        gap: 5px;
        padding: 10px 0;
        border-top: 1px solid var(--momo-border-light);
    }

    .dashboard-focus-row:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .dashboard-focus-row-title {
        display: -webkit-box;
        overflow: hidden;
        color: var(--momo-text-primary);
        font-size: 13px;
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dashboard-focus-row-title:hover {
        color: var(--momo-accent-strong);
    }

    .dashboard-focus-row-meta,
    .dashboard-focus-row-links {
        display: flex;
        align-items: center;
        gap: 7px;
        flex-wrap: wrap;
        color: var(--momo-text-secondary);
        font-size: 11px;
    }

    .dashboard-focus-chip {
        display: inline-flex;
        align-items: center;
        padding: 2px 7px;
        border-radius: var(--momo-radius-pill);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
        white-space: nowrap;
    }

    .dashboard-focus-chip.is-win {
        color: var(--momo-success);
        background: rgba(55, 136, 88, 0.10);
        border: 1px solid rgba(55, 136, 88, 0.18);
    }

    .dashboard-focus-chip.is-risk {
        color: var(--momo-danger);
        background: rgba(191, 72, 61, 0.10);
        border: 1px solid rgba(191, 72, 61, 0.18);
    }

    .dashboard-focus-chip.is-neutral {
        color: var(--momo-text-secondary);
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
    }

    .dashboard-focus-chip.is-review {
        color: var(--momo-warning-text);
        background: var(--momo-warning-bg);
        border: 1px solid rgba(161, 111, 35, 0.24);
    }

    .dashboard-focus-action {
        display: inline-flex;
        width: fit-content;
        align-items: center;
        margin-top: 12px;
        padding: 6px 10px;
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
        border: 1px solid var(--momo-ink);
        border-radius: 4px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
    }

    .dashboard-focus-action:hover {
        color: var(--momo-text-inverse);
        background: var(--momo-ink-soft);
    }

    .dashboard-filter-card {
        padding: 12px 16px;
    }

    .dashboard-filter-form {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .dashboard-search,
    .dashboard-select {
        min-height: 34px;
        color: var(--momo-text-primary);
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border);
        border-radius: 4px;
        font-size: 12px;
    }

    .dashboard-search {
        width: min(320px, 100%);
        padding: 7px 12px;
    }

    .dashboard-select {
        min-width: 160px;
        padding: 7px 12px;
    }

    .dashboard-segmented {
        display: inline-flex;
        padding: 2px;
        gap: 0;
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
        border-radius: 4px;
    }

    .dashboard-segmented a {
        padding: 5px 12px;
        color: var(--momo-text-secondary);
        border-radius: 3px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
        transition: var(--momo-transition-base);
    }

    .dashboard-segmented a:hover {
        color: var(--momo-text-primary);
        background: var(--momo-bg-subtle);
    }

    .dashboard-segmented a.is-active {
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
    }

    .dashboard-review-segments {
        display: flex;
        gap: 8px;
        padding: 12px 20px;
        overflow-x: auto;
        border-bottom: 1px solid var(--momo-border-light);
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-review-segments a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        min-height: 30px;
        padding: 6px 10px;
        color: var(--momo-text-secondary);
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
        border-radius: 4px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
    }

    .dashboard-review-segments a.is-active {
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
        border-color: var(--momo-ink);
    }

    .dashboard-review-segments a.is-active .momo-mono {
        color: rgba(250, 247, 240, 0.72);
    }

    .dashboard-action-link,
    .dashboard-action-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 30px;
        padding: 6px 12px;
        color: var(--momo-text-primary);
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border);
        border-radius: 4px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
        transition: var(--momo-transition-base);
    }

    .dashboard-action-button.is-primary {
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
        border-color: var(--momo-ink);
    }

    .dashboard-action-link:hover,
    .dashboard-action-button:hover {
        color: var(--momo-text-primary);
        background: var(--momo-bg-subtle);
    }

    .dashboard-action-button.is-primary:hover {
        color: var(--momo-text-inverse);
        background: var(--momo-ink-soft);
    }

    .dashboard-table-head {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        border-bottom: 1px solid var(--momo-border-light);
        flex-wrap: wrap;
    }

    .dashboard-section-index {
        color: var(--momo-text-tertiary);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .dashboard-table-title {
        color: var(--momo-text-primary);
        font-size: 14px;
        font-weight: 800;
    }

    .dashboard-table-meta {
        color: var(--momo-text-secondary);
        font-size: 11px;
    }

    .dashboard-ai-summary-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        border-bottom: 1px solid var(--momo-border-light);
    }

    .dashboard-ai-summary-item {
        min-width: 0;
        padding: 14px 18px;
        border-right: 1px solid var(--momo-border-light);
    }

    .dashboard-ai-summary-item:last-child {
        border-right: 0;
    }

    .dashboard-ai-summary-label {
        margin-bottom: 5px;
        color: var(--momo-text-tertiary);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
    }

    .dashboard-ai-summary-value {
        color: var(--momo-text-primary);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.15;
    }

    .dashboard-ai-summary-sub {
        margin-top: 4px;
        color: var(--momo-text-secondary);
        font-size: 11px;
    }

    .dashboard-table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dashboard-table {
        width: 100%;
        min-width: 1260px;
        border-collapse: collapse;
        font-size: var(--momo-font-size-sm);
    }

    .dashboard-table.is-ai-picks {
        min-width: 1460px;
    }

    .dashboard-table.is-review {
        min-width: 1460px;
    }

    .dashboard-table th {
        padding: 11px 14px;
        color: var(--momo-text-tertiary);
        background: var(--momo-bg-paper);
        border-bottom: 1px solid var(--momo-border-light);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.10em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .dashboard-table th a {
        color: inherit;
        text-decoration: none;
    }

    .dashboard-table td {
        padding: 14px;
        border-bottom: 1px solid var(--momo-border-light);
        vertical-align: middle;
    }

    .dashboard-table tbody tr {
        transition: var(--momo-transition-base);
    }

    .dashboard-table tbody tr:hover {
        background: var(--momo-bg-paper);
    }

    .dashboard-table tbody tr.is-history-enabled {
        cursor: pointer;
    }

    .dashboard-category {
        display: inline-flex;
        max-width: 120px;
        padding: 3px 8px;
        overflow: hidden;
        color: var(--momo-text-primary);
        background: var(--momo-bg-subtle);
        border: 1px solid var(--momo-border-light);
        border-radius: var(--momo-radius-pill);
        font-size: 11px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-product-cell {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .dashboard-product-thumb {
        width: 52px;
        height: 52px;
        flex: 0 0 auto;
        object-fit: cover;
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
        border-radius: 6px;
    }

    .dashboard-product-name {
        display: -webkit-box;
        overflow: hidden;
        color: var(--momo-text-primary);
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .dashboard-product-name:hover {
        color: var(--momo-accent);
    }

    .dashboard-product-id {
        margin-top: 4px;
        color: var(--momo-text-tertiary);
        font-size: 11px;
    }

    .dashboard-platform-links {
        display: flex;
        gap: 6px;
        margin-top: 6px;
        flex-wrap: wrap;
    }

    .dashboard-platform-link,
    .dashboard-platform-muted,
    .dashboard-platform-status {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 2px 7px;
        border-radius: var(--momo-radius-pill);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
        text-decoration: none;
    }

    .dashboard-platform-link.is-momo {
        color: var(--momo-text-primary);
        background: var(--momo-bg-subtle);
        border: 1px solid var(--momo-border-light);
    }

    .dashboard-platform-link.is-pchome {
        color: var(--momo-accent-strong);
        background: var(--momo-accent-soft);
        border: 1px solid rgba(190, 106, 45, 0.24);
    }

    .dashboard-platform-muted {
        color: var(--momo-text-tertiary);
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
    }

    .dashboard-platform-status,
    .dashboard-match-state {
        color: var(--momo-text-secondary);
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
    }

    .dashboard-platform-status.is-watch,
    .dashboard-match-state.is-watch {
        color: var(--momo-warning-text);
        background: var(--momo-warning-bg);
        border-color: rgba(161, 111, 35, 0.22);
    }

    .dashboard-platform-status.is-risk,
    .dashboard-match-state.is-risk {
        color: var(--momo-danger);
        background: rgba(191, 72, 61, 0.10);
        border-color: rgba(191, 72, 61, 0.20);
    }

    .dashboard-platform-status.is-win,
    .dashboard-match-state.is-win {
        color: var(--momo-success);
        background: rgba(55, 136, 88, 0.10);
        border-color: rgba(55, 136, 88, 0.18);
    }

    .dashboard-price {
        color: var(--momo-text-primary);
        font-size: 16px;
        font-weight: 800;
    }

    .dashboard-price-sub {
        margin-top: 3px;
        color: var(--momo-text-tertiary);
        font-size: 10px;
    }

    .dashboard-muted {
        color: var(--momo-text-tertiary);
    }

    .dashboard-match-state {
        display: inline-flex;
        justify-content: flex-end;
        padding: 3px 8px;
        border-radius: var(--momo-radius-pill);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
    }

    .dashboard-candidate-link {
        display: inline-flex;
        width: fit-content;
        text-decoration: none;
        color: var(--momo-accent-strong);
    }

    .dashboard-table-time {
        color: var(--momo-text-secondary);
    }

    .dashboard-pchome-price {
        color: var(--momo-accent-strong);
        font-size: 16px;
        font-weight: 800;
    }

    .dashboard-competition-card {
        display: grid;
        gap: 4px;
        min-width: 130px;
    }

    .dashboard-competition-badge {
        display: inline-flex;
        width: fit-content;
        align-items: center;
        padding: 3px 8px;
        border-radius: var(--momo-radius-pill);
        font-size: 11px;
        font-weight: 800;
    }

    .dashboard-competition-badge.is-win {
        color: var(--momo-success);
        background: rgba(55, 136, 88, 0.10);
        border: 1px solid rgba(55, 136, 88, 0.18);
    }

    .dashboard-competition-badge.is-risk {
        color: var(--momo-danger);
        background: rgba(191, 72, 61, 0.10);
        border: 1px solid rgba(191, 72, 61, 0.18);
    }

    .dashboard-competition-badge.is-watch {
        color: var(--momo-warning-text);
        background: var(--momo-warning-bg);
        border: 1px solid rgba(161, 111, 35, 0.18);
    }

    .dashboard-competition-badge.is-neutral {
        color: var(--momo-text-secondary);
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border-light);
    }

    .dashboard-competition-meta {
        color: var(--momo-text-tertiary);
        font-size: 10px;
        line-height: 1.5;
    }

    .dashboard-ai-pick-card {
        display: grid;
        min-width: 170px;
        gap: 6px;
    }

    .dashboard-ai-pick-head {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }

    .dashboard-ai-pick-rank {
        display: inline-flex;
        align-items: center;
        padding: 3px 8px;
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
        border-radius: var(--momo-radius-pill);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
    }

    .dashboard-ai-pick-confidence {
        color: var(--momo-success);
        font-family: var(--momo-font-family-mono);
        font-size: 11px;
        font-weight: 800;
    }

    .dashboard-ai-pick-confidence.is-needs-evidence {
        color: var(--momo-warning-text);
    }

    .dashboard-ai-pick-confidence.is-medium {
        color: var(--momo-accent-strong);
    }

    .dashboard-ai-evidence-line {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
        color: var(--momo-text-tertiary);
        font-family: var(--momo-font-family-mono);
        font-size: 10px;
        font-weight: 800;
    }

    .dashboard-ai-evidence-chip {
        display: inline-flex;
        max-width: 180px;
        align-items: center;
        padding: 2px 7px;
        overflow: hidden;
        color: var(--momo-warning-text);
        background: var(--momo-warning-bg);
        border: 1px solid rgba(161, 111, 35, 0.18);
        border-radius: var(--momo-radius-pill);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-ai-pick-reason {
        display: -webkit-box;
        overflow: hidden;
        color: var(--momo-text-secondary);
        font-size: 11px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .dashboard-review-card {
        display: grid;
        min-width: 190px;
        gap: 6px;
    }

    .dashboard-review-reasons {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        min-width: 0;
    }

    .dashboard-review-reasons span {
        display: inline-flex;
        align-items: center;
        max-width: 130px;
        min-height: 20px;
        padding: 2px 7px;
        overflow: hidden;
        color: var(--momo-accent-strong);
        background: rgba(188, 117, 48, 0.08);
        border: 1px solid rgba(188, 117, 48, 0.22);
        border-radius: var(--momo-radius-pill);
        font-size: 10px;
        font-weight: 800;
        line-height: 1.2;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dashboard-review-note {
        color: var(--momo-warning-text);
        font-size: 10px;
        font-weight: 800;
        line-height: 1.45;
    }

    .dashboard-review-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
    }

    .dashboard-review-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 26px;
        padding: 4px 8px;
        color: var(--momo-text-secondary);
        background: var(--momo-bg-paper);
        border: 1px solid var(--momo-border);
        border-radius: 4px;
        font-size: 10px;
        font-weight: 800;
        line-height: 1.2;
        transition: var(--momo-transition-base);
    }

    .dashboard-review-action:hover {
        color: var(--momo-text-primary);
        background: var(--momo-bg-subtle);
    }

    .dashboard-review-action.is-accept {
        color: var(--momo-text-inverse);
        background: var(--momo-success);
        border-color: var(--momo-success);
    }

    .dashboard-review-action.is-accept:hover {
        color: var(--momo-text-inverse);
        filter: brightness(0.94);
    }

    .dashboard-review-action.is-research {
        color: var(--momo-accent-strong);
        border-color: rgba(188, 117, 48, 0.42);
        background: rgba(188, 117, 48, 0.08);
    }

    .dashboard-review-action.is-research:hover {
        color: var(--momo-text-inverse);
        background: var(--momo-accent-strong);
        border-color: var(--momo-accent-strong);
    }

    .dashboard-review-action:disabled {
        cursor: wait;
        opacity: 0.58;
    }

    .dashboard-history-button {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        width: 100%;
        padding: 0;
        color: var(--momo-text-primary);
        background: transparent;
        border: 0;
        font: inherit;
        text-align: right;
    }

    .dashboard-history-button:hover {
        color: var(--momo-accent-strong);
    }

    .dashboard-history-button i {
        color: var(--momo-accent-strong);
        font-size: 12px;
    }

    .dashboard-change-up {
        color: var(--momo-danger);
        font-weight: 800;
    }

    .dashboard-change-down {
        color: var(--momo-success);
        font-weight: 800;
    }

    .dashboard-empty {
        padding: 48px 16px;
        color: var(--momo-text-secondary);
        text-align: center;
    }

    .dashboard-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 18px 20px;
    }

    .dashboard-history-modal .modal-content {
        overflow: hidden;
        color: var(--momo-text-primary);
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border-light);
        border-radius: 8px;
        box-shadow: var(--momo-shadow-lg);
    }

    .dashboard-history-modal .modal-header {
        align-items: flex-start;
        gap: 14px;
        padding: 18px 20px;
        background: var(--momo-bg-paper);
        border-bottom: 1px solid var(--momo-border-light);
    }

    .dashboard-history-modal .modal-title {
        color: var(--momo-text-primary);
        font-size: 18px;
        font-weight: 800;
        line-height: 1.45;
    }

    .dashboard-history-subtitle {
        margin-top: 4px;
        color: var(--momo-text-tertiary);
        font-size: 11px;
        font-weight: 700;
    }

    .dashboard-history-modal .modal-body {
        padding: 20px;
    }

    .dashboard-chart-shell {
        position: relative;
        min-height: 360px;
    }

    .dashboard-chart-state {
        display: grid;
        min-height: 360px;
        color: var(--momo-text-secondary);
        place-items: center;
        text-align: center;
    }

    .dashboard-chart-state.is-hidden,
    .dashboard-chart-canvas.is-hidden {
        display: none;
    }

    .dashboard-chart-canvas {
        max-height: 380px;
    }

    .dashboard-history-range {
        display: inline-flex;
        padding: 2px;
        margin-top: 10px;
        gap: 0;
        background: var(--momo-bg-surface);
        border: 1px solid var(--momo-border-light);
        border-radius: 4px;
    }

    .dashboard-history-range button {
        padding: 5px 10px;
        color: var(--momo-text-secondary);
        background: transparent;
        border: 0;
        border-radius: 3px;
        font-size: 12px;
        font-weight: 800;
    }

    .dashboard-history-range button.is-active {
        color: var(--momo-text-inverse);
        background: var(--momo-ink);
    }

    @media (max-width: 980px) {
        .dashboard-kpi-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .dashboard-ai-summary-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .dashboard-ai-summary-item:nth-child(2n) {
            border-right: 0;
        }

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

        .dashboard-kpi:nth-child(3),
        .dashboard-kpi:nth-child(6) {
            border-right: 0;
        }
    }

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

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

        .dashboard-ai-summary-item {
            border-right: 0;
            border-bottom: 1px solid var(--momo-border-light);
        }

        .dashboard-ai-summary-item:last-child {
            border-bottom: 0;
        }

        .dashboard-kpi {
            padding: 14px;
            border-right: 1px solid var(--momo-border-light);
            border-bottom: 1px solid var(--momo-border-light);
        }

        .dashboard-kpi:nth-child(2n) {
            border-right: 0;
        }

        .dashboard-kpi:nth-last-child(-n + 2) {
            border-bottom: 0;
        }

        .dashboard-kpi.is-accent {
            color: var(--momo-text-primary);
            background: var(--momo-bg-surface);
            border-left: 3px solid var(--momo-ink);
        }

        .dashboard-kpi.is-accent .dashboard-kpi-label,
        .dashboard-kpi.is-accent .dashboard-kpi-sub {
            color: var(--momo-text-tertiary);
        }

        .dashboard-kpi.is-accent .dashboard-kpi-value {
            color: var(--momo-text-primary);
        }

        .dashboard-kpi-label {
            margin-bottom: 7px;
            font-size: 9px;
            letter-spacing: 0.06em;
        }

        .dashboard-kpi-value {
            margin-bottom: 6px;
            font-size: 24px;
        }

        .dashboard-kpi-value.is-small {
            font-size: 14px;
        }

        .dashboard-kpi-sub {
            font-size: 10px;
            line-height: 1.35;
        }

        .dashboard-backfill-card {
            grid-template-columns: 1fr;
            gap: 10px;
            padding: 14px;
        }

        .dashboard-backfill-card .dashboard-action-button {
            width: 100%;
        }

        .dashboard-search,
        .dashboard-select,
        .dashboard-segmented {
            width: 100%;
        }

        .dashboard-segmented {
            overflow-x: auto;
        }

        .dashboard-table-wrap::before {
            content: '左右滑動查看完整商品列表';
            position: sticky;
            left: 0;
            display: block;
            width: fit-content;
            max-width: calc(100vw - 28px);
            margin: 0 0 8px;
            padding: 6px 9px;
            color: var(--momo-text-secondary);
            background: var(--momo-bg-paper);
            border: 1px solid var(--momo-border-light);
            border-radius: 4px;
            font-size: 12px;
            font-weight: 700;
        }
    }
