.home-hero {
  position: relative;
  padding: 0 40px 70px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  align-items: center;
  min-height: 520px;
  overflow: hidden;
  border-radius: 0 0 72px 72px;
  background:
    radial-gradient(circle at 82% 42%, rgba(255, 255, 255, 0.58) 0 92px, transparent 94px),
    linear-gradient(120deg, rgba(59, 117, 78, 0.88), rgba(120, 167, 168, 0.64)),
    #dcefe8;
}

.hero-character {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-left: 8%;
  color: #fff;
}

.hero-copy h1 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.3;
}

.hero-actions,
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.carousel-controls {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.carousel-controls button,
.carousel-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.visual-sun,
.visual-child {
  position: absolute;
  border-radius: 50%;
}

.visual-sun {
  top: 54px;
  right: 24%;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.8);
}

.visual-child {
  bottom: 52px;
  width: 190px;
  height: 250px;
  background: linear-gradient(180deg, #fff, #d8edf8);
  box-shadow: var(--shadow-md);
}

.child-a {
  right: 32%;
  transform: rotate(-6deg);
}

.child-b {
  right: 14%;
  transform: rotate(8deg);
}

.quick-filter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 128px;
  gap: 16px;
  margin-top: -42px;
}

.quick-filter label {
  display: grid;
  gap: 10px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quick-filter span {
  font-weight: 900;
}

.quick-filter select {
  border: 0;
}

.quick-submit {
  min-height: 112px;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--color-green);
  color: #fff;
  font-weight: 900;
}

.frequent-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}

.help-box {
  padding: 34px 28px;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm);
  background: var(--color-blue);
  color: #fff;
}

.help-box h2 {
  margin-bottom: 28px;
  font-size: 28px;
  line-height: 1.35;
}

.help-box strong {
  display: block;
  margin-bottom: 26px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-ink);
  font-size: 22px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.card-media,
.program-thumb,
.life-thumb {
  height: 120px;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.68) 0 24px, transparent 26px),
    linear-gradient(135deg, rgba(47, 128, 213, 0.62), rgba(100, 190, 37, 0.56));
}

.service-card h3,
.service-card a {
  display: block;
  padding: 0 18px;
}

.service-card h3 {
  margin-top: 18px;
  color: var(--color-green-dark);
  font-size: 18px;
}

.service-card a {
  margin: 6px 0 22px;
  font-weight: 900;
}

.map-preview-band {
  margin-top: 120px;
  padding: 110px 0 86px;
  background: radial-gradient(circle at 50% 0, #fff9e9 0 42%, #eff8e8 43% 100%);
}

.map-preview {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1fr);
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.mini-map,
.map-canvas-large,
.map-canvas-detail {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.56) 1px, transparent 1px),
    linear-gradient(135deg, #d9edf8, #f7edcf);
  background-size: 64px 64px, 64px 64px, auto;
}

.pin,
.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
  font-weight: 900;
}

.pin-1 { top: 18%; left: 28%; }
.pin-2 { top: 42%; left: 48%; background: var(--color-red); }
.pin-3 { top: 30%; left: 68%; }
.pin-4 { top: 62%; left: 40%; background: var(--color-teal); }
.pin-5 { top: 68%; left: 70%; }
.pin-6 { top: 74%; left: 84%; background: var(--color-orange); }
.pin-7 { top: 82%; left: 36%; background: var(--color-teal); }
.pin-8 { top: 84%; left: 30%; background: var(--color-red); }
.pin-9 { top: 52%; left: 26%; background: var(--color-orange); }
.pin-10 { top: 32%; left: 34%; }

.compact-list {
  max-height: 420px;
  overflow: auto;
  padding: 28px;
}

.home-map-panel {
  min-width: 0;
  background: #fff;
}

.home-map-chips,
.home-map-search,
.home-map-total {
  display: none;
}

.compact-list article {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}

.compact-list dl {
  display: none;
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-line);
  box-shadow: var(--shadow-sm);
}

.facility-stats div {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
}

.facility-stats dd {
  color: var(--color-green-dark);
}

.program-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.program-feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.program-slide {
  display: none;
  min-height: 180px;
  padding: 34px;
  border-radius: var(--radius-md);
  background: var(--color-red);
  color: #fff;
}

.program-slide.is-active {
  display: block;
}

.program-slide .status-badge {
  background: #fff;
  color: var(--color-red);
}

.program-slide h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.home-news {
  padding: 90px 0 130px;
  background: #edf7ff;
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
}

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

.news-card {
  min-height: 210px;
  padding: 28px;
}

.news-card time {
  color: var(--color-muted);
  font-weight: 800;
}

.popup-banner {
  display: grid;
  min-height: 190px;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #68a7ff, #6ee58b);
  color: #fff;
  text-align: center;
}

.popup-banner strong {
  font-size: 58px;
}

.intro-layout,
.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 64px;
}

.intro-copy,
.text-panel {
  color: var(--color-ink-soft);
  font-size: 20px;
  line-height: 1.85;
}

.intro-copy p + p,
.text-panel p + p {
  margin-top: 18px;
}

.smart-intro-section {
  display: grid;
  gap: 50px;
}

.smart-intro-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.smart-intro-heading h2 {
  font-family: "NPS_font", var(--font-sans);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.018em;
  color: #09090B;
}

.smart-intro-heading span {
  flex-shrink: 0;
  width: 130px;
  height: 80px;
  margin-top: 0;
  background: url("../images/ui/smart-intro-quote.png") center / contain no-repeat;
  font-size: 0;
  color: transparent;
  line-height: 0;
}

.smart-intro-card {
  position: relative;
  min-height: 300px;
}

.smart-intro-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1013px;
  margin-left: 0;
  min-height: 294px;
  max-height: 294px;
  padding: 56px 80px;
  border: 2px solid #6EBA2C;
  border-radius: 48px 140px 48px 48px;
  background-color: #ffffff;
  background-image: url("../images/ui/smart-intro-copy-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: none;
}

.smart-intro-copy h3 {
  margin-bottom: 24px;
  font-size: 28px;
  line-height: 1.35;
}

.smart-intro-copy h3 br {
  display: none;
}

.smart-intro-copy h3 .smart-intro-title-body {
  font-family: "NPS_font", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-ink);
}

.smart-intro-copy h3 span {
  color: var(--color-green);
}

.smart-intro-copy h3 > span:not(.smart-intro-title-body) {
  font-family: "NPS_font", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  background: linear-gradient(163deg, #e49000 0%, #6eba2c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.smart-intro-copy p {
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-ink-soft);
}

.smart-intro-copy p + p {
  margin-top: 16px;
}

.smart-intro-photo {
  display: block;
  position: absolute;
  top: 64px;
  right: 0;
  z-index: -1;
  width: 1013px;
  /* 사진은 right:0 고정폭이라 카드가 1013px보다 좁아지면 그만큼 왼쪽으로 삐져나온다
     (1025~1075 최대 51px, .container 여백이 바뀌는 1281~1427 최대 147px).
     카드보다 커지지 않게 막아 넘침만 없앤다. 카드가 1013px 이상인 구간은 그대로. */
  max-width: 100%;
  height: 318px;
  background: url("../images/ui/smart-intro-photo.png") center / cover no-repeat;
  border-radius: 999px;
}

