* { box-sizing: border-box; }
:root { --ink: #16302b; --muted: #5d6f6b; --line: #dfe7e5; --bg: #f3f6f5; --brand: #0f766e; --brand-d: #0b5a54; --ok: #15803d; --warn: #b45309; }
html, body { margin: 0; background: #dfe5e3; color: var(--ink); font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
#app { max-width: 430px; min-height: 100vh; margin: 0 auto; background: var(--bg); position: relative; padding-bottom: 72px; }
a { color: var(--brand); text-decoration: none; }
h1 { font-size: 24px; margin: 8px 0 6px; }
h2 { font-size: 19px; margin: 18px 0 8px; }
h3 { font-size: 15px; margin: 18px 0 6px; color: var(--muted); }
.pad { padding: 4px 16px 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hint { font-size: 13px; color: var(--muted); margin: 12px 2px; }
.banner { background: #fde68a; color: #713f12; text-align: center; font-size: 12px; font-weight: 700; padding: 5px; letter-spacing: .02em; }

.top { display: flex; justify-content: space-between; align-items: center; background: var(--brand); color: #fff; padding: 12px 16px; }
.top .brand { font-weight: 700; font-size: 17px; }
.top .sub { font-size: 13px; opacity: .85; }
.top .who { color: #fff; background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; font-size: 14px; white-space: nowrap; }

.tabs { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px; display: flex; background: #fff; border-top: 1px solid var(--line); z-index: 5; }
.tabs a { flex: 1; text-align: center; padding: 14px 4px 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.tabs a.on { color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; margin: 10px 0; }
.list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; display: flex; flex-direction: column; }
.chev { color: var(--muted); font-size: 22px; }
.badge { min-width: 38px; height: 38px; border-radius: 10px; background: #e6f0ee; color: var(--brand-d); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.badge.okb { background: #dcfce7; color: var(--ok); }
.tag { font-size: 12px; background: #e6f0ee; color: var(--brand-d); border-radius: 999px; padding: 2px 8px; }
.pill { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.pill.ok { background: #dcfce7; color: var(--ok); }
.pill.no { background: #fef3c7; color: var(--warn); }
.big { font-size: 28px; font-weight: 800; margin: 0 0 6px; }

.svc { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc.sub { padding: 4px 0 10px 16px; }
.svc.sub .svcname { font-size: 14px; color: var(--muted); }
.svcname { font-weight: 600; flex: 1; }
.ctr { display: flex; align-items: center; gap: 8px; }
.num { min-width: 34px; text-align: center; font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pm { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; }
.pm.plus { background: var(--brand); color: #fff; border-color: var(--brand); }
.pm:disabled { opacity: .35; cursor: default; }
.svc.sub .pm { width: 38px; height: 38px; font-size: 20px; }

.btn { display: block; width: 100%; text-align: center; background: var(--brand); color: #fff; border: 0; border-radius: 14px; padding: 15px; font: inherit; font-weight: 700; font-size: 17px; margin: 10px 0; cursor: pointer; }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); }
.btn.light { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.6); }
.wa-btn { background: #25d366; color: #073b1c; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid2 .btn { margin: 0; font-size: 15px; }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: 13px; margin: 18px 0; cursor: pointer; }
.back { display: inline-block; margin: 10px 0 0; font-weight: 600; }

.status { background: #fef3c7; color: #78350f; border-radius: 12px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 12px 0 4px; }
.status.ok { background: #dcfce7; color: #14532d; }
.feed { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.feed li { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.feed .t { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 4px; }
.feed.small { margin-top: 8px; }

.stock, .price { padding: 12px 0; border-bottom: 1px solid var(--line); }
.stock:last-child, .price:last-child { border-bottom: 0; }
.stockhead { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; margin-bottom: 3px; }
.stockhead b { font-size: 17px; text-align: right; white-space: nowrap; }
.price .cur { color: var(--ink); font-weight: 600; }

.lbl { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 12px 0 5px; }
select, input[type=number], input[type=time], input[type=date], input.name { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid #c9d6d3; border-radius: 10px; background: #fff; color: var(--ink); }
.form { padding: 4px 14px 14px; }
.qty { display: flex; gap: 10px; align-items: center; }
.qty input { flex: 1; }
.countin { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.countin input { width: 92px; text-align: center; }
.chk { display: flex; gap: 10px; align-items: center; margin: 14px 0 4px; font-weight: 600; }
.chk input { width: 22px; height: 22px; accent-color: var(--brand); }
input.name { font-size: 15px; padding: 9px 10px; flex: 1; }
.switch { position: relative; width: 50px; height: 30px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #cbd5d3; border-radius: 999px; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 24px; height: 24px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::before { transform: translateX(20px); }

pre.wa { background: #dcf8c6; border-radius: 4px 14px 14px 14px; padding: 12px 14px; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: pre-wrap; margin: 12px 0; box-shadow: 0 1px 1px rgba(0,0,0,.12); color: #111; }

.seg { display: flex; background: #e3eae8; border-radius: 12px; padding: 3px; margin: 8px 0; }
.seg a { flex: 1; text-align: center; padding: 8px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; margin: 8px 0; font-size: 14px; }
.tbl th, .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { font-size: 12px; color: var(--muted); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tfoot td { font-weight: 800; border-bottom: 0; }

.lock { min-height: 100vh; margin-bottom: -72px; background: linear-gradient(160deg, #0f3d3a, #1c5f59 55%, #2f7d6f); color: #fff; padding-bottom: 30px; }
.lock .pad, .lock > a { margin: 0 16px; width: auto; }
.clock { text-align: center; font-size: 72px; font-weight: 300; margin-top: 40px; }
.lockdate { text-align: center; opacity: .85; margin-bottom: 30px; }
.notif { margin: 0 14px; background: rgba(255,255,255,.92); color: #111; border-radius: 18px; padding: 12px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.nhead { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #444; margin-bottom: 6px; }
.nhead span:nth-child(2) { flex: 1; font-weight: 600; }
.nicon { width: 22px; height: 22px; border-radius: 6px; background: var(--brand); color: #fff; font-size: 9px; font-weight: 800; display: grid; place-items: center; }
.ntitle { font-weight: 700; }
.nbody { font-size: 15px; }
.lockhint { text-align: center; opacity: .8; font-size: 13px; margin: 24px 16px 10px; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; z-index: 10; }
.sheet { background: #fff; width: 100%; max-width: 430px; border-radius: 18px 18px 0 0; padding: 8px 18px 22px; }
input.num { width: 58px; min-width: 0; padding: 6px 2px; border: 1px solid transparent; border-radius: 10px; background: transparent; font: inherit; font-size: 22px; font-weight: 800; color: var(--ink); -moz-appearance: textfield; }
input.num:focus { border-color: var(--brand); background: #fff; outline: none; }
input.num::-webkit-outer-spin-button, input.num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input.num:disabled { color: var(--ink); opacity: 1; }
.svc { flex-wrap: wrap; }
.pickline { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 2px; display: flex; align-items: center; gap: 8px; }
.split { flex-basis: 100%; }
select.mini { flex: 1; width: auto; font-size: 14px; padding: 6px 8px; border-radius: 8px; }
input.note { width: 100%; font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid #c9d6d3; border-radius: 10px; }
.lowbox { display: block; background: #fff7ed; border: 1px solid #fdba74; color: #7c2d12; border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 12px 0 0; }
.stock.islow .stockhead b { color: #c2410c; }
.lowtag { white-space: nowrap; font-size: 11px; font-weight: 800; background: #ffedd5; color: #c2410c; border-radius: 999px; padding: 2px 7px; margin-left: 4px; vertical-align: 2px; }
.lowtxt { font-size: 12px; font-weight: 700; color: #c2410c; }
.mini-btn { border: 1px solid #f3b4b4; color: #b42318; background: #fff; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
img.report { width: 100%; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.15); display: block; margin: 12px 0; min-height: 200px; background: #e8eeec; }
details.txt { margin: 14px 0; }
details.txt summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 14px; }
.center { text-align: center; }
/* PIN and invite screens: Back on its own line, the heading sized to fit a long name (Amrit, 18 Nov 2026: spacing is weird) */
.center .back { display: block; text-align: left; margin-bottom: 6px; }
.center h1 { font-size: clamp(24px, 7vw, 32px); line-height: 1.2; overflow-wrap: anywhere; margin-top: 4px; }
.dots { display: flex; justify-content: center; gap: 16px; margin: 22px 0; }
.dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--brand); }
.dot.on { background: var(--brand); }
.keys { display: grid; grid-template-columns: repeat(3, 76px); gap: 14px; justify-content: center; }
.key { height: 76px; border-radius: 50%; border: 0; background: #fff; font: inherit; font-size: 28px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); cursor: pointer; }
input.code { font-size: 28px; letter-spacing: .4em; text-align: center; }
input[type=email] { width: 100%; font: inherit; font-size: 17px; padding: 11px 12px; border: 1px solid #c9d6d3; border-radius: 10px; background: #fff; color: var(--ink); }
input[type=color] { width: 100%; height: 48px; border: 1px solid #c9d6d3; border-radius: 10px; background: #fff; }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: #16302b; color: #fff; padding: 10px 18px; border-radius: 999px; z-index: 20; font-weight: 600; }
.tag.top { background: #fef3c7; color: #92400e; font-weight: 700; }
.soldby { padding: 10px 0 4px; border-bottom: 1px solid var(--line); }
optgroup { font-weight: 700; color: var(--muted); }
.tbl .tag.top { display: inline-block; margin-right: 4px; }
.mini-btn.neutral { border-color: var(--line, #d0d5dd); color: var(--brand, #1d4ed8); }
.svc .mini-btn + .mini-btn { margin-left: 8px; }




.sdstack { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
html .sdstack > .card { margin: 0; }
html .sdstack > .card.sdslot, html.theme-apple .sdstack > .card.sdslot { padding: 14px; }
html .sdstack > .card.form, html.theme-apple .sdstack > .card.form { padding: 4px 14px 14px; }
.sdtop { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sdtop b { flex: 1 1 auto; min-width: 0; }
.sdtop .muted, .sdtop .rs { flex: 0 0 auto; white-space: nowrap; }
.sdphoto { display: block; width: 100%; max-height: 150px; object-fit: contain; background: #f3f4f6; border-radius: 10px; margin: 0 0 10px; }
.sdbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: auto; padding: 8px 14px; min-height: 0; font-size: 14px; cursor: pointer; }
.sdcam { flex: none; }
.sdpair { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.sdpair input, .sdstack input[type=date] { width: 100%; box-sizing: border-box; }
@media (min-width: 640px) { .sdpair { grid-template-columns: 1fr 1fr; } }
.sdpair input { min-height: 46px; }

/* Today form: add rows and per-item lines (own classes, not .svc / .hrow) */
.tl-total { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.tl-wrap { padding: 2px 0 10px; border-bottom: 1px solid var(--line); }
.tl-wrap.tl-flu { padding-left: 16px; }
.card > .tl-wrap:last-child { border-bottom: 0; }
.tl-add { display: flex; align-items: center; gap: 8px; }
.tl-add select.mini { flex: 1 1 0; min-width: 0; }
.tl-addbtn { flex: 0 0 auto; min-width: 64px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.tl-addbtn:disabled { opacity: .35; cursor: default; }
.tl-addlink { flex-wrap: wrap; }
.tl-field { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tl-lab { flex: 0 0 64px; }
.tl-note { flex: 1 1 100%; min-width: 0; box-sizing: border-box; }
.tl-note[hidden] { display: none; }
.tl-addlink .tl-addbtn { flex: 1 1 100%; }
.tl-lines { margin-top: 6px; }
.tl-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--line); }
.tl-name { flex: 1 1 0; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.tl-ctr { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.tl-line .pm { width: 38px; height: 38px; font-size: 20px; }
.tl-n { min-width: 28px; text-align: center; font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }

/* Stock screen: a small + beside each item opens a delivery for it */
.stk-right { display: flex; align-items: center; gap: 10px; }
.stk-plus { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 1.5px solid var(--brand); color: var(--brand); font-weight: 800; font-size: 20px; line-height: 1; text-decoration: none; }

/* Last batches delivered (Add a delivery), 17 Nov 2026 */
.lb-box { margin: 12px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--card, #fff); border: 1px solid var(--line); }
.lb-title { font-size: 12px; font-weight: 700; color: var(--muted, #6b7280); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.lb-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.lb-row + .lb-row { border-top: 1px solid var(--line); }
.lb-text { min-width: 0; overflow-wrap: anywhere; }
.lb-use { flex: 0 0 auto; border: 1.5px solid var(--brand); color: var(--brand); background: transparent; border-radius: 999px; padding: 5px 14px; font-weight: 700; cursor: pointer; }

/* Branch rota (read only), 17 Nov 2026 */
.br-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 10px; }
.br-nav h2 { margin: 0; font-size: 20px; }
.br-arrow { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--chip, #e5e5ea); color: var(--brand); font-size: 22px; font-weight: 700; text-decoration: none; }
.br-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; }
.br-row + .br-row { border-top: 1px solid var(--line); }
.br-day { display: flex; flex-direction: column; font-weight: 600; min-width: 0; }
.br-day small { font-weight: 400; color: var(--muted, #6b7280); font-size: 12px; }
.br-who { font-weight: 700; text-align: right; }
.br-gap { color: #c2410c; font-weight: 700; text-align: right; }
.br-closed { color: var(--muted, #6b7280); }
.br-shut .br-day { color: var(--muted, #6b7280); }
.br-today { background: rgba(0,122,255,.06); border-radius: 10px; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }

/* Opening hours screen (17 Nov 2026, Amrit: design errors). The rows follow the width of the CARD, not the window:
   the app is a narrow column even on a PC, so a window-width rule let the closing time spill out. */
.hoursform { container-type: inline-size; }
html .hoursform .card.form, html.theme-apple .hoursform .card.form { padding: 12px 16px 14px; }
.hoursform .card.form > .lbl:first-child { margin-top: 0; }
.hoursform .card.form > .chk { margin: 8px 0 0; }
.hoursrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.hoursrow .chk { margin: 0; flex: 1 1 auto; min-width: 0; }
.hoursrow .chk input, .hoursform .chk input { flex: 0 0 22px; }
.hoursrow .hours-times { display: flex; flex-direction: row; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; }
.hoursrow .hours-times input[type=time] { width: 8rem; min-width: 0; }
@container (max-width: 520px) {
  .hoursrow .hours-times { flex: 1 1 100%; padding-left: 32px; }
  .hoursrow .hours-times input[type=time] { flex: 1 1 0; width: auto; }
}

/* The name button at the top and its menu (17 Nov 2026) */
button.who { border: 0; font: inherit; cursor: pointer; }
.who-sheet .btn { display: block; width: 100%; margin: 10px 0 0; text-align: center; box-sizing: border-box; }
.who-sheet h2 { margin: 2px 0 6px; }
.who-cancel { display: block; margin: 12px auto 0; }

/* Every form box: room above the first label (17 Nov 2026, Amrit: labels touched the top of their box) */
html .card.form, html.theme-apple .card.form { padding-top: 12px; padding-bottom: 14px; }
.card.form > .lbl:first-child { margin-top: 0; }

/* Services screen: added services and the Add a service form (17 Nov 2026) */
.sv-row { flex-wrap: nowrap; }
.sv-row > input.name { flex: 1 1 auto; min-width: 0; }
.sv-row > .svcname { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.sv-tag { flex: none; white-space: nowrap; }
.sv-row > .mini-btn { flex: none; }
.sv-form .sv-name { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; }
.sv-form #svcName { margin-top: 0; }
.sv-form .sv-chk { margin: 14px 0 4px; }
.sv-form .sv-add { margin-top: 16px; }
.sv-form [hidden] { display: none !important; }

/* Open shifts, shift requests, podium share (17 Nov 2026). Own class names: sh-, rq-, star-share. */
.sh-card { padding-top: 4px; padding-bottom: 4px; }
.sh-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.sh-row + .sh-row, .sh-mine + .sh-mine { border-top: 1px solid var(--line); }
.sh-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.sh-btn { flex: 0 0 auto; }
.btn.sh-apply { width: auto; margin: 0; padding: 10px 20px; font-size: 15px; }
.sh-req { align-self: flex-start; margin-top: 4px; padding: 2px 10px; border-radius: 999px; background: #dbeafe; color: #1e40af; font-size: 12px; font-weight: 700; }
.sh-mine { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.sh-mine.sh-booked { background: #f0fdf4; margin: 0 -10px; padding: 12px 10px; border-radius: 10px; border-top-color: transparent; }
.sh-st { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; background: #f3f4f6; color: #4b5563; }
.sh-st.st-applied { background: #dbeafe; color: #1e40af; }
.sh-st.st-booked { background: #dcfce7; color: #166534; }
.rq-card { padding-top: 4px; padding-bottom: 6px; }
.rq-head { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.rq-app { padding: 12px 0; }
.rq-app + .rq-app { border-top: 1px solid var(--line); }
.rq-head + .rq-app { border-top: 0; }
.rq-who { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; overflow-wrap: anywhere; }
.rq-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rq-btns .btn { margin: 0; padding: 11px 8px; font-size: 15px; }
.rq-done { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.rq-done + .rq-done { border-top: 1px solid var(--line); }
.rgrid td.gap .rq-badge { position: absolute; top: 1px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 999px; background: #2563eb; color: #fff; font-size: 10px; font-weight: 800; line-height: 15px; text-align: center; }
.lc-none { margin: 12px 0; }
.btn.star-share { margin: 14px 0 2px; }
/* the Strongest branch card: its label touched the card's top edge */
html .card.star, html.theme-apple .card.star { padding: 16px; }
/* People rows: Edit, Reset PIN, Remove on one line */
.pbtns { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: 6px; }
.pbtns .mini-btn { display: inline-block; margin: 0; padding: 6px 8px; font-size: 12px; white-space: nowrap; text-decoration: none; }
.svc .pbtns .mini-btn + .mini-btn { margin-left: 0; }
.card.form select[disabled] { opacity: .6; }

/* Short-dated stock cards: room inside the card (17 Nov 2026, Amrit: the name and the Added line touched the edges) */
html .card.sd, html.theme-apple .card.sd { padding: 14px 16px; }

/* Lunch closures on the opening hours screen, late arrivals, the locum message editor, the shifts filter (17 Nov 2026). Own class names: lunch-, lt-, gm-, shf-. */
.hoursrow .lunch-box { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-left: 32px; }
.lunch-box[hidden], .lunch-times[hidden] { display: none !important; }
.lunch-box .lunch-chk { flex: 0 0 auto; margin: 0; font-weight: 500; font-size: 14px; }
.lunch-box .lunch-times { display: flex; align-items: center; gap: 8px; flex: 1 1 14rem; min-width: 0; }
.lunch-box .lunch-times input[type=time] { flex: 1 1 0; width: auto; min-width: 0; }
.lt-card { padding-top: 4px; padding-bottom: 4px; }
.lt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.lt-row + .lt-row { border-top: 1px solid var(--line); }
.lt-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.lt-cancel { flex: 0 0 auto; }
.lt-form input, .lt-form select, .gm-form input { box-sizing: border-box; }
.gm-form input.name { display: block; width: 100%; }
.shf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.shf-chip { border: 1.5px solid var(--brand); background: #fff; color: var(--brand); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.shf-chip.on { background: var(--brand); color: #fff; }
.btn.shf-more { margin: 14px 0; }
/* Stage 2 (online): phone start screen, invite screen, invite sheet, People rows with an Invite button */
.svc.prow .pbtns { flex: 1 0 100%; flex-wrap: wrap; justify-content: flex-start; margin: 2px 0 4px; }
.ph-list { background: #fff; border-radius: 22px; overflow: hidden; margin: 8px 0; }
.ph-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 52px; box-sizing: border-box; border-bottom: .5px solid rgba(60,60,67,.29); color: var(--ink); text-decoration: none; }
.ph-row:last-child { border-bottom: 0; }
.ph-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; overflow-wrap: anywhere; }
.ph-sub { font-size: 13px; font-weight: 400; color: var(--muted); }
.ph-chev { color: var(--muted); font-size: 22px; }
.ph-empty { background: #fff; border-radius: 22px; padding: 16px 18px; margin: 14px 0; }
.ph-empty p { margin: 0; line-height: 1.4; }
.inv-screen { padding-top: 28px; }
.inv-co { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.inv-welcome { margin: 0 0 8px; overflow-wrap: anywhere; }
.inv-bad { background: #fff; border-radius: 22px; padding: 16px 18px; margin: 14px 0; }
.inv-bad p { margin: 0; line-height: 1.4; }
.inv-wait { text-align: center; margin-top: 60px; }
.inv-sheet .inv-lead { margin: 4px 0 10px; line-height: 1.4; }
.inv-link { font-family: ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.4; background: rgba(118,118,128,.12); border-radius: 12px; padding: 10px 12px; overflow-wrap: anywhere; word-break: break-all; user-select: all; }
.inv-note { font-size: 13px; color: var(--muted); margin: 8px 2px 10px; }
.inv-sheet .inv-btn { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 0; text-align: center; }
.inv-sheet .inv-wa, html.theme-apple .inv-sheet .inv-wa { background: #25d366; color: #073b1c; }
/* Recorded today: each row carries its own Edit and Undo (18 Nov 2026) */
.feed li.mv-row { display: flex; align-items: center; gap: 8px; }
.mv-row .mv-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.mv-row .mv-btns { flex: none; display: flex; gap: 6px; }
.mv-row .mv-btns .mini-btn { display: inline-block; margin: 0; padding: 5px 9px; font-size: 12px; text-decoration: none; white-space: nowrap; }
/* Add a vaccine form */
.va-form .va-name { display: block; width: 100%; box-sizing: border-box; margin-top: 8px; }
.va-form #vaName { margin-top: 0; }
.va-form .va-add { margin-top: 16px; }
.va-form .va-hint { margin: 6px 2px 0; }
.va-form [hidden] { display: none !important; }
.va-open { margin-top: 8px; }
