:root{--bg:#f5f7f8;--surface:#fff;--ink:#202c32;--muted:#7e8992;--line:#e9edef;--green:#1b7867;--green-soft:#eaf5f0;--orange:#c78137;--red:#c15a58;--sidebar:#fff;--font:"Segoe UI","Malgun Gothic",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 var(--font)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #87b8ad;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #a0cabb;outline-offset:1px}[hidden]{display:none!important}
.app-shell{display:flex;min-height:100vh}.sidebar{width:230px;flex-shrink:0;background:var(--sidebar);border-right:1px solid var(--line);padding:29px 18px 16px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;color:#173e37;font-size:24px;font-weight:750;letter-spacing:-.8px;padding:0 11px}.brand-mark{display:flex;align-items:center;justify-content:center;width:39px;height:41px;background:#174d41;border-radius:11px;color:white;font-size:31px;letter-spacing:-5px;padding-right:6px}.brand-mark span{color:#b8d785}.brand-sub{display:block;font-size:14px;letter-spacing:2px;font-weight:600;color:#87958e;line-height:1.25}.workspace-label{font-size:14px;letter-spacing:1.8px;font-weight:700;color:#9aa4ac;margin:43px 14px 13px}nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:13px;padding:11px 14px;width:100%;border:0;background:transparent;text-align:left;color:#67747d;border-radius:7px;font-weight:550}.nav-item.active{background:#e9f3ef;color:#176451;font-weight:700}.nav-item:hover{background:#f1f6f4}.nav-item svg{width:18px;height:18px;flex-shrink:0}.nav-count{margin-left:auto;font-size:14px;background:#d7eade;color:#397459;border-radius:5px;min-width:19px;text-align:center}.nav-separator{margin:17px 0 9px;border-top:1px solid var(--line)}.sidebar-bottom{margin-top:auto}.connect-card{display:flex;align-items:center;gap:9px;width:100%;padding:14px 11px;border:1px solid var(--line);background:#fafcfb;border-radius:9px;font-size:14px;text-align:left}.connect-card>span:last-child{margin-left:auto}.connection-dot{width:7px;height:7px;border-radius:50%;background:#7bb195}.connect-card .muted{display:block;font-size:14px}.user-bar{display:flex;align-items:center;gap:10px;padding:20px 5px 3px}.avatar{height:32px;width:32px;border-radius:50%;background:#eef0ed;display:flex;align-items:center;justify-content:center;font-weight:600;color:#536b5f}.user-bar>div{font-size:14px;flex:1;line-height:1.5}.user-bar small{font-size:14px;color:var(--muted)}.main-shell{flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 35px;gap:16px}.workspace-title{display:flex;align-items:center;gap:10px;font-size:14px;color:#657077;white-space:nowrap}.small-logo{font-size:22px;color:#83988d}.top-divider{color:#c5cdd0;margin:0 3px}.top-controls{display:flex;align-items:center;gap:12px}.top-controls select{max-width:180px;font-size:14px;background:#fff;border:0;padding:7px;color:#47555e}.month-control{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:5px 10px;font-size:14px;color:#88949d;background:#fbfcfc}.month-control input{width:125px;border:0;padding:0;font-size:14px;background:transparent;color:#4d5961}.mobile-menu{display:none!important}main{padding:30px 35px 24px;max-width:1680px;margin:auto}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:14px;letter-spacing:1.5px;color:#85998d;font-weight:700;margin-bottom:5px}.page-header h1{font-size:25px;letter-spacing:-.8px;line-height:1.4;margin:0;font-weight:700}.page-header p{margin:6px 0 0;color:var(--muted);font-size:14px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #dde5e3;background:white;color:#57645d;padding:8px 13px;border-radius:6px;font-size:14px;display:inline-flex;gap:7px;align-items:center;justify-content:center;font-weight:600;white-space:nowrap}.btn:hover{background:#f5f8f7}.btn.primary{background:#237764;border-color:#237764;color:#fff;box-shadow:0 2px 4px #174d4110}.btn.primary:hover{background:#1b6252}.btn.danger{color:#b95151}.btn.small{padding:5px 9px;font-size:14px}.icon-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;background:transparent;border-radius:5px;color:#718179;font-size:19px}.demo-banner{background:#f0f4ee;border:1px solid #e0e7db;color:#6d8064;padding:8px 13px;border-radius:6px;font-size:14px;display:flex;align-items:center;gap:8px;margin-bottom:20px}.demo-banner button{margin-left:auto;border:0;background:none;color:#467047;font:inherit;font-weight:600}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.kpi{background:white;border:1px solid var(--line);padding:21px 20px 18px;border-radius:9px}.kpi-top{display:flex;justify-content:space-between;align-items:center;color:#718078;font-size:14px}.kpi-icon{display:flex;width:29px;height:29px;background:#f0f5f2;align-items:center;justify-content:center;border-radius:7px;color:#699583}.kpi-value{font-size:26px;font-weight:650;letter-spacing:-1px;margin:10px 0 11px;font-variant-numeric:tabular-nums;white-space:nowrap}.kpi-value small{font-size:14px;font-weight:400;margin-left:4px;color:#8b9690}.kpi-sub{font-size:14px;color:#9aa39e}.kpi-sub strong{color:#39846b;font-weight:600;margin-right:6px}.dash-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(275px,1fr);gap:20px;margin-bottom:21px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 12px;gap:10px}.panel-title{font-size:14px;font-weight:650;letter-spacing:-.3px}.panel-caption{font-size:14px;color:#95a099;margin-top:2px}.panel-link{font-size:14px;color:#83918a;background:transparent;border:0}.panel-body{padding:0 22px 20px}.chart-legend{display:flex;gap:20px;font-size:14px;color:#7c8c83}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:5px;background:#318a74}.legend-dot.secondary{background:#d1decd}.chart{height:230px;width:100%;display:block}.chart-grid{stroke:#edf1ee;stroke-width:1}.chart-label{fill:#9aa79f;font:14px var(--font)}.chart-line{fill:none;stroke:#2c8870;stroke-width:2.3;stroke-linejoin:round}.task-row{display:flex;gap:11px;align-items:center;border-bottom:1px solid #f0f2f1;padding:15px 0}.task-row:last-child{border:0}.task-icon{width:32px;height:32px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#f2f6f3;color:#719b81;font-size:14px}.task-row>div:nth-child(2){flex:1;font-size:14px}.task-row small{display:block;color:#9aa59e;font-size:14px;margin-top:2px}.task-row strong{font-size:15px;font-weight:650}.task-row button{border:0;background:none;color:#94a199;font-size:17px}.cash-summary{display:flex;gap:14px;margin-top:13px;padding:11px 13px;background:#f7f9f7;border-radius:6px;font-size:14px;color:#92a094;align-items:center}.cash-summary strong{color:#56745f;font-size:14px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}th{background:#fbfcfc;color:#8a9692;font-weight:500;text-align:left;padding:11px 21px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:14px}td{padding:14px 21px;border-bottom:1px solid #f0f3f2;color:#53605a}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfc}td.strong{font-weight:600;color:#3a4f43}.number{text-align:right;font-variant-numeric:tabular-nums}.text-green{color:var(--green)}.muted{color:var(--muted)}.pill{display:inline-block;font-size:14px;line-height:1.6;padding:3px 8px;border-radius:5px;background:#f0f2f3;color:#82908b;font-weight:500}.pill.posted,.pill.approved{background:#eaf5ef;color:#49806a}.pill.submitted{background:#fff4e3;color:#b39352}.pill.rejected,.pill.reversed{background:#faeeec;color:#ba8077}.pill.draft{background:#eef2f7;color:#7d8ba2}.table-caption{padding:11px 21px;font-size:14px;color:#91a095;border-top:1px solid var(--line)}.filter-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.search{max-width:300px;flex:1;min-width:130px;border:1px solid #e0e7e4;border-radius:6px;padding:9px 12px;background:#fff;font-size:14px}.filter{border:1px solid #e0e7e4;border-radius:6px;padding:8px 11px;background:white;font-size:14px;color:#69776e}.tabs{display:flex;gap:22px;border-bottom:1px solid #e0e7e4;margin-bottom:22px}.tab{border:0;border-bottom:2px solid transparent;color:#8b9690;background:none;padding:10px 1px;font-size:14px}.tab.active{color:#24795e;border-color:#24795e;font-weight:650}.empty{padding:50px 24px;text-align:center;color:#90a095;font-size:14px}.empty strong{display:block;font-size:15px;color:#5f7568;margin-bottom:7px}.totals{display:flex;justify-content:flex-end;gap:30px;padding:16px 22px;border-top:1px solid var(--line);font-size:14px}.totals strong{margin-left:15px;font-variant-numeric:tabular-nums}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.report-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.report-line.total{font-weight:700;color:#246d58;font-size:15px;border:0;margin-top:5px}.info-box{background:#f0f6f2;border:1px solid #e1ebe4;padding:14px 18px;border-radius:7px;font-size:14px;color:#6a8474;line-height:1.8;margin-bottom:20px}.badge-count{font-size:14px;padding:2px 7px;background:#eff4f0;color:#668473;border-radius:5px;margin-left:7px}.status-ledger{display:flex;gap:7px;align-items:center;font-size:14px;color:#4f8164}.status-ledger::before{content:"";width:6px;height:6px;border-radius:50%;background:#75a384}.details-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px;background:#f7f9f8;border-radius:7px;margin-bottom:20px;font-size:14px}.details-meta small{color:#8c9b92;display:block}.detail-actions{display:flex;gap:8px;margin-top:22px;justify-content:flex-end;flex-wrap:wrap}.description{color:#75857c;font-size:14px;margin:0 0 20px}.view-table td,.view-table th{padding:10px 12px}.evidence-list{margin-top:18px;font-size:14px}.evidence-list a{display:block;padding:7px 0}.inline-error{color:#bd5b52;font-size:14px;background:#fff2ef;padding:10px 13px;border-radius:6px;margin-top:15px}.success-line{color:#56866a;font-size:14px;margin:15px 0}.line-editor{overflow-x:auto}.line-editor table{min-width:590px}.line-editor td,.line-editor th{padding:6px 5px}.line-editor input,.line-editor select{padding:8px;font-size:14px}.line-editor input.amount{width:110px;text-align:right}.line-editor select{min-width:165px}.line-editor .party{min-width:125px}.line-totals{display:flex;gap:15px;justify-content:flex-end;font-size:14px;padding-top:10px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label.field{display:flex;flex-direction:column;gap:6px;font-size:14px;color:#7c8c81}label.field input,label.field select,label.field textarea{border:1px solid #dee7e1;background:#fff;border-radius:5px;padding:9px 11px;width:100%;color:#41594b;font-size:14px}label.field.full{grid-column:1/-1}label.field textarea{min-height:75px;resize:vertical}label.check{display:flex;gap:8px;align-items:center;font-size:14px}.form-section{font-size:14px;font-weight:650;color:#57745f;margin:23px 0 12px}.form-footer{display:flex;gap:9px;justify-content:flex-end;margin-top:24px}.form-hint{font-size:14px;color:#96a196;margin-top:7px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.auth-art{background:#173d33;color:#edf7f0;padding:55px 65px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-art .brand{color:#e9f3eb;padding:0}.auth-art .brand-mark{background:#3d6450}.auth-art .brand-sub{color:#94b19e}.auth-art h1{font-size:40px;line-height:1.45;font-weight:550;letter-spacing:-1px;margin-top:100px;position:relative;z-index:1}.auth-art p{color:#95b6a4;font-size:14px;line-height:2}.auth-art:after{content:"";position:absolute;width:440px;height:440px;border:1px solid #456c5644;border-radius:50%;right:-130px;bottom:-70px;box-shadow:0 0 0 80px #456c561a,0 0 0 160px #456c5610}.auth-foot{margin-top:auto;font-size:14px;color:#829f8e;padding-top:60px}.auth-form-wrap{display:flex;justify-content:center;align-items:center;padding:40px}.auth-form{max-width:360px;width:100%}.auth-form h2{font-size:23px;margin:6px 0 7px;letter-spacing:-.6px}.auth-form p{font-size:14px;color:#8d9a93;margin-bottom:28px}.auth-form label{margin-bottom:18px}.auth-form .btn{width:100%;padding:12px}.auth-note{margin-top:23px;font-size:14px;line-height:1.8;color:#a3ada6}.auth-tag{font-size:14px;letter-spacing:1.4px;color:#668f77}.onboarding-note{font-size:14px;color:#5f846c;padding:12px;background:#f0f6f0;border-radius:6px;margin-bottom:22px}.users-list{padding:10px 22px}.period-card{padding:16px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:18px;font-size:14px}.period-card>div:first-child{flex:1}.period-card strong{font-size:14px}.period-card small{display:block;color:#9ba69f}.connection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.integration-card{background:white;border:1px solid var(--line);padding:20px;border-radius:8px}.integration-card h3{font-size:14px;margin:7px 0}.integration-card p{font-size:14px;color:#8b9b91}.integration-card .pill{margin-top:7px}.code-block{display:block;background:#f5f8f6;padding:13px;color:#597365;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap;border-radius:6px}footer{display:flex;gap:13px;align-items:center;margin:20px 35px 0;padding:16px 0;border-top:1px solid #e9eeea;font-size:14px;color:#a4afa8}footer span:last-child{margin-left:auto;color:#7f9c88}dialog{border:0;padding:0;border-radius:12px;box-shadow:0 24px 70px #163b3426;max-width:860px;width:calc(100% - 36px);max-height:90vh;overflow:auto}dialog::backdrop{background:#13372d44;backdrop-filter:blur(2px)}.modal-header{display:flex;justify-content:space-between;padding:21px 25px;border-bottom:1px solid var(--line);font-size:17px;font-weight:650}#modal-body{padding:23px 25px 25px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#234f40;color:white;padding:12px 24px;border-radius:8px;font-size:14px;box-shadow:0 8px 25px #13372d20;z-index:5;max-width:90vw}.negative{color:#bd6b60}.csv-btn{font-size:14px}
@media(min-width:1500px){main{padding-top:36px}.kpi-value{font-size:31px}.chart{height:265px}}
@media(max-width:1180px){.sidebar{width:205px}.topbar{padding:0 23px}main{padding:25px 23px}.workspace-title{font-size:14px}.top-controls{gap:4px}.kpi{padding:17px 15px}.kpi-value{font-size:23px}.dash-grid{grid-template-columns:1.6fr 1fr}.kpis{gap:12px}.panel-header{padding:16px 17px 10px}.panel-body{padding:0 17px 17px}}
@media(max-width:960px){.workspace-title{display:none}.topbar{justify-content:flex-end}.sidebar{width:190px;padding:25px 12px 14px}.brand{font-size:22px}.brand-sub{font-size:14px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-grid{grid-template-columns:1fr}.report-grid{grid-template-columns:1fr}.connection-grid{grid-template-columns:1fr}.auth-art{padding:45px 35px}.auth-art h1{font-size:31px}}
@media(max-width:650px){.sidebar{position:fixed;left:-230px;width:230px;z-index:4;transition:left .2s}.sidebar.open{left:0;box-shadow:10px 0 40px #163b341c}.mobile-menu{display:flex!important;margin-right:auto}.topbar{height:65px;padding:0 15px}.top-controls select{max-width:130px;font-size:14px}.month-control{padding:4px 6px}.month-control span{display:none}.month-control input{width:115px}main{padding:24px 15px}.page-header{align-items:flex-start;gap:10px}.page-header h1{font-size:22px}.page-header p{font-size:14px;max-width:225px}.actions .btn{font-size:14px;padding:7px 9px}.page-header .actions .csv-btn{display:none}.kpis{gap:10px}.kpi-value{font-size:23px}.kpi{padding:14px}.kpi-top{font-size:14px}.kpi-sub{font-size:14px}.kpi-icon{width:24px;height:24px}.demo-banner{font-size:14px;padding:7px 9px}.demo-banner button{font-size:14px}.form-grid{grid-template-columns:1fr}label.field.full{grid-column:1}.auth-shell{grid-template-columns:1fr}.auth-art{display:none}.auth-form-wrap{padding:30px}.auth-form{max-width:350px}.details-meta{padding:15px;gap:10px}.period-card{padding:15px;gap:10px}.period-card small{font-size:14px}footer{margin:15px 15px 0}dialog{width:calc(100% - 20px)}#modal-body{padding:20px 17px}.modal-header{padding:18px}.chart-legend{gap:10px}.task-row{padding:13px 0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.kpis.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.sidebar nav{overflow-y:auto;min-height:0}.sidebar-bottom{padding-top:12px;flex-shrink:0}.import-kpis .kpi-value{font-size:27px}.import-batch-label{display:flex;gap:8px;align-items:center;font-size:14px;max-width:100%;min-width:0}.import-batch-label select{max-width:400px;width:100%}.import-description{white-space:normal;min-width:150px;max-width:260px;overflow-wrap:anywhere}.import-description strong{font-size:14px;color:#405b4c;font-weight:600}.import-description small,.import-date{display:block;font-size:14px;color:#8a9b91;margin-top:4px}.import-table td,.import-table th{padding:13px 15px}.import-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}.import-preview{padding:12px 14px;background:#f7f9f8;border:1px solid var(--line);border-radius:6px;margin:16px 0;font-size:14px;overflow:hidden}.import-preview summary{cursor:pointer;color:#668474}.import-preview .form-hint{overflow-wrap:anywhere}fieldset{border:0;padding:0;margin:0;min-width:0}.info-box .btn{margin-left:5px}.tabs>.tab{border-radius:0;border-top:0;border-left:0;border-right:0;padding:10px 1px;background:transparent}
@media(max-width:650px){.import-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.import-batch-label{width:100%}.import-pagination{align-items:flex-start}.import-pagination>span{max-width:55%}.page-header:has(+.import-kpis),.page-header:has(+.demo-banner+.import-kpis){flex-wrap:wrap}}
@media(max-width:960px){.kpis.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.kpis,.kpis.three{grid-template-columns:1fr}}
.import-batch-label>span{white-space:nowrap;flex-shrink:0}.nav-item[data-nav="imports"]{font-size:14px;padding-inline:12px;gap:10px;white-space:nowrap}
.nav-item{font-size:14px;gap:10px;padding:9px 11px;white-space:nowrap}
.entry-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.entry-card{text-align:left;position:relative;display:grid;grid-template-columns:40px 1fr;gap:1px 12px;border:1px solid #e1e9e5;background:#fff;border-radius:10px;padding:21px 18px;color:#355445;min-width:0}.entry-card:hover{border-color:#85b6a1;background:#f8fcfa}.entry-icon{grid-row:span 2;width:38px;height:38px;display:grid;place-items:center;background:#edf6f1;border-radius:9px;color:#397f66;font-size:20px}.entry-card strong{font-size:14px;font-weight:650}.entry-card small{font-size:14px;color:#94a397}.entry-arrow{position:absolute;right:14px;top:13px;color:#a4b5aa;font-size:14px}.workflow-note{display:flex;align-items:center;justify-content:center;gap:24px;padding:15px;background:#eaf3ee;border-radius:8px;font-size:14px;color:#668774;margin:8px 0 23px}.workflow-note i{font-style:normal;color:#a4bcaf}.workspace-kpis .kpi-value{font-size:27px}.workspace-table td>small{display:block;color:#94a397;font-size:14px}.entry-choice{display:flex;gap:12px;flex-wrap:wrap;padding:10px 0 25px}.review-settings{padding:15px;margin-top:22px;background:#f5f8f6;border:1px solid #e2ebe5;border-radius:7px;font-size:14px;color:#68816e}.review-settings summary{cursor:pointer;font-weight:600}.labor-total{padding:12px 16px;background:#edf5ef;color:#387356;border-radius:6px;font-size:14px;font-weight:650}.nav-mode{border-top:1px solid var(--line);margin-top:16px;padding-top:16px;color:#819b8b;font-size:14px}
.entry-icon svg{display:block;width:24px;height:24px}
@media(max-width:960px){.entry-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-note{gap:12px;font-size:14px}}
@media(max-width:650px){.entry-cards{gap:10px}.entry-card{padding:16px 12px;grid-template-columns:1fr;gap:6px}.entry-icon{grid-row:auto;width:30px;height:30px;font-size:17px}.entry-card strong{font-size:14px}.entry-card small{line-height:1.6}.workflow-note{gap:7px;font-size:14px;padding:12px 6px}.workspace-kpis{grid-template-columns:1fr!important}.workspace-kpis .kpi-value{font-size:25px}}
.test-mode-banner{margin:20px 24px 0;padding:12px 16px;border:1px solid #ead9a3;border-radius:8px;background:#fff9e9;color:#80641d;font-size:14px;line-height:1.6}
.expense-section{margin-top:24px}
.import-file-field{grid-column:1/-1;min-width:0}.import-file-label{display:block;font-size:14px;color:#7c8c81;margin-bottom:7px}.import-file-drop{display:flex;flex-direction:column;align-items:center;gap:7px;padding:19px 16px;border:1px dashed #a4c8b5;border-radius:8px;background:#f7fbf8;color:#668674;text-align:center;transition:background .15s,border-color .15s}.import-file-drop>svg{width:25px;height:25px;color:#478b70}.import-file-drop>strong{font-size:14px;font-weight:600;max-width:100%;overflow-wrap:anywhere}.import-file-drop>span{font-size:14px;color:#8b9b91}.import-file-drop.drag-over{border-color:#237764;background:#e7f4ed;outline:2px solid #23776422;outline-offset:2px}.import-file-drop.has-file{border-style:solid}.import-file-drop .actions{justify-content:center;margin-top:3px}.import-file-drop [hidden]{display:none}.import-file-status{font-size:14px;color:#7b9283;line-height:1.6;margin:7px 0 0;overflow-wrap:anywhere}

.journal-table th,.journal-table td{padding:14px 12px}.journal-table .journal-status{white-space:normal}.journal-table .journal-ai-reason{max-width:230px;white-space:normal;overflow-wrap:anywhere;line-height:1.5;font-size:14px}.journal-table td:last-child .actions{flex-direction:column;align-items:flex-start;gap:6px}

.journal-entry-help{margin-top:12px;padding:10px 13px;background:#f0f6f2;border:1px solid #e1ebe4;border-radius:7px;color:#526c5e;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.journal-entry-help p{margin:0}.journal-entry-help p+p{margin-top:3px}.journal-entry-help strong{color:#315b49;font-weight:650}


/* Selected attachments remain visible while previewing or returning from source registration. */
.import-file-icon{width:28px;height:28px;color:#478b70;flex-shrink:0}
.import-file-icon svg{display:block;width:100%;height:100%}
.import-file-drop.has-file{border-color:#82b29b;background:#f2f9f5;padding:22px 18px;gap:9px}
.import-file-drop.has-file .import-file-icon{width:86px;height:102px;color:#237764}
.import-file-drop.has-file>strong{font-size:18px;line-height:1.5;font-weight:700;color:#194e40;word-break:break-word}
.import-file-drop.has-file>span[data-import-file-meta]{font-size:14px;color:#617d6e}
.import-file-drop>.import-file-tag{font-size:14px;font-weight:600;color:#237764;background:#e0f1e7;padding:3px 10px;border-radius:20px}
@media(max-width:600px){.import-file-drop.has-file{padding:18px 12px}.import-file-drop.has-file .import-file-icon{width:72px;height:86px}.import-file-drop.has-file>strong{font-size:16px}}

.work-file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.work-file-card{position:relative;background:#fff;border:1px solid #dfe8e4;border-radius:10px;min-width:0;padding:12px}.work-file-card.selected{border-color:#20775f;background:#f4faf7}.work-file-card.has-error{border-color:#e6b4ad}.work-file-open{display:flex;align-items:center;gap:13px;width:100%;border:0;background:none;text-align:left;color:inherit;padding:0 20px 0 0;cursor:pointer}.work-file-open svg{flex-shrink:0}.work-file-open span{min-width:0}.work-file-open strong{display:block;font-size:14px;overflow-wrap:anywhere;line-height:1.5}.work-file-open small{display:block;font-size:14px;color:#6e8b7c;margin-top:5px;line-height:1.6}.work-file-card.has-error .work-file-status{color:#b94f40}.work-file-remove{position:absolute;right:8px;top:6px;border:0;background:none;color:#6b8477;font-size:21px;cursor:pointer}.work-file-preview{margin:16px 0 6px;font-size:14px;color:#547764}.work-file-preview summary{cursor:pointer}.work-file-preview table{margin-top:12px}.import-file-drop.drag-over{border-color:#20775f;background:#e2f3e9}#work-file-settings{margin-top:4px}#work-file-summary:not(:empty){padding:14px;background:#ecf6f0;color:#285c47;border-radius:8px;font-size:14px;line-height:1.8}@media(max-width:620px){.work-file-list{grid-template-columns:1fr}}

#work-file-drop.work-has-files{padding:12px 16px;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:10px;border-style:solid}#work-file-drop.work-has-files small{width:100%;order:3;font-size:14px}#work-file-drop.work-has-files>strong{font-size:14px}#work-file-drop .import-file-icon{width:26px;height:26px}

.work-auto-mode{font-size:14px;color:#20775f;padding:9px 12px;background:#e9f4ed;border:1px solid #d3e7da;border-radius:6px}.work-file-open .work-classification{color:#20775f;font-weight:600}.work-kind-options{margin-bottom:14px;font-size:14px;color:#587765}.work-kind-options summary{cursor:pointer}.work-kind-options .field{margin-top:12px}

.work-progress-layer[hidden]{display:none}.work-progress-layer{position:fixed;inset:0;z-index:500;display:grid;place-items:center;background:rgba(241,248,244,.76);pointer-events:none}.work-progress-card{width:min(360px,calc(100vw - 48px));display:flex;flex-direction:column;align-items:center;gap:12px;padding:30px 26px;border:1px solid #d6e8dd;background:#fff;border-radius:16px;box-shadow:0 18px 70px #183d3226;color:#2c5c48;text-align:center}.work-progress-card strong{font-size:17px}.work-progress-card b{font-size:32px}.work-progress-card progress{width:100%;height:12px;accent-color:#20775f}.work-progress-card span{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.work-progress-card small{font-size:14px;line-height:1.6;color:#72897b}.work-progress-spinner{width:30px;height:30px;border:3px solid #deeee5;border-top-color:#20775f;border-radius:50%;animation:work-progress-spin .8s linear infinite}@keyframes work-progress-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.work-progress-spinner{animation:none}}#work-upload-state:empty{display:none}
.workspace-table th:first-child,.workspace-table td:first-child{width:95px}
.workspace-table th:nth-child(2),.workspace-table td:nth-child(2){width:110px;white-space:nowrap}

/* Keep small text readable at every viewport size. */
small{font-size:14px}.brand{padding-left:4px;padding-right:4px}.brand-sub{letter-spacing:.5px}

.boot-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#456b5a;background:#f5f8f6;font-size:15px}.boot-loading p{font-size:14px;color:#81978a;margin:0}.boot-spinner{width:36px;height:36px;border:3px solid #dfeae3;border-top-color:#217564;border-radius:50%;animation:boot-spin .8s linear infinite}@keyframes boot-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.boot-spinner{animation:none}}
