:root{
    --navy:#0b1f33;
    --navy-2:#123553;
    --gold:#f3bd4f;
    --bg:#090e14;
    --surface:#111b24;
    --surface-2:#17232d;
    --surface-3:#21313e;
    --text:#dfe7ec;
    --muted:#b9c4ce;
    --green:#71d9a6;
    --red:#ff8d8d;
    --orange:#ffb36b;
    --border:#405363;
    --focus:#ffd166;
    --input:#0b131b;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{font-size:18px}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
a{color:#9fd2ff}
a:hover{color:#d2eaff}
.topbar{background:#081521;color:var(--text);padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:18px;position:sticky;top:0;z-index:20;border-bottom:2px solid var(--border)}
.brand{font-weight:900;font-size:1.08rem;letter-spacing:.01em}.navlinks{display:flex;gap:8px;flex-wrap:wrap}.navlinks a{color:var(--text);text-decoration:none;padding:10px 12px;border-radius:9px;font-weight:750}.navlinks a:hover,.navlinks a:focus-visible{background:var(--surface-3);outline:2px solid var(--focus);outline-offset:2px}
.container{max-width:1220px;margin:0 auto;padding:24px}
.card{background:var(--surface);border:2px solid var(--border);border-radius:16px;padding:22px;margin-bottom:20px;box-shadow:0 5px 22px rgba(0,0,0,.22)}
.card .card{background:var(--surface-2)}
.grid{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}.col-3{grid-column:span 3}.col-4{grid-column:span 4}.col-6{grid-column:span 6}.col-8{grid-column:span 8}.col-12{grid-column:span 12}
h1,h2,h3{margin-top:0;line-height:1.2}h1{font-size:1.75rem}h2{font-size:1.35rem}h3{font-size:1.12rem}
.muted{color:var(--muted)}.success{color:var(--green);font-weight:750}.danger{color:var(--red);font-weight:750}
.btn{display:inline-block;border:2px solid transparent;border-radius:10px;background:#1f5f91;color:#fff;padding:13px 18px;text-decoration:none;font-weight:800;cursor:pointer;min-height:48px;font-size:1rem}
.btn:hover{filter:brightness(1.15)}.btn:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.btn:disabled{opacity:.65;cursor:not-allowed}.btn.gold{background:var(--gold);color:#17120a}.btn.danger{background:#8d2424;border-color:#ff8d8d}.btn.light{background:var(--surface-3);border-color:#60788d;color:var(--text)}
label{font-weight:800;display:block;margin:0 0 7px;color:#f7f9fb}
input,select,textarea{width:100%;padding:13px 14px;border:2px solid #607182;border-radius:9px;background:var(--input);color:var(--text);font:inherit;font-size:1rem;min-height:50px}
input::placeholder,textarea::placeholder{color:#8999a8}
input:focus,select:focus,textarea:focus{outline:3px solid var(--focus);outline-offset:2px;border-color:var(--focus);background:#121f2b}
input:invalid:not(:placeholder-shown){border-color:#ff9090}
input[type="range"]{padding:0;border:0;background:transparent;min-height:38px;accent-color:var(--gold)}
input[type="checkbox"],input[type="radio"]{width:22px;height:22px;min-height:0;accent-color:var(--gold)}
input[type="file"]{padding:10px}
textarea{min-height:150px;resize:vertical}.field{margin-bottom:16px}.field-help{margin-top:7px;color:var(--muted);font-size:.92rem}
.range-wrap{display:flex;align-items:center;gap:16px}.range-value{min-width:64px;text-align:center;font-size:1.45rem;font-weight:900;background:var(--surface-3);border:2px solid var(--gold);border-radius:10px;padding:4px 10px;color:#fff}
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:12px}
table{width:100%;border-collapse:collapse;background:var(--surface)}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--border);vertical-align:top}th{font-size:.86rem;color:#dce5ec;background:#101b25;letter-spacing:.02em}tbody tr:hover{background:#1c2a36}
.badge{display:inline-block;padding:6px 9px;border-radius:999px;background:var(--surface-3);font-size:.76rem;font-weight:900}.badge.green{background:#173d2d;color:#9af0c4}.badge.red{background:#4d2222;color:#ffb3b3}.badge.warn{background:#4c3915;color:#ffd77a}
.stat{font-size:2rem;font-weight:900}.site-footer{text-align:center;padding:28px;color:var(--muted);font-size:.8rem}.hero{background:linear-gradient(135deg,var(--navy),var(--navy-2));color:#fff;border:2px solid #31526e;border-radius:20px;padding:26px;margin-bottom:20px}
.stop-logo,.sponsor-logo{max-width:120px;max-height:90px;object-fit:contain}.visited{filter:grayscale(1);opacity:.6}.sticky-qr{position:sticky;bottom:10px;background:var(--surface);border:2px solid var(--gold);padding:14px;border-radius:14px;text-align:center}
.logo-preview{width:120px;height:120px;object-fit:contain;border:2px solid var(--border);border-radius:10px;background:#fff;padding:8px}.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}.choice{border:2px solid var(--border);border-radius:12px;padding:15px;background:var(--surface-2)}.choice input{width:auto}.qr-panel canvas{max-width:100%;height:auto;background:#fff;padding:5px}.reader{width:100%;max-width:520px;margin:0 auto 18px;background:#fff;border-radius:10px;overflow:hidden}.sponsor-row{display:flex;gap:18px;align-items:center;justify-content:center;flex-wrap:wrap}.charity-feature img{width:100%;max-width:600px;border-radius:14px}.warning{background:#3b3016;border:2px solid #c99f3d;color:#fff3c4;padding:16px;border-radius:12px}.notice{background:#163147;border:2px solid #3f81b3;padding:16px;border-radius:12px}.special-note{background:#4a2e17;border:2px solid #df9b4f;color:#ffe2bd;padding:13px 15px;border-radius:10px;margin-top:12px;font-weight:750}.section-title{border-bottom:2px solid var(--border);padding-bottom:9px;margin-top:10px}.inventory-matrix input{min-width:84px;text-align:center}.inventory-matrix th,.inventory-matrix td{text-align:center}.inventory-matrix th:first-child,.inventory-matrix td:first-child{text-align:left;min-width:160px}
@media(max-width:760px){html{font-size:17px}.grid{display:block}.col-3,.col-4,.col-6,.col-8,.col-12{margin-bottom:14px}.container{padding:12px}.card{padding:17px}.topbar{align-items:flex-start;flex-direction:column}.navlinks{width:100%}.navlinks a{padding:10px}table.responsive thead{display:none}table.responsive,tr,td{display:block;width:100%}table.responsive tr{border-bottom:2px solid var(--border);padding:10px 0}table.responsive td{border:0;padding:7px 0}table.responsive td:before{content:attr(data-label);display:block;font-weight:900;font-size:.78rem;color:var(--muted)}.hero{padding:20px}.range-wrap{align-items:stretch;flex-direction:column}.range-value{align-self:flex-start}}

html{color-scheme:dark} body{min-height:100vh} ::selection{background:#735c23;color:#fff6d6}.card,.hero,.topbar,input,select,textarea,table{box-shadow:none}.card{border-color:#334553}.topbar{background:#05090d}.btn{font-size:1.04rem}.field label{font-size:1.02rem}.schema-list{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.schema-list code{background:#080d12;border:1px solid var(--border);padding:7px 9px;border-radius:7px;color:#ffd77a}.logo-preview,.qr-panel canvas,.reader{color-scheme:light}

.credential-card{border-color:var(--gold)}.credential-block{min-height:220px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.55;background:#080d12}.inline-check{display:flex;align-items:center;gap:9px;margin:8px 0;font-weight:750}.inline-check input{flex:0 0 auto}.role-form .btn{margin-top:8px}.link-card{padding:16px 0;border-top:1px solid var(--border)}.link-card:first-of-type{border-top:0}.copy-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center}.copy-row input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}@media(max-width:700px){.copy-row{grid-template-columns:1fr}.copy-row .btn{text-align:center}}

/* v1.5.0 customer mobile layout */
.customer-page{padding-bottom:78px;background:#070b10}
.customer-shell{max-width:620px;padding:12px 12px 28px}
.customer-hero{text-align:center;padding:20px 16px}
.customer-event-logo{width:104px;height:104px;object-fit:contain;background:#fff;border-radius:14px;padding:6px;margin-bottom:8px}
.customer-feed-heading{padding:8px 3px 4px}
.customer-feed-heading h2{margin-bottom:4px}
.customer-entity-card{text-align:left}
.customer-entity-row{display:flex;gap:14px;align-items:flex-start}
.customer-entity-copy{min-width:0;flex:1}
.customer-entity-logo{width:118px;height:118px;aspect-ratio:1/1;object-fit:contain;flex:0 0 118px;border:2px solid var(--border);border-radius:14px;background:#fff;padding:5px}
.customer-entity-logo-center{display:block;margin:12px auto;max-width:180px;width:180px;height:180px}
.entity-kind{display:inline-block;color:var(--gold);font-size:.75rem;font-weight:900;letter-spacing:.08em;margin-bottom:5px}
.customer-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.customer-shirt-art{display:block;width:100%;max-width:150px;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:10px;margin:0 auto 10px;padding:5px}
.sponsor-feature,.charity-feature{text-align:center}
.qr-drawer{position:fixed;z-index:100;left:50%;bottom:0;width:min(100%,620px);transform:translateX(-50%);background:#0d1720;border:2px solid var(--gold);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -8px 28px rgba(0,0,0,.55);max-height:72px;overflow:hidden;transition:max-height .25s ease}
.qr-drawer.open{max-height:min(82vh,650px);overflow:auto}
.qr-drawer-handle{width:100%;min-height:70px;border:0;background:#111e29;color:#fff;padding:8px 16px 10px;font:inherit;font-weight:900;display:grid;grid-template-columns:30px 1fr 30px;align-items:center;gap:8px;cursor:pointer}
.drawer-grab{display:block;width:28px;height:5px;border-radius:999px;background:#82909b;justify-self:center}
.qr-drawer-body{text-align:center;padding:4px 18px calc(20px + env(safe-area-inset-bottom));border-top:1px solid var(--border)}
.qr-drawer-body canvas{display:block;background:#fff;padding:7px;width:min(78vw,300px)!important;height:auto!important;margin:8px auto;border-radius:10px}
.qr-human-code{font-size:1.65rem;font-weight:950;letter-spacing:.08em;margin:8px 0 14px;color:#fff}
@media(max-width:520px){.customer-entity-row{display:block}.customer-entity-logo{display:block;margin:0 auto 12px;width:150px;height:150px}.customer-entity-copy{text-align:center}.customer-actions{justify-content:center}.customer-actions .btn{flex:1 1 45%;text-align:center}.customer-shell .card{border-radius:14px}.choice-grid{grid-template-columns:1fr 1fr}.choice{padding:11px}}
@media(max-width:390px){.choice-grid{grid-template-columns:1fr}.customer-actions .btn{flex-basis:100%}}

/* Long credential URLs must stay inside the mobile admin layout. */
.credential-block{width:100%;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;overflow-x:hidden}
.credential-card{overflow:hidden}.copy-row{min-width:0}.copy-row input{min-width:0;max-width:100%}

/* v1.6.0 customer page: one straight mobile column of square media blocks. */
.customer-page{padding-bottom:0;background:#070b10}
.customer-stack-shell{max-width:800px;padding:12px 12px 30px}
.customer-compact-header{text-align:center;padding:8px 8px 14px}
.customer-compact-header h1{font-size:1.35rem;margin-bottom:5px}
.customer-compact-header p{margin:0;color:var(--muted)}
.customer-stack-card{padding:0;overflow:hidden;border-radius:16px}
.customer-stack-copy{padding:18px}
.customer-square-media{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;margin:0;padding:0;border:0;border-radius:0}
.customer-square-placeholder{display:grid;place-items:center;background:#182733;color:#fff;padding:24px;text-align:center;font-size:1.5rem;font-weight:900}
.customer-square-placeholder span{max-width:85%}
.customer-qr-card{border-color:var(--gold)}
.customer-qr-square{image-rendering:pixelated;padding:14px;background:#fff}
.customer-qr-copy{text-align:center}
.customer-qr-copy .qr-human-code{font-size:1.65rem;margin:5px 0 8px}
.customer-full-btn{display:block;width:100%;text-align:center;margin-top:12px}
.customer-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px}
.customer-actions .btn{width:100%;text-align:center}
.customer-visited-card{opacity:.86}
.customer-visited-card .customer-stack-copy{background:#111820}
.customer-visited-heading{margin-top:26px;border-top:2px solid var(--border);padding-top:18px}
.customer-shirt-card,.customer-shirt-select-card{border-color:#4c8a62}
.customer-shirt-options{display:grid;grid-template-columns:1fr;gap:16px;margin:16px 0}
.customer-shirt-option{display:block;border:2px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface-2);cursor:pointer}
.customer-shirt-option-copy{display:block;padding:16px}
.customer-shirt-option-copy input{width:24px;height:24px;margin-right:8px;vertical-align:middle}
.customer-unlocked-card{text-align:center;border-color:#4c8a62}
.customer-onboarding{max-width:800px}
.customer-onboarding-card{text-align:center}
.customer-onboarding-logo{display:block;width:min(72vw,320px);height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:16px;margin:0 auto 18px;padding:8px}
.age-confirm-card{border-color:var(--gold)}
/* Retire the v1.5 QR drawer completely; QR is now a normal top-of-page square. */
.qr-drawer{display:none!important}
@media(max-width:520px){
  .customer-stack-shell,.customer-onboarding{padding:8px}
  .customer-stack-card,.customer-shell .card{border-radius:12px}
  .customer-stack-copy{padding:15px}
  .customer-compact-header h1{font-size:1.22rem}
}


/* v1.6.1 customer mobile presentation
   Keep the customer experience as one clean, narrow, vertical phone column.
   Source artwork may be 800x800 PNG, but it is always scaled down uniformly on screen. */
.customer-page{
  overflow-x:hidden;
}
.customer-stack-shell{
  width:100%;
  max-width:460px;
  margin:0 auto;
  padding:10px 14px 34px;
}
.customer-stack-shell > *{
  width:100%;
  box-sizing:border-box;
}
.customer-stack-card,
.customer-qr-card,
.customer-shirt-card,
.customer-shirt-select-card,
.customer-unlocked-card{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}
.customer-square-media{
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:1 / 1;
  object-fit:contain;
  object-position:center;
  box-sizing:border-box;
  background:#fff;
}
.customer-square-placeholder{
  width:100% !important;
  max-width:100% !important;
  aspect-ratio:1 / 1;
}
.customer-qr-square{
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio:1 / 1;
  box-sizing:border-box;
  padding:12px;
}
.customer-shirt-option{
  width:100%;
}
.customer-shirt-option .customer-square-media{
  width:100% !important;
  max-width:100% !important;
}
.customer-stack-copy{
  width:100%;
  box-sizing:border-box;
}
.customer-feed-heading{
  width:100%;
  text-align:left;
}
.customer-compact-header{
  width:100%;
  box-sizing:border-box;
}
.customer-onboarding{
  width:100%;
  max-width:460px;
  margin:0 auto;
  padding:10px 14px 34px;
}
.customer-onboarding-logo{
  width:180px;
  max-width:52vw;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
}
@media(max-width:480px){
  .customer-stack-shell,
  .customer-onboarding{
    max-width:none;
    padding:8px 12px 28px;
  }
  .customer-stack-card,
  .customer-shell .card{
    border-radius:13px;
  }
}


/* v1.6.2 hard mobile containment
   Prevent intrinsic 800px image/canvas dimensions from widening the viewport.
   Every customer media card is one narrow vertical phone block. */
html,
body.customer-page{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important;
}
body.customer-page .container.customer-shell.customer-stack-shell{
  width:calc(100vw - 24px) !important;
  max-width:420px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:10px 0 30px !important;
  overflow:hidden !important;
}
body.customer-page .customer-stack-shell > *,
body.customer-page .customer-stack-card,
body.customer-page .customer-qr-card,
body.customer-page .customer-shirt-card,
body.customer-page .customer-shirt-select-card,
body.customer-page .customer-unlocked-card,
body.customer-page .customer-shirt-option{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
body.customer-page img.customer-square-media,
body.customer-page canvas.customer-square-media,
body.customer-page .customer-square-placeholder{
  display:block !important;
  inline-size:100% !important;
  width:100% !important;
  max-inline-size:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  block-size:auto !important;
  height:auto !important;
  aspect-ratio:1 / 1 !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 !important;
  box-sizing:border-box !important;
}
body.customer-page canvas.customer-qr-square{
  inline-size:100% !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  padding:10px !important;
}
body.customer-page .customer-stack-copy,
body.customer-page .customer-feed-heading,
body.customer-page .customer-compact-header,
body.customer-page .customer-actions,
body.customer-page .customer-shirt-option-copy{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow-wrap:anywhere;
}
body.customer-page .customer-actions{
  grid-template-columns:minmax(0,1fr) !important;
}
body.customer-page .customer-actions .btn{
  min-width:0 !important;
  white-space:normal !important;
}
@media(max-width:480px){
  body.customer-page .container.customer-shell.customer-stack-shell{
    width:calc(100vw - 20px) !important;
    max-width:410px !important;
  }
}

/* v1.7 charity mode */
.charity-total-card{border:2px solid var(--gold);text-align:center}.charity-total-card h1{font-size:clamp(2.5rem,12vw,4.5rem);margin:.2em 0}.charity-stop-meter{margin:12px 0;padding:12px;border-radius:12px;background:rgba(238,177,17,.10);border:1px solid rgba(238,177,17,.4)}.customer-visited-card .charity-stop-meter{filter:none}.charity-stop-meter p{margin:6px 0}


/* v1.7.3 Master Stop Directory desktop containment */
.admin-stops-page .saved-stops-card{
  overflow:hidden;
}
.admin-stops-page .saved-stops-table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
}
.admin-stops-page .saved-stops-table th,
.admin-stops-page .saved-stops-table td{
  vertical-align:top;
  overflow-wrap:anywhere;
  word-break:normal;
}
.admin-stops-page .saved-stops-table th:first-child,
.admin-stops-page .saved-stops-table td:first-child{
  width:150px;
}
.admin-stops-page .admin-stop-logo,
.admin-stops-page .saved-stops-table td:first-child img{
  display:block !important;
  width:128px !important;
  height:128px !important;
  max-width:128px !important;
  max-height:128px !important;
  min-width:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  background:#fff;
  border-radius:12px;
  box-sizing:border-box;
  margin:0 auto;
}
.admin-stops-page .saved-stops-table .btn{
  white-space:nowrap;
}
@media(max-width:800px){
  .admin-stops-page .saved-stops-card{overflow-x:auto;}
  .admin-stops-page .saved-stops-table{min-width:760px;}
}

/* v1.8.0 global legal/footer copy */
.site-footer .legal-disclaimer{font-size:.66rem;line-height:1.45;max-width:1050px;margin:0 auto 12px;color:#9eabb5;text-align:left}.site-footer .app-version{text-align:center;font-size:.72rem;color:#82919d}


/* =====================================================================
   v1.9.0 site-wide vintage Cheviot Pub Crawl theme
   ===================================================================== */
:root{
  --bg:#0d0d0d;
  --panel:#181818;
  --panel2:#211315;
  --text:#fff7e5;
  --muted:#cdbfa8;
  --line:#5a4637;
  --gold:#f2b544;
  --accent:#c9192c;
  --accent-dark:#8f0e1c;
  --success:#79c267;
  --danger:#ff7b7b
}
body{background:
  radial-gradient(circle at 100% 0,rgba(201,25,44,.08),transparent 26%),
  linear-gradient(180deg,#0b0b0b,#111);
  color:var(--text)
}
a{color:#ffd176}
.site-header,.topbar,.admin-header{background:linear-gradient(90deg,#090909,#1b0d0f);border-bottom:4px solid var(--accent)}
.card{background:linear-gradient(180deg,#191919,#141414);border-color:#4d3a2e;box-shadow:0 12px 28px rgba(0,0,0,.22)}
.card h1,.card h2,.card h3,h1,h2,h3{color:#fff6e0}
.btn{background:#2a2a2a;border-color:#6d5947;color:#fff8e6}
.btn.gold{background:var(--gold);border-color:var(--gold);color:#191108}
.btn.light{background:#fff4dc;color:#18120c;border-color:#cbaa73}
.btn.danger{background:#861a24}
input,select,textarea{background:#101010!important;color:#fff8e8!important;border-color:#675345!important}
input:focus,select:focus,textarea:focus{border-color:var(--gold)!important;box-shadow:0 0 0 3px rgba(242,181,68,.18)!important}
.notice{background:#2a2317;border-color:#7e632e;color:#ffe5a3}
.warning{background:#351516;border-color:#9a3942;color:#ffd0d2}
.success{color:#96dd86}
table th{background:#211315;color:#ffd78e}
table td{border-color:#3f342d}
.site-footer{background:#090909;border-top:3px solid var(--accent)}
.customer-page{background:#0b0b0b}
.customer-stack-card,.customer-qr-card,.customer-shirt-card,.customer-shirt-select-card,.customer-unlocked-card{
  background:linear-gradient(180deg,#191919,#111);
  border-color:#5b4634
}
.customer-stack-copy h2,.customer-feed-heading h2{color:#fff6e0}
.customer-square-media{background:#fffdf7}
.customer-compact-header{background:linear-gradient(135deg,#1a1a1a,#3a0c12);border-color:#7e2b34}
.entity-kind{color:#f2b544}

.purchase-progress{height:16px;background:#2b2119;border:1px solid #725a3e;border-radius:999px;overflow:hidden;margin:10px 0 4px}.purchase-progress i{display:block;height:100%;background:linear-gradient(90deg,#c9192c,#f2b544)}.purchase-percent{text-align:right;font-weight:900;color:#f2b544}.customer-full-btn{width:100%}

/* v3.0.5 participant Stop actions */
.customer-logo-map-link{display:block;text-decoration:none}
.customer-stop-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:12px 0}
.customer-action-compact{width:100%;min-width:0;padding:10px 8px;font-size:.86rem;line-height:1.15;text-align:center;white-space:normal}
.stop-location-line{min-height:1.5em}
@media(max-width:360px){.customer-action-compact{font-size:.78rem;padding:9px 6px}}

/* v3.0.6 clean participant Stop-card layout */
.customer-note-full{display:block;width:100%;box-sizing:border-box;margin:12px 0}
.customer-stop-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;margin:12px 0!important}
.customer-action-compact{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:52px!important;height:auto!important;box-sizing:border-box!important;padding:10px 8px!important;font-size:.86rem!important;line-height:1.15!important;text-align:center!important;white-space:normal!important}
.customer-website-row{display:block;width:100%;margin:12px 0 0}
.customer-website-row .customer-full-btn{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;box-sizing:border-box!important;min-height:52px!important}
@media(max-width:360px){
  .customer-stop-actions{gap:8px!important}
  .customer-action-compact{font-size:.78rem!important;padding:9px 6px!important}
}

/* v3.0.7 customer navigation */
html{scroll-behavior:smooth}
.customer-back-to-qr{margin:22px 0 10px}

/* v3.1.0 Assigned Stop + credential layout */
.assigned-stop-identity{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.assigned-stop-logo{width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important;display:block!important;flex:0 0 64px!important;border-radius:8px;background:#fff}
.credential-stop-logo{width:88px!important;height:88px!important;max-width:88px!important;max-height:88px!important;object-fit:contain!important;display:block!important;flex:0 0 88px!important}
.credential-stop-head{display:flex!important;align-items:center!important;gap:12px!important}
.scanner-creds-mini{max-width:270px;overflow-wrap:anywhere}
.scanner-creds-mini code{font-size:.95rem;font-weight:800}
table.responsive td img.assigned-stop-logo{width:64px!important;height:64px!important}

/* v3.1.1 hard-limit Assigned Stop logos */
table.responsive td[data-label="Stop"]{min-width:180px;max-width:280px;vertical-align:top}
.assigned-stop-identity{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;max-width:100%!important}
.assigned-stop-identity strong{min-width:0;overflow-wrap:anywhere}
.assigned-stop-logo{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:contain!important;display:block!important;flex:0 0 64px!important}

/* v3.1.2 Assigned Stops card layout */
.assigned-stop-list{display:grid;gap:18px;margin-top:18px}
.assigned-stop-card{border:1px solid #38506b;border-radius:16px;background:#102236;padding:18px;overflow:hidden}
.assigned-stop-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid #334b63;padding-bottom:14px;margin-bottom:14px}
.assigned-stop-card h3,.assigned-stop-card h4{margin:0}
.assigned-stop-card h3{font-size:1.2rem}
.assigned-stop-summary{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px;min-width:min(560px,55%)}
.assigned-stop-summary>div,.cred-field{background:#0b1826;border:1px solid #334b63;border-radius:10px;padding:10px}
.assigned-stop-summary small,.cred-field small{display:block;color:#9eb1c3;font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}
.assigned-stop-columns{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);gap:16px}
.assigned-panel{background:#0d1c2b;border:1px solid #2d455b;border-radius:12px;padding:14px;min-width:0}
.role-options{display:flex;flex-wrap:wrap;gap:14px;margin:10px 0 16px}
.sms-override-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sms-override-grid textarea{width:100%;min-height:92px;resize:vertical}
.role-save-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
.cred-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.cred-field code{display:block;font-size:1rem;font-weight:800;overflow-wrap:anywhere}
.cred-url{grid-column:1/-1}
.cred-url a{display:block;overflow-wrap:anywhere;word-break:break-word}
.cred-meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:#9eb1c3;font-size:.86rem;margin:10px 0 14px}
.credential-actions{display:grid;gap:8px}
.credential-actions form,.credential-actions button{width:100%}
@media(max-width:1050px){
 .assigned-stop-card-head{display:block}
 .assigned-stop-summary{min-width:0;width:100%;margin-top:14px}
 .assigned-stop-columns{grid-template-columns:1fr}
}
@media(max-width:720px){
 .assigned-stop-summary,.sms-override-grid,.cred-grid{grid-template-columns:1fr}
 .cred-url{grid-column:auto}
 .role-save-row{display:block}
 .role-save-row .btn{width:100%;margin-top:10px}
}

/* v3.2.0 QR batch deletion */
.batch-delete-box{margin-top:12px;border-top:1px solid #3d4f63;padding-top:10px}
.batch-delete-box summary{cursor:pointer;font-weight:800;color:#ff8e8e}
.batch-delete-box form{margin-top:10px;display:grid;gap:8px}

.shirt-delete-card{display:flex;flex-direction:column;gap:10px;align-items:flex-start}.shirt-delete-card form{width:100%}

/* Keep every size heading aligned with its quantity when the table scrolls. */
.inventory-matrix{min-width:940px}
.inventory-matrix tr{display:table-row;width:auto}
.inventory-matrix th,.inventory-matrix td{display:table-cell;width:auto}

/* v3.4.0 participation request cards */
.request-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.request-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.request-card-head h2{margin:.4rem 0 0}
@media(max-width:850px){.request-card-grid{grid-template-columns:1fr}}
