@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=IBM+Plex+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=Karla:wght@400;500;600;700&family=Roboto+Mono:wght@400;600;700&display=swap");

/* Onsales Main View — Inter UI; table column titles Barlow Condensed; data rows Karla */

.buying-sheet {
  --bs-font-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-font-rows: "Karla", ui-sans-serif, system-ui, sans-serif;
  --bs-table-head-font: "Barlow Condensed", var(--bs-font-sans);
  /* Header + column header strip (design token) */
  --bs-header-bg: #0f172a;
  --bs-header-accent: #2563eb;
  /* Legacy ring — prefer solid border focus (--bs-input-focus-blue) */
  --bs-input-focus-ring: 0 0 0 2px rgba(37, 99, 235, 0.28);
  --bs-input-focus-blue: #2563eb;
  /* Filter / add / edit row: one height for Input, DatePicker, Select */
  --bs-compact-control-height: 26px;
  /* Darker than gray-400 — readable placeholder text */
  --bs-input-placeholder: #64748b;
  --bs-panel-radius: 12px;
  --bs-font-header-mono: "IBM Plex Mono", monospace;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  background: #f3f4f6;
  display: flex;
  flex-direction: column;
  font-family: var(--bs-font-sans);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

/* Native focus ring off — Ant controls show border color instead */

.buying-sheet .ant-input:focus,
.buying-sheet .ant-picker-input > input:focus,
.buying-sheet .ant-select-selection-search-input:focus {
  outline: none !important;
}

.buying-sheet .ant-input::placeholder,
.buying-sheet .ant-picker .ant-picker-input > input::placeholder,
.buying-sheet .ant-select .ant-select-selection-placeholder {
  color: var(--bs-input-placeholder) !important;
  opacity: 1 !important;
  font-weight: 400;
}

/* Top bar — navy + blue accent line (reference) */

.buying-sheet__topbar {
  --bs-topbar-bg: #121826;
  --bs-topbar-line: #2e5bff;
  font-family: var(--bs-font-header-mono);
  background: var(--bs-topbar-bg);
  color: #e2e8f0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  border-top: none;
  border-bottom: 1px solid var(--bs-topbar-line);
  box-shadow: none;
}

.buying-sheet__brand-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

/* Wordmark: TICKET white + BOAT sky blue */

.buying-sheet__logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
}

.buying-sheet__logo-ticket {
  color: #ffffff;
}

.buying-sheet__logo-boat {
  color: #5da2d5;
}

.buying-sheet__logo-page {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  margin-left: 10px;
}

.buying-sheet__brand-date {
  font-weight: 400;
  color: #8e9aaf;
  font-size: 14px;
  margin-left: 10px;
  letter-spacing: 0.02em;
}

.buying-sheet__topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* Logged-in line — compact (spec) */

.buying-sheet__login-line {
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.buying-sheet__login-label {
  color: #8e9aaf;
  font-weight: 400;
}

.buying-sheet__login-name {
  color: #ffffff;
  font-weight: 700;
}

/* Role pills — Captain bronze + cream; Buyer blue + white (reference) */

.buying-sheet__role-badge.ant-tag {
  margin: 0;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  border: none !important;
  border-radius: 5px;
}

.buying-sheet__role-badge--captain.ant-tag {
  color: #fdf8c1 !important;
  background: #845424 !important;
}

.buying-sheet__role-badge--buyer.ant-tag {
  color: #ffffff !important;
  background: #2b418c !important;
}

/* DEMO ROLE — framed group; segmented thumb = slate pill + white selected text */

.buying-sheet__demo-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px 5px 12px;
  border: 1px solid #323a48;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.buying-sheet__demo-role-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #717d8a;
  white-space: nowrap;
}

.buying-sheet__demo-role .ant-segmented {
  background: rgba(0, 0, 0, 0.2);
  padding: 3px;
  border-radius: 6px;
}

.buying-sheet__demo-role .ant-segmented-item {
  color: #717d8a !important;
  font-weight: 500;
}

.buying-sheet__demo-role .ant-segmented-item:hover:not(.ant-segmented-item-selected) {
  color: #8e9aaf !important;
}

.buying-sheet__demo-role .ant-segmented-item-selected {
  /* bg/text from ConfigProvider Segmented tokens — avoid default white elevated */
  border-radius: 4px !important;
  box-shadow: none !important;
}

.buying-sheet__demo-role .ant-segmented-item-selected .ant-segmented-item-label {
  color: #ffffff !important;
  font-weight: 700;
}

.buying-sheet__demo-role
  .ant-segmented-item:not(.ant-segmented-item-selected)
  .ant-segmented-item-label {
  color: #717d8a !important;
  font-weight: 500;
}

.buying-sheet__demo-role .ant-segmented-thumb {
  border-radius: 4px !important;
  box-shadow: none !important;
}

.buying-sheet__demo-role .ant-segmented-item-label {
  position: relative;
  z-index: 1;
}

/* Main: full viewport width — grid so table panel always spans full column (avoids ~80% flex shrink) */

.buying-sheet__body {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-content: start;
  padding: 0 0 16px;
}

/* Tours + search: framed card — square corners; border only (no shadow) */

.buying-sheet__page-header-card {
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0;
  margin-bottom: 12px;
  margin-top: 0;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: none;
  font-family: var(--bs-font-header-mono);
}

.buying-sheet__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 20px 6px;
}

.buying-sheet__title-row--buyer {
  align-items: center;
}

.buying-sheet__title-row-buyer {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.buying-sheet__hint--buyer-lead {
  margin: 0 !important;
  max-width: 14rem;
  text-align: left;
}

.buying-sheet__my-onsales-view {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  box-sizing: border-box;
  padding: 8px 12px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
}

.buying-sheet__my-onsales-view-label {
  font-family: var(--bs-font-header-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  white-space: nowrap;
}

.buying-sheet__my-onsales-view-date {
  width: 168px !important;
  max-width: min(168px, 100%);
}

.buying-sheet__my-onsales-view-open.ant-btn {
  height: 28px;
  padding: 0 12px 0 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--bs-font-header-mono) !important;
}

.buying-sheet__page-header-card .buying-sheet__my-onsales-view-date.ant-picker,
.buying-sheet__page-header-card .buying-sheet__my-onsales-view-date.ant-picker:hover {
  border-width: 2px !important;
  border-color: #93c5fd !important;
  background: #fff !important;
}

.buying-sheet__page-header-card
  .buying-sheet__my-onsales-view-date.ant-picker-focused {
  border-color: var(--bs-input-focus-blue) !important;
}

.buying-sheet__title-block {
  min-width: 0;
}

.buying-sheet__tours-title {
  margin: 0 !important;
  font-family: var(--bs-font-header-mono) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #000000 !important;
  line-height: 1.2 !important;
}

.buying-sheet__subtitle {
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0.01em;
}

.buying-sheet__title-right {
  text-align: right;
  flex-shrink: 0;
  padding-top: 0;
}

.buying-sheet__hint {
  color: #6b7280;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.35;
  max-width: 300px;
}

.buying-sheet__env-hint {
  font-size: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: #f1f5f9;
  padding: 1px 5px;
  border-radius: 4px;
  color: #334155;
}

.buying-sheet__page-header-divider {
  height: 0;
  margin: 0;
  border: none;
  border-top: 1px solid #d1d5db;
}

/* Search: label | date | button — one flex row (nowrap); tallies stay right */

.buying-sheet__search-section {
  --bs-search-control-h: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 9px;
  min-width: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%);
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
}

.buying-sheet__search-col {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}

.buying-sheet__search-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
}

.buying-sheet__search-date {
  flex: 1 1 176px;
  min-width: 0;
  max-width: 240px;
  width: auto !important;
}

.buying-sheet__search-submit.ant-btn {
  flex-shrink: 0;
  height: var(--bs-search-control-h) !important;
  min-height: var(--bs-search-control-h) !important;
  padding: 0 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: var(--bs-font-sans) !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.16) !important;
}

.buying-sheet__search-submit.ant-btn:hover {
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.22) !important;
}

.buying-sheet__page-header-card .ant-picker .ant-picker-input > input {
  font-family: var(--bs-font-header-mono) !important;
  font-size: 12px !important;
}

