.space-passenger { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 5px; align-items: center; }
.space-family { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.space-family input { width: 65px; }
.space-picker-workspace { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.space-picker-settings, .space-picker-canvas { min-width: 0; }
.tour-page-buy:has(.space-picker .modal.show) { z-index: 1060; }
.tour-page-buy:has(.space-picker .modal.show) .tour-booking-card { visibility: hidden; }
.space-picker .modal { visibility: visible; }
@media (max-width: 767.98px) { .space-picker-workspace { grid-template-columns: 1fr; } }
.space-map { padding: 10px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; }
.space-map-front { text-align: center; color: #64748b; font-size: 12px; border-bottom: 2px solid #cbd5e1; padding-bottom: 8px; margin-bottom: 12px; }
.space-map-row { display: flex; justify-content: center; margin-bottom: 8px; }
.space-map-bus .space-map-row { display: grid; grid-template-columns: 1fr 18px 2fr; align-items: start; }
.space-map-bus .space-side-left { grid-column: 1; }
.space-map-bus .space-side-right { grid-column: 3; }
.space-group { border: 1px solid #cbd5e1; padding: 5px; border-radius: 8px; min-width: 0; max-width: 100%; }
.space-group-name { display: block; text-align: center; font-size: 10px; color: #64748b; margin-bottom: 4px; }
.space-group-units { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; }
.space-unit { width: 34px; height: 34px; flex: 0 0 34px; font-size: 12px; border: 1px solid #93c5b4; border-radius: 7px 7px 4px 4px; color: #166534; background: #ecfdf5; box-shadow: 0 3px 0 #bbdfcf; }
.space-unit.is-selected { color: #fff; background: #2563eb; border-color: #2563eb; box-shadow: 0 3px 0 #1d4ed8; }
.space-unit.is-reserved { color: #64748b; background: #e2e8f0; border-color: #cbd5e1; box-shadow: none; cursor: not-allowed; }
.space-unit.is-blocked { color: #92400e; background: #fef3c7; border-color: #fcd34d; box-shadow: none; cursor: not-allowed; }
.space-unit:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; }
.space-legend { display: flex; flex-wrap: wrap; gap: 8px; }
.space-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-left: 4px; background: #bbdfcf; }
.space-legend .selected::before { background: #2563eb; }
.space-legend .reserved::before { background: #cbd5e1; }
.space-legend .blocked::before { background: #fcd34d; }
