:root {
  color-scheme: light;
  --ink: #172126;
  --muted: #68757d;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --line: #d8ddd8;
  --teal: #34c6a1;
  --mint: #236e58;
  --coral: #236e58;
  --gold: #f2c75c;
  --ok: #157347;
  --bad: #b42318;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 18px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  min-width: 0;
}

.organizer-shell {
  width: 100%;
  grid-template-columns: minmax(240px, 320px) 1fr;
}

.organizer-shell .sidebar {
  padding: 24px;
  gap: 16px;
}

.organizer-shell .sidebar h1 {
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.organizer-shell .sidebar p {
  font-size: 14px;
  line-height: 1.45;
}

.organizer-shell .quick-links {
  gap: 8px;
}

.organizer-shell .quick-links a,
.organizer-shell .quick-links button {
  min-height: 38px;
  padding: 9px 12px;
}

.owner-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  min-width: 0;
}

.sidebar {
  background: var(--teal);
  color: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
}

.tickettwig-brand {
  min-width: 0;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: min(290px, 58vw);
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal);
  font-weight: 900;
}

.sidebar h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.sidebar p {
  margin: 0;
  color: #d5e7e5;
  font-size: 16px;
  line-height: 1.55;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a,
.button,
button {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: var(--mint);
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
}

.quick-links a,
.button:not(.secondary):not(.danger),
button:not(.secondary):not(.danger) {
  color: white;
}

.button.secondary,
button.secondary {
  background: #edf3f1;
  color: var(--ink);
}

.button.danger,
button.danger {
  background: #ffe3dc;
  color: var(--bad);
}

.saas-home {
  min-height: 100vh;
  background: var(--paper);
}

.saas-hero {
  min-height: 74vh;
  padding: 28px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 42px;
}

.saas-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.saas-hero-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: center;
}

.saas-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--mint);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.saas-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.8vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  color: #25343a;
  font-weight: 750;
}

.saas-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
}

.client-access-panel {
  padding: 26px;
  display: grid;
  gap: 18px;
  box-shadow: 0 24px 70px rgba(23, 33, 38, 0.1);
}

.client-access-panel h2 {
  font-size: 30px;
}

.access-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tenant-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tenant-shortcuts a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.tenant-shortcuts a:hover {
  color: var(--mint);
}

.saas-feature-band {
  padding: 26px 28px 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.saas-feature-band article {
  min-height: 120px;
  padding: 24px;
  background: white;
  display: grid;
  gap: 8px;
  align-content: start;
}

.saas-feature-band strong {
  font-size: 18px;
}

.saas-feature-band span {
  color: var(--muted);
  line-height: 1.45;
}

.site-footer {
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(233, 244, 241, 0.96));
  color: var(--ink);
  border-top: 1px solid rgba(35, 110, 88, 0.12);
}

