/* NJx Service Hours — NJx brand: ink, paper, signal orange. */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/BricolageGrotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #14161A;
  --ink-2: #2A2D33;
  --muted: #5B5F66;
  --faint: #8A8D92;
  --paper: #F4F1EA;
  --card: #FFFDF9;
  --line: #D8D0BE;
  --line-soft: #E8E2D6;
  --orange: #E8471C;
  --ember: #B9360F;
  --orange-tint: #FCE9E2;
  --green: #2F6B3E;
  --green-tint: #E3EFE3;
  --amber: #8A5A00;
  --amber-tint: #F8EDD3;
  --red: #A1281B;
  --red-tint: #F7E1DD;
  --blue: #234F7A;
  --blue-tint: #E1EAF3;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 4px 16px rgba(20,22,26,.05);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--ember); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem); font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 .75rem; text-wrap: pretty; }
small, .small { font-size: .84rem; }
.muted { color: var(--muted); }
.mono, .num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 22px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark { width: 46px; height: auto; display: block; color: #fff; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.25); }
.nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }
.nav a { color: rgba(255,255,255,.78); text-decoration: none; padding: 8px 11px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav a.on { color: #fff; background: rgba(255,255,255,.12); }
.nav .count { background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.nav-sep { width: 1px; background: rgba(255,255,255,.18); margin: 8px 6px; }
.user-menu { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: rgba(255,255,255,.75); }
.user-menu a { color: rgba(255,255,255,.85); }
.linkbtn { background: none; border: 0; color: rgba(255,255,255,.85); font: inherit; cursor: pointer; padding: 6px 8px; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.linkbtn:hover { color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: var(--radius-sm); padding: 6px 10px; font: inherit; font-size: .85rem; }

/* ---------- Layout ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 28px 20px 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }
.eyebrow { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.stack > * + * { margin-top: 18px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: .86rem; }
.card-body { padding: 18px 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--line-soft); background: #FBF8F2; border-radius: 0 0 var(--radius) var(--radius); }

.stat { padding: 18px 20px; }
.stat .label { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stat .value { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; line-height: 1.1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .value small { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.stat .hint { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.stat.accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat.accent .label, .stat.accent .hint, .stat.accent .value small { color: rgba(255,255,255,.7); }

/* ---------- Clock panel ---------- */
.clock { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; }
.clock::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(232,71,28,.18); pointer-events: none; }
.clock h2 { color: #fff; }
.clock .muted { color: rgba(255,255,255,.66); }
.clock label { color: rgba(255,255,255,.85); }
.clock select, .clock input { background: #20232A; color: #fff; border-color: #3A3E46; }
.clock select:focus, .clock input:focus { border-color: var(--orange); }
.timer { font-family: var(--font-display); font-size: clamp(2.4rem, 1.8rem + 2.5vw, 3.4rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; margin: 10px 0 6px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-right: 8px; animation: pulse 1.6s infinite; vertical-align: middle; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 5px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; font-weight: 400; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 11px; min-height: 42px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(232,71,28,.18); }
input[type=file] { font: inherit; font-size: .9rem; }
.field { margin-bottom: 14px; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fields-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 500; font-size: .9rem; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--orange); }
.req { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .92rem; border-radius: var(--radius-sm); border: 1px solid var(--ink); background: var(--card); color: var(--ink); padding: 9px 16px; min-height: 42px; cursor: pointer; text-decoration: none; transition: background .15s var(--ease), transform .15s var(--ease), border-color .15s; white-space: nowrap; }
.btn:hover { background: #F0EBE1; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: rgba(20,22,26,.06); }
.btn-danger { border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red-tint); color: var(--red); }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: .84rem; }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.clock .btn { border-color: #fff; }
.clock .btn-primary { border-color: var(--orange); }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; background: #EAE4D8; border-radius: 999px; padding: 4px; gap: 2px; margin-bottom: 18px; }
.tabs a { padding: 8px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .88rem; color: var(--muted); }
.tabs a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .84rem; font-weight: 500; color: var(--muted); background: var(--card); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.list th { text-align: left; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #FBF8F2; }
table.list td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr:hover td { background: #FBF8F2; }
table.list .r { text-align: right; }
table.list .nowrap { white-space: nowrap; }
table.list td.check-cell, table.list th.check-cell { width: 36px; padding-right: 0; }
table.list input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--orange); }
.cell-main { font-weight: 600; }
.cell-sub { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.dur { font-family: var(--font-display); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; background: #ECE7DD; color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.b-approved { background: var(--green-tint); color: var(--green); }
.b-submitted { background: var(--amber-tint); color: var(--amber); }
.b-returned { background: var(--orange-tint); color: var(--ember); }
.b-rejected, .b-revoked { background: var(--red-tint); color: var(--red); }
.b-planned { background: var(--blue-tint); color: var(--blue); }
.b-active { background: var(--ink); color: #fff; }
.b-issued { background: var(--green-tint); color: var(--green); }
.b-admin { background: var(--ink); color: #fff; }

/* ---------- Flash ---------- */
.flashes { margin-bottom: 18px; display: grid; gap: 8px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.flash-success { background: var(--green-tint); border-color: #BCD6BE; color: #1F4A2A; }
.flash-error { background: var(--red-tint); border-color: #E6B9B2; color: #7A1D13; }
.flash-info { background: #fff; border-color: var(--line); color: var(--ink); }

/* ---------- Lists ---------- */
.item-list { list-style: none; margin: 0; padding: 0; }
.item-list li { display: flex; gap: 12px; align-items: center; padding: 13px 20px; border-bottom: 1px solid var(--line-soft); }
.item-list li:last-child { border-bottom: 0; }
.item-list .grow { flex: 1; min-width: 0; }
.date-tile { width: 46px; flex-shrink: 0; text-align: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; padding: 4px 0; line-height: 1.1; }
.date-tile .m { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.date-tile .d { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.empty { padding: 30px 20px; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; }

/* ---------- Review queue ---------- */
.vol-group + .vol-group { margin-top: 16px; }
.vol-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.actionbar { position: sticky; bottom: 0; z-index: 5; margin-top: 18px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 -6px 24px rgba(20,22,26,.15); }
.actionbar label { color: rgba(255,255,255,.85); }
.actionbar input, .actionbar textarea { background: #20232A; color: #fff; border-color: #3A3E46; }
.actionbar .hint { color: rgba(255,255,255,.6); }
.actionbar .check { color: #fff; }
.actionbar .btn { border-color: #fff; }
.actionbar .btn:not(.btn-primary) { background: transparent; color: #fff; }
.actionbar .btn:not(.btn-primary):hover { background: rgba(255,255,255,.1); }
.actionbar .btn-primary { border-color: var(--orange); }
.actionbar-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px 14px; align-items: end; }
.sel-count { font-family: var(--font-display); font-weight: 650; }

/* ---------- Award documents ---------- */
.doc-preview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.doc-tile { display: block; text-decoration: none; border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--card); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.doc-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,22,26,.1); }
.doc-thumb { aspect-ratio: 11 / 8.5; background: #FBF9F5; display: grid; place-items: center; border-bottom: 1px solid var(--line-soft); position: relative; }
.doc-thumb.portrait { aspect-ratio: auto; height: 100%; min-height: 220px; }
.doc-thumb .mini { width: 72%; height: 78%; border: 2px solid var(--ink); outline: 1px solid var(--orange); outline-offset: -6px; background: #fff; display: grid; place-items: center; text-align: center; padding: 10px; }
.doc-thumb .mini img { width: 34px; }
.doc-thumb .mini .t { font-family: var(--font-display); font-size: .62rem; letter-spacing: .14em; font-weight: 650; margin-top: 6px; }
.doc-thumb .mini .n { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.1; margin-top: 4px; }
.doc-thumb .sheet { width: 52%; height: 84%; background: #fff; border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 5px; }
.doc-thumb .sheet img { width: 22px; }
.doc-thumb .sheet i { display: block; height: 4px; background: #E5DFD3; border-radius: 2px; }
.doc-thumb .sheet i.s { width: 60%; }
.doc-thumb .sheet i.o { background: var(--orange); width: 30%; height: 2px; }
.doc-meta { padding: 14px 16px; }
.doc-meta strong { display: block; font-family: var(--font-display); }
.doc-meta span { font-size: .84rem; color: var(--muted); }

.award-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.award-row:last-child { border-bottom: 0; }
.seal { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; position: relative; background: #fff; }
.seal::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid var(--orange); }
.seal img { width: 22px; }

/* ---------- Auth ---------- */
.auth-wrap { min-height: calc(100vh - 60px); display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::before { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(232,71,28,.16); }
.auth-side .big-mark { width: 150px; color: #fff; }
.auth-side h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); max-width: 14ch; margin-top: 36px; }
.auth-side p { color: rgba(255,255,255,.72); max-width: 42ch; font-size: 1.02rem; margin-top: 14px; }
.auth-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; position: relative; }
.auth-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.86); font-size: .95rem; }
.auth-points li b { color: var(--orange); font-family: var(--font-display); min-width: 22px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.auth-card .sub { color: var(--muted); margin-bottom: 22px; }
body.auth main { max-width: none; padding: 0; }

/* ---------- Verification ---------- */
.verify-card { max-width: 640px; margin: 30px auto; }
.verify-status { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line-soft); }
.verify-status .icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; flex-shrink: 0; }
.verify-status.ok .icon { background: var(--green-tint); color: var(--green); }
.verify-status.bad .icon { background: var(--red-tint); color: var(--red); }
dl.kv { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; margin: 0; }
dl.kv dt { color: var(--muted); font-size: .86rem; }
dl.kv dd { margin: 0; font-weight: 500; }

/* ---------- Misc ---------- */
.copy-box { display: flex; gap: 8px; }
.copy-box input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.audit-details { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; color: var(--muted); word-break: break-word; max-width: 520px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.note { background: var(--orange-tint); border-left: 3px solid var(--orange); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .9rem; }
.note-info { background: var(--blue-tint); border-left-color: var(--blue); }
.sig-preview { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 12px; display: grid; place-items: center; min-height: 90px; }
.sig-preview img { max-height: 70px; max-width: 100%; }
.footer { text-align: center; color: var(--faint); font-size: .78rem; padding: 0 20px 28px; }
.footer a { color: var(--faint); }
.pager { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 20px; }
details.disclose summary { cursor: pointer; font-weight: 600; font-size: .9rem; list-style: none; }
details.disclose summary::-webkit-details-marker { display: none; }
details.disclose summary::before { content: "+ "; color: var(--orange); font-weight: 700; }
details.disclose[open] summary::before { content: "– "; }
.hide-sm { }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .actionbar-grid { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { padding: 32px 24px; }
  .auth-side h1 { margin-top: 20px; }
  .auth-side .big-mark { width: 96px; }
  .auth-points { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar-inner { flex-wrap: wrap; gap: 0 12px; padding: 0 16px; }
  .brand-mark { width: 40px; }
  .menu-toggle { display: inline-block; }
  .nav, .user-menu { display: none; width: 100%; }
  .topbar.open .nav { display: flex; flex-direction: column; flex: 0 0 100%; padding: 6px 0; }
  .topbar.open .user-menu { flex: 0 0 100%; }
  .topbar.open .user-menu { display: flex; padding: 10px 0 14px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-sep { display: none; }
  main { padding: 20px 16px 56px; }
  .grid-2, .grid-3, .fields-2, .fields-3, .doc-preview { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 14px; }
  .stat .value { font-size: 1.5rem; }
  .actionbar-grid { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  dl.kv { grid-template-columns: 1fr; gap: 2px; }
  dl.kv dd { margin-bottom: 10px; }
  table.list.stackable thead { display: none; }
  table.list.stackable, table.list.stackable tbody, table.list.stackable tr, table.list.stackable td { display: block; width: 100%; }
  table.list.stackable tr { border-bottom: 1px solid var(--line-soft); padding: 10px 6px; }
  table.list.stackable td { border: 0; padding: 3px 12px; }
  table.list.stackable td.r { text-align: left; }
  table.list.stackable td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-size: .8rem; }
  .award-row { grid-template-columns: auto 1fr; }
  .item-list li { flex-wrap: wrap; padding: 12px 16px; row-gap: 6px; }
  .item-list li .grow { flex: 1 1 calc(100% - 60px); }
  .item-list li > .dur, .item-list li > .badge, .item-list li > .btn { margin-left: 58px; }
  .item-list li > .dur + .badge, .item-list li > .badge + .btn { margin-left: 0; }
  .award-row > :last-child { grid-column: 1 / -1; }
  .page-head .btn { width: 100%; }
}
@media print { .topbar, .footer, .actionbar { display: none; } body { background: #fff; } }
body.auth .topbar { display: none; }
body.auth .auth-wrap { min-height: 100vh; }

/* Administrator: add hours for volunteers */
.people-pick { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.people-pick li + li { border-top: 1px solid var(--line); }
.people-pick label { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; }
.people-pick label:hover { background: var(--paper); }
.people-pick input { width: 17px; height: 17px; accent-color: var(--orange); flex: none; }
.people-pick .avatar { width: 34px; height: 34px; font-size: .78rem; flex: none; }
.people-pick li:has(input:checked) { background: #FDF0EA; }
.tag-admin { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--ember); background: #FDF0EA; border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.people-pick .cell-main, .people-pick .cell-sub { display: block; }
.people-pick .muted.small { font-weight: 400; }
.people-pick label { font-weight: 400; }
.people-pick .cell-main { font-weight: 600; }