.buying-sheet__search-total {
  flex-shrink: 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Table panel: sits on gray; second row of body grid (1fr) */

.buying-sheet__panel {
  min-height: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
}

/* Table block only — inset from Tours/search card (20px each side) */

.buying-sheet__panel-table {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  margin-left: 20px;
  margin-right: 20px;
  min-width: 0;
  overflow-x: auto;
}

/* Main table: same radius + border as Tours card; no shadow */

.buying-sheet__table-shell {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: var(--bs-panel-radius);
  overflow: hidden;
  box-shadow: none;
}

.buying-sheet__table-head-wrap {
  overflow: hidden;
}

/* Full-width grid — columns flex with browser; no side gutters on panel */

.buying-sheet__grid {
  display: grid;
  grid-template-columns:
    minmax(110px, 0.9fr) minmax(200px, 2.2fr) minmax(100px, 1fr) minmax(88px, 0.7fr)
    minmax(130px, 1.1fr) minmax(136px, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.buying-sheet__th {
  background: var(--bs-header-bg);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--bs-table-head-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 1px solid #1e293b;
}

/*
 * Filter + add: one parent column definition so both rows share the same track sizes (subgrid).
 */

.buying-sheet__filter-add-wrap {
  display: grid;
  grid-template-columns:
    minmax(110px, 0.9fr) minmax(200px, 2.2fr) minmax(100px, 1fr) minmax(88px, 0.7fr)
    minmax(130px, 1.1fr) minmax(136px, 1fr);
  column-gap: 8px;
  width: 100%;
}

/* Light blue tint — filter row only */

.buying-sheet__filter-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  box-sizing: border-box;
  background: #eff6ff;
  border-top: 1px solid #e5e7eb;
  padding: 6px 14px;
  min-width: 0;
}

.buying-sheet__filter-row > *,
.buying-sheet__add-row > * {
  min-width: 0;
}

.buying-sheet__filter-row-spacer {
  min-height: 1px;
}

/* Browsers without subgrid: same template on both rows (columns still line up) */

@supports not (grid-template-columns: subgrid) {
  .buying-sheet__filter-add-wrap {
    display: block;
  }

  .buying-sheet__filter-row,
  .buying-sheet__add-row {
    display: grid;
    grid-template-columns:
      minmax(110px, 0.9fr) minmax(200px, 2.2fr) minmax(100px, 1fr) minmax(88px, 0.7fr)
      minmax(130px, 1.1fr) minmax(136px, 1fr);
    column-gap: 8px;
    grid-column: auto;
  }
}

/* Blue-tinted inputs — filter row only */

.buying-sheet__filter-row .buying-sheet__filter-input {
  border-color: #93c5fd !important;
}

.buying-sheet__filter-row .ant-picker {
  border-color: #93c5fd !important;
}

/* 2px borders so focus stays same width (reference: solid blue ring) */

.buying-sheet__filter-row .ant-input-affix-wrapper,
.buying-sheet__filter-row .ant-picker {
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

/* Same pale blue as filter row; subgrid aligns columns with row above */

.buying-sheet__add-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  box-sizing: border-box;
  background: #eff6ff;
  border-top: 1px solid #bfdbfe;
  padding: 6px 14px;
  min-width: 0;
}

/*
 * Onsale name + platform sit in one grid cell (column 2) so their combined width
 * matches the single "Filter name..." field above; each takes half of that track.
 */

.buying-sheet__add-name-platform {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}

.buying-sheet__add-name-platform > * {
  flex: 1 1 0;
  min-width: 0;
}

/* Filter + add rows: Inter for all fields (reference UI is all sans-serif) */

.buying-sheet__filter-row .ant-input,
.buying-sheet__filter-row .ant-input::placeholder,
.buying-sheet__filter-row .ant-picker .ant-picker-input > input,
.buying-sheet__filter-row .ant-picker .ant-picker-input > input::placeholder,
.buying-sheet__add-row .ant-input,
.buying-sheet__add-row .ant-input::placeholder,
.buying-sheet__add-row .ant-picker .ant-picker-input > input,
.buying-sheet__add-row .ant-picker .ant-picker-input > input::placeholder,
.buying-sheet__add-row .ant-select .ant-select-selector,
.buying-sheet__add-row .ant-select .ant-select-selection-item,
.buying-sheet__add-row .ant-select .ant-select-selection-placeholder,
.buying-sheet__add-row .ant-select .ant-select-selection-search-input {
  font-family: var(--bs-font-sans) !important;
}

.buying-sheet__add-row .ant-select .ant-select-selector {
  font-variant-numeric: tabular-nums;
}

/* Filter + add row: same outer height for Input, DatePicker, Select */

.buying-sheet__filter-row .ant-input-sm,
.buying-sheet__filter-row .ant-input-affix-wrapper-sm,
.buying-sheet__add-row .ant-input-sm,
.buying-sheet__add-row .ant-input-affix-wrapper-sm {
  min-height: var(--bs-compact-control-height) !important;
  height: var(--bs-compact-control-height) !important;
  padding-block: 0 !important;
  padding-inline: 8px !important;
  font-size: 12px;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
}

.buying-sheet__filter-row .ant-picker,
.buying-sheet__add-row .ant-picker {
  min-height: var(--bs-compact-control-height) !important;
  height: var(--bs-compact-control-height) !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
}

.buying-sheet__filter-row .ant-picker .ant-picker-input,
.buying-sheet__add-row .ant-picker .ant-picker-input {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
}

.buying-sheet__filter-row .ant-picker .ant-picker-input > input,
.buying-sheet__add-row .ant-picker .ant-picker-input > input {
  font-size: 12px;
  line-height: 1.2 !important;
  height: auto !important;
  padding: 0 !important;
}

.buying-sheet__filter-row .ant-select .ant-select-selector {
  min-height: var(--bs-compact-control-height) !important;
  height: var(--bs-compact-control-height) !important;
  padding: 0 8px !important;
  font-size: 12px;
  font-family: var(--bs-font-sans) !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

.buying-sheet__add-row .ant-select .ant-select-selector {
  min-height: var(--bs-compact-control-height) !important;
  height: var(--bs-compact-control-height) !important;
  padding: 0 8px !important;
  font-size: 12px;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}

.buying-sheet__filter-row .ant-select .ant-select-selection-item,
.buying-sheet__filter-row .ant-select .ant-select-selection-placeholder,
.buying-sheet__add-row .ant-select .ant-select-selection-item,
.buying-sheet__add-row .ant-select .ant-select-selection-placeholder {
  line-height: 1.2 !important;
}

.buying-sheet__add-row .buying-sheet__add-input,
.buying-sheet__add-row .ant-input-affix-wrapper,
.buying-sheet__add-row .ant-picker,
.buying-sheet__add-row .ant-select .ant-select-selector {
  border-width: 2px !important;
  border-style: solid !important;
  border-radius: 6px !important;
  border-color: #d1d5db !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
}

.buying-sheet__add-row .ant-picker .ant-picker-input > input {
  background: transparent !important;
}

.buying-sheet__add-row .ant-select-arrow {
  color: rgba(0, 0, 0, 0.45);
}

/* Focus: solid blue border (reference — no outer glow) */

.buying-sheet__filter-row .ant-input-affix-wrapper-focused,
.buying-sheet__filter-row .ant-input-affix-wrapper:focus-within,
.buying-sheet__filter-row .ant-picker.ant-picker-focused {
  border-color: var(--bs-input-focus-blue) !important;
  box-shadow: none !important;
  outline: none !important;
}

.buying-sheet__add-row .ant-input-affix-wrapper-focused,
.buying-sheet__add-row .ant-input-affix-wrapper:focus-within,
.buying-sheet__add-row .ant-picker.ant-picker-focused {
  border-color: var(--bs-input-focus-blue) !important;
  box-shadow: none !important;
  outline: none !important;
}

.buying-sheet__add-row .ant-select-focused:not(.ant-select-disabled) .ant-select-selector {
  border-color: var(--bs-input-focus-blue) !important;
  box-shadow: none !important;
  outline: none !important;
}

.buying-sheet__filter-row .buying-sheet__filter-select .ant-select-selector {
  border-color: #93c5fd !important;
}

/* Filter row — Clear: white fill, blue border (reference) */

.buying-sheet__btn-clear.ant-btn {
  justify-self: end;
  height: 22px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  font-family: var(--bs-font-sans) !important;
  background: #ffffff !important;
  border: 1px solid #93c5fd !important;
  color: #2563eb !important;
  box-shadow: none !important;
}

.buying-sheet__btn-clear.ant-btn:hover {
  background: #f8fafc !important;
  border-color: #60a5fa !important;
  color: #1d4ed8 !important;
}

/* + Add: right-aligned like Clear; hug content (no full-column stretch) */

.buying-sheet__btn-add.ant-btn-sm {
  justify-self: end;
  width: auto;
  min-width: unset;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  font-family: var(--bs-font-sans) !important;
}

.buying-sheet__btn-add .anticon {
  font-size: 12px;
}

/* Search row date: same outer height as primary button */

.buying-sheet__page-header-card .buying-sheet__search-date.ant-picker,
.buying-sheet__page-header-card .buying-sheet__search-date.ant-picker:hover {
  min-height: var(--bs-search-control-h, 30px) !important;
  height: var(--bs-search-control-h, 30px) !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 6px !important;
  border-color: #e2e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

.buying-sheet__page-header-card .buying-sheet__search-date.ant-picker-focused {
  border-color: var(--bs-input-focus-blue) !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1) !important;
  outline: none !important;
}

.buying-sheet__page-header-card .buying-sheet__search-date .ant-picker-input {
  display: flex !important;
  align-items: center !important;
  min-height: calc(var(--bs-search-control-h, 30px) - 4px) !important;
}

.buying-sheet__page-header-card
  .buying-sheet__search-date.ant-picker
  .ant-picker-input
  > input {
  line-height: 1.25 !important;
}

.buying-sheet__page-header-card
  .buying-sheet__search-date.ant-picker
  .ant-picker-input
  > input:focus {
  outline: none !important;
}

/* Standalone small Spin (no nested pattern) — avoids Ant Design’s zero-height loading wrapper */

.buying-sheet__table-loading-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px 16px;
  box-sizing: border-box;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.buying-sheet__table-loading-slot .ant-spin {
  line-height: 1;
}

.buying-sheet__data-rows {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  font-family: var(--bs-font-rows);
}

.buying-sheet__data-rows .ant-tag,
.buying-sheet__data-rows .ant-btn {
  font-family: var(--bs-font-rows) !important;
}

.buying-sheet__data-row {
  display: grid;
  grid-template-columns:
    minmax(110px, 0.9fr) minmax(200px, 2.2fr) minmax(100px, 1fr) minmax(88px, 0.7fr)
    minmax(130px, 1.1fr) minmax(136px, 1fr);
  gap: 6px;
  align-items: center;
  padding: 10px 16px;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.buying-sheet__data-row:last-child {
  border-bottom: 1px solid #e5e7eb;
}

/* Edit row: light amber wash + accent bar — matches reference (amber-50 + #f59e0b) */

.buying-sheet__data-row--editing {
  background: #fffbeb !important;
  border-top: 1px solid #e5e7eb;
  border-bottom: 3px solid #f59e0b !important;
  border-left: none;
  border-right: none;
  box-sizing: border-box;
}

.buying-sheet__data-row--editing .buying-sheet__edit-input.ant-input-affix-wrapper,
.buying-sheet__data-row--editing .buying-sheet__edit-date.ant-picker {
  border-radius: 6px !important;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #d1d5db !important;
  font-size: 13px;
  box-shadow: none !important;
  min-height: var(--bs-compact-control-height) !important;
  height: var(--bs-compact-control-height) !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
}

.buying-sheet__data-row--editing .buying-sheet__edit-date.ant-picker {
  padding: 0 8px !important;
}

.buying-sheet__data-row--editing .buying-sheet__edit-date .ant-picker-input {
  flex: 1 1 auto;
  min-width: 0;
  display: flex !important;
  align-items: center !important;
}

.buying-sheet__data-row--editing .buying-sheet__edit-date .ant-picker-input > input {
  line-height: 1.2 !important;
  height: auto !important;
  padding: 0 !important;
}

.buying-sheet__data-row--editing .buying-sheet__edit-input.ant-input-affix-wrapper-focused,
.buying-sheet__data-row--editing .buying-sheet__edit-input.ant-input-affix-wrapper:focus-within,
.buying-sheet__data-row--editing .buying-sheet__edit-date.ant-picker-focused {
  border-color: var(--bs-input-focus-blue) !important;
  box-shadow: none !important;
  outline: none !important;
}

.buying-sheet__data-row--editing
  .buying-sheet__edit-input.ant-input-affix-wrapper
  .ant-input:focus {
  outline: none !important;
}

.buying-sheet__data-row--editing
  .buying-sheet__edit-date.ant-picker
  .ant-picker-input
  > input:focus {
  outline: none !important;
}

.buying-sheet__actions--edit {
  gap: 8px;
}

.buying-sheet__btn-save.ant-btn-primary {
  background: #15803d !important;
  border-color: #15803d !important;
  font-weight: 700 !important;
  min-width: 64px;
}

.buying-sheet__btn-save.ant-btn-primary:hover {
  background: #166534 !important;
  border-color: #166534 !important;
}

.buying-sheet__btn-cancel-edit.ant-btn {
  border-color: #d1d5db !important;
  color: #6b7280 !important;
  background: #fff !important;
  font-weight: 600 !important;
}

.buying-sheet__btn-cancel-edit.ant-btn:hover {
  border-color: #9ca3af !important;
  color: #374151 !important;
}

.buying-sheet__btn-del-row.ant-btn {
  border-color: #fecaca !important;
  color: #dc2626 !important;
  background: #fff !important;
  font-weight: 600 !important;
}

.buying-sheet__btn-del-row.ant-btn:hover {
  border-color: #fca5a5 !important;
  color: #b91c1c !important;
}

/* Fills remaining space — same gray as page */

.buying-sheet__panel-filler {
  flex: 1 1 auto;
  min-height: 48px;
  background: #f3f4f6;
}

.buying-sheet__date-cell {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.01em;
}

.buying-sheet__captain-cell {
  font-size: 13px;
  font-weight: 400;
  color: #111827;
}

.buying-sheet__name-cell strong {
  display: block;
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.buying-sheet__name-sub {
  font-size: 11px;
  font-weight: 400;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.35;
}

.buying-sheet__team-tag {
  border-radius: 999px !important;
  padding: 2px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border: none !important;
  background: #e0f2fe !important;
  color: #1d4ed8 !important;
}

.buying-sheet__progress {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.buying-sheet__progress-track {
  flex: 1;
  height: 5px;
  background: #e5e7eb;
  border-radius: 3px;
  position: relative;
  min-width: 60px;
}

.buying-sheet__progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #ef4444;
  border-radius: 3px;
}

.buying-sheet__progress-knob {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #fff;
  border: 2px solid #ef4444;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.buying-sheet__progress-text {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}

.buying-sheet__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.buying-sheet__btn-edit.ant-btn {
  padding: 0 !important;
  height: auto !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
}

.buying-sheet__btn-edit.ant-btn:hover {
  color: #4b5563 !important;
}

.buying-sheet__actions .ant-btn-primary {
  font-weight: 600 !important;
}
/* Event detail — ~48% / 34% / 18% (ML narrow), navy panel headers */

.ebs-root.buying-sheet {
  box-sizing: border-box;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f3f4f6;
}

.ebs-subheader {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-shrink: 0;
  padding: 8px 20px 10px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.ebs-subheader-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.ebs-subheader-divider {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  min-height: 28px;
  margin: 0 14px;
  background: #94a3b8;
}

.ebs-back-btn {
  color: #2563eb !important;
  font-weight: 600;
  font-size: 13px !important;
  padding: 4px 0 !important;
  height: auto !important;
  flex-shrink: 0;
}

.ebs-subheader-title-block {
  text-align: left;
  min-width: 0;
}

.ebs-subheader-title-block .ant-typography {
  margin-bottom: 0 !important;
}

.ebs-event-title {
  margin: 0 !important;
  line-height: 1.1 !important;
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  color: #0f172a !important;
}

.ebs-event-date {
  font-size: 13px;
  color: #64748b;
  font-weight: 400;
  margin-top: 2px;
  font-family: var(--bs-font-sans, Inter, system-ui, sans-serif);
  letter-spacing: 0;
}

/* Buyer Entries / Shows & Bounds / ML — ML intentionally narrower so Shows header fits one line */
.ebs-columns {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 7fr) minmax(0, 4fr);
  gap: 0;
  align-items: stretch;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-top: 1px solid #e5e7eb;
}

/* Buyer Entries hidden: Shows wider, ML narrow (~81% / 19% of row). */
.ebs-columns--no-buyer-entries:not(.ebs-columns--no-ml) {
  grid-template-columns: minmax(0, 17fr) minmax(0, 4fr);
}

/* ML/Code column hidden: Entries + Shows share the row (was 10fr / 7fr+4fr). */
.ebs-columns--no-ml:not(.ebs-columns--no-buyer-entries) {
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
}

/* Buyer entries hidden and ML hidden: single Shows column. */
.ebs-columns--no-buyer-entries.ebs-columns--no-ml {
  grid-template-columns: minmax(0, 1fr);
}

.ebs-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid #d1d5db;
  background: #ffffff;
}

.ebs-col .ebs-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.ebs-col:last-child {
  border-right: none;
}

.ebs-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #ffffff;
}

.ebs-panel--ml {
  background: #ffffff;
}

.ebs-panel--ml .ebs-ml-panel-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.ebs-ml-panel-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.ebs-ml-panel-footer {
  flex-shrink: 0;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
}

.ebs-warn-banner--sticky {
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.ebs-panel-header {
  background: #1a233a;
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
  border-bottom: 1px solid #0f172a;
}

.ebs-panel-header--entries {
  justify-content: flex-start;
  gap: 10px;
  padding: 9px 14px 10px;
  background: #141d33;
  border-bottom: 1px solid #0c1222;
}

.ebs-buyer-header-title {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.ebs-panel-header--entries .ebs-buyer-header-meta {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
}

/* Single row: nowrap + scroll on very narrow panels instead of wrapping */
.ebs-shows-panel-header {
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ebs-shows-panel-header::-webkit-scrollbar {
  height: 4px;
}

.ebs-shows-panel-header::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 4px;
}

.ebs-shows-panel-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-shrink: 1;
}

.ebs-shows-panel-header-left .ebs-buyer-header-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ebs-shows-panel-header-spacer {
  flex: 1 1 0;
  min-width: 4px;
  height: 1px;
}

.ebs-shows-header-btn {
  box-sizing: border-box;
  margin: 0;
  padding: 5px 7px;
  border: 1px solid rgba(248, 250, 252, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #cbd5e1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  flex-shrink: 0;
}

.ebs-shows-header-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(248, 250, 252, 0.5);
  color: #f1f5f9;
}

.ebs-shows-header-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ebs-shows-header-btn--done-editing {
  border-color: #15803d;
  background: #15803d;
  color: #f0fdf4;
  font-weight: 700;
}

.ebs-shows-header-btn--done-editing:hover:not(:disabled) {
  background: #166534;
  border-color: #166534;
  color: #ffffff;
}

.ebs-shows-header-btn--done-editing .ebs-shows-header-btn-icon {
  color: inherit;
}

.ebs-shows-header-btn--toggle {
  max-width: none;
}

/* ML/Code visibility toggle — matches panel accent when panel is shown */
.ebs-shows-header-btn--ml-toggle {
  max-width: none;
}

.ebs-shows-header-btn--ml-toggle-visible {
  border-color: #2563eb;
  color: #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.ebs-shows-header-btn--ml-toggle-visible:hover:not(:disabled) {
  border-color: #3b82f6;
  background: rgba(37, 99, 235, 0.12);
}

.ebs-shows-header-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ebs-shows-header-actions .ebs-shows-header-btn {
  white-space: nowrap;
}

.ebs-shows-header-btn-icon {
  margin-right: 4px;
  font-size: 11px;
}

.ebs-buyer-header-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2px;
}

.ebs-buyer-caret {
  display: block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 8px solid #38bdf8;
}

.ebs-panel-collapse-hit {
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 4px 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.ebs-panel-collapse-hit:hover {
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
}

.ebs-panel-header-meta {
  font-weight: 500;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: 0;
}

.ebs-panel-body {
  flex: 1;
  padding: 0;
  min-height: 0;
}

.ebs-panel-body--scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Shows panel: title bar fixed; bulk / new show / time slot / list share one scroll */
.ebs-panel > .ebs-panel-header {
  flex-shrink: 0;
}

.ebs-shows-panel-scroll.ebs-panel-body--scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 8px;
  box-sizing: border-box;
  scrollbar-gutter: stable;
}

.ebs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  font-family: var(--bs-font-sans, Inter, sans-serif);
}

.ebs-table thead th {
  background: #f3f4f6;
  color: #475569;
  font-weight: 600;
  text-align: left;
  padding: 6px 5px;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

/* Buyer entries — single grid weight/color; blue rule under add row = same px, accent only */
.ebs-table--entries {
  font-size: 11px;
  border: 2px solid #cbd5e1;
  box-sizing: border-box;
}

.ebs-table--entries thead th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--bs-font-sans, Inter, system-ui, sans-serif);
  padding: 8px 8px;
  border-bottom: 2px solid #cbd5e1;
  border-right: 2px solid #cbd5e1;
}

.ebs-table--entries thead th:last-child {
  border-right: none;
}

.ebs-table--entries tbody td {
  border-right: 2px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
  padding: 7px 8px;
  vertical-align: middle;
  font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #1e293b;
}

.ebs-table--entries tbody td:last-child {
  border-right: none;
}

.ebs-table--entries tbody tr.ebs-entry-row--add td {
  background: #f1f5f9;
  border-bottom: 2px solid #2563eb !important;
}

.ebs-table--entries .ebs-td-ml,
.ebs-table--entries .ebs-td-buyer {
  font-weight: 700;
  color: #0f172a;
}

.ebs-table--entries .ebs-td-show {
  font-weight: 700;
  color: #2563eb;
  text-align: center;
}

.ebs-table--entries .ebs-td-bound {
  font-weight: 700;
  color: #6d28d9;
  text-align: center;
}

.ebs-table--entries .ebs-qty-ok {
  color: #15803d;
  font-weight: 700;
}

.ebs-table--entries .ebs-td-conf {
  font-weight: 400;
  color: #64748b;
}

.ebs-table--entries .ebs-denied-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin: 0 auto;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 4px;
  color: #dc2626;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
}

.ebs-table--entries .ebs-error-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #92400e;
  font-weight: 600;
  font-size: 11px;
}

