:root {
  color-scheme: light;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: #172033;
  background: #eef2f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 960px;
  min-height: 100vh;
  background: #eef2f7;
}

button, select { font: inherit; }
button { cursor: pointer; }

button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #d7e0eb;
}

.topbar-inner,
.page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #0f172a;
  font-size: 20px;
  font-weight: 900;
}

.back-link {
  color: #1d4ed8;
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover { text-decoration: underline; }
.page { padding: 26px 0 44px; }

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 18px;
}

.eyebrow,
.guide-label {
  margin: 0 0 4px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 900;
}

.intro h1 {
  margin: 0;
  color: #0f172a;
  font-size: 30px;
  line-height: 1.3;
  letter-spacing: 0;
}

.intro > div > p:last-child {
  margin: 7px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.checked-date {
  flex: 0 0 auto;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
}

.urgent-notice {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
  border: 2px solid #dc2626;
  background: #fff7f7;
  color: #7f1d1d;
  font-size: 14px;
  line-height: 1.55;
}

.urgent-notice strong { font-size: 15px; }
.urgent-notice b { color: #b91c1c; font-size: 16px; }

.scope-notice {
  padding: 11px 16px;
  border: 1px solid #cbd5e1;
  border-top: 0;
  background: #fff;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.situation-panel,
.guide-panel,
.support-board,
.evidence-note {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.situation-panel { padding: 18px; }

.situation-panel h2 {
  margin: 0;
  color: #0f172a;
  font-size: 17px;
}

.situation-panel > p {
  margin: 6px 0 13px;
  color: #64748b;
  font-size: 13px;
}

.situation-list { display: grid; gap: 7px; }

.situation-button {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f8fafc;
  color: #334155;
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.situation-button span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
}

.situation-button:hover { background: #f1f5f9; }

.situation-button[aria-pressed="true"] {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #115e59;
  box-shadow: inset 3px 0 0 #0f766e;
}

.situation-button[aria-pressed="true"] span {
  background: #0f766e;
  color: #fff;
}

.privacy-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.privacy-note strong {
  display: block;
  margin-bottom: 3px;
  color: #334155;
}

.guide-panel { overflow: hidden; }

.guide-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 15px 20px;
  border-bottom: 1px solid #cbd5e1;
  background: #f8fafc;
}

.guide-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 23px;
}

.guide-tag {
  padding: 7px 10px;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  background: #f0fdfa;
  color: #115e59;
  font-size: 12px;
  font-weight: 900;
}

.step-section {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.step-section h3,
.request-section h3 {
  margin: 0;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.6;
}

.step-section h3 span,
.request-section h3 span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 7px;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  font-size: 12px;
}

.step-list {
  margin: 0;
  padding-left: 21px;
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
}

.step-list li + li { margin-top: 7px; }

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px 12px;
}

.request-section p {
  margin: 9px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #0f766e;
  background: #f0fdfa;
  color: #134e4a;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 700;
}

.copy-button {
  min-height: 44px;
  border: 2px solid #0f766e;
  border-radius: 6px;
  background: #fff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.copy-button:hover { background: #f0fdfa; }

.copy-status {
  min-height: 23px;
  margin: 0;
  padding: 0 20px 12px;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}

.support-board {
  margin-top: 18px;
  overflow: hidden;
}

.support-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 18px;
  border-bottom: 1px solid #cbd5e1;
  background: #f8fafc;
}

.support-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.support-heading > p {
  margin: 0;
  color: #475569;
  font-size: 13px;
}

.support-heading > p strong { color: #0f766e; }

.support-row {
  display: grid;
  grid-template-columns: 88px 190px minmax(220px, 1fr) 230px;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
}

.support-row label {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.support-row select {
  min-height: 43px;
  padding: 0 10px;
  border: 2px solid #64748b;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.region-phone {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
}

.region-phone strong {
  color: #0f766e;
  font-size: 17px;
  white-space: nowrap;
}

.region-phone span { color: #64748b; }

.office-link {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
}

.office-link:hover { background: #115e59; }

.office-link.is-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: default;
}

.official-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 18px;
  border-top: 1px solid #e2e8f0;
  background: #fcfcfd;
}

.official-links a {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  text-underline-offset: 3px;
}

.evidence-note {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  margin-top: 18px;
  padding: 16px 18px;
  border-color: #fcd34d;
  background: #fffbeb;
  box-shadow: none;
}

.evidence-note h2 {
  margin: 0;
  color: #78350f;
  font-size: 15px;
}

.evidence-note p {
  margin: 0;
  color: #78350f;
  font-size: 13px;
  line-height: 1.6;
}

.source-footer {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  padding: 0 2px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}

.source-footer strong { flex: 0 0 auto; color: #475569; }

@media (max-width: 1100px) {
  .support-row { grid-template-columns: 78px 160px minmax(210px, 1fr) 200px; }
  .step-section { grid-template-columns: 135px minmax(0, 1fr); gap: 16px; }
}

@media print {
  body { min-width: 0; background: #fff; }
  .topbar, .situation-panel, .copy-button, .support-board, .official-links { display: none !important; }
  .page { width: 100%; padding: 0; }
  .workspace { display: block; }
  .guide-panel, .evidence-note { box-shadow: none; break-inside: avoid; }
}
