Files
wyndham-ARR/arr_web/static/styles.css
2026-07-29 16:38:05 +08:00

422 lines
28 KiB
CSS

:root {
color-scheme: light;
--bg: #f5f7fb;
--surface: #ffffff;
--surface-soft: #f8fafc;
--ink: #111827;
--muted: #667085;
--subtle: #98a2b3;
--line: #e4e9f1;
--line-strong: #d3dae6;
--blue: #2563eb;
--blue-dark: #1749b0;
--blue-soft: #eaf1ff;
--green: #0f9f6e;
--red: #d92d20;
--amber: #b54708;
--shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 30px rgba(16, 24, 40, .05);
--radius: 18px;
}
* { box-sizing: border-box; }
.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; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-width: 320px;
color: var(--ink);
background:
radial-gradient(circle at 78% -20%, rgba(37, 99, 235, .08), transparent 32rem),
var(--bg);
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
font-size: 14px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, label, select, input[type="file"] { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.skip-link {
position: fixed;
z-index: 100;
left: 12px;
top: 12px;
padding: 10px 14px;
border-radius: 8px;
color: #fff;
background: var(--blue);
transform: translateY(calc(-100% - 24px));
transition: transform .18s ease;
}
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1400px, calc(100% - 48px)); margin: 0 auto; }
.masthead {
height: 72px;
display: flex;
align-items: center;
background: rgba(255, 255, 255, .92);
border-bottom: 1px solid var(--line);
backdrop-filter: blur(14px);
}
.masthead-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
display: inline-flex;
align-items: center;
gap: 12px;
color: var(--ink);
text-decoration: none;
letter-spacing: -.02em;
}
.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; }
.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; }
.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; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
position: relative;
flex: 0 0 auto;
border: 0;
padding: 0 2px;
background: transparent;
color: var(--muted);
font-weight: 650;
cursor: pointer;
}
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 4px 4px 0 0; background: var(--blue); transform: scaleX(0); transition: transform .18s ease; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--blue); }
.tab.is-active::after { transform: scaleX(1); }
.page { padding-top: 38px; padding-bottom: 72px; }
.tabpanel { animation: panel-in .24s ease both; }
.tabpanel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.section-heading h1 { margin: 1px 0 6px; font-size: clamp(27px, 2.4vw, 36px); line-height: 1.15; letter-spacing: -.045em; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; }
.eyebrow, .step-label { margin: 0; color: var(--blue); font-size: 10px; line-height: 1.4; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.panel {
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--surface);
box-shadow: var(--shadow);
}
.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; }
.dropzone {
position: relative;
min-height: 205px;
margin: 20px 24px 14px;
padding: 30px 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border: 1.5px dashed #b9c8e6;
border-radius: 14px;
background: linear-gradient(145deg, #fbfdff, #f5f8ff);
cursor: pointer;
transition: border-color .18s ease, background .18s ease, transform .18s 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 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 svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.primary-button {
min-height: 44px;
margin: 0 24px;
padding: 0 18px;
border: 0;
border-radius: 10px;
color: #fff;
background: var(--blue);
font-weight: 700;
cursor: pointer;
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); }
.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; }
.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); } }
.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; }
.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%; }
.metric-card > span { display: block; color: var(--muted); font-size: 11px; font-weight: 720; letter-spacing: .06em; }
.metric-card strong { position: relative; z-index: 1; display: block; margin-top: 9px; font-size: clamp(24px, 2vw, 31px); line-height: 1.1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.metric-card small { position: relative; z-index: 1; display: block; margin-top: 8px; color: var(--subtle); font-size: 11px; }
.accent-card { color: #fff; border-color: var(--blue); background: linear-gradient(135deg, #2868ed, #1649bb); }
.accent-card > span, .accent-card small { color: rgba(255, 255, 255, .78); }
.accent-card::after { border-color: rgba(255, 255, 255, .08); }
.table-panel { overflow: hidden; }
.table-heading { align-items: center; padding-bottom: 18px; }
.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); }
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; }
.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; }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 99px; background: #eef2f7; color: #475467; font-size: 11px; font-weight: 700; }
.status-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-chip.success { color: #087a55; background: #e9f8f2; }
.status-chip.running { color: #175cd3; background: #eaf1ff; }
.status-chip.failed { color: #b42318; background: #feeceb; }
.status-chip.current { box-shadow: inset 0 0 0 1px #9de0c7; }
.split-heading { align-items: center; }
.report-controls { display: flex; align-items: flex-end; gap: 10px; }
.report-controls label, .month-picker { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 650; }
input[type="month"], input[type="date"], select { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); background: #fff; outline: none; }
input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.month-picker { min-width: 164px; }
.chart-panel { margin-bottom: 20px; }
.company-chart-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 28px; padding: 24px; }
.ranking-chart { min-height: 300px; display: flex; flex-direction: column; gap: 15px; justify-content: center; }
.rank-row { display: grid; grid-template-columns: minmax(100px, 180px) minmax(110px, 1fr) 100px; align-items: center; gap: 12px; }
.rank-label { overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.rank-track { height: 8px; overflow: hidden; border-radius: 99px; background: #edf1f6; }
.rank-track i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #79a4ff, var(--blue)); transform-origin: left; animation: grow .5s ease both; }
@keyframes grow { from { transform: scaleX(0); } }
.rank-value { text-align: right; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-left: 28px; border-left: 1px solid var(--line); }
.donut { width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#d8e0ec 0 100%); }
.donut > div { width: 118px; height: 118px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.donut strong { font-size: 19px; letter-spacing: -.04em; }
.donut span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.donut-legend { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 20px; }
.legend-item { min-width: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.legend-item i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 2px; }
.legend-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.matrix-panel { margin-bottom: 20px; }
.matrix-scroll table { min-width: 760px; }
.matrix-scroll th:first-child, .matrix-scroll td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 1px 0 var(--line); }
.matrix-scroll th:first-child { background: #fbfcfe; z-index: 3; }
.matrix-scroll td:not(:first-child) { text-align: right; }
.matrix-total { font-weight: 750; background: #f8fbff !important; }
.usage-panel { min-height: 58vh; }
.company-page-heading { align-items: center; }
.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-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-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-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 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; }
.company-progress-wrap > div:first-child strong { color: var(--ink); }
.company-progress-track { height: 7px; margin-top: 7px; overflow: hidden; border-radius: 99px; background: #edf1f6; }
.company-progress-track span { width: 100%; height: 100%; display: block; border-radius: inherit; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.company-job-meta { margin: 17px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.company-job-meta > div { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft); }
.company-job-meta dt { color: var(--muted); font-size: 10px; }
.company-job-meta dd { margin: 4px 0 0; overflow: hidden; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.company-result-scroll { margin: 18px -24px -24px; }
.company-result-table { min-width: 1120px; }
.company-result-table th, .company-result-table td { padding-top: 12px; padding-bottom: 12px; }
.company-result-table .company-period-column, .company-period-result-cell { text-align: center; }
.company-name-cell { font-weight: 750; }
.company-period-result { font-size: 10px; font-weight: 750; white-space: nowrap; }
.company-period-result.is-complete { color: #087a55; }
.company-period-result.is-waiting { color: var(--blue); }
.company-period-result.is-pending, .company-period-result.is-empty { color: var(--muted); }
.company-period-result.is-failed { color: #b42318; }
.company-problem-list { max-width: 280px; display: grid; gap: 4px; white-space: normal; }
.company-problem { font-size: 10px; font-weight: 750; line-height: 1.35; }
.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-result-row.is-review td { background: #fffbeb; }
.company-result-row.is-failed td { background: #fff6f5; }
.company-result-row.is-review:hover td { background: #fff7d6; }
.company-result-row.is-failed:hover td { background: #feeceb; }
.company-history-panel { margin-top: 20px; }
.company-history-count { color: var(--muted); font-size: 11px; }
.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; }
.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; }
: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); }
.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; }
}
@media (max-width: 700px) {
.shell { width: min(100% - 28px, 1400px); }
.masthead { height: 64px; }
.brand small, .system-status span, .h5-link { display: none; }
.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; }
.metric-card { min-height: 112px; }
.pipeline small { display: none; }
.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; }
.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-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; }
.company-job-meta { grid-template-columns: 1fr 1fr; }
.company-result-scroll { margin-left: 0; margin-right: 0; overflow: visible; }
.company-result-table, .company-result-table tbody { min-width: 0; display: block; }
.company-result-table thead { display: none; }
.company-result-table tbody { display: grid; gap: 10px; }
.company-result-table .company-result-row { padding: 11px 13px; display: grid; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.company-result-table .company-result-row td { min-width: 0; padding: 8px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: right; white-space: normal; }
.company-result-table .company-result-row td::before { content: attr(data-label); flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 700; text-align: left; }
.company-result-table .company-result-row .company-name-cell { padding-top: 2px; font-size: 14px; text-align: left; }
.company-result-table .company-result-row .company-name-cell::before { display: none; }
.company-result-table .company-result-row td:last-child { border-bottom: 0; }
.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; }
.page-footer { width: min(100% - 28px, 1400px); flex-direction: column; gap: 4px; }
}
@media (max-width: 430px) {
.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; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}