:root {
  --ink: #172b3a;
  --muted: #637789;
  --line: #dce8ef;
  --page: #f6fafc;
  --white: #ffffff;
  --sky: #eef6fa;
  --sky-strong: #d9eef7;
  --blue: #176f98;
  --deep: #0f4f70;
  --navy: #102f43;
  --green: #0f8a70;
  --amber: #b7791f;
  --shadow: 0 14px 34px rgba(23, 59, 79, 0.09);
  --shadow-soft: 0 8px 20px rgba(23, 59, 79, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1024px;
  overflow-x: hidden;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fbfd 0, var(--page) 52%, #ffffff 100%);
  font-family: "Pretendard", "Noto Sans KR", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.55;
}

main {
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

h1,
h2,
h3,
p,
li,
span,
strong,
small {
  word-break: keep-all;
}

.pc-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(6, 72, 102, 0.92);
  color: #fff;
  padding: 0 clamp(32px, 4vw, 72px);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 220px;
}

.brand span {
  color: #c8f1ff;
  font-size: 11px;
  font-weight: 850;
}

.brand strong {
  font-size: 17px;
  font-weight: 850;
}

.pc-header nav {
  display: flex;
  gap: clamp(10px, 1.4vw, 22px);
}

.pc-header nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pc-header nav a[href="#apply"],
.pc-header nav a[href="#request"] {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 0 12px;
}

.pc-hero {
  position: relative;
  overflow: hidden;
  background: #064360;
  color: #fff;
}

.pc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 39, 57, 0.94), rgba(4, 70, 99, 0.73), rgba(6, 92, 126, 0.2)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1920&q=82") center / cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.pc-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.38fr);
  gap: 42px;
  align-items: end;
  width: min(1180px, calc(100% - 64px));
  min-height: 440px;
  margin: 0 auto;
  padding: 76px 0 36px;
}

.eyebrow,
.section-title span {
  color: #bfeeff;
  font-size: 13px;
  font-weight: 850;
}

.section-title span {
  color: var(--blue);
}

.pc-hero h1 {
  max-width: 780px;
  margin-top: 14px;
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 850;
  line-height: 1.08;
}

.pc-hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.hero-live-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-live-row span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  padding: 0 12px;
  backdrop-filter: blur(10px);
}

.hero-live-row span:first-child::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: #7ff0c7;
  animation: livePulse 1.8s ease-out infinite;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button,
.lead-form button,
.general-apply button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  padding: 0 22px;
}

.primary-button {
  background: #ffffff;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(2, 28, 42, 0.18);
}

.primary-button,
.secondary-button,
.contact-tab,
.opening-card,
.general-apply,
.section-toggle,
.slider-buttons button {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.contact-tab:hover,
.opening-card:hover,
.general-apply:hover {
  transform: translateY(-2px);
}

.contact-tab:hover,
.opening-card:hover,
.general-apply:hover {
  box-shadow: 0 18px 40px rgba(23, 59, 79, 0.13);
}

.section-toggle:hover,
.slider-buttons button:hover {
  border-color: #b8cfdb;
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pc-hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.pc-hero-panel div {
  padding: 18px;
}

.pc-hero-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}

.pc-hero-panel strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.35;
}

.pc-section,
.pc-footer {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.pc-section {
  padding-top: 48px;
}

.pc-contact-tabs {
  order: 1;
}

.openings-section {
  order: 2;
}

.trust-section {
  order: 3;
}

.referral-section {
  order: 4;
}

.info-menu-section {
  order: 5;
}

.trust-section {
  padding-top: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-strip div,
.trust-metrics article,
.process-grid article,
.policy-section article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.trust-strip div {
  display: grid;
  gap: 5px;
  padding: 15px;
}

.trust-strip span,
.process-grid span,
.policy-section span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.3;
}

.trust-strip small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.trust-metrics article {
  padding: 16px;
}

.trust-metrics strong {
  display: block;
  color: var(--deep);
  font-size: 28px;
  line-height: 1.1;
}

.trust-metrics span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.process-grid,
.policy-section,
.compliance-grid {
  display: grid;
  gap: 12px;
}

.info-menu-section {
  padding-top: 28px;
}

.info-menu-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
}

.info-menu-section summary::-webkit-details-marker {
  display: none;
}

.info-menu-section summary span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.info-menu-section summary strong {
  color: var(--navy);
  font-size: 21px;
}

