:root{
  --bg:#f4f7fb;--card:#fff;--text:#162033;--muted:#6b7280;--line:#e5e7eb;
  --blue:#2563eb;--green:#16a34a;--orange:#f59e0b;--red:#dc2626;--dark:#0f172a;
  --radius:18px;--shadow:0 14px 34px rgba(15,23,42,.08);
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit;text-decoration:none}.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}
.sidebar{background:var(--dark);color:#fff;padding:24px 18px;position:sticky;top:0;height:100vh}.logo-link{display:flex;gap:12px;align-items:center;margin-bottom:22px}.logo-mark{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#3b82f6,#22c55e);font-weight:900}.brand-name{font-weight:900;font-size:20px}.brand-sub{font-size:12px;color:#9ca3af}.nav-title{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#94a3b8;margin:18px 10px 8px}.nav a{display:block;color:#d1d5db;padding:12px 14px;border-radius:12px;margin-bottom:4px}.nav a:hover{background:rgba(255,255,255,.09);color:#fff}.nav a.disabled{opacity:.45;cursor:not-allowed}.main{padding:26px}.topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:22px}.topbar h1{font-size:30px;margin:0 0 6px}.subtitle{color:var(--muted);margin:0}.top-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.profile-menu{position:relative}.profile-menu summary{width:42px;height:42px;display:grid;place-items:center;cursor:pointer;list-style:none;border:1px solid var(--line);border-radius:999px;background:#fff;box-shadow:0 8px 18px rgba(15,23,42,.07)}.profile-menu summary::-webkit-details-marker{display:none}.profile-avatar{position:relative;width:22px;height:22px;display:block}.profile-avatar::before{content:"";position:absolute;left:7px;top:2px;width:8px;height:8px;border-radius:999px;background:var(--text)}.profile-avatar::after{content:"";position:absolute;left:3px;bottom:2px;width:16px;height:9px;border-radius:999px 999px 5px 5px;background:var(--text)}.profile-menu-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:20;width:240px;display:grid;gap:4px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.profile-menu-panel strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-menu-panel small{display:block;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px}.profile-menu-panel a,.profile-menu-panel button{width:100%;display:block;padding:10px 11px;border:0;border-radius:10px;background:#fff;color:var(--text);font:inherit;font-weight:800;text-align:left;cursor:pointer}.profile-menu-panel a:hover,.profile-menu-panel button:hover{background:#f8fafc}.btn{border:0;border-radius:12px;padding:11px 16px;font-weight:800;cursor:pointer;background:var(--blue);color:#fff;box-shadow:0 8px 18px rgba(37,99,235,.22);display:inline-flex;align-items:center;justify-content:center}.btn.secondary{background:#fff;color:var(--text);border:1px solid var(--line);box-shadow:none}.button-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow)}.hero-grid,.grid{display:grid;gap:18px}.hero-grid{grid-template-columns:1.2fr .8fr}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-card h2{font-size:38px;margin:16px 0 10px}.hero-card p{font-size:17px;color:var(--muted);line-height:1.55}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;background:#eff6ff;color:#1d4ed8}.tag.green{background:#ecfdf5;color:#166534}.tag.orange{background:#fffbeb;color:#b45309}.tag.red{background:#fef2f2;color:#b91c1c}.checklist{display:grid;gap:12px}.check{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafcff}.check span{width:22px;height:22px;border-radius:999px;background:#dcfce7;color:#15803d;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.check small{display:block;color:var(--muted);margin-top:4px}.auth-card{max-width:560px}.form-stack{display:grid;gap:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label{display:block;font-size:13px;color:var(--muted);font-weight:800;margin-bottom:7px}input[type="text"],input[type="email"],input[type="number"],input[type="password"],input[type="search"],input[type="tel"],input[type="url"],input[type="date"],input[type="time"],input[type="datetime-local"],select,textarea{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:12px;font:inherit;background:#fff}.errorlist{color:var(--red);margin:6px 0 0;padding-left:18px}.help{display:block;color:var(--muted);margin-top:5px}.span-2{grid-column:span 2}.form-actions{display:flex;gap:10px;justify-content:flex-end}.messages{display:grid;gap:10px;margin-bottom:18px}.message{border-radius:12px;padding:12px 14px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-weight:700}.message.success{background:#ecfdf5;border-color:#bbf7d0;color:#166534}.section-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.section-row h2{margin:0 0 4px}.event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.event-card{display:block;transition:.15s transform ease,.15s box-shadow ease}.event-card:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(15,23,42,.12)}.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.event-card h3{font-size:22px;margin:0 0 8px}.event-card p{color:var(--muted);min-height:44px}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.mini-grid small,.metric-card small{display:block;color:var(--muted);margin-bottom:5px}.mini-grid strong,.metric-card strong{font-size:18px}.empty-state{text-align:center;max-width:680px;margin:auto}.metric-card strong{display:block}.wizard-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.wizard-card{display:flex;gap:12px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fafcff}.wizard-card p{margin:5px 0 0;color:var(--muted)}.dot{width:28px;height:28px;border-radius:999px;background:#e5e7eb;color:#6b7280;display:grid;place-items:center;font-weight:900;flex:0 0 auto}.dot.done{background:#dcfce7;color:#15803d}.dot.next{background:#fef3c7;color:#b45309}
@media(max-width:1050px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;padding:14px 16px}.sidebar .logo-link{margin-bottom:10px}.sidebar .nav{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.sidebar .nav-title{display:none}.sidebar .nav a{flex:0 0 auto;margin:0;white-space:nowrap}.sidebar-note{display:none}.hero-grid,.cols-4,.cols-2,.event-grid,.wizard-cards,.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.topbar>div:first-child{min-width:0}.topbar h1{overflow-wrap:anywhere}.section-row{flex-direction:column;align-items:flex-start}.top-actions{justify-content:flex-end}.form-actions{justify-content:flex-start}}
@media(max-width:650px){.topbar{gap:10px}.topbar h1{font-size:24px}.profile-menu-panel{right:0;width:min(240px,calc(100vw - 32px))}}
.page-actions{display:flex;gap:10px;justify-content:flex-end;margin-bottom:18px}.event-primary-actions{align-items:center;flex-wrap:wrap}.event-primary-actions form{margin:0}.btn.danger{background:var(--red);box-shadow:0 8px 18px rgba(220,38,38,.2)}
.wizard-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:18px;align-items:start}.wizard-sidebar{position:sticky;top:20px;padding:16px}.wizard-progress-label{font-size:13px;font-weight:800;color:var(--muted);margin-bottom:8px}.wizard-progress{height:8px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-bottom:16px}.wizard-progress span{display:block;height:100%;background:var(--blue);border-radius:999px}.wizard-nav{display:grid;gap:5px}.wizard-nav a{display:flex;align-items:center;gap:9px;padding:9px;border-radius:10px;color:var(--muted);font-size:13px;font-weight:700}.wizard-nav a:hover,.wizard-nav a.active{background:#eff6ff;color:#1d4ed8}.wizard-nav a.complete{color:#166534}.wizard-nav a span{width:24px;height:24px;border-radius:999px;background:#e5e7eb;display:grid;place-items:center;flex:0 0 auto;font-size:12px}.wizard-nav a.active span{background:#dbeafe;color:#1d4ed8}.wizard-nav a.complete span{background:#dcfce7;color:#166534}.wizard-main h2{font-size:28px;margin:12px 0 6px}.wizard-description{margin-bottom:22px}.wizard-form{margin-top:22px}.wizard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:8px}.wizard-form .field-label{color:var(--text);font-size:15px;font-weight:900;letter-spacing:.01em;margin-bottom:10px}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.review-item{padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafcff}.review-item small{display:block;color:var(--muted);margin-bottom:5px}.review-item strong{display:block}
@media(max-width:1050px){.wizard-layout{grid-template-columns:1fr}.wizard-sidebar{position:static}.review-grid{grid-template-columns:1fr}.wizard-actions{align-items:stretch}.wizard-actions .btn,.wizard-actions button{width:100%}}
.form-option-list{display:flex;flex-direction:column;width:100%;max-width:520px;gap:8px;margin:0;padding:0;list-style:none}.form-option-list ul{margin:0;padding:0;list-style:none}.form-option-row,.form-check-row{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;width:fit-content;max-width:100%;min-height:32px;margin:0;color:var(--text);cursor:pointer}.form-check-row{flex-direction:row-reverse}.form-option-label{font-size:15px;font-weight:500;line-height:1.3}.form-check-row span{line-height:1.3}.form-option-row input[type="radio"],.form-option-row input[type="checkbox"],.form-check-row input[type="radio"],.form-check-row input[type="checkbox"]{appearance:auto;-webkit-appearance:auto;width:auto;min-width:0;height:auto;min-height:0;margin:0;padding:0;border:initial;border-radius:initial;background:initial;box-shadow:none;flex:0 0 auto;accent-color:var(--blue);cursor:pointer}.form-option-row input:focus-visible,.form-check-row input:focus-visible{outline:2px solid rgba(37,99,235,.35);outline-offset:2px}.pos-station-group{border:1px solid var(--line);border-radius:14px;background:#fafcff}.pos-station-group summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px;cursor:pointer;list-style:none}.pos-station-group summary::-webkit-details-marker{display:none}.pos-station-group summary span:first-child{display:grid;gap:4px}.pos-station-group summary small{color:var(--muted);font-weight:400}.pos-station-group[open] summary{border-bottom:1px solid var(--line)}.pos-station-group .product-list{padding:12px}.station-row{grid-template-columns:minmax(0,1fr) auto}.station-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.staff-link-share{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:center;margin-top:16px}.staff-link-share>div:first-child{display:grid;justify-items:center;gap:10px}.staff-link-share img{width:200px;height:200px;max-width:100%;border:1px solid var(--line);border-radius:12px;padding:8px;background:#fff}.sensitive-card{border-color:#fdba74;background:#fffaf5}.pin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pin-item{padding:14px;text-align:center;border:1px dashed #d97706;border-radius:12px;background:#fff}.pin-item small{display:block;color:var(--muted);margin-bottom:6px}.pin-item strong{font-size:24px;letter-spacing:3px}.product-list{display:grid;gap:10px}.product-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:13px;border:1px solid var(--line);border-radius:12px}.product-row small{display:block;color:var(--muted);margin-top:4px}.row-actions{display:flex;gap:10px;font-size:13px;font-weight:800;color:var(--blue)}.danger-link{color:var(--red)}.qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qr-card{text-align:center;padding:12px;border:1px solid var(--line);border-radius:12px}.qr-card img{display:block;width:150px;max-width:100%;margin:0 auto 8px}
@media(max-width:1050px){.pin-grid,.qr-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-row{grid-template-columns:1fr}.row-actions{justify-content:flex-start}}
@media(max-width:650px){.staff-link-share{grid-template-columns:1fr}.staff-link-share img{width:180px;height:180px}}
.setup-pin-panel{margin-top:18px}.setup-pin-panel h3{margin:0 0 5px}.setup-pin-panel p{color:var(--muted);margin:0 0 14px}.setup-checklist{display:grid;gap:10px;margin-top:18px}.setup-check{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:13px}.setup-check small{display:block;color:var(--muted);margin-top:3px}.setup-check>a,.text-action{color:var(--blue);font:inherit;font-size:13px;font-weight:800}.setup-state{justify-self:end;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900}.setup-state.pending{color:#9a4614;background:#fff0df}.setup-state.manage{color:#08796e;background:#eaf8f5}.setup-state.na{color:#7b8794;background:#eef1f4}.text-action{border:0;background:none;padding:0;cursor:pointer}.status-check{width:28px;height:28px;border-radius:999px;background:#e5e7eb;color:#64748b;display:grid;place-items:center;font-weight:900}.status-check.done{background:#dcfce7;color:#15803d}
details.card.dashboard-panel{padding:0;overflow:hidden}.dashboard-panel-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;cursor:pointer;list-style:none}.dashboard-panel-summary.static{cursor:default}.dashboard-panel-summary::-webkit-details-marker{display:none}.dashboard-panel-summary>span:first-child{display:flex;align-items:baseline;column-gap:5px;row-gap:6px;min-width:0;flex-wrap:wrap}.dashboard-panel-summary>span:first-child>strong{font-size:20px;line-height:1.2}.dashboard-panel-summary small{color:var(--muted);font-weight:500;line-height:1.4}.dashboard-panel[open] .dashboard-panel-summary{border-bottom:1px solid var(--line)}.dashboard-action-section .dashboard-panel-summary,.dashboard-danger-zone .dashboard-panel-summary{border-bottom:1px solid var(--line)}.dashboard-panel-content{padding:18px 20px}.dashboard-panel-content.setup-checklist{margin-top:0}.dashboard-panel-content.wizard-cards{margin:0}.dashboard-panel-actions{display:flex;justify-content:flex-end;margin-bottom:14px}.action-cluster{gap:10px;flex-wrap:wrap}.event-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.event-action-tile{position:relative;display:grid;gap:6px;min-height:116px;padding:16px 16px 16px 18px;border:1px solid var(--line);border-left-width:5px;border-radius:14px;background:#fafcff;transition:.15s transform ease,.15s box-shadow ease,.15s border-color ease}.event-action-tile strong{font-size:17px}.event-action-tile small,.danger-zone-content small{display:block;color:var(--muted);line-height:1.4}.event-action-tile.lottery{border-left-color:#7c3aed;background:#f5f3ff}.event-action-tile.display{border-left-color:#2563eb;background:#eff6ff}.event-action-tile.charity{border-left-color:#16a34a;background:#ecfdf5}.event-action-tile.lottery strong{color:#5b21b6}.event-action-tile.display strong{color:#1d4ed8}.event-action-tile.charity strong{color:#166534}.event-action-tile:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(15,23,42,.08)}.event-action-tile.lottery:hover{border-color:#c4b5fd;border-left-color:#7c3aed}.event-action-tile.display:hover{border-color:#bfdbfe;border-left-color:#2563eb}.event-action-tile.charity:hover{border-color:#bbf7d0;border-left-color:#16a34a}.danger-zone-content{display:flex;align-items:center;justify-content:space-between;gap:16px}.danger-zone-content>div{min-width:0}
@media(max-width:1050px){.event-primary-actions{justify-content:flex-start}.event-action-grid{grid-template-columns:1fr}.setup-check{grid-template-columns:30px minmax(0,1fr)}.setup-check>a,.setup-check form,.setup-check>.setup-state{grid-column:2;justify-self:start}}
@media(max-width:650px){.event-primary-actions,.event-primary-actions form,.event-primary-actions .btn,.dashboard-panel-actions .btn,.danger-zone-content .btn{width:100%}.dashboard-panel-actions{justify-content:stretch}.dashboard-panel-summary{align-items:flex-start;flex-direction:column}.danger-zone-content{align-items:stretch;flex-direction:column}.event-action-tile{min-height:0}}
.dot.na,.not-applicable .status-check{background:#f1f5f9;color:#94a3b8}.status-na{display:block;color:#94a3b8;margin-top:5px;font-weight:800}.setup-check.not-applicable{background:#f8fafc;color:#64748b}.print-preview{min-height:260px;padding:28px;border:1px dashed #94a3b8;border-radius:16px;background:#e2e8f0;overflow:auto}.preview-pages{display:grid;gap:24px;justify-items:center;width:100%}.preview-page{position:relative;width:min(100%,794px);aspect-ratio:210/297;container-type:inline-size;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.16)}.preview-label{position:absolute;left:var(--label-left);top:var(--label-top);width:var(--label-width);height:var(--label-height);overflow:hidden;border:var(--label-border-width) solid #000;background:#fff}.preview-label img{position:absolute;left:var(--qr-left);bottom:var(--qr-bottom);width:var(--qr-width);height:var(--qr-height);display:block}.preview-label strong{position:absolute;left:var(--text-left);bottom:var(--text-bottom);max-width:calc(100% - var(--text-left));overflow:hidden;color:#000;font-family:Arial,Helvetica,sans-serif;font-size:max(1px,var(--text-size));font-weight:700;line-height:1;white-space:nowrap}.preview-text-below strong{max-width:100%;transform:translateX(-50%);text-align:center}
@media(max-width:650px){.print-preview{padding:12px}}
.layout-guide{display:grid;gap:10px;margin-top:18px}.layout-guide-row{display:grid;gap:4px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafcff}.layout-guide-row span{color:var(--muted);font-size:13px}.print-note{margin-top:18px;padding:14px;border-radius:12px;background:#eff6ff;color:#1e3a8a}.print-note p{margin:6px 0 0;line-height:1.45}
.qr-receipt{text-align:center}.qr-receipt img{display:block;width:260px;max-width:100%;margin:18px auto}.qr-receipt small{display:block;color:var(--muted);overflow-wrap:anywhere}.audit-list{display:grid;gap:8px;margin-top:16px}.audit-row{display:flex;justify-content:space-between;gap:16px;padding:12px;border:1px solid var(--line);border-radius:12px}.audit-row small{display:block;color:var(--muted);margin-top:3px}.audit-row time{color:var(--muted);white-space:nowrap}
.scan-input-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch}.scan-button{white-space:nowrap}.child-wallet-fields{display:grid;gap:14px}.child-wallet-row{padding:16px;border:1px solid var(--line);border-radius:14px;background:#fafcff}.child-wallet-row h3{margin:0 0 14px}.qr-scanner-modal{position:fixed;inset:0;z-index:1000;background:rgba(15,23,42,.82);padding:18px;overflow:auto}.qr-scanner-modal[hidden]{display:none}.qr-scanner-panel{width:min(620px,100%);margin:3vh auto;background:#fff;border-radius:18px;padding:18px;box-shadow:0 24px 70px rgba(0,0,0,.35)}.qr-scanner-panel .section-row{margin-bottom:14px}.qr-scanner-panel h2{margin:0 0 5px}.qr-video-wrap{position:relative;overflow:hidden;border-radius:14px;background:#020617;aspect-ratio:4/3}.qr-video-wrap video{display:block;width:100%;height:100%;object-fit:cover}.qr-scanner-status{margin:12px 0 0;color:var(--muted);font-weight:700}.qr-scanner-status.error{color:var(--red)}.qr-file-button{margin:0}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:650px){.main{padding:16px}.scan-input-row{grid-template-columns:1fr}.scan-button{width:100%;min-height:48px}.qr-scanner-modal{padding:0}.qr-scanner-panel{min-height:100dvh;margin:0;border-radius:0;padding:14px}.qr-video-wrap{aspect-ratio:3/4}.qr-scanner-panel .section-row{flex-direction:row;align-items:flex-start}.pin-grid,.qr-grid{grid-template-columns:1fr}}
.booth-pos-shell{width:min(760px,100%);margin:0 auto;padding:18px}.booth-pos-card{margin:8vh auto 0}.booth-pos-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.booth-pos-header h1{margin:7px 0 3px}.booth-pos-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.booth-close-pos{font-size:13px;padding:9px 12px}.booth-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.booth-product-button{min-height:150px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}.booth-product-button strong{font-size:22px}.booth-product-button small{color:var(--muted)}.booth-product-button span,.booth-price{font-size:24px;font-weight:900;color:var(--blue)}.booth-pos-form{margin-top:22px}.booth-primary-action{min-height:50px;font-size:16px}.booth-confirm-card,.booth-result-card{text-align:center}.booth-confirm-card h1{font-size:44px;margin:18px 0 6px}.booth-confirm-actions{justify-content:center}.booth-result-icon{width:86px;height:86px;border-radius:999px;display:grid;place-items:center;margin:0 auto 18px;font-size:50px;font-weight:900}.booth-result-icon.approved{background:#dcfce7;color:#15803d}.booth-result-icon.declined{background:#fee2e2;color:#b91c1c}.booth-result-amount{font-size:42px;font-weight:900;color:#15803d;margin:8px 0}.booth-result-message{font-size:20px;color:var(--red);font-weight:800}.booth-approved-page{background:#f0fdf4}.booth-declined-page{background:#fef2f2}
@media(max-width:650px){.booth-pos-shell{padding:12px}.booth-pos-card{margin-top:3vh}.booth-product-grid{grid-template-columns:1fr}.booth-product-button{min-height:120px}.booth-confirm-actions .btn{flex:1}.booth-pos-header{align-items:flex-start}}
.pos-body{min-height:100vh;background:var(--bg)}.pos-brandbar{height:46px;padding:6px max(12px,calc((100vw - 920px)/2));display:flex;align-items:center;justify-content:space-between;background:var(--dark);color:#fff}.pos-brand{display:flex;align-items:center;gap:8px}.pos-logo-mark{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(135deg,#3b82f6,#22c55e);font-size:11px;font-weight:900}.pos-brand>span:last-child{display:grid;line-height:1.05}.pos-brand strong{font-size:14px}.pos-brand small{font-size:9px;color:#94a3b8;text-transform:uppercase;letter-spacing:.08em}.pos-shell{width:min(920px,100%);margin:0 auto;padding:14px 18px 24px}.pos-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.pos-page-header h1{font-size:24px;line-height:1.1;margin:0 0 3px}.pos-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.pos-page-actions:empty{display:none}.pos-centered-card,.pos-transaction-card{max-width:620px;margin:3vh auto 0}.pos-action-grid{gap:12px}.pos-action-grid .event-card{padding:16px}.pos-action-grid .event-card h2{margin:9px 0 5px}.pos-action-grid .event-card p{min-height:0;margin:0}.pos-display-card{padding:16px}.pos-shell .wizard-form{margin-top:14px}.pos-shell .card{box-shadow:0 8px 22px rgba(15,23,42,.07)}.pos-shell .review-grid{margin-top:14px}.pos-shell .booth-product-grid{gap:12px}
@media(max-width:650px){.pos-brandbar{height:42px;padding:5px 10px}.pos-logo-mark{width:28px;height:28px}.pos-shell{padding:10px 12px 18px}.pos-page-header{align-items:flex-start;margin-bottom:10px}.pos-page-header h1{font-size:20px}.pos-page-header .subtitle{font-size:12px}.pos-page-actions{gap:6px}.pos-page-actions .btn{padding:8px 10px;font-size:12px}.pos-page-actions .booth-price{font-size:18px}.pos-centered-card,.pos-transaction-card{margin-top:1vh}.pos-shell .card{padding:15px}.pos-action-grid{grid-template-columns:1fr 1fr}.pos-action-grid .event-card{padding:13px}.pos-action-grid .event-card h2{font-size:18px}.pos-action-grid .event-card p{font-size:13px}.pos-action-grid .pos-display-card{grid-column:span 2}.pos-shell .form-stack{gap:12px}.pos-shell .wizard-actions,.pos-shell .button-row{margin-top:10px}.pos-shell .review-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pos-shell .review-item{padding:10px}.pos-shell .booth-product-button{min-height:100px;padding:15px}.pos-shell .booth-result-icon{width:68px;height:68px;font-size:40px;margin-bottom:10px}.pos-shell .booth-result-amount{font-size:34px}}
@media(max-width:390px){.pos-action-grid{grid-template-columns:1fr}.pos-action-grid .pos-display-card{grid-column:auto}.pos-page-header{flex-wrap:wrap}.pos-page-actions{width:100%;justify-content:flex-start}}
.wallet-balance-card{text-align:center}.wallet-balance-card small{display:block;color:var(--muted);font-weight:800}.wallet-balance-card strong{display:block;font-size:42px;color:var(--green);margin:5px 0}.wallet-pass-card{text-align:center}.wallet-pass-card h2{margin:10px 0 5px}.wallet-pass-qr,.wallet-child-qr{display:block;width:190px;max-width:80%;margin:14px auto;border:1px solid var(--line);border-radius:12px}.wallet-pass-card .button-row{justify-content:center}.wallet-preprinted-note{margin-top:18px;padding:14px;border:1px dashed #86efac;border-radius:14px;background:#f0fdf4}.wallet-child-list{display:grid;gap:12px}.wallet-child-card{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fafcff}.wallet-child-card h3{margin:0 0 4px}.child-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.wallet-child-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}.wallet-child-controls form:first-child{display:flex;gap:8px;flex:1}.wallet-child-controls input{min-width:130px}.wallet-transactions{display:grid}.wallet-transaction{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.wallet-transaction:last-child{border-bottom:0}.wallet-transaction small{display:block;color:var(--muted);margin-top:3px}.wallet-transaction>span{font-weight:900;white-space:nowrap}.wallet-full-pass{text-align:center}.wallet-full-pass-qr{display:block;width:min(340px,90%);margin:18px auto}.wallet-full-pass .button-row{justify-content:center}
@media(max-width:650px){.wallet-balance-card strong{font-size:34px}.wallet-pass-qr,.wallet-child-qr{width:165px}.wallet-child-controls{align-items:stretch}.wallet-child-controls form{width:100%}.wallet-child-controls form:first-child{display:grid;grid-template-columns:1fr auto}.wallet-child-controls input{min-width:0}.wallet-transaction{align-items:flex-start}.wallet-pass-card .button-row .btn{flex:1}}
@media print{.pos-brandbar,.pos-page-header,.wallet-full-pass .button-row{display:none}.pos-shell{padding:0}.wallet-full-pass{box-shadow:none;border:0}}
.claim-status-panel{display:grid;gap:8px;margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafcff}.claim-status-panel .tag{justify-self:start}.claim-status-panel strong{font-size:14px}
.gate-direction-tabs{display:flex;justify-content:center;gap:10px;margin-bottom:12px}.gate-direction-tabs .btn{min-width:120px}.gate-scan-card{text-align:center}.gate-scan-card form{text-align:left}.gate-scan-card.gate-exit{border-color:#fdba74}.gate-success-message{color:var(--green)}
.metric-card span{display:block;color:var(--muted);font-size:13px;margin-top:5px}.report-section{margin-top:18px}.report-table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:collapse;min-width:680px}.report-table th,.report-table td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line);vertical-align:top}.report-table th{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.04em;background:#f8fafc}.report-table tbody tr:hover{background:#fafcff}.report-table tfoot th{color:var(--text);font-size:14px;background:#f8fafc}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.audit-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end}.audit-filter-actions{display:flex;gap:8px}.audit-table code{display:block;max-width:340px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#475569}.report-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px}
@media(max-width:900px){.report-grid,.audit-filters{grid-template-columns:1fr}.audit-filter-actions{align-items:stretch}.audit-filter-actions .btn{flex:1}}

/* FunFairWallet mobile wallet */
.wallet-control-body{--fw-bg:#fff8ef;--fw-panel:#fffaf4;--fw-card:#fff0dc;--fw-card-border:#f6c89d;--fw-orange:#ff6a16;--fw-orange-dark:#e85b0f;--fw-text:#211827;--fw-muted:#6f6170;--fw-soft-line:#f3d4b5;--fw-progress-bg:#f7d7bf;--fw-shadow:0 18px 45px rgba(65,38,16,.16);background:var(--fw-bg);color:var(--fw-text)}
.wallet-control-body .pos-brandbar{background:#282329}
.wallet-control-body .pos-logo-mark{background:linear-gradient(135deg,#ff7a1a,#f7b731)}
.wallet-control-body .pos-shell{width:min(478px,100%);padding-top:18px}
.wallet-control-body .btn{background:var(--fw-orange);border-radius:999px;box-shadow:none}
.wallet-control-body .btn.secondary{background:#fff6ed;color:var(--fw-orange-dark);border-color:var(--fw-card-border)}
.wallet-home-body .pos-page-header{display:none}
.wallet-home-body .pos-shell{padding-top:28px}
.wallet-shell{max-width:430px;margin:0 auto;padding:28px 22px;border:1px solid var(--fw-soft-line);border-radius:34px;background:var(--fw-panel);box-shadow:var(--fw-shadow);color:var(--fw-text)}
.wallet-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}
.wallet-title{margin:0 0 6px;color:var(--fw-muted);font-size:16px;font-weight:700}
.wallet-code{color:var(--fw-muted);font-size:12px;line-height:1.4}
.wallet-code strong{color:var(--fw-text)}
.wallet-balance{color:var(--fw-orange);font-size:24px;font-weight:800;white-space:nowrap}
.child-pass-list{display:grid;gap:14px}
.wallet-shell .child-pass-card{display:block;padding:20px 18px;border:1px solid var(--fw-card-border);border-radius:22px;background:linear-gradient(180deg,#fff2df 0%,#ffead2 100%);box-shadow:none;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.wallet-shell .child-pass-card:hover{transform:translateY(-2px);border-color:var(--fw-orange);box-shadow:0 10px 24px rgba(255,106,22,.14)}
.wallet-shell .child-pass-card.is-frozen{background:linear-gradient(180deg,#f9eee5 0%,#f4e5da 100%)}
.child-pass-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.child-pass-name{margin:0 0 8px;color:var(--fw-text);font-size:20px;font-weight:800}
.child-pass-meta{color:var(--fw-muted);font-size:12px}
.family-member-pass .child-pass-name{margin-bottom:5px}
.pass-open-arrow{color:var(--fw-orange);font-size:30px;line-height:20px;font-weight:700}
.pass-progress{height:10px;margin:8px 0 14px;overflow:hidden;border-radius:999px;background:var(--fw-progress-bg)}
.pass-progress-fill{height:100%;border-radius:inherit;background:var(--fw-orange)}
.pass-spend-text{font-size:14px;font-weight:700}
.pass-status-badge{padding:5px 9px;border:1px solid #efb8b3;border-radius:999px;background:#fff;color:#b33f3f;font-size:11px;font-weight:900}
.empty-wallet-state{padding:22px;text-align:center;border:1px dashed var(--fw-card-border);border-radius:22px;background:#fff6ed;color:var(--fw-muted)}
.wallet-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
.wallet-actions form{width:100%}
.wallet-btn-primary,.wallet-btn-secondary{width:100%;padding:15px 18px;border-radius:999px;font:inherit;font-size:15px;font-weight:800;cursor:pointer}
.wallet-btn-primary{border:0;background:linear-gradient(180deg,#ff812f 0%,#ff5f12 100%);color:#fff}
.wallet-btn-secondary{padding:14px 18px;border:1px solid var(--fw-card-border);background:#fff6ed;color:var(--fw-orange-dark)}
.wallet-pass-detail{max-width:430px;margin:0 auto;padding:22px;border:1px solid var(--fw-card-border);border-radius:28px;background:var(--fw-panel);box-shadow:var(--fw-shadow)}
.wallet-pass-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.wallet-pass-detail-head h2{margin:4px 0 8px;font-size:28px}
.wallet-card-kicker{color:var(--fw-orange-dark);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.wallet-detail-remaining{color:var(--fw-orange);font-size:25px;text-align:right;white-space:nowrap}
.wallet-detail-remaining small{display:block;color:var(--fw-muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}
.wallet-progress{height:10px;border-radius:999px;background:var(--fw-progress-bg);overflow:hidden}
.wallet-progress span{display:block;height:100%;border-radius:inherit;background:var(--fw-orange)}
.wallet-progress.large{height:12px;margin:16px 0}
.wallet-detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.wallet-detail-stats>div{padding:12px;border:1px solid var(--fw-soft-line);border-radius:15px;background:#fff}
.wallet-detail-stats small{display:block;margin-bottom:3px;color:var(--fw-muted)}.wallet-detail-stats strong{font-size:17px}
.wallet-qr-panel{margin-top:18px;padding:18px;text-align:center;border:1px solid var(--fw-soft-line);border-radius:22px;background:#fff}
.wallet-qr-panel>img{display:block;width:240px;max-width:100%;min-width:220px;margin:0 auto 10px}
.wallet-qr-panel>p{color:var(--fw-muted);font-size:13px}
.wallet-detail-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:13px}
.wallet-pass-controls{margin-top:16px;padding:17px;border:1px solid var(--fw-soft-line);border-radius:20px;background:#fff}
.wallet-pass-controls h3{margin:0 0 13px}
.wallet-allowance-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-bottom:10px}
.wallet-pass-controls>form:not(.wallet-allowance-form) .btn,.wallet-transactions-link{width:100%;margin-top:10px}
.wallet-child-transactions{max-width:430px;margin:16px auto 0;padding:18px;border:1px solid var(--fw-soft-line);border-radius:22px;background:#fff}
.wallet-child-transactions h2{margin:0 0 8px;font-size:19px}
@media(max-width:650px){
  .wallet-control-body .pos-shell{padding:10px 12px 18px}
  .wallet-home-body .pos-shell{padding-top:16px}
  .wallet-shell{padding:24px 18px;border-radius:30px}
  .wallet-header{gap:10px}.wallet-balance{font-size:22px}
  .wallet-pass-detail{padding:17px;border-radius:24px}
  .wallet-pass-detail-head{align-items:center}.wallet-pass-detail-head h2{font-size:23px}
  .wallet-detail-remaining{font-size:20px}
  .wallet-allowance-form{grid-template-columns:1fr}.wallet-allowance-form .btn{width:100%}
}
@media print{.wallet-control-body .pos-brandbar,.wallet-control-body .pos-page-header,.wallet-pass-controls,.wallet-detail-actions{display:none}.wallet-pass-detail{box-shadow:none;border:0}}

/* FunFairWallet design system */
:root{
  --bg:#fff9f0;
  --card:#fff;
  --text:#282329;
  --muted:#76696b;
  --line:#f0dfce;
  --blue:#f56a16;
  --green:#159a8c;
  --orange:#ff8a22;
  --red:#d94747;
  --dark:#282329;
  --primary:#f56a16;
  --primary-dark:#d9550c;
  --primary-soft:#fff0df;
  --accent:#159a8c;
  --accent-soft:#e8f8f5;
  --cream:#fff9f0;
  --cream-deep:#f8ead9;
  --radius:24px;
  --radius-small:16px;
  --shadow:0 16px 38px rgba(77,49,29,.09);
  --shadow-small:0 8px 22px rgba(77,49,29,.07);
  --focus:0 0 0 4px rgba(245,106,22,.18);
}
html{background:var(--bg)}
body{
  min-width:320px;
  font-family:"Trebuchet MS",Inter,ui-rounded,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.5;
  background:
    radial-gradient(circle at 92% 2%,rgba(255,184,77,.16),transparent 24rem),
    radial-gradient(circle at 12% 96%,rgba(21,154,140,.08),transparent 22rem),
    var(--bg);
}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease,transform .18s ease}
input[type="radio"],input[type="checkbox"]{appearance:auto;-webkit-appearance:auto;width:auto;min-width:0;height:auto;min-height:0;margin:0;padding:0;border:initial;border-radius:initial;background:initial;box-shadow:none;vertical-align:middle;accent-color:var(--primary);cursor:pointer}
:focus-visible{outline:none;box-shadow:var(--focus)}
.app-shell{grid-template-columns:264px minmax(0,1fr)}
.sidebar{
  display:flex;
  flex-direction:column;
  height:100vh;
  padding:22px 16px;
  color:var(--text);
  background:rgba(255,255,255,.88);
  border-right:1px solid var(--line);
  box-shadow:8px 0 30px rgba(77,49,29,.04);
  backdrop-filter:blur(16px);
}
.logo-link{gap:8px;margin:0 5px 24px;padding:4px}
.brand-logo{width:50px;height:50px;object-fit:contain;filter:drop-shadow(0 8px 12px rgba(245,106,22,.18))}
.brand-wordmark{width:112px;height:58px;object-fit:contain}
.brand-name{font-size:19px;line-height:1.05;letter-spacing:-.035em;color:#242129}
.brand-name span{color:var(--primary)}
.brand-sub{margin-top:5px;font-size:10px;font-weight:800;letter-spacing:.04em;color:#8b7266}
.nav{display:grid;gap:4px}
.nav-title{margin:17px 11px 7px;color:#9b8275;font-size:10px;font-weight:900;letter-spacing:.14em}
.nav a{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0;
  padding:11px 12px;
  color:#5e5356;
  font-size:14px;
  font-weight:800;
  border-radius:15px;
}
.nav a:hover{color:var(--primary-dark);background:var(--primary-soft);transform:translateX(2px)}
.nav a.disabled{opacity:.48}
.nav a.disabled:hover{color:#5e5356;background:transparent;transform:none}
.nav-icon{
  width:25px;
  height:25px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  color:var(--primary);
  background:var(--primary-soft);
  border-radius:9px;
  font-size:13px;
  font-weight:900;
}
.sidebar-note{
  display:grid;
  gap:2px;
  margin-top:auto;
  padding:15px;
  color:#5b4b47;
  background:linear-gradient(135deg,var(--primary-soft),#fff8ec);
  border:1px solid #f6d9bd;
  border-radius:18px;
  font-size:12px;
}
.sidebar-note strong{color:var(--primary-dark);font-size:13px}
.main{width:100%;max-width:1540px;padding:30px clamp(18px,3vw,44px) 48px}
.topbar{align-items:center;margin-bottom:26px}
.topbar h1{margin:4px 0 5px;font-size:clamp(28px,3vw,40px);line-height:1.05;letter-spacing:-.04em}
.subtitle{color:var(--muted);line-height:1.5}
.eyebrow{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:7px 12px;
  color:#08796e;
  background:var(--accent-soft);
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
}
.top-actions{gap:9px}
.user-pill{
  padding:9px 13px;
  color:#5b4b47;
  background:#fff;
  border-color:var(--line);
  box-shadow:var(--shadow-small);
}
.btn{
  min-height:44px;
  gap:8px;
  padding:11px 18px;
  color:#fff;
  background:linear-gradient(135deg,#ff812e,var(--primary));
  border:1px solid transparent;
  border-radius:999px;
  box-shadow:0 10px 24px rgba(245,106,22,.25);
  font-weight:900;
}
.btn:hover{background:linear-gradient(135deg,var(--primary),var(--primary-dark));transform:translateY(-1px);box-shadow:0 13px 28px rgba(245,106,22,.3)}
.btn:active{transform:translateY(0)}
.btn.secondary{
  color:var(--text);
  background:#fff;
  border-color:var(--line);
  box-shadow:var(--shadow-small);
}
.btn.secondary:hover{color:var(--primary-dark);background:#fffaf5;border-color:#f2cba8}
.btn.danger{background:#d94747;box-shadow:0 10px 24px rgba(217,71,71,.2)}
.card{
  padding:22px;
  background:rgba(255,255,255,.96);
  border-color:var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-small);
}
.event-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
label,.field-label{color:#51464a;font-size:13px;font-weight:900}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
select,
textarea{
  min-height:48px;
  padding:12px 14px;
  color:var(--text);
  background:#fffdfa;
  border:1px solid #e8d6c5;
  border-radius:14px;
}
textarea{min-height:110px}
input[type="text"]:hover,input[type="email"]:hover,input[type="number"]:hover,input[type="password"]:hover,input[type="search"]:hover,input[type="tel"]:hover,input[type="url"]:hover,input[type="date"]:hover,input[type="time"]:hover,input[type="datetime-local"]:hover,select:hover,textarea:hover{border-color:#dbb996}
input[type="text"]:focus,input[type="email"]:focus,input[type="number"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="url"]:focus,input[type="date"]:focus,input[type="time"]:focus,input[type="datetime-local"]:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary);box-shadow:var(--focus);background:#fff}
input[type="text"]::placeholder,input[type="email"]::placeholder,input[type="number"]::placeholder,input[type="password"]::placeholder,input[type="search"]::placeholder,input[type="tel"]::placeholder,input[type="url"]::placeholder,textarea::placeholder{color:#aa9993}
.help{color:#8a7b78;line-height:1.45}
.errorlist{color:#b93636;font-size:13px;font-weight:800}
.tag,.badge{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:7px 11px;
  color:#9a4614;
  background:var(--primary-soft);
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}
.tag.green,.badge.success{color:#08796e;background:var(--accent-soft)}
.tag.orange,.badge.warning{color:#9a4614;background:#fff0df}
.tag.red,.badge.danger{color:#a93232;background:#fff0f0}
.messages{gap:12px}
.message,.alert{
  padding:14px 16px;
  color:#6f4c2b;
  background:#fff4e8;
  border:1px solid #f1d2b2;
  border-radius:16px;
  font-weight:800;
}
.message.success,.alert.success{color:#08796e;background:var(--accent-soft);border-color:#bde6df}
.message.error,.alert.error{color:#a93232;background:#fff0f0;border-color:#f0c2c2}
.wallet-card,.child-pass-card,.booth-product-card,.result-panel,.metric-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-small);
}
.wallet-card{background:linear-gradient(145deg,#fff,#fff6e9)}
.child-pass-card{background:linear-gradient(145deg,#fff8ed,#fff)}
.booth-product-card{min-height:120px;border-color:#f1d1b3}
.result-panel.success{background:var(--accent-soft);border-color:#bde6df}
.result-panel.failure{background:#fff0f0;border-color:#f0c2c2}
.metric-card{position:relative;overflow:hidden}
.metric-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--primary)}

/* Login */
.auth-page .topbar{align-items:flex-end}
.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px);gap:clamp(24px,5vw,72px);align-items:center;min-height:calc(100vh - 180px)}
.auth-welcome{max-width:650px;padding:20px 4px}
.auth-welcome h2{max-width:620px;margin:18px 0;font-size:clamp(40px,6vw,76px);line-height:.98;letter-spacing:-.055em}
.auth-welcome>p{max-width:600px;margin:0;color:var(--muted);font-size:18px}
.auth-features{display:grid;gap:11px;margin-top:30px}
.auth-features>div{display:grid;grid-template-columns:34px 1fr;column-gap:11px;align-items:center}
.auth-features>div>span{grid-row:span 2;width:34px;height:34px;display:grid;place-items:center;color:#08796e;background:var(--accent-soft);border-radius:12px;font-weight:900}
.auth-features strong{font-size:14px}
.auth-features small{color:var(--muted)}
.auth-card{width:100%;max-width:520px;padding:clamp(22px,4vw,34px);box-shadow:var(--shadow)}
.auth-card-heading{display:flex;align-items:center;gap:16px;margin-bottom:25px}
.auth-card-heading img{width:92px;height:57px;object-fit:contain;flex:0 0 auto}
.auth-card-heading h2{margin:0 0 5px;font-size:25px;letter-spacing:-.03em}
.auth-card-heading p{margin:0;color:var(--muted);font-size:13px}
.auth-submit{width:100%;margin-top:3px}
.auth-help{margin:20px 0 0;padding-top:18px;color:var(--muted);border-top:1px dashed var(--line);font-size:12px;line-height:1.5;text-align:center}

@media(max-width:1050px){
  .app-shell{display:block}
  .sidebar{position:static;height:auto;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line)}
  .logo-link{margin:0}
  .brand-logo{width:44px;height:44px}
  .sidebar .nav{display:flex;gap:6px;margin-top:11px;overflow-x:auto;padding-bottom:3px}
  .sidebar .nav-title,.sidebar-note{display:none}
  .nav a{flex:0 0 auto;padding:9px 11px}
  .nav-icon{width:23px;height:23px}
  .main{padding-top:24px}
  .auth-layout{grid-template-columns:1fr;min-height:0}
  .auth-welcome{display:none}
  .auth-card{max-width:620px}
}
@media(max-width:650px){
  .sidebar{padding:10px 12px}
  .logo-link{padding:0;margin-bottom:8px}
  .brand-logo{width:38px;height:38px}
  .brand-wordmark{width:96px;height:44px}
  .brand-name{font-size:17px}
  .brand-sub{font-size:9px}
  .sidebar .nav{margin-inline:-2px}
  .nav a{font-size:12px}
  .main{padding:20px 14px 34px}
  .topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-bottom:18px}
  .top-actions{width:auto;justify-content:flex-end}
  .top-actions .btn{flex:0 0 auto}
  .create-event-card{padding:16px}
  .create-event-form{gap:13px}
  .create-event-form .help{font-size:12px;line-height:1.35}
  .create-event-form .form-actions{display:grid;grid-template-columns:1fr;gap:9px}
  .create-event-form .form-actions .btn{width:100%}
  .card{padding:18px;border-radius:20px}
  .auth-page .topbar{align-items:flex-start}
  .auth-layout{display:block}
  .auth-card{padding:21px 18px}
  .auth-card-heading{align-items:flex-start;gap:12px}
  .auth-card-heading img{width:76px;height:47px}
  .auth-card-heading h2{font-size:22px}
}

/* Public landing page */
html{scroll-behavior:smooth}
.landing-page .sidebar{z-index:20}
.landing-page .sidebar>.logo-link{display:none}
.landing-page .main{max-width:none;padding:0}
.landing-page .topbar{display:none}
.landing-page .messages{width:min(1180px,calc(100% - 40px));margin:20px auto 0}
.landing-page .nav a{scroll-margin-top:20px}
.landing-page .nav-icon{font-size:11px}
.landing-sidebar-brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  margin-top:auto;
  padding:16px 8px 6px;
  border-top:1px solid var(--line);
}

.landing-sidebar-brand img:first-child{width:60px;height:54px;object-fit:contain;margin-right:-4px}
.landing-sidebar-brand img:last-child{width:112px;height:66px;object-fit:contain;margin-left:-5px}
.landing-content{overflow:hidden}
.landing-section,.landing-hero{scroll-margin-top:24px}
.landing-masthead{
  position:sticky;
  top:0;
  z-index:25;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
  padding:8px clamp(28px,5vw,80px);
  background:rgba(255,250,243,.94);
  border-bottom:1px solid var(--line);
  box-shadow:0 8px 26px rgba(77,49,29,.06);
  backdrop-filter:blur(16px);
}
.landing-masthead-brand{display:flex;align-items:center;gap:13px}
.landing-masthead-brand>img{width:min(520px,58vw);height:72px;display:block;object-fit:contain;object-position:left center}
.landing-masthead-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.landing-hero{
  min-height:calc(100vh - 88px);
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);
  gap:clamp(32px,5vw,76px);
  align-items:center;
  padding:clamp(54px,8vw,110px) clamp(24px,6vw,90px);
}
.landing-hero-copy{max-width:720px}
.hero-eyebrows{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:18px}
.hero-eyebrows .eyebrow{margin-bottom:0}
.eyebrow.playful-warning{color:#a44119;background:#fff0df}
.landing-hero h1{
  margin:20px 0 24px;
  font-size:clamp(54px,7.3vw,112px);
  line-height:.92;
  letter-spacing:-.065em;
}
.landing-hero-copy>p:not(.landing-note){
  max-width:680px;
  margin:0;
  color:var(--muted);
  font-size:clamp(17px,1.5vw,21px);
  line-height:1.65;
}
.landing-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.landing-actions.centered{justify-content:center}
.landing-note{margin:18px 0 0;color:#8a7770;font-size:13px;font-weight:800}
.landing-hero-visual{
  position:relative;
  max-width:660px;
  width:100%;
  margin:auto;
  padding:16px 16px 54px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:38px;
  box-shadow:var(--shadow);
}
.fair-scene{
  position:relative;
  height:420px;
  overflow:hidden;
  color:#fff;
  border-radius:28px;
}
.fair-scene::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  background:linear-gradient(180deg,rgba(40,35,41,.03) 30%,rgba(40,35,41,.72) 100%);
}
.landing-event-photo{width:100%;height:100%;display:block;object-fit:cover;object-position:center 48%;transform:scale(1.015)}
.fair-scene>strong{position:absolute;z-index:4;left:26px;bottom:22px;font-size:clamp(20px,2.2vw,30px);text-shadow:0 2px 12px rgba(86,36,11,.28)}
.floating-wallet{
  position:absolute;
  z-index:6;
  left:8%;
  right:8%;
  bottom:18px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  padding:17px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 18px 42px rgba(77,49,29,.18);
}
.floating-wallet strong,.floating-wallet span{display:block}
.floating-wallet strong{font-size:15px}.floating-wallet span{margin-top:3px;color:var(--muted);font-size:12px}
.floating-wallet b{padding:8px 11px;color:#08796e;background:var(--accent-soft);border-radius:999px;font-size:13px;white-space:nowrap}
.demo-qr{
  width:62px;height:62px;border:7px solid #fff;border-radius:12px;outline:1px solid var(--line);
  background:
    linear-gradient(90deg,#282329 7px,transparent 7px) 0 0/14px 14px,
    linear-gradient(#282329 7px,transparent 7px) 0 0/14px 14px,#fff;
}
.landing-section{padding:clamp(70px,9vw,128px) clamp(24px,6vw,90px)}
.landing-section:nth-child(even){background:rgba(255,255,255,.34)}
.landing-section-head{max-width:840px;margin:0 auto 42px;text-align:center}
.landing-section-head .eyebrow{margin-bottom:15px}
.landing-section-head h2,.landing-panel h2,.charity-panel h2,.landing-cta h2{
  margin:0 0 17px;
  font-size:clamp(35px,4.5vw,66px);
  line-height:1.02;
  letter-spacing:-.05em;
}
.landing-section-head p,.landing-panel>p,.charity-panel p,.landing-cta p{
  color:var(--muted);
  font-size:clamp(16px,1.4vw,19px);
  line-height:1.65;
}
.landing-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:1220px;margin:auto}
.landing-feature-card{
  min-height:280px;
  padding:30px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow-small);
}
.landing-feature-card h3{margin:22px 0 10px;font-size:22px}.landing-feature-card p{margin:0;color:var(--muted);line-height:1.65}
.landing-icon{width:58px;height:58px;display:grid;place-items:center;color:#b55714;background:var(--primary-soft);border-radius:19px;font-size:25px;font-weight:900}
.landing-icon.accent{color:#08796e;background:var(--accent-soft)}.landing-icon.blue{color:#4057af;background:#eef0ff}
.landing-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,70px);align-items:center;max-width:1220px;margin:auto}
.landing-panel{padding:clamp(28px,4vw,48px);background:#fff;border:1px solid var(--line);border-radius:34px;box-shadow:var(--shadow)}
.landing-panel .eyebrow{margin-bottom:16px}
.landing-feature-list{display:grid;gap:12px;margin-top:25px;font-weight:800}
.landing-feature-list.compact{gap:9px;margin:20px 0}
.landing-feature-list div{display:flex;gap:11px;align-items:flex-start}
.landing-feature-list div span{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;color:#08796e;background:var(--accent-soft);border-radius:9px}
.phone-mock{width:min(390px,100%);margin:auto;padding:13px;background:#282329;border:1px solid #1a181d;border-radius:42px;box-shadow:0 24px 55px rgba(40,35,41,.22)}
.phone-speaker{width:80px;height:6px;margin:3px auto 10px;background:#0e0d10;border-radius:99px}
.phone-screen{padding:20px;background:#fffdf9;border-radius:30px}
.phone-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:17px}
.phone-heading span{color:var(--muted);font-weight:800}.phone-heading strong{font-size:23px;color:var(--primary)}
.demo-child-pass{margin-bottom:13px;padding:18px;background:var(--primary-soft);border:1px solid #f4d4b5;border-radius:22px}
.demo-child-pass.teal{background:#fff6e9;border-color:#f4d4b5}
.demo-child-pass h3{margin:0 0 3px}.demo-child-pass span{color:var(--muted);font-size:12px}
.limit-bar{height:10px;margin:12px 0;background:#f9d9c1;border-radius:999px;overflow:hidden}
.limit-bar span{display:block;height:100%;background:var(--primary);border-radius:inherit}
.demo-child-pass.teal .limit-bar{background:#f9d9c1}.demo-child-pass.teal .limit-bar span{background:var(--primary)}
.demo-child-pass>strong{font-size:13px}.phone-button{width:100%;margin-top:4px}
.booth-showcase{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;max-width:1250px;margin:auto}
.booth-preview{
  position:relative;
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  padding:22px;
  color:#fff;
  background:#282329;
  border-radius:26px;
  box-shadow:var(--shadow-small);
}
.booth-preview::before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(40,35,41,.88))}
.booth-preview>img{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.04)}
.booth-preview>span,.booth-preview>strong,.booth-preview>small{position:relative;z-index:2}.booth-preview span{font-weight:900;font-size:20px}.booth-preview strong{margin-top:4px;font-size:26px}.booth-preview small{color:rgba(255,255,255,.78)}
.charity-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:center;max-width:1220px;margin:auto;padding:clamp(30px,5vw,58px);background:linear-gradient(135deg,var(--primary-soft),var(--accent-soft));border:1px solid #ecd7c5;border-radius:38px}
.charity-panel .eyebrow{margin-bottom:16px}
.charity-progress{width:260px;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px;background:#ffb8c6;border-radius:50%;box-shadow:var(--shadow);text-align:center}
.charity-pig{font-size:76px;line-height:1}.charity-progress>strong{margin-top:5px;font-size:31px;color:#6f3542}.charity-progress>span{color:#7d4b56;font-size:13px;font-weight:800}
.charity-progress>div:last-child{width:75%;height:10px;margin-top:15px;overflow:hidden;background:#f5e1d3;border-radius:999px}
.charity-progress i{display:block;width:72%;height:100%;background:linear-gradient(90deg,var(--primary),#ffb21f);border-radius:inherit}
.landing-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;max-width:1340px;margin:auto}
.landing-steps article{min-height:210px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-small)}
.landing-steps article>span{width:38px;height:38px;display:grid;place-items:center;margin-bottom:16px;color:#fff;background:var(--primary);border-radius:50%;font-weight:900}
.landing-steps strong{font-size:15px}.landing-steps p{margin:9px 0 0;color:var(--muted);font-size:13px;line-height:1.55}
.landing-offer-grid{align-items:stretch}.landing-offer-grid .landing-panel{display:flex;flex-direction:column;align-items:flex-start}
.landing-offer-grid .btn{margin-top:auto}.offer-panel{background:linear-gradient(145deg,#fff,#fff5e8)}.supplies-panel{background:linear-gradient(145deg,#fff,#edf9f7)}
.landing-faq{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:1080px;margin:auto}
.landing-faq details{padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-small)}
.landing-faq details[open]{border-color:#efc39e}.landing-faq summary{cursor:pointer;font-weight:900}.landing-faq p{margin:12px 0 0;color:var(--muted);line-height:1.6}
.landing-cta{max-width:1160px;margin:auto;padding:clamp(45px,7vw,80px) clamp(24px,6vw,70px);color:#fff;background:#282329;border-radius:42px;box-shadow:var(--shadow);text-align:center}
.landing-cta>img{width:118px;height:72px;object-fit:contain;padding:7px;background:#fff;border-radius:22px}
.landing-cta h2{max-width:820px;margin:22px auto 16px}.landing-cta p{max-width:720px;margin:0 auto;color:rgba(255,255,255,.72)}
.landing-cta .btn.secondary{color:var(--text)}
.landing-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:30px clamp(24px,6vw,90px);color:var(--muted);border-top:1px solid var(--line);font-size:13px}

@media(max-width:1180px){
  .landing-hero{grid-template-columns:1fr;padding-top:70px}
  .landing-hero-copy{max-width:880px}
  .landing-hero h1{font-size:clamp(58px,10vw,100px)}
  .landing-hero-visual{max-width:760px}
  .booth-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}
  .landing-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1050px){
  .landing-page .sidebar{position:sticky;top:0;display:flex;flex-direction:row;align-items:center;gap:14px;overflow-x:auto}
  .landing-page .sidebar .nav{display:flex;flex:0 0 auto;margin:0}
  .landing-page .sidebar .nav-title,.landing-sidebar-brand{display:none}
  .landing-masthead{min-height:80px;padding-block:7px}
  .landing-masthead-brand>img{width:min(440px,63vw);height:66px}
  .landing-hero{min-height:auto}
}
@media(max-width:800px){
  .landing-page .sidebar{display:grid;grid-template-columns:1fr;gap:8px}
  .landing-page .sidebar .nav{grid-column:1/-1;order:3;width:100%;overflow-x:auto}
  .landing-split,.charity-panel{grid-template-columns:1fr}
  .landing-card-grid{grid-template-columns:1fr}
  .landing-feature-card{min-height:0}
  .charity-progress{margin:auto}
  .landing-faq{grid-template-columns:1fr}
}
@media(max-width:600px){
  .landing-page .nav a{padding:8px 10px;font-size:11px}
  .landing-page .nav-icon{display:none}
  .landing-masthead{min-height:68px;padding:6px 12px}
  .landing-masthead-brand>img{width:min(260px,65vw);height:56px}
  .landing-masthead-actions{gap:6px}
  .landing-masthead-actions .btn{min-height:36px;padding:7px 11px;font-size:11px}
  .landing-masthead-actions .btn.secondary{display:none}
  .landing-hero{padding:48px 16px 66px}
  .landing-hero h1{font-size:clamp(46px,15vw,72px)}
  .landing-actions .btn{width:100%}
  .fair-scene{height:330px;padding:18px}
  .floating-wallet{grid-template-columns:auto 1fr;left:5%;right:5%;padding:13px}
  .floating-wallet b{grid-column:1/-1;text-align:center}
  .demo-qr{width:54px;height:54px}
  .landing-section{padding:65px 16px}
  .landing-section-head{margin-bottom:28px}
  .landing-panel{padding:25px 20px}
  .booth-showcase,.landing-steps{grid-template-columns:1fr}
  .booth-preview{min-height:220px}
  .landing-steps article{min-height:0}
  .charity-panel{padding:28px 20px}
  .charity-progress{width:220px}
  .landing-cta{border-radius:28px}
  .landing-footer{padding:26px 16px}
}

/* Landing navigation matches the supplied sample */
.landing-page .app-shell{display:block;min-height:0}
.landing-page .sidebar{display:none}
.landing-page .main{width:100%;max-width:none;padding:0}
.landing-masthead{
  position:sticky;
  top:0;
  z-index:50;
  min-height:auto;
  display:block;
  padding:0;
  background:rgba(255,250,243,.9);
  border-bottom:1px solid rgba(240,223,206,.75);
  box-shadow:none;
  backdrop-filter:blur(14px);
}
.landing-nav-container{
  width:min(1160px,calc(100% - 32px));
  min-height:76px;
  display:grid;
  grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);
  align-items:center;
  gap:24px;
  margin:0 auto;
  padding:9px 0;
}
.landing-masthead-brand{width:270px;min-width:200px;justify-self:start}
.landing-masthead-brand>img{
  width:100%;
  height:56px;
  display:block;
  object-fit:contain;
  object-position:left center;
}
.landing-top-nav{display:flex;align-items:center;justify-content:center;gap:clamp(14px,1.7vw,24px);justify-self:center}
.landing-top-nav a{color:var(--muted);font-size:14px;font-weight:800;white-space:nowrap}
.landing-top-nav a:hover{color:var(--primary)}
.landing-nav-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;justify-self:end}
.landing-nav-actions .btn{min-height:42px;padding:10px 17px}
.landing-hero{min-height:calc(100vh - 76px)}

/* Sample landing page proportions */
.landing-content{width:100%}
.landing-hero{
  width:min(1160px,calc(100% - 32px));
  min-height:auto;
  grid-template-columns:1.05fr .95fr;
  gap:48px;
  margin:0 auto;
  padding:74px 0 60px;
}
.landing-hero h1{font-size:clamp(2.7rem,6vw,5.5rem);line-height:.98;letter-spacing:-.06em;margin:0 0 24px}
.landing-hero-copy>.eyebrow{margin-bottom:18px}
.landing-hero-copy>p:not(.landing-note){font-size:1.18rem;line-height:1.55}
.landing-actions{margin-top:28px;margin-bottom:22px}
.landing-hero-visual{max-width:none;padding:10px 10px 54px;border-radius:38px}
.fair-scene{height:410px;border-radius:30px}
.landing-section{padding:74px 0}
.landing-section-head,.landing-card-grid,.landing-split,.booth-showcase,.charity-panel,.landing-steps,.landing-faq,.landing-cta{
  width:min(1160px,calc(100% - 32px));
}
.landing-section-head{max-width:780px;margin:0 auto 38px}
.landing-section-head h2,.landing-panel h2,.charity-panel h2,.landing-cta h2{font-size:clamp(2rem,4vw,3.4rem)}
.landing-section-head p,.landing-panel>p,.charity-panel p,.landing-cta p{font-size:1.05rem}
.landing-card-grid{grid-template-columns:repeat(3,1fr);gap:18px;margin:0 auto}
.landing-feature-card{min-height:0;padding:26px;border-radius:26px}
.landing-split{grid-template-columns:1fr 1fr;gap:42px;margin:0 auto}
.landing-panel{padding:34px;border-radius:34px}
.booth-showcase{grid-template-columns:repeat(4,1fr);gap:14px;margin:0 auto}
.booth-preview{min-height:250px;border-radius:24px}
.charity-panel{gap:30px;margin:0 auto;padding:42px;border-radius:38px}
.landing-steps{grid-template-columns:repeat(6,1fr);gap:12px;margin:0 auto}
.landing-steps article{min-height:150px;padding:18px}
.landing-faq{grid-template-columns:1fr 1fr;gap:14px;margin:0 auto}
.landing-cta{margin:0 auto;padding:58px 24px;border-radius:42px}
.landing-footer{width:min(1160px,calc(100% - 32px));margin:0 auto;padding:38px 0}

/* Event / Concert mode panel */
.event-concert-panel{
  width:min(1160px,calc(100% - 32px));
  min-height:482px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.95fr);
  gap:clamp(30px,4.4vw,58px);
  align-items:center;
  padding:clamp(38px,5vw,58px) clamp(34px,5.5vw,70px);
  overflow:hidden;
  background:
    radial-gradient(circle at 7% 10%,rgba(244,212,255,.76),transparent 34%),
    radial-gradient(circle at 92% 86%,rgba(194,238,255,.95),transparent 38%),
    linear-gradient(135deg,#fbf7ff 0%,#f7f4ff 43%,#eef9ff 100%);
  border:1px solid rgba(136,157,255,.22);
  border-radius:38px;
  box-shadow:0 18px 50px rgba(99,102,241,.10);
}
.event-concert-copy{position:relative;z-index:1}
.event-concert-panel .eyebrow{
  padding:9px 16px;
  color:#0f55ff;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 22px rgba(101,78,163,.08);
}
.event-concert-panel h2{
  max-width:720px;
  margin:28px 0 22px;
  color:#211b2a;
  font-size:clamp(2.6rem,5.1vw,4rem);
  line-height:1.04;
  letter-spacing:-.055em;
}
.event-concert-panel p{
  max-width:590px;
  margin:0 0 30px;
  color:#685a78;
  font-size:20px;
  line-height:1.55;
  font-weight:650;
}
.event-concert-feature-list{display:grid;gap:15px}
.event-concert-feature-list div{
  display:flex;
  align-items:center;
  gap:18px;
  color:#211b2a;
  font-size:18px;
  font-weight:850;
}
.event-concert-feature-list span{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  flex:0 0 32px;
  color:#0f55ff;
  background:rgba(255,255,255,.78);
  border-radius:12px;
  box-shadow:0 8px 18px rgba(97,80,150,.08);
  font-size:20px;
}
.event-concert-visual-wrap{
  position:relative;
  justify-self:end;
  width:min(100%,430px);
  aspect-ratio:1/1;
  padding-bottom:24px;
}
.event-concert-image{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:28px;
  box-shadow:0 22px 50px rgba(20,18,40,.20);
}
.event-concert-ticket-card{
  position:absolute;
  left:22px;
  bottom:0;
  min-width:245px;
  display:grid;
  grid-template-columns:58px 1fr;
  align-items:center;
  gap:16px;
  padding:18px 24px;
  background:rgba(247,235,255,.94);
  border:1px solid rgba(129,96,222,.18);
  border-radius:24px;
  box-shadow:0 18px 40px rgba(91,53,160,.16);
  backdrop-filter:blur(14px);
}
.event-concert-ticket-icon{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#7db7ff,#9a85ff);
  border-radius:18px;
  font-size:28px;
  transform:rotate(-15deg);
}
.event-concert-ticket-card strong{display:block;color:#52329a;font-size:30px;line-height:1;letter-spacing:.12em}
.event-concert-ticket-card span{display:block;margin-top:7px;color:#4f4160;font-size:16px;font-weight:700}
.event-concert-live{display:inline-flex!important;align-items:center;gap:7px;margin-top:4px!important;color:#20b86a!important;font-size:15px!important;font-weight:850!important}
.event-concert-live::before{content:"";width:8px;height:8px;background:currentColor;border-radius:999px}

.support-modal{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;background:transparent;overflow:visible}
.support-modal::backdrop{background:rgba(15,23,42,.80);backdrop-filter:blur(12px)}
.support-modal[open]{display:grid;place-items:center}
.support-modal-panel{position:relative;width:100%;max-height:calc(100dvh - 32px);overflow:auto;padding:0;background:#fff;border:1px solid rgba(255,255,255,.72);border-radius:24px;box-shadow:0 34px 90px rgba(2,6,23,.42)}
.support-modal-panel::before{content:"";position:absolute;inset:0 0 auto;height:10px;background:linear-gradient(90deg,var(--blue),var(--green),#f7b731)}
.support-modal-brand{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 26px 16px;border-bottom:1px solid var(--line)}
.support-modal-brand img{width:210px;max-width:58vw;height:48px;object-fit:contain;object-position:left center}
.support-modal-brand span{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:#ecfdf5;color:#166534;font-size:12px;font-weight:900}
.support-modal-grid{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:28px;align-items:stretch;padding:28px}
.support-modal-copy{display:flex;flex-direction:column;align-items:flex-start}
.support-modal-copy h2{max-width:560px;margin:10px 0 12px;font-size:42px;line-height:1.02;letter-spacing:0}
.support-modal-copy p{max-width:590px;margin:0;color:var(--muted);font-size:18px;line-height:1.55}
.support-choice-list{width:100%;display:grid;gap:12px;margin-top:24px}
.support-choice{display:grid;gap:5px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 26px rgba(15,23,42,.07)}
.support-choice strong{font-size:18px}
.support-choice small{color:var(--muted);font-weight:700;line-height:1.35}
.support-choice.donate{color:#fff;background:linear-gradient(135deg,#2563eb,#159c60);border-color:transparent;box-shadow:0 16px 34px rgba(37,99,235,.25)}
.support-choice.donate small{color:rgba(255,255,255,.84)}
.support-choice.decline{color:var(--text);background:#f8fafc}
.support-choice:hover{transform:translateY(-1px)}
.support-qr-link{display:grid;justify-items:center;align-content:center;gap:10px;padding:18px;text-align:center;background:#f8fafc;border:1px solid var(--line);border-radius:20px}
.support-qr-link span{font-size:13px;font-weight:900;color:var(--muted);text-transform:uppercase}
.support-qr-link img{width:230px;height:230px;display:block;border:1px solid var(--line);border-radius:16px;padding:8px;background:#fff}
.support-qr-link small{max-width:100%;color:var(--muted);font-size:12px;overflow-wrap:anywhere}

@media(max-width:1050px){
  .landing-masthead{position:sticky}
  .landing-nav-container{min-height:70px;display:flex}
  .landing-masthead-brand{width:auto;flex:1}
  .landing-masthead-brand>img{width:100%;height:52px}
  .landing-top-nav{display:none}
  .landing-hero{grid-template-columns:1fr;padding:58px 0}
  .landing-card-grid,.booth-showcase{grid-template-columns:1fr}
  .landing-split,.charity-panel{grid-template-columns:1fr}
  .landing-steps{grid-template-columns:1fr 1fr}
  .event-concert-panel{grid-template-columns:1fr;padding:32px 22px 54px}
  .event-concert-visual-wrap{justify-self:start;width:min(100%,460px)}
  .event-concert-panel h2{font-size:clamp(34px,8vw,48px)}
  .event-concert-panel p{font-size:17px}
}
@media(max-width:600px){
  .landing-nav-container{width:calc(100% - 24px);min-height:62px;gap:10px;padding:6px 0}
  .landing-masthead-brand{min-width:0;flex:1}
  .landing-masthead-brand>img{width:min(255px,100%);height:48px}
  .landing-nav-actions{gap:5px}
  .landing-nav-actions .btn{min-height:36px;padding:7px 10px;font-size:11px}
  .landing-hero{min-height:auto}
  .landing-steps,.landing-faq{grid-template-columns:1fr}
  .event-concert-ticket-card{left:14px;right:14px;min-width:0;padding:15px 18px}
  .event-concert-feature-list div{font-size:16px}
  .support-modal{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}
  .support-modal-panel{max-height:calc(100dvh - 20px);overflow:auto;border-radius:20px}
  .support-modal-brand{align-items:flex-start;flex-direction:column;padding:20px 20px 14px}
  .support-modal-brand img{width:190px;height:44px}
  .support-modal-grid{grid-template-columns:1fr;padding:20px}
  .support-modal-copy h2{font-size:26px}
  .support-modal-copy p{font-size:16px}
  .support-qr-link img{width:190px;height:190px}
}

/* FunFairWallet POS refresh */
.pos-body{
  min-height:100vh;
  color:var(--text);
  background:
    radial-gradient(circle at 4% 0,rgba(245,106,22,.14),transparent 28vw),
    radial-gradient(circle at 100% 12%,rgba(21,154,140,.12),transparent 30vw),
    linear-gradient(145deg,#fff9f0 0%,#fffdf9 44%,#f0faf8 100%);
}
.pos-brandbar{
  min-height:68px;
  height:auto;
  padding:8px max(14px,calc((100vw - 1000px)/2));
  background:rgba(255,250,243,.94);
  color:var(--text);
  border-bottom:1px solid rgba(240,223,206,.86);
  box-shadow:0 8px 28px rgba(77,49,29,.07);
  backdrop-filter:blur(15px);
}
.pos-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:8px;
}
.pos-logo-mark{display:none}
.pos-brand-icon{
  width:42px;
  height:42px;
  object-fit:contain;
  filter:drop-shadow(0 8px 12px rgba(245,106,22,.18));
}
.pos-brand-wordmark{
  width:132px;
  height:46px;
  object-fit:contain;
  object-position:left center;
}
.pos-brand-mode{
  align-self:center;
  margin-left:3px;
  padding:6px 10px;
  border:1px solid #f2d7bf;
  border-radius:999px;
  background:#fff8ef;
  color:#8b5b3d;
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
}
.pos-brand strong,.pos-brand small{display:none}
.pos-shell{
  width:min(1000px,100%);
  margin:0 auto;
  padding:18px clamp(14px,3vw,34px) 30px;
}
.pos-page-header{
  align-items:flex-start;
  gap:16px;
  margin-bottom:16px;
}
.pos-page-header h1{
  color:#17131a;
  font-size:clamp(24px,3.1vw,36px);
  line-height:1.03;
  letter-spacing:0;
}
.pos-page-header .subtitle{
  margin-top:4px;
  color:#745f56;
  font-weight:650;
}
.pos-page-actions .btn{
  min-height:46px;
  border-radius:999px;
  padding:11px 18px;
}
.pos-shell .card{
  border-color:#f0d9c3;
  border-radius:24px;
  background:rgba(255,255,255,.9);
  box-shadow:0 18px 45px rgba(77,49,29,.09);
}
.pos-centered-card,.pos-transaction-card{
  max-width:760px;
  margin:clamp(8px,2.5vh,22px) auto 0;
}
.pos-shell .wizard-form{
  margin-top:12px;
}
.pos-shell .form-stack{
  gap:14px;
}
.pos-shell .review-item,
.pos-shell .product-row,
.pos-shell .child-wallet-row,
.pos-shell .pos-display-card,
.pos-shell .event-card{
  border-color:#f1d8c0;
  background:#fffdf9;
}
.pos-shell label{
  color:#3a302f;
  font-size:14px;
}
.pos-shell input[type="text"],
.pos-shell input[type="email"],
.pos-shell input[type="number"],
.pos-shell input[type="password"],
.pos-shell input[type="search"],
.pos-shell input[type="tel"],
.pos-shell input[type="url"],
.pos-shell input[type="date"],
.pos-shell input[type="time"],
.pos-shell input[type="datetime-local"],
.pos-shell select,
.pos-shell textarea{
  min-height:52px;
  border-color:#efcfb3;
  border-radius:16px;
  background:#fff;
}
.pos-shell input:focus,
.pos-shell select:focus,
.pos-shell textarea:focus{
  border-color:var(--primary);
  box-shadow:var(--focus);
}
.pos-action-grid .event-card{
  border-radius:20px;
}
.pos-action-grid .event-card:hover{
  transform:translateY(-1px);
  border-color:#f2cba8;
  box-shadow:0 18px 42px rgba(245,106,22,.13);
}
.pos-shell .booth-product-button{
  border-radius:22px;
  border-color:#f1d8c0;
  background:#fffdf9;
}
.pos-shell .booth-product-button span,
.pos-shell .booth-price,
.booth-result-amount{
  color:var(--primary-dark);
}
.booth-result-icon.approved{
  background:var(--accent-soft);
  color:#08796e;
}
.booth-result-icon.declined{
  background:#fff0f0;
  color:#a93232;
}
.pos-shell .tag{
  color:#9a4614;
  background:var(--primary-soft);
}
.pos-shell .tag.green{
  color:#08796e;
  background:var(--accent-soft);
}
.pos-shell .tag.red{
  color:#a93232;
  background:#fff0f0;
}
@media(max-width:650px){
  .pos-brandbar{
    min-height:56px;
    padding:6px 10px;
  }
  .pos-brand-icon{
    width:34px;
    height:34px;
  }
  .pos-brand-wordmark{
    width:112px;
    height:38px;
  }
  .pos-brand-mode{
    display:none;
  }
  .pos-shell{
    padding:12px 10px 20px;
  }
  .pos-page-header{
    display:grid;
    grid-template-columns:1fr;
    margin-bottom:12px;
  }
  .pos-page-header h1{
    font-size:24px;
  }
  .pos-page-actions{
    justify-content:flex-start;
  }
  .pos-page-actions .btn{
    min-height:42px;
    padding:9px 13px;
  }
  .pos-centered-card,.pos-transaction-card{
    max-width:none;
    margin-top:6px;
  }
  .pos-shell .card{
    padding:16px;
    border-radius:20px;
  }
  .pos-action-grid{
    grid-template-columns:1fr;
  }
  .pos-action-grid .pos-display-card{
    grid-column:auto;
  }
}

/* Final app-shell mobile overrides keep account/create-event controls stable after theme rules. */
@media(max-width:1050px){
  body:not(.landing-page):not(.pos-body) .app-shell{display:block;grid-template-columns:1fr}
  body:not(.landing-page):not(.pos-body) .sidebar{position:static;height:auto;padding:12px 16px;border-right:0;border-bottom:1px solid var(--line)}
  body:not(.landing-page):not(.pos-body) .sidebar .logo-link{margin:0 0 8px;padding:0}
  body:not(.landing-page):not(.pos-body) .sidebar .nav{display:flex;gap:6px;margin-top:10px;overflow-x:auto;padding-bottom:4px}
  body:not(.landing-page):not(.pos-body) .sidebar .nav-title,
  body:not(.landing-page):not(.pos-body) .sidebar .sidebar-note{display:none}
  body:not(.landing-page):not(.pos-body) .sidebar .nav a{flex:0 0 auto;margin:0;white-space:nowrap}
  body:not(.landing-page):not(.pos-body) .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}
  body:not(.landing-page):not(.pos-body) .topbar>div:first-child{min-width:0}
  body:not(.landing-page):not(.pos-body) .topbar h1{overflow-wrap:anywhere}
  body:not(.landing-page):not(.pos-body) .top-actions{width:auto;justify-content:end;align-self:start}
  body:not(.landing-page):not(.pos-body) .top-actions .btn{flex:0 0 auto}
}
@media(max-width:650px){
  body:not(.landing-page):not(.pos-body) .main{padding:20px 14px 34px}
  body:not(.landing-page):not(.pos-body) .topbar{margin-bottom:18px}
  body:not(.landing-page):not(.pos-body) .topbar h1{font-size:24px;line-height:1.12;letter-spacing:0}
  body:not(.landing-page):not(.pos-body) .subtitle{font-size:13px;line-height:1.4}
  body:not(.landing-page):not(.pos-body) .profile-menu summary{width:40px;height:40px}
  body:not(.landing-page):not(.pos-body) .profile-menu-panel{right:0;width:min(240px,calc(100vw - 32px))}
  body:not(.landing-page):not(.pos-body) .create-event-card{padding:16px}
  body:not(.landing-page):not(.pos-body) .create-event-form{grid-template-columns:1fr;gap:13px}
  body:not(.landing-page):not(.pos-body) .create-event-form .span-2{grid-column:auto}
  body:not(.landing-page):not(.pos-body) .create-event-form .help{font-size:12px;line-height:1.35}
  body:not(.landing-page):not(.pos-body) .create-event-form .form-actions{display:grid;grid-template-columns:1fr;gap:9px;justify-content:stretch}
  body:not(.landing-page):not(.pos-body) .create-event-form .form-actions .btn{width:100%}
}

@media(max-width:1050px){
  body:not(.landing-page):not(.pos-body) .event-list-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:start;
    gap:10px;
  }
  body:not(.landing-page):not(.pos-body) .event-list-header>div{min-width:0}
  body:not(.landing-page):not(.pos-body) .event-list-header .btn{
    align-self:start;
    white-space:nowrap;
  }
}
@media(max-width:650px){
  body:not(.landing-page):not(.pos-body) .event-list-header h2{margin-bottom:3px}
  body:not(.landing-page):not(.pos-body) .event-list-header .subtitle{
    font-size:12px;
    line-height:1.32;
  }
  body:not(.landing-page):not(.pos-body) .event-list-header .btn{
    min-height:40px;
    padding:9px 12px;
    font-size:13px;
  }
}

/* SEO landing pages */
.seo-content .seo-hero{
  width:min(1160px,calc(100% - 32px));
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(340px,.82fr);
  gap:44px;
  align-items:center;
  margin:0 auto;
  padding:72px 0 52px;
}
.seo-content .seo-hero.compact{
  grid-template-columns:1fr;
  max-width:880px;
  text-align:left;
}
.seo-hero h1{
  margin:22px 0 18px;
  color:#17131a;
  font-size:clamp(2.55rem,5.4vw,4.8rem);
  line-height:1;
  letter-spacing:0;
}
.seo-hero p{
  max-width:680px;
  margin:0;
  color:#685a55;
  font-size:1.16rem;
  line-height:1.6;
  font-weight:650;
}
.seo-hero img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:30px;
  box-shadow:0 22px 50px rgba(77,49,29,.14);
}
.seo-page .landing-feature-card h2{
  margin:0 0 12px;
  font-size:1.25rem;
  letter-spacing:0;
}
.seo-text-panel{
  width:min(900px,calc(100% - 32px));
  display:grid;
  gap:14px;
  margin:0 auto;
  padding:34px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
}
.seo-text-panel h2{
  margin:10px 0 0;
  font-size:1.35rem;
  letter-spacing:0;
}
.seo-text-panel p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
@media(max-width:1050px){
  .seo-content .seo-hero{
    grid-template-columns:1fr;
    padding:54px 0 36px;
  }
}
@media(max-width:600px){
  .seo-hero h1{font-size:clamp(2.2rem,12vw,3.4rem)}
  .seo-hero p{font-size:1rem}
  .seo-text-panel{padding:24px 20px;border-radius:22px}
}

