
:root{--bg:#f4f7fb;--ink:#172033;--muted:#5b6578;--line:#d7dee9;--brand:#1d4ed8;--deep:#0b1220;--accent:#0f766e;--warn:#a84b08;--danger:#b91c1c;--card:#fff;--soft:#edf5ff;--focus:#f59e0b}*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Nanum Gothic",Arial,sans-serif;line-height:1.65;overflow-wrap:anywhere}a{color:#1649b8}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.resource-shell,.guide-shell{max-width:1160px;margin:0 auto;padding:32px 24px 56px;min-width:0}.site-head{background:var(--deep);color:white}.site-head .inner{max-width:1160px;margin:0 auto;padding:18px 24px;display:flex;justify-content:space-between;gap:16px;align-items:center}.brand{font-weight:850;letter-spacing:.025em}.head-note{font-size:.93rem;color:#dbeafe}.hero{background:linear-gradient(135deg,#0b1220,#173f8d 62%,#0f766e);color:#fff}.hero .inner{max-width:1160px;margin:0 auto;padding:54px 24px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:28px;align-items:center}.hero h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1.14;margin:0 0 14px}.hero p{color:#eaf2ff;margin:.4rem 0}.hero-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);border-radius:22px;padding:22px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quick-grid div{background:rgba(255,255,255,.12);padding:12px;border-radius:14px;font-weight:750}.section{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px;margin:24px 0;box-shadow:0 10px 28px rgba(15,23,42,.055);min-width:0}.section h2{font-size:1.55rem;line-height:1.3;margin:0 0 12px}.section h3{font-size:1.15rem;margin:22px 0 8px}.lead{color:var(--muted)}.notice{border-left:5px solid var(--brand);background:#eff6ff;padding:14px 16px;border-radius:12px;margin:16px 0}.notice.hold{border-left-color:var(--warn);background:#fff7ed}.notice.stop{border-left-color:var(--danger);background:#fff1f2}.doc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;min-width:0}.field.full{grid-column:1/-1}.field label{font-weight:750;margin-bottom:6px}.unit-help,.field small{font-size:.86rem;color:var(--muted);margin-top:4px}.field input,.field select,.field textarea,.row-table input,.row-table select,.row-table textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid #aeb8c8;border-radius:10px;background:#fff;color:var(--ink);font:inherit;line-height:1.35}.field textarea,.row-table textarea{min-height:88px;resize:vertical}.error{color:var(--danger);font-size:.9rem;min-height:1.35em;margin-top:3px}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.checkline{display:flex;gap:10px;align-items:flex-start;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fbfdff}.checkline input{width:20px;height:20px;margin-top:2px}.table-wrap{width:100%;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:12px}.row-table{width:100%;border-collapse:collapse;min-width:1080px}.row-table th,.row-table td{border-bottom:1px solid var(--line);padding:8px;vertical-align:top;text-align:left}.row-table th{background:#eef3fa;font-size:.9rem;white-space:normal}.row-table td{background:#fff}.row-table button{min-height:46px;min-width:58px;border:1px solid #be2838;background:#fff1f2;color:#9f1239;border-radius:9px;padding:8px 10px;font-weight:750}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:46px;border:0;border-radius:11px;padding:11px 18px;background:var(--brand);color:#fff;font:inherit;font-weight:800;cursor:pointer}.btn.secondary{background:#e7edf7;color:#15213a;border:1px solid #bdc8d9}.signature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.signature-box{min-height:105px;border:1px solid var(--line);border-radius:10px;padding:12px;background:#fff}.result{border:1px solid var(--line);border-radius:14px;background:#fbfdff;padding:18px;margin:18px 0}.status-ok{color:#08705d;font-weight:800}.status-hold{color:#9a4b00;font-weight:800}.status-stop{color:#b42318;font-weight:800}.resource-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid #9bb9ed;border-left:6px solid var(--brand);border-radius:16px;padding:20px;background:linear-gradient(135deg,#eff6ff,#f7fbff);margin:22px 0}.resource-banner h3{margin:0 0 7px}.resource-banner p{margin:5px 0}.resource-banner .btn-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border-radius:10px;background:var(--brand);color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}.flow-figure{margin:20px 0;border:1px solid var(--line);border-radius:16px;background:#fff;padding:10px}.flow-figure img{display:block;width:100%;max-width:100%;height:auto}.step-list li{margin:.4rem 0}.formula{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f1f5f9;border-radius:10px;padding:12px;overflow-wrap:anywhere}.calc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.result-number{font-size:1.8rem;font-weight:850;color:var(--brand)}.muted{color:var(--muted)}
@media(max-width:720px){.resource-shell,.guide-shell{padding:20px 14px 44px}.site-head .inner{padding:14px}.head-note{display:none}.hero .inner{grid-template-columns:1fr;padding:36px 16px}.hero h1{font-size:2.1rem}.quick-grid,.doc-grid,.check-grid,.signature-grid,.calc-grid{grid-template-columns:1fr}.section{padding:18px 14px;margin:16px 0}.resource-banner{grid-template-columns:1fr}.resource-banner .btn-link{width:100%}.table-wrap{overflow:visible;border:0}.row-table{display:block;min-width:0}.row-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.row-table tbody,.row-table tr,.row-table td{display:block;width:100%}.row-table tr{margin:0 0 16px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 6px 18px rgba(15,23,42,.04)}.row-table td{display:grid;grid-template-columns:minmax(96px,34%) minmax(0,1fr);gap:10px;align-items:start;border:0;padding:6px 0;background:transparent}.row-table td::before{content:attr(data-label);font-weight:800;font-size:.88rem;color:#40506a;padding-top:12px}.row-table input,.row-table select,.row-table textarea,.row-table button,.field input,.field select,.field textarea,.btn{min-height:48px}.row-table button{width:100%}}
@page{size:A4;margin:15mm 12mm 17mm} @media print{body{background:#fff;font-size:9.5pt}.site-head,.hero,.actions,.remove-row,.no-print{display:none!important}.resource-shell,.guide-shell{max-width:none;padding:0}.section{box-shadow:none;border:0;border-radius:0;padding:0;margin:0 0 8mm;break-inside:auto}.section h2{font-size:14pt;border-bottom:1px solid #777;padding-bottom:3px}.notice{border:1px solid #999;background:#fff}.table-wrap{overflow:visible;border:0}.row-table{min-width:0;font-size:7.6pt;table-layout:fixed}.row-table thead{display:table-header-group}.row-table tr{break-inside:avoid}.row-table th,.row-table td{padding:4px}.row-table input,.row-table select,.row-table textarea{border:0;padding:0;min-height:auto;background:transparent}.signature-grid{break-inside:avoid}.signature-box{min-height:28mm}.resource-banner{display:none}.print-header{display:block!important}.print-footer{display:block!important;position:fixed;bottom:-10mm;left:0;right:0;text-align:center;font-size:8pt;color:#555}.print-footer::after{content:"페이지 " counter(page)}a{color:#000;text-decoration:none}}
