:root {
  --brand: #0f766e;
  --ink: #0f172a;
  --muted: #475569;
  --paper: #f7f9f8;
  --line: #dbe4e1;
  --soft: #e4f1ec;
  --serif: Georgia, serif;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Thonburi",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--brand);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--brand);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
button:hover,
.button:hover {
  background: #115e59;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--soft);
}
:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 4px;
}
.wrap {
  max-width: 1180px;
  padding: 0 32px;
  margin: auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.8px;
}
.brand img {
  width: 38px;
  height: 38px;
}
.topnav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.topnav a:not(.button) {
  color: var(--muted);
  text-decoration: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.22;
  letter-spacing: -2px;
  font-weight: 720;
}
h2 {
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.8px;
}
h3 {
  font-size: 19px;
}
p {
  color: var(--muted);
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0 72px;
}
.hero h1 {
  margin: 22px 0;
}
.hero h1 span {
  color: var(--brand);
}
.hero p {
  font-size: 18px;
  max-width: 470px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.note {
  font-size: 12px !important;
  margin-top: 14px;
  color: var(--muted);
}
.preview {
  background: #e3ece6;
  border-radius: 28px;
  padding: 36px 28px;
  transform: rotate(1deg);
  position: relative;
}
.preview-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #425c50;
  margin: 0 0 20px;
}
.mock-ticket {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px #16362b14;
  transform: rotate(-1deg);
}
.concert-art {
  background: #102f2b;
  border-radius: 12px;
  min-height: 160px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.concert-art:before,
.concert-art:after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid #8bbdb470;
  border-radius: 50%;
  right: -26px;
  top: -75px;
}
.concert-art:after {
  right: 18px;
  top: -36px;
}
.concert-art small {
  color: #a9d6c5;
  letter-spacing: 0.16em;
  font-size: 10px;
}
.concert-art strong {
  display: block;
  font-family: var(--serif);
  font-size: 39px;
  line-height: 1.1;
  margin: 25px 0 5px;
  font-weight: 400;
}
.mock-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 14px;
}
.pill {
  display: inline-flex;
  font-size: 11px;
  background: #e5f3eb;
  color: #166534;
  padding: 4px 10px;
  border-radius: 20px;
}
.stage {
  text-align: center;
  background: #eef2f0;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #5c7066;
  padding: 6px;
  border-radius: 3px;
  margin: 12px 0;
}
.seat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  padding: 12px 0 20px;
}
.seat-grid i {
  aspect-ratio: 1;
  border: 1px solid #a5c3b7;
  border-radius: 5px;
  background: #f1f8f4;
}
.seat-grid i:nth-child(4n) {
  background: #cdd8d2;
  border-color: #cdd8d2;
}
.seat-grid i:nth-child(10),
.seat-grid i:nth-child(11) {
  background: var(--brand);
  border-color: var(--brand);
}
.ticket-foot {
  border-top: 1px dashed var(--line);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.ticket-foot b {
  color: var(--brand);
}
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-bottom: 72px;
}
.feature-band div {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.feature-band div:first-child {
  padding-left: 0;
}
.feature-band div:last-child {
  border: 0;
}
.feature-band strong {
  font-size: 16px;
  display: block;
}
.feature-band p {
  font-size: 13px;
  margin-top: 6px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 28px;
}
.section-head p {
  max-width: 360px;
  font-size: 14px;
}
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
.price-card,
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.price-card.featured {
  border: 1px solid var(--brand);
  background: #f0f7f3;
}
.price {
  font-size: 40px;
  letter-spacing: -1.5px;
  margin: 12px 0;
  font-weight: 700;
}
.price small {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.price-card p {
  font-size: 14px;
}
.price-card .button {
  margin-top: 20px;
  width: 100%;
}
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  gap: 24px;
}
.narrow {
  max-width: 480px;
  margin: 70px auto;
  padding: 0 20px;
}
.narrow h1 {
  font-size: 30px;
  margin: 20px 0 12px;
  letter-spacing: -0.5px;
}
.narrow .card {
  margin-top: 28px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}
input,
select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #64748b;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.field {
  margin: 18px 0;
}
.full {
  width: 100%;
}
.error {
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 10px;
  padding: 12px;
  margin: 16px 0;
  font-size: 14px;
}
.notice {
  background: #fffbeb;
  color: #92400e;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  margin: 18px 0;
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.dashboard {
  display: grid;
  grid-template-columns: 235px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 26px 20px;
}
.sidebar .brand {
  margin-bottom: 35px;
}
.sidebar nav {
  display: grid;
  gap: 8px;
}
.sidebar nav a {
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
}
.sidebar nav a.active {
  background: var(--soft);
  color: var(--brand);
  font-weight: 650;
}
.dashboard main {
  min-width: 0;
  padding: 36px 44px;
  max-width: 1100px;
  width: 100%;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.dash-head h1 {
  font-size: 30px;
  letter-spacing: -0.7px;
}
.dash-head button {
  font-size: 13px;
  padding: 10px 15px;
}
.orgbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}
.orgbar select {
  max-width: 350px;
}
.empty {
  text-align: center;
  padding: 44px 24px;
}
.empty .empty-icon {
  background: var(--soft);
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 26px;
}
.empty p {
  margin: 10px 0 22px;
}
.event-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.event-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.event-row p {
  font-size: 13px;
}
.event-row h3 {
  margin-bottom: 4px;
}
.small-title {
  margin: 30px 0 16px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.hidden,
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 800px) {
  .wrap {
    padding: 0 20px;
  }
  .hero {
    gap: 30px;
    padding: 44px 0;
    grid-template-columns: 1fr;
  }
  .hero h1 {
    max-width: 540px;
  }
  .preview {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    transform: none;
  }
  .topnav > a:not(.button) {
    display: none;
  }
  .topbar {
    min-height: 80px;
  }
  .topbar .button {
    font-size: 13px;
    padding: 10px 14px;
  }
  .feature-band {
    margin-bottom: 42px;
    gap: 18px;
    grid-template-columns: 1fr;
  }
  .feature-band div {
    border: 0;
    padding: 0;
  }
  .section-head {
    display: block;
  }
  .section-head p {
    margin-top: 12px;
  }
  .dashboard {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin: 0;
  }
  .sidebar nav {
    display: none;
  }
  .dashboard main {
    min-width: 0;
    padding: 25px 20px;
  }
  .narrow {
    margin-top: 35px;
  }
}
@media (max-width: 440px) {
  .pricing {
    grid-template-columns: 1fr;
  }
  .preview {
    padding: 22px 16px;
  }
  .mock-ticket {
    padding: 18px;
  }
  .hero h1 {
    font-size: 39px;
  }
  .hero p {
    font-size: 16px;
  }
  .footer {
    display: block;
  }
  .footer p {
    margin-bottom: 8px;
  }
  .dash-head {
    align-items: start;
  }
  .dash-head h1 {
    font-size: 25px;
  }
  .orgbar {
    display: block;
  }
  .orgbar label {
    margin-bottom: 10px;
  }
  .event-row {
    align-items: start;
  }
  .card {
    padding: 22px;
  }
  .actions .button {
    width: 100%;
  }
}

.layout-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 20px;
}
#layout {
  margin-bottom: 24px;
  min-width: 0;
}
.stage-label {
  text-align: center;
  padding: 12px;
  background: #e7eeeb;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 700;
}
.table-grid {
  max-width: 100%;
  overflow: auto;
  padding-bottom: 12px;
}
.table-line {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  width: max-content;
}
.table-chip {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 90px;
  padding: 8px;
  border: 1px solid #a8c8bb;
  background: #f1f8f4;
  border-radius: 12px;
  color: #174b3c;
}

.manager-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.manager-tabs button {
  background: white;
  color: var(--brand);
  border: 1px solid var(--line);
}
.manager-tabs button[aria-pressed="true"] {
  background: var(--brand);
  color: white;
}
.manager-panel {
  min-width: 0;
}
.manager-panel h3 {
  margin-top: 24px;
}
.manager-panel fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.manager-panel textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #64748b;
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}
.readiness-list {
  padding-left: 24px;
  line-height: 1.9;
}
.readiness-list .ready {
  color: var(--brand);
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.table-chip[aria-pressed="true"] {
  background: var(--brand);
  color: white;
  outline: 2px solid var(--brand);
}
.table-inactive {
  background: #eee;
  color: #666;
  border-style: dashed;
}
.selection-summary {
  margin: 20px 0;
  overflow-wrap: anywhere;
}
.manager-panel .table-chip {
  flex-shrink: 0;
}
.manager-panel input:disabled,
.manager-panel textarea:disabled {
  opacity: 0.75;
}