.smart-intro-photo span {
  display: none;
}

.leaf-title {
  position: relative;
  margin-bottom: 20px;
  padding-left: 36px;
  font-family: "NPS_font", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.leaf-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("../images/ui/leaf-title-bullet.png") center / contain no-repeat;
}

.smart-target-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.smart-target-grid article {
  display: grid;
  min-height: 190px;
  place-items: center;
  gap: 18px;
  padding: 34px;
  border-radius: 24px;
  background: #f4f4f6;
  text-align: center;
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.target-icon {
  position: relative;
  display: inline-flex;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.target-icon::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 3px solid var(--color-green-dark);
  border-radius: 6px;
}

.target-icon.home::before {
  content: "";
  position: absolute;
  margin-top: 40px;
  margin-left: 40px;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(110, 186, 44, 0.16);
  inset: auto;
}

.target-icon.home::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  background: url("../images/ui/target-icon-home.png") center / contain no-repeat;
  border: 0;
}

.target-icon.building::before {
  content: "";
  position: absolute;
  margin-top: 40px;
  margin-left: 40px;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: rgba(110, 186, 44, 0.16);
  inset: auto;
}

.target-icon.building::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  background: url("../images/ui/target-icon-building.png") center / contain no-repeat;
  border: 0;
}

.smart-business-lead {
  margin-bottom: 20px;
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: #09090B;
}

.smart-business-list {
  display: grid;
  gap: 8px;
  padding: 30px 32px;
  border-radius: 24px;
  background: #f4f4f6;
  color: rgba(9, 9, 11, 0.75);
  line-height: 1.5;
}

.smart-business-list li {
  position: relative;
  padding-left: 17px;
}

.smart-business-list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-green);
}

.smart-intro-page {
  font-family: "NPS_font", var(--font-sans);
}

.summary-stats,
.process-list,
.feature-grid,
.service-route-grid {
  display: grid;
  gap: 20px;
}

.summary-stats {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-stats div,
.process-list li {
  padding: 30px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
}

.summary-stats dd {
  margin-top: 8px;
  color: var(--color-green-dark);
  font-size: 34px;
  font-weight: 900;
}

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

.check-list {
  margin-top: 24px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li + li {
  margin-top: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green);
}

.process-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: process;
}

.process-list span {
  display: block;
  margin-bottom: 16px;
  color: var(--color-green-dark);
  font-weight: 900;
}

.process-list strong {
  font-size: 22px;
}

.process-list p {
  margin-top: 12px;
  color: var(--color-muted);
  line-height: 1.7;
}

.service-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card span {
  color: var(--color-green-dark);
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.detail-article,
.board-detail {
  padding: 42px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.detail-article h2,
.board-detail h2 {
  margin-bottom: 18px;
  font-size: 36px;
  line-height: 1.25;
}

.detail-article > p,
.board-detail p {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.5;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}

.article-body {
  margin-top: 34px;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.article-body h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.detail-side {
  padding: 28px;
}

.detail-side h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

.program-detail-mobile-heading,
.program-detail-mobile-card,
.program-detail-mobile-contact,
.program-detail-mobile-body {
  display: none;
}

.simple-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-line);
}

.map-main {
  padding: 0;
}

.map-workspace {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr) 360px;
  min-height: calc(100vh - var(--header-height));
}

.map-sidebar,
.map-detail-card {
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--color-line);
}

.map-detail-card {
  align-self: start;
  margin: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.map-sidebar h1 {
  margin-bottom: 20px;
  font-size: 32px;
}

.map-search {
  display: grid;
  gap: 10px;
}

.list-count {
  margin: 24px 0 14px;
  color: var(--color-muted);
  font-weight: 800;
}

.list-count strong {
  color: var(--color-green-dark);
}

.map-list {
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 360px);
  overflow: auto;
}

.map-list-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: left;
}

.map-list-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  font-weight: 900;
}

.map-list-item strong,
.map-list-item em {
  grid-column: 2;
  min-width: 0;
}

.map-list-item em {
  color: var(--color-muted);
  font-style: normal;
}

.map-list-item.is-active {
  border-color: var(--color-green);
  background: var(--color-soft-green);
}

.map-canvas-large {
  min-height: calc(100vh - var(--header-height));
}

.map-canvas-detail {
  min-height: 360px;
  border-radius: var(--radius-sm);
}

.auth-layout,
.reservation-layout,
.join-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.6fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.auth-layout.narrow {
  max-width: 980px;
}

.auth-copy h2 {
  font-size: 42px;
  line-height: 1.2;
}

.auth-copy p {
  margin-top: 18px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.7;
}

.auth-panel,
.form-panel,
.terms-panel {
  padding: 38px;
}

.auth-panel label,
.form-panel label,
.terms-panel label {
  display: grid;
  gap: 10px;
  color: var(--color-ink-soft);
  font-weight: 900;
}

.auth-panel label + label,
.form-panel label + label {
  margin-top: 18px;
}

.check-row {
  display: flex !important;
  grid-template-columns: 20px 1fr;
  flex-direction: row;
  align-items: center;
}

.check-row input,
.terms-panel input[type="checkbox"],
.check-all input {
  width: 18px;
  min-height: 18px;
}

.password-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
}

.password-field button {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 900;
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
  color: var(--color-muted);
  font-weight: 800;
}

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

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-field {
  margin-top: 18px;
}

.time-slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.reservation-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-soft-green);
}

.reservation-summary h2 {
  font-size: 30px;
}

.reservation-summary p {
  margin-top: 12px;
  color: var(--color-muted);
  line-height: 1.7;
}

.reservation-summary dl {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.result-panel {
  width: min(720px, 100%);
  margin-inline: auto;
  padding: 60px 44px;
  text-align: center;
}

.result-icon,
.avatar {
  display: inline-flex;
  width: 82px;
  height: 82px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-green), var(--color-blue));
}

.result-panel h2 {
  margin-bottom: 16px;
  font-size: 36px;
}

.result-panel p {
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.7;
}

.result-actions {
  justify-content: center;
  margin-top: 32px;
}

.join-complete-head {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.join-complete-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  margin: 0;
  background: url("../images/ui/complete-check.png") center / contain no-repeat;
}

.join-complete-actions .btn-dark {
  border-color: #27272a;
  background: #27272a;
  color: #fff;
}

.reservation-complete-page .page-main {
  padding-block: 140px 160px;
}

.reservation-complete-page .site-footer {
  height: 341px;
  min-height: 341px;
}

.reservation-complete-section {
  width: calc(100% - 400px);
  max-width: 1520px;
}

.reservation-complete-panel {
  display: flex;
  min-height: 550px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 64px;
  border-radius: 24px;
  background: #f4f4f5;
  text-align: center;
}

.reservation-complete-head {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 16px;
}

.complete-check {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: url("../images/ui/complete-check.png") center / contain no-repeat;
}

.reservation-complete-panel h2 {
  font-family: "NPS_font", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  color: #09090B;
}

.reservation-complete-info {
  display: block;
  width: 800px;
  min-height: 106px;
  padding: 24px 32px;
  border-radius: 18px;
  background: #fff;
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: #09090B;
  text-align: center;
}

.reservation-complete-info span {
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: #6EBA2C;
}

