feat: sync latest ARR implementation

This commit is contained in:
Wyndham ARR
2026-07-31 15:11:42 +08:00
parent d6f8a747fa
commit bf7939dd1a
185 changed files with 17527 additions and 2260 deletions

View File

@@ -19,6 +19,7 @@
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@@ -71,27 +72,48 @@ button { color: inherit; }
.brand {
display: inline-flex;
align-items: center;
gap: 12px;
color: var(--ink);
text-decoration: none;
letter-spacing: -.02em;
font-size: clamp(20px, 1.75vw, 24px);
font-weight: 750;
letter-spacing: -.04em;
}
.brand > span:last-child { display: flex; align-items: baseline; gap: 7px; }
.brand b { font-size: 20px; letter-spacing: -.04em; }
.brand small { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.brand-mark { position: relative; width: 30px; height: 30px; display: block; }
.brand-mark i { position: absolute; display: block; border-radius: 4px; transform: rotate(45deg); }
.brand-mark i:nth-child(1) { inset: 2px 12px 12px 2px; background: #111827; }
.brand-mark i:nth-child(2) { inset: 12px 2px 2px 12px; background: var(--blue); }
.brand-mark i:nth-child(3) { width: 8px; height: 8px; left: 11px; top: 11px; background: #fff; border-radius: 2px; }
.brand-name { display: block; }
.header-meta { display: flex; align-items: center; gap: 20px; }
.system-status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.system-status i { width: 8px; height: 8px; border-radius: 50%; background: #f79009; box-shadow: 0 0 0 4px #fff4e5; }
.system-status.is-ready i { background: var(--green); box-shadow: 0 0 0 4px #e8f7f1; }
.system-status.is-error i { background: var(--red); box-shadow: 0 0 0 4px #feeceb; }
.h5-link { color: var(--blue); font-weight: 650; text-decoration: none; }
.task-log-trigger {
min-height: 36px;
padding: 0 12px;
border: 1px solid var(--line-strong);
border-radius: 9px;
color: #344054;
background: #fff;
box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
font-size: 13px;
font-weight: 650;
cursor: pointer;
transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.task-log-trigger:hover { color: var(--blue-dark); border-color: #a9c1f5; background: #f5f8ff; }
.task-log-trigger:active { transform: translateY(1px); }
.logout-button {
min-height: 34px;
padding: 0 12px;
border: 1px solid var(--line-strong);
border-radius: 9px;
color: var(--muted);
background: #fff;
font-size: 12px;
font-weight: 650;
cursor: pointer;
transition: color .16s ease, border-color .16s ease, background-color .16s ease;
}
.logout-button:hover:not(:disabled) { color: var(--ink); border-color: #b9c4d3; background: var(--surface-soft); }
.logout-button:disabled { cursor: wait; opacity: .55; }
.tab-bar { position: sticky; top: 0; z-index: 20; background: rgba(245, 247, 251, .92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.tabs { height: 54px; display: flex; align-items: stretch; gap: 30px; overflow-x: auto; scrollbar-width: none; }
@@ -129,33 +151,48 @@ button { color: inherit; }
}
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px 0; }
.panel-heading h2 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.retention-note { padding: 5px 9px; border: 1px solid #c8d8ff; border-radius: 99px; color: var(--blue-dark); background: var(--blue-soft); font-size: 11px; font-weight: 650; }
.daily-layout { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); gap: 20px; }
.upload-panel, .process-panel { min-height: 375px; }
.daily-overview { display: grid; grid-template-columns: minmax(320px, 1.55fr) repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-bottom: 20px; }
.daily-overview > * { min-width: 0; }
.upload-panel { min-height: 0; overflow: hidden; border-color: #dbe3ef; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 44px rgba(31, 51, 82, .07); }
.daily-overview > .metric-card { align-self: stretch; display: flex; flex-direction: column; justify-content: center; height: auto; min-height: 0; padding: 24px 22px; }
.daily-overview > .metric-card::after { right: -24px; bottom: -30px; width: 82px; height: 82px; border-width: 12px; }
.upload-heading { align-items: center; padding: 24px 28px 0; }
.upload-heading h2 { margin-top: 0; font-size: 20px; letter-spacing: -.03em; }
.process-panel { min-height: 640px; overflow: hidden; }
.dropzone {
position: relative;
min-height: 205px;
margin: 20px 24px 14px;
padding: 30px 20px;
min-height: 190px;
margin: 18px 28px 0;
padding: 28px 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 1.5px dashed #b9c8e6;
border: 1px dashed #9fb5dc;
border-radius: 14px;
background: linear-gradient(145deg, #fbfdff, #f5f8ff);
background: #f8fbff;
cursor: pointer;
transition: border-color .18s ease, background .18s ease, transform .18s ease;
transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-1px); }
.dropzone.is-disabled { cursor: not-allowed; opacity: .63; transform: none; }
.dropzone:hover, .dropzone.is-over { border-color: var(--blue); background: #f2f6ff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08); }
.dropzone.is-disabled { cursor: not-allowed; opacity: .63; box-shadow: none; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone strong { margin-top: 10px; font-size: 15px; }
.dropzone > span:not(.upload-glyph) { margin-top: 3px; color: var(--muted); font-size: 12px; }
.dropzone em { max-width: 90%; margin-top: 12px; overflow: hidden; color: var(--blue); font-size: 12px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.upload-glyph { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #fff; box-shadow: 0 5px 18px rgba(37, 99, 235, .12); }
.upload-glyph { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #cfddf7; border-radius: 12px; color: var(--blue); background: #fff; box-shadow: 0 4px 12px rgba(37, 99, 235, .08); }
.upload-glyph svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.upload-progress { margin: 16px 28px 0; padding: 12px 14px 13px; border: 1px solid #e2e8f2; border-radius: 10px; background: #fbfcfe; }
.upload-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 11px; }
.upload-progress-meta strong { color: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; }
.upload-progress-track { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: #e8eef9; }
.upload-progress-track span { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .32s ease, background-color .18s ease; }
.upload-progress.is-success .upload-progress-track { background: #e8f7f1; }
.upload-progress.is-success .upload-progress-track span { background: var(--green); }
.upload-progress.is-error { border-color: #f3d0cc; background: #fff9f8; }
.upload-progress.is-error .upload-progress-track { background: #fbe5e2; }
.upload-progress.is-error .upload-progress-track span { background: var(--red); }
.primary-button {
min-height: 44px;
@@ -170,31 +207,35 @@ button { color: inherit; }
box-shadow: 0 7px 18px rgba(37, 99, 235, .18);
transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.upload-panel .primary-button { width: calc(100% - 48px); }
.upload-footer { min-height: 70px; margin: 0 28px; padding: 15px 0 20px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.upload-panel .primary-button { width: auto; min-width: 118px; min-height: 40px; margin: 0; padding: 0 18px; border-radius: 9px; font-size: 13px; box-shadow: 0 4px 12px rgba(37, 99, 235, .16); white-space: nowrap; }
.primary-button:hover:not(:disabled) { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 9px 22px rgba(37, 99, 235, .23); }
.primary-button:disabled { cursor: not-allowed; color: #8a94a6; background: #e8ecf3; box-shadow: none; }
.primary-button.compact { margin: 20px 0 0; white-space: nowrap; }
.service-hint { min-height: 18px; margin: 10px 24px 16px; color: var(--muted); font-size: 12px; }
.service-hint { min-width: 0; min-height: 18px; margin: 0; flex: 1 1 auto; color: var(--muted); font-size: 12px; }
.process-state { margin: 24px; padding: 18px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.process-state strong { display: block; font-size: 15px; }
.process-state p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.process-orbit { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border: 1px solid #c9d6ee; border-radius: 50%; }
.process-orbit i { width: 10px; height: 10px; display: block; border-radius: 50%; background: var(--blue); }
.process-state.is-running .process-orbit { border-top-color: var(--blue); animation: spin .9s linear infinite; }
.process-state.is-success .process-orbit i { background: var(--green); }
.process-state.is-error .process-orbit i { background: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.trace-heading { align-items: center; }
.trace-terminal-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.trace-live-state { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 700; white-space: nowrap; }
.trace-live-state.is-live, .trace-live-state.is-running { color: #175cd3; }
.trace-live-state.is-complete, .trace-live-state.is-success { color: #087a55; }
.trace-live-state.is-error { color: #b42318; }
.trace-refresh-button { min-height: 30px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 4px; color: #344054; background: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; font-weight: 700; cursor: pointer; }
.trace-refresh-button:hover:not(:disabled) { border-color: #98a2b3; background: #f9fafb; }
.trace-refresh-button:disabled { cursor: not-allowed; opacity: .45; }
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 8px 24px 24px; padding: 0; list-style: none; }
.pipeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--muted); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 14px; left: 58%; width: 84%; height: 1px; background: var(--line-strong); }
.pipeline i { position: relative; z-index: 1; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blue); background: #fff; font-size: 11px; font-style: normal; font-weight: 750; }
.pipeline span { margin-top: 8px; font-size: 12px; font-weight: 650; }
.pipeline small { display: block; margin-top: 1px; color: var(--subtle); font-size: 9px; font-weight: 500; }
.trace-log-frame { margin: 0 24px 24px; overflow: hidden; border: 1px solid #30363d; border-radius: 6px; background: #080b10; }
.trace-log-heading { min-height: 34px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #30363d; color: #8b949e; background: #11161d; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; }
.trace-log-heading > span { font-variant-numeric: tabular-nums; }
.trace-log { min-height: 440px; max-height: 560px; margin: 0; padding: 15px 16px 20px; overflow: auto; color: #d1d5db; background: #080b10; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; font-variant-ligatures: none; line-height: 1.65; tab-size: 2; white-space: pre; overscroll-behavior: contain; scrollbar-color: #444c56 #080b10; scrollbar-gutter: stable; }
.trace-log::selection { color: #fff; background: #264f78; }
.task-log-dialog { width: min(1040px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); box-shadow: 0 28px 80px rgba(16, 24, 40, .28); }
.task-log-dialog::backdrop { background: rgba(15, 23, 42, .46); backdrop-filter: blur(3px); }
.task-log-dialog[open] { animation: panel-in .18s ease both; }
.task-log-panel { min-height: 0; border: 0; box-shadow: none; }
.task-log-dialog .trace-log { height: min(560px, calc(100dvh - 190px)); min-height: 320px; max-height: none; }
.metric-grid { display: grid; gap: 16px; margin: 20px 0; }
.daily-metrics { grid-template-columns: repeat(3, 1fr); }
.bi-metrics { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.metric-card { position: relative; min-height: 128px; padding: 21px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.metric-card::after { content: ""; position: absolute; right: -28px; bottom: -40px; width: 100px; height: 100px; border: 16px solid rgba(37, 99, 235, .035); border-radius: 50%; }
@@ -207,17 +248,39 @@ button { color: inherit; }
.table-panel { overflow: hidden; }
.table-heading { align-items: center; padding-bottom: 18px; }
.monthly-history-panel { border-color: #dbe3ef; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 44px rgba(31, 51, 82, .06); }
.monthly-panel-toolbar { min-height: 52px; padding: 12px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: var(--surface-soft); }
.monthly-panel-title { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.monthly-panel-toolbar .trace-live-state { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; padding: 0 9px; border: 1px solid #dbe6f8; border-radius: 999px; background: #fff; }
.monthly-panel-toolbar .trace-live-state::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); }
.monthly-history-panel .table-scroll { border-top: 0; }
.monthly-table { min-width: 820px; }
.monthly-table th, .monthly-table td { padding-left: 22px; padding-right: 22px; }
.monthly-table th:first-child, .monthly-table td:first-child { width: 18%; }
.monthly-table th:last-child, .monthly-table td:last-child { width: 12%; }
.text-button { min-height: 34px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--muted); font-weight: 650; cursor: pointer; }
.text-button:hover { color: var(--blue); border-color: #a9c1f5; }
.download-link { color: var(--blue); font-size: 12px; font-weight: 700; text-decoration: none; }
.download-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.table-scroll { overflow: auto; border-top: 1px solid var(--line); }
.pagination-bar { min-height: 58px; padding: 11px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); background: #fbfcfe; }
.pagination-summary, .pagination-page { color: var(--muted); font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pagination-actions { display: flex; align-items: center; gap: 10px; }
.pagination-page { min-width: 76px; text-align: center; }
.pagination-button { min-height: 32px; padding: 0 11px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--muted); background: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.pagination-button:hover:not(:disabled) { color: var(--blue); border-color: #a9c1f5; background: var(--blue-soft); }
.pagination-button:disabled { color: var(--subtle); background: #f3f5f8; cursor: not-allowed; opacity: .7; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); background: #fbfcfe; font-size: 10px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }
td { font-size: 13px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fafcff; }
.job-row { cursor: pointer; }
.job-row.is-selected td { background: #f1f6ff; }
.job-row.is-selected td:first-child { box-shadow: inset 3px 0 var(--blue); }
.job-row:focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: -3px; }
.job-failure-code { max-width: 180px; margin-top: 4px; overflow: hidden; display: block; color: #b42318; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.filename { max-width: 260px; overflow: hidden; display: block; font-weight: 620; text-overflow: ellipsis; }
.cell-subtle { color: var(--muted); }
.empty-cell, .empty-state { padding: 40px 20px !important; color: var(--muted); text-align: center !important; }
@@ -264,53 +327,158 @@ input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb
.usage-panel { min-height: 58vh; }
.company-page-heading { align-items: center; }
.company-page-title { min-width: 0; flex: 1 1 auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.company-page-title h1 { flex: 0 0 auto; }
.section-heading .company-fixed-companies { min-width: 0; margin: 0 0 6px; color: #8b95a7; font-size: 11px !important; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.company-refresh { min-width: 94px; }
.company-service-banner { margin-bottom: 16px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid #f7c9c5; border-radius: 12px; color: #9c2b22; background: #fff5f4; }
.company-service-banner strong { font-size: 13px; }
.company-service-banner span { color: #b34a41; font-size: 12px; }
.company-report-setup { padding-bottom: 24px; }
.company-report-setup .panel-heading p { max-width: 780px; margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.company-generator-grid { margin: 22px 24px 0; display: grid; grid-template-columns: minmax(180px, .7fr) minmax(205px, .8fr) minmax(360px, 1.5fr); gap: 14px; }
.company-month-field, .company-timezone, .company-scope { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.company-month-field > span, .company-timezone > span, .company-scope > span, .company-period-fieldset legend { color: var(--muted); font-size: 11px; font-weight: 700; }
.company-month-field input { width: 100%; }
.company-month-field small { color: var(--subtle); font-size: 10px; }
.company-timezone-value, .company-chip-list { min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-soft); }
.company-timezone-value { padding: 7px 10px; display: flex; align-items: center; gap: 9px; }
.company-timezone-value > i { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 31px; border-radius: 8px; color: var(--blue-dark); background: var(--blue-soft); font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .05em; }
.company-timezone-value > span { min-width: 0; display: grid; gap: 1px; }
.company-timezone-value strong { font-size: 12px; }
.company-timezone-value small { color: var(--muted); font-size: 9px; white-space: nowrap; }
.company-chip-list { padding: 7px 9px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.company-chip-list span { padding: 4px 7px; border-radius: 99px; color: var(--blue-dark); background: var(--blue-soft); font-size: 10px; font-weight: 750; }
.company-period-fieldset { min-width: 0; margin: 22px 24px 0; padding: 0; border: 0; }
.company-period-fieldset legend { padding: 0; }
.company-period-actions { margin-top: 9px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.company-period-button { min-width: 0; min-height: 166px; padding: 15px; display: flex; flex-direction: column; align-items: stretch; gap: 9px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--muted); background: #fff; cursor: pointer; text-align: left; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.company-period-button:hover:not(:disabled) { border-color: #9cb9fa; background: #f8fbff; box-shadow: 0 8px 20px rgba(37, 99, 235, .08); transform: translateY(-1px); }
.company-period-button:disabled { cursor: not-allowed; opacity: .64; }
.company-report-setup { overflow: hidden; }
.company-setup-heading { padding: 22px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.company-setup-heading h2 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.company-month-field { width: clamp(120px, 14vw, 156px); flex: 0 0 auto; display: block; }
.company-month-field input { width: 100%; min-height: 38px; padding: 0 10px; border-radius: 9px; font-size: 12px; }
.company-report-card-row { display: grid; grid-template-columns: minmax(320px, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 16px; padding: 18px 24px 24px; align-items: stretch; }
.company-report-card-row > * { min-width: 0; }
.company-source-card { min-width: 0; min-height: 224px; padding: 20px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dbe3ef; border-radius: 16px; background: var(--surface); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 44px rgba(31, 51, 82, .07); }
.company-card-heading h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: -.025em; }
.company-source-action { width: 100%; margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.company-excel-dropzone { position: relative; min-width: 0; min-height: 92px; padding: 17px 18px; display: flex; align-items: center; gap: 14px; border: 1px dashed #9fb5dc; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.company-excel-dropzone:hover, .company-excel-dropzone.is-over { border-color: var(--blue); background: #f6f9ff; box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08); }
.company-excel-dropzone.is-disabled { cursor: not-allowed; opacity: .62; box-shadow: none; }
.company-excel-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.company-upload-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid #cfddf7; border-radius: 10px; color: var(--blue); background: #f8fbff; }
.company-upload-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.company-upload-copy { min-width: 0; display: grid; gap: 3px; }
.company-upload-copy strong { font-size: 13px; }
.company-upload-copy > span { color: var(--muted); font-size: 10px; }
.company-upload-copy em { overflow: hidden; color: var(--blue-dark); font-size: 11px; font-style: normal; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.company-upload-button { width: clamp(92px, 40%, 112px); min-width: 92px; min-height: 40px; align-self: flex-end; padding: 0 7px; display: flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--blue); border-radius: 10px; color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(37, 99, 235, .21); font-size: 10px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.company-upload-button b { font-size: 17px; line-height: 1; }
.company-upload-button:hover:not(:disabled) { border-color: var(--blue-dark); background: var(--blue-dark); box-shadow: 0 11px 24px rgba(23, 73, 176, .24); transform: translateY(-1px); }
.company-upload-button:active:not(:disabled) { box-shadow: 0 4px 12px rgba(37, 99, 235, .16); transform: translateY(0) scale(.985); }
.company-upload-button:disabled { border-color: #d7dde7; color: #667085; background: #e9edf3; box-shadow: none; cursor: not-allowed; }
.company-source-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; color: #b42318; background: #feeceb; font-size: 11px; font-weight: 650; }
.company-review-panel { margin: 0 24px 24px; overflow: hidden; border: 1px solid #d7dfec; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.company-review-header { padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.company-review-title-block { min-width: 0; flex: 1 1 auto; display: grid; gap: 6px; }
.company-review-header h3 { margin: 0; font-size: 15px; letter-spacing: -.015em; }
.company-review-file { min-width: 0; margin: 0; display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.company-review-file span { flex: 0 0 auto; padding-top: 1px; font-weight: 700; }
.company-review-file strong { min-width: 0; color: #344054; font-size: 11px; font-weight: 750; overflow-wrap: anywhere; }
.company-review-metrics { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(72px, 1fr)); gap: 8px; }
.company-review-metrics div { min-width: 72px; padding: 8px 10px; border: 1px solid #e1e6ee; border-radius: 9px; background: #fff; }
.company-review-metrics div.is-pending { border-color: #f6d58a; background: #fffbeb; }
.company-review-metrics dt { color: var(--muted); font-size: 9px; font-weight: 700; }
.company-review-metrics dd { margin: 2px 0 0; color: var(--ink); font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
.company-review-metrics .is-pending dd { color: #9a4b0a; }
.company-review-toolbar { min-height: 58px; padding: 10px 14px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.company-review-selection { min-width: 0; display: flex; align-items: center; gap: 10px; }
.company-review-selection > span { min-width: 60px; color: var(--muted); font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; }
.company-review-delete-selected { min-height: 34px; padding: 0 12px; border: 1px solid #d92d20; border-radius: 8px; color: #fff; background: #d92d20; font-size: 10px; font-weight: 800; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.company-review-delete-selected:hover:not(:disabled) { border-color: #b42318; background: #b42318; box-shadow: 0 5px 14px rgba(180, 35, 24, .17); }
.company-review-delete-selected:disabled { border-color: #d7dde7; color: #98a2b3; background: #f2f4f7; cursor: not-allowed; }
.company-review-actions { flex: 0 0 auto; display: flex; gap: 8px; }
.company-review-discard, .company-review-activate { min-height: 34px; padding: 0 12px; border-radius: 8px; font-size: 10px; font-weight: 800; cursor: pointer; transition: border-color .16s ease, color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.company-review-discard { border: 1px solid #d7dfec; color: #475467; background: #fff; }
.company-review-discard:hover:not(:disabled) { border-color: #a9b5c7; color: var(--ink); background: #f8fafc; }
.company-review-activate { border: 1px solid var(--blue); color: #fff; background: var(--blue); box-shadow: 0 5px 14px rgba(37, 99, 235, .17); }
.company-review-activate:hover:not(:disabled) { border-color: var(--blue-dark); background: var(--blue-dark); }
.company-review-discard:disabled, .company-review-activate:disabled { border-color: #d7dde7; color: #667085; background: #e9edf3; box-shadow: none; cursor: not-allowed; }
.company-review-scroll { max-width: 100%; overflow: auto; }
.company-review-table { width: 100%; min-width: 880px; border-collapse: collapse; }
.company-review-table th { padding: 9px 11px; color: #667085; background: #f8fafc; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.company-review-table td { padding: 10px 11px; border-top: 1px solid #edf0f4; color: var(--ink); font-size: 10px; vertical-align: middle; }
.company-review-select-column, .company-review-select-cell { width: 42px; padding-right: 5px !important; text-align: center !important; }
.company-review-checkbox { width: 15px; height: 15px; margin: 0; vertical-align: middle; accent-color: var(--blue); cursor: pointer; }
.company-review-checkbox:disabled { cursor: not-allowed; }
.company-review-row:hover td { background: #f8fbff; }
.company-review-row.is-pending td { background: #fffcf3; }
.company-review-row.is-pending:hover td { background: #fff8e7; }
.company-review-row.is-selected td:first-child { box-shadow: inset 3px 0 var(--blue); }
.company-review-tour { font-weight: 800; white-space: nowrap; }
.company-review-raw { max-width: 220px; color: #475467; overflow-wrap: anywhere; }
.company-review-input { min-height: 34px; border: 1px solid #cfd7e3; border-radius: 8px; color: var(--ink); background: #fff; font-size: 11px; }
.company-review-room-input { width: min(210px, 100%); padding: 0 9px; }
.company-review-quantity-input { width: 72px; padding: 0 8px; font-variant-numeric: tabular-nums; }
.company-review-input:focus-visible { border-color: var(--blue); outline: 3px solid rgba(37, 99, 235, .16); outline-offset: 1px; }
.company-review-status { display: inline-flex; min-height: 24px; padding: 0 8px; align-items: center; border-radius: 99px; color: #087a55; background: #e9f8f2; font-size: 9px; font-weight: 800; white-space: nowrap; }
.company-review-status.is-pending { color: #9a4b0a; background: #fff1cf; }
.company-review-row-actions { display: flex; gap: 6px; white-space: nowrap; }
.company-review-save, .company-review-delete { min-height: 30px; padding: 0 9px; border-radius: 7px; background: #fff; font-size: 9px; font-weight: 800; cursor: pointer; transition: border-color .16s ease, color .16s ease, background-color .16s ease; }
.company-review-save { border: 1px solid #a9c0ec; color: var(--blue-dark); }
.company-review-save:hover:not(:disabled) { border-color: var(--blue); background: #f3f7ff; }
.company-review-delete { border: 1px solid #f0c4c0; color: #b42318; }
.company-review-delete:hover:not(:disabled) { border-color: #dc6b62; background: #fff5f4; }
.company-review-save:disabled, .company-review-delete:disabled { border-color: #d7dde7; color: #98a2b3; background: #f2f4f7; cursor: not-allowed; }
.company-review-empty { margin: 0; padding: 24px 18px; color: var(--muted); font-size: 11px; text-align: center; }
.company-review-pagination { min-height: 48px; padding: 8px 14px 8px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.company-review-pagination > div { display: flex; align-items: center; gap: 8px; }
.company-review-pagination button { min-height: 30px; padding: 0 9px; border: 1px solid #d7dfec; border-radius: 7px; color: #475467; background: #fff; font-size: 9px; font-weight: 750; cursor: pointer; }
.company-review-pagination button:hover:not(:disabled) { border-color: #a9b5c7; color: var(--ink); background: #f8fafc; }
.company-review-pagination button:disabled { color: #98a2b3; background: #f2f4f7; cursor: not-allowed; }
.company-review-pagination strong { min-width: 70px; color: #475467; text-align: center; }
.company-review-discard:focus-visible, .company-review-activate:focus-visible, .company-review-delete-selected:focus-visible, .company-review-save:focus-visible, .company-review-delete:focus-visible, .company-review-checkbox:focus-visible, .company-review-pagination button:focus-visible { outline: 3px solid rgba(37, 99, 235, .18); outline-offset: 2px; }
.company-review-panel.is-busy { opacity: .72; }
.company-review-confirm-dialog { width: min(430px, calc(100% - 32px)); max-width: none; padding: 0; overflow: hidden; border: 1px solid #e0e5ed; border-radius: 14px; color: var(--ink); background: #fff; box-shadow: 0 28px 80px rgba(16, 24, 40, .3); }
.company-review-confirm-dialog::backdrop { background: rgba(15, 23, 42, .48); backdrop-filter: blur(3px); }
.company-review-confirm-dialog[open] { animation: panel-in .16s ease both; }
.company-review-confirm-copy { padding: 22px 22px 18px; }
.company-review-confirm-copy h2 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
.company-review-confirm-copy > p { margin: 10px 0 0; color: #344054; font-size: 13px; line-height: 1.6; }
.company-review-confirm-copy .company-review-confirm-note { margin-top: 8px; color: var(--muted); font-size: 11px; }
.company-review-confirm-copy .company-review-confirm-error { padding: 9px 10px; border-radius: 8px; color: #b42318; background: #feeceb; font-size: 11px; font-weight: 650; }
.company-review-confirm-actions { padding: 14px 18px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fbfcfe; }
.company-review-confirm-actions button { min-height: 38px; padding: 0 15px; border-radius: 9px; font-size: 11px; font-weight: 800; cursor: pointer; }
.company-review-confirm-cancel { border: 1px solid #d3dae6; color: #344054; background: #fff; }
.company-review-confirm-cancel:hover:not(:disabled) { border-color: #98a2b3; background: #f8fafc; }
.company-review-confirm-submit { border: 1px solid #d92d20; color: #fff; background: #d92d20; box-shadow: 0 5px 14px rgba(180, 35, 24, .16); }
.company-review-confirm-submit:hover:not(:disabled) { border-color: #b42318; background: #b42318; }
.company-review-confirm-actions button:disabled { opacity: .58; cursor: wait; box-shadow: none; }
.company-review-confirm-actions button:focus-visible { outline: 3px solid rgba(37, 99, 235, .2); outline-offset: 2px; }
.company-report-confirm-dialog { width: min(410px, calc(100% - 32px)); max-width: none; padding: 0; overflow: hidden; border: 1px solid #dfe5ee; border-radius: 16px; color: var(--ink); background: #fff; box-shadow: 0 24px 72px rgba(16, 24, 40, .24); }
.company-report-confirm-dialog::backdrop { background: rgba(15, 23, 42, .42); backdrop-filter: blur(3px); }
.company-report-confirm-dialog[open] { animation: panel-in .16s ease both; }
.company-report-confirm-copy { padding: 24px 24px 20px; }
.company-report-confirm-copy h2 { margin: 0; font-size: 19px; line-height: 1.3; letter-spacing: -.025em; }
.company-report-confirm-description { margin: 12px 0 0; color: var(--ink); font-size: 15px; font-weight: 750; line-height: 1.45; font-variant-numeric: tabular-nums; }
.company-report-confirm-note { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.company-report-confirm-error { margin: 12px 0 0; padding: 9px 10px; border-radius: 8px; color: #b42318; background: #feeceb; font-size: 11px; font-weight: 650; line-height: 1.45; }
.company-report-confirm-actions { padding: 14px 18px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid var(--line); background: #fbfcfe; }
.company-report-confirm-actions button { min-height: 38px; padding: 0 15px; border-radius: 9px; font-size: 11px; font-weight: 800; cursor: pointer; transition: border-color .16s ease, color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.company-report-confirm-cancel { border: 1px solid #d3dae6; color: #344054; background: #fff; }
.company-report-confirm-cancel:hover:not(:disabled) { border-color: #98a2b3; background: #f8fafc; transform: translateY(-1px); }
.company-report-confirm-submit { border: 1px solid var(--blue); color: #fff; background: var(--blue); box-shadow: 0 5px 14px rgba(37, 99, 235, .17); }
.company-report-confirm-submit:hover:not(:disabled) { border-color: var(--blue-dark); background: var(--blue-dark); transform: translateY(-1px); }
.company-report-confirm-actions button:active:not(:disabled) { transform: translateY(0) scale(.985); }
.company-report-confirm-actions button:disabled { opacity: .58; cursor: wait; box-shadow: none; }
.company-report-confirm-actions button:focus-visible { outline: 3px solid rgba(37, 99, 235, .2); outline-offset: 2px; }
.company-period-button { min-width: 0; min-height: 224px; padding: 16px; display: flex; flex-direction: column; align-items: stretch; gap: 9px; border: 1px solid #d7dfec; border-radius: 16px; color: var(--muted); background: #fff; cursor: pointer; text-align: left; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.company-period-button:hover:not(:disabled) { border-color: #8cacf3; background: #f8fbff; box-shadow: 0 10px 24px rgba(37, 99, 235, .11); transform: translateY(-2px); }
.company-period-button:active:not(:disabled) { box-shadow: 0 4px 12px rgba(37, 99, 235, .1); transform: translateY(0) scale(.985); }
.company-period-button:disabled { cursor: not-allowed; color: #667085; background: #fafbfc; box-shadow: none; }
.company-period-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.company-period-index { font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.company-period-state { padding: 3px 7px; border-radius: 99px; color: var(--muted); background: #eef2f7; font-size: 9px; font-weight: 750; }
.company-period-state.is-open { color: #087a55; background: #e9f8f2; }
.company-period-state.is-locked { color: #9a4b0a; background: #fff3e3; }
.company-period-state.is-complete { color: #087a55; background: #e9f8f2; }
.company-period-state.is-in-progress { color: #9a4b0a; background: #fff3e3; }
.company-period-state.is-unavailable { color: #b42318; background: #feeceb; }
.company-period-range { color: var(--ink); font-size: 23px; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.company-period-detail { display: grid; gap: 3px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.company-period-detail span:last-child { font-variant-numeric: tabular-nums; }
.company-period-cta { margin-top: auto; padding-top: 9px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--blue-dark); font-size: 11px; font-weight: 750; }
.company-period-cta b { font-size: 15px; }
.company-period-availability { min-height: 18px; margin: 9px 1px 0; color: var(--muted); font-size: 11px; }
.company-period-availability.has-locked-periods { color: #9a4b0a; }
.company-report-error { margin: 12px 24px 0; padding: 10px 12px; border-radius: 9px; color: #b42318; background: #feeceb; font-size: 11px; font-weight: 650; }
.company-generation-note { margin: 16px 24px 0; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.company-period-cta { width: clamp(72px, 34%, 94px); min-width: 72px; min-height: 38px; align-self: center; margin-top: auto; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--blue); border-radius: 9px; color: #fff; background: var(--blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px rgba(37, 99, 235, .2); font-size: 11px; font-weight: 800; white-space: nowrap; transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.company-period-cta b { font-size: 16px; line-height: 1; transition: transform .18s ease; }
.company-period-button:hover:not(:disabled) .company-period-cta { border-color: var(--blue-dark); background: var(--blue-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 22px rgba(23, 73, 176, .24); }
.company-period-button:hover:not(:disabled) .company-period-cta b { transform: translateX(2px); }
.company-period-button:disabled .company-period-cta { border-color: #d7dde7; color: #475467; background: #e9edf3; box-shadow: none; }
.company-report-error { margin: 0 24px 24px; padding: 10px 12px; border-radius: 9px; color: #b42318; background: #feeceb; font-size: 11px; font-weight: 650; }
.company-job-panel { margin-top: 20px; padding: 22px 24px 24px; }
.company-job-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.company-job-header h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.03em; }
.company-job-header .step-label[hidden] + h2 { margin-top: 0; }
.company-job-header p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.company-job-summary { min-width: 122px; display: grid; justify-items: end; gap: 4px; }
.company-job-summary strong { font-size: 21px; letter-spacing: -.04em; }
.company-job-summary small { color: var(--muted); font-size: 10px; }
.status-chip.review { color: #9a4b0a; background: #fff3e3; }
.company-progress-wrap { margin-top: 20px; }
.company-progress-wrap > div:first-child { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
@@ -336,7 +504,7 @@ input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb
.company-problem small { margin-left: 5px; color: inherit; opacity: .72; font-weight: 600; }
.company-problem.is-warning { color: #9a4b0a; }
.company-problem.is-error { color: #b42318; }
.company-version-cell { font-size: 10px; font-weight: 750; }
.company-generated-at-cell { font-size: 10px; font-weight: 750; white-space: nowrap; }
.company-result-row.is-review td { background: #fffbeb; }
.company-result-row.is-failed td { background: #fff6f5; }
.company-result-row.is-review:hover td { background: #fff7d6; }
@@ -346,7 +514,7 @@ input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb
.company-history-table { min-width: 820px; }
.company-detail-button { min-height: 30px; padding: 0 9px; border: 1px solid var(--line-strong); border-radius: 7px; color: var(--blue); background: #fff; font-size: 10px; font-weight: 750; cursor: pointer; }
.company-detail-button:hover { border-color: #a9c1f5; background: var(--blue-soft); }
.page-footer { width: min(1400px, calc(100% - 48px)); margin: -38px auto 28px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 10px; }
.page-footer { width: min(1400px, calc(100% - 48px)); margin: -38px auto 28px; display: flex; justify-content: flex-start; gap: 20px; color: var(--muted); font-size: 10px; }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; max-width: min(390px, calc(100vw - 32px)); padding: 12px 16px; border: 1px solid #cdd8eb; border-radius: 11px; color: #fff; background: #172033; box-shadow: 0 14px 35px rgba(16, 24, 40, .2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { background: #8f241c; border-color: #a73930; }
@@ -354,40 +522,141 @@ input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb
:focus-visible { outline: 3px solid rgba(37, 99, 235, .35); outline-offset: 3px; }
@media (max-width: 960px) {
.daily-layout, .company-chart-grid { grid-template-columns: 1fr; }
.daily-metrics { grid-template-columns: repeat(3, 1fr); }
.company-chart-grid { grid-template-columns: 1fr; }
.bi-metrics { grid-template-columns: repeat(2, 1fr); }
.donut-wrap { padding: 26px 0 0; border-top: 1px solid var(--line); border-left: 0; }
.report-controls { width: 100%; }
.split-heading { align-items: flex-start; flex-direction: column; }
.company-generator-grid { grid-template-columns: 1fr 1fr; }
.company-scope { grid-column: 1 / -1; }
.company-report-card-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 701px) {
.daily-overview .upload-heading { padding: 12px 18px 0; }
.daily-overview .upload-heading h2 { font-size: 17px; }
.daily-overview .dropzone {
min-height: 72px;
margin: 8px 18px 0;
padding: 10px 12px;
display: grid;
grid-template-columns: 28px minmax(0, 1fr);
grid-template-rows: repeat(3, min-content);
column-gap: 10px;
row-gap: 0;
align-content: center;
align-items: center;
text-align: left;
}
.daily-overview .dropzone .upload-glyph {
grid-row: 1 / span 3;
width: 28px;
height: 28px;
border-radius: 9px;
}
.daily-overview .dropzone .upload-glyph svg { width: 16px; height: 16px; }
.daily-overview .dropzone strong {
margin-top: 0;
font-size: 12px;
line-height: 1.3;
}
.daily-overview .dropzone > span:not(.upload-glyph) {
margin-top: 1px;
font-size: 10px;
line-height: 1.25;
}
.daily-overview .dropzone em {
max-width: 100%;
margin-top: 2px;
font-size: 10px;
line-height: 1.25;
}
.daily-overview .upload-progress {
margin: 8px 18px 0;
padding: 8px 10px 9px;
}
.daily-overview .upload-progress-meta { font-size: 10px; }
.daily-overview .upload-progress-meta strong { font-size: 10px; }
.daily-overview .upload-progress-track { height: 5px; margin-top: 6px; }
.daily-overview .upload-footer {
min-height: 44px;
margin: 0 18px;
padding: 6px 0 10px;
gap: 10px;
}
.daily-overview .service-hint { min-height: 14px; font-size: 10px; }
.daily-overview .upload-panel .primary-button {
min-width: 96px;
min-height: 34px;
padding: 0 12px;
border-radius: 8px;
font-size: 11px;
}
}
@media (max-width: 700px) {
.shell { width: min(100% - 28px, 1400px); }
.masthead { height: 64px; }
.brand small, .system-status span, .h5-link { display: none; }
.system-status span { display: none; }
.header-meta { gap: 8px; }
.task-log-trigger { min-height: 36px; padding: 0 10px; }
.task-log-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); }
.tabs { height: 50px; gap: 24px; }
.page { padding-top: 26px; padding-bottom: 50px; }
.section-heading { align-items: flex-start; flex-direction: column; }
.daily-metrics { grid-template-columns: 1fr; }
.daily-overview { grid-template-columns: 1fr; gap: 14px; margin-bottom: 16px; }
.upload-heading { padding: 20px 20px 0; }
.upload-heading h2 { font-size: 18px; }
.dropzone { min-height: 190px; margin: 16px 20px 0; padding: 24px 16px; }
.upload-progress { margin-left: 20px; margin-right: 20px; }
.upload-footer { min-height: 72px; margin: 0 20px; padding: 14px 0 20px; gap: 12px; }
.upload-panel .primary-button { min-width: 112px; min-height: 42px; padding: 0 16px; }
.metric-card { min-height: 112px; }
.pipeline small { display: none; }
.daily-overview > .metric-card { height: auto; min-height: 0; }
.process-panel { min-height: 0; }
.trace-log-frame { margin-left: 18px; margin-right: 18px; }
.trace-log { min-height: 400px; max-height: 520px; }
.report-controls { display: grid; grid-template-columns: 1fr 1fr; }
.report-controls .primary-button { grid-column: 1 / -1; margin-top: 0; }
.report-controls input { width: 100%; }
.rank-row { grid-template-columns: 105px minmax(80px, 1fr) 75px; gap: 8px; }
.company-chart-grid { padding: 18px; }
.panel-heading { padding-left: 18px; padding-right: 18px; }
.monthly-panel-toolbar { padding-left: 18px; padding-right: 18px; }
.monthly-table { min-width: 760px; }
.company-page-heading { gap: 14px; }
.company-refresh { width: 100%; }
.company-generator-grid { margin-left: 18px; margin-right: 18px; grid-template-columns: 1fr; }
.company-scope { grid-column: auto; }
.company-period-fieldset { margin-left: 18px; margin-right: 18px; }
.company-period-actions { grid-template-columns: 1fr; }
.company-period-button { min-height: 154px; }
.company-generation-note, .company-report-error { margin-left: 18px; margin-right: 18px; }
.company-setup-heading { padding-left: 18px; padding-right: 18px; }
.company-report-card-row { padding-left: 18px; padding-right: 18px; }
.company-source-action { width: 100%; }
.company-upload-button { width: 104px; min-width: 104px; min-height: 42px; }
.company-review-header { flex-direction: column; gap: 12px; }
.company-review-title-block { width: 100%; }
.company-review-metrics { width: 100%; }
.company-review-toolbar { align-items: stretch; flex-direction: column; }
.company-review-selection { justify-content: space-between; }
.company-review-actions { display: grid; grid-template-columns: 1fr 1fr; }
.company-review-scroll { overflow: visible; }
.company-review-table, .company-review-table tbody { min-width: 0; display: block; }
.company-review-table thead { display: none; }
.company-review-table tbody { padding: 10px; display: grid; gap: 10px; }
.company-review-row { padding: 10px 12px; display: grid; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.company-review-row.is-pending { border-color: #f6d58a; background: #fffcf3; }
.company-review-table .company-review-row td { min-width: 0; padding: 7px 0; display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 10px; border: 0; border-bottom: 1px solid #edf0f4; background: transparent; }
.company-review-table .company-review-row td::before { content: attr(data-label); color: var(--muted); font-size: 9px; font-weight: 750; }
.company-review-table .company-review-row td:last-child { border-bottom: 0; }
.company-review-table .company-review-row .company-review-select-cell { width: auto; padding-right: 0 !important; text-align: left !important; }
.company-review-raw { max-width: none; }
.company-review-room-input { width: 100%; }
.company-review-row-actions { justify-content: flex-end; }
.company-review-pagination { align-items: stretch; flex-direction: column; }
.company-review-pagination > div { justify-content: space-between; }
.company-review-confirm-dialog { width: calc(100% - 20px); }
.company-setup-heading { align-items: center; }
.company-month-field { width: 132px; }
.company-report-card-row { grid-template-columns: 1fr; gap: 14px; padding-top: 16px; padding-bottom: 18px; }
.company-source-card, .company-period-button { min-height: 204px; }
.company-review-panel { margin-left: 18px; margin-right: 18px; }
.company-report-error { margin-left: 18px; margin-right: 18px; }
.company-report-confirm-dialog { width: calc(100% - 20px); }
.company-job-panel { padding-left: 18px; padding-right: 18px; }
.company-job-header { align-items: flex-start; flex-direction: column; gap: 14px; }
.company-job-summary { justify-items: start; }
@@ -405,6 +674,10 @@ input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb
.company-problem-list { max-width: 68%; justify-items: end; }
.company-result-row.is-review, .company-result-row.is-review td { background: #fffbeb; }
.company-result-row.is-failed, .company-result-row.is-failed td { background: #fff6f5; }
.pagination-bar { align-items: stretch; flex-direction: column; gap: 9px; }
.pagination-actions { justify-content: space-between; }
.pagination-button { flex: 0 0 auto; }
.pagination-page { flex: 1 1 auto; align-self: center; }
.page-footer { width: min(100% - 28px, 1400px); flex-direction: column; gap: 4px; }
}
@@ -412,8 +685,11 @@ input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgb
.bi-metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
.bi-metrics .metric-card { padding: 17px; }
.bi-metrics .metric-card strong { font-size: 23px; }
.pipeline { margin-left: 16px; margin-right: 16px; }
.pipeline span { font-size: 10px; }
.trace-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
.trace-terminal-actions { width: 100%; align-items: flex-start; flex-direction: column; }
.trace-live-state { white-space: normal; overflow-wrap: anywhere; }
.trace-log-frame { margin-left: 14px; margin-right: 14px; }
.trace-log { min-height: 360px; padding: 13px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {