/* Shared public shell for ARSEN reservation and study pages. */
:root {
  --public-bg: #efeee9;
  --public-panel: #fbfaf6;
  --public-line: #d9d6ce;
  --public-ink: #0a0a0a;
  --public-muted: #667085;
}

body.status-page,
body.study-page {
  margin: 0;
  min-height: 100vh;
  padding: 64px 0 64px;
  background: var(--public-bg) !important;
  color: var(--public-ink) !important;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif !important;
}

.arsen-public-nav {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  font-size: 16px;
  line-height: 24px;
}

.arsen-public-nav-inner {
  width: 100%;
  max-width: 1152px;
  height: 64px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.arsen-public-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--public-ink) !important;
  font-size: 1rem;
  font-weight: 900;
  line-height: 24px;
  text-decoration: none;
}

.arsen-public-logo-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, rgba(53, 95, 146, 0.96), rgba(15, 143, 98, 0.88)), #0f172a;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 17.28px;
}

.arsen-public-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #737373;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 20px;
}

.arsen-public-links a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.arsen-public-links a[aria-current="page"] {
  color: var(--public-ink);
  font-weight: 900;
}

.arsen-public-links .arsen-public-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--public-ink);
  color: #fff;
  font-weight: 800;
}

.arsen-public-menu-button {
  display: none;
  width: auto;
  height: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5 !important;
  border-radius: 9999px !important;
  padding: 8px 16px;
  background: transparent !important;
  color: var(--public-ink) !important;
  font-size: 0.875rem;
  font-weight: 700 !important;
  line-height: 20px;
  cursor: pointer;
}

.arsen-public-mobile-menu {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--public-line);
  padding: 16px 20px;
  background: var(--public-panel);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}
.arsen-public-mobile-menu[hidden] { display: none; }
.arsen-public-mobile-menu a {
  color: var(--public-ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
}
.arsen-public-mobile-menu a[aria-current="page"] { font-weight: 900; }
.arsen-public-mobile-menu .arsen-public-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-top: 8px;
  padding: 0 20px;
  background: var(--public-ink);
  color: #fff;
}

.status-page > main,
.status-page > .operator-footer,
.study-page .shell {
  width: min(1120px, calc(100% - 40px));
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.status-page > main { padding-top: 34px; }
.status-page > main > header {
  align-items: center;
  margin-bottom: 22px;
  border-bottom-color: var(--public-line);
}
.status-page .panel,
.status-page .booking-card,
.status-page .metric,
.status-page .notice,
.status-page input,
.status-page select,
.status-page textarea,
.study-page .login-card,
.study-page .panel,
.study-page .study-card,
.study-page .profile-card,
.study-page .meta-cell,
.study-page input,
.study-page textarea,
.study-page .notice,
.study-page .empty {
  border-color: var(--public-line) !important;
  border-radius: 8px !important;
  background: var(--public-panel) !important;
}
.status-page .panel,
.study-page .login-card,
.study-page .panel,
.study-page .study-card { box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important; }
.status-page .subtitle,
.status-page .top-note,
.study-page .muted { color: var(--public-muted) !important; }
.study-page .shell { padding-top: 34px; }
.study-page .hero-copy { border-radius: 8px; }

@media (max-width: 767px) {
  .arsen-public-links { display: none; }
  .arsen-public-menu-button { display: block; }
}

@media (max-width: 760px) {
  body.status-page,
  body.study-page { padding: 64px 0 48px; }
  .status-page > main,
  .status-page > .operator-footer,
  .study-page .shell { width: min(100% - 28px, 1120px); }
  .status-page > main,
  .study-page .shell { padding-top: 24px; }
}
