/* 비즈브릭스 — 10프로젝트(통합ERP) · 12-1(클리어정산)과 같은 화면 형식 */
:root {
  --brand: #005BEE; --brand-d: #0048C2; --brand-soft: #EAF1FE; --brand-light: #9DBDF8; --brand-shadow: rgba(0,91,238,.08); --sys: #005BEE;
  --bg: #fff; --surface: #fff; --sunken: #F9FAFB; --ink: #333C47; --ink2: #4C5561; --muted: #9AA3AD; --line: #E2E8F0; --field: #DEE1E6;
  --brick: #E8590C; --brick-soft: #FFF1E7; --ok: #1E9E6A; --ok-soft: #E5F6EE; --wait: #47607F; --wait-soft: #EDF1F6; --off-soft: #F0F2F5;
  --crit: #D03B3B; --crit-soft: #FDE8E8; --warn-soft: #FFF4D6;
  --topH: 60px; --sideW: 248px;
  color-scheme: light;
}
body[data-sys=client] { --sys: #005BEE; --brand: #005BEE; --brand-d: #0048C2; --brand-soft: #EAF1FE; --brand-light: #9DBDF8; --brand-shadow: rgba(0,91,238,.08); }
body[data-sys=grantee] { --sys: #9B0B02; --brand: #9B0B02; --brand-d: #7A0801; --brand-soft: #FBEDEC; --brand-light: #DDA29E; --brand-shadow: rgba(155,11,2,.08); }
body[data-sys=staff] { --sys: #902C35; --brand: #902C35; --brand-d: #73232A; --brand-soft: #F9EEEF; --brand-light: #D7A4A9; --brand-shadow: rgba(144,44,53,.08); }
body[data-sys=admin] { --sys: #D91227; --brand: #D91227; --brand-d: #B00E1F; --brand-soft: #FDEDEF; --brand-light: #F1A3AB; --brand-shadow: rgba(217,18,39,.08); }
body[data-sys=pick] { --sys: #005BEE; --brand: #005BEE; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 13px/1.5 Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif; letter-spacing: -.01em; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0; }
h4 { margin: 16px 0 6px; font-size: 13.5px; font-weight: 700; }
a { color: var(--brand); }
[hidden] { display: none !important; }
input, select, textarea { border: 1px solid var(--field); border-radius: 6px; padding: 7px 10px; background: #fff; min-width: 0; }
input[type=checkbox], input[type=radio] { accent-color: var(--brand); }
textarea { width: 100%; min-height: 90px; resize: vertical; margin: 6px 0; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--brand-light); outline-offset: -1px; border-color: var(--brand-light); }
.muted { color: var(--muted); } .hint, .note { font-size: 12px; color: var(--ink2); margin: 6px 0; } .note.top { margin: 0 0 12px; }
.lead { color: var(--ink2); margin: 0 0 14px; font-size: 13.5px; }
.ok-t { color: var(--ok); font-weight: 700; } .warn-t, .warn { color: var(--brick); font-weight: 700; } .crit-t { color: var(--crit); font-weight: 700; }
.row { display: flex; align-items: center; gap: 8px; margin: 8px 0; flex-wrap: wrap; } .row.end { justify-content: flex-end; } .sp { flex: 1; }
.grow { flex: 1; min-width: 200px; } .w60 { width: 64px; } .w90 { width: 96px; } .w110 { width: 118px; } .nowrap { white-space: nowrap; }

/* 버튼 · 칩 · 배지 */
.btn { border: 1px solid var(--field); background: #fff; border-radius: 6px; padding: 0 12px; height: 32px; line-height: 30px; cursor: pointer; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--ink2); display: inline-block; vertical-align: middle; text-decoration: none; }
.btn:hover { border-color: var(--ink2); color: var(--ink); }
.btn.pri, .btn.pri:hover { background: var(--brand); border-color: var(--brand); color: #fff; } .btn.pri:hover { background: var(--brand-d); }
.btn.warn { background: var(--brick-soft); border-color: #F6C9A8; color: var(--brick); }
.btn.danger { color: #E5484D; } .btn.ghost { background: transparent; }
.btn.sm { padding: 0 9px; height: 27px; line-height: 25px; font-size: 11.5px; } .btn.xs { padding: 0 7px; height: 24px; line-height: 22px; font-size: 11.5px; margin-right: 3px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.chip { font-size: 11px; background: var(--sunken); border: 1px solid var(--line); border-radius: 4px; padding: 1px 7px; color: var(--ink2); font-weight: 600; white-space: nowrap; }
.chip.b { background: var(--brand-soft); border-color: var(--brand-light); color: var(--brand-d); }
.badge { display: inline-block; font-size: 11.5px; padding: 1px 6px; border-radius: 5px; white-space: nowrap; font-weight: 600; line-height: 18px; vertical-align: middle; }
.b-todo { background: var(--brick-soft); color: var(--brick); } .b-wait { background: var(--wait-soft); color: var(--wait); } .b-done { background: var(--ok-soft); color: var(--ok); } .b-off { background: var(--off-soft); color: var(--ink2); }
.tag { display: inline-block; border-radius: 5px; padding: 1px 7px; font-size: 11.5px; font-weight: 700; white-space: nowrap; line-height: 18px; }
.tag.ok { background: var(--ok-soft); color: var(--ok); } .tag.ok2 { background: #104281; color: #fff; } .tag.warn { background: var(--brick-soft); color: var(--brick); } .tag.crit { background: var(--crit-soft); color: #A12727; } .tag.gray { background: var(--off-soft); color: var(--ink2); } .tag.blue { background: var(--wait-soft); color: var(--wait); }
.tchip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 1px 9px 1px 7px; white-space: nowrap; border: 1px solid var(--tc); color: var(--tc); background: #fff; }
.tchip::before { content: ''; width: 7px; height: 7px; border-radius: 99px; background: var(--tc); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; margin-right: 7px; vertical-align: 1px; }
.stage { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; white-space: nowrap; } .stage::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.ev { display: inline-block; background: var(--off-soft); border-radius: 4px; padding: 0 5px; font-size: 11px; margin: 1px; }
.flags { white-space: nowrap; font-weight: 700; }

/* 로그인 */
#login { min-height: 100vh; background: #fff; padding: 40px 20px 28px; display: flex; flex-direction: column; align-items: center; }
.lg { width: 100%; max-width: 460px; margin: auto 0; font-size: 14px; }
.lg .brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 30px; }
.lg .brand .lg-mark { height: 38px; display: block; }
.lg .brand span { font-size: 25px; font-weight: 800; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; } .lg .brand span b { color: var(--brand); }
.lg .box { border: 1px solid #DADDE3; border-radius: 10px; padding: 26px 24px 22px; box-shadow: 0 2px 8px rgba(20,24,33,.04); }
.lg .box h1 { margin: 0 0 16px; font-size: 15px; font-weight: 700; }
.lg .grp { border: 1px solid #DADDE3; border-radius: 8px; overflow: hidden; }
.lg .fld { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; background: #fff; } .lg .fld + .fld { border-top: 1px solid #DADDE3; }
.lg .fld svg { width: 18px; height: 18px; flex: none; color: #9AA1AC; } .lg .grp:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.lg .fld input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; font-size: 15px; padding: 0; }
.lg .keep { display: inline-flex; gap: 7px; align-items: center; margin-top: 14px; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.lg .enter { width: 100%; height: 52px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 700; margin-top: 18px; cursor: pointer; } .lg .enter:hover { background: var(--brand-d); }
.lg .err { color: #E5484D; margin-top: 12px; font-size: 13px; text-align: center; } .lg .err:empty { margin: 0; } .lg .err.ok { color: var(--ok); }
.lg .links { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--ink2); }
.lg .links button { border: 0; background: none; cursor: pointer; color: var(--ink2); padding: 0 10px; } .lg .links button:hover { color: var(--ink); text-decoration: underline; } .lg .links span { color: #D0D4DA; }
.lgfoot { margin-top: 40px; font-size: 12px; color: var(--muted); text-align: center; }

/* 상단 바 */
.topbar { position: fixed; top: 0; left: 0; right: 0; height: var(--topH); background: var(--sys); color: #fff; display: flex; align-items: center; gap: 14px; padding: 0 18px 0 14px; padding-top: env(safe-area-inset-top, 0px); z-index: 20; }
.tlogo { display: flex; align-items: center; gap: 9px; cursor: pointer; white-space: nowrap; }
.tlogo .lg-mark { height: 28px; display: block; filter: brightness(0) invert(1); }
.tlogo span { font-size: 18px; font-weight: 800; letter-spacing: -.04em; } .tlogo b { font-weight: 800; }
.tsep { width: 1px; height: 22px; background: rgba(255,255,255,.35); flex: none; }
.topbar button { border: 0; background: none; color: #fff; cursor: pointer; font-weight: 600; padding: 4px 2px; display: flex; align-items: center; gap: 5px; white-space: nowrap; } .topbar button:hover { opacity: .8; }
.topbar svg { width: 14px; height: 14px; fill: currentColor; }
.sysdd { position: relative; display: flex; }
.topbar .sysbtn { height: 32px; padding: 0 10px 0 12px; border-radius: 7px; background: rgba(255,255,255,.14); font-size: 14px; font-weight: 800; letter-spacing: -.02em; gap: 7px; display: flex; align-items: center; }
.topbar .sysbtn:hover { opacity: 1; background: rgba(255,255,255,.25); } .topbar .sysbtn svg { width: 9px; height: 9px; stroke: #fff; fill: none; stroke-width: 1.8; } .sysbtn.static { cursor: default; }
.sysm { position: absolute; top: 40px; left: 0; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 16px 40px rgba(30,10,16,.25); padding: 8px; min-width: 340px; z-index: 30; }
.topbar .sysm button { display: flex; width: 100%; gap: 12px; align-items: center; color: var(--ink); padding: 10px 12px; border-radius: 9px; text-align: left; font-weight: 500; }
.topbar .sysm button:hover, .topbar .sysm button.on { background: #F7F2F3; opacity: 1; }
.sysm i { width: 32px; height: 32px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-weight: 800; font-size: 12px; }
.sysm b { display: block; font-size: 14px; font-weight: 800; } .sysm small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; white-space: normal; }
.sysm .ck { margin-left: auto; color: var(--sys); font-weight: 800; } .sysm hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.topbar select { border: 0; border-radius: 6px; padding: 5px 8px; font-size: 12px; font-weight: 700; }
.topbar .engsel { background: rgba(255,255,255,.95); color: var(--ink); max-width: 340px; }
.topbar #demoUser { background: #FFE08A; color: #4A3800; max-width: 230px; }
.mode { font-size: 11px; padding: 2px 9px; border-radius: 99px; background: rgba(255,255,255,.2); font-weight: 600; white-space: nowrap; } .mode.demo { background: #FFE08A; color: #4A3800; }
.stamp { font-size: 11px; opacity: .8; white-space: nowrap; }
.who { font-weight: 700; white-space: nowrap; } .rchip { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.2); border-radius: 99px; padding: 1px 8px; margin-left: 6px; }

/* 사이드 메뉴 */
.side { position: fixed; top: var(--topH); left: 0; bottom: 0; width: var(--sideW); border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; overflow-y: auto; z-index: 4; }
.side nav { padding: 6px 0 10px; flex: 1; }
.sidesys { padding: 14px 16px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.sidesys i { width: 6px; align-self: stretch; border-radius: 3px; background: var(--sys); }
.sidesys b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -.03em; color: var(--sys); } .sidesys small { display: block; font-size: 11px; color: var(--muted); }
.nav { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; background: none; padding: 8px 16px; font-weight: 700; font-size: 13px; cursor: pointer; text-align: left; color: var(--ink); text-decoration: none; }
.nav:hover, .nav.on { color: var(--brand); }
.nav > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nav .n { font-size: 11px; background: var(--brick); color: #fff; border-radius: 99px; padding: 0 6px; margin-left: 6px; font-weight: 700; line-height: 16px; display: inline-block; vertical-align: 1px; font-style: normal; }
.nav .lp2 { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-left: 3px; font-style: normal; }
.nav svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.6; transition: transform .15s; flex: none; } .nav.open svg { transform: rotate(180deg); }
.nav.cen { padding: 9px 16px; font-size: 13px; }
.grp { background: #F7F8FA; padding: 4px 0 6px; }
.grp .pname { font-size: 11px; color: var(--muted); padding: 2px 16px 4px 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav.sub { padding: 6px 16px 6px 24px; font-size: 12.5px; font-weight: 600; color: var(--ink2); } .nav.sub.on { color: var(--brand); font-weight: 700; }
.navgrp { padding: 14px 16px 4px; font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .02em; } .navgrp small { font-weight: 500; margin-left: 4px; }
.grp .navgrp { padding: 10px 16px 2px 24px; }
.navsys { display: flex; align-items: center; gap: 8px; padding: 16px 16px 6px; font-size: 11.5px; font-weight: 800; color: var(--c); }
.navsys::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; } .navsys::after { content: ''; flex: 1; border-top: 1px solid #EFE6E8; } .navsys small { font-weight: 500; color: var(--muted); }
.side .bottom { border-top: 1px solid var(--line); }
.side .pinfo { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 1px; font-size: 11px; color: var(--muted); } .side .pinfo b { font-size: 12.5px; color: var(--ink); }
.side .info { padding: 12px 16px; font-size: 11px; color: var(--muted); } .side .info b { display: flex; justify-content: space-between; color: var(--ink); font-size: 12.5px; margin-bottom: 2px; }
.body { margin: var(--topH) 0 0 var(--sideW); min-width: 0; } .body.full { margin-left: 0; }
.picking .body { margin-left: 0; }
.banner { background: #FFF8DD; border-bottom: 1px solid #F1E0A0; padding: 8px 20px; font-size: 12px; }
.phead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 20px; border-bottom: 1px solid var(--line); min-height: 64px; }
.phead h1 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.phead h1.crumb { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; }
.phead h1 .cr { font-size: 15px; font-weight: 500; color: var(--ink2); letter-spacing: -.02em; } .phead h1 .cr-sep { font-size: 14px; font-weight: 400; color: var(--muted); }
.pg-help { width: 26px; height: 26px; border: 1.5px solid #8A93A0; border-radius: 50%; background: #fff; color: #6B7480; font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; margin-left: 4px; }
.pg-help:hover, .guide-on .pg-help { border-color: var(--brand); color: var(--brand); }
.view { padding: 16px 20px 48px; max-width: 1600px; }
.guide { position: fixed; top: var(--topH); right: 0; bottom: 0; width: 380px; background: #fff; border-left: 1px solid var(--line); box-shadow: -6px 0 20px rgba(27,31,39,.06); z-index: 4; display: flex; flex-direction: column; }
.guide-on .body { margin-right: 380px; }
.guide .gh { display: flex; align-items: center; gap: 8px; padding: 18px 22px; border-bottom: 1px solid var(--line); } .guide .gh h2 { font-size: 17px; flex: 1; } .guide .gh small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.guide .gb { padding: 18px 22px 40px; overflow: auto; flex: 1; font-size: 13px; line-height: 1.7; }
.gstep { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; } .gstep p { margin: 0; } .gwho { flex: none; font-size: 11px; font-weight: 800; background: var(--brand-soft); color: var(--brand-d); border-radius: 5px; padding: 1px 7px; margin-top: 2px; }

/* 시스템 선택 */
.syspick { min-height: calc(100vh - var(--topH)); background: radial-gradient(1200px 500px at 50% -10%, #F8EEF0 0%, #fff 70%); padding: 52px 32px 56px; display: flex; flex-direction: column; align-items: center; }
.syspick .hd { text-align: center; margin-bottom: 34px; } .syspick .hd .hi { font-size: 13px; font-weight: 700; color: #902C35; letter-spacing: .04em; }
.syspick .hd h1 { font-size: 30px; font-weight: 800; letter-spacing: -.045em; color: #2A1520; } .syspick .hd h1 em { font-style: normal; color: #902C35; }
.syspick .hd p { margin: 10px 0 0; color: var(--ink2); font-size: 14px; }
.sysgrid { display: grid; align-items: stretch; grid-template-columns: repeat(var(--n,4), minmax(0,1fr)); gap: 26px; width: 100%; max-width: calc(var(--n,4) * 360px); }
.sysc { position: relative; aspect-ratio: 1/1; border: 0; border-radius: 24px; color: #fff; text-align: left; padding: 28px 26px 22px; cursor: pointer; display: flex; flex-direction: column; background: var(--c); box-shadow: 0 18px 36px -16px var(--c); transition: transform .18s, box-shadow .18s; font: inherit; }
.sysc .wmw { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; background: linear-gradient(150deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 42%, rgba(0,0,0,.2) 100%); }
.sysc .wm { position: absolute; right: -34px; bottom: -40px; width: 210px; opacity: .11; filter: brightness(0) invert(1); }
.sysc > * { position: relative; } .sysc:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -16px var(--c); }
.sysc .no { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; letter-spacing: .14em; opacity: .9; }
.sysc .no em { font-style: normal; letter-spacing: 0; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.18); border-radius: 99px; padding: 3px 10px; }
.sysc .en { font-size: 11px; letter-spacing: .2em; opacity: .7; margin-top: 3px; }
.sysc h2 { font-size: 32px; font-weight: 800; letter-spacing: -.05em; margin-top: 28px; line-height: 1.15; word-break: keep-all; }
.sysc p { font-size: 13px; opacity: .92; margin: 8px 0 14px; line-height: 1.55; word-break: keep-all; }
.sysc .ms { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; max-height: 54px; overflow: hidden; } .sysc .ms span { font-size: 11.5px; background: rgba(255,255,255,.16); border-radius: 99px; padding: 3px 9px; white-space: nowrap; }
.sysc .go { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.28); font-weight: 700; font-size: 13.5px; }
.sysc .go b { font-size: 13px; font-weight: 800; background: #fff; color: var(--c); border-radius: 99px; padding: 4px 12px; }
.syspick .foot { margin-top: 30px; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.7; }

/* 구역 · 상자 · 표 */
.sec { margin-bottom: 26px; min-width: 0; }
.st { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; min-height: 28px; flex-wrap: wrap; } .st h2 { font-size: 16px; font-weight: 700; letter-spacing: -.02em; } .st h2 small, .st > small { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 4px; }
.box { border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; } .box.pad { padding: 20px 24px; } .box.scroll { overflow-x: auto; }
.card { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 16px 18px; margin-bottom: 18px; min-width: 0; }
.card-h { display: flex; align-items: center; gap: 8px; margin: -2px 0 10px; flex-wrap: wrap; } .card-h h3 { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 18px; margin-bottom: 18px; } .grid2 > .card { margin-bottom: 0; }
.hrow { display: grid; gap: 18px; } .hrow.a { grid-template-columns: minmax(0,1fr) 330px; } .hrow.b { grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 18px; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; background: #fff; display: flex; flex-direction: column; }
.kpi > span:first-child, .kpi .l { display: block; font-size: 12px; font-weight: 700; color: var(--ink2); }
.kpi > b, .kpi .v { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.03em; margin-top: 2px; color: var(--ink); }
.kpi > small, .kpi .s { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.kpi.hot .v, .kpi.warn > b { color: var(--brick); } .kpi.good > b { color: var(--ok); }
.pbanner { display: flex; align-items: center; gap: 12px; justify-content: space-between; border: 2px solid var(--brand); box-shadow: 0 2px 10px var(--brand-shadow); border-radius: 10px; padding: 14px 20px; margin-bottom: 16px; flex-wrap: wrap; }
.pbanner b { color: var(--brand); font-size: 15px; } .pbanner small { color: var(--ink2); }
.btn.light { color: var(--brand); border-color: var(--brand-light); }
.empty { color: var(--muted); padding: 36px 8px; text-align: center; line-height: 1.7; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
.card .tbl-wrap { border: 0; border-radius: 0; margin: 0 -18px; }
table, .tbl { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 8px 10px; height: 40px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { color: var(--ink2); } td b, td strong { color: var(--ink); }
th { background: var(--sunken); font-weight: 600; color: var(--ink); padding: 5px 10px; }
.tbl.small td, .tbl.small th { height: 34px; padding: 4px 8px; font-size: 12.5px; }
td.r, th.r { font-variant-numeric: tabular-nums; } td.l, th.l, td.wrap, th.wrap { text-align: left; } td.wrap { white-space: normal; min-width: 200px; }
tbody tr.click { cursor: pointer; } tbody tr.click:hover { background: #F7F9FC; } tbody tr.sel { background: var(--brand-soft); } .tbl-wrap tbody tr:last-child td { border-bottom: 0; } /* 테두리 상자 안의 표만 마지막 선 생략 — 상자 밖 표(보고서 · 문서)는 아래 선 유지 */
.tbl tr.sub td:first-child { text-align: left; padding-left: 26px; color: var(--ink2); }
.tbl td input:not([type=checkbox]), .tbl td select { padding: 3px 6px; font-size: 12px; }
.meter { display: inline-block; width: 70px; height: 8px; background: var(--sunken); border-radius: 3px; vertical-align: middle; overflow: hidden; } .meter i { display: block; height: 100%; border-radius: 3px; } .meter-v { font-size: 12px; margin-left: 6px; font-variant-numeric: tabular-nums; }
.seg, .segs { display: inline-flex; border: 1px solid var(--field); border-radius: 6px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: none; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; border-left: 1px solid var(--field); color: var(--ink2); } .seg button:first-child { border-left: 0; } .seg button.on { background: var(--ink); color: #fff; }
.search { min-width: 200px; } div.search { position: relative; width: 200px; min-width: 0; } div.search input { width: 100%; }
.toolbar { margin: 0 0 12px; }
.ctabs { display: flex; gap: 6px; flex-wrap: wrap; } .ctabs.inl { display: inline-flex; }
.ctab { border: 1px solid var(--field); background: #fff; border-radius: 99px; padding: 5px 14px; cursor: pointer; font-weight: 600; font-size: 12.5px; display: inline-flex; align-items: center; } .ctab:hover { border-color: var(--ink2); }
.ctab.on { background: var(--ink); border-color: var(--ink); color: #fff; } .ctab .n { font-size: 11px; background: var(--brick); color: #fff; border-radius: 99px; padding: 0 6px; margin-left: 5px; font-style: normal; } .ctab.on .n { background: rgba(255,255,255,.25); }
.ctab i.dot { margin-right: 6px; }
.gpick { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; margin-bottom: 12px; }

/* 흐름 바 · 목록 + 상세 */
.flow { display: flex; align-items: center; gap: 4px 6px; flex-wrap: wrap; padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: #FAFBFC; font-size: 12px; }
.flow .cap { color: var(--ink2); font-weight: 700; margin-right: 6px; }
.flow .fs { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 3px 11px; cursor: pointer; font-weight: 600; font-size: 12px; white-space: nowrap; } .flow .fs b { margin-left: 5px; color: var(--muted); }
.flow .fs.act { border-color: #F6C9A8; color: var(--brick); } .flow .fs.act b { color: var(--brick); } .flow .fs.end { border-color: #BFE6D3; color: var(--ok); }
.flow .fs.on { background: var(--ink); border-color: var(--ink); color: #fff; } .flow .fs.on b { color: #fff; }
.flow .arr { color: var(--muted); } .flow .sep { width: 1px; height: 16px; background: var(--line); margin: 0 8px; } .flow select { border: 0; background: none; font-weight: 700; padding: 2px; }
.md { display: grid; grid-template-columns: minmax(520px, 46%) 1fr; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; min-height: 560px; }
.md .list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.md .filters { display: flex; gap: 8px; align-items: center; padding: 10px 14px; flex-wrap: wrap; }
.md .rows { flex: 1; overflow: auto; border-top: 1px solid var(--line); max-height: 70vh; }
.md .detail { padding: 20px 24px 40px; min-width: 0; }
@media (max-width: 1200px) { .md { grid-template-columns: 1fr; } .md .list { border-right: 0; border-bottom: 1px solid var(--line); } .md .rows { max-height: 360px; } }

/* 카드 묶음 (전체 프로젝트 현황) */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.wcard { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px 18px 14px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--sys); }
.wcard h3 { font-size: 16px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 6px; } .wcard h3 small { font-size: 12px; color: var(--muted); font-weight: 600; }
.wcard .nums { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 4px; } .wcard .nums div { display: flex; flex-direction: column; } .wcard .nums b { font-size: 19px; font-weight: 800; } .wcard .nums span { font-size: 11.5px; color: var(--ink2); }
.wcard .stack { margin: 4px 0 0; } .wcard .legend { font-size: 11.5px; }
.lines .ln { display: flex; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; align-items: center; } .lines .ln:last-child { border-bottom: 0; } .lines .ln:hover { background: #F7F9FC; }
.lines .ln span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lines .ln span:last-child { color: var(--ink2); white-space: nowrap; }

/* 달력 */
.cal-m { font-size: 16px; min-width: 110px; text-align: center; }
.cal-h { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--sunken); border-bottom: 1px solid var(--line); } .cal-h span { text-align: center; padding: 6px; font-weight: 700; font-size: 12px; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); }
.cal-d { min-height: 104px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 4px 5px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-d:nth-child(7n) { border-right: 0; } .cal-d em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink2); } .cal-d.out { background: #FBFBFC; } .cal-d.out em { color: #C5CAD1; }
.cal-d.today em { background: var(--brand); color: #fff; border-radius: 99px; padding: 0 7px; align-self: flex-start; }
.cal-e { border: 0; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 9%, #fff); border-radius: 3px; font-size: 11px; text-align: left; padding: 1px 5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.cal-d small { font-size: 10.5px; color: var(--muted); }

/* 관리자: 전체 구조도 */
.smapw { max-width: 1500px; }
.smap { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 80px; padding: 4px 0; margin-bottom: 26px; }
.smap svg.edges { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.edges path { fill: none; stroke: #D5C8CC; stroke-width: 1.6; transition: stroke .15s, stroke-width .15s, opacity .15s; } .edges path.dash { stroke-dasharray: 4 4; } .edges.dim path { opacity: .18; } .edges path.hl { stroke: var(--ec); stroke-width: 2.6; opacity: 1; }
.scol { border-radius: 18px; background: var(--cs); border: 1px solid var(--cb); padding: 14px 14px 16px; position: relative; z-index: 1; }
.scol h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--c); margin: 2px 4px 4px; } .scol h3 i { font-style: normal; background: var(--c); color: #fff; border-radius: 6px; font-size: 11px; padding: 2px 7px; }
.scol > small { display: block; margin: 0 4px 6px; color: var(--ink2); font-size: 11.5px; }
.scol.know { grid-column: 1 / -1; } .krow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; } .krow .snode { margin-top: 6px; }
.snode { display: flex; flex-direction: column; width: 100%; border: 1px solid #E6DCDF; background: #fff; border-radius: 11px; padding: 10px 12px; margin-top: 8px; text-align: left; cursor: pointer; position: relative; font: inherit; color: inherit; z-index: 3; }
.snode:hover, .snode.hl { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 8px 18px -10px var(--c); }
.snode b { font-size: 13.5px; font-weight: 800; } .snode b small { font-weight: 500; color: var(--muted); font-size: 11px; margin-left: 5px; }
.snode .cnt { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; } .snode .cnt:empty { display: none; } .snode .cnt span { font-size: 11px; border-radius: 99px; padding: 1px 8px; background: var(--off-soft); color: var(--ink2); font-weight: 600; } .snode .cnt span.hot { background: var(--brick-soft); color: var(--brick); }
.smap .lg { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink2); } .smap .lg span { display: inline-flex; align-items: center; gap: 6px; } .smap .lg i { width: 22px; border-top: 2px solid #C9B9BE; } .smap .lg i.d { border-top-style: dashed; }
.maplegend { grid-column: 1 / -1; }
.teamtbl .stack { margin: 0; height: 14px; }

/* 관리자: 사용자 · 권한 */
dl.roles { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0 0 12px; } dl.roles dt { font-weight: 700; } dl.roles dd { margin: 0; color: var(--ink2); }
.perm th, .perm td { padding: 6px 6px; height: 40px; } .perm th { font-size: 12px; } .perm th.sysh { color: var(--c); font-weight: 800; border-bottom: 2px solid var(--c); }
.perm input[type=text], .perm select { border: 1px solid var(--field); border-radius: 5px; padding: 4px 6px; font-size: 12px; width: 100%; min-width: 80px; }
.perm input[type=checkbox] { width: 15px; height: 15px; } .perm .g { border-left: 1px solid var(--line); } .perm td.goff { opacity: .25; } .perm td.ovr { box-shadow: inset 0 0 0 2px var(--brand-light); }
.perm td.l { text-align: left; } .mini-chk { font-size: 12px; margin-right: 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; }
input.systog[type=checkbox] { appearance: none; -webkit-appearance: none; width: 32px; height: 18px; border-radius: 99px; background: #CBD0D7; position: relative; cursor: pointer; vertical-align: middle; margin: 0; transition: background .15s; }
input.systog[type=checkbox]::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 99px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: left .15s; }
input.systog[type=checkbox]:checked { background: var(--brand); } input.systog[type=checkbox]:checked::after { left: 16px; } input.systog[type=checkbox]:disabled { opacity: .45; cursor: default; }

/* 입력 칸 (항목 이름 · 입력 칸 한 줄) */
.f { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; margin: 8px 0; }
.f > label { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: center; column-gap: 12px; font-size: 12.5px; font-weight: 500; }
.f > label.full { grid-column: 1 / -1; } .f .lt { word-break: keep-all; line-height: 1.4; } .f .lt .lp { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 1px; }
.f input, .f select { width: 100%; min-height: 35px; }
.setform .f > label { grid-template-columns: 240px minmax(0,1fr); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px 14px; } .form-grid label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink2); font-weight: 600; } .form-grid .full { grid-column: 1 / -1; }
.form-grid label:has(> input[type=checkbox]) { flex-direction: row; align-items: center; gap: 6px; }
.map-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px; } .map-grid label { display: flex; flex-direction: column; font-size: 12px; color: var(--ink2); gap: 3px; }

/* 차트 */
.chart { width: 100%; height: auto; max-height: 250px; display: block; } .chart .ax { font-size: 12px; fill: var(--muted); } .chart .grid { stroke: #EEF0F3; } .chart .base { stroke: #C9CED6; }
.hbar-row { display: grid; grid-template-columns: minmax(80px, 160px) 1fr auto; align-items: center; gap: 10px; padding: 3px 0; }
.hbar-label { font-size: 12.5px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hbar-track { height: 10px; } .hbar-fill { height: 100%; border-radius: 0 3px 3px 0; min-width: 2px; } .hbar-val { font-size: 12.5px; font-variant-numeric: tabular-nums; font-weight: 700; }
.stack { display: flex; gap: 2px; height: 22px; border-radius: 5px; overflow: hidden; margin: 6px 0 10px; } .stack-seg { min-width: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink2); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.tip { position: fixed; z-index: 100; display: none; background: #1F2329; color: #fff; font-size: 12px; padding: 7px 10px; border-radius: 7px; pointer-events: none; max-width: 340px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hmap td.hm { font-weight: 700; border: 2px solid #fff; } .hmap td.hm0 { color: #C9CED6; }

/* 모달 */
.ov { position: fixed; inset: 0; background: rgba(27,31,39,.42); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: #fff; border-radius: 10px; width: 100%; max-width: 680px; max-height: 100%; display: flex; flex-direction: column; overflow: hidden; } .modal.wide { max-width: 1120px; }
.modal .mh { display: flex; align-items: center; gap: 8px; padding: 20px 28px; border-bottom: 1px solid var(--line); } .modal .mh h2 { font-size: 18px; flex: 1; display: flex; align-items: baseline; gap: 8px; min-width: 0; } .modal .mh h2 small { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
.modal .mb { padding: 22px 28px 26px; overflow: auto; flex: 1; } .modal .mb > input, .modal .mb > select { width: 100%; margin: 4px 0; }
.x { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(240px, 1fr) 1.5fr; gap: 22px; } .pane { min-width: 0; }
.evid-pane { background: var(--sunken); border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
.evid-doc { margin-bottom: 10px; } .paper { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px; display: flex; flex-direction: column; gap: 3px; box-shadow: 2px 3px 0 #ECEEF2; } .paper b { font-size: 15px; } .paper .amt { font-size: 18px; font-weight: 800; color: var(--ink); }
.flag-list { list-style: none; padding: 0; margin: 0; } .flag-list li { padding: 7px 10px; border-radius: 6px; margin-bottom: 4px; font-size: 12.5px; }
.flag-list li.high { background: var(--crit-soft); } .flag-list li.mid { background: var(--brick-soft); } .flag-list li.low { background: var(--off-soft); }
.thread { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; } .msg { border-radius: 10px; padding: 8px 12px; max-width: 85%; } .msg p { margin: 2px 0 0; white-space: pre-wrap; }
.msg.request { background: var(--wait-soft); align-self: flex-start; } .msg.response { background: var(--ok-soft); align-self: flex-end; } .msg small { color: var(--muted); }
.ai-box { margin: 12px 0; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 6px; padding: 12px 14px; line-height: 1.6; background: #fff; } .ai-h { font-weight: 700; margin-bottom: 4px; } .ai-h small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.cites { margin-top: 6px; } .cite { display: inline-block; background: var(--brand-soft); color: var(--brand-d); border-radius: 4px; padding: 0 7px; font-size: 11.5px; margin: 2px 4px 2px 0; font-weight: 700; }
.mini { font-size: 12.5px; color: var(--ink2); padding: 2px 0; } .mini-list { margin: 8px 0; }

/* 수행기업 포털 */
ol.steps { display: flex; list-style: none; padding: 0; margin: 0 0 16px; gap: 3px; }
ol.steps li { flex: 1; font-size: 12px; text-align: center; padding-top: 7px; border-top: 3px solid var(--line); color: var(--muted); }
ol.steps li.done { border-color: var(--brand-light); color: var(--ink2); } ol.steps li.on { border-color: var(--brand); color: var(--brand); font-weight: 700; }
.todo { display: grid; gap: 8px; margin-bottom: 16px; }
.todo-i { display: block; width: 100%; text-align: left; padding: 14px 18px; border-radius: 8px; background: #fff; border: 2px solid var(--brand); box-shadow: 0 2px 10px var(--brand-shadow); color: var(--ink); font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; }
.todo-i.warn { border-color: #F6C9A8; background: var(--brick-soft); color: var(--brick); box-shadow: none; } .todo-i.crit { border-color: #F2B8B8; background: var(--crit-soft); color: #A12727; box-shadow: none; } .todo-i.ok { border-color: #BFE6D3; background: var(--ok-soft); color: var(--ok); box-shadow: none; cursor: default; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notice { padding: 9px 0; border-bottom: 1px solid var(--line); } .notice:last-child { border-bottom: 0; } .notice small { color: var(--muted); margin-left: 8px; } .notice p { margin: 4px 0 0; color: var(--ink2); }
.notice.card { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ask { border: 2px solid var(--brand); box-shadow: 0 2px 10px var(--brand-shadow); border-radius: 10px; padding: 18px 22px; margin-bottom: 18px; } .ask h3 { font-size: 17px; color: var(--brand); font-weight: 800; }
.src-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin: 8px 0; }
.src { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; font-size: 12px; }
.src:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); } .src small { color: var(--muted); } .src em { font-style: normal; color: var(--brand); font-weight: 700; } .src input { align-self: flex-start; }

/* 검증기관 · 지식센터 · 관리 공통 */
.todo-list { list-style: none; margin: 0; padding: 0; } .todo-list li { padding: 9px 4px; border-bottom: 1px solid var(--line); } .todo-list li:last-child { border-bottom: 0; } .todo-list li.click { cursor: pointer; } .todo-list li.click:hover { background: #F7F9FC; }
.obj { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin-bottom: 8px; }
.rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 18px; }
.rep { border: 1px solid var(--line); border-top: 4px solid var(--sys); background: #fff; border-radius: 10px; padding: 16px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; font: inherit; } .rep b { font-size: 14px; } .rep:hover { border-color: var(--sys); } .rep small { color: var(--muted); }
.docs { display: grid; gap: 12px; } .doc-card { border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; } .clauses p { margin: 4px 0; font-size: 12.5px; color: var(--ink2); }
.faq { border: 1px solid var(--line); border-radius: 8px; padding: 11px 16px; margin-bottom: 8px; } .faq summary { cursor: pointer; font-weight: 700; } .faq p { margin: 8px 0 4px; color: var(--ink2); }
.sugg { padding-left: 20px; margin: 0; } .sugg li { margin-bottom: 12px; } .sugg p { margin: 3px 0 0; color: var(--ink2); }
.mods { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mod { border: 1px solid var(--field); border-radius: 99px; padding: 4px 12px; font-size: 12px; cursor: pointer; background: #fff; display: inline-flex; gap: 5px; align-items: center; font-weight: 600; color: var(--ink2); }
.mod.on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-d); } .mod.core { cursor: default; } .mod.dim { opacity: .45; } .mod small { color: var(--muted); font-weight: 400; }

/* 문서 */
.doc { color: #111; } .doc h1 { font-size: 22px; text-align: center; margin: 6px 0 14px; } .doc h2 { font-size: 15px; margin: 18px 0 8px; border-left: 4px solid var(--brand); padding-left: 8px; }
.doc table th, .doc table td { border: 1px solid #D5D9DF; } .doc .kv th { width: 110px; } .doc td { white-space: normal; }
.sign { display: flex; justify-content: space-around; margin-top: 30px; font-weight: 700; }
@page { size: A4; margin: 0; } /* 브라우저 머리글 · 바닥글(날짜 · 제목 · about:blank · 쪽번호) 없이 인쇄 */
.print-body { padding: 0 15mm; } @media print { .print-body { padding: 0 15mm; } }
/* 쪽마다 위 · 아래 여백: 반복되는 표 머리 · 꼬리 칸으로 확보 (@page 여백 0 = 브라우저 머리글 · 바닥글 없음) */
.pwrap { width: 100%; border-collapse: collapse; } .pwrap > thead > tr > td, .pwrap > tfoot > tr > td, .pwrap > tbody > tr > td { border: 0; padding: 0; height: auto; text-align: left; white-space: normal; }
.pwrap .pgap { height: 15mm; } .print-body .doc td.pnw, .print-body .doc th.pnw { white-space: nowrap; } .pwrap > tbody > tr > td { display: block; }
.print-body .doc table:not(.pwrap) { font-size: 11px; } .print-body .doc table:not(.pwrap) th, .print-body .doc table:not(.pwrap) td { padding: 4px 6px; height: 30px; word-break: keep-all; }
@media print { .doc h2 { break-after: avoid; } tr { break-inside: avoid; } }
/* 인쇄 항목 단위: 제목(2. 3. …)과 그 내용(표 등)을 한 덩어리로 — 마지막 줄만 다음 장으로 밀리면 항목 전체를 다음 장으로 */
.psec { break-inside: avoid; page-break-inside: avoid; } .psec > h2:first-child { margin-top: 18px; }
.print-body .doc table { break-inside: auto; } .print-body .tbl-wrap { overflow: visible; }

.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; z-index: 200; transition: .25s; max-width: 90vw; font-weight: 600; }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: #E5484D; }

@media (max-width: 1180px) { .sysgrid { grid-template-columns: repeat(min(var(--n,4), 2), minmax(0,1fr)); max-width: 760px; } .hrow.a, .hrow.b { grid-template-columns: 1fr; } .smap { grid-template-columns: 1fr; gap: 18px; } .smap svg.edges { display: none; } .krow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .side { position: static; width: auto; border-right: 0; border-bottom: 1px solid var(--line); margin-top: var(--topH); max-height: 46vh; } .side .bottom { display: none; }
  .body { margin: 0; } .picking .body, .body.full { margin-top: var(--topH); } .guide-on .body { margin-right: 0; } .guide { width: 100%; }
  .topbar { gap: 8px; overflow-x: auto; } .topbar .who, .stamp, .tlogo span { display: none; } .topbar .engsel { max-width: 46vw; }
  .split, .grid2 { grid-template-columns: 1fr; } .f { grid-template-columns: 1fr; } .f > label { grid-template-columns: 1fr; row-gap: 4px; } .setform .f > label { grid-template-columns: 1fr; }
  .view { padding: 14px 16px 40px; } .md { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sysgrid { grid-template-columns: 1fr; } .sysc { aspect-ratio: auto; min-height: 280px; } .syspick { padding: 32px 16px; } .cal-d { min-height: 64px; } .cal-e { font-size: 0; height: 6px; padding: 0; } }

/* Q&A 상세 · 답변 초안 도우미 (회계사 전용) */
.ticket .tt { font-size: 15px; } .ticket .qbody { background: var(--sunken); border-radius: 8px; padding: 10px 14px; white-space: pre-wrap; }
.draft { border: 2px solid var(--brand); box-shadow: 0 2px 10px var(--brand-shadow); border-radius: 10px; padding: 14px 16px; margin: 12px 0; }
.draft.empty-d { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .draft.empty-d b { color: var(--brand); font-size: 14px; } .draft.empty-d p { margin: 0; flex: 1; min-width: 240px; color: var(--ink2); }
.draft .dh { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .draft .dh b { color: var(--brand); font-size: 14px; } .draft .dh small { color: var(--muted); }
.dtext { white-space: pre-wrap; font: inherit; background: var(--brand-soft); border-radius: 8px; padding: 12px 14px; margin: 10px 0; line-height: 1.65; }
.dchk { margin: 0 0 10px; padding: 8px 12px 8px 28px; background: var(--brick-soft); color: var(--brick); border-radius: 8px; font-size: 12px; font-weight: 600; }
.dsrc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.dgrp { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-width: 0; } .dgrp h5 { margin: 0 0 4px; font-size: 12px; color: var(--ink2); } .dgrp h5 em { font-style: normal; color: var(--brand); margin-left: 3px; }
.dsi { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; border-top: 1px solid var(--line); } .dsi:first-of-type { border-top: 0; } .dsi > div { flex: 1; min-width: 0; } .dsi b { font-size: 12px; } .dsi p { margin: 2px 0 0; font-size: 12px; color: var(--ink2); } .dsi .tag { margin-left: 4px; }
.simfaq { border: 1px dashed var(--brand-light); border-radius: 8px; padding: 10px 14px; margin: 6px 0; } .simfaq details { margin-top: 6px; } .simfaq summary { cursor: pointer; font-weight: 600; } .simfaq p { margin: 4px 0 0; color: var(--ink2); }

/* 규정 · 지침 · 매뉴얼 — 왼쪽 고정 조문 목록 + 오른쪽 본문 (브릭스 전문가칼럼 형식) */
.lib-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.lib-search { position: relative; display: flex; align-items: center; flex: 1; min-width: 260px; max-width: 520px; }
.lib-search svg { position: absolute; left: 12px; width: 15px; height: 15px; color: var(--muted); }
.lib-search input { width: 100%; height: 38px; padding: 0 34px 0 36px; border-radius: 8px; font-size: 13.5px; }
.lib-search .x { position: absolute; right: 8px; font-size: 20px; }
.lib-res { margin-bottom: 18px; } .lib-res .st h2 em { font-style: normal; color: var(--brand); margin-left: 4px; } .lib-res .ln span:first-child { white-space: normal; }
mark { background: #FFE58A; color: inherit; border-radius: 2px; padding: 0 1px; }
.doc-tabs { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.doc-tab { border: 1px solid var(--field); background: #fff; border-radius: 10px; padding: 9px 14px; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; font: inherit; max-width: 300px; }
.doc-tab b { font-size: 13px; } .doc-tab small { font-size: 11px; color: var(--muted); } .doc-tab .tag { align-self: flex-start; }
.doc-tab:hover { border-color: var(--ink2); } .doc-tab.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); background: var(--brand-soft); }
.lib { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.lib-toc { position: sticky; top: calc(var(--topH) + 20px); max-height: calc(100vh - var(--topH) - 40px); overflow-y: auto; border-left: 2px solid var(--line); padding: 2px 0 2px 20px; }
.toc-h { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; color: var(--brand); margin-bottom: 12px; } .toc-h small { letter-spacing: 0; color: var(--muted); font-weight: 600; margin-left: 4px; }
.lib-toc ol { list-style: none; margin: 0; padding: 0; }
.lib-toc a { display: flex; gap: 9px; padding: 6px 0; color: var(--ink2); text-decoration: none; font-size: 13.5px; line-height: 1.5; position: relative; transition: color .15s; }
.lib-toc a em { font-style: normal; color: var(--muted); font-weight: 600; flex: none; font-variant-numeric: tabular-nums; }
.lib-toc a:hover { color: var(--ink); }
.lib-toc a.on { color: var(--ink); font-weight: 800; } .lib-toc a.on em { color: var(--brand); }
.lib-toc a.on::before { content: ''; position: absolute; left: -22px; top: 6px; bottom: 6px; width: 2px; background: var(--brand); }
.lib-toc a.dim { opacity: .4; } .lib-toc a.hit span { background: #FFF3BF; border-radius: 3px; }
.lib-body { min-width: 0; max-width: 900px; padding-bottom: 55vh; font-size: 15px; line-height: 1.9; color: var(--ink); }
.lib-head { margin-bottom: 26px; } .lib-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 4px; line-height: 1.35; } .lib-head .muted { font-size: 13px; }
.cl { scroll-margin-top: calc(var(--topH) + 24px); padding: 4px 0 22px; border-radius: 6px; transition: background .6s; }
.cl h3 { font-size: 19px; font-weight: 800; letter-spacing: -.03em; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin: 18px 0 14px; display: flex; gap: 10px; align-items: baseline; }
.cl h3 .no { color: var(--brand); font-size: 15px; font-weight: 800; }
.cl p { margin: 0 0 10px; }
.cl.flash { background: var(--brand-soft); }
.hist { margin-top: 20px; font-size: 13px; }
@media (max-width: 1000px) { .lib { grid-template-columns: 1fr; gap: 20px; } .lib-toc { position: static; max-height: 260px; } }
.mod.rec { border-style: dashed; border-color: var(--brand-light); } .mod .rtag { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--brand); background: var(--brand-soft); border-radius: 4px; padding: 0 5px; }
.adminview { background: var(--wait-soft); border-radius: 8px; padding: 6px 10px; }
.lg .join { width: 100%; height: 52px; margin-top: 12px; border: 1px solid var(--brand); background: #fff; color: var(--brand); border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.3; } .lg .join small { font-size: 11.5px; font-weight: 500; color: var(--ink2); } .lg .join:hover { background: var(--brand-soft); }
.f.one { grid-template-columns: 1fr; }

.lg .acct-note { margin: 14px 0 0; font-size: 12.5px; color: var(--ink2); text-align: center; line-height: 1.6; }

.msg.agency { background: #EAF1FE; border: 1px solid #9DBDF8; align-self: flex-start; } .agency-ans { border: 1px dashed var(--brand-light); border-radius: 8px; padding: 10px 14px; margin: 10px 0; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .agency-ans .note { flex: 1; min-width: 240px; margin: 0; }

/* 증빙 업로드 칸 · 비목별 필요 서류 */
.evg { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.evg-h { font-size: 13px; margin-bottom: 6px; } .evg-h small { color: var(--muted); margin-left: 6px; }
.evg-l { list-style: none; margin: 0; padding: 0; } .evg-l li { font-size: 12.5px; padding: 3px 0; color: var(--ink2); display: flex; gap: 6px; align-items: baseline; } .evg-l li i { font-style: normal; color: var(--muted); width: 14px; } .evg-l li.ok { color: var(--ink); } .evg-l li.ok i { color: var(--ok); font-weight: 800; } .evg-l em { font-style: normal; font-size: 11px; color: var(--brick); background: var(--brick-soft); border-radius: 4px; padding: 0 5px; }
.evup { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .evup select { flex: 1; min-width: 140px; }
.evlist { list-style: none; margin: 0; padding: 0; } .evlist li { font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid var(--line); } .evlist li:last-child { border-bottom: 0; } .evt { color: var(--ink2); font-variant-numeric: tabular-nums; }
.docrules { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 12px 0; } .docrules summary { cursor: pointer; } .docrules table { margin-top: 10px; } .docrules input.wide { width: 100%; min-width: 260px; } .w220 { width: 220px; } .tier { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; flex-wrap: wrap; }

.evg-l .auto { font-size: 11px; color: var(--wait); background: var(--wait-soft); border-radius: 4px; padding: 0 5px; margin-left: 2px; }

/* 고객센터 문의 (11프로젝트 입력폼 형식) */
.lg .support-btn { width: 100%; height: 48px; margin-top: 12px; border: 1px solid var(--field); background: #fff; color: var(--ink); border-radius: 8px; font-size: 14.5px; font-weight: 700; cursor: pointer; } .lg .support-btn:hover { border-color: var(--brand); color: var(--brand); }
.support { min-height: 100vh; background: #fff; }
.sp-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.sp-logo { display: flex; align-items: center; gap: 8px; } .sp-logo .lg-mark { height: 26px; } .sp-logo b { font-size: 18px; font-weight: 800; letter-spacing: -.04em; } .sp-logo em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--brand); border-left: 1px solid var(--line); padding-left: 8px; }
.sp-hero { text-align: center; padding: 56px 20px 50px; border-bottom: 1px solid var(--line); }
.sp-hero .hi { color: var(--brand); font-weight: 700; font-size: 16px; } .sp-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -.05em; margin: 10px 0 18px; } .sp-hero p { color: var(--ink2); font-size: 16px; margin: 0; }
.sp-form { max-width: 590px; margin: 0 auto; padding: 40px 20px 80px; }
.sf { margin-bottom: 26px; } .sf label { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 10px; color: var(--ink); } .sf label i { font-style: normal; color: #E5484D; }
.sf input, .sf textarea { width: 100%; height: 56px; border: 1px solid #D5D9DF; border-radius: 6px; padding: 0 16px; font-size: 15px; background: #fff; margin: 0; }
.sf textarea { height: 166px; padding: 14px 16px; resize: vertical; } .sf .cnt { display: block; text-align: right; font-size: 12px; color: var(--ink2); margin-top: 6px; }
.sf input:focus, .sf textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); } .sf.bad input, .sf.bad textarea { border-color: #E5484D; }
.sp-agree { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 8px; font-size: 14.5px; } .sp-agree label { display: flex; gap: 10px; align-items: center; cursor: pointer; } .sp-agree input { width: 20px; height: 20px; }
.lnk { border: 0; background: none; color: var(--ink2); text-decoration: underline; cursor: pointer; font-size: 13px; }
.sp-terms { background: var(--sunken); border-radius: 6px; padding: 12px 14px; font-size: 12.5px; color: var(--ink2); margin-top: 10px; line-height: 1.6; }
.sp-form .err { color: #E5484D; font-size: 13px; margin: 14px 0 0; min-height: 18px; text-align: center; }
.sp-submit { width: 100%; height: 60px; margin-top: 14px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; } .sp-submit:hover { background: var(--brand-d); }
.sp-done { text-align: center; padding: 70px 20px; } .sp-done .ck { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 32px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; } .sp-done h2 { font-size: 24px; margin-bottom: 10px; } .sp-done p { color: var(--ink2); margin: 0 0 24px; }
.mailset { margin-bottom: 18px; } .mailset .f > label { grid-template-columns: 220px minmax(0, 1fr); }
@media (max-width: 600px) { .sp-hero h1 { font-size: 30px; } }

/* 질문하기 — 왼쪽 작성 · 오른쪽 내 질문(아코디언) */
.qna2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.ask2, .mine2 { border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; background: #fff; min-height: 640px; display: flex; flex-direction: column; }
.ask2 { border-color: var(--brand-light); } .ask2 h3, .mine2 h3 { font-size: 17px; font-weight: 800; color: var(--brand); margin-bottom: 4px; } .mine2 h3 { color: var(--ink); }
.ask2 .ql { font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
.ask2 input { height: 48px; font-size: 14px; } .ask2 textarea { flex: 1; min-height: 320px; font-size: 14px; line-height: 1.6; margin: 0; }
.mh2 { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; } .qlist { flex: 1; overflow-y: auto; max-height: 720px; border-top: 1px solid var(--line); }
.qi { border-bottom: 1px solid var(--line); } .qi-h { width: 100%; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 14px 4px; cursor: pointer; text-align: left; font: inherit; }
.qi-h:hover { background: #F7F9FC; } .qi-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .qi-t b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .qi-t small { color: var(--muted); font-size: 11.5px; }
.qi-s { flex: none; } .qi-h svg { width: 10px; height: 10px; stroke: var(--ink2); fill: none; stroke-width: 1.6; transition: transform .15s; flex: none; } .qi.open .qi-h svg { transform: rotate(180deg); }
.qi.open { background: var(--sunken); } .qi-b { padding: 4px 12px 16px; } .qi-b .thread { margin-top: 6px; } .qi-more { min-height: 70px; }
@media (max-width: 1000px) { .qna2 { grid-template-columns: 1fr; } .ask2, .mine2 { min-height: 0; } .ask2 textarea { min-height: 200px; } }

.phead .ptools { display: flex; gap: 6px; flex-wrap: wrap; } .phead .ptools .btn { height: 35px; line-height: 33px; font-size: 13px; }

/* 진행 단계 경고등 */
ol.steps li { position: relative; }
.stp-al { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.stp-al i { font-style: normal; font-size: 11px; font-weight: 800; border-radius: 99px; padding: 1px 7px; animation: blink 1.6s ease-in-out infinite; }
.stp-al.warn i { background: var(--brick-soft); color: var(--brick); } .stp-al.crit i { background: var(--crit-soft); color: #A12727; } .stp-al.info i { background: var(--wait-soft); color: var(--wait); }
.stp-al.sel i { animation: none; outline: 1px solid currentColor; }
@keyframes blink { 50% { opacity: .45; } }
.stp-msg { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-radius: 8px; padding: 12px 16px; margin: -6px 0 16px; font-size: 13.5px; }
.stp-msg.warn { background: var(--brick-soft); color: var(--brick); } .stp-msg.crit { background: var(--crit-soft); color: #A12727; } .stp-msg.info { background: var(--wait-soft); color: var(--wait); }
@media (prefers-reduced-motion: reduce) { .stp-al i { animation: none; } }

/* 집행관리 › 전체현황 · 정산관리 */
table.bl td, table.bl th { height: 42px; } table.bl tr.cat.open td { background: var(--brand-soft); } table.bl tr.subrow td { background: var(--sunken); color: var(--ink2); font-size: 12.5px; height: 34px; } table.bl tr.total td { background: var(--sunken); border-top: 2px solid var(--ink); }
.rp-head { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; } .rp-head h3 { font-size: 18px; font-weight: 800; display: flex; gap: 8px; align-items: center; } .rp-head p { margin: 4px 0 0; }
.rp { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin-bottom: 14px; } .rp h4 { margin: 0 0 10px; font-size: 15px; color: var(--brand); }
.rp textarea { min-height: 96px; } .rp-t { margin: 6px 0 10px; } .rp-t input { width: 100%; padding: 5px 8px; } .rp-t tr.total td { background: var(--sunken); }
.rp-att { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* 팝업 마무리 버튼 줄: 10-1 팝업 기본 설정 차용 — 가운데, 버튼 크게, 주 버튼은 맨 오른쪽 */
.modal .mb .row.end { justify-content: center; gap: 10px; margin-top: 28px; }
.modal .mb .row.end > .btn:not(.sm):not(.xs) { height: 42px; line-height: 40px; min-width: 128px; padding: 0 22px; font-size: 14px; text-align: center; }
.modal .mb .row.end > .btn.pri { order: 2; }

/* 검증보고서 */
.rp textarea[data-v-f="scope"] { min-height: 160px; } details.vr-src > summary { cursor: pointer; display: flex; align-items: center; gap: 8px; } details.vr-src[open] > summary { margin-bottom: 14px; }

/* 공지 · 메일: 받는 수행기업 체크 목록 */
.rcpt { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; } .rcpt-h { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; } .rcpt-h .lt { font-weight: 700; font-size: 13px; }
.rcpt-l { max-height: 220px; overflow-y: auto; display: grid; gap: 2px; } .rcpt-l .mini-chk { display: flex; align-items: center; gap: 6px; padding: 4px 2px; font-size: 13px; }
.mailpv { white-space: pre-wrap; font: inherit; font-size: 13.5px; line-height: 1.7; background: var(--sunken); border-radius: 8px; padding: 16px 18px; }
.f .rcpt input[type=checkbox] { width: auto; min-height: 0; margin: 0; flex: none; } .rcpt-l .mini-chk { justify-content: flex-start; white-space: normal; }

/* ===================== 비즈브릭스 추가 ===================== */
.hint.r { text-align: right; } .neg { color: var(--crit); }
.kpi[data-go] { cursor: pointer; } .kpi[data-go]:hover { border-color: var(--brand-light); }
.lnk2 { font-size: 12.5px; color: var(--ink2); text-decoration: none; } .lnk2:hover { color: var(--brand); }
.cnt-o { font-style: normal; color: var(--brick); margin-left: 4px; }
.empty.big { font-size: 15px; color: var(--ink2); padding: 46px 8px; } .empty.big small { font-size: 12.5px; color: var(--muted); }
/* 홈 */
.greet { margin: 6px 0 20px; } .greet h2 { font-size: 24px; font-weight: 800; letter-spacing: -.04em; } .greet p { margin: 6px 0 0; color: var(--ink2); font-size: 14px; }
.hcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hcard { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 18px; text-align: left; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 4px rgba(20,24,33,.04); }
.hcard:hover { border-color: var(--brand-light); box-shadow: 0 4px 14px var(--brand-shadow); }
.hc-h { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; } .hc-h b { font-size: 15px; } .hchip { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); border-radius: 4px; padding: 0 6px; } .hdday { margin-left: auto; font-size: 12px; color: var(--muted); }
.hc-r { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink2); } .hc-r > span:last-child, .hc-r > b { color: var(--ink); font-variant-numeric: tabular-nums; }
.hc-b { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 6px; font-size: 13px; color: var(--ink2); } .hc-b b { font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.todo-i { display: flex; align-items: center; gap: 12px; } .todo-i .tcat { flex: none; font-size: 11px; background: rgba(255,255,255,.7); border: 1px solid currentColor; border-radius: 4px; padding: 0 6px; }
.todo-i .tt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .todo-i .tt small { font-weight: 500; font-size: 12px; opacity: .8; } .todo-i .tgo { font-size: 18px; } .todo-i.info { border-color: var(--line); box-shadow: none; }
.prow { display: grid; grid-template-columns: minmax(0, 1fr) auto 140px; gap: 12px; align-items: center; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 10px 14px; text-align: left; cursor: pointer; font: inherit; } .prow:last-child { border-bottom: 0; } .prow:hover { background: #F7F9FC; }
.pbar { height: 8px; background: var(--sunken); border-radius: 99px; overflow: hidden; } .pbar i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.benefit { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 16px 18px; margin-bottom: 10px; text-align: left; cursor: pointer; font: inherit; } .benefit b { font-size: 15px; line-height: 1.35; } .benefit span { font-size: 12.5px; color: var(--brand); font-weight: 700; } .benefit i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 34px; font-style: normal; } .benefit:hover { border-color: var(--brand-light); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; } .qchip { border: 1px solid var(--field); background: #fff; border-radius: 99px; padding: 5px 12px; font: inherit; font-size: 12.5px; cursor: pointer; color: var(--ink2); } .qchip:hover { border-color: var(--brand); color: var(--brand); } .qchip.sm { padding: 1px 8px; font-size: 11.5px; cursor: default; }
/* 탭 · 필터 · 월 선택 */
.utabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 0 0 14px; flex-wrap: wrap; }
.utabs button { border: 0; background: none; padding: 9px 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; } .utabs button.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 800; } .utabs button em { font-style: normal; font-size: 11px; color: #fff; background: var(--brick); border-radius: 99px; padding: 0 6px; margin-left: 2px; }
.filterbox { border: 1px solid var(--line); border-radius: 10px; padding: 4px 14px; margin-bottom: 12px; background: #fff; } .filterbox .row { margin: 8px 0; }
.mnav { display: inline-flex; align-items: center; gap: 6px; } .mnav b { font-size: 14px; min-width: 64px; text-align: center; } .mn { border: 1px solid var(--field); background: #fff; border-radius: 6px; width: 28px; height: 28px; cursor: pointer; font-size: 15px; line-height: 1; }
.seg.big { display: flex; } .seg.big button { flex: 1; padding: 14px; font-size: 14.5px; }
.bulk { background: var(--brand-soft); border-radius: 8px; padding: 6px 10px; }
.evtbl td { height: 44px; padding: 6px 7px; } .evtbl th { padding: 5px 7px; } .evtbl select.accsel { min-width: 112px; max-width: 136px; padding: 4px 6px; font-size: 12px; } .accsel.empty { color: var(--muted); border-style: dashed; } .evtbl .memo { width: 84px; padding: 4px 6px; font-size: 12px; } .evtbl .psel { max-width: 112px; padding: 4px 6px; font-size: 12px; color: var(--ink2); }
.rtag { font-size: 10.5px; color: var(--wait); background: var(--wait-soft); border-radius: 4px; padding: 0 4px; margin-left: 3px; }
.tbl tr.total td { background: var(--sunken); border-top: 2px solid var(--ink); }
.infobox { background: var(--sunken); border-radius: 10px; padding: 12px 16px; margin: 0 0 14px; font-size: 12.5px; color: var(--ink2); } .infobox > b { display: block; color: var(--ink); margin-bottom: 4px; } .infobox li b { color: var(--ink); } .infobox ul { margin: 0; padding-left: 18px; } .infobox li { margin: 2px 0; }
/* 손익표 */
.pltbl td, .pltbl th { height: 38px; } .pltbl tr.cat td:first-child { font-weight: 700; color: var(--ink); } .pltbl tr.cat.click { cursor: pointer; } .pltbl tr.cat.click:hover { background: #F7F9FC; }
.pltbl tr.sum td { background: var(--brand-soft); font-weight: 700; } .pltbl tr.sum td:first-child { color: var(--brand-d); } .pltbl tr.subrow td { background: #FBFBFC; font-size: 12.5px; color: var(--ink2); height: 32px; } .pltbl tr.subrow td:first-child { padding-left: 28px; }
.caret { display: inline-block; width: 14px; color: var(--muted); transition: transform .15s; } .caret.on { transform: rotate(90deg); }
.chart.wide { max-height: 260px; }
.vbig { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: 12px; background: var(--brand-soft); margin: 4px 0 14px; } .vbig small { color: var(--ink2); font-size: 13px; } .vbig b { font-size: 30px; font-weight: 800; letter-spacing: -.04em; } .vbig b small { font-size: 16px; } .vbig > span { font-size: 12.5px; color: var(--ink2); } .vbig.sm b { font-size: 22px; }
.ratios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; } .ratio { border: 1px solid var(--line); border-radius: 10px; padding: 12px 15px; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; } .ratio span { font-weight: 700; font-size: 12.5px; color: var(--ink2); } .ratio b { grid-column: 1; font-size: 20px; font-weight: 800; } .ratio em { grid-column: 2; grid-row: 1 / 3; align-self: center; font-style: normal; font-weight: 800; } .ratio small { grid-column: 1 / -1; color: var(--muted); font-size: 11.5px; }
/* 계좌 카드 */
.acards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 18px; } .acard { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; background: #fff; } .acard .ano { font-variant-numeric: tabular-nums; color: var(--ink2); letter-spacing: .02em; } .acard .btn { align-self: flex-start; margin-top: 4px; }
/* 신고 */
.fcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; margin-bottom: 18px; }
.fcard { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; background: #fff; padding: 14px 16px; text-align: left; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: 5px; } .fcard:hover { box-shadow: 0 4px 14px var(--brand-shadow); } .fcard.done { border-left-color: var(--line); } .fcard .fk { font-size: 11.5px; font-weight: 800; color: var(--brand); } .fcard.done .fk { color: var(--muted); } .fcard b { font-size: 15px; } .fcard small { color: var(--ink2); } .fcard .famt { font-size: 12.5px; color: var(--ink2); } .fcard .famt b { font-size: 14px; color: var(--ink); }
.crumb2 { font-size: 15px; margin: 0 0 12px; } .crumb2 a { color: var(--ink2); }
.fsteps { display: flex; align-items: flex-start; justify-content: center; margin: 10px 0 24px; } .fs2 { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 150px; color: var(--muted); font-size: 12.5px; } .fs2 i { width: 32px; height: 32px; border-radius: 99px; border: 1.5px solid var(--field); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 700; background: #fff; }
.fs2.on { color: var(--brand); font-weight: 700; } .fs2.on i { background: var(--brand); border-color: var(--brand); color: #fff; } .fs2.done { color: var(--ink2); } .fs2.done i { border-color: var(--brand-light); color: var(--brand); } .fs2 small { font-size: 11px; color: var(--muted); font-weight: 500; } .fline { flex: none; width: 100px; border-top: 1px solid var(--field); margin-top: 16px; }
.h3 { font-size: 17px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.03em; }
.linkchk { display: flex; align-items: center; gap: 16px; justify-content: space-between; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; } .linkchk p { margin: 2px 0; font-size: 13px; } .linkchk.bad { border-color: #F2B8B8; }
.upbox { display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 8px; min-height: 340px; }
.upcats { border-right: 1px solid var(--line); } .upcats button { display: flex; width: 100%; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; background: #fff; padding: 13px 16px; font: inherit; font-size: 13px; text-align: left; cursor: pointer; } .upcats button.on { border-left-color: var(--ink); font-weight: 800; background: var(--sunken); }
.uppane { padding: 14px 18px; } .uppane h4:first-child { margin-top: 0; }
.drop { display: flex; align-items: center; justify-content: center; border: 1.5px dashed var(--field); border-radius: 8px; height: 110px; cursor: pointer; color: var(--ink2); margin: 8px 0; } .drop:hover { border-color: var(--brand); color: var(--brand); } .drop.off { cursor: default; color: var(--muted); background: var(--sunken); }
.row.end2 { margin-top: 14px; } .btn.big { height: 42px; line-height: 40px; padding: 0 26px; font-size: 14px; }
.flowbox { margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; } .flowbox ol.steps { margin: 10px 0 4px; }
.fx { display: inline-block; font-size: 10.5px; font-style: italic; font-weight: 700; color: var(--brand); border: 1px solid var(--brand-light); border-radius: 4px; padding: 0 4px; margin-left: 4px; cursor: help; }
.stp-msg { margin: 0 0 14px; }
/* 지원금 */
.funds { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-top: 12px; } .fund { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; } .fund b { font-size: 14px; line-height: 1.4; } .fund .btn { align-self: flex-start; }
.fh { display: flex; align-items: center; gap: 8px; } .fh small { color: var(--muted); flex: 1; } .dd { font-size: 11.5px; font-weight: 800; background: var(--sunken); border-radius: 4px; padding: 0 6px; } .dd.hot { background: var(--crit-soft); color: var(--crit); } .star { border: 0; background: none; color: #D0D4DA; font-size: 18px; cursor: pointer; padding: 0; } .star.on { color: #F5B301; }
/* 문의 */
.mgrcard { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; } .mgrcard > div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; display: flex; flex-direction: column; } .mgrcard small { color: var(--muted); font-size: 11.5px; } .mgrcard b { font-size: 15px; } .mgrcard span { font-size: 12.5px; color: var(--ink2); }
.dotn { display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--crit); vertical-align: 2px; }
.ask2 textarea#ans { min-height: 200px; flex: none; }
/* 급여 계산기 */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; margin-bottom: 16px; } .cform, .cres { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; } .cform h3, .cres h3 { font-size: 16px; margin-bottom: 10px; }
.cfld { display: flex; flex-direction: column; gap: 4px; margin: 0 0 14px; font-size: 13px; font-weight: 600; } .cfld small { font-weight: 400; color: var(--muted); font-size: 11.5px; } .cin { display: flex; align-items: center; gap: 6px; } .cin input { flex: 1; height: 38px; } .cin em { font-style: normal; color: var(--ink2); }
.cres { position: sticky; top: calc(var(--topH) + 16px); align-self: start; background: var(--sunken); }
/* AI 비서 */
.aiw { display: grid; grid-template-columns: 240px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 12px; height: calc(100vh - var(--topH) - 150px); min-height: 520px; overflow: hidden; }
.aiside { border-right: 1px solid var(--line); padding: 14px; overflow-y: auto; background: var(--sunken); display: flex; flex-direction: column; gap: 4px; } .aiside .btn { width: 100%; margin-bottom: 8px; } .aih { font-size: 11px; font-weight: 800; color: var(--muted); margin: 6px 0; }
.aic { border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 8px; font: inherit; font-size: 12.5px; cursor: pointer; display: flex; flex-direction: column; } .aic small { color: var(--muted); font-size: 11px; } .aic.on, .aic:hover { background: #fff; }
.aimain { display: flex; flex-direction: column; min-width: 0; } .aimsgs { flex: 1; overflow-y: auto; padding: 22px 26px; display: flex; flex-direction: column; gap: 12px; }
.aim { max-width: 78%; border-radius: 14px; padding: 11px 15px; line-height: 1.65; font-size: 13.5px; } .aim.u { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; } .aim.a { align-self: flex-start; background: var(--sunken); border-bottom-left-radius: 4px; } .aim ul { margin: 6px 0; padding-left: 18px; } .aim .btn { margin: 4px 4px 0 0; }
.aiwel { margin: auto; text-align: center; max-width: 620px; } .aiico { font-size: 44px; } .aiwel h2 { font-size: 22px; margin: 6px 0; } .aiwel p { color: var(--ink2); line-height: 1.7; } .aiwel .chips { justify-content: center; margin-top: 14px; }
.aiin { display: flex; gap: 8px; border-top: 1px solid var(--line); padding: 12px 16px; } .aiin input { flex: 1; height: 42px; font-size: 14px; border-radius: 10px; } .aiin .btn { height: 42px; line-height: 40px; }
/* 사이드: 내역 수집 */
.collect { border-bottom: 1px solid var(--line); } .cbtn { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 11px 16px; font: inherit; font-weight: 700; cursor: pointer; text-align: left; } .cbtn:hover { background: #F7F9FC; } .cbtn span { flex: 1; } .cbtn small { font-weight: 500; color: var(--muted); font-size: 11px; } .cw { color: var(--crit); font-style: normal; font-size: 11px; } .cok { color: var(--ok); font-style: normal; font-size: 10px; }
/* 체험하기 */
.trybg { min-height: 100vh; background: #FAFAFA; display: flex; flex-direction: column; align-items: center; padding: 60px 20px 40px; border-top: 12px solid #252A20; }
.trycard { width: 100%; max-width: 750px; background: #fff; border-radius: 18px; box-shadow: 0 6px 30px rgba(20,24,33,.05); } .tryh { text-align: center; font-size: 17px; font-weight: 700; padding: 24px; border-bottom: 1px solid #F0F1F3; }
.tryb { max-width: 360px; margin: 0 auto; padding: 30px 0 50px; } .tryp { text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0 0 26px; }
.tryl { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; margin-bottom: 18px; } .tryl input { height: 44px; background: #EEF0F5; border-color: #D5D9E2; color: #9AA3AD; }
.tryenter { width: 100%; height: 48px; border: 0; border-radius: 6px; background: var(--brand); color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer; margin-top: 4px; } .tryenter:hover { background: var(--brand-d); } .trynote { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.6; }
.tryfoot { display: flex; align-items: center; gap: 8px; margin-top: 40px; font-size: 17px; } .tryfoot .lg-mark { height: 24px; } .tryfoot .lnk { margin-left: 12px; }
.lg .support-btn small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); }
/* 문서 */
.docpaper { background: var(--sunken); border-radius: 8px; padding: 18px; max-height: 62vh; overflow: auto; } .docpaper .doc { background: #fff; border: 1px solid var(--line); padding: 26px 30px; max-width: 760px; margin: 0 auto; font-size: 12.5px; }
.doc .wm { color: #d03b3b; font-weight: 700; text-align: center; border: 1px dashed #d03b3b; padding: 4px; margin-bottom: 12px; font-size: 12px; } .doc .c { text-align: center; } .doc .sig { text-align: right; margin-top: 24px; font-weight: 700; } .doc td.r { text-align: right; } .doc table { margin: 8px 0; } .doc th { text-align: left; }
/* 기장 업무 시스템 */
.tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; } .tk { border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 14px 16px; text-align: left; cursor: pointer; font: inherit; display: flex; flex-direction: column; gap: 2px; } .tk b { font-size: 22px; font-weight: 800; color: var(--ok); } .tk.on b { color: var(--brick); } .tk.on { border-color: #F6C9A8; } .tk span { font-weight: 700; } .tk small { color: var(--muted); font-size: 11.5px; min-height: 16px; }
.n2 { display: inline-block; font-size: 11.5px; background: var(--brick); color: #fff; border-radius: 99px; padding: 0 7px; font-weight: 700; }
.sug { font-size: 12px; color: var(--brand-d); background: var(--brand-soft); border-radius: 5px; padding: 1px 7px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1100px) { .hcards, .tasks, .mgrcard, .ratios { grid-template-columns: 1fr; } .calc, .aiw { grid-template-columns: 1fr; } .aiside { display: none; } .upbox { grid-template-columns: 1fr; } .upcats { border-right: 0; } .fsteps .fline { width: 30px; } }
