/* Holli styles. Tokens follow design/demo/README.md: volt only against ink. */

@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;
  --volt: #d6f84c;
  --paper: #f5f4ef;
  --surface: #ffffff;
  --grey: #5e5c55;
  --grey-2: #a8a59c;
  --line: #e2e0d8;
  --line-2: #cfccc2;
  --muted-bg: #ecEAe3;
  --ok-bg: #dcf5e3; --ok: #14532d;
  --wait-bg: #dce7ff; --wait: #1e3a8a;
  --warn-bg: #ffe7d6; --warn: #9a3412;
  --radius: 12px;
  --radius-lg: 16px;
  --font-display: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

* { 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; }
.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); }
.sidebar-foot { margin-top: auto; padding: 16px 12px 8px; border-top: 1px solid #2e2e2e; display: flex; flex-direction: column; gap: 14px; }
.sidebar-foot .who { font-weight: 600; }
.logout { padding-top: 6px; border-top: 1px solid #2e2e2e; }
.logout .linkbtn { text-decoration: none; padding: 8px 0; }
.logout .linkbtn:hover { text-decoration: underline; }
/* 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: 1 1 200px; min-width: 0; font-size: 13px; color: var(--grey); overflow-wrap: anywhere; }
.main { flex-grow: 1; min-width: 0; padding: 36px 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: 12px 16px; position: sticky; top: 0; z-index: 6; }
  /* The open menu fills the screen under the 60px top bar and covers the bottom navigation. */
  .mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 60px);
    overflow-y: auto; overscroll-behavior: contain; background: var(--ink);
    padding: 8px 16px 32px; display: flex; flex-direction: column; gap: 16px;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu-foot { border-top: 1px solid #2e2e2e; padding: 16px 12px 0; display: flex; flex-direction: column; gap: 14px; }
  .mobile-menu .linkbtn { color: #d9d7cf; align-self: flex-start; }
  .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: 2px;
    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); }
  h1 { font-size: 30px; }
}

.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%; }
.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.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); }

/* 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: 64px; 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; }
.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; }
.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; }

/* 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; }
.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; }
.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 and on focus (a tap on a phone), drawn from data-tip. */
.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 {
  content: attr(data-tip); display: none; position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
  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:hover::after, .tip:focus::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; }

/* 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); }
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; align-items: flex-start; }
/* 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: 78px; }
}
.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/plans/hour-reports.md). 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)); } }
.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; }
.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; }
