/* WMS: consistent navigation, readable actions and a quieter workspace. */
:root{--nav:#19372f;--brand:#a04423;--bg:#f4f6f4;--line:#dce4df;--ink:#203a31;--muted:#62736b}
.brand-home{color:#fff;text-decoration:none;border-radius:10px;padding:6px;margin:-6px;transition:background .15s}
.brand-home:hover{background:#ffffff10}.brand-home:focus-visible{outline:2px solid #f5b900;outline-offset:4px}
.brand-icon{background:#f6b900;color:#19372f}.brand small{color:#d1dfd6;letter-spacing:1.1px}
.sidebar{padding-top:25px}.sidebar nav{display:grid;gap:4px}
.sidebar nav a{min-height:45px;padding:11px 10px;color:#d3e0d9;gap:11px}
.sidebar nav a:hover{background:#ffffff0c}.sidebar nav a.active{background:#ffffff13;border-left-color:#f6b900;color:white}
.nav-icon{width:22px;height:22px;flex:0 0 22px;vertical-align:middle}
.sidebar nav a .nav-label{display:inline-block;font-size:13px;line-height:1.4;width:auto;text-align:left;font-weight:500}
.sidebar .warehouse{padding:13px 10px;margin-top:16px;margin-bottom:17px;background:#ffffff05}
.sidebar .warehouse strong{font-size:13px}.sidebar-bottom{padding-top:24px}.sidebar-bottom .profile{padding-top:17px;border-top:1px solid #ffffff20}
.sidebar-bottom>.plain{display:block;width:100%;text-align:left;min-height:40px;padding:8px 0}
.topbar .workspace-version{font-size:11px;color:#60776b;letter-spacing:.4px;margin:0}
.work-heading h1{letter-spacing:-.8px}.work-heading p{color:#62736b}
.workspace-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}
.workspace-shortcuts>a{display:flex;align-items:center;gap:12px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:12px;color:#244f3c;text-decoration:none;min-width:0;box-shadow:0 2px 5px #19372f03}
.workspace-shortcuts>a:hover{border-color:#71917e;background:#f7faf6}.workspace-shortcuts>a:focus-visible{outline:2px solid #a04423}
.workspace-shortcuts b{display:block;font-size:14px}.workspace-shortcuts small{display:block;font-size:11px;color:#66786e;line-height:1.5;margin-top:5px}.workspace-shortcuts i{margin-left:auto;font-style:normal;color:#668775}
.work-metrics{gap:14px}.work-metrics>button{border-radius:12px;box-shadow:0 2px 5px #19372f03}
.section-context{display:inline-block;font-size:11px;font-weight:500;color:#65766c;border:1px solid #dde6df;border-radius:5px;padding:3px 7px;vertical-align:middle;margin-left:8px}
.task-card{border-radius:12px}.work-filters button{min-height:39px}.work-filters button.selected{box-shadow:0 1px 3px #19372f12}
.doc-header{align-items:flex-start}.doc-header .actions{flex-wrap:wrap;justify-content:flex-end}.doc-header h1{margin:5px 0 9px}
.doc-series-card{border-radius:12px}.doc-series-card.selected{border-color:#648975;box-shadow:inset 3px 0 #315f49;background:#f4f9f5}
.doc-tabs{gap:6px}.doc-tabs button{min-height:43px;font-weight:500}.doc-tabs button.active{background:#e7f0e9;color:#254e38}
.doc-basket{border-radius:10px}.doc-basket.has-files{position:sticky;top:10px;z-index:4;box-shadow:0 5px 20px #1a382b12}
.doc-company-list{display:grid;gap:12px;max-width:680px;margin:0 auto 30px}.doc-company-list button{text-align:left;display:flex;justify-content:space-between;padding:17px}
.doc-table th:first-child{width:112px}.doc-table td.doc-select{min-width:112px;vertical-align:middle}
.doc-select-label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;margin:0;cursor:pointer;white-space:nowrap}
.doc-select-label input{width:19px;height:19px;min-height:19px;flex:0 0 19px;margin:0;accent-color:#315f49}
.doc-select-label:has(input:disabled){color:#79857d;cursor:default;font-size:11px}.doc-table tr.is-selected{background:#eef7ef}
.doc-table tr.is-selected .doc-select-label{font-weight:600;color:#315f49}
.doc-table tbody tr:hover{background:#f5f8f5}.doc-table td:nth-child(3){min-width:70px}.doc-table td:nth-child(4){min-width:175px}
.doc-filters label{line-height:1.5}.doc-filters input,.doc-filters select{min-height:42px}.doc-filters .primary,.doc-filters .button{min-height:42px}
.doc-record-actions button{min-height:42px}.doc-tabs button:focus-visible,.doc-select-label:focus-within{outline:2px solid #a04423;outline-offset:3px}
@media(max-width:1100px){.workspace-shortcuts>a{padding:14px;gap:9px}.workspace-shortcuts .nav-icon{width:19px;flex-basis:19px}.workspace-shortcuts i{display:none}}
@media(max-width:850px){.sidebar nav{display:flex;gap:4px;flex-wrap:nowrap;overflow-x:auto;max-width:100%;padding-bottom:5px}.sidebar nav a{min-height:42px;padding:8px;flex-shrink:0}.sidebar nav a .nav-label{font-size:12px}.sidebar .nav-icon{width:18px;height:18px;flex-basis:18px}.sidebar{padding:18px}.brand-home{width:max-content}.doc-header{gap:15px;flex-wrap:wrap}.doc-header .actions{justify-content:flex-start}.workspace-shortcuts small{font-size:11px}.doc-basket.has-files{top:0}}
@media(max-width:600px){.workspace-shortcuts{grid-template-columns:1fr;gap:9px;margin-bottom:18px}.workspace-shortcuts>a{padding:13px}.workspace-shortcuts i{display:block}.workspace-shortcuts small{margin-top:2px}.work-heading{gap:15px}.work-heading>button{width:100%}.topbar .workspace-version{display:none}.doc-header .actions{width:100%;display:grid;grid-template-columns:1fr}.doc-header .actions button{min-height:43px}.doc-series{gap:10px}.doc-series-card{padding:14px}.doc-series-card strong{font-size:24px}.doc-series-card strong small{display:block;margin-top:4px}.doc-tabs{flex-wrap:nowrap;overflow-x:auto}.doc-tabs button{flex-shrink:0;font-size:12px;padding:9px}.doc-select-label{min-height:44px}.doc-filters .doc-query{min-width:100%}.doc-basket.has-files{position:static}}
