:root {
  --navy: #282828;
  --green: #24b70f;
  --cream: #f7f3ea;
  --gold: #d7a84b;
  --red: #a63c32;
  --ink: #17201d;
  --muted: #66716d;
  --line: #dcded8;
  --white: #fff;
  --shadow: 0 18px 50px rgba(16, 35, 29, .12);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--cream); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hero { color: var(--white); background: radial-gradient(circle at 75% 20%, #33785d, transparent 35%), var(--navy); padding: 56px 20px 92px; overflow: hidden; }
.hero-inner, .container { width: min(1080px, 100%); margin: 0 auto; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 12px 0; font-family: Georgia, serif; font-size: clamp(38px, 7vw, 72px); line-height: .98; font-weight: 500; }
.hero p { max-width: 620px; color: #d8e1dd; font-size: 18px; line-height: 1.6; }
.container { margin-top: -54px; padding: 0 20px 60px; position: relative; }
.card { background: var(--white); border: 1px solid rgba(16, 35, 29, .08); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.card + .card { margin-top: 20px; }
.card h2, .card h3 { margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 700; color: #38423f; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px 13px; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 93, 70, .12); }
input[type="file"] { border-style: dashed; padding: 20px; background: #fafbf9; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.checkbox input { width: auto; margin-top: 3px; }
.button { border: 0; border-radius: 10px; padding: 13px 18px; background: var(--green); color: #fff; font-weight: 800; }
.button:hover { filter: brightness(1.08); }
.button.secondary { color: var(--green); background: #e9f1ed; }
.button.danger { background: var(--red); }
.button.gold { background: var(--gold); color: var(--navy); }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.message { display: none; margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: #e9f1ed; color: var(--green); font-weight: 650; }
.message.error { background: #f7e9e7; color: var(--red); }
.message.show { display: block; }
.hidden { display: none !important; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.stat { background: #f5f7f4; border-radius: 14px; padding: 18px; }
.stat strong { display: block; font-size: 25px; color: var(--green); }
.stat span { color: var(--muted); font-size: 12px; }
.progress { height: 9px; border-radius: 99px; background: #e6e9e6; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); }
.code-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.code { border: 1px solid #dac087; border-radius: 9px; background: #fff9e9; color: #624915; padding: 9px 12px; font-family: ui-monospace, monospace; font-weight: 800; }
.receipt-list { display: grid; gap: 10px; }
.receipt { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.receipt:last-child { border: 0; }
.pill { display: inline-flex; padding: 5px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.pill.pending { background: #fff3ce; color: #755600; }
.pill.approved { background: #dff1e8; color: #155a3e; }
.pill.rejected { background: #f6dfdc; color: #8f3027; }
.muted { color: var(--muted); font-size: 13px; }
.topbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 24px; background: var(--navy); color: #fff; }
.topbar strong { font-family: Georgia, serif; font-size: 22px; }
.admin-main { width: min(1240px, 100%); margin: 0 auto; padding: 28px 20px 60px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { color: var(--muted); text-align: left; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
th, td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
td .button { padding: 7px 10px; font-size: 12px; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar input, .toolbar select { width: auto; min-width: 180px; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--navy); }
.login-card { width: min(420px, 100%); }
.modal { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 20px; background: rgba(6, 18, 14, .72); }
.modal .card { width: min(520px, 100%); max-height: 90vh; overflow: auto; }
.winner { text-align: center; border: 2px solid var(--gold); }
.winner strong { display: block; color: var(--green); font-family: Georgia, serif; font-size: 34px; margin: 12px; }
@media (max-width: 760px) {
  .grid, .stats, .admin-stats { grid-template-columns: 1fr; }
  .hero { padding-top: 38px; }
  .card { padding: 20px; }
  .receipt { flex-direction: column; }
}

/* Cinematic campaign layer */
.campaign-story { background: #161916; }
.campaign-story::before { z-index: 1; opacity: .18; background-image: linear-gradient(120deg, transparent 0 50%, rgba(255,255,255,.04) 50%), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 80px); pointer-events: none; }
.story-media, .story-shade { position: absolute; inset: 0; }
.story-media { z-index: 0; overflow: hidden; background: #191c19; }
.story-shade { z-index: 1; background: linear-gradient(90deg, rgba(12,20,15,.58) 0%, rgba(12,20,15,.3) 55%, rgba(12,20,15,.12) 100%), linear-gradient(0deg, rgba(12,18,14,.48) 0%, transparent 50%, rgba(8,12,9,.12) 100%); }
.destination-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity 1.2s ease, transform 8s linear; }
.destination-video.active { opacity: 1; transform: scale(1); }
.brand-row, .story-content, .story-footer { position: relative; z-index: 3; }
.brand-row .logo-link { width: min(340px, 46vw); padding: 6px 12px; border-radius: 10px; background: rgba(40,40,40,.72); backdrop-filter: blur(12px); }
.campaign-tag { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(0,0,0,.16); backdrop-filter: blur(8px); }
.story-content { text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.story-content > p { color: rgba(255,255,255,.82); }
.story-steps div { border-color: rgba(255,255,255,.3); }
.story-steps strong { color: #fff; }
.story-footer { align-items: center; color: rgba(255,255,255,.72); }
.destination-switcher { display: flex; align-items: center; gap: 7px; }
.destination-switcher button { position: relative; border: 0; padding: 7px 9px 9px; color: rgba(255,255,255,.55); background: transparent; font-size: 9px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.destination-switcher button::after { content: ""; position: absolute; right: 9px; bottom: 3px; left: 9px; height: 1px; background: rgba(255,255,255,.3); }
.destination-switcher button.active { color: #fff; }
.destination-switcher button.active::after { height: 2px; background: #24b70f; }
.auth-column { background: radial-gradient(circle at 80% 10%, rgba(36,183,15,.08), transparent 27%), #f7f3eb; }
.auth-card { padding: 10px 0; }
.auth-card::before { content: "PIZZERIA POSITANO · EST. 2024"; display: block; margin-bottom: 34px; color: #a4aaa4; font-size: 8px; font-weight: 800; letter-spacing: .24em; }
.auth-tabs { border: 1px solid #dfd9cf; }
.auth-form input { transition: border .2s, box-shadow .2s, transform .2s; }
.auth-form input:focus { transform: translateY(-1px); }

.welcome-panel { min-height: 310px; position: relative; overflow: hidden; align-items: flex-end; padding: 38px 42px; border-radius: 18px; color: #fff; background: linear-gradient(90deg, rgba(14,23,17,.67), rgba(14,23,17,.08)), url('./media/positano.jpg') center 53% / cover; box-shadow: 0 20px 50px rgba(26,37,31,.14); }
.welcome-panel::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; pointer-events: none; }
.welcome-copy, .trip-badge { position: relative; z-index: 1; }
.welcome-panel h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.welcome-panel p { color: rgba(255,255,255,.76); }
.trip-badge { border-color: #24b70f; }
.trip-badge span, .trip-badge small { color: rgba(255,255,255,.68); }
.trip-badge strong { color: #fff; }
.travel-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.travel-gallery article { min-height: 230px; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; border-radius: 14px; padding: 19px; color: #fff; background: linear-gradient(0deg, rgba(10,16,12,.8), transparent 65%), var(--destination-image) center / cover; box-shadow: 0 14px 36px rgba(30,42,36,.1); transition: transform .25s ease, box-shadow .25s ease; }
.travel-gallery article::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; }
.travel-gallery article:hover { transform: translateY(-4px); box-shadow: 0 20px 46px rgba(30,42,36,.16); }
.travel-gallery article > span, .travel-gallery article > div { position: relative; z-index: 1; }
.travel-gallery article > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 9px; }
.travel-gallery small { display: block; margin-bottom: 3px; color: rgba(255,255,255,.7); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.travel-gallery strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }

/* Refined admin experience */
.admin-body { min-height: 100vh; background: #eeece6; }
.admin-body .login-wrap { position: relative; overflow: hidden; background: #171a17; }
.admin-login-video, .admin-login-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.admin-login-video { object-fit: cover; }
.admin-login-shade { background: linear-gradient(90deg, rgba(11,16,12,.34), rgba(11,16,12,.12)), linear-gradient(0deg, rgba(11,16,12,.42), transparent); }
.admin-body .login-card { position: relative; z-index: 2; width: min(450px, 100%); border: 1px solid rgba(255,255,255,.28); padding: 30px; background: rgba(249,247,241,.92); box-shadow: 0 30px 90px rgba(0,0,0,.35); backdrop-filter: blur(20px); }
.admin-body .login-card h2 { margin: 6px 0 24px; color: #282828; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.admin-body .login-card .button { width: 100%; min-height: 48px; }
.admin-body .topbar { position: sticky; top: 0; z-index: 8; display: grid; grid-template-columns: 260px 1fr auto; padding: 9px clamp(20px, 4vw, 60px); box-shadow: 0 5px 24px rgba(0,0,0,.14); }
.admin-context { padding-left: 24px; border-left: 1px solid #454545; }
.admin-context span { display: block; margin-bottom: 2px; color: #24b70f; font-size: 8px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.admin-context strong { font-size: 15px; font-family: inherit; letter-spacing: .02em; }
.admin-main { width: min(1380px, 100%); padding-top: 34px; }
.admin-hero { min-height: 280px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 20px; padding: 36px 40px; border-radius: 18px; color: #fff; background: linear-gradient(90deg, rgba(13,20,15,.68), rgba(13,20,15,.08)), url('./media/portofino.jpg') center 58% / cover; box-shadow: 0 18px 48px rgba(33,43,37,.15); }
.admin-hero h1 { max-width: none; margin: 0; color: #fff; font-size: clamp(38px, 5vw, 61px); line-height: .98; }
.admin-hero p { max-width: 570px; margin: 16px 0 0; color: rgba(255,255,255,.75); font-size: 13px; }
.admin-hero-meta { min-width: 230px; padding: 18px 0 18px 24px; border-left: 2px solid #24b70f; }
.admin-hero-meta span, .admin-hero-meta small { display: block; color: rgba(255,255,255,.67); font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.admin-hero-meta strong { display: block; margin: 7px 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.admin-body .admin-stats { gap: 12px; }
.admin-body .admin-stats .stat { min-height: 130px; position: relative; overflow: hidden; display: flex; justify-content: flex-end; flex-direction: column; border: 1px solid #dedbd3; padding: 22px; background: #faf8f3; }
.admin-body .admin-stats .stat::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #24b70f; transform: scaleX(.25); transform-origin: left; }
.admin-body .admin-stats .stat strong { margin-bottom: 3px; color: #252b27; font-family: Georgia, serif; font-size: 31px; font-weight: 500; }
.admin-body .card { border-color: #dedbd3; border-radius: 14px; box-shadow: 0 12px 36px rgba(35,42,38,.055); }
.admin-body .card h2 { color: #292f2b; font-family: Georgia, serif; font-size: 28px; font-weight: 500; }
.admin-body table { font-size: 12px; }
.admin-body th { padding-top: 14px; padding-bottom: 14px; color: #78817b; background: #f5f3ed; }
.admin-body tr { transition: background .18s; }
.admin-body tbody tr:hover { background: #f7faf5; }
.admin-body td { padding-top: 15px; padding-bottom: 15px; }
.review-hint { display: block; margin-top: 7px; color: #a46a22; font-size: 11px; line-height: 1.5; }
.review-hint.eligible { color: #23803b; }
.customer-note { display: block; margin-top: 6px; padding: 7px 9px; border-left: 2px solid #b34b40; color: #8b443d !important; background: #fff3f1; line-height: 1.45; }
.draw-history, .audit-list { display: grid; gap: 10px; margin-top: 18px; }
.draw-history article, .audit-list article { border: 1px solid #e2ded4; border-radius: 12px; padding: 14px; background: #fbfaf6; }
.draw-history article > strong, .audit-list article > strong { display: block; color: #25332c; font-size: 13px; }
.draw-history article > span, .audit-list article > span { display: block; margin-top: 3px; color: #818982; font-size: 11px; }
.draw-history article div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.draw-history article b { min-width: 56px; color: #245d1d; font-size: 11px; text-transform: uppercase; }
.draw-history article small { color: #69736d; }
.audit-list p { margin: 8px 0 0; color: #5d6862; font-size: 12px; line-height: 1.55; }
.branch-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.branch-report-card { border: 1px solid #e2ded4; border-radius: 14px; padding: 18px; background: linear-gradient(135deg, #fbfaf6, #f4f8f1); }
.branch-report-card strong { display: block; color: #24362e; font-family: Georgia, serif; font-size: 32px; font-weight: 500; }
.branch-report-card small { color: #7c8781; font-size: 11px; }
.branch-report-card dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 18px 0 0; }
.branch-report-card dl div { border-radius: 10px; padding: 10px; background: #fff; }
.branch-report-card dt { color: #7b8580; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.branch-report-card dd { margin: 5px 0 0; color: #24421e; font-size: 20px; font-weight: 850; }
.admin-password-form, .admin-email-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.admin-password-form .message, .admin-email-form .message { grid-column: 1 / -1; }
.admin-settings-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.admin-settings-form .field.full, .admin-settings-form .button, .admin-settings-form .message { grid-column: 1 / -1; }
.admin-settings-form textarea { min-height: 180px; resize: vertical; line-height: 1.55; }
.reserve-winners { display: grid; gap: 8px; margin: 16px 0; }
.reserve-winners div { border-radius: 10px; padding: 10px; background: #f4f0e7; }
.reserve-winners span, .reserve-winners small { display: block; color: #8a7560; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.reserve-winners strong { margin: 4px 0; color: #28352f; font-family: inherit; font-size: 14px; }

.legal-body { min-height: 100vh; background: radial-gradient(circle at 15% 0, rgba(36,183,15,.12), transparent 26%), #f2eee5; }
.legal-page { width: min(940px, 100%); margin: 0 auto; padding: 36px 22px 70px; }
.legal-page .logo-link { margin-bottom: 26px; border-radius: 12px; padding: 8px 14px; background: #282828; }
.legal-card { border: 1px solid #dfdacf; border-radius: 18px; padding: clamp(26px, 5vw, 54px); background: #fbf9f4; box-shadow: 0 18px 50px rgba(35,51,44,.08); }
.legal-card h1 { margin: 0 0 18px; color: #183a30; font-size: clamp(40px, 6vw, 64px); }
.legal-card h2 { margin: 28px 0 10px; color: #25332c; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.legal-card p, .legal-card li { color: #66716d; line-height: 1.75; }
.legal-card ul { margin: 0; padding-left: 20px; }

@media (max-width: 900px) {
  .admin-body .topbar { grid-template-columns: 200px auto; }
  .admin-context { display: none; }
  .admin-hero { min-height: 250px; }
  .branch-report-grid, .admin-password-form, .admin-settings-form { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .story-media { height: 100%; }
  .story-shade { background: linear-gradient(0deg, rgba(11,18,13,.78), rgba(11,18,13,.32)); }
  .brand-row .logo-link { width: 230px; height: 62px; }
  .story-footer { display: flex; }
  .story-footer > span { display: none; }
  .destination-switcher { width: 100%; justify-content: center; }
  .welcome-panel { min-height: 290px; padding: 28px 24px; background-position: 64% center; }
  .travel-gallery { grid-template-columns: 1fr; }
  .travel-gallery article { min-height: 190px; }
  .admin-body .topbar { grid-template-columns: 1fr auto; padding: 8px 16px; }
  .admin-header-logo { width: 190px; }
  .admin-hero { min-height: 320px; align-items: flex-start; flex-direction: column; padding: 27px 24px; background-position: 62% center; }
  .admin-hero h1 { font-size: 42px; }
  .admin-hero-meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .destination-video { display: none; }
  .story-media { background: url('./media/positano.jpg') center / cover; }
  .travel-gallery article, .primary-action { transition: none; }
  .admin-login-video { display: none; }
  .admin-body .login-wrap { background: linear-gradient(rgba(12,18,14,.45), rgba(12,18,14,.65)), url('./media/amalfi.jpg') center / cover; }
}

/* Customer campaign experience */
.campaign-body { min-height: 100vh; background: #f3efe6; color: #1b241f; }
.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(460px, .88fr); }
.campaign-story { min-height: 100vh; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 34px clamp(34px, 5vw, 76px) 30px; color: #fffaf0; background: #282828; isolation: isolate; }
.campaign-story::before { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .26; background-image: linear-gradient(120deg, transparent 0 50%, rgba(255,255,255,.035) 50%), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 80px); }
.brand-row, .account-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 12px; font-weight: 850; letter-spacing: .18em; }
.brand-mark { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: Georgia, serif; font-size: 13px; letter-spacing: 0; }
.campaign-tag { padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; color: #e3dac8; font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.story-content { width: min(730px, 100%); margin: auto 0; padding: 72px 0 170px; position: relative; z-index: 2; }
.story-kicker, .auth-eyebrow, .section-label { display: block; margin-bottom: 14px; color: #24b70f; font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.story-content h1 { max-width: none; margin: 0; color: #fffaf0; font-size: clamp(48px, 5.1vw, 79px); line-height: 1.01; letter-spacing: -.04em; }
.story-content h1 em { color: #24b70f; font-weight: 400; }
.story-content > p { max-width: 570px; margin: 28px 0 0; color: #cad6d0; font-size: 16px; line-height: 1.75; }
.story-steps { display: flex; gap: 0; margin-top: 42px; }
.story-steps div { min-width: 150px; padding: 0 24px; border-left: 1px solid rgba(255,255,255,.16); }
.story-steps div:first-child { padding-left: 0; border-left: 0; }
.story-steps span { display: block; color: #24b70f; font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.story-steps strong { display: block; margin-top: 7px; color: #f6f0e5; font-size: 12px; font-weight: 650; }
.story-footer { display: flex; justify-content: space-between; position: relative; z-index: 2; color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.coast-art { position: absolute; inset: auto 0 0; height: 290px; z-index: -1; pointer-events: none; }
.sun { position: absolute; right: 15%; top: 20px; width: 102px; height: 102px; border: 1px solid rgba(228,170,126,.42); border-radius: 50%; box-shadow: 0 0 80px rgba(228,170,126,.08); }
.cliff { position: absolute; bottom: -70px; background: #202020; transform: rotate(-8deg); }
.cliff-one { left: -6%; width: 48%; height: 250px; border-radius: 50% 60% 0 0; }
.cliff-two { left: 28%; width: 25%; height: 150px; border-radius: 70% 40% 0 0; transform: rotate(8deg); background: #242424; }
.sea-line { position: absolute; right: 0; bottom: 84px; width: 57%; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,170,126,.5)); }
.auth-column { display: grid; place-items: center; padding: 54px clamp(30px, 5vw, 82px); background: #f7f3eb; }
.mobile-brand { display: none; }
.auth-card { width: min(520px, 100%); }
.auth-heading h2 { margin: 0 0 8px; color: #17372d; font-family: Georgia, serif; font-size: clamp(36px, 4vw, 50px); font-weight: 500; letter-spacing: -.03em; }
.auth-heading p { margin: 0; color: #748078; font-size: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin: 30px 0 24px; padding: 5px; border-radius: 12px; background: #e9e4da; }
.auth-tab { border: 0; border-radius: 9px; padding: 11px; color: #768078; background: transparent; font-size: 13px; font-weight: 800; }
.auth-tab.active { color: #17372d; background: #fff; box-shadow: 0 4px 14px rgba(27,47,39,.08); }
.auth-form { display: grid; gap: 16px; }
.auth-form .field { gap: 8px; }
.auth-form label, .upload-card label { color: #3b4841; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.auth-form input, .upload-card input, .upload-card select { min-height: 49px; border-color: #d9d3c8; border-radius: 8px; background: #fffdf9; font-size: 14px; }
.auth-form input::placeholder, .upload-card input::placeholder { color: #a3a9a5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; color: #7a817c !important; font-size: 11px !important; line-height: 1.55; letter-spacing: 0 !important; text-transform: none !important; }
.consent-row input { width: 16px; min-height: 16px; margin: 2px 0 0; accent-color: #214c3e; }
.consent-row a { color: #1c5542; }
.primary-action { width: 100%; min-height: 52px; display: flex; justify-content: space-between; align-items: center; border: 0; border-radius: 8px; padding: 0 18px; color: #13200f; background: #24b70f; font-size: 13px; font-weight: 850; transition: transform .2s, background .2s; }
.primary-action:hover { background: #31cf1b; transform: translateY(-1px); }
.primary-action:disabled { cursor: wait; opacity: .65; }
.link-button { width: max-content; border: 0; padding: 0; color: #23631c; background: transparent; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.auth-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #ddd8ce; color: #959a96; font-size: 10px; line-height: 1.6; text-align: center; }

.account-page { min-height: 100vh; background: #f2eee5; }
.account-header { min-height: 82px; padding: 0 clamp(22px, 5vw, 70px); border-bottom: 1px solid #333; color: #fff; background: #282828; }
.brand.dark { color: #173d31; }
.account-nav { display: flex; align-items: center; gap: 18px; color: #58635d; font-size: 12px; }
.account-nav a { color: #24b70f; font-weight: 750; text-decoration: none; }
.account-nav a:hover { text-decoration: underline; }
.text-button { border: 0; border-left: 1px solid #d5d0c6; padding: 4px 0 4px 18px; color: #9a6143; background: transparent; font-size: 12px; font-weight: 750; }
.account-main { width: min(1280px, 100%); margin: 0 auto; padding: 48px 24px 70px; }
.welcome-panel { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.welcome-panel h1 { margin: 0; color: #17372d; font-size: clamp(38px, 5vw, 62px); }
.welcome-panel p { max-width: 600px; margin: 12px 0 0; color: #78827c; line-height: 1.6; }
.trip-badge { min-width: 210px; padding: 18px 22px; border-left: 2px solid #c9885d; }
.trip-badge span, .trip-badge small { display: block; color: #8a928d; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.trip-badge strong { display: block; margin: 5px 0; color: #17372d; font-family: Georgia, serif; font-size: 22px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.account-content { min-width: 0; display: grid; gap: 24px; }
.metric-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 14px; }
.metric, .panel-card, .upload-card { border: 1px solid #dfdacf; border-radius: 14px; background: #fbf9f4; box-shadow: 0 10px 36px rgba(35,51,44,.045); }
.metric { min-height: 158px; padding: 24px; }
.metric > span { color: #7d8680; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.metric > strong { display: block; margin: 18px 0 4px; color: #173d31; font-family: Georgia, serif; font-size: 36px; font-weight: 500; }
.metric small { color: #9ba19d; font-size: 10px; }
.metric.featured { color: #fff; border-color: #282828; background: #282828; }
.metric.featured > span, .metric.featured small { color: #cedbd5; }
.metric.featured > strong { color: #fff; }
.metric-progress { height: 4px; margin-top: 18px; border-radius: 10px; background: rgba(255,255,255,.14); overflow: hidden; }
.metric-progress i { display: block; width: 0; height: 100%; background: #24b70f; transition: width .4s; }
.panel-card { padding: 26px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.panel-heading h2, .upload-card h2 { margin: 0; color: #183a30; font-family: Georgia, serif; font-size: 26px; font-weight: 500; }
.section-label { margin-bottom: 6px; font-size: 9px; }
.soft-badge { border-radius: 99px; padding: 7px 11px; color: #567064; background: #e7eee9; font-size: 10px; font-weight: 750; }
.verification-intro { border: 1px solid #dfdacf; border-radius: 14px; padding: 18px; background: #fbf9f4; }
.verification-intro strong { display: block; color: #183a30; font-family: Georgia, serif; font-size: 24px; font-weight: 500; }
.verification-intro p { margin: 8px 0 0; color: #6f7b75; line-height: 1.55; }
.verification-card > p { margin: -10px 0 18px; color: #7b8580; font-size: 12px; }
.verification-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.verification-item { display: grid; gap: 10px; border: 1px solid #e0dacd; border-radius: 12px; padding: 15px; background: #fffdf8; }
.verification-item strong { color: #273b32; font-size: 13px; }
.verification-item > span { width: max-content; border-radius: 99px; padding: 5px 9px; color: #8b650d; background: #fff3ce; font-size: 10px; font-weight: 850; }
.verification-item.verified > span { color: #155a3e; background: #dff1e8; }
.verify-line { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.verify-line input { min-height: 42px; }
.verify-line .button, .verification-item .button { padding: 10px 12px; font-size: 11px; }
.verification-item.verified .verify-line { display: none; }
.ticket-code { min-width: 205px; padding: 16px; border: 1px dashed #ca9b7c; border-radius: 10px; background: #fff8ef; }
.ticket-code span, .ticket-code small { display: block; color: #a2765b; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.ticket-code strong { display: block; margin: 8px 0; color: #23483c; font-family: ui-monospace, monospace; font-size: 15px; }
.empty-state { width: 100%; display: flex; align-items: center; gap: 15px; padding: 18px; border-radius: 10px; background: #f1eee7; }
.empty-state > span { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #b87956; font-family: Georgia, serif; }
.empty-state strong { color: #304039; font-size: 13px; }
.empty-state p { margin: 4px 0 0; color: #8b928e; font-size: 11px; }
.empty-state.compact { padding: 14px; }
.receipt-row { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; gap: 14px; align-items: center; padding: 15px 0; border-top: 1px solid #e4dfd5; }
.receipt-row:first-child { border-top: 0; }
.receipt-symbol { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 8px; color: #68766f; background: #ebeee9; font-size: 8px; font-weight: 850; }
.receipt-main strong, .receipt-result strong { display: block; color: #35443d; font-size: 12px; }
.receipt-main span { color: #959c98; font-size: 10px; }
.receipt-result { display: flex; align-items: flex-end; flex-direction: column; gap: 5px; }
.status-dot { font-size: 9px; font-weight: 800; }
.status-dot::before { content: ""; width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #d4a52e; }
.status-dot.approved::before { background: #2d8b63; }
.status-dot.rejected::before { background: #b34b40; }
.upload-card { position: sticky; top: 24px; padding: 28px; }
.upload-card > p { margin: 10px 0 24px; color: #858d88; font-size: 12px; line-height: 1.55; }
.upload-card form { display: grid; gap: 16px; }
.upload-card .form-row { grid-template-columns: 1fr 1fr; }
.file-drop { min-height: 154px; display: flex !important; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed #b9b5ad; border-radius: 10px; color: #66726c !important; background: #f6f3ed; cursor: pointer; text-align: center; text-transform: none !important; }
.file-drop:hover { border-color: #37705b; background: #f0f4ef; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 50%; color: #fff; background: #315d4d; font-size: 18px; }
.file-drop strong { max-width: 230px; overflow: hidden; color: #44534c; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.file-drop small { margin-top: 5px; color: #9a9f9b; font-size: 9px; }

.logo-link { display: inline-flex; width: min(310px, 42vw); height: 76px; overflow: hidden; }
.logo-link img { width: 100%; height: 100%; object-fit: contain; }
.mobile-brand img { width: 230px; max-width: 100%; }
.admin-logo { display: block; width: 100%; margin: -8px auto 24px; border-radius: 8px; }
.admin-header-logo { width: 230px; max-height: 64px; object-fit: contain; }
.topbar { min-height: 78px; background: #282828; }
.topbar .button.secondary { color: #15230f; background: #24b70f; }
.button { color: #15230f; background: #24b70f; }
.button.secondary { color: #24621c; background: #e7f7e3; }
.auth-tab.active { box-shadow: inset 0 -2px #24b70f, 0 4px 14px rgba(27,47,39,.08); }
.consent-row input { accent-color: #24b70f; }
.text-button { color: #24b70f; border-left-color: #555; }
.file-icon { color: #13200f; background: #24b70f; }

@media (max-width: 1020px) {
  .auth-page { grid-template-columns: .9fr 1.1fr; }
  .story-steps { display: grid; gap: 12px; }
  .story-steps div { border: 0; padding: 0; }
  .story-content { padding-bottom: 130px; }
  .account-grid { grid-template-columns: 1fr; }
  .upload-card { position: static; }
}

@media (max-width: 760px) {
  .auth-page { display: block; min-height: 100vh; background: #f7f3eb; }
  .campaign-story { min-height: 330px; padding: 24px 22px; }
  .brand-row .campaign-tag, .story-steps, .story-footer { display: none; }
  .story-content { margin: 36px 0 0; padding: 0 0 80px; }
  .story-content h1 { font-size: 42px; }
  .story-content > p { margin-top: 18px; font-size: 13px; line-height: 1.6; }
  .coast-art { height: 150px; }
  .sun { width: 60px; height: 60px; }
  .cliff-one { height: 110px; }
  .auth-column { display: block; padding: 28px 20px 46px; }
  .auth-heading h2 { font-size: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .account-header { min-height: 66px; padding: 0 18px; }
  .account-header .logo-link { width: 190px; height: 58px; }
  .account-nav > span { display: none; }
  .account-main { padding: 32px 16px 50px; }
  .welcome-panel { align-items: flex-start; flex-direction: column; margin-bottom: 26px; }
  .welcome-panel h1 { font-size: 39px; }
  .trip-badge { display: none; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .verification-grid { grid-template-columns: 1fr; }
  .metric.featured { grid-column: 1 / -1; }
  .metric { min-height: 135px; padding: 19px; }
  .metric > strong { font-size: 30px; }
  .panel-card, .upload-card { padding: 20px; }
  .upload-card .form-row { grid-template-columns: 1fr; }
  .receipt-row { grid-template-columns: 38px minmax(0,1fr); }
  .receipt-result { grid-column: 2; align-items: flex-start; flex-direction: row; }
}

/* Final cinematic specificity layer */
.campaign-story { background: #161916; }
.campaign-story::before { z-index: 1; opacity: .18; pointer-events: none; }
.auth-column { background: radial-gradient(circle at 80% 10%, rgba(36,183,15,.08), transparent 27%), #f7f3eb; }
.welcome-panel h1 { color: #fff; }
.welcome-panel p { color: rgba(255,255,255,.76); }
.trip-badge { border-color: #24b70f; }
.trip-badge span, .trip-badge small { color: rgba(255,255,255,.68); }
.trip-badge strong { color: #fff; }

@media (max-width: 760px) {
  .story-footer { display: flex; }
  .story-footer > span { display: none; }
}
