:root {
  color-scheme: light;
  --navy: #122f40;
  --ink: #172f3c;
  --teal: #126754;
  --muted: #526572;
  --line: #d9e2e6;
  --paper: #fff;
  --ground: #f4f7f8;
  --header: 68px;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header) + 22px); }
body { margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid #087bdd; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 99; inset: 8px auto auto 8px; background: white; color: var(--navy); padding: .5rem 1rem; }
.mast { position: sticky; top: 0; z-index: 10; background: var(--navy); color: #fff; }
.mast-inner { max-width: 1512px; margin: auto; height: var(--header); display: flex; gap: 22px; align-items: center; padding-inline: clamp(20px, 3.4vw, 52px); }
.document-home { font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.4; font-weight: 700; letter-spacing: -.035em; }
.mast-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mast-actions a, .mast-actions button { display: inline-flex; align-items: center; gap: 7px; justify-content: center; min-height: 39px; border-radius: 6px; padding: 5px 13px; background: transparent; color: white; border: 1px solid #627c89; font-size: .875rem; line-height: 1.3; }
.mast-actions .print { width: 40px; padding: 0; }
.mast-actions :is(a,button):hover { background: #29495a; }
.mast-actions svg { width: 16px; }
.layout { width: min(100%, 1512px); margin-inline: auto; padding: clamp(24px, 3.1vw, 47px) clamp(20px, 3.4vw, 52px) 38px; display: grid; grid-template-columns: clamp(175px, 16vw, 238px) minmax(0, 1fr); gap: clamp(24px, 3.2vw, 49px); }
.sidebar { position: sticky; top: calc(var(--header) + 28px); align-self: start; max-height: calc(100dvh - var(--header) - 46px); overflow-y: auto; padding: 11px 0 4px; }
.sidebar h2 { font-size: .875rem; color: var(--muted); margin: 0 0 14px 12px; font-weight: 700; }
.toc { display: grid; gap: 3px; }
.toc a { border-radius: 5px; font-size: .9375rem; padding: 9px 12px; color: #3e5361; display: block; font-weight: 520; }
.toc a:hover { color: var(--teal); background: #e8efef; }
.toc a[aria-current] { color: #0c5142; background: #deebe6; font-weight: 730; box-shadow: inset 3px 0 #317f67; }
.doc-links { display: grid; gap: 4px; border-top: 1px solid var(--line); margin: 23px 10px; padding-top: 16px; }
.doc-links a, .mobile-word { display: flex; align-items: center; gap: .6rem; color: var(--muted); padding: 5px 0; font-size: .875rem; }
.doc-links a:hover, .mobile-word:hover, footer a:hover { color: var(--teal); text-decoration: underline; }
.doc-links svg, .mobile-word svg { width: 16px; }
.mobile-toc { display: none; }
main { min-width: 0; }
.hero, .paper { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.hero { overflow: hidden; }
.hero-main { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(16px, 2vw, 32px); padding: clamp(28px, 3.5vw, 58px) clamp(24px, 3.4vw, 50px) clamp(26px, 3.2vw, 46px); }
.issue { color: var(--teal); font-size: .875rem; font-weight: 660; margin: 0 0 16px; }
.issue time { margin-left: .2rem; font-variant-numeric: tabular-nums; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--navy); letter-spacing: -.045em; text-wrap: pretty; }
h1 { font-size: clamp(2.25rem, 4.1vw, 4.2rem); line-height: 1.12; font-weight: 800; }
.hero-summary { color: #3e5561; margin-top: 20px; line-height: 1.8; font-weight: 490; }
.hero-preview { min-width: 0; background: linear-gradient(135deg, #e2eee7, #eaf2eb 60%, #d8e7e1); border: 1px solid #d5e2da; min-height: 189px; aspect-ratio: 1.66; border-radius: 10px; display: grid; place-items: center; padding: 7.4%; position: relative; }
.window-frame { width: 100%; display: block; line-height: 0; background: #fff; border-radius: 5px; border: 1px solid #b8c9c2; overflow: hidden; box-shadow: 0 10px 22px #1a463721; transform: rotate(-2deg); transition: transform .18s; }
.hero-preview:hover .window-frame { transform: rotate(0); }
.window-chrome { height: 14px; display: flex; align-items: center; gap: 3px; background: #f6f8f6; padding-left: 7px; border-bottom: 1px solid #dbe4dd; }
.window-chrome b { width: 4px; height: 4px; border-radius: 50%; background: #9ab0a6; }
.window-frame img { width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding: 20px clamp(24px, 3.4vw, 50px); border-top: 1px solid var(--line); background: #fafcfb; }
.facts div + div { border-left: 1px solid var(--line); padding-left: clamp(12px, 2.5vw, 36px); }
.facts dt { font-size: .875rem; font-weight: 600; color: var(--muted); }
.facts dd { color: var(--navy); font-size: clamp(1.65rem, 2.75vw, 2.55rem); font-weight: 750; line-height: 1.25; margin: .26rem 0; letter-spacing: -.045em; }
.facts dd span, .facts em { margin-left: 2px; font-size: .58em; font-style: normal; letter-spacing: -.035em; }
.facts small { color: var(--muted); font-size: .8125rem; }
.paper { padding: clamp(25px, 3.3vw, 48px); margin-top: 22px; }
.paper h2 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.35; margin-bottom: 1.15rem; }
.paper h3 { font-size: 1.23rem; line-height: 1.4; margin: 1.9rem 0 .6rem; }
.paper p { color: #394f5d; line-height: 1.85; }
.paper p + p { margin-top: .65rem; }
.paper .scope-editing strong { color: #142b37; font-weight: 750; }
.paper .lead { color: #324e5d; margin-bottom: 1.2rem; }
.paper .note { font-size: .9375rem; color: #526674; margin-top: .85rem; }
.source { font-size: .875rem; }
.source a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.labeled strong { color: var(--teal); margin-right: .4em; }
.table-wrap { margin: 1.05rem 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
table { border-collapse: collapse; width: 100%; font-size: .9375rem; line-height: 1.7; }
th, td { text-align: left; padding: 13px 16px; vertical-align: top; }
thead th { background: #e8f0f0; color: var(--navy); font-size: .875rem; font-weight: 700; }
tbody th { color: #203f4d; font-weight: 650; }
tbody tr:nth-child(even) { background: #f7f9fa; }
tbody tr { border-top: 1px solid var(--line); }
td { color: #405462; }
.scope-table tbody th, .cms-table tbody th { width: 21%; }
.cms-table tbody td { width: 39.5%; }
.price-table :is(th,td):last-child { text-align: right; white-space: nowrap; }
.price-table tbody th { width: 26%; }
.price-table .total { background: #e9f3ef; color: var(--teal); font-weight: 730; }
.price-table .total th { text-align: left; }
.schedule-table tbody th { width: 16%; }
.hosting-table { font-variant-numeric: tabular-nums; }
.care-table :is(td,th):last-child { text-align: right; }
.gallery-intro { padding: 15px 18px; border-left: 3px solid #4d8d77; border-radius: 0 6px 6px 0; background: #eef5f1; }
.paper .gallery-help { font-size: .875rem; color: var(--muted); margin: 14px 0 22px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 21px; }
.screen-card { min-width: 0; }
.screen-link { position: relative; display: grid; place-items: center; aspect-ratio: 1.6; padding: 5px; background: #edf2f0; overflow: hidden; border-radius: 8px; border: 1px solid #ccd9d5; cursor: zoom-in; }
.screen-link img { display: block; width: 100%; height: 100%; object-fit: contain; min-height: 0; min-width: 0; }
.expand-symbol { position: absolute; right: 7px; bottom: 7px; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #c5d3cf; color: var(--navy); border-radius: 5px; background: #fffffff0; }
.expand-symbol svg { width: 15px; }
.screen-link:hover { border-color: #438673; }
.screen-card h3 { font-size: 1.06rem; margin: .75rem 0 .25rem; }
.screen-card figcaption p { font-size: .9375rem; line-height: 1.7; color: #4c626d; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 4px 0; color: #536675; font-size: .875rem; }
footer a { display: flex; align-items: center; gap: 5px; }
footer svg { width: 16px; }
dialog { width: min(96vw, 1550px); max-width: none; padding: 0; border: 1px solid #b9cacc; border-radius: 12px; background: white; color: var(--ink); }
dialog::backdrop { background: #0b2030d6; }
body.showing-dialog { overflow: hidden; }
.viewer-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 15px; }
.viewer-head h2 { font-size: 1.05rem; line-height: 1.3; }
.viewer-controls { display: flex; gap: 7px; align-items: center; }
.viewer-controls button { min-height: 37px; padding: 6px 12px; border-radius: 5px; border: 1px solid var(--line); background: #f4f7f8; font-size: .875rem; }
.viewer-controls #dismiss { display: grid; place-items: center; width: 37px; padding: 0; }
.viewer-canvas { overflow: auto; max-height: calc(90dvh - 62px); background: #eaf0ee; border-top: 1px solid var(--line); }
.viewer-canvas img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(90dvh - 64px); margin: 0 auto; }
.viewer-canvas.full img { max-height: none; max-width: none; }
@media (max-width: 1090px) {
  .layout { grid-template-columns: 168px minmax(0, 1fr); gap: 18px; }
  .hero-main { padding: 28px 24px; gap: 12px; }
  .wide-break { display: none; }
  .hero-preview { min-height: 150px; }
  .paper { padding: 25px; }
  th, td { padding: 11px 12px; }
}
@media (max-width: 820px) {
  :root { --header: 60px; }
  .layout { display: block; max-width: 770px; padding: 16px clamp(12px, 3.5vw, 24px) 28px; }
  .sidebar { display: none; }
  .mobile-toc { border: 1px solid var(--line); border-radius: 8px; display: block; background: white; margin-bottom: 12px; }
  .mobile-toc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; font-size: .875rem; font-weight: 650; cursor: pointer; }
  .mobile-toc summary::-webkit-details-marker { display: none; }
  .mobile-toc[open] summary svg { transform: rotate(180deg); }
  .mobile-toc nav { grid-template-columns: 1fr 1fr; padding: 0 6px 8px; }
  .mobile-word { margin: 0 17px 8px; padding: 8px 0; border-top: 1px solid var(--line); }
  .hero-main { grid-template-columns: 1.02fr .9fr; }
  .hero-preview { min-height: 135px; }
}
@media (max-width: 580px) {
  .mast-inner { padding: 0 16px; gap: 12px; }
  .mast-actions a { padding: 4px 10px; }
  .mast-actions .print { width: 37px; }
  .hero, .paper { border-radius: 10px; }
  .hero-main { padding: 23px 21px; display: block; }
  .hero-preview { display: none; }
  h1 { font-size: clamp(2.25rem, 8vw, 3rem); }
  .hero-summary { margin-top: 14px; }
  .issue { margin-bottom: 12px; }
  .facts { gap: 4px; padding: 14px 14px; }
  .facts div + div { padding-left: 9px; }
  .facts dd { font-size: 1.65rem; }
  .facts dt { font-size: .8125rem; }
  .facts small { font-size: .75rem; }
  .paper { padding: 22px 16px; margin-top: 13px; }
  .paper h2 { font-size: 1.5rem; }
  .paper h3 { font-size: 1.12rem; }
  .gallery { grid-template-columns: 1fr; gap: 21px; }
  .screen-card h3 { margin-top: .6rem; }
  .table-wrap:not(.hosting-table) :is(table,tbody,tr,td,th) { display: block; width: auto; }
  .table-wrap:not(.hosting-table) thead { position: absolute; overflow: hidden; width: 1px; height: 1px; clip-path: inset(50%); }
  .table-wrap:not(.hosting-table) tbody tr { padding: 13px 14px; }
  .table-wrap:not(.hosting-table) tbody tr:first-child { border: 0; }
  .table-wrap:not(.hosting-table) :is(td,th) { text-align: left; padding: 0; white-space: normal; }
  .table-wrap:not(.hosting-table) td { margin-top: 5px; }
  .table-wrap:is(.cms-table,.schedule-table,.price-table,.care-table) td::before { content: attr(data-label) "  "; font-size: .8125rem; font-weight: 700; color: #47655f; display: inline; margin-right: 5px; }
  .hosting-table { overflow-x: auto; }
  .hosting-table :is(td,th) { padding: 9px 6px; font-size: .81rem; }
  .hosting-table :is(td,th):not(:last-child) { border-right: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print {
  @page { size: A4; margin: 15mm 13mm; }
  body { background: white; font-size: 10pt; }
  .mast,.sidebar,.mobile-toc,.skip,.hero-preview,footer,.expand-symbol,dialog,.gallery-help { display: none !important; }
  .layout { display: block; padding: 0; max-width: none; }
  .paper,.hero { border: 0; border-radius: 0; margin: 0; padding: 0; }
  .paper + .paper { break-before: page; }
  .hero-main { display: block; padding: 0; }
  .facts { margin: 14pt 0; padding: 8pt 0; }
  h1 { font-size: 25pt; }
  .paper h2 { font-size: 17pt; }
  .paper h3 { font-size: 12pt; }
  h1,h2,h3 { break-after: avoid; }
  tr,figure { break-inside: avoid; }
  .table-wrap { overflow: visible; }
  table { font-size: 9pt; }
  th,td { padding: 4pt 6pt; }
  .gallery { display: block; }
  .screen-card { margin: 0 0 14pt; }
  .screen-link { height: 84mm; aspect-ratio: auto; }
  .gallery-intro { margin-bottom: 10pt; }
  .paper p, .paper .note { line-height: 1.65; font-size: 10pt; }
}