.info-menu-section summary::after {
  content: "열기";
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 850;
  padding: 7px 13px;
}

.info-menu-section[open] summary::after {
  content: "닫기";
}

.info-menu-panel {
  display: grid;
  gap: 26px;
  padding-top: 18px;
}

.info-menu-panel > section {
  width: auto;
  margin: 0;
  padding-top: 0;
}

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

.process-grid article,
.compliance-grid article {
  padding: 14px;
}

.process-grid strong,
.compliance-grid strong,
.policy-section strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}

.process-grid p,
.compliance-grid p,
.policy-section p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.policy-section {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 28px;
}

.policy-section article {
  padding: 14px;
}

.compliance-section {
  padding-top: 28px;
}

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

.compliance-grid article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.section-title {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-title h2 {
  color: var(--navy);
  font-size: 32px;
  font-weight: 850;
  line-height: 1.2;
}

.section-title p,
.opening-card p,
.lead-form p {
  color: var(--muted);
  font-size: 14px;
}

.referral-section {
  margin-top: 4px;
}

.referral-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  overflow: hidden;
  border: 1px solid #cbdde7;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(16, 47, 67, 0.96), rgba(23, 111, 152, 0.88)),
    url("https://images.unsplash.com/photo-1521790797524-b2497295b8a0?auto=format&fit=crop&w=1400&q=80") center / cover;
  color: #fff;
  box-shadow: 0 22px 52px rgba(23, 59, 79, 0.16);
  padding: 34px;
}

.referral-banner::after {
  content: "";
  position: absolute;
  right: 34%;
  top: -60px;
  width: 160px;
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  animation: softFloat 8s ease-in-out infinite alternate;
}

.referral-banner > * {
  position: relative;
  z-index: 1;
}

.referral-banner span {
  color: #bfeeff;
  font-size: 13px;
  font-weight: 850;
}

.referral-banner h2 {
  max-width: 680px;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
}

.referral-banner p {
  max-width: 680px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.referral-banner ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.referral-banner ol li {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  padding: 0 12px;
}

.referral-banner aside {
  align-self: stretch;
  display: grid;
  align-content: center;
  gap: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  padding: 20px;
  backdrop-filter: blur(12px);
}

.referral-banner aside strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.25;
}

.referral-banner aside small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.referral-banner button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 850;
  padding: 0 16px;
}

.opening-recommendation-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d38d00;
  font-weight: 850;
  font-size: 14px;
}

.opening-recommendation-row small {
  color: var(--muted);
}

.opening-recommendation-badge {
  letter-spacing: 1px;
  font-size: 15px;
  white-space: nowrap;
}

.opening-review-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.opening-review-list li {
  word-break: break-word;
}

.opening-review-list small {
  color: #8594a2;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.review-actions button,
.admin-referral-actions button,
.referral-status-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5fbff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
  min-height: 28px;
  padding: 0 10px;
}

.admin-referral-actions {
  margin-top: 6px;
}

.referral-status-button.is-active {
  border-color: #7bc4ff;
  color: #056fbe;
  background: #e7f4ff;
}

.opening-review-form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.opening-review-result {
  font-size: 12px;
  color: var(--muted);
}

.admin-respond-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f5fbff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
  min-height: 28px;
  padding: 0 10px;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.admin-new-opening-button {
  display: none;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  padding: 0 16px;
}

.admin-mode .admin-new-opening-button {
  display: inline-flex;
  align-items: center;
}

.section-toggle,
.slider-buttons button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--deep);
  font-size: 14px;
  font-weight: 850;
  padding: 0 16px;
}

.slider-buttons {
  display: flex;
  gap: 8px;
}

.slider-buttons button {
  width: 42px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

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

.work-grid article,
.opening-card,
.form-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.work-grid article {
  padding: 22px;
}

.work-grid strong,
.opening-card h3 {
  color: var(--deep);
  font-size: 20px;
  font-weight: 850;
}

.work-grid p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.pc-contact-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 34px;
}

.contact-tab {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid #cbdde7;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 24px 26px;
  text-align: left;
  box-shadow: var(--shadow);
}

.contact-tab-primary {
  border-color: #cbdde7;
  background: #fff;
  color: var(--ink);
}

.contact-tab span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.contact-tab strong {
  color: var(--navy);
  font-size: 27px;
  font-weight: 850;
  line-height: 1.15;
}

