:root{color:#17211f;background:#f4f7f6;font-family:Inter,DM Sans,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;--accent: #1f7a5c;--accent-dark: #155a45;--ink: #17211f;--muted: #687773;--line: #dde7e3;--panel: #ffffff;--soft: #f7faf9;--success: #1f7a5c;--success-soft: #e7f3ee;--teal: #237c86;--teal-soft: #e5f2f3;--blue: #2f6f9f;--blue-soft: #e7f0f7;--amber: #b7791f;--amber-soft: #fff7e6;--rose: #b42318;--rose-soft: #fff0ee;--slate-soft: #edf2f0;--shadow: 0 8px 22px rgba(23, 33, 31, .06)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f7f6}button,input,select{font:inherit}button{border:0}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f4f7f6}.login-card{width:min(100%,440px);background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:32px;text-align:left}.brand-mark,.brand-lockup img{display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:8px}.brand-mark{width:58px;height:58px;margin-bottom:26px}.brand-mark img,.brand-lockup img{width:38px;height:38px;object-fit:contain}.eyebrow{margin:0 0 6px;color:#35746b;font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}h1,h2,p{margin-top:0}h1{margin-bottom:10px;color:var(--ink);font-size:30px;line-height:1.15}h2{color:var(--ink);font-size:20px;line-height:1.2;margin-bottom:6px}.login-copy{color:var(--muted);line-height:1.55;margin-bottom:28px}.login-form{display:grid;gap:16px}.login-form label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:650}.login-form input,.search-box input,.filter-grid select{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none}.login-form input{height:46px;padding:0 14px}.login-form input:focus,.search-box input:focus,.filter-grid select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0f766e24}.form-error{color:#b91c1c;font-size:14px;margin-bottom:0}.primary-action,.secondary-action,.ghost-action,.text-action{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:8px;cursor:pointer;font-weight:700}.primary-action{min-height:46px;background:var(--accent);color:#fff}.primary-action.compact{min-height:42px;padding:0 14px}.primary-action:hover{background:var(--accent-dark)}.primary-action:disabled{cursor:wait;opacity:.72}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:grid;grid-template-columns:272px minmax(0,1fr);min-height:100vh;text-align:left}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);padding:18px}.sidebar-header,.topbar,.panel-heading,.brand-lockup,.sidebar-footer,.user-chip{display:flex;align-items:center}.sidebar-header,.topbar,.panel-heading,.sidebar-footer{justify-content:space-between}.brand-lockup{gap:12px}.brand-lockup img{width:42px;height:42px;padding:4px}.brand-lockup strong{display:block;color:var(--ink);font-size:15px}.brand-lockup span{display:block;color:var(--muted);font-size:12px}.nav-list{display:grid;gap:6px;margin-top:28px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:0 12px;border-radius:8px;background:transparent;color:#475569;cursor:pointer;text-align:left}.nav-item:hover,.nav-item.active{background:#f1f5f9;color:var(--ink)}.nav-item.active{box-shadow:inset 3px 0 0 var(--accent)}.sidebar-footer{margin-top:auto;gap:10px;border-top:1px solid var(--line);padding-top:16px}.user-chip{min-width:0;gap:8px;color:var(--ink);font-size:14px;font-weight:700}.user-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ghost-action{min-height:38px;padding:0 10px;background:#fff;color:#475569;border:1px solid var(--line)}.workspace{min-width:0}.topbar{position:sticky;top:0;z-index:5;min-height:82px;padding:18px 30px;background:rgba(244,247,246,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.topbar h1{margin-bottom:0;font-size:24px}.search-box{position:relative;width:min(360px,36vw)}.search-box svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#94a3b8}.search-box input{height:42px;padding:0 14px 0 42px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;padding:24px 30px 34px}.hero-panel,.metric-card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.hero-panel{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px}.hero-panel p:last-child{max-width:680px;color:var(--muted);line-height:1.55;margin-bottom:0}.secondary-action{min-height:42px;padding:0 14px;background:#1f2937;color:#fff;white-space:nowrap}.metric-grid{grid-column:1 / -1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-card{padding:18px}.metric-card:nth-child(2) .metric-icon{background:var(--blue-soft);color:var(--blue)}.metric-card:nth-child(3) .metric-icon{background:var(--rose-soft);color:var(--rose)}.metric-card:nth-child(4) .metric-icon{background:var(--amber-soft);color:var(--amber)}.metric-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:18px;border-radius:8px;background:var(--teal-soft);color:var(--accent)}.metric-card span,.metric-card small{display:block;color:var(--muted)}.metric-card span{font-size:13px}.metric-card strong{display:block;margin:6px 0 2px;color:var(--ink);font-size:28px}.metric-card small{font-size:12px}.panel{padding:20px}.panel-large{min-width:0}.dashboard-grid{grid-template-columns:minmax(0,1fr) 380px}.panel-heading{gap:14px;margin-bottom:16px}.panel-heading.compact{margin-bottom:12px}.text-action{background:transparent;color:var(--accent);padding:0}.order-list,.activity-list{display:grid;gap:10px}.order-row{display:grid;grid-template-columns:minmax(150px,1fr) auto auto;gap:14px;align-items:center;min-height:58px;padding:12px 14px;background:var(--soft);border:1px solid #edf2f7;border-radius:8px}.order-row strong{color:var(--ink)}.order-row span{color:var(--muted);font-size:13px}.status-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--slate-soft);color:var(--muted)!important;font-weight:700;white-space:nowrap}.status-pill.success{background:var(--success-soft);color:var(--success)!important}.status-pill.info{background:var(--blue-soft);color:var(--blue)!important}.status-pill.warning{background:var(--amber-soft);color:var(--amber)!important}.status-pill.danger{background:var(--rose-soft);color:var(--rose)!important}.notice{margin:4px 0 0;color:var(--success);font-size:14px;font-weight:700}.orders-workspace{display:grid;gap:18px;padding:24px 30px 34px}.orders-hero{align-items:center;background:var(--panel);border-left:4px solid var(--accent);padding:16px 18px}.order-controls{display:grid;gap:16px}.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.filter-grid label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:750}.filter-grid select{height:42px;padding:0 12px;outline:none}.inline-select{min-width:190px;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none}.action-bar{display:flex;flex-wrap:wrap;gap:8px}.status-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#344054;cursor:pointer;font-weight:750}.status-action:hover{border-color:#b8c2cc;background:#f8fafc}.status-action:nth-child(2),.status-action.strong{background:var(--accent);color:#fff;border-color:var(--accent)}.status-action:nth-child(3){background:var(--blue-soft);color:var(--blue);border-color:#c8ddea}.status-action:nth-child(4),.status-action:nth-child(5){background:var(--amber-soft);color:var(--amber);border-color:#f5d99b}.status-action:nth-child(6){background:var(--rose-soft);color:var(--rose);border-color:#fecdd3}.orders-table-panel{min-width:0}.orders-table-wrap,.products-table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px}.orders-table,.products-table{width:100%;min-width:1080px;border-collapse:collapse;background:#fff}.orders-table th,.orders-table td,.products-table th,.products-table td{padding:11px 12px;border-bottom:1px solid var(--line);color:#334155;font-size:13px;vertical-align:middle}.orders-table th,.products-table th{position:sticky;top:0;z-index:1;background:#f8fafc;color:#0f172a;font-size:12px;font-weight:800;text-align:left;text-transform:uppercase}.products-table{min-width:920px}.products-table td:nth-child(1){min-width:300px}.clickable-row{cursor:pointer}.clickable-row:hover td{background:#f8fafc}.product-detail-page{display:grid;gap:18px;padding:24px 30px 34px}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.panel-message{margin:0;padding:0 4px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}.product-editor-main,.product-editor-side{min-width:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid.single{grid-template-columns:1fr}.form-grid label{display:grid;gap:7px;color:#334155;font-size:13px;font-weight:750}.form-grid input,.form-grid textarea{width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none}.form-grid input{height:42px;padding:0 12px}.form-grid textarea{min-height:116px;resize:vertical;padding:10px 12px;line-height:1.45}.form-grid input:focus,.form-grid textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0f766e24}.span-2{grid-column:1 / -1}.product-preview{display:grid;gap:8px;justify-items:center;padding-bottom:16px;border-bottom:1px solid var(--line);text-align:center}.product-preview img{width:min(100%,180px);aspect-ratio:1;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}.product-preview strong{color:var(--ink)}.product-preview span{color:var(--muted);font-size:13px}.toggle-list{display:grid;gap:10px;margin-top:16px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;color:#334155;font-size:13px;font-weight:750}.orders-table tr.selected td{background:#eef8f6}.orders-table tbody tr:hover td{background:#f8fafc}.orders-table td:first-child,.orders-table th:first-child{width:44px;text-align:center}.copy-cell{display:inline-flex;align-items:center;gap:6px;padding:0;background:transparent;color:var(--ink);cursor:pointer}.copy-cell+span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.product-cell{display:flex;align-items:center;gap:9px;min-width:0}.product-cell img{width:38px;height:38px;flex:0 0 auto;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}.product-cell span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#1e293b}.row-actions{display:flex;align-items:center;gap:6px}.icon-button.small{width:32px;height:32px}.empty-state{height:120px;color:var(--muted)!important;text-align:center}.split-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:18px}.mini-list{display:grid;gap:8px}.mini-list button{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#334155;cursor:pointer}.mini-list button:hover{border-color:#b8c2cc;background:#f8fafc}.mini-list strong{color:var(--amber)}.activity-list p{margin:0;padding:12px 0;border-bottom:1px solid var(--line);color:#475569;line-height:1.45}.activity-list p:last-child{border-bottom:0}.worklist,.category-stack,.compact-product-list,.status-summary,.mail-preview-list{display:grid;gap:10px}.worklist button,.mail-preview-list button{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:52px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#334155;cursor:pointer;text-align:left}.worklist button:hover,.mail-preview-list button:hover{border-color:#b8c2cc;background:#f8fafc}.worklist strong,.mail-preview-list strong{color:var(--blue);font-size:22px}.category-stack button{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,2fr) 44px;align-items:center;gap:12px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#334155;cursor:pointer;text-align:left}.category-stack button:hover{border-color:#b8c2cc;background:#f8fafc}.category-stack div{height:8px;overflow:hidden;border-radius:999px;background:var(--slate-soft)}.category-stack i{display:block;height:100%;border-radius:inherit;background:var(--teal)}.category-stack strong{color:var(--ink);text-align:right}.compact-product-list button{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#334155;cursor:pointer;text-align:left}.compact-product-list button:hover{border-color:#b8c2cc;background:#f8fafc}.compact-product-list img{width:42px;height:42px;object-fit:contain;border:1px solid var(--line);border-radius:8px;background:#fff}.compact-product-list span{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.status-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.summary-card{min-height:112px;padding:16px;border:1px solid var(--line);border-radius:8px;background:#fff}.summary-card span{display:block;color:var(--muted);font-size:13px}.summary-card strong{display:block;margin-top:12px;color:var(--ink);font-size:30px}.summary-card.success{border-color:#c9e7dc;background:var(--success-soft)}.summary-card.info{border-color:#c8ddea;background:var(--blue-soft)}.summary-card.warning{border-color:#f5d99b;background:var(--amber-soft)}.summary-card.danger{border-color:#fecdd3;background:var(--rose-soft)}.icon-button{display:inline-grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);cursor:pointer}.mobile-only{display:none}@media (max-width: 1080px){.content-grid{grid-template-columns:1fr}.metric-grid,.filter-grid,.split-grid,.dashboard-grid,.status-summary,.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.app-shell{display:block}.mobile-only{display:inline-grid}.sidebar{position:fixed;z-index:20;inset:0 auto 0 0;width:min(88vw,320px);transform:translate(-104%);transition:transform .18s ease;box-shadow:0 24px 80px #0f172a2e}.sidebar.is-open{transform:translate(0)}.topbar{min-height:72px;padding:14px 16px;gap:12px}.topbar h1{font-size:20px}.search-box{display:block;width:100%;order:3}.topbar{flex-wrap:wrap}.content-grid{padding:16px}.orders-workspace{gap:14px;padding:14px}.hero-panel{align-items:flex-start;flex-direction:column}.metric-grid,.filter-grid,.split-grid,.dashboard-grid,.status-summary,.detail-grid,.form-grid{grid-template-columns:1fr}.product-detail-page{padding:14px}.metric-grid{gap:10px}.metric-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;column-gap:10px;padding:12px}.metric-icon{grid-row:1 / span 3;margin-bottom:0}.metric-card strong{margin:0;font-size:22px}.order-controls,.orders-table-panel,.panel{padding:14px}.action-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.status-action{min-height:42px;padding:0 10px;font-size:13px}.category-stack button{grid-template-columns:minmax(0,1fr) 44px}.category-stack div{grid-column:1 / -1;order:3}.orders-table-wrap,.products-table-wrap{overflow:visible;border:0}.orders-table,.products-table{min-width:0;border-collapse:separate;border-spacing:0 10px}.orders-table thead,.products-table thead{display:none}.orders-table,.orders-table tbody,.orders-table tr,.orders-table td,.products-table,.products-table tbody,.products-table tr,.products-table td{display:block;width:100%}.orders-table tr,.products-table tr{position:relative;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.orders-table tr.selected{border-color:#9fd8d0}.orders-table td,.products-table td{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:9px 12px;border-bottom:1px solid #eef2f6;font-size:13px}.orders-table td:before,.products-table td:before{color:var(--muted);font-size:12px;font-weight:800;text-transform:uppercase}.orders-table td:nth-child(1){display:flex;align-items:center;justify-content:space-between;width:100%;background:#f8fafc}.orders-table td:nth-child(2){display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.orders-table td:nth-child(2):before{content:none}.orders-table td:nth-child(5){position:absolute;right:12px;top:10px;width:auto;padding:0;border-bottom:0}.orders-table td:nth-child(5):before{content:none}.orders-table td:nth-child(1):before{content:"Selectie"}.orders-table td:nth-child(3):before{content:"Klant"}.orders-table td:nth-child(4):before{content:"Product"}.orders-table td:nth-child(6):before{content:"Locatie"}.orders-table td:nth-child(7):before{content:"Aantal"}.orders-table td:nth-child(8):before{content:"Leverdatum"}.orders-table td:nth-child(9):before{content:"Acties"}.products-table td:nth-child(1):before{content:"Product"}.products-table td:nth-child(2):before{content:"Merk"}.products-table td:nth-child(3):before{content:"Categorie"}.products-table td:nth-child(4):before{content:"Locatie"}.products-table td:nth-child(5):before{content:"Referentie"}.products-table td:nth-child(6):before{content:"Status"}.orders-table td:last-child,.products-table td:last-child{border-bottom:0}.orders-table td:first-child,.orders-table th:first-child{text-align:left}.orders-table tbody tr:hover td,.orders-table tr.selected td,.products-table tbody tr:hover td{background:transparent}.orders-table tr.selected td:first-child{background:#eef8f6}.product-cell{align-items:flex-start}.product-cell img{width:46px;height:46px}.row-actions{justify-content:flex-start}.empty-state{display:block!important;height:auto;padding:28px 12px!important}.order-row{grid-template-columns:1fr;align-items:start}.login-card{padding:24px}h1{font-size:26px}}
