/* EventBrew replica — tokens and screens copied from the product, not the studio site. */
.eb {
  --eb-accent: #1f3a4d;
  --eb-accent-hover: #162c3c;
  --eb-accent-light: #e8eef1;
  --eb-ink: #1a1a1a;
  --eb-muted: #6b6b6b;
  --eb-faint: #9a9a94;
  --eb-canvas: #f7f6f3;
  --eb-surface: #fff;
  --eb-border: #ebeae6;
  --eb-border-md: #e0dfda;
  --eb-success: #2f6f5b;
  --eb-warning: #9a7b4f;
  --eb-danger: #9b3b3b;
  --eb-wash: #efedeb;
  --eb-input: #fafaf8;
  font-family: Inter, system-ui, sans-serif;
  color: var(--eb-ink);
  background: var(--eb-canvas);
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.eb svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.eb .eb-display,
.eb-display {
  font-family: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.g-thumb svg,
.c-photo svg,
.g-icon svg {
  width: 28px;
  height: 28px;
}

.theater-stage {
  grid-template-columns: 300px 1fr;
  min-height: 560px;
}

.phone-shell {
  width: 300px;
  max-width: 100%;
  border-radius: 28px;
  background: #111;
  padding: 8px;
  border: 1px solid #d8d6d0;
  box-shadow: 0 24px 50px rgba(20, 20, 20, 0.08);
}

.eb-guest {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  max-height: 640px;
  background: var(--eb-canvas);
  border-radius: 22px;
  overflow: hidden;
}

.desk-shell {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  max-height: 640px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--eb-border);
  background: var(--eb-canvas);
}

.eb-dash-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 12px 0 14px;
  background: #fff;
  border-bottom: 1px solid var(--eb-border);
  flex-shrink: 0;
}

.eb-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.eb-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.eb-brand b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.eb-brand span {
  display: block;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eb-muted);
}

.eb-cafe-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 140px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--eb-wash);
  font-size: 11px;
  font-weight: 600;
}

.eb-cafe-pill i {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--eb-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.eb-tabs {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow: auto;
}

.eb-tabs button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--eb-muted);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.eb-tabs button.is-on {
  color: var(--eb-accent);
  font-weight: 700;
  border-bottom-color: var(--eb-accent);
}

.eb-tabs svg { width: 15px; height: 15px; }

.eb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--eb-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}

.eb-dash-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

/* Guest header */
.g-head {
  background: #fff;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--eb-border);
}

.g-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.g-lock {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.g-lock img,
.g-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: contain;
}

.g-mark {
  background: var(--eb-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}

.g-lock b {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.g-lock em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eb-muted);
}

.g-chip {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--eb-wash);
  border: 1px solid var(--eb-border);
  font-size: 11px;
  font-weight: 600;
}

.g-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.g-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f4f3f0;
  border: 1px solid var(--eb-border);
  font-size: 10px;
  color: var(--eb-muted);
}

.g-code b {
  color: var(--eb-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.g-search {
  padding: 10px 14px;
  background: color-mix(in srgb, var(--eb-canvas) 95%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--eb-border) 40%, transparent);
}

.g-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--eb-border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.g-search {
  position: relative;
}

.g-search svg {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--eb-muted);
}

.g-main {
  flex: 1;
  padding: 8px 14px 72px;
  overflow: auto;
}

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

.g-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--eb-border) 80%, transparent);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.g-card.is-hot {
  border-color: color-mix(in srgb, var(--eb-accent) 40%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--eb-accent) 15%, transparent);
}

.g-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
  border-radius: 12px;
  background: var(--eb-wash);
  display: grid;
  place-items: center;
  color: var(--eb-faint);
  overflow: hidden;
}

.g-thumb svg { width: 22px; height: 22px; }

.g-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.g-badge.simple {
  background: color-mix(in srgb, #fff 90%, transparent);
  border: 1px solid var(--eb-border);
  color: var(--eb-muted);
}

.g-badge.build {
  background: var(--eb-accent);
  color: #fff;
}

.g-card h3 {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.g-card p {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--eb-muted);
}

.g-card-foot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--eb-border) 40%, transparent);
}

.g-personalize {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--eb-border);
  background: var(--eb-wash);
  font-size: 10px;
  font-weight: 600;
}

.g-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--eb-border) 60%, transparent);
  background: #f4f3f0;
}

.g-stepper button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.g-stepper b {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.g-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px 12px;
  background: #fff;
  border-top: 1px solid var(--eb-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

.g-dock small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eb-muted);
}

.g-dock b { font-size: 13px; font-weight: 800; }

.eb-btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--eb-accent);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.eb-btn-accent:disabled {
  background: var(--eb-accent-light);
  color: var(--eb-faint);
  cursor: not-allowed;
}

.g-sheet {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(47, 49, 47, 0.55);
  z-index: 5;
}

.g-sheet-card {
  background: #fff;
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--eb-border);
  padding: 8px 16px 18px;
  max-height: 85%;
}

