.finance-workspace { min-height: 100%; padding: 32px; color: var(--lp-ink); background: var(--lp-wash); font: 400 var(--lp-fs-sm)/var(--lp-lh) "Inter", sans-serif; } .finance-header, .finance-kpi-topline, .finance-kpi-actions, .finance-source-fact, .finance-source-actions, .finance-drawer > header { display: flex; align-items: center; } .finance-header { justify-content: space-between; gap: 24px; margin: 0 0 24px; } .finance-header h1, .finance-source-section h2, .finance-drawer h2, .finance-kpi h2 { margin: 0; line-height: var(--lp-lh-tight); } .finance-header h1 { font-size: var(--lp-fs-lg); } .finance-header p { max-width: 64ch; margin: 6px 0 0; color: var(--lp-muted); } .finance-mode, .finance-state { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 9px; border-radius: var(--lp-r-pill); background: var(--lp-surface-2); color: var(--lp-muted); font-size: var(--lp-fs-2xs); text-transform: capitalize; } .finance-mode { margin-bottom: 6px; background: var(--lp-blue-tint); color: var(--lp-blue-deep); } .finance-state--ready, .finance-state--passed { background: var(--lp-green-tint); color: var(--lp-green-deep); } .finance-state--warming, .finance-state--partial, .finance-state--not_checked, .finance-state--requires_sku { background: var(--lp-yellow-tint); color: var(--lp-yellow-deep); } .finance-state--restricted, .finance-state--failed, .finance-state--unavailable { background: var(--lp-red-tint); color: var(--lp-red-deep); } .finance-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; } .finance-kpi, .finance-source-section { border: 1px solid var(--lp-line); border-radius: var(--lp-r-lg); background: var(--lp-surface); } .finance-kpi { min-width: 0; padding: 18px; } .finance-kpi-topline { justify-content: space-between; gap: 12px; } .finance-kpi h2 { font-size: var(--lp-fs-sm); font-weight: 600; } .finance-kpi-value { display: block; margin: 18px 0; font-size: var(--lp-fs-xl); line-height: var(--lp-lh-tight); font-variant-numeric: tabular-nums; } .finance-kpi-message { min-height: 42px; margin: -8px 0 14px; color: var(--lp-muted); } .finance-proof { margin: 0; border-top: 1px solid var(--lp-line); } .finance-proof div { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--lp-line); } .finance-proof dt { color: var(--lp-muted); } .finance-proof dd { min-width: 0; margin: 0; overflow-wrap: anywhere; } .finance-kpi-actions, .finance-source-actions { gap: 8px; margin-top: 14px; flex-wrap: wrap; } .finance-workspace button { min-height: 44px; padding: 0 14px; border: 1px solid var(--lp-blue-solid); border-radius: var(--lp-r-md); background: var(--lp-blue-solid); color: var(--lp-surface); font: inherit; font-weight: 600; cursor: pointer; } .finance-workspace button:hover { background: var(--cg-primary-hover); } .finance-workspace button:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 2px; } .finance-workspace button.finance-secondary { border-color: var(--lp-line-strong); background: var(--lp-surface); color: var(--lp-ink); } .finance-workspace button.finance-secondary:hover { background: var(--lp-surface-2); } .finance-source-section { margin-top: 20px; overflow: hidden; } .finance-source-section > header { padding: 18px; border-bottom: 1px solid var(--lp-line); } .finance-source-section h2 { font-size: var(--lp-fs-md); } .finance-source-section header p { margin: 4px 0 0; color: var(--lp-muted); } .finance-source-section ul { margin: 0; padding: 0; list-style: none; } .finance-source-fact { justify-content: space-between; gap: 18px; min-height: 72px; padding: 12px 18px; border-bottom: 1px solid var(--lp-line); } .finance-source-fact:last-child { border-bottom: 0; } .finance-source-fact div:first-child { display: grid; min-width: 180px; } .finance-source-fact div:first-child span, .finance-source-lineage { color: var(--lp-muted); font-size: var(--lp-fs-xs); } .finance-source-lineage { flex: 1; overflow-wrap: anywhere; } .finance-source-actions { margin-top: 0; } .finance-drawer { position: fixed; z-index: var(--cg-z-drawer); top: 0; right: 0; bottom: 0; width: min(680px, 94vw); border-left: 1px solid var(--lp-line); background: var(--lp-surface); box-shadow: -12px 0 32px color-mix(in srgb, var(--lp-ink) 14%, transparent); } .finance-drawer > header { justify-content: space-between; min-height: 72px; padding: 12px 18px; border-bottom: 1px solid var(--lp-line); } .finance-drawer > header span { color: var(--lp-muted); font-size: var(--lp-fs-2xs); } .finance-drawer h2 { font-size: var(--lp-fs-md); } .finance-drawer-body { height: calc(100% - 72px); padding: 18px; overflow: auto; } .finance-row-count { color: var(--lp-muted); } .finance-table-wrap { overflow: auto; border: 1px solid var(--lp-line); border-radius: var(--lp-r-md); } .finance-table { width: 100%; } .finance-table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--lp-fs-xs); } .finance-table-wrap th, .finance-table-wrap td { max-width: 220px; padding: 10px; border-bottom: 1px solid var(--lp-line); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .finance-table-wrap th { position: sticky; top: 0; background: var(--lp-surface-2); color: var(--lp-muted); font-weight: 600; } .finance-centered { display: grid; place-content: center; text-align: center; } .finance-centered h1 { margin: 0; font-size: var(--lp-fs-lg); } .finance-centered p { color: var(--lp-muted); } .finance-error { color: var(--lp-red-deep); } .finance-page-skeleton, .finance-table-skeleton { border-radius: var(--lp-r-lg); background: linear-gradient(90deg, var(--lp-surface-2), var(--lp-surface), var(--lp-surface-2)); background-size: 200% 100%; animation: finance-shimmer 1.4s ease-in-out infinite; } .finance-page-skeleton { height: 320px; } .finance-table-skeleton { height: 240px; } @keyframes finance-shimmer { to { background-position: -200% 0; } } @media (prefers-reduced-motion: reduce) { .finance-page-skeleton, .finance-table-skeleton { animation: none; } } @media (max-width: 720px) { .finance-workspace { padding: 18px; } .finance-header, .finance-source-fact { align-items: flex-start; flex-direction: column; } .finance-source-actions { width: 100%; } }