.contact-tab::before {
  content: "";
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: var(--navy);
}

.contact-tab small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.collapse-panel[hidden] {
  display: none;
}

.opening-slider {
  overflow: hidden;
  margin-inline: -2px;
}

.opening-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) minmax(130px, 0.8fr) minmax(150px, 0.8fr) minmax(160px, 0.8fr) minmax(150px, 0.8fr) auto;
  align-items: end;
  gap: 12px;
  margin: 10px 0 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.filter-control {
  display: grid;
  gap: 6px;
}

.filter-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  grid-template-columns: auto 1fr;
}

.filter-check input {
  width: 16px;
  height: 16px;
  min-height: 16px;
  accent-color: var(--blue);
}

.filter-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.filter-control input,
.filter-control select,
#openingFilterReset {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.filter-control input,
.filter-control select {
  width: 100%;
  padding: 0 12px;
}

#openingFilterReset {
  padding: 0 16px;
  background: #eef7fb;
  color: var(--deep);
  font-weight: 850;
  border-color: #bfdbe9;
}

.opening-count {
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
  justify-self: end;
}

.opening-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
}

.opening-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(72px, auto) minmax(52px, auto) auto auto auto 1fr;
  flex: 0 0 calc((100% - 32px) / 3);
  gap: 13px;
  min-height: 360px;
  padding: 22px;
  scroll-snap-align: start;
}

.opening-recommend-note {
  display: grid;
  gap: 4px;
  border: 1px solid #dce8ef;
  border-radius: 10px;
  background: #f7fbfd;
  padding: 11px 12px;
}

.opening-recommend-note strong {
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
}

.opening-recommend-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-recommend-note {
  margin-top: 12px;
}

.opening-live-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  padding: 0 10px;
  box-shadow: 0 8px 18px rgba(16, 47, 67, 0.18);
}

.badge {
  width: fit-content;
  border-radius: 999px;
  background: #f4f8fa;
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
  padding: 5px 12px;
}

.badge-blue {
  background: #eef6fa;
  color: var(--deep);
}

.badge-green {
  background: #eef6fa;
  color: var(--deep);
}

.badge-soft {
  background: #eef6fa;
  color: var(--deep);
}

.opening-card h3 {
  display: flex;
  align-items: center;
  min-height: 72px;
  font-size: 24px;
  line-height: 1.28;
}

.opening-card p {
  min-height: 52px;
  font-size: 15px;
  line-height: 1.48;
}

.opening-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.opening-card dl div {
  min-width: 0;
  min-height: 72px;
  border-radius: 10px;
  background: var(--sky);
  padding: 11px;
}

.opening-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 0;
}

.opening-meta-badges span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6fbff;
  color: var(--deep);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  white-space: nowrap;
}

.opening-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opening-trust-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #eef6fa;
  color: var(--deep);
  font-size: 11px;
  font-weight: 850;
  padding: 0 9px;
  white-space: nowrap;
}

.detail-trust-badges {
  margin-top: 8px;
}

.detail-safe-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.opening-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.opening-seat-badge {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--deep);
}

.opening-card dd {
  margin-top: 4px;
  color: var(--deep);
  font-size: 15px;
  font-weight: 850;
}

.opening-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.opening-actions button,
.detail-actions button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  font-weight: 850;
  padding: 0 12px;
}

.opening-detail-button {
  background: #edf8ff;
  color: var(--deep);
}

.opening-apply-button,
.detail-actions button:first-child {
  background: var(--navy);
  color: #fff;
}

.admin-edit-button {
  grid-column: 1 / -1;
  background: #f0f6fb;
  color: #315e91;
}

.general-apply {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.general-apply span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.general-apply strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 850;
}

.general-apply p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.general-apply button {
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
}

.form-card {
  padding: 22px;
}

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

.lead-form label,
.admin-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.lead-form .wide,
.lead-form button,
.lead-form p,
.admin-form .wide,
.admin-form button,
.admin-form p {
  grid-column: 1 / -1;
}

.lead-form[data-selected-reception="external"] label:not(.form-provider-row) {
  display: none;
}

.lead-form[data-selected-reception="external"] {
  grid-template-columns: minmax(0, 1fr);
}

.form-trust-note {
  display: grid;
  gap: 4px;
  border: 1px solid #cbe8f5;
  border-radius: 10px;
  background: #f3fbff;
  color: var(--deep);
  padding: 12px;
}