.g-handle {
  width: 40px;
  height: 4px;
  margin: 4px auto 12px;
  border-radius: 99px;
  background: var(--eb-border);
}

.g-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid var(--eb-border);
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.g-opt.is-on {
  border-color: var(--eb-accent);
  background: #f4f3f0;
}

.g-field {
  margin-bottom: 10px;
}

.g-field label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.g-field input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--eb-border-md);
  border-radius: 12px;
  background: var(--eb-input);
  font: inherit;
}

.g-foot {
  margin-top: auto;
  padding: 14px 14px 16px;
  text-align: center;
  border-top: 1px solid color-mix(in srgb, var(--eb-border) 40%, transparent);
  font-size: 11px;
  font-weight: 600;
  color: var(--eb-muted);
  letter-spacing: 0.02em;
}

/* Status */
.g-tl {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}

.g-tl-row {
  display: flex;
  position: relative;
  justify-content: space-between;
}

.g-tl-row::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--eb-border);
}

.g-tl-row::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 18px;
  height: 2px;
  width: var(--fill, 0%);
  background: var(--eb-accent);
}

.g-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.g-dot {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #faf9f6;
  border: 1px solid var(--eb-border);
  color: var(--eb-muted);
  font-size: 10px;
}

.g-step.on .g-dot,
.g-step.done .g-dot {
  background: var(--eb-accent);
  border-color: var(--eb-accent);
  color: #fff;
}

.g-step.on .g-dot { box-shadow: 0 0 0 4px var(--eb-accent-light); }

.g-step span {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  color: var(--eb-muted);
}

.g-step.on span { font-weight: 800; color: var(--eb-accent); }
.g-step.done span { font-weight: 600; color: var(--eb-ink); }

.g-status {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 20px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.04);
}

.g-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.g-pill.wait {
  background: var(--eb-canvas);
  border: 1px solid var(--eb-border);
  color: var(--eb-muted);
}

.g-pill.ok {
  background: color-mix(in srgb, var(--eb-success) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--eb-success) 25%, transparent);
  color: var(--eb-success);
}

.g-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 999px;
  border: 1px solid var(--eb-border);
  background: #faf9f6;
  display: grid;
  place-items: center;
  color: var(--eb-muted);
}

.g-status h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.g-status p {
  margin: 6px auto 0;
  max-width: 240px;
  font-size: 12px;
  color: var(--eb-muted);
}

.g-pickup {
  display: block;
  margin: 4px 0;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.1;
}

.g-wait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  text-align: left;
}

.g-wait div {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--eb-canvas);
  border: 1px solid var(--eb-border);
}

.g-wait small {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eb-muted);
}

.g-wait b {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 800;
  color: var(--eb-accent);
  font-variant-numeric: tabular-nums;
}

.g-sum {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 20px;
  padding: 14px;
}

.g-sum h3 {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--eb-border);
  font-size: 13px;
  font-weight: 800;
}

.g-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.g-qty {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--eb-accent-light);
  color: var(--eb-accent);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

/* Kanban */
.k-page { display: flex; flex-direction: column; height: 100%; min-height: 500px; }

.k-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-bottom: 1px solid var(--eb-border);
}

.k-head .back {
  font-size: 11px;
  font-weight: 600;
  color: var(--eb-muted);
}

.k-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--eb-accent);
}

.k-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 91, 0.35);
  background: rgba(47, 111, 91, 0.12);
  color: var(--eb-success);
  font-size: 10px;
  font-weight: 800;
}

.k-live i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--eb-success);
}

.k-board {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 12px;
  flex: 1;
}

.k-col {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--eb-border);
  background: color-mix(in srgb, var(--eb-canvas) 80%, transparent);
}

.k-col-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--eb-border);
}

.k-col-h strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--eb-accent);
}

.k-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
}

.k-dot.pending { background: var(--eb-muted); }
.k-dot.prep { background: var(--eb-warning); }
.k-dot.ready { background: var(--eb-success); }

.k-count {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: var(--eb-wash);
  color: var(--eb-muted);
}

.k-hint { font-size: 10px; color: var(--eb-muted); }

.k-ticket {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.03);
}

.k-ticket.prep { border-color: color-mix(in srgb, var(--eb-warning) 35%, transparent); }
.k-ticket.ready {
  border-color: color-mix(in srgb, var(--eb-success) 35%, transparent);
  box-shadow: 0 6px 22px rgba(47, 111, 91, 0.08);
}

.k-ticket.is-hot { outline: 2px solid color-mix(in srgb, var(--eb-accent) 35%, transparent); }

.k-ticket-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.k-code {
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  background: var(--eb-canvas);
  color: var(--eb-accent);
}

.k-ticket.prep .k-code {
  background: rgba(154, 123, 79, 0.12);
  color: var(--eb-warning);
}

.k-ticket.ready .k-code {
  background: rgba(47, 111, 91, 0.15);
  color: var(--eb-success);
}

.k-ticket-top b { font-size: 14px; font-weight: 800; }

