/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --ink: #26352f;
  --cream: #fff8e8;
  --paper: #fffdf8;
  --lime: #f9e8ad;
  --coral: #e26d5a;
  --violet: #276a63;
  --green: #276a63;
  --line: #d9d8c8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--cream);
  margin: 0;
  font-family: Arial, sans-serif;
}

a {
  color: inherit;
}

button, input, select {
  font: inherit;
}

.demo-banner {
  color: #fff;
  text-align: center;
  background: #332b72;
  padding: 8px 20px;
  font-size: 13px;
}

.demo-banner b {
  color: var(--lime);
  margin-right: 10px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  z-index: 5;
  background: #fffffff7;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(20px, 6vw, 90px);
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  display: flex;
}

.brand span {
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

nav {
  gap: 24px;
  display: flex;
}

nav a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.shell {
  width: min(1120px, 100% - 36px);
  margin: 0 auto;
  padding: 60px 0 100px;
}

.hero {
  padding: 78px 0 54px;
}

.eyebrow {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.hero h1, .page-title {
  letter-spacing: -.05em;
  max-width: 900px;
  margin: 10px 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: .94;
}

.hero p {
  max-width: 700px;
  font-size: 20px;
  line-height: 1.5;
}

.grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  display: grid;
}

.card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 18px 45px #18201614;
}

.card h2, .card h3 {
  margin-top: 0;
}

.card-accent {
  background: linear-gradient(135deg,var(--lime),#edf2ff);
  min-height: 220px;
}

.button, button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  justify-content: center;
  place-self: start;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  display: inline-flex;
}

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

.stack {
  gap: 16px;
  display: grid;
}

.identity-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  display: grid;
}

.identity-button {
  text-align: left;
  border-radius: 18px;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  min-height: 0;
}

.identity-button span {
  opacity: .75;
  margin-top: 8px;
  font-weight: 400;
  display: block;
}

.identity-admin {
  background: var(--violet);
}

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

.badge {
  background: var(--lime);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
}

.notice {
  background: var(--lime);
  border-radius: 12px;
  padding: 14px 18px;
}

.danger {
  background: #ffe0d8;
}

.form-row {
  align-items: end;
  gap: 10px;
  display: flex;
}

.form-row label {
  flex: 1;
  gap: 7px;
  font-weight: 700;
  display: grid;
}

.form-row input, .form-row select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 100%;
  padding: 12px;
}

.landing {
  background: var(--landing-accent, var(--lime));
  min-height: calc(100vh - 110px);
  padding: 60px clamp(22px, 8vw, 120px);
}

.landing-nav {
  border-bottom: 1px solid var(--ink);
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  display: flex;
}

.landing-mobile-menu {
  display: none;
}

.landing-mobile-menu summary {
  cursor: pointer;
  font-weight: 800;
}

.landing-mobile-menu div {
  padding: 12px 0;
  line-height: 1.8;
}

.landing-body {
  max-width: 850px;
  padding: 90px 0;
}

.landing-body h1 {
  letter-spacing: -.06em;
  margin: 12px 0 30px;
  font-size: clamp(54px, 10vw, 120px);
  line-height: .88;
}

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

.function-card {
  border: 1px solid var(--ink);
  background: #ffffffbf;
  border-radius: 16px;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 20px;
  display: grid;
}

.function-card form {
  align-items: end;
  gap: 8px;
  display: flex;
}

.function-card select {
  border-radius: 10px;
  padding: 12px;
}

.email-layout {
  grid-template-columns: 320px 1fr;
  gap: 18px;
  display: grid;
}

.email-item {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--line);
  text-align: left;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 14px;
  display: block;
}

.email-detail {
  background: #fff;
  border-radius: 16px;
  min-height: 260px;
  padding: 24px;
}

.ticket {
  border: 2px dashed var(--ink);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
}

.muted {
  color: #626b7e;
}

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

.stat {
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
}

.checkout-box {
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 24px;
  max-width: 680px;
  margin: 40px auto;
  padding: 34px;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  display: flex;
}

.code {
  font-family: monospace;
}

.empty {
  border: 1px dashed var(--line);
  text-align: center;
  border-radius: 15px;
  padding: 28px;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 15px;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .grid, .identity-grid, .email-layout {
    grid-template-columns: 1fr;
  }

  .toolbar, .function-card {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

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

  .landing-links {
    display: none;
  }

  .landing-mobile-menu {
    display: block;
  }

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

  .landing-body {
    padding: 55px 0;
  }

  .shell {
    padding-top: 35px;
  }
}

.wizard fieldset {
  border: 1px solid var(--line);
  border-radius: 15px;
  gap: 14px;
  padding: 18px;
  display: grid;
}

.wizard fieldset[hidden] {
  display: none;
}

.wizard label, .visual-editor label {
  gap: 7px;
  font-weight: 700;
  display: grid;
}

.wizard input, .wizard select, .wizard textarea, .visual-editor input, .visual-editor select, .visual-editor textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 100%;
  padding: 12px;
}

.wizard-progress {
  background: #edf2ff;
  border-radius: 10px;
  padding: 10px 14px;
}

.compact-wizard {
  border: 1px dashed var(--line);
  border-radius: 15px;
  margin: 16px 0;
  padding: 18px;
}

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

.editable-preview {
  background-position: center;
  background-size: cover;
  gap: 12px;
  display: grid;
}

.editable-preview input, .editable-preview textarea {
  background: #ffffffe0;
  font-weight: 700;
}

.editable-preview textarea[name="headline"] {
  min-height: 110px;
  font-size: 32px;
}

.asset-preview {
  object-fit: cover;
  border-radius: 12px;
  max-width: 180px;
  max-height: 220px;
}

.landing-hero-image {
  object-fit: cover;
  border-radius: 22px;
  width: 100%;
  max-height: 620px;
  margin: 28px 0 0;
  display: block;
}

.checkout-standard {
  max-width: 1180px;
}

.checkout-standard .checkout-catalog {
  padding: 0;
}

.input-prefix {
  color: #626b7e;
  font-size: 12px;
}

@media (max-width: 760px) {
  .editor-controls {
    grid-template-columns: 1fr;
  }

  .landing-hero-image {
    max-height: 420px;
  }

  .compact-wizard .actions {
    flex-direction: column;
  }
}

.narrow {
  max-width: 900px;
}

.compact {
  margin-bottom: 12px;
}

.compact-stack {
  gap: 8px;
}

.wrap {
  flex-wrap: wrap;
}

.checkline {
  gap: 8px;
  align-items: center !important;
  display: flex !important;
}

.checkline input {
  width: auto !important;
}

.admin-shell {
  width: min(1260px, 100% - 36px);
}

.admin-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  display: grid;
}

.event-admin-row, .cart-line, .refund-row, .report-bar {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  display: flex;
}

.checkout-catalog {
  padding: 55px 0;
}

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

.sector-card {
  border: 1px solid var(--line);
  background: #ffffffa6;
  border-radius: 16px;
  padding: 18px;
}

.sector-card label {
  gap: 7px;
  display: grid;
}

.sector-card select, .sector-card input, .card textarea, .card select, .card input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  width: 100%;
  padding: 11px;
}

.seat-map {
  border: 0;
  grid-template-columns: repeat(6, minmax(32px, 1fr)) 18px repeat(6, minmax(32px, 1fr));
  gap: 7px;
  margin: 15px 0;
  padding: 14px;
  display: grid;
}

.seat-map legend {
  font-weight: 800;
}

.seat {
  border: 1px solid var(--ink);
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  place-items: center;
  min-height: 38px;
  font-size: 12px;
  padding: 5px !important;
  display: grid !important;
}

.seat input {
  margin: 0;
  width: auto !important;
}

.seat.after-aisle {
  grid-column: 8;
}

.seat.unavailable {
  opacity: .35;
  cursor: not-allowed;
  background: #ddd;
}

.checkout-total {
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  margin-top: 22px;
  padding: 24px;
}

.editor-layout {
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 20px;
  margin-top: 34px;
  display: grid;
}

.editor-layout > div {
  grid-column: 1 / -1;
}

.landing-preview {
  border: 1px solid var(--ink);
  border-radius: 22px;
  min-height: 520px;
  padding: 50px;
}

.landing-preview h2 {
  font-size: clamp(44px, 6vw, 82px);
  line-height: .95;
}

.template-escena {
  font-family: Georgia, serif;
}

.template-festival {
  --ink: #201230;
}

.control-result {
  margin-top: 24px;
}

.code-input {
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: 30px;
}

.report-bar b {
  text-align: right;
}

@media (max-width: 900px) {
  .admin-grid, .editor-layout, .sector-grid {
    grid-template-columns: 1fr;
  }

  .seat-map {
    grid-template-columns: repeat(6, minmax(36px, 1fr));
  }

  .seat.after-aisle {
    grid-column: auto;
  }

  .event-admin-row, .cart-line, .refund-row, .report-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-catalog {
    padding-top: 35px;
  }
}

.event-overview {
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
  margin-top: 24px;
  display: grid;
}

.read-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 34px;
  margin: 18px 0 0;
  display: grid;
}

.read-list div {
  min-width: 0;
}

.read-list dt {
  color: #626b7e;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
}

