/* Dashboard V2 page-specific styles extracted from dashboard_v2.html. */ .dashboard-v2-stack { display: grid; gap: 24px; min-width: 0; max-width: 100%; } .growth-command-center { display: grid; gap: 14px; min-width: 0; } .growth-command-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; min-width: 0; padding: 18px 20px; background: var(--momo-bg-surface); border: 1px solid var(--momo-border-light); border-radius: 8px; } .growth-command-title { margin: 6px 0 0; color: var(--momo-text-primary); font-family: var(--momo-font-display); font-size: clamp(1.35rem, 2vw, 2rem); font-weight: 900; letter-spacing: 0; line-height: 1.16; } .growth-command-status { display: grid; gap: 4px; min-width: 168px; padding: 12px 14px; background: color-mix(in srgb, var(--momo-bg-paper) 88%, transparent); border: 1px solid var(--momo-border-light); border-radius: 8px; text-align: right; } .growth-command-status span, .growth-kpi-label, .growth-panel-head span, .growth-product-id { color: var(--momo-text-tertiary); font-size: 10px; font-weight: 900; letter-spacing: 0.06em; } .growth-command-status strong { color: var(--momo-text-primary); font-family: var(--momo-font-mono); font-size: 1rem; font-weight: 900; } .growth-command-status.is-danger strong { color: var(--momo-danger); } .growth-command-status.is-warning strong { color: var(--momo-warning-text); } .growth-command-status.is-success strong { color: var(--momo-success); } .growth-command-kpis { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 10px; min-width: 0; } .growth-command-kpi, .growth-priority-panel, .growth-strategy-panel, .growth-opportunity-panel { min-width: 0; background: var(--momo-bg-surface); border: 1px solid var(--momo-border-light); border-radius: 8px; box-shadow: var(--momo-shadow-soft); } .growth-command-kpi { display: grid; align-content: start; gap: 8px; min-height: 132px; padding: 15px; } .growth-kpi-value { overflow-wrap: anywhere; color: var(--momo-text-primary); font-size: 1.82rem; font-weight: 900; letter-spacing: 0; line-height: 1.05; } .growth-kpi-value.is-text { font-family: var(--momo-font-display); font-size: 1.1rem; line-height: 1.25; } .growth-command-kpi em, .growth-task em, .growth-strategy-lane em { color: var(--momo-text-secondary); font-size: 11px; font-style: normal; font-weight: 800; line-height: 1.35; } .growth-bar-stack { display: grid; gap: 7px; margin-top: 4px; } .growth-bar-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; align-items: center; color: var(--momo-text-secondary); font-size: 11px; font-weight: 800; } .growth-bar-row i, .growth-progress { display: block; overflow: hidden; height: 9px; background: color-mix(in srgb, var(--momo-border-light) 70%, transparent); border-radius: 999px; } .growth-bar-row b, .growth-progress span { display: block; height: 100%; min-width: 2px; background: var(--momo-warm-caramel); border-radius: inherit; } .growth-bar-row.is-muted b { background: color-mix(in srgb, var(--momo-ink) 42%, var(--momo-border-light)); } .growth-command-grid { display: grid; grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.35fr); gap: 12px; min-width: 0; } .growth-priority-panel, .growth-strategy-panel, .growth-opportunity-panel { padding: 14px; } .growth-panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 10px; } .growth-panel-head strong { color: var(--momo-text-primary); font-size: 14px; font-weight: 900; } .growth-task-list { display: grid; gap: 8px; } .growth-task { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px 10px; align-items: center; min-height: 66px; width: 100%; padding: 10px 12px; color: var(--momo-text-primary); background: color-mix(in srgb, var(--momo-bg-paper) 78%, transparent); border: 1px solid var(--momo-border-light); border-radius: 8px; text-align: left; text-decoration: none; } button.growth-task { cursor: pointer; } .growth-task:hover, .growth-task:focus { color: var(--momo-text-primary); border-color: color-mix(in srgb, var(--momo-warm-rust) 34%, var(--momo-border-light)); background: var(--momo-bg-surface); } .growth-task span { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: var(--momo-warm-rust); background: rgba(172, 92, 58, 0.12); border-radius: 999px; font-size: 11px; font-weight: 900; } .growth-task strong { min-width: 0; overflow: hidden; color: var(--momo-text-primary); font-size: 13px; font-weight: 900; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; } .growth-task b { grid-row: span 2; align-self: center; padding: 7px 10px; color: var(--momo-text-primary); background: var(--momo-bg-surface); border: 1px solid var(--momo-border-light); border-radius: 7px; font-size: 11px; font-weight: 900; white-space: nowrap; } .growth-task.is-danger { box-shadow: inset 3px 0 0 var(--momo-danger); } .growth-task.is-warning { box-shadow: inset 3px 0 0 var(--momo-warning); } .growth-task.is-success { box-shadow: inset 3px 0 0 var(--momo-success); } .growth-task.is-loading { opacity: 0.78; } .growth-backfill-status { margin-top: 9px; padding: 8px 10px; color: var(--momo-text-secondary); background: color-mix(in srgb, var(--momo-bg-paper) 72%, transparent); border: 1px solid var(--momo-border-light); border-radius: 8px; font-size: 11px; font-weight: 900; line-height: 1.35; } .growth-backfill-status.is-success { color: var(--momo-success); border-color: rgba(48, 133, 94, 0.24); background: rgba(235, 248, 241, 0.72); } .growth-backfill-status.is-warning { color: var(--momo-warning-text); border-color: rgba(210, 158, 58, 0.34); background: rgba(255, 248, 231, 0.72); } .growth-backfill-status.is-danger { color: var(--momo-danger); border-color: rgba(188, 75, 49, 0.32); background: rgba(255, 244, 239, 0.72); } .growth-strategy-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .growth-strategy-lane { display: grid; gap: 7px; min-height: 118px; padding: 12px; background: color-mix(in srgb, var(--momo-bg-paper) 76%, transparent); border: 1px solid var(--momo-border-light); border-radius: 8px; } .growth-strategy-lane span { color: var(--momo-text-secondary); font-size: 12px; font-weight: 900; } .growth-strategy-lane strong { color: var(--momo-text-primary); font-size: 1.72rem; font-weight: 900; line-height: 1; } .growth-strategy-lane.is-danger { border-color: rgba(188, 75, 49, 0.32); background: rgba(255, 244, 239, 0.72); } .growth-strategy-lane.is-success { border-color: rgba(48, 133, 94, 0.24); background: rgba(235, 248, 241, 0.72); } .growth-strategy-lane.is-warning { border-color: rgba(210, 158, 58, 0.34); background: rgba(255, 248, 231, 0.72); } .growth-opportunity-table-wrap { overflow-x: auto; } .growth-opportunity-table { width: 100%; min-width: 820px; border-collapse: collapse; } .growth-opportunity-table th, .growth-opportunity-table td { padding: 11px 10px; border-bottom: 1px solid var(--momo-border-light); vertical-align: middle; } .growth-opportunity-table th { color: var(--momo-text-tertiary); font-size: 11px; font-weight: 900; text-align: left; } .growth-product-name { display: block; max-width: 420px; overflow: hidden; color: var(--momo-text-primary); font-size: 13px; font-weight: 900; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; } .growth-product-id { display: block; margin-top: 3px; } .growth-delta, .growth-compare-pill, .growth-action-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 5px 8px; border: 1px solid var(--momo-border-light); border-radius: 999px; background: var(--momo-bg-paper); color: var(--momo-text-primary); font-size: 11px; font-weight: 900; white-space: nowrap; } .growth-delta.is-down, .growth-compare-pill.is-risk { border-color: rgba(188, 75, 49, 0.28); background: rgba(255, 244, 239, 0.86); color: var(--momo-danger); } .growth-delta.is-up, .growth-compare-pill.is-win { border-color: rgba(48, 133, 94, 0.24); background: rgba(235, 248, 241, 0.86); color: var(--momo-success); } .growth-compare-pill.is-missing { border-color: rgba(210, 158, 58, 0.32); background: rgba(255, 248, 231, 0.9); color: var(--momo-warning-text); } .growth-empty { color: var(--momo-text-secondary); font-size: 13px; font-weight: 800; text-align: center; } .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(5, 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: 1.85rem; 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-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 10px; } .dashboard-kpi-metrics span, .dashboard-kpi-metrics a { display: grid; gap: 2px; min-width: 0; padding: 6px 8px; color: var(--momo-text-secondary); background: color-mix(in srgb, var(--momo-bg-paper) 86%, transparent); border: 1px solid var(--momo-border-light); border-radius: 6px; text-decoration: none; } .dashboard-kpi-metrics em { overflow: hidden; color: var(--momo-text-tertiary); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; } .dashboard-kpi-metrics strong { overflow: hidden; color: var(--momo-text-primary); font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; } .dashboard-kpi.is-accent .dashboard-kpi-metrics span, .dashboard-kpi.is-accent .dashboard-kpi-metrics a { color: rgba(250, 247, 240, 0.76); background: rgba(250, 247, 240, 0.08); border-color: rgba(250, 247, 240, 0.16); } .dashboard-kpi.is-accent .dashboard-kpi-metrics em, .dashboard-kpi.is-accent .dashboard-kpi-metrics strong { color: rgba(250, 247, 240, 0.86); } .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-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; } .dashboard-backfill-pills span { display: inline-flex; align-items: center; gap: 4px; min-height: 22px; padding: 3px 7px; color: var(--momo-text-secondary); background: var(--momo-bg-paper); border: 1px solid var(--momo-border-light); border-radius: var(--momo-radius-pill); font-size: 10px; font-weight: 800; white-space: nowrap; } .dashboard-backfill-pills strong { color: var(--momo-text-primary); font-weight: 800; } .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: var(--momo-warm-caramel); 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: var(--momo-danger); } .dashboard-backfill-status { display: grid; gap: 2px; } .dashboard-backfill-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; min-width: 0; } .dashboard-decision-workbench { display: grid; grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr); gap: 12px; margin-top: 12px; padding: 14px 16px; background: var(--momo-bg-surface); border: 1px solid var(--momo-border-light); border-radius: 8px; } .dashboard-decision-workbench__head { display: grid; gap: 4px; align-content: start; min-width: 0; } .dashboard-decision-workbench__head strong { color: var(--momo-text-primary); font-size: 15px; font-weight: 800; line-height: 1.25; } .dashboard-decision-workbench__head em { color: var(--momo-text-secondary); font-size: 11px; font-style: normal; line-height: 1.5; } .dashboard-decision-lanes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; min-width: 0; } .dashboard-decision-lane { display: grid; grid-template-rows: auto auto 1fr; gap: 5px; min-width: 0; min-height: 112px; padding: 10px; color: var(--momo-text-primary); background: var(--momo-bg-paper); border: 1px solid var(--momo-border-light); border-radius: 8px; text-align: left; text-decoration: none; transition: var(--momo-transition-base); } button.dashboard-decision-lane { font: inherit; cursor: pointer; } .dashboard-decision-lane:hover { color: var(--momo-text-primary); border-color: rgba(190, 106, 45, 0.38); background: color-mix(in srgb, var(--momo-warm-caramel) 8%, var(--momo-bg-paper)); } .dashboard-decision-lane span { color: var(--momo-text-tertiary); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; } .dashboard-decision-lane strong { color: var(--momo-text-primary); font-size: 13px; font-weight: 800; line-height: 1.25; } .dashboard-decision-lane em { display: -webkit-box; overflow: hidden; color: var(--momo-text-secondary); font-size: 11px; font-style: normal; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .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: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; padding: 12px 20px; overflow: visible; border-bottom: 1px solid var(--momo-border-light); } .dashboard-review-segments a { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; min-height: 30px; padding: 6px 10px; overflow: hidden; 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 span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .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: 1540px; table-layout: fixed; } .dashboard-table.is-review th:nth-child(1) { width: 120px; } .dashboard-table.is-review th:nth-child(2) { width: 340px; } .dashboard-table.is-review th:nth-child(3) { width: 360px; } .dashboard-table.is-review th:nth-child(4) { width: 330px; } .dashboard-table.is-review th:nth-child(5) { width: 250px; } .dashboard-table.is-review th:nth-child(6) { width: 140px; } .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.is-review th { position: sticky; top: 0; z-index: 2; box-shadow: 0 1px 0 var(--momo-border-light); } .dashboard-table.is-review td { padding: 16px 14px; } .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-workbench-row td { vertical-align: top; } .dashboard-table.is-review .dashboard-product-cell { align-items: flex-start; } .dashboard-table.is-review .dashboard-product-thumb { width: 46px; height: 46px; } .dashboard-table.is-review .dashboard-product-name { -webkit-line-clamp: 3; } .dashboard-review-workbench-row:hover { background: radial-gradient(circle at 8px 8px, rgba(47, 43, 38, 0.06) 1px, transparent 1.4px), var(--momo-bg-paper); background-size: 16px 16px, auto; } .dashboard-review-product-stack, .dashboard-review-candidate, .dashboard-review-decision, .dashboard-review-next-step, .dashboard-review-record { display: grid; gap: 7px; min-width: 0; } .dashboard-review-product-meta, .dashboard-review-candidate-meta, .dashboard-review-record-tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; color: var(--momo-text-tertiary); font-family: var(--momo-font-family-mono); font-size: 10px; font-weight: 800; line-height: 1.35; } .dashboard-review-product-meta span, .dashboard-review-candidate-meta span, .dashboard-review-record-tags span { display: inline-flex; max-width: 100%; align-items: center; padding: 2px 7px; overflow: hidden; background: var(--momo-bg-paper); border: 1px solid var(--momo-border-light); border-radius: var(--momo-radius-pill); text-overflow: ellipsis; white-space: nowrap; } .dashboard-review-candidate-title { display: -webkit-box; overflow: hidden; color: var(--momo-text-primary); font-size: 13px; font-weight: 800; line-height: 1.45; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .dashboard-review-candidate-title:hover { color: var(--momo-accent-strong); } .dashboard-review-decision-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; } .dashboard-review-next-title { color: var(--momo-text-primary); font-size: 12px; font-weight: 900; line-height: 1.35; } .dashboard-review-record { justify-items: end; color: var(--momo-text-secondary); font-size: 11px; line-height: 1.45; } .dashboard-review-record-tags { justify-content: flex-end; } .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-envelope { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; } .dashboard-review-envelope span { display: inline-flex; align-items: center; min-height: 20px; padding: 2px 7px; color: var(--momo-text-primary); background: rgba(54, 73, 93, 0.07); border: 1px solid rgba(54, 73, 93, 0.18); border-radius: var(--momo-radius-pill); font-size: 10px; font-weight: 800; line-height: 1.2; text-transform: uppercase; } .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) { .growth-command-head { align-items: stretch; flex-direction: column; } .growth-command-status { min-width: 0; text-align: left; } .growth-command-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .growth-command-grid { grid-template-columns: 1fr; } .growth-strategy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dashboard-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .dashboard-decision-workbench { grid-template-columns: 1fr; } .dashboard-decision-lanes { 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) { .growth-command-kpis, .growth-strategy-grid, .dashboard-kpi-grid, .dashboard-ai-summary-grid { grid-template-columns: 1fr; } .growth-command-head, .growth-priority-panel, .growth-strategy-panel, .growth-opportunity-panel { padding: 12px; } .growth-command-title { font-size: 1.28rem; } .growth-task { grid-template-columns: 32px minmax(0, 1fr); } .growth-task b { grid-column: 2; grid-row: auto; width: fit-content; } .growth-task strong { white-space: normal; } .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: 1px solid var(--momo-border-light); } .dashboard-kpi:last-child { grid-column: 1 / -1; 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.is-accent .dashboard-kpi-metrics span, .dashboard-kpi.is-accent .dashboard-kpi-metrics a { color: var(--momo-text-secondary); background: var(--momo-bg-paper); border-color: var(--momo-border-light); } .dashboard-kpi.is-accent .dashboard-kpi-metrics em { color: var(--momo-text-tertiary); } .dashboard-kpi.is-accent .dashboard-kpi-metrics strong { 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-backfill-actions { width: 100%; } .dashboard-decision-lanes { grid-template-columns: 1fr; } .dashboard-decision-lane { min-height: auto; } .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; } }