/* Code generated by cssgen from design/system (tokens.json, components/bundle.css). DO NOT EDIT. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #141414;
  --ink-2: #262626;
  --ink-hover: #2b2b2b;
  --volt: #d6f84c;
  --paper: #f5f4ef;
  --surface: #ffffff;
  --grey: #5e5c55;
  --grey-2: #a8a59c;
  --on-ink: #d9d7cf;
  --on-ink-muted: #cfccc2;
  --line: #e2e0d8;
  --line-2: #cfccc2;
  --muted-bg: #eceae3;
  --muted-text: #45433e;
  --disabled: #d9d7cf;
  --ok-bg: #dcf5e3;
  --ok: #14532d;
  --wait-bg: #dce7ff;
  --wait: #1e3a8a;
  --warn-bg: #ffe7d6;
  --warn: #9a3412;
  --amber-bg: #fff8e6;
  --amber: #7a5200;
  --amber-line: #e7c46a;
  --row-form-bg: #fafaf7;
  --backdrop: rgba(20, 20, 20, 0.32);
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --gap-xs: 3px;
  --gap-sm: 8px;
  --gap: 12px;
  --gap-md: 16px;
  --gap-lg: 24px;
  --card-pad: 18px;
  --page-pad: 48px;
  --page-pad-phone: 16px;
  --radius-sm: 10px;
  --radius: 12px;
  --radius-alert: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-menu: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-panel: -16px 0 40px rgba(0, 0, 0, 0.2);
  --touch: 44px;
  --touch-sm: 36px;
  --badge-h: 26px;
  --date-box-w: 76px;
  --sidebar-w: 248px;
  --main-max: 1080px;
  --aside-w: 320px;
  --panel-w: 440px;
  --bar-h: 60px;
}

/* Holli component styles: the rules of every component and view, on the custom properties of tokens.json.
   This file is the source; `make generate` builds the app's web/static/css/app.css from it and tokens.json
   (internal/tools/cssgen, ADR 0051). A style the app needs is added here, never in app.css. */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); }
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: -0.01em; margin: 0; }
h1 { font-size: 34px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--grey); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.cap { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout helpers */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
/* The push panel shows one state at a time (app.js); a hidden state stays hidden whatever its layout class. */
[data-push-panel] [hidden], [data-push-banner][hidden] { display: none; }
.notify-table select { min-width: 13.5em; }
/* On a phone the stacked rows lose their column heads, so each cell names itself. */
.notify-table .cell-label { display: none; }
@media (max-width: 720px) {
  .notify-table .cell-label { display: inline; }
  .notify-table select { width: 100%; }
}
.stack-lg { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* App shell: black sidebar on desktop, black top bar and bottom navigation on phones */
.shell { min-height: 100vh; display: flex; }
.sidebar {
  width: 248px; flex-shrink: 0; background: var(--ink); color: #fff;
  padding: 24px 16px; display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
/* The wordmark is an image (design/brand). Its height sets the size; the width follows the file. */
.brand { display: inline-flex; align-items: center; padding: 0 12px; }
.brand img { display: block; height: 26px; width: auto; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); padding: 12px 12px 4px; }
.nav a {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: #d9d7cf; text-decoration: none; font-weight: 600;
}
.nav a:hover { background: var(--ink-2); color: #fff; }
.nav a[aria-current="page"] { background: var(--volt); color: var(--ink); }
.nav .count { margin-left: auto; background: var(--volt); color: var(--ink); border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 700; line-height: 20px; }
.nav a[aria-current="page"] .count { background: var(--ink); color: var(--volt); }
.orgswitch { border: 1px solid #3a3a3a; border-radius: 10px; padding: 10px 12px; margin-bottom: 4px; color: #fff; }
.orgswitch summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; list-style: none; }
.orgswitch summary::-webkit-details-marker { display: none; }
.orgswitch[open] summary .ic { transform: rotate(180deg); }
.orgswitch-cap { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-2); }
.orgswitch-menu { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.nav .orgswitch-menu a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 48px; padding: 6px 10px; }
.orgswitch-menu p { margin: 6px 10px 0; color: var(--grey-2); }
.nav a .ic { width: 20px; height: 20px; }
.stack-xs { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sidebar-foot { margin-top: auto; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 999px; background: var(--volt); color: var(--ink); font-size: 14px; font-weight: 700;
}
/* The menu behind the name: a details element at the foot of the sidebar that opens upwards. */
.usermenu { position: relative; }
.usermenu summary {
  display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #2e2e2e; border-radius: var(--radius);
  cursor: pointer; list-style: none; color: #fff;
}
.usermenu summary::-webkit-details-marker { display: none; }
.usermenu summary:hover, .usermenu[open] summary { background: var(--ink-2); }
.usermenu-who { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; min-width: 0; }
.usermenu-who .small { color: var(--grey-2); }
/* A role or a workspace longer than the sidebar ends in an ellipsis (Plattformadministrasjon). */
.usermenu-who .small, .orgswitch summary strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orgswitch summary > span { min-width: 0; }
/* Fixed, not absolute: the sidebar scrolls, and would cut off a panel that is wider than it. */
.usermenu-panel {
  position: fixed; bottom: 88px; left: 16px; width: 320px; max-height: calc(100vh - 104px); overflow-y: auto; z-index: 8;
  background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 2px;
}
.usermenu-head { display: flex; align-items: center; gap: 12px; padding: 10px 12px 12px; border-bottom: 1px solid var(--muted-bg); margin-bottom: 4px; }
.usermenu-head > strong, .usermenu-head .stack-xs { min-width: 0; }
.usermenu-panel .usermenu-head { flex-direction: column; align-items: flex-start; gap: 2px; }
.usermenu-links { display: flex; flex-direction: column; gap: 2px; }
.usermenu-links a {
  display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; color: inherit; text-decoration: none;
}
.usermenu-links a:hover, .usermenu-links a[aria-current="page"] { background: #f1f0ea; }
.usermenu-links .ic { width: 20px; height: 20px; margin-top: 1px; }
.usermenu-links a > strong { line-height: 22px; }
.usermenu-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-top: 1px solid var(--muted-bg); margin-top: 4px; }
.sidebar .usermenu-panel .chip { height: 32px; background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.sidebar .usermenu-panel .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.sidebar .usermenu-panel .linkbtn { color: var(--ink); }
.logout .linkbtn { text-decoration: none; padding: 10px 12px; width: 100%; font-weight: 600; }
.logout .linkbtn:hover { text-decoration: underline; }
/* The bell: above the page on a desktop, in the top bar on a phone. */
.content { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.utilbar { display: flex; justify-content: flex-end; padding: 12px 32px 0; }
.bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius); color: var(--ink);
}
.bell:hover { background: var(--muted-bg); }
.bell .ic { width: 22px; height: 22px; }
.bell-count {
  position: absolute; top: 3px; right: 1px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--ink); color: var(--volt); border: 2px solid var(--paper); font-size: 11px; font-weight: 700; line-height: 16px; text-align: center;
}
/* The notifications panel comes from the right over the page (app.js puts it in .panel-host). */
.panel-host:empty { display: none; }
html.panel-open { overflow: hidden; }
.panel-backdrop { position: fixed; inset: 0; background: rgba(20, 20, 20, .32); z-index: 20; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 21; background: var(--paper);
  box-shadow: -16px 0 40px rgba(0, 0, 0, .2); display: flex; flex-direction: column; outline: none;
}
.panel-head { padding: 20px 20px 14px 24px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.panel-body { flex-grow: 1; min-height: 0; overflow-y: auto; padding: 16px 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.panel-foot { padding: 12px 20px 16px 24px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 12px; }
.panel .card { padding: 14px 16px; }
/* The dialog (design system, Dialog): a modal over the page, opened by app.js when its content arrives. */
.dialog {
  width: min(640px, calc(100vw - 32px)); max-height: min(85vh, 720px); padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}
.dialog[open] { display: flex; flex-direction: column; }
.dialog::backdrop { background: rgba(20, 20, 20, .32); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.dialog-body { min-height: 0; overflow-y: auto; padding: 16px 24px 24px; }
html:has(.dialog[open]) { overflow: hidden; }
.align-start { align-self: flex-start; }
/* Icons: inline SVG symbols from the sprite in the page, drawn with the text's colour. */
.sprite { display: none; }
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.btn .ic, .sm .ic { width: 16px; height: 16px; }
.iconlink { display: inline-flex; align-items: center; gap: 8px; }
/* A link with a copy button; the address stays selectable. */
.copy { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-url { flex: 0 1 auto; min-width: 0; font-size: 13px; color: var(--grey); overflow-wrap: anywhere; }
.copy-done { color: var(--ok); font-weight: 600; }
/* A link copied in a row of its own text: the address only as wide as it needs. */
.copy-inline { display: flex; align-items: center; gap: 4px; }
.main { flex-grow: 1; min-width: 0; padding: 4px 48px 64px; }
.main-inner { max-width: 1080px; }
.topbar, .bottomnav { display: none; }

@media (max-width: 860px) {
  .shell { flex-direction: column; }
  .sidebar { display: none; }
  .topbar { display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; padding: 8px 8px 8px 16px; position: sticky; top: 0; z-index: 6; }
  .topbar .bell { color: #fff; }
  .topbar .bell:hover { background: var(--ink-2); }
  .topbar .bell-count { background: var(--volt); color: var(--ink); border-color: var(--ink); }
  .utilbar { display: none; }
  /* The open menu fills the screen between the top bar and the bottom bar. */
  .mobile-menu {
    position: fixed; top: 60px; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 6;
    overflow-y: auto; overscroll-behavior: contain; background: var(--ink); color: #fff;
    padding: 12px 16px 32px; display: flex; flex-direction: column; gap: 16px;
  }
  .mobile-menu[hidden] { display: none; }
  .topbar .brand { padding: 0; }
  .topbar .brand img { height: 20px; }
  .main { padding: 20px 16px 96px; }
  .bottomnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); z-index: 5;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottomnav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
    min-height: 60px; color: var(--grey-2); text-decoration: none; font-size: 12px; font-weight: 600; position: relative;
  }
  .bottomnav a[aria-current="page"] { color: #fff; }
  .bottomnav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 4px; border-radius: 0 0 4px 4px; background: var(--volt); }
  .bottomnav .ic { width: 22px; height: 22px; }
  /* The open menu tab is the current one while the menu covers the page. */
  .bottomnav a[aria-expanded="true"] { color: #fff; }
  .bottomnav a[aria-expanded="true"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 4px; border-radius: 0 0 4px 4px; background: var(--volt); }
  .bottomnav:has(a[aria-expanded="true"]) a[aria-current="page"]:not([aria-expanded])::before { display: none; }
  h1 { font-size: 30px; }
}
/* The user's own part of the phone menu and the menu page: on ink, like the navigation, folded behind the name. */
.menu-own { border-top: 1px solid #2e2e2e; padding-top: 12px; }
.menu-own summary {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: var(--radius);
  cursor: pointer; list-style: none; color: #fff;
}
.menu-own summary::-webkit-details-marker { display: none; }
.menu-own summary:hover { background: var(--ink-2); }
.menu-own summary > .ic { color: var(--grey-2); }
.menu-own[open] summary > .ic { transform: rotate(180deg); }
.menu-own .usermenu-who .small { color: var(--grey-2); overflow: hidden; text-overflow: ellipsis; }
.menu-own-panel { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.menu-own .usermenu-links a { color: #d9d7cf; }
.menu-own .usermenu-links a:hover, .menu-own .usermenu-links a[aria-current="page"] { background: var(--ink-2); color: #fff; }
.menu-own .usermenu-links .muted { color: var(--grey-2); }
.menu-own .usermenu-row { border-top-color: #2e2e2e; }
.menu-own .linkbtn { color: #d9d7cf; }

.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head .sub { margin-top: 6px; }
.back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; margin-bottom: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font: 600 15px/1 var(--font-body); cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #2b2b2b; }
.btn.sec { background: transparent; color: var(--ink); }
.btn.sec:hover { background: var(--muted-bg); }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--muted-bg); }
.btn.volt { background: var(--volt); border-color: var(--volt); color: var(--ink); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
/* A passkey button keeps its own width unless it is a block (web/static/js/passkey.js). */
.passkey { align-items: flex-start; }
.btn:disabled, .btn[aria-disabled="true"] { background: #d9d7cf; border-color: #d9d7cf; color: var(--grey); cursor: not-allowed; }
.on-ink .btn.sec { color: #fff; border-color: #4a4a4a; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.sidebar .linkbtn { color: #d9d7cf; }

/* Badges and chips */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge .ic { width: 14px; height: 14px; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.wait { background: var(--wait-bg); color: var(--wait); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.mute { background: var(--muted-bg); color: #45433e; }
.badge.ink { background: var(--ink); color: var(--volt); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 14px/1 var(--font-body);
  cursor: pointer; text-decoration: none;
}
.chip[aria-pressed="true"], .chip[aria-current="page"], .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input { accent-color: var(--ink); }
/* A choice drawn as chips: the radio sits inside and the chosen one is dark. */
.chip-radio { position: relative; display: inline-flex; }
.chip-radio input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-radio span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 14px/1 var(--font-body);
}
.chip-radio input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-radio input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
/* Tabs: the parts of one page, as links under the page title (design/system, Tabs). Underlined, never volt. */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); overflow-x: auto; margin-bottom: 24px; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; margin-bottom: -1px;
  border-bottom: 3px solid transparent; color: var(--grey); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
/* The job form's place: only the fields of the chosen kind show. */
.placepick .place-saved, .placepick .place-address { display: none; }
.placepick:has(input[value="saved"]:checked) .place-saved { display: flex; }
.placepick:has(input[value="address"]:checked) .place-address { display: flex; }
.address-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 720px) { .address-grid { grid-template-columns: minmax(0, 1fr); } }

/* Cards and lists */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.card.flush { padding: 0; overflow: hidden; }
.card.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.card.ink .muted { color: #cfccc2; }
.list > * + * { border-top: 1px solid #ecEAe3; }
.list-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 18px; flex-wrap: wrap; }
.list-row .main-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jobcard { display: flex; gap: 14px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; }
.jobcard:hover { border-color: var(--ink); }
.datebox { width: var(--date-box-w); flex-shrink: 0; border-radius: var(--radius); background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; gap: 2px; }
.datebox .wd { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--volt); text-transform: uppercase; }
.datebox .d { font-family: var(--font-display); font-size: 20px; font-weight: 800; white-space: nowrap; }
.facts { display: flex; flex-direction: column; }
.facts > div { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid #ecEAe3; }
.facts > div:first-child { border-top: 0; }
.facts dt { width: 140px; flex-shrink: 0; color: var(--grey); }
.facts dd { margin: 0; min-width: 0; }
/* On a small phone the label goes above its value, which then has the card's whole width. */
@media (max-width: 480px) { .facts > div { flex-direction: column; gap: 4px; } .facts dt { width: auto; } }
.bar { height: 10px; border-radius: 999px; background: var(--muted-bg); overflow: hidden; display: flex; }
.bar > span { display: block; background: var(--ink); }
.bar > span.pend { background: #8fa8f0; }
.bar > span.held { background: #c9b8f5; }
.bar > span.unconf { background: #c9c6bc; }
.jobfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 24px; margin: 8px 0 0; max-width: 960px; }
.jobfacts > div { display: flex; flex-direction: column; gap: 6px; }
.jobfacts dd { margin: 0; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.jobfacts .badge .ic { width: 14px; height: 14px; }
@media (max-width: 720px) { .jobfacts { grid-template-columns: minmax(0, 1fr); } }

/* Tables */
table.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); font-weight: 600; padding: 12px 16px; background: var(--surface); }
.table td { padding: 14px 16px; border-top: 1px solid #ecEAe3; vertical-align: top; }
.table-wrap { overflow-x: auto; }
/* A stacked table shows each row as a block on a phone, with no sideways scrolling. */
@media (max-width: 720px) {
  .table.stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table.stacked, .table.stacked tbody, .table.stacked tr, .table.stacked td { display: block; }
  .table.stacked tr { padding: 10px 0; border-top: 1px solid #ecEAe3; }
  .table.stacked tbody tr:first-child { border-top: 0; }
  .table.stacked td { border-top: 0; padding: 3px 16px; }
  .table.stacked td:empty { display: none; }
}

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span, .field > label, .label { font-weight: 600; }
/* A label wraps between words. A long Finnish word, such as "Ilmoittautuminen", breaks only when it is wider than a
   narrow grid column, instead of running over the next one; never by hyphenation to fill a line ("vapaaeh-toinen"). */
.field > span { overflow-wrap: break-word; }
.required-mark { margin-left: .25em; font-weight: 600; }
.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: inherit;
}
textarea.input { min-height: 88px; resize: vertical; }
/* Safari on iOS gives date and time inputs a native minimum width that pushes them past a phone-wide column,
   and centres their value. */
input.input[type="date"], input.input[type="time"] { -webkit-appearance: none; appearance: none; min-width: 0; display: block; }
input.input::-webkit-date-and-time-value { text-align: left; }
.input:focus, .btn:focus-visible, .chip:focus-visible, a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
/* A help text behind a "?" button: shown on hover, on keyboard focus and after a click or tap (.open, set by app.js),
   drawn from data-tip.
   It opens below the button from its left edge; app.js moves it left by --tip-shift when that edge is so near
   the right side of the screen that the text would run off it. */
.tip {
  position: relative; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
  width: 20px; height: 20px; margin-left: 4px; padding: 0; border-radius: 999px; border: 1.5px solid var(--grey);
  background: transparent; color: var(--grey); font: 700 12px/1 var(--font-body); cursor: help;
}
.tip:hover, .tip:focus-visible { border-color: var(--ink); color: var(--ink); }
.tip::after, .tip-probe {
  width: max-content; max-width: min(300px, calc(100vw - 32px)); padding: 8px 12px; border-radius: 10px;
  background: var(--ink); color: #fff; font: 400 13px/1.45 var(--font-body); text-align: left; white-space: normal;
  letter-spacing: 0; text-transform: none;
}
.tip::after { content: attr(data-tip); display: none; position: absolute; left: var(--tip-shift, 0px); top: calc(100% + 8px); z-index: 20; }
.tip-probe { position: absolute; left: 0; top: 0; visibility: hidden; pointer-events: none; }
.tip:hover::after, .tip:focus-visible::after, .tip.open::after { display: block; }
.error-text { font-size: 14px; color: var(--warn); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; min-height: 32px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { padding: 0 0 8px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 12px; }
/* RadioCard (design system): an exclusive choice whose options have consequences, a card each. */
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.radio-card {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--ink);
}
.radio-card input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.radio-card:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.radio-card .option { display: flex; flex-direction: column; gap: 2px; }
.radio-card .option > span { font-size: 14px; color: var(--grey); }
/* Stepper (design system): minus, the amount (also typed, styled like an input), plus. */
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper .btn { width: 44px; padding: 0; }
.stepper input {
  width: 72px; min-height: 44px; padding: 0 8px; text-align: center; border: 1.5px solid var(--line-2); border-radius: 10px;
  background: var(--surface); color: var(--ink); font: 800 22px/1 var(--font-display); font-variant-numeric: tabular-nums;
}
.stepper input:focus { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
/* An entry without a shift (design/contracts, WorkerRecord): the quantities show for piece work, the week's days. */
.record-kind:has(input[name="kind"][value="time"]:checked) ~ .record-quantities { display: none; }
.picked.qty-picked { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; }
.times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.week-days .day { padding: 14px 18px; border-top: 1px solid var(--line); }
.week-days .day:first-child { border-top: 0; }
/* The head of a flush card, padded like its rows (design/contracts, HoursPending). */
.card-head { padding: 14px 18px; border-bottom: 1px solid var(--line); }
/* Picker (design system): search a long list and pick from it, like an input (border, radius-sm, focus ring). */
.picker { border: 1.5px solid var(--line-2); border-radius: 10px; background: var(--surface); }
.picker:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; border-color: var(--ink); }
.picker-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--grey); }
.picker-search input { flex: 1; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); }
.picker-results { list-style: none; margin: 0; padding: 4px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.picker-results:empty { display: none; }
.picker-results [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.picker-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.picker-item > strong { font-family: var(--font-display); letter-spacing: -0.01em; }
.picker-item > span { font-size: 14px; color: var(--grey); }
.picker-state { font-size: 14px; color: var(--grey); white-space: nowrap; }
.picker-results [role="option"]:hover, .picker-results [aria-selected="true"] { background: var(--muted-bg); }
.picker-results .more { padding: 8px 10px; font-size: 14px; color: var(--grey); }
.picked { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); flex-wrap: wrap; }
.picked .own-price > summary { list-style: none; }
.picked .own-price > summary::-webkit-details-marker { display: none; }
.picked .own-price[open] { order: 1; flex-basis: 100%; display: flex; flex-direction: column; gap: 8px; }
.picked-list:empty::before { content: attr(data-empty); font-size: 14px; color: var(--grey); }
/* A picker of one choice hides its search while one is chosen; "Poista" brings it back. */
[data-picker][data-single]:has(.picked) :is(.picker, .picker-help) { display: none; }
/* A position's pay basis (ADR 0048): only the fields of the chosen basis show. */
.paybasis .lump-fields, .paybasis .piece-fields { display: none; }
.paybasis:has(input[name="pay_basis"][value="lump_sum"]:checked) .lump-fields { display: flex; }
.paybasis:has(input[name="pay_basis"][value="piece"]:checked) .piece-fields { display: flex; }
.paybasis:has(input[name="pay_basis"]:not([value="time"]):checked) .time-fields { display: none; }
/* Applying a change to the confirmed signups (ADR 0048): the note on new signups only shows when it is unchecked. */
.apply-confirmed:has(input[name="apply_confirmed"]:checked) .apply-new-only { display: none; }
/* A work entry's quantities (design/contracts, WorkerGigEntry): the rate's field, and its price and amount beside it. */
.qrow { display: flex; align-items: flex-end; gap: 12px; }
.qrow .field { flex: 1 1 auto; }
.qsum { display: flex; flex-direction: column; align-items: flex-end; min-width: 110px; padding-bottom: 10px; }
/* An ongoing contract's pay (ADR 0046): an hourly pay, piece rates or both; each chosen basis shows its fields, and
   the note on choosing per entry shows only with both. */
.contract-basis .time-pay-fields, .contract-basis .piece-fields, .contract-basis .both-note, .contract-basis .for-monthly { display: none; }
.contract-basis:has(:is(input[name="hourly"], input[name="monthly"]):checked) .time-pay-fields { display: grid; }
.contract-basis:has(input[name="piece"]:checked) .piece-fields { display: flex; }
.contract-basis:has(:is(input[name="hourly"], input[name="monthly"]):checked):has(input[name="piece"]:checked) .both-note { display: block; }
/* A monthly pay is for employment only (ADR 0052): on the proposal its chip and help follow the chosen work type. */
.contract-form .for-assignment { display: none; }
.contract-form:has(input[name="work_type"]:not([value="employment"]):checked) :is(.monthly-chip, .for-employment) { display: none; }
.contract-form:has(input[name="work_type"]:not([value="employment"]):checked) .for-assignment { display: block; }
/* The pay field is named by the basis (ADR 0050): an hourly rate or a monthly pay. */
.contract-basis:has(input[name="monthly"]:checked) .for-monthly { display: inline; }
.contract-basis:has(input[name="monthly"]:checked) .for-hourly { display: none; }

/* Alerts */
.alert { padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.wait { background: var(--wait-bg); color: var(--wait); }
.alert.warn { background: var(--warn-bg); color: var(--warn); }
.alert.ink { background: var(--ink); color: #fff; display: flex; align-items: center; gap: 12px; }
.alert.ink::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--volt); flex-shrink: 0; }
.notice { font-size: 14px; line-height: 1.5; padding: 12px 14px; border-radius: 12px; background: var(--muted-bg); }

/* Auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.auth-side { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.auth-side .brand { padding: 0; }
.auth-side .brand img { height: 56px; }
.auth-side .lockup { display: block; max-width: 420px; }
.auth-side .lockup img { display: block; width: 100%; height: auto; }
.auth-side .tagline { font-family: var(--font-display); font-size: 28px; font-weight: 800; max-width: 420px; line-height: 1.15; }
.auth-lead { font-size: 18px; max-width: 420px; }
.auth-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; max-width: 420px; color: #d9d7cf; }
.auth-points strong { color: #fff; }
.auth-about:focus { outline: none; }
.auth-more { display: none; }
.auth-main { padding: 48px; display: flex; align-items: flex-start; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 24px; }
.demo-box { background: var(--surface); border: 1px dashed var(--line-2); border-radius: 14px; padding: 16px 18px; font-size: 14px; gap: 12px; }
/* Development and the demo: one button per demo account signs in as that role. */
.demo-logins { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.demo-login { flex-direction: column; align-items: flex-start; justify-content: center; min-height: 56px; padding: 10px 14px; text-align: left; gap: 4px; white-space: normal; line-height: 1.3; }
.demo-login .small { overflow-wrap: anywhere; font-weight: 400; }
.lang-switch { display: flex; gap: 6px; }
@media (max-width: 860px) {
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { padding: 24px 16px; }
  /* On a phone the points start collapsed and fade out, so the form stays near the top. app.js adds the class and shows the button. */
  .auth-about.collapsed { max-height: 5.25em; overflow: hidden; position: relative; }
  .auth-about.collapsed::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2.5em; background: linear-gradient(to bottom, transparent, var(--ink)); }
  .auth-more:not([hidden]) { display: block; align-self: flex-start; margin-top: -16px; color: #fff; font-weight: 600; }
  .auth-side .brand img { height: 36px; }
  .auth-side .lockup { max-width: 320px; }
  .auth-side .tagline { font-size: 20px; }
  .auth-main { padding: 24px 16px 48px; }
}
a.list-row { text-decoration: none; color: inherit; }
a.list-row:hover { background: var(--muted-bg); }
/* A row chosen with its checkbox, e.g. a shift to mark invoiced: the box first, the text after it. */
label.list-row.check { justify-content: flex-start; align-items: flex-start; cursor: pointer; }
label.list-row.check:hover { background: var(--muted-bg); }
h3 { font-size: 16px; }
.on-ink .chip, .sidebar .chip { background: transparent; color: #fff; border-color: #4a4a4a; }
.on-ink .chip.on, .sidebar .chip.on { background: var(--volt); border-color: var(--volt); color: var(--ink); }

/* Jobs */
.grow { flex-grow: 1; min-width: 0; }
.jobtitle { font-size: 17px; }
.jobcard-badge { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.jobcard-badge .reason { text-align: right; }
/* A guardian sees on each card who the shift suits and where the minors already stand. */
.people-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
/* On a phone the badge moves under the text, so the title and details keep the full width. */
@media (max-width: 600px) {
  .jobcard { flex-wrap: wrap; row-gap: 10px; }
  .jobcard > .grow { flex: 1 1 0; }
  .jobcard .jobcard-badge { flex: 1 0 100%; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .jobcard .datebox ~ .jobcard-badge { padding-left: calc(var(--date-box-w) + 14px); }
  .jobcard .jobcard-badge .reason { text-align: left; }
}
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
/* The client's job page: the job at a glance, one card per signup, and the rare actions as rows that open in place. */
a.alert.ink { text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.tile strong { font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.1; }
.tile.hot { border-color: #e7c46a; background: var(--wait-bg); }
.position { padding-top: 12px; border-top: 1px solid #ecEAe3; }
/* The rules the person the client is adding does not meet, and the tick that sets them aside. */
.rulebox { background: var(--wait-bg); border: 1px solid #e7c46a; border-radius: 12px; padding: 12px 14px; }
.rulebox.hard { background: var(--warn-bg); border-color: var(--warn); }
.rulebox ul { margin: 0; }
.person { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--muted-bg); }
.person.pending { background: var(--wait-bg); border: 1px solid #e7c46a; }
.person-acts { gap: 14px; }
.person-decide { margin-top: 4px; }
.acc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc summary::-webkit-details-marker { display: none; }
.acc[open] > summary { margin-bottom: 12px; }
.acc-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-wrap: wrap; }
.acc.danger { padding: 8px 4px; }
.acc.danger > summary { color: var(--warn); font-weight: 600; }
.narrow-form { max-width: 520px; }
@media (max-width: 1000px) { .job-layout { grid-template-columns: minmax(0, 1fr); } }
ul.plain { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.prewrap { white-space: pre-wrap; margin: 0; }
.position { padding: 14px 0; }
.posbar { width: 120px; }
.bar > span.w0 { width: 0; } .bar > span.w10 { width: 10%; } .bar > span.w20 { width: 20%; } .bar > span.w30 { width: 30%; }
.bar > span.w40 { width: 40%; } .bar > span.w50 { width: 50%; } .bar > span.w60 { width: 60%; } .bar > span.w70 { width: 70%; }
.bar > span.w80 { width: 80%; } .bar > span.w90 { width: 90%; } .bar > span.w100 { width: 100%; }
details.signup > summary { list-style: none; width: fit-content; }
details.signup > summary::-webkit-details-marker { display: none; }
details.signup[open] > summary { background: transparent; color: var(--ink); margin-bottom: 12px; }
details.signup > form { border-color: var(--ink); }
.input.narrow { max-width: 120px; }
.bignum { font-family: var(--font-display); font-size: 32px; font-weight: 800; }
.nowrap { white-space: nowrap; }
.fit { width: fit-content; }

/* Workers and the organization page (ADR 0022). */
.row.filters { align-items: flex-end; }
.btn.ghost.danger { color: var(--warn); }

/* Hour reports (docs/features.md, sections 4 and 6). The tables of one page share fixed columns, so they line up. */
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Three tiles do not leave room for a label of one long word on a small phone (Medarbeidere). */
@media (max-width: 420px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tile.blue { border-color: #b9c4f0; background: var(--wait-bg); }
.tile .up { color: var(--ok); }
.tile .down { color: var(--warn); }
.splitbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--muted-bg); margin: 2px 0; }
.splitbar .part { display: block; height: 100%; }
.splitbar .p0 { background: var(--ink); }
.splitbar .p1 { background: var(--volt); }
.splitbar .p2 { background: var(--grey); }
.splitbar .w0 { width: 0; } .splitbar .w5 { width: 5%; } .splitbar .w10 { width: 10%; } .splitbar .w15 { width: 15%; }
.splitbar .w20 { width: 20%; } .splitbar .w25 { width: 25%; } .splitbar .w30 { width: 30%; } .splitbar .w35 { width: 35%; }
.splitbar .w40 { width: 40%; } .splitbar .w45 { width: 45%; } .splitbar .w50 { width: 50%; } .splitbar .w55 { width: 55%; }
.splitbar .w60 { width: 60%; } .splitbar .w65 { width: 65%; } .splitbar .w70 { width: 70%; } .splitbar .w75 { width: 75%; }
.splitbar .w80 { width: 80%; } .splitbar .w85 { width: 85%; } .splitbar .w90 { width: 90%; } .splitbar .w95 { width: 95%; }
.splitbar .w100 { width: 100%; }
.table.hours { table-layout: fixed; }
@media (max-width: 1180px) { .table.hours { table-layout: auto; } .table.hours col { width: auto !important; } }
.table col.c-time { width: 90px; }
.table col.c-hours { width: 150px; }
.table col.c-act { width: 230px; }
.table col.c-when { width: 180px; }
.table col.c-who { width: 180px; }
.table .right, .table th.right { text-align: right; }
/* A number, an amount or an identifier stays on one line in a table cell (2222222-2). */
.table td.num { white-space: nowrap; }
.row.end { justify-content: flex-end; }
.table tr.muted td { color: var(--grey); }
.quote { background: var(--muted-bg); border-radius: 10px; padding: 12px 14px; margin: 0; }
.badge.amber { background: #fff8e6; color: #7a5200; border: 1px solid #e7c46a; }
.linkbtn.danger { color: var(--warn); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.actions-bar { border-top: 1px solid var(--line); padding-top: 14px; align-items: flex-start; }
@media (max-width: 720px) { .table.hours { table-layout: auto; } .table.hours .right { text-align: left; } .table.hours .row.end { justify-content: flex-start; } }
.stack-xs { display: flex; flex-direction: column; gap: 2px; }
.table tr.total td { background: var(--muted-bg); font-weight: 800; }
/* The split page of a lump sum: a person, their share on the right, the adjustments folded under. */
.lump-row .share-col { text-align: right; margin-left: auto; }
.lump-row .share-col strong { font-size: 18px; }
.lump-row > details { flex-basis: 100%; }
.lump-row > details > summary { cursor: pointer; width: fit-content; }
.lump-row > details[open] > summary { margin-bottom: 10px; }
.lump-row form .row { align-items: flex-end; }
.lump-row form.row { align-items: flex-end; }

/* Account and profile rows: a value with a Change link; an open row is a small form with its own save button. */
.align-top { align-items: start; }
.setcard { display: flex; flex-direction: column; padding: 8px 20px 12px; }
.setcard > h2 { padding: 12px 0 8px; }
.setcard > p.small { padding-bottom: 8px; }
.setrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--muted-bg); flex-wrap: wrap; }
/* A price of the rate catalog (ADR 0048). */
.rate-price { padding: 10px 0; }
.setrow-form { display: flex; flex-direction: column; gap: 12px; padding: 14px 20px; margin: 0 -20px; background: #fafaf7; border-top: 1px solid var(--muted-bg); }
.setrow-form fieldset { border: 0; padding: 0; margin: 0; }
.setrow-form legend { padding: 0 0 6px; }
.input.narrow { max-width: 220px; }
.narrow-card { max-width: 640px; }
.plain-list { margin: 0; padding-left: 20px; }
/* The activity log's filters: one row of fields that wraps. */
.filters-form { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.filters-form .field { flex: 1 1 160px; }

/* The worker's views as agreed on the design canvas (design/system). */
.filters-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filters-row > .label-inline { color: var(--grey); font-size: 14px; }
.reason { font-size: 14px; color: var(--grey); }
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer;
}
.iconbtn:hover { background: var(--muted-bg); }
.iconbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.req { display: flex; flex-direction: column; gap: 4px; }
.req-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.strong-link { font-weight: 600; }
.labelled-facts { display: flex; gap: 12px 40px; flex-wrap: wrap; margin: 0; }
.labelled-facts > div { display: flex; flex-direction: column; gap: 6px; }
.labelled-facts dd { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.labelled-facts strong { font-size: 16px; }
.lead { font-size: 17px; line-height: 1.55; max-width: 72ch; }
.other-shift { padding: 12px 0; }
.or { text-align: center; font-size: 14px; color: var(--grey-2); }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.btn.big { min-height: 64px; font-size: 18px; }
.card.ink .input { border-color: var(--ink); }
.next-up { display: flex; flex-direction: column; gap: 10px; }
.badge.volt { background: var(--volt); color: var(--ink); }
.today-title { font-size: 24px; font-weight: 800; }
.past-row { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; text-decoration: none; color: inherit; }
.past-row:hover { background: var(--muted-bg); }
.past-row .row-wrap { padding-top: 4px; }
details.manual > summary { list-style: none; }
details.manual > summary::-webkit-details-marker { display: none; }
details.manual[open] > summary { margin-bottom: 12px; }
.card.ink .tip { border-color: var(--grey-2); color: var(--grey-2); }
