:root {
  color-scheme: light;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv05", "cv08", "tnum";
  color: #202932;
  background: #f1f4f8;
  scroll-padding-top: var(--header-height, 0px);
  --ink: #16263e;
  --muted: #52637a;
  --line: #d7e0ec;
  --blue: #165ab7;
  --navy: #0e2340;
  --active: #e6effb;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; min-width: 320px; font-size: 15px; line-height: 1.6; letter-spacing: -.015em; word-break: keep-all; overflow-wrap: break-word; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button, input, select { min-height: 46px; border-radius: 8px; }
button { border: 1px solid var(--blue); background: var(--blue); color: white; font-weight: 600; padding: 0 23px; white-space: nowrap; letter-spacing: -.01em; }
button:hover { background: #114997; }
button:disabled { cursor: default; opacity: .55; }
input, select { width: 100%; border: 1px solid #aebdd0; background: white; color: var(--ink); padding: 0 13px; }
select { appearance: none; padding-right: 36px; background: linear-gradient(45deg, transparent 50%, #435671 50%) calc(100% - 16px) 50% / 5px 5px no-repeat, linear-gradient(135deg, #435671 50%, transparent 50%) calc(100% - 11px) 50% / 5px 5px no-repeat white; }
:focus-visible { outline: 3px solid #4786da; outline-offset: 3px; }
.skip { position: fixed; top: -50px; left: 10px; z-index: 3; padding: 8px 12px; color: white; background: var(--blue); }
.skip:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .page-layout { width: min(100% - 64px, 1180px); margin-inline: auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 77px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand > div { min-width: 0; }
.brand-logo-link { display: block; flex: none; border-radius: 6px; }
.brand-logo { display: block; width: 120px; height: auto; flex: none; }
.brand strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.brand div > span { display: block; color: var(--muted); font-size: 13.5px; font-weight: 500; letter-spacing: -.01em; }
.draft-label { padding: 6px 13px; border-radius: 20px; background: #ebf0f6; color: #17385f; font-size: 13px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.page-layout { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: start; gap: 24px; padding-block: 24px 28px; }
.sidebar-nav { position: sticky; top: calc(var(--header-height, 0px) + 24px); display: flex; flex-direction: column; gap: 5px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.sidebar-nav a { text-decoration: none; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border-radius: 8px; color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: -.015em; }
.sidebar-nav a:hover, .sidebar-nav a[aria-current] { background: var(--active); color: var(--blue); }
.icon { width: 16px; height: 16px; display: inline-block; position: relative; flex: 0 0 16px; }
.guide-icon { border: 1.7px solid currentColor; border-radius: 2px; background: linear-gradient(currentColor, currentColor) 3px 4px / 7px 1px no-repeat, linear-gradient(currentColor, currentColor) 3px 8px / 7px 1px no-repeat; }
.resource-icon { border: 1.7px solid currentColor; border-radius: 2px; width: 13px; flex-basis: 13px; margin-right: 3px; background: linear-gradient(currentColor, currentColor) 3px 5px / 6px 1px no-repeat, linear-gradient(currentColor, currentColor) 3px 9px / 6px 1px no-repeat; }
.profile-icon::before, .profile-icon::after { position: absolute; left: 4px; border: 1.5px solid currentColor; content: ""; }
.profile-icon::before { top: 1px; width: 6px; height: 6px; border-radius: 50%; }
.profile-icon::after { bottom: 0; width: 10px; height: 5px; border-radius: 7px 7px 2px 2px; }
.content { min-width: 0; }
.intro-band { min-height: 310px; margin: 0 0 34px; padding: 46px 52px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; color: white; background: var(--navy); position: relative; border-radius: 18px; }
.intro-band::after { position: absolute; top: -135px; right: 90px; width: 360px; height: 520px; border: 1px solid rgba(255,255,255,.17); transform: rotate(38deg); content: ""; }
.intro-band > div:first-child { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 10px; color: #9dbce2; font-size: 11px; font-weight: 750; letter-spacing: 1.2px; }
.intro-band h1 { margin: 0; font-size: 37px; line-height: 1.3; font-weight: 680; }
.intro-copy { max-width: 470px; margin: 15px 0 0; color: #c3d4e8; font-size: 14px; }
.intro-index { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: #c3d4e8; font-size: 12px; font-weight: 700; }
.intro-index i { width: 70px; border-top: 1px solid #637c9b; }
.guide-tools, .resource-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.search-box { min-height: 48px; width: min(100%, 520px); display: flex; align-items: center; gap: 11px; padding: 0 14px; background: white; border: 1px solid var(--line); }
.search-box svg { width: 19px; height: 19px; flex: 0 0 19px; fill: none; stroke: #71807a; stroke-width: 1.8; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-box:focus-within { outline: 3px solid #4786da; outline-offset: 3px; }
.segments { display: flex; gap: 4px; padding: 4px; background: #ebf0f6; border-radius: 10px; }
.segment { min-height: 36px; padding: 0 15px; color: var(--muted); background: transparent; border: 1px solid transparent; font-size: 13px; font-weight: 600; }
.segment.is-active { color: white; background: var(--blue); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 34px 0 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.section-heading .eyebrow { margin-bottom: 2px; color: var(--blue); }
.section-heading h2 { margin: 0; font-size: 20px; font-weight: 700; }
.section-heading > span { color: var(--muted); font-size: 13px; }
.guide-list > .empty-state { grid-column: 1 / -1; }
.guide-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.guide-card { min-width: 0; padding: 21px 22px 18px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--blue); animation: rise-in .35s ease both; animation-delay: calc(var(--card-order, 0) * 55ms); }
.guide-card-top { display: flex; align-items: center; gap: 9px; }
.tag { padding: 2px 8px; color: var(--blue); background: var(--active); font-size: 11px; font-weight: 750; }
.stage-label { color: var(--muted); font-size: 12px; }
.guide-card h3 { margin: 12px 0 3px; font-size: 17px; }
.guide-summary { min-height: 46px; color: var(--muted); font-size: 13px; }
.checklist { display: grid; gap: 8px; margin: 15px 0 0; padding: 14px 0 0; border-top: 1px solid #edf0ec; list-style: none; }
.checklist li { position: relative; padding-left: 22px; color: #3c4542; font-size: 13px; }
.checklist li::before { position: absolute; top: 2px; left: 0; width: 13px; height: 13px; border: 1px solid #9fb8dd; border-radius: 50%; content: ""; }
.draft-note { display: flex; gap: 13px; margin: 23px 0 42px; padding: 13px 15px; color: #34547b; background: #eaf0f8; font-size: 12px; border-radius: 8px; }
.draft-note strong { flex: 0 0 auto; }
.section-intro { padding: 39px 0 25px; border-bottom: 1px solid var(--line); }
.section-intro .eyebrow { color: var(--blue); }
.section-intro h1 { margin: 0; font-size: 32px; line-height: 1.25; }
.section-intro > p:last-child { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.resource-tools { margin-top: 24px; }
.select-wrap select { min-height: 48px; min-width: 150px; padding: 0 35px 0 12px; color: var(--ink); background-color: white; border: 1px solid var(--line); }
.resource-list { display: grid; border-top: 1px solid var(--line); }
.resource-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 17px 4px; border-bottom: 1px solid var(--line); }
.file-type { width: 43px; height: 43px; display: grid; place-items: center; color: var(--blue); background: var(--active); font-size: 10px; font-weight: 800; border-radius: 6px; }
.resource-detail h3 { margin: 2px 0; font-size: 15px; }
.resource-detail p { color: var(--muted); font-size: 12px; }
.resource-audience { color: var(--blue); font-size: 11px; font-weight: 700; }
.download-link { min-height: 38px; padding: 6px 13px; color: var(--blue); border: 1px solid #aebfb3; text-decoration: none; font-size: 12px; font-weight: 700; }
.download-link:hover { background: var(--active); }
.resource-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.resource-actions button { background: white; border-radius: 0; }
.resource-actions button:hover { background: var(--active); }
.preview-open { overflow: hidden; }
.resource-preview { width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #e8edf3; }
.resource-preview::backdrop { background: rgb(14 35 64 / 65%); }
.preview-toolbar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 20px; background: white; border-bottom: 1px solid var(--line); }
.preview-toolbar h2 { margin: 0; font-size: 18px; }
.preview-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.preview-actions button { min-height: 38px; padding: 0 13px; font-size: 13px; }
.preview-note, .preview-status { margin: 12px 20px; color: var(--muted); font-size: 13px; }
.preview-pages { display: grid; gap: 20px; padding: 0 20px 24px; }
.preview-page { margin: 0; }
.preview-page img { display: block; width: 100%; height: auto; background: white; box-shadow: 0 2px 8px rgb(14 35 64 / 12%); }
.preview-page figcaption { padding-top: 6px; color: var(--muted); font-size: 12px; text-align: center; }
.resource-print-sheet { display: none; }
.empty-state { padding: 50px 16px; color: var(--muted); background: white; border: 1px dashed var(--line); text-align: center; }
.privacy-strip { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0; padding: 14px 16px; color: #34547b; background: #eaf0f8; font-size: 12px; border-radius: 8px; }
.privacy-mark { width: 20px; height: 20px; display: grid; flex: 0 0 20px; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: 12px; font-weight: 800; }
.privacy-strip p { margin: 0; }
.privacy-strip strong { margin-right: 7px; color: var(--blue); }
.profile-form { padding: 24px 29px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.profile-form fieldset { margin: 0; padding: 0 0 25px; border: 0; }
.profile-form fieldset + fieldset { padding-top: 23px; border-top: 1px solid var(--line); }
.profile-form legend { width: 100%; margin-bottom: 17px; color: var(--ink); font-size: 16px; font-weight: 700; }
.profile-form legend span { margin-right: 9px; color: var(--blue); font-size: 11px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; }
.field-grid label { display: block; color: #48534e; font-size: 12px; font-weight: 650; }
.field-grid label em { color: #b94d2b; font-style: normal; }
.field-grid input, .field-grid textarea { width: 100%; display: block; margin-top: 6px; padding: 10px 11px; color: var(--ink); background: #fff; border: 1px solid #aebdd0; }
.field-grid input { min-height: 43px; }
.field-grid textarea { resize: vertical; line-height: 1.55; }
.field-grid .wide { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-actions button { min-height: 42px; padding: 0 15px; font-weight: 650; }
.button-secondary { color: var(--blue); background: white; border: 1px solid #9cb5d7; }
.button-secondary:hover { background: var(--active); }
.button-primary { color: white; background: var(--blue); border: 1px solid var(--blue); }
.button-primary:hover { background: #114997; }
.form-status { min-height: 1.4em; margin: 8px 0 0; color: var(--blue); text-align: right; font-size: 12px; }
.print-sheet { display: none; }
footer { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0; padding: 15px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .site-header { min-height: 72px; padding-inline: 20px; }
  .header-inner, .page-layout { width: min(100% - 32px, 620px); }
  .header-inner { min-height: 72px; }
  .brand { margin-right: auto; }
  .draft-label { max-width: 145px; white-space: normal; text-align: center; font-size: 11px; }
  .page-layout { grid-template-columns: 1fr; gap: 12px; padding-block: 12px 20px; }
  .sidebar-nav { position: static; flex-direction: row; justify-content: space-between; gap: 4px; padding: 5px; }
  .sidebar-nav a { flex: 1; justify-content: center; padding: 9px 5px; font-size: 13px; }
  .intro-band { min-height: 270px; margin: 0 0 24px; padding: 30px 25px; }
  .intro-band h1 { font-size: 30px; }
  .intro-index { display: none; }
  .guide-tools { align-items: stretch; flex-direction: column; gap: 10px; }
  .search-box { width: 100%; }
  .segments { align-self: flex-start; }
  .guide-list { grid-template-columns: 1fr; }
  .guide-summary { min-height: 0; }
  .section-intro { padding-top: 29px; }
  .section-intro h1 { font-size: 28px; }
  .resource-tools { align-items: stretch; flex-direction: column; }
  .select-wrap select { width: 100%; }
  .profile-form { padding: 20px 17px; }
  footer { flex-direction: column; gap: 2px; }
}
@media (max-width: 480px) {
  .site-header { padding-inline: 14px; }
  .header-inner, .page-layout { width: calc(100% - 28px); }
  .header-inner { flex-wrap: wrap; gap: 6px 10px; padding-block: 8px; }
  .brand-logo { width: 88px; }
  .brand { gap: 10px; }
  .brand strong { font-size: 15px; }
  .brand div > span { font-size: 12px; }
  .draft-label { max-width: 105px; margin-left: auto; font-size: 10px; line-height: 1.3; }
  .intro-band { min-height: 245px; padding: 26px 19px; }
  .intro-band h1 { font-size: 27px; }
  .intro-copy { font-size: 13px; }
  .resource-row { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; }
  .file-type { width: 38px; height: 38px; }
  .resource-actions { grid-column: 2; justify-content: flex-start; }
  .field-grid { grid-template-columns: 1fr; gap: 13px; }
  .field-grid .wide { grid-column: auto; }
  .form-actions { flex-wrap: wrap; }
  .form-actions button { flex: 1 1 auto; padding-inline: 9px; font-size: 12px; }
}
@media print {
  @page { margin: 17mm; }
  body { min-width: 0; color: #111; background: white; font-size: 11pt; }
  body > * { display: none !important; }
  body > #print-sheet { display: block !important; width: 100%; margin: 0; }
  .print-sheet h1 { margin: 0 0 5mm; text-align: center; font-size: 20pt; }
  .print-eyebrow { color: #555; text-align: center; font-size: 8pt; letter-spacing: 1pt; }
  .print-date { margin-bottom: 8mm; color: #555; text-align: right; font-size: 9pt; }
  .print-row { min-height: 12mm; display: grid; grid-template-columns: 35mm 1fr; border-top: 1px solid #aaa; break-inside: avoid; }
  .print-row:last-child { border-bottom: 1px solid #aaa; }
  .print-row strong, .print-row span { padding: 2.5mm 3mm; white-space: pre-wrap; overflow-wrap: anywhere; }
  .print-row strong { background: #ebf0f6; }
  @page resource-document { size: A4; margin: 0; }
  body[data-print-target="resource"] > #print-sheet { display: none !important; }
  body[data-print-target="resource"] > #resource-print-sheet { display: block !important; }
  .resource-print-page { page: resource-document; width: 210mm; height: 297mm; break-after: page; }
  .resource-print-page:last-child { break-after: auto; }
  .resource-print-page img { display: block; width: 100%; height: 100%; object-fit: contain; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-card { animation: none; }
}