.reservation-complete-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.reservation-complete-actions .btn {
  min-height: 64px;
  border-radius: 13px;
  font-size: 19px;
  font-weight: 400;
}

.reservation-complete-actions .btn-dark {
  min-width: 101px;
  border: 0;
  background: #27272a;
  color: #fff;
}

.reservation-complete-actions .btn-primary {
  min-width: 136px;
}

.step-indicator {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  gap: 8px;
  margin-bottom: 8px;
}

.step-indicator li {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
  color: var(--color-muted);
  text-align: center;
  font-weight: 900;
}

.step-indicator .active {
  background: var(--color-green);
  color: #fff;
}

.terms-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
}

.check-all {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
  font-size: 20px;
}

.term-box {
  padding: 24px;
  box-shadow: none;
}

.term-box label {
  display: flex !important;
  flex-direction: row;
  align-items: center;
}

.term-box label span {
  color: var(--color-red);
}

.term-box div {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
  color: var(--color-muted);
  line-height: 1.7;
}

@media (min-width: 1025px) {
  .join-terms-page {
    font-family: "NPS_font", var(--font-sans);
  }

  .join-terms-page .content-section.container {
    width: calc(100% - 400px);
    max-width: 1520px;
  }

  .join-terms-page .page-main {
    padding-block: 140px 160px;
  }

  .join-terms-layout {
    display: grid;
    gap: 64px;
  }

  .join-terms-head {
    display: grid;
    gap: 24px;
  }

  .join-terms-head h2 {
    color: #09090b;
    font-size: 44px;
    line-height: 1.5;
  }
}

/* 회원가입 step-indicator: 데스크톱 인라인 스타일을 PDA(641+)에도 적용
   (PDA에서는 .join-layout 단일 컬럼으로 head 전체폭 확보 → 인라인 step이 들어감) */
@media (min-width: 641px) {
  .join-terms-page .step-indicator,
  .join-general-page .step-indicator,
  .join-org-page .step-indicator {
    display: flex;
    width: auto;
    height: 29px;
    align-items: center;
    grid-column: auto;
    gap: 24px;
    margin: 0;
  }

  .join-terms-page .step-indicator li,
  .join-general-page .step-indicator li,
  .join-org-page .step-indicator li {
    position: relative;
    display: inline-flex;
    align-self: stretch;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 0 40px 0 0;
    border-radius: 0;
    background: transparent;
    font-family: "NPS_font", var(--font-sans);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(9, 9, 11, 0.5);
    text-align: left;
    white-space: nowrap;
    opacity: 0.5;
  }

  .join-terms-page .step-indicator li::before,
  .join-general-page .step-indicator li::before,
  .join-org-page .step-indicator li::before {
    content: "";
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: -2px;
    background: url("../images/ui/icon-step-idle.png") center / contain no-repeat;
  }

  .join-terms-page .step-indicator li::after,
  .join-general-page .step-indicator li::after,
  .join-org-page .step-indicator li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 16px;
    height: 16px;
    transform: translate(0, calc(-50% - 2px));
    background: url("../images/ui/icon-step-arrow.png") center / contain no-repeat;
  }

  .join-terms-page .step-indicator li:last-child::after,
  .join-general-page .step-indicator li:last-child::after,
  .join-org-page .step-indicator li:last-child::after {
    content: none;
  }

  .join-terms-page .step-indicator li.active,
  .join-general-page .step-indicator li.active,
  .join-org-page .step-indicator li.active {
    color: #09090b;
    opacity: 1;
  }

  .join-terms-page .step-indicator li.active::before,
  .join-general-page .step-indicator li.active::before,
  .join-org-page .step-indicator li.active::before {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: url("../images/ui/icon-step-check.png") center / contain no-repeat;
  }

  .join-terms-page .step-indicator li span,
  .join-general-page .step-indicator li span,
  .join-org-page .step-indicator li span {
    font-family: "NPS_font", var(--font-sans);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
  }

  .join-terms-page .step-indicator li.active span,
  .join-general-page .step-indicator li.active span,
  .join-org-page .step-indicator li.active span {
    color: #6eba2c;
  }

  .join-general-page .step-indicator li.is-complete,
  .join-org-page .step-indicator li.is-complete {
    color: #09090b;
    opacity: 0.5;
  }

  .join-general-page .step-indicator li.is-complete::before,
  .join-org-page .step-indicator li.is-complete::before {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 0;
    background: url("../images/ui/icon-step-check.png") center / contain no-repeat;
  }

  .join-general-page .step-indicator li.is-complete span,
  .join-org-page .step-indicator li.is-complete span {
    color: #6eba2c;
  }
}

@media (min-width: 1025px) {
  .join-terms-page .terms-panel {
    display: grid;
    gap: 64px;
    padding: 40px 0 0;
    border-top: 1.5px solid #27272a;
    background: transparent;
  }

  .join-terms-page .member-type-panel {
    display: grid;
    align-content: start;
    gap: 40px;
  }

  .join-terms-page .member-type-panel h2,
  .join-terms-page .term-box h2 {
    position: relative;
    display: flex;
    min-height: 39px;
    align-items: center;
    gap: 12px;
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .join-terms-page .member-type-panel h2::before,
  .join-terms-page .term-box h2::before {
    content: "";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url("../images/ui/leaf-title-bullet.png") center / contain no-repeat;
  }

  .join-terms-page .member-type-panel p {
    margin-top: -24px;
    font-family: "NPS_font", var(--font-sans);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    color: #757575;
  }

  .join-terms-page .member-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 0;
  }

  .join-terms-page .member-type-card {
    min-height: 184px;
    gap: 24px;
    padding: 24px;
    border: 1.5px solid rgba(113, 113, 123, 0.22);
    border-radius: 32px;
    font-family: "NPS_font", var(--font-sans);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    color: #09090b;
  }

  .join-terms-page .member-type-card.is-selected,
  .join-terms-page .member-type-card:has(input:checked) {
    border-color: #6eba2c;
    background: rgba(110, 186, 44, 0.03);
  }

  .join-terms-page .member-type-card:hover {
    border: 2px solid #6eba2c;
    background: rgba(110, 186, 44, 0.05);
  }

  .join-terms-page .member-type-card:hover .member-type-icon {
    background: #fff;
  }

  .join-terms-page .member-type-icon {
    width: 80px;
    height: 80px;
  }

  .join-terms-page .term-box {
    position: relative;
    display: grid;
    min-height: 497px;
    align-content: start;
    padding: 64px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .join-terms-page .term-box::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1.5px;
    background-image: repeating-linear-gradient(
      to right,
      #e4e4e4 0,
      #e4e4e4 6px,
      transparent 6px,
      transparent 14px
    );
  }

  .join-terms-page .term-box:nth-of-type(3) {
    min-height: 407px;
  }

  .join-terms-page .term-box div {
    min-height: 298px;
    margin-top: 40px;
    padding: 19px 24px;
    border-radius: 24px;
    background: #f4f4f5;
    color: rgba(9, 9, 11, 0.58);
    font-size: 15px;
    line-height: 1.75;
  }

  .join-terms-page .term-box div p {
    margin: 0;
    font-family: "NPS_font", var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(9, 9, 11, 0.75);
    opacity: 0.8;
  }

  .join-terms-page .term-box div p + p {
    margin-top: 24px;
  }

  .join-terms-page .term-box:nth-of-type(3) div {
    min-height: 272px;
  }

  .join-terms-page .term-box label {
    display: flex !important;
    min-height: 32px;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #09090b;
    font-family: "NPS_font", var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
  }

  .join-terms-page .term-box input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 32px;
    height: 32px;
    min-height: 32px;
    flex: 0 0 32px;
    margin: 0;
    border: 1.5px solid rgba(113, 113, 123, 0.22);
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
  }

  .join-terms-page .term-box input[type="checkbox"]:checked {
    border-color: #6eba2c;
    background:
      url("../images/ui/checkbox-icon.png") center / 24px 24px no-repeat,
      #ffffff;
  }

  .join-terms-page .terms-panel .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
  }

  .join-terms-page .terms-panel .form-actions .btn {
    width: 83px;
    min-width: 83px;
    min-height: 64px;
    border-radius: 13px;
    font-size: 19px;
    font-weight: 400;
  }
}

