:root {
  --navy: #16213e;
  --navy-2: #2b3d63;
  --coral: #ff0a6c;
  --coral-dark: #d90058;
  --sun: #fff200;
  --mint: #2bb673;
  --cream: #fffaf2;
  --card: #ffffff;
  --line: #e9e3d8;
  --muted: #6b7280;
  --ink: #1f2937;
  --amber: #f59e0b;
  --red: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(22,33,62,.06), 0 6px 18px rgba(22,33,62,.07);
  /* Design system: spacing scale, radii and shadows. Use these (with flex/grid + gap) instead of one-off values. */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px; --s-8: 48px;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22,33,62,.08), 0 1px 4px rgba(22,33,62,.06);
  --shadow-lg: 0 10px 30px rgba(22,33,62,.12), 0 2px 6px rgba(22,33,62,.06);
  --shadow-xl: 0 24px 60px rgba(22,33,62,.28);
  --ring: 0 0 0 3px rgba(255,10,108,.2);
  --ring-navy: 0 0 0 3px rgba(22,33,62,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--cream); line-height: 1.5; font-size: 16px;
}
a { color: var(--navy); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 800; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--s-5); }

/* Demo banner */
.demo-bar { background: var(--navy); color: #fff; font-size: .85rem; padding: var(--s-2) 0; }
.demo-bar .wrap { display: flex; gap: var(--s-3); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.demo-bar a { color: var(--sun); font-weight: 700; text-decoration: none; }
.demo-bar button { background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: var(--r-sm); padding: 3px 10px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); height: 84px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; color: var(--navy); font-size: 1.15rem; }
.logo-img { height: 66px; width: auto; display: block; }
.side .logo-img { height: 56px; }
.logo-mark { width: 38px; height: 38px; border-radius: var(--r-md); background: var(--coral); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: .85rem; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: var(--s-2) 10px; border-radius: var(--r-md); font-weight: 800; color: var(--navy); font-size: .9rem; white-space: nowrap; }
.nav a:hover, .nav a.active { background: #ffe8f1; color: var(--coral-dark); }
.basket-btn { background: var(--navy); color: #fff !important; text-decoration: none; padding: 9px 14px; border-radius: var(--r-md); font-weight: 800; font-size: .9rem; white-space: nowrap; }
.basket-btn:hover { background: var(--navy-2) !important; color: #fff !important; }
.count { background: var(--sun); color: var(--navy); border-radius: var(--r-pill); padding: 0 7px; font-size: .8rem; margin-left: var(--s-1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); border: 0; border-radius: var(--r-md); padding: var(--s-3) 18px; font-weight: 800; text-decoration: none; transition: transform .05s, background .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-primary:disabled { background: #f7a3c4; cursor: not-allowed; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ok { background: var(--mint); color: #fff; }
.btn-danger { background: #fff; color: var(--red); border: 1.5px solid #f5c2c2; }
.btn-sm { padding: 7px var(--s-3); font-size: .875rem; border-radius: var(--r-md); }

/* Hero */
.hero { background: linear-gradient(135deg, #e6fbff 0%, #ffe8f1 50%, #f6ffd9 100%); padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: #4b5563; max-width: 34rem; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 var(--s-6); }
.badge { background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px var(--s-3); font-size: .85rem; font-weight: 700; color: var(--navy); }
.finder { background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
.finder h3 { margin-bottom: 14px; }
.hero-art { width: 100%; max-width: 420px; justify-self: center; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 800; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px var(--s-3); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: var(--ring-navy); }
.hint { font-size: .82rem; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--s-3); }
.seg { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.seg button { flex: 1; min-width: 120px; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 10px var(--s-3); font-weight: 800; color: var(--navy); text-align: left; }
.seg button small { display: block; font-weight: 600; color: var(--muted); }
.seg button.on { border-color: var(--coral); background: #fff0f6; box-shadow: var(--ring); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px var(--s-3); border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: var(--s-2); cursor: pointer; }
.check input { margin-top: var(--s-1); width: 18px; height: 18px; accent-color: var(--coral); }

/* Sections & cards */
section.block { padding: var(--s-8) 0; }
.grid { display: grid; gap: 18px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 18px; }
.cat-card { text-decoration: none; color: inherit; padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .1s; }
.cat-card:hover { transform: translateY(-2px); border-color: #f2c9c2; }
.cat-icon { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--s-1); }
.item-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .1s; }
.item-card:hover { transform: translateY(-2px); }
.thumb { aspect-ratio: 4/3; display: grid; place-items: center; position: relative; }
.thumb svg { width: 62%; height: auto; }
.thumb .tag { position: absolute; top: 10px; left: 10px; }
.item-card .body { padding: 14px var(--s-4) var(--s-4); display: flex; flex-direction: column; gap: var(--s-1); flex: 1; }
.price { font-weight: 900; color: var(--navy); font-size: 1.15rem; }
.price small { font-weight: 700; color: var(--muted); font-size: .8rem; }
.tag { display: inline-block; padding: 3px 9px; border-radius: var(--r-pill); font-size: .75rem; font-weight: 800; }
.tag-in { background: #e0f2fe; color: #075985; }
.tag-out { background: #dcfce7; color: #166534; }
.tag-both { background: #f3e8ff; color: #6b21a8; }
.tag-pend { background: #fef3c7; color: #92400e; }
.tag-ok { background: #dcfce7; color: #166534; }
.tag-no { background: #fee2e2; color: #991b1b; }
.tag-grey { background: #f1f5f9; color: #334155; }

/* Steps / how it works */
.steps { counter-reset: s; }
.step { padding: 18px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #00d4ff; color: var(--navy); font-weight: 900; margin-bottom: 10px; }

/* Item page */
.crumbs { font-size: .875rem; color: var(--muted); margin: 18px 0; }
.crumbs a { color: var(--muted); }
.item-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; padding-bottom: var(--s-8); }
.gallery .main { border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; }
.gallery .main svg { width: 55%; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery .thumbs div { border-radius: var(--r-md); aspect-ratio: 1; opacity: .7; }
.specs { width: 100%; border-collapse: collapse; margin-top: var(--s-2); }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs td:first-child { color: var(--muted); width: 45%; }
.book-box { position: sticky; top: 104px; }

/* Calendar */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head button { border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); width: 36px; height: 36px; font-weight: 900; color: var(--navy); }
.cal-head button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-1); }
.cal-dow { text-align: center; font-size: .75rem; font-weight: 800; color: var(--muted); padding: var(--s-1) 0; }
.day { aspect-ratio: 1; border-radius: var(--r-md); border: 1.5px solid transparent; background: #f0fdf4; color: #14532d; font-weight: 800; font-size: .9rem; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.day small { font-size: .62rem; font-weight: 800; line-height: 1; margin-top: 2px; }
.day.low { background: #fffbeb; color: #92400e; }
.day.full { background: #fef2f2; color: #b91c1c; text-decoration: line-through; cursor: not-allowed; }
.day.off { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; }
.day.empty { background: transparent; cursor: default; }
.day.sel { border-color: var(--coral); box-shadow: var(--ring); }
.day.span { border-color: #fdba74; }
.day:not(.full):not(.off):not(.empty) { cursor: pointer; }
.day:not(.full):not(.off):not(.empty):hover { border-color: var(--navy); }
.legend { display: flex; gap: var(--s-3); flex-wrap: wrap; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legend .l-ok::before { background: #bbf7d0; } .legend .l-low::before { background: #fde68a; }
.legend .l-full::before { background: #fecaca; } .legend .l-off::before { background: #e5e7eb; }

/* Basket & checkout */
.checkout { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--s-6); align-items: start; padding: var(--s-6) 0 56px; }
.panel { margin-bottom: var(--s-4); }
.panel-h { display: flex; align-items: center; gap: 10px; padding: var(--s-4) 18px; border-bottom: 1px solid var(--line); }
.panel-h .n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.panel-h h3 { margin: 0; }
.panel-b { padding: 18px; }
.line { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--s-3); align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; }
.sw { width: 48px; height: 48px; border-radius: var(--r-md); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.qty button { border: 0; background: #fff; width: 30px; height: 30px; font-weight: 900; color: var(--navy); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.summary { position: sticky; top: 104px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.sum-row.total { border-top: 2px solid var(--navy); margin-top: var(--s-2); padding-top: var(--s-3); font-weight: 900; font-size: 1.15rem; color: var(--navy); }
.sum-row.green { color: var(--mint); font-weight: 800; }
.progress { background: #cfd4dc; border-radius: var(--r-pill); height: 14px; overflow: hidden; margin: 10px 0 var(--s-1); box-shadow: inset 0 1px 2px rgba(0,0,0,.12); }
.progress > div { height: 100%; background: linear-gradient(90deg, #00d4ff, #7ee8a8, #c8ff3c, var(--coral)); border-radius: var(--r-pill); transition: width .3s; min-width: 14px; }
.progress-labels { display: flex; justify-content: space-between; font-size: .8rem; margin-bottom: var(--s-1); }
.progress-labels span:last-child { color: #4b5563; }
.notice { border-radius: var(--r-md); padding: var(--s-3) 14px; font-size: .92rem; margin: 10px 0; }
.notice-info { background: #eff6ff; color: #1e3a8a; border: 1px solid #bfdbfe; }
.notice-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.notice-bad { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.notice-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* Modal */
.modal-bg { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: grid; place-items: center; z-index: 100; padding: var(--s-5); }
.modal { background: #fff; border-radius: var(--r-lg); max-width: 440px; width: 100%; padding: var(--s-6); box-shadow: var(--shadow-xl); }
.pay-card { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-3); color: var(--muted); font-family: ui-monospace, monospace; margin-bottom: 10px; background: #fafafa; }

/* Footer */
footer.site { background: var(--navy); color: #cbd5e1; padding: 40px 0; margin-top: var(--s-5); font-size: .92rem; }
footer.site h4 { color: #fff; }
footer.site a { color: #cbd5e1; text-decoration: none; }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 230px 1fr; min-height: calc(100vh - 37px); background: #f6f7fb; }
.side { background: var(--navy); color: #cbd5e1; padding: 18px var(--s-3); }
.side .logo { color: #fff; margin: var(--s-1) var(--s-2) 22px; }
.side a { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #cbd5e1; text-decoration: none; padding: 9px var(--s-3); border-radius: var(--r-md); font-weight: 700; font-size: .95rem; margin-bottom: 2px; }
.side a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.active { background: var(--coral); color: #fff; }
.side .sep { border-top: 1px solid rgba(255,255,255,.1); margin: 14px var(--s-2); }
.side .pill { background: var(--sun); color: var(--navy); border-radius: var(--r-pill); padding: 0 var(--s-2); font-size: .75rem; font-weight: 900; }
.main-a { padding: 26px 30px 60px; overflow-x: auto; }
.a-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); flex-wrap: wrap; }
.a-top h1 { font-size: 1.6rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: var(--s-5); }
.stat { padding: var(--s-4) 18px; }
.stat .v { font-size: 1.7rem; font-weight: 900; color: var(--navy); }
.stat .k { font-size: .85rem; color: var(--muted); font-weight: 700; }
table.t { width: 100%; border-collapse: collapse; background: #fff; }
table.t th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 10px var(--s-3); border-bottom: 1px solid var(--line); background: #fbfbfd; }
table.t td { padding: 11px var(--s-3); border-bottom: 1px solid #f0f0f4; font-size: .93rem; vertical-align: middle; }
table.t tr:hover td { background: #fcfcff; }
table.t input { width: 80px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 5px var(--s-2); }
.tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: 6px 14px; font-weight: 800; color: var(--navy); font-size: .88rem; }
.tabs button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.run { display: grid; grid-template-columns: 70px 1fr; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid #f0f0f4; }
.run .time { font-weight: 900; color: var(--navy); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: var(--s-2) 14px; font-size: .95rem; }
.kv div:nth-child(odd) { color: var(--muted); font-weight: 700; }
.acal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.acal .d { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); min-height: 92px; padding: 6px; font-size: .78rem; }
.acal .d.blocked { background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 6px, #eef2f7 6px, #eef2f7 12px); }
.acal .d .num { font-weight: 900; color: var(--navy); margin-bottom: var(--s-1); display: flex; justify-content: space-between; }
.acal .chip { display: block; border-radius: var(--r-sm); padding: 2px 6px; margin-bottom: 3px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.chip.c-ok { background: #dcfce7; color: #166534; }
.chip.c-pend { background: #fef3c7; color: #92400e; }
.login { max-width: 380px; margin: 80px auto; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: var(--s-3) 18px; border-radius: var(--r-md); font-weight: 700; z-index: 200; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .hero .wrap, .item-layout, .checkout { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .admin { grid-template-columns: 1fr; }
  .side { display: flex; flex-wrap: wrap; gap: var(--s-1); }
  .side .logo, .side .sep { display: none; }
  .book-box, .summary { position: static; }
  .nav a:not(.basket-btn):not(.keep) { display: none; }
}
@media (max-width: 560px) {
  .g4, .g3, .g2, .row, .row3 { grid-template-columns: 1fr; }
}

/* Shop layout: categories down the left */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 22px; }
.shop-main { min-width: 0; }
.cats { min-width: 0; }
.cats-h { font-weight: 900; color: #fff; background: var(--coral); border-radius: var(--r-md) var(--r-md) 0 0; padding: 11px 14px; font-size: 1rem; }
.cats nav { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-md) var(--r-md); padding: 6px; }
.cats nav > a { display: flex; align-items: center; gap: 10px; padding: var(--s-2) var(--s-2); border-radius: var(--r-md); text-decoration: none; color: var(--navy); font-weight: 800; font-size: .92rem; }
.cats nav > a:hover { background: #fff0f6; }
.cats nav > a.on { background: #ffe0ee; color: var(--coral-dark); }
.cats .ci { width: 30px; height: 30px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 1rem; flex: none; }
.cats .subs { margin: 2px 0 6px var(--s-8); border-left: 2px solid #ffd0e3; }
.cats .subs a { display: block; padding: 5px 10px; text-decoration: none; color: #4b5563; font-size: .86rem; font-weight: 700; }
.cats .subs a:hover, .cats .subs a.on { color: var(--coral-dark); }
.help { margin-top: 14px; padding: 14px; }
.help-phone { font-weight: 900; color: var(--coral-dark); font-size: 1.1rem; margin-top: var(--s-1); }
.hero-card { border-radius: var(--r-lg); padding: 28px; margin-bottom: var(--s-2); }
.hero-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: var(--s-5); align-items: center; }
.hero-card .finder { margin-top: 6px; }
.hero-card h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.block-s { padding: 26px 0 6px; }
.subchips { display: flex; gap: var(--s-2); flex-wrap: wrap; margin: var(--s-1) 0 6px; }
.subchips a { text-decoration: none; }
.subchips a:hover { border-color: var(--coral); color: var(--coral-dark); }
.shop .item-layout { grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 1100px) { .nav a { padding: var(--s-2) 7px; font-size: .84rem; } }
@media (max-width: 900px) {
  .shop { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding-top: var(--s-3); }
  .hero-card { padding: 18px; }
  .cats { position: static; }
  .cats-h { display: none; }
  .cats nav { display: flex; overflow-x: auto; gap: 6px; border-radius: var(--r-md); border-top: 1px solid var(--line); }
  .cats nav > a { flex: none; }
  .cats .subs, .help { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .shop .item-layout { grid-template-columns: 1fr; }
  .site-header .wrap { height: auto; padding-top: var(--s-2); padding-bottom: var(--s-2); flex-wrap: wrap; }
  .nav { width: 100%; overflow-x: auto; margin-left: 0; order: 3; }
  .basket-btn { margin-left: auto; }
  .nav a:not(.basket-btn):not(.keep) { display: inline-block; }
}

.ticks { list-style: none; padding: 0; margin: 10px 0 0; }
.ticks li { padding: 5px 0 5px 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 900; font-size: .75rem; display: grid; place-items: center; }
.stars { color: #f59e0b; letter-spacing: 1px; }
.stars-line { margin-top: 10px; font-weight: 800; color: var(--navy); font-size: .95rem; }
.gallery .main { position: relative; }
.photo-note { position: absolute; bottom: 10px; right: 10px; background: rgba(255,255,255,.85); border-radius: var(--r-sm); padding: 3px var(--s-2); font-size: .75rem; font-weight: 800; color: var(--muted); }
.trust { background: linear-gradient(135deg, #f0fdf4, #fff); }

.review { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.review:last-child { border-bottom: 0; }
.review-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review p { margin: 6px 0 var(--s-2); }
.rtags { display: flex; gap: 6px; flex-wrap: wrap; }
.rtag { font-size: .75rem; font-weight: 800; padding: 3px 9px; border-radius: var(--r-pill); background: #e0f7ff; color: #075985; text-decoration: none; }
.rtag-v { background: #dcfce7; color: #166534; }
a.rtag:hover { filter: brightness(.95); }
.tagpick { max-height: 280px; overflow: auto; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 6px 10px; }
.tagpick label { display: block; padding: var(--s-1) 0; font-size: .9rem; cursor: pointer; }
.tagpick-h { font-weight: 900; color: var(--navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-top: var(--s-2); }

.acct-link { text-decoration: none; font-weight: 800; font-size: .9rem; color: var(--navy); padding: 9px var(--s-3); border-radius: var(--r-md); border: 1.5px solid var(--line); white-space: nowrap; margin-right: 6px; }
.acct-link:hover { border-color: var(--coral); color: var(--coral-dark); }
.acct-box { background: #f8fafc; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px; margin-bottom: 14px; }
.pts-pill { display: inline-block; background: #fff7cc; color: #854d0e; border: 1px solid #fde68a; border-radius: var(--r-pill); padding: var(--s-1) var(--s-3); font-weight: 900; font-size: .9rem; margin-top: var(--s-2); }
.rewards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.reward { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r-md); padding: 10px var(--s-3); color: var(--navy); display: flex; flex-direction: column; gap: var(--s-1); align-items: flex-start; }
.reward small { color: var(--muted); font-weight: 600; }
.reward.on { border-color: var(--mint); background: #f0fdf4; }
.reward:disabled { opacity: .6; cursor: not-allowed; }
.earn { background: #fffbea; border: 1px solid #fde68a; color: #854d0e; border-radius: var(--r-md); padding: var(--s-2) 10px; font-size: .88rem; margin: 10px 0 var(--s-1); }
.acct-bk { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.acct-actions { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.pts-hero { display: flex; gap: var(--s-6); align-items: center; flex-wrap: wrap; background: linear-gradient(135deg, #fff7cc, #ffe8f1); border-radius: var(--radius); padding: 18px; }
.pts-big { font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1.1; }
.refcode { display: flex; gap: var(--s-3); align-items: center; background: #f8fafc; border: 2px dashed #f9a8d4; border-radius: var(--r-md); padding: 14px; max-width: 420px; }
.refcode span { font-family: ui-monospace, monospace; font-weight: 900; font-size: 1.3rem; color: var(--coral-dark); flex: 1; }
@media (max-width: 900px) { .acct-link { margin-left: auto; } .basket-btn { margin-left: 0; } .rewards { grid-template-columns: 1fr; } .acct-bk { grid-template-columns: 40px 1fr; } .acct-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; } }

.code-box { margin: var(--s-2) 0; padding: 10px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.code-row { display: flex; gap: var(--s-2); margin-top: var(--s-1); }
.code-row input { flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-2) 10px; text-transform: uppercase; min-width: 0; }
.code-on { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; color: var(--coral-dark); font-weight: 800; padding: 0; text-decoration: underline; font-size: .85rem; margin-left: auto; }
.date-filter { display: flex; gap: var(--s-3); align-items: end; flex-wrap: wrap; }
.range-sum { margin: 0 0 10px; font-size: .95rem; color: var(--navy); }
tr.date-row td { background: #fff0f6 !important; font-weight: 900; color: var(--coral-dark); font-size: .85rem; padding: 7px var(--s-3); }

/* Statistics */
.admin { --series-1: #2a78d6; --series-2: #eb6834; --series-3: #1baf7a; --series-4: #eda100; }
.stat .delta { display: block; font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: var(--s-1); }
.stat .delta.up { color: #166534; } .stat .delta.down { color: #b91c1c; }
.stat-card .sc-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.vchart { width: 100%; height: auto; display: block; }
.vchart .grid { stroke: #eceef2; stroke-width: 1; }
.vchart .base { stroke: #c9ced6; stroke-width: 1; }
.vchart .axis { fill: #6b7280; font-size: 11px; font-family: inherit; }
.vchart .mark { fill: var(--series-1); }
.vchart .bar:hover .mark, .vchart .bar:focus .mark { fill: #5598e7; }
.vchart .bar:focus { outline: none; }
.hbars { display: flex; flex-direction: column; gap: var(--s-2); }
.hb-row { display: grid; grid-template-columns: minmax(120px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.hb-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.hb-track { height: 12px; }
.hb-bar { height: 100%; background: var(--series-1); border-radius: 0 4px 4px 0; min-width: 2px; }
.hb-row:hover .hb-bar, .hb-row:focus .hb-bar { background: #5598e7; }
.hb-row:focus { outline: 2px solid #bfdbfe; border-radius: var(--r-sm); }
.hb-val { font-weight: 800; color: var(--navy); white-space: nowrap; }
.mix { margin-top: 14px; }
.mix-h { font-weight: 800; color: var(--navy); font-size: .9rem; margin-bottom: 6px; }
.mix-bar { display: flex; gap: 2px; height: 16px; }
.mix-seg { min-width: 3px; }
.mix-seg:first-child { border-radius: 4px 0 0 4px; } .mix-seg:last-child { border-radius: 0 4px 4px 0; } .mix-seg:only-child { border-radius: 4px; }
.mix-seg:hover, .mix-seg:focus { filter: brightness(1.1); outline: none; }
.s1 { background: var(--series-1); } .s2 { background: var(--series-2); } .s3 { background: var(--series-3); } .s4 { background: var(--series-4); }
.mix-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; margin-top: 6px; color: var(--ink); }
.mix-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.chart-tip { position: fixed; display: none; z-index: 300; background: #111827; color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 10px; border-radius: var(--r-sm); pointer-events: none; max-width: 280px; }

/* Messages */
.msg-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f4; font-size: .92rem; }
.msg-row:last-child { border-bottom: 0; }
.msg-when { font-weight: 800; color: var(--navy); font-size: .85rem; }
.msg-row details summary { cursor: pointer; color: var(--muted); margin-top: var(--s-1); }
.msg-row details div { background: #f8fafc; border-radius: var(--r-sm); padding: var(--s-2) 10px; margin-top: 6px; }
.msg-preview { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px var(--s-3); margin-bottom: var(--s-3); font-size: .9rem; }
.auto-card { margin-bottom: var(--s-3); }
.auto-card.is-off { opacity: .65; }
.auto-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.auto-card details summary { cursor: pointer; color: var(--coral-dark); font-weight: 800; }
.switch { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 800; color: var(--navy); cursor: pointer; }
.switch input { width: 20px; height: 20px; accent-color: var(--mint); }

.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px var(--s-3); }
.kit-cell { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 5px var(--s-2); font-size: .9rem; font-weight: 700; color: var(--navy); }
.kit-cell input { width: 64px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: var(--s-1) 6px; }
.load { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.load span { background: #f1f5f9; border-radius: var(--r-pill); padding: 5px var(--s-3); font-size: .9rem; }

.test-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f4; }
.test-row:last-of-type { border-bottom: 0; }
.test-badge { width: 30px; height: 30px; border-radius: 50%; background: #dcfce7; color: #166534; display: grid; place-items: center; font-weight: 900; }
.test-badge.due { background: #fef3c7; color: #92400e; } .test-badge.expired { background: #fee2e2; color: #991b1b; }
.test-add { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }

.kit-cols { display: grid; gap: 14px; }
.kit-cols > div { display: flex; flex-direction: column; gap: 6px; }
.kit-col-h { font-weight: 900; color: var(--navy); font-size: .9rem; display: flex; align-items: center; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.ph-upload { display: flex; gap: 14px; align-items: center; margin-top: var(--s-3); flex-wrap: wrap; }
.ph-upload label.btn { cursor: pointer; }
.photo-main { background: #f1f5f9; overflow: hidden; }
.photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery .thumbs .thumb-ph { position: relative; opacity: 1; overflow: hidden; border: 2px solid transparent; }
.gallery .thumbs .thumb-ph.on { border-color: var(--coral); }
.thumb-ph img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.ph-tools { position: absolute; top: 4px; right: 4px; display: flex; gap: var(--s-1); }
.ph-tools button, .ph-tools span { background: rgba(255,255,255,.92); border: 0; border-radius: var(--r-sm); font-size: .72rem; font-weight: 900; padding: 2px 6px; color: var(--navy); }
.thumb-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-photo { padding: 0; }
.ph-item { text-decoration: none; color: var(--navy); font-weight: 800; font-size: .85rem; }
.ph-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); display: block; margin-bottom: var(--s-1); }

.space-box { background: #f8fafc; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-3); margin: var(--s-1) 0 14px; }
.space-list { margin: 6px 0 0; padding-left: 18px; font-size: .88rem; }
.check input[type=radio] { margin-top: var(--s-1); width: 18px; height: 18px; accent-color: var(--coral); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; }
.price-grid input::placeholder { color: #9ca3af; font-size: .8rem; }

.nofp { background: #fff1f2; border: 1.5px solid #fecdd3; border-radius: var(--r-md); padding: var(--s-3) 14px; color: #881337; }
.nofp-h { font-weight: 900; font-size: 1rem; margin-bottom: 2px; }

.unit-tg { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r-pill); overflow: hidden; flex: none; }
.unit-tg button { border: 0; background: #fff; padding: var(--s-1) var(--s-3); font-weight: 800; font-size: .82rem; color: var(--navy); }
.unit-tg button.on { background: var(--navy); color: #fff; }

.venue-hero { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; margin-bottom: 14px; background: #f1f5f9; }
.venue-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.venue-card { overflow: hidden; }
.venue-card > a img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.venue-ph { display: grid; place-items: center; aspect-ratio: 16/9; background: linear-gradient(135deg, #e0f7ff, #ffe8f1); font-size: 2rem; text-decoration: none; }
.venue-admin-ph { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-md); display: block; }
.venue-thumb { width: 56px; height: 40px; border-radius: var(--r-sm); object-fit: cover; flex: none; font-size: 1rem; aspect-ratio: auto; }

.sc-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.luke-note { background: linear-gradient(135deg, #fff7cc, #ffe8f1); border-radius: var(--radius); padding: 14px var(--s-4); margin: 6px 0 var(--s-1); border: 1px solid #fde68a; }
.luke-h { font-weight: 900; color: var(--navy); margin-bottom: var(--s-1); }

.yt { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; background: #0f172a; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.day.busy { background: #fff1e6; color: #9a3412; }
.day.busy small { color: #c2410c; }
.legend .l-busy::before { background: #fed7aa; }

.offer { font-size: .82rem; color: #9a3412; background: #fff1e6; border: 1px solid #fed7aa; border-radius: var(--r-md); padding: 5px var(--s-2); margin: 6px 0 var(--s-1); }
.offer-big { font-size: .95rem; padding: var(--s-2) 10px; margin: var(--s-2) 0 0; }
.offer-tag { display: inline-block; background: var(--coral); color: #fff; font-weight: 900; border-radius: var(--r-pill); padding: 1px var(--s-2); font-size: .75rem; margin-right: var(--s-1); }
.cd { font-weight: 900; font-variant-numeric: tabular-nums; }
.price .was { text-decoration: line-through; color: var(--muted); font-weight: 700; font-size: .85em; }
.price .now { color: var(--coral-dark); }

.ok-yes { color: #166534; font-weight: 800; }
.ok-no { color: #991b1b; font-weight: 800; }

/* Drop sheet */
.drop-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-1) 14px; font-size: .9rem; }
.drop-opts label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.drop-sheet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.drop-title { display: flex; gap: var(--s-3); align-items: center; border-bottom: 2px solid var(--navy); padding-bottom: 10px; margin-bottom: 10px; }
.drop-load { background: #f1f5f9; border-radius: var(--r-md); padding: var(--s-2) var(--s-3); margin-bottom: 10px; font-size: .92rem; }
.drop-row { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px var(--s-3); margin-bottom: 10px; break-inside: avoid; }
.drop-h { font-size: 1rem; margin-bottom: 6px; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-1) var(--s-4); font-size: .9rem; }
.dl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 800; }
.sign { margin-top: 10px; font-size: .9rem; }
/* Invoice */
.invoice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; max-width: 820px; }
.inv-head { display: flex; justify-content: space-between; gap: var(--s-5); border-bottom: 2px solid var(--navy); padding-bottom: 14px; }
.inv-to { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin: var(--s-4) 0; font-size: .92rem; }
.inv-t td:nth-child(n+2), .inv-t th:nth-child(n+2) { text-align: right; }
.inv-sum td { color: #4b5563; }
.inv-total td { font-weight: 900; color: var(--navy); border-top: 2px solid var(--navy); }
.inv-pay { background: #f8fafc; border-radius: var(--r-md); padding: 10px var(--s-3); margin-top: 14px; font-size: .92rem; }
/* Phone bookings */
.phone-bar { background: #fff7cc; border-bottom: 1px solid #fde68a; font-size: .9rem; padding: var(--s-2) 0; color: #713f12; }
.phone-bar button { margin-left: 10px; border: 1px solid #ca8a04; background: #fff; border-radius: var(--r-sm); padding: 2px 10px; font-weight: 800; color: #713f12; }
.phone-pay { background: #fffbea; border: 1.5px solid #fde68a; border-radius: var(--r-md); padding: 10px var(--s-3); margin: 10px 0; }
.phone-pay select { width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: var(--s-2); }
/* Google snippet */
.gsnip { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px var(--s-3); font-family: arial, sans-serif; }
.gs-url { color: #202124; font-size: .8rem; }
.gs-title { color: #1a0dab; font-size: 1.1rem; margin: 2px 0; }
.gs-desc { color: #4d5156; font-size: .85rem; line-height: 1.4; }
.seo-t input { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 5px var(--s-2); width: 100% !important; }
/* Admin on phone */
.a-mob { display: none; }
@media (max-width: 900px) {
  .admin { display: block; }
  .a-mob { display: flex; align-items: center; gap: 10px; background: var(--navy); padding: var(--s-2) var(--s-3); position: sticky; top: 0; z-index: 30; }
  .a-mob-t { color: #fff; font-weight: 800; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .admin .side { display: none !important; }
  .admin.nav-open .side { display: block !important; position: static; padding: var(--s-2) var(--s-3) 14px; }
  .admin.nav-open .side .sep { display: block; }
  .admin.nav-open .side .logo { display: none; }
  .admin.nav-open .main-a { display: none; }
  .a-mob-t { visibility: hidden; }
  .main-a { padding: 14px var(--s-3) 50px; }
  .a-top h1 { font-size: 1.3rem; }
  .run[style*="1fr auto"] { grid-template-columns: 1fr !important; }
  .run[style*="1fr auto"] > div:last-child { justify-content: flex-start; flex-wrap: wrap; }
  .run { grid-template-columns: 56px 1fr; }
  .drop-grid, .inv-to, .drop-opts { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 110px 1fr; }
  table.t td, table.t th { padding: var(--s-2); }
  .acal { gap: 3px; } .acal .d { min-height: 64px; padding: 3px; font-size: .68rem; }
}
/* Printing */
@media print {
  .demo-bar, .side, .a-mob, .no-print, .a-top div, .toast { display: none !important; }
  .admin { display: block; background: #fff; }
  .main-a { padding: 0; }
  .drop-sheet, .invoice { border: 0; padding: 0; }
  body { background: #fff; }
}

.drop-row.is-collect { border: 2px solid #dc2626; }
@media print { .drop-row.is-collect { border: 2px solid #dc2626 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

.drop-people { display: flex; gap: var(--s-4); align-items: end; flex-wrap: wrap; margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--line); }
.driver-in { width: 110px; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 5px var(--s-2); font: inherit; }
.drop-assign { display: flex; gap: var(--s-2); align-items: center; justify-content: flex-end; font-size: .82rem; color: var(--muted); font-weight: 700; margin-bottom: var(--s-1); }
.drop-assign select { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 3px 6px; font: inherit; color: var(--navy); }
.print-only { display: none; }
@media print { .print-only { display: block; } .drop-who { float: right; font-weight: 900; } }

/* Disco items */
.disco-box { display: flex; gap: var(--s-2); align-items: center; background: #f5f3ff; border: 1px solid #ddd6fe; color: #3b0764; border-radius: var(--r-md); padding: 6px 10px; font-size: .82rem; margin-top: 6px; line-height: 1.3; }
.disco-box .disco-ball { flex: none; color: #4c1d95; }
.disco-big { font-size: .92rem; padding: 10px var(--s-3); margin-top: var(--s-3); }
.disco-big .disco-ball { width: 32px; height: 32px; }
.disco-corner { position: absolute; top: 10px; right: 10px; background: #fff; border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; box-shadow: var(--shadow-sm); color: #4c1d95; }
.thumb { position: relative; }
.disco-chip { display: inline-block; background: #ede9fe; color: #4c1d95; border-radius: var(--r-pill); padding: 1px var(--s-2); font-size: .7rem; font-weight: 600; vertical-align: middle; }

/* Customer notes, day notes, postcode finder */
.cust-note { background: #fffbeb; border: 1px solid #fde68a; color: #422006; }
.cust-note div { margin-top: var(--s-1); }
.note-flag { font-size: .8rem; }
.day-note { background: #fef9c3; color: #713f12; border-radius: var(--r-sm); padding: 2px 6px; font-size: .72rem; margin: 2px 0 var(--s-1); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.acal .num { display: flex; align-items: center; gap: var(--s-1); }
.dn-add { margin-left: auto; border: 0; background: transparent; color: var(--muted, #6b7280); font-size: .9rem; line-height: 1; width: 24px; height: 24px; border-radius: var(--r-sm); cursor: pointer; opacity: .55; }
.dn-add:hover, .dn-add:focus-visible { opacity: 1; background: #f3f4f6; }
.drop-daynote { background: #fef9c3; border: 1px solid #fde68a; border-radius: var(--r-sm); padding: var(--s-2) var(--s-3); margin-bottom: 10px; }
.drop-mynote { grid-column: 1 / -1; background: #fffbeb; border-radius: var(--r-sm); padding: 6px var(--s-2); }
.pc-find { display: flex; gap: var(--s-2); align-items: flex-end; margin-bottom: 10px; }
.pc-find .btn { white-space: nowrap; }
.kid-row { align-items: flex-end; grid-template-columns: 1fr 1fr auto; }
@media print { .drop-daynote, .drop-mynote { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* Review requests */
.rev-ask { display: flex; gap: var(--s-3); align-items: center; background: #fff7ed; border: 1px solid #fed7aa; border-radius: var(--r-md); padding: var(--s-3) 14px; margin-bottom: var(--s-4); flex-wrap: wrap; }
.rev-ask > div:nth-child(2) { flex: 1; min-width: 200px; }
.rev-ask.rev-fb { background: #eff6ff; border-color: #bfdbfe; }
.rev-ico { font-size: 1.6rem; }
.rev-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: var(--s-2) 0; border-bottom: 1px solid #f0f0f4; }
.rev-row strong { min-width: 80px; }
.rev-row .btn { margin-left: auto; }
.rev-compact .rev-row { padding: var(--s-1) 0; border: 0; }

/* Admin day colours */
.t tr.day-wk td, .run.day-wk, .acal .d.day-wk { background: #e0f2fe; }
.t tr.day-sat td, .run.day-sat, .acal .d.day-sat { background: #ffedd5; }
.t tr.day-sun td, .run.day-sun, .acal .d.day-sun { background: #fee2e2; }
.run.day-wk, .run.day-sat, .run.day-sun { border-radius: var(--r-sm); padding-left: var(--s-2); padding-right: var(--s-2); margin-bottom: var(--s-1); border-bottom: 0; }
.day-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.day-legend span { padding: 2px 10px; border-radius: var(--r-pill); }
.day-legend .day-wk { background: #e0f2fe; } .day-legend .day-sat { background: #ffedd5; } .day-legend .day-sun { background: #fee2e2; }
table.t tr.day-wk:hover td { background: #cdeafc; }
table.t tr.day-sat:hover td { background: #fee2c2; }
table.t tr.day-sun:hover td { background: #fdd5d5; }
.home-content h2 { margin-top: 0; }
.home-content h3 { margin: 18px 0 6px; }
.home-content p { line-height: 1.6; max-width: 75ch; }
