:root {
  color-scheme: light;
  --green: #0f9f6e;
  --blue: #285bb8;
  --ink: #162033;
  --muted: #657184;
  --line: #dfe5ee;
  --soft: #f5f7fa;
  --paper: #ffffff;
  --danger: #f04b55;
  --warning: #e9990a;
  --approved: #3a7c67;
  --pending: #7a8798;
  --rejected: #9f2743;
  font-family:
    Pretendard,
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(223, 229, 238, 0.75);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 30%, rgba(255, 255, 255, 0.95) 0 12%, rgba(255, 255, 255, 0) 13%),
    radial-gradient(circle at 72% 26%, rgba(99, 230, 190, 0.92) 0 22%, rgba(99, 230, 190, 0) 23%),
    radial-gradient(circle at 68% 74%, rgba(88, 119, 255, 0.92) 0 18%, rgba(88, 119, 255, 0) 19%),
    radial-gradient(circle at 28% 70%, rgba(255, 133, 201, 0.88) 0 17%, rgba(255, 133, 201, 0) 18%),
    conic-gradient(from 180deg at 50% 50%, #6a7cff 0deg, #42d6a4 110deg, #7ee8ff 200deg, #ff8e70 300deg, #6a7cff 360deg);
  box-shadow: 0 10px 24px rgba(80, 118, 204, 0.24);
}

.top-nav {
  display: flex;
  gap: 32px;
  font-weight: 700;
  font-size: 18px;
}

.top-nav a {
  color: var(--ink);
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--green);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: end;
  padding: 64px 0 36px;
}

.facilities-hero {
  padding: 64px 0 28px;
}

.facility-guide-grid {
  display: grid;
  gap: 22px;
  padding-bottom: 48px;
}

.facility-guide-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.facility-guide-media {
  min-height: 240px;
  background-size: cover;
  background-position: center;
}

.media-seminar {
  background:
    linear-gradient(140deg, rgba(21, 124, 179, 0.16), rgba(24, 167, 114, 0.42)),
    url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=900&q=80");
}

.media-meeting {
  background:
    linear-gradient(140deg, rgba(74, 109, 255, 0.16), rgba(24, 167, 114, 0.38)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80");
}

.media-lounge {
  background:
    linear-gradient(140deg, rgba(255, 144, 87, 0.18), rgba(24, 167, 114, 0.34)),
    url("https://images.unsplash.com/photo-1524758631624-e2822e304c36?auto=format&fit=crop&w=900&q=80");
}

.facility-guide-body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px 28px;
}

.facility-guide-body h2 {
  font-size: 28px;
}

.facility-guide-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.facility-guide-meta {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: #2a3549;
  font-weight: 700;
}

.facility-guide-meta li::before {
  content: "• ";
  color: var(--green);
}

.facility-guide-actions {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  margin-top: 14px;
}

.facility-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 46px;
  line-height: 1;
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.admin-title,
.calendar-section h2,
.request-section h2 {
  font-size: clamp(27px, 4vw, 45px);
  line-height: 1.08;
}

h2 {
  font-size: 30px;
}