@media (min-width: 1025px) {
  .join-general-page,
  .join-org-page {
    font-family: "NPS_font", var(--font-sans);
  }

  .join-general-page .content-section.container,
  .join-org-page .content-section.container {
    width: calc(100% - 400px);
    max-width: 1520px;
  }

  .join-general-page .page-main,
  .join-org-page .page-main {
    padding-block: 140px 160px;
  }

  .general-join-layout,
  .org-join-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .join-member-head {
    display: grid;
    gap: 24px;
  }

  .join-member-head h2 {
    color: #09090b;
    font-size: 44px;
    line-height: 1.5;
  }

  .join-general-page .member-form-panel {
    display: grid;
    gap: 64px;
    padding: 40px 0 0;
    border: 0;
    border-top: 1.5px solid #27272a;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .join-general-page .member-form-section,
  .join-general-page .member-child-section {
    position: relative;
    display: grid;
    grid-template-columns: 406.6667px 1013.3333px;
    column-gap: 100px;
    gap: 0 100px;
    align-items: start;
    padding-bottom: 64px;
    border-bottom: 0;
  }

  .join-general-page .member-form-section h2,
  .join-general-page .member-child-head h2,
  .join-org-page .org-search-panel h2 {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 12px;
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .join-general-page .member-form-section h2::before,
  .join-general-page .member-child-head h2::before {
    content: "";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url("../images/ui/leaf-title-bullet.png") center / contain no-repeat;
  }

  .join-org-page .org-search-panel h2::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    background: url("../images/ui/leaf-title-bullet.png") center / contain no-repeat;
  }

  .join-general-page .member-form-fields,
  .join-general-page .member-child-list,
  .join-general-page .join-child-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .join-general-page .member-form-fields,
  .join-general-page .member-child-list {
    grid-column: 2;
  }

  .join-general-page .member-child-head {
    display: grid;
    align-content: start;
    gap: 16px;
  }

  .join-general-page .member-child-head p {
    margin: 0;
    color: #6eba2c;
    font-size: 17px;
    line-height: 1.75;
  }

  .join-general-page .child-add-button {
    width: max-content;
    min-width: 127px;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid #6eba2c;
    border-radius: 10px;
    background: #fff;
    color: #6eba2c;
    font-size: 17px;
  }

  .join-general-page .join-child-form.has-divider {
    padding-top: 40px;
    border-top: 1px solid rgba(113, 113, 123, 0.15);
  }

  .join-general-page .member-child-section {
    padding-bottom: 78px;
    margin-bottom: 40px;
  }

  .join-general-page .join-field {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 8px 24px;
    align-items: start;
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
  }

  .join-general-page .form-panel label + label {
    margin-top: 0;
  }

  .join-general-page .join-field > span:first-child,
  .join-general-page .join-field > legend {
    display: flex;
    min-height: 64px;
    align-items: center;
    padding: 0;
    color: #09090b;
    font-weight: 400;
  }

  .join-general-page .join-empty-label {
    display: block;
  }

  .join-general-page .join-field input,
  .join-general-page .join-field select {
    min-height: 64px;
    border-color: rgba(113, 113, 123, 0.15);
    border-radius: 13px;
    padding-inline: 24px;
    font-size: 17px;
  }

  .join-general-page .join-field small {
    grid-column: 2;
    margin-top: 0;
    color: rgba(9, 9, 11, 0.5);
    font-size: 15px;
    line-height: 20px;
  }

  .join-general-page .join-radio-field {
    align-items: center;
  }

  .join-general-page .join-radio-row {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 24px;
  }

  .join-general-page .join-radio-dot {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .join-general-page .join-radio-option input {
    width: 1px;
    min-height: 0;
    padding: 0;
  }

  .join-general-page .join-control-stack,
  .join-general-page .join-email-grid,
  .join-general-page .join-contact-group,
  .join-general-page .join-address-group {
    display: grid;
    gap: 12px;
  }

  .join-general-page .join-date-field .join-control-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .join-general-page .join-button-field .join-control-stack {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .join-general-page .join-button-field button {
    min-width: 96px;
    min-height: 64px;
    padding: 0 24px;
    border-radius: 13px;
    font-size: 19px;
    white-space: nowrap;
  }

  .join-general-page .join-contact-group {
    grid-template-columns: 1fr;
  }

  .join-general-page .join-address-group {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px 24px;
  }

  .join-general-page .join-address-group > .join-button-field {
    display: contents !important;
  }

  .join-general-page .join-address-group > input {
    grid-column: 2;
  }

  .join-general-page .join-email-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: center;
  }

  .join-general-page .join-email-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .join-general-page .join-email-row.two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .join-general-page .member-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
  }

  .join-general-page .member-form-actions .btn,
  .join-org-page .org-search-panel .btn-primary {
    width: 83px;
    min-width: 83px;
    min-height: 64px;
    border-radius: 13px;
    font-size: 19px;
    font-weight: 400;
  }

  .join-org-page .org-search-panel {
    display: grid;
    grid-template-columns: 406.6667px 1013.3333px;
    gap: 0 100px;
    padding: 40px 0 0;
    border: 0;
    border-top: 1.5px solid #27272a;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .join-org-page .org-search-panel h2 {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .join-org-page .org-search-panel label {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 0;
    color: #09090b;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
  }

  .join-org-page .org-search-panel label > span {
    display: flex;
    min-height: 64px;
    align-items: center;
  }

  .join-org-page .org-search-field {
    height: 64px;
    margin: 0;
    border: 1px solid rgba(113, 113, 123, 0.15);
    border-radius: 13px;
  }

  .join-org-page .org-search-field input {
    height: 64px;
    min-height: 64px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    padding-left: 22px;
    font-family: "NPS_font", var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: #09090b;
  }

  .join-org-page .org-search-field input::placeholder {
    color: rgba(9, 9, 11, 0.4);
  }

  .join-org-page .org-search-field .icon-button {
    top: 20px;
    right: 24px;
    bottom: 20px;
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 0;
  }

  .join-org-page .org-search-panel p {
    grid-column: 2;
    grid-row: 2;
    margin: 8px 0 0 184px;
    color: rgba(9, 9, 11, 0.5);
    font-size: 15px;
    line-height: 1.5;
  }

  .join-org-page .join-divider {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 64px;
  }

  .join-org-page .org-search-panel .btn-primary {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: end;
    margin-top: 64px;
  }
}

.mypage-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.mypage-side {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
}

.mypage-side h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.mypage-side nav {
  display: grid;
  gap: 8px;
}

.mypage-side a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--color-ink-soft);
  font-weight: 900;
}

