.scc-tb {
  --scc-tb-accent: #852a49;
  --scc-tb-dark: #22242a;
  --scc-tb-muted: #626873;
  --scc-tb-line: #e7e7ec;
  --scc-tb-bg: #f9f8fa;
  color: var(--scc-tb-dark);
  font-family: inherit;
  line-height: 1.5;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.scc-tb *, .scc-tb *::before, .scc-tb *::after { box-sizing: border-box; }
.scc-tb [hidden], .scc-tb .scc-tb-honey { display: none !important; }
.scc-tb a { text-decoration: none; }
.scc-tb a:hover { text-decoration: underline; }

.scc-tb-hero {
  color: #fff;
  border-radius: 18px;
  background: linear-gradient(120deg, #451c35 0%, #8d2a4b 65%, #b55156 100%);
  padding: clamp(24px, 4vw, 42px);
  margin-bottom: 22px;
}
.scc-tb-hero h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); margin: .35rem 0 .5rem; line-height: 1.15; }
.scc-tb-hero p { color: #fff; margin: 0; max-width: 700px; opacity: .95; }
.scc-tb-eyebrow { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }

.scc-tb-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  border: 2px solid var(--scc-tb-accent);
  border-radius: 9px;
  padding: .68rem 1rem;
  background: var(--scc-tb-accent);
  color: #fff !important;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  transition: filter .15s, transform .15s;
}
.scc-tb-button:hover { filter: brightness(.92); transform: translateY(-1px); }
.scc-tb-button:focus-visible, .scc-tb input:focus-visible, .scc-tb select:focus-visible, .scc-tb textarea:focus-visible {
  outline: 3px solid #4e92e8; outline-offset: 2px;
}
.scc-tb-button-outline { color: var(--scc-tb-accent) !important; background: #fff; }
.scc-tb-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 0 20px; }
.scc-tb-plan-inline { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; color: #852a49 !important; text-decoration: underline !important; font-size: .88rem; font-weight: 700; }
.scc-tb .scc-tb-plan-dialog {
  padding: 0;
  width: min(96vw, 1140px);
  max-width: none;
  height: min(94vh, 930px);
  max-height: none;
  background: #fff;
  color: #202733;
  border: 1px solid #dadfe7;
  border-radius: 14px;
  box-shadow: 0 20px 75px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.scc-tb .scc-tb-plan-dialog:not([open]) { display: none; }
.scc-tb .scc-tb-plan-dialog[open] { display: flex; flex-direction: column; }
.scc-tb-plan-dialog::backdrop { background: rgba(17, 22, 30, .78); }
.scc-tb-plan-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 19px; border-bottom: 1px solid #e7e7ec; }
.scc-tb .scc-tb-plan-header h3 { color: #202733 !important; font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin: 0 0 4px; }
.scc-tb .scc-tb-plan-header p { color: #505b6a !important; margin: 0; font-size: .84rem; line-height: 1.4; }
.scc-tb .scc-tb-plan-close { background: #f4f4f6; border: 1px solid #d8d9df; color: #202733 !important; border-radius: 8px; min-width: 42px; min-height: 42px; font-size: 1.7rem; line-height: 1; cursor: pointer; flex: 0 0 auto; }
.scc-tb-plan-toolbar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px; padding: 9px 13px; border-bottom: 1px solid #e7e7ec; background: #faf9fb; }
.scc-tb .scc-tb-plan-toolbar button { min-width: 42px; min-height: 38px; padding: 7px 11px; border-radius: 7px; background: #fff; border: 1px solid #9fa7b4; color: #202733 !important; cursor: pointer; font: inherit; font-weight: 700; }
.scc-tb .scc-tb-plan-toolbar button:hover, .scc-tb .scc-tb-plan-close:hover { background: #f2e5eb; }
.scc-tb-plan-toolbar output { min-width: 50px; text-align: center; color: #202733; font-size: .88rem; font-weight: 700; }
.scc-tb .scc-tb-plan-toolbar a { color: #782340 !important; font-size: .84rem; font-weight: 650; margin-left: 8px; }
.scc-tb-plan-viewport { position: relative; overflow: auto; min-height: 0; flex: 1 1 auto; padding: 8px; background: #eceef2; overscroll-behavior: contain; touch-action: pan-x pan-y; -webkit-overflow-scrolling: touch; }
.scc-tb-plan-viewport img { display: block; width: 100%; max-width: none; height: auto; margin: 0 auto; background: #fff; user-select: none; -webkit-user-drag: none; }
.scc-tb-plan-footer { padding: 8px 13px; color: #505b6a; background: #fff; font-size: .78rem; text-align: center; }

.scc-tb-notice {
  padding: 14px 17px;
  margin: 0 0 20px;
  border: 1px solid #c9dae5;
  border-left: 5px solid #2b7097;
  border-radius: 8px;
  background: #f4f9fc;
  color: #163d53;
}
.scc-tb-panel {
  background: #fff;
  border: 1px solid var(--scc-tb-line);
  box-shadow: 0 4px 26px rgba(22, 23, 30, .05);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 30px);
  margin-top: 24px;
}
.scc-tb-panel h3 { margin: 0 0 .4rem; font-size: 1.45rem; }
.scc-tb-panel > p { color: var(--scc-tb-muted); margin: 0 0 22px; }

.scc-tb-filters {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  align-items: end;
  gap: 12px;
  padding: 17px;
  border-radius: 12px;
  background: var(--scc-tb-bg);
  border: 1px solid var(--scc-tb-line);
  margin: 0 0 20px;
}
.scc-tb label { display: block; font-size: .92rem; font-weight: 650; }
.scc-tb label > span:not(.scc-tb-check span) { color: #a9344c; }
.scc-tb input:not([type="checkbox"]), .scc-tb select, .scc-tb textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #cdd0d6;
  color: var(--scc-tb-dark);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  padding: .65rem .75rem;
  margin: .3rem 0 0;
  min-height: 44px;
}
.scc-tb textarea { min-height: 100px; resize: vertical; }
.scc-tb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.scc-tb-entry { display: grid; gap: 18px; }
.scc-tb-entry > .scc-tb-button { justify-self: start; }
.scc-tb-fieldhint {
  display: block;
  margin-top: .35rem;
  font-size: .82rem;
  font-weight: 400;
  line-height: 1.45;
}
.scc-tb-swap-hint { grid-column: 1 / -1; }
.scc-tb-seatgroups-editor {
  background: #f7f7f9;
  border: 1px solid #e1dce1;
  padding: clamp(14px, 2.5vw, 22px);
  border-radius: 12px;
  color: #202733;
}
.scc-tb-seatgroups-heading { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.scc-tb-seatgroups-heading h4 { margin: 0 0 4px; font-size: 1.1rem; color: #202733 !important; }
.scc-tb-seatgroups-heading p { margin: 0; color: #505b6a !important; font-size: .88rem; }
.scc-tb-seatgroups-heading > strong { color: #7b2445 !important; white-space: nowrap; font-size: .94rem; }
.scc-tb-group-list { display: grid; gap: 13px; }
.scc-tb-group { background: #fff; border: 1px solid #d7dce2; border-radius: 10px; padding: 15px; }
.scc-tb-group-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.scc-tb-group-header strong { color: #202733 !important; font-size: .96rem; }
.scc-tb-group-remove { background: transparent; border: 0; color: #852a49 !important; font: inherit; font-size: .83rem; cursor: pointer; text-decoration: underline; padding: 5px; }
.scc-tb-group-fields { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 12px; }
.scc-tb-add-group { margin: 14px 0 0; }
.scc-tb .scc-tb-add-group:disabled { opacity: .5 !important; cursor: not-allowed !important; transform: none; }
.scc-tb-seating-summary { color: #6b3f00; background: #fff4d6; border: 1px solid #ead598; padding: 8px 10px; border-radius: 8px; margin: 8px 0 12px; font-size: .85rem; font-weight: 650; }
.scc-tb-seat-list { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 7px; }
.scc-tb-seat-list li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px; border: 1px solid #e4e6e9; border-radius: 7px; background: #f9fafb; color: #202733; font-size: .88rem; }
.scc-tb-seat-list small { color: #475569; font-size: .83rem; white-space: nowrap; }
.scc-tb-email-info {
  border-left: 4px solid #852a49;
  background: #f7f5f7;
  border-radius: 6px;
  padding: 12px 15px;
  font-size: .91rem;
  line-height: 1.55;
}
.scc-tb-email-info p { margin: .35rem 0 0; }
.scc-tb-check { display: flex !important; align-items: flex-start; gap: .65rem; font-weight: 400 !important; line-height: 1.45; }
.scc-tb-check input { margin: .25rem 0 0; flex: 0 0 auto; width: 18px; height: 18px; }
.scc-tb-check span { color: var(--scc-tb-dark); }

.scc-tb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.scc-tb-card {
  border: 1px solid var(--scc-tb-line);
  background: #fff;
  box-shadow: 0 3px 17px rgba(20, 20, 25, .045);
  border-radius: 13px;
  padding: 20px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.scc-tb-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.scc-tb-card-top small { color: var(--scc-tb-muted); }
.scc-tb-pill { padding: .2rem .55rem; border-radius: 99px; font-size: .78rem; font-weight: 750; }
.scc-tb-offer { background: #fce9ed; color: #852846; }
.scc-tb-wanted { background: #e5f5ea; color: #13623a; }
.scc-tb-swap { background: #e7effc; color: #254e9a; }
.scc-tb-card h3 { font-size: 1.22rem; margin: 0 0 12px; line-height: 1.3; }
.scc-tb-card p { margin: .3rem 0 12px; font-size: .95rem; }
.scc-tb-card .scc-tb-price { font-size: 1.25rem; font-weight: 750; }
.scc-tb-card .scc-tb-price small { color: var(--scc-tb-muted); font-size: .72em; font-weight: 400; }
.scc-tb-card .scc-tb-note { color: var(--scc-tb-muted); }
.scc-tb-card .scc-tb-button { margin-top: 6px; }
.scc-tb-empty { padding: 24px; background: var(--scc-tb-bg); border-radius: 12px; grid-column: 1 / -1; }
.scc-tb-pagination { display: flex; gap: .5rem; flex-wrap: wrap; margin: 20px 0; }
.scc-tb-pagination a { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--scc-tb-line); border-radius: 6px; }
.scc-tb-pagination a[aria-current="page"] { background: var(--scc-tb-accent); color: #fff; }
.scc-tb-report { margin-top: 22px; font-size: .85rem; }
.scc-tb-disclaimer { padding: 20px 0; color: var(--scc-tb-muted); font-size: .84rem; line-height: 1.55; }

/*
 * Theme isolation: the SCC website uses a dark theme with global rules that
 * force white headings/labels and charcoal form controls. Keep our light
 * panels explicitly readable, regardless of the theme's selector order.
 */
.scc-tb .scc-tb-panel,
.scc-tb .scc-tb-filters,
.scc-tb .scc-tb-card,
.scc-tb .scc-tb-empty {
  background-color: #fff !important;
  color: #202733 !important;
}
.scc-tb .scc-tb-filters { background-color: #f7f7f9 !important; }
.scc-tb .scc-tb-panel h3,
.scc-tb .scc-tb-card h3,
.scc-tb .scc-tb-panel label,
.scc-tb .scc-tb-filters label,
.scc-tb .scc-tb-card p,
.scc-tb .scc-tb-empty,
.scc-tb .scc-tb-card strong {
  color: #202733 !important;
}
.scc-tb .scc-tb-panel > p,
.scc-tb .scc-tb-card .scc-tb-note,
.scc-tb .scc-tb-card-top small,
.scc-tb .scc-tb-card .scc-tb-price small {
  color: #505b6a !important;
}
.scc-tb .scc-tb-fieldhint,
.scc-tb .scc-tb-email-info,
.scc-tb .scc-tb-email-info strong,
.scc-tb .scc-tb-email-info p {
  color: #303c4d !important;
}
.scc-tb .scc-tb-entry input:not([type="checkbox"]),
.scc-tb .scc-tb-filters select,
.scc-tb .scc-tb-entry select,
.scc-tb .scc-tb-entry textarea {
  background: #f9fafb !important;
  color: #18212d !important;
  border: 1px solid #8a96a5 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #18212d;
}
.scc-tb .scc-tb-entry input::placeholder,
.scc-tb .scc-tb-entry textarea::placeholder {
  color: #5b6574 !important;
  opacity: 1 !important;
  -webkit-text-fill-color: #5b6574;
}
.scc-tb .scc-tb-entry select option,
.scc-tb .scc-tb-filters select option {
  background: #fff;
  color: #18212d;
}
.scc-tb .scc-tb-entry .scc-tb-check,
.scc-tb .scc-tb-entry .scc-tb-check span {
  color: #273241 !important;
}
.scc-tb .scc-tb-panel a:not(.scc-tb-button),
.scc-tb .scc-tb-card a:not(.scc-tb-button) {
  color: #7b2445 !important;
}
.scc-tb .scc-tb-button,
.scc-tb .scc-tb-filters button.scc-tb-button,
.scc-tb .scc-tb-entry button.scc-tb-button {
  color: #fff !important;
  background-color: #852a49 !important;
  border: 2px solid #852a49 !important;
  opacity: 1 !important;
  font-size: .95rem !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  min-height: 42px;
  text-shadow: none !important;
  box-shadow: none !important;
  -webkit-text-fill-color: #fff;
}
.scc-tb .scc-tb-button:hover,
.scc-tb .scc-tb-entry button.scc-tb-button:hover { background-color: #692039 !important; }
.scc-tb .scc-tb-button-outline,
.scc-tb .scc-tb-entry button.scc-tb-button-outline {
  background-color: #fff !important;
  color: #782340 !important;
  -webkit-text-fill-color: #782340;
}
.scc-tb .scc-tb-button-outline:hover,
.scc-tb .scc-tb-entry button.scc-tb-button-outline:hover { background-color: #f9eef2 !important; }
.scc-tb .scc-tb-hero,
.scc-tb .scc-tb-hero h2,
.scc-tb .scc-tb-hero p,
.scc-tb .scc-tb-hero .scc-tb-eyebrow {
  color: #fff !important;
}
.scc-tb .scc-tb-hero h2 { font-weight: 700 !important; }
.scc-tb .scc-tb-notice { color: #163d53 !important; }
.scc-tb .scc-tb-disclaimer { color: #d6d9df !important; }

@media (max-width: 700px) {
  .scc-tb-filters, .scc-tb-fields, .scc-tb-cards, .scc-tb-group-fields { grid-template-columns: 1fr; }
  .scc-tb-filters .scc-tb-button, .scc-tb-actions .scc-tb-button, .scc-tb-entry > .scc-tb-button { width: 100%; }
  .scc-tb-seatgroups-heading { display: block; }
  .scc-tb-seatgroups-heading > strong { display: block; margin-top: 7px; }
  .scc-tb-add-group { width: 100%; }
  .scc-tb-entry > .scc-tb-button { justify-self: stretch; }
  .scc-tb-hero { border-radius: 12px; }
  .scc-tb .scc-tb-plan-dialog { width: 100vw; height: 100vh; height: 100dvh; border-radius: 0; }
  .scc-tb-plan-header { padding: 11px 13px; }
  .scc-tb .scc-tb-plan-header h3 { font-size: 1rem; }
  .scc-tb .scc-tb-plan-header p { font-size: .76rem; }
  .scc-tb-plan-toolbar { gap: 6px; padding: 8px; }
  .scc-tb .scc-tb-plan-toolbar a { margin-left: 0; }
  .scc-tb-plan-footer { font-size: .73rem; }
}
