:root {
  font-family:
    Inter,
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172c3c;
  background: #f3f6f8;
  font-synthesis: none;
  --ink: #172c3c;
  --muted: #6e7e8c;
  --line: #dfe6eb;
  --brand: #007c78;
  --red: #c33e42;
  --green: #16816b;
  --amber: #b57717;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #13b8ab;
}
button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  color: var(--ink);
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
}
button:hover:not(:disabled) {
  border-color: #80b7b4;
  background: #f0f9f7;
}
.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.primary:hover:not(:disabled) {
  background: #006763;
  color: white;
}
.danger {
  color: var(--red);
  border-color: #edbfc0;
}
.quiet {
  background: transparent;
  border: 0;
  color: var(--muted);
}
a {
  color: var(--brand);
}
input,
select,
textarea {
  padding: 10px 11px;
  border: 1px solid #ced9df;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
small,
.muted {
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 25px;
  letter-spacing: -0.9px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 14px;
}
small {
  font-size: 12px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: white;
  font-size: 19px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 208px;
  background: #102a38;
  color: #ccdae2;
  padding: 27px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.sidebar .brand {
  color: white;
}
.sidebar .eyebrow {
  color: #71939e;
  margin: 35px 12px 13px;
}
.nav {
  display: grid;
  gap: 6px;
}
.nav button {
  border: 0;
  text-align: left;
  color: #a9c0cb;
  background: transparent;
  padding: 12px;
  font-size: 13px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.nav button.active {
  background: #254650;
  color: white;
}
.nav button:hover {
  background: #1d3c49;
  color: white;
}
.nav-icon {
  font-size: 16px;
  width: 19px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #34505b;
  padding-top: 18px;
  display: grid;
  gap: 12px;
}
.sidebar-bottom small {
  color: #96adb8;
  overflow-wrap: anywhere;
}
.sidebar-bottom button {
  color: #cedfe6;
  border-color: #365563;
  background: transparent;
}
.workspace {
  margin-left: 208px;
  min-height: 100vh;
}
.topbar {
  height: 69px;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 13px;
  align-items: center;
}
.breadcrumb b {
  color: var(--ink);
}
.live {
  font-size: 12px;
  color: var(--brand);
  display: flex;
  gap: 7px;
  align-items: center;
  white-space: nowrap;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.page {
  padding: 25px 28px 36px;
  max-width: 2100px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.event-select {
  min-width: 260px;
  max-width: 400px;
  font-weight: 600;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  min-width: 0;
}
.metric-label {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.metric-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  margin: 11px 0 3px;
  font-variant-numeric: tabular-nums;
}
.metric-value span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.metric-note {
  font-size: 11px;
  color: var(--muted);
}
.metric.alert {
  border-top: 3px solid var(--red);
  padding-top: 14px;
}
.metric.alert .metric-value {
  color: var(--red);
}
.metric.warn .metric-value {
  color: var(--amber);
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 18px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}
.panel-head small {
  font-size: 11px;
}
.filters {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 13px 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.filters input {
  flex: 1;
  min-width: 150px;
  font-size: 12px;
}
.filters select {
  font-size: 12px;
  max-width: 150px;
  padding: 8px;
}
.filters .count {
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
}
.map {
  padding: 4px 18px 20px;
}
.floor-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 19px 0 12px;
}
.floor-heading b {
  font-size: 12px;
}
.floor-heading small {
  font-size: 10px;
}
.floor-line {
  height: 1px;
  flex: 1;
  background: #e8eef1;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
  gap: 9px;
}
.room-tile {
  padding: 11px;
  text-align: left;
  border: 1px solid #dce5e8;
  border-top: 3px solid var(--green);
  border-radius: 7px;
  min-width: 0;
  background: #fff;
}
.room-tile:hover {
  box-shadow: 0 3px 14px #153c4c12;
}
.room-tile.red {
  border-top-color: var(--red);
  background: #fffafa;
}
.room-tile.equipment {
  border-top-color: var(--amber);
  background: #fffdf8;
}
.room-tile.ready {
  border-top-color: #a5b2bc;
  background: #fafbfc;
}
.room-tile.checking {
  border-top-color: #b57717;
  background: #fffdf8;
}
.room-tile.acked {
  border-top-color: #527685;
}
.room-tile.selected {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.tile-head {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  align-items: center;
}
.tile-head b {
  font-size: 13px;
}
.state-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.red .state-dot {
  background: var(--red);
}
.equipment .state-dot,
.checking .state-dot {
  background: var(--amber);
}
.ready .state-dot {
  background: #a5b2bc;
}
.mini-grid {
  display: grid;
  gap: 3px;
  margin: 12px 2px 10px;
  direction: ltr;
}
.seat {
  min-height: 5px;
  aspect-ratio: 1.8;
  background: #e5efec;
  border-radius: 1px;
}
.seat.heat1 {
  background: #f4d9b1;
}
.seat.heat2 {
  background: #eaa67e;
}
.seat.heat3 {
  background: #d95754;
}
.seat.ear {
  outline: 2px solid #9839a7;
}
.seat.checked {
  background: #78918d;
}
.ready .seat {
  background: #e8edf0;
}
.equipment .seat {
  background: #eee6d6;
}
.tile-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  gap: 4px;
}
.tile-foot .label {
  color: var(--green);
  font-weight: 600;
}
.red .label {
  color: var(--red);
}
.equipment .label,
.checking .label {
  color: var(--amber);
}
.ready .label {
  color: #7c8993;
}
.legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 10px;
  color: var(--muted);
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}
.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
}
.legend .red {
  background: var(--red);
}
.legend .amber {
  background: var(--amber);
}
.legend .gray {
  background: #a5b2bc;
}
.side-stack {
  display: grid;
  gap: 16px;
}
.attention-item {
  padding: 14px 17px;
  border-bottom: 1px solid #edf1f3;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  text-align: left;
}
.attention-item:last-child {
  border-bottom: 0;
}
.attention-icon {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: #fff0ee;
  color: var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.attention-icon.warn {
  background: #fff4df;
  color: var(--amber);
}
.attention-info {
  flex: 1;
  min-width: 0;
}
.attention-info b {
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.attention-info small {
  font-size: 11px;
  display: block;
}
.pill {
  border-radius: 4px;
  padding: 4px 7px;
  background: #eaf6f0;
  color: #207859;
  font-size: 10px;
  white-space: nowrap;
  display: inline-block;
  font-weight: 600;
}
.pill.red {
  background: #fceceb;
  color: var(--red);
}
.pill.equipment,
.pill.checking {
  background: #fff3dc;
  color: #996215;
}
.pill.ready {
  background: #edf0f3;
  color: #697986;
}
.pill.ended {
  background: #edf0f3;
  color: #697986;
}
.pill.running {
  background: #eaf6f0;
  color: #207859;
}
.pill.acked {
  background: #e8eff3;
  color: #527685;
}
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 17px;
  align-items: center;
  border-bottom: 1px solid #eef2f4;
  font-size: 12px;
}
.list-row:last-child {
  border: 0;
}
.list-row strong {
  font-size: 12px;
}
.list-row small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.avatar {
  width: 28px;
  height: 28px;
  background: #edf3f5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #527685;
  flex-shrink: 0;
}
.person {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
}
.person > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.notice {
  padding: 12px 16px;
  border: 1px solid #ebd9a5;
  background: #fff9e9;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.notice.demo {
  background: #e8f4f7;
  border-color: #c4dfe8;
  color: #2e626d;
}
.notice.error {
  background: #fff0ef;
  border-color: #e8b9b7;
  color: #963c3b;
}
.subheading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 500;
  color: var(--muted);
  background: #f9fbfc;
  font-size: 11px;
}
th,
td {
  padding: 13px 16px;
  border-bottom: 1px solid #e9eef1;
}
td small {
  display: block;
  max-width: 260px;
  white-space: normal;
}
tbody tr:hover {
  background: #f8fbfb;
}
td button {
  padding: 5px 9px;
  font-size: 11px;
}
.table-title {
  font-weight: 600;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.panel-body {
  padding: 20px;
  display: grid;
  gap: 17px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.full {
  grid-column: 1/-1;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}
.field-help {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.action-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.detail-value {
  font-size: 13px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.detail-grid dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.detail-grid dd {
  margin: 0;
  font-size: 13px;
}
.seat-large .seat {
  min-height: 19px;
  display: grid;
  place-items: center;
  font-size: 9px;
  aspect-ratio: 1.5;
}
.seat-large {
  margin: 14px 0;
}
.map-title {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 2px;
}
.markers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.markers span {
  padding: 5px 8px;
  background: #f2f5f6;
  border-radius: 4px;
  font-size: 11px;
}
.note-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.7;
  background: #f7f9fa;
  padding: 12px;
  border-radius: 6px;
}
.history-control {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  background: #eef4f6;
}
.history-control input {
  flex: 1;
}
.section-gap {
  margin-top: 22px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  width: min(600px, calc(100vw - 32px));
  max-height: 90vh;
  color: var(--ink);
  box-shadow: 0 24px 100px #102a3833;
}
dialog::backdrop {
  background: #102a3866;
}
dialog .modal-head {
  padding: 21px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
dialog form {
  padding: 24px;
  display: grid;
  gap: 18px;
}
dialog h2 {
  font-size: 19px;
}
#drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 470px;
  max-width: 100%;
  background: white;
  z-index: 40;
  box-shadow: -8px 0 40px #0e2a3720;
  border-left: 1px solid var(--line);
  overflow: auto;
}
#drawer .drawer-head {
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#drawer .drawer-body {
  padding: 22px;
  display: grid;
  gap: 22px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  background: #183743;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 100;
  font-size: 13px;
  box-shadow: 0 5px 20px #0002;
  display: none;
}
#toast.visible {
  display: block;
}
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #102a38;
  color: white;
  padding: 50px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.login-story h1 {
  font-size: 44px;
  line-height: 1.4;
  letter-spacing: -2px;
  margin: 40px 0 20px;
}
.login-story p {
  font-size: 15px;
  line-height: 1.9;
  color: #a4bec9;
}
.login-story .eyebrow {
  color: #76c6bb;
}
.login-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  max-width: 430px;
  margin-top: 35px;
}
.login-preview i {
  height: 45px;
  border: 1px solid #40616c;
  border-top: 3px solid #48a88a;
  border-radius: 5px;
  background: #173542;
}
.login-preview i:nth-child(8) {
  border-top-color: #de7770;
}
.login-form {
  padding: 70px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  width: 360px;
  max-width: 100%;
}
.login-card h2 {
  font-size: 26px;
  margin: 12px 0;
}
.login-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 26px;
}
.login-card form {
  display: grid;
  gap: 18px;
}
.login-card .primary {
  padding: 13px;
}
.login-footer {
  margin-top: 25px;
  display: grid;
  gap: 14px;
  text-align: center;
}
.login-error {
  font-size: 12px;
  color: var(--red);
  line-height: 1.7;
}
.qr-code {
  font:
    700 28px ui-monospace,
    monospace;
  letter-spacing: 5px;
  text-align: center;
  padding: 20px;
  background: #f3f7f8;
  border-radius: 8px;
}
.print-only {
  display: none;
}
.inline-form {
  display: flex;
  gap: 8px;
}
.inline-form input {
  flex: 1;
}
.table-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.note-count {
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
button.link {
  border: 0;
  background: transparent;
  color: var(--brand);
  padding: 0;
}
.room-name {
  overflow-wrap: anywhere;
}
#loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1750px) {
  .overview {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 170px;
    padding: 23px 12px;
  }
  .workspace {
    margin-left: 170px;
  }
  .page {
    padding: 22px 18px;
  }
  .topbar {
    padding: 0 18px;
  }
  .overview {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 13px 12px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-value {
    font-size: 26px;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .event-select {
    min-width: 200px;
  }
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}
@media (max-width: 960px) {
  .overview {
    grid-template-columns: 1fr;
  }
  .side-stack {
    grid-template-columns: 1fr 1fr;
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .page-heading {
    align-items: flex-start;
  }
  .event-select {
    max-width: 230px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .top-actions .muted {
    display: none;
  }
}
.mobile-only { display: none; }
@media (max-width: 700px) {
  .mobile-only { display: inline-flex; }
  .sidebar {
    position: relative;
    width: auto;
    padding: 14px 16px;
    gap: 14px;
  }
  .sidebar .eyebrow,
  .sidebar-bottom,
  .sidebar .brand small {
    display: none;
  }
  .nav {
    display: flex;
    overflow: auto;
    gap: 2px;
  }
  .nav button {
    white-space: nowrap;
    padding: 9px;
    font-size: 12px;
  }
  .nav-icon {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: auto;
    min-height: 52px;
    padding: 10px 16px;
    flex-wrap: wrap;
  }
  .page {
    padding: 18px 14px;
  }
  .page-heading {
    flex-direction: column;
    gap: 14px;
  }
  .heading-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .event-select {
    max-width: 100%;
    flex: 1;
  }
  .side-stack {
    grid-template-columns: 1fr;
  }
  .metrics {
    gap: 7px;
  }
  .metric {
    padding: 12px 9px;
  }
  .metric-value {
    font-size: 25px;
  }
  .metric-note {
    font-size: 10px;
  }
  .metric-label {
    font-size: 10px;
  }
  .panel-head {
    padding: 15px;
  }
  .filters {
    padding: 12px;
  }
  .map {
    padding: 0 10px 15px;
  }
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .login-page {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 25px;
    min-height: 220px;
  }
  .login-story h1 {
    font-size: 28px;
    margin: 15px 0;
  }
  .login-story p,
  .login-preview,
  .login-story > small {
    display: none;
  }
  .login-form {
    padding: 35px 24px;
  }
  .full {
    grid-column: auto;
  }
  h1 {
    font-size: 22px;
  }
  .top-actions {
    flex-wrap: wrap;
  }
  .subheading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
@media print {
  .sidebar,
  .topbar,
  .heading-actions,
  .filters,
  .action-row,
  .table-tools,
  .notice button,
  #drawer,
  dialog,
  #toast,
  .quiet {
    display: none !important;
  }
  .workspace {
    margin: 0;
  }
  .page {
    padding: 0;
  }
  .overview {
    display: block;
  }
  .side-stack {
    display: none;
  }
  .panel {
    border: 0;
  }
  .room-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .room-tile {
    break-inside: avoid;
  }
  .metrics {
    grid-template-columns: repeat(6, 1fr);
  }
  .print-only {
    display: block;
  }
  .floor-heading {
    break-after: avoid;
  }
  body {
    background: white;
  }
  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
.cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.cols-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.cols-8 {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.cols-9 {
  grid-template-columns: repeat(9, minmax(0, 1fr));
}
.cols-10 {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.cols-11 {
  grid-template-columns: repeat(11, minmax(0, 1fr));
}
.cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.cols-13 {
  grid-template-columns: repeat(13, minmax(0, 1fr));
}
.cols-14 {
  grid-template-columns: repeat(14, minmax(0, 1fr));
}
.cols-15 {
  grid-template-columns: repeat(15, minmax(0, 1fr));
}
.cols-16 {
  grid-template-columns: repeat(16, minmax(0, 1fr));
}
.cols-17 {
  grid-template-columns: repeat(17, minmax(0, 1fr));
}
.cols-18 {
  grid-template-columns: repeat(18, minmax(0, 1fr));
}
.cols-19 {
  grid-template-columns: repeat(19, minmax(0, 1fr));
}
.cols-20 {
  grid-template-columns: repeat(20, minmax(0, 1fr));
}
.cols-21 {
  grid-template-columns: repeat(21, minmax(0, 1fr));
}
.cols-22 {
  grid-template-columns: repeat(22, minmax(0, 1fr));
}
.cols-23 {
  grid-template-columns: repeat(23, minmax(0, 1fr));
}
.cols-24 {
  grid-template-columns: repeat(24, minmax(0, 1fr));
}
.cols-25 {
  grid-template-columns: repeat(25, minmax(0, 1fr));
}
.cols-26 {
  grid-template-columns: repeat(26, minmax(0, 1fr));
}
.cols-27 {
  grid-template-columns: repeat(27, minmax(0, 1fr));
}
.cols-28 {
  grid-template-columns: repeat(28, minmax(0, 1fr));
}
.cols-29 {
  grid-template-columns: repeat(29, minmax(0, 1fr));
}
.cols-30 {
  grid-template-columns: repeat(30, minmax(0, 1fr));
}
.tile-people {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid #e9eef0;
  display: grid;
  gap: 3px;
  font-weight: 400;
  font-size: 10px;
  color: #5f7580;
}
.tile-people span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile-people i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #379a7a;
  margin-right: 5px;
  vertical-align: middle;
}
.tile-people .offline {
  color: #a6782b;
}
.tile-people .offline i {
  background: #bd8934;
}
@media (min-width: 1200px) {
  .compact-map .room-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 6px;
  }
  .compact-map .room-tile {
    padding: 8px 7px;
  }
  .compact-map .tile-head b {
    font-size: 11px;
  }
  .compact-map .mini-grid {
    gap: 2px;
    margin: 8px 0;
  }
  .compact-map .seat {
    height: 5px;
    min-height: 0;
    aspect-ratio: auto;
  }
  .compact-map .tile-foot {
    font-size: 9px;
  }
  .compact-map .tile-people {
    font-size: 9px;
  }
  .compact-map .floor-heading {
    margin: 14px 0 9px;
  }
  .compact-map .room-tile .state-dot {
    width: 5px;
    height: 5px;
  }
}
@media (min-width: 1200px) and (max-width: 1500px) {
  .compact-map .tile-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .compact-map .room-grid {
    gap: 5px;
  }
  .compact-map .room-tile {
    padding: 7px 5px;
  }
}
@media (min-width: 1200px) {
  .page {
    padding-top: 18px;
  }
  .page-heading {
    margin-bottom: 16px;
  }
  .metric {
    padding: 12px 16px;
  }
  .metric.alert {
    padding-top: 10px;
  }
  .metric-value {
    font-size: 28px;
    margin: 7px 0 3px;
  }
  .metrics {
    margin-bottom: 16px;
  }
  .panel-head {
    padding: 12px 18px;
  }
  .notice.demo {
    padding: 8px 12px;
    margin-bottom: 12px;
  }
  .notice.demo button {
    padding: 5px 10px;
  }
  .compact-map .floor-heading {
    margin: 10px 0 7px;
  }
  .compact-map .room-tile {
    padding: 7px;
  }
  .compact-map .tile-people {
    margin-top: 6px;
    padding-top: 4px;
    gap: 2px;
  }
}

/* 공동 확인 영역은 의심(빨강)과 별도 색·기호로 표시한다. */
.seat.joint1 { background: #ffeed4; }
.seat.joint2 { background: #ffc777; }
.seat.joint3 { background: #ef8a24; }
.seat { display: grid; place-items: center; overflow: hidden; font-size: 10px; }
button.seat { padding: 0; min-width: 0; border: 0; color: #5b3200; }
button.seat:focus-visible { outline: 3px solid #1565c0; }
.joint-label { color: #9a4e00; font-size: 12px; font-weight: 700; }

.joint-detail { padding: 20px 24px 24px; display: grid; gap: 12px; }
.joint-detail button { justify-self: start; }
.equipment .seat { background: #eee6d6; }
.ready .seat { background: #e8edf0; }

.login-story small a {
  color: inherit;
  text-decoration: underline;
}