.mypage-side a.active,
.mypage-side a:hover {
  background: #fff;
  color: var(--color-green-dark);
}

/* active 화살표: PC/PDA/모바일 공통 (이미지 화살표) */
.mypage .mypage-side a.active::after {
  content: "";
  margin-left: auto;
  width: 20px;
  height: 20px;
  background-color: #09090b;
  -webkit-mask: url("../images/ui/carousel-next.png") center / contain no-repeat;
  mask: url("../images/ui/carousel-next.png") center / contain no-repeat;
}

.mypage-mobile-profile {
  display: none;
}

.mypage-mobile-profile .avatar {
  margin-bottom: 16px;
  background: url("../images/ui/avatar.png") center / cover no-repeat;
}

.mypage-info-mobile {
  display: none;
}

.mypage-edit-mobile {
  display: none;
}

.mypage-facility-list-page {
  font-family: "NPS_font", var(--font-sans);
}

.mypage-facility-list-page .mypage-content {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 48px;
  border: 1px solid rgba(113, 113, 123, 0.15);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03), 0 4px 10px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mypage-reservation-page .mypage-content {
  min-width: 0;
  padding: 48px;
  border: 1px solid rgba(113, 113, 123, 0.22);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03), 0 4px 10px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.mypage-facility-heading {
  display: flex;
  min-width: 0;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0;
}

