:root {
  color-scheme: light;
  --navy: #102541;
  --ink: #142640;
  --muted: #53647b;
  --subtle: #627389;
  --paper: #fff;
  --canvas: #f1f4f9;
  --line: #dce4ef;
  --blue: #1e5f96;
  --red: #bc1732;
  --red-dark: #9f1229;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
h1, h2, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
a { color: inherit; }
svg { width: 1.15em; height: 1.15em; flex: none; vertical-align: middle; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .62; cursor: wait; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2679bf; outline-offset: 3px; }
::selection { background: #d9eafb; color: #102541; }

.site { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.shell { width: min(100% - 64px, 1224px); margin-inline: auto; }
.loading { padding-block: 42px; color: var(--muted); }
.site-header { background: var(--paper); border-bottom: 1px solid #e2e8f0; }
.header-inner { min-height: 79px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.brand img { width: 72px; height: auto; }
.brand-text { border-left: 1px solid var(--line); padding-left: 15px; font-size: .67rem; font-weight: 800; line-height: 1.35; letter-spacing: .095em; }
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--subtle);
  font-size: .78rem;
  padding-block: 20px max(20px, env(safe-area-inset-bottom));
  margin-top: auto;
}
.site-footer span:first-child { font-weight: 650; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .67em;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: .91rem;
  font-weight: 680;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.button-nav { min-height: 40px; background: #f6f8fb; color: #324c68; border-color: #e0e7ef; padding-inline: 12px; font-size: .8rem; }
.button-nav:hover, .button-secondary:hover, .icon-button:hover { background: #eaf1f8; border-color: #c8d8e8; }
.button-primary { background: var(--red); color: #fff; min-height: 49px; box-shadow: 0 3px 7px #aa173323; }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { background: #fff; color: #294761; border-color: var(--line); }
.button-danger { background: #fff; border-color: #f0c9ce; color: #a5192d; }
.button-danger:hover { background: #fff0f2; }
.full { width: 100%; justify-content: space-between; padding-inline: 17px; }

.home {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  margin-block: clamp(28px, 5vh, 65px) 22px;
  border-radius: 23px;
  box-shadow: 0 16px 52px #162c4610, 0 3px 10px #162c4607;
}
.hero, .equipment-hero {
  --on-air-top: clamp(14px, 3vw, 32px);
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 99% 90%, #215b8c, transparent 61%),
    linear-gradient(135deg, #112743 14%, #132d4c 63%, #16406a);
}
.hero { border-radius: 23px 0 0 23px; min-height: 620px; }
.hero::before, .equipment-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(#a8dbff12 1px, transparent 1px), linear-gradient(90deg, #a8dbff12 1px, transparent 1px);
  background-size: 39px 39px;
  mask-image: linear-gradient(125deg, transparent 9%, #000 98%);
}
.hero-content { position: relative; z-index: 1; }
.hero .hero-content { padding: clamp(30px, 4.6vw, 64px); }
.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .72rem;
  font-weight: 770;
  line-height: 1.4;
  letter-spacing: .14em;
}
.on-air { color: #d0e7fa; }
.on-air > span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5069;
  box-shadow: 0 0 0 4px #ee5a7023, 0 0 14px #ff506966;
}
.on-air-sign {
  position: absolute;
  top: var(--on-air-top);
  right: clamp(16px, 3.6vw, 48px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding-inline: clamp(9px, 1.4vw, 14px);
  border: 1px solid #f381916b;
  border-radius: 7px;
  background: linear-gradient(#432239, #251929);
  color: #ffe7eb;
  box-shadow: 0 0 17px #fa446b24, inset 0 1px #fff1;
  font-size: clamp(.68rem, 1.15vw, .85rem);
  font-weight: 800;
  letter-spacing: .16em;
  white-space: nowrap;
  pointer-events: none;
}
.on-air-sign > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff4d67;
  box-shadow: 0 0 7px 2px #ff4d6780;
  animation: on-air-glow 2.8s ease-in-out infinite;
}
@keyframes on-air-glow {
  50% { background: #ff788a; box-shadow: 0 0 13px 4px #ff4d679b; }
}
@media (prefers-reduced-motion: reduce) {
  .on-air-sign > span { animation: none; }
}
.hero h1 {
  font-size: clamp(2.65rem, 5vw, 4.65rem);
  line-height: .99;
  letter-spacing: -.068em;
  font-weight: 795;
  margin-block: 33px 21px;
}
.hero h1 span, .equipment-hero h1 span { color: #ff5269; }
.hero-copy { max-width: 34ch; color: #d2def0; font-size: clamp(.98rem, 1.45vw, 1.11rem); line-height: 1.55; }
.steps { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 14px; color: #e0ebf7; font-size: .88rem; font-weight: 620; }
.steps li { display: flex; align-items: center; gap: 12px; }
.steps li > span { display: grid; place-items: center; width: 30px; height: 28px; border: 1px solid #b4d8ff42; background: #193759; color: #bedcf5; border-radius: 6px; font-size: .67rem; font-variant-numeric: tabular-nums; }

.meter {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: -1;
  height: 235px;
  bottom: -6px;
  left: -74px;
  right: -35px;
  transform: rotate(-14deg);
  mask-image: linear-gradient(110deg, #0001, #000 63%, #000b);
}
.meter::before { position: absolute; content: ""; width: 100%; height: 1px; top: 50%; background: #6cb5eb44; }
.meter span { flex: 1 0 3px; height: calc(var(--level) * 13px); border-radius: 10px; background: linear-gradient(#51a8e648, #7bc1f2a4, #51a8e648); }
.meter span:nth-child(9n + 6) { background: linear-gradient(#5a9bd63b, #a7d6ffb6, #5a9bd63b); }
.meter span:nth-child(27n + 24) { background: linear-gradient(#fd56743b, #ff647fa0, #fd56743b); }
.level-2 { --level: 2; } .level-3 { --level: 3; } .level-4 { --level: 4; }
.level-5 { --level: 5; } .level-6 { --level: 6; } .level-7 { --level: 7; }
.level-8 { --level: 8; } .level-9 { --level: 9; } .level-10 { --level: 10; }
.level-11 { --level: 11; } .level-12 { --level: 12; } .level-13 { --level: 13; }

.intake { padding: clamp(26px, 3.65vw, 48px); background: var(--paper); border-radius: 0 23px 23px 0; }
.section-kicker { color: var(--blue); }
.section-kicker svg { width: 17px; height: 17px; }
.intake h2, .login-card h1, .dashboard h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.07;
  letter-spacing: -.052em;
  margin: 10px 0;
}
.intro { font-size: .91rem; line-height: 1.48; color: var(--muted); }
.intake form { margin-top: 24px; display: grid; gap: 15px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field > span:first-child { color: #2b405b; font-size: .8rem; line-height: 1.35; font-weight: 690; }
.required { color: var(--red); }
.field input, .field textarea, .search-field input, select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #d9e2ee;
  border-radius: 8px;
  color: var(--ink);
  background: #fafbfd;
  font-size: .9rem;
  transition: border-color .16s, background-color .16s;
}
.field input:hover, .field textarea:hover, .search-field input:hover, select:hover { border-color: #b9cadd; }
.field input:focus, .field textarea:focus, .search-field input:focus, select:focus { outline: 2px solid #2778bd; outline-offset: 1px; background-color: #fff; }
.field input::placeholder, .field textarea::placeholder, .search-field input::placeholder { color: #65758a; opacity: 1; }
.field input[type="date"] { color: #3a526d; appearance: none; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: start; }
.field textarea { display: block; resize: vertical; min-height: 112px; line-height: 1.45; }
.input-icon { display: grid; position: relative; }
.input-icon > svg { position: absolute; align-self: center; left: 11px; color: var(--blue); pointer-events: none; }
.field input[readonly] { padding-left: 36px; background: #eef3fa; }
.contacts { min-inline-size: 0; padding: 14px 0 2px; border: 0; border-top: 1px solid var(--line); margin-top: 5px; }
.contacts legend { padding: 0 10px 0 0; font-size: .83rem; font-weight: 740; color: var(--ink); }
.contacts legend span { margin-left: 5px; color: var(--subtle); font-weight: 480; font-size: .73rem; }
.intake .button-primary { margin-top: 4px; }
.form-error { padding: 10px 12px; color: #931d2b; background: #fff1f2; border: 1px solid #f5ccd1; border-radius: 8px; line-height: 1.4; font-size: .86rem; }
.welcome-home .hero { min-height: 480px; }
.welcome-actions { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.welcome-actions h2 { margin: -8px 0 5px; }
.welcome-option { display: grid; gap: 7px; }
.welcome-option p { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.welcome-actions .button-primary { background: var(--blue); box-shadow: 0 3px 7px #1e5f9628; }
.welcome-actions .button-primary:hover { background: #194e7a; }
.welcome-actions .button-secondary { min-height: 49px; background: #eaf3fb; color: #224d73; border-color: #cbdff0; }
.welcome-actions .button-secondary:hover { background: #ddebf8; border-color: #b4cde2; }

.equipment { margin-block: 22px 30px; }
.breadcrumbs { margin-bottom: 17px; }
.breadcrumbs a { display: inline-flex; gap: 8px; align-items: center; color: #2c547c; font-size: .85rem; font-weight: 650; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.equipment-hero {
  --hero-padding: clamp(24px, 4.5vw, 50px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  padding: calc(var(--on-air-top) + 44px) var(--hero-padding) var(--hero-padding);
  border-radius: 19px;
}
.equipment-hero .meter { left: 45%; opacity: .45; bottom: -85px; }
.equipment-hero h1 { font-size: clamp(2.15rem, 5vw, 3.9rem); line-height: 1.03; letter-spacing: -.058em; margin-block: 15px 12px; }
.equipment-hero p:not(.eyebrow) { color: #dbe7f4; line-height: 1.5; }
.event-chip {
  z-index: 1;
  display: flex;
  flex: 0 1 auto;
  gap: 11px;
  align-items: center;
  min-width: min(225px, 100%);
  max-width: min(320px, 100%);
  padding: 13px 15px;
  background: #102a499e;
  border: 1px solid #9fc4e549;
  border-radius: 11px;
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.event-chip > svg { width: 21px; height: 21px; color: #a4d2f6; }
.event-chip div { display: grid; gap: 4px; }
.event-chip span { color: #d4e5f5; font-size: .76rem; }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.equipment-card { min-width: 0; background: #fff; border: 1px solid #e2e9f1; border-radius: 14px; padding: clamp(17px, 2.4vw, 27px); }
.equipment-card h2 { margin-block: 13px 5px; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.03em; }
.equipment-card p { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.equipment-label { display: flex; align-items: center; gap: 9px; color: #315978; font-size: .79rem; font-weight: 700; }
.equipment-label > span, .login-icon, .ack-icon {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 8px;
  background: #edf4fc;
  color: #206197;
}
.equipment-label svg { width: 20px; height: 20px; }
.mixer-card, .drums-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
}
.gear-list, .channels { padding: 0; list-style: none; }
.gear-list { margin-top: 9px; color: #3b4e68; font-size: .87rem; }
.gear-list li { display: flex; justify-content: space-between; gap: 8px; padding-block: 8px; line-height: 1.4; }
.gear-list li + li { border-top: 1px solid #e7edf4; }
.gear-list li span:last-child { white-space: nowrap; font-weight: 700; color: #22567c; }
.channels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.channels li { padding: 5px 7px; background: #edf4fa; color: #385774; border-radius: 5px; font-size: .72rem; font-weight: 620; }
.drum-photo { width: min(100%, 390px); justify-self: center; border: 1px solid #e5eaf0; border-radius: 10px; overflow: hidden; background: #fff; }
.drum-photo img { width: 100%; height: auto; }
.notice { display: flex; align-items: flex-start; gap: 11px; padding: 13px; background: #fff6e5; border: 1px solid #f1dbac; border-radius: 9px; color: #654416; line-height: 1.42; font-size: .88rem; }
.notice svg { width: 19px; height: 19px; color: #8a5c15; }
.notice p { color: #654416; margin-top: 4px; font-size: inherit; }
.policy { margin-block: 15px; padding: 18px 20px; }
.policy h2 { font-size: 1.01rem; }
.ack-panel { display: flex; gap: 15px; align-items: center; border-radius: 13px; border: 1px solid #dee8f2; background: #fff; padding: 18px 20px; }
.ack-copy { flex: 1; }
.ack-copy h2 { font-size: 1.13rem; margin-bottom: 4px; }
.ack-copy p { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.ack-copy .form-error { margin-top: 7px; color: #931d2b; }
.ack-done { border-color: #bfe2d5; }
.ack-done .ack-icon { color: #167055; background: #e1f5ec; }

.event-page { margin-block: 22px 34px; }
.event-hero { align-items: center; }
.event-hero h1 { overflow-wrap: anywhere; margin-bottom: 0; }
.event-hero > .button, .event-hero > .status { z-index: 1; flex: none; }
.event-schedule { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 12px; margin-block: 15px; }
.event-schedule > div, .event-contact-card, .event-list-card {
  min-width: 0;
  padding: clamp(14px, 2vw, 23px);
  border: 1px solid #e0e8f2;
  border-radius: 12px;
  background: #fff;
}
.event-schedule dt { display: flex; align-items: center; gap: 7px; color: #315978; font-size: .78rem; font-weight: 710; }
.event-schedule dd { margin-top: 7px; font-size: clamp(1.05rem, 2.4vw, 1.58rem); line-height: 1.2; font-weight: 760; }
.event-schedule .time-pending { color: var(--muted); font-size: .95rem; font-weight: 575; }
.event-contact-card { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.event-contact-card h2, .event-lists h2 { font-size: 1.24rem; line-height: 1.2; letter-spacing: -.025em; }
.event-contacts { display: flex; flex-wrap: wrap; gap: 12px 27px; margin-top: 10px; }
.event-contacts > div { min-width: 0; }
.event-contacts dt { color: var(--muted); font-size: .78rem; }
.event-contacts dd { margin-top: 4px; font-size: .9rem; font-weight: 690; overflow-wrap: anywhere; }
.event-contacts dd span { display: block; font-weight: 480; color: var(--muted); }
.event-equipment-access { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.outlook-invitation { margin-top: 15px; }
.outlook-invitation .intro { margin-top: 5px; }
.outlook-invitation .form-error { margin-top: 8px; }
.outlook-settings { width: min(100% - 24px, 720px); }
.outlook-pane { display: grid; justify-items: start; gap: 10px; margin-top: 14px; padding: clamp(16px, 3vw, 26px); background: #fff; border: 1px solid #e0e8f2; border-radius: 12px; }
.outlook-pane .field { width: 100%; }
.outlook-pane [role="status"]:empty { display: none; }
.event-lists { margin-top: 24px; }
.event-lists .intro { margin-block: 5px 12px; }
.event-list-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.event-list-card { display: flex; flex-direction: column; gap: 9px; }
.event-list-card h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: .99rem; }
.event-list-card h3 svg { color: var(--blue); }
.saved-list-entries { padding: 8px 10px; border: 1px solid #dce9f7; border-radius: 7px; background: #f2f7fc; font-size: .8rem; }
.saved-list-entries > span { color: #315978; font-weight: 690; }
.saved-list-entries ul { display: grid; gap: 4px; margin-top: 5px; padding-left: 17px; overflow-wrap: anywhere; }
.arrival-list-link { min-height: 39px; justify-content: space-between; font-size: .8rem; }
.documents-locked { align-self: center; color: var(--muted); font-size: .76rem; }
.list-save-state { min-height: 1em; color: #22684f; font-size: .77rem; }
.list-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.list-actions .button { min-height: 36px; padding: 6px 8px; font-size: .78rem; }
.button-download { background: #edf4fc; color: #255780; border-color: #dce9f7; }
.button-download:hover { background: #dceafa; }
.event-page > .form-error { margin-top: 12px; }

.lineup-page { margin-block: 22px 34px; }
.lineup-hero { --hero-padding: clamp(20px, 3.6vw, 37px); align-items: center; }
.lineup-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0 0 7px; }
.lineup-sections { margin-top: 15px; border: 1px solid #dfe7f0; border-radius: 10px; overflow: hidden; background: #fff; }
.lineup-section + .lineup-section { border-top: 1px solid #dfe7f0; }
.lineup-section[data-active="true"] { background: #edf5fc; box-shadow: inset 3px 0 var(--blue); }
.lineup-section h2 { font-size: .94rem; font-weight: 400; }
.lineup-section[data-active="true"] h2 { color: #1b527c; font-weight: 700; }
.lineup-toggle { display: flex; align-items: center; gap: 9px; min-height: 49px; padding: 9px 13px; cursor: pointer; }
.lineup-toggle > span { flex: 1; }
.lineup-toggle > svg { color: var(--subtle); transition: transform .16s; }
.lineup-section[data-active="true"] .lineup-toggle > svg { transform: rotate(180deg); }
.lineup-toggle input, .lineup-options input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
.lineup-fields, .lineup-field { min-inline-size: 0; padding: 0; border: 0; }
.lineup-fields { display: grid; gap: 12px; padding: 0 13px 13px 39px; }
.lineup-field legend { padding: 0; color: #2b405b; font-size: .78rem; font-weight: 690; }
.lineup-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.lineup-options label { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: .81rem; cursor: pointer; }
.lineup-options label:has(input:checked) { border-color: #95bad4; background: #eaf3fb; color: #1a5278; font-weight: 700; }
.lineup-number { max-width: 175px; }
.lineup-field textarea { min-height: 78px; }
#lineup-form > .form-error { margin-top: 13px; }
.lineup-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.lineup-footer .button { min-width: 172px; }
.arrival-rows { display: grid; gap: 13px; margin-top: 14px; }
.arrival-row { position: relative; min-inline-size: 0; display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.arrival-row > legend { padding: 0 8px; font-size: .88rem; font-weight: 720; }
.arrival-row .remove-arrival { position: absolute; top: 5px; right: 8px; min-height: 29px; width: 29px; }
.arrival-row > .field-grid:first-of-type { margin-top: 14px; }
.arrival-row .field small { color: var(--muted); font-size: .72rem; font-weight: 480; }
.arrival-empty { margin-top: 8px; color: var(--muted); font-size: .84rem; }
.arrival-empty:empty { display: none; }
.arrival-access { display: grid; gap: 9px; max-width: 530px; margin-top: 14px; padding: 15px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.arrival-access h2 { font-size: 1.07rem; }
.arrival-access form { display: grid; gap: 10px; }
.arrival-code { grid-template-columns: minmax(0, 1fr); }
.arrival-code button { justify-self: start; }
.arrival-code #generated-code input { padding-left: 11px; font-family: monospace; }
.vehicle-fields { align-items: start; }
.vehicle-details { display: grid; gap: 12px; }
.vehicle-number { padding: 0; border: 0; min-inline-size: 0; }
.vehicle-number legend { padding: 0 0 6px; color: #2b405b; font-size: .8rem; font-weight: 690; }
.license-plate { display: grid; grid-template-columns: minmax(0, 1fr) 77px; width: min(100%, 290px); border: 2px solid #182434; border-radius: 7px; background: #fff; overflow: hidden; }
.license-plate label { display: grid; padding: 4px 6px 5px; text-align: center; }
.license-plate label + label { border-left: 1px solid #182434; }
.license-plate label span { color: #4b5d72; font-size: .62rem; font-weight: 710; }
.license-plate input { width: 100%; min-width: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #152034; text-align: center; font-size: 1.22rem; font-weight: 760; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.license-plate input::placeholder { color: #627387; }
.license-plate input:focus { outline-offset: 0; }
#arrival-form > .form-error { margin-top: 12px; }

.login-page { flex: 1; display: grid; place-items: start center; padding-block: clamp(32px, 10vh, 100px); }
.login-card { width: min(100%, 465px); padding: clamp(23px, 4vw, 40px); background: #fff; border: 1px solid #e0e8f2; border-radius: 17px; box-shadow: 0 16px 37px #1426400a; }
.login-card .login-icon { margin-bottom: 16px; }
.login-card form { display: grid; gap: 13px; margin-top: 20px; }
.login-status:not(:empty) { margin-top: 13px; }
.event-email-verification { display: grid; justify-items: start; gap: 8px; margin-top: 12px; }
.event-email-verification [role="status"]:empty { display: none; }
.login-card > .notice, .login-card > a { margin-top: 18px; }
.dashboard { margin-block: clamp(24px, 5vw, 50px) 34px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.dashboard-heading h1 { margin-bottom: 0; }
.dashboard-actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.dashboard-overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, min(57%, 600px)); align-items: start; gap: 15px; margin-bottom: 18px; }
.stats { display: grid; gap: 12px; }
.stats > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid #e0e7f1; padding: 14px 16px; border-radius: 12px; }
.stats dt { color: var(--muted); line-height: 1.35; font-size: .85rem; font-weight: 650; }
.stats dd { font-size: 1.9rem; font-weight: 760; }
.schedule-calendar { min-width: 0; display: grid; gap: 10px; padding: 13px; background: #fff; border: 1px solid #e0e7f1; border-radius: 13px; }
.calendar-top, .calendar-navigation { display: flex; justify-content: space-between; align-items: center; gap: 9px; flex-wrap: wrap; }
.calendar-top h2 { display: flex; align-items: center; gap: 7px; font-size: 1.02rem; }
.calendar-top h2 svg { color: var(--blue); }
.calendar-views, .calendar-controls { display: flex; align-items: center; gap: 4px; }
.calendar-views { padding: 3px; border-radius: 7px; background: #edf3f9; }
.calendar-views button, .calendar-controls button, .calendar-date, .calendar-entry { color: var(--ink); font-size: .78rem; font-weight: 670; }
.calendar-views button, .calendar-controls button { min-height: 30px; padding: 4px 7px; border: 1px solid transparent; border-radius: 5px; background: transparent; }
.calendar-views button:hover, .calendar-controls button:hover { background: #e5eef8; }
.calendar-views button[aria-pressed="true"] { background: #fff; color: #215777; border-color: #cee0f0; }
.calendar-period { display: flex; align-items: baseline; gap: 5px 9px; flex-wrap: wrap; font-size: .86rem; line-height: 1.3; }
.calendar-period span { color: var(--muted); font-size: .75rem; }
.calendar-controls button { border-color: var(--line); background: #fafbfd; }
.calendar-controls button:has(span) { min-width: 30px; padding-block: 0; font-size: 1.25rem; }
.calendar-weekdays, .calendar-dates { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekdays { margin-bottom: -5px; color: var(--muted); text-align: center; font-size: .68rem; font-weight: 660; }
.calendar-date { display: flex; align-items: center; justify-content: space-between; gap: 2px; min-height: 30px; padding: 2px 5px; border: 1px solid #e3eaf2; border-radius: 5px; background: #f8fafc; }
.calendar-date:hover { border-color: #86b0d4; }
.calendar-date.outside-period { color: var(--subtle); background: #fff; }
.calendar-date.has-events { background: #edf5fc; border-color: #d4e4f2; }
.calendar-date.multiple-events { background: #e1effb; border-color: #bfd9ee; }
.calendar-date[aria-pressed="true"] { border-color: #2a6c9f; box-shadow: inset 0 0 0 1px #2a6c9f; }
.calendar-date[aria-current="date"] > span:first-child { color: #a6172d; }
.calendar-count { padding: 2px 4px; border-radius: 5px; color: #fff; background: #2a608e; font-size: .63rem; line-height: 1; }
.calendar-agenda { border-top: 1px solid #e4ebf3; padding-top: 8px; }
.calendar-agenda h3 { margin: 0 0 5px; font-size: .79rem; }
.calendar-agenda p { color: var(--muted); font-size: .76rem; }
.calendar-entries { display: grid; gap: 4px; max-height: 156px; overflow: auto; margin: 0; padding: 3px; list-style: none; }
.calendar-entry { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: center; width: 100%; min-height: 34px; gap: 7px; padding: 5px 7px; border: 1px solid #e0e8f2; border-radius: 6px; text-align: left; background: #fafbfd; }
.calendar-entry:hover { background: #edf4fb; }
.calendar-entry strong, .calendar-entry span { overflow-wrap: anywhere; }
.calendar-entry span { color: var(--muted); font-size: .71rem; font-weight: 520; }
.calendar-entry svg { color: var(--blue); }
.dashboard > .form-error { margin-bottom: 14px; }
.event-list { background: #fff; border: 1px solid #e0e7f1; border-radius: 13px; }
.list-tools { display: flex; align-items: center; gap: 12px; padding: 15px; }
.search-field { position: relative; display: grid; flex: 1; max-width: 480px; min-width: 0; }
.search-field svg { position: absolute; top: 14px; left: 12px; color: #466580; pointer-events: none; }
.search-field input { padding-left: 36px; }
.list-tools select { margin-left: auto; width: fit-content; max-width: 100%; }
.event-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr 102px; gap: 13px; align-items: center; padding: 12px 15px; }
.event-columns { background: #f0f5fa; color: #435e78; font-size: .77rem; font-weight: 700; }
.events { list-style: none; padding: 0; }
.events li { border-bottom: 1px solid #e8eef5; font-size: .86rem; }
.event-grid > * { min-width: 0; overflow-wrap: anywhere; }
.event-engineer { display: grid; gap: 4px; }
.event-engineer small { color: var(--subtle); }
.events .empty-list { text-align: center; color: var(--muted); padding: 31px 14px; }
.list-count { padding: 13px 15px; font-size: .79rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 6px; font-size: .73rem; font-weight: 720; }
.status-pending { background: #fff4df; color: #73541f; }
.status-pending > span { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #a37325; }
.status-done { background: #e4f5ed; color: #1c6b52; }
.edit-button { padding-inline: 9px; font-size: .79rem; }
dialog { width: min(100% - 24px, 605px); max-height: calc(100% - 24px); border: 1px solid #dce5ee; border-radius: 15px; padding: 0; color: var(--ink); box-shadow: 0 20px 62px #152b4b40; }
dialog::backdrop { background: #102541a8; }
dialog form { display: grid; gap: 13px; padding: clamp(16px, 4vw, 26px); }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 11px; }
.dialog-header h2 { font-size: 1.3rem; line-height: 1.16; }
.dialog-header p, .detail-time { color: var(--muted); font-size: .8rem; margin-top: 5px; }
.icon-button { width: 44px; padding: 4px; color: #324c68; background: #f6f8fb; border-color: var(--line); }
.check-field { display: flex; align-items: center; gap: 6px; min-height: 38px; font-size: .89rem; }
.check-field input { width: 18px; height: 18px; accent-color: var(--blue); }
.detail-time { margin: -10px 0 0 28px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 11px; }
.dialog-actions .button-danger { margin-right: auto; }

@media (max-width: 1000px) {
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell { width: min(100% - 42px, 1224px); }
  .home { grid-template-columns: minmax(0, .78fr) minmax(0, 1fr); }
  .hero .hero-content { padding: clamp(26px, 4vw, 44px); }
}

@media (max-width: 790px) {
  .shell { width: min(100% - 32px, 650px); }
  .header-inner { min-height: 65px; }
  .home { display: block; margin-top: 20px; }
  .hero { min-height: 0; border-radius: 17px 17px 0 0; }
  .welcome-home .hero { min-height: 0; }
  .hero .hero-content { padding: 26px 25px 30px; }
  .hero h1 { margin-block: 16px 12px; font-size: clamp(2.7rem, 7.5vw, 4.1rem); }
  .hero-copy { max-width: 36ch; }
  .hero .meter { opacity: .65; left: 31%; bottom: -91px; }
  .steps { display: flex; flex-wrap: wrap; margin-top: 20px; gap: 8px 17px; font-size: .77rem; }
  .steps li { gap: 7px; }
  .steps li > span { width: 25px; height: 24px; }
  .intake { border-radius: 0 0 17px 17px; }
  .equipment-hero { align-items: flex-start; flex-direction: column; gap: 16px; }
  .event-hero { flex-direction: row; align-items: center; }
  .event-contact-card { align-items: flex-start; flex-direction: column; }
  .event-list-grid { grid-template-columns: 1fr; }
  .lineup-hero { align-items: flex-start; }
  .event-columns { display: none; }
  .dashboard-overview { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats > div { display: block; }
  .stats dd { margin-top: 4px; }
  .events li.event-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 7px 12px; }
  .events li.event-grid:first-child { border-top: 1px solid #e8eef5; }
  .event-grid strong { font-size: 1rem; }
  .event-grid .edit-button { grid-column: 2; grid-row: 2 / 4; }
}

@media (max-width: 510px) {
  .shell { width: calc(100% - 24px); }
  .brand { gap: 9px; }
  .brand img { width: 61px; }
  .brand-text { padding-left: 9px; font-size: .57rem; }
  .button-nav { padding-inline: 9px; font-size: .75rem; }
  .hero .hero-content { padding-inline: 20px; }
  .intake { padding: 22px 17px; }
  .field-grid { grid-template-columns: 1fr; gap: 12px; }
  .field input, .field textarea, .search-field input, select { font-size: 1rem; }
  .intake form { gap: 12px; margin-top: 17px; }
  .contacts legend { padding-right: 5px; }
  .site-footer { flex-direction: column; gap: 4px; }
  .equipment-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .event-hero { flex-direction: column; align-items: flex-start; }
  .event-schedule { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .event-schedule > div:first-child { grid-column: 1 / -1; }
  .mixer-card, .drums-card { grid-template-columns: minmax(0, 1fr); }
  .policy { padding: 14px; }
  .ack-panel { display: grid; grid-template-columns: 37px minmax(0, 1fr); padding: 14px; gap: 12px; }
  .ack-panel .button { grid-column: 1 / -1; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .stats { gap: 5px; }
  .stats > div { padding: 9px; }
  .stats dt { font-size: .71rem; }
  .schedule-calendar { padding: 10px; }
  .calendar-date { padding-inline: 3px; }
  .lineup-fields { padding-inline: 12px; }
  .lineup-footer .button { width: 100%; }
  .list-tools { flex-wrap: wrap; gap: 8px; }
  .search-field { flex-basis: 100%; }
  .list-tools select { width: 100%; }
  .event-grid { padding-inline: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
