:root {
  color-scheme: light;
  --ink: #17324d;
  --muted: #718195;
  --paper: #f4f7f8;
  --card: rgba(255, 255, 255, 0.94);
  --line: #dfe7e9;
  --accent: #e8754f;
  --accent-dark: #c95633;
  --teal: #2c8c80;
  --teal-soft: #dcefeb;
  --blue-soft: #e4edf5;
  --shadow: 0 24px 80px rgba(24, 50, 70, 0.12);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: linear-gradient(145deg, #f7f9f9 0%, #eef4f3 100%); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.ambient { position: fixed; border-radius: 999px; filter: blur(2px); pointer-events: none; opacity: .66; }
.ambient-one { width: 32rem; height: 32rem; top: -12rem; right: -7rem; background: radial-gradient(circle, rgba(232,117,79,.18), transparent 68%); }
.ambient-two { width: 36rem; height: 36rem; bottom: -17rem; left: -12rem; background: radial-gradient(circle, rgba(44,140,128,.16), transparent 68%); }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 520px) minmax(400px, 620px); align-items: center; justify-content: center; gap: clamp(2rem, 8vw, 8rem); padding: 4rem; position: relative; z-index: 1; }
.login-card { background: var(--card); padding: clamp(2rem, 4vw, 4rem); border: 1px solid rgba(255,255,255,.9); border-radius: 2rem; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.brand-mark, .mini-mark { display: grid; place-items: center; color: white; background: var(--ink); font-family: Georgia, "Songti SC", serif; }
.brand-mark { width: 3.2rem; height: 3.2rem; border-radius: 1rem; font-size: 1.35rem; margin-bottom: 2.6rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--teal); font-size: .73rem; font-weight: 800; letter-spacing: .18em; }
.login-card h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(2.65rem, 5vw, 4.6rem); line-height: 1.08; letter-spacing: -.04em; }
.login-copy { margin: 1.35rem 0 2.5rem; color: var(--muted); line-height: 1.8; }
.login-form { display: grid; gap: 1.25rem; }
.login-form label, .control-panel label { display: grid; gap: .5rem; color: #526579; font-size: .82rem; font-weight: 700; }
.room-control small { color: #a16852; font-size: .68rem; font-weight: 500; }
.login-form input, .control-panel input, .control-panel select { width: 100%; border: 1px solid var(--line); background: #fbfcfc; color: var(--ink); border-radius: .85rem; padding: .92rem 1rem; outline: none; transition: .2s ease; }
.login-form input:focus, .control-panel input:focus, .control-panel select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(44,140,128,.1); }
.primary-button, .refresh-button { border: 0; border-radius: .9rem; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.primary-button { margin-top: .45rem; padding: 1rem; color: white; background: var(--accent); box-shadow: 0 12px 28px rgba(232,117,79,.26); }
.primary-button:hover, .refresh-button:hover { transform: translateY(-1px); }
.primary-button:disabled, .refresh-button:disabled { opacity: .55; cursor: wait; transform: none; }
.form-error { min-height: 1.25rem; margin: 0; color: #b74436; font-size: .86rem; }
.privacy-note { margin: 1.7rem 0 0; color: #8d9aa8; font-size: .78rem; line-height: 1.6; }
.login-visual { position: relative; height: min(72vh, 650px); min-height: 480px; }
.seat-pattern { position: absolute; inset: 5% 2% 4% 8%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; padding: 4rem; border: 1px solid rgba(23,50,77,.07); border-radius: 48% 52% 42% 58% / 48% 38% 62% 52%; background: rgba(255,255,255,.38); transform: rotate(-5deg); }
.seat-pattern i { position: relative; align-self: center; aspect-ratio: 1; border-radius: 1.1rem 1.1rem .45rem .45rem; background: #d9e6e5; box-shadow: inset 0 -10px 0 rgba(23,50,77,.06); }
.seat-pattern i:nth-child(3n), .seat-pattern i:nth-child(7) { background: #f1c7b8; }
.seat-pattern i:nth-child(5), .seat-pattern i:nth-child(10) { background: #9bc7c0; }
.visual-card { position: absolute; z-index: 2; border-radius: 1.25rem; background: rgba(255,255,255,.94); box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.9); }
.visual-card-a { top: 13%; left: -4%; padding: 1.4rem 1.6rem; min-width: 14rem; }
.visual-card-a span, .visual-card-a small { display: block; color: var(--muted); font-size: .78rem; }
.visual-card-a strong { display: inline-block; margin: .55rem .3rem .25rem 0; color: var(--teal); font-family: Georgia, serif; font-size: 3rem; }
.visual-card-b { right: -1rem; bottom: 16%; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem; }
.visual-card-b p { margin: 0; font-size: .83rem; font-weight: 700; }
.status-dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 6px rgba(44,140,128,.12); }

.dashboard { min-height: 100vh; padding: 0 clamp(1rem, 4vw, 4rem) 4rem; position: relative; z-index: 1; }
.topbar { min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,50,77,.1); }
.brand-lockup { display: flex; align-items: center; gap: .85rem; }
.mini-mark { width: 2.55rem; height: 2.55rem; border-radius: .8rem; }
.brand-lockup p, .brand-lockup h1 { margin: 0; }
.brand-lockup p { color: var(--muted); font-size: .72rem; }
.brand-lockup h1 { font-family: Georgia, "Songti SC", serif; font-size: 1.08rem; }
.topbar-actions { display: flex; align-items: center; gap: 1.5rem; }
.connection { display: inline-flex; align-items: center; color: var(--muted); font-size: .8rem; }
.connection i { width: .48rem; height: .48rem; border-radius: 50%; margin-right: .5rem; background: var(--teal); box-shadow: 0 0 0 5px rgba(44,140,128,.1); }
.connection-loading i { background: #d99a45; }
.connection-error i { background: #c65045; }
.text-button { border: 0; background: transparent; color: var(--ink); font-weight: 700; padding: .5rem 0; }
.control-panel { display: grid; grid-template-columns: minmax(150px,.8fr) minmax(260px,1.5fr) minmax(130px,.65fr) minmax(130px,.65fr) auto; gap: 1rem; align-items: end; margin: 2rem 0; padding: 1.2rem; border-radius: 1.2rem; border: 1px solid rgba(23,50,77,.08); background: rgba(255,255,255,.66); box-shadow: 0 12px 40px rgba(23,50,77,.05); }
.control-panel input, .control-panel select { padding: .78rem .85rem; background: white; }
.control-panel select option:disabled { color: #a16852; background: #fff2eb; }
.refresh-button { min-height: 2.85rem; padding: .78rem 1.1rem; color: white; background: var(--ink); }
.refresh-button span { display: inline-block; margin-right: .25rem; font-size: 1.15rem; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 1.5rem; }
.main-column { min-width: 0; }
.room-heading { display: flex; align-items: end; justify-content: space-between; margin: .5rem 0 1.4rem; }
.room-heading h2 { margin: .2rem 0 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.breadcrumb, .updated-at { margin: 0; color: var(--muted); font-size: .8rem; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.summary-card { padding: 1.2rem 1.35rem; border-radius: 1.15rem; background: var(--card); border: 1px solid rgba(23,50,77,.07); box-shadow: 0 12px 35px rgba(23,50,77,.05); }
.summary-card span, .summary-card small { display: block; color: var(--muted); font-size: .76rem; }
.summary-card strong { display: block; margin: .35rem 0; font-family: Georgia, serif; font-size: 2.1rem; }
.available-card { color: #17675e; background: linear-gradient(145deg, #e4f2ef, #f4faf8); }
.map-card, .detail-card { background: var(--card); border: 1px solid rgba(23,50,77,.07); border-radius: 1.4rem; box-shadow: 0 18px 55px rgba(23,50,77,.07); }
.map-card { min-height: 34rem; padding: 1.35rem; }
.map-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.map-card h3, .detail-card h3 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 1.35rem; }
.legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1rem; color: var(--muted); font-size: .72rem; }
.legend span { display: inline-flex; align-items: center; gap: .35rem; }
.legend-seat { width: .75rem; height: .75rem; border-radius: .25rem; background: #dbe6e8; }
.legend-seat.available { background: #cfe8e3; border: 1px solid #68a89f; }
.legend-seat.reserved { background: #e1e5e8; border: 1px solid #9ca9b3; }
.legend-seat.in-use { background: #f4c59f; border: 1px solid #d9824b; }
.legend-seat.disabled { background: #e8d8d5; border: 1px dashed #a98580; }
.map-scroller { overflow: auto; padding: .6rem; background: #f8faf9; border: 1px solid #e7eded; border-radius: 1rem; }
.seat-map { --grid-width: 8; --grid-height: 16; min-width: calc(var(--grid-width) * 54px); min-height: calc(var(--grid-height) * 48px); display: grid; grid-template-columns: repeat(var(--grid-width), minmax(46px, 1fr)); grid-template-rows: repeat(var(--grid-height), 43px); gap: 5px; padding: .75rem; }
.map-feature, .map-seat { min-width: 0; min-height: 0; display: grid; place-items: center; border-radius: .45rem; font-size: .64rem; }
.map-feature { color: #83909c; background: #edf1f2; border: 1px solid #e2e8e9; }
.feature-desk { background: #eee8df; color: #9a8063; }
.feature-window { background: #e4f0f5; color: #6e99ac; }
.feature-shelf { background: #e8e2da; color: #8c735a; }
.feature-door { background: #f3dfd6; color: #b16d53; }
.feature-wall, .feature-column { background: #dde3e5; color: #687783; }
.map-seat { position: relative; z-index: 2; border: 1px solid transparent; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.map-seat:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(23,50,77,.14); }
.map-seat.selected { outline: 3px solid rgba(232,117,79,.26); border-color: var(--accent); transform: translateY(-2px); }
.seat-available { color: #17675e; background: #dcefeb; border-color: #86bdb5; }
.seat-reserved { color: #677784; background: #e7ecee; border-color: #c6d0d4; }
.seat-in_use { color: #a7532f; background: #f7d5bd; border-color: #e69a65; }
.seat-disabled { color: #987b76; background: #eee2df; border-style: dashed; border-color: #bda39f; }
.map-loading, .map-error { min-height: 25rem; display: grid; place-items: center; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 1rem; background: #fafcfc; }
.map-error { color: #a3483e; padding: 2rem; }
.detail-column { display: grid; align-content: start; gap: 1rem; }
.detail-card { padding: 1.4rem; min-height: 25rem; }
.empty-detail { min-height: 17rem; display: grid; align-content: center; justify-items: center; text-align: center; color: var(--muted); }
.empty-detail p { max-width: 12rem; line-height: 1.7; font-size: .85rem; }
.cursor-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--teal-soft); font-size: 1.35rem; }
.seat-detail { margin-top: 1.4rem; }
.seat-detail-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-radius: 1rem; background: #f4f7f7; }
.seat-detail-head span { color: var(--muted); font-size: .72rem; }
.seat-detail-head strong { display: block; margin-top: .2rem; font-family: Georgia, serif; font-size: 1.8rem; }
.detail-status { padding: .45rem .65rem; border-radius: 999px; font-weight: 800; }
.status-available { color: #17675e !important; background: #dcefeb; }
.status-reserved, .status-disabled { color: #657582 !important; background: #e5ebed; }
.status-in_use { color: #a7532f !important; background: #f7d5bd; }
.seat-detail dl { margin: 1rem 0; }
.seat-detail dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid #edf1f2; font-size: .82rem; }
.seat-detail dt { color: var(--muted); }
.seat-detail dd { margin: 0; text-align: right; font-weight: 700; }
.nearby-block > span { color: var(--muted); font-size: .75rem; }
.feature-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.feature-tags span { padding: .38rem .55rem; border-radius: .5rem; background: #f1f4f4; color: #61717e; font-size: .72rem; }
.notice-card { display: flex; gap: .8rem; padding: 1rem; border-radius: 1rem; background: #fff4ee; border: 1px solid #f1d8ca; color: #8e5138; }
.notice-card > span { flex: 0 0 auto; width: 1.5rem; height: 1.5rem; display: grid; place-items: center; border-radius: 50%; background: #f3d3c2; font-family: Georgia, serif; font-weight: 800; }
.notice-card strong { font-size: .82rem; }
.notice-card p { margin: .3rem 0 0; font-size: .75rem; line-height: 1.6; }

@media (max-width: 1060px) {
  .login-shell { grid-template-columns: minmax(330px, 520px); }
  .login-visual { display: none; }
  .control-panel { grid-template-columns: repeat(2, 1fr); }
  .room-control { grid-column: span 2; }
  .refresh-button { grid-column: span 2; }
  .content-grid { grid-template-columns: 1fr; }
  .detail-column { grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); }
  .detail-card { min-height: auto; }
}

@media (max-width: 680px) {
  .login-shell { padding: 1rem; }
  .login-card { padding: 1.6rem; border-radius: 1.4rem; }
  .dashboard { padding: 0 .8rem 2rem; }
  .topbar { align-items: flex-start; padding: 1rem 0; gap: .8rem; }
  .topbar-actions { display: grid; justify-items: end; gap: .3rem; }
  .connection { font-size: .7rem; }
  .control-panel { grid-template-columns: 1fr; margin: 1rem 0; }
  .room-control, .refresh-button { grid-column: auto; }
  .room-heading { align-items: start; }
  .updated-at { margin-top: .45rem; text-align: right; }
  .summary-grid { grid-template-columns: 1fr 1fr; }
  .summary-card:last-child { grid-column: span 2; }
  .map-card { padding: .9rem; }
  .map-card-header { align-items: flex-start; flex-direction: column; }
  .legend { justify-content: flex-start; }
  .detail-column { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Clear chair and facility icon system */
.seat-map {
  min-width: calc(var(--grid-width) * 62px);
  min-height: calc(var(--grid-height) * 58px);
  grid-template-columns: repeat(var(--grid-width), minmax(54px, 1fr));
  grid-template-rows: repeat(var(--grid-height), 53px);
  gap: 6px;
}
.map-seat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 3px 2px;
  overflow: visible;
}
.chair-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 25px;
  color: currentColor;
}
.chair-icon i {
  position: absolute;
  top: 1px;
  left: 5px;
  width: 20px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 6px 6px 3px 3px;
  background: rgba(255, 255, 255, .42);
}
.chair-icon::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 3px;
  width: 24px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 3px 3px 5px 5px;
  background: rgba(255, 255, 255, .3);
}
.chair-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 0;
  width: 16px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.seat-number { font-size: .62rem; line-height: 1; letter-spacing: .02em; }
.legend-chair {
  position: relative;
  width: 17px;
  height: 14px;
  color: #17675e;
  border: 2px solid currentColor;
  border-radius: 5px 5px 2px 2px;
  background: #dcefeb;
}
.legend-chair::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -6px;
  height: 4px;
  border: 2px solid currentColor;
  border-radius: 2px;
}
.legend-chair.reserved { color: #768690; background: #e7ecee; }
.legend-chair.in-use { color: #a7532f; background: #f7d5bd; }
.legend-chair.disabled { color: #987b76; background: #eee2df; border-style: dashed; }

.map-feature {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 3px;
  overflow: hidden;
}
.facility-icon { position: relative; display: block; width: 28px; height: 23px; color: currentColor; flex: 0 0 auto; }
.feature-caption { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .54rem; line-height: 1; }
.facility-desk::before {
  content: ""; position: absolute; left: 1px; right: 1px; top: 4px; height: 8px;
  border: 2px solid currentColor; border-radius: 3px; background: rgba(255,255,255,.35);
}
.facility-desk::after {
  content: ""; position: absolute; left: 5px; right: 5px; top: 13px; height: 8px;
  border-left: 2px solid currentColor; border-right: 2px solid currentColor;
}
.facility-window { border: 2px solid currentColor; border-radius: 3px; background: linear-gradient(90deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%), linear-gradient(transparent 46%, currentColor 47%, currentColor 53%, transparent 54%); }
.facility-shelf { border: 2px solid currentColor; border-radius: 2px; background: repeating-linear-gradient(to bottom, transparent 0 5px, currentColor 6px 7px); }
.facility-door { width: 19px; border: 2px solid currentColor; border-bottom: 0; border-radius: 9px 2px 0 0; }
.facility-door::after { content: ""; position: absolute; right: 3px; top: 11px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.facility-wall::before { content: ""; position: absolute; left: 1px; right: 1px; top: 9px; height: 7px; border-radius: 3px; background: currentColor; box-shadow: 0 -5px 0 rgba(255,255,255,.35), 0 5px 0 rgba(255,255,255,.35); }
.facility-column::before { content: ""; position: absolute; left: 5px; top: 1px; width: 18px; height: 18px; border: 3px solid currentColor; border-radius: 50%; background: rgba(255,255,255,.35); }
.facility-power::before, .facility-toilet::before, .facility-elevator::before, .facility-label::before {
  position: absolute; inset: 0; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 5px; background: rgba(255,255,255,.38); font-weight: 900; font-size: .72rem;
}
.facility-power::before { content: "⚡"; }
.facility-toilet::before { content: "WC"; font-size: .55rem; }
.facility-elevator::before { content: "↕"; }
.facility-label::before { content: "i"; font-family: Georgia, serif; }
.facility-computer::before { content: ""; position: absolute; left: 2px; right: 2px; top: 1px; height: 15px; border: 2px solid currentColor; border-radius: 3px; background: rgba(255,255,255,.4); }
.facility-computer::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 1px; height: 3px; background: currentColor; box-shadow: 0 -3px 0 -1px currentColor; }

.detail-loading { margin-top: 1rem; padding: .8rem; border-radius: .75rem; background: #f5f8f8; color: var(--muted); font-size: .78rem; text-align: center; }
.detail-extra { margin-top: 1rem; }
.detail-section { padding: .9rem 0; border-top: 1px solid #edf1f2; }
.detail-section h4 { margin: 0 0 .55rem; color: var(--ink); font-size: .8rem; }
.detail-section p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.65; }
.time-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.time-chips span { padding: .36rem .5rem; border-radius: .5rem; background: #f1e8e3; color: #8c5843; font-size: .7rem; font-weight: 700; }
.time-chips .time-free { color: #17675e; background: #e4f2ef; }
.available-section { padding-top: .35rem; border-top: 0; }
.available-time-chips button {
  padding: .4rem .56rem; border: 1px solid #91c5bd; border-radius: .5rem;
  color: #17675e; background: #e4f2ef; font-size: .7rem; font-weight: 800;
}
.available-time-chips button:hover { border-color: #2c8c80; background: #d6ebe7; }
.available-time-chips .time-none { color: #8a6c63; background: #f4eeeb; }
.reservation-hint { margin: .7rem 0; padding: .7rem .8rem; border-radius: .7rem; color: #8e5138; background: #fff4ee; font-size: .73rem; line-height: 1.55; }
.reservation-hint.reservation-ready { color: #17675e; background: #e4f2ef; }
.reserve-button { width: 100%; padding: .78rem 1rem; border: 0; border-radius: .75rem; color: white; background: linear-gradient(135deg, var(--accent), #d95f3c); font-weight: 800; box-shadow: 0 10px 24px rgba(232,117,79,.23); }
.reserve-button:disabled { color: #87949c; background: #e5eaec; box-shadow: none; cursor: not-allowed; }
.original-link { display: block; margin-top: .7rem; color: var(--muted); font-size: .72rem; text-align: center; text-decoration: underline; text-underline-offset: 3px; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,27,43,.58); backdrop-filter: blur(5px); }
.modal-card { position: relative; width: min(100%, 490px); padding: 1.7rem; border-radius: 1.35rem; background: #fff; box-shadow: 0 30px 90px rgba(10,27,43,.3); }
.modal-card h2 { margin: .25rem 0 1.1rem; font-family: Georgia, "Songti SC", serif; }
.modal-close { position: absolute; top: .8rem; right: .8rem; width: 2rem; height: 2rem; border: 0; border-radius: 50%; color: var(--muted); background: #f1f4f4; font-size: 1.25rem; }
.reservation-summary { display: grid; gap: .2rem; padding: .8rem 1rem; border-radius: .9rem; background: #f5f8f8; }
.reservation-summary > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.reservation-summary span { color: var(--muted); font-size: .78rem; }
.reservation-summary strong { font-size: .82rem; text-align: right; }
.reservation-success { display: grid !important; justify-items: center; gap: .5rem !important; padding: 1.2rem !important; color: #17675e; }
.modal-warning { margin: .9rem 0; color: #8e5138; font-size: .74rem; line-height: 1.6; }
.modal-error { min-height: 1.25rem; color: #b5463d; font-size: .76rem; line-height: 1.5; }
.modal-error a { color: inherit; font-weight: 800; text-decoration: underline; }
.modal-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: .7rem; margin-top: 1rem; }
.modal-actions button { min-height: 2.8rem; }
.secondary-button { border: 1px solid #d8e0e3; border-radius: .75rem; color: var(--ink); background: #fff; font-weight: 800; }
.modal-open { overflow: hidden; }

@media (max-width: 680px) {
  .seat-map { min-width: calc(var(--grid-width) * 58px); }
  .modal-actions { grid-template-columns: 1fr; }
}
