:root{
  --ink:#171b1f;
  --body:#2f383e;
  --muted:#737d84;
  --soft:#9aa2a7;
  --hair:#dde3e5;
  --bg:#fbfbfa;
}
*{box-sizing:border-box}
html{
  background:var(--bg);
  -webkit-text-size-adjust:100%;
}
body{
  margin:0;
  background:linear-gradient(180deg,#fff 0%,#fbfbfa 72%,#f8f8f7 100%);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Noto Sans KR","Apple SD Gothic Neo",system-ui,sans-serif;
  letter-spacing:-.018em;
}
a[x-apple-data-detectors],
.footer a,
.footer span{
  color:inherit !important;
  text-decoration:none !important;
  pointer-events:none;
  cursor:default;
}
main{
  width:100%;
  max-width:620px;
  margin:0 auto;
  padding:42px 22px 82px;
}
main.index{max-width:650px}
.exit{
  position:fixed;
  top:25px;
  right:26px;
  z-index:20;
  color:#858b90;
  background:transparent;
  border:0;
  padding:0;
  font-size:10.5px;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
}
.exit:hover{text-decoration:underline}
.lockup{
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 30px;
}
.logo{
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 auto;
}
h1{
  margin:0;
  font-size:22px;
  line-height:1.18;
  font-weight:780;
  letter-spacing:-.044em;
}
.status{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 30px;
}
.status div{
  border:1px solid var(--hair);
  border-radius:8px;
  background:rgba(255,255,255,.94);
  padding:9px 10px 10px;
  min-height:58px;
}
.status strong{
  display:block;
  margin:0 0 5px;
  color:#747d83;
  font-size:9.8px;
  line-height:1.2;
  font-weight:700;
}
.status span{
  color:#172126;
  font-size:11.8px;
  line-height:1.42;
}
.list{border-top:1px solid var(--hair)}
.row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 46px;
  gap:14px;
  padding:15px 0;
  border-bottom:1px solid var(--hair);
  color:inherit;
  text-decoration:none;
}
.row:hover .row-title{text-decoration:underline}
.no{
  color:#9aa2a7;
  font-size:11.5px;
  line-height:1.6;
}
.row-title{
  margin:0 0 5px;
  font-size:14.8px;
  line-height:1.36;
  font-weight:770;
}
.row-desc{
  color:#6d767c;
  font-size:12.6px;
  line-height:1.64;
}
.kind{
  color:#9aa2a7;
  text-align:right;
  font-size:10px;
  line-height:1.8;
}
.docno{
  display:block;
  margin:0 0 8px;
  color:#98a0a5;
  font-size:10.5px;
  letter-spacing:.05em;
}
.doc-title{
  margin:0 0 26px;
  font-size:20.5px;
  line-height:1.34;
  font-weight:750;
  letter-spacing:-.042em;
}
.lead{
  margin:0 0 24px;
  color:#333d43;
  font-size:13.8px;
  line-height:1.88;
}
.meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin:0 0 26px;
}
.meta div{
  border:1px solid var(--hair);
  border-radius:8px;
  background:#fff;
  padding:10px 11px;
  color:#2f383e;
  font-size:12.2px;
  line-height:1.65;
}
.meta b{
  display:block;
  color:#788087;
  font-size:10px;
  margin-bottom:4px;
}
section{margin:25px 0 0}
h2{
  margin:0 0 10px;
  color:#242b30;
  font-size:10.8px;
  line-height:1.5;
  font-weight:810;
  letter-spacing:.13em;
  text-transform:uppercase;
}
p,li{
  color:var(--body);
  font-size:13.5px;
  line-height:1.9;
}
p{margin:0 0 11px}
ul,ol{margin:8px 0 0;padding-left:20px}
.table{
  width:100%;
  border-collapse:collapse;
  margin:12px 0 0;
  font-size:12.5px;
}
.table th,.table td{
  border-bottom:1px solid var(--hair);
  padding:9px 8px;
  vertical-align:top;
  text-align:left;
  line-height:1.68;
}
.table th{
  color:#687178;
  background:#fbfcfc;
  font-size:10.5px;
  font-weight:770;
}
.note{
  border:1px solid var(--hair);
  background:#fff;
  border-radius:9px;
  padding:13px 14px;
  color:#3f484e;
  font-size:12.8px;
  line-height:1.82;
}
code{
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.91em;
  background:#f4f6f6;
  border:1px solid #e4e8e9;
  border-radius:5px;
  padding:1px 5px;
}
.footer{
  margin:66px auto 0;
  text-align:center;
  color:#989fa3;
  font-size:10.8px;
  line-height:1.78;
  max-width:610px;
  letter-spacing:-.025em;
}
.footer span{display:inline-block}
.mobile-only{display:none}
.desktop-only{display:inline}
@media(max-width:680px){
  main{max-width:100%;padding:36px 26px 62px}
  .exit{top:23px;right:28px;font-size:10px}
  .lockup{margin-bottom:25px}
  .logo{width:26px;height:26px}
  h1{font-size:18px;line-height:1.25}
  .status{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:7px;
    margin-bottom:28px;
  }
  .status div{
    min-height:52px;
    padding:8px 7px 8px;
    border-radius:8px;
  }
  .status strong{
    font-size:8.7px;
    line-height:1.2;
    margin-bottom:4px;
  }
  .status span{
    font-size:10px;
    line-height:1.38;
    letter-spacing:-.03em;
  }
  .row{
    grid-template-columns:32px minmax(0,1fr) 38px;
    gap:10px;
    padding:14px 0;
  }
  .no{font-size:10.8px}
  .row-title{font-size:13.5px;line-height:1.34}
  .row-desc{font-size:11.8px;line-height:1.62}
  .kind{font-size:9.5px}
  .doc-title{font-size:18px;line-height:1.38;margin-bottom:22px}
  .lead{font-size:13px;line-height:1.82}
  .meta{grid-template-columns:1fr}
  p,li{font-size:12.8px;line-height:1.86}
  .table{font-size:11.6px}
  .table th,.table td{padding:8px 6px}
  .footer{
    max-width:342px;
    font-size:10.4px;
    line-height:1.78;
    margin-top:54px;
  }
  .desktop-only{display:none}
  .mobile-only{display:inline}
}

/* R13 precise exit placement
   Desktop: align [ exit ] with the right vertical line of the content/meta block.
   Mobile: move slightly right so its center aligns with the PDF/HTML kind column center. */
.exit{
  position:fixed;
  top:44px;
  left:calc(50% + 288px);
  right:auto;
  width:44px;
  text-align:center;
  display:block;
}

@media(max-width:680px){
  .exit{
    top:23px;
    left:auto;
    right:18px;
    width:44px;
    text-align:center;
  }
}

/* R15 exit placement
   Desktop/laptop: [ exit ] is not fixed. It belongs to the document flow and scrolls down with the page.
   Mobile: keep fixed at the upper-right, aligned with the extension column area. */
@media(min-width:681px){
  .exit{
    position:absolute !important;
    top:44px !important;
    left:calc(50% + 288px) !important;
    right:auto !important;
    width:44px !important;
    text-align:center !important;
    display:block !important;
  }
}

@media(max-width:680px){
  .exit{
    position:fixed !important;
    top:23px !important;
    left:auto !important;
    right:18px !important;
    width:44px !important;
    text-align:center !important;
    display:block !important;
  }
}
