:root {
  --navy: #1e395e;
  --navy-deep: #152f50;
  --navy-soft: #284b75;
  --ink: #2f4056;
  --muted: #7d8da1;
  --line: #c9dced;
  --line-soft: #dce8f3;
  --sky: #eef4fb;
  --sky-2: #e8f4fb;
  --blue-row: #d3e3f6;
  --blue-row-soft: #e8f4fb;
  --yellow-row: #fdf3c8;
  --yellow-border: #e7b72a;
  --lavender-row: #eee8f6;
  --red: #d34a3e;
  --red-soft: #fdeceb;
  --red-border: #f2b6b0;
  --green: #258652;
  --green-soft: #e9f7ef;
  --green-border: #acdabc;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(21, 47, 80, 0.08);
  --header-height: 82px;
  --nav-height: 58px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f3f6fa;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(211, 227, 246, 0.42), transparent 28rem),
    #f3f6fa;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(21, 47, 80, 0.22);
}

.app-header__inner {
  width: min(1320px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 0 max(18px, env(safe-area-inset-left)) 0 max(18px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  height: 100%;
}

.brand-logo {
  display: block;
  width: auto;
  height: 58px;
  max-width: 112px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-context {
  display: none;
  min-width: 0;
  padding-left: 13px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.brand-name,
.brand-subtitle {
  margin: 0;
}

.brand-name {
  color: #c2b59b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.19em;
  line-height: 1.1;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header-label {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #dce9f7;
  font-size: 11px;
  font-weight: 800;
}

.section-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 90;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(30, 57, 94, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section-nav__inner {
  width: min(1320px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: 9px max(14px, env(safe-area-inset-left)) 8px max(14px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.section-nav__inner::-webkit-scrollbar {
  display: none;
}

.nav-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: 160ms ease;
}

.nav-chip:hover,
.nav-chip:focus-visible {
  border-color: var(--navy-soft);
  outline: none;
}

.nav-chip.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(30, 57, 94, 0.2);
}

.app-main {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 18px 12px 34px;
}

.content-sheet {
  position: relative;
  margin: 0 auto 18px;
  border: 1px solid rgba(30, 57, 94, 0.08);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel,
.regulation-column,
.reward-column {
  min-width: 0;
  scroll-margin-top: calc(var(--header-height) + var(--nav-height) + 14px);
}

.page-one-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.panel {
  padding: 22px 16px 26px;
}

.panel + .panel {
  border-top: 1px solid var(--line-soft);
}

.panel-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.capsule-heading {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.mini-brand {
  display: none;
  margin: 0;
  color: #95a9be;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: right;
}

.triangle-heading {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.triangle-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--navy);
}

.triangle-heading.large {
  margin-bottom: 16px;
  font-size: 20px;
}

.schedule-table {
  overflow: hidden;
  border: 1px solid #d7e6f3;
  border-radius: 13px;
  background: var(--sky);
}

.schedule-row {
  display: grid;
  grid-template-columns: minmax(82px, 1.15fr) minmax(58px, 0.8fr) minmax(58px, 0.8fr);
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  color: #5a6f84;
  font-size: 12px;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-row > div {
  min-width: 0;
  padding: 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.schedule-row .schedule-rule {
  grid-column: 1 / -1;
  min-height: 36px;
  padding: 8px 10px 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  justify-content: flex-start;
  text-align: left;
}

.schedule-head {
  display: grid;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.schedule-kind {
  color: var(--navy-deep);
  font-weight: 800;
}

.row-prep,
.row-break {
  background: var(--blue-row-soft);
}

.row-class {
  background: var(--blue-row);
}

.row-meal {
  background: var(--yellow-row);
}

.row-self {
  background: var(--lavender-row);
}

.row-end {
  background: var(--navy);
  color: var(--white);
}

.row-end .schedule-kind {
  color: var(--white);
}

.no-mark {
  margin-left: 1px;
  color: var(--red);
  font-weight: 950;
}

.inline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.pill-meal {
  border: 1px solid #e0bd45;
  background: #fff8d8;
  color: #ad8614;
}

.pill-self {
  border: 1px solid #b7a4cf;
  background: #faf7ff;
  color: #71588f;
}

.weekend-heading {
  margin-top: 16px;
}

.weekend-table {
  overflow: hidden;
  border: 1px solid #d7e6f3;
  border-radius: 13px;
}

.weekend-row {
  display: grid;
  grid-template-columns: minmax(108px, 0.9fr) minmax(0, 2.4fr);
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--sky);
  color: #5d7187;
  font-size: 12px;
}

.weekend-row:nth-child(3) {
  background: var(--blue-row);
}

.weekend-row:last-child {
  border-bottom: 0;
}

.weekend-row > div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
}

.weekend-head {
  min-height: 38px;
  background: var(--navy);
  color: var(--white);
  font-weight: 750;
}

.weekend-day {
  color: var(--navy-deep);
  font-weight: 850;
}

.footnote {
  margin: 10px 0 0;
  color: #8798ab;
  font-size: 10.5px;
  line-height: 1.6;
}

.space-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.space-card {
  min-height: 98px;
  padding: 15px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfd4e9;
  border-radius: 13px;
  background: var(--sky);
  text-align: center;
}

.space-card strong {
  color: var(--navy-deep);
  font-size: 15px;
  font-weight: 900;
}

.space-card span {
  margin-top: 4px;
  color: #7d8da0;
  font-size: 10.5px;
  line-height: 1.4;
}

.guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-list > li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.guide-list > li:last-child {
  margin-bottom: 0;
}

.guide-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
}

.guide-content h3 {
  margin: 1px 0 5px;
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.heading-note {
  margin-left: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: middle;
}

.guide-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-content li {
  position: relative;
  margin: 3px 0;
  padding-left: 13px;
  color: #52677d;
  font-size: 12px;
}

.guide-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
  transform: translateY(-50%);
}

.guide-content li.danger-bullet::before {
  background: var(--red);
}

.guide-content li.allow-bullet::before {
  background: var(--green);
}

.warning-pill {
  display: inline-flex;
  align-items: center;
  margin: 5px 0 0 4px;
  padding: 3px 9px;
  border: 1px solid var(--red-border);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.muted {
  color: var(--muted);
  font-weight: 500;
}

.danger-text {
  color: var(--red);
}

.contact-card {
  margin-top: 22px;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid #ead37d;
  border-left: 5px solid var(--yellow-border);
  border-radius: 14px;
  background: linear-gradient(135deg, #fff9df 0%, #fffdf5 100%);
  box-shadow: 0 10px 24px rgba(122, 94, 13, 0.07);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fee500;
  color: #3b2a00;
  font-size: 17px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(84, 62, 0, 0.08);
}

.contact-card__eyebrow {
  margin: 0 0 2px;
  color: #9b7b18;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-card h3 {
  margin: 0;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.contact-card__body > p:last-of-type {
  margin: 7px 0 0;
  color: #665f4d;
  font-size: 12px;
  line-height: 1.7;
}

.contact-card__body > p strong {
  color: var(--navy-deep);
}

.emergency-call {
  margin-top: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  border: 1px solid var(--red-border);
  border-radius: 11px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(30, 57, 94, 0.06);
}

.emergency-call__label {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
}

.emergency-call strong {
  color: var(--navy-deep);
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.01em;
}

.emergency-call__action {
  margin-left: auto;
  color: #7b8998;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}

.emergency-call:hover,
.emergency-call:focus-visible {
  border-color: var(--red);
  outline: none;
}

.wide-titlebar {
  min-height: 124px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  background: var(--navy);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 2px;
  color: #b8d1ed;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.wide-titlebar h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(24px, 5.5vw, 36px);
  font-weight: 950;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.titlebar-note {
  display: block;
  margin: 0;
  color: #c7d6e7;
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}

.titlebar-note strong {
  color: #ffd954;
}

.threshold-strip {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--sky);
}

.threshold-title {
  margin: 0 0 2px;
  color: var(--navy-deep);
  font-size: 15px;
  font-weight: 900;
}

.threshold-card {
  min-height: 56px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #bfd5eb;
  border-radius: 12px;
  background: var(--white);
}

.threshold-card strong {
  color: var(--navy-deep);
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.threshold-card span {
  color: #718295;
  font-size: 13px;
}

.threshold-danger {
  border-color: var(--red-border);
  background: var(--red-soft);
}

.threshold-danger strong,
.threshold-danger span {
  color: var(--red);
}

.regulation-grid,
.reward-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.regulation-column,
.reward-column {
  padding: 22px 18px 26px;
}

.penalty-column,
.vacation-column {
  border-top: 1px solid var(--line-soft);
}

.rule-block {
  margin-bottom: 16px;
}

.rule-block:last-child {
  margin-bottom: 0;
}

.dark-label,
.soft-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 9px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.dark-label {
  background: var(--navy);
  color: var(--white);
}

.soft-label {
  background: #dceafa;
  color: var(--navy-deep);
}

.green-label {
  border: 1px solid var(--green-border);
  background: var(--green-soft);
  color: var(--green);
}

.dot-list {
  margin: 0;
  padding-left: 20px;
}

.dot-list li {
  margin: 5px 0;
  color: #53687d;
  font-size: 13px;
}

.dot-list li::marker {
  color: var(--navy);
}

.dot-list.compact li {
  margin: 4px 0;
}

.contact-rule {
  margin-bottom: 16px;
}

.penalty-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.penalty-group {
  min-width: 0;
}

.point-list,
.reward-list {
  border-top: 1px dashed #d7e4f0;
}

.point-row,
.reward-row {
  min-height: 48px;
  padding: 7px 2px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed #d7e4f0;
}

.point-row strong {
  display: block;
  color: #52677c;
  font-size: 13px;
  font-weight: 700;
}

.point-row small,
.reward-row small {
  display: block;
  margin-top: 1px;
  color: #8b9aaa;
  font-size: 10.5px;
  line-height: 1.35;
}

.point-badge,
.reward-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.point-badge {
  border: 1px solid var(--red-border);
  background: var(--red-soft);
  color: var(--red);
}

.expulsion-box {
  margin: 0 14px;
  padding: 13px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: var(--sky);
}

.expulsion-label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--red-border);
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.expulsion-box p {
  margin: 2px 0 0;
  color: #586d82;
  font-size: 11.5px;
  line-height: 1.75;
}

.notice-box {
  margin: 10px 14px 16px;
  padding: 11px 13px;
  border: 1px solid #bfd5eb;
  border-radius: 11px;
  background: var(--sky);
  color: #52677c;
  font-size: 12px;
}

.notice-box span {
  margin-right: 4px;
  color: var(--red);
  font-size: 17px;
  font-weight: 950;
  vertical-align: -1px;
}

.reward-row {
  min-height: 44px;
  padding-inline: 1px;
  color: #586d82;
  font-size: 13px;
}

.reward-badge {
  border: 1px solid var(--green-border);
  background: var(--green-soft);
  color: var(--green);
}

.reward-usage-title {
  margin-top: 22px;
}

.target-list {
  margin-bottom: 18px;
}

.vacation-title-row {
  margin: 4px 0 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.vacation-title-row .dark-label {
  margin: 0;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid #c3d5e8;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 900;
}

.vacation-message {
  margin-bottom: 12px;
  padding: 15px 16px;
  border: 1px solid #ecd584;
  border-left: 5px solid var(--yellow-border);
  border-radius: 11px;
  background: #fff9e4;
  color: #8b7333;
  font-size: 12px;
  line-height: 1.8;
}

.vacation-table {
  overflow: hidden;
  border: 1px solid #d7e6f3;
  border-radius: 11px;
}

.vacation-row {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  background: var(--sky);
  color: #5a6f84;
  font-size: 12px;
}

.vacation-row:last-child {
  border-bottom: 0;
}

.vacation-row.row-blue {
  background: var(--blue-row);
}

.vacation-row > div {
  min-width: 0;
  padding: 13px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vacation-head {
  min-height: 44px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.vacation-head > div {
  align-items: center;
}

.vacation-day {
  align-items: center;
  text-align: center;
}

.vacation-day strong {
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 900;
}

.vacation-day small {
  margin-top: 3px;
  color: #8a9aaa;
  font-size: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 850;
}

.status-green {
  border: 1px solid var(--green-border);
  background: var(--green-soft);
  color: var(--green);
}

.status-red {
  border: 1px solid var(--red-border);
  background: var(--red-soft);
  color: var(--red);
}

.status-gray {
  border: 1px solid #cfd9e3;
  background: #f4f7fa;
  color: #718295;
}

.vacation-notice {
  margin-inline: 0;
  margin-bottom: 0;
}

.app-footer {
  padding: 6px 12px calc(30px + env(safe-area-inset-bottom));
}

.app-footer__inner {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 90px;
  object-fit: contain;
}

.footer-brand span {
  color: #b8cce2;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.45;
}

.footer-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(110px, 0.65fr);
  gap: 8px;
}

.phone-link,
.pdf-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
}

.phone-link {
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(254, 229, 0, 0.62);
  background: rgba(254, 229, 0, 0.12);
  color: var(--white);
}

.phone-link span {
  color: #f6df65;
  font-size: 10px;
  font-weight: 900;
}

.phone-link strong {
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.pdf-link {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
}

.phone-link:hover,
.phone-link:focus-visible,
.pdf-link:hover,
.pdf-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  outline: none;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 80;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(30, 57, 94, 0.94);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(21, 47, 80, 0.3);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 180ms ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 520px) {
  .brand-context {
    display: block;
  }

  .brand-logo {
    height: 60px;
    max-width: 116px;
  }

  .app-main {
    padding-inline: 18px;
  }

  .panel,
  .regulation-column,
  .reward-column {
    padding-inline: 24px;
  }

  .mini-brand {
    display: block;
  }

  .schedule-row {
    font-size: 13px;
  }

  .schedule-row > div {
    padding: 9px 10px;
  }

  .guide-content li,
  .dot-list li,
  .point-row strong,
  .reward-row {
    font-size: 13.5px;
  }
}

@media (min-width: 760px) {
  :root {
    --header-height: 88px;
    --nav-height: 62px;
  }

  .app-header__inner {
    padding-inline: 28px;
  }

  .brand-logo {
    height: 68px;
    max-width: 130px;
  }

  .brand-subtitle {
    font-size: 15px;
  }

  .header-label {
    padding: 8px 13px;
    font-size: 12px;
  }

  .section-nav__inner {
    justify-content: center;
    padding-inline: 24px;
  }

  .nav-chip {
    padding: 9px 16px;
    font-size: 14px;
  }

  .app-main {
    padding-top: 24px;
  }

  .content-sheet {
    margin-bottom: 24px;
    border-radius: 22px;
  }

  .panel {
    padding: 28px 28px 32px;
  }

  .capsule-heading {
    min-height: 46px;
    padding-inline: 25px;
    font-size: 23px;
  }

  .schedule-row {
    grid-template-columns: minmax(100px, 1.05fr) minmax(78px, 0.72fr) minmax(78px, 0.72fr) minmax(300px, 3fr);
    min-height: 38px;
  }

  .schedule-head {
    display: grid;
  }

  .schedule-row .schedule-rule {
    grid-column: auto;
    min-height: auto;
    border-top: 0;
    justify-content: center;
    text-align: center;
  }

  .space-card {
    min-height: 112px;
  }

  .space-card strong {
    font-size: 17px;
  }

  .space-card span {
    font-size: 12px;
  }

  .wide-titlebar {
    min-height: 145px;
    padding: 30px 34px;
    flex-direction: row;
    align-items: flex-end;
    gap: 18px;
  }

  .titlebar-note {
    display: block;
    font-size: 13px;
    text-align: right;
  }

  .threshold-strip {
    grid-template-columns: auto repeat(3, 1fr);
    align-items: center;
    padding: 14px 28px;
    gap: 12px;
  }

  .threshold-title {
    margin-right: 4px;
  }

  .regulation-column,
  .reward-column {
    padding: 28px 30px 34px;
  }

  .penalty-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }

  .expulsion-box {
    margin-inline: 28px;
    padding: 15px 16px;
  }

  .notice-box {
    margin-inline: 28px;
  }

  .vacation-row {
    grid-template-columns: 130px minmax(0, 1fr);
    font-size: 13px;
  }

  .app-footer {
    padding-inline: 18px;
  }

  .app-footer__inner {
    flex-direction: row;
    align-items: center;
  }

  .footer-brand img {
    height: 54px;
    max-width: 100px;
  }

  .footer-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .phone-link {
    min-width: 190px;
  }
}


@media (min-width: 1040px) {
  .page-one-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .panel + .panel {
    border-top: 0;
    border-left: 2px solid #e0ebf5;
  }

  .regulation-grid,
  .reward-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .penalty-column,
  .vacation-column {
    border-top: 0;
    border-left: 2px solid #e0ebf5;
  }

  .reward-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .panel,
  .regulation-column,
  .reward-column {
    padding: 30px 30px 36px;
  }

  .usage-panel .guide-list > li {
    margin-bottom: 16px;
  }

  .guide-content li {
    font-size: 12.5px;
  }

  .wide-titlebar {
    min-height: 132px;
  }

  .vacation-message {
    font-size: 13px;
  }
}

@media (min-width: 1260px) {
  .app-main {
    padding-inline: 28px;
  }

  .panel,
  .regulation-column,
  .reward-column {
    padding-inline: 34px;
  }

  .guide-content li,
  .dot-list li,
  .point-row strong,
  .reward-row {
    font-size: 14px;
  }

  .point-row small,
  .reward-row small {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  :root {
    --header-height: 0px;
    --nav-height: 0px;
  }

  body {
    background: var(--white);
    font-size: 11px;
  }

  .app-header,
  .section-nav,
  .app-footer,
  .to-top {
    display: none !important;
  }

  .app-main {
    width: 100%;
    padding: 0;
  }

  .content-sheet {
    margin: 0 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    break-inside: avoid;
  }

  .page-one-grid,
  .regulation-grid,
  .reward-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel + .panel,
  .penalty-column,
  .vacation-column {
    border-top: 0;
    border-left: 1px solid var(--line-soft);
  }

  .schedule-row {
    grid-template-columns: 1fr 0.7fr 0.7fr 2.7fr;
  }

  .schedule-head {
    display: grid;
  }

  .schedule-row .schedule-rule {
    grid-column: auto;
    border-top: 0;
    justify-content: center;
    text-align: center;
  }
}

/* 모바일 표 헤더의 생활 규칙 제목을 중앙 정렬 */
.schedule-head .schedule-rule {
  justify-content: center;
  text-align: center;
}


/* v3 mobile alignment refinements */
.weekend-row > div {
  min-width: 0;
}

.weekend-content {
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.weekend-primary,
.weekend-time,
.weekend-secondary {
  display: block;
  width: 100%;
  text-align: center;
}

.weekend-primary {
  color: var(--navy-deep);
  font-weight: 850;
}

.weekend-time {
  color: #60758b;
  font-weight: 700;
}

.weekend-secondary {
  margin-top: 2px;
  color: #60758b;
}

.space-card {
  height: 116px;
  min-height: 116px;
  padding: 14px 7px;
}

.space-card strong {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  line-height: 1.3;
}

.space-card span {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 42px;
  margin-top: 5px;
  line-height: 1.45;
}

.guide-content li,
.guide-content li.danger-bullet,
.guide-content li.allow-bullet {
  line-height: 1.55;
}

.guide-content li::before,
.guide-content li.danger-bullet::before,
.guide-content li.allow-bullet::before {
  background: var(--navy);
}

@media (max-width: 519px) {
  .weekend-row {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .weekend-row > div {
    padding: 12px 8px;
  }

  .space-grid {
    gap: 7px;
  }

  .space-card {
    height: 112px;
    min-height: 112px;
  }

  .space-card strong {
    font-size: 14px;
  }

  .space-card span {
    font-size: 10px;
  }

  .guide-list > li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .guide-number {
    width: 34px;
    height: 34px;
  }

  .guide-content h3 {
    min-height: 34px;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
  }
}

.meal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 10px;
}

.meal-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 1px solid #e1b425;
  border-radius: 14px;
  background: #fff9e8;
  color: var(--navy);
}

.meal-option strong { color: #997000; }
.meal-option span { font-size: 13px; }

.brand-logo-text {
  min-width: 128px;
  color: #fff;
  text-align: center;
  line-height: 1.05;
}

.brand-logo-text strong { display: block; font-family: Georgia, serif; font-size: 22px; }
.brand-logo-text small { display: block; margin-top: 4px; font-size: 8px; letter-spacing: .12em; opacity: .75; }
.footer-wordmark { font-family: Georgia, serif; font-weight: 700; font-size: 17px; }

.weekend-session-note {
  color: var(--navy);
  font-weight: 750;
}

.saturday-table .schedule-row {
  min-height: 32px;
}

.weekend-summary {
  margin: 10px 0 4px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.65;
}

.weekend-summary span { margin: 0 4px; color: var(--line); }

.mandatory-notice {
  margin: 10px 0 14px;
  border-color: var(--red-border);
  background: var(--red-soft);
}

.saturday-heading-row .triangle-heading {
  margin: 0;
}

@media (min-width: 760px) {
  .saturday-heading-row {
    margin-top: 64px;
  }
}

/* Section alignment corrections */
#admission > .space-grid,
#admission > .guide-list {
  margin-inline: 18px;
}

#admission > .notice-box {
  margin-inline: 18px;
}

.reward-column .vacation-notice {
  width: 100%;
  margin-inline: 0;
}

.app-main > .content-sheet:last-child {
  margin-bottom: 0;
}

.app-main {
  padding-bottom: 14px;
}

.app-footer {
  padding-top: 0;
}

@media (min-width: 760px) {
  #admission > .space-grid,
  #admission > .guide-list,
  #admission > .notice-box {
    margin-inline: 28px;
  }
}

@media (min-width: 1260px) {
  #admission > .space-grid,
  #admission > .guide-list,
  #admission > .notice-box {
    margin-inline: 34px;
  }
}

@media (max-width: 519px) {
  .meal-options { grid-template-columns: 1fr; gap: 8px; }
}

