@font-face { font-family: "Bitter"; src: url("fonts/bitter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-500.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: block; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: block; }

/* Lumen Pass coordinator: the pantry staff side, same brand as the hub */
:root {
  --bg: #f3f6f4; --surface: #fff; --ink: #12302c; --ink-2: #48615c; --ink-3: #87a09a; --line: #e1e9e6; --line-2: #d0dcd8;
  --brand: #0d7c74; --brand-2: #10978d; --brand-bg: #e1f2ef; --amber: #8a5a06; --amber-bg: #fdf1d6; --red: #c7503a; --red-bg: #f9e3de; --sun: #f2b43c;
  --serif: "Bitter", Georgia, serif; --sans: "Figtree", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
img { display: block; }
svg { flex: none; }
.tnum { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; }

/* shell */
.side { position: fixed; left: 0; top: 0; bottom: 0; width: 232px; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: #0b3b37; color: #dcefeb; z-index: 40; }
.s-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; color: #fff; }
.s-brand svg { width: 28px; height: 28px; }
.s-brand .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.s-brand .mark svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.s-brand .mark svg path:nth-child(n+3) { fill: var(--sun); stroke: var(--sun); }
.s-brand b { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.s-brand small { font-size: 11.5px; color: #9cc9c2; font-weight: 600; }
.s-x { display: none; }
.s-links { display: grid; gap: 2px; }
.side a { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; font-weight: 500; color: #c6d6cf; }
.side a svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side a.on { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.side a b { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: #e9b44c; color: #2b1d02; font-size: 11.5px; display: grid; place-items: center; }
.s-site { margin-top: 10px; border-top: 1px solid rgba(255,255,255,.1); border-radius: 0 !important; padding-top: 4px !important; height: 50px !important; }
.s-me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.s-me img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.s-me b { display: block; color: #fff; font-size: 13.5px; }
.s-me small { font-size: 12px; color: #9fb6ac; }
.side-scrim { display: none; }
.shell { margin-left: 232px; min-height: 100vh; }
.top { display: flex; align-items: center; gap: 16px; padding: 22px 28px 14px; }
.top-burger { display: none; }
.t-tt h1 { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.t-tt p { color: var(--ink-3); margin-top: 2px; }
.t-r { margin-left: auto; display: flex; gap: 8px; }
.content { padding: 0 28px 100px; }

/* buttons, pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 600; white-space: nowrap; }
.btn:hover { background: var(--brand-2); }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--brand-2); }
.btn.danger { color: var(--red); }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; }
.lnk { color: var(--brand-2); font-weight: 600; font-size: 13px; }
.lnk.sm { font-size: 12.5px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.p-requested { background: var(--amber-bg); color: var(--amber); }
.p-confirmed { background: var(--brand-bg); color: var(--brand); }
.p-done { background: #eceef0; color: #55606a; }
.p-cancelled { background: var(--red-bg); color: var(--red); text-decoration: line-through; }
.new-b { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 5px; background: #e4ecfb; color: #2f5bb5; font-size: 10.5px; font-weight: 700; font-family: var(--sans); vertical-align: 1px; white-space: nowrap; }
.av { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.av.xs { width: 22px; height: 22px; }

/* panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.p-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.p-h h2 { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.p-h .lnk { margin-left: auto; }
.cnt { margin-left: auto; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--amber-bg); color: var(--amber); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.empty { color: var(--ink-3); padding: 10px 0; }
.rows { display: grid; grid-template-columns: minmax(0, 1fr); }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row.fresh { background: linear-gradient(90deg, #f1f6ff, transparent 70%); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.tm { width: 74px; flex: none; font-weight: 600; font-size: 13px; }
.th { width: 46px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; }
.th-soon { display: block; background: linear-gradient(160deg, #e7efe9, #f3efe5); }
.r-main { flex: 1; min-width: 0; }
.r-main b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-main small { display: block; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.r-main:hover b { color: var(--brand-2); }

/* today */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.kpi span { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.kpi b { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; }
.kpi small { color: var(--ink-2); font-size: 12.5px; }
.today-g { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.col-a, .col-b { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.feed-p { border-color: #d5e5dc; box-shadow: 0 10px 30px -18px rgba(31,74,58,.4); }

/* filters bar */
.bar-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); }
.seg button { height: 32px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: var(--brand-bg); color: var(--brand); }
.srch { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); flex: 0 1 260px; }
.srch svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 2; }
.srch input { border: 0; outline: 0; background: none; min-width: 0; flex: 1; }

/* showings week */
.sh-g { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; min-height: 420px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.day.today { background: color-mix(in srgb, var(--brand-2) 7%, var(--surface)); }
.day-h { display: flex; align-items: baseline; gap: 6px; padding: 2px 4px 6px; border-bottom: 1px solid var(--line); }
.day-h span { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.day-h b { font-family: var(--serif); font-size: 20px; }
.day-h small { margin-left: auto; color: var(--ink-3); font-weight: 600; }
.sc { display: grid; gap: 2px; text-align: left; padding: 8px; border-radius: 10px; background: #f4f8f5; border: 1px solid #dbe8df; min-width: 0; }
.sc:hover { border-color: var(--brand-2); }
.sc.s-requested { background: #fdf7ea; border-color: #f0dcb4; }
.sc.s-done { background: #f3f4f5; border-color: #e3e5e8; }
.sc.s-cancelled { background: #fbf1ef; border-color: #f0d3cd; }
.sc.fresh { box-shadow: 0 0 0 2px #8fb0ee; }
.sc-t { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.sc b { font-size: 13px; line-height: 1.25; overflow-wrap: anywhere; }
.sc-w { font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.sc-f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; }
.ohc { display: grid; gap: 1px; padding: 7px 8px; border-radius: 10px; background: var(--brand); color: #fff; }
.ohc span { font-size: 11.5px; font-weight: 700; opacity: .85; }
.ohc b { font-size: 12.5px; }
.ohc small { font-size: 11.5px; opacity: .85; overflow-wrap: anywhere; }
.none-d { color: var(--ink-3); font-size: 12.5px; padding: 8px 4px; }

/* leads board */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: start; }
.colm { background: #eeede6; border-radius: 16px; padding: 10px; min-height: 360px; transition: background .15s; }
.colm.over { background: var(--brand-bg); box-shadow: inset 0 0 0 2px var(--brand-2); }
.col-h { display: flex; align-items: center; gap: 8px; padding: 4px 4px 10px; }
.col-h h2 { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.col-h .cnt { margin-left: 0; background: var(--surface); color: var(--ink-2); }
.col-h small { margin-left: auto; color: var(--ink-3); font-weight: 600; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw-new { background: #4f7fd6; } .sw-touring { background: #e0a43c; } .sw-offer { background: #8a5cc7; } .sw-closed { background: var(--brand-2); }
.col-l { display: grid; gap: 8px; }
.lc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 4px; cursor: grab; }
.lc.fresh { box-shadow: 0 0 0 2px #8fb0ee; }
.lc.drag { opacity: .5; }
.lc-h { display: flex; align-items: center; gap: 8px; }
.lc-n { font-weight: 650; text-align: left; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lc-n:hover { color: var(--brand-2); text-decoration: underline; }
.lc-w { font-size: 12.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.kind { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 5px; background: #f1e9fb; color: #6b3fae; font-size: 10.5px; font-weight: 700; }
.lc-m { font-size: 12px; color: var(--ink-3); }
.stale { color: var(--red); font-weight: 600; }
.mv select { width: 100%; height: 32px; margin-top: 4px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: #fafaf7; font-size: 12.5px; color: var(--ink-2); }

/* listings table */
.tbl-p { padding: 0; overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11.5px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.tbl td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:first-child td { border-top: 0; }
.home { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.home .th { width: 64px; height: 46px; }
.home b { display: block; }
.home small { color: var(--ink-3); font-size: 12.5px; }
.pr { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid transparent; }
.pr:hover { border-color: var(--line-2); background: #fafaf7; }
.pr b { font-size: 15px; }
.pr svg { width: 14px; height: 14px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; stroke-linejoin: round; }
.pr .cut { color: var(--red); font-weight: 700; font-size: 12px; }
.pr-f, .oh-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pr-f input { width: 110px; height: 34px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--brand-2); }
.oh-f select, .st-sel { height: 32px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; }
.st-sel { font-weight: 600; }
.st-sel.st-active { color: var(--brand); background: var(--brand-bg); border-color: #c9dccf; }
.st-sel.st-pending { color: var(--amber); background: var(--amber-bg); border-color: #efd7a9; }
.st-sel.st-sold { color: var(--red); background: var(--red-bg); border-color: #efcbc4; }
.ohs-c { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.oh-c { display: inline-flex; align-items: center; gap: 2px; height: 26px; padding: 0 2px 0 9px; border-radius: 13px; background: var(--brand-bg); color: var(--brand); font-size: 12px; font-weight: 600; white-space: nowrap; }
.oh-c button { width: 22px; height: 22px; border-radius: 50%; font-size: 15px; line-height: 1; color: var(--brand); }
.oh-c button:hover { background: rgba(31,74,58,.12); }
.act { text-align: right; }

/* drawer */
.d-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15,20,18,.38); opacity: 0; pointer-events: none; transition: opacity .2s; }
.d-scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100vw); background: var(--surface); box-shadow: -20px 0 50px rgba(0,0,0,.2); overflow-y: auto; transform: translateX(105%); transition: transform .22s; visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.d-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 26px; line-height: 1; color: var(--ink-2); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.d-ph img { width: 100%; height: 180px; object-fit: cover; }
.d-b { padding: 20px 22px 32px; display: grid; gap: 12px; }
.d-k { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.d-b h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; padding-right: 40px; }
.d-b h3 { font-family: var(--serif); font-size: 16px; font-weight: 600; margin-top: 4px; }
.d-b > .pill { justify-self: start; }
.d-l { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.d-l div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--surface); }
.d-l dt { color: var(--ink-3); font-size: 13px; }
.d-l dd { font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.resched, .frm { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: #fafaf7; border: 1px solid var(--line); }
.frm { background: none; border: 0; padding: 0; }
.resched button { justify-self: start; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-b label, .frm label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.d-b input, .d-b select { height: 40px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; width: 100%; min-width: 0; }
.d-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.mini li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.mini li:first-child { border-top: 0; }
.mini a { font-weight: 600; flex: 1; min-width: 0; }
.note-f { display: flex; gap: 8px; }
.notes li { padding: 9px 12px; border-radius: 10px; background: #f6f5f0; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.fine { font-size: 12.5px; color: var(--ink-3); }
.toast { position: fixed; left: calc(50% + 116px); bottom: 24px; transform: translate(-50%, 20px); z-index: 58; max-width: min(480px, calc(100vw - 32px)); padding: 11px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1240px) {
  .today-g, .sh-g { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1240px) and (min-width: 721px) {
  .sh-g .col-b { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl tr { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .tbl tr:first-child { border-top: 0; }
  .tbl td { padding: 0; border: 0; }
  .tbl td.home { grid-column: 1 / -1; min-width: 0; }
  .tbl td[data-h]::before { content: attr(data-h); display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
  .tbl td[data-h="Open houses"] { grid-column: 1 / -1; }
  .act { text-align: left; }
}
@media (max-width: 720px) {
  .side { width: min(290px, 84vw); transform: translateX(-105%); transition: transform .22s; visibility: hidden; z-index: 62; }
  .side-open .side { transform: none; visibility: visible; }
  .s-x { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; font-size: 26px; color: #dfe9e4; }
  .side-scrim { display: block; position: fixed; inset: 0; z-index: 61; background: rgba(15,20,18,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
  .side-open .side-scrim { opacity: 1; pointer-events: auto; }
  .shell { margin-left: 0; }
  .top { padding: 12px 16px; gap: 10px; flex-wrap: wrap; position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
  .top-burger { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); }
  .top-burger svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  .t-tt { flex: 1; min-width: 0; }
  .t-tt h1 { font-size: 21px; }
  .t-tt p { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .t-r .btn { height: 38px; padding: 0 12px; font-size: 13px; }
  .content { padding: 14px 16px 100px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi { padding: 12px; }
  .kpi b { font-size: 26px; }
  .panel { padding: 14px; }
  .row.fresh { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .row { gap: 10px; }
  .row .th, .row .av { display: none; }
  .tm { width: 62px; font-size: 12.5px; }
  .t-r a.btn { display: none; }
  .cal { grid-template-columns: 1fr; }
  .day { min-height: 0; }
  .board { grid-template-columns: 1fr; }
  .colm { min-height: 0; }
  .lc { cursor: default; }
  .srch { flex: 1 1 100%; }
  .two { grid-template-columns: 1fr; }
  .toast { left: 50%; bottom: 84px; }
  .tbl tr { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
*, *::before, *::after { font-style: normal !important; }

/* ===== coordinator pages ===== */
.g2 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.chk { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: #eef2f1; color: var(--ink-3); white-space: nowrap; }
.chk.some { background: var(--brand-bg); color: var(--brand); }
.mini-bar { width: 90px; height: 6px; border-radius: 3px; background: #e8efed; overflow: hidden; flex: none; }
.mini-bar span { display: block; height: 100%; background: var(--brand-2); border-radius: 3px; }
.mini-bar.low span { background: var(--red); }
.panel > .seg { margin-bottom: 8px; }
.hh { color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.p-reg, .p-up { background: #eef2f1; color: var(--ink-2); }
.p-picked, .p-in, .p-active { background: var(--brand-bg); color: var(--brand); }
.p-noshow, .p-no { background: var(--red-bg); color: var(--red); }
.p-new { background: #e4ecfb; color: #2f5bb5; }
.p-paused { background: #eef0f1; color: #6a7276; }
.big-n { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 8px; flex-wrap: wrap; }
.big-n b { font-family: var(--serif); font-size: 28px; }
.big-n span { color: var(--ink-3); font-size: 12.5px; }
.meter { height: 10px; border-radius: 5px; background: #e8efed; overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.sub { font-family: var(--serif); font-size: 15px; margin: 14px 0 2px; }
.amt { font-size: 15px; }
/* roster */
.dtabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.dtabs button { position: relative; height: 58px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-content: center; line-height: 1.15; }
.dtabs span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.dtabs b { font-family: var(--serif); font-size: 19px; }
.dtabs em { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--sun); color: #3d2a04; }
.dtabs button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.dtabs button[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
.dtabs button:disabled { opacity: .45; cursor: default; }
.slist { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.sbtn { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.sbtn span { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.sbtn b { font-weight: 700; }
.sbtn small { font-size: 12px; color: var(--ink-3); }
.sbtn.on { background: #e3f4f1; }
.r-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.r-h h2 { font-family: var(--serif); font-size: 22px; }
.d-k { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.cap { display: flex; align-items: center; gap: 6px; }
.cap span { font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.cap button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 18px; font-weight: 700; }
.cap button:disabled { opacity: .4; }
.cap b { min-width: 26px; text-align: center; font-size: 18px; }
.bar { height: 8px; border-radius: 4px; background: #e8efed; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 4px; background: var(--brand-2); }
.bar.big { height: 10px; margin: 12px 0 4px; }
.bar.low span { background: var(--red); }
.ros { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
.ros li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.ros li:first-child { border-top: 0; }
.ros li.fresh { background: linear-gradient(90deg, #eef6ff, transparent 70%); margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
.fc { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; flex: none; }
.fc.md { width: 36px; height: 36px; }
.fc.ini { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: hsl(var(--h) 45% 28%); background: hsl(var(--h) 60% 88%); }
.pos { width: 22px; text-align: center; font-weight: 700; color: var(--ink-3); }
.rm { width: 30px; height: 30px; border-radius: 8px; font-size: 18px; color: var(--ink-3); }
.rm:hover { background: var(--red-bg); color: var(--red); }
.add { display: flex; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.add select { flex: 1; min-width: 0; height: 36px; border-radius: 9px; border: 1px solid var(--line-2); padding: 0 10px; background: var(--surface); }
.warn { color: var(--red); font-weight: 600; }
.k { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; white-space: nowrap; }
.k-wh { background: #e7eefb; color: #3456a8; } .k-pf { background: var(--brand-bg); color: var(--brand); } .k-dr { background: var(--amber-bg); color: var(--amber); }
/* tables */
.nm { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.nm small { display: block; color: var(--ink-3); font-size: 12px; }
.lnk-n { font-weight: 700; text-align: left; }
.lnk-n:hover { color: var(--brand); text-decoration: underline; }
.ct { display: block; white-space: nowrap; }
small.ct { color: var(--ink-3); font-size: 12px; }
.th-s { font: inherit; text-transform: inherit; letter-spacing: inherit; color: inherit; font-weight: 700; }
.tbl tr.fresh td { background: #f2f7ff; }
.tbl tr.low td { background: color-mix(in srgb, var(--red) 6%, #fff); }
.parb { min-width: 52px; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px dashed var(--line-2); font-weight: 600; }
.par-f { display: flex; gap: 6px; }
.par-f input { width: 70px; height: 32px; border-radius: 8px; border: 1px solid var(--brand-2); padding: 0 8px; }
.lvl { display: flex; align-items: center; gap: 8px; min-width: 110px; }
.lvl .bar { flex: 1; }
.flag { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: var(--red-bg); color: var(--red); }
.stepper { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.stepper button { width: 34px; height: 32px; font-size: 17px; font-weight: 700; }
.stepper button + button { border-left: 1px solid var(--line-2); }
.stepper button:hover { background: var(--brand-bg); }
.star { height: 30px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.star.on { background: var(--amber-bg); color: var(--amber); }
.cks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ck { display: flex !important; align-items: center; gap: 8px; min-height: 34px; font-size: 14px !important; color: var(--ink) !important; font-weight: 500 !important; cursor: pointer; }
.ck input { width: 18px !important; height: 18px !important; accent-color: var(--brand); }
.ck.pad { align-self: end; }
.d-b fieldset { border: 0; }
.d-b legend { font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.d-b textarea { padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 14px; width: 100%; resize: vertical; }
@media (max-width: 1240px) { .g2 { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .dtabs { gap: 4px; }
  .dtabs button { height: 52px; }
  .slist { grid-template-columns: 1fr 1fr; }
  .ros li.fresh { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .ros li { flex-wrap: wrap; }
  .ros li .r-main { flex: 1 1 150px; }
  .ros li .acts { margin-left: auto; }
  .mini-bar { width: 50px; }
  #pickups .row { flex-wrap: wrap; }
  #pickups .row .acts { margin-left: auto; }
  .nm { min-width: 0; }
}
.r-main b small.hh { display: inline; }