.ebs-table--entries .ebs-cell-input,
.ebs-table--entries .ebs-cell-select .ant-select-selector {
  font-family: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace !important;
  font-size: 11px !important;
}

/* Match Input and Select heights (antd small controls differ by default) */
.ebs-table--entries tbody .ant-input {
  height: 26px !important;
  min-height: 26px !important;
  line-height: 22px !important;
  padding: 1px 8px !important;
  box-sizing: border-box !important;
}

.ebs-table--entries tbody .ant-input-affix-wrapper {
  height: 26px !important;
  min-height: 26px !important;
  padding-inline: 8px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ebs-table--entries tbody .ant-input-affix-wrapper .ant-input {
  height: auto !important;
  min-height: 0 !important;
  line-height: 22px !important;
  padding: 0 !important;
}

.ebs-table--entries tbody .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.ebs-table--entries tbody .ant-select-single .ant-select-selector .ant-select-selection-item,
.ebs-table--entries tbody .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
  line-height: 22px !important;
}

.ebs-table--entries tbody .ant-select .ant-select-selection-search-input {
  height: 22px !important;
  line-height: 22px !important;
}

.ebs-table--entries tbody .ebs-btn-add.ant-btn-sm {
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 7px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Denied column: same 26px height as other inputs/selects; translucent fill + light blue border */
.ebs-table--entries tbody .ebs-select-denied.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  height: 26px !important;
  min-height: 26px !important;
  padding: 0 8px 0 10px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border: 1px solid #93c5fd !important;
  box-shadow: none !important;
  backdrop-filter: blur(4px);
}

