/* Kodak Dispatch — black & gold. Phone first, works on PC. */

:root {
  color-scheme: dark;
  --bg: #08080a;
  --surface: #131316;     /* cards */
  --surface-2: #1a1a1e;   /* inputs, pressed rows */
  --line: #26262c;
  --line-soft: #1e1e23;
  --ink: #f4f4f6;
  --ink-2: #b4b4bd;       /* secondary text */
  --ink-3: #7c7c87;       /* hints, labels */
  --gold: #d4af37;
  --gold-ink: #0a0a0a;
  --ok: #46c46a;
  --warn: #e8b43c;
  --warn-bg: rgba(232, 180, 60, .12);
  --bad: #ff6464;
  --bad-bg: rgba(255, 100, 100, .12);
  --radius: 14px;
  --tap: 48px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); }
body {
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  padding-bottom: calc(72px + var(--safe-b));
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + var(--safe-t)) 16px 10px;
  background: rgba(8, 8, 10, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: 15px;
}
.topbar h1 { font-size: 17px; font-weight: 650; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--warn); border: 1px solid rgba(232,180,60,.45); padding: 2px 7px; border-radius: 6px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.lang-switch button {
  min-height: 30px; padding: 0 9px; border: 0; border-radius: 0; background: transparent;
  color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.lang-switch button.on { background: var(--surface-2); color: var(--gold); }

main { max-width: 760px; margin: 0 auto; padding: 14px 16px 28px; }

/* ---------- Tab bar ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(8, 8, 10, .96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-soft);
  padding-bottom: var(--safe-b);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 60px; font-size: 11px; font-weight: 500; color: var(--ink-3); text-decoration: none;
}
.tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar svg circle { fill: currentColor; stroke: none; }
.tabbar svg circle[r="3.5"] { fill: none; stroke: currentColor; }
.tabbar a.active { color: var(--gold); }

/* ---------- Buttons & inputs ---------- */
button, .btn {
  font: inherit; font-weight: 550; min-height: var(--tap); padding: 0 18px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
button:active, .btn:active { transform: scale(.98); }
button.primary, .btn.primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 700; }
button.danger { color: var(--bad); }
button.danger-solid { background: var(--bad); border-color: var(--bad); color: #0a0a0a; font-weight: 700; }
button:disabled { opacity: .45; }
.icon-btn { width: var(--tap); padding: 0; font-size: 22px; }

input, select, textarea {
  font: inherit; font-size: 16px; /* 16px stops iPhone zooming in */
  width: 100%; min-height: var(--tap); padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--ink);
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
textarea { min-height: 84px; resize: vertical; }
input[type="checkbox"] { width: 22px; height: 22px; min-height: 22px; accent-color: var(--gold); margin: 0; }

.toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .grow, .grow { flex: 1; }
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px; }
.card + .card { margin-top: 12px; }
.empty { color: var(--ink-3); text-align: center; padding: 36px 12px; }
.empty-sub { font-size: 14px; margin-top: 4px; }
.error { background: var(--bad-bg); color: var(--bad); padding: 10px 12px; border-radius: 12px; margin-bottom: 12px; }
.hint { color: var(--ink-3); font-size: 14px; margin: 4px 0 12px; }
.text-link { display: inline-block; margin-top: 12px; font-size: 14px; }

/* ---------- Forms (in the sheet) ---------- */
form .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
form label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
form .help { font-size: 12px; color: var(--ink-3); }
form .check { flex-direction: row; align-items: center; gap: 10px; }
form .check label { font-size: 15px; color: var(--ink); font-weight: 500; }
.actions { display: flex; gap: 8px; margin-top: 6px; }
.actions .primary { flex: 1; }
.confirm-box { background: var(--bad-bg); border: 1px solid rgba(255,100,100,.5); padding: 14px; border-radius: 12px; margin-top: 8px; font-weight: 600; }
.confirm-box .actions button { flex: 1; }

/* ---------- Bottom sheet ---------- */
.sheet {
  border: 1px solid var(--line); padding: 0; width: 100%; max-width: 560px; max-height: 92vh;
  border-radius: 20px 20px 0 0; margin: auto auto 0; background: var(--surface); color: var(--ink);
}
.sheet::backdrop { background: rgba(0, 0, 0, .72); }
.sheet-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.sheet-head h2 { flex: 1; margin: 0; font-size: 17px; font-weight: 650; }
.sheet-head .icon-btn { border: 0; background: transparent; color: var(--ink-3); font-size: 18px; }
.sheet-body { padding: 16px 18px calc(18px + var(--safe-b)); overflow: auto; }
@media (min-width: 700px) { .sheet { border-radius: 20px; margin: auto; } }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 50;
  bottom: calc(80px + var(--safe-b)); max-width: min(92vw, 520px);
  background: var(--ink); color: #0a0a0a; padding: 11px 16px; border-radius: 12px; font-weight: 600; font-size: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.toast.bad { background: var(--bad); }

/* ---------- Date bar ---------- */
.datebar { display: flex; gap: 8px; margin-bottom: 14px; }
.date-wrap { position: relative; flex: 1; }
.date-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 650; font-size: 16px; pointer-events: none;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
}
.date-wrap input { opacity: 0; cursor: pointer; }

