:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #66758c;
  --line: #dbe3ee;
  --soft: #f4f7fb;
  --panel: #ffffff;
  --navy: #0f2747;
  --blue: #1f6feb;
  --teal: #0d9488;
  --green: #2f8a4c;
  --gold: #b98118;
  --red: #b84444;
  --rose: #e93492;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 8px 26px rgba(17, 24, 39, 0.07);
}

/* Unified operations workspaces */
.public-layout .main {
  width: min(1400px, calc(100% - 40px));
}

.event-home-hero {
  grid-template-columns: minmax(330px, 0.76fr) minmax(650px, 1.24fr);
  gap: 62px;
}

.event-carousel-track,
.event-carousel-slide {
  min-height: 290px;
}

.event-carousel-slide {
  grid-template-columns: minmax(230px, 0.5fr) minmax(0, 1fr);
}

.workspace-section-head,
.event-editor-head,
.event-ops-title,
.template-workbench-head,
.report-workspace-head,
.integration-hero-row,
.integration-actions,
.system-export-band,
.template-save-bar,
.bulk-submit-bar,
.checkin-command-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.workspace-section-head h2,
.event-editor-head h2,
.template-workbench-head h2,
.report-workspace-head h2,
.integration-hero-row h2,
.system-export-band h2,
.checkin-command-band h2 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: 20px;
}

.event-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: 18px;
  align-items: start;
}

.event-portfolio,
.event-editor,
.template-workbench,
.bulk-import-workspace,
.bulk-guide,
.zoom-integration-workspace,
.integration-directory,
.system-section,
.report-workspace,
.checkin-activity-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.event-portfolio {
  padding: 18px;
}

.event-ops-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.event-ops-card {
  min-height: 168px;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d8dfeb;
  border-radius: 8px;
  background: #fff;
}

.event-ops-media {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background: #e8edf5;
}

.event-ops-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.event-status-chip {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 5px;
  color: #fff;
  background: rgba(15, 39, 71, 0.92);
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.event-ops-body {
  min-width: 0;
  padding: 15px;
  display: grid;
  align-content: start;
  gap: 13px;
}

.event-ops-title {
  align-items: flex-start;
}

.event-ops-title h2 {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
}

.event-ops-title p,
.integration-hero-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.event-ops-title > strong {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 12px;
}

.event-ops-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.event-ops-metrics span {
  min-width: 0;
  padding: 7px;
  border-left: 2px solid #d8dfeb;
  color: var(--muted);
  font-size: 10px;
}

.event-ops-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.event-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.event-editor {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 18px;
}

.editor-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e3e8f0;
}