.footer-inner,
.site-footer nav {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-inner {
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.site-footer nav {
  width: auto;
  gap: 8px;
  justify-content: center;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  text-align: center;
}

.footer-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-logo {
  display: block;
  width: min(210px, 52vw);
  max-height: 52px;
  object-fit: contain;
  object-position: center;
  flex: 0 1 auto;
}

.footer-brand div {
  display: grid;
  gap: 3px;
  justify-items: center;
}

.footer-brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.footer-brand span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer a {
  color: var(--ink);
  border: 1px solid rgba(35, 110, 88, 0.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(23, 33, 38, 0.06);
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.site-footer a.footer-brand {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.site-footer a.footer-brand:hover {
  color: var(--ink);
  background: transparent;
  border-color: transparent;
  transform: none;
}

.site-footer a:hover {
  color: white;
  background: var(--mint);
  border-color: var(--mint);
  transform: translateY(-1px);
}

.login-footer {
  padding: 4px 0 0;
  background: transparent;
  color: var(--ink);
}

.login-footer nav {
  width: 100%;
}

.login-footer a {
  color: var(--muted);
  border-color: var(--line);
  background: #edf3f1;
}

.content-footer {
  padding: 18px 0 0;
  background: transparent;
  color: var(--ink);
  border-top: 0;
}

.content-footer .footer-inner {
  width: 100%;
}

.content-footer nav {
  width: auto;
}

.content-footer a {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.app-footer {
  width: min(100%, 760px);
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(23, 33, 38, 0.08);
}

.content .app-footer {
  width: 100%;
}

.events-directory {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  gap: 28px;
  align-content: start;
  overflow-x: hidden;
}

.events-nav {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.events-nav .brand {
  text-decoration: none;
}

.events-header {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: end;
  min-width: 0;
}

.events-header h1 {
  margin: 6px 0 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.event-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  gap: 12px;
  align-items: end;
  min-width: 0;
}

.platform-event-list {
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  min-width: 0;
}

.events-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 14px 38px rgba(23, 33, 38, 0.08);
}

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

.import-errors {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--bad);
  font-size: 14px;
  line-height: 1.45;
}

.content {
  padding: 32px;
  display: grid;
  gap: 24px;
  align-content: start;
  min-width: 0;
}

.content > section,
.admin-section {
  min-width: 0;
}

.admin-section {
  display: grid;
  gap: 14px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.toolbar h2,
.panel h2 {
  margin: 0;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.panel,
.ticket-card,
.result {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.panel {
  padding: 22px;
  min-width: 0;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  background: white;
}

textarea {
  resize: vertical;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  background: white;
}

input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

input[type="color"] {
  min-height: 48px;
  padding: 5px;
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.consent-label {
  align-items: flex-start;
  line-height: 1.45;
}

.span-2 {
  grid-column: 1 / -1;
}

.theme-controls {
  margin: 4px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.theme-controls legend {
  padding: 0 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.ticket-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ticket-card {
  padding: 18px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ticket-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.ticket-card h3,
.ticket-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

.ticket-card h3 {
  font-size: 18px;
}

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

.login-subtitle {
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
}

.locked-prefix-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  background: white;
  overflow: hidden;
}

.locked-prefix-input:focus-within {
  outline: 3px solid #82cfff;
  border-color: #82cfff;
}

.locked-prefix-input span {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 0 12px;
  background: #edf3f1;
  color: var(--teal);
  font-weight: 900;
  border-right: 1px solid var(--line);
}

.locked-prefix-input input {
  border: 0;
  border-radius: 0;
  min-width: 0;
  font-size: 16px;
}

.locked-prefix-input input:focus {
  outline: 0;
}

.login-alert {
  background: #ffe3dc;
  border: 1px solid #ffb3a6;
  color: var(--bad);
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--mint);
  color: white;
  box-shadow: 0 18px 50px rgba(23, 33, 38, 0.24);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.toast.bad {
  background: #b42318;
}

.toast[hidden] {
  display: none;
}

.status {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  background: #e9f6ef;
  color: var(--ok);
  white-space: nowrap;
}

.status.used {
  background: #fff5ce;
  color: #7c5700;
}

.status.revoked {
  background: #ffe3dc;
  color: var(--bad);
}

.status.inactive {
  background: #eef0f2;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.compact-button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}

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

.editing-row input,
.editing-row select {
  min-width: 150px;
}

.editing-row select + input {
  margin-top: 8px;
}

.compact-check {
  min-width: 100px;
  font-size: 13px;
}

.floating-menu {
  position: fixed;
  top: 24px;
  right: 18px;
  z-index: 30;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.floating-menu-toggle {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: var(--teal);
  color: white;
  box-shadow: 0 14px 34px rgba(23, 33, 38, 0.22);
}

.floating-menu-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.floating-menu-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(-2px);
}

.floating-menu-panel {
  width: min(260px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(23, 33, 38, 0.18);
  backdrop-filter: blur(10px);
}

.floating-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.floating-menu-panel a:hover,
.floating-menu-panel a:focus {
  background: #edf3f1;
  color: var(--teal);
  outline: 0;
}

.quiet-footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.quiet-footer a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.quiet-footer a:hover {
  text-decoration: underline;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

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

.data-table th {
  background: #edf3f1;
  color: var(--teal);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

.ticket-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.ticket-pass {
  width: min(100%, 720px);
  overflow: hidden;
}

.checkout-panel {
  width: min(100%, 760px);
  display: grid;
  gap: 20px;
  overflow: hidden;
}

.checkout-panel .toolbar {
  min-width: 0;
}

.checkout-panel .toolbar > div {
  min-width: 0;
}

.checkout-panel h1,
.checkout-panel p,
.checkout-panel .muted,
.checkout-panel .result {
  overflow-wrap: anywhere;
}

.payment-note {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 16px;
  background: #f7fbfa;
  display: flex;
  align-items: center;
}

.staff-login-card {
  max-width: 640px;
}

.staff-login-card h1 {
  font-size: clamp(38px, 8vw, 58px);
  line-height: 1;
}

.staff-login-brand {
  color: var(--ink);
}

.staff-login-actions {
  align-items: stretch;
}

.staff-login-storefront {
  order: 2;
}

.staff-login-primary {
  order: 1;
  flex: 1 1 220px;
  min-height: 52px;
  padding-inline: 24px;
  background: var(--teal);
  color: white;
  font-size: 18px;
}

.pass-top {
  background: var(--teal);
  color: white;
  padding: 28px;
  display: grid;
  gap: 18px;
}

.pass-top h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.pass-body {
  background: white;
  padding: 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.qr-box {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.qr-box img {
  width: 100%;
  height: auto;
}

.details {
  display: grid;
  gap: 14px;
  align-content: start;
}

.confirmation-list {
  margin-top: 8px;
}

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

.detail {
  display: grid;
  gap: 4px;
}

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

.detail strong {
  font-size: 17px;
}

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

.contact-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  display: grid;
  gap: 5px;
  text-decoration: none;
  background: #fff;
}

.contact-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--teal);
  overflow-wrap: anywhere;
}

.scanner-page {
  min-height: 100vh;
  padding: 24px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.scanner-frame {
  width: min(100%, 680px);
  background: #0f1a1f;
  border-radius: 8px;
  overflow: hidden;
  justify-self: center;
  display: grid;
}

#reader {
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

#reader video {
  object-fit: cover;
}

#scan-status {
  margin: 0;
  padding: 12px 14px 16px;
  color: #d5e7e5;
  text-align: center;
  font-weight: 800;
}

.result {
  width: min(100%, 680px);
  padding: 18px;
  justify-self: center;
}

.result.ok {
  border-color: #9bd6b7;
}

.result.bad {
  border-color: #ffb3a6;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill.ok {
  background: color-mix(in srgb, var(--primary) 18%, white);
  color: var(--accent);
}

.pill.bad {
  background: #ffecea;
  color: #a7352b;
}

@media (max-width: 820px) {
  .saas-hero {
    min-height: auto;
    padding: 22px;
    gap: 34px;
  }

  .saas-hero-grid,
  .saas-feature-band,
  .events-header,
  .event-filters {
    grid-template-columns: 1fr;
  }

  .events-directory {
    padding: 18px;
  }

  .events-nav,
  .events-header,
  .platform-event-list,
  .events-footer {
    width: 100%;
  }

  .events-header h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .saas-copy h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .saas-copy p:not(.eyebrow) {
    font-size: 18px;
  }

  .access-actions {
    grid-template-columns: 1fr;
  }

  .app-shell,
  .owner-shell {
    grid-template-columns: 1fr;
  }

  .floating-menu {
    top: auto;
    right: 14px;
    bottom: 16px;
  }

  .floating-menu-toggle {
    min-height: 50px;
    box-shadow: 0 12px 30px rgba(23, 33, 38, 0.28);
  }

  .floating-menu-panel {
    max-height: min(420px, calc(100vh - 100px));
    overflow-y: auto;
  }

  .sidebar {
    padding: 24px;
    gap: 18px;
  }

  .sidebar h1 {
    font-size: clamp(34px, 10vw, 48px);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .content {
    padding: 20px;
  }

  .form-grid,
  .pass-body,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .toolbar .actions,
  .quick-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .toolbar .actions > *,
  .quick-links > *,
  .quick-links form,
  .quick-links button {
    width: 100%;
  }

  .data-table {
    min-width: 680px;
  }
}

@media (max-width: 520px) {
  .ticket-view {
    padding: 12px;
    place-items: start center;
  }

  .panel {
    padding: 16px;
    width: 100%;
  }

  .checkout-panel {
    gap: 16px;
  }

  .checkout-panel .toolbar {
    gap: 12px;
  }

  .checkout-panel h1 {
    font-size: 30px;
    line-height: 1.05;
  }

  .checkout-panel .button,
  .checkout-panel button {
    width: 100%;
  }

  .checkout-panel .result {
    padding: 16px;
    width: 100%;
  }

  .app-footer {
    padding: 16px;
    width: 100%;
  }

  .app-footer .footer-inner {
    align-items: center;
    gap: 14px;
    justify-content: center;
  }

  .app-footer .footer-brand {
    width: 100%;
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 8px;
  }

  .app-footer .footer-logo {
    width: min(230px, 72vw);
    max-height: 58px;
    object-position: center;
  }

  .app-footer .footer-brand div {
    justify-items: center;
  }

  .app-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .app-footer a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .events-directory {
    padding: 12px;
    gap: 18px;
  }

  .events-nav {
    align-items: flex-start;
  }

  .platform-event-list {
    grid-template-columns: 1fr;
  }

  .event-card header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .event-card .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .event-card .actions > * {
    width: 100%;
  }

  .consent-label {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .consent-label span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .organizer-shell .content {
    padding: 16px;
    gap: 18px;
  }

  .organizer-shell .sidebar {
    padding: 22px 16px;
  }

  .floating-menu {
    right: 12px;
    bottom: 12px;
  }

  .floating-menu-toggle {
    min-height: 48px;
    padding-inline: 16px;
  }

  .staff-login-card {
    width: 100%;
  }

  .staff-login-card h1 {
    font-size: 38px;
  }

  .login-subtitle {
    font-size: 18px;
  }

  .staff-login-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .staff-login-primary {
    order: 1;
    width: 100%;
  }

  .staff-login-storefront {
    order: 2;
    width: 100%;
  }

  .locked-prefix-input span {
    padding: 0 10px;
  }
}
