/* Swarga by the Bay — coastal theme. Change tokens here to rebrand. */
:root {
  --sea: #0b3d52;
  --sea-2: #11607a;
  --lagoon: #2aa6a8;
  --foam: #e6f5f4;
  --sand: #f7efe2;
  --sand-2: #efe2cc;
  --coral: #ff6a4d;
  --sun: #ffb347;
  --ink: #17252b;
  --muted: #62727a;
  --line: #e3e7e8;
  --card: #ffffff;
  --ok: #1f8a5b;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 61, 82, .10);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, serif;
  font-family: var(--sans);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--sand); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
a { color: var(--sea-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
input, select, button { font: inherit; }

/* ---------- buttons ---------- */
.btn { border: 0; border-radius: 999px; padding: 15px 28px; font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-sun { background: linear-gradient(135deg, var(--sun), var(--coral)); color: #fff; box-shadow: 0 10px 24px rgba(255, 106, 77, .35); font-size: 1.05rem; }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 106, 77, .45); }
.btn-sea { background: linear-gradient(135deg, var(--sea-2), var(--sea)); color: #fff; min-width: 150px; }
.btn-sea.final { background: linear-gradient(135deg, var(--sun), var(--coral)); box-shadow: 0 10px 24px rgba(255, 106, 77, .35); }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; transition: background .2s; }
.icon-btn:hover { background: var(--foam); }

/* ---------- welcome ---------- */
.welcome { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: linear-gradient(180deg, #1b4e6b 0%, #3c7f9a 38%, #f2a07b 72%, #ffcf8f 100%); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; left: 50%; bottom: 20%; width: 180px; height: 180px; margin-left: -90px; border-radius: 50%;
  background: radial-gradient(circle, #fff3c4 0%, #ffc56b 55%, rgba(255, 150, 80, 0) 72%); animation: sunrise 2.4s var(--ease) both, glow 5s ease-in-out 2.4s infinite; }
@keyframes sunrise { from { transform: translateY(120px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glow { 50% { transform: scale(1.06); } }
.bird { position: absolute; width: 18px; height: 6px; border-top: 2px solid rgba(255,255,255,.8); border-radius: 50% 50% 0 0; animation: fly 18s linear infinite; }
.bird::after { content: ""; position: absolute; left: 9px; top: -2px; width: 18px; height: 6px; border-top: 2px solid rgba(255,255,255,.8); border-radius: 50% 50% 0 0; }
.b1 { top: 18%; left: -40px; }
.b2 { top: 25%; left: -80px; animation-delay: 6s; transform: scale(.7); }
@keyframes fly { to { left: 110%; } }
.welcome-copy { position: relative; z-index: 2; padding: 24px 20px 160px; animation: rise .9s var(--ease) .3s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; font-weight: 700; opacity: .9; margin: 0 0 10px; }
.welcome h1 { font-size: clamp(3rem, 12vw, 5.5rem); line-height: .95; margin: 0 0 16px; text-shadow: 0 4px 30px rgba(0,0,0,.18); }
.welcome h1 span { font-style: italic; font-weight: 500; font-size: .55em; }
.lede { font-size: 1.1rem; max-width: 380px; margin: 0 auto 28px; opacity: .95; }
.hint { font-size: .82rem; opacity: .85; margin-top: 14px; }
.waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 190px; z-index: 1; }
.waves path { animation: drift 14s linear infinite; }
.w1 { fill: rgba(42, 166, 168, .55); }
.w2 { fill: rgba(17, 96, 122, .75); animation-duration: 10s !important; animation-direction: reverse !important; }
.w3 { fill: var(--sand); animation-duration: 18s !important; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- wizard ---------- */
.wizard { max-width: 640px; margin: 0 auto; min-height: 100vh; padding-bottom: 110px; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: rgba(247, 239, 226, .92); backdrop-filter: blur(10px); }
.brand-mini { font-family: var(--serif); font-weight: 700; color: var(--sea); }
.brand-mini em { font-weight: 500; }
.step-count { font-size: .8rem; color: var(--muted); font-weight: 600; min-width: 40px; text-align: right; }
.progress { height: 4px; background: var(--sand-2); margin: 0 16px; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--lagoon), var(--coral)); border-radius: 4px; transition: width .5s var(--ease); }

.step { display: none; padding: 24px 16px 8px; }
.step.active { display: block; animation: slideIn .45s var(--ease); }
.step.active.back { animation-name: slideBack; }
@keyframes slideIn { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes slideBack { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.kicker { color: var(--coral); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin: 0; }
.step h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); margin: 6px 0 14px; color: var(--sea); }
.step h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--sea); }
.fine { color: var(--muted); font-size: .88rem; margin: 6px 0 14px; }

/* stay card */
.stay-card { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stay-col { min-width: 0; }
.stay-col label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.stay-col input[type=date] { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-weight: 600; color: var(--ink); background: var(--foam); }
.stay-mid { display: flex; align-items: center; justify-content: center; }
.stay-mid span { font-size: .75rem; font-weight: 700; color: var(--sea-2); background: var(--foam); border-radius: 999px; padding: 6px 10px; white-space: nowrap; }
.time-chip { white-space: nowrap; margin-top: 8px; width: 100%; border: 1px dashed var(--line); background: #fff; border-radius: 12px; padding: 8px; cursor: pointer; color: var(--sea); display: flex; gap: 6px; align-items: center; justify-content: center; }
.time-chip:hover { border-color: var(--lagoon); }
.time-edit { margin-top: 8px; width: 100%; border: 1px solid var(--lagoon); border-radius: 12px; padding: 8px; }

/* steppers */
.stepper-list { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 4px 18px; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.stepper-row:last-child { border-bottom: 0; }
.stepper-row small { display: block; color: var(--muted); font-size: .82rem; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #b8c4c8; background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink); transition: all .15s; }
.stepper button:hover:not(:disabled) { border-color: var(--sea); color: var(--sea); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 22px; text-align: center; font-weight: 700; font-size: 1.05rem; }
.stepper output.pop { animation: pop .25s var(--ease); }
@keyframes pop { 50% { transform: scale(1.35); color: var(--coral); } }

/* vehicle numbers */
.plates { margin-top: 10px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 18px 10px; animation: rise .35s var(--ease); }
.plates .fine { margin: 8px 0 0; }
.plate-list .field input { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

/* floating fields */
.field { position: relative; margin: 12px 0; }
.field input { width: 100%; padding: 22px 16px 8px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); pointer-events: none; transition: all .18s var(--ease); }
.field input:focus { outline: none; border-color: var(--sea-2); box-shadow: 0 0 0 4px rgba(17, 96, 122, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: 6px; font-size: .72rem; font-weight: 700; color: var(--sea-2); }
.field.invalid input, .invalid { border-color: var(--coral) !important; }
.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 6px; border-radius: 14px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: .92rem; transition: all .18s var(--ease); }
.chip input:checked + span { background: var(--sea); border-color: var(--sea); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(11, 61, 82, .25); }
.chip input:focus-visible + span { outline: 2px solid var(--lagoon); outline-offset: 2px; }

/* dropzone */
.dropzone { display: block; position: relative; margin-top: 14px; border: 2px dashed #c4d3d6; border-radius: var(--radius); background: #fff; cursor: pointer; transition: border-color .2s, background .2s; overflow: hidden; }
.dropzone:hover, .dropzone.drag { border-color: var(--lagoon); background: var(--foam); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dz-empty { padding: 28px 16px; text-align: center; display: grid; gap: 4px; }
.dz-icon { font-size: 2rem; }
.dz-empty small { color: var(--muted); }
.dz-preview { display: flex; align-items: center; gap: 14px; padding: 12px; }
.dz-preview img { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--foam); }
.dz-name { flex: 1; font-weight: 600; font-size: .9rem; word-break: break-all; }
.dz-change { color: var(--sea-2); font-weight: 700; font-size: .85rem; }

/* rules */
.rules { list-style: none; padding: 0; margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; counter-reset: r; }
.rules li { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .95rem; opacity: 0; animation: rise .5s var(--ease) forwards; }
.rules li:last-child { border-bottom: 0; }
.rules li i { font-style: normal; flex: none; width: 36px; height: 36px; border-radius: 12px; background: var(--foam); display: grid; place-items: center; font-size: 1.1rem; }
.alert { background: linear-gradient(135deg, #fff1ec, #ffe6dc); border-left: 4px solid var(--coral); padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; font-size: .95rem; }
.alert strong { display: block; margin-bottom: 4px; color: #b3401f; }

/* agree */
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 16px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.agree input { position: absolute; opacity: 0; pointer-events: none; }
.agree .tick { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #b8c4c8; display: grid; place-items: center; transition: all .2s var(--ease); margin-top: 1px; }
.agree .tick::after { content: "✓"; color: #fff; font-size: .9rem; transform: scale(0); transition: transform .2s var(--ease); }
.agree input:checked ~ .tick { background: var(--ok); border-color: var(--ok); }
.agree input:checked ~ .tick::after { transform: scale(1); }
.agree:has(input:checked) { border-color: var(--ok); background: #f1faf5; }
.agree input:focus-visible ~ .tick { outline: 2px solid var(--lagoon); outline-offset: 2px; }
.indent { padding: 4px 4px 0 12px; }

/* accordions */
.acc { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin: 12px 0; padding: 0 18px; }
.acc summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 1.3rem; color: var(--sea-2); transition: transform .25s var(--ease); }
.acc[open] summary::after { transform: rotate(45deg); }
.acc[open] { padding-bottom: 12px; }
.acc ul { padding-left: 20px; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.contacts div { background: var(--foam); border-radius: 12px; padding: 10px; }
.contacts small { display: block; color: var(--muted); font-size: .72rem; }
.contacts span { font-weight: 700; font-size: .9rem; }
.contacts b { display: block; }
.contacts .tel { display: inline-block; margin-top: 4px; font-weight: 600; font-size: .85rem; color: var(--sea-2); text-decoration: none; }
.contacts .tel:hover { text-decoration: underline; }

/* summary + signature */
.summary { background: linear-gradient(135deg, var(--sea), var(--sea-2)); color: #fff; border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: var(--shadow); }
.summary small { display: block; opacity: .7; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.summary strong { font-size: .98rem; }
.summary .edit { color: var(--sun); background: none; border: 0; padding: 0; font-weight: 700; cursor: pointer; font-size: .8rem; }
.sig-pad { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.sig-pad input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 1rem; }
.sig-pad input:focus { outline: none; border-color: var(--sea-2); }
.sig-render { font-family: "Caveat", cursive; font-size: 2.6rem; color: var(--sea); min-height: 64px; padding: 6px 4px 0; line-height: 1.2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sig-render.ink { animation: ink .6s var(--ease); }
@keyframes ink { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sig-line { display: flex; justify-content: space-between; border-top: 1.5px solid var(--ink); padding-top: 6px; font-size: .78rem; color: var(--muted); }

/* action bar + toast */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px max(16px, calc((100vw - 640px) / 2 + 16px)); padding-bottom: calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.action-hint { font-size: .82rem; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 92px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100vw - 32px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .9rem; font-weight: 600; transition: all .3s var(--ease); z-index: 7; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* done */
.done { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; background: linear-gradient(180deg, #3c7f9a, #f2a07b 70%, #ffcf8f); }
.done-card { background: #fff; border-radius: 24px; padding: 32px 22px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.2); animation: rise .7s var(--ease); }
.done-badge { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2.2rem; display: grid; place-items: center; animation: badge .7s var(--ease) .2s both; }
@keyframes badge { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.done .eyebrow { color: var(--coral); }
.done h2 { color: var(--sea); margin: 4px 0 18px; font-size: 1.7rem; }
.ticket { display: flex; align-items: center; justify-content: space-between; background: var(--foam); border-radius: 16px; padding: 14px 18px; text-align: left; }
.ticket small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.ticket-sep { font-size: 1.4rem; }
.ticket div:last-child { text-align: right; }
.ref { margin: 18px 0 0; font-size: 1.05rem; }
.ref strong { font-family: ui-monospace, Menlo, monospace; background: var(--sand); padding: 4px 10px; border-radius: 8px; letter-spacing: .04em; }
.reminder { font-family: var(--serif); font-style: italic; color: var(--sea); margin: 22px 0 4px; }
.confetti { position: fixed; top: -12px; width: 10px; height: 14px; border-radius: 2px; z-index: 20; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

@media (max-width: 480px) {
  .stay-card { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .stay-col { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
  .stay-col label { grid-column: 1 / -1; margin: 0; }
  .time-chip, .time-edit { margin-top: 0; width: auto; padding: 10px 12px; }
  .stay-mid { justify-content: flex-start; }
  .contacts { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; }
  .btn-sea { min-width: 0; padding: 14px 22px; }
  .step { padding: 20px 14px 8px; }
  .rules li { padding: 12px 14px; font-size: .92rem; }
  .agree { padding: 14px; }
}
@media (max-width: 360px) {
  .step h2 { font-size: 1.55rem; }
  .stepper { gap: 10px; }
  .stepper button { width: 34px; height: 34px; }
  .action-hint { display: none; }
  .actionbar .btn { flex: 1; }
  .stay-col input[type=date] { padding: 9px 6px; font-size: .9rem; }
  .time-chip, .time-edit { padding: 9px 8px; font-size: .9rem; }
}

/* ---------- desktop: split layout ---------- */
.side { display: none; }
@media (min-width: 1024px) {
  .wizard { max-width: none; display: grid; grid-template-columns: minmax(340px, 36%) 1fr; padding-bottom: 0; }
  .side { display: block; position: sticky; top: 0; height: 100vh; overflow: hidden; color: #fff;
    background: linear-gradient(180deg, #1b4e6b 0%, #3c7f9a 45%, #f2a07b 82%, #ffcf8f 100%); }
  .side-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding: 48px clamp(28px, 4vw, 56px) 0; }
  .side-brand { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; margin: 0 0 36px; text-shadow: 0 4px 24px rgba(0,0,0,.15); }
  .side-brand em { display: block; font-weight: 500; font-size: .55em; margin-top: 4px; }
  .side-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
  .side-steps li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-weight: 600; opacity: .7; transition: all .3s var(--ease); }
  .side-steps li span { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.65); display: grid; place-items: center; font-size: .8rem; }
  .side-steps li.is-now { opacity: 1; background: rgba(255,255,255,.16); }
  .side-steps li.is-now span { background: #fff; color: var(--sea); border-color: #fff; }
  .side-steps li.is-done { opacity: .95; }
  .side-steps li.is-done span { background: var(--lagoon); border-color: var(--lagoon); font-size: 0; }
  .side-steps li.is-done span::after { content: "✓"; font-size: .8rem; }
  .side-times { margin-top: auto; margin-bottom: 150px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .side-times div { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); border-radius: 14px; padding: 10px 14px; }
  .side-times small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
  .side-times strong { font-family: var(--serif); font-size: 1.3rem; }
  .side-waves { position: absolute; left: 0; bottom: 0; width: 200%; height: 140px; z-index: 1; }
  .side-waves path { animation: drift 14s linear infinite; }
  .side-waves .w2 { fill: var(--sand); }

  .pane { min-width: 0; width: 100%; max-width: 760px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }
  .pane form { flex: 1; }
  .topbar { padding: 22px clamp(24px, 4vw, 48px) 14px; }
  .topbar .brand-mini { visibility: hidden; }
  .progress { margin: 0 clamp(24px, 4vw, 48px); }
  .step { padding: 36px clamp(24px, 4vw, 48px) 24px; }
  .step h2 { font-size: 2.5rem; }
  .actionbar { position: sticky; left: auto; right: auto; padding: 16px clamp(24px, 4vw, 48px) 20px; background: rgba(247, 239, 226, .94); border-top: 1px solid var(--sand-2); }
  .toast { bottom: 100px; left: 68%; }
  .welcome-copy { padding-bottom: 200px; }
  .waves { height: 240px; }
}
@media (min-width: 1440px) {
  .pane { max-width: 820px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================= ADMIN ================= */
.wide { width: 100%; }
.login-wrap { position: relative; z-index: 2; width: 100%; max-width: 420px; padding: 24px 16px 170px; animation: rise .8s var(--ease) .2s both; }
.login-title { font-size: clamp(2.4rem, 9vw, 3.4rem); line-height: 1; margin: 0 0 22px; text-shadow: 0 4px 30px rgba(0,0,0,.18); }
.login-title span { display: block; font-style: italic; font-weight: 500; font-size: .55em; }
.login-card { background: rgba(255,255,255,.96); color: var(--ink); text-align: left; border-radius: 24px; padding: 26px 22px; box-shadow: 0 30px 60px rgba(0,0,0,.2); }
.login-card h2 { margin: 0; color: var(--sea); font-size: 1.5rem; }
.login-card .btn { margin-top: 10px; }
.field.pw input { padding-right: 70px; }
.pw-toggle { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 0; background: var(--foam); color: var(--sea-2); font-weight: 700; font-size: .78rem; padding: 6px 10px; border-radius: 999px; cursor: pointer; }

.dash { min-height: 100vh; background: var(--sand); animation: fade .5s var(--ease); }
.dash-hero { position: relative; color: #fff; padding: 16px 16px 26px; background: linear-gradient(135deg, #0b3d52 0%, #11607a 55%, #2aa6a8 100%); border-radius: 0 0 28px 28px; overflow: hidden; }
.dash-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,197,107,.55), rgba(255,150,80,0) 70%); pointer-events: none; }
.dash-hero > * { position: relative; z-index: 1; max-width: 1100px; margin-left: auto; margin-right: auto; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand-mini.light { color: #fff; }
.dash-actions { display: flex; gap: 8px; }
.dash-hero h1 { margin: 0 auto 18px; font-size: clamp(1.8rem, 6vw, 2.6rem); }
.dash-hero .eyebrow { opacity: .8; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); border-radius: 16px; padding: 12px 14px; }
.stat small { display: block; font-size: .72rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }
.stat strong { font-family: var(--serif); font-size: 1.9rem; line-height: 1.2; }
.stat.warn strong { color: var(--sun); }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .85rem; cursor: pointer; text-decoration: none; transition: background .2s; }
.chip-btn:hover { background: rgba(255,255,255,.22); }
.chip-btn.dark { background: #fff; color: var(--sea); border-color: var(--line); }
.chip-btn.dark:hover { background: var(--foam); }
.chip-btn:disabled { opacity: .6; cursor: wait; }

.dash-body { max-width: 1100px; margin: 0 auto; padding: 20px 16px 40px; }
.toolbar2 { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; outline: 0; padding: 12px 0; background: transparent; }
.search:focus-within { border-color: var(--sea-2); }
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--muted); transition: all .2s var(--ease); }
.seg button.on { background: var(--sea); color: #fff; }

.guest-list { display: grid; gap: 10px; }
button.stat { font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
button.stat:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 14px 0 8px; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1.5px solid var(--line); background: #fff; color: var(--muted); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .88rem; cursor: pointer; transition: all .2s var(--ease); }
.tabs button.on { background: var(--sea); border-color: var(--sea); color: #fff; }
.range { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 6px; font-size: .85rem; color: var(--muted); }
.range label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin: 0; color: var(--muted); font-size: .85rem; }
.adm .range input { width: auto; padding: 7px 10px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.g-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.flag { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.flag.late { background: #fdecea; color: #b3261e; }
.flag.due { background: #fff4e0; color: #9a5b00; }
.flag.muted { background: #f0f2f3; color: var(--muted); }
.badge.st-Expected { background: #eef3f4; color: var(--sea-2); }
.badge.st-Checkedin { background: #e8f4ec; color: var(--ok); }
.badge.st-Checkedout { background: #ececec; color: #555; }
.ret { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--coral); background: #fff1ec; padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: middle; }
.stay-status { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.stay-sec .btn { margin-top: 6px; }
.stay-sec .undo { display: block; margin: 10px auto 0; }
.hist { display: block; width: 100%; text-align: left; background: var(--foam); border: 0; border-radius: 12px; padding: 10px 12px; margin-top: 8px; cursor: pointer; font: inherit; color: var(--ink); }
.hist:hover { background: #d7eeec; }
.hist small { display: block; color: var(--muted); font-size: .78rem; }
.gcard { display: grid; grid-template-columns: auto 1.3fr 1.4fr auto; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1.5px solid transparent; border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); cursor: pointer; font: inherit; color: var(--ink); opacity: 0; animation: rise .45s var(--ease) forwards; transition: border-color .2s, transform .2s var(--ease); }
.gcard:hover { border-color: var(--lagoon); transform: translateY(-2px); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--sun), var(--coral)); }
.g-main, .g-stay { min-width: 0; }
.g-main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-main small, .g-stay small { display: block; color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-stay { font-size: .9rem; }
.g-stay b { font-weight: 600; }
.badge { padding: 4px 12px; border-radius: 99px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.badge.Pending { background: #fff1ec; color: #b3401f; }
.badge.Verified { background: #e8f4ec; color: var(--ok); }
.skeleton { height: 72px; border-radius: var(--radius); background: linear-gradient(90deg, #fff 0%, #f3ede2 50%, #fff 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 50px 16px; color: var(--muted); }
.empty span { font-size: 2.4rem; }

dialog.drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(520px, 100vw); max-width: 100vw; border: 0; padding: 0; background: var(--sand); box-shadow: -20px 0 60px rgba(0,0,0,.25); }
dialog.drawer[open] { animation: drawerIn .35s var(--ease); }
@keyframes drawerIn { from { transform: translateX(40px); opacity: 0; } }
dialog.drawer::backdrop { background: rgba(11, 61, 82, .45); backdrop-filter: blur(2px); }
.drawer-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 18px 14px; background: linear-gradient(135deg, var(--sea), var(--sea-2)); color: #fff; }
.drawer-head h2 { margin: 2px 0 8px; font-size: 1.5rem; }
.drawer-head .eyebrow { margin: 0; opacity: .8; font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; }
.drawer-head .icon-btn { flex: none; }
.drawer-body { padding: 16px 18px 40px; }
.drawer-body .ticket { background: #fff; box-shadow: var(--shadow); }
.ticket small { display: block; }
.dsec { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-top: 12px; }
.dsec h3 { margin: 0 0 10px; font-size: 1rem; color: var(--sea); }
.adm dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 12px; margin: 0; font-size: .92rem; }
.adm dt { color: var(--muted); }
.adm dd { margin: 0; font-weight: 600; word-break: break-word; }
.dsec-head { display: flex; justify-content: space-between; align-items: center; }
.dsec-head h3 { margin-bottom: 10px; }
.link-btn { border: 0; background: var(--foam); color: var(--sea-2); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.plate-tag { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-weight: 700; letter-spacing: .06em; background: #fff8dc; border: 1.5px solid #1f2a30; border-radius: 6px; padding: 2px 8px; margin: 2px 4px 2px 0; font-size: .85rem; }
.missing { color: #b3401f; font-weight: 600; }
.veh-count { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-weight: 600; }
.veh-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
#vehInputs input { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.idimg { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block; }

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .gcard { grid-template-columns: auto 1fr auto; }
  .g-badges { grid-column: 3; grid-row: 1; }
  .g-stay { grid-column: 2 / -1; grid-row: 2; }
  .search { flex-basis: 100%; }
  .dash-top .brand-mini { white-space: nowrap; font-size: .95rem; }
  .dash-top .chip-btn { padding: 7px 11px; font-size: .78rem; white-space: nowrap; }
  .stat strong { font-size: 1.6rem; }
  .seg { order: 3; }
  .adm dl { grid-template-columns: 1fr; }
  .adm dt { margin-top: 6px; }
}
