ci / check (push) Successful in 50s
- replace default Onyx surfaces with paper/ink, signal orange and Archivo - make /plan answer peak, staff-hours, cost vs flat and coverage above the fold - add the weekly shift board, shared plan helpers and a pulse line - rebuild /live as a phone-first dark board and /stage as a full-bleed projector - label the real 14-20 Nov window; remove 'next week' claims - keep Onyx components, SSR, live scenario updates and accessible states
1724 lines
34 KiB
CSS
1724 lines
34 KiB
CSS
@font-face {
|
|
font-family: "Archivo";
|
|
src: url("/fonts/archivo-latin-var.woff2") format("woff2");
|
|
font-style: normal;
|
|
font-weight: 100 900;
|
|
font-stretch: 62% 125%;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
/* Shift board world */
|
|
--pc-paper: #f4efe6;
|
|
--pc-paper-2: #e9e3d7;
|
|
--pc-paper-3: #ded6c7;
|
|
--pc-ink: #16130f;
|
|
--pc-ink-2: #2a261f;
|
|
--pc-muted: #6e665a;
|
|
--pc-line: #d3caba;
|
|
--pc-line-strong: #a99f8e;
|
|
--pc-signal: #e84100;
|
|
--pc-signal-text: #b63a00;
|
|
--pc-signal-wash: #ffe3d4;
|
|
--pc-green: #2e6b4f;
|
|
--pc-green-soft: #dcebe2;
|
|
--pc-danger: #b3261e;
|
|
--pc-dark: #0e100e;
|
|
--pc-dark-2: #191c18;
|
|
--pc-dark-3: #22261f;
|
|
--pc-dark-line: #343a31;
|
|
--pc-dark-muted: #b4ae9f;
|
|
--pc-signal-bright: #ff6a2a;
|
|
--pc-green-bright: #5fc99a;
|
|
--pc-danger-bright: #ff7a6e;
|
|
--pc-focus: #b63a00;
|
|
--pc-focus-dark: #ff6a2a;
|
|
--pc-font: "Archivo", "Helvetica Neue", Arial, sans-serif;
|
|
--pc-display-stretch: 78%;
|
|
--pc-radius: 0;
|
|
|
|
/* Onyx is the component system; these tokens make it PulseCast. */
|
|
--onyx-font-family-paragraph: var(--pc-font);
|
|
--onyx-font-family-h1: var(--pc-font);
|
|
--onyx-font-family-h2: var(--pc-font);
|
|
--onyx-font-family-h3: var(--pc-font);
|
|
--onyx-font-family-h4: var(--pc-font);
|
|
--onyx-font-family-data: var(--pc-font);
|
|
--onyx-font-family-mono: var(--pc-font);
|
|
--onyx-font-weight-semibold: 650;
|
|
|
|
--onyx-radius-component-badge: 0;
|
|
--onyx-radius-component-button: 0;
|
|
--onyx-radius-component-checkbox: 0;
|
|
--onyx-radius-component-container-sharp: 0;
|
|
--onyx-radius-component-container-soft: 0;
|
|
--onyx-radius-component-flyout: 0;
|
|
--onyx-radius-component-icon-button: 0;
|
|
--onyx-radius-component-input: 0;
|
|
--onyx-radius-component-search-sharp: 0;
|
|
--onyx-radius-component-search-soft: 0;
|
|
--onyx-radius-component-segmented-control-inside: 0;
|
|
--onyx-radius-component-segmented-control-outside: 0;
|
|
--onyx-radius-component-skeleton: 0;
|
|
--onyx-radius-component-system-button: 0;
|
|
--onyx-radius-full: 999px;
|
|
--onyx-radius-lg: 0;
|
|
--onyx-radius-md: 0;
|
|
--onyx-radius-sm: 0;
|
|
--onyx-radius-xl: 0;
|
|
--onyx-radius-xs: 0;
|
|
|
|
--onyx-shadow-medium-top: none;
|
|
--onyx-shadow-medium-bottom: none;
|
|
--onyx-shadow-medium-left: none;
|
|
--onyx-shadow-medium-right: none;
|
|
--onyx-shadow-soft-top: none;
|
|
--onyx-shadow-soft-bottom: none;
|
|
--onyx-shadow-soft-left: none;
|
|
--onyx-shadow-soft-right: none;
|
|
|
|
--onyx-color-base-background-blank: var(--pc-paper);
|
|
--onyx-color-base-background-tinted: var(--pc-paper-2);
|
|
--onyx-color-base-neutral-100: var(--pc-paper);
|
|
--onyx-color-base-neutral-200: var(--pc-paper-2);
|
|
--onyx-color-base-neutral-300: var(--pc-line);
|
|
--onyx-color-base-neutral-400: var(--pc-line-strong);
|
|
--onyx-color-base-neutral-500: #8b8172;
|
|
--onyx-color-base-neutral-600: var(--pc-muted);
|
|
--onyx-color-base-neutral-700: #4e473d;
|
|
--onyx-color-base-neutral-800: var(--pc-ink-2);
|
|
--onyx-color-base-neutral-900: var(--pc-ink);
|
|
|
|
--onyx-color-base-primary-100: #e8e1d4;
|
|
--onyx-color-base-primary-200: #d8cfbf;
|
|
--onyx-color-base-primary-300: #b8ad9b;
|
|
--onyx-color-base-primary-400: #8b8172;
|
|
--onyx-color-base-primary-500: var(--pc-ink-2);
|
|
--onyx-color-base-primary-600: var(--pc-ink);
|
|
--onyx-color-base-primary-700: #0c0a08;
|
|
--onyx-color-base-primary-800: #000000;
|
|
--onyx-color-base-primary-900: #000000;
|
|
|
|
--onyx-color-base-success-100: #e1eee7;
|
|
--onyx-color-base-success-200: #c6e0d1;
|
|
--onyx-color-base-success-300: #9ac7b3;
|
|
--onyx-color-base-success-400: #6ba889;
|
|
--onyx-color-base-success-500: var(--pc-green);
|
|
--onyx-color-base-success-600: #24573f;
|
|
--onyx-color-base-success-700: #1b4632;
|
|
--onyx-color-base-success-800: #123524;
|
|
--onyx-color-base-success-900: #0b2719;
|
|
|
|
--onyx-color-base-warning-100: #ffe6d8;
|
|
--onyx-color-base-warning-200: #ffd0b5;
|
|
--onyx-color-base-warning-300: #ffb185;
|
|
--onyx-color-base-warning-400: #ff8a4d;
|
|
--onyx-color-base-warning-500: var(--pc-signal);
|
|
--onyx-color-base-warning-600: #c23800;
|
|
--onyx-color-base-warning-700: #9b2d00;
|
|
--onyx-color-base-warning-800: #742200;
|
|
--onyx-color-base-warning-900: #4d1700;
|
|
|
|
--onyx-color-base-danger-100: #f9dedb;
|
|
--onyx-color-base-danger-200: #f3c0bb;
|
|
--onyx-color-base-danger-300: #e99a93;
|
|
--onyx-color-base-danger-400: #d87369;
|
|
--onyx-color-base-danger-500: var(--pc-danger);
|
|
--onyx-color-base-danger-600: #941d17;
|
|
--onyx-color-base-danger-700: #751510;
|
|
--onyx-color-base-danger-800: #560e0a;
|
|
--onyx-color-base-danger-900: #380805;
|
|
|
|
--onyx-color-component-border-neutral: var(--pc-line-strong);
|
|
--onyx-color-component-border-neutral-hover: var(--pc-ink);
|
|
--onyx-color-component-border-secondary: var(--pc-line);
|
|
--onyx-color-component-cta-default: var(--pc-ink);
|
|
--onyx-color-component-cta-default-hover: #000000;
|
|
--onyx-color-component-cta-disabled: var(--pc-line);
|
|
--onyx-color-component-focus-primary: var(--pc-focus);
|
|
--onyx-color-component-focus-neutral: var(--pc-focus);
|
|
--onyx-color-component-focus-danger: var(--pc-danger);
|
|
--onyx-color-component-focus-success: var(--pc-green);
|
|
--onyx-color-component-focus-warning: var(--pc-signal-text);
|
|
|
|
--onyx-color-text-icons-neutral-intense: var(--pc-ink);
|
|
--onyx-color-text-icons-neutral-medium: #5f584d;
|
|
--onyx-color-text-icons-neutral-soft: var(--pc-muted);
|
|
--onyx-color-text-icons-neutral-inverted: var(--pc-paper);
|
|
--onyx-color-text-icons-neutral-button: var(--pc-paper);
|
|
--onyx-color-text-icons-neutral-selected: var(--pc-ink);
|
|
--onyx-color-text-icons-primary-intense: var(--pc-signal-text);
|
|
--onyx-color-text-icons-primary-bold: var(--pc-ink);
|
|
--onyx-color-text-icons-primary-medium: var(--pc-muted);
|
|
--onyx-color-text-icons-primary-soft: var(--pc-line-strong);
|
|
--onyx-color-text-icons-warning-bold: #8f2d00;
|
|
--onyx-color-text-icons-warning-intense: var(--pc-signal-text);
|
|
--onyx-color-text-icons-warning-medium: #8f2d00;
|
|
--onyx-color-text-icons-success-bold: #123524;
|
|
--onyx-color-text-icons-success-intense: var(--pc-green);
|
|
--onyx-color-text-icons-success-medium: #24573f;
|
|
--onyx-color-text-icons-danger-bold: #560e0a;
|
|
--onyx-color-text-icons-danger-intense: var(--pc-danger);
|
|
--onyx-color-text-icons-info-bold: var(--pc-ink);
|
|
--onyx-color-text-icons-info-intense: var(--pc-ink-2);
|
|
--onyx-color-text-icons-info-medium: var(--pc-muted);
|
|
}
|
|
|
|
html {
|
|
color-scheme: light;
|
|
min-height: 100%;
|
|
scrollbar-color: var(--pc-line-strong) transparent;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--pc-paper);
|
|
color: var(--pc-ink);
|
|
font-family: var(--pc-font);
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
#__nuxt {
|
|
min-height: 100%;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--pc-signal);
|
|
color: var(--pc-ink);
|
|
}
|
|
|
|
:where(a, button, input, select, textarea):focus-visible {
|
|
outline: 2px solid var(--pc-focus);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration-color: var(--pc-signal-text);
|
|
text-decoration-thickness: 1.5px;
|
|
text-underline-offset: 0.2em;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration-thickness: 2.5px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--pc-line-strong);
|
|
border: 2px solid var(--pc-paper);
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Typography ------------------------------------------------------------ */
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
.onyx-headline {
|
|
font-family: var(--pc-font);
|
|
color: var(--pc-ink);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.onyx-headline {
|
|
font-weight: 750;
|
|
}
|
|
|
|
.pc-display {
|
|
font-family: var(--pc-font);
|
|
font-stretch: var(--pc-display-stretch);
|
|
font-weight: 850;
|
|
line-height: 0.86;
|
|
letter-spacing: -0.04em;
|
|
font-variant-numeric: tabular-nums;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.pc-h1 {
|
|
max-width: 13ch;
|
|
margin: 0;
|
|
font-size: clamp(3rem, 5vw, 5rem);
|
|
font-stretch: var(--pc-display-stretch);
|
|
font-weight: 850;
|
|
line-height: 0.9;
|
|
letter-spacing: -0.04em;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.pc-h2 {
|
|
margin: 0;
|
|
font-size: clamp(1.5rem, 2.1vw, 2rem);
|
|
font-stretch: 88%;
|
|
font-weight: 800;
|
|
line-height: 0.98;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.pc-h3 {
|
|
margin: 0;
|
|
font-size: 1.05rem;
|
|
font-weight: 750;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.pc-label {
|
|
margin: 0;
|
|
color: var(--pc-muted);
|
|
font-size: 0.66rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
line-height: 1.3;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pc-num {
|
|
font-variant-numeric: tabular-nums;
|
|
font-feature-settings: "tnum" 1;
|
|
}
|
|
|
|
.pc-muted {
|
|
color: var(--pc-muted);
|
|
}
|
|
|
|
.pc-small {
|
|
font-size: 0.82rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.pc-mono {
|
|
font-family: var(--pc-font);
|
|
font-size: 0.76rem;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.pc-lede {
|
|
max-width: 62ch;
|
|
margin: 0;
|
|
color: var(--pc-muted);
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.pc-wordmark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.55rem;
|
|
font-size: 0.95rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.pc-wordmark::before {
|
|
content: "";
|
|
display: block;
|
|
width: 0.55rem;
|
|
height: 1.3rem;
|
|
background: var(--pc-signal);
|
|
}
|
|
|
|
/* Page and shell -------------------------------------------------------- */
|
|
|
|
.page {
|
|
width: 100%;
|
|
max-width: 1440px;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.page-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--onyx-density-xl);
|
|
}
|
|
|
|
.pc-page {
|
|
display: flex;
|
|
width: 100%;
|
|
max-width: 1440px;
|
|
flex-direction: column;
|
|
gap: 1.1rem;
|
|
margin-inline: auto;
|
|
padding-block: 1.25rem 3rem;
|
|
}
|
|
|
|
.app-footer {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
width: 100%;
|
|
max-width: 1440px;
|
|
margin-inline: auto;
|
|
padding-block: 0.9rem;
|
|
border-top: 1px solid var(--pc-line);
|
|
background: var(--pc-paper);
|
|
color: var(--pc-muted);
|
|
font-size: 0.74rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.app-footer strong {
|
|
color: var(--pc-ink);
|
|
}
|
|
|
|
/* Navigation ------------------------------------------------------------ */
|
|
|
|
.onyx-nav-bar {
|
|
--onyx-color-base-background-blank: var(--pc-ink);
|
|
--onyx-color-text-icons-neutral-intense: var(--pc-paper);
|
|
--onyx-color-text-icons-neutral-medium: var(--pc-dark-muted);
|
|
--onyx-color-component-border-neutral: var(--pc-dark-line);
|
|
background: var(--pc-ink);
|
|
color: var(--pc-paper);
|
|
font-family: var(--pc-font);
|
|
}
|
|
|
|
.onyx-nav-bar::after {
|
|
height: 3px;
|
|
background: var(--pc-signal);
|
|
}
|
|
|
|
.onyx-nav-bar__app {
|
|
border-right-color: var(--pc-dark-line);
|
|
}
|
|
|
|
.onyx-nav-bar a,
|
|
.onyx-nav-bar button {
|
|
color: var(--pc-paper);
|
|
font-family: var(--pc-font);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.onyx-nav-bar a:hover,
|
|
.onyx-nav-bar button:hover {
|
|
color: #fff;
|
|
background: var(--pc-dark-2);
|
|
}
|
|
|
|
.onyx-nav-bar [aria-current="page"],
|
|
.onyx-nav-bar .onyx-router-link--active {
|
|
position: relative;
|
|
color: var(--pc-signal-bright);
|
|
}
|
|
|
|
.onyx-nav-bar [aria-current="page"]::after,
|
|
.onyx-nav-bar .onyx-router-link--active::after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
inset-inline: 0.6rem;
|
|
inset-block-end: 0.45rem;
|
|
height: 2px;
|
|
background: var(--pc-signal-bright);
|
|
}
|
|
|
|
.pc-present {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 2rem;
|
|
padding-inline: 0.55rem;
|
|
color: var(--pc-dark-muted);
|
|
font-size: 0.72rem;
|
|
font-weight: 650;
|
|
letter-spacing: 0.06em;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pc-present:hover {
|
|
color: var(--pc-paper);
|
|
background: var(--pc-dark-2);
|
|
text-decoration: none;
|
|
}
|
|
|
|
/* Buttons and controls -------------------------------------------------- */
|
|
|
|
.onyx-button {
|
|
min-height: 44px;
|
|
padding-inline: 1rem;
|
|
border-radius: 0;
|
|
font-family: var(--pc-font);
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
a.onyx-button {
|
|
color: var(--onyx-button-text-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.onyx-button:hover {
|
|
color: var(--onyx-button-text-color-hover);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.onyx-button__label {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.onyx-button--primary.onyx-button--outline {
|
|
border-width: 1.5px;
|
|
}
|
|
|
|
.onyx-button--primary.onyx-button--plain {
|
|
min-height: 36px;
|
|
text-decoration: underline;
|
|
text-decoration-color: var(--pc-signal-text);
|
|
text-decoration-thickness: 1.5px;
|
|
text-underline-offset: 0.22em;
|
|
}
|
|
|
|
.onyx-button:focus-visible {
|
|
outline: 3px solid var(--pc-focus);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.onyx-select-input__wrapper,
|
|
.onyx-input,
|
|
.onyx-textarea {
|
|
border-radius: 0;
|
|
background: var(--pc-paper);
|
|
font-family: var(--pc-font);
|
|
}
|
|
|
|
.onyx-select-input__native,
|
|
.onyx-select-input__button {
|
|
font-family: var(--pc-font);
|
|
}
|
|
|
|
.onyx-segmented-control {
|
|
border-radius: 0;
|
|
background: var(--pc-paper-2);
|
|
}
|
|
|
|
.onyx-segmented-control__button {
|
|
border-radius: 0;
|
|
font-family: var(--pc-font);
|
|
}
|
|
|
|
.onyx-slider input,
|
|
.onyx-stepper {
|
|
accent-color: var(--pc-ink);
|
|
}
|
|
|
|
.onyx-checkbox,
|
|
.onyx-radio {
|
|
accent-color: var(--pc-ink);
|
|
}
|
|
|
|
.onyx-badge {
|
|
border: 1px solid currentColor;
|
|
border-radius: 0;
|
|
font-family: var(--pc-font);
|
|
font-size: 0.62rem;
|
|
font-weight: 750;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.onyx-card {
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 0;
|
|
background: var(--pc-paper);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.onyx-card:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.onyx-accordion,
|
|
.onyx-accordion-item {
|
|
border-radius: 0;
|
|
}
|
|
|
|
.onyx-table {
|
|
border-collapse: collapse;
|
|
color: var(--pc-ink);
|
|
font-family: var(--pc-font);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.onyx-table th {
|
|
color: var(--pc-ink-2);
|
|
font-size: 0.64rem;
|
|
font-weight: 750;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.onyx-table thead th {
|
|
border-bottom: 2px solid var(--pc-ink);
|
|
}
|
|
|
|
.onyx-table tbody tr {
|
|
border-bottom: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.onyx-table tbody tr:hover {
|
|
background: var(--pc-paper-2);
|
|
}
|
|
|
|
.onyx-table--striped tbody tr:nth-child(odd) {
|
|
background: transparent;
|
|
}
|
|
|
|
.onyx-table td,
|
|
.onyx-table th {
|
|
padding-block: 0.55rem;
|
|
}
|
|
|
|
/* Shift-board components ------------------------------------------------ */
|
|
|
|
.pc-hero {
|
|
position: relative;
|
|
padding: clamp(1.15rem, 2.2vw, 2rem);
|
|
border: 2px solid var(--pc-ink);
|
|
background: var(--pc-paper);
|
|
}
|
|
|
|
.pc-hero__top {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
margin-bottom: 1.1rem;
|
|
padding-bottom: 0.65rem;
|
|
border-bottom: 1px solid var(--pc-line-strong);
|
|
}
|
|
|
|
.pc-hero__grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
|
|
gap: clamp(1.25rem, 2.6vw, 2.5rem);
|
|
align-items: start;
|
|
}
|
|
|
|
.pc-hero__copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 0.85rem;
|
|
}
|
|
|
|
.pc-hero__shift {
|
|
margin: 0;
|
|
font-size: clamp(1.05rem, 1.5vw, 1.3rem);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.pc-hero__shift strong {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.pc-receipt {
|
|
display: grid;
|
|
min-width: 0;
|
|
gap: 0;
|
|
padding-top: 0.4rem;
|
|
border-top: 3px solid var(--pc-ink);
|
|
}
|
|
|
|
.pc-receipt__head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
padding-block: 0.55rem 0.7rem;
|
|
border-bottom: 1px solid var(--pc-line-strong);
|
|
}
|
|
|
|
.pc-receipt__headline {
|
|
margin: 0;
|
|
font-size: clamp(1.8rem, 3.2vw, 2.8rem);
|
|
font-stretch: 82%;
|
|
font-weight: 850;
|
|
line-height: 0.9;
|
|
letter-spacing: -0.03em;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pc-receipt__row {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding-block: 0.48rem;
|
|
border-bottom: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.pc-receipt__label {
|
|
color: var(--pc-muted);
|
|
font-size: 0.7rem;
|
|
font-weight: 650;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pc-receipt__value {
|
|
font-size: 0.98rem;
|
|
font-weight: 750;
|
|
letter-spacing: -0.01em;
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pc-receipt__value--signal {
|
|
color: var(--pc-signal-text);
|
|
}
|
|
|
|
.pc-receipt__value--green {
|
|
color: var(--pc-green);
|
|
}
|
|
|
|
.pc-receipt__note {
|
|
margin: 0.65rem 0 0;
|
|
color: var(--pc-muted);
|
|
font-size: 0.72rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.pc-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.pc-action-note {
|
|
color: var(--pc-muted);
|
|
font-size: 0.75rem;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.pc-board-wrap {
|
|
margin-top: 1.25rem;
|
|
padding-top: 0.7rem;
|
|
border-top: 2px solid var(--pc-ink);
|
|
}
|
|
|
|
.pc-board-wrap__head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.pc-board-wrap__head p {
|
|
margin: 0;
|
|
}
|
|
|
|
.pc-board-wrap__hint {
|
|
color: var(--pc-muted);
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.pc-evidence {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 0;
|
|
border-block: 2px solid var(--pc-ink);
|
|
}
|
|
|
|
.pc-evidence__item {
|
|
min-width: 0;
|
|
padding: 0.8rem 0.9rem;
|
|
border-inline-end: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.pc-evidence__item:last-child {
|
|
border-inline-end: 0;
|
|
}
|
|
|
|
.pc-evidence__item dt {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
margin: 0;
|
|
color: var(--pc-muted);
|
|
font-size: 0.62rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pc-evidence__item dd {
|
|
margin: 0.3rem 0 0;
|
|
font-size: 1.02rem;
|
|
font-weight: 750;
|
|
line-height: 1.15;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.pc-evidence__note {
|
|
display: block;
|
|
margin-top: 0.15rem;
|
|
color: var(--pc-muted);
|
|
font-size: 0.68rem;
|
|
font-weight: 450;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.pc-section {
|
|
padding-top: 0.9rem;
|
|
border-top: 2px solid var(--pc-ink);
|
|
}
|
|
|
|
.pc-section__head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.85rem;
|
|
}
|
|
|
|
.pc-section__head p {
|
|
margin: 0;
|
|
}
|
|
|
|
.pc-section__body {
|
|
display: grid;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.pc-settings {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr);
|
|
gap: 1.1rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.pc-settings__controls {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 0.8rem;
|
|
}
|
|
|
|
.pc-settings__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.pc-split {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 1fr);
|
|
gap: 1.25rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.pc-stack {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.pc-panel {
|
|
padding: 0.9rem 1rem;
|
|
border: 1px solid var(--pc-line-strong);
|
|
background: var(--pc-paper);
|
|
}
|
|
|
|
.pc-panel__head {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.55rem;
|
|
}
|
|
|
|
.pc-panel__head h2,
|
|
.pc-panel__head h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.pc-tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
width: fit-content;
|
|
padding: 0.16rem 0.38rem;
|
|
border: 1px solid var(--pc-line-strong);
|
|
background: transparent;
|
|
color: var(--pc-muted);
|
|
font-size: 0.6rem;
|
|
font-weight: 750;
|
|
letter-spacing: 0.08em;
|
|
line-height: 1.2;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pc-tag--signal {
|
|
border-color: var(--pc-signal-text);
|
|
background: var(--pc-signal-text);
|
|
color: var(--pc-paper);
|
|
}
|
|
|
|
.pc-tag--green {
|
|
border-color: var(--pc-green);
|
|
color: var(--pc-green);
|
|
}
|
|
|
|
.pc-tag--danger {
|
|
border-color: var(--pc-danger);
|
|
color: var(--pc-danger);
|
|
}
|
|
|
|
.pc-tag--dark {
|
|
border-color: var(--pc-dark-line);
|
|
color: var(--pc-dark-muted);
|
|
}
|
|
|
|
.pc-alert {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
padding: 0.75rem 0.9rem;
|
|
border: 1px solid var(--pc-signal-text);
|
|
background: var(--pc-signal-wash);
|
|
color: var(--pc-ink);
|
|
font-size: 0.85rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.pc-alert--danger {
|
|
border-color: var(--pc-danger);
|
|
background: #f9dedb;
|
|
}
|
|
|
|
.pc-alert--dark {
|
|
border-color: var(--pc-dark-line);
|
|
background: var(--pc-dark-2);
|
|
color: var(--pc-paper);
|
|
}
|
|
|
|
.pc-skeleton {
|
|
display: block;
|
|
min-height: 1rem;
|
|
background: linear-gradient(90deg, var(--pc-paper-2), var(--pc-paper-3), var(--pc-paper-2));
|
|
background-size: 200% 100%;
|
|
animation: pc-shimmer 1.4s ease-in-out infinite;
|
|
}
|
|
|
|
.pc-skeleton--dark {
|
|
background: linear-gradient(90deg, var(--pc-dark-2), var(--pc-dark-3), var(--pc-dark-2));
|
|
background-size: 200% 100%;
|
|
}
|
|
|
|
@keyframes pc-shimmer {
|
|
from {
|
|
background-position: 200% 0;
|
|
}
|
|
to {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.pc-skeleton {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Presentation surfaces ------------------------------------------------- */
|
|
|
|
.pc-dark {
|
|
--pc-focus: var(--pc-focus-dark);
|
|
color-scheme: dark;
|
|
background: var(--pc-dark);
|
|
color: var(--pc-paper);
|
|
--onyx-color-base-background-blank: var(--pc-dark);
|
|
--onyx-color-base-background-tinted: var(--pc-dark-2);
|
|
--onyx-color-base-neutral-100: var(--pc-dark);
|
|
--onyx-color-base-neutral-200: var(--pc-dark-2);
|
|
--onyx-color-base-neutral-300: var(--pc-dark-line);
|
|
--onyx-color-base-neutral-400: #4a5145;
|
|
--onyx-color-base-neutral-500: #7c8275;
|
|
--onyx-color-base-neutral-600: var(--pc-dark-muted);
|
|
--onyx-color-base-neutral-700: #c9c4b8;
|
|
--onyx-color-base-neutral-800: #e6e1d6;
|
|
--onyx-color-base-neutral-900: var(--pc-paper);
|
|
--onyx-color-text-icons-neutral-intense: var(--pc-paper);
|
|
--onyx-color-text-icons-neutral-medium: var(--pc-dark-muted);
|
|
--onyx-color-text-icons-neutral-soft: var(--pc-dark-muted);
|
|
--onyx-color-text-icons-neutral-inverted: var(--pc-dark);
|
|
--onyx-color-text-icons-neutral-button: var(--pc-dark);
|
|
--onyx-color-component-border-neutral: var(--pc-dark-line);
|
|
--onyx-color-component-cta-default: var(--pc-paper);
|
|
--onyx-color-component-cta-default-hover: #fff;
|
|
--onyx-color-text-icons-primary-bold: var(--pc-paper);
|
|
--onyx-color-text-icons-primary-intense: var(--pc-signal-bright);
|
|
--onyx-color-text-icons-primary-medium: var(--pc-dark-muted);
|
|
--onyx-color-component-focus-primary: var(--pc-focus-dark);
|
|
}
|
|
|
|
.pc-dark .onyx-card {
|
|
border-color: var(--pc-dark-line);
|
|
background: var(--pc-dark-2);
|
|
}
|
|
|
|
.pc-dark .onyx-button--primary.onyx-button--default {
|
|
--onyx-button-background-color: var(--pc-paper);
|
|
--onyx-button-background-color-hover: #fff;
|
|
--onyx-button-text-color: var(--pc-dark);
|
|
--onyx-button-border-color: var(--pc-paper);
|
|
}
|
|
|
|
.pc-dark .onyx-button--primary.onyx-button--outline {
|
|
--onyx-button-text-color: var(--pc-paper);
|
|
--onyx-button-border-color: var(--pc-dark-line);
|
|
--onyx-button-background-color-hover: var(--pc-dark-2);
|
|
}
|
|
|
|
.pc-dark a {
|
|
text-decoration-color: var(--pc-signal-bright);
|
|
}
|
|
|
|
.pc-dark .onyx-headline {
|
|
color: var(--pc-paper);
|
|
}
|
|
|
|
.pc-dark .pc-label,
|
|
.pc-dark .pc-muted {
|
|
color: var(--pc-dark-muted);
|
|
}
|
|
|
|
.pc-dark .pc-tag:not(.pc-tag--signal):not(.pc-tag--green) {
|
|
border-color: var(--pc-dark-line);
|
|
color: var(--pc-dark-muted);
|
|
}
|
|
|
|
body.pc-presentation {
|
|
background: var(--pc-dark);
|
|
}
|
|
|
|
.pc-link-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 44px;
|
|
padding: 0.6rem 1rem;
|
|
border: 1px solid var(--pc-dark-line);
|
|
background: transparent;
|
|
color: var(--pc-paper);
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pc-link-button:hover {
|
|
border-color: var(--pc-paper);
|
|
background: var(--pc-dark-2);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pc-link-button--primary {
|
|
border-color: var(--pc-paper);
|
|
background: var(--pc-paper);
|
|
color: var(--pc-dark);
|
|
}
|
|
|
|
.pc-link-button--primary:hover {
|
|
background: #fff;
|
|
color: var(--pc-dark);
|
|
}
|
|
|
|
/* Legacy utilities used by routes awaiting the finish pass --------------- */
|
|
|
|
.page-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: var(--onyx-density-md);
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 var(--onyx-density-xs);
|
|
color: var(--pc-signal-text);
|
|
font-size: 0.7rem;
|
|
font-weight: 750;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.lede {
|
|
max-width: 72ch;
|
|
margin: var(--onyx-density-sm) 0 0;
|
|
color: var(--pc-muted);
|
|
font-size: 1rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--pc-muted);
|
|
}
|
|
|
|
.onyx-table .muted,
|
|
.onyx-table .pc-muted {
|
|
color: var(--pc-ink-2);
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.8125rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.mono {
|
|
font-family: var(--pc-font);
|
|
font-size: 0.8125rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.hero {
|
|
padding: clamp(1.25rem, 2.5vw, 2rem);
|
|
border: 2px solid var(--pc-ink);
|
|
border-radius: 0;
|
|
background: var(--pc-paper);
|
|
}
|
|
|
|
.hero-grid {
|
|
display: grid;
|
|
gap: var(--onyx-density-xl);
|
|
align-items: start;
|
|
}
|
|
|
|
.hero-copy {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--onyx-density-md);
|
|
}
|
|
|
|
.hero-copy h1 {
|
|
max-width: 22ch;
|
|
margin: 0;
|
|
}
|
|
|
|
.hero-copy p {
|
|
margin: 0;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.hero-decision {
|
|
padding: var(--onyx-density-lg);
|
|
border: 1px solid var(--pc-line-strong);
|
|
border-radius: 0;
|
|
background: var(--pc-paper);
|
|
}
|
|
|
|
.hero-decision__value {
|
|
margin: 0;
|
|
color: var(--pc-signal-text);
|
|
font-size: clamp(2rem, 3vw, 3rem);
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
}
|
|
|
|
.hero-decision__label {
|
|
margin: var(--onyx-density-xs) 0 0;
|
|
color: var(--pc-muted);
|
|
}
|
|
|
|
.summary-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.stat-card {
|
|
height: 100%;
|
|
}
|
|
|
|
.onyx-badge {
|
|
width: fit-content;
|
|
}
|
|
|
|
.stat-label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
margin: 0;
|
|
color: var(--pc-muted);
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.stat-value {
|
|
margin: 0.25rem 0 0;
|
|
font-size: clamp(1.35rem, 2vw, 1.75rem);
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.stat-hint {
|
|
margin: 0.3rem 0 0;
|
|
color: var(--pc-muted);
|
|
font-size: 0.78rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.split-grid {
|
|
display: grid;
|
|
gap: var(--onyx-density-lg);
|
|
align-items: start;
|
|
}
|
|
|
|
.card-stack {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: var(--onyx-density-md);
|
|
}
|
|
|
|
.split-grid > *,
|
|
.summary-grid > *,
|
|
.onyx-card,
|
|
.onyx-table-wrapper,
|
|
.onyx-table-wrapper__container {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.onyx-table-wrapper__container,
|
|
.onyx-table-wrapper__container--no-scroll {
|
|
overflow: auto;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--onyx-density-xs);
|
|
margin-bottom: var(--onyx-density-sm);
|
|
}
|
|
|
|
.card-header h2,
|
|
.card-header h3 {
|
|
margin: 0;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
gap: var(--onyx-density-md);
|
|
}
|
|
|
|
.form-grid > *,
|
|
.onyx-form-element-v2,
|
|
.onyx-form-element-v2 > * {
|
|
min-width: 0;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.assumption-grid {
|
|
display: grid;
|
|
gap: var(--onyx-density-md);
|
|
}
|
|
|
|
.shift-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--onyx-density-2xs);
|
|
}
|
|
|
|
.day-card-list {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.day-card__header {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.day-card__date {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.day-card__metrics {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--onyx-density-sm);
|
|
margin-top: var(--onyx-density-sm);
|
|
color: var(--pc-muted);
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.weather-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(5.5rem, 1fr));
|
|
gap: var(--onyx-density-2xs);
|
|
padding-bottom: var(--onyx-density-2xs);
|
|
}
|
|
|
|
.weather-day {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
padding: var(--onyx-density-xs);
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 0;
|
|
background: var(--pc-paper);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.weather-day strong {
|
|
font-size: 0.8125rem;
|
|
}
|
|
|
|
.why-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--onyx-density-sm);
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.why-list li {
|
|
display: flex;
|
|
gap: var(--onyx-density-xs);
|
|
align-items: flex-start;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.why-list .onyx-icon {
|
|
flex: none;
|
|
margin-top: 0.1rem;
|
|
}
|
|
|
|
.map-frame {
|
|
position: relative;
|
|
min-height: 320px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--pc-line);
|
|
border-radius: 0;
|
|
background:
|
|
linear-gradient(var(--pc-line) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--pc-line) 1px, transparent 1px),
|
|
var(--pc-paper);
|
|
background-size: 2.5rem 2.5rem;
|
|
}
|
|
|
|
.map-frame__label {
|
|
position: absolute;
|
|
top: var(--onyx-density-sm);
|
|
left: var(--onyx-density-sm);
|
|
z-index: 2;
|
|
max-width: 14rem;
|
|
}
|
|
|
|
.sensor-pin {
|
|
position: absolute;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 0.15rem;
|
|
transform: translate(-50%, -50%);
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
|
|
.sensor-pin__dot {
|
|
display: grid;
|
|
width: 2.25rem;
|
|
height: 2.25rem;
|
|
place-items: center;
|
|
border: 2px solid var(--pc-paper);
|
|
border-radius: 50%;
|
|
background: var(--pc-ink);
|
|
color: var(--pc-paper);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sensor-pin--active .sensor-pin__dot {
|
|
background: var(--pc-signal);
|
|
color: var(--pc-ink);
|
|
outline: 3px solid var(--pc-signal-text);
|
|
}
|
|
|
|
.sensor-pin__name {
|
|
max-width: 7rem;
|
|
overflow: hidden;
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 0;
|
|
background: color-mix(in srgb, var(--pc-paper) 88%, transparent);
|
|
font-size: 0.6875rem;
|
|
line-height: 1.2;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.bar-chart {
|
|
display: flex;
|
|
height: 96px;
|
|
align-items: flex-end;
|
|
gap: 2px;
|
|
padding-top: var(--onyx-density-sm);
|
|
}
|
|
|
|
.bar-chart__bar {
|
|
min-width: 3px;
|
|
flex: 1;
|
|
border-radius: 0;
|
|
background: var(--pc-line-strong);
|
|
}
|
|
|
|
.bar-chart__bar--now {
|
|
background: var(--pc-signal);
|
|
}
|
|
|
|
.reading-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.reading-value {
|
|
margin: 0;
|
|
font-size: clamp(2.5rem, 6vw, 4rem);
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--onyx-density-sm);
|
|
align-items: center;
|
|
}
|
|
|
|
.legend__item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
color: var(--pc-muted);
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.legend__swatch {
|
|
width: 0.75rem;
|
|
height: 0.75rem;
|
|
border-radius: 0;
|
|
background: var(--pc-line-strong);
|
|
}
|
|
|
|
.legend__swatch--under {
|
|
background: var(--pc-danger);
|
|
}
|
|
|
|
.legend__swatch--over {
|
|
background: var(--pc-signal);
|
|
}
|
|
|
|
.table-note {
|
|
margin: var(--onyx-density-xs) 0 0;
|
|
}
|
|
|
|
.callout {
|
|
padding: var(--onyx-density-sm) var(--onyx-density-md);
|
|
border: 1px solid var(--pc-line-strong);
|
|
border-radius: 0;
|
|
background: var(--pc-paper-2);
|
|
}
|
|
|
|
.callout--warning {
|
|
border-color: var(--pc-signal-text);
|
|
background: var(--pc-signal-wash);
|
|
}
|
|
|
|
.scenario-grid {
|
|
display: grid;
|
|
gap: var(--onyx-density-sm);
|
|
}
|
|
|
|
.scenario-card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.scenario-card--active {
|
|
outline: 2px solid var(--pc-ink);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.metric-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--onyx-density-md);
|
|
margin: 0;
|
|
}
|
|
|
|
.metric-list div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.metric-list dt {
|
|
color: var(--pc-muted);
|
|
font-size: 0.72rem;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.metric-list dd {
|
|
margin: 0.15rem 0 0;
|
|
font-weight: 700;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.train-status {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: var(--onyx-density-sm);
|
|
margin-top: var(--onyx-density-sm);
|
|
}
|
|
|
|
/* Responsive ------------------------------------------------------------ */
|
|
|
|
@media (min-width: 577px) {
|
|
.assumption-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 769px) {
|
|
.summary-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (min-width: 993px) {
|
|
.hero-grid {
|
|
grid-template-columns: minmax(0, 1.65fr) minmax(18rem, 1fr);
|
|
}
|
|
|
|
.split-grid {
|
|
grid-template-columns: minmax(0, 1.9fr) minmax(20rem, 1fr);
|
|
}
|
|
|
|
.scenario-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.pc-evidence {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
.pc-evidence__item:nth-child(3) {
|
|
border-inline-end: 0;
|
|
}
|
|
|
|
.pc-evidence__item:nth-child(n + 4) {
|
|
border-top: 1px solid var(--pc-line);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.pc-hero__grid,
|
|
.pc-settings,
|
|
.pc-split {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.pc-hero__grid {
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.pc-receipt {
|
|
padding-top: 0.35rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.desktop-table {
|
|
display: none;
|
|
}
|
|
|
|
.day-card-list {
|
|
display: flex;
|
|
}
|
|
|
|
.pc-settings__controls {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
|
|
.pc-evidence {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.pc-evidence__item {
|
|
border-inline-end: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.pc-evidence__item:nth-child(2n) {
|
|
border-inline-end: 0;
|
|
}
|
|
|
|
.pc-evidence__item:nth-child(n + 3) {
|
|
border-top: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.pc-evidence__item:nth-child(3) {
|
|
border-inline-end: 1px solid var(--pc-line);
|
|
}
|
|
|
|
.pc-evidence__item:last-child {
|
|
grid-column: 1 / -1;
|
|
border-inline-end: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.sensor-pin__name {
|
|
display: none;
|
|
}
|
|
|
|
.map-frame {
|
|
min-height: 360px;
|
|
}
|
|
|
|
.card-header {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.card-header .onyx-badge {
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.pc-page {
|
|
padding-block: 0.9rem 1.5rem;
|
|
}
|
|
|
|
.pc-h1 {
|
|
font-size: clamp(2.6rem, 12vw, 3.4rem);
|
|
}
|
|
|
|
.pc-hero {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.pc-receipt__headline {
|
|
font-size: 2.1rem;
|
|
}
|
|
|
|
.pc-actions {
|
|
align-items: stretch;
|
|
}
|
|
|
|
.pc-actions .onyx-button {
|
|
flex: 1 1 auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.pc-board__time {
|
|
display: none;
|
|
}
|
|
|
|
.pc-board__head {
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.pc-board__staff {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.pc-board__day {
|
|
gap: 0.25rem;
|
|
padding: 0.35rem 0.22rem 0.3rem;
|
|
}
|
|
|
|
.pc-board__track {
|
|
min-height: 6.5rem;
|
|
}
|
|
|
|
.pc-board__peak,
|
|
.pc-board__peakstaff {
|
|
display: none;
|
|
}
|
|
|
|
.pc-board__foot {
|
|
font-size: 0.55rem;
|
|
}
|
|
|
|
.pc-board__weekday {
|
|
font-size: 0.48rem;
|
|
}
|
|
|
|
.pc-board__date {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.pc-board__block {
|
|
padding: 0.15rem 0.22rem;
|
|
}
|
|
}
|
|
|
|
@media (print) {
|
|
.hero-actions,
|
|
.form-actions,
|
|
.desktop-table,
|
|
.onyx-nav-bar {
|
|
display: none !important;
|
|
}
|
|
}
|