:root {
  --wwc-pine-950: #061513;
  --wwc-pine-900: #0d403b;
  --wwc-pine-800: #176158;
  --wwc-teal: #2f9188;
  --wwc-teal-soft: #d9efeb;
  --wwc-cream: #f5f0e3;
  --wwc-paper: #fffdf8;
  --wwc-white: #ffffff;
  --wwc-gold: #f1d16f;
  --wwc-gold-soft: #fff3c7;
  --wwc-ink: #16383a;
  --wwc-muted: #687a75;
  --wwc-line: #ded8c8;
  --wwc-red: #b8493e;
  --wwc-red-soft: #fbe7df;
  --wwc-green: #2f8557;
  --wwc-green-dark: #246b47;
  --wwc-green-soft: #dcefe3;
  --wwc-shadow: 0 18px 50px rgba(21, 56, 58, .11);
}

html:has(body.wwc-app-page) { margin: 0 !important; background: var(--wwc-cream); }
body.wwc-app-page { margin: 0; min-width: 320px; min-height: 100vh; background: var(--wwc-cream); }
body.wwc-app-page #wpadminbar { display: none !important; }
.wwc-page, .wwc-app, .wwc-login { margin: 0; min-height: 100vh; color: var(--wwc-ink); font-family: "Trebuchet MS", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.45; }
.wwc-app *, .wwc-login * { box-sizing: border-box; }
.wwc-app [hidden], .wwc-login [hidden] { display: none !important; }
.wwc-app button, .wwc-app input, .wwc-app select, .wwc-app textarea, .wwc-login a { font: inherit; }
.wwc-app button:focus-visible, .wwc-app a:focus-visible, .wwc-app input:focus-visible, .wwc-app select:focus-visible, .wwc-app textarea:focus-visible, .wwc-login a:focus-visible { outline: 3px solid var(--wwc-gold); outline-offset: 3px; }
.wwc-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; }
.wwc-icon { width: 20px; height: 20px; flex: 0 0 auto; }

