.seating-page { max-width: 1400px; }
.seating-page .page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.seating-page .page-heading p { max-width: 720px; }
.seat-pickers { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; margin: 0 0 12px; }
.seat-pickers label { display: grid; gap: 4px; font: 600 12px Inter, sans-serif; color: var(--muted); }
.seat-pickers select { min-width: 220px; max-width: 100%; padding: 8px 10px; border: 1px solid #d5dbe3; border-radius: 9px; background: #fff; font: 500 14px Inter, sans-serif; color: var(--ink); }
.seat-pickers #chart-state { padding-bottom: 9px; }
.small { font-size: 12px; }

.seat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.seat-map-card, .seat-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.seat-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.seat-banner { font-size: 13px; color: #44505e; min-height: 20px; }
.seat-banner.active { color: var(--ink); background: #eaf2ff; margin: -4px -8px; padding: 6px 10px; border-radius: 8px; }
.seat-banner .link { border: 0; background: none; padding: 0; color: var(--blue); font: 600 13px Inter, sans-serif; cursor: pointer; }
.map-scroll.zal-frame.seat-frame { height: calc(100vh - 330px); min-height: 380px; max-height: calc(100vh - 330px); }
.seat-outside { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); }
.seat-outside > div:first-child { display: grid; gap: 2px; flex: none; font-size: 13px; }
.seat-outside.drop-target, .seat-remove.drop-target { background: #eaf2ff; }
.seat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.seat-chip { border: 1px solid #c6d9c9; background: #e9f1e9; color: #265a43; border-radius: 20px; padding: 6px 11px; font: 600 12.5px Inter, sans-serif; cursor: grab; touch-action: none; }
.seat-chip.selected { outline: 2px solid var(--blue); }

.seat-side { display: flex; flex-direction: column; position: sticky; top: 12px; max-height: calc(100vh - 140px); }
.seat-side input[type=search] { margin: 12px 12px 8px; padding: 9px 11px; border: 1px solid #d5dbe3; border-radius: 9px; font: 14px Inter, sans-serif; }
.seat-filter { display: flex; gap: 4px; margin: 0 12px 8px; padding: 3px; background: #eef1f4; border-radius: 9px; }
.seat-filter button { flex: 1; border: 0; background: transparent; border-radius: 7px; padding: 7px 6px; font: 600 12.5px Inter, sans-serif; color: #44505e; cursor: pointer; }
.seat-filter button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #17202e1f; }
.seat-filter b { font-weight: 600; color: var(--muted); margin-left: 3px; }
.seat-people { flex: 1; overflow: auto; padding: 0 8px 8px; display: grid; gap: 2px; align-content: start; }
.seat-person { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 6px; width: 100%; min-height: 40px; padding: 4px 8px 4px 2px; border: 1px solid transparent; border-radius: 9px; background: none; text-align: left; font: 500 14px Inter, sans-serif; color: var(--ink); cursor: pointer; }
.seat-person:hover { background: #f4f6f9; }
.seat-person.selected { background: #eaf2ff; border-color: #9cc0f5; }
.seat-person .grip { display: grid; place-items: center; height: 32px; color: #a3acb8; font-size: 15px; cursor: grab; touch-action: none; }
.seat-person .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-person .where { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.seat-person .where.none { color: #b3541e; }
.seat-remove { margin: 8px 12px 12px; padding: 12px; border: 1.5px dashed #d5dbe3; border-radius: 10px; color: var(--muted); font-size: 12.5px; text-align: center; }

.seat-save { position: sticky; bottom: 12px; z-index: 5; display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px #17202e14; }
.seat-save #undo { margin-right: auto; }
.seat-save #dirty.save-error { color: var(--red, #c0392b); font-weight: 600; }
.sec-button { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 1px solid #d5dbe3; border-radius: 9px; background: #fff; color: #3b4552; font: 600 13px/1 Inter, sans-serif; cursor: pointer; text-decoration: none; }
.sec-button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.sec-button:disabled { opacity: .5; cursor: default; }

@media (max-width: 900px) {
  .seat-layout { grid-template-columns: 1fr; }
  .seat-side { position: static; max-height: 46vh; }
  .map-scroll.zal-frame.seat-frame { height: 58vh; max-height: 58vh; min-height: 300px; }
  .seat-save { bottom: 66px; }
}
