:root{--bg:#f5f6f7;--surface:#fff;--line:#e3e5e9;--line-strong:#cfd3d9;--text:#1b1e24;--muted:#6a717c;--ended:#8b919a;--danger:#b42318;--primary:#1f2a44;--primary-hover:#2b3858;--hover:#f1f2f4;--sel:#eef0f4;--band:#eceef2;--chart:#2c3a5c;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased;font-feature-settings:"tnum";font-family:Pretendard Variable,Pretendard,-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Malgun Gothic,sans-serif;font-size:14px;line-height:1.5}*{box-sizing:border-box}html,body{background:var(--bg);margin:0}body{overflow-x:hidden}h1,h2,h3,p{margin:0}h1{letter-spacing:-.01em;font-size:20px;font-weight:600}h2{font-size:16px;font-weight:600}button,input,select,textarea{font:inherit;color:inherit}.muted{color:var(--muted)}.small{font-size:12.5px}.ended{color:var(--ended);font-weight:400}.danger{color:var(--danger);font-weight:400}.nowrap{white-space:nowrap}.ellipsis{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.print-only{display:none}.app{grid-template-columns:208px minmax(0,1fr);min-height:100vh;display:grid}.side{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;gap:4px;height:100vh;padding:16px 12px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:8px;height:34px;margin-bottom:12px;padding:0 8px;font-weight:600;display:flex}.brand-mark{background:var(--primary);border-radius:3px;width:14px;height:14px}.side-nav{flex-direction:column;gap:2px;display:flex}.side-nav a{height:36px;color:var(--text);border-radius:6px;align-items:center;gap:10px;padding:0 10px;text-decoration:none;display:flex}.side-nav a:hover{background:var(--hover)}.side-nav a.active{background:var(--sel);font-weight:600}.nav-count{color:var(--danger);margin-left:auto;font-size:12.5px;font-weight:400}.demo-note{color:var(--muted);margin-top:auto;padding:8px;font-size:12px}.demo-note-bottom{display:none}.main{min-width:0;padding:24px 32px 96px}.page{flex-direction:column;gap:16px;max-width:1240px;margin:0 auto;display:flex}.page-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.page-head>div{flex-direction:column;gap:2px;min-width:0;display:flex}.btn{white-space:nowrap;border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 14px;display:inline-flex}.btn:hover{background:var(--hover)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary-hover)}.btn.ghost{background:0 0;border-color:#0000}.btn.ghost:hover{background:var(--hover)}.btn.sm{height:28px;padding:0 10px;font-size:13px}.btn:disabled{color:var(--ended);cursor:default;background:0 0}.icon-btn{cursor:pointer;width:28px;height:28px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{background:var(--hover);color:var(--text)}.link{height:28px;color:var(--muted);text-underline-offset:2px;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.link:hover{color:var(--text)}input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary);cursor:pointer;margin:0}:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar select,.search,.seg{height:32px}select{border:1px solid var(--line-strong);background:var(--surface);appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236a717c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat;border-radius:6px;max-width:100%;height:32px;padding:0 28px 0 10px}.search{border:1px solid var(--line-strong);background:var(--surface);width:220px;color:var(--muted);border-radius:6px;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.search input{min-width:0;height:30px;color:var(--text);background:0 0;border:0;outline:0;flex:1}.seg{border:1px solid var(--line-strong);background:var(--surface);border-radius:6px;display:inline-flex;overflow:hidden}.seg button{cursor:pointer;color:var(--muted);white-space:nowrap;background:0 0;border:0;padding:0 12px}.seg button+button{border-left:1px solid var(--line)}.seg button.on{background:var(--sel);color:var(--text);font-weight:600}.seg-sm{height:28px}.seg-sm button{padding:0 10px;font-size:13px}.totals{background:var(--surface);border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0;display:grid}.totals>div{min-width:0;padding:12px 16px}.totals>div+div{border-left:1px solid var(--line)}.totals dt{color:var(--muted);font-size:12.5px}.totals dd{margin:2px 0 0;font-size:17px;font-weight:600}.totals dd.danger{font-weight:600}.table-wrap{background:var(--surface);border:1px solid var(--line);border-radius:8px}.grid{border-collapse:collapse;table-layout:auto;width:100%}.grid th,.grid td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;height:48px;padding:0 12px}.grid thead th{height:40px;color:var(--muted);white-space:nowrap;background:#fafbfc;font-size:13px;font-weight:400}.grid thead th:first-child{border-top-left-radius:8px}.grid thead th:last-child{border-top-right-radius:8px}.grid tbody tr:last-child td{border-bottom:0}.grid tbody tr{cursor:pointer}.grid tbody tr:hover td{background:#fafbfc}.grid tbody tr.selected td{background:var(--sel)}.grid .num{text-align:right;white-space:nowrap}.grid .chk{width:40px;padding-right:0}.grid .act{text-align:right;width:44px;padding:0 8px}.grid td b{font-weight:600}.grid tr.empty td{text-align:center;color:var(--muted);cursor:default}.th-btn{color:inherit;cursor:pointer;height:28px;font-size:inherit;white-space:nowrap;background:0 0;border:0;align-items:center;gap:4px;padding:0;display:inline-flex}.th-btn:hover{color:var(--text)}th.num .th-btn{flex-direction:row}.name-cell{flex-direction:column;min-width:0;max-width:220px;line-height:1.35;display:flex}.name-cell .small{font-weight:400}.delta-cell{flex-direction:column;align-items:flex-end;line-height:1.35;display:flex}.memo-col{max-width:220px}.memo{max-width:220px;display:block}.menu-wrap{display:inline-flex;position:relative}.menu{z-index:30;background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;flex-direction:column;min-width:148px;padding:4px;display:flex;position:absolute;top:30px;right:0;box-shadow:0 6px 20px #1418201f}.menu button{text-align:left;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:5px;height:32px;padding:0 10px}.menu button:hover{background:var(--hover)}.more-list{align-items:center;gap:6px;min-width:0;max-width:100%;display:inline-flex;position:relative}.more-n{border:1px solid var(--line-strong);background:var(--surface);height:22px;color:var(--text);cursor:pointer;border-radius:4px;flex:none;padding:0 6px;font-size:12px}.popover{z-index:30;background:var(--surface);border:1px solid var(--line-strong);min-width:200px;color:var(--danger);border-radius:8px;flex-direction:column;padding:6px 0;display:flex;position:absolute;top:26px;right:0;box-shadow:0 6px 20px #1418201f}.popover-row{white-space:nowrap;padding:4px 12px}.bulk-bar{z-index:40;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;align-items:center;gap:8px;max-width:calc(100vw - 32px);padding:8px 8px 8px 16px;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(calc(104px - 50%));box-shadow:0 8px 28px #14182029}.bulk-bar>span{white-space:nowrap;margin-right:8px}.cards{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:none}.card{background:var(--surface);border:1px solid var(--line);cursor:pointer;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.card.selected{background:var(--sel)}.card.empty{color:var(--muted);text-align:center;cursor:default}.card-top{align-items:center;gap:10px;display:flex}.card-top .name-cell{flex:1;max-width:none}.card-top b{font-weight:600}.card-kv{grid-template-columns:1fr 1fr;gap:6px 12px;margin:0;display:grid}.card-kv dt{color:var(--muted);font-size:12px}.card-kv dd{white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}.card-status{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-width:0;padding-top:8px;display:flex}.card-line{flex-wrap:wrap;gap:8px;display:flex}.drawer-back{z-index:50;background:#14182047;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:var(--surface);flex-direction:column;width:min(600px,100vw);height:100%;display:flex;box-shadow:-8px 0 24px #1418201f}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 20px 12px;display:flex}.drawer-title{flex-direction:column;gap:2px;min-width:0;display:flex}.drawer-title h2{font-size:18px}.drawer-body{flex-direction:column;flex:1;gap:12px;padding:16px 20px 32px;display:flex;overflow-y:auto}.drawer-body>*{flex-shrink:0}.drawer-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.sec{margin-top:8px;font-size:14px;font-weight:600}.sec-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:8px;display:flex}.sec-row .sec{margin:0}.kpis{border:1px solid var(--line);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid;overflow:hidden}.kpis>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0;margin:0;padding:10px 12px}.kpis>div:nth-child(3n){border-right:0}.kpis>div:nth-last-child(-n+3){border-bottom:0}.kpis dt{color:var(--muted);font-size:12.5px}.kpis dd{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:15px;font-weight:600;overflow:hidden}.kpis dd.small{font-size:12px;font-weight:400}.kpis-4{grid-template-columns:repeat(4,minmax(0,1fr))}.kpis-4>div{border-bottom:0}.kpis-4>div:nth-child(3n){border-right:1px solid var(--line)}.kpis-4>div:last-child{border-right:0}.kpis-5{grid-template-columns:repeat(5,minmax(0,1fr))}.kpis-5>div{border-bottom:0}.kpis-5>div:nth-child(3n){border-right:1px solid var(--line)}.kpis-5>div:last-child{border-right:0}.mini-chart{border:1px solid var(--line);border-radius:8px;min-width:0;padding:10px 12px 6px}.mini-title{color:var(--muted);margin-bottom:4px;font-size:13px}.alert-mini{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.alert-mini li{border-bottom:1px solid var(--line);flex-direction:column;padding:8px 0;display:flex}.alert-mini li:last-child{border-bottom:0}.chart{width:100%;position:relative}.chart svg{touch-action:pan-y;display:block}.chart-grid{stroke:var(--line);stroke-width:1px}.chart-base{stroke:var(--line-strong);stroke-width:1px}.chart-tick{fill:var(--muted);font-size:11px}.chart-line{fill:none;stroke:var(--chart);stroke-width:2px;stroke-linejoin:round;stroke-linecap:round}.chart-band{fill:var(--band)}.chart-cross{stroke:var(--line-strong);stroke-width:1px}.chart-dot{fill:var(--chart);stroke:var(--surface);stroke-width:2px}.chart-tip{pointer-events:none;background:var(--surface);border:1px solid var(--line-strong);border-radius:6px;flex-direction:column;width:120px;padding:4px 8px;font-size:12px;line-height:1.4;display:flex;position:absolute;box-shadow:0 4px 12px #1418201a}.chart-tip b{font-weight:600}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:12px 16px}.panel-head{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.panel-head h2{font-size:14px}.rule{cursor:pointer;align-items:center;gap:10px;min-height:40px;display:flex}.rule+.rule{border-top:1px solid var(--line)}.rule.off .rule-text{color:var(--ended)}.rule-text{flex-wrap:wrap;align-items:center;gap:4px;display:inline-flex}.num-in{border:1px solid var(--line-strong);text-align:right;background:var(--surface);border-radius:6px;width:64px;height:28px;padding:0 6px}.dialog-back{z-index:60;background:#14182052;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);border-radius:10px;width:min(440px,100%);box-shadow:0 16px 40px #14182033}.dialog-head{justify-content:space-between;align-items:center;padding:14px 16px 8px;display:flex}.dialog-body{flex-direction:column;gap:10px;padding:0 16px 8px;display:flex}.dialog-foot{justify-content:flex-end;gap:8px;padding:12px 16px 16px;display:flex}.field{flex-direction:column;gap:4px;display:flex}.field>span{color:var(--muted);font-size:12.5px}.field select{width:100%}textarea{border:1px solid var(--line-strong);resize:vertical;background:var(--surface);border-radius:6px;width:100%;padding:8px 10px}.check{cursor:pointer;align-items:center;gap:8px;display:inline-flex}.report-page{max-width:900px}.paper{border:1px solid var(--line);background:#fff;flex-direction:column;gap:10px;width:100%;max-width:210mm;margin:0 auto;padding:14mm 14mm 10mm;display:flex;box-shadow:0 2px 10px #1418200f}.paper-head{border-bottom:2px solid var(--text);justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:12px;display:flex}.paper-head h2{font-size:22px}.paper-meta{grid-template-columns:auto auto;gap:2px 10px;margin:0;display:grid}.paper-meta>div{display:contents}.paper-meta dt{color:var(--muted)}.paper-meta dd{margin:0}.ptable{border-collapse:collapse;width:100%;font-size:13px}.ptable th,.ptable td{border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;padding:6px 8px}.ptable th{color:var(--muted);border-bottom-color:var(--line-strong);font-weight:400}.ptable .num{text-align:right}.paper-charts{grid-template-columns:1fr 1fr;gap:10px;display:grid}.paper-list{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.paper-list b{font-weight:600}.paper-note{font-size:13px}.paper-note-print{white-space:pre-wrap;border:1px solid var(--line);min-height:3em;padding:8px}.paper-foot{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:8px;padding-top:8px;display:flex}@media (width<=1180px){.hide-md{display:none}.main{padding:20px 20px 96px}}@media (width<=1023px){.app{grid-template-columns:minmax(0,1fr)}.side{z-index:20;border-right:0;border-bottom:1px solid var(--line);flex-direction:row;align-items:center;gap:12px;height:auto;padding:8px 16px;position:sticky;top:0}.brand{margin:0;padding:0}.side-nav{flex-direction:row}.side .demo-note{display:none}.demo-note-bottom{text-align:center;margin-top:24px;display:block}.bulk-bar{transform:translate(-50%)}}@media (width<=639px){.main{padding:16px 16px 96px}.side{flex-wrap:wrap;row-gap:4px;padding:8px 16px 6px}.brand{height:28px}.side-nav{justify-content:space-between;width:100%}.side-nav a{gap:6px;height:34px;padding:0 8px;font-size:13.5px}.page-head{flex-wrap:wrap}.table-wrap{display:none}.cards{display:flex}.totals{grid-template-columns:1fr 1fr}.totals>div:nth-child(3){border-left:0}.totals>div:nth-child(n+3){border-top:1px solid var(--line)}.totals dd{font-size:15px}.toolbar .search{width:100%}.toolbar select{flex:140px;min-width:0}.toolbar .seg{width:100%}.toolbar .seg button{flex:1;padding:0 6px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kpis>div:nth-child(3n){border-right:1px solid var(--line)}.kpis>div:nth-child(2n){border-right:0}.kpis>div:nth-last-child(-n+3){border-bottom:1px solid var(--line)}.kpis>div:nth-last-child(-n+2){border-bottom:0}.kpis-4>div,.kpis-5>div{border-bottom:1px solid var(--line)}.kpis-5>div:last-child{border-bottom:0;grid-column:span 2}.paper{padding:16px 14px}.paper-head{flex-direction:column;align-items:flex-start}.paper-charts{grid-template-columns:1fr}.hide-sm{display:none}.drawer-head,.drawer-body{padding-left:16px;padding-right:16px}.bulk-bar{bottom:12px;left:16px;right:16px;transform:none}.bulk-bar>span{margin-right:auto}}@page{size:A4;margin:10mm}@media print{html,body{background:#fff}.app{display:block}.side,.no-print,.demo-note-bottom,.bulk-bar,.drawer-back{display:none!important}.main{padding:0}.page{max-width:none}.paper{max-width:none;box-shadow:none;border:0;padding:0}.print-only{display:block}.hide-sm{display:table-cell!important}.paper-charts{grid-template-columns:1fr 1fr!important}.mini-chart,.kpis,.ptable{break-inside:avoid}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