.wwc-shell { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; background: radial-gradient(circle at 93% -10%, rgba(241, 209, 111, .3), transparent 31rem), linear-gradient(135deg, rgba(47, 145, 136, .04) 25%, transparent 25%) 0 0 / 42px 42px, var(--wwc-cream); }
.wwc-shell.wwc-embedded-shell { grid-template-columns: minmax(0, 1fr); }
.wwc-sidebar { position: sticky; top: 0; z-index: 20; display: flex; flex-direction: column; height: 100vh; height: 100dvh; padding: 28px 22px 22px; overflow-y: auto; color: var(--wwc-white); background: radial-gradient(circle at 25% 4%, rgba(47, 145, 136, .19), transparent 18rem), #030706; box-shadow: 8px 0 30px rgba(3, 7, 6, .18); }
.wwc-brand { display: grid; justify-items: start; gap: 5px; }
.wwc-brand img { display: block; width: min(205px, 100%); height: auto; object-fit: contain; }
.wwc-brand > span { color: rgba(255, 255, 255, .64); font-size: 9px; font-weight: 850; letter-spacing: .19em; text-transform: uppercase; }
.wwc-mark { display: grid; place-items: center; width: 50px; height: 50px; flex: 0 0 auto; border: 2px solid var(--wwc-gold); border-radius: 50%; color: var(--wwc-gold); font: 28px/1 Georgia, serif; }
.wwc-nav { display: grid; gap: 7px; margin-top: 42px; }
.wwc-nav-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 49px; border: 1px solid transparent; border-radius: 12px; padding: 0 14px; color: rgba(255, 255, 255, .74); background: transparent; font-size: 14px; font-weight: 750; text-align: left; cursor: pointer; }
.wwc-nav-item.is-active { color: var(--wwc-white); border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .09); }
.wwc-nav-scan { margin-top: 4px; color: var(--wwc-pine-950); background: var(--wwc-gold); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.wwc-nav-scan:hover { background: #ffd45d; }
.wwc-location-card { margin-top: 25px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 25px; }
.wwc-location-card label { display: grid; gap: 8px; color: rgba(255, 255, 255, .7); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.wwc-location-card select { width: 100%; min-height: 45px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 0 38px 0 12px; color: var(--wwc-white); background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 700; text-transform: none; }
.wwc-location-card select option { color: var(--wwc-ink); background: var(--wwc-white); }
.wwc-security-card { display: flex; gap: 11px; margin-top: auto; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 13px; color: #bfe1da; background: rgba(0, 0, 0, .11); }
.wwc-security-card .wwc-icon { width: 19px; height: 19px; margin-top: 2px; color: var(--wwc-gold); }
.wwc-security-card div { display: grid; gap: 3px; }
.wwc-security-card strong { color: var(--wwc-white); font-size: 11px; }
.wwc-security-card small { color: rgba(255, 255, 255, .55); font-size: 10px; line-height: 1.4; }
.wwc-sidebar-user { display: grid; grid-template-columns: 39px 1fr; gap: 10px; align-items: center; margin-top: 16px; padding: 4px; }
.wwc-user-avatar { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; color: var(--wwc-pine-900); background: var(--wwc-gold); font-size: 12px; font-weight: 900; }
.wwc-sidebar-user > div:last-child { display: grid; min-width: 0; }
.wwc-sidebar-user strong { overflow: hidden; color: var(--wwc-white); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wwc-sidebar-user a { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; color: rgba(255, 255, 255, .57); font-size: 10px; text-decoration: none; }
.wwc-sidebar-user a .wwc-icon { width: 13px; height: 13px; }

.wwc-main { min-width: 0; }
.wwc-mobile-topbar, .wwc-mobile-actions { display: none; }
.wwc-workspace { width: 100%; max-width: 1760px; margin: 0 auto; padding: clamp(28px, 3.5vw, 60px); }
.wwc-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.wwc-heading h1, .wwc-modal h1, .wwc-login h1, .wwc-fatal h1 { margin: .12em 0; color: var(--wwc-pine-900); font: 800 clamp(34px, 4vw, 52px)/1.04 "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; letter-spacing: -.035em; }
.wwc-heading > div:first-child > p:last-child, .wwc-modal > p { max-width: 680px; margin: .45em 0 0; color: var(--wwc-muted); }
.wwc-eyebrow { margin: 0; color: var(--wwc-teal); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.wwc-heading-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.wwc-header-location, .wwc-header-week { display: grid; gap: 4px; min-width: 190px; color: var(--wwc-muted); font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.wwc-header-week { min-width: min(310px, 100%); }
.wwc-header-location select, .wwc-header-week select { min-height: 46px; border: 1px solid #c5c7b9; border-radius: 999px; padding: 0 38px 0 15px; color: var(--wwc-pine-900); background: var(--wwc-white); font-size: 13px; font-weight: 800; letter-spacing: normal; text-transform: none; }
.wwc-button, .wwc-secondary, .wwc-row-button, .wwc-icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 0; border-radius: 999px; padding: 0 20px; color: var(--wwc-pine-950); background: var(--wwc-gold); font-size: 13px; font-weight: 850; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.wwc-button:hover, .wwc-row-button:hover { transform: translateY(-1px); background: #f7dc8a; box-shadow: 0 8px 20px rgba(18, 63, 67, .13); }
.wwc-secondary, .wwc-icon-button { border: 1px solid #c5c7b9; color: var(--wwc-pine-900); background: var(--wwc-white); }
.wwc-secondary:hover, .wwc-icon-button:hover { background: #f7f4ea; }
.wwc-row-button.wwc-checkout-button { color: var(--wwc-white); background: var(--wwc-green); box-shadow: 0 8px 18px rgba(47, 133, 87, .2); }
.wwc-row-button.wwc-checkout-button:hover { color: var(--wwc-white); background: var(--wwc-green-dark); box-shadow: 0 9px 22px rgba(47, 133, 87, .28); }
.wwc-scan-button { min-height: 50px; padding: 0 22px; box-shadow: 0 10px 24px rgba(18, 63, 67, .12); }
.wwc-dropin-button { min-height: 50px; border-color: #d7b748; color: var(--wwc-pine-950); background: var(--wwc-gold-soft); }
button:disabled { cursor: not-allowed; opacity: .52; transform: none !important; box-shadow: none !important; }

.wwc-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 30px 0 20px; }
.wwc-stats.wwc-stats-readonly { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wwc-stats article { position: relative; display: grid; gap: 2px; min-height: 106px; overflow: hidden; border: 1px solid var(--wwc-line); border-radius: 22px; padding: 20px 22px; background: rgba(255, 253, 247, .9); box-shadow: 0 8px 25px rgba(18, 63, 67, .045); }
.wwc-stats article::after { position: absolute; right: -18px; bottom: -30px; width: 86px; height: 86px; border-radius: 50%; background: var(--wwc-teal-soft); content: ""; opacity: .65; }
.wwc-stats article.is-present::after { background: #d9ebd7; }
.wwc-stats article.is-afternoon::after { background: #d8e9f4; }
.wwc-stats article.is-away::after { background: var(--wwc-gold-soft); }
.wwc-stats article.is-hold::after { background: var(--wwc-red-soft); }
.wwc-stats span { position: relative; z-index: 1; color: var(--wwc-pine-900); font: 800 34px/1 "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
.wwc-stats small { position: relative; z-index: 1; color: var(--wwc-muted); font-size: 11px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }

.wwc-roster-panel { border: 1px solid var(--wwc-line); border-radius: 24px; background: rgba(255, 253, 247, .96); box-shadow: var(--wwc-shadow); }
.wwc-week-notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; align-items: center; margin: 24px 0 -10px; border: 1px solid #dbc46d; border-radius: 16px; padding: 14px 16px; color: #654709; background: var(--wwc-gold-soft); }
.wwc-week-notice > .wwc-icon { width: 25px; height: 25px; }
.wwc-week-notice > div { display: grid; gap: 2px; }
.wwc-week-notice strong { color: var(--wwc-pine-900); font-size: 12px; }
.wwc-week-notice span { font-size: 11px; }
.wwc-week-notice .wwc-secondary { min-height: 38px; }
.wwc-controls { display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--wwc-line); padding: 18px; }
.wwc-search { position: relative; display: flex; align-items: center; min-width: 0; }
.wwc-search > .wwc-icon { position: absolute; left: 14px; z-index: 1; width: 19px; color: var(--wwc-muted); }
.wwc-search input, .wwc-modal input, .wwc-modal select, .wwc-modal textarea, .wwc-scanner input { width: 100%; min-height: 46px; border: 1px solid #c8c4b6; border-radius: 14px; padding: 10px 12px; color: var(--wwc-ink); background: var(--wwc-white); }
.wwc-search input { border-radius: 999px; }
.wwc-search input { padding-left: 43px; }
.wwc-search input::placeholder { color: #87928e; }
.wwc-filters { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: thin; }
.wwc-filters button { min-height: 38px; border: 1px solid transparent; border-radius: 999px; padding: 0 13px; color: var(--wwc-muted); background: transparent; font-size: 11px; font-weight: 850; white-space: nowrap; cursor: pointer; }
.wwc-filters button:hover { color: var(--wwc-pine-900); background: #f2efe5; }
.wwc-filters button.is-active { border-color: #b8d3cf; color: var(--wwc-pine-900); background: var(--wwc-teal-soft); }
.wwc-result-count { color: var(--wwc-muted); font-size: 11px; font-weight: 800; white-space: nowrap; }
.wwc-roster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 1fr)); gap: 12px; padding: 14px; }
.wwc-camper { display: grid; grid-template-rows: auto auto 1fr; gap: 13px; min-width: 0; min-height: 194px; border: 1px solid var(--wwc-line); border-top: 4px solid var(--wwc-teal); border-radius: 18px; padding: 15px; background: var(--wwc-white); box-shadow: 0 5px 14px rgba(18, 63, 67, .045); }
.wwc-camper.hold { border-top-color: var(--wwc-red); background: #fffaf7; }
.wwc-camper.temporarily-out { border-top-color: #d49a18; }
.wwc-camper.checked-out { border-top-color: #aeb8b3; opacity: .66; }
.wwc-camper-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.wwc-avatar { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px; color: var(--wwc-pine-900); background: var(--wwc-teal-soft); font-size: 12px; font-weight: 900; letter-spacing: .04em; }
.wwc-camper-copy { min-width: 0; }
.wwc-camper-copy h2 { margin: 0; color: var(--wwc-pine-900); font: 800 19px/1.12 "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
.wwc-camper-copy p { overflow: hidden; margin: 4px 0 0; color: var(--wwc-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.wwc-name-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.wwc-chip { border-radius: 999px; padding: 3px 7px; color: var(--wwc-pine-900); background: var(--wwc-teal-soft); font-size: 8px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.wwc-chip.wwc-chip-afternoon { color: #31536b; background: #d8e9f4; }
.wwc-chip.wwc-chip-location { color: #77520d; background: var(--wwc-gold-soft); }
.wwc-chip.wwc-chip-override { color: #1e6942; background: var(--wwc-green-soft); }
.wwc-chip.wwc-chip-dropin { color: #654709; background: var(--wwc-gold-soft); }
.wwc-status { border-radius: 999px; padding: 6px 9px; color: var(--wwc-pine-900); background: #e9f1ec; font-size: 9px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hold .wwc-status { color: #8e342c; background: var(--wwc-red-soft); }
.temporarily-out .wwc-status { color: #77520d; background: var(--wwc-gold-soft); }
.wwc-camper-detail { display: flex; align-items: center; gap: 7px; min-width: 0; border-radius: 8px; padding: 8px 10px; color: var(--wwc-muted); background: #f7f5ef; font-size: 11px; }
.wwc-camper-detail .wwc-icon { width: 15px; height: 15px; }
.wwc-camper-detail span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wwc-row-actions { display: flex; align-items: flex-end; align-self: end; gap: 7px; flex-wrap: wrap; }
.wwc-row-button { min-height: 39px; flex: 1 1 auto; padding: 0 12px; font-size: 11px; }
.wwc-camper > .wwc-row-button { align-self: end; height: 39px; }
.wwc-row-button.wwc-secondary { color: var(--wwc-pine-900); background: var(--wwc-white); }
.wwc-row-button .wwc-icon { width: 16px; height: 16px; }
.wwc-empty, .wwc-fatal, .wwc-loading { display: grid; place-items: center; align-content: center; grid-column: 1 / -1; min-height: 360px; border: 1px dashed var(--wwc-line); border-radius: 13px; padding: 35px; text-align: center; background: rgba(255, 253, 247, .82); }
.wwc-empty-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: var(--wwc-teal); background: var(--wwc-teal-soft); }
.wwc-empty h2 { margin: 16px 0 0; color: var(--wwc-pine-900); font: 700 24px Georgia, serif; }
.wwc-empty p, .wwc-fatal p, .wwc-loading p { color: var(--wwc-muted); }
.wwc-policy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-top: 18px; border: 1px solid var(--wwc-line); border-radius: 13px; background: var(--wwc-line); }
.wwc-policy span { display: grid; gap: 3px; padding: 13px 16px; color: var(--wwc-muted); background: rgba(255, 253, 247, .8); font-size: 10px; }
.wwc-policy strong { color: var(--wwc-pine-900); font-size: 11px; }

.wwc-modal-backdrop { position: fixed; z-index: 99999; inset: 0; display: grid; place-items: center; overflow: auto; padding: 20px; background: rgba(5, 28, 30, .78); backdrop-filter: blur(5px); }
.wwc-modal { position: relative; width: min(760px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid rgba(255, 255, 255, .28); border-radius: 20px; padding: clamp(25px, 4vw, 42px); background: var(--wwc-paper); box-shadow: 0 30px 100px rgba(0, 0, 0, .38); }
.wwc-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--wwc-pine-900); background: #ece7d8; font-size: 26px; line-height: 1; cursor: pointer; }
.wwc-modal form { display: grid; gap: 17px; margin-top: 24px; }
.wwc-modal label, .wwc-scanner label { display: grid; gap: 6px; color: var(--wwc-pine-900); font-size: 11px; font-weight: 850; }
.wwc-modal textarea { min-height: 90px; resize: vertical; }
.wwc-modal fieldset { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; border: 1px solid var(--wwc-line); border-radius: 11px; padding: 14px 16px; }
.wwc-modal legend { float: left; width: auto; padding: 0; color: var(--wwc-pine-900); font-weight: 850; }
.wwc-modal fieldset label { display: flex; align-items: center; gap: 6px; }
.wwc-modal fieldset input { width: auto; min-height: auto; }
.wwc-grid, .wwc-camera-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wwc-camera { display: grid; gap: 9px; border: 1px solid var(--wwc-line); border-radius: 13px; padding: 14px; background: var(--wwc-white); }
.wwc-camera h3 { margin: 0; color: var(--wwc-pine-900); font: 800 18px "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
.wwc-camera video, .wwc-camera img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; background: var(--wwc-pine-900); }
.wwc-checkin-camera .wwc-camera video, .wwc-checkin-camera .wwc-camera img { aspect-ratio: 16 / 9; }
.wwc-camera small { color: var(--wwc-muted); font-size: 10px; }
.wwc-confirm { border-left: 4px solid var(--wwc-gold); padding: 12px 14px; color: var(--wwc-pine-900); background: var(--wwc-gold-soft); }
.wwc-location-override { display: grid; gap: 8px; border: 1px solid #b7d4cc; border-radius: 16px; padding: 15px; background: #f1f9f6; }
.wwc-location-override small { color: var(--wwc-muted); font-size: 11px; line-height: 1.45; }
.wwc-location-warning { margin: 2px 0 0; border-left: 4px solid var(--wwc-gold); border-radius: 8px; padding: 10px 12px; color: #654709; background: var(--wwc-gold-soft); font-size: 12px; font-weight: 800; }
.wwc-dropin-confirm { display: grid; gap: 4px; margin-top: 18px; border: 1px solid #d8bd58; border-radius: 14px; padding: 14px 16px; color: #654709; background: var(--wwc-gold-soft); }
.wwc-dropin-confirm strong { color: var(--wwc-pine-900); font-size: 13px; }
.wwc-dropin-confirm span { font-size: 12px; }
.wwc-dropin-search { margin-top: 22px; }
.wwc-dropin-help { margin-top: 12px; border-left: 4px solid var(--wwc-gold); border-radius: 8px; padding: 10px 12px; color: var(--wwc-muted); background: #f8f5e9; font-size: 11px; }
.wwc-dropin-results { display: grid; gap: 9px; margin-top: 16px; }
.wwc-dropin-result { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--wwc-line); border-radius: 14px; padding: 12px; background: var(--wwc-white); }
.wwc-dropin-result h2 { margin: 0; color: var(--wwc-pine-900); font: 800 17px/1.15 "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; }
.wwc-dropin-result p { margin: 3px 0 0; color: var(--wwc-muted); font-size: 11px; }
.wwc-dropin-result small { display: block; margin-top: 3px; color: #7c725e; font-size: 9px; font-weight: 800; }
.wwc-dropin-result .wwc-row-button { min-width: 160px; }
.wwc-dropin-empty { min-height: 180px; }

.wwc-scanner { display: grid; gap: 13px; margin-top: 24px; }
.wwc-scan-stage { position: relative; display: grid; place-items: center; overflow: hidden; min-height: min(46vh, 380px); border-radius: 15px; background: linear-gradient(145deg, #0c3437, #1b5b5e); }
.wwc-scanner video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wwc-scan-placeholder { display: grid; place-items: center; gap: 8px; max-width: 270px; padding: 25px; color: var(--wwc-white); text-align: center; }
.wwc-scan-placeholder .wwc-icon { width: 48px; height: 48px; color: var(--wwc-gold); }
.wwc-scan-placeholder strong { font: 700 23px Georgia, serif; }
.wwc-scan-placeholder small { color: rgba(255, 255, 255, .63); }
.wwc-scan-frame { position: absolute; inset: 13% 22%; border: 2px solid var(--wwc-gold); border-radius: 12px; pointer-events: none; box-shadow: 0 0 0 999px rgba(3, 22, 23, .2); }
.wwc-camera-launch { width: 100%; }
.wwc-scan-divider { display: flex; align-items: center; gap: 12px; color: var(--wwc-muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.wwc-scan-divider::before, .wwc-scan-divider::after { height: 1px; flex: 1; background: var(--wwc-line); content: ""; }
.wwc-upload-button { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 45px; border: 1px dashed #94aaa4; border-radius: 10px; color: var(--wwc-teal) !important; background: var(--wwc-white); cursor: pointer; }
.wwc-upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.wwc-public-shell { min-height: 100vh; min-height: 100dvh; background: radial-gradient(circle at 78% 4%, rgba(241, 209, 111, .26), transparent 27rem), linear-gradient(145deg, rgba(47, 145, 136, .07), transparent 45%), var(--wwc-cream); }
.wwc-public-shell > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 86px; padding: 14px clamp(18px, 4vw, 52px); color: var(--wwc-white); background: #030706; box-shadow: 0 7px 28px rgba(3, 7, 6, .2); }
.wwc-public-shell > header .wwc-brand { display: block; }
.wwc-public-shell > header .wwc-brand img { width: min(210px, 52vw); }
.wwc-public-shell > header .wwc-brand > span { display: none; }
.wwc-public-security { display: flex; align-items: center; gap: 8px; color: #cde6df; font-size: 12px; font-weight: 800; }
.wwc-public-security .wwc-icon { color: var(--wwc-gold); }
.wwc-public-shell > main { display: grid; place-items: center; padding: clamp(24px, 5vw, 60px) 16px; }
.wwc-public-card { width: min(780px, 100%); border: 1px solid var(--wwc-line); border-radius: 24px; padding: clamp(24px, 5vw, 48px); background: var(--wwc-paper); box-shadow: var(--wwc-shadow); }
.wwc-public-card > h1 { margin: .12em 0; color: var(--wwc-pine-900); font: 800 clamp(34px, 7vw, 52px)/1.04 "Arial Rounded MT Bold", "Trebuchet MS", sans-serif; letter-spacing: -.035em; }
.wwc-public-card > p { color: var(--wwc-muted); }
.wwc-public-location { margin: 5px 0 28px; font-weight: 800; }
.wwc-auth-panel { display: flex; gap: 14px; margin: 25px 0 18px; border: 1px solid #b7d4cc; border-radius: 16px; padding: 17px; background: #f1f9f6; }
.wwc-auth-panel > .wwc-icon { width: 28px; height: 28px; color: var(--wwc-green); }
.wwc-auth-panel h2 { margin: 0 0 5px; color: var(--wwc-pine-900); font-size: 18px; }
.wwc-auth-panel p { margin: 0; color: var(--wwc-muted); font-size: 13px; }
.wwc-passkey-button { width: 100%; min-height: 58px; color: var(--wwc-white); background: var(--wwc-green); font-size: 15px; box-shadow: 0 10px 24px rgba(47, 133, 87, .23); }
.wwc-passkey-button:hover { color: var(--wwc-white); background: var(--wwc-green-dark); }
.wwc-pin-fallback { margin-top: 18px; border-top: 1px solid var(--wwc-line); padding-top: 16px; }
.wwc-pin-fallback summary { color: var(--wwc-muted); font-size: 12px; font-weight: 850; cursor: pointer; }
.wwc-pin-fallback form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 14px; }
.wwc-pin-fallback label, .wwc-public-card form > label { display: grid; gap: 6px; color: var(--wwc-pine-900); font-size: 11px; font-weight: 850; }
.wwc-pin-fallback input { width: 100%; min-height: 46px; border: 1px solid #c8c4b6; border-radius: 14px; padding: 10px 12px; color: var(--wwc-ink); background: var(--wwc-white); }
.wwc-pin-fallback > small { display: block; margin-top: 8px; color: var(--wwc-muted); }
.wwc-authorized-by { display: flex; align-items: center; gap: 7px; border-radius: 12px; padding: 12px 14px; color: var(--wwc-green-dark) !important; background: var(--wwc-green-soft); }
.wwc-authorized-by .wwc-icon { width: 18px; }
#wwc-public-checkout { display: grid; gap: 18px; margin-top: 24px; }
.wwc-final-confirm { display: flex !important; align-items: flex-start; grid-template-columns: auto 1fr; gap: 10px !important; border: 1px solid var(--wwc-line); border-radius: 12px; padding: 14px; background: #f8f6ef; font-size: 13px !important; }
.wwc-final-confirm input { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 1px; }
.wwc-inline-warning { border-left: 4px solid var(--wwc-gold); border-radius: 8px; padding: 10px 12px; color: #654709 !important; background: var(--wwc-gold-soft); font-size: 12px; font-weight: 800; }
.wwc-public-message { display: grid; justify-items: center; text-align: center; }
.wwc-public-message > .wwc-icon { width: 58px; height: 58px; border-radius: 50%; padding: 14px; color: var(--wwc-white); background: var(--wwc-green); }
.wwc-public-message .wwc-mark { margin-bottom: 14px; }
.wwc-public-success > h1 { max-width: 620px; }
.wwc-public-shell > footer { padding: 0 18px 28px; color: var(--wwc-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
.wwc-public-shell #wwc-toast { left: 50%; bottom: 22px; }

#wwc-toast { position: fixed; z-index: 100000; left: calc(50% + 136px); bottom: 24px; width: max-content; max-width: min(680px, calc(100% - 40px)); transform: translate(-50%, 30px); border-radius: 12px; padding: 15px 18px; color: var(--wwc-white); background: var(--wwc-pine-900); box-shadow: 0 16px 45px rgba(0, 0, 0, .3); font-size: 13px; font-weight: 650; opacity: 0; pointer-events: none; transition: .2s ease; }
.wwc-embedded-shell #wwc-toast { left: 50%; }
#wwc-toast.show { transform: translate(-50%, 0); opacity: 1; }
#wwc-toast.error { background: #91372f; }

.wwc-login { display: grid; place-items: center; min-height: 100vh; min-height: 100dvh; padding: 28px; background: radial-gradient(circle at 72% 8%, rgba(243, 197, 62, .2), transparent 27rem), linear-gradient(145deg, var(--wwc-pine-900), var(--wwc-pine-950)); }
.wwc-login-card { width: min(480px, 100%); border: 1px solid rgba(255, 255, 255, .18); border-radius: 22px; padding: clamp(30px, 6vw, 48px); background: var(--wwc-paper); box-shadow: 0 32px 100px rgba(0, 0, 0, .32); }
.wwc-login-card .wwc-brand { margin-bottom: 34px; color: var(--wwc-pine-900); }
.wwc-login-card .wwc-brand img { width: min(250px, 100%); }
.wwc-login-card .wwc-brand > span { color: var(--wwc-muted); }
.wwc-login-card h1 { font-size: clamp(32px, 7vw, 44px); }
.wwc-login-card p { margin: 13px 0 25px; color: var(--wwc-muted); }
.wwc-login-card .wwc-button { min-height: 50px; width: 100%; }
.wwc-login-fallback { display: block; margin-top: 18px; color: var(--wwc-muted); font-size: 12px; font-weight: 800; text-align: center; }

@media (max-width: 1200px) {
  .wwc-shell { grid-template-columns: 232px minmax(0, 1fr); }
  .wwc-sidebar { padding-inline: 17px; }
  .wwc-workspace { padding: 34px 28px 48px; }
  .wwc-controls { grid-template-columns: 1fr auto; }
  .wwc-filters { grid-column: 1 / -1; grid-row: 2; }
  #wwc-toast { left: calc(50% + 116px); }
}

@media (max-width: 860px) {
  .wwc-shell { display: block; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .wwc-sidebar { display: none; }
  .wwc-mobile-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 10px 18px; color: var(--wwc-white); background: #030706; box-shadow: 0 5px 20px rgba(3, 7, 6, .2); }
  .wwc-mobile-topbar .wwc-brand { display: block; }
  .wwc-mobile-topbar .wwc-brand img { width: 148px; }
  .wwc-mobile-topbar .wwc-brand > span { display: none; }
  .wwc-mobile-topbar > a, .wwc-mobile-topbar > button { display: grid; place-items: center; width: 43px; height: 43px; border: 0; border-radius: 50%; padding: 0; color: var(--wwc-gold); background: rgba(255, 255, 255, .08); }
  .wwc-workspace { padding: 25px 18px 36px; }
  .wwc-heading { align-items: stretch; }
  .wwc-heading-actions { flex-wrap: wrap; }
  .wwc-header-location, .wwc-header-week { min-width: min(100%, 230px); }
  .wwc-heading-actions .wwc-scan-button { display: none; }
  .wwc-stats { grid-template-columns: 1fr 1fr; }
  .wwc-stats article:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .wwc-mobile-actions { position: fixed; z-index: 1000; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; min-height: 68px; padding: 8px 14px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .12); background: var(--wwc-pine-950); box-shadow: 0 -8px 30px rgba(8, 47, 50, .2); }
  .wwc-mobile-actions.has-dropin { grid-template-columns: .8fr 1fr 1.2fr; }
  .wwc-mobile-actions button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 11px; color: var(--wwc-white); background: rgba(255, 255, 255, .08); font-size: 12px; font-weight: 850; }
  .wwc-mobile-actions button.is-primary { border-color: var(--wwc-gold); color: var(--wwc-pine-950); background: var(--wwc-gold); }
  #wwc-toast { left: 50%; bottom: calc(82px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .wwc-workspace { padding-inline: 12px; }
  .wwc-heading { display: block; }
  .wwc-heading-actions { margin-top: 15px; }
  .wwc-header-location, .wwc-header-week { width: 100%; min-width: 0; }
  .wwc-heading-actions .wwc-icon-button { width: 100%; }
  .wwc-heading h1 { font-size: 38px; }
  .wwc-stats { gap: 8px; margin-top: 21px; }
  .wwc-stats article { min-height: 91px; padding: 16px; }
  .wwc-stats span { font-size: 29px; }
  .wwc-controls { grid-template-columns: 1fr; gap: 11px; padding: 12px; }
  .wwc-filters { grid-column: 1; grid-row: auto; margin-inline: -2px; }
  .wwc-result-count { display: none; }
  .wwc-roster { grid-template-columns: 1fr; padding: 9px; }
  .wwc-camper { min-height: 0; }
  .wwc-camper-head { grid-template-columns: auto minmax(0, 1fr); }
  .wwc-status { grid-column: 2; justify-self: start; }
  .wwc-policy { grid-template-columns: 1fr 1fr; }
  .wwc-week-notice { grid-template-columns: auto 1fr; }
  .wwc-week-notice .wwc-secondary { grid-column: 1 / -1; width: 100%; }
  .wwc-stats.wwc-stats-readonly { grid-template-columns: 1fr 1fr; }
  .wwc-stats.wwc-stats-readonly article:last-child { grid-column: 1 / -1; }
  .wwc-grid, .wwc-camera-grid { grid-template-columns: 1fr; }
  .wwc-modal-backdrop { align-items: end; padding: 0; }
  .wwc-modal { width: 100%; max-height: calc(100dvh - 12px); border-radius: 20px 20px 0 0; padding: 30px 18px calc(25px + env(safe-area-inset-bottom)); }
  .wwc-modal h1 { padding-right: 30px; font-size: 34px; }
  .wwc-modal fieldset { grid-template-columns: 1fr 1fr; }
  .wwc-modal legend { grid-column: 1 / -1; margin-bottom: 7px; }
  .wwc-row-actions { flex-direction: column; align-items: stretch; }
  .wwc-row-button { width: 100%; }
  .wwc-dropin-result { grid-template-columns: auto minmax(0, 1fr); }
  .wwc-dropin-result .wwc-row-button { grid-column: 1 / -1; width: 100%; }
  .wwc-scan-stage { min-height: 42vh; }
  .wwc-scan-frame { inset: 16% 12%; }
  .wwc-public-security { display: none; }
  .wwc-public-shell > header { min-height: 72px; }
  .wwc-public-shell > main { align-items: start; padding: 18px 10px; }
  .wwc-public-card { border-radius: 18px; padding: 24px 16px; }
  .wwc-public-card > h1 { font-size: 35px; }
  .wwc-pin-fallback form { grid-template-columns: 1fr; }
  .wwc-pin-fallback form .wwc-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .wwc-button, .wwc-secondary, .wwc-row-button, .wwc-icon-button, #wwc-toast { transition: none; }
}

/* Counselor phone handoff */
.wwc-phone-button { min-height: 50px; border-color: #8db9b1; color: var(--wwc-pine-900); background: #eef8f5; }
.wwc-phone-button:hover { background: #e0f1ed; }
.wwc-phone-handoff { display: grid; grid-template-columns: minmax(240px, 360px) minmax(0, 1fr); gap: 26px; align-items: center; margin-top: 26px; border: 1px solid var(--wwc-line); border-radius: 20px; padding: 20px; background: var(--wwc-white); }
.wwc-handoff-qr { display: block; width: 100%; max-width: 360px; aspect-ratio: 1; border: 10px solid var(--wwc-paper); border-radius: 18px; background: var(--wwc-paper); }
.wwc-handoff-copy { display: grid; gap: 10px; align-content: center; }
.wwc-handoff-copy strong { color: var(--wwc-pine-900); font-size: 20px; }
.wwc-handoff-copy span { color: var(--wwc-teal); font-size: 16px; font-weight: 850; }
.wwc-handoff-copy small, .wwc-phone-scope { color: var(--wwc-muted); font-size: 12px; line-height: 1.55; }
.wwc-handoff-copy .wwc-secondary { justify-self: start; margin-top: 8px; }
.wwc-phone-auth-card { max-width: 720px; }
.wwc-staff-phone-shell .wwc-public-security { color: #cde6df; }

@media (max-width: 720px) {
  .wwc-phone-handoff { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .wwc-handoff-copy { justify-items: center; }
  .wwc-handoff-copy .wwc-secondary { justify-self: center; }
  .wwc-mobile-topbar > button { display: grid; place-items: center; width: 43px; height: 43px; border: 0; border-radius: 50%; padding: 0; color: var(--wwc-gold); background: rgba(255, 255, 255, .08); }
}
