:root {
  color-scheme: light;
  --forest: #1d8a3d;
  --forest-deep: #146b2e;
  --leaf: #e6f4ea;
  --mint: #f4f6f5;
  --coral: #27ae4e;
  --coral-soft: #e6f4ea;
  --ink: #1a1a1a;
  --muted: #5b6360;
  --line: #e3e8e5;
  --paper: #f4f6f5;
  --white: #fff;
  --black: #0b0b0b;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-display: "Sora", "Segoe UI", sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid #27ae4e70; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-display); letter-spacing: 0; }
.wordmark-light { color: white; }
.brand-logo { flex: none; width: 42px; height: 42px; padding: 2px; border-radius: 50%; background: white; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { color: var(--black); font: 700 16px/1.15 var(--font-display); white-space: nowrap; }
.brand-copy strong em { color: var(--forest); font-style: normal; }
.brand-copy small { color: var(--muted); font: 600 8px/1.2 var(--font-display); letter-spacing: 1.45px; }
.wordmark-light .brand-copy strong { color: white; }
.wordmark-light .brand-copy strong em { color: #62d17e; }
.wordmark-light .brand-copy small { color: #c5d2c9; }
.eyebrow { margin: 0; color: var(--coral); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 44px; padding: 0 17px; border: 1px solid transparent; border-radius: 999px; font-family: var(--font-display); font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--forest); color: white; }
.button-primary:hover { background: var(--forest-deep); }
.button-outline { background: transparent; border-color: var(--forest); color: var(--forest); }
.button-outline:hover { border-color: var(--forest); background: white; }
.button-dark { background: var(--forest-deep); color: white; }
.button-dark:hover { background: #222; }
.button-wide { width: 100%; min-height: 50px; }
.button-small { min-height: 38px; padding: 0 14px; }
.button-small > span { margin-left: -6px; }
.text-button { padding: 6px 0; border: 0; background: transparent; color: var(--forest); font-size: 12px; font-weight: 700; cursor: pointer; }
.text-button span { margin-left: 8px; }

/* Account access */
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .92fr) 1.08fr; background: white; }
.auth-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; overflow: hidden; padding: 39px clamp(32px, 5vw, 76px) 31px; color: white; background: var(--black); }
.auth-story::before { position: absolute; content: ""; width: 430px; height: 430px; right: -140px; bottom: 10%; border: 1px solid #27ae4e35; border-radius: 50%; box-shadow: 0 0 0 38px #27ae4e0b, 0 0 0 78px #27ae4e08; }
.auth-story::after { position: absolute; content: ""; width: 250px; height: 250px; right: -32px; bottom: 17%; border: 1px solid #ffffff1c; border-radius: 50%; }
.story-content { position: relative; z-index: 1; max-width: 480px; margin: 0 0 10vh; animation: enter-up .6s ease both; }
.story-content .eyebrow { color: #9fe7b4; }
.story-content h1 { margin: 22px 0 19px; font: 700 clamp(42px, 5.3vw, 68px)/1.06 var(--font-display); letter-spacing: 0; }
.story-copy { max-width: 365px; margin: 0; color: #d7e3da; font-size: 15px; line-height: 1.8; }
.story-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; color: #b9c4bd; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.story-foot i { width: 3px; height: 3px; border-radius: 50%; background: var(--coral); }
.auth-panel { position: relative; display: grid; place-items: center; min-height: 100vh; padding: 50px 30px 65px; background: radial-gradient(ellipse at 100% 0%, var(--mint) 0, #fff 42%); }
.auth-box { width: min(100%, 390px); animation: enter-up .6s .08s ease both; }
.auth-heading h2 { margin: 13px 0 8px; font: 700 31px var(--font-display); letter-spacing: 0; }
.auth-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 29px 0 21px; border-bottom: 1px solid var(--line); }
.auth-tab { position: relative; height: 43px; border: 0; background: transparent; color: #5b6360; font-size: 12px; font-weight: 700; cursor: pointer; }
.auth-tab.active { color: var(--forest); }
.auth-tab.active::after { position: absolute; right: 20%; bottom: -1px; left: 20%; height: 2px; background: var(--coral); content: ""; }
.form-stack { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 45px; padding: 0 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--mint); color: var(--ink); font-size: 13px; font-weight: 400; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 83px; padding-top: 12px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #737d78; }
.field input:focus, .field textarea:focus { border-color: var(--forest); outline: none; background: white; box-shadow: 0 0 0 4px #1d8a3d1f; }
.form-error { min-height: 0; margin: 0; color: #a63e2b; font-size: 12px; line-height: 1.5; }
.form-error:not(:empty) { min-height: 18px; }
.auth-privacy { margin: 21px 0 0; color: #8c948d; font-size: 11px; text-align: center; }
.auth-copyright { position: absolute; right: 30px; bottom: 28px; color: #939c94; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.auth-mobile-brand { display: none; }

/* Admin workspace */
.dashboard-layout { min-height: 100vh; }
.sidebar { position: fixed; z-index: 3; inset: 0 auto 0 0; display: flex; flex-direction: column; width: 238px; padding: 28px 19px 18px; border-right: 1px solid var(--line); background: white; }
.sidebar > .wordmark { margin: 0 0 43px 7px; }
.workspace-label { padding: 0 10px; color: #929a93; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.sidebar-event { display: flex; align-items: center; gap: 9px; min-height: 42px; margin: 9px 0 23px; padding: 0 10px; overflow: hidden; color: var(--forest); font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.event-dot, .live-indicator i, .checkin-label i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px #27ae4e20; }
.side-nav { display: grid; gap: 5px; }
.nav-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 43px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; font-size: 12px; font-weight: 600; cursor: pointer; }
.nav-link:hover { background: var(--leaf); color: var(--forest); }
.nav-link.active { background: var(--forest); color: white; }
.nav-glyph { display: grid; place-items: center; width: 20px; font-size: 16px; }
.sidebar-bottom { display: grid; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.admin-profile { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 2px; }
.avatar { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--coral-soft); color: #9c4931; font: 700 13px var(--font-display); }
.profile-copy { display: grid; min-width: 0; gap: 3px; }
.profile-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy small { overflow: hidden; color: #879087; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.signout-button { display: flex; justify-content: space-between; padding: 7px 2px; border: 0; background: transparent; color: #747e76; font-size: 11px; cursor: pointer; }
.signout-button:hover { color: var(--coral); }
.dashboard-main { min-height: 100vh; margin-left: 238px; }
.topbar { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 0 39px; border-bottom: 1px solid var(--line); background: #fffffff0; backdrop-filter: blur(12px); }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #828b84; font-size: 11px; }
.breadcrumb strong { max-width: 260px; overflow: hidden; color: var(--ink); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.crumb-slash { color: #c5cbc5; }
.topbar-actions { display: flex; align-items: center; gap: 20px; }
.live-indicator { display: inline-flex; align-items: center; gap: 8px; color: #626e65; font-size: 10px; font-weight: 600; }
.live-indicator i { width: 6px; height: 6px; }
.dashboard-content { max-width: 1240px; margin: 0 auto; padding: 45px 39px 60px; }
.view-panel { display: none; animation: enter-up .32s ease both; }
.view-panel.active { display: block; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 27px; }
.page-heading h1 { margin: 9px 0 7px; color: var(--forest-deep); font: 700 30px/1.25 var(--font-display); letter-spacing: 0; }
.page-heading h1 span { color: var(--coral); }
.page-subtitle { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.page-heading > .button { margin-bottom: 2px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.metric-card { position: relative; min-height: 147px; padding: 19px 20px 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.metric-card::after { position: absolute; right: -22px; bottom: -53px; width: 124px; height: 124px; border: 1px solid #1d8a3d18; border-radius: 50%; box-shadow: 0 0 0 15px #1d8a3d08, 0 0 0 31px #1d8a3d05; content: ""; }
.metric-arrived { background: var(--leaf); }
.metric-rate { background: var(--mint); }
.metric-top { display: flex; justify-content: space-between; align-items: center; color: #5e6961; font-size: 11px; font-weight: 600; }
.metric-symbol { color: #aab2aa; font: 600 10px var(--font-display); }
.metric-card > strong { display: block; margin-top: 12px; color: var(--forest); font: 700 34px/1.1 var(--font-display); }
.metric-card > small { display: block; margin-top: 6px; color: #879087; font-size: 10px; }
.metric-rate > strong { color: var(--forest); }
.metric-percent { font-size: 18px; }
.content-section { margin-top: 34px; border: 1px solid #e6e9e3; border-radius: 4px; background: white; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 19px 21px 16px; }
.section-heading h2 { margin: 4px 0 0; color: var(--forest-deep); font: 700 17px var(--font-display); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead { background: #f8f9f6; }
th { padding: 11px 16px; color: #929a93; font-size: 9px; font-weight: 700; letter-spacing: .6px; }
td { padding: 13px 16px; border-top: 1px solid #edf0eb; color: #5d6961; font-size: 11px; }
td:first-child { color: var(--ink); font-weight: 700; }
.guest-primary { display: grid; gap: 4px; }
.guest-primary span { color: #8c958e; font-size: 10px; font-weight: 400; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 20px; background: var(--leaf); color: var(--forest-deep); font-size: 9px; font-weight: 700; }
.status-pill::before { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); content: ""; }
.status-pending { background: var(--mint); color: var(--muted); }
.status-pending::before { background: #929a93; }
.empty-state { padding: 26px 18px; color: #89928b; font-size: 11px; text-align: center; }
.event-strip { display: flex; align-items: center; gap: 18px; margin-top: 21px; padding: 19px 22px; border-radius: 14px; background: var(--black); color: white; }
.strip-mark { display: block; flex: none; width: 43px; height: 43px; border-radius: 50%; background: white; }
.event-strip > div { flex: 1; }
.event-strip .eyebrow { color: #9fe7b4; }
.event-strip h3 { margin: 3px 0; font: 700 16px var(--font-display); }
.event-strip p:last-child { margin: 0; color: #b9c4bd; font-size: 10px; line-height: 1.5; }
.event-strip .button { flex: none; font-size: 11px; }
.list-heading { margin-bottom: 23px; }
.guest-list-section { margin-top: 0; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 17px; border-bottom: 1px solid #edf0eb; }
.search-field { display: flex; align-items: center; gap: 9px; width: min(100%, 330px); height: 37px; padding: 0 11px; border: 1px solid #e1e6df; border-radius: 3px; color: #758079; }
.search-field > span { font-size: 20px; line-height: 1; }
.search-field input { width: 100%; border: 0; outline: 0; color: var(--ink); font-size: 11px; }
.search-field input::placeholder { color: #a3aaa4; }
.filter-label select { height: 37px; min-width: 130px; padding: 0 27px 0 10px; border: 1px solid #e1e6df; border-radius: 3px; background: white; color: #5d6961; font-size: 11px; }
.row-actions { display: flex; justify-content: flex-end; gap: 7px; }
.small-action { padding: 5px 7px; border: 0; border-radius: 3px; background: transparent; color: #6f7971; font-size: 10px; font-weight: 700; cursor: pointer; }
.small-action:hover { background: #eef2ec; color: var(--forest); }
.small-action.danger:hover { background: #faeee9; color: #ae4a32; }

/* Printable entrance sign */
.qr-layout { display: grid; grid-template-columns: minmax(260px, 390px) 1fr; align-items: center; justify-content: center; gap: clamp(36px, 7vw, 90px); max-width: 890px; margin: 30px auto; }
.qr-print-sheet { width: 100%; padding: 25px 25px 19px; border: 1px solid var(--line); border-top: 5px solid var(--forest); border-radius: 14px; background: white; box-shadow: 0 14px 38px #0b0b0b12; text-align: center; }
.qr-sheet-brand { display: flex; align-items: center; gap: 7px; color: var(--ink); text-align: left; }
.qr-sheet-brand .brand-logo { width: 36px; height: 36px; }
.qr-sheet-brand .brand-copy strong { font-size: 13px; }
.qr-sheet-brand .brand-copy small { font-size: 7px; }
.qr-sheet-tag { margin-left: auto; color: #9aa39b; font: 700 8px var(--font-body); letter-spacing: .9px; }
.qr-print-sheet h2 { margin: 28px 0 8px; color: var(--forest); font: 700 24px var(--font-display); }
.qr-sheet-caption { margin: 0; color: #748078; font-size: 11px; line-height: 1.6; }
.qr-print-sheet img { display: block; width: min(100%, 245px); aspect-ratio: 1; margin: 15px auto 17px; object-fit: contain; }
.qr-sheet-foot { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .9px; }
.qr-details { max-width: 390px; }
.qr-details h2 { margin: 10px 0 13px; color: var(--forest); font: 700 31px/1.25 var(--font-display); }
.qr-details > p:not(.eyebrow):not(.qr-note) { color: #6b766e; font-size: 12px; line-height: 1.8; }
.qr-url { display: block; max-width: 100%; margin: 19px 0 16px; overflow: hidden; color: #507765; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.qr-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.qr-actions .button { font-size: 11px; }
.qr-note { margin-top: 17px; color: #8b938c; font-size: 10px; line-height: 1.6; }
.qr-note code { color: #58675d; }

/* Attendee check-in */
.checkin-page { min-height: 100vh; background: radial-gradient(ellipse at 50% 38%, #fff 0, var(--mint) 74%); }
.checkin-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: #fffffff0; }
.checkin-label { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .9px; }
.checkin-label i { width: 6px; height: 6px; }
.checkin-main { width: min(100% - 36px, 430px); min-height: calc(100vh - 137px); margin: 0 auto; padding: 13vh 0 55px; }
.checkin-intro { margin-bottom: 31px; animation: enter-up .5s ease both; }
.checkin-intro h1 { margin: 10px 0 8px; color: var(--forest); font: 700 39px/1.2 var(--font-display); letter-spacing: 0; }
.checkin-subtitle { margin: 0; color: #758078; font-size: 13px; line-height: 1.7; }
.find-form { display: grid; gap: 12px; animation: enter-up .5s .08s ease both; }
.find-form .field { font-size: 12px; }
.find-form .field input { min-height: 51px; font-size: 14px; }
.find-form .button { margin-top: 1px; }
.find-success { margin: 0; color: var(--forest-deep); font-size: 11px; font-weight: 600; line-height: 1.6; }
.register-prompt { display: grid; gap: 12px; margin-top: 17px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; animation: enter-up .25s ease both; }
.register-prompt p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.register-prompt .button { justify-self: start; }
.public-register-panel { margin-top: 22px; padding: 21px; border: 1px solid var(--line); border-top: 4px solid var(--forest); border-radius: 14px; background: white; animation: enter-up .3s ease both; }
.public-register-heading h2 { margin: 8px 0 5px; color: var(--black); font: 700 20px/1.3 var(--font-display); }
.public-register-heading > p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.public-register-panel .form-stack { gap: 13px; margin-top: 18px; }
.public-register-panel .field { font-size: 11px; }
.public-register-actions { display: flex; justify-content: flex-end; gap: 9px; }
.register-success { margin: 17px 0 0; padding: 12px 14px; border-radius: 8px; background: var(--leaf); color: var(--forest-deep); font-size: 11px; line-height: 1.6; }
.checkin-help { margin-top: 35px; padding-top: 17px; border-top: 1px solid var(--line); }
.checkin-help span { color: var(--ink); font-size: 10px; font-weight: 700; }
.checkin-help p { margin: 5px 0 0; color: #89928b; font-size: 10px; line-height: 1.6; }
.checkin-footer { display: flex; justify-content: space-between; gap: 20px; min-height: 67px; padding: 18px clamp(20px, 5vw, 72px); color: #9ba29c; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.match-list { display: grid; gap: 11px; margin-top: 20px; }
.match-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; animation: enter-up .3s ease both; }
.match-card h2 { margin: 0 0 12px; color: var(--forest); font: 700 15px var(--font-display); }
.match-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin: 0 0 14px; }
.match-details div { min-width: 0; }
.match-details dt { margin-bottom: 3px; color: #929a93; font-size: 9px; }
.match-details dd { margin: 0; overflow-wrap: anywhere; color: #414b44; font-size: 11px; }
.match-card .button { min-height: 42px; }
.checked-banner { margin-bottom: 9px; color: var(--forest-deep); font-size: 10px; font-weight: 700; }

/* Dialogs and small screens */
.modal { width: min(100% - 28px, 590px); max-height: min(90vh, 800px); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 24px 60px #0b0b0b29; }
.modal::backdrop { background: #0b0b0bd1; backdrop-filter: blur(3px); }
.modal-form { padding: 25px 28px 23px; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.modal-heading h2 { margin: 5px 0 0; color: var(--forest); font: 700 22px var(--font-display); }
.icon-close { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--muted); font-size: 21px; line-height: 1; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; }
.field-span { grid-column: 1 / -1; }
.required-mark { color: var(--coral); }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 19px; }
.modal-compact { max-width: 430px; }
.modal-compact .modal-form > .field { margin-top: 7px; }
.toast { position: fixed; z-index: 10; top: 18px; right: 18px; max-width: min(390px, calc(100vw - 36px)); padding: 12px 16px; transform: translateY(-10px); border-radius: 8px; background: var(--forest); box-shadow: 0 8px 25px #0b0b0b30; color: white; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { background: #a82f2f; }
@keyframes enter-up { from { transform: translateY(9px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 1050px) {
  .sidebar { width: 205px; }
  .dashboard-main { margin-left: 205px; }
  .topbar { padding: 0 25px; }
  .dashboard-content { padding: 35px 25px 48px; }
  .metric-card { padding-right: 14px; padding-left: 15px; }
  .qr-layout { gap: 34px; }
}
@media (max-width: 760px) {
  .auth-layout { display: block; background: var(--paper); }
  .auth-story { display: none; }
  .auth-panel { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100vh; padding: 0 22px 70px; background: radial-gradient(ellipse at 100% 0%, var(--leaf) 0, var(--paper) 48%); }
  .auth-mobile-brand { display: block; align-self: flex-start; margin: 27px 0 50px; }
  .auth-box { width: min(100%, 430px); }
  .auth-copyright { right: 22px; bottom: 21px; left: 22px; text-align: center; }
  .sidebar { position: static; display: grid; grid-template-columns: auto 1fr; align-items: center; width: auto; height: auto; padding: 14px 17px 0; border-right: 0; border-bottom: 1px solid var(--line); background: white; }
  .sidebar > .wordmark { margin: 0 0 11px; }
  .sidebar > .wordmark .brand-logo { width: 34px; height: 34px; }
  .workspace-label, .sidebar-event, .sidebar-bottom { display: none; }
  .side-nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 4px; overflow-x: auto; }
  .nav-link { justify-content: center; gap: 7px; width: auto; min-width: max-content; min-height: 40px; padding: 0 11px; border-radius: 3px 3px 0 0; font-size: 10px; }
  .nav-glyph { width: auto; font-size: 13px; }
  .dashboard-main { margin-left: 0; }
  .topbar { min-height: 55px; padding: 0 17px; }
  .breadcrumb { gap: 7px; font-size: 10px; }
  .breadcrumb strong { max-width: 140px; }
  .topbar-actions { gap: 12px; }
  .live-indicator { font-size: 0; }
  .live-indicator i { width: 7px; height: 7px; }
  .button-small { min-height: 35px; padding: 0 10px; font-size: 11px; }
  .dashboard-content { padding: 28px 17px 38px; }
  .page-heading { align-items: flex-start; gap: 14px; margin-bottom: 21px; }
  .page-heading h1 { font-size: 26px; }
  .page-heading > .button { align-self: flex-end; min-height: 37px; padding: 0 10px; font-size: 10px; white-space: nowrap; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card { min-height: 122px; padding: 14px; }
  .metric-card:last-child { grid-column: 1 / -1; min-height: 110px; }
  .metric-card > strong { margin-top: 9px; font-size: 29px; }
  .metric-top { font-size: 10px; }
  .metric-card > small { font-size: 9px; }
  .content-section { margin-top: 25px; }
  .section-heading { padding: 16px; }
  .section-heading h2 { font-size: 15px; }
  th, td { padding: 12px 13px; }
  .event-strip { align-items: flex-start; gap: 12px; padding: 16px 13px; }
  .strip-mark { width: 34px; height: 34px; font-size: 18px; }
  .event-strip h3 { font-size: 14px; }
  .event-strip p:last-child { max-width: 260px; font-size: 9px; }
  .event-strip .button { align-self: center; gap: 6px; padding: 0 9px; font-size: 9px; }
  .list-toolbar { padding: 11px; }
  .search-field { gap: 5px; }
  .filter-label select { min-width: 98px; padding-left: 7px; font-size: 10px; }
  .qr-layout { grid-template-columns: minmax(0, 1fr); gap: 27px; max-width: 390px; margin-top: 10px; }
  .qr-print-sheet { max-width: 350px; margin: auto; }
  .qr-details h2 { font-size: 27px; }
  .qr-details h2 br { display: none; }
  .checkin-topbar { min-height: 60px; padding: 0 19px; }
  .checkin-main { min-height: calc(100vh - 127px); padding-top: 10vh; }
  .checkin-intro h1 { font-size: 34px; }
  .checkin-footer { min-height: 67px; padding-right: 19px; padding-left: 19px; font-size: 7px; }
}
@media (max-width: 420px) {
  .breadcrumb > span:first-child, .crumb-slash { display: none; }
  .page-heading { flex-wrap: wrap; }
  .page-heading > .button { margin-left: auto; }
  .event-strip { flex-wrap: wrap; }
  .event-strip > div { min-width: calc(100% - 48px); }
  .event-strip .button { margin-left: 46px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-span { grid-column: auto; }
  .modal-form { padding: 21px 19px; }
  .match-details { grid-template-columns: 1fr; }
}
@media print {
  body { background: white; }
  body * { visibility: hidden !important; }
  #view-qr, #view-qr * { visibility: visible !important; }
  #view-qr { position: absolute; inset: 0; display: block !important; padding: 0; }
  #view-qr > :not(.qr-layout) { display: none !important; }
  .qr-layout { display: block; width: 100%; margin: 0; }
  .qr-print-sheet { width: 100%; max-width: 520px; margin: 15mm auto; padding: 14mm; border: 1px solid var(--line); box-shadow: none; }
  .qr-print-sheet img { width: 75mm; }
  .qr-details { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}