.form-trust-note strong {
  color: var(--navy);
  font-size: 14px;
}

.form-trust-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.lead-form span,
.admin-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.lead-form .consent-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fcff;
  padding: 11px 12px;
}

.lead-form .consent-field input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--deep);
}

.lead-form .consent-field span {
  color: #506579;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.lead-form .consent-field a {
  color: var(--blue);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.data-flow-note {
  border-radius: 10px;
  background: #eefaff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
  padding: 10px 12px;
}

.lead-form input,
.lead-form select,
.lead-form textarea,
.admin-form input,
.admin-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fdff;
  color: var(--ink);
  outline: 0;
}

.lead-form input,
.lead-form select,
.admin-form input {
  min-height: 42px;
  padding: 0 12px;
}

.lead-form textarea,
.admin-form textarea {
  resize: vertical;
  padding: 12px;
}

.lead-form button,
.admin-form button {
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
}

.pc-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px 0 36px;
  margin-top: 48px;
}

.pc-footer > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pc-footer strong {
  color: var(--deep);
}

.footer-meta {
  justify-items: end;
  text-align: right;
  font-size: 13px;
}

.footer-meta a {
  color: var(--blue);
  font-weight: 850;
}

.modal-open {
  overflow: hidden;
}

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

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 36, 52, 0.48);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(780px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(4, 42, 62, 0.28);
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-head span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.modal-head h2 {
  margin-top: 6px;
  color: var(--navy);
  font-size: 27px;
  font-weight: 850;
  line-height: 1.2;
}

.icon-button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sky);
  color: var(--deep);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.opening-detail-dialog,
.opening-admin-dialog {
  width: min(860px, 100%);
}

.detail-summary {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.detail-summary p {
  color: var(--muted);
  font-size: 15px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.detail-grid div {
  min-width: 0;
  border-radius: 10px;
  background: var(--sky);
  padding: 13px;
}

.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.detail-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--deep);
  font-size: 17px;
  line-height: 1.3;
}

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

.detail-columns section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fdff;
  padding: 15px;
}

.detail-columns h3 {
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 8px;
}

.detail-columns ul {
  display: grid;
  gap: 7px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

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

.admin-form button {
  min-height: 46px;
  border: 0;
  font-weight: 850;
}

.admin-form p {
  color: var(--muted);
  font-size: 12px;
}

.admin-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: #dff7ff;
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
}

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

.admin-dashboard-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 14px;
}

.admin-dashboard-card strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 5px;
}

.admin-dashboard-card span {
  color: var(--muted);
  font-size: 13px;
}

.admin-dashboard-card small {
  color: #7a8ca0;
  font-size: 12px;
  display: block;
  margin-top: 4px;
}

.admin-dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.admin-dashboard-actions button {
  border: 0;
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  font-weight: 850;
  width: fit-content;
}

.admin-dashboard-actions .filter-control {
  min-width: 0;
}

.admin-dashboard-actions .filter-control select,
.admin-dashboard-actions .filter-control input {
  width: 100%;
}

.dashboard-filter {
  min-width: 120px;
}

.admin-dashboard-status {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}

.opening-empty {
  display: grid;
  gap: 8px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px;
  color: var(--muted);
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translateX(-50%);
  width: min(420px, calc(100% - 40px));
  border-radius: 14px;
  background: rgba(15, 30, 44, 0.94);
  color: #fff;
  box-shadow: 0 18px 45px rgba(3, 34, 52, 0.28);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.4;
  padding: 14px 16px;
  text-align: center;
}

.app-toast[data-tone="success"] {
  background: rgba(13, 118, 82, 0.96);
}

.app-toast[data-tone="warn"] {
  background: rgba(181, 113, 17, 0.96);
}

.app-toast[data-tone="error"] {
  background: rgba(176, 48, 48, 0.96);
}

.app-toast[hidden],
.app-loading[hidden] {
  display: none;
}

.app-loading {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(6, 25, 38, 0.28);
  backdrop-filter: blur(3px);
}

.app-loading-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(340px, calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(3, 34, 52, 0.2);
  padding: 26px 22px;
  text-align: center;
}

.app-loading-card strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.app-loading-card p {
  color: var(--muted);
  font-size: 14px;
}