.ebs-table--entries tbody .ebs-select-denied .ant-select-selector .ant-select-selection-item,
.ebs-table--entries tbody .ebs-select-denied .ant-select-selector .ant-select-selection-placeholder {
  line-height: 22px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.ebs-table--entries tbody .ebs-select-denied .ant-select-selection-search-input {
  height: 22px !important;
  line-height: 22px !important;
  color: #64748b !important;
}

.ebs-table--entries tbody .ebs-select-denied .ant-select-arrow {
  color: #cbd5e1 !important;
}

.ebs-table--entries .ebs-select-denied.ant-select-focused:not(.ant-select-disabled) .ant-select-selector,
.ebs-table--entries .ebs-select-denied.ant-select-open .ant-select-selector {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45) !important;
}

.ebs-table--entries .ebs-link-edit.ant-btn {
  color: #64748b !important;
  font-weight: 500;
}

.ebs-table--entries .ebs-link-edit.ant-btn:hover {
  color: #475569 !important;
}

.ebs-table--dense td {
  padding: 4px 5px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.ebs-table--entries.ebs-table--dense tbody td {
  padding: 7px 8px;
  border-bottom: 2px solid #cbd5e1;
}

.ebs-table--entries.ebs-table--dense tbody tr.ebs-entry-row--add td {
  border-bottom: 2px solid #2563eb !important;
}

.ebs-th-actions {
  width: 120px;
  text-align: right;
}

.ebs-td-actions {
  text-align: right;
  white-space: nowrap;
}

.ebs-td-center {
  text-align: center;
}

.ebs-td-muted {
  color: #94a3b8;
}

.ebs-mono {
  font-family: ui-monospace, monospace;
  font-size: 11px;
}

.ebs-num {
  font-weight: 700;
  color: #2563eb;
}

.ebs-qty-ok {
  color: #15803d;
  font-weight: 700;
}

.ebs-denied {
  color: #dc2626;
  font-weight: 700;
}

.ebs-error-text {
  color: #b45309;
  font-weight: 700;
  font-style: italic;
}

.ebs-td-error-highlight {
  background: #fefce8;
  box-shadow: inset 0 0 0 1px #fde047;
}

.ebs-entry-row--success {
  background: #ecfdf3;
}

.ebs-entry-row--error {
  background: #fef2f2;
}

.ebs-entry-row--add {
  background: #f1f5f9;
}

.ebs-entry-row--editing {
  background: #fffbeb;
}

.ebs-table--entries tr.ebs-entry-row--editing td {
  border-top: 2px solid #2563eb;
  border-bottom: 2px solid #f97316;
}

.ebs-table--entries.ebs-table--dense tbody tr.ebs-entry-row--editing td {
  border-top: 2px solid #2563eb !important;
  border-bottom: 2px solid #f97316 !important;
}

.ebs-table--entries .ebs-td-edit-show .ant-select-selection-item,
.ebs-table--entries .ebs-td-edit-show .ant-select-selection-placeholder {
  color: #2563eb !important;
  font-weight: 700 !important;
}

.ebs-table--entries .ebs-entry-row--editing .ebs-cell-input--edit-bound {
  font-weight: 700 !important;
  color: #6d28d9 !important;
}

.ebs-table--entries .ebs-entry-row--editing .ebs-cell-input--edit-qty {
  font-weight: 700 !important;
  color: #15803d !important;
}

.ebs-td-actions--edit-stack {
  vertical-align: top !important;
  width: 92px;
}

.ebs-edit-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.ebs-edit-actions-stack .ant-btn-sm {
  height: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  border-radius: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ebs-btn-cancel-edit.ant-btn {
  background: #ffffff !important;
  border-color: #d1d5db !important;
  color: #64748b !important;
}

.ebs-btn-cancel-edit.ant-btn:hover {
  color: #475569 !important;
  border-color: #94a3b8 !important;
}

.ebs-btn-del-edit.ant-btn {
  background: #ffffff !important;
  border-color: #fecaca !important;
  color: #f87171 !important;
}

.ebs-btn-del-edit.ant-btn:hover {
  border-color: #f87171 !important;
  color: #ef4444 !important;
  background: #fffbeb !important;
}

.ebs-link-edit {
  padding: 0 4px !important;
  height: auto !important;
  font-size: 11px !important;
}

.ebs-btn-add {
  font-weight: 600 !important;
}

.ebs-btn-save {
  background: #15803d !important;
  border-color: #15803d !important;
}

.ebs-batch-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 10px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.ebs-bulk-shows-wrap {
  padding: 10px 10px 0;
  background: #ffffff;
}

/* Dotted outer frame; dark bar sits inset (gap like reference) */
.ebs-bulk-shows-card {
  border: 1px dotted #b0bac8;
  border-radius: 8px;
  padding: 3px;
  box-sizing: border-box;
  background: transparent;
}

.ebs-bulk-shows-card--open {
  background: #f4f7f9;
}

.ebs-bulk-shows-card-header--toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  border: none;
  background: #232b38;
  color: #a0aec0;
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  text-align: left;
  border-radius: 6px;
  box-sizing: border-box;
}

.ebs-bulk-shows-card--open .ebs-bulk-shows-card-header--toggle {
  border-radius: 6px 6px 0 0;
}

.ebs-bulk-shows-card-header--toggle:hover {
  background: #2a3445;
  color: #b8c4d0;
}

.ebs-bulk-shows-card-header--toggle:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.ebs-bulk-shows-card-header-icon {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
  color: inherit;
}

.ebs-bulk-shows-card-body {
  padding: 14px 13px 16px;
  box-sizing: border-box;
  border-top: 1px solid rgba(44, 52, 64, 0.12);
}

.ebs-bulk-shows-instructions {
  margin: 0 0 10px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  line-height: 1.45;
  color: #707a8c;
}

.ebs-bulk-shows-textarea {
  display: block;
  width: 100%;
  min-height: 140px;
  margin: 0 0 12px;
  padding: 10px 12px;
  box-sizing: border-box;
  font-size: 12px;
  line-height: 1.45;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #335eea;
  border-radius: 6px;
  resize: vertical;
}

.ebs-bulk-shows-textarea::placeholder {
  color: #94a3b8;
}

.ebs-bulk-shows-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.ebs-bulk-shows-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ebs-bulk-import-btn-primary.ant-btn-primary {
  font-weight: 600;
  min-width: 108px;
}

.ebs-bulk-import-btn-clear.ant-btn {
  font-weight: 500;
  color: #64748b;
  background: #ffffff;
  border-color: #d1d5db;
}

.ebs-bulk-import-btn-clear.ant-btn:hover {
  color: #334155;
  border-color: #94a3b8;
  background: #f8fafc;
}

.ebs-cell-input--center {
  text-align: center;
}

.ebs-cell-input,
.ebs-cell-select {
  font-size: 11px !important;
}

.ebs-new-show-form {
  margin: 10px;
  border: 1px dotted #5b7cff;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eeff;
}

.ebs-new-show-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 12px;
  background: #e0e7ff;
  border-bottom: 1px solid rgba(91, 124, 255, 0.2);
}

