:root{
  --bg:#f3f6f9; --card:#ffffff; --text:#17212b; --muted:#607080; --line:#d8e0e8;
  --navy:#17324d; --navy2:#234d73; --blue:#2f6ea5; --red:#a83b3b; --soft:#eef4f9;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Apple SD Gothic Neo",Arial,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text)}
.wrap{max-width:1400px;margin:0 auto;padding:36px 24px 64px}
.hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;margin-bottom:24px}
.eyebrow{font-size:12px;letter-spacing:.14em;font-weight:800;color:var(--blue);margin:0 0 8px}
h1{font-size:34px;line-height:1.15;margin:0 0 10px;color:var(--navy)}
.lead{margin:0;color:var(--muted);font-size:16px}
.badge{background:var(--navy);color:white;border-radius:999px;padding:8px 12px;font-size:12px;font-weight:800;white-space:nowrap}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:22px;margin:16px 0;box-shadow:0 3px 14px rgba(23,50,77,.05)}
.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}
h2{font-size:18px;margin:0 0 6px;color:var(--navy)}
.section-head p,.note p{margin:0;color:var(--muted);line-height:1.55}
textarea{width:100%;height:230px;resize:vertical;border:1px solid #b9c7d4;border-radius:10px;padding:14px;font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#14202b;background:#fbfdff;outline:none}
textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(47,110,165,.12)}
.actions,.download-grid{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.btn{border:1px solid #aebdca;background:#fff;color:var(--navy);padding:9px 13px;border-radius:8px;font-weight:750;cursor:pointer}
.btn:hover:not(:disabled){background:#f2f6fa}.btn:disabled{opacity:.45;cursor:not-allowed}
.btn.primary{background:var(--navy);border-color:var(--navy);color:white}.btn.primary:hover:not(:disabled){background:var(--navy2)}
.btn.danger{border-color:#d6aaaa;color:var(--red)}.btn.ghost{background:var(--soft)}
.input-summary{display:flex;justify-content:space-between;gap:12px;margin-top:9px;color:var(--muted);font-size:13px}.error-text{color:var(--red)}
.progress-shell{background:#f8fafc;border:1px solid var(--line);border-radius:10px;padding:14px;margin-top:8px}
.progress-track{height:10px;background:#dce5ed;border-radius:999px;overflow:hidden}.progress-bar{height:100%;width:0;background:var(--blue);transition:width .25s ease}
.progress-meta{display:flex;justify-content:space-between;gap:12px;margin-top:10px;color:var(--muted);font-size:13px}.progress-meta strong{color:var(--navy)}
.log{height:170px;overflow:auto;background:#10202f;color:#d9e8f4;border-radius:10px;padding:13px;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;margin:14px 0 0}
.table-wrap{overflow:auto;max-height:520px;border:1px solid var(--line);border-radius:10px}
table{border-collapse:separate;border-spacing:0;min-width:1800px;width:100%;font-size:12px}
th,td{border-right:1px solid #e2e8ee;border-bottom:1px solid #e2e8ee;padding:7px 8px;text-align:left;vertical-align:top;white-space:nowrap;max-width:360px;overflow:hidden;text-overflow:ellipsis}
th{position:sticky;top:0;background:var(--navy);color:#fff;font-weight:800;z-index:2}tbody tr:nth-child(even){background:#f8fafc}tbody tr:hover{background:#eef5fb}
.footnote{margin:9px 0 0;color:var(--muted);font-size:12px}.note{border-left:4px solid var(--blue)}
@media(max-width:760px){.wrap{padding:22px 12px 40px}.hero,.section-head,.progress-meta{flex-direction:column}.actions,.download-grid{justify-content:flex-start}.badge{align-self:flex-start}h1{font-size:28px}.input-summary{flex-direction:column}}
