/* 用途底色与单位/片区色条、选中边框相互独立。 */
.legend-dot.designated{background:#f3ebfb;border-color:#ad82cc}
.legend-dot.backup{background:#fff0f1;border-color:#e3a1a7}
.seat-row{align-items:stretch}
.seat-row .seat{height:auto;min-height:43px}
.seat-row .seat.gov-seat{min-height:56px}
.seat-row .seat.purpose-designated,.seat-row .seat.purpose-backup{min-height:62px}
.seat-aisle{align-self:center}
.seat.purpose-designated:not(.disabled):not(.mine):not(.selected){background:#f3ebfb!important;border-color:#ad82cc!important;color:#75429d!important}
.seat.purpose-backup:not(.disabled):not(.mine):not(.selected){background:#fff0f1!important;border-color:#e3a1a7!important;color:#b5474e!important}
.seat.purpose-designated:hover:not(:disabled):not(.mine):not(.selected){background:#e9daf6!important;border-color:#9065b4!important}
.seat-purpose-caption,.seat-occupancy-caption{font-family:inherit;font-size:9px;font-weight:400;line-height:1.4}
.seat.purpose-designated,.seat.purpose-backup{min-height:62px;height:auto;padding:8px 4px 12px}
.seat.purpose-designated.occupied{border-style:dashed}
.seat-purpose-field{margin-top:18px}
.seat-purpose-badge{display:inline-block;margin-top:5px;padding:3px 7px;border:1px solid transparent;border-radius:5px;font-size:10px;line-height:1.5;white-space:nowrap}
.seat-purpose-badge.designated{background:#f3ebfb;border-color:#d8bfe8;color:#75429d}
.seat-purpose-badge.backup{background:#fff0f1;border-color:#f2cbd0;color:#b5474e}
.seat-purpose-badge.normal{background:#f1f5fb;border-color:#dfe7f2;color:#6b7f9d}
.gov-board-seat.purpose-designated:not(.disabled){background:#f3ebfb;color:#75429d;border-right-color:#d8bfe8;border-bottom-color:#d8bfe8;border-left-color:#d8bfe8}
.gov-board-seat.purpose-backup:not(.disabled){background:#fff0f1;color:#b5474e;border-right-color:#f2cbd0;border-bottom-color:#f2cbd0;border-left-color:#f2cbd0}
.gov-board-seat.purpose-designated.selected,.gov-board-seat.purpose-backup.selected{outline:2px solid var(--blue);outline-offset:1px}
.gov-purpose-editor{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.gov-purpose-editor h4{font-size:13px;margin-bottom:8px}
.gov-purpose-editor .btn{margin-top:9px}
.gov-purpose-editor [data-action=gov-mark-designated]{background:#f3ebfb;border-color:#d8bfe8;color:#75429d}
.gov-purpose-legend{display:flex;flex-wrap:wrap;gap:9px 16px;padding-top:14px;font-size:11px;color:var(--muted);flex:0 0 auto}
.gov-purpose-legend small{width:100%;font-size:10px;line-height:1.6}
.gov-edit-sidebar .gov-direct-list{max-height:32vh}
.gov-modal #gov-editor{min-width:0;width:100%;max-width:100%}
.gov-modal .gov-board-layout,.gov-modal .gov-board,.gov-modal .gov-edit-sidebar{min-width:0;max-width:100%}
.gov-modal .gov-board-scroll{min-width:0}
.gov-seat-row{grid-template-columns:48px minmax(560px,1fr)}
@media(min-width:1001px){.gov-seat-row{grid-template-columns:42px minmax(0,1fr)}.gov-screen{min-width:0}.gov-row-seats{gap:6px}.gov-board-seat:nth-child(5){margin-left:3px}}
@media(max-width:720px){.gov-modal .gov-board,.gov-modal .gov-edit-sidebar{width:100%}.gov-purpose-editor{padding-bottom:14px;margin-bottom:14px}.gov-purpose-legend{gap:8px 12px}.gov-purpose-editor .btn{width:100%}}