/* ---------- Summary numbers ---------- */
.summary {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  margin-bottom: 14px;
}

/* ---------- Board filters ---------- */
.board-tools { display: grid; gap: 10px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: 14px; color: var(--ink-2); background: transparent; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #0a0a0a; font-weight: 700; }
.chip-n { font-size: 12px; font-weight: 700; opacity: .7; }
.search { min-height: 42px; padding: 8px 12px; }

/* ---------- Assign sheet ---------- */
.assign-ride { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 16px; }
.assign-time { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 8px; }
.assign-route { font-size: 16px; font-weight: 600; margin-top: 2px; }
.assign .field select { font-size: 16px; }
.verdict { list-style: none; margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 6px; }
.verdict li { font-size: 14.5px; font-weight: 600; line-height: 1.35; padding-left: 22px; position: relative; }
.verdict li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.verdict li.ok { color: var(--ok); }
.verdict li.ok::before { content: "✓"; }
.verdict li.warn { color: var(--warn); }
.verdict li.warn::before { content: "⚠"; }
.verdict li.bad { color: var(--bad); }
.verdict li.bad::before { content: "✕"; }
.verdict li.muted { color: var(--ink-3); font-weight: 500; }
.hint.key { font-size: 12.5px; margin-top: 14px; white-space: pre-wrap; text-align: center; }
.link-btn { min-height: 0; padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; font-weight: 700; margin-left: 8px; }
.metric { padding: 12px 6px 11px; text-align: center; }
button.metric { display: block; min-height: 0; border: 0; border-radius: 0; background: none; font-weight: inherit; width: 100%; }
button.metric:first-child { border-radius: var(--radius) 0 0 var(--radius); }
button.metric:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
button.metric:hover { background: var(--surface-2); }
.metric + .metric { border-left: 1px solid var(--line-soft); }
.metric .n { font-size: 24px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metric .l { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.metric.warn .n { color: var(--warn); }
.metric.bad .n { color: var(--bad); }
.metric.ok .n { color: var(--ok); }

/* ---------- Sections ---------- */
.block { margin-bottom: 26px; }
h2.section { font-size: 13px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; margin: 0 2px 10px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink-3); margin: -2px 2px 12px; }
.legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 16px; height: 8px; border-radius: 2px; display: inline-block; }
.footnote { color: var(--ink-3); font-size: 12px; text-align: center; margin: 8px 0 0; }

/* ---------- Grouped rows (one card, rows divided by thin lines) ---------- */
.group { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.group > * + * { border-top: 1px solid var(--line-soft); }
.list-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; }
.count { color: var(--ink-2); font-size: 14px; font-weight: 550; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.check-inline input { width: 20px; height: 20px; min-height: 20px; }

.list-row, .ride-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 14px; min-height: 60px;
  background: transparent; border: 0; border-radius: 0; color: var(--ink);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.list-row:active, .ride-row:active, .list-row:hover, .ride-row:hover { background: var(--surface-2); transform: none; }
.list-row.static { cursor: default; align-items: flex-start; }
.list-row.static:hover { background: transparent; }
.list-row.is-inactive { opacity: .5; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 600; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { color: var(--ink-3); font-size: 14px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { color: var(--ink-3); font-size: 22px; line-height: 1; flex: none; }
.tag { flex: none; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 7px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.tag.muted { color: var(--ink-3); }
.tag.ok { color: var(--ok); border-color: rgba(70,196,106,.35); background: rgba(70,196,106,.1); }
.tag.warn { color: var(--warn); border-color: rgba(232,180,60,.35); background: var(--warn-bg); }
.tag.bad { color: var(--bad); border-color: rgba(255,100,100,.35); background: var(--bad-bg); }

/* Ride row: time column on the left */
.ride-row { align-items: flex-start; position: relative; }
.row-time { width: 54px; flex: none; padding-top: 1px; }
.row-time .time { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.type-tag { display: inline-block; margin-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--ink-3); }
.type-tag.intl { color: var(--gold); }
.ride-row .chev { align-self: center; }
.row-assign { font-size: 14px; color: var(--ink-2); margin-top: 3px; }
.row-assign.warn { color: var(--warn); }
.row-assign.muted { color: var(--ink-3); }
.ride-row.is-cancelled { opacity: .5; }
.ride-row.is-cancelled .row-title { text-decoration: line-through; }
.ride-row.is-bad::before, .ride-row.is-warn::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; }
.ride-row.is-bad::before { background: var(--bad); }
.ride-row.is-warn::before { background: var(--warn); }

.problems { list-style: none; margin: 7px 0 0; padding: 0; display: grid; gap: 3px; }
.problems li { font-size: 13.5px; font-weight: 550; display: flex; gap: 7px; align-items: baseline; white-space: normal; }
.problems li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.problems li.bad { color: var(--bad); }
.problems li.bad::before { background: var(--bad); }
.problems li.warn { color: var(--warn); }
.problems li.warn::before { background: var(--warn); }
.problems li.info { color: var(--ink-2); font-weight: 500; }
.problems li.info::before { background: var(--ink-3); }

/* ---------- Driver card ---------- */
.driver { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.driver + .driver { margin-top: 14px; }
.driver-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 0; }
.driver-name { flex: 1; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status.ok { color: var(--ok); background: rgba(70,196,106,.12); }
.status.warn { color: var(--warn); background: var(--warn-bg); }
.status.bad { color: var(--bad); background: var(--bad-bg); }
.driver-hours { padding: 3px 14px 0; color: var(--ink-2); font-size: 14px; display: flex; gap: 6px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.driver-hours strong { color: var(--ink); font-weight: 600; }
.driver-hours .dot { color: var(--ink-3); }
.driver > .group { border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; margin-top: 12px; background: transparent; }

/* Money column on a board ride row */
.row-money { flex: none; text-align: right; font-variant-numeric: tabular-nums; padding-top: 1px; }
.rm-pay { font-size: 16px; font-weight: 700; }
.rm-hour { font-size: 13px; color: var(--ink-3); margin-top: 2px; white-space: nowrap; }

/* Driver day money */
.driver-money { display: grid; grid-template-columns: repeat(4, 1fr); margin: 12px 14px 0; border-radius: 10px; background: var(--surface-2); }
.dm-cell { padding: 8px 4px; text-align: center; min-width: 0; }
.dm-cell + .dm-cell { border-left: 1px solid var(--line-soft); }
.dm-v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dm-l { font-size: 11px; color: var(--ink-3); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-cell.gold .dm-v { color: var(--gold); }

/* Money breakdown in the assign sheet */
.money-box { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.mb-title { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.mb-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); }
.mb-row strong { color: var(--ink); font-weight: 650; }
.mb-row.gold strong { color: var(--gold); }
.mb-row.big strong { font-size: 17px; }
.mb-row.muted, .mb-row.muted strong { color: var(--ink-3); font-weight: 500; }
.mb-sep { border-top: 1px solid var(--line-soft); margin: 2px 0; }

/* Whole-driver problems, said once */
.alerts { list-style: none; margin: 12px 14px 0; padding: 10px 12px; display: grid; gap: 6px; border-radius: 10px; background: var(--bad-bg); }
.alerts:not(:has(.bad)) { background: var(--warn-bg); }
.alerts li { font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.alerts li.bad { color: var(--bad); }
.alerts li.warn { color: var(--warn); }

/* ---------- Timeline ---------- */
.tl { padding: 14px 14px 0; }
.tl-flags { position: relative; height: 0; }
.tl.has-late .tl-flags { height: 20px; }
.tl-flag {
  position: absolute; bottom: 4px; white-space: nowrap;
  font-size: 11.5px; font-weight: 700; color: #fff; background: var(--bad);
  padding: 1px 6px; border-radius: 4px; line-height: 1.4;
}
.tl-track { position: relative; height: 26px; border-radius: 7px; overflow: hidden; background: #1b1b20; }
/* 2px dark gap after each piece keeps neighbouring pieces visibly separate */
.tl-seg { position: absolute; top: 0; bottom: 0; display: block; box-shadow: inset -2px 0 0 #131316; }
.tl-seg.drive { background: #67707f; }
.tl-seg.wait { background: #34343c; }
.tl-seg.ride { background: var(--gold); }
.tl-seg.deadhead { background: repeating-linear-gradient(135deg, #67707f 0 4px, #3d424c 4px 8px); }
.tl-seg.late { background: var(--bad); z-index: 2; box-shadow: none; opacity: .9; }
/* small white mark at each pickup time */
.tl-pin { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; z-index: 3; opacity: .9; }
.tl-pin.late { background: #fff; }
.tl-axis { position: relative; height: 24px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl-axis span { position: absolute; top: 5px; white-space: nowrap; }
.tl-tick { transform: translateX(-50%); color: var(--gold); font-weight: 600; }
.tl-tick.late { color: var(--bad); }
.tl-end { font-weight: 700; color: var(--ink-2); }
.tl-end.start { left: 0; }
.tl-end.finish { right: 0; }

.legend .sw.drive { background: #67707f; }
.legend .sw.wait { background: #34343c; box-shadow: inset 0 0 0 1px #4a4a54; }
.legend .sw.ride { background: var(--gold); }
.legend .sw.deadhead { background: repeating-linear-gradient(135deg, #67707f 0 3px, #3d424c 3px 6px); }
.legend .sw.late { background: var(--bad); }

/* ---------- Import ---------- */
.step-card h2.step { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.file-pick { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.file-btn { flex: none; }
.file-name { color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-pick input:focus-visible + .file-btn { outline: 2px solid var(--gold); outline-offset: 2px; }
.map-row { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.map-label { font-size: 14px; font-weight: 650; }
.example { font-size: 13px; color: var(--ink-3); }
.fixed-date { display: grid; gap: 4px; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.save-map { margin: 14px 0 4px; flex-wrap: nowrap; }
.step-card .summary { margin: 12px 0; }
.step-card .group { margin-top: 12px; }
@media (min-width: 700px) {
  .map-row { grid-template-columns: 190px 1fr 1fr; align-items: center; }
  .example { grid-column: 2 / -1; }
}

/* ---------- Wider screens (PC) ---------- */
@media (min-width: 900px) {
  main { padding-top: 22px; }
  .row-title { font-size: 15.5px; }
}

/* Import: "might already be in the app" — pick same ride or new */
.review-choices { margin-top: 10px; display: grid; gap: 8px; }
.review-q { font-size: 13px; color: var(--ink-2); }
.choice { width: 100%; text-align: left; min-height: var(--tap); padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--surface-2); color: var(--ink); font-weight: 500; line-height: 1.3; white-space: normal; }
.choice.chosen { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(212, 175, 55, .1); }
.choice.chosen::before { content: '✓ '; color: var(--gold); font-weight: 700; }

/* Change log */
.log-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.log-tools .search { flex: 1 1 200px; min-width: 0; }
.log-date { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.log-date input { min-height: 42px; }
.log-scope { flex: 1; font-weight: 650; }
.log-day + .log-day { margin-top: 18px; }
.log-entry .row-main { min-width: 0; width: 100%; }
.log-head { display: flex; gap: 10px; align-items: baseline; }
.log-what { flex: 1; font-weight: 650; }
.log-when { color: var(--ink-3); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.log-subject { margin-top: 2px; font-size: 14px; overflow-wrap: anywhere; }
.log-changes, .log-details ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; overflow-wrap: anywhere; }
.log-changes li + li, .log-details li + li { margin-top: 2px; }
.log-details { margin-top: 6px; font-size: 14px; }
.log-details summary { cursor: pointer; color: var(--gold); min-height: 32px; display: flex; align-items: center; }
.log-reason { margin-top: 6px; font-size: 14px; color: var(--warn); }
.log-more { width: 100%; margin-top: 14px; }

/* Signed-in line on More; view-only notes */
.signed-in { color: var(--ink-3); font-size: 14px; margin: 0 2px 12px; overflow-wrap: anywhere; }
.signed-in strong { color: var(--gold); font-weight: 650; }
.note { color: var(--ink-3); font-size: 14px; margin: 0 2px 12px; }
input[readonly] { opacity: .6; cursor: not-allowed; }