.mypage-facility-heading h2 {
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.mypage-facility-heading .content-toolbar {
  flex: 0 0 min(480px, 100%);
  min-width: 0;
}

.mypage-facility-heading .content-toolbar .select-control {
  display: none;
}

.mypage-facility-heading .search-field input {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: #f4f4f5;
  padding: 0 64px 0 24px;
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  color: #09090b;
}

.mypage-facility-heading .search-field input::placeholder {
  color: rgba(9, 9, 11, 0.5);
  opacity: 1;
}

.mypage-facility-heading .search-field .icon-button {
  top: 50%;
  right: 4px;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
}

.mypage-facility-heading .search-field .icon-search {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.mypage-facility-list-body {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.mypage-facility-total {
  color: #09090b;
  font-size: 17px;
  line-height: 29px;
}

.mypage-facility-total strong {
  color: #6eba2c;
}

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

.mypage-facility-list-page .pagination {
  margin-top: 120px;
}

.mypage-facility-card {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 632px;
  align-content: start;
}

.mypage-facility-card.has-action {
  min-height: 712px;
}

.mypage-facility-thumb {
  position: relative;
  display: grid;
  min-height: 312px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(113, 113, 123, 0.15);
  border-radius: 32px;
  background: #f4f4f5;
}

.mypage-facility-card:hover .mypage-facility-thumb {
  border: 4px solid #6eba2c;
}

.mypage-empty-building {
  position: relative;
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  border-radius: 999px;
  background: rgba(113, 113, 123, 0.08);
}

.mypage-empty-building::before {
  content: "";
  width: 36px;
  height: 36px;
  -webkit-mask: url("../images/ui/apartment.png") center / contain no-repeat;
  mask: url("../images/ui/apartment.png") center / contain no-repeat;
  background: rgba(9, 9, 11, 0.13);
}

.mypage-facility-favorite {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
}

.mypage-facility-favorite img {
  display: block;
  width: 32px;
  height: 32px;
}

.mypage-facility-copy {
  display: grid;
  min-width: 0;
  margin-top: 40px;
}

.mypage-facility-badge {
  display: inline-flex;
  width: 100px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(110, 186, 44, 0.08);
  color: #6eba2c;
  font-family: "NPS_font", var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.mypage-facility-copy h3 {
  display: -webkit-box;
  min-width: 0;
  height: 76px;
  margin-top: 20px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.mypage-facility-meta {
  display: grid;
  gap: 12px;
  height: 140px;
  margin-top: 20px;
}

.mypage-facility-meta div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  min-height: 26px;
  align-items: start;
}

.mypage-facility-meta dt,
.mypage-facility-meta dd {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
}

.mypage-facility-meta dt,
.mypage-facility-meta dd strong {
  font-weight: 700;
}

.mypage-facility-meta dd {
  font-weight: 400;
}

.mypage-facility-meta dd strong {
  color: #6eba2c;
}

.meta-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: center / contain no-repeat;
}

.meta-icon.people {
  background-image: url("../images/ui/dt-icon-1.png");
}

.meta-icon.age {
  background-image: url("../images/ui/dt-icon-2.png");
}

.meta-icon.time {
  background-image: url("../images/ui/dt-icon-3.png");
}

.meta-icon.place {
  background-image: url("../images/ui/dt-icon-4.png");
}

.mypage-facility-action {
  display: inline-flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border: 1px solid rgba(113, 113, 123, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #09090b;
  font-size: 19px;
  line-height: 1.5;
}

@media (min-width: 641px) {
  .mypage .content-section.container {
    width: calc(100% - 400px);
    max-width: none;
  }

  .mypage .page-main {
    padding-block: 140px 150px;
  }

  .mypage .mypage-layout {
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 64px;
  }

  .mypage .mypage-side {
    position: sticky;
    top: 124px;
    display: grid;
    width: 360px;
    gap: 20px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .mypage .mypage-side h2 {
    display: none;
  }

  .mypage .mypage-side .mypage-mobile-profile {
    display: grid;
    min-height: 216px;
    justify-items: center;
    align-content: center;
    gap: 8px;
    padding: 32px;
    border: 2px solid #6eba2c;
    border-radius: 64px 32px 32px;
    background: linear-gradient(146deg, #fff7eb 0%, #f4faec 100%);
    text-align: center;
  }

  .mypage .mypage-side .avatar {
    width: 56px;
    height: 56px;
  }

  .mypage .mypage-side strong {
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .mypage .mypage-side em {
    color: rgba(9, 9, 11, 0.75);
    font-size: 17px;
    font-style: normal;
    line-height: 1.5;
  }

  .mypage .mypage-side nav {
    display: grid;
    gap: 0;
    padding: 8px 32px;
    border: 1px solid rgba(113, 113, 123, 0.15);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03), 0 4px 10px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .mypage .mypage-side a {
    position: relative;
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 8px;
    padding: 0;
    border-bottom: 0;
    border-radius: 0;
    color: rgba(9, 9, 11, 0.75);
    font-size: 21px;
    font-weight: 400;
  }

  .mypage .mypage-side a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background-image: repeating-linear-gradient(
      to right,
      rgba(113, 113, 123, 0.22) 0,
      rgba(113, 113, 123, 0.22) 6px,
      transparent 6px,
      transparent 10px
    );
  }

  .mypage .mypage-side a:last-child::before {
    content: none;
  }

  .mypage .mypage-side a.active,
  .mypage .mypage-side a:hover {
    background: transparent;
    color: #6eba2c;
    font-weight: 700;
  }

  .mypage-info-page .mypage-content {
    min-height: 1312px;
    padding: 48px;
    border: 1px solid rgba(113, 113, 123, 0.22);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03), 0 4px 10px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .mypage-info-page .profile-panel,
  .mypage-info-page .mypage-content > .info-grid {
    display: none;
  }

  .mypage-info-page .mypage-info-mobile {
    display: grid;
    gap: 40px;
  }

  .mypage-info-page .mypage-info-head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .mypage-info-page .mypage-info-head h2 {
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .mypage-info-page .mypage-info-head .btn-dark {
    min-width: 144px;
    min-height: 64px;
    border: 0;
    border-radius: 12px;
    background: #27272a;
    color: #fff;
    font-family: "NPS_font", var(--font-sans);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
  }

  .mypage-info-page .mypage-info-sections {
    display: grid;
    gap: 20px;
  }

  .mypage-info-page .mypage-info-section {
    display: grid;
    gap: 32px;
    padding: 32px;
    border-radius: 24px;
    background: #f4f4f5;
  }

  .mypage-info-page .mypage-info-section.member-info {
    min-height: 410px;
  }

  .mypage-info-page .mypage-info-section.address-info {
    min-height: 208px;
  }

  .mypage-info-page .mypage-info-section.child-info {
    min-height: 456px;
  }

  .mypage-info-page .mypage-info-section h3 {
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .mypage-info-page .mypage-info-section dl {
    display: grid;
    gap: 24px;
  }

  .mypage-info-page .mypage-info-section div {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
  }

  .mypage-info-page .mypage-info-section dt,
  .mypage-info-page .mypage-info-section dd {
    color: #09090b;
    font-size: 17px;
    line-height: 1.5;
  }

  .mypage-info-page .mypage-info-section dt {
    color: rgba(9, 9, 11, 0.75);
    font-weight: 400;
  }

  .mypage-info-page .mypage-info-section dd {
    font-weight: 400;
    overflow-wrap: anywhere;
  }

  .mypage-edit-page .mypage-content {
    padding: 48px;
    border: 1px solid rgba(113, 113, 123, 0.22);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03), 0 4px 10px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.06);
  }

  .mypage-edit-page .mypage-content > h2,
  .mypage-edit-page .mypage-content > .form-grid,
  .mypage-edit-page .mypage-content > .form-actions {
    display: none;
  }

  .mypage-edit-page .mypage-edit-mobile {
    display: grid;
    gap: 24px;
  }

  .mypage-edit-page .mypage-edit-head {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .mypage-edit-page .mypage-edit-head h2 {
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .mypage-edit-page .mypage-edit-actions {
    display: flex;
    gap: 8px;
  }

  .mypage-edit-page .mypage-edit-actions .btn {
    min-height: 64px;
    border-radius: 12px;
    padding: 0 24px;
    font-size: 17px;
    font-weight: 400;
  }

  .mypage-edit-page .mypage-edit-actions .btn-ghost {
    order: 1;
    border-color: rgba(113, 113, 123, 0.22);
    background: #fff;
    color: #09090b;
  }

  .mypage-edit-page .mypage-edit-actions .btn-primary {
    order: 2;
    background: #6eba2c;
    color: #fff;
  }

  .mypage-edit-page .mypage-edit-body {
    display: grid;
    gap: 40px;
    padding-top: 40px;
    border-top: 1.5px solid #27272a;
  }

  .mypage-edit-page .mypage-edit-section {
    position: relative;
    display: grid;
    align-content: start;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 0;
  }

  .mypage-edit-page .mypage-edit-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.5px;
    background-image: repeating-linear-gradient(
      to right,
      #e4e4e4 0,
      #e4e4e4 6px,
      transparent 6px,
      transparent 14px
    );
  }

  .mypage-edit-page .mypage-edit-section.member-edit {
    min-height: 760px;
  }

  .mypage-edit-page .mypage-edit-section.child-edit {
    padding-bottom: 0;
  }

  .mypage-edit-page .mypage-edit-section.child-edit::after {
    content: none;
  }

  .mypage-edit-page .mypage-edit-section h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #09090b;
    font-size: 25px;
    line-height: 1.5;
  }

  .mypage-edit-page .mypage-edit-section h3::before {
    content: "";
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: url("../images/ui/leaf-title-bullet.png") center / contain no-repeat;
  }

  .mypage-edit-page .mypage-edit-fields {
    display: grid;
    gap: 24px;
  }

  .mypage-edit-page .mypage-edit-child {
    display: grid;
    gap: 24px;
  }

  .mypage-edit-page .mypage-edit-child.has-divider {
    padding-top: 40px;
    border-top: 1px solid rgba(113, 113, 123, 0.15);
  }

  .mypage-edit-page .mypage-edit-field {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .mypage-edit-page .mypage-edit-fields label + label,
  .mypage-edit-page .mypage-edit-field + .mypage-edit-field {
    margin-top: 0;
  }

  .mypage-edit-page .mypage-edit-field.with-button {
    grid-template-columns: 160px minmax(0, 1fr) auto;
  }

  .mypage-edit-page .mypage-edit-field.button-only {
    grid-template-columns: 160px auto minmax(0, 1fr);
  }

  .mypage-edit-page .mypage-edit-field span {
    color: #09090b;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
  }

  .mypage-edit-page .mypage-edit-field input {
    width: 100%;
    min-height: 64px;
    border: 1px solid rgba(113, 113, 123, 0.15);
    border-radius: 13px;
    background: #fff;
    padding: 0 24px;
    color: #09090b;
    font-family: "NPS_font", var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
  }

  .mypage-edit-page .mypage-edit-field.is-locked input {
    background: #f4f4f5;
    color: rgba(9, 9, 11, 0.4);
  }

  .mypage-edit-page .mypage-edit-field.select-field input {
    padding-right: 48px;
    background-image:
      linear-gradient(45deg, transparent 50%, #09090b 50%),
      linear-gradient(135deg, #09090b 50%, transparent 50%);
    background-position:
      calc(100% - 23px) 50%,
      calc(100% - 17px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
  }

  .mypage-edit-page .mypage-edit-field button {
    width: fit-content;
    min-height: 64px;
    padding: 17.5px 24px;
    border: 0;
    border-radius: 13px;
    background: #27272a;
    color: #fff;
    font-family: "NPS_font", var(--font-sans);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
  }

  .mypage-edit-page .address-edit .mypage-edit-fields {
    gap: 12px;
  }

  .mypage-edit-page .mypage-edit-field.compact-field {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .mypage-edit-page .mypage-edit-field.compact-field span {
    visibility: hidden;
  }

  .mypage-edit-page .radio-field {
    align-items: center;
  }

  .mypage-edit-page .radio-row {
    display: flex;
    gap: 24px;
  }

  .mypage-edit-page .radio-row label {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 12px;
    color: #09090b;
    font-family: "NPS_font", var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
  }

  .mypage-edit-page .mypage-edit-field .radio-row input {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
  }

  .mypage-edit-page .radio-row label::before {
    content: "";
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(113, 113, 123, 0.22);
    border-radius: 999px;
    background:
      radial-gradient(circle at center, rgba(113, 113, 123, 0.22) 0 6px, transparent 6px),
      #fff;
  }

  .mypage-edit-page .radio-row label:has(input:checked)::before {
    border-color: #6eba2c;
    background:
      radial-gradient(circle at center, #fff 0 6px, transparent 6px),
      #6eba2c;
  }

  .mypage-edit-page .mypage-child-add {
    position: relative;
    min-height: 56px;
    margin-bottom: 104px;
    border: 1px solid #6eba2c;
    border-radius: 12px;
    background: #fff;
    color: #6eba2c;
    font-size: 17px;
  }

  .mypage-edit-page .mypage-child-add::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 64px);
    height: 1.5px;
    background-image: repeating-linear-gradient(
      to right,
      #e4e4e4 0,
      #e4e4e4 6px,
      transparent 6px,
      transparent 14px
    );
  }

  .mypage-facility-list-page .mypage-content {
    min-height: 2485px;
  }

  .mypage-recent-page .mypage-content {
    min-height: 3501px;
  }
}

.mypage-total {
  margin: -12px 0 28px;
  color: var(--color-ink-soft);
  font-weight: 800;
}

.mypage-total strong {
  color: var(--color-green-dark);
}

.profile-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
  padding: 30px;
}

.profile-panel > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.avatar {
  width: 64px;
  height: 64px;
  margin: 0;
}

.board-detail header dl {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
}

.board-detail header dl div {
  display: flex;
  gap: 8px;
}

.attach-box,
.prev-next a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
}

.prev-next {
  margin-top: 22px;
}

.prev-next a + a {
  margin-top: 8px;
}

.terms-doc {
  padding: 42px;
}

.terms-doc h2 {
  margin-bottom: 18px;
  font-size: 38px;
}

.terms-doc > p,
.terms-doc section p {
  color: var(--color-muted);
  line-height: 1.5;
}

.terms-doc section {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
}

.terms-doc h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.email-refusal h2,
.rss-doc h2,
.privacy-doc h2 {
  margin-bottom: 64px;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.5;
}

.email-refusal-lead {
  margin-bottom: 20px;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.email-refusal-box,
.rss-intro-box {
  padding: 32px 30px 24px 32px;
  border-radius: 32px;
  background: #f4f4f5;
}

.rss-intro-box ul {
  display: grid;
  gap: 8px;
}

.rss-intro-box li {
  position: relative;
  padding-left: 16px;
  color: rgba(9, 9, 11, 0.75);
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.rss-intro-box li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.55);
}

.rss-section {
  margin-top: 56px;
}

.rss-section h3 {
  margin-bottom: 20px;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.rss-table {
  min-width: 640px;
  border-top-width: 1.5px;
}

.rss-table th,
.rss-table td {
  padding: 16px 18px;
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

.rss-table th:not(:last-child),
.rss-table td:not(:last-child) {
  border-right: 1px solid rgba(113, 113, 123, 0.2);
}

.rss-table thead th {
  height: 56px;
  background: #f7f7f7;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.rss-table td {
  height: 74px;
  color: #09090b;
}

/* 공용 .board-table td:nth-child(2)(왼쪽 정렬·굵게)를 RSS 표에서만 되돌린다. */
.rss-table td:nth-child(2) {
  text-align: center;
  font-weight: 400;
}

.rss-table td a:not(.rss-btn) {
  color: rgba(9, 9, 11, 0.75);
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: underline;
}

.rss-table th:first-child,
.rss-table td:first-child {
  width: 320px;
}

.rss-table th:last-child,
.rss-table td:last-child {
  width: 200px;
}

.rss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0px 12px;
  border-radius: 9px;
  background: #6eba2c;
  color: #fff;
  font-family: "NPS_font", var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.rss-btn:hover {
  background: #5da625;
}

/* ===== 개인정보처리방침 ===== */
.privacy-doc {
  font-family: "NPS_font", var(--font-sans);
  color: #09090b;
}

.privacy-intro {
  margin-bottom: 20px;
  color: #09090b;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-lead {
  margin-bottom: 64px;
  padding: 32px 30px;
  border-radius: 32px;
  background: #f4f4f5;
}

.privacy-lead p {
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-lead p + p {
  margin-top: 16px;
}

.privacy-block-title {
  margin-bottom: 20px;
  color: #09090b;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

.privacy-labeling {
  margin-bottom: 64px;
}

.privacy-toc {
  margin-bottom: 64px;
}

/* 문서 테이블 wrap: base .table-wrap의 좌측 24px 인셋 제거(좌우 대칭) — 전 뷰포트 공통 */
.privacy-labeling .table-wrap,
.privacy-toc .table-wrap {
  padding-left: 0;
}

.privacy-toc-table {
  min-width: 640px;
}

table.privacy-toc-table thead th {
  height: 56px;
  background: #f7f7f7;
  color: #09090b;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

table.privacy-toc-table tbody td {
  height: auto;
  padding: 28px 32px;
  text-align: left;
}

.privacy-label-table {
  min-width: 720px;
  background: #fff;
}

table.privacy-label-table thead th {
  height: 56px;
  background: #f7f7f7;
  color: #09090b;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

table.privacy-label-table tbody td,
table.privacy-label-table tbody td:nth-child(2) {
  width: 33.333%;
  height: 224px;
  padding: 32px 12px;
  color: #09090b;
  text-align: center;
  vertical-align: middle;
}

table.privacy-label-table tbody td span {
  display: block;
  margin-top: 14px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

table.privacy-label-table tbody td small {
  display: block;
  margin-top: 6px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-label-icon {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  object-fit: contain;
}

.privacy-toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 40px;
}

.privacy-toc li {
  position: relative;
  padding-left: 16px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  line-height: 1.5;
}

.privacy-toc li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #6eba2c;
}

.privacy-section {
  margin-top: 64px;
}

.privacy-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 21px;
  color: #09090b;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.privacy-section-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background: url("../images/ui/leaf-title-bullet.png") center / contain no-repeat;
}

.privacy-section-tags {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  margin-left: 12px;
}

.privacy-section-tags img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.privacy-section > p {
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-list {
  display: grid;
  gap: 8px;
  padding-left: 24px;
}

.privacy-list li {
  position: relative;
  padding-left: 16px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  line-height: 1.5;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.5);
}

.privacy-note {
  position: relative;
  padding-left: 16px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-note::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #6eba2c;
}

.privacy-note.is-plain::before {
  display: none;
}

.privacy-note + .privacy-note {
  /* margin-top: 8px; */
}

.privacy-ol {
  margin-top: 16px;
  padding-left: 40px;
  list-style: decimal;
}

.privacy-ol > li {
  list-style: decimal;
  padding-left: 6px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  line-height: 1.5;
}

.privacy-ol > li + li {
  margin-top: 8px;
}

/* 8조 권익침해 구제 방법 - 기관 참조 목록 */
.privacy-refs {
  margin-top: 12px;
  display: grid;
  gap: 16px;
}

.privacy-refs > li {
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  line-height: 1.6;
}

.privacy-ref-title {
  display: block;
}

.privacy-dash {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  padding-left: 14px;
}

.privacy-dash > li {
  position: relative;
  padding-left: 14px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 16px;
  line-height: 1.5;
}

.privacy-dash > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(9, 9, 11, 0.5);
}

.privacy-hint {
  display: block;
  margin-top: 8px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 16px;
  line-height: 1.5;
}

.privacy-refs a,
.privacy-hint a,
.privacy-num-list a {
  color: rgba(9, 9, 11, 0.5);
  text-decoration: underline;
}

/* 9조 소제목 아이콘 및 번호 목록 */
.privacy-subtitle-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-left: 24px;
  object-fit: contain;
  vertical-align: middle;
}

.privacy-num-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  padding-left: 8px;
}

.privacy-num-list > li {
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  line-height: 1.5;
}

.privacy-num-sublist {
  margin-top: 8px;
  display: grid;
  gap: 6px;
  padding-left: 16px;
}

.privacy-num-sublist > li {
  color: rgba(9, 9, 11, 0.75);
  font-size: 16px;
  line-height: 1.5;
}

.privacy-method-table {
  min-width: 640px;
  table-layout: fixed;
}

table.privacy-method-table thead th {
  width: 50%;
}

table.privacy-method-table tbody td {
  height: auto;
  padding: 20px 24px;
  color: rgba(9, 9, 11, 0.75);
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

table.privacy-method-table tbody td a {
  color: rgba(9, 9, 11, 0.5);
  text-decoration: underline;
}

/* 11조 처리방침 변경 이력 목록 */
.privacy-version-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  padding-left: 12px;
}

.privacy-version-list > li {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 14px;
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  line-height: 1.5;
}

.privacy-version-list > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(9, 9, 11, 0.5);
}

.privacy-version-list .privacy-btn {
  margin-left: 24px;
  padding: 0 12px;
  border-radius: 9px;
}

.privacy-version-list .privacy-btn + .privacy-btn {
  margin-left: 8px;
}

.privacy-doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 24px;
  padding: 0 24px;
  border: 1px solid rgba(113, 113, 123, 0.4);
  border-radius: 10px;
  background: #fff;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-doc-btn:hover {
  background: #f7f7f7;
}

.privacy-table {
  margin-top: 20px;
  min-width: 640px;
  border-top-width: 1.5px;
}

.privacy-table th,
.privacy-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(113, 113, 123, 0.2);
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  text-align: center;
}

.privacy-table th:not(:last-child),
.privacy-table td:not(:last-child) {
  border-right: 1px solid rgba(113, 113, 123, 0.2);
}

.privacy-table thead th {
  height: 56px;
  background: #f7f7f7;
  color: #09090b;
  font-weight: 400;
}

.privacy-table td {
  height: 74px;
  color: #09090b;
}

.privacy-table td:nth-child(2) {
  text-align: left;
  font-weight: 400;
}

.privacy-doc .privacy-subtitle {
  margin: 32px 0 16px;
  color: #09090b;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.privacy-doc .privacy-clause {
  margin: 28px 0 10px;
  color: #09090b;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.privacy-clause-body {
  padding-left: 12px;
}

.privacy-clause-body > p {
  color: rgba(9, 9, 11, 0.75);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
}

.privacy-clause-body .privacy-num-list {
  margin-top: 10px;
}

.privacy-clause-body .privacy-doc-btn {
  margin-top: 16px;
}

.privacy-kv-table {
  min-width: 640px;
}

table.privacy-kv-table th[scope="row"] {
  width: 360px;
  background: #f7f7f7;
  color: #09090b;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
}

table.privacy-kv-table tbody td {
  height: auto;
  padding: 20px 24px;
  color: rgba(9, 9, 11, 0.75);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  vertical-align: middle;
}

table.privacy-kv-table tbody td.is-left {
  /* text-align: left; */
}

.privacy-detail-table {
  min-width: 640px;
}

table.privacy-detail-table tbody td {
  height: auto;
  padding: 20px 24px;
  color: rgba(9, 9, 11, 0.75);
  vertical-align: middle;
}

table.privacy-detail-table tbody td:first-child {
  width: 360px;
  background: #f7f7f7;
  color: #09090b;
  text-align: center;
}

table.privacy-detail-table tbody td.td-content {
  text-align: left;
  line-height: 1.7;
}

.privacy-diagram {
  margin: 24px 0 0;
  text-align: center;
}

.privacy-diagram img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 12px;
}

.privacy-diagram figcaption {
  margin-top: 12px;
  color: #fb2c36;
  font-size: 14px;
  line-height: 1.5;
}

.privacy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(113, 113, 123, 0.3);
  background: #fff;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.email-refusal-box p {
  color: rgba(9, 9, 11, 0.75);
  font-family: "NPS_font", var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.email-refusal-date {
  margin-top: 8px;
}

.sitemap-title {
  margin-bottom: 64px;
  color: #09090b;
  font-family: "NPS_font", var(--font-sans);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.018em;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.sitemap-column {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.sitemap-column h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  margin: 0;
  padding: 0 16px;
  border-radius: 16px;
  background: #F4F4F5;
  color: #09090B;
  font-family: "NPS_font", var(--font-sans);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.sitemap-column ul {
  display: grid;
}

.sitemap-column li:not(:last-child) {
  background-image: repeating-linear-gradient(to right, rgba(113, 113, 123, 0.3) 0, rgba(113, 113, 123, 0.3) 6px, transparent 6px, transparent 10px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1.5px;
}

.sitemap-column li a,
.sitemap-column li span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
  color: rgba(9, 9, 11, 0.75);
  font-family: "NPS_font", var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.sitemap-column li a:hover {
  color: #6eba2c;
}

.large-search-form {
  margin-bottom: 26px;
  padding: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-soft);
}

.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

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

.search-result-list h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.search-result-list article {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.search-result-list article span {
  color: var(--color-green-dark);
  font-weight: 900;
}

.search-result-list h3 {
  margin: 8px 0;
  font-size: 22px;
}

.preview-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  height: 100vh;
  overflow: hidden;
  background: var(--color-soft);
}

.preview-nav {
  min-height: 0;
  overflow: auto;
  padding: 28px 20px;
  border-right: 1px solid var(--color-line);
  background: #fff;
}

.preview-nav h1 {
  font-size: 26px;
}

.preview-nav p {
  margin: 8px 0 24px;
  color: var(--color-muted);
  font-size: 14px;
}

.preview-list {
  display: grid;
  gap: 8px;
}

.preview-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.preview-card:hover,
.preview-card.active {
  border-color: var(--color-green);
  background: var(--color-soft-green);
}

.preview-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e9f5f2;
  color: var(--color-green-dark);
  font-size: 13px;
  font-weight: 900;
}

.preview-card strong,
.preview-card em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-card em {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 12px;
  font-style: normal;
}

.preview-stage {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}

.preview-meta,
.preview-actions,
.viewport-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-meta {
  min-width: 0;
}

.preview-meta strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta span {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 900;
}

.viewport-controls {
  min-height: 36px;
  padding: 3px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.viewport-button,
.current-open {
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--color-ink-soft);
  font-size: 12px;
  font-weight: 900;
}

.viewport-button {
  min-width: 64px;
}

.viewport-button.active {
  background: var(--color-green);
  color: #fff;
}

.current-open {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-line);
  background: #fff;
}

.frame-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: #eef3f8;
}

.device-shell {
  flex: 0 0 auto;
  width: 1920px;
  height: 1080px;
}

.device-frame {
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  border: 1px solid #c8d2df;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: scale(1);
  transform-origin: top left;
}

.preview-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