.read-list dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.section-heading, .landing-tools, .operation-summary {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading h2, .landing-tools h2 {
  margin: 4px 0;
}

.function-actions {
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0;
  display: flex;
}

.operation-summary {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.landing-tools {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 18px;
  grid-column: 1 / -1;
  padding: 24px;
}

.admin-dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  width: min(680px, 100% - 28px);
  max-height: calc(100vh - 40px);
  color: var(--ink);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 30px 90px #18201647;
}

.admin-dialog::backdrop {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #1119108c;
}

.dialog-heading {
  z-index: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px 18px;
  display: flex;
  position: sticky;
  top: 0;
}

.dialog-heading h2 {
  margin: 4px 0;
}

.dialog-heading p:last-child {
  margin-bottom: 0;
}

.dialog-close {
  border-radius: 50%;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 27px;
  line-height: 1;
  display: grid;
}

.dialog-body {
  padding: 26px 28px 30px;
}

.dialog-body label {
  gap: 7px;
  font-weight: 700;
  display: grid;
}

.dialog-body input, .dialog-body select, .dialog-body textarea {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  width: 100%;
  padding: 12px;
}

.dialog-body .compact-wizard, .dialog-body .card {
  box-shadow: none;
  border: 0;
  margin: 0;
  padding: 0;
}

.dialog-body .editable-preview {
  border-radius: 16px;
  min-height: 380px;
  padding: 24px;
}

.dialog-body .actions {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .event-overview, .read-list {
    grid-template-columns: 1fr;
  }

  .section-heading, .landing-tools, .operation-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-dialog {
    max-height: calc(100vh - 20px);
  }

  .dialog-heading, .dialog-body {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .function-actions button {
    width: fit-content;
  }
}

.platform-event-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}

.platform-config-form {
  grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
  align-items: end;
  gap: 12px;
  padding: 18px 0;
  display: grid;
}

.platform-config-form label {
  gap: 6px;
  font-weight: 700;
  display: grid;
}

.platform-config-form small {
  color: #626b7e;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.platform-state-actions {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  display: flex;
}

.platform-functions {
  padding-top: 18px;
}

.platform-functions h3 {
  margin: 0 0 8px;
}

.function-visibility-row {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  display: flex;
}

.function-visibility-row p {
  margin: 5px 0 0;
}

.danger-action {
  background: var(--coral);
  border-color: var(--coral);
}

.confirmation-list {
  gap: 10px;
  padding-left: 22px;
  line-height: 1.45;
  display: grid;
}

.confirmation-dialog button:disabled {
  cursor: wait;
  opacity: .65;
}

@media (max-width: 980px) {
  .platform-config-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-config-form > button {
    width: max-content;
  }

  .function-visibility-row {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .platform-config-form {
    grid-template-columns: 1fr;
  }

  .platform-config-form > button {
    width: fit-content;
  }

  .platform-state-actions {
    display: grid;
  }

  .platform-state-actions button, .function-visibility-row button {
    width: fit-content;
  }

  .function-visibility-row {
    flex-direction: column;
  }
}

.checkout-event-image {
  object-fit: cover;
  border-radius: 1rem;
  width: min(100%, 960px);
  max-height: 28rem;
  margin: 1rem auto 2rem;
  display: block;
}

.operation-cancel {
  border: 1px solid var(--line);
  border-radius: 16px;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  align-items: end;
  gap: 14px;
  padding: 18px;
  display: grid;
}

.operation-cancel > label {
  gap: 7px;
  font-weight: 700;
  display: grid;
}

.ticket-selection {
  border: 0;
  gap: 8px;
  padding: 0;
  display: grid;
}

.ticket-selection legend {
  margin-bottom: 8px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .operation-cancel {
    grid-template-columns: 1fr;
  }
}

.sales-chart-row {
  padding: 8px 0;
}

.sales-chart {
  background: #e1e5ee;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

.sales-chart span {
  border-radius: inherit;
  background: var(--violet);
  height: 100%;
  display: block;
}

.seat-map {
  width: 100%;
  max-width: 100%;
  min-inline-size: 0;
  overflow-x: auto;
}

.card, .sector-grid, .sector-card {
  min-width: 0;
}

.sector-card-seated {
  grid-column: 1 / -1;
}

.landing-functions, .landing-media, .landing-gallery, .landing-contact {
  margin: 0 0 48px;
}

.landing-functions {
  gap: 14px;
  display: grid;
}

.landing-media iframe {
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  width: 100%;
  max-width: 900px;
}

.landing-gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  display: grid;
}

.landing-gallery img {
  object-fit: cover;
  border-radius: 18px;
  width: 100%;
  height: 260px;
}

.catalog-filters {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
  display: grid;
}

.catalog-filters label {
  gap: 7px;
  font-weight: 700;
  display: grid;
}

.catalog-filters input, .catalog-filters select {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  width: 100%;
  padding: 11px;
}

@media (max-width: 760px) {
  .catalog-filters {
    grid-template-columns: 1fr;
  }
}

.site-header nav {
  align-items: center;
}

.site-header nav form {
  margin: 0;
}

.nav-button {
  color: var(--ink);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 14px;
}

.wizard-navigation {
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  display: flex;
}

.wizard-navigation .actions {
  margin-top: 0;
}

.map-dimensions {
  background: #f1f4fa;
  border-radius: 12px;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px;
  display: grid;
}

.map-dimensions p {
  grid-column: 1 / -1;
  margin: 0;
}

.catalog-filters {
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .wizard-navigation {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .wizard-navigation .actions {
    flex-direction: column-reverse;
  }

  .map-dimensions {
    grid-template-columns: 1fr;
  }

  .map-dimensions p {
    grid-column: auto;
  }
}

.function-layout-editor, .buyer-hall-map {
  border: 1px solid var(--line);
  background: #f7f8fc;
  border-radius: 18px;
  margin: 24px 0;
  padding: 22px;
}

.function-layout-editor h3, .buyer-hall-map h3 {
  margin: 4px 0;
}

.hall-map-shell {
  --hall-stage: #242a24;
  gap: 16px;
  display: grid;
}

.hall-map-tools {
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  display: flex;
}

.hall-map-tools p {
  margin: 0 12px 0 0;
}

.hall-map-tools button {
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  font-size: 13px;
  display: flex;
}

.hall-map-tools button.active {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.color-dot {
  border: 1px solid #0000004d;
  border-radius: 4px;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  display: inline-block;
}

.color-dot.stage {
  background: var(--hall-stage);
}

.hall-map-viewport {
  border-radius: 14px;
  width: 100%;
  overflow: auto;
}

.hall-map-grid {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  grid-template-columns: repeat(20, minmax(20px, 1fr));
  width: min(100%, 760px);
  min-width: 500px;
  margin: auto;
  padding: 8px;
  display: grid;
  position: relative;
}

.hall-map-cell {
  color: #0000;
  touch-action: none;
  background: #f7f8fc;
  border: 1px solid #e1e5ee;
  border-radius: 1px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  text-decoration: none;
  display: block;
}

.hall-map-cell.painted {
  border-color: #ffffff61;
}

.hall-map-cell.selectable {
  cursor: pointer;
}

.hall-map-cell.selectable:hover {
  filter: brightness(1.13);
  outline-offset: -3px;
  outline: 2px solid #fff;
}

.hall-map-region-label {
  z-index: 2;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  background: #ffffffe0;
  border-radius: 6px;
  max-width: 28%;
  padding: 3px 6px;
  font-size: clamp(8px, 1.1vw, 12px);
  font-weight: 900;
  line-height: 1;
  position: absolute;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px #0000001f;
}

.hall-map-legend {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 9px;
  display: grid;
}

.hall-map-legend a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  align-items: flex-start;
  gap: 9px;
  padding: 11px;
  text-decoration: none;
  display: flex;
}

.hall-map-legend small {
  color: #626b7e;
  margin-top: 3px;
  display: block;
}

.hall-map-save {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  display: flex;
}

.buyer-hall-map {
  grid-template-columns: minmax(190px, .55fr) minmax(420px, 1.45fr);
  align-items: start;
  gap: 24px;
  display: grid;
}

.buyer-hall-map .hall-map-grid {
  min-width: 420px;
}

.sector-card {
  scroll-margin-top: 110px;
}

.sector-card:target {
  outline: 4px solid var(--lime);
  outline-offset: 4px;
}

button.danger {
  color: #7d1d0b;
  background: #ffe0d8;
  border-color: #a2321e;
}

@media (max-width: 800px) {
  .buyer-hall-map {
    grid-template-columns: 1fr;
  }

  .hall-map-grid, .buyer-hall-map .hall-map-grid {
    min-width: 460px;
  }

  .function-layout-editor, .buyer-hall-map {
    padding: 16px;
  }
}

.sector-color-field {
  gap: 7px;
  display: grid;
}

.sector-color-field > label {
  font-weight: 700;
}

.sector-color-control {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 7px 12px;
  display: grid;
}

.sector-color-control .sector-color-input {
  cursor: pointer;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  border-radius: 8px !important;
  width: 64px !important;
  height: 40px !important;
  padding: 3px !important;
}

.sector-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.sector-color-input::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}

.sector-color-input::-moz-color-swatch {
  border: 0;
  border-radius: 5px;
}

.sector-color-copy {
  font-weight: 700;
}

.sector-color-control output {
  background: #f1f4fa;
  border-radius: 7px;
  padding: 5px 8px;
  font-family: monospace;
  font-weight: 800;
}

.seat-layout-fields {
  gap: 12px;
  display: grid;
}

.seat-number-preview {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  min-width: 0;
  padding: 14px;
}

.seat-preview-heading {
  justify-content: space-between;
  align-items: start;
  gap: 18px;
  display: flex;
}

.seat-preview-heading h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.seat-preview-heading p {
  text-align: right;
  margin: 0;
}

.seat-preview-stage {
  background: var(--ink);
  color: #fff;
  text-align: center;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 7px 7px 18px 18px;
  width: min(78%, 520px);
  margin: 16px auto 12px;
  padding: 7px;
  font-size: 11px;
  font-weight: 900;
}

.seat-preview-scroll {
  max-width: 100%;
  padding-bottom: 4px;
  overflow-x: auto;
}

.seat-preview-scroll table {
  border-collapse: separate;
  border-spacing: 6px;
  width: max-content;
  min-width: 100%;
}

.seat-preview-scroll caption {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.seat-preview-scroll th {
  z-index: 1;
  text-align: right;
  background: #fff;
  min-width: 55px;
  padding: 0 7px;
  font-size: 12px;
  position: sticky;
  left: 0;
}

.seat-preview-scroll td {
  padding: 0;
}

.seat-preview-side {
  gap: 5px;
  display: flex;
}

.seat-preview-side span {
  border: 1px solid var(--ink);
  background: #f7f8fc;
  border-radius: 8px;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 11px;
  font-weight: 800;
  display: grid;
}

.seat-preview-aisle {
  text-align: center;
  border-left: 1px dashed #9b9587;
  border-right: 1px dashed #9b9587;
  min-width: 36px;
}

.seat-preview-aisle span {
  writing-mode: vertical-rl;
  color: #777064;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 800;
  display: block;
}

.seat-preview-note, .seat-preview-invalid {
  margin: 10px 0 0;
}

.seat-preview-invalid {
  color: #6a4b00;
  background: #fff2c7;
  border-radius: 10px;
  padding: 12px;
}

@media (max-width: 600px) {
  .sector-color-control {
    grid-template-columns: 64px 1fr;
  }

  .sector-color-control output {
    grid-column: 1 / -1;
    width: max-content;
  }

  .seat-preview-heading {
    display: block;
  }

  .seat-preview-heading p {
    text-align: left;
    margin-top: 6px;
  }

  .seat-preview-side span {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}

.wizard-help {
  background: #f1f4fa;
  border: 1px solid #d3d9e5;
  border-radius: 14px;
  overflow: hidden;
}

.wizard-help-toggle {
  width: 100%;
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 0;
  justify-content: space-between;
  padding: 12px 15px;
  display: flex;
}

.wizard-help-body {
  padding: 0 15px 13px;
}

.wizard-help-body p {
  margin: 6px 0;
  line-height: 1.45;
}

.empty-state {
  background: #f7f8fc;
  border: 1px dashed #b6bfd0;
  border-radius: 14px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  display: flex;
}

.empty-state > span {
  background: var(--lime);
  border-radius: 50%;
  flex: 0 0 38px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 26px;
  display: grid;
}

.empty-state h3, .empty-state p {
  margin: 0;
}

.empty-state p {
  color: #626b7e;
  margin-top: 5px;
}

.empty-state .button {
  margin-left: auto;
}

.landing-composer {
  gap: 14px;
  display: grid;
}

.landing-composer-toolbar, .landing-block-picker {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  display: flex;
}

.landing-composer-toolbar button, .landing-block-picker button {
  padding: 8px 12px;
}

.landing-canvas {
  border: 1px solid var(--ink);
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  width: 100%;
  min-height: 520px;
  margin: auto;
  padding: 55px 32px;
  transition: max-width .2s;
  position: relative;
}

.landing-canvas.mobile {
  max-width: 390px;
}

.landing-title-block {
  border-radius: 18px;
  max-width: 760px;
  padding: 35px;
  position: relative;
}

.landing-title-block h2 {
  margin: 8px 0;
  font-size: clamp(38px, 7vw, 80px);
  line-height: .92;
}

.font-serif {
  font-family: Georgia, serif;
}

.font-display {
  letter-spacing: .02em;
  font-family: Impact, Arial, sans-serif;
}

.editor-pin {
  z-index: 2;
  padding: 7px 10px;
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.background-pin {
  top: 10px;
  left: 10px;
  right: auto;
}

.landing-block {
  background: #ffffffe6;
  border-radius: 16px;
  max-width: 900px;
  margin: 22px auto;
  padding: 22px;
}

.landing-block img {
  max-width: 100%;
}

.composer-dialog {
  border: 1px solid var(--ink);
  border-radius: 18px;
  width: min(480px, 100% - 28px);
  padding: 24px;
}

.composer-dialog::backdrop {
  background: #141914a6;
}

.composer-dialog input, .composer-dialog select, .composer-dialog textarea {
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 100%;
  padding: 10px;
}

.landing-body[style] {
  border-radius: 20px;
  padding: 55px 34px;
}

.seat-preview-scroll td {
  width: 100%;
}

.seat-preview-side {
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .empty-state {
    flex-direction: column;
    align-items: flex-start;
  }

  .empty-state .button {
    margin-left: 0;
  }

  .landing-canvas {
    padding: 70px 14px 25px;
  }

  .landing-title-block {
    padding: 28px 18px;
  }

  .landing-composer-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.landing-block {
  padding-top: 38px;
  position: relative;
}

.purchase-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 22px;
  display: grid;
}

.purchase-layout > .stack, .sector-designer, .shared-seat-map {
  min-width: 0;
}

.order-summary {
  max-height: 80vh;
  position: sticky;
  top: 100px;
  overflow: auto;
}

.order-summary summary {
  cursor: pointer;
  font-weight: bold;
}

.order-line {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.order-line form {
  margin-top: 8px;
}

.seat-scroll {
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  max-width: 100%;
  max-height: min(52dvh, 440px);
  padding: 8px;
  overflow: auto;
}

.seat-scroll:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.seat-matrix {
  gap: 6px;
  width: max-content;
  display: grid;
}

.seat-cell {
  cursor: pointer;
  background: #fff;
  border: 1px solid #687063;
  border-radius: 7px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  font-size: 12px;
  display: flex !important;
}

.seat-cell input {
  width: auto !important;
  padding: 0 !important;
}

.seat-cell.selected {
  outline: 3px solid #3458d4;
}

.seat-cell.hole {
  background: none;
  border: 1px dashed #aaa;
}

.seat-cell.blocked {
  background: #fbd4bd;
}

.seat-cell.reserved {
  background: #fff0a6;
}

.seat-cell.sold {
  background: #d6dce5;
}

.seat-cell small {
  display: block;
}

.seat-legend {
  font-size: 13px;
}

.hall-map-cell {
  touch-action: none;
  border-radius: 0;
  min-width: 0;
  padding: 0;
}

.hall-map-cell:focus-visible {
  z-index: 2;
  outline: 3px solid #111;
}

.position-editor .actions {
  gap: 6px;
}

.position-editor .actions button {
  padding: 8px 12px;
}

.sector-grid > nav {
  flex-wrap: wrap;
  grid-column: 1 / -1;
  display: flex;
}

.shared-seat-map input[type="range"] {
  max-width: 180px;
}

.order-summary h2 {
  font-size: 22px;
}

@media (max-width: 760px) {
  .purchase-layout {
    padding-bottom: 160px;
    display: block;
  }

  .purchase-layout > .order-summary {
    z-index: 8;
    border-radius: 18px 18px 0 0;
    max-height: 45vh;
    padding: 16px;
    position: fixed;
    inset: auto 0 0;
  }

  .purchase-layout > .order-summary details:not([open]) {
    max-height: 80px;
  }

  .seat-matrix {
    gap: 4px;
  }
}

.instagram-card {
  gap: 12px;
  min-width: 0;
  margin: 12px 0;
  display: grid;
  overflow: hidden;
}

.instagram-card .instagram-media {
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.share-link {
  border-top: 1px solid #ddd;
  gap: 10px;
  padding: 16px 0;
  display: grid;
}

.share-link a {
  overflow-wrap: anywhere;
}

.checkout-catalog .hall-map-cell {
  touch-action: auto;
  border: 0;
  border-radius: 0;
}

.checkout-catalog .hall-map-cell.selectable:hover {
  filter: none;
  outline: none;
}

.checkout-catalog .hall-map-cell.painted {
  box-shadow: 0 0 0 .5px var(--hall-cell-fill);
}

.ticket-wallet {
  padding-top: 38px;
}

.wallet-heading {
  margin: 0 0 30px;
}

.wallet-heading h1 {
  letter-spacing: -.04em;
  margin: 10px 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.wallet-heading > p:last-child {
  color: #626b7e;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.5;
}

.wallet-order-heading, .wallet-help, .wallet-purchase {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.wallet-order-heading {
  margin: 30px 0 20px;
}

.wallet-order-heading h2 {
  margin: 6px 0;
  font-size: 30px;
}

.wallet-tickets {
  gap: 20px;
  display: grid;
}

.admission-ticket {
  background: #fff;
  border: 1px solid #e1e5ee;
  border-radius: 20px;
  grid-template-columns: minmax(0, 1fr) 260px;
  display: grid;
  overflow: hidden;
  box-shadow: 0 8px 24px #18201608;
}

.admission-details {
  border-left: 6px solid var(--green);
  padding: 26px 30px;
}

.ticket-topline {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.ticket-topline .badge {
  color: #215c46;
  background: #e5efde;
  font-size: 12px;
}

.admission-details h3 {
  margin: 20px 0 8px;
  font-size: 24px;
}

.ticket-date {
  font-weight: 700;
}

.ticket-location {
  flex-wrap: wrap;
  gap: 34px;
  margin: 24px 0;
  display: flex;
}

.ticket-location dt {
  text-transform: uppercase;
  color: #626b7e;
  letter-spacing: .08em;
  font-size: 12px;
}

.ticket-location dd {
  margin: 5px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.ticket-code {
  color: #626b7e;
  margin-bottom: 0;
  font-size: 13px;
}

.ticket-code strong {
  letter-spacing: .1em;
  color: var(--ink);
  overflow-wrap: anywhere;
  margin-top: 5px;
  font-family: monospace;
  font-size: 24px;
  display: block;
}

.admission-qr {
  text-align: center;
  background: #fff;
  border-left: 1px dashed #d3d9e5;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  display: flex;
}

.ticket-qr {
  max-width: 100%;
  height: auto;
  display: block;
}

.admission-qr p {
  color: #626b7e;
  margin: 8px 0 0;
  font-size: 12px;
}

.ticket-refund-status {
  background: #fff2cb;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.admission-ticket.inactive .admission-details {
  border-left-color: #92978c;
}

.admission-ticket.inactive .badge {
  color: #555;
  background: #eee;
}

.wallet-help {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 26px 0;
  padding: 24px;
}

.wallet-help h3 {
  margin: 0 0 8px;
}

.wallet-help p {
  color: #626b7e;
  margin: 0;
}

.wallet-history {
  margin-top: 45px;
}

.wallet-purchase h3 {
  margin: 0;
}

.wallet-purchase p {
  margin-bottom: 0;
}

.refund-guide {
  margin-bottom: 32px;
}

.refund-scenarios {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  display: grid;
}

.refund-scenarios h3 {
  margin-bottom: 8px;
}

.refund-scenarios p {
  color: #475269;
  margin-top: 0;
  line-height: 1.65;
}

.refund-selection {
  margin-top: 32px;
}

.refund-choice {
  border: 1px solid var(--line);
  cursor: pointer;
  background: #fff;
  border-radius: 12px;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  display: flex;
}

.refund-choice input {
  height: 20px;
  accent-color: var(--green);
  flex: 0 0 20px;
  margin: 3px 0 0;
  width: 20px !important;
}

.refund-choice span span, .refund-choice small {
  margin-top: 8px;
  line-height: 1.45;
  display: block;
}

.refund-choice.unavailable {
  cursor: default;
  color: #626b7e;
  background: #f0f2f6;
}

.refund-dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 20px;
  width: min(620px, 100% - 32px);
  max-height: 85dvh;
  padding: 28px;
  line-height: 1.55;
  overflow: auto;
}

.refund-dialog::backdrop {
  background: #0f1710a6;
}

.refund-dialog h2 {
  font-size: 26px;
  line-height: 1.2;
}

.refund-dialog li {
  margin-bottom: 8px;
}

.refund-dialog .actions {
  margin-top: 24px;
}

.refund-page .wallet-heading {
  margin-top: 26px;
}

@media (max-width: 650px) {
  .ticket-wallet {
    padding-top: 28px;
  }

  .wallet-order-heading, .wallet-help, .wallet-purchase {
    flex-direction: column;
    align-items: flex-start;
  }

  .admission-ticket {
    grid-template-columns: 1fr;
  }

  .admission-details {
    padding: 20px;
  }

  .admission-qr {
    border-top: 1px dashed #d3d9e5;
    border-left: 0;
    padding: 20px;
  }

  .ticket-location {
    gap: 24px;
  }

  .refund-scenarios {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .refund-dialog {
    padding: 22px;
  }

  .wallet-order-heading h2 {
    font-size: 26px;
  }

  .ticket-wallet .button {
    white-space: normal;
    max-width: 100%;
  }
}

.actions {
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.actions > form {
  margin: 0;
  display: flex;
}

.stack > button {
  justify-self: start;
  max-width: 100%;
}

.button, button {
  vertical-align: middle;
}

.button:focus-visible, button:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #3458d4;
}

.event-overview .read-list dd {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  display: flex;
}

.event-public-url {
  color: var(--violet);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.event-overview .read-list {
  gap: 24px 32px;
}

.sector-card > .admin-modal-trigger {
  max-width: 100%;
  margin: 0 12px 12px 0;
}

.sector-card > p {
  margin: 10px 0 18px;
  line-height: 1.5;
}

.sector-card > .shared-seat-map {
  margin-block: 18px;
}

.sector-grid > nav {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}

.function-actions {
  gap: 12px;
}

.function-actions button {
  padding: 10px 15px;
  font-size: 14px;
}

.dialog-body .stack {
  gap: 18px;
}

.dialog-body .stack > button {
  margin-top: 4px;
}

nav .nav-button {
  line-height: 1.4;
}

@media (max-width: 760px) {
  .actions {
    gap: 12px;
  }

  .actions > .button, .actions > button, .actions > form > button, .admin-modal-trigger, .function-actions button {
    min-height: 44px;
  }

  .event-overview {
    gap: 24px;
  }

  .function-actions {
    flex-wrap: wrap;
    display: flex;
  }

  .function-actions button {
    width: auto;
    max-width: 100%;
  }

  .sector-card > .admin-modal-trigger {
    margin-right: 10px;
  }
}

.stack > button, .stack > .button, .platform-state-actions button, .function-visibility-row button {
  place-self: start;
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 760px) {
  .stack > button, .stack > .button {
    min-height: 44px;
  }
}

html:has(dialog[open]) {
  scroll-behavior: auto;
  overflow: hidden;
}

.admin-dialog {
  overscroll-behavior: contain;
  scroll-behavior: auto;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}

.sector-workflow-intro {
  border-left: 4px solid var(--violet);
  background: #f1f4fa;
  border-radius: 0 12px 12px 0;
  margin-top: 22px;
  padding: 16px 18px;
}

.sector-workflow-intro h3 {
  margin: 0 0 6px;
}

.sector-workflow-intro p {
  color: #626b7e;
  margin: 0;
  line-height: 1.5;
}

.sector-designer {
  box-shadow: none;
  border-color: #b9c4e0;
  margin-top: 14px;
}

.svg-hall-editor {
  gap: 16px;
  min-width: 0;
  margin-top: 12px;
  display: grid;
}

.svg-editor-history {
  justify-content: flex-end;
  margin: 0;
}

.svg-plan {
  width: 100%;
  min-width: 0;
}

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

.svg-map-toolbar > span {
  font-weight: 700;
}

.svg-map-toolbar .actions {
  gap: 6px;
  margin-top: 0;
}

.svg-map-toolbar button {
  min-height: 40px;
  padding: 8px 12px;
}

.svg-plan-viewport {
  border: 1px solid var(--line);
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  background: #f7f8fc;
  border-radius: 16px;
  width: 100%;
  height: clamp(360px, 60vh, 660px);
  display: block;
  overflow: hidden;
}

.svg-plan-viewport:active {
  cursor: grabbing;
}

.svg-sector-surface {
  fill-opacity: .11;
  stroke: #9daaca;
  stroke-width: 2px;
}

.svg-map-sector {
  transition: opacity .22s;
}

.svg-map-sector[role="button"] {
  cursor: pointer;
}

.svg-map-sector[role="button"]:hover > .svg-sector-surface {
  fill-opacity: .2;
  stroke: var(--violet);
}

.svg-map-sector.is-dimmed {
  opacity: .25;
}

.svg-map-sector.is-focused > .svg-sector-surface {
  fill-opacity: .07;
  stroke: var(--violet);
}

.svg-sector-label {
  fill: var(--ink);
  pointer-events: none;
  font-size: 20px;
  font-weight: 800;
}

.svg-sector-subtitle {
  fill: #626b7e;
  pointer-events: none;
  font-size: 16px;
}

.svg-seat > rect, .svg-seat > ellipse, .svg-seat > svg > path {
  fill: #fff;
  stroke: #97a7c9;
  stroke-width: 1.5px;
}

.svg-seat > text {
  fill: var(--ink);
  pointer-events: none;
  font-weight: 600;
}

.svg-seat.selected > rect, .svg-seat.selected > ellipse, .svg-seat.selected > svg > path {
  fill: var(--violet);
  stroke: var(--violet);
}

.svg-seat.selected > text {
  fill: #fff;
}

.svg-seat.sold > rect, .svg-seat.sold > ellipse, .svg-seat.sold > svg > path {
  fill: #a4aec4;
}

.svg-seat.reserved > rect, .svg-seat.reserved > ellipse, .svg-seat.reserved > svg > path {
  fill: #fff1ca;
}

.svg-seat.blocked > rect, .svg-seat.blocked > ellipse, .svg-seat.blocked > svg > path {
  fill: #e1e5ee;
}

.svg-seat.hole > rect, .svg-seat.hole > ellipse, .svg-seat.hole > svg > path {
  fill: #0000;
  stroke-dasharray: 3 2;
}

.svg-map-hint {
  color: #626b7e;
  margin: 10px 0;
  font-size: .85rem;
}

.svg-seat-legend {
  color: #626b7e;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: .8rem;
  display: flex;
}

.svg-seat-legend span {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.svg-seat-legend i {
  background: #fff;
  border: 1px solid #97a7c9;
  border-radius: 4px;
  width: 13px;
  height: 13px;
  display: inline-block;
}

.svg-seat-legend .selected {
  background: var(--violet);
}

.svg-seat-legend .sold {
  background: #a4aec4;
}

.svg-seat-legend .reserved {
  background: #fff1ca;
}

.svg-seat-legend .blocked {
  background: #e1e5ee;
}

.svg-editor-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 20px;
  display: grid;
}

.svg-editor-inspector {
  border: 1px solid var(--line);
  background: #f7f8fc;
  border-radius: 16px;
  min-width: 0;
  padding: 18px;
}

.svg-editor-inspector h3 {
  margin: 6px 0 12px;
}

.svg-editor-inspector p {
  line-height: 1.5;
}

.svg-editor-inspector button {
  margin-top: 14px;
}

.sector-summary {
  gap: 10px;
  margin: 12px 0;
  display: grid;
}

.sector-summary div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.sector-summary dt {
  color: #626b7e;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.sector-summary dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.svg-plan-save {
  justify-content: flex-end;
  display: flex;
}

.geometry-selection {
  pointer-events: none;
}

.geometry-outline {
  fill: none;
  stroke: var(--violet);
  stroke-width: 3px;
  stroke-dasharray: 7 4;
  vector-effect: non-scaling-stroke;
}

.geometry-resize-handle {
  fill: #fff;
  stroke: var(--violet);
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
  pointer-events: all;
}

.handle-n, .handle-s {
  cursor: ns-resize;
}

.handle-e, .handle-w {
  cursor: ew-resize;
}

.handle-ne, .handle-sw {
  cursor: nesw-resize;
}

.handle-nw, .handle-se {
  cursor: nwse-resize;
}

.is-editing [data-geometry-kind] {
  cursor: move;
}

.svg-seat.geometry-selected > rect, .svg-seat.geometry-selected > ellipse, .svg-seat.geometry-selected > svg > path {
  stroke: var(--violet);
  stroke-width: 4px;
}

.sector-inspector-actions {
  border-top: 1px solid var(--line);
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  display: grid;
}

.sector-inspector-actions > .stack {
  gap: 10px;
}

.sector-inspector-actions .admin-modal-trigger {
  justify-content: center;
  width: 100%;
  margin: 0;
}

.sector-inspector-actions .muted {
  margin: 2px 0;
  font-size: 13px;
}

.sector-inspector-actions .admin-modal-trigger:last-of-type {
  color: #9b2d30;
  background: #fff;
  border-color: #d9a7a8;
}

.admin-dialog:has(.position-editor .svg-plan) {
  width: min(1080px, 100% - 28px);
}

.position-editor .svg-plan-viewport {
  height: clamp(430px, 58vh, 620px);
}

.seat-position-help {
  margin: 0;
  line-height: 1.5;
}

.position-editor .svg-map-sector.is-focused {
  opacity: 1;
}

.position-editor .svg-sector-label {
  font-size: 16px;
}

.position-editor .svg-seat {
  cursor: move;
}

.unified-sector-editor {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  display: grid;
}

.unified-sector-data {
  border-right: 1px solid var(--line);
  padding-right: 26px;
}

.unified-sector-editor.general {
  grid-template-columns: minmax(0, 1fr);
}

.unified-sector-editor.general .unified-sector-data {
  border-right: 0;
  padding-right: 0;
}

.unified-sector-editor h3 {
  margin: 4px 0 16px;
}

.unified-sector-seats {
  min-width: 0;
}

.unified-sector-seats > .eyebrow, .unified-sector-data > .eyebrow {
  margin-bottom: 0;
}

.seat-number-preview .svg-plan-viewport {
  height: clamp(280px, 42vh, 440px);
}

.seat-reassignment {
  background: #f4f7ff;
  border: 1px solid #c9d3eb;
  border-radius: 14px;
  gap: 12px;
  margin-top: 6px;
  padding: 16px;
  display: grid;
}

.seat-reassignment h4, .seat-reassignment p {
  margin: 0;
}

.seat-reassignment > .secondary {
  justify-self: start;
}

.svg-seat-picker .svg-plan-viewport {
  height: clamp(380px, 55vh, 580px);
}

.action-feedback {
  z-index: 100;
  color: #174f2b;
  background: #effaf2;
  border: 1px solid #8bb799;
  border-radius: 16px;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  width: min(430px, 100% - 32px);
  padding: 13px 14px;
  display: grid;
  position: fixed;
  bottom: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 36px);
  box-shadow: 0 18px 55px #18201633;
}

.action-feedback > span {
  color: #fff;
  background: #2f7d4c;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  font-weight: 900;
  display: grid;
}

.action-feedback p {
  margin: 0;
  font-weight: 700;
  line-height: 1.4;
}

.action-feedback button {
  color: currentColor;
  background: none;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 0;
  padding: 0;
  font-size: 22px;
  display: grid;
}

.action-feedback.danger {
  color: #8b2428;
  background: #fff2f2;
  border-color: #d9a7a8;
}

.action-feedback.danger > span {
  background: #a33236;
}

body.action-navigation-lock {
  top: var(--action-scroll-top, 0);
  left: var(--action-scroll-left, 0);
  width: 100%;
  position: fixed;
  overflow-y: scroll;
}

.ai-svg-dialog {
  width: min(1040px, 100% - 28px);
}

.ai-svg-dialog-body {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  display: grid;
}

.ai-svg-dialog-body section {
  min-width: 0;
}

.ai-svg-dialog-body h3 {
  margin: 4px 0 10px;
}

.ai-svg-step-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.ai-svg-prompt, .ai-svg-input {
  resize: vertical;
  white-space: pre;
  min-height: 360px;
  font: 12px / 1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow: auto;
}

.ai-svg-prompt {
  background: #f4f6fa !important;
}

.ai-svg-dialog .form-note {
  color: #626b7e;
  margin: 8px 0;
  line-height: 1.45;
}

.ai-svg-dialog .form-error {
  color: #8b2428;
  background: #fff2f2;
  border: 1px solid #d9a7a8;
  border-radius: 10px;
  padding: 10px 12px;
  line-height: 1.4;
}

.success-message {
  color: #245d38;
  background: #eef8f1;
  border: 1px solid #b8d5c3;
  border-radius: 12px;
  margin: 16px 0 0;
  padding: 12px 14px;
}

.svg-editor-history {
  flex-wrap: wrap;
}

@media (max-width: 850px) {
  .unified-sector-editor {
    grid-template-columns: 1fr;
  }

  .unified-sector-data {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 24px;
  }

  .ai-svg-dialog-body {
    grid-template-columns: 1fr;
  }

  .ai-svg-step-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-svg-prompt, .ai-svg-input {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .svg-editor-layout {
    grid-template-columns: 1fr;
  }

  .svg-editor-history {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .svg-map-toolbar {
    align-items: flex-start;
  }

  .svg-map-toolbar .actions {
    width: 100%;
  }

  .svg-map-toolbar button {
    padding: 8px;
    font-size: .8rem;
  }

  .svg-plan-viewport {
    height: 430px;
  }

  .geometry-resize-handle {
    stroke-width: 4px;
  }
}

.purchase-breadcrumb {
  max-width: 100%;
  margin: 0 0 20px;
}

.purchase-breadcrumb ol {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.purchase-breadcrumb li {
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  display: flex;
}

.purchase-breadcrumb li + li:before {
  content: "›";
  color: #62695f;
}

.purchase-breadcrumb button, .purchase-breadcrumb span {
  overflow-wrap: anywhere;
  text-align: left;
  font-size: 13px;
}

.purchase-breadcrumb button {
  white-space: normal;
  min-height: 36px;
  padding: 7px 10px;
}

.purchase-breadcrumb [aria-current="step"] {
  font-weight: 800;
}

.checkout-catalog h2[tabindex] {
  scroll-margin-top: 110px;
}

.purchase-no-order {
  grid-template-columns: minmax(0, 1fr);
}

.purchase-no-order > .stack {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

.order-summary > form {
  margin-top: 12px;
}

.svg-seat.unavailable > rect, .svg-seat.unavailable > ellipse, .svg-seat.unavailable > svg > path {
  fill: #d9dee8;
  stroke: #a4aec4;
}

.svg-seat.unavailable > text {
  fill: #626b7e;
}

.svg-seat.available {
  cursor: pointer;
}

.svg-seat.unavailable {
  cursor: not-allowed;
}

.svg-seat-legend .available {
  background: #fff;
}

.svg-seat-legend .unavailable {
  background: #d9dee8;
}

.platform-event-heading {
  padding-bottom: 18px;
}

.platform-event-title h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.platform-event-title p {
  margin: 0;
}

.platform-event-meta {
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(180px, .8fr) minmax(240px, 1.35fr) minmax(180px, 1fr);
  gap: 14px;
  margin: 0;
  padding: 18px 0;
  display: grid;
}

.platform-event-meta > div {
  background: #f7f8fc;
  border: 1px solid #e0e5ef;
  border-radius: 12px;
  min-width: 0;
  padding: 14px 16px;
}

.platform-event-meta dt {
  color: #626b7e;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
}

.platform-event-meta dd {
  gap: 3px;
  margin: 0;
  line-height: 1.4;
  display: grid;
}

.platform-event-meta a {
  overflow-wrap: anywhere;
}

.platform-config-form {
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 22px 0;
  display: grid;
}

.platform-config-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.platform-config-heading h3, .platform-config-heading p {
  margin: 0;
}

.platform-config-heading p {
  margin-top: 5px;
}

.platform-config-heading button {
  flex: none;
}

.platform-config-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  display: grid;
}

.platform-config-fields label {
  grid-template-rows: auto 46px minmax(34px, auto);
  gap: 7px;
  min-width: 0;
  font-weight: 700;
  display: grid;
}

.platform-config-fields input {
  height: 46px;
}

.platform-config-fields small, .platform-config-options small {
  color: #626b7e;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
}

.platform-config-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.platform-readonly-field, .platform-toggle {
  background: #f7f8fc;
  border: 1px solid #e0e5ef;
  border-radius: 12px;
  min-height: 88px;
  padding: 14px 16px;
}

.platform-readonly-field {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 14px;
  display: grid;
}

.platform-readonly-field > span {
  font-weight: 700;
}

.platform-readonly-field > strong {
  color: var(--primary);
}

.platform-readonly-field > small {
  grid-column: 1 / -1;
}

.platform-toggle {
  cursor: pointer;
  align-items: flex-start !important;
  gap: 12px !important;
  display: flex !important;
}

.platform-toggle input {
  flex: none;
  margin: 3px 0 0;
  width: 18px !important;
  height: 18px !important;
}

.platform-toggle span {
  gap: 5px;
  display: grid;
}

.platform-toggle small {
  display: block;
}

@media (max-width: 900px) {
  .platform-event-meta {
    grid-template-columns: 1fr 1fr;
  }

  .platform-event-meta > div:last-child {
    grid-column: 1 / -1;
  }

  .platform-config-fields {
    grid-template-columns: 1fr 1fr;
  }

  .platform-config-fields label:last-child {
    grid-column: 1 / -1;
  }

  .platform-config-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .platform-event-heading {
    align-items: stretch;
  }

  .platform-event-heading .button {
    width: fit-content;
  }

  .platform-event-meta, .platform-config-fields {
    grid-template-columns: 1fr;
  }

  .platform-event-meta > div:last-child, .platform-config-fields label:last-child {
    grid-column: auto;
  }

  .platform-config-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-config-heading button {
    width: fit-content;
  }

  .platform-config-fields label {
    grid-template-rows: auto 46px auto;
  }

  .platform-readonly-field {
    grid-template-columns: 1fr;
  }

  .platform-readonly-field > small {
    grid-column: auto;
  }
}

.wallet-tickets {
  gap: 14px;
}

.admission-ticket {
  border-radius: 16px;
  grid-template-columns: minmax(0, 1fr) 220px;
}

.admission-details {
  border-left-width: 5px;
  min-width: 0;
  padding: 18px 22px;
}

.ticket-topline {
  min-height: 28px;
}

.ticket-information {
  grid-template-columns: minmax(160px, 1.1fr) minmax(190px, 1.35fr) minmax(170px, 1.2fr) minmax(120px, .7fr);
  align-items: start;
  gap: 16px;
  margin-top: 14px;
  display: grid;
}

.ticket-info-block, .ticket-code, .ticket-location {
  min-width: 0;
}

.ticket-meta-label, .ticket-location dt {
  color: #626b7e;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  display: block;
}

.ticket-info-block h3 {
  margin: 3px 0 5px;
  font-size: 19px;
}

.ticket-info-block p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.ticket-place p {
  margin-top: 4px;
}

.ticket-location {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  display: grid;
}

.ticket-location dd {
  margin: 3px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

.ticket-code {
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
}

.ticket-code strong {
  margin-top: 4px;
  font-size: 19px;
}

.ticket-actions {
  border-top: 1px solid #e5e8ef;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
}

.ticket-actions .button {
  min-height: 40px;
  padding: 8px 13px;
}

.ticket-actions .wallet-buttons {
  flex: 1;
  margin: 0;
}

.ticket-actions .wallet-buttons .muted {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
}

.admission-qr {
  border-left: 1px dashed #d3d9e5;
  padding: 14px;
}

.admission-qr .ticket-qr {
  width: min(170px, 100%);
}

.admission-qr p {
  margin-top: 5px;
}

.ticket-refund-status {
  grid-column: 1 / -1;
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .ticket-information {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 650px) {
  .admission-ticket {
    grid-template-columns: 1fr;
  }

  .admission-qr {
    border: 0;
    border-bottom: 1px dashed #d3d9e5;
    grid-row: 1;
    min-height: 185px;
    padding: 12px;
  }

  .admission-qr .ticket-qr {
    width: min(145px, 52vw);
  }

  .admission-details {
    border-left-width: 4px;
    grid-row: 2;
    padding: 14px 16px;
  }

  .ticket-information {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
  }

  .ticket-function, .ticket-place {
    grid-column: auto;
  }

  .ticket-location, .ticket-code {
    grid-column: 1 / -1;
  }

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

  .ticket-code {
    align-items: baseline;
    gap: 10px;
    display: flex;
  }

  .ticket-code strong {
    margin-top: 0;
  }

  .ticket-actions {
    flex-direction: row;
    align-items: center;
    gap: 10px 14px;
  }

  .ticket-actions .wallet-buttons {
    width: auto;
  }

  .ticket-actions .wallet-buttons .muted {
    max-width: 34ch;
  }

  .ticket-refund-status {
    grid-column: 1 / -1;
  }
}

.purchase-added-dialog {
  width: min(620px, 100% - 28px);
  overflow: visible;
}

.purchase-added-content {
  text-align: center;
  justify-items: center;
  gap: 10px;
  padding: 34px;
  display: grid;
}

.purchase-added-check {
  color: #237640;
  background: #e5f5e9;
  border-radius: 50%;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 28px;
  font-weight: 900;
  display: grid;
}

.purchase-added-content h2 {
  margin: 0;
  font-size: 28px;
}

.purchase-added-content > p:not(.eyebrow) {
  color: #515b70;
  max-width: 50ch;
  margin: 2px 0 8px;
  line-height: 1.6;
}

.purchase-added-actions {
  grid-template-columns: 1fr 1.35fr;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  display: grid;
}

.purchase-added-actions .button, .purchase-added-actions button {
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 48px;
  text-decoration: none;
  display: flex;
}

@media (max-width: 560px) {
  .purchase-added-content {
    padding: 28px 20px;
  }

  .purchase-added-content h2 {
    font-size: 24px;
  }

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

/* [project]/src/app/design.css [app-client] (css) */
:root {
  --primary: #276a63;
  --primary-hover: #26352f;
  --primary-soft: #e5f0e9;
  --muted: #59675f;
  --shadow: 0 4px 20px #26352f0d;
  --radius: 14px;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

body {
  -webkit-font-smoothing: antialiased;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  line-height: 1.55;
}

h1, h2, h3 {
  letter-spacing: -.025em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(30px, 4vw, 44px);
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 18px;
}

p {
  overflow-wrap: anywhere;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  text-underline-offset: 4px;
}

input, select, textarea {
  font: inherit;
  color: var(--ink);
  accent-color: var(--primary);
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
}

.site-header {
  gap: 28px;
  min-height: 80px;
  padding: 16px max(24px, 50vw - 620px);
  box-shadow: 0 1px #20283f03;
}

.brand {
  letter-spacing: -1px;
  white-space: nowrap;
  font-size: 25px;
}

.brand span {
  background: var(--primary);
  letter-spacing: 0;
  border-radius: 11px;
  width: 36px;
  height: 36px;
}

.site-header nav {
  gap: 8px;
}

.site-header nav a, .nav-button {
  color: var(--muted);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 600;
}

.site-header nav a:hover, .nav-button:hover {
  background: var(--cream);
  color: var(--ink);
}

.site-header nav a[aria-current="page"] {
  color: var(--primary);
  background: var(--primary-soft);
}

.shell {
  width: min(1200px, 100% - 48px);
  min-height: calc(100dvh - 240px);
  padding: 44px 0 80px;
}

.admin-shell {
  width: min(1280px, 100% - 48px);
}

.narrow {
  max-width: 900px;
}

.hero {
  padding: 24px 0 32px;
}

.hero h1, .page-title {
  letter-spacing: -.04em;
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
  max-width: 650px;
  font-size: 17px;
}

.eyebrow, .hero .eyebrow {
  color: var(--primary);
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 750;
}

.card, .sector-card, .platform-event-card {
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

.card {
  padding: 28px;
}

.card-accent {
  border-top: 3px solid var(--primary);
  background: #fff;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.grid > .card {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.grid > .card > .button {
  margin-top: auto;
}

.catalog-filters {
  background: #fff;
  padding: 20px 24px;
}

.badge {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 650;
}

.notice {
  background: var(--primary-soft);
  color: #294793;
  border: 1px solid #cfdbff;
  line-height: 1.6;
}

.notice.danger, .danger {
  color: #9d2034;
  background: #fff1f3;
  border-color: #f1c9d0;
}

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

.button, button {
  background: var(--primary);
  border-color: var(--primary);
  border-radius: 8px;
  min-height: 44px;
  padding: 11px 17px;
  font-weight: 650;
  line-height: 1.4;
  transition: background .15s, border-color .15s, box-shadow .15s;
}

.button:hover, button:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

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

.button.secondary:hover, button.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

button:disabled {
  cursor: not-allowed;
  color: #778196;
  opacity: 1;
  background: #edf0f5;
  border-color: #dfe4ed;
}

.button:focus-visible, button:focus-visible {
  outline-color: var(--primary);
}

.danger-action {
  background: var(--coral);
  border-color: var(--coral);
}

.danger-action:hover {
  background: #921c2b;
  border-color: #921c2b;
}

.nav-button {
  background: none;
  border: 0;
  min-height: 40px;
}

.nav-button:hover {
  border: 0;
}

.dialog-close {
  color: var(--muted);
  background: #f1f4fa;
  border: 0;
  min-height: 42px;
}

.dialog-close:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.card input, .card select, .card textarea, .wizard input, .wizard select, .wizard textarea, .dialog-body input, .dialog-body select, .dialog-body textarea {
  border-color: #d4dbe8;
  border-radius: 8px;
  min-height: 44px;
}

.card input[type="checkbox"], .card input[type="radio"], .dialog-body input[type="checkbox"], .dialog-body input[type="radio"] {
  width: auto;
  min-height: 0;
}

.wizard fieldset {
  background: #fff;
  padding: 24px;
}

.wizard-progress {
  background: var(--primary-soft);
  color: var(--primary);
  padding: 14px 18px;
  font-weight: 600;
}

.wizard-navigation {
  padding-top: 8px;
}

.compact-wizard {
  background: var(--cream);
  border-style: solid;
}

.wizard-help {
  background: var(--cream);
  border-color: var(--line);
}

.wizard-help-toggle {
  background: none;
}

.wizard-help-toggle:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.identity-button {
  width: 100%;
  min-height: 108px;
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  padding: 22px;
}

.identity-button:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.identity-admin {
  border-left: 4px solid var(--primary);
}

.stats {
  gap: 16px;
}

.stat {
  border: 1px solid var(--line);
  min-width: 145px;
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 18px 22px;
}

.stat b, .stat strong {
  color: var(--primary);
}

.toolbar {
  margin-bottom: 28px;
}

.toolbar h1 {
  margin: 0;
}

.event-admin-row {
  padding: 24px 0;
}

.event-admin-row h2, .event-admin-row h3 {
  margin: 0 0 8px;
}

.event-admin-row p {
  color: var(--muted);
}

.section-heading {
  border-bottom: 1px solid var(--line);
  padding: 8px 0 16px;
}

.read-list dt {
  color: var(--muted);
  font-size: 11px;
}

.event-overview {
  gap: 32px;
}

.admin-grid {
  gap: 24px;
}

.platform-config-form {
  gap: 16px;
}

.function-actions {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.admin-dialog, .refund-dialog {
  border-radius: 16px;
  box-shadow: 0 24px 80px #20283f30;
}

.admin-dialog::backdrop, .refund-dialog::backdrop {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #17213b66;
}

.dialog-heading {
  background: #fff;
  padding: 22px 26px;
}

.dialog-body {
  padding: 26px;
}

.empty-state {
  background: var(--cream);
  border-color: #c5cfdf;
}

.empty-state > span {
  color: var(--primary);
}

.sales-chart {
  background: #edf0f7;
}

.sales-chart span {
  background: var(--primary);
}

.checkout-heading {
  padding: 6px 0 18px;
}

.checkout-heading h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.checkout-heading > p:last-child {
  color: var(--muted);
  margin: 0;
}

.checkout-steps {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 32px;
  margin: 0 0 8px;
  padding: 22px 0;
  list-style: none;
  display: flex;
}

.checkout-steps li {
  color: var(--muted);
  align-items: center;
  gap: 9px;
  font-size: 14px;
  display: flex;
}

.checkout-steps li > span {
  background: #e8ecf4;
  border-radius: 50%;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 12px;
  font-weight: 700;
  display: grid;
}

.checkout-steps [aria-current="step"] {
  color: var(--primary);
  font-weight: 700;
}

.checkout-steps [aria-current="step"] > span, .checkout-steps [data-complete="true"] > span {
  background: var(--primary);
  color: #fff;
}

.checkout-catalog > p {
  color: var(--muted);
  margin: 18px 0 24px;
  font-size: 13px;
}

.purchase-breadcrumb {
  margin-bottom: 18px;
}

.purchase-breadcrumb button {
  background: none;
  border: 0;
  min-height: 32px;
  padding: 5px 8px;
}

.purchase-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.purchase-layout > .stack {
  max-width: none;
  margin: 0;
}

.checkout-sidebar {
  gap: 20px;
  min-width: 0;
  display: grid;
  position: sticky;
  top: 104px;
}

.checkout-sidebar .order-summary {
  max-height: 65dvh;
  position: static;
}

.event-context h2 {
  font-size: 18px;
}

.event-context > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.event-context .instagram-card {
  margin-bottom: 0;
}

.order-summary {
  border-top: 3px solid var(--primary);
  padding: 24px;
}

.order-summary h2 {
  margin-top: 22px;
}

.order-summary summary {
  line-height: 1.7;
}

.order-summary [role="timer"] {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}

.order-summary h3 {
  justify-content: space-between;
  margin-top: 22px;
  display: flex;
}

.order-summary button[type="submit"] {
  justify-self: stretch;
  width: 100%;
}

.order-summary .order-line button {
  width: auto;
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
}

.order-line p {
  color: var(--muted);
  font-size: 13px;
}

.order-summary > form {
  margin-top: 20px;
}

.date-options {
  gap: 12px;
  display: grid;
}

.date-options > button {
  text-align: left;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px;
  display: flex;
}

.date-tile {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 9px;
  flex-direction: column;
  flex: 0 0 58px;
  align-items: center;
  padding: 7px 10px;
  display: flex;
}

.date-tile b {
  font-size: 24px;
  line-height: 1.2;
}

.date-tile small {
  text-transform: uppercase;
  font-size: 11px;
}

.date-copy {
  flex: 1;
  gap: 5px;
  display: grid;
}

.date-copy > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.sector-options {
  gap: 12px;
  margin-top: 24px;
  display: grid;
}

.sector-options > button {
  text-align: left;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px;
  display: flex;
}

.sector-options > button > span {
  gap: 5px;
  display: grid;
}

.sector-options small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.sector-options > button > b {
  color: var(--primary);
  white-space: nowrap;
}

.buyer-hall-map {
  background: var(--cream);
  grid-template-columns: 1fr;
  padding: 18px;
}

.hall-map-shell {
  --hall-stage: #20283f;
}

.hall-map-tools button.active {
  outline-color: var(--primary);
}

.hall-map-legend a:hover {
  border-color: var(--primary);
}

.hall-map-cell:hover {
  border-color: var(--line);
}

.seat-stage {
  text-align: center;
  letter-spacing: .16em;
  text-transform: uppercase;
  width: 65%;
  color: var(--muted);
  background: #eef1f7;
  border-top: 3px solid #c5cedf;
  border-radius: 4px 4px 24px 24px;
  margin: 0 auto 16px;
  padding: 7px;
  font-size: 10px;
}

.seat-cell {
  color: var(--ink);
  border-color: #d1d9e8;
  border-radius: 10px 10px 6px 6px;
  position: relative;
}

.seat-cell input {
  accent-color: var(--primary);
}

.seat-cell.selected {
  background: var(--primary-soft);
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.seat-cell:has(input:focus-visible) {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.seat-cell.blocked {
  color: #9d2034;
  background: #fff1f3;
}

.seat-cell.reserved {
  color: #805a12;
  background: #fff6df;
}

.seat-cell.sold {
  color: #68738a;
  background: #edf0f5;
}

.seat-cell.hole {
  border-color: #0000;
}

.seat-legend {
  color: var(--muted);
  line-height: 1.8;
}

.admission-ticket {
  box-shadow: var(--shadow);
  border-radius: 14px;
}

.admission-details {
  border-left: 4px solid var(--primary);
}

.wallet-heading h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.checkout-box {
  border: 1px solid var(--line);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow);
  border-radius: 16px;
}

.wallet-help {
  background: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  align-items: center;
  gap: 24px;
  padding: 28px max(24px, 50vw - 600px);
  font-size: 13px;
  display: flex;
}

.site-footer .brand {
  color: var(--ink);
  font-size: 19px;
}

.site-footer .brand span {
  border-radius: 8px;
  width: 28px;
  height: 28px;
}

.site-footer > a:last-child {
  margin-left: auto;
}

@media (max-width: 1000px) {
  .site-header {
    padding-inline: 24px;
  }

  .purchase-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
  }

  .purchase-layout .card {
    padding: 22px;
  }

  .site-header nav {
    gap: 2px;
  }

  .site-header nav a, .nav-button {
    padding: 9px;
    font-size: 12px;
  }

  .checkout-steps {
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 16px 10px;
    position: relative;
  }

  .site-header nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    width: 100%;
  }

  .brand {
    font-size: 23px;
  }

  .shell, .admin-shell {
    width: calc(100% - 32px);
    padding-top: 26px;
  }

  .hero {
    padding: 12px 0 24px;
  }

  .hero h1, .page-title {
    font-size: 34px;
  }

  .card {
    padding: 22px;
  }

  .checkout-steps {
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
  }

  .checkout-steps li {
    gap: 5px;
    font-size: 11px;
  }

  .checkout-steps li > span {
    flex-shrink: 0;
    width: 23px;
    height: 23px;
  }

  .checkout-heading h1 {
    font-size: 32px;
  }

  .purchase-layout {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    display: grid;
  }

  .checkout-sidebar {
    position: static;
  }

  .checkout-sidebar .order-summary {
    max-height: none;
    position: static;
  }

  .purchase-layout .order-summary {
    border-radius: 14px;
    max-height: none;
    padding: 22px;
    position: static;
    inset: auto;
  }

  .checkout-sidebar .order-summary:has(details) {
    position: sticky;
    bottom: 12px;
    box-shadow: 0 8px 30px #20283f18;
  }

  .date-options > button {
    gap: 12px;
    padding: 14px;
  }

  .date-copy > span {
    font-size: 12px;
  }

  .sector-options > button {
    gap: 10px;
    padding: 16px;
  }

  .sector-options > button > b {
    font-size: 13px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 16px;
  }

  .site-footer p {
    flex-basis: 100%;
    order: 3;
    margin: 0;
  }

  .stat {
    flex: 1;
    min-width: 120px;
    padding: 16px;
  }

  .function-actions {
    gap: 10px;
  }

  .admin-grid {
    gap: 18px;
  }

  .identity-grid {
    grid-template-columns: 1fr;
  }

  .identity-button {
    min-height: 90px;
  }

  .identity-button span {
    overflow-wrap: anywhere;
  }

  .event-context .instagram-card {
    max-width: 100%;
  }
}

.checkout-step-label, .checkout-steps button {
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  align-items: center;
  gap: 9px;
  padding: 0;
  display: flex;
}

.checkout-step-label > i, .checkout-steps button > span {
  background: #e8ecf4;
  border-radius: 50%;
  flex: 0 0 27px;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  display: grid;
}

.checkout-steps button {
  cursor: pointer;
}

.checkout-steps button:hover, .checkout-steps button:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

.checkout-steps [aria-current="step"] .checkout-step-label > i, .checkout-steps [data-complete="true"] button > span {
  background: var(--primary);
  color: #fff;
}

.sector-options > button:disabled {
  cursor: not-allowed;
  opacity: 1;
  border-color: var(--line);
  color: var(--ink);
  background: #f5f6f9;
}

.sector-options > button:disabled small {
  color: #7b8291;
}

.checkout-steps li > .checkout-step-label {
  width: auto;
  height: auto;
  font-size: inherit;
  font-weight: inherit;
  background: none;
  border-radius: 0;
  display: flex;
}

.checkout-steps [aria-current="step"] > .checkout-step-label {
  color: var(--primary);
  background: none;
}

@media (max-width: 760px) {
  .checkout-step-label, .checkout-steps button {
    gap: 5px;
  }

  .checkout-step-label > i, .checkout-steps button > span {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, :before, :after {
    transition: none !important;
  }
}

.wallet-buttons {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  display: flex;
}

.transfer-card {
  margin-top: 28px;
}

.transfer-link {
  border: 1px solid var(--line);
  background: var(--primary-soft);
  border-radius: 12px;
  margin: 20px 0;
  padding: 20px;
}

.transfer-link label {
  gap: 8px;
  display: grid;
}

.transfer-link input {
  width: 100%;
  font-size: 13px;
}

.transfer-card p {
  max-width: 70ch;
}

.admission-details .wallet-buttons .muted {
  font-size: 13px;
}

.received-tickets {
  margin-top: 32px;
}

.ticket-manage {
  margin-top: 16px;
}

.checkout-standard .checkout-sidebar {
  position: static;
}

.checkout-standard .checkout-sidebar .order-summary:has(details) {
  position: static;
}

.checkout-standard .order-summary, .checkout-standard .checkout-sidebar .order-summary, .checkout-standard .seat-scroll {
  max-height: none;
  overflow: visible;
}

.checkout-standard .hall-map-viewport {
  overflow: visible;
}

.checkout-standard .hall-map-grid, .checkout-standard .buyer-hall-map .hall-map-grid {
  min-width: 0;
}

.checkout-standard .seat-scroll {
  scrollbar-gutter: auto;
  padding: 4px 0;
}

.checkout-standard .seat-matrix {
  gap: clamp(1px, .4vw, 6px);
  width: 100%;
  grid-template-columns: repeat(var(--seat-grid-columns), minmax(0, 1fr)) !important;
}

.checkout-standard .seat-cell {
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: clamp(7px, 1.6vw, 12px);
}

.checkout-standard .seat-cell input {
  max-width: 100%;
}

.checkout-standard .hall-map-grid {
  grid-template-columns: repeat(20, minmax(0, 1fr));
}

.checkout-standard .hall-map-shell, .checkout-standard .hall-map-viewport {
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--primary);
  flex: none;
}

.site-footer .brand-mark {
  width: 31px;
  height: 31px;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 18px;
  margin-left: auto;
  display: flex;
}

.footer-links a {
  white-space: nowrap;
}

.legal-acceptance {
  max-width: 64ch;
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.legal-acceptance a {
  color: var(--primary);
  font-weight: 650;
}

.legal-page {
  max-width: 900px;
}

.legal-heading {
  border-bottom: 1px solid var(--line);
  padding: 18px 0 26px;
}

.legal-heading h1 {
  margin: 10px 0 12px;
}

.legal-heading > p:last-child {
  color: var(--muted);
  margin: 0;
}

.legal-index {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin: 28px 0;
  padding: 22px 24px;
  display: grid;
}

.legal-index strong {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.legal-index a {
  color: var(--primary);
  font-size: 14px;
}

.legal-section {
  border-bottom: 1px solid var(--line);
  padding: 25px 0;
  scroll-margin-top: 105px;
}

.legal-section h2 {
  margin: 0 0 12px;
}

.legal-section p, .legal-section li {
  line-height: 1.75;
}

.legal-section ul {
  gap: 7px;
  padding-left: 24px;
  display: grid;
}

.legal-section a {
  color: var(--primary);
  font-weight: 600;
}

.legal-back {
  margin-top: 32px;
  font-weight: 700;
}

.legal-back a {
  color: var(--primary);
}

@media (max-width: 760px) {
  .footer-links {
    justify-content: flex-start;
    margin-left: 0;
  }

  .legal-index {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .legal-index strong {
    grid-column: auto;
  }

  .legal-section {
    scroll-margin-top: 20px;
  }

  .legal-section p, .legal-section li {
    line-height: 1.65;
  }
}

.dashboard-heading {
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
  display: flex;
}

.dashboard-heading h1 {
  margin: 5px 0 8px;
}

.dashboard-heading p:last-child {
  color: var(--muted);
  margin: 0;
}

.dashboard-metrics {
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
  display: flex;
}

.dashboard-metrics > div {
  border: 1px solid var(--line);
  min-width: 190px;
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 12px;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 9px;
  padding: 16px 20px;
  display: grid;
}

.dashboard-metrics strong {
  color: var(--primary);
  font-size: 26px;
}

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

.dashboard-groups {
  gap: 20px;
  display: grid;
}

.dashboard-group {
  padding: 24px;
}

.dashboard-group-heading {
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  margin-bottom: 16px;
  display: flex;
}

.dashboard-group-heading .eyebrow {
  margin: 0 0 5px;
}

.dashboard-group-heading h2 {
  margin: 0;
}

.dashboard-group-heading > a {
  color: var(--primary);
  font-weight: 700;
}

.dashboard-items {
  display: grid;
}

.dashboard-item {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 15px 0;
  text-decoration: none;
  display: flex;
}

.dashboard-item:first-child {
  border-top: 0;
}

.dashboard-item > span {
  gap: 4px;
  min-width: 0;
  display: grid;
}

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

.dashboard-item time, .dashboard-item > b {
  color: var(--primary);
  text-align: right;
  flex: none;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-item:hover strong {
  text-decoration: underline;
}

.dashboard-empty {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 5px;
  display: flex;
}

.dashboard-empty p {
  color: var(--muted);
}

.dashboard-all-clear {
  color: var(--green);
  background: #eaf7f0;
  border-radius: 10px;
  margin: 0;
  padding: 14px 16px;
  font-weight: 700;
}

.ticket-filters {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  gap: 8px;
  width: fit-content;
  margin: 0 0 28px;
  padding: 5px;
  display: flex;
}

.ticket-filters a {
  color: var(--muted);
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.ticket-filters a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary);
}

@media (max-width: 650px) {
  .dashboard-heading {
    flex-direction: column;
    align-items: start;
  }

  .dashboard-item {
    flex-direction: column;
    align-items: start;
    gap: 6px;
  }

  .dashboard-item time, .dashboard-item > b {
    text-align: left;
  }

  .dashboard-empty {
    flex-direction: column;
    align-items: start;
  }

  .dashboard-metrics > div {
    flex: 1;
    min-width: 145px;
  }

  .dashboard-group-heading {
    align-items: start;
  }

  .ticket-filters {
    width: 100%;
  }

  .ticket-filters a {
    text-align: center;
    flex: 1;
  }
}

.site-header {
  background: #fffdf8f7;
  padding-block: 12px;
  box-shadow: 0 1px #26352f0a;
}

.brand-logo {
  width: 220px;
  height: auto;
  display: block;
}

.site-footer .brand-logo {
  width: 176px;
}

.site-footer {
  background: var(--paper);
}

.card-accent {
  background: linear-gradient(135deg,var(--lime),var(--primary-soft));
}

.wallet-button {
  background: var(--ink);
  border-color: var(--ink);
}

.seat-cell.selected, .button:focus-visible, button:focus-visible {
  outline-color: var(--primary);
}

@media (max-width: 760px) {
  .brand-logo {
    width: min(220px, 72vw);
  }

  .site-footer .brand-logo {
    width: 170px;
  }
}

/*# sourceMappingURL=src_app_1rsw2xc8oxjj0._.css.map*/