/* PLM - black & gold theme */
:root {
  --bg: #050506; --card: #0e0f12; --card2: #15161b; --line: #25262d; --line2: #33343c;
  --text: #f5f1e8; --muted: #9b978d; --dim: #6f6c64;
  --gold: #d7b377; --gold-hi: #f3dcaa; --gold-lo: #9c7442;
  --ok: #5fc48a; --warn: #e6b450; --bad: #e0685f; --blue: #7d8cff;
  --radius: 14px;
  --grad: linear-gradient(135deg, #f4dfae 0%, #d3ad6c 45%, #a57b45 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3, .brandfont { font-family: "Montserrat", "Inter", sans-serif; font-weight: 600; letter-spacing: .01em; margin: 0; }
h1 { font-size: 22px; } h2 { font-size: 17px; } h3 { font-size: 15px; }
p { margin: 0 0 .6em; }
img { max-width: 100%; display: block; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .small { font-size: 13px; } .tiny { font-size: 11.5px; }
.gold { color: var(--gold); } .ok { color: var(--ok); } .bad { color: var(--bad); } .warn { color: var(--warn); }
.right { text-align: right; } .center { text-align: center; } .nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; } .row.top { align-items: flex-start; } .grow { flex: 1; min-width: 0; }
.between { justify-content: space-between; } .wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 16px; } .mt2 { margin-top: 28px; } .mb { margin-bottom: 16px; }
.hide { display: none !important; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 16px; height: 16px; } .icon.lg { width: 26px; height: 26px; }

/* phone-width app shell */
.app { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding-bottom: calc(84px + env(safe-area-inset-bottom)); position: relative; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top));
  background: rgba(5,5,6,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.topbar h1 { flex: 1; text-align: center; font-size: 18px; }
.topbar .iconbtn { width: 36px; height: 36px; display: grid; place-items: center; color: var(--text); border-radius: 50%; }
.topbar .iconbtn:active { background: var(--card2); }
.page { padding: 4px 16px 16px; }
.sub { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* bottom nav */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(8,8,10,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar nav { max-width: 520px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 0 9px; color: var(--dim); font-size: 11px; position: relative; }
.tabbar a.on { color: var(--gold-hi); }
.tabbar a.on::after { content: ""; position: absolute; bottom: 4px; width: 18px; height: 2px; border-radius: 2px; background: var(--gold); }
.tabbar .dot { position: absolute; top: 6px; left: 55%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.card.tight { padding: 12px; }
.card + .card { margin-top: 12px; }
.section-title { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-size: 12.5px; letter-spacing: .09em; color: var(--text); font-weight: 600; margin: 22px 0 10px; }
.section-title .icon { color: var(--gold); }
.section-title + .hint { margin: -6px 0 10px 30px; font-size: 12.5px; color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
.kv .v { text-align: right; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 3px 9px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.pill.gold { border-color: rgba(215,179,119,.45); color: var(--gold-hi); background: rgba(215,179,119,.08); }
.pill.ok { border-color: rgba(95,196,138,.4); color: var(--ok); background: rgba(95,196,138,.07); }
.pill.warn { border-color: rgba(230,180,80,.4); color: var(--warn); background: rgba(230,180,80,.07); }
.pill.bad { border-color: rgba(224,104,95,.4); color: var(--bad); background: rgba(224,104,95,.07); }
.pill.blue { border-color: rgba(125,140,255,.4); color: #aab4ff; background: rgba(125,140,255,.07); }

/* buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--line2);
  background: var(--card2); color: var(--text); font: 600 14px/1 "Inter", sans-serif; letter-spacing: .02em; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--gold-lo); }
.btn.primary { background: var(--grad); border: 0; color: #1c1408; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; box-shadow: 0 6px 24px rgba(215,179,119,.18); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.block { display: flex; width: 100%; }
.btn.sm { min-height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
.btn.xs { min-height: 28px; padding: 0 10px; font-size: 12px; border-radius: 8px; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--bad); border-color: rgba(224,104,95,.35); background: transparent; }
.btn.add { background: rgba(215,179,119,.12); border: 1px solid rgba(215,179,119,.5); color: var(--gold-hi); border-radius: 99px; min-height: 32px; padding: 0 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.btn.added { background: var(--grad); color: #1c1408; border: 0; border-radius: 99px; min-height: 32px; padding: 0 14px; font-size: 12px; }
button.linkish { background: none; border: 0; color: var(--gold); font: inherit; padding: 0; cursor: pointer; }
label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 0 6px; font-weight: 600; }
label.inline { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text); font-weight: 400; margin: 8px 0; cursor: pointer; }
input, select, textarea { width: 100%; font: 15px/1.4 "Inter", sans-serif; color: var(--text); background: var(--card); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(215,179,119,.14); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin: 0; }
input[type=file] { padding: 9px; font-size: 13px; }
input[type=date], input[type=time], input[type=datetime-local] { color-scheme: dark; min-height: 46px; }
textarea { min-height: 96px; resize: vertical; }
.field-icon { position: relative; }
.field-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-icon input, .field-icon select { padding-left: 44px; }
.flash { margin: 10px 16px 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; border: 1px solid var(--line2); background: var(--card2); }
.flash.ok { border-color: rgba(95,196,138,.4); color: #bfeccf; }
.flash.error { border-color: rgba(224,104,95,.45); color: #f6c7c2; }

/* login */
.login-wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 440px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom)); }
.login-logo { margin: 6px -22px 4px; border-radius: 12px; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 85% 80% at 50% 50%, #000 60%, transparent 100%); }
.login-title { text-align: center; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-hi); margin: 8px 0 4px; font-family: "Montserrat"; }
.login-foot { margin-top: auto; padding-top: 28px; text-align: center; font-size: 13px; color: var(--muted); }
.gold-line { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 24px 0 14px; }
.gold-line::before, .gold-line::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-lo), transparent); }

/* home hero */
.hero { position: relative; margin: 0 0 4px; padding: calc(18px + env(safe-area-inset-top)) 20px 22px; min-height: 380px; overflow: hidden;
  background: radial-gradient(ellipse 60% 45% at 25% 18%, rgba(90,70,255,.55), transparent 70%),
              radial-gradient(ellipse 55% 40% at 80% 10%, rgba(185,70,255,.45), transparent 70%),
              radial-gradient(ellipse 70% 50% at 50% 60%, rgba(40,60,200,.35), transparent 70%), #07060d; }
.hero.has-img { background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.4px 1.4px at 12% 22%, #fff9, transparent), radial-gradient(1.2px 1.2px at 32% 12%, #fffa, transparent),
  radial-gradient(1.6px 1.6px at 58% 28%, #fff8, transparent), radial-gradient(1.1px 1.1px at 78% 18%, #fff9, transparent), radial-gradient(1.3px 1.3px at 88% 36%, #fff7, transparent),
  radial-gradient(1.2px 1.2px at 42% 40%, #fff6, transparent), radial-gradient(1px 1px at 22% 44%, #fff8, transparent), radial-gradient(1.5px 1.5px at 66% 8%, #fffb, transparent); opacity: .9; }
.hero.has-img::before { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.15) 35%, rgba(5,5,6,.92) 78%, var(--bg) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero .brand { text-align: center; margin-top: 6px; }
.hero .brand img { width: min(260px, 68vw); margin: 0 auto; }
.hero .bell { position: absolute; right: 16px; top: calc(16px + env(safe-area-inset-top)); color: #fff; z-index: 2; }
.hero .bell .dot { position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero .welcome { margin-top: 44px; font-size: 15px; color: #e8e4da; }
.hero .names { font-family: "Montserrat"; font-size: 27px; font-weight: 600; line-height: 1.15; margin: 2px 0 12px; }
.countdown { display: flex; align-items: flex-start; gap: 6px; font-family: "Montserrat"; margin-top: 4px; }
.countdown .n { font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: .02em; }
.countdown .sep { font-size: 28px; line-height: 1.05; opacity: .7; margin: 0 2px; }
.countdown .u { display: block; font-size: 10.5px; letter-spacing: .2em; color: #d6d2c8; margin-top: 6px; text-transform: uppercase; }
.meta-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #e6e1d6; margin-top: 8px; }
.meta-line .icon { width: 17px; height: 17px; color: #e6e1d6; }

/* tile grid */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { background: linear-gradient(180deg, #121318, #0c0d10); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 8px 14px; text-align: center; color: var(--text); position: relative; }
.tile:active, .tile:hover { border-color: var(--gold-lo); }
.tile .icon { width: 26px; height: 26px; margin: 0 auto 10px; color: #f1ead9; stroke-width: 1.4; }
.tile b { display: block; font-size: 13px; font-weight: 600; }
.tile span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.tile .badge { position: absolute; top: 8px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #1c1408; font-size: 11px; font-weight: 700; line-height: 18px; }

.banner { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius); margin-top: 14px; color: var(--text);
  background: linear-gradient(90deg, rgba(215,179,119,.14), rgba(215,179,119,.04)); border: 1px solid rgba(215,179,119,.35); }
.banner .bubble { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #1c1408; flex: none; }
.banner b { display: block; font-size: 14px; }
.banner span { font-size: 12.5px; color: var(--muted); }

/* photo header for event / package pages */
.photo-head { height: 200px; margin: 0 -16px 8px; background-size: cover; background-position: center; position: relative; }
.photo-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 50%, var(--bg) 100%); }
.photo-fallback { background: radial-gradient(ellipse 50% 60% at 30% 40%, rgba(215,179,119,.35), transparent 70%), radial-gradient(ellipse 50% 60% at 75% 30%, rgba(125,90,255,.35), transparent 70%), #0b0a10; }
.check-list { list-style: none; padding: 0; margin: 8px 0 0; }
.check-list li { display: flex; gap: 10px; align-items: center; padding: 4px 0; font-size: 14px; }
.check-list .icon { width: 16px; height: 16px; color: var(--gold); }

/* media cards (package items, add-ons) */
.media { display: flex; gap: 12px; padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); align-items: center; }
.media + .media { margin-top: 10px; }
.media .thumb { width: 96px; height: 82px; border-radius: 10px; flex: none; background: var(--card2) center/cover; display: grid; place-items: center; color: var(--gold); }
.media .body { flex: 1; min-width: 0; }
.media b { display: block; font-size: 14.5px; }
.media .s { font-size: 12.5px; color: var(--gold-hi); opacity: .85; }
.media p { font-size: 12.5px; color: var(--muted); margin: 3px 0 0; }
.media .price { font-size: 13px; margin-top: 4px; color: var(--text); }

/* tabs & chips */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 8px; }
.seg a { text-align: center; padding: 11px; border-radius: 12px; border: 1px solid var(--line2); color: var(--muted); font-size: 14px; font-weight: 600; }
.seg a.on { border-color: var(--gold); color: var(--gold-hi); background: rgba(215,179,119,.08); }
.seg .count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #1c1408; font-size: 11px; margin-left: 4px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips.two { grid-template-columns: repeat(2, 1fr); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; text-align: center; padding: 11px 6px; border-radius: 11px; border: 1px solid var(--line2); font-size: 13.5px; cursor: pointer; }
.chip input:checked + span { border-color: var(--gold); background: rgba(215,179,119,.12); color: var(--gold-hi); }
.big-choice .chip span { padding: 18px 6px 14px; }
.big-choice .chip .icon { margin: 0 auto 8px; width: 26px; height: 26px; }
.addrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--text); font: 15px "Inter"; cursor: pointer; text-align: left; }
.addrow .icon { color: var(--gold); }
.song { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card2); border-radius: 10px; margin-top: 8px; }
.song b { font-weight: 500; font-size: 14px; } .song .a { color: var(--muted); font-size: 12.5px; }
details.adder > summary { list-style: none; } details.adder > summary::-webkit-details-marker { display: none; }
details.adder[open] > summary { display: none; }

/* payments */
.money-card .kv { font-size: 17px; }
.money-card .big { font-family: "Montserrat"; font-size: 30px; font-weight: 500; }

/* journey timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--line2); }
.timeline li { position: relative; display: flex; gap: 14px; align-items: center; padding: 8px 0; }
.timeline .mark { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--card2); border: 2px solid var(--line2); color: var(--muted); z-index: 1; }
.timeline .done .mark { background: var(--ok); border-color: var(--ok); color: #06150c; }
.timeline .current .mark { background: var(--grad); border: 0; color: #1c1408; box-shadow: 0 0 0 5px rgba(215,179,119,.16); }
.timeline .txt { flex: 1; min-width: 0; }
.timeline .txt b { display: block; font-size: 14.5px; font-weight: 500; }
.timeline .txt span { font-size: 12.5px; color: var(--muted); }
.timeline .current .box { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(215,179,119,.45); background: rgba(215,179,119,.07); color: var(--text); }

/* chat */
.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; white-space: pre-wrap; word-wrap: break-word; }
.msg.them { background: var(--card2); border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.msg.me { background: linear-gradient(135deg, #3a2e1c, #2a2216); border: 1px solid rgba(215,179,119,.35); border-bottom-right-radius: 5px; align-self: flex-end; }
.msg .when { display: block; font-size: 10.5px; color: var(--dim); margin-top: 4px; }
.composer { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 10px 0; background: var(--bg); }
.composer textarea { min-height: 46px; height: 46px; border-radius: 23px; padding: 12px 16px; }
.composer .btn { border-radius: 50%; width: 46px; padding: 0; flex: none; }
.contact-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* more menu */
.menu a, .menu button.menu-item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--text); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; font: 15px "Inter"; cursor: pointer; text-align: left; }
.menu a .icon, .menu .menu-item .icon { color: var(--gold); }
.menu .chev { margin-left: auto; color: var(--dim); }

/* print (invoice, run sheet) */
.paper { max-width: 800px; margin: 20px auto; background: #fff; color: #111; padding: 40px; border-radius: 6px; font-size: 14px; }
.paper h1, .paper h2 { color: #111; }
.paper table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.paper th, .paper td { text-align: left; padding: 7px 6px; border-bottom: 1px solid #ddd; vertical-align: top; }
.paper .r { text-align: right; }
.paper .muted { color: #666; }
.print-bar { max-width: 800px; margin: 16px auto 0; display: flex; gap: 8px; padding: 0 16px; }
@media print { body { background: #fff; } .print-bar { display: none; } .paper { margin: 0; padding: 0; max-width: none; } }

/* ---------- admin ---------- */
.admin { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.side { background: #08080a; border-right: 1px solid var(--line); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .logo { display: block; padding: 4px 8px 16px; }
.side .logo img { width: 190px; }
.side a.nav { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 14px; }
.side a.nav:hover { color: var(--text); background: var(--card); }
.side a.nav.on { color: var(--gold-hi); background: rgba(215,179,119,.09); }
.side .count { margin-left: auto; background: var(--gold); color: #1c1408; font-size: 11px; font-weight: 700; border-radius: 9px; padding: 1px 7px; }
.side .sep { height: 1px; background: var(--line); margin: 12px 6px; }
.main { padding: 22px 28px 60px; min-width: 0; }
.main .head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.main .head h1 { font-size: 24px; flex: 1; min-width: 200px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.stat .l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }
.stat .n { font-family: "Montserrat"; font-size: 26px; margin-top: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.t td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr.link { cursor: pointer; } table.t tr.link:hover td { background: var(--card2); }
.tabs-inline { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs-inline a { padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px; }
.tabs-inline a.on { border-color: var(--gold); color: var(--gold-hi); background: rgba(215,179,119,.08); }
.inline-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.inline-form > div { flex: 1; min-width: 120px; }
.inline-form label { margin-top: 0; }
.adm-mobile-top { display: none; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { font-size: 11px; color: var(--muted); text-transform: uppercase; text-align: center; padding: 6px 0; }
.cal .day { min-height: 92px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px; font-size: 12px; }
.cal .day.out { opacity: .35; } .cal .day.today { border-color: var(--gold); }
.cal .ev { display: block; margin-top: 4px; padding: 3px 6px; border-radius: 6px; background: rgba(215,179,119,.14); color: var(--gold-hi); font-size: 11.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cal .ev.provisional { background: rgba(125,140,255,.14); color: #b9c1ff; }
.cal .ev.enquiry { background: rgba(255,255,255,.06); color: var(--muted); }
.copybox { display: flex; gap: 8px; } .copybox input { font-size: 13px; }
.invite { border-color: rgba(215,179,119,.5); background: rgba(215,179,119,.06); }
.sched-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 32px; gap: 8px; margin-bottom: 8px; }
.t-row { display: grid; grid-template-columns: 1fr 120px 32px; gap: 8px; margin-bottom: 8px; }
.x { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 20px; }
.x:hover { color: var(--bad); }

@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 30% 0 0; z-index: 50; transform: translateX(-102%); transition: transform .2s; height: 100%;
          padding-top: calc(18px + env(safe-area-inset-top)); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.6); }
  .adm-mobile-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top)); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(5,5,6,.92); backdrop-filter: blur(10px); z-index: 40; }
  .adm-mobile-top img { height: 48px; }
  .adm-mobile-top .btn { min-height: 44px; min-width: 44px; }
  .main { padding: 16px 16px 60px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .hide-m { display: none; }
  table.t td, table.t th { padding: 8px 6px; }
}
@media (max-width: 380px) { .tiles { gap: 8px; } .tile b { font-size: 12px; } .countdown .n { font-size: 30px; } }

/* photos & videos */
.gal-tabs { display: flex; gap: 6px; overflow-x: auto; margin: 2px -16px 12px; padding: 0 16px 4px; scrollbar-width: none; }
.gal-tabs::-webkit-scrollbar { display: none; }
.gal-tabs a { flex: none; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px; white-space: nowrap; }
.gal-tabs a.on { border-color: var(--gold); color: var(--gold-hi); background: rgba(215,179,119,.08); }
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gal figure { margin: 0; }
.gal-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; background: var(--card2); }
.gal-wide { grid-column: 1 / -1; }
.gal video { width: 100%; border-radius: 12px; background: #000; max-height: 70vh; }
.gal figcaption { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.yt { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 16px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.media-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; margin-top: 4px; }

/* enquiry form: service area + services */
.area-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(215,179,119,.35); background: rgba(215,179,119,.06); color: var(--gold-hi); }
.area-note .icon { margin-top: 2px; }
.area-note.out { border-color: rgba(224,104,95,.6); background: rgba(224,104,95,.1); color: #f6c7c2; font-weight: 600; }
.svc-pick > summary { list-style: none; } .svc-pick > summary::-webkit-details-marker { display: none; }
.svc-pick[open] > summary .icon { transform: rotate(90deg); }
.svc-pick .card { margin-top: 6px; max-height: 340px; overflow-y: auto; }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.4); }
.remind-row { padding: 10px 0; border-bottom: 1px solid var(--line); }
.remind-row:last-of-type { border-bottom: 0; }
