/* LINE E.N.G V5.41.0 - 경리업무 화면분리 / 상단탭 가림 수정 */
:root{--v538-tab-h:52px}
.v538-taskbar{height:var(--v538-tab-h)!important;padding:4px 8px!important;align-items:center!important}
.v538-tabs-scroll{height:44px!important;padding-top:1px!important;align-items:flex-start!important;scrollbar-width:thin}
.v538-tabs-scroll::-webkit-scrollbar{height:6px}.v538-tabs-scroll::-webkit-scrollbar-thumb{background:#96a4b0;border-radius:6px}.v538-tabs-scroll::-webkit-scrollbar-track{background:#d9e1e7}
.v538-tasktab{flex:0 0 auto}.v538-tasktab.on{margin-top:0}

.v541-page{height:calc(100vh - 10px);min-height:720px;display:grid;grid-template-rows:auto minmax(0,1fr) 315px;gap:8px;min-width:0;color:#24384d;overflow:hidden}
.v538-detached .v541-page{height:calc(100vh - 58px)}
.v541-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding:0 2px}.v541-head h2{margin:0;font-size:22px;color:#17324f}.v541-head h2 small{font-size:11px;color:#6b7f92;margin-left:8px}
.v541-upper{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-height:0;overflow:hidden}.v541-workcard{height:100%;min-height:0;display:flex;flex-direction:column}.v541-workcard .v5170-cardhead{flex:0 0 auto}.v541-workcard .v5170-cardbody{min-height:0!important;flex:1 1 auto;overflow:auto;padding:7px}.v541-workcard .v5170-tablewrap{max-height:245px}
.v541-inline-tabs{display:inline-flex;gap:3px;margin-left:5px}.v541-inline-tabs .btn{padding:4px 8px;font-size:10px}
.v541-projects{min-height:0;background:#fff;border:1px solid #a7cdee;border-radius:6px;overflow:hidden;display:flex;flex-direction:column}.v541-projecthead{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;background:linear-gradient(90deg,#eaf5ff,#f8fcff);border-bottom:1px solid #c5dff4}.v541-projecttitle{display:flex;align-items:center;gap:7px;white-space:nowrap}.v541-projecttitle b{font-size:15px;color:#18568e}.v541-projecttitle small{font-size:9.5px;color:#6d8194}.v541-projectbody{padding:5px;min-height:0;flex:1 1 auto;overflow:hidden}
.v541-listtools{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;flex-wrap:nowrap}.v541-listtools>.btn{white-space:nowrap}.v541-search{display:flex;min-width:250px}.v541-search input{width:245px;height:30px;border:1px solid #b9cbd9;border-radius:4px 0 0 4px;padding:0 7px;font-size:10px}.v541-search .btn{border-radius:0 4px 4px 0;padding:5px 8px;white-space:nowrap}.v541-listtools select{height:30px;min-width:102px;border:1px solid #b9cbd9;border-radius:4px;background:#fff;font-size:10px}.v541-dates{display:flex;align-items:center;gap:3px}.v541-dates input{height:30px;width:118px;border:1px solid #b9cbd9;border-radius:4px;padding:0 5px;font-size:9.5px}.v541-dates span{color:#6d8194}.v541-dates .btn{white-space:nowrap;padding:5px 8px}
.v541-projectscroll{height:240px;overflow:auto;border:1px solid #d4e0ea}.v541-projectscroll.all{height:auto;max-height:72vh}.v541-projecttable{width:100%;min-width:1450px;border-collapse:collapse;table-layout:fixed;font-size:9.4px}.v541-projecttable.tax{min-width:1260px}.v541-projecttable th,.v541-projecttable td{height:29px;padding:4px 5px;border:1px solid #dde6ee;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v541-projecttable th{height:31px;position:sticky;top:0;z-index:3;background:#eaf3fb;color:#2a435b;font-weight:1000}.v541-projecttable tbody tr{cursor:pointer}.v541-projecttable tbody tr:hover,.v541-projecttable tbody tr.selected{background:#fff7d6}.v541-projecttable td.money{text-align:right;font-variant-numeric:tabular-nums}.v541-projecttable td.bad{color:#b71f25;font-weight:900}.v541-tax{display:inline-flex;align-items:center;justify-content:center;min-width:48px;padding:2px 6px;border-radius:10px;font-weight:900}.v541-tax.done{background:#dcf4e7;color:#117846}.v541-tax.wait{background:#fff0d7;color:#9b6400}
.v541-modalbg{position:fixed;inset:0;z-index:31000;background:#0c213788;display:flex;align-items:center;justify-content:center;padding:16px}.v541-modal{width:min(1780px,98vw);max-height:94vh;background:#fff;border-radius:8px;box-shadow:0 24px 80px #0005;padding:10px;overflow:hidden;display:flex;flex-direction:column}.v541-modalhead{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 3px 9px}.v541-modalhead h2{margin:0;color:#173c5d;font-size:19px}.v541-modalhead span{display:block;margin-top:3px;font-size:10.5px;color:#718497}.v541-modal .v541-projectscroll{flex:1 1 auto;min-height:300px}
@media(max-width:1500px){.v541-projecttitle small{display:none}.v541-search{min-width:210px}.v541-search input{width:200px}.v541-dates input{width:108px}.v541-listtools{gap:3px}.v541-listtools .btn{padding-left:7px;padding-right:7px;font-size:10px}}
@media(max-width:1150px){.v541-page{height:auto;min-height:0;display:flex;flex-direction:column;overflow:visible}.v541-upper{grid-template-columns:1fr;overflow:visible}.v541-workcard{min-height:390px}.v541-projects{min-height:315px}.v541-listtools{flex-wrap:wrap;justify-content:flex-start}.v541-projecthead{align-items:flex-start;flex-direction:column}.v541-projectscroll{height:240px}}
