/* workspace-unified-20261102-v1 — shared screen layout; printed documents are excluded. */
@media screen {
 body.erp-workspace{--erp-line:#e5e7eb;--erp-muted:#6b7280;--erp-orange:#ed6a0c;font-size:14px;color:#252a31;background:#f5f6f8}
 body.erp-workspace .sidebar{width:208px;padding:16px 12px}
 body.erp-workspace .shell{grid-template-columns:208px minmax(0,1fr)}
 body.erp-workspace .main{margin-left:208px;width:calc(100% - 208px);padding:0 0 24px}
 body.erp-workspace .brand img{max-height:66px;width:auto}
 body.erp-workspace .workspace{padding:12px;margin:10px 0;border-radius:6px;font-size:13px}
 body.erp-workspace .workspace small,body.erp-workspace .foot-note{display:none}
 body.erp-workspace .nav-label{margin:14px 8px 8px;font-size:11px}
 body.erp-workspace .nav-group summary{padding:10px 8px;font-size:12px}
 body.erp-workspace .nav-btn{min-height:36px;padding:8px 10px;border-radius:4px;font-size:13px;margin:2px 0}
 body.erp-workspace .nav-btn svg{width:17px;height:17px}
 body.erp-workspace .topbar{min-height:50px;padding:10px 22px;font-size:13px}
 body.erp-workspace #content{padding:18px 22px}
 body.erp-workspace:not(.erp-sales-entry) .hero{padding:0 0 14px;margin:0 0 12px;min-height:0;align-items:center;border-bottom:1px solid var(--erp-line)}
 body.erp-workspace:not(.erp-sales-entry) .hero h1{font-size:22px;margin:0}
 body.erp-workspace:not(.erp-sales-entry) .hero .eyebrow:empty{display:none}
 body.erp-workspace:not(.erp-sales-entry) .hero p{font-size:12px;margin:6px 0 0;color:var(--erp-muted)}
 body.erp-workspace:not(.erp-sales-entry) :is(.table-toolbar,.searchbar,.purchase-filterbar,.hr-filterbar){gap:8px;padding:12px;margin:0 0 12px;border-radius:5px;align-items:end}
 body.erp-workspace:not(.erp-sales-entry) :is(.table-section,.panel,.settings-box,.purchase-workspace,.hr-workspace){border-radius:5px;box-shadow:none}
 body.erp-workspace:not(.erp-sales-entry) :is(.table-scroll,.table-section,.purchase-grid-scroll,.hr-table-scroll) :is(th,td){padding:10px 12px;font-size:13px;line-height:1.5}
 body.erp-workspace:not(.erp-sales-entry) :is(.table-scroll,.table-section,.purchase-grid-scroll,.hr-table-scroll) th{background:#f6f7f9;color:#565d68;font-weight:600;white-space:nowrap}
 body.erp-workspace:not(.erp-sales-entry) :is(.table-scroll,.table-section,.purchase-grid-scroll,.hr-table-scroll) tbody tr:hover{background:#fff9f2}
 body.erp-workspace:not(.erp-sales-entry) :is(.btn,.searchbar button,.purchase-head-actions button,.hr-actions button){min-height:32px;padding:6px 12px;font-size:13px;border-radius:4px}
 body.erp-workspace:not(.erp-sales-entry) :is(.table-toolbar,.searchbar,.purchase-filterbar,.hr-filterbar) :is(input,select){min-height:33px;padding:6px 9px;font-size:13px;border-radius:4px}
 body.erp-workspace :is(.workshop-tools){margin:8px 0;border-radius:4px}
 body.erp-workspace .workshop-tools summary{min-height:32px;padding:7px 10px;font-size:12px}
 body.erp-workspace .workshop-tools-icon{display:none}
 body.erp-workspace :is(.workshop-tools-body){padding:8px 10px}
 body.erp-workspace .workflow-frame{border-radius:4px}
 body.erp-workspace :is(#operations-app,#financial-app,#advice-app){max-width:1400px;padding:16px 20px}
 body.erp-workspace #operations-app h1{font-size:22px}
 body.erp-workspace #operations-app :is(article,form){padding:14px 16px;margin:10px 0;border-radius:4px}
 body.erp-workspace #operations-app label{margin:8px 0}
 body.erp-workspace #operations-app :is(button,input,select){min-height:32px;padding:6px 10px;font-size:13px;border-radius:4px}
 body.erp-workspace #operations-app nav{margin:8px 0;gap:6px}
 body.erp-workspace #operations-app .note{margin-bottom:10px;font-size:12px}
 body.erp-workspace #operations-app button[type=submit]{background:var(--erp-orange);border-color:var(--erp-orange)}
 body.erp-workspace #operations-app article:has([data-row]){display:grid;grid-template-columns:minmax(160px,1fr) minmax(260px,3fr) auto;gap:5px 16px;align-items:center;margin:0;border-radius:0;border-bottom:0}
 body.erp-workspace #operations-app article:has([data-row]):last-of-type{border-bottom:1px solid var(--erp-line)}
 body.erp-workspace #operations-app article:has([data-row]) h2{grid-column:1;grid-row:1 / span 8;font-size:14px;margin:0}
 body.erp-workspace #operations-app article:has([data-row]) p{grid-column:2;margin:0;font-size:12px}
 body.erp-workspace #operations-app article:has([data-row]) button{grid-column:3;grid-row:1 / span 8}
 .erp-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px}
 .erp-head h1{font-size:22px;margin:0}.erp-head p{margin:5px 0;color:var(--erp-muted);font-size:12px}
 .erp-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:end;background:#fff;padding:12px;border:1px solid var(--erp-line);border-radius:4px;margin:10px 0}
 .erp-toolbar label{display:grid;gap:4px;font-size:12px;color:var(--erp-muted);margin:0}
 .erp-toolbar :is(input,select){width:145px;min-height:32px;padding:6px 9px;font-size:13px;border:1px solid #d6d9de;border-radius:4px;background:#fff;margin:0}
 .erp-toolbar input[name=q]{width:220px}.erp-toolbar button,.erp-head button,.erp-head a,.erp-pager button,.erp-table button,.erp-actions button{padding:6px 12px;min-height:32px;border:1px solid #d6d9de;border-radius:4px;background:#fff;font-size:13px;color:#323843;cursor:pointer}
 .erp-head .primary,.erp-toolbar .primary,.erp-actions .primary{background:var(--erp-orange);border-color:var(--erp-orange);color:#fff}
 .erp-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--erp-line);margin:8px 0 12px}
 .erp-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;padding:8px 12px;color:#626973;font-size:13px}
 .erp-tabs button.active{color:#bf4d00;border-bottom-color:var(--erp-orange);font-weight:600}
 .erp-table-wrap{overflow:auto;border:1px solid var(--erp-line);border-radius:4px;background:#fff}
 .erp-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}
 .erp-table :is(th,td){padding:10px 12px;text-align:left;border-bottom:1px solid var(--erp-line);vertical-align:middle}
 .erp-table th{background:#f6f7f9;color:#565d68;font-weight:600}.erp-table tbody tr:hover{background:#fff9f2}.erp-table tbody tr:last-child td{border-bottom:0}
 .erp-table small{display:block;color:var(--erp-muted);font-size:12px;max-width:320px;overflow:hidden;text-overflow:ellipsis}.erp-table .number{text-align:right;font-variant-numeric:tabular-nums}
 .erp-table button{border:0;background:transparent;color:#bd5005;padding:3px 7px;min-height:28px}
 .erp-badge{display:inline-block;border-radius:3px;padding:3px 7px;background:#f1f3f5;color:#59616c;font-size:12px}
 .erp-badge.working,.erp-badge.issued{background:#fff0df;color:#ac4b00}.erp-badge.completed,.erp-badge.approved{background:#e9f5ed;color:#277442}.erp-badge.returned{background:#fff0ee;color:#b14735}
 .erp-late{color:#bc382e;font-size:12px}.erp-progress{display:block;width:110px;height:5px;margin-top:5px;accent-color:#ed6a0c}
 .erp-pager{display:flex;align-items:center;gap:8px;justify-content:flex-end;padding:12px 0;color:#6b7280;font-size:12px}.erp-pager span{margin-right:auto}
 .erp-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.erp-section{background:#fff;border:1px solid var(--erp-line);border-radius:4px;padding:16px;margin:12px 0}.erp-section h2{font-size:15px;margin:0 0 12px}.erp-section p{font-size:13px;margin:8px 0;line-height:1.6}.erp-section summary{cursor:pointer;font-size:13px}
 .erp-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.erp-empty{padding:36px;text-align:center;color:#7b818b}.erp-note{font-size:12px;color:#6b7280;line-height:1.6}
 body.erp-document>header,body.erp-document>work-task-home,body.erp-document .sidebar,body.erp-document .topbar,body.erp-document .foot-help{display:none!important}
 body.erp-document #app{max-width:1200px;margin:24px auto;padding:0 20px}
 body.erp-document.erp-form-open #app{display:none!important}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form[open]{position:static!important;display:block;width:calc(100% - 40px)!important;max-width:1100px!important;max-height:none!important;height:auto!important;margin:24px auto!important;padding:20px!important;border:1px solid #e2e5e9;border-radius:5px;box-shadow:none;overflow:visible}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form .modal-body{overflow:visible;max-height:none;padding:16px 0}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form :is(.modal-head,.dialog-head){padding:0 0 14px;border-bottom:1px solid #e5e7eb}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form :is(.modal-head,.dialog-head) h2{font-size:21px}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form :is([data-action=close],[data-close]){display:none!important}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form .form-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;border:0;padding:0}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form .form-fields>:not(.field),body.erp-document :is(#dialog,#form-dialog).erp-inline-form .field:has(textarea){grid-column:1 / -1}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form :is(input:not([type=checkbox]),select){min-height:36px;padding:8px 10px;font-size:14px}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form textarea{min-height:78px;font-size:14px}
 body.erp-document :is(#dialog,#form-dialog).erp-inline-form footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e5e7eb;padding:12px 0;margin-top:16px}
 body.erp-document .erp-saved{padding:30px;border:1px solid #d6e8dc;background:#fff;color:#286943;border-radius:5px;margin:30px auto;max-width:800px}
 body.erp-document :is(.hr-page-head,[data-back-list]){margin-top:0}
 body.erp-document [data-back-list]{display:none}
 body.erp-settlement-editing #app>:not(#settlement-dialog){display:none!important}
 body.erp-document #settlement-dialog.erp-inline-form[open]{position:static;display:block;width:100%;max-width:1000px;max-height:none;margin:0 auto;padding:20px;border:1px solid #e2e5e9;border-radius:5px;box-shadow:none}
 body.erp-document #settlement-dialog.erp-inline-form [data-close]{display:none}
 body.erp-document #settlement-dialog.erp-inline-form fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px 18px;border:0;padding:0}
 body.erp-document #settlement-dialog.erp-inline-form fieldset>:not(.field){grid-column:1 / -1}
 body.erp-workspace .settlement-hero{padding:0 0 12px;margin:0 0 12px}
 body.erp-workspace .settlement-hero h1{font-size:22px}
 body.erp-workspace :is(.settlement-panel,.settlement-filter,.settlement-overview){padding:14px 16px;margin:10px 0;border-radius:4px}
 body.erp-workspace .settlement-stats .card{padding:12px 14px;border-radius:4px}
 body.erp-workspace .settlement-stats strong{font-size:20px}
 body.erp-workspace .erp-tools{font-size:12px;margin:8px 0;color:#747b85}.erp-tools summary{cursor:pointer}.erp-tools>div{display:flex;gap:12px;flex-wrap:wrap;padding:10px 0}
 body.erp-workspace:not(.erp-sales-entry) table:not(.sales-slip table){font-size:13px}
 body.erp-workspace:not(.erp-sales-entry) table:not(.sales-slip table) :is(th,td){padding:9px 12px;line-height:1.5}
 body.erp-workspace:not(.erp-sales-entry) table:not(.sales-slip table) th{background:#f6f7f9;font-size:12px}
 body.erp-workspace[data-workspace-view=expenses]>main,body.erp-workspace[data-workspace-view=payroll]>main{max-width:1280px;padding:18px 22px}
 body.erp-workspace[data-workspace-view=expenses] :is(section,.notice),body.erp-workspace[data-workspace-view=payroll] :is(section,.notice){border-radius:4px;padding:14px 16px;margin:12px 0}
 body.erp-workspace[data-workspace-view=expenses] h1,body.erp-workspace[data-workspace-view=payroll] h1{font-size:22px}
 body.erp-workspace[data-workspace-view=expenses] :is(input:not([type=checkbox]),select,button),body.erp-workspace[data-workspace-view=payroll] :is(input:not([type=checkbox]),select,button){min-height:34px;font-size:13px;padding:7px 10px;border-radius:4px}
 @media(max-width:800px){body.erp-workspace .sidebar{width:170px}body.erp-workspace .main{margin-left:170px;width:calc(100% - 170px)}body.erp-workspace .shell{grid-template-columns:170px minmax(0,1fr)}body.erp-workspace #content{padding:12px}.erp-head{align-items:start;flex-wrap:wrap}.erp-detail-grid{grid-template-columns:1fr}.erp-toolbar label{flex:1 1 140px}.erp-toolbar :is(input,select){width:100%}.erp-toolbar input[name=q]{width:100%}body.erp-document :is(#dialog,#form-dialog).erp-inline-form .form-fields{grid-template-columns:1fr}body.erp-workspace #operations-app article:has([data-row]){display:block}}
 @media(max-width:560px){body.erp-workspace .shell{display:block}body.erp-workspace .sidebar{width:100%;position:static}body.erp-workspace .main{margin-left:0;width:100%}body.erp-workspace .brand,body.erp-workspace .sidebar-bottom{display:none}body.erp-document #app{margin:12px auto;padding:0 12px}}
}