.k-time {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--eb-canvas);
  color: var(--eb-muted);
}

.k-chip {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--eb-canvas);
  border: 1px solid var(--eb-border);
  font-size: 10px;
  font-weight: 600;
  margin: 0 4px 6px 0;
}

.k-note {
  display: flex;
  gap: 6px;
  padding: 8px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--eb-canvas) 90%, transparent);
  border: 1px solid var(--eb-border);
  font-size: 11px;
  font-style: italic;
  color: var(--eb-muted);
}

.k-prep {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: var(--eb-canvas);
  border: 1px solid var(--eb-border);
  font-size: 11px;
  color: var(--eb-muted);
}

.k-prep i {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--eb-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.k-actions {
  display: flex;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--eb-border);
}

.k-actions button {
  height: 34px;
  border-radius: 12px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.k-go {
  flex: 1;
  border: 0;
  background: var(--eb-accent);
  color: #fff;
}

.k-go.ok { background: var(--eb-success); }

.k-cancel {
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--eb-danger) 30%, transparent);
  background: #fff;
  color: var(--eb-danger);
}

.k-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  border: 2px dashed var(--eb-border);
  border-radius: 16px;
  text-align: center;
  font-size: 12px;
}

.k-empty b { display: block; margin-bottom: 4px; }
.k-empty span { color: var(--eb-muted); font-size: 11px; }

/* Inventory / catalog / settings pages */
.eb-page { padding: 16px 16px 20px; }

.eb-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--eb-border);
}

.eb-page-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--eb-accent);
}

.eb-page-head p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--eb-muted);
  max-width: 36rem;
}

.eb-count {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--eb-wash);
  border: 1px solid var(--eb-border);
  font-size: 10px;
  font-weight: 800;
  color: var(--eb-muted);
  vertical-align: middle;
}

.eb-table-wrap {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  overflow: auto;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.eb-inv {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.eb-inv th {
  padding: 12px 14px;
  background: color-mix(in srgb, var(--eb-canvas) 80%, transparent);
  border-bottom: 1px solid var(--eb-border);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eb-muted);
  text-align: left;
}

.eb-inv td {
  padding: 12px 14px;
  border-top: 1px solid var(--eb-border);
  background: #fff;
  font-size: 12px;
}

.eb-inv tr.is-hot td { background: #fff8e8; }

.eb-inv .name {
  display: block;
  font-weight: 800;
  color: var(--eb-accent);
}

.eb-inv .sub {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--eb-muted);
}

.eb-lvl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
}

.eb-lvl.ok { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.eb-lvl.low { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.eb-lvl i { width: 6px; height: 6px; border-radius: 99px; }
.eb-lvl.ok i { background: #10b981; }
.eb-lvl.low i { background: #fbbf24; }

.eb-toolbar {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 10px;
  margin-bottom: 12px;
}

.eb-toolbar input,
.eb-toolbar select {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--eb-border-md);
  border-radius: 12px;
  background: var(--eb-canvas);
  font: inherit;
  font-size: 12px;
}

.eb-type-tabs {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--eb-canvas);
  border: 1px solid var(--eb-border);
}

.eb-type-tabs span {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--eb-muted);
}

.eb-type-tabs span.is-on {
  background: var(--eb-accent);
  color: #fff;
}

.c-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.c-card {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.04);
}

.c-card.is-hot { box-shadow: 0 0 0 2px var(--eb-accent); }

.c-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--eb-canvas);
  display: grid;
  place-items: center;
  color: var(--eb-faint);
}

.c-card h3 {
  margin: 0;
  padding: 12px 14px 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--eb-accent);
}

.c-card p {
  margin: 0;
  padding: 0 14px 14px;
  font-size: 12px;
  color: var(--eb-muted);
}

.c-form {
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 16px;
}

.c-form.is-hot { border-color: var(--eb-accent); }

.s-card {
  background: #fff;
  border: 1px solid var(--eb-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.03);
}

.s-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--eb-border);
}

.s-ico {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--eb-canvas);
  color: var(--eb-accent);
  display: grid;
  place-items: center;
}

.s-card-h h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--eb-accent);
}

.s-owner {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--eb-canvas);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eb-muted);
}

.s-logo {
  padding: 14px;
  border-radius: 12px;
  background: var(--eb-canvas);
  border: 1px solid var(--eb-border);
  margin-bottom: 14px;
}

.s-logo-box {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: var(--eb-accent-light);
  color: var(--eb-accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
}

.s-logo-box.is-on {
  background: var(--eb-accent);
  color: #fff;
}

.s-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
}

.s-field input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--eb-border-md);
  border-radius: 12px;
  font: inherit;
}

.s-hint {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--eb-muted);
}

@media (max-width: 860px) {
  .theater-stage { grid-template-columns: 1fr; }
  .phone-shell { width: min(300px, 100%); }
  .k-board { grid-template-columns: 1fr; }
  .k-col { min-height: 0; }
  .eb-tabs button span { display: none; }
}
