:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#17201b;--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);background:#f6f7f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{-webkit-text-size-adjust:100%;background:#f6f7f4;min-width:320px;margin:0;overflow-x:hidden}a{color:#166534;text-decoration:none}.skip-link{z-index:2000;color:#fff;background:#166534;border-radius:0 0 6px;padding:.6rem 1rem;font-weight:700;position:absolute;top:0;left:0;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}:focus-visible{outline-offset:2px;outline:3px solid #166534}nav a:focus-visible{outline-color:#86efac}button,.button-link{color:#fff;cursor:pointer;font:inherit;text-align:center;background:#166534;border:0;border-radius:6px;padding:.7rem 1rem;font-weight:700}button:disabled{cursor:not-allowed;opacity:.65}button.small{padding:.45rem .65rem;font-size:.85rem}.action-bar{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.75rem;display:flex}.app-shell{grid-template-columns:240px 1fr;min-height:100dvh;display:grid}.sidebar{color:#fff;background:#17201b;flex-direction:column;padding:1.5rem;display:flex}.brand{gap:.25rem;margin-bottom:2rem;display:grid}.brand span{font-size:1.35rem;font-weight:800}.brand small{color:#cbd5c0}nav{gap:.35rem;display:grid}nav a{color:#e5e7eb;border-radius:6px;padding:.75rem}nav a.active,nav a:hover{color:#fff;background:#26352d}.mobile-tabbar{display:none}.content{min-width:0;padding:calc(2rem + var(--safe-top)) calc(2rem + var(--safe-right)) calc(2rem + var(--safe-bottom)) calc(2rem + var(--safe-left))}.offline-auth{min-height:100dvh;padding:calc(1rem + var(--safe-top)) calc(1rem + var(--safe-right)) calc(1rem + var(--safe-bottom)) calc(1rem + var(--safe-left));justify-content:center;align-items:center;display:flex}.offline-auth .panel{width:100%;max-width:520px}.offline-auth h1{margin:0 0 .75rem;font-size:1.6rem}.page-header{justify-content:space-between;align-items:start;margin-bottom:1.25rem;display:flex}.page-header h1{margin:0;font-size:2rem;line-height:1.15}.page-header p{color:#4b5563;margin:.4rem 0 0}.panel{background:#fff;border:1px solid #dfe7dc;border-radius:8px;margin-bottom:1rem;padding:1rem}.panel h2{margin:0 0 1rem;font-size:1.1rem}.panel-title-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.filter-bar{flex-wrap:wrap;align-items:flex-end;gap:.75rem;margin-bottom:.75rem;display:flex}.filter-bar label{flex:0 220px}.filter-bar .grow{flex:260px}.filter-bar .count{margin-left:auto}.inline-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.input-action-row,.form-actions{flex-wrap:wrap;align-items:flex-start;gap:.5rem;display:flex}.input-action-row input,.input-action-row select{flex:220px}.form-actions.full,.form-grid .form-actions{grid-column:1/-1}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.stats-grid article{background:#fff;border:1px solid #dfe7dc;border-radius:8px;gap:.25rem;padding:1rem;display:grid}.stats-grid strong{font-size:2rem}.stats-grid span,.label,.muted{color:#4b5563}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.form-grid.wide{grid-template-columns:repeat(4,minmax(0,1fr))}label{color:#344054;gap:.35rem;min-width:0;font-size:.92rem;font-weight:700;display:grid}input,select,textarea{color:#17201b;font:inherit;border:1px solid #767676;border-radius:6px;width:100%;min-width:0;padding:.65rem .75rem}input[type=checkbox],input[type=radio]{width:auto}textarea{resize:vertical;min-height:88px}.full{grid-column:1/-1}.checkbox-label{align-content:center;gap:.55rem;min-height:42px;display:flex}.checkbox-label input{inline-size:1rem}table{border-collapse:collapse;width:100%}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #dfe7dc;padding:.75rem}th{color:#475467;font-size:.85rem}.details-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.details-grid div{gap:.25rem;display:grid}.two-column{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.compact-form{gap:.85rem;margin-bottom:1rem;display:grid}.deadline-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.deadline-grid span{color:#667085;background:#f8faf7;border:1px solid #dfe7dc;border-radius:6px;gap:.2rem;padding:.75rem;display:grid}.deadline-grid strong{color:#17201b}.status{border-radius:999px;padding:.25rem .55rem;font-size:.82rem;font-weight:800;display:inline-block}.status.pending,.status.prepared,.status.received,.status.planned{color:#8a5a00;background:#fff7d6}.status.indianosis,.status.indiagnosis,.status.inprogress,.status.inservice{color:#1d4ed8;background:#dbeafe}.status.waitingcustomerapproval,.status.waitingparts,.status.unavailable{color:#9a3412;background:#ffedd5}.status.approved,.status.active,.status.done,.status.completed{color:#166534;background:#dcfce7}.status.queued{color:#6d28d9;background:#ede9fe}.status.sent{color:#166534;background:#dcfce7}.status.failed,.status.cancelled,.status.sold,.status.scrapped{color:#991b1b;background:#fee2e2}.status.delivered{color:#3730a3;background:#e0e7ff}.status.draft{color:#8a5a00;background:#fff7d6}.status.issued,.status.accepted{color:#166534;background:#dcfce7}.status.submitted{color:#6d28d9;background:#ede9fe}.status.rejected,.status.storno{color:#991b1b;background:#fee2e2}.status.converted{color:#3730a3;background:#e0e7ff}.status.new{color:#1d4ed8;background:#dbeafe}.status.registered{color:#166534;background:#dcfce7}.status.ignored{color:#374151;background:#e5e7eb}.status.reserved{color:#1d4ed8;background:#dbeafe}.status.returned{color:#6d28d9;background:#ede9fe}.status.closed{color:#3730a3;background:#e0e7ff}.availability-badge{border-radius:999px;padding:.25rem .55rem;font-size:.82rem;font-weight:800;display:inline-block}.availability-badge.busy{color:#9a3412;background:#ffedd5}.availability-badge.free{color:#166534;background:#dcfce7}.warning{color:#92400e;background:#fffbeb;border-left:4px solid #f59e0b;border-radius:4px;margin:.25rem 0;padding:.5rem .75rem}.deadline-badge{border-radius:999px;padding:.25rem .55rem;font-size:.82rem;font-weight:800;display:inline-block}.deadline-badge.ok{color:#166534;background:#dcfce7}.deadline-badge.urgent{color:#9a3412;background:#ffedd5}.deadline-badge.overdue{color:#991b1b;background:#fee2e2}.error{color:#b42318;font-weight:700}.sidebar-toggle{display:none}@media (width<=900px){.app-shell{grid-template-columns:1fr}.sidebar{padding:calc(.75rem + var(--safe-top)) calc(1rem + var(--safe-right)) .75rem calc(1rem + var(--safe-left));z-index:10;position:sticky;top:0}html{scroll-padding-top:4rem}#main-content{scroll-margin-top:4rem}.sidebar:not(.open) .brand small,.sidebar:not(.open) nav,.sidebar:not(.open) .sidebar-footer{display:none!important}.sidebar.open{max-height:80vh;overflow-y:auto}.sidebar.open nav{grid-template-columns:1fr;margin-top:.75rem}.sidebar-header{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.sidebar-toggle{color:#fff;background:0 0;border:1px solid #fff3;border-radius:6px;padding:.45rem .7rem;font-size:1.2rem;line-height:1;display:inline-block}.brand{margin-bottom:0}.brand span{font-size:1.1rem}.content{padding:1rem calc(1rem + var(--safe-right)) calc(5.25rem + var(--safe-bottom)) calc(1rem + var(--safe-left))}.mobile-tabbar{padding:.45rem calc(.55rem + var(--safe-right)) calc(.45rem + var(--safe-bottom)) calc(.55rem + var(--safe-left));z-index:900;background:#17201bf5;border-top:1px solid #ffffff1f;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:.25rem;display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-tabbar.superadmin{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-tabbar a{color:#e5e7eb;text-align:center;text-overflow:ellipsis;white-space:nowrap;border-radius:6px;min-height:44px;padding:.7rem .35rem;font-size:.82rem;font-weight:800;display:block;overflow:hidden}.mobile-tabbar a.active,.mobile-tabbar a:hover{color:#17201b;background:#fff}.page-header h1{font-size:1.5rem}.stats-grid,.two-column,.form-grid,.form-grid.wide,.details-grid,.deadline-grid{grid-template-columns:1fr}.stats-grid strong{font-size:1.5rem}.panel{padding:.75rem}table{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto}th,td{overflow-wrap:break-word}button.small{min-height:44px}.button-link,button{padding:.55rem .8rem;font-size:.9rem}input,select,textarea{font-size:16px}}@media (width<=480px){.page-header{flex-direction:column;gap:.5rem}.page-header h1{font-size:1.3rem}.stats-grid strong{font-size:1.25rem}.panel h2{font-size:1rem}}.timeline{border-left:2px solid #d0d7de;margin:0;padding:0;list-style:none}.timeline-item{padding:.4rem 0 .6rem 1.25rem;position:relative}.timeline-marker{background:#2563eb;border:2px solid #fff;border-radius:50%;width:12px;height:12px;position:absolute;top:.6rem;left:-7px}.timeline-body{flex-direction:column;gap:.2rem;display:flex}.timeline-header{font-size:.9rem}.timeline-notes{color:#4b5563;font-size:.85rem}.button-link{color:#fff;background:#2563eb;border-radius:4px;padding:.4rem .8rem;font-size:.9rem;text-decoration:none;display:inline-block}.button-link:hover{background:#1d4ed8}.btn-danger-sm{color:#fff;cursor:pointer;background:#dc2626;border:0;border-radius:3px;min-height:44px;padding:.4rem .6rem;font-size:.8rem}.btn-danger-sm:hover{background:#b91c1c}.btn-danger-sm:disabled{opacity:.5;cursor:not-allowed}.confirm-action-btn{min-width:44px;min-height:44px}.table-action-btn{min-height:44px}.kanban{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.5rem;display:grid;overflow-x:auto}.kanban-col{background:#f3f4f6;border-radius:6px;min-height:100px;padding:.5rem}.kanban-col h3{color:#374151;margin:0 0 .5rem;font-size:.85rem}.kanban-card{color:inherit;background:#fff;border:1px solid #e5e7eb;border-radius:4px;flex-direction:column;gap:.1rem;margin-bottom:.4rem;padding:.5rem;text-decoration:none;display:flex}.kanban-card:hover{border-color:#2563eb;box-shadow:0 1px 3px #0000001a}.global-search{padding:0 1rem .5rem;position:relative}.global-search input{border:1px solid #d1d5db;border-radius:4px;width:100%;padding:.4rem .6rem;font-size:.85rem}.global-search-results{z-index:100;color:#fff;background:#253028;border:1px solid #3a4f3d;border-radius:4px;max-height:300px;margin:0;padding:.25rem 0;list-style:none;position:absolute;top:100%;left:1rem;right:1rem;overflow-y:auto;box-shadow:0 4px 12px #0006}.global-search-results li{cursor:pointer;color:#fff;flex-direction:column;padding:.4rem .6rem;display:flex}.global-search-results li:hover,.global-search-results li.is-active{background:#2e3d32}.global-search-results li.is-active{outline-offset:-2px;outline:2px solid #86efac}.global-search-results .muted{color:#a1c4a8}.info-banner{background:#ede9fe;border-left:4px solid #6d28d9;border-radius:4px;margin-bottom:.75rem;padding:.6rem .8rem}.warn-banner{background:#fef3c7;border-left:4px solid #f59e0b;border-radius:4px;margin-bottom:.75rem;padding:.6rem .8rem}.pwa-banner-shell{padding:0 calc(.75rem + var(--safe-right)) 0 calc(.75rem + var(--safe-left));pointer-events:none;left:0;right:0;top:calc(1rem + var(--safe-top));z-index:1100;justify-content:center;display:flex;position:fixed}.pwa-banner-shell.on-login{bottom:calc(.75rem + var(--safe-bottom));top:auto}.pwa-banner{color:#14532d;pointer-events:auto;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;justify-content:space-between;align-items:stretch;gap:.85rem;width:100%;max-width:min(640px,100%);padding:.85rem 1rem;display:flex;box-shadow:0 14px 36px #17201b33}.pwa-banner p{margin:0;font-weight:800}.pwa-banner span{opacity:.82;margin-top:.2rem;font-size:.85rem;display:block}.pwa-banner.offline{color:#7c2d12;background:#fff7ed;border-color:#fdba74}.pwa-banner.update{color:#1e3a8a;background:#eff6ff;border-color:#93c5fd}.pwa-banner.ready{color:#064e3b;background:#ecfdf5;border-color:#6ee7b7}.pwa-banner-actions{flex:none;align-items:center;gap:.45rem;display:flex}.pwa-banner .small{min-height:40px}.pwa-banner-dismiss{border:1px solid;color:inherit!important;background:#ffffffb8!important}@media (width>=561px) and (width<=900px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid,.form-grid.wide,.details-grid,.deadline-grid,.two-column{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.pwa-banner-shell.in-app{top:calc(4.25rem + var(--safe-top))}.btn-danger-sm{min-height:44px;padding:.55rem .8rem}.global-search input{font-size:16px}.global-search-results{max-height:50vh}.panel-title-row>*{min-width:0}.filter-bar label,.filter-bar .grow{flex-basis:100%}.filter-bar .count{margin-left:0}.action-bar>*,.form-actions>*,.input-action-row>*,.inline-actions>*{min-height:44px}}@media (width<=560px){.kanban{grid-template-columns:1fr;overflow-x:visible}.table-cards,.table-cards thead,.table-cards tbody,.table-cards tfoot,.table-cards tr,.table-cards td{display:block}.table-cards{overflow-x:visible}.table-cards thead{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.table-cards tr{background:#fff;border:1px solid #dfe7dc;border-radius:8px;margin-bottom:.6rem;padding:.35rem .7rem}.table-cards td{border:0;border-bottom:1px solid #f0f2ee;padding:.5rem 0}.table-cards td:last-child{border-bottom:0}.table-cards td[data-label]:before{content:attr(data-label);color:#667085;letter-spacing:.03em;text-transform:uppercase;margin-bottom:.15rem;font-size:.72rem;font-weight:700;display:block}.table-cards td[data-label=Actiuni]:before{flex:0 0 100%}.table-cards td[data-label=Actiuni]{flex-wrap:wrap;gap:.4rem;display:flex}.table-cards td[data-label=Actiuni]>*{flex:120px;margin-left:0!important;margin-right:0!important}.action-bar .button-link,.action-bar button,.input-action-row button,.form-actions button,.form-actions .button-link{flex:150px}}@media (width<=480px){.pwa-banner-shell{padding:0 var(--safe-right) 0 var(--safe-left)}.pwa-banner-shell.on-login{bottom:var(--safe-bottom)}.pwa-banner{border-radius:8px 8px 0 0;flex-direction:column;align-items:stretch;max-width:none}.pwa-banner-actions{justify-content:flex-end}}