.ebs-new-show-head-title {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1e3a8a;
}

.ebs-new-show-head-hint {
  font-size: 11px;
  font-weight: 500;
  color: #4f6bcc;
}

.ebs-new-show-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #eef2ff;
}

.ebs-new-show-row {
  display: grid;
  gap: 6px;
  align-items: start;
}

.ebs-ns-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ebs-ns-field-wrap--full {
  width: 100%;
}

.ebs-ns-field-error {
  font-size: 10px;
  font-weight: 600;
  color: #b91c1c;
  line-height: 1.2;
  min-height: 14px;
}

.ebs-ns-field-error-spacer {
  min-height: 4px;
  flex-shrink: 0;
}

.ebs-new-show-row--3 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr);
}

.ebs-new-show-row--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ebs-new-show-full {
  width: 100%;
}

.ebs-ns-field {
  width: 100% !important;
}

.ebs-ns-input {
  font-size: 11px !important;
}

/* Uniform control height for New Show fields (antd puts className on affix wrapper) */
.ebs-new-show-body .ant-input-affix-wrapper.ebs-ns-input {
  min-height: 28px !important;
  height: 28px !important;
  padding-block: 0 !important;
  padding-inline: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
  font-size: 11px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
}

.ebs-new-show-body .ant-input-affix-wrapper.ebs-ns-input .ant-input {
  min-height: 0 !important;
  height: auto !important;
  padding-block: 0 !important;
  line-height: 1.25 !important;
  font-size: 11px !important;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace !important;
}

.ebs-new-show-body > .ebs-new-show-row .ant-input.ebs-ns-input,
.ebs-new-show-body > .ebs-ns-input.ebs-new-show-full {
  min-height: 28px !important;
  height: 28px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
  font-size: 11px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
}

.ebs-new-show-body > .ebs-new-show-row .ant-picker.ebs-ns-field {
  width: 100% !important;
  min-height: 28px;
  height: 28px;
  font-size: 11px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
}

.ebs-new-show-body > .ebs-new-show-row .ant-picker.ebs-ns-field .ant-picker-selector {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 10px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.ebs-new-show-body > .ebs-new-show-row .ant-picker.ebs-ns-field .ant-picker-input > input {
  font-size: 11px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
}

.ebs-bounds-table {
  width: 100%;
  margin-top: 4px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.ebs-bounds-th {
  padding: 6px 8px;
  text-align: left;
  font-weight: 700;
  border: 1px solid #cbd5e1;
  vertical-align: middle;
}

.ebs-bounds-th--corner {
  width: 22%;
  background: #1e293b;
  color: #f8fafc;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ebs-bounds-th--num {
  background: #f1f5f9;
  color: #2563eb;
  font-size: 11px;
}

.ebs-bounds-th--row {
  background: #1e293b;
  color: #f8fafc;
  font-size: 9px;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.ebs-bounds-td {
  padding: 4px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  vertical-align: middle;
}

.ebs-bounds-td .ant-input {
  width: 100%;
}

.ebs-bounds-cell-input.ant-input {
  font-size: 10px !important;
  padding: 2px 8px !important;
  text-align: left;
}

.ebs-new-show-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  padding-top: 4px;
}

.ebs-new-show-add-btn.ant-btn-primary {
  font-weight: 700 !important;
  min-width: 112px;
  height: 30px !important;
  padding: 0 16px !important;
  background: #2b52cd !important;
  border-color: #2b52cd !important;
}

.ebs-new-show-add-btn.ant-btn-primary:hover {
  background: #2448b8 !important;
  border-color: #2448b8 !important;
}

.ebs-time-slot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #282c37;
  border-bottom: 1px solid #1e2128;
}

.ebs-time-slot-label {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-right: 2px;
  flex-shrink: 0;
}

.ebs-time-slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 12px;
  min-height: 28px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  letter-spacing: 0.04em;
  line-height: 1;
  box-sizing: border-box;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.ebs-time-slot-pill--active {
  border: 1px solid transparent;
  background: #a62c21;
  color: #ffffff;
}

.ebs-time-slot-pill--active:hover {
  background: #8f261c;
  color: #ffffff;
}

.ebs-time-slot-pill--idle {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #3e4451;
}

.ebs-time-slot-pill--idle:hover {
  border-color: #5c6370;
  color: #cbd5e1;
}

.ebs-time-slot-pill:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

.ebs-time-slot-pill-text {
  text-transform: uppercase;
}

.ebs-time-slot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  font-family: ui-sans-serif, Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

.ebs-time-slot-badge--on-active {
  background: rgba(0, 0, 0, 0.32);
  color: #ffffff;
}

.ebs-time-slot-badge--on-idle {
  background: #1f232d;
  color: #94a3b8;
}

.ebs-shows-list {
  padding: 8px 0;
  background: #eef2f7;
}

.ebs-show-card {
  margin-bottom: 6px;
  border-radius: 8px;
  overflow: hidden;
  background: #1f2937;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(30, 41, 59, 0.45);
}

.ebs-show-card--open {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.ebs-show-edit-shell {
  margin-bottom: 10px;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  overflow: hidden;
  background: #fffbeb;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.18);
}

.ebs-show-edit-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #232b38;
}

.ebs-show-edit-topbar-title {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: 0.02em;
}

.ebs-show-edit-topbar-status-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 1.25em;
}