.intro-copy {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.facility-panel {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
}

.facility-panel strong {
  color: var(--ink);
  font-size: 18px;
}

section {
  scroll-margin-top: 92px;
}

.calendar-section,
.request-section,
.admin-section {
  padding: 36px 0 48px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-note {
  margin: 0;
  color: var(--muted);
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-button,
.today-button,
.primary-button,
.secondary-button,
.tab-button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.icon-button {
  width: 42px;
  font-size: 28px;
  line-height: 1;
}

.today-button,
.secondary-button,
.tab-button {
  padding: 0 16px;
}

.primary-button {
  min-height: 48px;
  padding: 0 22px;
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.logout-button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #d9313d;
  color: #ffffff;
  font-weight: 800;
}

.logout-button:hover {
  background: #b91c27;
}

.secondary-button:hover,
.today-button:hover,
.icon-button:hover,
.tab-button:hover {
  border-color: var(--blue);
}

.calendar-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekday-row {
  border-bottom: 1px solid var(--line);
  background: #f0f3f7;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.weekday-row span {
  padding: 12px 0;
}

.weekday-row span:first-child {
  color: #d9313d;
}

.weekday-row span:last-child {
  color: #2563c7;
}

.calendar-cell {
  position: relative;
  min-height: 120px;
  padding: 10px 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
}

body[data-page="admin"] .calendar-cell {
  cursor: default;
}

.calendar-cell:nth-child(7n) {
  border-right: 0;
}

.calendar-cell.muted {
  background: #f8f9fb;
  color: #a0a8b5;
}

.calendar-cell.closed-day {
  background: #e9edf3;
  color: #7e8998;
  cursor: not-allowed;
}

.calendar-cell.today {
  background: #e7f5ef;
}

.calendar-cell.sunday .day-number {
  color: #7e8998;
}

.calendar-cell.saturday .day-number {
  color: #7e8998;
}

.calendar-cell:hover {
  box-shadow: inset 0 0 0 2px rgba(40, 91, 184, 0.2);
}

.calendar-cell.closed-day:hover {
  box-shadow: none;
}

.calendar-cell::after {
  position: absolute;
  right: 10px;
  bottom: 8px;
  content: "신청";
  opacity: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  transition: opacity 0.16s ease;
}

.calendar-cell:hover::after {
  opacity: 1;
}

.calendar-cell.closed-day:hover::after {
  opacity: 0;
}

body[data-page="admin"] .calendar-cell:hover::after {
  opacity: 0;
}

.day-number {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  text-align: right;
}

.event-pill {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin-top: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  padding: 5px 7px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-pill.approved {
  background: var(--green);
}

.event-pill.pending {
  background: #7fbf2f;
}

.event-pill.rejected {
  background: var(--rejected);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 18, 30, 0.48);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-panel {
  width: min(760px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 24, 42, 0.28);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-size: 22px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.modal-body {
  padding: 20px 24px;
}

.detail-list {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.detail-list dt {
  color: var(--muted);
  font-weight: 900;
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.complete-message {
  margin: 0 0 18px;
  color: #263247;
  font-size: 16px;
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.modal-actions:empty {
  display: none;
}

.modal-action-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 16px;
  font-weight: 900;
}

.modal-action-button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  width: min(944px, 100%);
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

label {
  display: grid;
  gap: 8px;
  color: #263247;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(40, 91, 184, 0.18);
  border-color: var(--blue);
}

.wide-field {
  grid-column: 1 / -1;
}

.facility-field {
  padding: 18px;
}

.facility-field .equipment-options {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.facility-field .equipment-options label {
  min-height: 48px;
  justify-content: center;
  background: #f7faf8;
}

.date-field,
.time-field {
  grid-column: span 1;
}

.equipment-field {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.equipment-field legend {
  padding: 0 6px;
  color: #263247;
  font-weight: 900;
}

.equipment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.equipment-options label {
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 800;
}

.equipment-options input {
  width: 18px;
  height: 18px;
}

.equipment-other-input:disabled {
  background: #f1f4f8;
  color: #9aa5b3;
}

.agree-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}

.agree-field input {
  width: 18px;
  height: 18px;
}

.purpose-field textarea {
  min-height: 150px;
}

.form-submit-button {
  justify-self: start;
}

.modal-edit-form {
  width: min(100%, 944px);
  margin: 0 auto;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.month-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.month-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 0 14px;
  font-weight: 800;
}

.month-button:hover {
  border-color: var(--blue);
}

.month-button.active {
  border-color: var(--green);
  background: #eef8f3;
  color: var(--green);
}

.node-head-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.download-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: #d7272f;
  font-size: 16px;
  font-weight: 900;
}

.download-action::before {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='20' y='4' width='40' height='56' rx='6' fill='%2321a366'/%3E%3Crect x='20' y='4' width='20' height='56' rx='6' fill='%231b8f5a'/%3E%3Crect x='6' y='18' width='28' height='28' rx='4' fill='%23157943'/%3E%3Cpath d='M15 27h4l3 6 3-6h4l-5 8 5 8h-4l-3-6-3 6h-4l5-8-5-8z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.tab-button.active {
  border-color: var(--blue);
  color: #ffffff;
  background: var(--blue);
}

.admin-grid {
  display: grid;
  gap: 18px;
}

.admin-calendar-controls {
  justify-content: flex-end;
  margin-bottom: 16px;
}

.admin-locked main {
  opacity: 0.00;
  transform: scale(1.01);
  pointer-events: none;
  user-select: none;
  transition: 0.3s ease;
}

.admin-lock {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 18, 30, 0.58);
}

.admin-lock[hidden] {
  display: none;
}

.admin-login {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 24, 42, 0.3);
}

.admin-login h2 {
  margin: 0;
}

.admin-login a {
  color: var(--blue);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.login-error {
  margin: 0;
  color: var(--rejected);
  font-weight: 800;
}

.admin-node {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.node-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.node-label {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.node-head h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.node-description {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.holiday-manager {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.holiday-form {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.holiday-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.holiday-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.holiday-chip strong {
  color: var(--ink);
}

.holiday-chip button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #5c6675;
  font-weight: 900;
  line-height: 1;
}

.content-editor-form {
  display: grid;
  gap: 16px;
}

.content-editor-group {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.content-editor-group h4 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.content-editor-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.content-editor-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

#facilityEditorList {
  display: grid;
  gap: 14px;
}

.facility-editor-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.facility-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.facility-editor-head h5 {
  margin: 0;
  font-size: 16px;
}

.facility-editor-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.drag-handle-button {
  min-width: 40px;
  min-height: 40px;
  border: 1px dashed #b8c4d6;
  border-radius: 8px;
  background: #f8fafc;
  color: #5d6980;
  font-weight: 900;
  cursor: grab;
}

.facility-editor-item.dragging {
  opacity: 0.64;
  border-color: var(--blue);
  box-shadow: 0 10px 24px rgba(40, 91, 184, 0.12);
}

.facility-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.facility-editor-grid .full-span {
  grid-column: 1 / -1;
}

.content-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.holiday-name {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #cfd6e0;
  color: #526071;
  padding: 5px 7px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.request-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.request-title strong {
  font-size: 18px;
}

.status-badge {
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.status-badge.pending {
  background: var(--warning);
}

.status-badge.approved {
  background: var(--approved);
}

.status-badge.rejected {
  background: var(--rejected);
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 14px;
}

.request-purpose {
  margin: 10px 0 0;
  color: #2a3549;
  line-height: 1.6;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.approve-button,
.reject-button,
.delete-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  padding: 0 14px;
  font-weight: 900;
}

.approve-button {
  background: var(--approved);
}

.reject-button {
  background: var(--rejected);
}

.delete-button {
  background: #5c6675;
}

.empty-state {
  padding: 34px;
  border: 1px dashed #b9c3d1;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #fbfcfe;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 24px;
  padding: 42px max(28px, calc((100vw - 1180px) / 2));
  color: #d9e0e8;
  background: #202225;
}

.site-footer p {
  margin: 0;
  color: #d9e0e8;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header,
  .section-head,
  .node-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav {
    gap: 18px;
  }

  .intro-section,
  .reservation-form,
  .holiday-form {
    grid-template-columns: 1fr;
  }

  .facility-guide-card {
    grid-template-columns: 1fr;
  }

  .facility-field .equipment-options,
  .equipment-options {
    grid-template-columns: 1fr;
  }

  .agree-field {
    grid-column: 1;
  }

  .calendar-shell {
    overflow-x: auto;
  }

  .weekday-row,
  .calendar-grid {
    min-width: 760px;
  }

  .request-item {
    grid-template-columns: 1fr;
  }

  .facility-editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    padding: 16px 18px;
  }

  .calendar-controls,
  .admin-tabs,
  .request-actions {
    flex-wrap: wrap;
  }
}

.icon-button {
  position: relative;
}

.icon-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #1e293b;
  border-right: 2px solid #1e293b;
}

#prevMonth::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

#nextMonth::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.hidden-before-load {
  visibility: hidden;
}

.page-loaded {
  visibility: visible;
}

.facility-field .equipment-options {
  justify-content: center;
}

.facility-field .equipment-options label {
  justify-content: center;
  text-align: center;
}

.facility-field .equipment-options {
  grid-template-columns: repeat(auto-fit, minmax(160px, 180px));
}

.admin-title-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.footer-content p {
  margin: 0;
}

#footerLine2 {
  font-weight: 400;
}

#footerAdminLink {
  color: #d9e0e8;
  text-decoration: none;
  font-weight: 400;
  cursor: default;
}

#footerAdminLink:hover {
  color: #d9e0e8;
  text-decoration: none;
}

.help-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-tooltip {
  position: relative;
}

.help-tooltip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #b8c4d6;
  border-radius: 999px;
  background: #ffffff;
  color: #5d6980;
  font-size: 13px;
  font-weight: 900;
  cursor: help;
}

.help-tooltip-image {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 50;
  display: none;
  width: 600px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 24, 42, 0.18);
}

.help-tooltip-image img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

.help-tooltip:hover .help-tooltip-image {
  display: block;
}

.admin-session-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  margin-left: 18px;
  padding: 8px 12px;
  border: 1px solid #cfd8e6;
  border-radius: 999px;
  background: #f3f7fc;
  color: #263247;
  font-size: 14px;
  font-weight: 900;
}

.admin-session-label {
  color: var(--blue);
}

.admin-session-timer {
  min-width: 44px;
  text-align: center;
  color: #d9313d;
  font-variant-numeric: tabular-nums;
}

body:not([data-page="admin"]) .admin-session-badge {
  display: none;
}

@media (max-width: 900px) {
  .admin-session-badge {
    margin-left: 0;
    margin-right: 0;
  }
}