*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Noto Sans KR',sans-serif;background:#faf8f4;color:#161a24;-webkit-text-size-adjust:100%}
a{color:inherit;text-decoration:none}
img{max-width:100%}
header.top{display:flex;align-items:center;gap:22px;padding:14px 40px;border-bottom:1px solid #e8e3d8;background:rgba(250,248,244,.96);position:sticky;top:0;z-index:50;backdrop-filter:blur(6px)}
.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;flex-shrink:0}
.brand img{border-radius:8px}
nav.mainnav{display:flex;gap:18px;font-size:14px;font-weight:600;color:#4b5160;overflow-x:auto;white-space:nowrap;flex:1;scrollbar-width:none}
nav.mainnav::-webkit-scrollbar{display:none}
nav.mainnav a:hover,nav.mainnav a[aria-current]{color:#b3261e}
.status-pill{border:1px solid #d8d2c2;border-radius:999px;padding:6px 13px;font-size:12px;color:#6b7280;display:flex;align-items:center;gap:6px;white-space:nowrap}
.status-pill .dot{width:7px;height:7px;border-radius:50%;background:#2e7d46}
footer{padding:36px 40px 44px;border-top:1px solid #e8e3d8;margin-top:64px;font-size:13px;color:#8b8f9c;line-height:1.7}
footer .foot-cats,footer .foot-links{display:flex;gap:6px 18px;margin-bottom:10px;flex-wrap:wrap}
footer .foot-cats a{color:#4b5160;font-weight:600}
footer a:hover{color:#b3261e}
.crumb{font-size:13px;color:#8b8f9c;margin-bottom:16px}
.crumb a:hover{color:#b3261e}
.crumb .sep{margin:0 7px;color:#c9c3b3}
.wrap{max-width:1200px;margin:0 auto;padding:0 40px}
/* ---- 홈 ---- */
.hero{max-width:1200px;margin:0 auto;padding:56px 40px 28px}
.eyebrow{display:inline-block;background:#fbe9e7;color:#b3261e;font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;margin-bottom:18px}
.hero h1{font-family:'Black Han Sans',sans-serif;font-weight:400;font-size:46px;line-height:1.28;letter-spacing:-.5px}
.hero h1 em{font-style:normal;color:#b3261e}
.hero .desc{margin-top:18px;font-size:16.5px;line-height:1.75;color:#5b6070;max-width:640px}
.stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.stats span{background:#fff;border:1px solid #eae5d8;border-radius:10px;padding:8px 13px;font-size:13px;color:#4b5160}
.stats b{color:#b3261e}
.search{margin-top:26px;max-width:640px;position:relative}
.search input{width:100%;border:1.5px solid #d8d2c2;border-radius:12px;padding:15px 18px 15px 46px;font-size:16px;font-family:inherit;background:#fff}
.search input:focus{outline:3px solid #fbe9e7;border-color:#b3261e}
.search:before{content:'';position:absolute;left:17px;top:50%;width:14px;height:14px;border:2.5px solid #9a9ea8;border-radius:50%;transform:translateY(-62%)}
.search:after{content:'';position:absolute;left:31px;top:58%;width:8px;height:2.5px;background:#9a9ea8;transform:rotate(45deg)}
.noresult{display:none;padding:18px 0;color:#8b8f9c;font-size:14px}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:44px 0 16px}
.sec-h h2{font-size:22px;font-weight:800}
.sec-h a{font-size:13.5px;color:#b3261e;font-weight:700}
.sec-h .cnt{font-size:13px;color:#8b8f9c;font-weight:500;margin-left:6px}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.card{background:#fff;border:1px solid #eae5d8;border-radius:14px;padding:18px;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.card:hover{transform:translateY(-3px);box-shadow:0 14px 30px -18px rgba(22,26,36,.3)}
.card-icon{width:38px;height:38px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px;color:#fff;margin-bottom:12px;font-family:'Noto Serif KR',serif}
.card-title{font-weight:700;font-size:15.5px;margin-bottom:6px}
.card-sub{font-size:12.8px;color:#6b7080;line-height:1.55;margin-bottom:12px;flex:1}
.card-foot{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:#9a9ea8}
.card-foot .tag{color:#2e7d46;background:#e8f5ec;border-radius:5px;padding:2px 6px;font-weight:700}
.site-faq{max-width:860px}
/* ---- 서식 페이지 ---- */
.fp{max-width:1240px;margin:0 auto;padding:30px 40px 10px}
.fp-head{display:flex;gap:18px;align-items:flex-start}
.fp-icon{width:60px;height:60px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:28px;font-weight:700;flex-shrink:0;font-family:'Noto Serif KR',serif}
.fp-head h1{font-family:'Black Han Sans',sans-serif;font-weight:400;font-size:34px;line-height:1.3}
.fp-sum{font-size:15px;color:#5b6070;line-height:1.65;margin-top:6px;max-width:820px}
.badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.badges span{font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:6px;background:#f1efe8;color:#4b5160}
.badges span.g{background:#e8f5ec;color:#2e7d46}
.badges span.r{background:#fbe9e7;color:#b3261e}
.answer{background:#fff;border:1px solid #eae5d8;border-left:4px solid #b3261e;border-radius:12px;padding:18px 22px;margin:22px 0 0;max-width:900px}
.answer h2{font-size:16px;margin-bottom:6px}
.answer p{font-size:15px;line-height:1.75;color:#333844}
.dl-row{display:flex;gap:10px;margin:20px 0 6px;flex-wrap:wrap}
.dl-btn{background:#161a24;color:#fff;padding:12px 18px;border-radius:10px;font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:8px}
.dl-btn small{font-weight:500;opacity:.75;font-size:11.5px}
.dl-btn.write{background:#2e7d46}
.dl-btn.pdf{background:#b3261e}
.dl-btn.doc{background:#2b579a}
.dl-btn.xls{background:#1d6f42}
.dl-btn.hwp{background:#2e5c8a}
.dl-btn.off{background:#fff;color:#2e5c3e;border:1.5px solid #9fcfad}
.dl-btn:hover{filter:brightness(1.08)}
.source-box{background:#e8f5ec;border:1px solid #c8e6d0;border-radius:10px;padding:14px 18px;font-size:13.5px;color:#2e5c3e;margin:14px 0;line-height:1.65;max-width:900px}
.source-box a{text-decoration:underline}
.source-box a.dl-btn{text-decoration:none}
.source-box .dl-row{margin:10px 0 0}
.writer{margin-top:26px;scroll-margin-top:80px}
.wr-bar h2{font-size:20px;font-weight:800}
.wr-bar p{font-size:13.5px;color:#6b7080;margin:4px 0 12px;line-height:1.6}
.editor{display:grid;grid-template-columns:380px minmax(0,1fr);gap:22px;align-items:start}
.ed-left{background:#fff;border:1px solid #eae5d8;border-radius:14px;padding:16px;max-height:calc(100vh - 100px);overflow:auto;position:sticky;top:78px}
.toolbar{display:flex;gap:7px;align-items:center;margin-bottom:12px;flex-wrap:wrap}
.toolbar button{border:1.5px solid #e0dccf;background:#fff;border-radius:8px;padding:8px 12px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit;color:#161a24}
.toolbar button:hover{border-color:#b3261e;color:#b3261e}
.toolbar button.primary{background:#b3261e;color:#fff;border-color:#b3261e;padding:10px 18px;font-size:14px}
.toolbar button.primary:hover{color:#fff;filter:brightness(1.08)}
.toolbar button:disabled{opacity:.6;cursor:wait}
.save-st{font-size:11.5px;color:#2e7d46;margin-left:auto}
.seal-opt{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:700;color:#4b5160;background:#fcfbf8;border:1px dashed #e0dccf;border-radius:8px;padding:9px 11px;margin-bottom:12px;cursor:pointer}
.seal-opt input{width:16px;height:16px;accent-color:#b3261e}
.seal-opt small{font-weight:500;color:#9a9ea8;font-size:11px}
.fg{font-weight:800;font-size:13.5px;color:#b3261e;margin:16px 0 8px;padding-top:12px;border-top:1px dashed #eae5d8}
.fg:first-child{margin-top:0;padding-top:0;border-top:0}
.fl{display:block;margin-bottom:10px}
.fl span{display:block;font-size:12.5px;font-weight:700;color:#4b5160;margin-bottom:4px}
.fl input,.fl select,.fl textarea{width:100%;border:1px solid #d8d2c2;border-radius:8px;padding:9px 10px;font-size:14px;font-family:inherit;background:#fcfbf8;color:#161a24}
.fl textarea{resize:vertical;line-height:1.5}
.fl input:focus,.fl select:focus,.fl textarea:focus{outline:2px solid #fbe9e7;border-color:#b3261e;background:#fff}
.fl small{display:block;font-size:11.5px;color:#9a9ea8;margin-top:3px;line-height:1.45}
.privacy-note{font-size:12px;color:#2e5c3e;background:#e8f5ec;border-radius:8px;padding:9px 11px;margin-top:10px;line-height:1.5}
.ed-right .toolbar{position:sticky;top:66px;background:#faf8f4;padding:8px 0;z-index:5;margin-bottom:6px}
.paper{background:#fff;border:1px solid #e0dccf;box-shadow:0 18px 40px -24px rgba(22,26,36,.35);padding:48px 52px;font-family:'Noto Serif KR',serif;color:#1a1a1a;font-size:14px;line-height:1.7;min-height:900px}
.paper h2.dt{text-align:center;font-size:28px;letter-spacing:10px;margin:0 0 22px;font-family:'Noto Serif KR',serif;font-weight:700;line-height:1.4}
.paper h2.dt.sm{letter-spacing:4px;font-size:24px;margin-bottom:2px}
.paper h3{font-size:15px;margin:14px 0 4px}
.paper p{margin:3px 0;text-align:justify}
.paper table{width:100%;border-collapse:collapse;margin:10px 0 14px}
.paper td,.paper th{border:1px solid #333;padding:6px 8px;font-size:13px;vertical-align:middle}
.paper th,.paper td.l{background:#f2f2f2;text-align:center;font-weight:700;white-space:nowrap}
.paper table.sg td{border:0;font-weight:700;padding:10px 4px}
.paper table.it td{text-align:center}
.paper td.num,.paper table.it td.num{text-align:right}
.paper table.it.att td,.paper table.it.att th{font-size:11.5px;padding:2px 5px}
.paper table.tot{width:45%;margin-left:auto}
.paper table.appr{width:42%;margin-left:auto}
.paper td.sgc{height:48px}
.paper .c{text-align:center}
.paper .r{text-align:right}
.paper .mt{margin-top:18px}
.paper .date{font-weight:700;font-size:15px;margin:22px 0}
.paper .to{font-weight:700;font-size:16px;margin-top:14px}
.paper .big{font-size:16px}
.paper .small{font-size:12px}
.paper .ind{padding-left:18px}
.paper .box{border:1px solid #999;padding:10px 12px;min-height:60px;margin:6px 0}
.paper .note{font-size:11.5px;color:#777;margin-top:22px;border-top:1px solid #ddd;padding-top:8px}
.paper .warn{color:#b3261e;font-weight:700;font-size:12.5px}
.paper .seal{display:inline-block;vertical-align:middle;margin:-14px 0 -12px 2px;line-height:0}
.paper .seal svg{width:44px;height:44px}
.paper .seal.jik svg{width:52px;height:52px}
.paper.export{width:794px;min-height:1123px;border:0;box-shadow:none;padding:60px 64px}
.bl{display:inline-block;min-width:110px;border-bottom:1px solid #777;height:1.05em;vertical-align:bottom}
.bl.w{width:100%}
/* ---- 본문 ---- */
.content{max-width:860px;margin:44px 0 0}
.content section{margin:0 0 38px}
.content h2{font-size:21px;font-weight:800;margin-bottom:14px;line-height:1.4}
.content p,.content li{font-size:15px;line-height:1.8;color:#333844}
.content a{color:#b3261e;text-decoration:underline;text-underline-offset:3px}
ul.chk{list-style:none}
ul.chk li{position:relative;padding-left:26px;margin-bottom:8px}
ul.chk li:before{content:'';position:absolute;left:4px;top:.55em;width:10px;height:6px;border-left:2.5px solid #2e7d46;border-bottom:2.5px solid #2e7d46;transform:rotate(-45deg)}
table.info{width:100%;border-collapse:collapse;background:#fff;border:1px solid #eae5d8;border-radius:12px;overflow:hidden}
table.info th,table.info td{padding:12px 14px;border-bottom:1px solid #f0ece2;text-align:left;font-size:14.5px;line-height:1.65;vertical-align:top}
table.info th{background:#fcfbf8;width:26%;font-weight:700;color:#161a24}
table.info thead th{background:#f4f1ea;font-size:13px;color:#6b7080}
.usage-list{list-style:none;counter-reset:step}
.usage-list li{counter-increment:step;position:relative;padding-left:38px;margin-bottom:12px}
.usage-list li:before{content:counter(step);position:absolute;left:0;top:2px;width:25px;height:25px;border-radius:50%;background:#fbe9e7;color:#b3261e;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
ul.tips{list-style:none}
ul.tips li{background:#fff;border:1px solid #eae5d8;border-radius:10px;padding:12px 16px 12px 40px;margin-bottom:9px;position:relative}
ul.tips li:before{content:'!';position:absolute;left:14px;top:13px;width:18px;height:18px;border-radius:50%;background:#b3261e;color:#fff;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}
dl.law{background:#fff;border:1px solid #eae5d8;border-radius:12px;padding:6px 18px}
dl.law div{padding:11px 0;border-bottom:1px dashed #eae5d8}
dl.law div:last-child{border-bottom:0}
dl.law dt{font-weight:700;font-size:14.5px}
dl.law dd{font-size:14.5px;color:#4b5160;line-height:1.7;margin-top:2px}
.faq-item{border-bottom:1px solid #eae5d8;padding:15px 0}
.faq-item h3{font-size:15.5px;font-weight:700;line-height:1.55}
.faq-item h3:before{content:'Q. ';color:#b3261e}
.faq-item p{margin-top:7px;font-size:14.5px;color:#4b5160;line-height:1.75}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none}
.chips a{display:inline-block;background:#fff;border:1px solid #e0dccf;border-radius:999px;padding:7px 13px;font-size:13.5px;color:#333844;text-decoration:none}
.chips a:hover{border-color:#b3261e;color:#b3261e}
.updated{font-size:12.5px;color:#9a9ea8;line-height:1.7;border-top:1px solid #eae5d8;padding-top:14px}
/* ---- 분류·정적 ---- */
.lead{font-size:16px;line-height:1.8;color:#4b5160;max-width:820px;margin-top:12px}
.page-h1{font-family:'Black Han Sans',sans-serif;font-weight:400;font-size:36px;line-height:1.3}
.pick{width:100%;border-collapse:collapse;background:#fff;border:1px solid #eae5d8}
.pick th,.pick td{padding:11px 14px;border-bottom:1px solid #f0ece2;font-size:14px;text-align:left;line-height:1.6}
.pick th{background:#f4f1ea;color:#6b7080;font-size:13px}
.pick td a{color:#b3261e;font-weight:700}
.static-wrap{max-width:800px;margin:0 auto;padding:44px 40px}
.static-wrap h1{font-family:'Black Han Sans',sans-serif;font-weight:400;font-size:32px;margin-bottom:20px}
.static-wrap h2{font-size:18px;margin:28px 0 10px}
.static-wrap p,.static-wrap li{font-size:14.5px;line-height:1.8;color:#333844;margin-bottom:8px}
.static-wrap ul{padding-left:20px}
@media (max-width:1000px){.editor{grid-template-columns:1fr}.ed-left{position:static;max-height:none}.grid{grid-template-columns:repeat(2,1fr)}.rel-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){header.top{padding:12px 16px;gap:12px}.status-pill{display:none}.hero,.fp,.wrap{padding-left:16px;padding-right:16px}.hero h1{font-size:32px}.fp-head h1{font-size:26px}.paper{padding:26px 16px;font-size:13px}.grid,.rel-grid{grid-template-columns:1fr 1fr;gap:10px}.card{padding:14px}.card-sub{display:none}footer{padding:28px 16px}}
@media print{
 @page{size:A4;margin:14mm}
 body{background:#fff}
 header.top,footer,.crumb,.fp-head,.answer,.dl-row,.source-box,.wr-bar,.ed-left,.toolbar,.content,.ad-slot,ins.adsbygoogle,.google-auto-placed,iframe{display:none!important}
 .fp{padding:0;max-width:none}
 .writer{margin:0}
 .editor{display:block}
 .paper{border:0;box-shadow:none;padding:0;min-height:0;font-size:11.5px;line-height:1.55}
 .paper h2.dt{font-size:22px;margin-bottom:14px}
 .paper h3{font-size:12.5px;margin:8px 0 2px}
 .paper td,.paper th{font-size:11px;padding:4px 6px}
 .paper table{margin:6px 0 10px}
 .paper .date{margin:12px 0}
 .paper .mt{margin-top:10px}
 .paper .box{min-height:40px;padding:6px 10px}
 .paper .seal svg{width:38px;height:38px}
}
