:root {
  --cream: #fff8ef;
  --cream-2: #fbeee0;
  --ink: #2b1d1a;
  --ink-2: #5a4640;
  --muted: #8a766e;
  --line: #eadccd;
  --card: #ffffff;
  --cyan: #5fd3e6;
  --cyan-d: #138fa3;
  --pink: #f6a8bd;
  --good: #2f9e5b;
  --bad: #d0453f;
  --warn: #c7811a;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(43,29,26,.06), 0 6px 20px rgba(43,29,26,.06);
  --display: 'Fredoka', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 'Nunito', system-ui, sans-serif; color: var(--ink); background: var(--cream); }
a { color: var(--cyan-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1rem; margin-top: 1em; }
p { margin: 0 0 1em; }
code { background: var(--cream-2); padding: .1em .35em; border-radius: 6px; font-size: .9em; word-break: break-all; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.empty { color: var(--muted); font-style: italic; margin: .5em 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--cyan-d); margin-bottom: .6em; }

/* buttons & inputs */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font: 700 1rem 'Nunito', sans-serif; padding: .7em 1.25em; border-radius: 999px; text-decoration: none; }
.btn:hover { text-decoration: none; background: #46322d; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { font-size: .85rem; padding: .45em .9em; }
.btn.full { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: var(--cyan-d); font: inherit; cursor: pointer; font-size: .9rem; }
.linkish:hover { text-decoration: underline; }
.danger { color: var(--bad) !important; }
input, select, textarea { font: inherit; color: inherit; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .55em .7em; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95,211,230,.3); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--cyan-d); }
label { display: block; font-weight: 700; font-size: .875rem; color: var(--ink-2); margin-bottom: .8em; }
label > input, label > select, label > textarea { margin-top: .3em; font-weight: 400; }
label.check { display: flex; align-items: center; gap: .4em; font-weight: 600; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.form-row > label { flex: 1 1 140px; }
.form-row .grow { flex: 3 1 220px; }
.form-row .full { flex: 1 1 100%; }
.form-row > .btn { margin-bottom: .8em; }

/* chips / tags */
.chip { display: inline-block; background: var(--cream-2); border-radius: 999px; padding: .2em .7em; font-size: .85rem; font-weight: 700; margin: 0 .3em .3em 0; border: 0; color: var(--ink); cursor: default; }
button.chip { cursor: pointer; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .2em .55em; border-radius: 6px; background: var(--cream-2); color: var(--ink-2); margin: 0 .3em .3em 0; }
.tag.sold_out { background: #f1d9a6; color: #6b4b10; }
.tag.pints_only { background: #fbd3a6; color: #8a4a06; }
.tag.scoops_only { background: #cdeec6; color: #245e1c; }
.tag.vegan { background: #e5f6cf; color: #3f6f12; }
.tag.where { background: #dff6fa; color: #0d6e7e; }
.tag.where.sold_out { background: #f1d9a6; color: #6b4b10; }
.tag.off { background: transparent; color: var(--muted); padding-left: 0; }
.g { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--ink); color: #fff; font: 700 .7rem var(--display); vertical-align: .1em; }

/* public header / footer */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,248,239,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand b { font: 400 1.7rem/1 'Pacifico', cursive; display: block; }
.brand small { display: block; font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin-top: 2px; }
.brand.big b { font-size: 2.6rem; }
.brand .logo { height: 60px; width: auto; display: block; }
.side .brand .logo { height: 64px; }
.foot-logo { width: 130px; height: auto; display: block; margin-bottom: 12px; }
.login-logo { width: 150px; height: auto; }
.login-sub { text-align: center; text-transform: uppercase; letter-spacing: .3em; font-weight: 800; font-size: .75rem; color: var(--muted); margin: -8px 0 18px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.site-nav a { color: var(--ink); }
.site-nav a.on { color: var(--cyan-d); }
.site-nav .btn { color: var(--ink); }
.site-nav .btn:hover { color: #fff; }
.site-footer { margin-top: 80px; background: var(--ink); color: #eadfd8; padding: 48px 0; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot a { display: block; color: #fff; margin-bottom: .3em; }
.foot h4 { color: var(--cyan); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.foot-brand { font: 2rem 'Pacifico', cursive; color: #fff; }

/* hero */
.hero { padding: 64px 0 40px; background:
  radial-gradient(600px 300px at 85% 30%, rgba(95,211,230,.25), transparent 70%),
  radial-gradient(500px 300px at 70% 90%, rgba(246,168,189,.28), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; }
.hero h1 span { color: var(--cyan-d); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.float-scoops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.float { background: #fff; border-radius: 20px; padding: 14px 8px 10px; text-align: center; box-shadow: var(--shadow); font-weight: 700; font-size: .78rem; line-height: 1.2; }
.float:nth-child(odd) { transform: translateY(14px) rotate(-2deg); }
.float:nth-child(even) { transform: rotate(2deg); }
.float span { display: block; margin-top: 4px; }

.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 48px 0 16px; }
.section-head h2 { font-size: 1.8rem; margin: 0; }
.page-head { padding: 48px 20px 8px; }

/* cards */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.card.soft { background: #fff; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }
details.card[open] > summary { margin-bottom: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }

.loc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.loc-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; color: var(--ink); display: flex; flex-direction: column; gap: 12px; transition: transform .15s; border-top: 6px solid var(--cyan); }
.loc-card:nth-child(2) { border-top-color: var(--pink); }
.loc-card:nth-child(3) { border-top-color: #f8bf6e; }
.loc-card:hover { transform: translateY(-3px); text-decoration: none; }
.loc-card h3 { margin: 0; font-size: 1.5rem; }
.loc-card-top { display: flex; justify-content: space-between; align-items: baseline; }
.loc-stats { display: flex; gap: 10px; }
.loc-stats div { flex: 1; background: var(--cream); border-radius: 12px; padding: 8px; text-align: center; }
.loc-stats b { display: block; font: 600 1.6rem var(--display); }
.loc-stats span { font-size: .75rem; color: var(--muted); font-weight: 700; }
.loc-go { margin-top: auto; font-weight: 800; color: var(--cyan-d); }
.loc-list { display: grid; gap: 20px; }
.loc-full { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.loc-actions { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }

/* flavour browser */
.store-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.store-tabs button { background: #fff; border: 2px solid transparent; border-radius: 14px; padding: 12px 14px; text-align: left; cursor: pointer; box-shadow: var(--shadow); font: inherit; color: var(--ink); }
.store-tabs button b { display: block; font: 600 1.1rem var(--display); }
.store-tabs button small { color: var(--muted); font-weight: 700; }
.store-tabs button[aria-selected=true] { border-color: var(--ink); background: var(--ink); color: #fff; }
.store-tabs button[aria-selected=true] small { color: var(--cyan); }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.filters input[type=search] { flex: 1 1 220px; width: auto; }
.filters select { width: auto; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4em .9em; font: 700 .85rem 'Nunito'; cursor: pointer; color: var(--ink); }
.chips button[aria-pressed=true] { background: var(--cyan); border-color: var(--cyan); }
.live-dot { font-size: .75rem; font-weight: 800; color: var(--good); display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .08em; }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.live-dot.pulse::before { animation: pulse 1s ease-out; }
.live-dot.off { color: var(--muted); }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(47,158,91,.6); } to { box-shadow: 0 0 0 10px rgba(47,158,91,0); } }
.fsection { margin-bottom: 28px; }
.fsection-head { display: flex; align-items: baseline; gap: 12px; border-bottom: 2px solid var(--line); margin-bottom: 12px; }
.fsection-head h2 { font-size: 1.5rem; margin: 0 0 .2em; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.fcard { display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: 0 1px 2px rgba(43,29,26,.06); border: 1px solid var(--line); }
.fcard .scoop { flex: none; }
.fname { font-weight: 800; line-height: 1.2; }
.fmeta { margin-top: 4px; }
.fdesc { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.fcard.sold_out { opacity: .6; }
.fcard.sold_out .fname { text-decoration: line-through; text-decoration-thickness: 2px; }
.fcard.resting { opacity: .55; background: transparent; }

/* menu page */
.menu-list { padding: 8px 22px; }
.menu-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 1.1rem; }
.menu-row:last-child { border: 0; }
.menu-row small { display: block; color: var(--muted); font-size: .85rem; }
.menu-row > span { font: 600 1.2rem var(--display); }

/* login */
.login-body { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(700px 400px at 20% 10%, rgba(95,211,230,.25), transparent), radial-gradient(700px 400px at 90% 90%, rgba(246,168,189,.3), transparent), var(--cream); }
.login { width: min(420px, 100% - 32px); text-align: center; }
.login .brand { justify-content: center; margin-bottom: 20px; }
.login form { text-align: left; padding: 28px; }

/* ------------------ staff app ------------------ */
.app-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--ink) 250px, var(--cream) 250px); }
.side { background: var(--ink); color: #eadfd8; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { color: #fff; padding: 0 8px 18px; gap: 12px; }
.side .brand small { color: var(--cyan); display: block; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 800; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; color: #eadfd8; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: .95rem; }
.side-nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.side-nav a.on { background: var(--cyan); color: var(--ink); }
.side-label { text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; font-weight: 800; color: #a8958d; margin: 18px 12px 6px; }
.side-group { display: grid; gap: 2px; }
.side-user { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.1); padding: 14px 12px 0; display: grid; gap: 6px; font-size: .9rem; }
.side-user small { display: block; color: #a8958d; }
.side-user a { padding: 0; color: var(--cyan); }
.side-user .linkish { color: var(--cyan); text-align: left; }
.pill { background: var(--pink); color: var(--ink); border-radius: 999px; font-size: .72rem; padding: 0 .55em; min-width: 1.5em; text-align: center; }
.navtoggle, .navtoggle-btn { display: none; }
.app-main { padding: 28px clamp(16px, 3vw, 40px) 60px; min-width: 0; }
.app .page-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.app .page-title h1 { font-size: 2rem; margin: 0; }
.app .page-title p { margin: 0; flex-basis: 100%; }
.flash { padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 700; background: #dff6fa; color: #0d5e6b; }
.flash.ok { background: #e3f5e7; color: #1f6b3b; }
.flash.err { background: #fde7e4; color: #9b2d27; }
.flash.big { font-weight: 400; line-height: 1.8; }
.alert { display: block; background: var(--pink); color: var(--ink); padding: 12px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 18px; }
.stack > .card { margin-bottom: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.grid-2 > * { min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.stat span { font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat b { display: block; font: 600 2rem/1.2 var(--display); }
.stat b.sm { font-size: 1.3rem; padding: .25em 0; }
.stat b small { font-size: 1rem; color: var(--muted); margin-left: 2px; }
.stat em { font-style: normal; font-size: .82rem; color: var(--muted); }
.neg { color: var(--bad) !important; }
.pos { color: var(--warn) !important; }
.zero { color: var(--good) !important; }

.seg { display: inline-flex; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow); flex-wrap: wrap; gap: 2px; }
.seg a { padding: .4em 1em; border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .9rem; }
.seg a:hover { text-decoration: none; background: var(--cream); }
.seg a.on { background: var(--ink); color: #fff; }
.seg.radio { box-shadow: none; background: var(--cream); }
.seg.radio label { margin: 0; }
.seg.radio input { position: absolute; opacity: 0; }
.seg.radio span { display: block; padding: .35em .9em; border-radius: 999px; cursor: pointer; font-size: .85rem; }
.seg.radio input:checked + span { background: var(--ink); color: #fff; }
.seg.radio input:focus-visible + span { box-shadow: 0 0 0 3px var(--cyan); }

/* shifts */
.shift { border-radius: 10px; padding: 6px 8px; font-size: .8rem; line-height: 1.25; margin-bottom: 4px; border-left: 4px solid; background: #f3f3f3; position: relative; }
.shift b { display: block; font-size: .82rem; }
.shift span, .shift small { display: block; }
.shift small { color: var(--ink-2); opacity: .8; }
.shift .note { font-style: italic; }
.type-manager { background: #efe6fb; border-color: #8a5cd6; }
.type-shift-leader { background: #e3edfd; border-color: #3f7be0; }
.type-scooper { background: #dff6fa; border-color: #1aa5b8; }
.type-training { background: #fff4d6; border-color: #e0a800; }
.type-production-scooper { background: #fde6ee; border-color: #e0668f; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 14px; }
.shift-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; background: none !important; }
.shift-dot::before { content: ''; width: 12px; height: 12px; border-radius: 4px; border: 3px solid; border-color: inherit; }
.week-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.week-nav strong { font-family: var(--display); font-size: 1.15rem; }
.week-cols { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.day { background: #fff; border-radius: 14px; padding: 10px; min-height: 120px; box-shadow: var(--shadow); }
.day.today { box-shadow: 0 0 0 3px var(--cyan); }
.day-head { font-size: .8rem; font-weight: 800; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }
.day-head b { display: block; font: 600 1.5rem var(--display); color: var(--ink); text-transform: none; }
.off { color: var(--muted); font-size: .85rem; }
.total-line { margin-top: 16px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.roster { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); min-width: 900px; }
.roster th, .roster td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.roster thead th { font-size: .78rem; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.roster thead th b { font: 600 1.2rem var(--display); color: var(--ink); }
.roster thead th small { display: block; text-transform: none; }
.roster tbody th { font-weight: 800; white-space: nowrap; min-width: 130px; }
.roster tbody th small { display: block; font-weight: 600; color: var(--muted); }
.roster td { min-width: 110px; }
.roster .today { background: #f2fcfd; }
.roster tr.me th { color: var(--cyan-d); }
.roster .num { text-align: right; font-weight: 800; white-space: nowrap; }
.roster .num small { display: block; font-weight: 600; color: var(--muted); }
.roster .num.over { color: var(--bad); }
.builder td { position: relative; padding-bottom: 30px; }
.add-shift { position: absolute; left: 8px; right: 8px; bottom: 6px; border: 1.5px dashed var(--line); background: transparent; border-radius: 8px; color: var(--muted); cursor: pointer; font-weight: 800; line-height: 1.4; }
.add-shift:hover { border-color: var(--cyan); color: var(--cyan-d); background: #f2fcfd; }
.shift .x { position: absolute; top: 2px; right: 2px; margin: 0; }
.shift .x button { border: 0; background: transparent; cursor: pointer; font-size: 1rem; color: var(--muted); line-height: 1; padding: 2px 4px; opacity: 0; }
.shift:hover .x button, .shift .x button:focus { opacity: 1; }
@media (hover: none) { .shift .x button { opacity: .7; } }
.hint { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.hint.bad { color: var(--bad); }
.hint.warn { color: var(--warn); }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.tools { display: flex; gap: 12px; align-items: center; }
form.inline { display: inline; }
dialog { border: 0; max-width: 520px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(43,29,26,.45); }
.presets { display: flex; flex-wrap: wrap; margin-bottom: 12px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }

.shift-list { list-style: none; padding: 0; margin: 0; }
.shift-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; margin-bottom: 8px; }
.shift-list .shift { margin: 0; }
.date-badge { text-align: center; background: var(--cream); border-radius: 12px; padding: 4px 0; }
.date-badge b { display: block; font: 600 1.4rem/1 var(--display); }
.date-badge small { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border: 0; }

/* availability */
.avail-row { display: grid; grid-template-columns: 110px auto 1fr; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.avail-row .times { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.avail-row .times input { width: 130px; }
.avail-row:not(:has(input[value=range]:checked)) .times { opacity: .35; pointer-events: none; }
.avail .form-row { margin-top: 16px; }

/* requests */
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.req-list li > div { flex: 1; }
.req-list span.muted, .req-list small { display: block; }
.status { text-transform: capitalize; font-weight: 800; font-size: .8rem; padding: .2em .7em; border-radius: 999px; background: var(--cream-2); }
.status.approved { background: #e3f5e7; color: var(--good); }
.status.denied { background: #fde7e4; color: var(--bad); }
.status.pending { background: #fff1d6; color: var(--warn); }
.req { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.req p { margin: 4px 0 0; }
.req-actions { display: flex; gap: 8px; align-items: center; }
.req-actions input { width: 200px; }
.warn { color: var(--warn); }

/* pints */
.pint-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.pint-form label { margin: 0; flex: 1 1 140px; }
.pint-form .grow { flex: 3 1 220px; }
.pint-form .num-in { flex: 0 1 100px; }
.pint-form.compact .btn { width: 100%; }
.board { list-style: none; padding: 0; margin: 0; }
.board li { display: grid; grid-template-columns: 36px minmax(90px, 160px) 1fr 50px; gap: 10px; align-items: center; padding: 7px 0; }
.board li.me { background: #f2fcfd; border-radius: 10px; }
.board .rank { text-align: center; font-weight: 800; font-size: 1.1rem; }
.board .who { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board .bar { height: 12px; background: var(--cream); border-radius: 999px; overflow: hidden; }
.board .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--pink)); border-radius: 999px; }
.board b { text-align: right; font: 600 1.15rem var(--display); }
.month-nav { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 1.2rem; }
.month-nav a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.month-nav a:hover { text-decoration: none; background: var(--ink); color: #fff; }
.month-nav span { width: 34px; }

/* tables */
table.list { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.list th { text-align: left; font-size: .75rem; text-transform: uppercase; color: var(--muted); padding: 8px; border-bottom: 2px solid var(--line); }
table.list td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.list .num { text-align: right; font-variant-numeric: tabular-nums; }
table.list tr.sum td, table.list tr.sum th { font-weight: 800; border-top: 2px solid var(--ink); }
table.list tr.inactive { opacity: .5; }
table.list td input, table.list td select { padding: .35em .5em; margin: 2px 0; }
table.list td.actions { white-space: nowrap; }
table.list td.actions > * { margin-right: 8px; }
.role { font-weight: 800; font-size: .82rem; padding: .2em .6em; border-radius: 999px; background: var(--cream-2); }
.role.owner { background: var(--ink); color: #fff; }
.role.admin { background: var(--cyan); }

/* cash out */
.count { width: 100%; border-collapse: collapse; }
.count th { text-align: left; padding: 5px 6px; font-family: var(--display); font-size: 1.05rem; }
.count th small { display: block; font: 600 .72rem 'Nunito'; color: var(--muted); }
.count td { padding: 5px 6px; }
.count input { width: 100%; max-width: 120px; font-size: 1.05rem; }
.count .num { text-align: right; font-variant-numeric: tabular-nums; min-width: 80px; color: var(--muted); }
.count tr.sum th, .count tr.sum td { border-top: 2px solid var(--ink); font-weight: 800; padding-top: 10px; font-size: 1.2rem; color: var(--ink); }
.date-in { margin: 0; display: flex; align-items: center; gap: 8px; }
.date-in input { margin: 0; width: auto; }
.sheet-math { background: var(--cream); border-radius: 14px; padding: 12px 14px; margin: 6px 0 14px; display: grid; gap: 6px; }
.sheet-math div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sheet-math span { font-size: .85rem; font-weight: 700; color: var(--muted); }
.sheet-math b { font: 600 1.25rem var(--display); font-variant-numeric: tabular-nums; }
.sheet-math .big { border-top: 2px solid var(--line); padding-top: 8px; }
.sheet-math .big b { font-size: 1.7rem; }
.morning { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; border-left: 6px solid #f8bf6e; }
.morning h2 { margin-bottom: .2em; }
.morning p { margin: 0; }
.morning .form-row { align-items: flex-end; }
table.sheet { font-size: .85rem; white-space: nowrap; }
table.sheet th, table.sheet td { padding: 6px 7px; }
table.sheet thead th { background: #5fd3e6; color: var(--ink); border: 0; }
table.sheet thead th:first-child { border-radius: 8px 0 0 0; }
table.sheet thead th:last-child { border-radius: 0 8px 0 0; }
table.sheet tbody tr:nth-child(even) { background: #fcf8f3; }
table.sheet .dim { color: #cbbdb3; }
table.sheet .strong { font-weight: 800; }
table.sheet small.block { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.nowrap { white-space: nowrap; }

/* admin lineup */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.lineup.busy { cursor: progress; }
.lane { padding: 16px; }
.lane-list { list-style: none; margin: 0 0 10px; padding: 0; }
.lane-list li { display: grid; grid-template-columns: 16px 1fr auto; grid-template-areas: "grip name tools" "grip seg seg"; gap: 4px 8px; align-items: center; padding: 8px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 6px; background: #fff; }
.lane-list li.empty { display: block; border-style: dashed; }
.lane-list li.dragging { opacity: .4; }
.lane-list li.sold_out { background: #fdf6e6; }
.lane-list li.pints_only { background: #fff4e8; }
.lane-list li.scoops_only { background: #f1fbef; }
.grip { grid-area: grip; cursor: grab; color: var(--muted); font-size: .8rem; letter-spacing: -2px; }
.lane-name { grid-area: name; font-size: .95rem; }
.lane-name small { color: var(--muted); }
.lane-tools { grid-area: tools; display: flex; gap: 2px; }
.lane-tools button { border: 0; background: transparent; cursor: pointer; width: 26px; height: 26px; border-radius: 6px; color: var(--muted); }
.lane-tools button:hover:not(:disabled) { background: var(--cream); color: var(--ink); }
.lane-tools button:disabled { opacity: .25; cursor: default; }
.status-seg { grid-area: seg; display: flex; gap: 3px; }
.status-seg button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font: 700 .7rem 'Nunito'; padding: 4px 2px; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.status-seg button[aria-pressed=true].available { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.status-seg button[aria-pressed=true].sold_out { background: #f1d9a6; border-color: #d9b86f; color: #5b3e08; }
.status-seg button[aria-pressed=true].pints_only { background: #f7b267; border-color: #e0913c; color: #4a2604; }
.status-seg button[aria-pressed=true].scoops_only { background: #b6e3b0; border-color: #86c67e; color: #1d4d17; }
.adder input { border-style: dashed; }
.toggles { display: flex; gap: 18px; flex-wrap: wrap; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 100px); opacity: 0; pointer-events: none; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: transform .25s; z-index: 50; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.bad { background: var(--bad); }

/* admin misc */
.store-overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.mini-stats b { color: var(--ink); font-size: 1.05rem; }
.mini-stats .warn b { color: var(--bad); }
.row-links { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 700; }
.inline-edit { display: grid; grid-template-columns: minmax(150px, 1.3fr) 110px 50px 140px minmax(150px, 2fr) auto; gap: 6px; align-items: center; }
.inline-edit label.check { margin: 0; }
.menu-edit { display: grid; grid-template-columns: 1.5fr 80px 230px 140px 60px 2fr auto auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.menu-edit textarea { resize: vertical; }
.screens-card .screen-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.screen-link { background: var(--cream); padding: 12px; border-radius: 12px; color: var(--ink); }
.screen-link:hover { text-decoration: none; background: var(--cream-2); }
.screen-link b { display: block; font-family: var(--display); font-size: 1.1rem; }
.screen-link a { display: block; margin-top: 8px; font-weight: 700; }
.screen-link code { display: block; font-size: .68rem; }
.screen-preview { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: #1b1b1b; }
.narrow-card { max-width: 460px; }

/* responsive */
@media (max-width: 1100px) {
  .lineup, .store-overview { grid-template-columns: 1fr 1fr; }
  .inline-edit { grid-template-columns: 1fr 1fr 50px 1fr; }
  .inline-edit input[name=description] { grid-column: 1 / -2; }
  .menu-edit { grid-template-columns: 1fr 80px 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-inner, .split, .grid-2, .loc-cards, .foot { grid-template-columns: 1fr; }
  .store-tabs { grid-template-columns: 1fr 1fr; }
  .site-nav { gap: 14px; font-size: .92rem; }
  .week-cols { grid-template-columns: 1fr; }
  .day { min-height: 0; display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
  .lineup, .store-overview { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; background: var(--cream); }
  .side { position: sticky; height: auto; z-index: 20; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .side .brand { padding: 0; }
  .navtoggle-btn { display: block; font-size: 1.6rem; color: #fff; cursor: pointer; padding: 0 6px; }
  .side-nav { display: none; flex-basis: 100%; padding-top: 10px; }
  .navtoggle:checked ~ .side-nav { display: block; }
  .avail-row { grid-template-columns: 1fr; gap: 6px; }
  .screens-card .screen-links { grid-template-columns: 1fr; }
  .screen-preview { aspect-ratio: 9 / 8; }
  .menu-edit { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .brand b { font-size: 1.4rem; }
  .float-scoops { grid-template-columns: repeat(3, 1fr); }
  .float:nth-child(n+7) { display: none; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fcard { flex-direction: column; gap: 4px; padding: 10px; }
  .fcard .scoop { width: 30px; height: 30px; }
  .inline-edit { grid-template-columns: 1fr 1fr; }
  .board li { grid-template-columns: 30px 1fr 44px; }
  .board .bar { display: none; }
  .req-actions { flex-wrap: wrap; }
  .req-actions input { width: 100%; }
}

.icon-pick { display: flex; align-items: center; gap: 6px; }
.icon-pick select { flex: 1; min-width: 0; }
.icon-preview { flex: none; width: 34px; height: 34px; border-radius: 8px; background: #231c1b; display: grid; place-items: center; }
.icon-preview svg, .icon-preview img { width: 28px; height: 28px; object-fit: contain; }

/* public site: same sections and wording as parlouricecream.ca */
.top-bar { background: var(--ink); color: #eadfd8; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-align: center; padding: 6px 0; }
.site-nav { gap: 18px; font-size: .9rem; letter-spacing: .04em; }
.sitenav-btn { display: none; font-size: 1.6rem; cursor: pointer; padding: 0 6px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.home-card { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); }
.home-card h2 { font-size: 1.8rem; margin-bottom: .4em; }
a.home-card:hover { text-decoration: none; transform: translateY(-2px); }
.home-go { margin-top: auto; font-weight: 800; color: var(--cyan-d); }
.follow h2 { font-family: 'Pacifico', cursive; font-weight: 400; color: var(--cyan-d); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { display: inline-block; padding: .4em .9em; border-radius: 999px; background: var(--cream-2); color: var(--ink); font-weight: 800; font-size: .85rem; }
.social a:hover { background: var(--cyan); text-decoration: none; }
.page-head h2 { font-size: 1.5rem; color: var(--ink-2); }
.order-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.order-btn { font-size: 1.05rem; padding: .8em 1.4em; }
.prices { margin-top: 36px; text-align: center; }
.price-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin-bottom: 14px; }
.price-block h2 { font-size: 1.2rem; letter-spacing: .12em; color: var(--cyan-d); }
.price-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 1.1rem; }
.price-block p { margin: .6em 0 0; }
.tag.gf { background: #fbeee0; color: #6b4b10; }
.fdesc { margin: 4px 0 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; margin-top: 20px; }
.contact-grid h3 { margin: 0 0 .3em; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-grid.visit { margin-top: 40px; }
.contact-grid.visit h2 { font-size: 1.8rem; }
.contact-grid.visit h3 { margin-top: 1em; }
.contact-form .form-row > label { flex: 1 1 160px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.about { font-size: 1.08rem; }
.foot { grid-template-columns: repeat(5, 1fr); }
.foot p { margin: 0; }
.foot p a { display: inline; }
.foot-base { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.foot-base .foot-logo { width: 80px; margin: 0; }
.foot-base .social a { background: rgba(255,255,255,.1); color: #fff; }
.foot-base p { margin: 0; }
.staff-link { margin-left: auto; color: #bfb1aa !important; }
.message.unread { border-left: 4px solid var(--cyan); }
.message-body { white-space: pre-wrap; }
@media (max-width: 860px) {
  .home-grid, .contact-grid { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .sitenav-btn { display: block; }
  .bar { flex-wrap: wrap; height: auto; min-height: 72px; }
  .site-header .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 10px; padding: 6px 0 14px; }
  .site-header .site-nav a:not(.btn) { display: block !important; }
  .navtoggle:checked ~ .site-nav { display: flex; }
}
.store-tabs { grid-template-columns: repeat(3, 1fr); }
.fmeta { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 520px) { .store-tabs { grid-template-columns: 1fr; } }

/* ---- schedule (7shifts-style week grid) ---- */
.loc-downtown { --loc: #1aa5b8; --loc-bg: #e2f6f9; }
.loc-gyro-beach { --loc: #e07a3f; --loc-bg: #fdeee4; }
.loc-calgary { --loc: #7a5cd6; --loc-bg: #efe9fb; }
.sched-legend { display: flex; gap: 14px; flex-wrap: wrap; margin: 6px 0 12px; font-size: .82rem; font-weight: 700; }
.loc-key { display: inline-flex; align-items: center; gap: 6px; }
.loc-key::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: var(--loc-bg); border-left: 4px solid var(--loc); }
.sched-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }
.sched-toolbar .tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sched-toolbar button[disabled] { opacity: .5; cursor: default; }
.sched-status { margin: 0 0 4px; }
.week-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.week-bar strong { font-family: var(--display); font-size: 1.1rem; }
.sched { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 980px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); table-layout: fixed; }
.sched th, .sched td { border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 6px; vertical-align: top; text-align: left; }
.sched th:last-child, .sched td:last-child { border-right: 0; }
.sched thead th { background: var(--cream); font-weight: 600; }
.sched thead th:first-child { border-top-left-radius: var(--radius); }
.sched thead th:last-child { border-top-right-radius: var(--radius); }
.sched thead .dow { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.sched thead b { display: block; font: 600 1rem var(--display); }
.sched thead small { display: block; color: var(--muted); font-size: .72rem; }
.sched .who { width: 190px; position: sticky; left: 0; background: #fff; z-index: 1; }
.sched thead .who { background: var(--cream); vertical-align: bottom; font-size: .78rem; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.sched tbody .who { display: flex; gap: 8px; align-items: center; }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.who-text b { display: block; font-size: .9rem; line-height: 1.2; }
.who-text small { color: var(--muted); font-weight: 700; font-size: .75rem; }
.sched tr.me .who { background: #f2fcfd; }
.sched tr.me .avatar { background: var(--cyan-d); }
.sched td { height: 64px; }
.sched .today { background: #f7fdfe; }
.sched thead .today { background: #dff6fa; }
.sched tfoot td, .sched tfoot th { background: var(--cream); font-weight: 800; font-size: .82rem; border-bottom: 0; }
.sched tfoot th:first-child { border-bottom-left-radius: var(--radius); }
.sched.editable td { position: relative; padding-bottom: 34px; }
.sblock { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--loc-bg, #f3f3f3); border: 0; border-left: 4px solid var(--loc, #999); border-radius: 8px; padding: 5px 7px; margin-bottom: 4px; font-size: .78rem; line-height: 1.3; }
button.sblock { cursor: pointer; }
button.sblock:hover { filter: brightness(.96); }
.sblock.draft { background: repeating-linear-gradient(135deg, var(--loc-bg), var(--loc-bg) 6px, #fff 6px, #fff 12px); outline: 1.5px dashed var(--loc); outline-offset: -1.5px; }
.sb-time { display: block; font-weight: 800; font-size: .82rem; }
.sb-meta, .sb-name, .sb-note { display: block; }
.sb-store { color: var(--loc); }
.sb-note { font-style: italic; color: var(--ink-2); }
.sb-draft { display: inline-block; margin-top: 2px; font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
#shift-dialog:not(.editing) .edit-only, #shift-dialog.editing .add-only { display: none; }
#shift-dialog .dialog-actions .edit-only { margin-right: auto; }
.my-week { display: grid; gap: 8px; max-width: 640px; }
.my-day { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); }
.my-day.today { box-shadow: 0 0 0 3px var(--cyan); }
.my-day.off { background: transparent; box-shadow: none; border: 1.5px dashed var(--line); }
.my-date span { display: block; font-size: .75rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.my-date b { font: 600 1.6rem var(--display); }
.my-shifts .sblock { margin: 0 0 4px; font-size: .88rem; }
.my-shifts .sb-time { font-size: 1rem; }

/* time off on the schedule */
.off-badge { display: block; font-size: .72rem; font-weight: 800; border-radius: 6px; padding: 3px 6px; margin-bottom: 4px; }
.off-badge small { display: block; font-weight: 600; opacity: .8; }
.off-badge.approved { background: #e9e4e1; color: var(--ink-2); }
.off-badge.pending { background: #fff1d6; color: #8a5a06; border: 1px dashed #e0a800; }
.sched td.day-off { background: repeating-linear-gradient(135deg, #f4f1ef, #f4f1ef 6px, #fbfaf9 6px, #fbfaf9 12px); }
.my-day.day-off { background: repeating-linear-gradient(135deg, #f4f1ef, #f4f1ef 6px, #fbfaf9 6px, #fbfaf9 12px); border: 0; }
.my-shifts .off-badge { font-size: .85rem; }
/* shift dialog + season switch */
.shift-kind { margin: 4px 0 12px; }
#shift-dialog:not(.custom) .custom-times label:not(:last-child) { display: none; }
.season-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin: 6px 0 10px; }
.season-bar span { display: block; }
.pos-pick summary { cursor: pointer; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.pos-pick[open] { background: #fff; border-radius: 10px; padding: 8px; box-shadow: var(--shadow); }
.pos-list label { margin: 2px 0; font-size: .85rem; }
.pos-new { display: flex; flex-direction: column; margin-bottom: .8em; }
.label-like { font-weight: 700; font-size: .875rem; color: var(--ink-2); }

/* ---- schedule day board: one column per day, only who's working ---- */
.dayboard-wrap { overflow-x: auto; padding-bottom: 6px; }
.dayboard { display: grid; grid-template-columns: repeat(7, minmax(150px, 1fr)); gap: 8px; min-width: 1060px; align-items: start; }
.dcol { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 8px; }
.dcol.today { box-shadow: 0 0 0 3px var(--cyan); }
.dcol header { padding: 2px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dcol header .dow { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--muted); }
.dcol header b { display: block; font: 600 1.05rem var(--display); }
.dcol header small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.dstore { margin-bottom: 8px; }
.dstore h4 { margin: 4px 2px 4px; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--loc); display: flex; align-items: center; gap: 6px; }
.dstore h4::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--loc); }
.srow { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--loc-bg, #f3f3f3); border: 0; border-left: 4px solid var(--loc, #999); border-radius: 8px; padding: 5px 7px; margin-bottom: 4px; font-size: .78rem; line-height: 1.3; }
button.srow { cursor: pointer; }
button.srow:hover { filter: brightness(.96); }
.srow.draft { background: repeating-linear-gradient(135deg, var(--loc-bg), var(--loc-bg) 6px, #fff 6px, #fff 12px); }
.srow.mine { box-shadow: 0 0 0 2px var(--ink); }
.sr-name { display: block; font-weight: 800; font-size: .84rem; }
.sr-time { display: block; font-weight: 700; }
.sr-meta { display: block; color: var(--ink-2); font-size: .72rem; }
.sr-store { color: var(--loc); }
.nobody { color: var(--muted); font-size: .75rem; font-style: italic; margin: 2px 4px 6px; }
.dcol .add-shift { position: static; display: block; width: 100%; padding: 3px; font-size: .75rem; }
.doff { border-top: 1px dashed var(--line); padding-top: 6px; margin-top: 4px; }
.doff h4 { margin: 0 2px 4px; font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.doff .off-badge small { display: none; }
.picker-note { background: #fff1d6; color: #8a5a06; border-radius: 8px; padding: 6px 10px; margin: -4px 0 10px; font-weight: 700; }
.my-shifts .srow { margin: 0 0 4px; font-size: .88rem; }
.my-shifts .sr-time { font-size: 1rem; }
@media (max-width: 860px) {
  .dayboard { grid-template-columns: 1fr; min-width: 0; }
}

/* Phone menus open as a full-height panel and freeze the page behind them,
   instead of floating over a page that still scrolls. */
@media (max-width: 860px) {
  body:has(.navtoggle:checked) { overflow: hidden; }
  .site-header .navtoggle:checked ~ .site-nav {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 100px); bottom: 0; z-index: 50;
    background: var(--cream); padding: 16px 20px 32px; overflow-y: auto; overscroll-behavior: contain;
    font-size: 1.1rem; gap: 16px; box-shadow: 0 12px 24px rgba(43,29,26,.12);
  }
  .side .navtoggle:checked ~ .side-nav {
    position: fixed; left: 0; right: 0; top: var(--menu-top, 64px); bottom: 0; z-index: 50;
    background: var(--ink); padding: 12px 14px 32px; overflow-y: auto; overscroll-behavior: contain;
  }
}
.fphoto { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #fff; }
.float-photo { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; display: block; margin: 0 auto; }
@media (max-width: 520px) { .fphoto { width: 48px; height: 48px; } }

/* ---- clock-in terminal ---- */
.terminal-body { min-height: 100vh; background: radial-gradient(circle at 20% 0%, #dff6fa, var(--cream) 60%); }
.term-center { width: min(440px, 100% - 32px); margin: 0 auto; padding: 40px 0; text-align: center; }
.term-logo { width: 140px; height: auto; }
.term-store { font: 600 1.8rem var(--display); margin: 0; }
.term-clock { color: var(--muted); font-weight: 700; }
.pinpad { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 24px; margin-top: 16px; }
.pinpad h1 { font-size: 1.4rem; margin-bottom: 12px; }
.pinpad input[type=password] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pin-dots { display: flex; justify-content: center; gap: 14px; margin: 8px 0 20px; }
.pin-dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); }
.pin-dots i.on { background: var(--ink); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keys button { font: 600 1.6rem var(--display); padding: 18px 0; border-radius: 16px; border: 0; background: var(--cream-2); color: var(--ink); cursor: pointer; }
.keys button:active { background: var(--cyan); }
.keys button[data-key=clear], .keys button[data-key=back] { font-size: 1rem; }
.term-me .term-big { font: 600 1.5rem var(--display); margin: .2em 0; }
.term-punch { text-align: center; }
.term-punch.is-in { background: #e3f5e7; }
.term-status { font-size: 1.1rem; }
.term-btn { font-size: 1.4rem; padding: .8em 2.4em; }
.term-btn.out { background: var(--bad); }
.term-links { display: flex; gap: 10px; flex-wrap: wrap; }
.pin-in { width: 7em; letter-spacing: .2em; }
.list .num.under { color: var(--bad); }
.list .num.over { color: var(--warn); }
.punches input[type=time] { width: 8.5em; }
tr.still-in { background: #fff8e6; }
/* The header's blur makes it the box that "fixed" children are placed in, which squeezed
   the open phone menu into a strip inside the header. Drop the blur while the menu is open
   so the panel fills the screen below the header. */
@media (max-width: 860px) {
  .site-header:has(.navtoggle:checked) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
}