.ebs-show-edit-topbar-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  color: #fbbf24;
}

.ebs-show-edit-autosave-on {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4ade80;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.ebs-show-edit-remote-spin.ant-spin {
  line-height: 1;
}

@keyframes ebs-saved-flash-enter {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ebs-saved-flash-leave {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
}

.ebs-show-edit-saved-flash {
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
  white-space: nowrap;
}

.ebs-show-edit-saved-flash--visible {
  animation: ebs-saved-flash-enter 0.22s ease-out forwards;
}

.ebs-show-edit-saved-flash--exiting {
  animation: ebs-saved-flash-leave 0.22s ease-in forwards;
}

.ebs-show-edit-topbar-cancel-spacer {
  flex: 0 0 56px;
  width: 56px;
  min-height: 1px;
}

.ebs-show-edit-topbar-cancel {
  margin: 0;
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: #fca5a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.ebs-show-edit-topbar-cancel:hover {
  color: #fecaca;
}

.ebs-show-edit-topbar-cancel:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
  border-radius: 4px;
}

.ebs-show-edit-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ebs-show-edit-row {
  display: grid;
  gap: 6px;
  align-items: stretch;
}

.ebs-show-edit-row--4a {
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
}

.ebs-show-edit-row--4b {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ebs-show-edit-full {
  width: 100%;
}

.ebs-show-edit-body .ant-input-affix-wrapper.ebs-show-edit-input {
  min-height: 28px !important;
  height: 28px !important;
  padding-block: 0 !important;
  padding-inline: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}

.ebs-show-edit-body .ant-input-affix-wrapper.ebs-show-edit-input .ant-input {
  min-height: 0 !important;
  height: auto !important;
  padding-block: 0 !important;
  line-height: 1.25 !important;
  font-size: 11px !important;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace !important;
}

.ebs-show-edit-body > .ebs-show-edit-row .ant-input.ebs-show-edit-input,
.ebs-show-edit-body > .ebs-show-edit-input.ebs-show-edit-full {
  min-height: 28px !important;
  height: 28px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  line-height: 1.25 !important;
  box-sizing: border-box !important;
}

.ebs-show-edit-body > .ebs-show-edit-row .ant-picker.ebs-show-edit-picker {
  width: 100% !important;
  min-height: 28px;
  height: 28px;
}

.ebs-show-edit-body > .ebs-show-edit-row .ant-picker.ebs-show-edit-picker .ant-picker-selector {
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 10px !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.ebs-show-edit-body > .ebs-show-edit-row .ant-picker.ebs-show-edit-picker .ant-picker-input > input {
  font-size: 11px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
}

.ebs-show-edit-input,
.ebs-show-edit-picker {
  font-size: 11px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
}

.ebs-show-edit-bounds {
  margin-top: 4px;
}

.ebs-show-edit-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 14px;
  border-top: 1px solid #fde68a;
  background: rgba(255, 251, 235, 0.95);
}

.ebs-show-edit-footer--autosave-only {
  justify-content: flex-start;
}

.ebs-show-edit-footer-delete-only {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ebs-show-edit-footer-left,
.ebs-show-edit-footer-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ebs-show-edit-save.ant-btn-primary {
  background: #15803d !important;
  border-color: #15803d !important;
  font-weight: 700 !important;
  min-width: 104px;
  height: 32px !important;
}

.ebs-show-edit-save.ant-btn-primary:hover {
  background: #166534 !important;
  border-color: #166534 !important;
}

.ebs-show-edit-cancel.ant-btn {
  font-weight: 600;
  min-width: 88px;
  height: 32px !important;
  border-color: #d1d5db;
  color: #64748b;
  background: #ffffff;
}

.ebs-show-edit-delete.ant-btn-dangerous {
  font-weight: 600;
  min-width: 112px;
  height: 32px !important;
  background: #ffffff !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

.ebs-show-edit-delete.ant-btn-dangerous:hover {
  border-color: #f87171 !important;
  color: #b91c1c !important;
  background: #fef2f2 !important;
}

.ebs-show-card-trigger-row {
  display: flex;
  width: 100%;
  align-items: stretch;
  min-height: 0;
}

.ebs-show-card-trigger-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px 5px 10px;
  border: none;
  background: #1f2937;
  color: #e2e8f0;
  text-align: left;
  cursor: pointer;
  font-size: 11px;
  box-sizing: border-box;
}

.ebs-show-card-trigger-main:hover {
  background: #252f3f;
}

.ebs-show-card-trigger-main:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: -2px;
}

.ebs-show-card-trigger-edit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  margin: 0;
  border: none;
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  background: #1f2937;
  color: #e2e8f0;
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
  box-sizing: border-box;
}

.ebs-show-card-trigger-edit:hover {
  background: #252f3f;
}

.ebs-show-card-trigger-edit:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: -2px;
}

