@font-face { font-family: "Pretendard"; font-weight: 400; font-display: optional; src: url("fonts/Pretendard-Regular.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 500 600; font-display: optional; src: url("fonts/Pretendard-SemiBold.subset.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700 900; font-display: optional; src: url("fonts/Pretendard-Bold.subset.woff2") format("woff2"); }
body { background: #f4f6fa; font-family: "Pretendard", "Malgun Gothic", system-ui, sans-serif; font-size: 14px; }
.sidebar { width: 220px; min-height: 100vh; background: #1f3a5f; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.sidebar .nav-link { color: rgba(255,255,255,.75); padding: .55rem .75rem; border-radius: 8px; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.sidebar .nav-link.active { background: #fff; color: #1f3a5f; font-weight: 600; }
.sidebar .nav-link i { width: 20px; display: inline-block; }
.main { min-width: 0; }
.card { border: 0; box-shadow: 0 1px 3px rgba(16,24,40,.08); border-radius: 12px; }
.card-header { background: #fff; font-weight: 600; border-bottom: 1px solid #eef0f4; }
.kpi .num { font-size: 26px; font-weight: 700; }
.kpi .lbl { color: #6b7280; font-size: 12px; }
.table > :not(caption) > * > * { padding: .45rem .6rem; }
.table thead th { font-size: 12px; color: #6b7280; font-weight: 600; background: #f9fafb; white-space: nowrap; }
.dropzone { border: 2px dashed #9db3d1; border-radius: 12px; background: #f8fbff; padding: 22px; text-align: center; cursor: pointer; transition: .15s; }
.dropzone.drag { background: #e6f0ff; border-color: #2563eb; }
.dropzone img { max-height: 160px; margin: 4px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.ai-filled { background: #fffbe6 !important; transition: background 1.5s; }
.timeline { list-style: none; padding-left: 0; }
.timeline li { position: relative; padding: 0 0 14px 22px; border-left: 2px solid #e5e7eb; margin-left: 6px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #2563eb; }
.timeline li.a-status::before { background: #16a34a; }
.timeline li.a-cancel::before, .timeline li.a-post_fail::before { background: #dc2626; }
.timeline li.a-notify::before { background: #0ea5e9; }
.timeline li.a-settle::before { background: #a855f7; }
.timeline li.a-unalloc::before { background: #f59e0b; }
.timeline li.a-taxbill::before { background: #64748b; }
.timeline .chg { font-size: 12px; color: #6b7280; }
.day-btn { font-size: 11px; text-decoration: none; line-height: 1; }
.form-label { font-size: 12px; color: #4b5563; margin-bottom: 2px; font-weight: 600; }
.section-title { font-size: 13px; font-weight: 700; color: #1f3a5f; border-left: 3px solid #1f3a5f; padding-left: 8px; margin: 6px 0 10px; }
.cand { cursor: pointer; }
.cand:hover { background: #f1f5ff; }
.money { text-align: right; font-variant-numeric: tabular-nums; }
.sidebar .submenu { margin: 2px 0 4px 26px; }
.sidebar .submenu .nav-link { padding: .35rem .75rem; font-size: 13px; }
.sidebar .menu-caret { transition: transform .15s; }
.sidebar .nav-link.collapsed .menu-caret { transform: rotate(-90deg); }

.toast-box { position: fixed; top: 14px; right: 18px; z-index: 1080; width: min(420px, calc(100vw - 36px)); }
.toast-box .alert { margin-bottom: 8px; }
.intake-tbl > :not(caption) > * > * { padding: .2rem .25rem; }
.intake-tbl input.form-control-sm { font-size: 12px; padding: .15rem .35rem; }
.intake-tbl thead th { position: sticky; top: 0; z-index: 1; }
.secret-input { -webkit-text-security: disc; text-security: disc; font-family: monospace; }
.intake-tbl input.miss { background: #fff3cd; border-color: #f0ad4e; }