.editor-section-title {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.editor-section-title > span {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.editor-section-title h3 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

.editor-section-title p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.event-editor .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.event-editor textarea {
  min-height: 82px;
}

.event-editor-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-picker-row {
  min-height: 48px;
  padding: 7px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px dashed #b9c5d6;
  border-radius: 8px;
  background: #f8fbff;
}

.native-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-picker-button {
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.file-picker-name {
  min-width: 0;
  flex: 1;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.template-spec-strip,
.report-summary-strip,
.system-health-strip {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.template-spec-strip > div,
.report-summary-strip > div,
.system-health-strip > div {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
}

.template-spec-strip > div:last-child,
.report-summary-strip > div:last-child,
.system-health-strip > div:last-child {
  border-right: 0;
}

.template-spec-strip span,
.template-spec-strip small,
.report-summary-strip span,
.system-health-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.template-spec-strip strong,
.report-summary-strip strong,
.system-health-strip strong {
  display: block;
  margin: 3px 0;
  color: var(--navy);
  font-size: 18px;
}

.template-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  gap: 14px;
}

.template-workbench {
  min-width: 0;
  padding: 16px;
}

.template-preview-frame {
  margin-top: 12px;
  padding: 14px;
  overflow: auto;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  background: #eef2f7;
}

.template-preview-frame .badge-sheet {
  width: 100%;
  min-width: 0;
  transform-origin: left top;
}

.parking-preview-frame {
  min-height: 330px;
  display: grid;
  place-items: center;
}

.parking-preview-frame .parking-disk-template {
  width: 397px;
  min-height: 280px;
}

.template-config-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.template-artwork-empty,
.template-artwork-preview {
  min-height: 92px;
  margin-bottom: 8px;
  padding: 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  color: var(--muted);
  background: #fafbfd;
  font-size: 11px;
}

.template-artwork-preview {
  grid-template-columns: 70px 1fr;
  align-items: center;
}

.template-artwork-preview img {
  width: 70px;
  height: 70px;
  border-radius: 5px;
  object-fit: cover;
}

.template-artwork-empty strong {
  color: var(--navy);
}

.template-save-bar {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid #cbd7e7;
  border-radius: 8px;
  background: #f7faff;
  color: var(--muted);
  font-size: 12px;
}

.bulk-intake-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 14px;
}

.bulk-import-workspace,
.bulk-guide {
  padding: 18px;
}

.bulk-defaults-band {
  padding-bottom: 15px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.bulk-defaults-band h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 15px;
}

.bulk-default-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.bulk-file-drop {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.bulk-file-target {
  min-width: 0;
  flex: 1;
  padding: 13px;
  display: grid;
  border: 1px dashed #aebed2;
  border-radius: 8px;
  color: var(--navy);
  background: #f7faff;
  cursor: pointer;
}

.bulk-file-target span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.bulk-csv-editor {
  margin-top: 14px;
}

.bulk-csv-editor textarea {
  min-height: 310px;
  font-family: Consolas, Menlo, monospace;
  font-size: 11px;
}

.bulk-submit-bar {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.bulk-guide h2 {
  margin: 4px 0 14px;
  color: var(--navy);
  font-size: 20px;
}

.bulk-rule-list {
  display: grid;
}

.bulk-rule-list > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.bulk-rule-list strong,
.bulk-rule-list span {
  display: block;
}

.bulk-rule-list strong {
  color: var(--navy);
  font-size: 13px;
}

.bulk-rule-list span,
.bulk-value-reference p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.bulk-value-reference {
  margin-top: 16px;
  padding: 12px;
  border-left: 3px solid var(--rose);
  background: #fff7fb;
}

.bulk-value-reference h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
}

.integration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 14px;
}

.integration-provider-stack {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.zoom-integration-workspace,
.integration-directory {
  padding: 18px;
}

.integration-overall,
.connection-state {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: capitalize;
}

.integration-overall.ready,
.connection-state.ready {
  color: #196638;
  border-color: #bfe2cd;
  background: #edf9f1;
}

.integration-overall.attention,
.connection-state.configured,
.connection-state.needs_setup {
  color: #8a5a00;
  border-color: #ead09b;
  background: #fff8e8;
}

.connection-state.error {
  color: #983737;
  border-color: #efc2c2;
  background: #fff1f1;
}

.zoom-config-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.paynow-endpoint-field {
  grid-column: 1 / -1;
}

.zoom-readiness-row {
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.zoom-readiness-row > div {
  padding: 11px;
  border-right: 1px solid var(--line);
}

.zoom-readiness-row > div:last-child {
  border-right: 0;
}

.zoom-readiness-row span,
.zoom-readiness-row strong {
  display: block;
  font-size: 11px;
}

.zoom-readiness-row span {
  color: var(--muted);
}

.integration-actions {
  margin-top: 14px;
  justify-content: flex-end;
}

.integration-actions > span {
  margin-right: auto;
  color: var(--muted);
  font-size: 11px;
}

.integration-list {
  margin-top: 12px;
}

.integration-list-row {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.connection-dot {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.connection-dot.ready {
  background: var(--green);
}

.connection-dot.error {
  background: var(--red);
}

.integration-list-row strong {
  color: var(--navy);
  font-size: 13px;
}

.integration-list-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.integration-endpoints {
  margin-top: 15px;
  padding: 12px;
  border-left: 3px solid var(--teal);
  background: #f0fbf9;
}

.integration-endpoints h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 13px;
}

.integration-endpoints code {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.report-filter-band {
  margin-bottom: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(190px, 1.4fr) repeat(4, minmax(130px, 1fr)) auto;
  gap: 8px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.report-summary-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-workspace {
  padding: 18px;
}

.report-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-controls select {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 9px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
}

.segmented-control {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f4f7fb;
}

.segmented-control button {
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.segmented-control button.active {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 39, 71, 0.12);
}

.report-visual {
  min-height: 330px;
  margin-top: 14px;
  padding: 18px;
  display: grid;
  align-items: center;
  border-top: 1px solid var(--line);
}

.report-bars {
  display: grid;
  gap: 12px;
}

.report-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 210px) minmax(120px, 1fr) 42px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}

.report-bar-row > div {
  height: 18px;
  overflow: hidden;
  border-radius: 4px;
  background: #edf1f6;
}

.report-bar-row i {
  height: 100%;
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}

.report-pie-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  justify-content: center;
}

.report-pie {
  width: 250px;
  height: 250px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.report-pie > span {
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  font-size: 30px;
  font-weight: 900;
}

.report-pie small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.report-legend {
  display: grid;
  gap: 8px;
}

.report-legend > div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.report-legend i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.report-line-wrap {
  min-width: 0;
}

.report-line {
  width: 100%;
  height: 250px;
  overflow: visible;
}

.report-line polyline {
  fill: none;
  stroke: var(--teal);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.report-line circle {
  fill: #fff;
  stroke: var(--navy);
  stroke-width: 4;
}

.report-line-labels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 6px;
}

.report-line-labels span {
  min-width: 0;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.report-line-labels strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
}

.report-empty,
.system-loading-band {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

.report-export-band {
  margin-top: 12px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.report-export-band h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 17px;
}

.checkin-command-band {
  margin-bottom: 10px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.compact-date-field {
  width: 190px;
}

.checkin-station-strip {
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.checkin-station-strip .checkin-station-card {
  min-height: 62px;
  padding: 9px;
}

.aligned-workspace {
  align-items: stretch;
}

.command-panel {
  display: grid;
  align-content: center;
}

.command-panel .scan-field input {
  min-height: 62px;
  font-size: 20px;
}

.checkin-guard-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.checkin-activity-band {
  margin-top: 12px;
  padding: 15px;
}

.checkin-activity-list {
  margin-top: 10px;
  display: grid;
}

.checkin-activity-row {
  min-height: 45px;
  display: grid;
  grid-template-columns: 130px minmax(160px, 1fr) minmax(130px, 0.8fr) 105px 170px;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.checkin-activity-row strong {
  color: var(--navy);
}

.checkin-activity-row span,
.checkin-activity-row time {
  color: var(--muted);
}

.system-health-strip {
  grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
}

.system-health-primary {
  background: #f0fbf9;
}

.system-health-primary i {
  width: 8px;
  height: 8px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
}

.system-operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 14px;
}

.system-section {
  padding: 17px;
}

.system-file-list {
  margin-top: 12px;
}

.system-file-list > div {
  min-height: 43px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 80px 170px;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.file-kind {
  width: fit-content;
  padding: 3px 5px;
  border-radius: 4px;
  color: var(--navy);
  background: #edf2f8;
  font-size: 9px;
  font-weight: 800;
}

.system-file-list strong {
  color: var(--navy);
  overflow-wrap: anywhere;
}

.system-check-list {
  margin-top: 10px;
}

.system-check-list > div {
  min-height: 56px;
  padding: 9px 0;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.system-check-list i {
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.system-check-list .pass i {
  background: var(--green);
}

.system-check-list .fail i {
  background: var(--red);
}

.system-check-list strong,
.system-check-list small {
  display: block;
}

.system-check-list strong {
  color: var(--navy);
  font-size: 12px;
}

.system-check-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.system-export-band {
  margin-top: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.parking-disk-template {
  width: min(100%, 105mm);
  min-height: 74mm;
  gap: 8px;
  padding: 12px;
}

.bulk-csv-editor textarea {
  min-height: 260px;
}

.parking-disk-code {
  gap: 10px;
}

.parking-disk-code img {
  width: 70px;
  height: 70px;
}

@media (max-width: 1180px) {
  .event-home-hero {
    grid-template-columns: minmax(300px, 0.8fr) minmax(560px, 1.2fr);
    gap: 34px;
  }

  .event-admin-layout,
  .integration-layout,
  .system-operations-grid {
    grid-template-columns: 1fr;
  }

  .event-editor {
    position: static;
    max-height: none;
  }

  .template-studio,
  .bulk-intake-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .public-layout .main {
    width: min(100% - 28px, 1400px);
  }

  .event-home-hero {
    grid-template-columns: 1fr;
  }

  .event-carousel-track,
  .event-carousel-slide {
    min-height: 0;
  }

  .event-ops-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .event-ops-metrics,
  .bulk-default-fields,
  .zoom-readiness-row,
  .template-spec-strip,
  .report-summary-strip,
  .system-health-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .template-config-grid,
  .zoom-config-grid,
  .bulk-defaults-band {
    grid-template-columns: 1fr;
  }

  .report-filter-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkin-station-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkin-activity-row {
    grid-template-columns: 120px minmax(0, 1fr) 120px;
  }

  .checkin-activity-row span:nth-of-type(2),
  .checkin-activity-row time {
    display: none;
  }
}

@media (max-width: 560px) {
  .event-ops-card,
  .event-carousel-slide {
    grid-template-columns: 1fr;
  }

  .event-ops-media {
    min-height: 190px;
  }

  .event-editor .form-grid,
  .event-ops-metrics,
  .report-filter-band,
  .template-spec-strip,
  .report-summary-strip,
  .system-health-strip,
  .zoom-readiness-row {
    grid-template-columns: 1fr;
  }

  .template-save-bar,
  .bulk-submit-bar,
  .integration-actions,
  .system-export-band,
  .report-workspace-head,
  .report-export-band,
  .checkin-command-band {
    align-items: stretch;
    flex-direction: column;
  }

  .report-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .report-pie-layout {
    grid-template-columns: 1fr;
  }

  .report-pie {
    margin: 0 auto;
  }

  .report-bar-row {
    grid-template-columns: 90px minmax(80px, 1fr) 30px;
  }

  .system-file-list > div {
    grid-template-columns: 58px minmax(0, 1fr) 60px;
  }

  .system-file-list time {
    display: none;
  }
}

@page parking-disk {
  size: A7 landscape;
  margin: 0;
}

@media print {
  body.print-parking-disk .parking-disk-template,
  body.print-parking-template .parking-disk-template,
  body.print-bulk-output .parking-disk-template {
    page: parking-disk;
    width: 105mm;
    height: 74mm;
    min-height: 74mm;
    margin: 0;
    padding: 4mm;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  body.print-report .topbar,
  body.print-report .sidebar,
  body.print-report .view-header,
  body.print-report .report-filter-band,
  body.print-report .report-export-band,
  body.print-report .toast-stack,
  body.print-report .main > :not(.report-workspace) {
    display: none !important;
  }

  body.print-report .layout,
  body.print-report .main,
  body.print-report .report-workspace {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }

  body.print-report .report-controls {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 235, 0.08), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 42%, #f6f8fb 100%);
  letter-spacing: 0;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  min-height: 100vh;
}

.loading-state {
  padding: 40px;
}

.topbar {
  min-height: 72px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 39, 71, 0.13);
}

.brand-title {
  font-weight: 900;
  color: var(--navy);
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.top-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.top-actions .btn.small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.staff-access-button {
  min-width: 112px;
}

.staff-role-button {
  min-width: 88px;
  border-color: #dec8f7;
  background: linear-gradient(135deg, #fff, #f7f0ff);
  color: #36106f;
  font-weight: 900;
}

.staff-role-button:hover {
  border-color: #b68cef;
  box-shadow: 0 8px 18px rgba(123, 36, 221, 0.12);
}

.layout {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: calc(100vh - 72px);
}

.layout.public-layout {
  grid-template-columns: 1fr;
}

.sidebar {
  background: #0e2038;
  color: #dce6f5;
  padding: 18px 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-section {
  color: #9fb2c9;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 18px 10px 8px;
}

.nav-button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: #e9f0fa;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
}

.nav-button:hover,
.nav-button.active {
  background: rgba(255, 255, 255, 0.12);
}

.nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

.main {
  padding: 28px;
  overflow: hidden;
}

.public-layout .main {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.view-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.view-kicker {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-size: 32px;
  letter-spacing: 0;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 16px;
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.metric-card,
.event-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
}

.panel {
  padding: 20px;
}

.metric-card {
  padding: 18px;
  border-top: 4px solid rgba(31, 111, 235, 0.24);
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.metric-value {
  font-size: 28px;
  font-weight: 850;
  margin-top: 6px;
}

.metric-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}

.dashboard-compact .view-header {
  margin-bottom: 14px;
}

.dashboard-compact .metric-card,
.dashboard-compact .panel {
  border-radius: 8px;
}

.dashboard-compact .metric-card {
  padding: 13px 14px;
  border-top-width: 3px;
}

.dashboard-compact .metric-value {
  font-size: 24px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  margin-top: 14px;
}

.dashboard-action-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.dashboard-action-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.dashboard-action-card:hover {
  border-color: rgba(31, 111, 235, 0.42);
  box-shadow: var(--soft-shadow);
}

.dashboard-action-card span {
  display: grid;
  gap: 3px;
}

.dashboard-action-card small {
  color: var(--muted);
  font-size: 12px;
}

.dashboard-action-card b {
  min-width: 36px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #edf4ff;
  color: var(--blue);
}

.dashboard-action-card.warn b {
  background: #fff6dc;
  color: #9a6700;
}

.dashboard-action-card.bad b {
  background: #ffe9e9;
  color: var(--red);
}

.dashboard-action-card.good b {
  background: #e9f8ee;
  color: var(--green);
}

.compact-list {
  margin-top: 10px;
  gap: 8px;
}

.event-card {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.public-hero,
.portal-home-hero,
.portal-login-shell {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #eef8f6 100%);
  box-shadow: var(--shadow);
}

.public-hero {
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  margin-bottom: 24px;
}

.public-hero h1,
.portal-home-hero h1,
.portal-login-copy h1 {
  max-width: 760px;
  color: var(--navy);
  font-size: 44px;
  line-height: 1.05;
  margin: 8px 0 12px;
}

.public-hero p,
.portal-home-hero p,
.portal-login-copy p {
  max-width: 700px;
  font-size: 17px;
}

.public-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.public-hero-panel {
  display: grid;
  gap: 12px;
}

.event-home-hero {
  min-height: 250px;
  border-radius: 0 0 18px 18px;
  margin: -28px -28px 28px;
  padding: 36px 28px 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(42, 18, 104, 0.94), rgba(105, 25, 161, 0.82)),
    url("/assets/conference-hero.png") center 42% / cover no-repeat,
    #36106f;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.event-home-hero-inner {
  width: min(100%, 900px);
  text-align: center;
  display: grid;
  justify-items: center;
}

.event-home-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.event-home-mark img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.event-home-hero .view-kicker,
.event-home-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.event-home-hero h1 {
  color: #fff;
  font-size: 40px;
  line-height: 1.05;
  margin: 8px 0 10px;
}

.event-home-hero p {
  max-width: 680px;
  margin: 0;
}

.event-home-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.event-home-hero .hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.staff-workspace-hero {
  min-height: 276px;
  border-radius: 0 0 18px 18px;
  margin: -28px -28px 26px;
  padding: 34px 28px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: stretch;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(42, 18, 104, 0.94), rgba(105, 25, 161, 0.82)),
    url("/assets/conference-hero.png") center 42% / cover no-repeat,
    #36106f;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.secretary-workspace {
  background:
    linear-gradient(135deg, rgba(42, 18, 104, 0.95), rgba(13, 148, 136, 0.78)),
    url("/assets/conference-hero.png") center 42% / cover no-repeat,
    #36106f;
}

.admin-workspace {
  background:
    linear-gradient(135deg, rgba(42, 18, 104, 0.95), rgba(31, 111, 235, 0.78)),
    url("/assets/conference-hero.png") center 42% / cover no-repeat,
    #36106f;
}

.staff-workspace-copy {
  display: grid;
  align-content: center;
  justify-items: start;
  min-width: 0;
}

.staff-workspace-copy .event-home-mark {
  margin-bottom: 18px;
}

.staff-workspace-hero .view-kicker,
.staff-workspace-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.staff-workspace-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: 40px;
  line-height: 1.05;
  margin: 8px 0 10px;
}

.staff-workspace-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
}

.staff-workspace-hero .event-home-hero-actions {
  justify-content: flex-start;
}

.staff-workspace-hero .btn.primary {
  background: linear-gradient(135deg, #e93492, #7b24dd);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(123, 36, 221, 0.26);
}

.staff-workspace-hero .hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.staff-workspace-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 14px;
}

.staff-workspace-panel .portal-action-kicker {
  color: rgba(255, 255, 255, 0.74);
}

.workspace-stat {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 3px;
}

.workspace-stat.large {
  padding: 14px;
}

.workspace-stat strong {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.workspace-stat.large strong {
  font-size: 42px;
}

.workspace-stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 750;
}

.workspace-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkin-workspace-hero {
  min-height: 276px;
  border-radius: 0 0 18px 18px;
  margin: -28px -28px 26px;
  padding: 34px 28px 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: stretch;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(42, 18, 104, 0.95), rgba(13, 148, 136, 0.78)),
    url("/assets/conference-hero.png") center 42% / cover no-repeat,
    #36106f;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.checkin-workspace-hero h1 {
  max-width: 760px;
  color: #fff;
  font-size: 40px;
  line-height: 1.05;
  margin: 8px 0 10px;
}

.checkin-workspace-hero p,
.checkin-workspace-hero .view-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.checkin-desk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
}

.checkin-scan-panel,
.checkin-preview-panel,
.report-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.checkin-scan-panel {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.checkin-station-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkin-station-card {
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  padding: 13px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 5px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.checkin-station-card strong {
  color: var(--navy);
}

.checkin-station-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkin-station-card:hover,
.checkin-station-card.active {
  border-color: #c18df4;
  box-shadow: 0 12px 28px rgba(123, 36, 221, 0.12);
  transform: translateY(-1px);
}

.checkin-station-card.active {
  background: linear-gradient(135deg, #fbf5ff, #eef9f7);
}

.scan-field input {
  min-height: 58px;
  border: 2px solid #b68cef;
  font-size: 18px;
  font-weight: 800;
}

.checkin-submit {
  min-height: 48px;
  font-size: 15px;
}

.checkin-preview-panel {
  padding: 16px;
  display: grid;
  gap: 14px;
}

.checkin-preview-empty,
.panel-lite {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  padding: 14px;
}

.checkin-preview-empty {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 6px;
}

.checkin-preview-empty strong,
.checkin-delegate-card h2 {
  color: var(--navy);
}

.checkin-preview-empty span {
  color: var(--muted);
  line-height: 1.45;
}

.checkin-delegate-card {
  border: 1px solid #cbe1f8;
  border-radius: 8px;
  background: #eef6ff;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.checkin-delegate-card.good {
  border-color: #bfe8d2;
  background: #ecfdf5;
}

.checkin-delegate-card p {
  margin: 6px 0 0;
}

.checkin-entitlements {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.report-section {
  margin-top: 16px;
  padding: 18px;
}

.report-section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.report-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.attendance-table {
  margin-top: 14px;
}

.event-catalog-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  align-items: start;
}

.event-catalog-main,
.event-catalog-sidebar,
.event-catalog-card,
.event-catalog-body {
  min-width: 0;
}

.event-catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.event-catalog-head h2 {
  font-size: 28px;
  color: var(--navy);
  margin-top: 6px;
}

.event-catalog-head p {
  margin: 6px 0 0;
}

.event-catalog-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.event-catalog-stats span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #52657d;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
}

.conference-tabs {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  margin-bottom: 22px;
  box-shadow: var(--soft-shadow);
}

.conference-tabs button {
  min-height: 34px;
  border-radius: 999px;
  padding: 8px 15px;
  background: transparent;
  color: #53657d;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.conference-tabs button:hover,
.conference-tabs button.active {
  background: linear-gradient(135deg, #d516b3, #7b24dd);
  color: #fff;
  box-shadow: 0 8px 18px rgba(123, 36, 221, 0.2);
}

.event-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.event-catalog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.event-catalog-media {
  min-height: 176px;
  color: #fff;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.2), rgba(13, 148, 136, 0.22)),
    url("/assets/conference-hero.png") center / cover no-repeat;
}

.event-catalog-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.45;
}

.event-catalog-media.leaders::before {
  background: linear-gradient(135deg, #273a7c, #10a6a2);
}

.event-catalog-media.worship::before {
  background: linear-gradient(135deg, #6d1b91, #e93492);
}

.event-catalog-media.online::before {
  background: linear-gradient(135deg, #1f6feb, #0d9488);
}

.event-catalog-media.youth::before {
  background: linear-gradient(135deg, #f59e0b, #e93492);
}

.event-catalog-media span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.event-catalog-body {
  padding: 16px;
}

.event-catalog-title-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.event-catalog-title-row h3 {
  font-size: 16px;
  color: #182236;
}

.event-catalog-title-row strong {
  color: #273a7c;
  font-size: 12px;
  white-space: nowrap;
}

.event-catalog-meta {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  color: #65758c;
  font-size: 12px;
}

.event-catalog-body p {
  margin: 12px 0 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.event-catalog-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.event-catalog-sidebar {
  display: grid;
  gap: 22px;
}

.catalog-side-card,
.catalog-calendar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: var(--soft-shadow);
}

.catalog-side-card p {
  margin: 8px 0 12px;
  font-size: 13px;
}

.catalog-sidebar-title {
  color: #d5168f;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.catalog-calendar strong {
  display: block;
  color: var(--navy);
  margin-top: 8px;
}

.calendar-grid-mini {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-top: 12px;
}

.calendar-grid-mini span {
  min-height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #6b7a90;
  font-size: 11px;
  background: #f6f8fb;
}

.calendar-grid-mini span.active {
  background: linear-gradient(135deg, #d516b3, #7b24dd);
  color: #fff;
  font-weight: 900;
}

.latest-list {
  display: grid;
  gap: 12px;
}

.latest-list article {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.latest-list strong,
.latest-list span {
  display: block;
}

.latest-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}

.hero-stat {
  min-height: 82px;
  border: 1px solid #d9e8f4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
}

.hero-stat strong,
.hero-stat span {
  display: block;
}

.hero-stat strong {
  color: var(--navy);
  font-size: 30px;
}

.hero-stat span {
  color: var(--muted);
  margin-top: 3px;
}

.conference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 14px;
}

.conference-card {
  min-height: 330px;
  align-content: start;
}

.conference-card-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.conference-date-tile {
  min-height: 72px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
}

.conference-date-tile strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.conference-date-tile span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  line-height: 1.15;
}

.conference-card-title h2 {
  font-size: 24px;
}

.conference-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.conference-meta div,
.selected-conference {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.conference-meta div {
  padding: 10px;
}

.conference-meta strong,
.conference-meta span {
  display: block;
}

.conference-meta strong {
  color: #33425b;
  font-size: 12px;
  text-transform: uppercase;
}

.conference-meta span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
}

.conference-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: auto;
}

.staff-portal-strip {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.selected-conference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.selected-conference p {
  margin: 6px 0 0;
}

.registration-hero {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.96), rgba(31, 111, 235, 0.9)),
    linear-gradient(135deg, #ffffff, #eef8f6);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 24px;
  align-items: center;
  padding: 30px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.registration-hero .view-kicker,
.registration-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.registration-hero h1 {
  max-width: 820px;
  font-size: 40px;
  line-height: 1.08;
  color: #fff;
  margin-top: 8px;
}

.registration-hero p {
  max-width: 760px;
  font-size: 16px;
}

.registration-hero-meta {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.registration-hero-meta span {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 11px 12px;
  font-weight: 750;
}

.registration-hero-meta .btn {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.3);
}

.registration-step-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: -8px 0 18px;
}

.registration-step {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  box-shadow: var(--soft-shadow);
}

.registration-step span {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f6f4;
  color: var(--teal);
  font-weight: 900;
}

.registration-step strong,
.registration-step small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.registration-step small {
  color: var(--muted);
}

.registration-workspace {
  align-items: start;
}

.registration-card {
  padding: 0;
  overflow: hidden;
}

.registration-sidebar {
  position: sticky;
  top: 92px;
}

.checkout-preview {
  margin-top: 14px;
  border: 1px solid rgba(31, 111, 235, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  padding: 14px;
  box-shadow: var(--soft-shadow);
}

.checkout-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.checkout-preview-head h3 {
  font-size: 30px;
  color: var(--navy);
  margin-top: 3px;
}

.checkout-preview-head > span {
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-preview-lines {
  display: grid;
  gap: 7px;
}

.checkout-preview-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #40506a;
  font-size: 13px;
}

.checkout-preview-total {
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--ink) !important;
  font-weight: 900;
}

.checkout-preview-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.checkout-preview-services span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 5px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.checkout-preview p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.gateway-latest {
  margin-top: 8px;
  color: #40506a;
  font-size: 13px;
}

.card-express-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfc;
  margin-top: 14px;
  padding: 16px;
}

.card-express-form {
  margin-top: 12px;
}

.card-3ds-challenge {
  margin-top: 14px;
}

.card-3ds-frame {
  width: 100%;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.registration-summary-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #f8fbff, #f3fbf8);
  padding: 20px 22px;
}

.form-section {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.form-section:last-of-type {
  border-bottom: 0;
}

.form-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.form-section-head h3 {
  color: var(--navy);
  margin-top: 5px;
}

.form-section-head p {
  max-width: 360px;
  margin: 0;
  font-size: 13px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #eef7ff;
  color: #1e5fbf;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-grid {
  grid-template-columns: minmax(260px, 420px);
  margin-bottom: 14px;
}

.attendance-choice-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-choice-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-choice,
.service-card {
  min-height: 118px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-choice:hover,
.service-card:hover {
  border-color: #b9c9dc;
  box-shadow: 0 12px 28px rgba(31, 111, 235, 0.08);
  transform: translateY(-1px);
}

.feature-choice:has(input:checked),
.service-card:has(input:checked) {
  border-color: rgba(31, 111, 235, 0.65);
  background: linear-gradient(180deg, #f7fbff, #eef7ff);
  box-shadow: 0 12px 30px rgba(31, 111, 235, 0.12);
}

.feature-choice input,
.service-card input {
  accent-color: var(--blue);
}

.service-card {
  border: 1px solid var(--line);
  padding: 14px;
}

.service-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  cursor: pointer;
}

.service-card-main input {
  margin-top: 3px;
}

.service-card-main strong,
.service-card-main span {
  grid-column: 2;
}

.service-card-main strong {
  color: var(--ink);
}

.service-card-main span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.service-option,
.parking-quantity,
.parking-vehicle {
  display: grid;
  margin-top: 12px;
}

.parking-vehicle small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.online-service-note {
  margin-bottom: 12px;
}

.notes-field {
  margin-top: 14px;
}

.registration-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 22px 22px;
  background: #f8fbff;
  border-top: 1px solid var(--line);
}

.registration-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 14px;
}

.event-facts {
  display: grid;
  gap: 10px;
}

.event-facts div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 12px;
}

.event-facts strong,
.event-facts span {
  display: block;
}

.event-facts strong {
  color: #34435c;
  font-size: 11px;
  text-transform: uppercase;
}

.event-facts span {
  color: var(--ink);
  margin-top: 4px;
}

.sidebar-heading {
  margin-top: 4px;
}

.price-list {
  margin-top: 0;
}

.registration-trust-card {
  border-left-color: var(--blue);
  background: #eef7ff;
  color: #244d82;
}

.portal-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.compact-portal-actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.compact-portal-actions .portal-action {
  min-height: 104px;
  padding: 14px;
  box-shadow: none;
}

.portal-home-hero {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-bottom: 18px;
}

.admin-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f6fbff 48%, #edf5ff 100%);
}

.secretary-hero {
  background: linear-gradient(135deg, #ffffff 0%, #f8fffd 48%, #effaf7 100%);
}

.portal-action {
  min-height: 136px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  text-align: left;
  cursor: pointer;
  display: grid;
  align-content: start;
  gap: 8px;
  box-shadow: var(--soft-shadow);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.portal-action:hover {
  border-color: #c18df4;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(123, 36, 221, 0.13);
}

.portal-action-kicker {
  color: #8b2be2;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-action strong {
  color: var(--navy);
  font-size: 17px;
}

.portal-action span {
  color: var(--muted);
  line-height: 1.45;
}

.portal-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr) minmax(320px, 0.65fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.portal-login-copy {
  display: grid;
  align-content: center;
  padding: 12px;
}

.portal-login-card,
.portal-switch-card {
  align-self: start;
  box-shadow: none;
}

.portal-login-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.portal-login-points span {
  border: 1px solid #d7e5f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #35506c;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
}

.staff-login-shell {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.94), rgba(91, 28, 146, 0.82)),
    url("/assets/conference-hero.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.staff-login-hero-panel {
  color: #fff;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 24px;
}

.staff-login-hero-panel .event-home-mark {
  margin-bottom: 22px;
}

.staff-login-hero-panel .view-kicker,
.staff-login-hero-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.staff-login-hero-panel h1 {
  max-width: 700px;
  color: #fff;
  font-size: 44px;
  line-height: 1.04;
  margin: 8px 0 12px;
}

.staff-login-hero-panel p {
  max-width: 650px;
  font-size: 16px;
}

.staff-login-hero-panel .portal-login-points span {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.staff-login-card {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 24px;
  box-shadow: 0 22px 55px rgba(5, 16, 31, 0.24);
}

.staff-login-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.staff-login-card-head h2 {
  margin-top: 5px;
  color: var(--navy);
}

.secure-chip {
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bfe8d2;
  color: #12683c;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 9px;
  text-transform: uppercase;
}

.staff-login-copyline,
.staff-login-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.staff-login-submit {
  width: 100%;
  margin-top: 16px;
}

.staff-login-note {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.staff-role-overview {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  box-shadow: var(--soft-shadow);
}

.staff-role-overview p {
  margin: 8px 0 0;
}

.staff-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.staff-role-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  padding: 13px;
}

.staff-role-card.active {
  border-color: rgba(31, 111, 235, 0.55);
  background: #eef7ff;
  box-shadow: 0 10px 24px rgba(31, 111, 235, 0.1);
}

.staff-role-card strong,
.staff-role-card span {
  display: block;
}

.staff-role-card strong {
  color: var(--navy);
}

.staff-role-card span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 12px;
  margin-top: 5px;
}

.staff-login-footer-card {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.staff-login-footer-card strong,
.staff-login-footer-card span {
  display: block;
}

.staff-login-footer-card span {
  color: var(--muted);
  margin-top: 4px;
}

.event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 26px;
  padding: 4px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  background: #f8fafc;
}

.tag.good {
  color: #12683c;
  background: #ecf8f1;
  border-color: #ccebd8;
}

.tag.warn {
  color: #8a5c08;
  background: #fff8e7;
  border-color: #f3dda6;
}

.tag.bad {
  color: #9a3030;
  background: #fff1f1;
  border-color: #f1c4c4;
}

.tag.info {
  color: #245891;
  background: #eef6ff;
  border-color: #cbe1f8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel);
  font-weight: 750;
  text-decoration: none;
}

.btn:hover {
  border-color: #aab8c9;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #225cc7);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.22);
}

.btn.success {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn.ghost {
  background: #f7f9fc;
}

.staff-workspace-hero .btn.ghost.hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn.danger {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn.small {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 12px;
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  color: #33425b;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search:focus {
  outline: 3px solid rgba(31, 111, 235, 0.16);
  border-color: rgba(31, 111, 235, 0.7);
}

.field input.field-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(194, 65, 65, 0.12);
}

.field-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  min-height: 17px;
}

.field-hint.good {
  color: var(--green);
}

.field-hint.bad {
  color: var(--red);
}

.field-hint.info {
  color: var(--teal);
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  color: var(--ink);
  font-weight: 700;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.choice-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  cursor: pointer;
}

.choice input {
  margin-right: 8px;
}

.choice strong {
  display: block;
  margin-bottom: 4px;
}

.choice span {
  color: var(--muted);
  font-size: 12px;
}

.registration-card .form-grid.category-grid {
  grid-template-columns: minmax(260px, 420px);
  margin-bottom: 14px;
}

.registration-card .form-grid.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.registration-card .choice-row.attendance-choice-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.registration-card .choice-row.payment-choice-row {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.recent-registration-list {
  display: grid;
  gap: 10px;
}

.recent-registration-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.recent-registration-item div:first-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.recent-registration-item strong,
.recent-registration-item span,
.recent-registration-item small {
  overflow-wrap: anywhere;
}

.recent-registration-item small {
  color: var(--muted);
}

.recent-registration-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  max-width: 260px;
}

.recent-registration-meta > span:last-child {
  color: var(--ink);
  font-weight: 800;
}

.filter-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 12px 0;
}

.filter-chip {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #40506a;
  padding: 6px 10px;
  cursor: pointer;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: rgba(31, 111, 235, 0.45);
  background: #eef5ff;
  color: var(--navy);
}

.filter-chip strong {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-size: 12px;
}

.registration-hero-polished {
  border: 1px solid rgba(15, 39, 71, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.92), rgba(13, 148, 136, 0.76)),
    url("/assets/conference-hero.png") center / cover no-repeat;
  color: #fff;
  box-shadow: var(--shadow);
}

.registration-hero-polished h1,
.registration-hero-polished p,
.registration-hero-polished .view-kicker {
  color: #fff;
}

.guided-registration-workspace {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.48fr);
}

.sticky-payment-summary {
  border-top: 4px solid var(--teal);
}

.checkout-method-card,
.payment-assurance-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.payment-mode-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.payment-mode-choice {
  min-height: 118px;
}

.checkout-method-card div,
.payment-assurance-list {
  display: grid;
  gap: 8px;
}

.checkout-method-card strong,
.checkout-method-card span,
.payment-assurance-list span {
  display: block;
}

.checkout-method-card > div > span,
.payment-assurance-list span {
  color: var(--muted);
  font-size: 13px;
}

.payment-assurance-list {
  margin-top: 12px;
}

.payment-assurance-list strong {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #ecfdf5;
  color: var(--teal);
}

.action-queue-panel,
.batch-ops-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  margin: 14px 0;
  box-shadow: var(--soft-shadow);
}

.action-queue-grid,
.batch-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.action-queue-card,
.batch-op-card {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}

.action-queue-card:hover,
.batch-op-card:hover {
  border-color: rgba(31, 111, 235, 0.42);
  box-shadow: 0 12px 26px rgba(31, 111, 235, 0.09);
}

.action-queue-card strong,
.action-queue-card small,
.batch-op-card strong,
.batch-op-card span {
  display: block;
}

.action-queue-card small,
.batch-op-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}

.action-queue-card b {
  min-width: 38px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
}

.action-queue-card.warn b { background: var(--gold); }
.action-queue-card.bad b { background: var(--red); }
.action-queue-card.good b { background: var(--green); }
.action-queue-card.info b { background: var(--teal); }

.batch-ops-panel {
  display: grid;
  gap: 12px;
}

.delegate-file-panel {
  overflow: hidden;
  padding: 0;
  border: 1px solid #cbd9eb;
  box-shadow: 0 12px 32px rgba(15, 39, 71, 0.1);
}

.delegate-command-drawer {
  border-top: 4px solid var(--blue);
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.delegate-file-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 39, 71, 0.98), rgba(31, 111, 235, 0.88)),
    linear-gradient(90deg, #0f2747, #1f6feb);
}

.delegate-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 18px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.delegate-file-title {
  min-width: 0;
}

.delegate-file-title .view-kicker,
.delegate-file-title p {
  color: rgba(255, 255, 255, 0.78);
}

.delegate-file-title p {
  margin: 0;
  font-size: 13px;
}

.delegate-file-title h2 {
  margin: 2px 0;
  color: #fff;
  font-size: 24px;
}

.delegate-file-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.delegate-file-tags > span:not(.tag) {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 850;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.delegate-file-actions {
  justify-content: flex-end;
  max-width: 520px;
}

.delegate-file-actions .btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.delegate-file-panel .delegate-profile-strip {
  margin: 0;
  border-width: 0 0 1px;
  border-radius: 0;
  padding: 12px 18px;
}

.delegate-file-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0 14px 14px;
}

.delegate-file-rail,
.delegate-file-main {
  display: grid;
  align-content: start;
  gap: 12px;
}

.delegate-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.delegate-summary-grid > div {
  min-width: 0;
  padding: 11px 14px;
  border-right: 1px solid var(--line);
}

.delegate-summary-grid > div:last-child {
  border-right: 0;
}

.delegate-summary-grid strong,
.delegate-summary-grid span {
  display: block;
  overflow-wrap: anywhere;
}

.delegate-summary-grid strong {
  margin-bottom: 4px;
  color: #40506a;
  font-size: 10px;
  text-transform: uppercase;
}

.delegate-summary-grid span {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
}

.delegate-readiness-card,
.delegate-rail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.delegate-readiness-card > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.delegate-readiness-card span {
  color: #40506a;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.delegate-readiness-card strong {
  color: var(--navy);
  font-size: 34px;
}

.delegate-readiness-bar {
  height: 9px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e8eef7;
}

.delegate-readiness-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.delegate-readiness-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.delegate-readiness-list span {
  border-radius: 999px;
  padding: 5px 8px;
  text-transform: none;
  font-size: 11px;
}

.delegate-readiness-list .ready {
  color: #17633a;
  background: #e8f8ee;
}

.delegate-readiness-list .pending {
  color: #8a5a00;
  background: #fff3d7;
}

.delegate-rail-card h4 {
  margin: 0 0 10px;
  color: var(--navy);
}

.delegate-document-stack {
  display: grid;
  gap: 8px;
}

.delegate-document-stack .btn {
  justify-content: center;
  width: 100%;
}

.delegate-document-stack span {
  display: block;
  border: 1px dashed #c8d5e7;
  border-radius: 8px;
  padding: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.delegate-profile-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
  margin-bottom: 12px;
}

.delegate-profile-strip > span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 9px;
  color: #40506a;
  font-size: 12px;
  font-weight: 800;
}

.delegate-profile-grid {
  margin-bottom: 12px;
}

.delegate-detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  margin-top: 10px;
}

.delegate-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.delegate-section-head h3 {
  margin-top: 4px;
  color: var(--navy);
}

.detail-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.relevant-status-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.delegate-payment-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.delegate-payment-facts > div {
  min-width: 0;
  padding: 11px 12px;
  border-right: 1px solid var(--line);
}

.delegate-payment-facts > div:last-child {
  border-right: 0;
}

.delegate-payment-facts span,
.delegate-payment-facts strong,
.delegate-payment-facts small {
  display: block;
  overflow-wrap: anywhere;
}

.delegate-payment-facts > div > span {
  color: #40506a;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.delegate-payment-facts strong {
  margin-top: 5px;
  color: var(--navy);
  font-size: 14px;
}

.delegate-payment-facts small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.delegate-inline-status {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 10px;
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 8px 10px;
  background: #fff8e8;
  color: #755110;
  font-size: 12px;
}

.delegate-inline-status.good {
  border-left-color: var(--green);
  background: #f0fdf4;
  color: #17633a;
}

.delegate-secondary {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.delegate-secondary > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.delegate-secondary > summary span {
  color: var(--muted);
  font-weight: 750;
}

.delegate-secondary[open] > summary {
  margin-bottom: 10px;
}

.delegate-secondary .delegate-timeline,
.delegate-secondary .audit-list {
  max-height: 360px;
  overflow: auto;
}

.delegate-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.delegate-history-summary span {
  min-width: 0;
  padding: 10px 12px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.delegate-history-summary strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 13px;
}

.compact-audit-item {
  padding: 9px 10px;
}

.operational-file-page {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.operational-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.operational-breadcrumb span,
.operational-breadcrumb strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.operational-breadcrumb strong {
  color: var(--navy);
}

.operational-file-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.operational-file-header .delegate-avatar {
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.operational-file-identity {
  min-width: 0;
}

.operational-file-identity h1 {
  margin: 2px 0 3px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.operational-file-identity p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.operational-file-identity .delegate-file-tags > span:not(.tag) {
  color: var(--navy);
  background: #edf4ff;
  border-color: #cadcf5;
}

.operational-header-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.operational-header-facts > div {
  min-width: 0;
  padding: 10px;
  background: #f8fbff;
}

.operational-header-facts dt,
.operational-fact-grid dt {
  margin: 0 0 4px;
  color: #53657d;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.operational-header-facts dd,
.operational-fact-grid dd {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.operational-action-bar {
  position: sticky;
  top: 70px;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border: 1px solid #cbd9eb;
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(248, 251, 255, 0.97);
  box-shadow: 0 8px 22px rgba(15, 39, 71, 0.08);
  backdrop-filter: blur(10px);
}

.operational-action-bar > div:first-child {
  min-width: 0;
}

.operational-action-bar > div:first-child strong,
.operational-action-bar > div:first-child span {
  display: block;
  overflow-wrap: anywhere;
}

.operational-action-bar > div:first-child strong {
  color: var(--navy);
  font-size: 13px;
}

.operational-action-bar > div:first-child span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.operational-tabs {
  display: flex;
  gap: 0;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.operational-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 3px solid transparent;
  padding: 9px 13px 7px;
  color: #53657d;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.operational-tabs button:last-child {
  border-right: 0;
}

.operational-tabs button:hover {
  background: #f6f9fd;
}

.operational-tabs button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: #f4f8ff;
}

.operational-tab-content {
  display: grid;
  gap: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 18px;
  background: #fff;
}

.operational-section {
  min-width: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.operational-section:last-child {
  border-bottom: 0;
}

.operational-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.operational-section-head h2 {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 17px;
}

.operational-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.operational-overview-grid .operational-section {
  border-bottom: 0;
}

.readiness-score {
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
}

.readiness-track {
  height: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e6edf6;
}

.readiness-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.readiness-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.readiness-checks > div {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
  background: #f8fbff;
}

.readiness-checks > div > span {
  grid-row: 1 / span 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.readiness-checks > div.ready > span {
  background: var(--green);
}

.readiness-checks strong,
.readiness-checks small {
  overflow-wrap: anywhere;
}

.readiness-checks strong {
  color: var(--navy);
  font-size: 12px;
}

.readiness-checks small {
  color: var(--muted);
  font-size: 11px;
}

.operational-action-list {
  display: grid;
  gap: 8px;
}

.operational-action-list button {
  display: grid;
  gap: 3px;
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: left;
  color: var(--ink);
  background: #f8fbff;
  font: inherit;
  cursor: pointer;
}

.operational-action-list button.warn { border-left-color: var(--gold); background: #fffaf0; }
.operational-action-list button.bad { border-left-color: var(--red); background: #fff5f5; }
.operational-action-list button.good { border-left-color: var(--green); background: #f2fbf5; }
.operational-action-list button.info { border-left-color: var(--blue); }

.operational-action-list strong {
  color: var(--navy);
  font-size: 12px;
}

.operational-action-list span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.operational-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.operational-fact-grid > div {
  min-width: 0;
  padding: 11px 12px;
  background: #f8fbff;
}

.operational-fact-grid dd {
  font-size: 13px;
  font-weight: 750;
}

.operational-fact-grid.compact-counts dd {
  color: var(--navy);
  font-size: 22px;
}

.mono-value {
  font-family: Consolas, Menlo, monospace;
  font-size: 11px !important;
}

.operational-timeline {
  display: grid;
}

.operational-timeline-row {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.operational-timeline-row:last-child {
  border-bottom: 0;
}

.timeline-marker {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.1);
}

.operational-timeline-row.good .timeline-marker { background: var(--green); box-shadow: 0 0 0 4px rgba(47, 138, 76, 0.1); }
.operational-timeline-row.warn .timeline-marker { background: var(--gold); box-shadow: 0 0 0 4px rgba(185, 129, 24, 0.12); }
.operational-timeline-row.bad .timeline-marker { background: var(--red); box-shadow: 0 0 0 4px rgba(184, 68, 68, 0.1); }

.operational-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.operational-row-head strong {
  min-width: 0;
  color: var(--navy);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.operational-timeline-row small,
.operational-timeline-row p,
.access-record p {
  display: block;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.operational-empty {
  display: grid;
  gap: 4px;
  border: 1px dashed #c4d2e4;
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: #fbfdff;
}

.operational-empty strong {
  color: var(--navy);
  font-size: 13px;
}

.operational-empty span {
  font-size: 12px;
}

.access-record-grid,
.service-record-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.access-record,
.service-record {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbff;
}

.access-record.good,
.service-record.good {
  border-color: #c7e8d2;
  background: #f2fbf5;
}

.access-record.warn {
  border-color: #ead69d;
  background: #fffaf0;
}

.access-record.bad,
.service-record.bad {
  border-color: #edc7c7;
  background: #fff5f5;
}

.access-record .btn {
  margin-top: 10px;
}

.service-record {
  display: grid;
  gap: 4px;
  min-height: 104px;
  align-content: start;
}

.service-record > span {
  color: #53657d;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-record > strong {
  color: var(--navy);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.service-record > small {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.service-edit-form {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(220px, 1.4fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.service-edit-form label,
.service-edit-form small {
  display: block;
}

.service-edit-form label {
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.service-edit-form small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.service-edit-form input {
  min-width: 0;
}

.operational-loading {
  display: grid;
  gap: 8px;
  width: min(620px, 100%);
  margin: 48px auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  color: var(--navy);
  background: #fff;
  text-align: center;
}

.operational-loading small {
  color: var(--muted);
}

.loading-bar {
  display: block;
  width: 100%;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) 0 42%, #dfe8f4 42% 100%);
}

.lookup-panel-compact {
  display: flex;
  align-items: end;
  gap: 10px;
  max-width: 720px;
}

.lookup-panel-compact .field {
  flex: 1;
}

.card-entry-workspace {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 18px;
}

.card-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.card-entry-head h2 {
  margin: 3px 0;
  color: var(--navy);
  font-size: 22px;
}

.card-entry-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card-entry-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.card-entry-summary span {
  min-width: 0;
  padding: 10px 12px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.card-entry-summary strong {
  display: block;
  margin-bottom: 3px;
  color: var(--navy);
  font-size: 13px;
}

.card-entry-workspace .card-express-panel {
  margin-top: 14px;
}

.detail-status-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f8fbff;
}

.detail-status-card.good { background: #f0fdf4; border-color: #c9ecd4; }
.detail-status-card.warn { background: #fff8e8; border-color: #ead69d; }
.detail-status-card.bad { background: #fff1f1; border-color: #efc8c8; }

.detail-status-card strong,
.detail-status-card span,
.detail-status-card small {
  display: block;
  overflow-wrap: anywhere;
}

.detail-status-card strong {
  color: #40506a;
  font-size: 11px;
  text-transform: uppercase;
}

.detail-status-card span {
  margin-top: 6px;
  font-weight: 900;
}

.detail-status-card small {
  margin-top: 4px;
  color: var(--muted);
}

.delegate-subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 8px;
}

.delegate-subsection-head h4 {
  margin: 0;
  color: var(--navy);
  font-size: 14px;
}

.delegate-subsection-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.delegate-timeline {
  display: grid;
  gap: 8px;
}

.delegate-timeline-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fbff;
}

.delegate-timeline-item > span {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.12);
}

.delegate-timeline-item.good > span {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 138, 76, 0.12);
}

.delegate-timeline-item.warn > span {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 129, 24, 0.15);
}

.delegate-timeline-item.bad > span {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(184, 68, 68, 0.12);
}

.delegate-timeline-item strong,
.delegate-timeline-item small,
.delegate-timeline-item p {
  display: block;
  overflow-wrap: anywhere;
}

.delegate-timeline-item strong {
  color: var(--navy);
  font-size: 13px;
}

.delegate-timeline-item small,
.delegate-timeline-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.delegate-empty-state {
  border: 1px dashed #c8d5e7;
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: #fbfdff;
  font-size: 13px;
}

.bulk-print-output {
  margin-top: 14px;
  border-radius: 8px;
}

.bulk-print-sheet {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.bulk-print-sheet.parking {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.bulk-print-sheet.service-list {
  display: block;
}

.service-print-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.service-print-list header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.service-print-list header span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-weight: 800;
}

.bulk-print-toolbar {
  margin-bottom: 0;
}

.delegate-detail-panel {
  margin-top: 14px;
  border-radius: 8px;
}

.delegate-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.detail-grid {
  display: grid;
  gap: 10px;
}

.compact-detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.detail-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  min-width: 0;
}

.detail-grid strong {
  display: block;
  color: #40506a;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.detail-grid span {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.event-resources-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f8fbff;
  margin-top: 14px;
}

.resource-list {
  display: grid;
  gap: 8px;
}

.resource-list.compact {
  margin-top: 4px;
}

.resource-item {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(150px, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.resource-item span,
.resource-item a {
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1040px;
}

table.compact-table {
  min-width: 640px;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  vertical-align: top;
}

th:first-child,
td:first-child {
  min-width: 118px;
}

th:nth-child(2),
td:nth-child(2) {
  min-width: 210px;
}

th {
  background: #f5f8fc;
  color: #40506a;
  font-size: 12px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.search {
  min-width: 260px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.notice {
  border-left: 4px solid var(--teal);
  background: #effaf8;
  padding: 12px;
  border-radius: 8px;
  color: #1c5952;
}

.warning {
  border-left-color: var(--gold);
  background: #fff8e7;
  color: #755110;
}

.gateway-return-notice {
  border-left-color: var(--green);
  box-shadow: var(--soft-shadow);
}

.gateway-return-notice.warning {
  border-left-color: var(--gold);
}

.danger-note {
  border-left-color: var(--red);
  background: #fff1f1;
  color: #8d3030;
}

.receipt {
  display: grid;
  gap: 12px;
}

.receipt-document {
  width: min(100%, 760px);
  background: #fff;
  color: #111827;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 42px 48px;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.06);
}

.receipt-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 70px;
}

.receipt-brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.receipt-brand-mark img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.receipt-brand-mark strong,
.receipt-org strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.receipt-brand-mark span,
.receipt-org span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.receipt-org {
  min-width: 210px;
  text-align: right;
}

.receipt-org .tag {
  margin-top: 8px;
}

.receipt-title {
  margin: 0 0 70px;
  text-align: center;
  color: #000;
  font-size: 31px;
  line-height: 1.1;
}

.receipt-greeting,
.receipt-copy {
  margin: 0 0 14px;
  color: #111827;
  font-size: 13px;
  line-height: 1.35;
}

.receipt-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 0;
  align-items: stretch;
  margin: 18px 0;
}

.receipt-table {
  min-width: 0;
  border-collapse: collapse;
}

.receipt-table th,
.receipt-table td {
  border: 1px solid #cfd5df;
  padding: 7px 9px;
  color: #000;
  font-size: 13px;
  text-transform: none;
}

.receipt-table th {
  width: 42%;
  background: #f2f2f2;
  font-weight: 800;
}

.receipt-table tr:nth-child(even) th,
.receipt-table tr:nth-child(even) td {
  background: #ececec;
}

.receipt-access-card {
  border: 1px solid #cfd5df;
  border-left: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  background: #fff;
}

.receipt-access-card strong {
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.receipt-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
  margin: 18px 0;
  font-size: 13px;
}

.receipt-signoff {
  display: grid;
  justify-content: end;
  gap: 8px;
  margin-top: 92px;
  text-align: center;
  font-size: 13px;
}

.receipt-signoff strong {
  min-width: 260px;
  border-top: 2px solid #111827;
  padding-top: 8px;
}

.ticket {
  border: 1px dashed #8aa1bc;
  border-radius: 8px;
  padding: 14px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ticket-code {
  font-family: Consolas, Menlo, monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  word-break: break-word;
}

.receipt-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 800;
  margin-top: 6px;
}

.receipt-qr {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
}

.name-tag-print {
  display: grid;
  justify-content: start;
}

.name-tag {
  width: min(100%, 390px);
  min-height: 248px;
  border: 1px solid #9cafc6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.08);
}

.name-tag-band {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--navy);
  color: #fff;
}

.name-tag-band span {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.name-tag-kicker {
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  opacity: 0.78;
}

.name-tag-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 12px;
  align-items: center;
  padding: 18px 14px;
}

.name-tag-name {
  font-size: 26px;
  line-height: 1.08;
  font-weight: 900;
  color: var(--navy);
  overflow-wrap: anywhere;
}

.name-tag-meta {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.name-tag-code {
  min-height: 104px;
  border: 1px dashed #8aa1bc;
  border-radius: 8px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 8px;
  text-align: center;
  background: #f8fbff;
}

.name-tag-code img {
  width: 66px;
  height: 66px;
  margin: 0 auto;
  object-fit: contain;
}

.name-tag-code span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
}

.name-tag-code strong {
  color: var(--ink);
  font-family: Consolas, Menlo, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.name-tag-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: #33425b;
  font-size: 12px;
  font-weight: 800;
}

.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.step {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.step.active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 8px;
  z-index: 20;
}

.toast {
  max-width: 360px;
  background: #172033;
  color: #fff;
  padding: 12px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.audit-list {
  display: grid;
  gap: 8px;
}

.audit-item {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.muted {
  color: var(--muted);
}

.split-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
}

.stat-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.bar-track {
  width: 100%;
  height: 8px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.bar-fill {
  height: 8px;
  border-radius: inherit;
}

.template-panel {
  overflow: auto;
}

.badge-sheet {
  width: min(100%, 720px);
  aspect-ratio: 210 / 148;
  background: #fff;
  border: 1px dashed #9aaeca;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  overflow: hidden;
}

.badge-sheet > section {
  padding: 28px 34px;
  border-left: 1px dashed #9aaeca;
}

.badge-sheet > section:first-child {
  border-left: 0;
}

.badge-sheet-info {
  color: #5d6b82;
}

.badge-sheet-info h2 {
  margin: 12px 0 14px;
  color: #07142b;
  font-size: 23px;
}

.badge-sheet-info h3 {
  margin: 16px 0 8px;
  color: #07142b;
  font-size: 15px;
}

.badge-sheet-info p {
  margin: 0;
  max-width: 300px;
  font-size: 15px;
  line-height: 1.38;
}

.badge-sheet-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 9px;
  padding-bottom: 0;
}

.badge-sheet-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  margin-top: 2px;
}

.badge-sheet-main h2 {
  width: min(100%, 260px);
  color: #07142b;
  font-size: 28px;
  line-height: 1.18;
  margin: 10px 0 0;
  overflow-wrap: anywhere;
}

.badge-sheet-main h3 {
  color: #07142b;
  font-size: 16px;
  margin: 0;
}

.badge-sheet-main p {
  color: #5d6b82;
  font-size: 15px;
  margin: 4px 0 3px;
}

.badge-sheet-qr {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.badge-sheet-reg {
  color: #07142b;
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
}

.badge-sheet-band {
  width: calc(100% + 68px);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto -36px 0;
  background: #e93492;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  text-transform: uppercase;
}

.parking-disk-template {
  width: min(100%, 420px);
  min-height: 260px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  display: grid;
  gap: 16px;
  padding: 22px;
  margin-top: 12px;
}

.parking-disk-code {
  display: flex;
  align-items: center;
  gap: 16px;
}

.parking-disk-code img {
  width: 98px;
  height: 98px;
  object-fit: contain;
}

@media (max-width: 1060px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 68px;
    z-index: 9;
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 10px;
  }

  .nav-section {
    display: none;
  }

  .nav-button {
    width: auto;
    white-space: nowrap;
  }

  .grid.cards-4,
  .grid.three,
  .grid.two,
  .split-panel,
  .guided-registration-workspace,
  .conference-grid,
  .event-catalog-shell,
  .staff-login-shell,
  .staff-role-overview,
  .staff-workspace-hero,
  .checkin-workspace-hero,
  .checkin-desk-grid,
  .portal-action-grid,
  .report-card-grid,
  .dashboard-grid,
  .compact-detail-grid,
  .delegate-file-layout,
  .public-hero,
  .portal-login-shell {
    grid-template-columns: 1fr;
  }

  .action-queue-grid,
  .batch-ops-grid,
  .detail-status-grid,
  .delegate-summary-grid,
  .delegate-payment-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-portal-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delegate-summary-grid > div:nth-child(2),
  .delegate-payment-facts > div:nth-child(2) {
    border-right: 0;
  }

  .delegate-summary-grid > div:nth-child(-n+2),
  .delegate-payment-facts > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .registration-step-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-sidebar {
    position: static;
  }

  .delegate-detail-head,
  .delegate-file-hero,
  .resource-item {
    grid-template-columns: 1fr;
  }

  .delegate-detail-head,
  .delegate-file-actions {
    flex-direction: column;
  }

  .delegate-file-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .event-catalog-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-portal-strip,
  .selected-conference,
  .portal-home-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .public-hero h1,
  .staff-workspace-hero h1,
  .checkin-workspace-hero h1,
  .portal-home-hero h1,
  .portal-login-copy h1 {
    font-size: 36px;
  }

  .operational-file-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .operational-header-facts {
    grid-column: 1 / -1;
  }

  .operational-overview-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .operational-overview-grid .operational-section:first-child {
    border-bottom: 1px solid var(--line);
  }

  .operational-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operational-action-bar {
    position: static;
  }
}

@media (max-width: 720px) {
  .service-edit-form {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .topbar,
  .view-header,
  .event-row {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar {
    max-width: 100vw;
    padding-left: 14px;
    padding-right: 14px;
    overflow-x: hidden;
  }

  .brand {
    min-width: 0;
  }

  .brand-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .top-actions .btn {
    width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }

  .operational-breadcrumb {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .operational-file-header {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .operational-file-header .delegate-avatar {
    width: 46px;
    height: 46px;
  }

  .operational-file-identity h1 {
    font-size: 23px;
  }

  .operational-header-facts,
  .operational-fact-grid,
  .readiness-checks {
    grid-template-columns: 1fr;
  }

  .operational-action-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .operational-action-bar .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operational-action-bar .btn {
    width: 100%;
    min-width: 0;
  }

  .operational-tab-content {
    padding: 0 12px;
  }

  .operational-section-head,
  .operational-row-head {
    align-items: stretch;
    flex-direction: column;
  }

  .main {
    padding: 14px;
  }

  .layout,
  .public-layout .main {
    max-width: 100%;
    overflow-x: hidden;
  }

  .event-home-hero,
  .staff-workspace-hero,
  .checkin-workspace-hero,
  .event-catalog-shell,
  .event-catalog-main,
  .event-catalog-card,
  .catalog-side-card,
  .catalog-calendar,
  .conference-tabs {
    width: 100%;
    max-width: calc(100vw - 56px);
    margin-left: auto;
    margin-right: auto;
  }

  .form-grid,
  .form-grid.three,
  .choice-row,
  .action-queue-grid,
  .batch-ops-grid,
  .detail-status-grid,
  .delegate-summary-grid,
  .delegate-payment-facts,
  .delegate-history-summary,
  .card-entry-summary,
  .registration-step-rail,
  .checkin-station-grid,
  .conference-meta,
  .conference-card-top,
  .event-catalog-grid,
  .event-catalog-sidebar {
    grid-template-columns: 1fr;
  }

  .delegate-summary-grid > div,
  .delegate-payment-facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .delegate-summary-grid > div:last-child,
  .delegate-payment-facts > div:last-child {
    border-bottom: 0;
  }

  .delegate-inline-status,
  .lookup-panel-compact,
  .card-entry-head {
    align-items: stretch;
    flex-direction: column;
  }

  .compact-portal-actions {
    grid-template-columns: 1fr;
  }

  .event-home-hero,
  .staff-workspace-hero,
  .checkin-workspace-hero {
    margin-top: 0;
    margin-bottom: 18px;
    padding: 28px 16px 32px;
    border-radius: 16px;
  }

  .event-home-hero h1,
  .staff-workspace-hero h1,
  .checkin-workspace-hero h1 {
    max-width: 100%;
    font-size: 28px;
    overflow-wrap: break-word;
  }

  .event-home-hero p,
  .event-home-hero-inner,
  .staff-workspace-hero p,
  .staff-workspace-copy,
  .checkin-workspace-hero p {
    max-width: 100%;
  }

  .event-catalog-head,
  .event-catalog-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .event-catalog-stats {
    justify-content: flex-start;
  }

  .conference-tabs {
    width: 100%;
    border-radius: 14px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .conference-tabs button {
    white-space: nowrap;
  }

  .checkout-method-card,
  .delegate-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .action-queue-card,
  .batch-op-card {
    min-height: 76px;
  }

  .event-catalog-media {
    min-height: 150px;
  }

  .staff-login-shell {
    padding: 16px;
    border-radius: 16px;
  }

  .staff-login-shell,
  .staff-role-overview,
  .staff-login-footer-card {
    width: calc(100vw - 84px);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }

  .staff-login-card,
  .staff-login-hero-panel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .staff-login-hero-panel,
  .staff-login-card {
    padding: 18px;
  }

  .staff-login-card-head {
    flex-direction: column;
  }

  .staff-login-hero-panel h1 {
    font-size: 31px;
  }

  .staff-login-hero-panel p,
  .staff-login-copyline,
  .staff-login-note,
  .staff-role-overview h2,
  .staff-role-overview p,
  .staff-role-card span {
    max-width: 255px;
    overflow-wrap: anywhere;
  }

  .staff-login-hero-panel .portal-login-points span {
    padding: 7px 9px;
    font-size: 11px;
  }

  .staff-role-grid {
    grid-template-columns: 1fr;
  }

  .staff-login-footer-card {
    align-items: stretch;
    flex-direction: column;
  }

  .registration-card .form-grid.category-grid,
  .registration-card .form-grid.service-grid,
  .registration-card .choice-row.attendance-choice-row,
  .registration-card .choice-row.payment-choice-row,
  .registration-card .choice-row.payment-mode-grid {
    grid-template-columns: 1fr;
  }

  .public-hero,
  .staff-workspace-hero,
  .checkin-workspace-hero,
  .portal-home-hero,
  .portal-login-shell,
  .registration-hero {
    padding: 18px;
  }

  .registration-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .registration-hero h1 {
    font-size: 34px;
  }

  .registration-hero-meta {
    justify-items: stretch;
  }

  .form-section-head {
    flex-direction: column;
    gap: 8px;
  }

  .form-section-head p {
    max-width: none;
  }

  .public-hero h1,
  .staff-workspace-hero h1,
  .checkin-workspace-hero h1,
  .portal-home-hero h1,
  .portal-login-copy h1 {
    font-size: 30px;
  }

  .ticket {
    align-items: flex-start;
    flex-direction: column;
  }

  .receipt-document {
    padding: 24px 18px;
  }

  .receipt-document-head,
  .receipt-summary {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .receipt-document-head {
    margin-bottom: 34px;
  }

  .receipt-title {
    margin-bottom: 34px;
  }

  .receipt-org {
    min-width: 0;
    text-align: left;
  }

  .receipt-access-card {
    border-left: 1px solid #cfd5df;
    border-top: 0;
  }

  .receipt-detail-grid {
    grid-template-columns: 1fr;
  }

  .badge-sheet {
    min-width: 640px;
  }

  .progress {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 23px;
  }
}

/* Product theme adapted to Todays' Woman conference operations. */
@font-face {
  font-family: "Baloo Paaji 2";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/baloo-paaji-2-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo Paaji 2";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/baloo-paaji-2-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo Paaji 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/baloo-paaji-2-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo Paaji 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/baloo-paaji-2-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Baloo Paaji 2";
  font-style: normal;
  font-weight: 800 950;
  font-display: swap;
  src: url("/assets/fonts/baloo-paaji-2-latin-800-normal.woff2") format("woff2");
}

:root {
  --ink: #111827;
  --muted: #667085;
  --line: #dfe2e8;
  --soft: #f5f5f5;
  --panel: #ffffff;
  --navy: #252c65;
  --blue: #252c65;
  --teal: #39427f;
  --green: #12994c;
  --gold: #f2b84b;
  --red: #b93d45;
  --rose: #ef494f;
  --shadow: 0 14px 34px rgba(17, 24, 39, 0.09);
  --soft-shadow: 0 2px 8px rgba(17, 24, 39, 0.055);
}

body {
  min-width: 320px;
  font-family: "Baloo Paaji 2", system-ui, sans-serif;
  color: var(--ink);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  letter-spacing: 0;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(37, 44, 101, 0.22);
  outline-offset: 2px;
}

.announcement-stack {
  color: #fff;
}

.announcement {
  min-height: 43px;
  padding: 7px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.announcement-primary {
  background: #252c65;
}

.announcement-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #343e94;
}

.announcement p {
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
}

.announcement-action {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  padding: 4px 13px;
  color: var(--navy);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.topbar {
  min-height: 80px;
  padding: 10px max(24px, calc((100vw - 1248px) / 2));
  position: relative;
  top: auto;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  background: #fff;
  backdrop-filter: none;
}

.staff-topbar {
  min-height: 68px;
  padding-inline: 20px;
}

.brand {
  min-width: 0;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-color: #e4e6ea;
  box-shadow: none;
}

.brand-title {
  color: var(--navy);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
}

.brand-title span {
  color: var(--rose);
}

.brand-subtitle {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.public-topbar .brand-subtitle {
  display: none;
}

.top-actions {
  gap: 4px;
}

.top-actions .btn.small {
  min-height: 40px;
  padding: 7px 11px;
  font-size: 13px;
}

.staff-access-button {
  min-width: 104px;
}

.staff-role-button {
  min-width: 76px;
  border-color: var(--navy);
  color: var(--navy);
  background: #fff;
}

.staff-role-button:hover {
  border-color: var(--navy);
  box-shadow: none;
}

.layout {
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.layout.public-layout {
  display: block;
  min-height: auto;
}

.sidebar {
  padding: 16px 11px;
  border-right: 0;
  color: #fff;
  background: var(--navy);
}

.nav-section {
  margin: 17px 10px 7px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 700;
}

.nav-button {
  min-height: 40px;
  border-radius: 6px;
  padding: 9px 11px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 600;
}

.nav-button:hover,
.nav-button.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-button.active {
  box-shadow: inset 3px 0 0 var(--rose);
}

.nav-dot {
  width: 7px;
  height: 7px;
  background: var(--rose);
}

.main {
  padding: 22px;
}

.public-layout .main {
  width: min(1248px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

.view-header {
  gap: 16px;
  margin-bottom: 16px;
}

.view-header h1 {
  color: var(--navy);
  font-size: 28px;
  font-weight: 800;
}

.view-header p {
  margin: 5px 0 0;
  font-size: 14px;
}

.view-kicker,
.catalog-sidebar-title,
.portal-action-kicker {
  color: var(--rose);
  font-size: 11px;
  font-weight: 800;
}

.panel,
.metric-card,
.event-card,
.action-queue-panel,
.batch-ops-panel,
.checkin-scan-panel,
.checkin-preview-panel,
.report-section {
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.panel {
  padding: 16px;
}

.metric-card,
.dashboard-compact .metric-card {
  border-top: 3px solid rgba(37, 44, 101, 0.42);
  border-radius: 8px;
  padding: 13px 14px;
}

.metric-label {
  font-size: 11px;
}

.metric-value,
.dashboard-compact .metric-value {
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.metric-note {
  font-size: 11px;
}

.btn {
  min-height: 38px;
  border-radius: 6px;
  padding: 8px 13px;
  font-weight: 700;
  box-shadow: none;
}

.btn:hover {
  border-color: #aeb4c0;
  transform: none;
}

.btn.primary {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
  box-shadow: none;
}

.btn.primary:hover {
  border-color: #343e94;
  background: #343e94;
}

.btn.ghost {
  color: #303846;
  background: #fff;
}

.btn.small {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}

.field input,
.field select,
.field textarea,
.search {
  min-height: 42px;
  border-radius: 6px;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.search:focus {
  border-color: var(--navy);
  outline-color: rgba(37, 44, 101, 0.18);
}

.choice,
.checkout-method-card,
.payment-assurance-list div,
.action-queue-card,
.batch-op-card,
.dashboard-action-card,
.recent-registration-item {
  border-radius: 8px;
  box-shadow: none;
}

.choice:has(input:checked) {
  border-color: var(--navy);
  background: #f2f3fb;
}

.filter-chip {
  min-height: 34px;
  border-radius: 17px;
  color: #485160;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--navy);
  color: var(--navy);
  background: #f1f2fa;
}

.event-home-hero {
  min-height: 700px;
  margin: 0;
  padding: 82px 0 72px;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(560px, 1.08fr);
  place-items: center stretch;
  gap: 68px;
  color: var(--ink);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.event-home-hero-inner {
  width: 100%;
  text-align: left;
  justify-items: start;
  align-content: center;
}


.event-home-mark,
.staff-workspace-copy .event-home-mark,
.staff-login-hero-panel .event-home-mark {
  width: 46px;
  height: 46px;
  margin: 0;
  border: 1px solid #e2e4e9;
  background: #fff;
}

.event-home-mark img {
  width: 38px;
  height: 38px;
}

.event-home-hero .view-kicker {
  margin-bottom: 16px;
  color: #667085;
  font-size: 15px;
  text-transform: none;
}

.event-home-hero h1 {
  max-width: 610px;
  margin: 0;
  color: var(--navy);
  font-size: 60px;
  font-weight: 800;
  line-height: 0.99;
}

.event-home-hero h2 {
  max-width: 570px;
  margin: 13px 0 20px;
  color: var(--rose);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.12;
}

.event-home-hero p {
  max-width: 575px;
  margin: 0;
  color: #505a69;
  font-size: 18px;
  line-height: 1.55;
}

.attendance-row {
  margin-top: 24px;
}

.attendance-row > span {
  display: block;
  margin-bottom: 7px;
  color: #7a8491;
  font-size: 14px;
}

.attendance-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.attendance-row > div > span {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid #e1e4e9;
  border-radius: 5px;
  color: #273142;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
  font-size: 13px;
  font-weight: 700;
}

.event-home-trust {
  margin-top: 50px;
  display: grid;
  gap: 11px;
  color: #5d6674;
  font-size: 14px;
}

.event-home-trust span {
  position: relative;
  padding-left: 18px;
}

.event-home-trust span::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  transform: translateY(-50%);
}

.event-home-discovery {
  width: 100%;
  min-width: 0;
}

.event-search-panel {
  border-radius: 8px;
  padding: 17px;
  color: #fff;
  background: var(--navy);
}

.event-search-panel h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
}

.event-search-field {
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 8px;
  display: grid;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.event-search-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.event-search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-size: 16px;
}

.event-search-field input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.conference-tabs {
  min-height: 0;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
}

.conference-tabs::-webkit-scrollbar {
  display: none;
}

.conference-tabs button {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 5px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}

.conference-tabs button:hover,
.conference-tabs button.active {
  border-color: var(--gold);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.event-catalog-stats {
  margin: 12px 0;
  justify-content: flex-start;
}

.event-catalog-stats span {
  border-radius: 6px;
  padding: 5px 8px;
  color: #667085;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
}

.event-catalog-grid,
.event-catalog-grid.single-result {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.event-catalog-grid.single-result {
  grid-template-columns: minmax(0, 1fr);
}

.event-carousel {
  width: 100%;
  min-width: 0;
}

.event-carousel-track {
  width: 100%;
  min-height: 232px;
}

.event-carousel-slide {
  width: 100%;
  min-height: 232px;
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
  animation: event-carousel-in 220ms ease-out;
}

.event-carousel-slide[hidden],
.event-carousel-dot[hidden],
.event-carousel-track[hidden] {
  display: none !important;
}

.event-carousel-controls {
  min-height: 42px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.event-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.event-carousel-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border: 1px solid #aab2c0;
  border-radius: 50%;
  padding: 0;
  background: #fff;
  box-shadow: none;
}

.event-carousel-dot:hover,
.event-carousel-dot:focus-visible,
.event-carousel-dot.is-active {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 0 0 3px rgba(44, 52, 116, 0.12);
}

.event-carousel-counter {
  min-width: 38px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

@keyframes event-carousel-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-carousel-slide {
    animation: none;
  }
}

.event-catalog-card {
  overflow: hidden;
  border: 1px solid #dde1e7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.event-catalog-card:hover {
  border-color: #b6bdd0;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.event-catalog-grid.single-result .event-catalog-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.48fr) minmax(0, 1fr);
}

.event-catalog-media {
  min-height: 132px;
  background: #e9ebf1;
}

.event-catalog-grid.single-result .event-catalog-media {
  min-height: 232px;
}

.event-catalog-media::before {
  display: none;
}

.event-catalog-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

.event-catalog-media span {
  left: 12px;
  bottom: 11px;
  border-radius: 5px;
  padding: 5px 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  font-size: 10px;
  font-weight: 800;
}

.event-catalog-body {
  padding: 14px;
}

.event-catalog-title-row h3 {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
}

.event-catalog-title-row strong {
  color: var(--rose);
  font-size: 12px;
}

.event-catalog-meta {
  margin-top: 8px;
  color: #697386;
  font-size: 12px;
}

.event-catalog-body p {
  margin-top: 9px;
  font-size: 12px;
  line-height: 1.4;
}

.event-catalog-actions {
  margin-top: 12px;
}

.event-search-empty {
  grid-column: 1 / -1;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--muted);
  background: #fff;
}

.event-search-empty strong,
.event-search-empty span {
  display: block;
}

.event-search-empty strong {
  color: var(--ink);
}

.checkout-progress {
  margin: 0 22px 22px;
  padding: 14px 16px;
  border: 1px solid #cfd5f2;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.45fr);
  align-items: center;
  gap: 18px;
  color: #3f4858;
  background: #f7f8ff;
}

.checkout-progress[hidden] {
  display: none !important;
}

.checkout-progress strong,
.checkout-progress span {
  display: block;
}

.checkout-progress strong {
  color: var(--navy);
}

.checkout-progress span {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
}

.checkout-progress progress {
  width: 100%;
  height: 8px;
  accent-color: var(--navy);
}

.public-support-section {
  padding: 58px 0 76px;
  border-top: 1px solid var(--line);
}

.public-support-heading {
  max-width: 660px;
  margin-bottom: 22px;
}

.public-support-heading h2 {
  margin-top: 5px;
  color: var(--navy);
  font-size: 30px;
}

.public-support-heading p {
  margin: 8px 0 0;
}

.public-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-side-card,
.catalog-calendar {
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.catalog-side-card h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-size: 18px;
}

.catalog-side-card p {
  min-height: 58px;
  color: var(--muted);
  line-height: 1.45;
}

.staff-workspace-hero,
.checkin-workspace-hero {
  min-height: 218px;
  margin: -22px -22px 20px;
  padding: 28px;
  border-radius: 0;
  color: #fff;
  background: var(--navy);
  box-shadow: none;
}

.secretary-workspace,
.admin-workspace,
.checkin-workspace-hero {
  background: var(--navy);
}

.staff-workspace-copy .event-home-mark {
  margin-bottom: 14px;
}

.staff-workspace-hero h1,
.checkin-workspace-hero h1 {
  margin: 5px 0 7px;
  font-size: 32px;
  line-height: 1.08;
}

.staff-workspace-hero p {
  font-size: 14px;
}

.staff-workspace-hero .btn.primary {
  border-color: #fff;
  color: var(--navy);
  background: #fff;
  box-shadow: none;
}

.staff-workspace-panel {
  padding: 15px;
  border-radius: 8px;
  background: #343e94;
  box-shadow: none;
  backdrop-filter: none;
}

.workspace-stat,
.workspace-stat.large {
  border-radius: 6px;
  padding: 11px;
}

.workspace-stat.large strong {
  font-size: 34px;
}

.staff-login-shell {
  min-height: 500px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.staff-login-hero-panel {
  padding: 44px;
}

.staff-login-hero-panel h1 {
  margin: 8px 0 12px;
  font-size: 42px;
}

.staff-login-card {
  margin: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  box-shadow: none;
}

.staff-role-overview,
.staff-login-footer-card,
.staff-role-card {
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.staff-role-card.active {
  border-color: var(--navy);
  background: #f1f2fa;
  box-shadow: none;
}

.registration-hero-polished {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  box-shadow: none;
}

.sticky-payment-summary {
  border-top-color: var(--rose);
}

.registration-step span {
  color: var(--navy);
  background: #f1f2fa;
}

.registration-summary-card {
  background: #f7f7fb;
}

.section-badge {
  color: var(--rose);
  background: #fff1f2;
}

.feature-choice,
.service-card {
  border-radius: 8px;
  background: #fff;
}

.feature-choice:has(input:checked),
.service-card:has(input:checked) {
  border-color: var(--navy);
  background: #f2f3fb;
  box-shadow: none;
}

.checkout-preview {
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.delegate-file-hero {
  background: var(--navy);
}

.delegate-command-drawer {
  border-top-color: var(--rose);
  background: #fff;
}

.operational-file-header {
  border-top: 3px solid var(--rose);
  background: #fff;
}

.operational-file-header .delegate-avatar {
  background: var(--navy);
  border-color: var(--navy);
}

.operational-file-identity .delegate-file-tags > span:not(.tag) {
  border-color: #d8daea;
  color: var(--navy);
  background: #f1f2fa;
}

.operational-action-bar {
  top: 10px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--soft-shadow);
}

.operational-tabs button.active {
  border-bottom-color: var(--rose);
  color: var(--navy);
  background: #f7f7fb;
}

.operational-tab-content,
.operational-file-header,
.operational-action-bar,
.operational-tabs,
.operational-header-facts,
.operational-fact-grid,
.readiness-checks > div,
.operational-action-list button {
  border-radius: 8px;
}

.readiness-track span {
  background: var(--rose);
}

.action-queue-card b,
.action-queue-card.info b {
  background: var(--navy);
}

.dashboard-action-card:hover,
.action-queue-card:hover,
.batch-op-card:hover {
  border-color: rgba(37, 44, 101, 0.44);
  box-shadow: var(--soft-shadow);
}

.table-wrap {
  border-radius: 8px;
  box-shadow: none;
}

table thead th {
  color: var(--navy);
  background: #f2f3f7;
}

@media (max-width: 1060px) {
  .event-home-hero {
    min-height: auto;
    padding: 58px 0;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .event-home-hero-inner {
    max-width: 720px;
  }

  .event-home-trust {
    margin-top: 32px;
  }

  .public-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .announcement {
    min-height: 46px;
    padding: 8px 14px;
    gap: 8px;
  }

  .announcement p {
    font-size: 12px;
  }

  .announcement p strong {
    display: none;
  }

  .announcement-action {
    min-height: 28px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .topbar,
  .staff-topbar {
    min-height: 64px;
    padding: 9px 14px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-title {
    max-width: 164px;
    font-size: 16px;
    line-height: 1.05;
  }

  .brand-subtitle {
    display: none;
  }

  .top-actions .btn.small {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .public-topbar .top-actions .btn.ghost:first-child {
    display: none;
  }

  .public-layout .main {
    width: min(100% - 28px, 1248px);
  }

  .event-home-hero {
    padding: 34px 0 38px;
    gap: 26px;
  }


  .event-home-hero .view-kicker {
    display: none;
  }

  .event-home-hero h1 {
    font-size: 36px;
    line-height: 1;
  }

  .event-home-hero h2 {
    margin: 10px 0 14px;
    font-size: 21px;
  }

  .event-home-hero p {
    font-size: 14px;
    line-height: 1.48;
  }

  .attendance-row {
    display: none;
  }

  .event-home-trust {
    margin-top: 18px;
    gap: 0;
    font-size: 13px;
  }

  .event-home-trust span:not(:first-child) {
    display: none;
  }

  .event-catalog-grid,
  .event-catalog-grid.single-result,
  .event-catalog-grid.single-result .event-catalog-card {
    grid-template-columns: 1fr;
  }

  .event-catalog-grid.single-result .event-catalog-media {
    min-height: 180px;
  }

  .event-carousel-track,
  .event-carousel-slide {
    min-height: 0;
  }

  .event-carousel-slide {
    grid-template-columns: 1fr;
  }

  .event-carousel-slide .event-catalog-media {
    min-height: 180px;
  }

  .event-carousel-controls {
    justify-content: space-between;
  }

  .event-carousel-step {
    padding-inline: 10px;
  }

  .checkout-progress {
    grid-template-columns: 1fr;
  }

  .public-support-section {
    padding: 44px 0 56px;
  }

  .public-support-heading h2 {
    font-size: 25px;
  }

  .public-support-grid {
    grid-template-columns: 1fr;
  }

  .catalog-side-card p {
    min-height: 0;
  }

  .staff-workspace-hero,
  .checkin-workspace-hero {
    margin: -16px -16px 18px;
    padding: 22px 16px;
    grid-template-columns: 1fr;
  }

  .staff-login-shell {
    grid-template-columns: 1fr;
  }

  .staff-login-hero-panel {
    padding: 30px 22px;
  }

  .staff-login-hero-panel h1 {
    font-size: 34px;
  }

  .staff-login-card {
    margin: 0;
    border-radius: 0;
  }

  .staff-role-overview {
    grid-template-columns: 1fr;
  }
}

@media print {
  .topbar,
  .sidebar,
  .toast-stack,
  .button-row {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .layout {
    display: block;
  }

  .main {
    padding: 0;
  }

  .panel {
    box-shadow: none;
  }

  body.print-receipt .view-header,
  body.print-receipt #lookupForm,
  body.print-receipt .main > :not(.receipt),
  body.print-receipt .receipt > :not(.receipt-document) {
    display: none !important;
  }

  body.print-receipt .receipt {
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  body.print-receipt .receipt-document {
    width: 7.4in;
    min-height: 10.2in;
    border: 0;
    border-radius: 0;
    padding: 0.35in;
    box-shadow: none;
  }

  body.print-name-tag .view-header,
  body.print-name-tag .main > :not(.receipt),
  body.print-name-tag .receipt > :not(.name-tag-print) {
    display: none !important;
  }

  body.print-name-tag .receipt {
    display: block !important;
    border: 0;
    padding: 0;
  }

  body.print-name-tag .name-tag-print {
    display: block !important;
  }

  body.print-name-tag .badge-sheet {
    display: grid !important;
    width: 8.27in;
    height: 5.83in;
    border: 1px dashed #9aaeca;
    box-shadow: none;
    page-break-inside: avoid;
  }

  body.print-name-tag .badge-sheet > section {
    padding: 0.3in 0.34in;
  }

  body.print-name-tag .badge-sheet-band {
    width: calc(100% + 0.68in);
    margin-left: -0.34in;
    margin-right: -0.34in;
  }

  body.print-name-tag .name-tag {
    box-shadow: none;
  }

  body.print-parking-disk .view-header,
  body.print-parking-disk .main > :not(.receipt),
  body.print-parking-disk .receipt > :not(.parking-disk-print) {
    display: none !important;
  }

  body.print-parking-disk .receipt {
    display: block !important;
    border: 0;
    padding: 0;
  }

  body.print-parking-disk .parking-disk-print {
    display: block !important;
  }

  body.print-parking-disk .parking-disk-template {
    width: 4in;
    min-height: 2.6in;
    box-shadow: none;
    page-break-inside: avoid;
  }

  body.print-bulk-output .topbar,
  body.print-bulk-output .sidebar,
  body.print-bulk-output .view-header,
  body.print-bulk-output .toast-stack,
  body.print-bulk-output .main > :not(.bulk-print-output),
  body.print-bulk-output .panel:not(.bulk-print-output),
  body.print-bulk-output .bulk-print-toolbar {
    display: none !important;
  }

  body.print-bulk-output .layout,
  body.print-bulk-output .main {
    display: block;
    padding: 0;
  }

  body.print-bulk-output .bulk-print-output {
    display: block !important;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  body.print-bulk-output .bulk-print-sheet {
    display: block;
    margin: 0;
  }

  body.print-bulk-output .badge-sheet {
    width: 8.27in;
    height: 5.83in;
    border: 1px dashed #9aaeca;
    box-shadow: none;
    break-inside: avoid;
    page-break-after: always;
  }

  body.print-bulk-output .badge-sheet > section {
    padding: 0.3in 0.34in;
  }

  body.print-bulk-output .badge-sheet-band {
    width: calc(100% + 0.68in);
    margin-left: -0.34in;
    margin-right: -0.34in;
  }

  body.print-bulk-output .parking-disk-template {
    width: 4in;
    min-height: 2.6in;
    display: inline-block;
    margin: 0 0.18in 0.18in 0;
    box-shadow: none;
    break-inside: avoid;
  }

  body.print-badge-template .view-header,
  body.print-badge-template .template-panel:not(:has(.badge-sheet)),
  body.print-badge-template .template-panel .toolbar,
  body.print-parking-template .view-header,
  body.print-parking-template .template-panel:not(:has(.parking-disk-template)),
  body.print-parking-template .template-panel .toolbar {
    display: none !important;
  }

  body.print-badge-template .template-panel,
  body.print-parking-template .template-panel {
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  body.print-badge-template .badge-sheet {
    width: 8.27in;
    height: 5.83in;
    border: 1px dashed #9aaeca;
    page-break-inside: avoid;
  }

  body.print-badge-template .badge-sheet > section {
    padding: 0.3in 0.34in;
  }

  body.print-badge-template .badge-sheet-band {
    width: calc(100% + 0.68in);
    margin-left: -0.34in;
    margin-right: -0.34in;
  }

  body.print-parking-template .parking-disk-template {
    width: 4in;
    min-height: 2.6in;
  }
}

/* Final size overrides for the unified shell and print artifacts. */
.public-layout .main {
  width: min(1400px, calc(100% - 40px));
}

.event-home-hero {
  grid-template-columns: minmax(330px, 0.76fr) minmax(650px, 1.24fr);
  gap: 62px;
}

.event-carousel-track,
.event-carousel-slide {
  min-height: 290px;
}

.event-carousel-slide {
  grid-template-columns: minmax(230px, 0.5fr) minmax(0, 1fr);
}

.bulk-csv-editor textarea {
  min-height: 260px;
}

.parking-disk-template {
  width: min(100%, 105mm);
  min-height: 74mm;
  position: relative;
}

.badge-sheet.has-custom-artwork,
.parking-disk-template.has-custom-artwork {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.template-artwork-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-sheet.has-custom-artwork > section,
.parking-disk-template.has-custom-artwork > div:not(.template-artwork-background) {
  background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1180px) {
  .event-home-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 46px 0;
  }

  .event-home-hero-inner {
    max-width: 720px;
  }

  .event-home-hero h1 {
    max-width: 700px;
    font-size: 52px;
  }

  .event-home-discovery {
    max-width: 860px;
  }

  .bulk-defaults-band {
    grid-template-columns: 1fr;
  }

  .report-filter-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkin-station-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .checkin-station-strip .checkin-station-card strong {
    font-size: 13px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 820px) {
  .public-layout .main {
    width: min(100% - 28px, 1400px);
  }

  .event-home-hero {
    grid-template-columns: 1fr;
  }

  .event-carousel-track,
  .event-carousel-slide {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .event-carousel-slide {
    grid-template-columns: 1fr;
  }
}

.single-conference-home {
  min-height: 680px;
  padding: 54px 0 62px;
  grid-template-columns: minmax(400px, 0.84fr) minmax(560px, 1.16fr);
  align-items: center;
  gap: 52px;
}


.single-conference-home h1 {
  max-width: 620px;
  font-size: 54px;
  line-height: 1.02;
}

.single-conference-home h2 {
  max-width: 620px;
  margin-top: 14px;
  font-size: 27px;
}

.single-conference-actions {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.single-conference-actions .btn {
  min-height: 44px;
  padding-inline: 18px;
}

.event-fact-grid {
  width: 100%;
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.event-fact-grid div {
  min-width: 0;
  padding: 12px 13px;
  display: grid;
  gap: 2px;
  background: #fff;
}

.event-fact-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.event-fact-grid strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.single-conference-home .event-home-trust {
  margin-top: 24px;
}

.home-flyer-showcase {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e1e4eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(37, 44, 101, 0.14);
}

.home-flyer-showcase a {
  display: block;
  background: #fff7fa;
}

.home-flyer-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
}

.home-flyer-showcase figcaption {
  min-height: 58px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}

.home-flyer-showcase figcaption span,
.home-flyer-showcase figcaption strong {
  display: block;
}

.home-flyer-showcase figcaption strong {
  color: var(--navy);
  text-align: right;
}

@media (max-width: 1060px) {
  .single-conference-home {
    min-height: auto;
    padding: 42px 0 50px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .single-conference-home .event-home-hero-inner {
    max-width: none;
  }

  .home-flyer-showcase {
    max-width: 920px;
  }
}

@media (max-width: 720px) {
  .public-topbar {
    min-height: 112px;
    flex-wrap: wrap;
    align-content: center;
    gap: 7px;
  }

  .public-topbar .brand {
    width: 100%;
  }

  .public-topbar .brand-title {
    max-width: none;
  }

  .public-topbar .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr) minmax(0, 0.65fr);
    gap: 5px;
  }

  .public-topbar .top-actions .btn.small,
  .public-topbar .top-actions .btn.ghost:first-child {
    width: 100%;
    min-width: 0;
    display: inline-flex;
    white-space: normal;
    text-align: center;
  }

  .single-conference-home {
    padding: 28px 0 38px;
    gap: 25px;
  }


  .single-conference-home .view-kicker {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
  }

  .single-conference-home h1 {
    font-size: 38px;
  }

  .single-conference-home h2 {
    font-size: 22px;
  }

  .single-conference-home p {
    font-size: 15px;
  }

  .event-fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .single-conference-home .event-home-trust {
    display: grid;
    margin-top: 20px;
    gap: 8px;
  }

  .single-conference-home .event-home-trust span:not(:first-child) {
    display: block;
  }

  .home-flyer-showcase figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .home-flyer-showcase figcaption strong {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .event-fact-grid {
    grid-template-columns: 1fr;
  }

  .single-conference-actions .btn {
    flex: 1 1 100%;
  }
}
@media print {
  body.print-parking-disk .parking-disk-template,
  body.print-parking-template .parking-disk-template,
  body.print-bulk-output .parking-disk-template {
    page: parking-disk;
    width: 105mm;
    height: 74mm;
    min-height: 74mm;
    margin: 0;
    padding: 4mm;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
  }

  body.print-report .topbar,
  body.print-report .sidebar,
  body.print-report .view-header,
  body.print-report .report-filter-band,
  body.print-report .report-summary-strip,
  body.print-report .report-export-band,
  body.print-report .toast-stack,
  body.print-report .main > :not(.report-workspace) {
    display: none !important;
  }

  body.print-report .layout,
  body.print-report .main,
  body.print-report .report-workspace {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
  }

  body.print-report .report-controls {
    display: none;
  }
}

/* Unified site navigation and admin-controlled conference services */
.topbar,
.staff-topbar,
.public-topbar {
  display: block;
  min-height: 0;
  padding-block: 9px 7px;
}

.topbar-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.site-nav-link {
  appearance: none;
  flex: 0 0 auto;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 9px 7px;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  border-bottom-color: var(--rose);
  color: var(--rose);
  outline: none;
}

.admin-service-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-service-panel .workspace-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-service-toggle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.admin-service-toggle {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  cursor: pointer;
}

.admin-service-toggle:has(input:checked) {
  border-color: #78b99a;
  background: #f0faf5;
}

.admin-service-toggle input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.admin-service-toggle strong,
.admin-service-toggle small {
  display: block;
}

.admin-service-toggle strong {
  color: var(--navy);
  font-size: 13px;
}

.admin-service-toggle small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.admin-custom-services {
  margin: 14px 0;
}

.admin-custom-services textarea {
  min-height: 92px;
}

.included-service-card .service-card-main {
  display: block;
  padding-left: 0;
}

@media (max-width: 980px) {
  .admin-service-toggle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar,
  .staff-topbar,
  .public-topbar {
    min-height: 0;
    padding: 9px 14px 6px;
  }

  .topbar-brand-row {
    align-items: flex-start;
  }

  .topbar-brand-row .top-actions {
    display: flex;
    width: auto;
  }

  .site-nav {
    justify-content: flex-start;
    margin-inline: -4px;
    padding-bottom: 2px;
  }

  .site-nav-link {
    font-size: 11px;
    padding-inline: 7px;
  }

  .admin-service-toggle-grid {
    grid-template-columns: 1fr;
  }
}
/* Payment, partnership, integration, and staff management refinements */
.partnership-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 4px;
}
.partnership-tier-card {
  min-height: 112px;
  padding: 12px;
  border: 1px solid #d8deea;
  border-top: 6px solid var(--tier);
  border-radius: 8px;
  background: #fff;
  color: #15183a;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.partnership-tier-card:hover,
.partnership-tier-card:focus-visible { transform: translateY(-2px); border-color: var(--tier); box-shadow: 0 9px 24px rgba(21,24,58,.12); }
.partnership-tier-card.is-selected { background: var(--tier); color: var(--tier-text); border-color: var(--tier); box-shadow: 0 9px 24px rgba(21,24,58,.16); }
.partnership-tier-card span,
.partnership-tier-card small { display: block; }
.partnership-tier-card span { display: block; min-height: 30px; font-size: 11px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }
.partnership-tier-card strong { display: block; margin: 6px 0; font-size: 25px; }
.partnership-tier-card small { color: inherit; opacity: .86; }

.payment-required-panel {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  max-width: 880px;
  margin-inline: auto;
  border-left: 5px solid #e0a31a;
}
.payment-required-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3cf;
  color: #7a4a00;
  font-size: 28px;
  font-weight: 900;
}
.payment-required-copy h2 { margin: 2px 0 6px; }
.payment-required-copy > p { max-width: 720px; color: #667085; line-height: 1.55; }
.payment-required-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}
.payment-required-facts div { padding: 10px 12px; border: 1px solid #d8deea; border-radius: 7px; background: #f8f9fc; }
.payment-required-facts dt { color: #667085; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.payment-required-facts dd { margin: 5px 0 0; font-weight: 900; overflow-wrap: anywhere; }

.tier-coded-document { border-top: 8px solid var(--tier); }
.receipt-tier-label { display: block; margin-top: 8px; padding: 6px 8px; border-radius: 5px; font-size: 11px; font-weight: 900; line-height: 1.25; }
.receipt-access-card small { display: block; margin-top: 6px; color: #667085; }

/* Supplied Todays' Woman wordmark */
.brand img { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 5px; object-fit: contain; object-position: center; background: #fff; }
.event-home-mark,
.staff-workspace-copy .event-home-mark,
.staff-login-hero-panel .event-home-mark { width: 84px; height: 84px; border-radius: 6px; overflow: hidden; background: #fff; }
.event-home-mark img { width: 100%; height: 100%; border-radius: 0; object-fit: contain; object-position: center; }
.receipt-brand-mark img { width: 72px; height: 72px; border-radius: 5px; object-fit: contain; object-position: center; background: #fff; }
.badge-sheet-logo { width: 72px; height: 72px; border-radius: 5px; object-fit: contain; object-position: center; background: #fff; }

.communication-config-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.communication-channel-card { min-width: 0; margin: 0; padding: 14px; border: 1px solid #d8deea; border-radius: 8px; background: #f9faff; }
.communication-channel-card legend { padding: 0 6px; color: #15183a; font-weight: 900; }
.communication-channel-card .field + .field { margin-top: 10px; }
.communication-channel-card > small { display: block; margin-top: 10px; color: #667085; line-height: 1.5; }
.resend-channel-card { grid-column: 1 / -1; padding: 18px; background: #fff; }
.resend-setup-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.resend-setup-guide > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; align-content: start; padding: 12px; border: 1px solid #e2e5ee; border-radius: 7px; background: #f8f8fc; }
.resend-setup-guide > div > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #252c65; color: #fff; font-size: 12px; font-weight: 900; }
.resend-setup-guide p { margin: 0; min-width: 0; }
.resend-setup-guide strong, .resend-setup-guide small { display: block; }
.resend-setup-guide small { margin-top: 4px; color: #667085; line-height: 1.42; }
.resend-setup-guide a { grid-column: 2; width: max-content; margin-top: 4px; color: #252c65; font-weight: 900; }
.resend-fields { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.resend-status { display: flex; flex-wrap: wrap; gap: 7px 14px; align-items: baseline; margin: 12px 0; padding: 10px 12px; border-left: 4px solid #e0a31a; background: #fff8e7; color: #654200; }
.resend-status.is-ready { border-left-color: #22995f; background: #edf9f2; color: #16643f; }
.resend-status.is-error { border-left-color: #c43e4b; background: #fff0f1; color: #8e2530; }
.resend-status span, .resend-status small { font-size: 12px; }
.resend-status small { flex-basis: 100%; }
.resend-test-row { display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: 10px; align-items: end; }
.resend-test-row .btn { min-height: 43px; }

.user-management-layout { grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); }
.user-management-layout tr.is-selected td { background: #f1f0ff; }
.user-editor { align-self: start; position: sticky; top: 14px; }

@media (max-width: 980px) {
  .partnership-tier-grid, .communication-config-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resend-setup-guide, .resend-fields { grid-template-columns: 1fr; }
  .user-management-layout { grid-template-columns: 1fr; }
  .user-editor { position: static; }
}
@media (max-width: 620px) {
  .brand img { width: 78px; height: 38px; flex-basis: 78px; }
  .partnership-tier-grid, .communication-config-grid, .payment-required-facts, .resend-test-row { grid-template-columns: 1fr; }
  .payment-required-panel { grid-template-columns: 1fr; }
  .resend-channel-card { padding: 14px; }
}

/* Name badge operations workspace */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.badge-workspace-toolbar {
  align-items: center;
  gap: 14px;
}
.badge-search-field {
  flex: 1 1 520px;
  min-width: 240px;
}
.badge-search-field .search {
  width: 100%;
}
.badge-batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 0 0 14px;
}
.badge-selector {
  width: 18px;
  height: 18px;
  accent-color: #252c65;
  cursor: pointer;
}
.badge-registry-table th:first-child,
.badge-registry-table td:first-child {
  width: 64px;
  text-align: center;
}
.badge-registry-table td:last-child {
  white-space: nowrap;
}
@media (max-width: 720px) {
  .badge-workspace-toolbar {
    align-items: stretch;
  }
  .badge-search-field {
    flex-basis: 100%;
  }
}
@media (max-width: 1060px) {
  .layout:not(.public-layout) {
    grid-template-columns: minmax(0, 1fr);
  }
  .layout:not(.public-layout) .sidebar,
  .layout:not(.public-layout) .main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* Mobile check-in camera and badge fit corrections */
.checkin-scan-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.checkin-scan-actions span {
  color: var(--muted);
  font-size: 11px;
}
.checkin-camera-panel {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
}
.checkin-camera-panel[hidden] {
  display: none;
}
.checkin-camera-panel video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.checkin-camera-overlay {
  position: absolute;
  inset: 18% 15% 25%;
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}
.checkin-camera-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(15, 23, 42, 0.88);
  font-size: 12px;
}
.checkin-camera-footer .btn {
  flex: 0 0 auto;
}
.badge-sheet-main {
  min-height: 0;
  gap: 5px;
  padding: 20px 26px 0;
}
.badge-sheet-main .badge-sheet-event {
  width: min(100%, 270px);
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  text-wrap: balance;
}
.badge-sheet-main h2 {
  margin-top: 5px;
  font-size: 24px;
  line-height: 1.08;
}
.badge-sheet-main h3 {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.badge-sheet-main p {
  font-size: 13px;
  line-height: 1.15;
}
.badge-sheet-qr {
  width: 100px;
  height: 100px;
}
.badge-sheet-band {
  width: calc(100% + 52px);
  min-height: 50px;
  margin: auto -26px 0;
  padding: 8px 16px;
  font-size: 18px;
  line-height: 1.08;
  text-align: center;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .checkin-command-band {
    gap: 10px;
  }
  .compact-date-field {
    width: 100%;
  }
  .checkin-station-strip {
    display: flex;
    width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding: 1px 1px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .checkin-station-strip .checkin-station-card {
    flex: 0 0 min(76vw, 250px);
    scroll-snap-align: start;
  }
  .checkin-desk-grid.aligned-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .checkin-scan-panel.command-panel,
  .checkin-preview-panel,
  .checkin-activity-band {
    min-width: 0;
    padding: 13px;
  }
  .command-panel .scan-field input {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
  }
  .checkin-scan-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .checkin-scan-actions .btn,
  .checkin-submit {
    width: 100%;
  }
  .checkin-camera-panel {
    width: 100%;
  }
  .checkin-camera-footer {
    align-items: stretch;
    flex-direction: column;
  }
  .checkin-camera-footer .btn {
    width: 100%;
  }
  .checkin-activity-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 10px 0;
  }
  .checkin-activity-row span,
  .checkin-activity-row time,
  .checkin-activity-row span:nth-of-type(2) {
    display: block;
  }
  .checkin-activity-row span {
    grid-column: 1 / -1;
  }
  .checkin-activity-row time {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
}
@media print {
  body.print-name-tag .badge-sheet > section,
  body.print-bulk-output .badge-sheet > section {
    padding: 0.22in 0.26in;
  }
  body.print-name-tag .badge-sheet-band,
  body.print-bulk-output .badge-sheet-band {
    width: calc(100% + 0.52in);
    margin-left: -0.26in;
    margin-right: -0.26in;
  }
}