.ebs-show-card-trigger-left {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.ebs-show-expand-icon {
  display: inline-flex;
  width: 12px;
  justify-content: center;
  opacity: 0.8;
  font-size: 9px;
  color: #94a3b8;
  flex-shrink: 0;
}

.ebs-show-pill {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #7dd3fc;
  flex-shrink: 0;
  line-height: 1.2;
}

.ebs-show-tour-pill {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: #e9d5ff;
  flex-shrink: 0;
  line-height: 1.2;
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ebs-show-divider {
  width: 1px;
  height: 14px;
  background: rgba(148, 163, 184, 0.3);
  flex-shrink: 0;
  align-self: center;
}

.ebs-show-badge-p {
  flex-shrink: 0;
  background: #2563eb;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.ebs-show-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  font-family: var(--bs-font-sans, Inter, system-ui, sans-serif);
  font-size: 10px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.2;
}

.ebs-show-meta-line {
  display: block;
  width: 100%;
  text-align: left;
}

.ebs-show-meta-venue {
  color: #e2e8f0;
  font-weight: 500;
}

.ebs-show-time {
  flex-shrink: 0;
  font-family: var(--bs-font-sans, Inter, system-ui, sans-serif);
  font-weight: 500;
  font-size: 10px;
  color: #e2e8f0;
  letter-spacing: normal;
  line-height: 1.2;
  padding-left: 4px;
}

.ebs-show-actions-divider {
  width: 1px;
  height: 14px;
  background: rgba(148, 163, 184, 0.22);
  margin: 0;
  align-self: center;
}

.ebs-show-edit-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.ebs-show-edit-chevron {
  font-size: 9px;
  color: #94a3b8;
}

.ebs-show-card-body {
  padding: 0;
  font-size: 11px;
  background: #ffffff;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.ebs-show-link-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.ebs-show-link-strip-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  flex-shrink: 0;
}

.ebs-show-link-strip-url {
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
  font-size: 11px;
  color: #2563eb;
  word-break: break-all;
}

.ebs-show-link-strip-url:hover {
  text-decoration: underline;
}

.ebs-show-bounds-wrap {
  padding: 10px 12px 12px;
  overflow: auto;
  background: #ffffff;
}

.ebs-show-bounds-read {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 10px;
  font-family: ui-monospace, "Roboto Mono", Menlo, monospace;
  border: 1px solid #cbd5e1;
}

.ebs-show-bounds-read-th {
  padding: 6px 6px;
  border: 1px solid #cbd5e1;
  font-weight: 700;
  vertical-align: middle;
}

.ebs-show-bounds-read-th--corner {
  width: 22%;
  background: #334155;
  color: #f8fafc;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: left;
  padding-left: 8px;
}

.ebs-show-bounds-read-th--num {
  background: #f1f5f9;
  color: #2563eb;
  font-size: 11px;
  text-align: center;
}

.ebs-show-bounds-read-th--row {
  background: #334155;
  color: #e2e8f0;
  font-size: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding-left: 8px;
}

.ebs-show-bounds-read-td {
  padding: 6px 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  text-align: left;
  vertical-align: middle;
  line-height: 1.35;
}

.ebs-show-bounds-read-td--qty-filled {
  background: #fce7f3;
  color: #9f1239;
  font-weight: 700;
  text-align: left;
}

.ebs-show-detail-row {
  margin-bottom: 6px;
}

.ebs-muted {
  color: #64748b;
}

.ebs-ml-section {
  padding: 10px 12px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.ebs-assignment-section:last-of-type {
  border-bottom: none;
}

.ebs-assignment-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 12px;
  margin: 0 0 4px;
  background: #1e293b;
  border-radius: 8px;
}

.ebs-assignment-subhead-title {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f8fafc;
}

.ebs-assignment-subhead-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}

.ebs-assignment-open-show-hint {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ebs-assignment-filter {
  min-width: 88px !important;
}

.ebs-assignment-filter.ant-select .ant-select-selector {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(148, 163, 184, 0.45) !important;
  color: #e2e8f0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.ebs-assignment-bulk-wrap {
  margin-bottom: 12px;
}

/* Tight gap under ML/CODE subhead — base .ebs-bulk-shows-wrap adds 10px top padding */
.ebs-assignment-bulk-wrap.ebs-bulk-shows-wrap {
  padding: 0;
}

.ebs-assignment-table {
  margin-top: 4px;
  table-layout: fixed;
  width: 100%;
}

/* Column widths — SHOW # needs enough room so headers don’t collide in narrow panels */
.ebs-assignment-table col.ebs-assignment-col-tour {
  width: 22%;
}

.ebs-assignment-table col.ebs-assignment-col-show-num {
  width: 20%;
}

.ebs-assignment-table col.ebs-assignment-col-code-col {
  width: 38%;
}

.ebs-assignment-table col.ebs-assignment-col-actions {
  width: 20%;
}

/* Buyer read-only: no actions column — give width to Tour / SHOW # / code */
.ebs-assignment-table--no-actions col.ebs-assignment-col-tour {
  width: 28%;
}

.ebs-assignment-table--no-actions col.ebs-assignment-col-show-num {
  width: 22%;
}

.ebs-assignment-table--no-actions col.ebs-assignment-col-code-col {
  width: 50%;
}

.ebs-assignment-table thead th {
  padding: 8px 10px;
  border-right: 1px solid #e5e7eb;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  vertical-align: bottom;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #64748b;
  background: #f1f5f9;
}

.ebs-assignment-table thead th.ebs-assignment-col-show,
.ebs-assignment-table tbody td.ebs-assignment-col-show {
  min-width: 5.75rem;
}

.ebs-assignment-table thead th:last-child {
  border-right: none;
}

/* Read-only rows: Tour / Show # / code colors (reference ML+CODE tables) */
.ebs-assignment-table
  tbody
  tr.ebs-entry-row:not(.ebs-entry-row--editing):not(.ebs-assignment-add-row)
  td.ebs-assignment-col-buyer {
  color: #6d28d9;
  font-weight: 600;
}

.ebs-assignment-table
  tbody
  tr.ebs-entry-row:not(.ebs-entry-row--editing):not(.ebs-assignment-add-row)
  td.ebs-assignment-col-show {
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
}

.ebs-assignment-table
  tbody
  tr.ebs-entry-row:not(.ebs-entry-row--editing):not(.ebs-assignment-add-row)
  td.ebs-assignment-col-code {
  color: #1e293b;
  font-weight: 700;
  font-size: 12px;
}

.ebs-assignment-th-actions {
  width: 1%;
  min-width: 5.25rem;
}

.ebs-assignment-table thead th.ebs-assignment-th-actions,
.ebs-assignment-table tbody td.ebs-assignment-td-actions {
  overflow: visible !important;
}

.ebs-assignment-col-show,
.ebs-assignment-col-code,
.ebs-assignment-col-buyer {
  vertical-align: middle;
}

.ebs-assignment-table tbody td {
  vertical-align: middle;
  padding: 6px 8px;
  overflow: hidden;
  position: relative;
}

.ebs-assignment-table .ebs-code-cell {
  max-width: none;
  word-break: break-word;
}

/* Block layout inside table cells — prevents flex overflow / overlapping columns */
.ebs-assignment-field {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.ebs-assignment-field .ant-input-affix-wrapper,
.ebs-assignment-field .ebs-assignment-native-select {
  max-width: 100%;
  box-sizing: border-box;
}

.ebs-assignment-field .ant-input-affix-wrapper {
  width: 100% !important;
}

.ebs-assignment-field--action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 24px;
}

.ebs-assignment-td-actions {
  min-width: 5.25rem;
  padding-left: 8px !important;
  padding-right: 8px !important;
  vertical-align: middle !important;
}

.ebs-assignment-add-row td {
  background: #f1f5f9;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Native Show # — compact, same line as Ant Input */
.ebs-assignment-native-select {
  display: block;
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0 26px 0 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 22px;
  color: #0f172a;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 12px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  transition: border-color 0.15s ease;
}

.ebs-assignment-native-select:hover {
  border-color: #94a3b8;
}

.ebs-assignment-native-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Ant Input — compact; width constrained by table cell overflow:hidden */
.ebs-assignment-table .ebs-assignment-field .ant-input {
  height: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 2px 8px !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 18px !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.ebs-assignment-table .ebs-assignment-field .ant-input-affix-wrapper {
  display: flex !important;
  align-items: center !important;
  min-height: 24px !important;
  height: 24px !important;
  padding-block: 0 !important;
  padding-inline: 0 !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.ebs-assignment-table .ebs-assignment-field .ant-input-affix-wrapper .ant-input {
  border: none !important;
  box-shadow: none !important;
  height: 22px !important;
  min-height: 22px !important;
  padding: 2px 8px !important;
}

.ebs-assignment-table .ebs-assignment-field .ant-input:hover {
  border-color: #94a3b8 !important;
}

.ebs-assignment-table .ebs-assignment-field .ant-input:focus,
.ebs-assignment-table .ebs-assignment-field .ant-input-focused {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

.ebs-assignment-table .ebs-assignment-field .ant-input-affix-wrapper-focused {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

.ebs-assignment-table .ebs-assignment-field .ant-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.ebs-assignment-add-btn.ant-btn-primary,
.ebs-assignment-add-btn.ant-btn {
  flex-shrink: 0;
  height: 24px !important;
  min-height: 24px !important;
  padding: 0 8px !important;
  line-height: 22px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
  white-space: nowrap;
}

.ebs-ml-subhead {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.ebs-bulk-block {
  margin-bottom: 10px;
}

.ebs-bulk-hint {
  font-size: 10px;
  color: #64748b;
  margin-bottom: 4px;
}

.ebs-bulk-block .ant-btn {
  margin-top: 6px;
}

.ebs-code-cell {
  word-break: break-all;
  max-width: 140px;
}

.ebs-warn-banner {
  margin: 12px;
  padding: 10px 12px;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #854d0e;
}

/* Block + horizontal margin was 100% + 24px wide → clipped under overflow-x: hidden */
.ebs-managed-btn.ant-btn {
  width: calc(100% - 24px) !important;
  max-width: calc(100% - 24px);
  margin: 0 12px 12px !important;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0;
  white-space: normal !important;
  line-height: 1.3 !important;
  font-size: 11px !important;
  padding: 7px 10px !important;
}

.ebs-managed-btn.ant-btn .ant-btn-icon {
  line-height: 1;
}

.ebs-managed-btn.ant-btn > span:not(.ant-btn-icon) {
  white-space: normal !important;
}

/* Denied Select dropdown — subtle radius; dark glass so grid shows through (portal) */
.ebs-select-denied-dropdown.ant-select-dropdown {
  min-width: 104px !important;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(10px);
  border-radius: 6px !important;
  border: 1px solid rgba(71, 85, 105, 0.65) !important;
  padding: 6px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45) !important;
}

.ebs-select-denied-dropdown .ant-select-item {
  color: #f8fafc !important;
  border-radius: 4px !important;
  padding: 4px 8px !important;
  min-height: 0 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

.ebs-select-denied-dropdown .ant-select-item-option {
  min-height: 0 !important;
  align-items: center !important;
}

.ebs-select-denied-dropdown .ant-select-item-option:not(.ant-select-item-option-selected) {
  background: transparent !important;
}

.ebs-select-denied-dropdown
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  background: rgba(37, 99, 235, 0.95) !important;
}

.ebs-select-denied-dropdown
  .ant-select-item-option-selected:not(.ant-select-item-option-disabled)
  .ant-select-item-option-content {
  color: #ffffff !important;
}

.ebs-select-denied-dropdown .ant-select-item-option-selected .anticon {
  color: #ffffff !important;
  font-size: 10px !important;
}

.ebs-select-denied-dropdown .ant-select-item-option-active:not(.ant-select-item-option-selected):not(
  .ant-select-item-option-disabled
) {
  background: rgba(255, 255, 255, 0.06) !important;
}

.ebs-select-denied-dropdown .ant-select-item-option-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  color: inherit !important;
  overflow: visible !important;
  white-space: nowrap !important;
}

@media (max-width: 1200px) {
  .ebs-root.buying-sheet {
    height: auto;
    max-height: none;
    min-height: 100vh;
    overflow: visible;
  }

  .ebs-columns {
    grid-template-columns: 1fr;
    flex: none;
    min-height: auto;
    overflow: visible;
  }

  .ebs-col {
    max-height: min(72vh, 640px);
    min-height: 240px;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .ebs-col:last-child {
    border-bottom: none;
  }
}

/* My Shows: ML/CODE tables match Shows & Bounds dark cards + gray track */
.ebs-col--match-shows {
  background: #eef2f7 !important;
}

.ebs-panel--match-shows {
  background: #eef2f7;
}

.ebs-panel--match-shows .ebs-ml-panel-body--match-shows {
  background: #eef2f7;
}

.ebs-panel--match-shows .ebs-ml-panel-footer {
  background: #eef2f7;
  border-top-color: #cbd5e1;
}

.ebs-assignment-section--match-shows.ebs-ml-section {
  border-bottom: none;
  padding: 8px 10px 12px;
}

.ebs-assignment-section--match-shows .ebs-assignment-subhead {
  background: #1d263b;
  border: none;
  border-radius: 6px;
  box-shadow: none;
}

.ebs-assignment-section--match-shows .ebs-assignment-subhead-title {
  letter-spacing: 0.08em;
}

/* My Shows: light ML / CODE tables (navy section bars, pale column headers, row hairlines) */
.ebs-assignment-table--show-cards {
  border-collapse: collapse;
  margin-top: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}

.ebs-assignment-table--show-cards thead th {
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e8eef2;
  padding: 10px 12px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: visible;
}

/* “ML” in “ML CODE” — avoid tight tracking in narrow cells */
.ebs-assignment-table--show-cards thead th.ebs-assignment-col-code {
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.ebs-assignment-table--show-cards thead th:last-child {
  border-right: none;
}

.ebs-assignment-table--show-cards tbody td {
  background: #ffffff;
  border: none;
  border-bottom: 1px solid #e8eef4;
  border-right: 1px solid #f1f5f9;
  padding: 8px 10px;
  vertical-align: middle;
}

.ebs-assignment-table--show-cards tbody tr:last-child td {
  border-bottom: none;
}

.ebs-assignment-table--show-cards tbody td:last-child {
  border-right: none;
}

.ebs-assignment-table--show-cards tbody td.ebs-assignment-col-buyer {
  color: #6d28d9;
  font-weight: 600;
}

.ebs-assignment-table--show-cards tbody td.ebs-assignment-col-show {
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
}

.ebs-assignment-table--show-cards tbody td.ebs-assignment-col-code {
  color: #1e293b;
  font-weight: 700;
  font-size: 12px;
}

.ebs-assignment-table--show-cards tbody td.ebs-assignment-col-code.ebs-code-cell {
  font-size: 11px;
}

.ebs-assignment-table--show-cards .ebs-link-edit {
  color: #2563eb !important;
}

.ebs-assignment-table--show-cards .ebs-assignment-add-row td {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.ebs-assignment-table--show-cards .ebs-entry-row--editing td {
  background: #eff6ff;
  border-color: #dbeafe;
}

.ebs-assignment-table--show-cards .ebs-entry-row--editing td.ebs-assignment-td-actions {
  background: #eff6ff;
}
.omv-hub {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f1f5f9;
}

.omv-hub__body {
  flex: 1;
  padding: 24px 28px 48px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.omv-hub__intro {
  margin-bottom: 24px;
}

.omv-hub__title {
  margin: 0 0 8px !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.omv-hub__title-icon {
  color: #2563eb;
  font-size: 22px;
}

.omv-hub__lead {
  margin-bottom: 0 !important;
  max-width: 52rem;
}

.omv-hub__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.omv-hub__card {
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.omv-hub__card-icon {
  font-size: 28px;
  color: #2563eb;
  margin-bottom: 8px;
}

.omv-hub__card-title {
  margin: 0 0 8px !important;
}

.omv-hub__card-desc {
  margin-bottom: 16px !important;
  min-height: 3.5rem;
}
/* Buyer “My Shows” — compact top bar only (no main TICKET/BOAT marketing header). */
.ebs-my-shows-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 10px 20px;
  background: #121826;
  color: #e2e8f0;
  border-bottom: 1px solid #2e5bff;
  flex-shrink: 0;
}

.ebs-my-shows-topbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-width: 0;
}

.ebs-my-shows-back.ant-btn {
  color: #93c5fd !important;
  padding: 0 4px 0 0;
  height: auto;
  font-weight: 600;
}

.ebs-my-shows-back.ant-btn:hover {
  color: #bfdbfe !important;
}

.ebs-my-shows-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.ebs-my-shows-date-pill {
  font-family: var(--bs-font-header-mono, "IBM Plex Mono", monospace);
  font-size: 12px;
  font-weight: 600;
  color: #bae6fd;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.4);
  white-space: nowrap;
}

.ebs-my-shows-topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.ebs-my-shows-viewing {
  font-size: 12px;
  color: #94a3b8;
}

.ebs-my-shows-viewing strong {
  color: #f1f5f9;
  font-weight: 700;
}

/* Dark strip — TIME SLOT / TOUR (reference: navy + orange / purple active pills) */
.ebs-my-shows-chip-bar {
  padding: 6px 10px 8px;
  background: #1a2332;
  border-bottom: 1px solid #334155;
}

.ebs-my-shows-chip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.ebs-my-shows-chip-group--time {
  padding-bottom: 6px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.ebs-my-shows-chip-group--tour {
  padding-bottom: 0;
  margin-bottom: 0;
}

.ebs-my-shows-chip-label {
  font-family: "Barlow Condensed", Inter, system-ui, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  min-width: 4.25rem;
  text-transform: uppercase;
}

.ebs-my-shows-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

/* Native <button> reset — avoid OS / global styles (white “default” pills). */
.ebs-my-shows-chip-bar button.ebs-my-shows-chip {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  box-shadow: none;
  font: inherit;
  text-align: inherit;
}

.ebs-my-shows-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--bs-font-header-mono, "IBM Plex Mono", monospace);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1px 5px 1px 6px;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  line-height: 1.15;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.ebs-my-shows-chip:focus-visible {
  outline: 1px solid rgba(96, 165, 250, 0.85);
  outline-offset: 1px;
}

/* Label only — keep small; count badge sized separately */
.ebs-my-shows-chip__text {
  white-space: nowrap;
  font-size: 8px;
  line-height: 1.15;
}

/* Show counts: keep readable; do not shrink with chip label */
.ebs-my-shows-chip__badge {
  box-sizing: border-box;
  flex-shrink: 0;
  min-width: 1rem;
  height: 1rem;
  padding: 0 4px;
  border-radius: 999px;
  font-family: var(--bs-font-header-mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Time slot — active (red, reference mock) */
.ebs-my-shows-chip--slot-on {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.ebs-my-shows-chip--slot-on .ebs-my-shows-chip__badge {
  background: #991b1b;
  color: #ffffff;
}

.ebs-my-shows-chip--slot-on:hover {
  background: #ef4444;
  border-color: #ef4444;
}

/* Time slot — idle (outline on dark) */
.ebs-my-shows-chip-bar button.ebs-my-shows-chip--slot-off {
  background: transparent;
  border-color: #64748b;
  color: #cbd5e1;
}

.ebs-my-shows-chip--slot-off .ebs-my-shows-chip__badge {
  background: #0f172a;
  color: #e2e8f0;
}

.ebs-my-shows-chip-bar button.ebs-my-shows-chip--slot-off:hover {
  border-color: #94a3b8;
  color: #f1f5f9;
}

/* Tour — active (purple) */
.ebs-my-shows-chip--tour-on {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #ffffff;
}

.ebs-my-shows-chip--tour-on .ebs-my-shows-chip__badge {
  background: #5b21b6;
  color: #ffffff;
}

.ebs-my-shows-chip--tour-on:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

/* Tour — idle (outline on dark) */
.ebs-my-shows-chip-bar button.ebs-my-shows-chip--tour-off {
  background: transparent;
  border-color: #64748b;
  color: #cbd5e1;
}

.ebs-my-shows-chip--tour-off .ebs-my-shows-chip__badge {
  background: #0f172a;
  color: #e2e8f0;
}

.ebs-my-shows-chip-bar button.ebs-my-shows-chip--tour-off:hover {
  border-color: #94a3b8;
  color: #f1f5f9;
}
* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

#root {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
}

body {
  margin: 0;
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  background: #f3f4f6;
  overflow-x: hidden;
}