.app-loading-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #d8eff8;
  border-top-color: var(--deep);
  border-radius: 999px;
  animation: app-spin 0.8s linear infinite;
}

@keyframes app-spin {
  to { transform: rotate(360deg); }
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

.info-menu-section summary::after {
  content: "열기";
}

.info-menu-section[open] summary::after {
  content: "닫기";
}

@keyframes livePulse {
  70% {
    box-shadow: 0 0 0 9px rgba(127, 240, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(127, 240, 199, 0);
  }
}

@keyframes softFloat {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(18px, 24px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .trust-strip,
  .trust-metrics,
  .process-grid,
  .compliance-grid,
  .policy-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referral-banner {
    grid-template-columns: 1fr;
  }

  .opening-filters {
    grid-template-columns: 1.3fr minmax(120px, 0.9fr) minmax(140px, 0.9fr) auto auto;
    align-items: end;
  }

  .opening-count {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

@media (max-width: 900px) {
  .trust-strip,
  .trust-metrics,
  .process-grid,
  .compliance-grid,
  .policy-section {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .opening-slider {
    margin-inline: 0;
  }

  .opening-card {
    flex-basis: min(80vw, 340px);
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

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

.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-proof-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(191, 238, 255, 0.38);
  border-radius: 999px;
  background: rgba(7, 31, 45, 0.34);
  color: #dff7ff;
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
}

.pc-hero-panel small {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 750;
}

.contact-tab {
  background: linear-gradient(180deg, #ffffff, #f7fcff);
}

.contact-tab-primary {
  border-color: #8ccce8;
  background: linear-gradient(135deg, #102f43, #176f98);
  color: #fff;
}

.contact-tab-primary span,
.contact-tab-primary strong,
.contact-tab-primary small {
  color: #fff;
}

.contact-tab-primary::before {
  background: #7ff0c7;
}

.referral-banner {
  background:
    radial-gradient(circle at 82% 20%, rgba(127, 240, 199, 0.34), transparent 34%),
    linear-gradient(135deg, rgba(16, 47, 67, 0.98), rgba(23, 111, 152, 0.92)),
    url("https://images.unsplash.com/photo-1521790797524-b2497295b8a0?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.referral-banner aside {
  background: rgba(255, 255, 255, 0.16);
}

.referral-banner button {
  background: #7ff0c7;
  color: #092b23;
}

.opening-card {
  grid-template-rows: auto auto auto minmax(66px, auto) minmax(48px, auto) auto auto auto auto 1fr;
}

.opening-photo-preview {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 132px;
  border: 1px solid #dce8ef;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef7fb, #ffffff);
}

.opening-photo-preview img {
  width: 100%;
  height: 132px;
  object-fit: cover;
}

.opening-photo-preview figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  border-radius: 999px;
  background: rgba(16, 47, 67, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  padding: 5px 9px;
}

.opening-photo-placeholder {
  align-content: center;
  justify-items: center;
  gap: 4px;
  color: var(--muted);
  text-align: center;
}

.opening-photo-placeholder span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.opening-photo-placeholder strong {
  color: var(--navy);
  font-size: 18px;
  font-weight: 950;
}

.opening-photo-gallery {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
}

.opening-photo-gallery header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.opening-photo-gallery h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
}

.opening-photo-gallery p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.opening-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.opening-photo-tile {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 128px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, #eef7fb, #ffffff);
  color: inherit;
}

.opening-photo-tile img {
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.opening-photo-tile.has-image span {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 9px;
  border-radius: 999px;
  background: rgba(16, 47, 67, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  padding: 5px 8px;
}

.opening-impact-line {
  border-left: 4px solid #7ff0c7;
  border-radius: 10px;
  background: #effbf7;
  color: #0c5948;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
  padding: 10px 12px;
}

.opening-key-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.opening-key-facts span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid #dce8ef;
  border-radius: 10px;
  background: #fbfdff;
  color: var(--deep);
  font-size: 12px;
  font-weight: 850;
  padding: 9px;
}

.opening-key-facts strong {
  color: var(--muted);
  font-size: 10px;
}

.detail-impact-title {
  display: block;
  margin-top: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.3;
}

.audience-tabs-head {
  display: grid;
  gap: 6px;
  grid-column: 1 / -1;
  margin-bottom: -2px;
}

.audience-tabs-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.audience-tabs-head strong {
  color: var(--navy);
  font-size: 28px;
  font-weight: 850;
  line-height: 1.2;
}

.audience-tabs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #eef7fb;
  padding: 6px;
}

.reception-route-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 2px;
}

.reception-route-panel article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  border: 1px solid #d9e8ef;
  border-radius: 12px;
  background: #f7fcff;
  padding: 13px;
}

.reception-route-panel article > span {
  display: inline-grid;
  place-items: center;
  grid-row: 1 / span 2;
  width: 27px;
  height: 27px;
  border-radius: 999px;
  background: #12384f;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.reception-route-panel strong {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.reception-route-panel p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.audience-tabs button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--deep);
  font-size: 15px;
  font-weight: 850;
}

.audience-tabs button.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-soft);
}

.audience-panel {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: stretch;
}

.audience-panel[hidden] {
  display: none;
}

.audience-panel .contact-tab {
  min-height: 180px;
}

.audience-note {
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.audience-note strong {
  color: var(--deep);
  font-size: 18px;
}

.audience-note span {
  font-size: 14px;
  line-height: 1.6;
}

.reception-intro-dialog {
  width: min(520px, 100%);
}

.reception-intro-body {
  display: grid;
  gap: 16px;
}

.reception-intro-body p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.reception-intro-body ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reception-intro-body li {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: #f3fbff;
  color: var(--deep);
  font-size: 14px;
  font-weight: 850;
  padding: 12px;
}

.reception-intro-body li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #7ff0c7;
}

.reception-intro-continue {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.reception-intro-body small {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.contact-tab {
  min-height: 150px;
}

.contact-tab span {
  width: fit-content;
  border-radius: 999px;
  background: #eef7fb;
  color: var(--deep);
  padding: 5px 11px;
}

.contact-tab-primary span {
  background: rgba(127, 240, 199, 0.18);
  color: #dffdf2;
}

.ad-section[hidden] {
  display: none;
}

.ad-section {
  margin-top: 28px;
  margin-bottom: 28px;
}

.ad-unit-shell {
  display: grid;
  gap: 8px;
  min-height: 120px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.ad-unit-shell > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.adsense-slot {
  min-height: 90px;
  width: 100%;
}

.footer-ad-section {
  width: min(1180px, calc(100vw - 64px));
  margin: 0 auto 24px;
}

/* Final UI polish */
:root {
  --radius-control: 12px;
  --radius-card: 14px;
  --focus-ring: 0 0 0 3px rgba(23, 111, 152, 0.16);
}

.primary-button,
.secondary-button,
.lead-form button,
.referral-banner button,
.admin-dashboard-actions button,
.opening-card button,
.filter-action-row button,
.reception-intro-continue {
  min-height: 48px;
  border-radius: var(--radius-control);
  letter-spacing: 0;
}

.primary-button,
.lead-form button,
.reception-intro-continue {
  background: linear-gradient(135deg, var(--navy), var(--deep));
  color: #fff;
}

.secondary-button,
.filter-action-row button,
.admin-dashboard-actions button {
  border-color: #cfe0e9;
  background: #fff;
  color: var(--deep);
}

.pc-section,
.trust-strip div,
.process-grid article,
.policy-section article,
.compliance-grid article,
.opening-card,
.audience-note,
.reception-route-panel article,
.filter-control,
.lead-form label,
.form-trust-note,
.data-flow-note,
.modal-dialog,
.referral-banner aside {
  border-radius: var(--radius-card);
}

.opening-card,
.audience-note,
.reception-route-panel article,
.filter-control,
.lead-form label,
.form-trust-note {
  border-color: #d7e6ee;
  box-shadow: 0 8px 22px rgba(23, 59, 79, 0.055);
}

.filter-control input,
.filter-control select,
.lead-form input,
.lead-form select,
.lead-form textarea {
  min-height: 48px;
  border-color: #d4e4ec;
  border-radius: var(--radius-control);
  background: #fbfdff;
}

.filter-control input:focus,
.filter-control select:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.audience-tabs button:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.lead-form button:focus-visible,
.reception-intro-continue:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.hero-proof-strip span,
.hero-live-row span,
.opening-live-badge {
  border-color: rgba(255, 255, 255, 0.24);
  letter-spacing: 0;
}

.ad-unit-shell {
  border-radius: var(--radius-card);
  border: 1px dashed #cfe0e9;
  background: rgba(255, 255, 255, 0.58);
  padding-inline: 16px;
}
