/* Luxe Events — app-style UI: white canvas, soft stone tiles, bold rounded type,
   one dark "moment" card per screen, floating tab bar on phones. */
:root {
  --paper: #ffffff;
  --stone: #f3f2ef;
  --stone-2: #e8e6e1;
  --line: #e4e1db;
  --ink: #1a1918;
  --ink-2: #3a3734;
  --muted: #6e6a64;
  --gold: #a6803f;
  --gold-soft: #f5eddd;
  --green: #2c7a4b;
  --green-soft: #e4f2e9;
  --red: #c2412d;
  --red-soft: #fbe7e2;
  --blue: #2f5f9e;
  --blue-soft: #e7eef8;
  --r-xl: 28px;   /* hero / moment cards */
  --r-lg: 20px;   /* tiles & cards */
  --r-md: 14px;   /* inputs, small cards */
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --bar-h: 76px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--paper); color: var(--ink); line-height: 1.5; font-size: 16px; -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
a { color: var(--ink); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.025em; }
h1 { font-size: clamp(34px, 7vw, 56px); }
h2 { font-size: clamp(26px, 4.4vw, 34px); }
h3 { font-size: 21px; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.tiny { font-size: 13px; }
.center { text-align: center; }
.right { text-align: right; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.g5 { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.stack > * + * { margin-top: 12px; }
.mt { margin-top: 20px; } .mt2 { margin-top: 40px; } .mb0 { margin-bottom: 0; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 40px 0 14px; }
.section-title h2 { margin: 0; font-size: 26px; }
.section-title a { font-weight: 700; font-size: 15px; text-decoration: none; }

/* ---------- Header ---------- */
.site-head { background: var(--paper); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; display: flex; align-items: center; gap: 9px; }
.logo-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; }
.nav { display: flex; gap: 4px; align-items: center; font-size: 15px; font-weight: 700; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--stone); }
.nav a.on { color: var(--ink); background: var(--stone); }
.nav form { margin: 0; }
.linkbtn { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; padding: 8px 14px; border-radius: 999px; }
.linkbtn:hover { color: var(--ink); background: var(--stone); }
.site-foot { padding: 48px 0 calc(var(--bar-h) + 40px); color: var(--muted); font-size: 13.5px; text-align: center; }
.site-foot a { color: var(--muted); }

/* Floating tab bar (phones, signed-in) */
.tabbar { display: none; }
@media (max-width: 760px) {
  .nav .hide-sm { display: none; }
  .tabbar { display: flex; position: fixed; z-index: 30; transform: translate3d(0,0,0); -webkit-backface-visibility: hidden; left: 14px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); height: var(--bar-h);
    background: var(--glass, rgba(255,255,255,.94)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 34px rgba(26,25,24,.14); padding: 7px; gap: 2px; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none;
    color: var(--ink-2); font-size: 12px; font-weight: 700; border-radius: 999px; }
  .tabbar a.on { background: var(--stone-2); color: var(--ink); }
  .tabbar svg { width: 24px; height: 24px; }
}

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 24px; font: 700 15.5px var(--font); cursor: pointer; text-decoration: none; transition: transform .08s, background .15s; }
.btn:hover { background: #33302d; }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.light { background: var(--card, #fff); color: var(--ink); }
.btn.light:hover { background: var(--stone); }
.btn.ghost { background: var(--stone); color: var(--ink); }
.btn.ghost:hover { background: var(--stone-2); }
.btn.danger { background: var(--red); color: #fff; }
.btn.small { padding: 9px 15px; font-size: 14px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.hint { font-weight: 500; color: var(--muted); font-size: 13px; }
input[type=text], input:not([type]), input[type=email], input[type=password], input[type=tel], input[type=number], input[type=datetime-local], input[type=date], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: var(--r-md); font: 500 16px var(--font); background: var(--stone); color: var(--ink); }
input[type=search] { border-radius: 999px; padding-left: 46px; background: var(--stone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%231a1918' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='6.5'/%3E%3Cpath d='m14 14 4.5 4.5'/%3E%3C/svg%3E") no-repeat 17px center; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); background-color: #fff; }
input:disabled { color: var(--muted); }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 14.5px; color: var(--ink-2); }
.check input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
fieldset { border: 0; background: var(--stone); border-radius: var(--r-lg); padding: 22px; margin: 0 0 16px; }
fieldset input[type=text], fieldset input:not([type]), fieldset input[type=email], fieldset input[type=tel], fieldset input[type=number], fieldset input[type=datetime-local], fieldset input[type=date], fieldset select, fieldset textarea { background: var(--card, #fff); }
legend { font-weight: 800; font-size: 18px; padding: 0; float: left; width: 100%; margin-bottom: 14px; letter-spacing: -.01em; }
legend + * { clear: both; }

/* ---------- Surfaces ---------- */
.card { background: var(--stone); border-radius: var(--r-lg); padding: 22px; }
.card.white { background: var(--card, #fff); border: 1px solid var(--line); }
.card.tight { padding: 14px 16px; }
a.card { display: block; text-decoration: none; color: inherit; transition: background .15s; }
a.card:hover { background: var(--stone-2); }
.flash { padding: 14px 18px; border-radius: var(--r-md); margin: 16px 0; font-size: 15px; font-weight: 600; }
.flash.success { background: var(--green-soft); color: #1d5634; }
.flash.error { background: var(--red-soft); color: #86281a; }
.flash.info { background: var(--blue-soft); color: #23446d; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--stone-2); color: var(--ink-2); white-space: nowrap; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill.gold { background: var(--gold-soft); color: #7a5c27; }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.dark { background: var(--ink); color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 10px 17px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card, #fff); font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Stat tiles (big number, label on top) */
.kpi { background: var(--stone); border-radius: var(--r-lg); padding: 18px 20px; }
.kpi .l { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.kpi .v { font-size: 44px; font-weight: 800; line-height: 1; margin: 14px 0 8px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .v.sm { font-size: 26px; }
.kpi .tiny { color: var(--muted); }
.kpi.dark { background: var(--ink); color: #fff; }
.kpi.dark .l { color: #d6d2cb; }
.kpi.dark .tiny { color: #b3aea6; }

/* Tables */
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--card, #fff); }
table.t th, table.t td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
table.t th { font-size: 13px; color: var(--muted); font-weight: 700; background: var(--card, #fff); }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.t a { font-weight: 700; text-decoration: none; }
table.t a:hover { text-decoration: underline; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card, #fff); }
.tablewrap table.t tr:last-child td { border-bottom: 0; }
.bar { height: 8px; background: var(--stone-2); border-radius: 99px; overflow: hidden; min-width: 60px; margin-top: 6px; }
.bar > span { display: block; height: 100%; background: var(--ink); border-radius: 99px; }

/* ---------- Public: home ---------- */
.greet { padding: 26px 0 6px; }
.greet h1 { font-size: clamp(30px, 6vw, 44px); margin: 0; }
.greet p { color: var(--muted); font-size: 17px; margin: 8px 0 0; }
.event-tile { display: grid; grid-template-columns: 1fr 132px; gap: 16px; align-items: center; background: var(--stone); border-radius: var(--r-lg); padding: 18px; text-decoration: none; color: inherit; }
.event-tile:hover { background: var(--stone-2); }
.event-tile h3 { margin: 6px 0 6px; font-size: 22px; }
.event-tile .thumb { width: 132px; height: 132px; border-radius: 16px; object-fit: cover; background: var(--ink); }
.event-tile .thumb.ph { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 34px; }
.event-tile .meta { color: var(--muted); font-size: 14.5px; font-weight: 600; display: flex; gap: 6px; align-items: center; }

/* ---------- Public: event page ---------- */
.ref-banner { background: var(--gold-soft); color: #5e4519; text-align: center; padding: 11px 16px; font-weight: 700; font-size: 14.5px; }
.moment { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: #fff; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.moment .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.moment::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,25,24,.15) 0%, rgba(26,25,24,.35) 40%, rgba(26,25,24,.92) 100%); }
.moment .inner { padding: 30px 30px 26px; }
.moment .kicker { font-size: 15px; font-weight: 600; color: #e9e5de; }
.moment h1 { color: #fff; margin: 8px 0 10px; max-width: 760px; }
.moment .tag { color: #ece8e1; font-size: 18px; max-width: 620px; margin-bottom: 22px; }
.clock { display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: 10px; margin: 6px 0 22px; }
.clock div { background: rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 18px; padding: 12px 6px 10px; text-align: center; }
.clock .n { display: block; font-size: clamp(30px, 6vw, 42px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.clock .u { display: block; font-size: 12.5px; font-weight: 600; color: #d6d2cb; margin-top: 6px; }
.moment-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.moment .seats { color: #e9e5de; font-size: 14.5px; font-weight: 600; margin-top: 14px; }
.watch { display: inline-flex; align-items: center; gap: 8px; color: #fff; background: rgba(255,255,255,.16); border: 0; border-radius: 999px; padding: 14px 20px; font: 700 15.5px var(--font); cursor: pointer; text-decoration: none; }
.watch:hover { background: rgba(255,255,255,.26); }
.video { position: relative; padding-top: 56.25%; background: #000; border-radius: var(--r-lg); overflow: hidden; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
dialog.player { border: 0; padding: 0; background: transparent; width: min(960px, 94vw); }
dialog.player::backdrop { background: rgba(10,10,10,.82); }
dialog.player .close { position: absolute; top: -46px; right: 0; }

.section { padding: 34px 0; }
.prose { font-size: 18px; line-height: 1.6; max-width: 680px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.fact { background: var(--stone); border-radius: var(--r-lg); padding: 16px 18px; }
.fact .l { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.fact .v { font-size: 17px; font-weight: 800; margin-top: 4px; letter-spacing: -.01em; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 300px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.photos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 280px); gap: 12px; overflow-x: auto; scrollbar-width: none; }
.photos::-webkit-scrollbar { display: none; }
.photos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); }
.faq details { background: var(--stone); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 16.5px; }
.faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); }
.faq-audio { margin-top: 10px; display: grid; gap: 6px; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Booking */
.book { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px; box-shadow: 0 18px 50px rgba(26,25,24,.07); }
.book h2 { margin-bottom: 18px; }
.step-label { font-size: 15px; font-weight: 800; margin: 0 0 10px; }
.dates { display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.dates::-webkit-scrollbar { display: none; }
.date-opt { position: relative; margin: 0; }
.date-opt input { position: absolute; opacity: 0; pointer-events: none; }
.date-opt > span { display: block; border-radius: 18px; padding: 14px 14px 12px; cursor: pointer; font-size: 13.5px; font-weight: 600; background: var(--stone); color: var(--ink-2); transition: background .12s; }
.date-opt > span .dow { display: block; font-size: 13px; color: var(--muted); }
.date-opt > span .day { display: block; font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.date-opt > span .left { display: block; margin-top: 6px; font-size: 12.5px; }
.date-opt input:checked + span { background: var(--ink); color: #fff; }
.date-opt input:checked + span .dow, .date-opt input:checked + span .day { color: #fff; }
.date-opt input:disabled + span { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.date-opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.summary { background: var(--stone); border-radius: var(--r-md); padding: 16px 18px; font-size: 15px; }
.summary .line { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-2); }
.summary .total { border-top: 1px solid var(--stone-2); margin-top: 8px; padding-top: 10px; font-weight: 800; font-size: 18px; color: var(--ink); }
.policy { font-size: 14px; color: var(--ink-2); background: var(--gold-soft); border-radius: var(--r-md); padding: 14px 16px; line-height: 1.5; }
.code-msg { font-size: 13.5px; margin-top: 7px; font-weight: 600; }
.code-msg.ok { color: var(--green); } .code-msg.bad { color: var(--red); }

/* ---------- Account / profile ---------- */
.profile-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 18px; }
.profile-head h1 { margin: 0; font-size: clamp(34px, 7vw, 48px); }
.avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--stone); display: grid; place-items: center; font-weight: 800; font-size: 32px; color: var(--ink-2); flex: none; }
.ref-box { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 24px; }
.ref-box h3 { color: #fff; font-size: 23px; }
.ref-box p { color: #d6d2cb; }
.copy-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.copy-row input { flex: 1; min-width: 200px; background: rgba(255,255,255,.1) !important; color: #fff; border-color: transparent; }
.copy-row input:focus { background: rgba(255,255,255,.16) !important; border-color: #fff; }
.list-card { background: var(--stone); border-radius: var(--r-lg); padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
a.list-card:hover { background: var(--stone-2); }
.list-card .when { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 62px; background: var(--card, #fff); border-radius: 14px; flex: none; }
.list-card .when b { font-size: 22px; line-height: 1; font-weight: 800; }
.list-card .when span { font-size: 12px; font-weight: 700; color: var(--muted); }
.list-card .body { flex: 1; min-width: 0; }
.list-card .body strong { display: block; font-size: 16.5px; }
.booking-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.feed { background: var(--card, #fff); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.feed .ic { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--stone-2); display: grid; place-items: center; font-weight: 800; flex: none; color: var(--ink-2); }
.feed .body { flex: 1; }
.feed .body .t { font-size: 15.5px; }
.feed .ago { color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ---------- Admin ---------- */
.admin-shell { display: grid; grid-template-columns: 236px 1fr; min-height: calc(100vh - 64px); }
.admin-side { padding: 18px 14px; border-right: 1px solid var(--line); position: sticky; top: 64px; height: calc(100vh - 64px); overflow-y: auto; }
.admin-side a { display: flex; align-items: center; gap: 11px; color: var(--ink-2); text-decoration: none; padding: 11px 14px; border-radius: 14px; font-size: 15px; font-weight: 700; }
.admin-side a svg { width: 20px; height: 20px; flex: none; }
.admin-side a:hover { background: var(--stone); color: var(--ink); }
.admin-side a.on { background: var(--ink); color: #fff; }
.admin-side .sep { height: 1px; background: var(--line); margin: 12px 6px; }
.admin-main { padding: 26px 34px 70px; min-width: 0; max-width: 1180px; }
.admin-main h1 { font-size: 40px; }
@media (max-width: 1000px) { .admin-shell { grid-template-columns: 210px 1fr; } .admin-main { padding: 22px 24px 70px; } }
@media (max-width: 760px) {
  .admin-shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; }
  .admin-side { display: none; }
  .section-tabs { display: flex; }
  .admin-main { padding: 14px 16px calc(var(--bar-h) + 50px); }
  .admin-main h1 { font-size: 32px; }
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mini-table td { padding: 8px 0; border-bottom: 1px solid var(--stone-2); vertical-align: top; }
.mini-table td:first-child { color: var(--muted); width: 120px; font-weight: 600; }
.mini-table tr:last-child td { border-bottom: 0; }

/* ---------- Check-in ---------- */
.ci-head { position: sticky; top: 64px; z-index: 5; background: var(--paper); padding: 14px 0 12px; }
.ci-count { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ci-group { background: var(--stone); border-radius: var(--r-lg); margin: 10px 0; overflow: hidden; }
.ci-group .gh { padding: 12px 18px 0; font-size: 13px; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.ci-row + .ci-row { border-top: 1px solid var(--stone-2); }
.ci-row .nm { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.ci-btn { min-width: 132px; padding: 13px 16px; font: 800 15px var(--font); border-radius: 999px; border: 0; background: var(--card, #fff); color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.ci-btn.in { background: var(--green); color: #fff; box-shadow: none; }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .moment { min-height: 520px; border-radius: 24px; }
  .moment .inner { padding: 22px 20px 20px; }
  .clock { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .book { padding: 20px; border-radius: 24px; }
  .event-tile { grid-template-columns: 1fr 96px; }
  .event-tile .thumb { width: 96px; height: 96px; }
  .kpi .v { font-size: 38px; }
  .avatar { width: 66px; height: 66px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* Inputs sitting on a stone surface switch to white so they stay visible. */
.card :is(input, select, textarea):not([type=checkbox]):not([type=radio]),
.kpi :is(input, select, textarea) { background-color: #fff; }
.card input:focus, .card select:focus, .card textarea:focus { border-color: var(--ink); }
.card .btn.ghost, .list-card .btn.ghost, .feed .btn.ghost { background: var(--card, #fff); } .feed .btn.ghost { background: var(--stone); }
/* Event page body: details left, booking card right (stacked on phones). */
.event-body { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'info' 'tm' 'book' 'more'; column-gap: 40px; }
.event-body .tm-area { grid-area: tm; min-width: 0; }
.event-body .tm-area:empty { display: none; }
.event-body .info { grid-area: info; }
.event-body .more { grid-area: more; padding-bottom: 20px; }
.event-body .book-col { grid-area: book; scroll-margin-top: 80px; padding: 10px 0 20px; }
@media (min-width: 980px) {
  .event-body { grid-template-columns: minmax(0, 1fr) 430px; grid-template-areas: 'info book' 'tm book' 'more book'; grid-template-rows: auto auto 1fr; align-items: start; }
  .event-body .book-col { padding-top: 34px; }
}
@media (max-width: 760px) {
  body.tabbed { padding-bottom: calc(var(--bar-h) + 34px); }
  body.tabbed .site-foot { padding-bottom: 24px; }
  .list-card { flex-wrap: wrap; }
  .list-card .row { width: 100%; }
  .list-card .row .btn { flex: 1; }
}
.pay-box { min-height: 60px; }
/* Uploaded videos (often vertical) play at their own shape instead of a 16:9 box. */
dialog.player.native { width: auto; max-width: 94vw; overflow: visible; }
dialog.player .video.native { padding-top: 0; background: transparent; border-radius: var(--r-lg); }
dialog.player .video.native video { position: static; display: block; width: auto; max-width: 94vw; max-height: 82vh; border-radius: var(--r-lg); background: #000; }
/* Team free-seat link: urgency bar with a countdown to midnight. */
.offer-bar { background: var(--gold); color: #fff; position: sticky; top: 64px; z-index: 15; }
.offer-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; font-size: 15px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.offer-clock b { font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .02em; margin-left: 4px; }
@media (max-width: 520px) { .hide-xs { display: none; } .offer-bar .wrap { font-size: 14px; } }

/* Leaderboard */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-top: 18px; }
.podium .p { background: var(--stone); border-radius: var(--r-lg); padding: 18px 14px; text-align: center; }
.podium .p.first { background: var(--ink); color: #fff; padding-top: 26px; padding-bottom: 26px; }
.podium .rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 10px; font-weight: 800; background: var(--card, #fff); color: var(--ink); }
.podium .first .rank { background: var(--gold); color: #fff; }
.podium .nm { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.podium .num { font-size: 40px; font-weight: 800; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.podium .first .num { font-size: 52px; }
.podium .sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.podium .first .sub { color: #cfc9c0; }
.lb-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; background: var(--stone); border-radius: var(--r-lg); padding: 14px 18px; }
.lb-row .rank { font-weight: 800; color: var(--muted); text-align: center; }
.lb-row .nm { font-weight: 800; font-size: 16.5px; }
.lb-row .num { font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; text-align: right; }
.lb-row .num small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.today-dot { display: inline-block; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 800; border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 520px) { .podium { gap: 8px; } .podium .num { font-size: 30px; } .podium .first .num { font-size: 40px; } .podium .nm { font-size: 15px; } }
table.t .btn, table.t .pill { white-space: nowrap; } table.t td.nw { white-space: nowrap; }
/* Background video in the event card */
.moment video.bg { object-fit: cover; }

/* Single date summary in the booking card */
.when-card { display: flex; gap: 14px; align-items: center; background: var(--stone); border-radius: var(--r-lg); padding: 14px 16px; }
.when-day { width: 58px; height: 62px; background: var(--ink); color: #fff; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; }
.when-day span { font-size: 12px; font-weight: 700; color: #d6d2cb; }
.when-day b { font-size: 24px; line-height: 1; font-weight: 800; }

/* Testimonials carousel: each video keeps its own shape (9:16 stays 9:16, 16:9 stays wide) */
.tm-section .section-title { align-items: center; }
.tm-nav { display: flex; gap: 8px; }
.tm-arrow { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--stone); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px; }
.tm-arrow:hover { background: var(--stone-2); }
.tm-arrow[disabled] { opacity: .35; cursor: default; }
.tm-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; align-items: flex-start; }
.tm-track::-webkit-scrollbar { display: none; }
.tm { margin: 0; flex: none; scroll-snap-align: start; background: var(--stone); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.tm.tall { width: 300px; }
.tm.wide { width: min(560px, 86vw); }
.tm-media { position: relative; background: #000; }
.tm.tall .tm-media { aspect-ratio: 9 / 16; }
.tm.wide .tm-media { aspect-ratio: 16 / 9; }
.tm-media iframe, .tm-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.tm-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; border: 0; padding: 0 0 0 4px; display: grid; place-items: center; color: #1d1d1f; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.28); cursor: pointer; z-index: 2; transition: transform .15s, background .15s; }
.tm-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.tm-play[hidden] { display: none; }
.tm figcaption { padding: 12px 14px 14px; font-size: 14px; }
.tm figcaption p { margin: 0 0 6px; color: var(--ink-2); line-height: 1.45; }
.tm figcaption strong { font-size: 14px; }
.tm-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.tm-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--stone-2); transition: background .2s, width .2s; }
.tm-dots span.on { background: var(--ink); width: 20px; border-radius: 99px; }
@media (max-width: 700px) {
  .tm.tall { width: min(60vw, 300px); }
  .tm-nav { display: none; }
}
.step-label.mt { margin-top: 22px; }
.sms-box { margin-top: -6px; }
input[type=time] { width: 100%; padding: 14px 16px; border: 1.5px solid transparent; border-radius: var(--r-md); font: 500 16px var(--font); background: var(--card, #fff); color: var(--ink); }
input[type=time]:focus { outline: none; border-color: var(--ink); }
/* Collapsible event description */
.desc .clamp { max-height: 8.2em; overflow: hidden; position: relative; transition: max-height .3s ease; }
.desc .clamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.desc .clamp.open { max-height: none; }
.desc .clamp.open::after, .desc .clamp.short::after { display: none; }
.readmore { margin-top: 6px; background: var(--stone); color: var(--ink); border: 0; border-radius: 999px; padding: 10px 18px; font: 700 14.5px var(--font); cursor: pointer; }
.readmore:hover { background: var(--stone-2); }
.event-body .more > section:first-child .section-title { margin-top: 8px; }
/* Vimeo / YouTube playing behind the event card, cropped to fill it */
.moment .bg-frame { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.moment .bg-frame iframe { position: absolute; top: 50%; left: 50%; border: 0; transform: translate(-50%, -50%); width: 100%; height: 100%; }
/* Link preview mock (how a texted / shared link will look) */
.share-preview { background: var(--card, #fff); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); max-width: 420px; }
.share-preview .sp-img { aspect-ratio: 1200 / 630; background: var(--stone-2); display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.share-preview .sp-img img { width: 100%; height: 100%; object-fit: cover; }
.share-preview .sp-body { padding: 10px 14px 12px; background: var(--stone); }
.share-preview .sp-title { font-weight: 800; font-size: 14.5px; line-height: 1.3; }
.share-preview .sp-desc { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.share-preview .sp-host { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Admin uploads */
.up-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.up-row .btn svg, .spread .btn svg { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; }
.up-status { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.up-status.bad { color: var(--red); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.media-tile { background: var(--card, #fff); border: 1px solid var(--line, #e7e5e1); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.media-tile .mt-prev { aspect-ratio: 4 / 3; background: var(--stone-2); position: relative; overflow: hidden; }
.media-tile .mt-prev img, .media-tile .mt-prev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.media-tile .mt-prev video { object-fit: contain; }
.media-tile .mt-prev a { display: block; width: 100%; height: 100%; }
.media-tile .mt-body { padding: 12px 14px 14px; }
.media-tile .mt-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.report-box { background: var(--stone-2); border-radius: var(--r-md); padding: 14px 16px; }

/* Attendance goal: dates turn solid green once bookings reach the goal */
.goal-bar { position: relative; background: var(--card, #fff); overflow: visible; }
.goal-bar > span { border-radius: 99px; }
.goal-bar > i { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--ink); opacity: .35; border-radius: 2px; transform: translateX(-1px); }
.goal-hit { background: var(--green) !important; color: #fff; }
.goal-hit .muted, .goal-hit .tiny, .goal-hit .l { color: rgba(255,255,255,.82) !important; }
.goal-hit .when { background: rgba(255,255,255,.16); color: #fff; }
.goal-hit .when span { color: rgba(255,255,255,.8); }
.goal-hit .goal-bar { background: rgba(255,255,255,.25); }
.goal-hit .goal-bar > span { background: #fff; }
.goal-hit .goal-bar > i { background: #fff; opacity: .6; }
.goal-hit .btn.light, .goal-hit .btn.ghost { background: #fff; color: var(--ink); }
.goal-hit .btn:not(.light):not(.ghost) { background: var(--ink); color: #fff; }
.goal-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; }
.pill.green-solid { background: var(--green); color: #fff; }
.t tr.goal-row td { background: var(--green-soft); }

.or-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.or-line::before, .or-line::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* Profile photos */
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--stone-2); color: var(--ink-2); display: inline-grid; place-items: center; font-weight: 800; font-size: 14px; flex: none; overflow: hidden; }
.av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.av.sm { width: 34px; height: 34px; font-size: 12.5px; }
.av.lg { width: 64px; height: 64px; font-size: 22px; }
.who { display: flex; align-items: center; gap: 12px; }
.ci-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ci-who .av.sm { width: 40px; height: 40px; font-size: 14px; }
.avatar-btn { position: relative; border: 0; padding: 0; cursor: pointer; font-family: inherit; overflow: visible; }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.avatar-cam { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; border: 3px solid #fff; }
.avatar-cam svg { width: 15px; height: 15px; }
.photo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.v-dots { display: flex; gap: 6px; margin-top: 10px; }
.v-dots span { width: 22px; height: 8px; border-radius: 99px; background: var(--stone-2); }
.v-dots span.on { background: var(--green); }
.goal-hit .v-dots span { background: rgba(255,255,255,.3); } .goal-hit .v-dots span.on { background: #fff; }
.goal-hit .t { color: var(--ink); }

/* Crop window */
.crop-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(20,19,18,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.crop-panel { background: var(--card, #fff); border-radius: var(--r-lg); width: min(760px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.crop-head { padding: 16px 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.crop-stage { background: #1a1918; height: min(60vh, 480px); }
.crop-stage img { display: block; max-width: 100%; }
.crop-ratios { display: flex; gap: 6px; flex-wrap: wrap; padding: 12px 18px 0; }
.crop-ratios button { border: 0; background: var(--stone); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.crop-ratios button.on { background: var(--ink); color: #fff; }
.crop-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px 16px; flex-wrap: wrap; }
.crop-actions [data-act=ok] { min-width: 140px; }
@media (max-width: 520px) { .crop-actions .btn { flex: 1; } }
.event-tile .meta.loc { margin-top: 4px; font-weight: 500; }
.event-tile .meta.loc svg { width: 15px; height: 15px; flex: none; }
.event-tile .meta { white-space: nowrap; }
.event-tile .meta.loc span { overflow: hidden; text-overflow: ellipsis; }

.show-sm { display: none; }
@media (max-width: 640px) { .show-sm { display: block; } .hide-sm { display: none; } }
.bk-card .body span { display: block; }
.bk-card .body .row { display: flex; }

/* Saved cards at checkout */
.saved-cards { display: grid; gap: 8px; margin-bottom: 10px; }
.saved-card { display: grid; grid-template-columns: auto auto 1fr; align-items: center; column-gap: 10px; row-gap: 2px; background: var(--stone); border: 1.5px solid transparent; border-radius: var(--r-md); padding: 13px 15px; cursor: pointer; font-size: 15px; }
.saved-card:has(input:checked) { border-color: var(--ink); background: var(--card, #fff); }
.saved-card input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; grid-row: span 2; }
.saved-card .sc-brand { font-weight: 800; }
.saved-card .sc-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.saved-card .sc-meta { grid-column: 2 / -1; font-size: 13px; color: var(--muted); }
.pay-box[hidden] { display: none; }
.card-list .card-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--stone-2); }
.card-list .card-line:first-of-type { border-top: 0; }

/* Reviews */
.stars-input { border: 0; padding: 0; margin: 6px 0 0; display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { font-size: 44px; line-height: 1; color: var(--stone-2); cursor: pointer; transition: color .1s, transform .1s; }
.stars-input input:checked ~ label, .stars-input label:hover, .stars-input label:hover ~ label { color: var(--gold, #c9a45c); }
.stars-input input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.stars { color: var(--gold, #c9a45c); letter-spacing: 1px; }
.stars .off { color: var(--stone-2); }
.rv-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rv-avg { font-weight: 800; font-size: 15px; color: var(--ink-2); }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 82%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-card { scroll-snap-align: start; background: var(--stone); border-radius: var(--r-lg); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.rv-card blockquote { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.rv-card .who { gap: 10px; margin-top: auto; }
.rv-card .who strong { display: block; font-size: 14px; }
.rv-admin.is-featured { box-shadow: inset 4px 0 0 var(--green); }
.rv-admin.is-hidden { opacity: .6; }
.build-info { margin-top: 48px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Messages */
.on-tab { background: var(--ink) !important; color: #fff !important; }
.msg-row { justify-content: flex-start; }
.msg-row .av { width: 44px; height: 44px; }
.msg-row.unread { background: var(--card, #fff); box-shadow: inset 4px 0 0 var(--green), 0 0 0 1px var(--line); }
.msg-row .body strong { display: flex; align-items: center; gap: 8px; }
.msg-last { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.thread { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow-y: auto; background: var(--card, #fff); border: 1px solid var(--line); }
.msg-day { align-self: center; font-size: 12px; font-weight: 700; color: var(--muted); margin: 10px 0 4px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.4; }
.bubble.in { align-self: flex-start; background: var(--stone); border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble .b-text { white-space: pre-wrap; word-wrap: break-word; }
.bubble .b-meta { font-size: 11px; opacity: .6; margin-top: 3px; text-align: right; }
.reply-box { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; position: sticky; bottom: calc(var(--bar-h, 0px) + 12px); background: var(--card, #fff); padding: 10px; border-radius: var(--r-lg); box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.reply-box textarea { flex: 1; resize: vertical; min-height: 48px; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #d93a2b; color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; line-height: 1; }
.nav-badge[hidden], .tab-dot[hidden] { display: none; }
header .nav-badge { margin-left: 6px; vertical-align: 1px; }
.admin-side a.on .nav-badge { background: var(--card, #fff); color: #d93a2b; }
.tab-dot { position: absolute; top: 6px; right: calc(50% - 16px); width: 10px; height: 10px; border-radius: 50%; background: #d93a2b; border: 2px solid #fff; }
.card.goal-hit svg { width: 18px; height: 18px; vertical-align: -3px; }
a.card.goal-hit { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: #fff; }
a.card.goal-hit strong { color: #fff; }
.ph-list { display: flex; flex-wrap: wrap; gap: 6px; }
.ph-chip { border: 0; background: var(--card, #fff); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.ph-chip span { font-weight: 500; font-size: 11.5px; color: var(--muted); }
.tpl textarea { background: var(--card, #fff); }
.tpl-preview { margin-top: 10px; display: flex; flex-direction: column; align-items: flex-end; }
.tpl-preview .bubble { max-width: 92%; }

/* Grouped admin menu */
.admin-side .side-group, .sheet .side-group { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 16px 14px 6px; }
.admin-side .side-group:first-child { padding-top: 4px; }
.admin-side a { padding: 9px 14px; }
.section-tabs { display: none; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: -4px -16px 14px; padding: 0 16px 2px; }
.section-tabs::-webkit-scrollbar { display: none; }
.section-tabs a { flex: none; white-space: nowrap; text-decoration: none; color: var(--ink-2); background: var(--stone); border-radius: 999px; padding: 9px 15px; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.section-tabs a.on { background: var(--ink); color: #fff; }
.section-tabs .nav-badge { margin-left: 2px; }
.tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; font: inherit; color: var(--ink-2); font-size: 12px; font-weight: 700; border-radius: 999px; cursor: pointer; padding: 0; }
.tabbar button.on { background: var(--stone-2); color: var(--ink); }
.tabbar button svg { width: 24px; height: 24px; }
/* Bottom sheet */
dialog.sheet { border: 0; padding: calc(10px + env(safe-area-inset-top)) 16px 18px; margin: 0 auto auto; width: 100%; max-width: 560px; max-height: 88vh; border-radius: 0 0 24px 24px; background: var(--card, #fff); box-shadow: 0 12px 40px rgba(0,0,0,.18); }
dialog.sheet::backdrop { background: rgba(20,19,18,.45); }
dialog.sheet[open] { animation: sheet-up .22s ease-out; }
@keyframes sheet-up { from { transform: translateY(-40px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-grip { width: 40px; height: 5px; border-radius: 99px; background: var(--stone-2); margin: 2px auto 4px; }
.sheet .side-group { padding: 14px 4px 6px; }
.sheet-find { position: sticky; top: calc(-10px - env(safe-area-inset-top)); z-index: 2; display: flex; align-items: center; gap: 8px; background: var(--card, #fff); padding: 8px 0 4px; }
.sheet-find svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.sheet-find input { width: 100%; font-size: 16px; padding: 12px 14px 12px 40px; border-radius: 14px; border: 1px solid var(--line); background: var(--stone); color: var(--ink); }
.sheet-find input:focus { outline: 2px solid var(--ink); outline-offset: 0; background: var(--card, #fff); }
.sheet-grid a[hidden], .sheet [data-sf-group][hidden], .sheet-grid[hidden] { display: none; }
.sheet-grid a.sf-first { box-shadow: 0 0 0 2px var(--ink) inset; }
.linkish { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; font: inherit; cursor: pointer; }
.sheet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sheet-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--ink); background: var(--stone); border-radius: 16px; padding: 12px 6px; font-size: 12.5px; font-weight: 700; }
.sheet-grid a.on { background: var(--ink); color: #fff; }
.sheet-grid svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .section-tabs { display: flex; } }

/* Today dashboard */
.today-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.today-grid > .todo:only-child { grid-column: 1 / -1; }
@media (max-width: 1000px) { .today-grid { grid-template-columns: 1fr; } }
.next-card { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 22px 22px 20px; }
.next-card .kicker { font-size: 13px; font-weight: 800; color: #d6d2cb; letter-spacing: .02em; }
.next-card h2 { color: #fff; margin: 6px 0 2px; font-size: 26px; line-height: 1.15; }
.next-card .nc-when { color: #d6d2cb; font-weight: 600; }
.nc-stats { display: flex; gap: 22px; flex-wrap: wrap; margin: 18px 0 12px; }
.nc-stats b { display: block; font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.nc-stats span { font-size: 13px; color: #b3aea6; }
.nc-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); }
.nc-bar span { display: block; height: 100%; border-radius: 99px; background: #fff; }
.nc-bar i { position: absolute; top: -4px; width: 2px; height: 16px; background: #fff; opacity: .55; transform: translateX(-1px); }
.next-card.is-hit .nc-bar span { background: #6fd39a; }
.nc-actions { margin-top: 18px; gap: 8px; }
.btn.ghost-dark { background: rgba(255,255,255,.12); color: #fff; }
.btn.ghost-dark:hover { background: rgba(255,255,255,.2); }
.todo { padding: 18px; }
.todo-item { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--stone-2); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.todo-item:first-of-type { border-top: 0; }
.todo-item .ti-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--card, #fff); display: grid; place-items: center; flex: none; }
.todo-item .ti-ic svg { width: 18px; height: 18px; }
.todo-item.green .ti-ic { background: var(--green-soft); color: var(--green); }
.todo-item.red .ti-ic { background: var(--red-soft); color: var(--red); }
.todo-item.gold .ti-ic { background: var(--gold-soft); color: #7a5c27; }
.todo-item .ti-text { flex: 1; }
.todo-item .ti-act { font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.todo-item:hover .ti-act { text-decoration: underline; }

/* Global search */
.side-search { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid var(--line); background: var(--card, #fff); border-radius: 12px; padding: 9px 12px; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; margin-bottom: 4px; }
.side-search svg, .mobile-search svg, .sd-box svg { width: 18px; height: 18px; flex: none; }
.side-search span { flex: 1; text-align: left; }
.side-search kbd { font: inherit; font-size: 11.5px; background: var(--stone); border-radius: 6px; padding: 2px 6px; }
.mobile-search { display: none; align-items: center; gap: 10px; width: 100%; border: 0; background: var(--stone); border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 15px; color: var(--muted); margin-bottom: 12px; cursor: pointer; }
@media (max-width: 760px) { .mobile-search { display: flex; margin-bottom: 22px; } }
dialog.search-dialog { border: 0; padding: 0; width: min(640px, calc(100% - 24px)); margin: 10vh auto auto; border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.28); overflow: hidden; }
dialog.search-dialog::backdrop { background: rgba(20,19,18,.45); }
.sd-box { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.sd-box input { flex: 1; border: 0 !important; background: transparent !important; font-size: 17px; padding: 4px 0 !important; box-shadow: none !important; outline: none; }
.sd-results { max-height: 60vh; overflow-y: auto; padding: 6px; }
.sd-group { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 10px 4px; }
.sd-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sd-item.sel, .sd-item:hover { background: var(--stone); }
.sd-item .sd-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--stone-2); display: grid; place-items: center; flex: none; font-size: 12.5px; font-weight: 800; overflow: hidden; }
.sd-item .sd-ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.sd-item .sd-ic svg { width: 17px; height: 17px; }
.sd-item strong { display: block; font-size: 15px; }
.sd-item span.sub { display: block; font-size: 12.5px; color: var(--muted); }
.sd-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }

/* Guest profile */
.av.xl { width: 84px; height: 84px; font-size: 28px; }
.profile-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.quick-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.qa { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; padding: 10px 8px; border-radius: 16px; background: var(--stone); color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 700; }
.qa svg { width: 20px; height: 20px; }
.qa:hover { background: var(--stone-2); }
.qa.hot { background: var(--green); color: #fff; }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .profile-grid { grid-template-columns: minmax(0, 1fr); } }
/* Long addresses, card IDs, links and plan names wrap instead of widening the page on phones. */
.profile-grid > * { min-width: 0; } .pg-main, .profile-grid .card { overflow-wrap: anywhere; }
.section-title { flex-wrap: wrap; gap: 4px 12px; }
.thread-sm { max-height: 340px; border: 0; padding: 0; background: transparent; }
@media (max-width: 640px) { .quick-actions { width: 100%; } .qa { flex: 1; min-width: 0; } }

/* Event editor tabs + sticky save bar */
.ev-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px 0 6px; border-bottom: 1px solid var(--line); }
.ev-tabs::-webkit-scrollbar { display: none; }
.ev-tabs button { flex: none; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--muted); padding: 10px 14px 12px; border-bottom: 2.5px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.ev-tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel[hidden] { display: none !important; }
.tab-panel { padding-top: 12px; }
.save-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: 18px -12px 0; padding: 12px; background: var(--glass, rgba(255,255,255,.94)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.save-bar[hidden] { display: none; }
.sb-msg { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.sb-msg.dirty { color: #b26a00; }
@media (max-width: 760px) { .save-bar { bottom: calc(var(--bar-h) + 22px + env(safe-area-inset-bottom)); margin: 18px 0 0; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.08); } }
.picked { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card, #fff); border-radius: var(--r-md); padding: 12px 14px; border: 1.5px solid var(--ink); }
.nb-results { display: grid; gap: 6px; }
.nb-results button { display: flex; align-items: center; gap: 10px; text-align: left; border: 0; background: var(--card, #fff); border-radius: 12px; padding: 9px 12px; font: inherit; cursor: pointer; }
.nb-results button:hover { background: var(--stone-2); }
.nb-results .tiny { display: block; }
.pay-choice { display: grid; gap: 8px; }
.saved-card[hidden], .picked[hidden], [hidden].pay-box { display: none !important; }
#nb-form h3 { margin: 26px 0 10px; }
#nb-form h3:first-of-type { margin-top: 0; }
.set-card { max-width: 860px; }
.set-card h3 { margin-top: 0; }
.set-card input, .set-card select { background: var(--card, #fff); }
.conn { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--stone-2); font-weight: 600; }
.conn:first-of-type { border-top: 0; }
.hide-sm { } @media (max-width: 640px) { .tablewrap.hide-sm { display: none; } }

/* Tables become stacked cards on phones (table.t.rt; labels come from the header row) */
@media (max-width: 640px) {
  .tablewrap:has(> table.rt) { border: 0; background: transparent; overflow: visible; }
  table.rt, table.rt tbody { display: block; background: transparent; }
  table.rt tr:has(> th) { display: none; }
  table.rt tr { display: block; background: var(--stone); border-radius: var(--r-lg); padding: 12px 14px; margin-bottom: 10px; }
  table.rt td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 5px 0; border: 0 !important; text-align: right; font-size: 14px; }
  table.rt td::before { content: attr(data-label); font-size: 12.5px; font-weight: 700; color: var(--muted); text-align: left; flex: none; }
  table.rt td:first-child { display: block; text-align: left; padding: 0 0 6px; font-size: 15px; }
  table.rt td:first-child::before { content: none; }
  table.rt td:empty, table.rt td.rt-empty { display: none; }
  table.rt td.right, table.rt td:last-child:not([data-label]) { justify-content: flex-start; }
  table.rt td[colspan] { display: block; text-align: left; }
  table.rt td[colspan]::before { content: none; }
}
/* QR scan check-in */
.scan-card { border: 3px solid transparent; }
.scan-card.done { border-color: var(--green); }
.scan-card.bad { border-color: var(--red); }
.scan-event { margin: 16px 0 8px; font-size: 15px; }
.scan-event .warn { color: var(--red); font-weight: 800; }
.scan-list .ci-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--stone-2); }
.scan-list .nm { font-weight: 700; }
.scan-ok { text-align: center; font-weight: 800; color: var(--green); font-size: 20px; margin: 14px 0 0; }
.qr-card { display: flex; align-items: center; gap: 16px; }
.qr-card img { width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 6px; flex: none; }

/* Stats charts (validated pair: series-1 blue, series-2 orange) */
:root { --series-1: #2a78d6; --series-2: #eb6834; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chart-card.wide { grid-column: 1 / -1; }
@media (max-width: 900px) { .chart-grid { grid-template-columns: 1fr; } }
.chart-card { background: var(--card, #fff); border: 1px solid var(--line); }
.chart-card h3 { margin: 0 0 4px; font-size: 17px; }
.legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 12px; }
.legend.single { color: var(--muted); font-weight: 500; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.vchart { position: relative; display: grid; grid-template-columns: 34px 1fr; height: 210px; }
.vgrid { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--muted); padding-bottom: 22px; text-align: right; padding-right: 6px; }
.vcols { position: relative; display: flex; align-items: stretch; gap: 4px; border-bottom: 1px solid var(--line); background: linear-gradient(var(--stone-2) 1px, transparent 1px) 0 0 / 100% 50% ; margin-bottom: 22px; }
.vcol { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; outline: none; cursor: default; }
.vbars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.vbars i { display: block; width: min(14px, 40%); border-radius: 4px 4px 0 0; min-height: 1px; }
.vbars i.solo { width: min(22px, 70%); }
.vbars .b1, .hbars .b1 { background: var(--series-1); }
.vbars .b2, .hbars .b2 { background: var(--series-2); }
.vlab { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.vcols .vcol:nth-child(even) .vlab { visibility: var(--odd-labels, visible); }
.tip { display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; line-height: 1.4; padding: 8px 10px; border-radius: 10px; white-space: nowrap; z-index: 5; pointer-events: none; }
.vcol:hover .tip, .vcol:focus .tip { display: block; }
.vcol:hover .vbars i, .vcol:focus .vbars i { filter: brightness(1.08); }
.vcol:first-child .tip { left: 0; transform: none; }
.vcol:last-child .tip { left: auto; right: 0; transform: none; }
.hchart { display: grid; gap: 10px; }
.hrow { display: grid; grid-template-columns: 90px 1fr 54px; align-items: center; gap: 10px; outline: none; }
.hname { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbars { display: grid; gap: 2px; }
.hbars i { display: block; height: 9px; border-radius: 0 4px 4px 0; min-width: 2px; }
.hval { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 640px) { .vcols { --odd-labels: hidden; } .vchart { height: 180px; } }

/* Toasts */
.toast { position: fixed; z-index: 60; left: 50%; top: 76px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 12px 12px 16px; border-radius: 999px; box-shadow: 0 12px 34px rgba(0,0,0,.22); font-size: 14.5px; font-weight: 700; max-width: min(560px, calc(100% - 32px)); animation: toast-in .25s ease-out; transition: opacity .3s, transform .3s; }
.toast svg { width: 18px; height: 18px; color: #6fd39a; flex: none; }
.toast button { background: none; border: 0; color: #b3aea6; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
.toast.out { opacity: 0; transform: translate(-50%, -8px); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, -10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 760px) { .toast { top: auto; bottom: calc(var(--bar-h) + 30px + env(safe-area-inset-bottom)); border-radius: 18px; } }
/* On/off switches */
.switch { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 2px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.switch .knob { position: relative; width: 38px; height: 22px; border-radius: 99px; background: var(--stone-2); transition: background .15s; flex: none; }
.switch .knob::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.switch.on { color: var(--ink); }
.switch.on .knob { background: var(--green); }
.switch.on .knob::after { left: 19px; }
table.kv { table-layout: fixed; width: 100%; }
table.kv td:first-child { width: 96px; }
table.kv td { overflow-wrap: anywhere; vertical-align: top; }

/* Booking source chips: code → code page, referrer → their profile. Cards stay clickable via a stretched link. */
.src-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.src-chips a.pill { text-decoration: none; }
.src-chips a.pill:hover { filter: brightness(.95); text-decoration: underline; }
.src-chips .pill svg { width: 13px; height: 13px; }
.list-card.linked { position: relative; }
.list-card.linked a.stretch { color: inherit; text-decoration: none; }
.list-card.linked a.stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.list-card.linked .src-chips a { position: relative; z-index: 1; }
.mt-xs { margin-top: 6px; }

/* Team hub */
.seg { display: inline-flex; background: var(--stone); border-radius: 999px; padding: 4px; gap: 2px; }
.seg a { padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.seg a.on { background: var(--card, #fff); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.team .claim select { flex: 1; min-width: 0; }
.me-strip { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.me-rank { display: flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 16px 18px; text-decoration: none; }
.me-rank .big { font-size: 34px; font-weight: 800; line-height: 1; }
.me-rank .small { color: rgba(255,255,255,.8); line-height: 1.35; }
.me-rank strong { color: #fff; }
.me-code { background: var(--stone); border-radius: var(--r-lg); padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; }
.me-code strong { font-size: 20px; letter-spacing: .02em; }
.me-code form { margin: 2px 0 0; } .me-code .linkbtn { padding: 0; font-size: 12px; color: var(--muted); }
.ev-link { padding: 16px; }
.ev-top { display: flex; gap: 14px; align-items: center; }
.ev-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; background: var(--stone-2); }
.ev-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ev-meta strong { font-size: 17px; }
.countdown { font-weight: 800; font-size: 14px; color: var(--green); }
.ev-linkrow { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.ev-linkrow input { flex: 1; min-width: 0; background: var(--card, #fff); font-size: 14px; padding: 10px 12px; }
.ev-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ev-foot .right { margin-left: auto; }
.lb-row.me { outline: 2px solid var(--gold, #b8954a); outline-offset: -2px; }
.podium .p.me { box-shadow: 0 0 0 2px var(--gold, #b8954a) inset; }
.team details.everyone summary { cursor: pointer; }
@media (max-width: 560px) {
  .me-rank { padding: 14px; gap: 10px; } .me-rank .big { font-size: 28px; }
  .me-code { padding: 12px 14px; } .me-code strong { font-size: 17px; }
  .ev-linkrow { flex-wrap: wrap; }
  .ev-linkrow input { flex-basis: 100%; }
  .ev-linkrow .btn { flex: 1; }
}

.ev-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.ev-pick legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.ev-pick .check { display: flex; margin: 4px 0; font-size: 14px; }

/* Media tiles (event form): thumbnails, tap to preview, drag to reorder */
/* Editor media lists scroll sideways (a carousel) so long lists don't run down the page. */
.media-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; grid-template-rows: auto; gap: 10px; margin: 8px 0 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.media-tiles > * { scroll-snap-align: start; }
.media-tiles.with-captions { grid-auto-columns: 168px; }
.media-tiles.single { grid-template-columns: 120px; margin-top: 8px; }
.media-tiles .mt-empty { grid-column: auto; width: max-content; margin: 4px 0; }
.mt-tile { position: relative; background: var(--card, #fff); border-radius: 14px; padding: 6px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.mt-thumb { position: relative; display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: #1f1f1f; cursor: pointer; touch-action: manipulation; }
.with-captions .mt-thumb { aspect-ratio: 9 / 12; }
.mt-thumb img, .mt-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.mt-blank { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 12px; font-weight: 700; }
.mt-play { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.mt-play svg { width: 18px; height: 18px; margin-left: 2px; }
.mt-badge { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.mt-handle { position: absolute; top: 10px; left: 10px; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: grab; }
.mt-handle svg { width: 16px; height: 16px; fill: #555; }
.mt-remove { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 18px; line-height: 1; cursor: pointer; color: #333; }
.single .mt-handle, .single .mt-remove { display: none; }
.mt-tile input[data-f] { font-size: 13px; padding: 7px 9px; background: var(--stone); border-radius: 8px; }
.mt-ghost { opacity: .35; }
.sortable-chosen .mt-thumb { box-shadow: 0 0 0 3px var(--gold, #b8954a); }
.media-tools { display: flex; gap: 8px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.media-tools input { flex: 1; min-width: 180px; background: var(--card, #fff); font-size: 14px; padding: 9px 11px; }
dialog.media-viewer { border: 0; padding: 0; background: transparent; max-width: min(96vw, 900px); width: 100%; }
dialog.media-viewer::backdrop { background: rgba(0,0,0,.85); }
.media-viewer .mv-body { display: grid; place-items: center; }
.media-viewer img, .media-viewer video { max-width: 100%; max-height: 82vh; border-radius: 12px; display: block; }
.media-viewer iframe { width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; border: 0; border-radius: 12px; background: #000; }
.media-viewer .mv-close { position: fixed; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--card, #fff); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.mt-drag { opacity: .9; transform: rotate(2deg); }
.media-viewer video { width: 100%; background: #000; }
.mt-blank { place-items: end center; padding-bottom: 10px; }

.photo-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; text-align: left; }
.photo-card .pc-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.photo-card .pc-row form { margin: 0; }

/* Social links on a member's admin profile */
.social-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.social-links a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--stone); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-links a:hover { background: var(--stone-2); }
.social-links .sl-k { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 560px) { .socials-grid { grid-template-columns: 1fr 1fr; } }

/* "Preview my profile" sheet on the account page */
.profile-preview .pp-card { background: var(--stone); border-radius: var(--r-lg); padding: 22px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.profile-preview .pp-card h2 { margin: 8px 0 0; font-size: 24px; }
.profile-preview .pp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin: 12px 0 6px; }
.profile-preview .pp-stats div { background: var(--card, #fff); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; }
.profile-preview .pp-stats strong { font-size: 20px; }
.profile-preview .pp-stats span { font-size: 12px; color: var(--muted); }
.social-links.center { justify-content: center; }
.btn.block { width: 100%; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--stone-2); margin: 2px auto 6px; }
.profile-preview .social-links a { background: var(--card, #fff); }

/* ===== Content Days ===== */
sup.tm, .cd-page sup { font-size: .45em; vertical-align: super; font-weight: 700; }
.cd-filters { padding: 14px 18px; }
.cd-filters summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.cd-filters summary::-webkit-details-marker { display: none; }
.cd-filters summary::after { content: '▾'; margin-left: 8px; color: var(--muted); }
.cd-filters details[open] summary::after { content: '▴'; }
.cd-filters summary .muted { margin-left: auto; }
.cd-filters input, .cd-filters select { background: var(--card, #fff); }
.cd-filters .span2 { grid-column: span 2; }
.cd-filter-actions { display: flex; gap: 8px; align-items: flex-end; }
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; padding-bottom: 30px; }
.cd-card { display: flex; flex-direction: column; background: var(--stone); border-radius: var(--r-lg); overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.cd-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.cd-photo { position: relative; aspect-ratio: 4 / 3; background: var(--stone-2); }
.cd-photo img, .cd-photo .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-badge { position: absolute; top: 12px; left: 12px; background: rgba(20,19,18,.82); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.cd-badge + .cd-badge { left: auto; right: 12px; }
.cd-badge.s-active { background: #1f7a4d; } .cd-badge.s-coming_soon { background: #b8862f; } .cd-badge.s-off_market { background: #3a3734; }
.cd-badge.members, .cd-badge.premium { background: var(--card, #fff); color: var(--ink); }
.cd-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cd-body h3 { margin: 2px 0 0; font-size: 19px; line-height: 1.25; }
.cd-date { font-size: 13px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .02em; }
.cd-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.cd-meta strong { font-size: 17px; color: var(--ink); }
.cd-meta.big strong { font-size: 24px; }
.cd-foot { margin-top: auto; padding-top: 10px; }
.cd-promo .thumb.ph { background: var(--ink); color: #fff; font-weight: 800; }

.cd-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 8px; }
.cd-hero-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--stone-2); }
.cd-hero-photo img, .cd-hero-photo .ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }
.cd-badges .cd-badge { position: static; }
.cd-watch { position: absolute; left: 14px; bottom: 14px; }
.cd-hero-info h1 { margin: 6px 0 4px; font-size: clamp(28px, 4vw, 42px); line-height: 1.08; }
.cd-hero-info .kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.cd-price { padding: 16px 18px; }
.cd-price-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 15px; }
.cd-price-row .strike { text-decoration: line-through; color: var(--muted); }
.cd-price-row.total { font-weight: 800; font-size: 20px; border-top: 1px solid var(--stone-2); margin-top: 6px; padding-top: 10px; }
.cd-where { display: flex; gap: 10px; align-items: flex-start; }
.sponsor-strip { display: grid; gap: 10px; }
.sponsor { display: flex; gap: 14px; align-items: center; background: var(--stone); border-radius: 18px; padding: 14px 16px; color: inherit; text-decoration: none; }
.sponsor img { width: 56px; height: 56px; object-fit: contain; background: var(--card, #fff); border-radius: 12px; padding: 6px; flex: none; }
.sponsor > span { display: flex; flex-direction: column; min-width: 0; }
.sponsor strong { font-size: 16px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot span { display: block; text-align: center; padding: 11px 4px; border-radius: 12px; background: var(--stone); font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; }
.slot input:checked + span { background: var(--ink); color: #fff; }
.slot input:focus-visible + span { border-color: var(--ink); }
.slot.off span { background: transparent; color: #b9b4ad; text-decoration: line-through; cursor: not-allowed; border: 1.5px dashed var(--stone-2); }
.slot.mine span { border-color: var(--green); }
.cd-note { background: var(--green-soft); color: #134d31; border-radius: 14px; padding: 12px 14px; font-size: 14px; margin: 8px 0 12px; }
.cd-note a { color: inherit; font-weight: 700; }
.summary .line.sponsor span:first-child { color: var(--green); font-weight: 600; }
@media (min-width: 980px) {
  .cd-hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 640px) {
  .cd-filters .grid.g4 { grid-template-columns: 1fr 1fr; }
  .cd-filters .span2 { grid-column: span 2; }
  .cd-hero-photo { border-radius: 20px; aspect-ratio: 4 / 3; }
}
.cd-bar { width: 90px; height: 6px; border-radius: 99px; background: var(--card, #fff); margin-top: 6px; overflow: hidden; } .cd-bar span { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.plan-row { padding: 14px 18px; }
.plan-row.on { box-shadow: inset 0 0 0 2px var(--ink); }
.plan-head { align-items: flex-start; }
.plan-body { margin-top: 12px; }
.plan-body input, .plan-body select, .plan-body textarea { background: var(--card, #fff); }

.ci-voucher { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--gold-soft); border-radius: 12px; padding: 10px 12px; margin: 0 0 8px; font-size: 14px; }
.ci-voucher form { margin: 0; }
.ci-voucher > span { flex: 1 1 160px; }
.member-card .kpi { background: var(--card, #fff); }
.list-card.cur { box-shadow: inset 0 0 0 2px var(--ink); }
.cd-price-row span:last-child, .summary .line span:last-child { white-space: nowrap; }
@media (min-width: 980px) {
  .cd-hero { align-items: stretch; }
  .cd-hero-photo { aspect-ratio: auto; min-height: 380px; height: 100%; }
}
@media (min-width: 700px) { .grid > .span2 { grid-column: span 2; } }
.cd-filters .grid > * { min-width: 0; } .cd-filters input, .cd-filters select { min-width: 0; width: 100%; }
@media (max-width: 640px) { .cd-filter-actions { grid-column: 1 / -1; } .cd-filter-actions .btn { flex: 1; } }

.annual-pitch { background: var(--ink); color: #fff; border-radius: 20px; padding: 18px; margin-bottom: 18px; }
.annual-pitch h3 { margin: 6px 0; color: #fff; font-size: 19px; }
.annual-pitch p { color: rgba(255,255,255,.8); }
.summary:empty { display: none; }
.cd-badge.type { left: auto; right: 12px; background: var(--card, #fff); color: var(--ink); }
.cd-badges .cd-badge.type { position: static; }
.cd-badge.t-ultra { background: #141312; color: #e9d29a; } .cd-badge.t-luxe { background: var(--card, #fff); color: var(--ink); } .cd-badge.t-premium { background: #e9e5dc; color: var(--ink); }
.type-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tchip input { position: absolute; opacity: 0; pointer-events: none; }
.tchip span { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--card, #fff); font-weight: 700; font-size: 14px; cursor: pointer; border: 1.5px solid transparent; }
.tchip input:checked + span { background: var(--ink); color: #fff; }
.tchip input:focus-visible + span { border-color: var(--ink); }
.ultra-box { background: var(--card, #fff); border-radius: 16px; padding: 14px 16px; } .ultra-box select, .ultra-box input { background: var(--stone); }

.role-key { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 16px; }
.role-key > div { background: var(--stone); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.sponsor-page .copy-row input { background: #fff; color: var(--ink); }
.tchip { position: relative; } .pill.wrap { white-space: normal; }

/* Content Day publishing + house stats */
.pub-pick .check { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.pub-when { margin: 4px 0 10px 26px; }
.house-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.house-stats div { background: #faf6ee; border-radius: 12px; padding: 10px 12px; }
.house-stats b { display: block; font-size: 20px; }
.house-stats span { font-size: 12px; color: #777; }
@media (max-width: 560px) { .pub-when { margin-left: 0; } }

/* Member portal: badges, next steps, wallet, alerts, library */
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: #f3f2ef; font-size: 12.5px; font-weight: 700; }
.badge-chip.dark { background: #1a1918; color: #fff; }
.badge-chip.gold { background: #f6ecd6; color: #7a5a1c; }
.badge-chip.red { background: #fde8e4; color: #a33a26; }
.badge-chip.blue { background: #e6eefb; color: #2b4f8a; }
.next-steps .ns-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #eee9e1; color: inherit; text-decoration: none; }
.next-steps .ns-row:first-of-type { border-top: 0; }
.next-steps .ns-row div { display: flex; flex-direction: column; min-width: 0; }
.next-steps .ns-row .btn { flex: none; }
.notice { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #faf6ee; border-radius: 14px; padding: 10px 12px; font-size: 14px; }
.alert-chip { display: inline-flex; align-items: center; gap: 6px; background: #f3f2ef; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; font-weight: 600; }
.alert-chip button { border: 0; background: var(--card, #fff); border-radius: 999px; width: 22px; height: 22px; cursor: pointer; font-size: 15px; line-height: 1; }
.lib-items { display: flex; flex-direction: column; gap: 10px; }
.lib-item { background: #faf8f4; border-radius: 14px; padding: 10px 12px; }
.lib-link { color: inherit; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.caption-box { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.caption-box textarea { width: 100%; font-size: 13px; background: var(--card, #fff); }
.script-line { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid #eee9e1; font-size: 14.5px; }
.script-line span { min-width: 0; }
.mt0 { margin-top: 0; }
/* Leaderboard + portfolio */
.lb-rank { width: 34px; height: 34px; border-radius: 999px; background: #f3f2ef; display: grid; place-items: center; font-weight: 800; flex: none; }
.lb-rank.top { background: #1a1918; color: #fff; }
.list-card.cur { outline: 2px solid #c9a35a; }
.pf-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.pf-stats div { background: #f3f2ef; border-radius: 18px; padding: 14px 18px; min-width: 140px; }
.pf-stats b { display: block; font-size: 26px; letter-spacing: -0.02em; }
.pf-stats span { font-size: 13px; color: #6e6a64; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pf-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 14; background: #1a1918; color: #fff; text-decoration: none; display: block; }
.pf-card img { width: 100%; height: 100%; object-fit: cover; }
.pf-ph { display: grid; place-items: center; height: 100%; font-size: 40px; }
.pf-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; flex-direction: column; }
.pf-quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pf-quotes blockquote { margin: 6px 0 10px; font-size: 15.5px; }
.pf-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pf-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }

/* In-checkout membership offers */
.cd-offers { margin: 4px 0 16px; }
.cd-offers .offer { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid #e4e1db; border-radius: 16px; margin-bottom: 8px; cursor: pointer; background: var(--card, #fff); }
.cd-offers .offer.on { border-color: #1a1918; background: #faf6ee; }
.cd-offers .offer input { flex: none; }
.cd-offers .of-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cd-offers .of-price { font-weight: 800; white-space: nowrap; }
.cd-offers .offer.plain { padding: 9px 14px; }
.summary .line.info span:last-child { font-size: 13px; color: #6e6a64; font-weight: 600; }
.upsell { border: 1.5px solid #e9dcc0; }
.ci-meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
.ci-meta .badge-chip { font-size: 11.5px; padding: 3px 9px; }

.kw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.kw input { position: absolute; opacity: 0; pointer-events: none; }
.kw span { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #f3f2ef; font-size: 13px; font-weight: 600; cursor: pointer; }
.kw input:checked + span { background: #1a1918; color: #fff; }
.kw { position: relative; }
.google-box { background: #faf6ee; border-radius: 18px; padding: 16px; }
.google-box textarea { width: 100%; background: var(--card, #fff); font-size: 14px; }
.lines-box { background: #faf6ee; border-radius: 18px; padding: 14px 16px; margin: 0 0 14px; }
.script-line.spare span { color: #6e6a64; }
.ci-lines { background: var(--card, #fff); border-radius: 12px; padding: 8px 10px; margin: 0 0 8px; }

.media-strip { display: flex; flex-wrap: wrap; gap: 6px; }
.ms-item { position: relative; }
.ms-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; display: block; }
.ms-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 999px; border: 0; background: #1a1918; color: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.gal-item { position: relative; }
.gal-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.gal-fav { position: absolute; bottom: 6px; right: 6px; width: 30px; height: 30px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); font-size: 15px; cursor: pointer; }
.gal-fav.on { color: #c0392b; }
.reel { background: #faf8f4; border-radius: 14px; padding: 10px; margin-top: 10px; }
.reel video { width: 100%; max-height: 520px; border-radius: 12px; background: #000; }

/* Content Day™ page: offer, first-time free, fee line, drive time, phone-first */
.offer-card { margin-bottom: 14px; }
.offer-list { margin: 0; padding-left: 0; list-style: none; }
.offer-list li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid #eee9e1; }
.offer-list li:first-child { border-top: 0; }
.offer-list li::before { content: '✓'; position: absolute; left: 4px; top: 7px; font-weight: 800; color: #8a6a35; }
.ft-free { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #1a1918; color: #fff; border-radius: 14px; padding: 10px 12px; margin: 10px 0 8px; }
.ft-tag { background: #c9a35a; color: #1a1918; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 999px; }
.fee-line { margin-top: 8px; color: #6e6a64; }
.trip-box input { min-width: 0; flex: 1; }
.trip-leave { background: #eef4ec; border-radius: 12px; padding: 8px 12px; margin-top: 10px; }
.welcome-back { background: #faf6ee; border-radius: 14px; padding: 10px 12px; margin: 0 0 12px; font-size: 14.5px; }
.summary .line { gap: 12px; }
.summary .line span:first-child { min-width: 0; flex: 1; }
.summary .line span:last-child { flex: none; text-align: right; }

.terms-block { background: var(--card, #fff); border: 1.5px solid #e4e1db; border-radius: 16px; padding: 14px 16px; }
.terms-block h3 { margin: 0 0 6px; font-size: 16px; }
.terms-block p { font-size: 14px; color: #3a3734; margin: 0 0 10px; }

.sp-people { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.sp-person { display: flex; align-items: center; gap: 8px; background: var(--card, #fff); border-radius: 999px; padding: 4px 12px 4px 4px; color: inherit; text-decoration: none; }
.sp-person span { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; }
.partner-card { display: flex; flex-direction: column; gap: 8px; }
.partner-card .pc-head { display: flex; gap: 12px; align-items: center; }
.partner-card .pc-head img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: var(--card, #fff); flex: none; }
.ms-av { position: absolute; bottom: -6px; right: -6px; width: 22px; height: 22px; border-radius: 999px; border: 0; background: var(--card, #fff); font-size: 11px; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.2); }

.cd-clock { background: #1a1918; color: #fff; border-radius: 22px; padding: 16px 16px 18px; margin-top: 16px; }
.cd-clock .clock { margin: 10px 0 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.urgency { background: #fde8e4; color: #a33a26; font-weight: 800; border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; display: inline-block; }
.cd-samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.cd-sample { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #1a1918; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; }
.cd-sample img { width: 100%; height: 100%; object-fit: cover; }
.cd-sample .play { position: absolute; inset: auto 8px 8px auto; background: rgba(0,0,0,.6); border-radius: 999px; width: 30px; height: 30px; display: grid; place-items: center; font-size: 12px; }

/* Content Day™ hero on the property photo */
.cd-moment { min-height: 520px; }
.cd-moment .cd-badges { position: absolute; top: 16px; left: 16px; z-index: 2; }
.cd-moment .cd-meta-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 16px; margin-bottom: 14px; }
.cd-moment .cd-meta-line strong { font-size: 20px; color: #fff; }
.clock.clock-sm { grid-template-columns: repeat(4, minmax(0, 64px)); gap: 6px; margin: 0 0 14px; }
.clock.clock-sm div { border-radius: 12px; padding: 7px 4px 6px; }
.clock.clock-sm .n { font-size: 22px; }
.clock.clock-sm .u { font-size: 10.5px; margin-top: 3px; }
.cd-moment .urgency { margin-bottom: 14px; }
.cd-under { display: grid; gap: 14px; margin-top: 14px; }
.cd-under .facts { margin-top: 0; }
@media (min-width: 900px) { .cd-under { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Booking steps */
.steps-head { margin-bottom: 10px; }
.steps-head h2 { margin: 4px 0 0; }
.steps-dots { display: flex; gap: 6px; margin-bottom: 8px; }
.steps-dots span { height: 5px; flex: 1; border-radius: 999px; background: #e4e1db; }
.steps-dots span.on { background: #1a1918; }
.step-nav { display: flex; gap: 8px; margin-top: 16px; }
.step-nav .btn:not(.ghost) { flex: 1; }
.step-picked { background: #faf6ee; border-radius: 12px; padding: 8px 12px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.step-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; background: #f3f2ef; border-radius: 14px; padding: 12px 14px; margin-bottom: 12px; }
.sponsor-banner { display: block; border-radius: 20px; overflow: hidden; max-width: 420px; margin: 0 0 10px; }
.sponsor-banner img { width: 100%; height: auto; display: block; }

.cd-moment { min-height: 360px; }
.cd-title { margin-top: 18px; }
.cd-title .kicker { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #6e6a64; }
.cd-title h1 { margin: 6px 0 0; }
.cd-title .cd-meta-line { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; font-size: 16px; color: #3a3734; }
.cd-title .cd-meta-line strong { font-size: 22px; color: #1a1918; }

.term { margin-bottom: 12px; }
.term .check { margin-bottom: 4px; }
.term-more { margin-left: 39px; } /* checkbox (4px margin + 20px + 3px) + 12px gap */
.term-more summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: #6e6a64; text-decoration: underline; padding: 2px 0; list-style: none; }
.term-more summary::-webkit-details-marker { display: none; }
.term-more[open] summary { margin-bottom: 8px; }
.term-more .policy { font-size: 14px; }

/* Content Day™: First One Free chip + info popover */
.ff-row { position: relative; margin-top: 12px; }
.ff-chip { display: inline-flex; align-items: center; gap: 8px; background: #c9a35a; color: #1a1918; border: 0; border-radius: 999px; padding: 9px 12px 9px 16px; font: inherit; font-weight: 800; font-size: 15px; cursor: pointer; }
.ff-chip.ultra { background: #c9a35a; color: #1a1918; }
.ff-i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #1a1918; color: #fff; font: italic 800 13px/1 Georgia, serif; }
.ff-chip.ultra .ff-i { background: #1a1918; color: #fff; }
.ff-pop { position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); width: min(360px, calc(100vw - 32px)); background: var(--card, #fff); color: var(--ink, #1a1918); border: 1px solid var(--stone-2, #e5e2dc); border-radius: 16px; padding: 14px 16px; box-shadow: 0 12px 32px rgba(0,0,0,.14); font-size: 14px; line-height: 1.45; }
.ff-pop p { margin: 0 0 8px; }
.cd-place { margin: 2px 0 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.cd-dist { font-weight: 700; color: var(--ink, #1a1918); font-size: 14px; }
.cd-dist::before { content: '🚗 '; }
.trip-head { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.trip-head svg { flex: none; margin-top: 3px; }
.where-note { margin: 10px 20px 0; font-size: 13px; font-style: italic; line-height: 1.5; }
.cd-card .cd-drive { font-weight: 700; color: var(--ink, #1a1918); }

.site-foot .foot-copy { font-size: 16px; font-weight: 800; color: var(--ink, #1a1918); }
.site-foot .foot-contact { margin-top: 4px; }
.moment-actions .ff-chip { min-height: 48px; padding: 0 14px 0 18px; }
.ff-pop.inline { position: relative; top: auto; left: auto; width: auto; margin-top: 12px; }

.lp-prev { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-bottom: 8px; max-width: 520px; }
.lp-prev figure { margin: 0; }
.lp-prev img { width: 100%; border-radius: 10px; display: block; background: var(--stone-2); }
.lp-prev figcaption { font-size: 11px; color: var(--muted); margin-top: 2px; }
.ma-pair { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
@media (max-width: 520px) {
  .ma-pair { flex-wrap: nowrap; width: 100%; }
  .ma-pair > .btn, .ma-pair > .ff-chip { flex: 1 1 auto; min-width: 0; justify-content: center; white-space: nowrap; font-size: 15px; padding-left: 14px; padding-right: 12px; min-height: 48px; }
}

.sponsor-strip { margin-bottom: 20px; }
.sponsor .sp-web { display: block; margin-top: 4px; color: #8a6a2c; font-weight: 700; }
.trip-box { background: #f6eedd; border: 1px solid #e6d3a8; }
.trip-box input { background: var(--card, #fff); }
.offer-pick { display: grid; gap: 6px; }

.trip-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.trip-chips .chip { border: 1px solid #e0cc9c; background: var(--card, #fff); color: var(--ink, #1a1918); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trip-chips .chip.on { background: #1a1918; color: #fff; border-color: #1a1918; }
.trip-chips .chip .def { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: #8a6a2c; }
.trip-chips .chip.on .def { color: #c9a35a; }
.drive-from { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.card-code { margin-top: 10px; }
.card-code [data-code-msg] { margin-top: 6px; }

.trip-box .def-wrap { margin: 14px 0 0; align-items: center; justify-content: flex-start; }
.trip-box .def-wrap[hidden] { display: none; }
.trip-box .def-wrap input { flex: none; width: 20px; height: 20px; margin: 0; background: none; }

.cd-badge.has-info { border: 0; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.3; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 3px 3px 3px 11px; }
.cd-badge .bi { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0,0,0,.42); color: #fff; font: italic 800 12px/1 Georgia, serif; }
.cd-badge.type .bi { background: #1a1918; }

.ask-box textarea, .ask-box input:not([type=checkbox]) { width: 100%; background: var(--card, #fff); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.photo-note { position: absolute; right: 16px; top: 56px; z-index: 2; font-size: 10.5px; line-height: 1.3; color: rgba(255,255,255,.72); text-shadow: 0 1px 2px rgba(0,0,0,.5); pointer-events: none; max-width: 70%; text-align: right; }
.photo-note:empty { display: none; }

.g-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink, #1a1918); text-decoration: none; background: var(--card, #fff); border: 1px solid var(--stone-2, #e5e2dc); border-radius: 999px; padding: 5px 12px; }
.g-badge .g-stars { font-weight: 800; color: #b8862f; }
.g-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.g-card .who div > span { display: block; }
.rv-card .who { display: flex; align-items: center; }

.lp-progress { background: var(--card, #fff); border: 1px solid var(--stone-2, #e5e2dc); border-radius: 14px; padding: 10px 12px; margin: 8px 0; }
.pp-bar { height: 8px; background: var(--stone-2, #e5e2dc); border-radius: 99px; overflow: hidden; margin: 8px 0 6px; }
.pp-bar span { display: block; height: 100%; width: 3%; background: #c9a35a; border-radius: 99px; transition: width .6s ease; }

/* Content Day™ gallery + viewer */
.cd-gal .photos { grid-auto-columns: minmax(240px, 300px); }
.ph-btn { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg); overflow: hidden; }
.ph-btn img { aspect-ratio: 4 / 3; display: block; transition: transform .3s ease; }
.ph-btn:hover img { transform: scale(1.03); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0b; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #0b0b0b; }
.lightbox [data-lb-img] { max-width: 94vw; max-height: 84vh; object-fit: contain; border-radius: 12px; }
.lb-close { position: absolute; top: 14px; right: 14px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 34px; line-height: 1; }
.lb-nav.prev { left: 10px; } .lb-nav.next { right: 10px; }
.lb-close, .lb-nav { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 14px; opacity: .8; }
@media (min-width: 900px) { .cd-moment { min-height: 480px; } }

/* Smaller review cards so more fit */
.rv-track { grid-auto-columns: min(260px, 74%); gap: 12px; }
.rv-card { padding: 14px 14px 12px; gap: 8px; }
.rv-card blockquote { font-size: 14px; line-height: 1.45; }
.rv-card .stars { font-size: 13px; }
.rv-card .who strong { font-size: 13px; }
.rv-card .av.sm, .g-av { width: 28px; height: 28px; font-size: 11px; }
.lp-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 6px; max-width: 520px; margin-bottom: 8px; }
.lp-gal img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }

/* Content Day™ page layout: title block in the left column so the booking box starts at the top */
.cd-page .event-body { grid-template-areas: 'head' 'info' 'gal' 'tm' 'book' 'more'; }
.cd-page .event-body .head-area { grid-area: head; min-width: 0; }
.cd-page .event-body .gal-area { grid-area: gal; min-width: 0; }
@media (min-width: 980px) {
  .cd-page .event-body { grid-template-areas: 'head book' 'info book' 'gal book' 'tm book' 'more book'; grid-template-rows: auto auto auto auto 1fr; }
  .cd-page .event-body .book-col { padding-top: 18px; }
  .photo-note { top: auto; bottom: 10px; right: 18px; }
}
.gal-nav { display: inline-flex; align-items: center; gap: 8px; }
.gal-arrow { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--stone-2, #e5e2dc); background: var(--card, #fff); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; color: var(--ink, #1a1918); }
.cd-gal .photos { scroll-snap-type: x mandatory; } .cd-gal .ph-btn { scroll-snap-align: start; }

/* Ultra: card and chip take the colour of the membership level they're reserved for */
.annual-pitch.tier-bronze, .ff-chip.tier-bronze { background: linear-gradient(135deg, #5a3a22, #a86b3c 55%, #d39a63); color: #fff; }
.annual-pitch.tier-silver, .ff-chip.tier-silver { background: linear-gradient(135deg, #6e7378, #d7dadd 50%, #8f959b); color: #141414; }
.annual-pitch.tier-gold, .ff-chip.tier-gold { background: linear-gradient(135deg, #7a5a17, #d4af37 50%, #f3d77a); color: #1a1918; }
.annual-pitch.tier-platinum, .ff-chip.tier-platinum { background: linear-gradient(135deg, #4a5560, #ecebe9 50%, #9fb3c8); color: #141414; }
.annual-pitch.tier-unlimited, .ff-chip.tier-unlimited { background: linear-gradient(135deg, #1a1918, #3b2f5c 50%, #c9a35a); color: #fff; }
.annual-pitch[class*="tier-"] { box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.annual-pitch.tier-silver .small, .annual-pitch.tier-gold .small, .annual-pitch.tier-platinum .small { color: rgba(20,20,20,.85); }
.annual-pitch.tier-silver h3, .annual-pitch.tier-gold h3, .annual-pitch.tier-platinum h3 { color: #141414; }
.annual-pitch.tier-silver p, .annual-pitch.tier-gold p, .annual-pitch.tier-platinum p { color: rgba(20,20,20,.82); }
.ff-chip.tier-silver .ff-i, .ff-chip.tier-gold .ff-i, .ff-chip.tier-platinum .ff-i { background: #141414; color: #fff; }
.mt-cover { position: absolute; left: 6px; bottom: 6px; border: 0; border-radius: 99px; background: rgba(0,0,0,.65); color: #fff; font: inherit; font-size: 10.5px; font-weight: 700; padding: 3px 8px; cursor: pointer; }
.mt-tile { position: relative; }
@media (min-width: 900px) { .cd-page .cd-under { grid-template-columns: 1fr; } .cd-page .cd-under .facts { max-width: 560px; } }
.cd-gal .section-title { gap: 10px; flex-wrap: wrap; align-items: center; }
.cd-gal .photos { align-items: start; }
.cd-gal .photos .ph-btn img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }

.lbl-short { display: none; }
@media (max-width: 520px) {
  .lbl-long { display: none; } .lbl-short { display: inline; }
  .ma-pair > .btn, .ma-pair > .ff-chip { overflow: hidden; text-overflow: ellipsis; }
  .ma-pair > .ff-chip.ultra { flex: 1.25 1 auto; font-size: 14px; }
}
@media (max-width: 520px) { .ma-pair:has(.ff-chip.ultra) > .btn, .ma-pair > .ff-chip.ultra { font-size: 14px; padding-left: 12px; padding-right: 10px; } }

/* Photo notice: under the photo, right-aligned on the "Content Day™" line */
.kicker-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.kicker-row .photo-note { position: static; color: #8a857e; text-shadow: none; font-size: 11px; max-width: 70%; text-align: right; pointer-events: auto; }
@media (min-width: 980px) { .kicker-row .photo-note { position: static; } }
/* Content Day™ pages: on desktop the footer centres under the left (content) column, beside the booking box */
@media (min-width: 980px) { main.cd-page ~ .site-foot .wrap { padding-right: 490px; } }

/* Voice profile + scripts pages */
.vq { border: 0; padding: 0; margin: 18px 0 0; }
.vq legend { font-weight: 800; font-size: 16px; margin-bottom: 8px; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-block; border: 1px solid var(--stone-2, #e5e2dc); background: var(--card, #fff); border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: 14px; }
.pick input:checked + span { background: #1a1918; color: #fff; border-color: #1a1918; }
.pick input:focus-visible + span { outline: 2px solid #c9a35a; outline-offset: 2px; }
.vq textarea { width: 100%; }
.script-card { display: flex; gap: 12px; align-items: flex-start; background: var(--stone); border-radius: 18px; padding: 14px; margin-top: 10px; border: 2px solid transparent; }
.script-card.on { border-color: #c9a35a; background: #faf6ee; }
.script-card.flag { opacity: .7; }
.sc-pick { position: relative; flex: none; margin-top: 2px; cursor: pointer; }
.sc-pick input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.sc-box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #c9c4ba; background: var(--card, #fff); }
.sc-pick input:checked + .sc-box { background: #c9a35a; border-color: #c9a35a; }
.sc-pick input:checked + .sc-box::after { content: '✓'; color: #1a1918; font-weight: 900; font-size: 15px; }
.sc-pick input:disabled + .sc-box { opacity: .4; }
.sc-body { flex: 1; min-width: 0; }
.sc-text { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; }
.sc-meta { margin-top: 4px; }
.sc-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin-top: 6px; }
.sc-more summary { list-style: none; cursor: pointer; } .sc-more summary::-webkit-details-marker { display: none; }
.sc-more-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.coach-link { font-weight: 800; color: #8a6a2c; }
.save-sticky { position: sticky; bottom: calc(var(--bar-h, 0px) + 12px); margin-top: 18px; z-index: 5; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--stone-2, #e5e2dc); border-top-color: #c9a35a; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.sc-actions .linkbtn { padding: 2px 0; min-height: 0; } .sc-more summary.linkbtn { display: inline; }

/* Add booking: Content Day appointment times */
.nb-slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 6px 0; }
.nb-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line, #ddd); border-radius: 10px; background: var(--card, #fff); font-weight: 700; font-size: 14px; cursor: pointer; padding: 6px; }
.nb-slot input { position: absolute; opacity: 0; pointer-events: none; }
.nb-slot:has(input:checked) { background: #111; color: #fff; border-color: #111; }
.nb-slot.off { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.nb-slot em { font-style: normal; font-weight: 500; font-size: 10px; text-decoration: none; }
/* Admin delivery uploads */
.up-drop { border: 2px dashed #d9d2c4; border-radius: 14px; padding: 12px; display: grid; gap: 8px; background: #fffdf8; transition: background .15s, border-color .15s; }
.up-drop.over { border-color: #c9a35a; background: #fbf3e2; }
.up-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.up-list { display: grid; gap: 6px; margin-top: 8px; }
.up-list:empty { display: none; }
.upq-row { background: var(--card, #fff); border: 1px solid #eee9e1; border-radius: 10px; padding: 8px 10px; }
.upq-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.upq-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.upq-pct { flex-shrink: 0; color: #6b665d; }
.upq-bar { height: 6px; background: #eee9e1; border-radius: 99px; margin-top: 6px; overflow: hidden; }
.upq-bar i { display: block; height: 100%; width: 0; background: #c9a35a; transition: width .2s; }
.upq-row.ok .upq-bar i { background: #1f7a4d; } .upq-row.ok .upq-pct { color: #1f7a4d; font-weight: 700; }
.upq-row.bad .upq-bar i { background: #b42318; } .upq-row.bad .upq-pct { color: #b42318; white-space: normal; }
.media-strip.sortable .ms-item { cursor: grab; touch-action: manipulation; }
.vid-list { display: grid; gap: 4px; margin-top: 4px; }
.vid-row { display: flex; align-items: center; gap: 8px; font-size: 13px; background: var(--card, #fff); border: 1px solid #eee9e1; border-radius: 10px; padding: 6px 10px; min-width: 0; }
.vid-row a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.vid-grip { cursor: grab; color: #9a948a; letter-spacing: -2px; }
.sortable.saving { opacity: .6; }

/* Inline upload progress (admin upload buttons) */
.upq-inline { display: inline-grid; gap: 4px; min-width: min(360px, 100%); vertical-align: middle; }
.upq-inline .upq-txt { font-size: 13px; }
.upq-inline .upq-bar { display: block; height: 6px; background: #e6dfd2; border-radius: 99px; overflow: hidden; margin: 0; }
.upq-inline .upq-bar i { display: block; height: 100%; background: #c9a35a; border-radius: 99px; transition: width .2s; }

/* Content Day™ top photo card: slideshow of the listing photos */
.moment .hs-img { opacity: 0; transition: opacity .45s ease; }
.moment .hs-img.on { opacity: 1; }
.hs { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hs-arrow, .hs-count { pointer-events: auto; position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(20,20,20,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hs-arrow { top: 34%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center; padding-bottom: 3px; }
.hs-arrow:hover { background: rgba(20,20,20,.7); }
.hs-arrow.prev { left: 12px; } .hs-arrow.next { right: 12px; }
.hs-count { top: 14px; right: 14px; border-radius: 999px; padding: 6px 11px; font: inherit; font-size: 12.5px; font-weight: 700; }
.cd-badges { z-index: 3; }
.cd-gal .section-title { flex-wrap: nowrap; }
.cd-gal .photos { grid-auto-columns: minmax(190px, 240px); }
.cd-gal .photos .ph-btn img { aspect-ratio: 4 / 5; object-position: center 25%; }

/* "What's a Content Day™?" video inside Read more */
.cd-explainer h3 { margin: 0 0 8px; }
.cdx-media { border-radius: var(--r-lg, 16px); overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.cdx-media iframe, .cdx-media video { width: 100%; height: 100%; border: 0; display: block; object-fit: contain; background: #111; }
.media-strip .ms-item.off img { opacity: .35; }
.badge-chip.green { background: #dcf3e6; color: #16603a; }
.courtesy { border: 1px dashed #d9d2c4; border-radius: 12px; padding: 10px 12px; background: #fffdf8; }
/* Admin Hooks & CTAs */
.sa-row { display: flex; gap: 10px; justify-content: space-between; align-items: center; padding: 8px 0; border-top: 1px solid #eee9e1; }
.sa-row.on .sa-text { font-weight: 700; }
.sa-row.flag { background: #fff4f2; }
.sa-text { font-size: 14px; line-height: 1.4; min-width: 0; }
.sa-act { display: flex; gap: 6px; align-items: center; flex: none; }
@media (max-width: 600px) { .sa-row { flex-direction: column; align-items: flex-start; } }
/* Retouch work page */
.rt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 10px; }
.rt-tile { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #f3f0ea; text-decoration: none; color: inherit; }
.rt-tile img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rt-tile span { display: block; font-size: 12px; padding: 5px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rt-tile form { position: absolute; top: 4px; right: 4px; }
.gal-item { position: relative; } .gal-item a { position: relative; display: block; }
.rt-badge { position: absolute; left: 6px; bottom: 6px; background: rgba(17,17,17,.78); color: #f1d58c; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 3px 8px; }

/* Crew clock-in screen */
.crew .cr-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #777); margin-bottom: 8px; }
.crew .cr-opts { display: grid; gap: 8px; }
.crew .cr-opt { display: grid; gap: 2px; text-align: left; border: 2px solid #e6e2da; background: var(--card, #fff); border-radius: 14px; padding: 12px 14px; font: inherit; cursor: pointer; color: inherit; }
.crew .cr-opt span { font-size: 13px; color: #777; }
.crew .cr-opt.on, .crew .cr-role.on { border-color: #c9a35a; background: #fbf5e8; }
.crew .cr-roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.crew .cr-role { border: 2px solid #e6e2da; background: var(--card, #fff); border-radius: 12px; padding: 12px 8px; font: inherit; font-weight: 700; cursor: pointer; min-height: 48px; color: inherit; }
.crew .cr-big { min-height: 54px; font-size: 17px; }
.crew .cr-prog { margin: 12px 0 0; } .crew .cr-prog-track { height: 8px; border-radius: 99px; background: rgba(0,0,0,.1); overflow: hidden; } .crew .cr-prog-fill { height: 100%; width: 0; background: #0071e3; border-radius: 99px; transition: width .25s linear; } .crew .cr-prog.warn .cr-prog-fill { background: #c77700; } .crew .cr-prog-txt { margin-top: 6px; font-size: 14px; color: #6e6e73; }
.crew .cr-msg { margin: 10px 0 0; font-size: 14px; } .crew .cr-msg.bad { color: #b42318; }
.crew .cr-flag { color: #a15c07; margin: 6px 0 0; }
.crew .cr-ticket { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.crew .cr-guest.away { opacity: .6; }
.crew .cr-credits { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.crew .cr-do { border: 2px solid #c9a35a; background: var(--card, #fff); color: #7a5c27; font: inherit; font-weight: 800; border-radius: 999px; padding: 10px 16px; min-height: 46px; cursor: pointer; }
.crew .cr-do.on { background: #c9a35a; color: #111; }
.crew .cr-chip { font-size: 12.5px; border-radius: 999px; padding: 6px 10px; background: #f2efe9; color: #777; }
.crew .cr-chip.done { background: #e7f5ec; color: #1e7a46; }
.crew .cr-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.crew .cr-mini { border: 1px solid #e0dcd3; background: var(--card, #fff); color: inherit; font: inherit; font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 8px 12px; min-height: 40px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.crew .cr-mini.on { border-color: #e2b93b; background: #fff7dc; }

.crew .cr-period { padding: 10px 0; } .crew .cr-period + .cr-period { border-top: 1px solid #eee; } .crew .cr-period.past { opacity: .85; }
.crew .cr-earnrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.crew .cr-earnrow div { display: grid; } .crew .cr-num { font-size: 22px; font-weight: 900; }
.crew .cr-paid { color: #1e7a46; font-weight: 700; }
.crew [hidden] { display: none !important; }

.sc-others { margin-top: 12px; } .sc-others > summary { list-style: none; cursor: pointer; display: inline-flex; } .sc-others > summary::-webkit-details-marker { display: none; }
.sc-others[open] > summary { opacity: .7; }
.picks-ready { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border: 1.5px solid var(--green); background: var(--green-soft); }
.save-sticky[hidden] { display: none !important; }
.drag-h { cursor: grab; font-size: 20px; color: var(--muted); padding: 0 6px; user-select: none; touch-action: none; }
/* Contact + social icon buttons */
.soc-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
.soc-i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--card, #fff); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .1s; }
.soc-i:active { transform: scale(.94); }
.soc-i svg { width: 20px; height: 20px; }
.soc-i.c { background: var(--ink); color: #fff; box-shadow: none; }
.soc-i.s-instagram { color: #c13584; } .soc-i.s-tiktok { color: #111; } .soc-i.s-facebook { color: #1877f2; } .soc-i.s-youtube { color: #ff0000; } .soc-i.s-linkedin { color: #0a66c2; }
.pp-contact { display: grid; gap: 2px; margin-top: 10px; font-size: 14px; }
.pp-contact a { color: var(--ink); text-decoration: none; }
.pp-status { margin-top: 10px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
/* Guest badges (also used on member pages) */
.gbadges { display: inline-flex; flex-wrap: wrap; gap: 5px; vertical-align: middle; }
.gb { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 9px; line-height: 1.2; white-space: nowrap; }
.gb.first { background: #e3f6ea; color: #1e7a46; }
.gb.bronze { background: linear-gradient(135deg, #e7b98c, #a8683a); color: #2b160a; }
.gb.silver { background: linear-gradient(135deg, #f4f4f4, #a9adb3); color: #1e2125; }
.gb.gold { background: linear-gradient(135deg, #f6e3a8, #c9a35a 60%, #9c7631); color: #2a1d06; }
.gb.platinum { background: linear-gradient(135deg, #ffffff, #cfd8e3 50%, #9aa7b8); color: #142030; }
.gb.unlimited { background: #000; color: #e8cf98; box-shadow: inset 0 0 0 1px #c9a35a; }
.gb.monthly { background: transparent !important; box-shadow: inset 0 0 0 1.5px currentColor; }
.gb.bronze.monthly { color: #c98a55; } .gb.silver.monthly { color: #b9bec5; } .gb.gold.monthly { color: #d9b46a; } .gb.platinum.monthly { color: #c8d3e0; }
.gb.pack { background: #2a1838; color: #e6c8ff; }
.gb.guest { background: #ece9e3; color: #6e6a64; }
.soc-left .soc-icons { justify-content: flex-start; margin-top: 8px; }
/* Event listing cards with a wide cover (home page) */
.ev-wide { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--stone); text-decoration: none; color: inherit; }
.ev-wide:hover { background: var(--stone-2); }
.evw-cover { position: relative; aspect-ratio: 1200 / 630; background: var(--ink); overflow: hidden; }
.evw-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evw-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 44px; font-weight: 800; }
.ev-wide .cd-date { position: absolute; left: 12px; top: 12px; display: grid; justify-items: center; background: rgba(255,255,255,.95); color: #17140f; border-radius: 12px; padding: 5px 10px 6px; line-height: 1; }
.ev-wide .cd-date small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; } .ev-wide .cd-date b { font-size: 21px; font-weight: 900; margin-top: 2px; }
.evw-body { padding: 16px 18px 18px; }
.evw-body h3 { margin: 8px 0 6px; font-size: 22px; }
.evw-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.evw-meta .loc { display: inline-flex; gap: 5px; align-items: center; font-weight: 500; } .evw-meta .loc svg { width: 15px; height: 15px; }
.evw-cover img.cd-night { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: cd-fade2 10s ease-in-out infinite; }
@keyframes cd-fade2 { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.evw-badge { position: absolute; left: 12px; top: 12px; background: #17140f; color: #f1d9a4; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 6px 12px; }
@media (prefers-reduced-motion: reduce) { .evw-cover img.cd-night { animation: none; } }
/* Page title + its date/sub line: a little breathing room */
h1.mb0 + p.mt0, h1.mb0 + .muted { margin-top: 8px !important; line-height: 1.35; }
@media (max-width: 760px) { .spread > div > h1.mb0 + p { margin-bottom: 6px; } }
/* Bookings: filters, sort, import menu */
.bk-head { margin-bottom: 14px; }
.bk-filters { margin: 4px 0 18px; }
.bk-search { display: flex; gap: 8px; align-items: center; max-width: 520px; }
.bk-search input { flex: 1; min-width: 0; }
.bk-more { margin-top: 10px; }
.bk-more > summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; }
.bk-more > summary::before { content: '⚙︎'; opacity: .6; }
.bk-more > summary::-webkit-details-marker { display: none; }
.bk-selects { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 8px; }
.bk-selects label { display: grid; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted, #777); }
.bk-selects select { width: 100%; }
.menu-pop { position: relative; }
.menu-pop > summary { list-style: none; cursor: pointer; }
.menu-pop > summary::-webkit-details-marker { display: none; }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--card, #fff); border: 1px solid var(--line, #e6e2da); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.14); padding: 6px; min-width: 210px; display: grid; }
.menu-list a { padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; font-weight: 600; }
.menu-list a:hover { background: var(--stone, #f3f1ec); }
@media (max-width: 760px) { .bk-head { flex-wrap: wrap; gap: 12px; } .menu-list { left: 0; right: auto; } }
@media (max-width: 760px) { .bk-head { margin-bottom: 18px; } .bk-selects { grid-template-columns: 1fr 1fr; } .bk-selects label:nth-child(3) { grid-column: 1 / -1; } }
.pv-card summary { cursor: pointer; }
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 14px; margin-top: 10px; }
.pv-grid span { display: block; font-size: 11px; color: var(--muted, #777); } .pv-grid b { font-weight: 600; word-break: break-word; }
.scripts-head { margin: 34px 0 14px; } .scripts-head h2 { margin: 0 0 6px; } .scripts-head a { font-weight: 700; text-decoration: none; }
/* Join today: pick a frequency, then monthly / annual */
.jt { margin-top: 14px; }
.jt-h { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 22px; margin: 4px 0 8px; }
.jt-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jt-tier { border: 1px solid #e6dcc8; background: #fbf6ec; border-radius: 4px; padding: 18px 10px; cursor: pointer; font: inherit; display: grid; gap: 4px; justify-items: center; color: #1a1a1a; }
.jt-tier b { font-family: Georgia, serif; font-weight: 400; font-size: 22px; } .jt-tier span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #6b6255; }
.jt-tier:hover { border-color: #b08d3c; } .jt-tier.unl { grid-column: 1 / -1; background: #1a1a1a; color: #fff; border-color: #1a1a1a; } .jt-tier.unl span { color: #d6c9a8; }
.jt-back { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #6b6255; cursor: pointer; margin-bottom: 12px; }
.jt-kick { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b08d3c; }
.jt-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 10px; }
.jt-opt { background: #fbf6ec; border: 1px solid #e6dcc8; padding: 22px; display: flex; flex-direction: column; }
.jt-opt.yr { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.jt-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #b08d3c; } .jt-opt.yr .jt-k { color: #d9b866; }
.jt-name { font-family: Georgia, serif; font-size: 20px; margin-top: 12px; } .jt-sub { font-size: 13px; opacity: .7; margin-top: 4px; }
.jt-price { font-family: Georgia, serif; font-size: 30px; color: #b08d3c; margin: 16px 0 4px; } .jt-price small { font-size: 15px; } .jt-opt.yr .jt-price { color: #d9b866; }
.jt-bonus { font-size: 13px; font-weight: 700; color: #b08d3c; } .jt-opt.yr .jt-bonus { color: #d9b866; }
.jt-opt form { margin-top: auto; padding-top: 16px; }
.jt-btn { width: 100%; border: 0; padding: 14px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: #1a1a1a; color: #fff; cursor: pointer; }
.jt-opt.yr .jt-btn { background: #b08d3c; color: #1a1a1a; }

.jt-opts.one { grid-template-columns: minmax(0, 420px); }
.jt-card { font-size: 12px; opacity: .75; margin-top: 10px; text-align: center; }
.jt-other { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 700; }
.jt-newcard { margin-top: 14px; background: #fff; color: #1a1a1a; border-radius: 8px; padding: 14px; display: grid; gap: 10px; }
.jt-newcard .jt-btn { background: #1a1a1a !important; color: #fff !important; }
.jt-err { color: #b3261e; font-size: 13px; }
.jt-back2 { justify-self: center; font-size: 12px; opacity: .8; }
/* Crew: private earnings */
.cr-paylink { display: flex; justify-content: space-between; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 700; }
.cr-hide { filter: blur(9px); cursor: pointer; user-select: none; transition: filter .15s; }
.crew [data-hide] { cursor: pointer; }
/* Crew picker on the Content Day form */
.crew-pick { display: grid; gap: 6px; }
.cp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line, #eee); }
.cp-row:last-child { border-bottom: 0; }
.cp-who { display: grid; min-width: 0; } .cp-who .tiny { color: var(--muted, #777); }
.cp-row select { max-width: 190px; }
.cp-row.off { opacity: .55; } .cp-row.away .cp-who .tiny { color: #9a6b12; }
/* Crew schedule */
.sch-wrap { overflow-x: auto; }
.sch { font-size: 12.5px; min-width: 760px; }
.sch th { text-align: center; font-weight: 600; white-space: nowrap; padding: 6px 4px; }
.sch th span { display: block; font-size: 10.5px; opacity: .6; text-transform: uppercase; } .sch th b { display: block; font-size: 15px; } .sch th i { display: block; font-style: normal; font-size: 10px; color: #8a6d1f; font-weight: 700; }
.sch th.has { background: rgba(201,163,90,.12); } .sch th.we span { color: #9a6b12; }
.sch-name { white-space: nowrap; font-weight: 700; position: sticky; left: 0; background: var(--card, #fff); z-index: 1; }
.sch-cell { text-align: center; padding: 6px 3px; min-width: 62px; line-height: 1.2; }
.sch-cell small { display: block; font-size: 10px; opacity: .7; }
.sch-cell.on { background: rgba(31,122,77,.10); color: #1f5f3f; font-weight: 600; }
.sch-cell.off { background: rgba(179,38,30,.08); color: #9b2c22; } .sch-cell.offp { background: rgba(228,199,122,.22); color: #7a5d1c; }
.sch-cell.clash { background: rgba(179,38,30,.22); font-weight: 700; }
.sch-day { display: grid; gap: 10px; }
.sch-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sch-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--stone, #f3f1ec); border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 13px; font-weight: 600; margin: 0; }
.sch-chip button { border: 0; background: rgba(0,0,0,.08); border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-size: 14px; line-height: 1; }
.sch-req { padding: 8px 0; border-bottom: 1px solid var(--line, #eee); } .sch-req:last-child { border-bottom: 0; }
.sch-add select { max-width: 240px; }
/* HR: onboarding + employees */
.ob .card label:not(.check) { display: grid; gap: 4px; font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.ob .card input:not([type=checkbox]):not([type=radio]), .ob .card select { width: 100%; font-weight: 500; }
.ob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 12px; }
.ob-grid .sm { max-width: 120px; }
.ob-h { margin: 0 0 12px; font-size: 16px; }
.ob-label { font-size: 13px; font-weight: 700; margin: 6px 0; }
.ob .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0; }
.ob-attest { background: var(--stone, #f3f1ec); }
.ob-bar { height: 8px; border-radius: 99px; background: var(--stone, #eee); margin-top: 10px; overflow: hidden; } .ob-bar span { display: block; height: 100%; background: #1f7a4d; }
.ob-doc { display: flex; align-items: center; gap: 14px; } .ob-doc.done { opacity: .85; }
.ob-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--stone, #eee); flex: none; } .ob-doc.done .ob-num { background: #1f7a4d; color: #fff; }
.ob-what { flex: 1; display: grid; min-width: 0; }
.ob-agreement { max-height: 60vh; overflow-y: auto; font-size: 14px; line-height: 1.55; } .ob-agreement h3 { font-size: 15px; margin: 18px 0 6px; text-transform: uppercase; letter-spacing: .04em; } .ob-agreement h4 { margin: 10px 0 4px; font-size: 14px; }
.ob-sigwrap { position: relative; border: 2px dashed var(--line, #d8d2c6); border-radius: 12px; background: #fff; height: 170px; margin-bottom: 12px; }
.ob-sigwrap canvas { width: 100%; height: 100%; display: block; touch-action: none; border-radius: 12px; }
.ob-sigwrap .linkbtn { position: absolute; top: 8px; right: 10px; } .ob-sighint { position: absolute; left: 14px; bottom: 10px; font-size: 12px; color: #999; pointer-events: none; }
.ob-err { color: #b3261e; font-weight: 600; font-size: 14px; }
.ob-files { display: grid; gap: 8px; margin-top: 10px; } .ob-file { display: flex; align-items: center; gap: 10px; font-size: 13px; } .ob-file img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; }
.emp-row { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.emp-who { flex: 1; display: grid; gap: 2px; min-width: 0; } .emp-st { display: grid; gap: 4px; justify-items: end; text-align: right; }
.emp-doc { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line, #eee); flex-wrap: wrap; } .emp-doc:last-child { border-bottom: 0; }
.emp-panel { background: var(--stone, #f6f4ef); border-radius: 12px; padding: 14px; margin: 4px 0 10px; }
/* Partner Agreements hub */
.pa-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .pa-stat { display: grid; text-decoration: none; color: inherit; padding: 14px; } .pa-stat b { font-size: 26px; } .pa-stat span { font-size: 12px; opacity: .75; } .pa-stat.on { outline: 2px solid #b08d3c; } .pa-stat.hot b { color: #9a6b12; }
.pa-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; text-decoration: none; color: inherit; } .pa-who { display: grid; min-width: 0; } .pa-st { display: grid; justify-items: end; gap: 4px; text-align: right; }
.pa-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .pa-kind { display: grid; gap: 4px; padding: 14px; border: 1.5px solid var(--line, #d8d2c6); border-radius: 12px; text-decoration: none; color: inherit; } .pa-kind.on { border-color: #b08d3c; background: rgba(176,141,60,.08); }
.pa-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .pa-month { display: grid; gap: 2px; font-size: 12px; font-weight: 700; } .pa-month em { font-style: normal; font-weight: 500; opacity: .7; font-size: 11px; }
.pa-cal { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; } .pa-cal-row { display: grid; padding: 8px 10px; border: 1px solid var(--line, #e2d8c6); border-radius: 8px; } .pa-cal-row.made { border-color: #1f7a4d; }
.pa-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; } .pa-dl dt { font-size: 12px; opacity: .7; font-weight: 700; } .pa-dl dd { margin: 0; }
.pa-ev { display: grid; grid-template-columns: 1fr 120px auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line, #eee); text-decoration: none; color: inherit; }
.pa-goal { height: 8px; border-radius: 99px; background: var(--stone, #eee); overflow: hidden; } .pa-goal span { display: block; height: 100%; background: #b08d3c; } .pa-ok { color: #1f7a4d; font-weight: 700; }
.pa-audit { margin: 0 0 12px; padding-left: 18px; } .pa-audit li { margin-bottom: 6px; }
.pa-notify { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 14px; } .pa-person { margin-bottom: 10px; } .pa-mini { padding: 6px 0; }
.pa-from { background: rgba(176,141,60,.08); border-color: #b08d3c; }
@media (max-width: 680px) { .pa-stats { grid-template-columns: 1fr 1fr; } .pa-kinds { grid-template-columns: 1fr; } .pa-ev { grid-template-columns: 1fr; } }
.ob-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 12px 0; padding: 12px 14px; background: var(--stone, #f3f1ec); border-radius: 10px; } .ob-dl dt { font-weight: 700; font-size: 12px; opacity: .7; } .ob-dl dd { margin: 0; font-weight: 600; }
.ob-offer { max-height: none; }
.emp-prev { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: start; } .emp-prev iframe { width: 100%; height: 720px; border: 1px solid var(--line, #e2d8c6); border-radius: 12px; background: #fff; }
@media (max-width: 800px) { .emp-prev { grid-template-columns: 1fr; } }
/* Timecards */
.tc-week { align-items: center; } .tc-grid { width: 100%; border-collapse: collapse; font-size: 14px; } .tc-grid th, .tc-grid td { padding: 8px 6px; border-bottom: 1px solid var(--line, #eee); text-align: center; white-space: nowrap; } .tc-grid th:first-child, .tc-grid td:first-child { text-align: left; }
.tc-shift summary { cursor: pointer; color: #9a6b12; font-weight: 700; }
/* Split address fields with lookup (admin + forms) */
.addr-fields { display: grid; grid-template-columns: 1fr 80px 120px; gap: 0 12px; position: relative; }
.addr-fields .addr-street { grid-column: 1 / -1; } .addr-fields label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; margin: 0 0 10px; } .addr-fields input { width: 100%; font-weight: 500; }
.addr-verify { grid-column: 1 / -1; justify-self: start; background: none; border: 0; padding: 0; margin: 0 0 10px; color: #9a6b12; font-weight: 700; font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.addr-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1px solid var(--line, #e2d8c6); box-shadow: 0 8px 24px rgba(0,0,0,.12); border-radius: 10px; overflow: hidden; color: #111; }
.addr-list button { display: grid; width: 100%; text-align: left; padding: 10px 12px; background: #fff; border: 0; border-bottom: 1px solid #f0ebe0; cursor: pointer; font-size: 14px; color: #111; } .addr-list button:hover { background: #faf6ee; } .addr-list button span { font-size: 12px; color: #777; font-weight: 500; }
.addr-note { grid-column: 1 / -1; font-size: 12.5px; color: #1f7a4d; margin: 0 0 10px; }
@media (max-width: 680px) { .addr-fields { grid-template-columns: 1fr 70px 96px; } .addr-fields label:nth-child(2) { grid-column: 1 / -1; } }
.pf-block { border: 1px solid var(--line, #e2d8c6); border-radius: 12px; padding: 12px 14px; margin: 10px 0; } .pf-tier { margin: 8px 0; } .pf-block > .btn { margin-top: 6px; }
.pf-chip { display: inline-block; margin: 4px 6px 0 0; padding: 2px 8px; border-radius: 99px; background: var(--stone, #f3f1ec); }
.pa-track { list-style: none; margin: 0; padding: 0; } .pa-track li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; opacity: .55; } .pa-track li.ok { opacity: 1; }
.pa-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line, #d8d2c6); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; } .pa-track li.ok .pa-dot { background: #1f7a4d; border-color: #1f7a4d; color: #fff; }
.mterms { background: var(--stone, #f6f3ec); border: 1px solid var(--line, #e2d8c6); border-radius: 12px; padding: 12px 14px; margin: 12px 0 4px; font-size: 13px; line-height: 1.45; } .mterms ul { margin: 6px 0 0; padding-left: 18px; } .mterms li { margin: 3px 0; }
.rt-note { display: block; padding: 4px 8px 8px; font-style: normal; font-size: 12px; line-height: 1.35; color: #5a4300; background: #fff8e3; }
.pay-now { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid #b08d3c; text-decoration: none; color: inherit; margin-bottom: 14px; }
.sh-receipt { margin-top: 10px; } .sh-receipt summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.sh-rcpt { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; } .sh-rcpt td { padding: 6px 0; border-bottom: 1px solid var(--line, #eee); } .sh-rcpt td:last-child { text-align: right; white-space: nowrap; } .sh-rcpt .tot td { font-weight: 800; } .sh-rcpt .sub td { font-size: 12.5px; opacity: .75; }

.mterms .mt-sub { display: block; margin-top: 8px; font-size: 12.5px; }
.mterms li[hidden] { display: none; }

/* Studio */
.st-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: inherit; text-decoration: none; }
.st-who { display: grid; gap: 2px; color: inherit; text-decoration: none; min-width: 200px; flex: 1; }
.st-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.st-step { border: 1px solid var(--line, #e2d8c6); background: transparent; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.st-step.on { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.st-facts { list-style: none; padding: 0; margin: 0 0 8px; } .st-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--line, #eee); } .st-facts li span { opacity: .7; }
.st-agree { white-space: pre-line; }
.st-sig { max-width: 320px; width: 100%; border-bottom: 1px solid #ccc; margin: 10px 0 4px; display: block; }
.so-tabs { display: flex; gap: 6px; flex-wrap: wrap; } .so-tabs a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; text-decoration: none; color: inherit; } .so-tabs a b { margin-left: 4px; opacity: .6; } .so-tabs a.on { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.so-track { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; } .so-track span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; background: var(--stone, #f3f2ef); color: var(--muted, #6e6a64); } .so-track span.done { background: var(--green-soft, #e4f2e9); color: var(--green, #2c7a4b); } .so-track span.cur { background: #1a1a1a; color: #fff; }
.so-set { margin-left: auto; } .so-set select { padding: 6px 8px; }
.so-set select { width: auto; max-width: 240px; } .so-set { flex-wrap: nowrap; align-items: center; }

.sq-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; } .sq-who { display: grid; gap: 2px; } .sq-time { font-weight: 800; font-size: 14px; }
.sq-card.late .sq-time { color: var(--red, #c2412d); } .sq-card.now { border-color: var(--gold, #a6803f); }
.sf-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sf-step { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; font-size: 13px; } .sf-step b { font-size: 14px; }
.sf-step.done { background: var(--green-soft, #e4f2e9); border-color: transparent; } .sf-step.cur { border-color: var(--gold, #a6803f); background: var(--gold-soft, #f5eddd); } .sf-step.skip { opacity: .6; }
.ap-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .ap-time { font-weight: 800; font-size: 18px; min-width: 86px; } .ap-who { display: grid; gap: 2px; flex: 1; min-width: 200px; } .ap-act { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ap-row.checked_in { background: var(--green-soft, #e4f2e9); } .ap-row.no_show { opacity: .6; }
.ap-qr summary { list-style: none; } .ap-qr summary::-webkit-details-marker { display: none; } .ap-qr-box { margin-top: 8px; display: grid; gap: 6px; justify-items: start; } .ap-qr-box img { width: 200px; height: 200px; } .ap-qr-box input { width: 320px; max-width: 100%; font-size: 12px; }
/* Studio booking page (built on the Content Day™ page layout) */
.sb-ref { background: #f5eddd; color: #1a1918; border-radius: 16px; padding: 12px 16px; font-size: 15px; }
.sb-free { white-space: nowrap; display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; font-weight: 800; font-size: 14px; backdrop-filter: blur(6px); }
.sb-gift { display: flex; flex-direction: column; gap: 4px; background: #fbf3e2; border: 1px solid #e8d3a6; color: #1a1918; border-radius: 16px; padding: 12px 16px; font-size: 14.5px; line-height: 1.45; }
.sb-gift span { color: #5b544b; }
.sb-gift[hidden] { display: none; }
.sb-dep { background: #fdf0ee; border-color: #e9b8ae; margin-bottom: 10px; }
.cd-moment.sb-nophoto { background: radial-gradient(120% 140% at 20% 0%, #6b5a3e 0%, #2a241c 55%, #141210 100%); min-height: 260px; }
.sb-daygrid .slot span { display: grid; gap: 2px; line-height: 1.2; } .sb-daygrid .slot small { font-weight: 500; font-size: 12px; opacity: .7; }
.sb-sum { display: grid; gap: 8px; padding: 14px 16px; border-radius: 16px; background: rgba(0,0,0,.04); } .sb-sum .sb-due { border-top: 1px solid rgba(0,0,0,.1); padding-top: 8px; }
.sb-done { text-align: center; padding: 18px 4px; } .sb-check { width: 64px; height: 64px; border-radius: 50%; background: #1a1918; color: #fff; display: grid; place-items: center; font-size: 30px; margin: 0 auto 8px; }
#sq-card { min-height: 90px; }
.sbs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sbs-card { display: grid; border-radius: 22px; overflow: hidden; background: var(--card, #fff); border: 1px solid rgba(0,0,0,.08); color: inherit; text-decoration: none; }
.sbs-img { aspect-ratio: 16 / 10; background: radial-gradient(120% 140% at 20% 0%, #6b5a3e 0%, #2a241c 55%, #141210 100%) center / cover; position: relative; }
.sbs-tag { position: absolute; left: 12px; top: 12px; background: #fff; color: #1a1918; border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: 13px; }
.sbs-body { display: grid; gap: 4px; padding: 16px; }
.sbs-body strong { font-size: 18px; }
.td-mine { outline: 2px solid #c9a45c; }
.td-time { display: grid; gap: 6px; justify-items: start; align-content: center; }
.td-time .pill { font-size: 12px; font-weight: 700; white-space: nowrap; }
.sd-callbacks { border-color: #e9b8ae; background: #fdf3f1; }
.sd-cb { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid #f1d9d3; } .sd-cb:first-of-type { border-top: 0; }
/* crew clock-in: scheduled place first */
.crew .cr-assigned { border: 2px solid #c9a35a; background: #fffaf0; }
.crew .cr-here { display: flex; gap: 12px; align-items: center; } .crew .cr-here .cr-pin { font-size: 26px; }
.crew .cr-here strong { display: block; font-size: 19px; } .crew .cr-here span { font-size: 13.5px; color: #777; }
.crew .cr-elsewhere { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 14px 16px; border: 1.5px dashed #d8d2c6; border-radius: 16px; background: transparent; font: inherit; font-size: 14.5px; color: #6e6a64; cursor: pointer; text-align: left; }
.crew .cr-elsewhere span { font-weight: 700; color: #1a1918; white-space: nowrap; } .crew .cr-elsewhere.open span { opacity: .6; }
.crew [data-other-name] { width: 100%; }
/* schedule / timecard / earnings links */
.crew .cr-links { display: grid; gap: 10px; }
.crew .cr-link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 20px; background: var(--soft, #f3f1ec); text-decoration: none; color: inherit; }
.crew .cr-link .cr-ic { width: 44px; height: 44px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 22px; flex: none; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.crew .cr-link .cr-lt { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.crew .cr-link strong { font-size: 17px; } .crew .cr-link small { font-size: 13.5px; color: #6e6a64; line-height: 1.35; }
.crew .cr-link .cr-chev { font-size: 24px; color: #b5afa5; flex: none; }
/* account: shoot preview + order history */
.lib-prev { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; align-items: center; text-decoration: none; color: inherit; }
.lib-strip { display: flex; gap: 6px; } .lib-strip span { position: relative; width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: #e8e4dc; flex: none; }
.lib-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-strip b { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; font-size: 17px; }
.lib-sum { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .lib-sum span { font-size: 13.5px; color: #6e6a64; }
.lib-go { grid-column: 1 / -1; justify-self: start; font-weight: 800; font-size: 14px; background: #1a1918; color: #fff; padding: 9px 16px; border-radius: 999px; }
@media (max-width: 420px) { .lib-strip span { width: 64px; height: 64px; } }
.oh-card { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.oh-strip { display: flex; flex: none; } .oh-strip img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; border: 2px solid #fff; margin-left: -14px; box-shadow: 0 1px 3px rgba(0,0,0,.12); } .oh-strip img:first-child { margin-left: 0; }
.oh-noimg { width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px; background: #f3f1ec; border-radius: 12px; }
.oh-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .oh-link { font-weight: 700; }

/* Trial Reels Support Group */
.tr-hero { text-align: center; padding: 18px 0 4px; } .tr-hero h1 { margin: 6px 0 8px; } .tr-lead { color: var(--ink-2); max-width: 520px; margin: 0 auto; font-size: 17px; }
.tr-price { margin-top: 14px; display: inline-grid; } .tr-price b { font-size: 40px; line-height: 1; } .tr-price span { font-size: 13px; color: var(--muted); }
.tr-list { margin: 0 0 16px; padding-left: 20px; line-height: 1.6; } .tr-list li { margin-bottom: 6px; }
.tr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.tr-chips { display: flex; gap: 6px; flex-wrap: wrap; } .tr-chips a { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--stone, #f3efe7); color: var(--ink); text-decoration: none; }
.tr-next { display: flex; gap: 16px; align-items: flex-start; } .tr-next-in { flex: 1; min-width: 0; } .tr-next-in strong { display: block; font-size: 17px; margin: 2px 0; }
.tr-date { display: grid; place-items: center; min-width: 58px; padding: 8px 6px; border-radius: 14px; background: #17140f; color: #fff; } .tr-date small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #c9a45c; font-weight: 800; } .tr-date b { font-size: 26px; line-height: 1; }
.tr-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.tr-tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--stone, #f3efe7); white-space: nowrap; } .tr-tag.answered { background: #e4f3ea; color: #1f7a48; } .tr-tag.new { background: #17140f; color: #f1d9a4; } .tr-tag.open { background: #f6eedb; color: #8a6526; }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; } .tr-train { text-decoration: none; color: inherit; display: grid; gap: 6px; } .tr-play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #17140f; color: #f1d9a4; font-size: 16px; }
.tr-thread { display: grid; gap: 12px; margin-top: 12px; } .tr-msg { padding: 14px 16px; border-radius: 18px; background: var(--stone, #f3efe7); } .tr-msg.staff { background: #fff; border: 1px solid var(--hair, #e7e4de); box-shadow: 0 6px 20px rgba(23,20,15,.05); }
.tr-who { font-size: 12px; font-weight: 700; margin-bottom: 6px; } .tr-body { white-space: pre-wrap; line-height: 1.55; }
.tr-links { display: grid; gap: 4px; margin-top: 8px; font-size: 14px; word-break: break-all; } .tr-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .tr-files img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; } .tr-files video { width: 260px; max-width: 100%; border-radius: 12px; background: #000; }
.tr-sent { background: #e4f3ea; color: #1f7a48; font-weight: 700; }
.tr-video { width: 100%; border-radius: 18px; background: #000; } .tr-embed { position: relative; padding-top: 56.25%; border-radius: 18px; overflow: hidden; background: #000; } .tr-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tr-event strong { display: block; }
.tr .sh-kicker { color: #8a6526; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
/* Trial Reels uploads: tap / drag box, file previews, progress */
.tu-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 2px dashed #d9d2c4; border-radius: 18px; background: #faf8f4; cursor: pointer; transition: border-color .15s, background .15s; }
.tu-drop:hover, .tu-drop.over { border-color: #b48a3e; background: #f7f1e3; }
.tu-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tu-drop .tu-ic { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #17140f; font-size: 20px; }
.tu-drop b { display: block; font-size: 15px; } .tu-drop small { display: block; color: #7b7366; font-size: 12.5px; margin-top: 2px; }
.tu-drop.has { padding: 12px 14px; } .tu-drop.has .tu-ic { width: 36px; height: 36px; font-size: 16px; }
.tu-list { display: grid; gap: 8px; margin-top: 10px; } .tu-list:empty { display: none; }
.tu-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid #e7e2da; }
.tu-thumb { width: 52px; height: 52px; flex: none; border-radius: 10px; overflow: hidden; background: #f3efe7; display: grid; place-items: center; font-size: 22px; } .tu-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tu-meta { flex: 1; min-width: 0; } .tu-meta b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tu-meta span { font-size: 12px; color: #7b7366; }
.tu-bar { height: 6px; border-radius: 99px; background: #efeae1; overflow: hidden; margin-top: 6px; } .tu-bar i { display: block; height: 100%; width: 0; background: #b48a3e; border-radius: 99px; transition: width .2s; }
.tu-item .tu-bar:not(.up):not(.done):not(.fail) { display: none; } .tu-bar.done i { background: #1f7a48; } .tu-bar.fail i { background: #b4321f; width: 100% !important; }
.tu-x { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: #f3efe7; color: #3b352c; font-size: 14px; cursor: pointer; }
.tu-prog { margin: 6px 0 12px; } .tu-prog[hidden] { display: none; } .tu-prog .tu-bar { height: 10px; } .tu-prog span { display: block; font-size: 12.5px; font-weight: 700; margin-top: 6px; color: #3b352c; }
.tu-or { font-size: 12.5px; color: #7b7366; margin: 10px 0 6px; }
.tu-bar.up i { background: #b48a3e; }
.tu-or { font-size: 12.5px; color: #7b7366; margin: 10px 0 6px; }
.tu-bar.up i { background: #b48a3e; }
.tr-audio { background: #17140f; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; } .tr-audio-k { color: #f1d9a4; font-size: 13px; font-weight: 800; margin-bottom: 8px; } .tr-audio audio { width: 100%; }
.tr-tx summary { cursor: pointer; font-size: 12.5px; font-weight: 700; color: #7b7366; margin-bottom: 6px; }
.tr-guide { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; } .tr-gstep { transition: box-shadow .2s, border-color .2s; } .tr-gstep.on { border-color: #b48a3e; box-shadow: 0 0 0 3px rgba(180,138,62,.25); }
.tr-ghead { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; } .tr-ghead strong { flex: 1; font-size: 16px; }
.tr-gstep .tr-num, .tr-step-ed .tr-num, .tr-wstep .tr-num { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #17140f; color: #f1d9a4; font-weight: 800; font-size: 14px; }
.tr-gstep img { display: block; max-width: 100%; max-height: 80vh; margin-left: auto; margin-right: auto; width: auto; border-radius: 14px; border: 1px solid #e7e2da; margin-top: 10px; cursor: zoom-in; }
.tr-say { border: 0; background: #f3efe7; border-radius: 50%; width: 36px; height: 36px; font-size: 16px; cursor: pointer; }
/* LuxeShots audio player (public/luxeaudio.js) */
audio.lxa-native { display: none !important; }
.lxa { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: #fff; border: 1px solid #e7e2da; margin: 6px 0; }
.lxa[hidden] { display: none; }
.lxa-play { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; background: #17140f; color: #f1d9a4; cursor: pointer; transition: transform .1s; }
.lxa-play:active { transform: scale(.94); } .lxa-play svg { margin-left: 2px; } .lxa.playing .lxa-play svg { margin-left: 0; }
.lxa-mid { flex: 1; min-width: 0; }
.lxa-wave { display: flex; align-items: center; gap: 2px; height: 34px; cursor: pointer; touch-action: none; outline: none; }
.lxa-wave i { flex: 1; min-width: 2px; border-radius: 2px; background: #d9d2c4; height: 30%; transition: background .15s; }
.lxa-wave i.on { background: #b48a3e; }
.lxa-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #7b7366; font-variant-numeric: tabular-nums; margin-top: 3px; }
.lxa-speed { flex: none; border: 0; border-radius: 999px; padding: 6px 10px; background: #f3efe7; color: #3b352c; font-weight: 800; font-size: 12.5px; cursor: pointer; min-width: 44px; }
.lxa.loading .lxa-play { opacity: .7; }
.lxa.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.lxa.dark .lxa-play { background: #f1d9a4; color: #17140f; } .lxa.dark .lxa-wave i { background: rgba(255,255,255,.22); } .lxa.dark .lxa-wave i.on { background: #e2c07e; }
.lxa.dark .lxa-row { color: #c9c1b3; } .lxa.dark .lxa-speed { background: rgba(255,255,255,.1); color: #f1d9a4; }
/* Trial Reels portal: page menu + home tiles */
.tr-nav { display: flex; gap: 6px; overflow-x: auto; margin: 14px -16px 0; padding: 2px 16px 6px; scrollbar-width: none; position: sticky; top: 0; z-index: 4; background: inherit; } .tr-nav::-webkit-scrollbar { display: none; }
.tr-nav a { flex: none; font-size: 14px; font-weight: 700; padding: 9px 15px; border-radius: 999px; background: #f3efe7; color: #3b352c; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tr-nav a.on { background: #17140f; color: #f1d9a4; }
.tr-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #b48a3e; color: #fff; font-size: 11px; }
.tr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tr-tile { display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: #fff; border: 1px solid #e7e2da; text-decoration: none; color: inherit; box-shadow: 0 6px 18px rgba(23,20,15,.05); }
.tr-tile strong { font-size: 15.5px; } .tr-tile small { font-size: 12.5px; color: #7b7366; line-height: 1.35; } .tr-tile-ic { font-size: 22px; }
.tr-tile.dark { background: #17140f; border-color: #17140f; } .tr-tile.dark strong { color: #fff; } .tr-tile.dark small { color: #c9c1b3; }
@media (min-width: 760px) { .tr-tiles { grid-template-columns: repeat(4, 1fr); } }
/* Portal messages (pinned on the account page) */
.pm-card { background: #17140f; color: #f4efe6; border-radius: 22px; padding: 14px 16px; margin: 12px 0; }
.pm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; } .pm-k { color: #f1d9a4; font-weight: 800; font-size: 14.5px; }
.pm-from { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #b8ad99; margin-bottom: 3px; }
.pm-x { border: 0; background: rgba(255,255,255,.1); color: #f1d9a4; border-radius: 999px; padding: 6px 11px; font-weight: 800; font-size: 12px; cursor: pointer; white-space: nowrap; }
.pm-card .lxa { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); } .pm-card .lxa-play { background: #f1d9a4; color: #17140f; } .pm-card .lxa-wave i { background: rgba(255,255,255,.22); } .pm-card .lxa-wave i.on { background: #e2c07e; } .pm-card .lxa-row { color: #c9c1b3; } .pm-card .lxa-speed { background: rgba(255,255,255,.1); color: #f1d9a4; }
.pm-body { white-space: pre-wrap; line-height: 1.55; font-size: 14.5px; color: #efe9df; } .pm-card .tr-tx summary { color: #c9c1b3; }
.code-in { font-size: 28px !important; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.tr-acct { background: #17140f !important; border-color: #17140f !important; color: #efe9df; }
.tr-acct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .tr-acct-grid > * { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.07); text-decoration: none; color: inherit; }
.tr-acct-grid b { font-size: 17px; color: #f1d9a4; } .tr-acct-grid span { font-size: 11.5px; color: #c9c1b3; line-height: 1.3; }
.tr-acct .tr-acct-btn { background: #f1d9a4 !important; color: #17140f !important; } .tr-acct .tr-acct-ghost { background: transparent !important; color: #f1d9a4 !important; box-shadow: inset 0 0 0 1px rgba(241,217,164,.4) !important; }
.df-drop { width: 100%; box-sizing: border-box; } .df-drop.has { border-style: solid; border-color: #b48a3e; background: #fbf6ea; } .df-drop b { word-break: break-word; }
.df-prog { margin-top: 10px; } .df-prog.done span { color: #1f7a48; font-weight: 700; } .df-prog.bad span { color: #b4321f; } .df-prog.bad .tu-bar i { background: #d9897a; }

.live-busy input[type=search]{background-image:linear-gradient(90deg,transparent,rgba(201,164,92,.25),transparent);background-size:200% 100%;animation:liveb 1s linear infinite}@keyframes liveb{from{background-position:100% 0}to{background-position:-100% 0}}

.pa-month.pa-warn input { border-color: #d9a441; background: #fff8e8; } .pa-month.pa-warn em { color: #8a5a00; opacity: 1; }
.pa-month.pa-bad input { border-color: #d66; background: #fdeeee; } .pa-month.pa-bad em { color: #a33; opacity: 1; }
.pa-alerts { background: #fff8e8; border: 1px solid #f0d9a6; border-radius: 12px; padding: 10px 14px; font-size: 13px; } .pa-alerts ul { margin: 6px 0 0; padding-left: 18px; }

/* Search (⌘K): one clean field, quick links, a sheet on phones */
dialog.search-dialog { width: min(620px, calc(100% - 24px)); margin: 9vh auto auto; border-radius: 22px; background: var(--card, #fff); box-shadow: 0 30px 80px rgba(20,19,18,.32), 0 0 0 1px rgba(20,19,18,.06); }
dialog.search-dialog::backdrop { background: rgba(20,19,18,.42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
dialog.search-dialog .sd-box { gap: 12px; padding: 12px 12px 12px 14px; }
.sd-glass { width: 36px; height: 36px; border-radius: 12px; background: #1b1a17; color: #d9bf86; display: grid; place-items: center; flex: none; }
.sd-glass svg { width: 18px; height: 18px; }
dialog.search-dialog .sd-box input[type=search], dialog.search-dialog .sd-box input[type=search]:focus, body.lux dialog.search-dialog .sd-box input[type=search], body.lux.lw dialog.search-dialog .sd-box input[type=search], body.lux dialog.search-dialog .sd-box input[type=search]:focus, body.lux.lw dialog.search-dialog .sd-box input[type=search]:focus { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; border: 0 !important; border-radius: 0 !important; background: transparent !important; background-image: none !important; padding: 6px 0 !important; box-shadow: none !important; outline: none !important; font-size: 18px; font-weight: 600; color: var(--ink); }
dialog.search-dialog .sd-box input::placeholder { color: var(--muted); font-weight: 500; }
dialog.search-dialog .sd-box input::-webkit-search-cancel-button { display: none; }
.sd-close { border: 0; background: var(--stone); color: var(--ink-2); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; flex: none; }
.sd-close .sd-cancel { display: none; }
.sd-kbd { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.sd-results { padding: 8px 8px 12px; }
.sd-hint { margin: 6px 8px 4px; padding: 12px 14px; border-radius: 14px; background: #f6efe0; color: #6b5420; font-size: 13.5px; line-height: 1.45; }
.sd-hint b { color: #4a3a14; }
.sd-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 4px 8px 4px; }
.sd-q { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px; border-radius: 14px; text-decoration: none; color: var(--ink); font-size: 12.5px; font-weight: 700; text-align: center; border: 1px solid var(--line, #ece7de); background: var(--card, #fff); }
.sd-q:hover { background: var(--stone); border-color: transparent; }
.sd-qi { width: 34px; height: 34px; border-radius: 11px; background: var(--stone); display: grid; place-items: center; }
.sd-qi svg { width: 18px; height: 18px; }
.sd-item { padding: 10px 12px; }
.sd-item.sel { background: #f6efe0; }
.sd-item .sd-ic { border-radius: 50%; background: #efe9dd; }
.sd-empty { padding: 26px 18px; }
@media (max-width: 640px) {
  dialog.search-dialog { width: calc(100% - 16px); max-width: none; margin: 8px auto auto; border-radius: 20px; max-height: calc(100dvh - 16px); }
  .sd-close .sd-kbd { display: none; } .sd-close .sd-cancel { display: inline; }
  .sd-close { background: none; color: var(--ink); font-size: 15px; font-weight: 700; padding: 6px 4px; }
  .sd-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .sd-q { padding: 10px 2px; font-size: 11.5px; }
  .sd-results { max-height: calc(100dvh - 120px); }
}

/* Media library picker (Choose from library) */
dialog.lib-dlg { border: 0; padding: 0; width: min(900px, calc(100% - 20px)); max-height: 86vh; border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.3); display: flex; flex-direction: column; overflow: hidden; }
dialog.lib-dlg:not([open]) { display: none; }
dialog.lib-dlg::backdrop { background: rgba(20,19,18,.45); }
.lib-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line, #eee); }
.lib-head strong { margin-right: auto; }
.lib-head input[type=search] { max-width: 220px; min-height: 40px; }
.lib-tabs { display: flex; gap: 4px; background: var(--stone); border-radius: 999px; padding: 3px; }
.lib-tabs button { border: 0; background: none; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.lib-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.lib-grid { overflow-y: auto; padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; flex: 1; }
.lib-it { position: relative; border: 2px solid transparent; border-radius: 14px; padding: 0; overflow: hidden; aspect-ratio: 1; background: var(--stone); cursor: pointer; }
.lib-it img, .lib-it video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-it.on { border-color: #c9a35a; box-shadow: 0 0 0 2px #c9a35a; }
.lib-name { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: 10.5px; padding: 14px 6px 5px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lib-n { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: #c9a35a; color: #1a1918; font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.lib-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 13px; }
.lib-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line, #eee); }
.lp-prev img, .lp-gal img, [data-zoomable] img { cursor: zoom-in; transition: opacity .15s ease; }
.lp-prev img:hover, .lp-gal img:hover { opacity: .88; }
.zoom-dlg [data-lb-img] { max-height: 80vh; }
/* Day picker + Content Day™ picker (Check-in, Image Prep) */
.dp { margin: 10px 0 14px; }
.dp-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dp-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--stone); color: var(--ink); font-size: 22px; text-decoration: none; font-weight: 700; }
.dp-day { display: flex; align-items: center; gap: 8px; min-width: 190px; justify-content: center; font-size: 17px; }
.dp-jump input { height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--stone-2); background: #fff; font: inherit; }
.dp-chips { margin-top: 10px; }
.cdp { margin: 6px 0 16px; }
.cdp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.cdp-card { display: flex; flex-direction: column; background: var(--stone); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; border: 2px solid transparent; }
.cdp-card:hover { border-color: var(--ink); }
.cdp-card img, .cdp-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--stone-2); }
.cdp-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.cdp-current { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 10px; flex-wrap: wrap; }
.cdp-current img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.cdp-info { flex: 1; min-width: 180px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Event page: quiet arrow beside the date to step to the next (or back to the earlier) date with seats */
.date-step, .date-step:hover, .date-step:visited { text-decoration: none !important; border-bottom: 1px solid currentColor; }
.date-step { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 6px; border-radius: 50%; font-size: 15px; line-height: 1; text-decoration: none; color: inherit; opacity: .55; vertical-align: 1px; border: 1px solid currentColor; transition: opacity .15s ease; }
.date-step:hover, .date-step:focus-visible { opacity: 1; }
/* Private details (pay): blurred until clicked, hidden again after a minute or when you leave the tab */
.private:not(.shown) { filter: blur(7px); cursor: pointer; user-select: none; }
.private:not(.shown) * { pointer-events: none; }
.private { transition: filter .15s ease; }

.cp-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: -2px 0 6px; padding: 10px 12px; border-radius: 10px; background: #fff7e6; border: 1px solid #f0d49a; font-size: 14px; }
.cp-ask.done { background: #eef8f0; border-color: #b9dfc2; }
.cp-ask.flash { box-shadow: 0 0 0 3px #f0b84a; }
.cp-ask-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-who .tiny a { color: inherit; text-decoration: underline; }

.logo-img { height: 32px; width: auto; max-width: 190px; object-fit: contain; display: block; }
.logo > span[hidden] { display: none; }
@media (max-width: 640px) { .logo-img { height: 26px; max-width: 140px; } }
.crew .cr-roles[hidden], .crew .cr-rolepicked[hidden] { display: none; }
.crew .cr-rolepicked { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--stone, #f2f0ec); }
.crew .cr-rolepicked strong { font-size: 17px; }
.crew .cr-change { background: none; border: 0; padding: 0; color: inherit; opacity: .7; text-decoration: underline; font: inherit; font-size: 14px; cursor: pointer; }
.crew .cr-left { background: #fff4e0; border: 1px solid #f0cf8a; margin-bottom: 12px; }
.crew .cr-left[hidden] { display: none; }

/* Crew schedule: tier colors + house thumbnails */
.sch { --lx-bg: #f6ecd6; --lx-fg: #6b4e12; --pr-bg: #dcefe7; --pr-fg: #1d5a48; --ul-bg: #1b1814; --ul-fg: #ecd59b; --st-bg: #ebe5f6; --st-fg: #4a3a78; }
.sch-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.sch-key { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.sch-key.sm { padding: 1px 8px; font-size: 11px; }
.sch-key.t-luxe { background: #f6ecd6; color: #6b4e12; } .sch-key.t-premium { background: #dcefe7; color: #1d5a48; } .sch-key.t-ultra { background: #1b1814; color: #ecd59b; }
.sch-key.t-studio { background: #ebe5f6; color: #4a3a78; } .sch-key.t-off { background: rgba(179,38,30,.10); color: #9b2c22; }
.sch-cell { min-width: 104px; vertical-align: middle; }
.sch-cell.on { font-weight: 600; }
.sch-cell.on.t-luxe { background: var(--lx-bg); color: var(--lx-fg); } .sch-cell.on.t-premium { background: var(--pr-bg); color: var(--pr-fg); }
.sch-cell.on.t-ultra { background: var(--ul-bg); color: var(--ul-fg); } .sch-cell.on.t-studio { background: var(--st-bg); color: var(--st-fg); }
.sch-cell.on.t-ultra:hover { outline-color: #ecd59b; }
.sch-in { display: flex; align-items: center; gap: 6px; text-align: left; }
.sch-in img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; flex: none; }
.sch-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.6); flex: none; font-size: 15px; }
.sch-txt { display: grid; line-height: 1.15; min-width: 0; } .sch-txt b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.sch-txt small { font-size: 10.5px; opacity: .8; font-weight: 500; }
.sch-houses td { padding: 4px 3px 8px; vertical-align: top; border-bottom: 2px solid var(--line, #eee); }
.sch-hs { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.sch-h { display: block; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; border: 3px solid #e9d7ad; background: #f3f1ec; }
.sch-h img { width: 100%; height: 100%; object-fit: cover; display: block; } .sch-h span { display: grid; place-items: center; height: 100%; font-size: 14px; }
.sch-h.t-premium { border-color: #9fd3c0; } .sch-h.t-ultra { border-color: #1b1814; } .sch-h:hover { transform: scale(1.12); }
.sch-dayhead { display: flex; gap: 12px; align-items: center; } .sch-dayhead img { width: 64px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.sch-tier { border-left: 6px solid #e9d7ad; } .sch-tier.t-premium { border-left-color: #9fd3c0; } .sch-tier.t-ultra { border-left-color: #1b1814; }
.sch-who small { white-space: normal; max-width: 200px; }
.sch { min-width: 980px; width: 100%; table-layout: fixed; } .sch th:first-child, .sch td.sch-name { width: 210px; } .sch-cell { width: auto; } .sch-txt b { max-width: 130px; }

.sch-pop { position: fixed; z-index: 60; width: 320px; background: var(--card, #fff); border-radius: 16px; box-shadow: 0 18px 48px rgba(20,16,10,.22), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; pointer-events: none; font-size: 13px; }
.sch-pop img { width: 100%; height: 150px; object-fit: cover; display: block; }
.sch-pop .sp-body { padding: 12px 14px 14px; display: grid; gap: 8px; }
.sch-pop .sp-top { display: flex; justify-content: space-between; align-items: center; } .sch-pop .sp-price { font-weight: 800; }
.sch-pop .sp-addr { font-size: 16px; line-height: 1.2; } .sch-pop .sp-sub { color: var(--muted); margin-top: -4px; }
.sch-pop .sp-bar { height: 6px; border-radius: 99px; background: #eee9df; overflow: hidden; } .sch-pop .sp-bar i { display: block; height: 100%; background: #1f7a4d; }
.sch-pop .sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sch-pop .sp-stats div { background: var(--stone, #f3f1ec); border-radius: 10px; padding: 6px 8px; display: grid; } .sch-pop .sp-stats b { font-size: 17px; line-height: 1.1; } .sch-pop .sp-stats span { font-size: 11px; color: var(--muted); }
.sch-pop .sp-crew { display: grid; gap: 3px; border-top: 1px solid var(--line, #eee); padding-top: 8px; }
.sch-pop .sp-crew div { display: flex; justify-content: space-between; gap: 8px; } .sch-pop .sp-crew span { color: var(--muted); } .sch-pop .sp-crew em { color: var(--muted); }
.sch-pop .sp-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.sch-dlg .dl-opt { gap: 10px; border: 2px solid transparent; }
.sch-dlg .dl-opt:has(input:checked) { border-color: var(--ink); background: #fff; }
.sch-dlg .dl-opt img, .sch-dlg .dl-ic { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.sch-dlg .dl-ic { display: grid; place-items: center; background: rgba(0,0,0,.05); font-size: 18px; }
.sch-dlg .dl-t { display: grid; flex: 1; min-width: 0; line-height: 1.2; } .sch-dlg .dl-t small { color: var(--muted); font-size: 12px; }
.sch-dlg .dl-opt.t-luxe { box-shadow: inset 5px 0 0 #e9d7ad; } .sch-dlg .dl-opt.t-premium { box-shadow: inset 5px 0 0 #9fd3c0; } .sch-dlg .dl-opt.t-ultra { box-shadow: inset 5px 0 0 #1b1814; } .sch-dlg .dl-opt.t-studio { box-shadow: inset 5px 0 0 #c9bce8; }
.sch-dlg { width: min(460px, calc(100% - 32px)); }
.tr-prog { margin-top: 12px; } .tr-prog[hidden] { display: none; }
.tr-bar { height: 10px; border-radius: 99px; background: #e9e5dc; overflow: hidden; margin-bottom: 6px; }
.tr-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #1f7a4d, #3aa36f); transition: width .2s linear; }
.sch-dlg .dl-opt.t-off { box-shadow: inset 5px 0 0 #e8a29a; }
.rt-cancel summary { list-style: none; cursor: pointer; } .rt-cancel summary::-webkit-details-marker { display: none; }
.rt-cancel[open] .rt-cancel-box { display: grid; gap: 6px; margin-top: 8px; min-width: 240px; padding: 10px; border-radius: 12px; background: #fdf0ee; }
.cd-live { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(20,19,17,.72); color: #fff; font-weight: 700; font-size: 15px; backdrop-filter: blur(6px); }
.cd-live.wrapped a { color: #e2c27a; }
/* Important session notice in the guest portal */
.pm-notice { background: #17140f; border: 1.5px solid #e2c07e; box-shadow: 0 10px 30px rgba(23,20,15,.18); }
.pm-notice .pm-from { color: #e2c07e; font-weight: 800; letter-spacing: .02em; }
.pm-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pm-got { border: 0; background: #f1d9a4; color: #17140f; border-radius: 999px; padding: 11px 20px; font-weight: 800; font-size: 15px; cursor: pointer; }
.pm-notice .pm-x { padding: 11px 16px; font-size: 13px; }
.pm-flash { animation: pmflash 1.6s ease 1; } @keyframes pmflash { 0%, 60% { box-shadow: 0 0 0 4px rgba(226,192,126,.55); } 100% { box-shadow: 0 10px 30px rgba(23,20,15,.18); } }

/* Reusable "See more" bar. Put class="see-more" data-see-more="<selector of hidden items>" data-more="See more (N)" data-less="Show fewer" on a button; items start with the hidden attribute. */
[hidden]{display:none!important}
.see-more{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:999px;background:var(--card,#fff);font:inherit;font-weight:700;font-size:14px;color:var(--ink);cursor:pointer}
.see-more .chev{transition:transform .2s}
.see-more[aria-expanded=true] .chev{transform:rotate(180deg)}

.field input[type=date]{display:block;width:100%;min-width:0;max-width:100%;-webkit-appearance:none;appearance:none;text-align:left}
/* Next steps: full title on its own line, action button underneath */
.next-steps .ns-row { flex-wrap: wrap; align-items: flex-start; }
.next-steps .ns-row > div { flex: 1 1 100%; }
.next-steps .ns-row .btn { flex: none; }

/* AI writing / voice progress bar (public/app.js LuxeProgress) */
.lx-prog { margin: 10px 0 4px; width: 100%; max-width: 520px; }
.lx-prog-bar { height: 8px; border-radius: 99px; background: var(--stone-2, #e9e4da); overflow: hidden; }
.lx-prog-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #b08a45, #d6b56f); transition: width .3s ease-out; position: relative; overflow: hidden; }
.lx-prog-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: lx-shine 1.2s linear infinite; }
@keyframes lx-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.lx-prog-t { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted, #6e6a64); margin-top: 4px; }
.lx-prog-t span:last-child { white-space: nowrap; }

/* Content Day admin: info buttons, collapsible cards, schedule rows */
.pub-opt { position: relative; display: flex; align-items: center; gap: 8px; }
.info-i { all: unset; box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; border: 1px solid #cfc6b4; color: #8a7f6b; font: italic 700 12px/18px Georgia, serif; text-align: center; cursor: pointer; flex: none; }
.info-i:hover, .info-i.on { background: #1f1c18; border-color: #1f1c18; color: #fff; }
.info-i::after { content: attr(data-tip); display: none; position: absolute; left: 26px; right: 0; top: calc(100% + 2px); z-index: 30; max-width: 380px; padding: 10px 12px; border-radius: 12px; background: #1f1c18; color: #fff; font: 400 13px/1.45 var(--font); font-style: normal; text-align: left; box-shadow: 0 8px 24px rgba(0,0,0,.18); white-space: normal; }
@media (hover: hover) { .info-i:hover::after { display: block; } }
.info-i.on::after { display: block; }
.cz-head { cursor: pointer; user-select: none; display: flex; align-items: center; gap: 10px; }
.cz-head > :first-child { flex: 1; min-width: 0; }
.cz-head h3, .cz-head.h3 { margin: 0 !important; }
.cz-chev { color: #9b9488; font-size: 20px; line-height: 1; transition: transform .15s; flex: none; }
.cz.open .cz-chev { transform: rotate(90deg); }
.cz:not(.open) > .cz-body { display: none; }
.cz.open > .cz-body { margin-top: 14px; }
.cz { padding-top: 16px; padding-bottom: 16px; } .cz.mt { margin-top: 10px; } .sched + .cz { margin-top: 16px; }
.sched { padding: 18px; }
.sched-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.sched-head h2 { margin: 0; }
.sched-stats { display: flex; gap: 14px; font-size: 14px; color: #6e6a64; } .sched-stats b { color: #1f1c18; font-size: 18px; margin-right: 3px; }
.sched-stats a { color: inherit; text-decoration: none; }
.sched-tools { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.sched-list { display: grid; gap: 6px; }
.gr { border: 1px solid var(--line, #ebe4d6); border-radius: 14px; background: #fff; }
.gr.in { background: #f5faf6; border-color: #cfe5d6; }
.gr > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 8px 12px; cursor: pointer; }
.gr > summary::-webkit-details-marker { display: none; }
.gr-time { font-weight: 800; font-size: 14px; width: 62px; flex: none; font-variant-numeric: tabular-nums; }
.gr .av { width: 40px; height: 40px; border-radius: 50%; background: #efe6d2; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #5b4a2a; flex: none; overflow: hidden; }
.gr .av img { width: 100%; height: 100%; object-fit: cover; }
.gr .who { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; }
.gr .who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr .chips { display: flex; gap: 4px; flex-wrap: wrap; } .gr .chips .pill { font-size: 11px; padding: 2px 8px; }
.gr .chev { color: #9b9488; font-size: 20px; transition: transform .15s; } .gr[open] .chev { transform: rotate(90deg); }
.gr-body { padding: 4px 14px 14px 126px; font-size: 14px; }
.gr-body .kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; } .gr-body .kv span { color: #6e6a64; } .gr-body .kv b { font-weight: 600; word-break: break-word; }
.gr-body .row { gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: flex-start; }
@media (max-width: 600px) {
  .gr-body { padding-left: 14px; }
  .gr-time { width: auto; font-size: 13px; }
  .gr > summary { gap: 9px; padding: 8px 10px; }
  .gr .av { width: 34px; height: 34px; }
  .sched { padding: 14px; }
  .info-i::after { left: 0; }
}

.pay-now .pay-clock { display: inline-block; margin-top: 4px; font-size: 12.5px; color: #8a6a1f; } .pay-now .pay-clock b { font-variant-numeric: tabular-nums; }

/* Unpaid photo order card (portal) */
.pc { position: relative; overflow: hidden; border-radius: 26px; background: radial-gradient(120% 90% at 100% 0%, #3a2d14 0%, #1b1712 45%, #121009 100%); color: #fff; padding: 20px 18px 18px; border: 1px solid rgba(233,207,143,.35); box-shadow: 0 18px 40px rgba(20,16,8,.3); margin: 0 0 18px; }
.pc::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; background: radial-gradient(circle, rgba(233,207,143,.28), transparent 65%); pointer-events: none; }
.pc-k { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #15130f; background: linear-gradient(90deg, #e9cf8f, #c9a24a); padding: 5px 10px; border-radius: 999px; }
.pc h3 { margin: 12px 0 2px; font-size: 22px; line-height: 1.15; color: #fff; }
.pc-sub { color: #cfc6b6; font-size: 13.5px; margin: 0 0 14px; }
.pc-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0 0 14px; position: relative; }
.pc-strip i { aspect-ratio: 3 / 4; border-radius: 10px; display: block; background: #2a2620 center / cover no-repeat; border: 1px solid rgba(255,255,255,.12); position: relative; }
.pc-strip i b { position: absolute; left: 4px; bottom: 4px; font-size: 9px; font-weight: 800; background: rgba(0,0,0,.6); padding: 2px 5px; border-radius: 6px; color: #e9cf8f; }
.pc-strip span { position: absolute; right: 6px; bottom: 6px; font-size: 11px; font-weight: 800; background: rgba(0,0,0,.7); color: #fff; padding: 2px 6px; border-radius: 6px; }
.pc-lines { background: rgba(255,255,255,.06); border-radius: 16px; padding: 4px 12px; margin: 0 0 14px; }
.pc-ln { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.pc-ln:last-child { border-bottom: 0; } .pc-ln small { display: block; color: #e9cf8f; font-size: 11px; font-weight: 700; margin-top: 1px; }
.pc-ln s { color: #8f877a; margin-right: 6px; } .pc-ln strong { white-space: nowrap; }
.pc-tot { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 2px 12px; gap: 10px; }
.pc-t1 { font-size: 13px; color: #cfc6b6; } .pc-amt { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pc-kl { text-align: right; font-size: 12.5px; color: #e8dfcf; } .pc-kl b { display: inline-block; background: #ffb3c7; color: #17120e; font-weight: 800; border-radius: 6px; padding: 1px 6px; margin-right: 4px; font-size: 11px; }
.pc-clock { display: flex; align-items: center; gap: 10px; background: rgba(233,207,143,.12); border: 1px solid rgba(233,207,143,.35); border-radius: 14px; padding: 10px 12px; margin: 0 0 14px; }
.pc-clock > span { font-size: 18px; } .pc-clock p { margin: 0; font-size: 12.5px; color: #e8dfcf; line-height: 1.3; }
.pc-dg { display: flex; gap: 4px; margin-left: auto; }
.pc-dg span { min-width: 38px; text-align: center; background: #0d0b08; border: 1px solid rgba(233,207,143,.35); border-radius: 9px; padding: 5px 4px 4px; font-weight: 800; font-size: 18px; color: #e9cf8f; font-variant-numeric: tabular-nums; line-height: 1; }
.pc-dg small { display: block; font-size: 8.5px; color: #9c9384; letter-spacing: .1em; margin-top: 3px; font-weight: 700; }
.pc-pay { display: block; text-align: center; border-radius: 999px; padding: 16px; font-weight: 800; font-size: 17px; color: #15130f !important; text-decoration: none; background: linear-gradient(90deg, #e9cf8f, #c9a24a); box-shadow: 0 10px 24px rgba(201,162,74,.35); }
.pc-pm { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 6px; margin-top: 10px; }
.pc-pm > div, .pc-pm > a { text-decoration: none; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px 6px; text-align: center; color: #e8dfcf; display: grid; justify-items: center; gap: 2px; }
.pc-pm b { font-size: 12.5px; color: #fff; } .pc-pm small { font-size: 10px; color: #a79e90; line-height: 1.2; }
.pc-pm .kl { border-color: rgba(255,179,199,.55); background: rgba(255,179,199,.08); } .pc-pm .kl svg { color: #ffb3c7; }
.pc-fine { text-align: center; font-size: 11px; color: #9c9384; margin: 10px 0 0; }
.pcm-wrap { max-width: 720px; margin: 10px auto 0; padding: 0 16px; }
.pcm { display: flex; align-items: center; gap: 10px; border-radius: 18px; padding: 10px 12px; background: #17130d; color: #fff !important; border: 1px solid rgba(233,207,143,.35); text-decoration: none; }
.pcm-th { display: flex; } .pcm-th i { width: 30px; height: 38px; border-radius: 7px; background: #2a2620 center / cover no-repeat; margin-left: -8px; border: 2px solid #17130d; } .pcm-th i:first-child { margin-left: 0; }
.pcm-t { flex: 1; font-size: 12.5px; color: #d8cfbf; } .pcm-t b { display: block; color: #fff; font-size: 14px; } .pcm-t em { font-style: normal; }
.pcm-b { background: linear-gradient(90deg, #e9cf8f, #c9a24a); color: #15130f; font-weight: 800; font-size: 13px; padding: 9px 14px; border-radius: 999px; }

.pc-save { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 800; color: #9ee0b5; background: rgba(30,122,70,.25); border-radius: 999px; padding: 3px 9px; }
.pcm-wrap { margin-bottom: 10px; }
.btn.danger-outline { background: #fff; color: #b4321f; box-shadow: inset 0 0 0 1.5px #e2b4ae; } .btn.danger-outline:hover { background: #fdf3f1; box-shadow: inset 0 0 0 1.5px #b4321f; }
.qa-menu { position: relative; } .qa-menu > summary { list-style: none; cursor: pointer; } .qa-menu > summary::-webkit-details-marker { display: none; }
.qa-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 260px; max-width: 340px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 6px; }
.qa-pop a { display: block; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; } .qa-pop a:hover { background: var(--stone); }
/* Sarah mic inside the phone search bar (Joe, Nov 15 2026) */
.ms-row { position: relative; }
.ms-mic { display: none; }
@media (max-width: 760px) {
  .ms-row.has-mic .mobile-search { padding-right: 58px; }
  .ms-row.has-mic .ms-mic { display: grid; place-items: center; position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; color: #fff; background: linear-gradient(160deg, #0a84ff, #5e5ce6); box-shadow: 0 3px 10px rgba(10,132,255,.35); }
  .ms-row.has-mic .ms-mic svg { width: 19px; height: 19px; }
  body:has(.ms-row.has-mic) .as-fab { display: none; }
}

/* Content Days™ homes: a swipe carousel on phones (Joe, Nov 25 2026) instead of a long stacked list. Desktop keeps the grid. */
.cd-railbar { display: none; }
@media (max-width: 760px) {
  .cd-list .cd-grid.cd-rail, .cdl .cd-list .cd-grid.cd-rail { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 4px 16px 18px; scroll-padding: 0 16px; }
  .cd-grid.cd-rail::-webkit-scrollbar { display: none; }
  .cd-grid.cd-rail > .cd-card { scroll-snap-align: start; min-width: 0; }
  .cd-railbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 0; font-size: 14px; color: #6e6e73; }
  .cd-railbar b { color: #1d1d1f; }
  .cd-railbtns { display: flex; gap: 8px; }
  .cd-railbtns button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); background: #fff; font-size: 22px; line-height: 1; color: #1d1d1f; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; }
}
