:root{--ink:#17223b;--muted:#748198;--line:#e6eaf1;--main:#f4f6fb;--blue:#3a5de8;--nav:#101b32;--nav2:#1b2942;--card:#fff;--round:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--main);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);font-size:14px}h1,h2,h3,h4,h5{letter-spacing:-.035em;font-weight:750;color:var(--ink)}h1{font-size:31px;margin:4px 0 6px}h2{font-size:27px}h3{font-size:17px;margin:0 0 8px}h4{font-size:15px;margin:10px 0}.muted,.text-muted{color:var(--muted)!important}.btn{font-size:13px;font-weight:650;border-radius:9px;padding:10px 17px}.btn-sm{padding:6px 12px}.btn-primary{background:#3d5ee8;border-color:#3d5ee8}.btn-primary:hover{background:#2c4dd2;border-color:#2c4dd2}.btn-outline-primary{border-color:#c6d1ff;color:#3c59d6}.btn-outline-primary:hover{background:#e7ecff;color:#3451d8;border-color:#b7c5fa}.btn-outline-secondary{border-color:#d8dfed;color:#42516c;background:#fff}.btn-outline-secondary:hover,.btn-light:hover{background:#eef2fa;color:#14213b;border-color:#c7d2e4}.btn-light{background:#f4f6fb;border-color:#e6eaf1;color:#4f5d76}.form-control,.form-select{border:1px solid #dce2ee;border-radius:9px;font-size:14px;padding:10px 12px;box-shadow:none!important;color:var(--ink);background-color:#fff}.form-control:focus,.form-select:focus{border-color:#7790f0;box-shadow:0 0 0 3px #ecf0ff!important}.form-control::placeholder{color:#9daac0}.form-label,label{font-weight:550}.shell{display:flex;min-height:100vh}.sidebar{width:248px;min-width:248px;background:var(--nav);min-height:100vh;padding:30px 16px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:40}.brand{text-decoration:none;color:#fff;display:flex;align-items:center;gap:13px;padding:0 12px 38px}.brand:hover{color:#fff}.brand>span:last-child{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:21px;letter-spacing:.095em;line-height:1}.brand small{font-size:10px;letter-spacing:.025em;color:#8fa0c1;margin-top:5px}.brand-mark{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;color:white;background:linear-gradient(150deg,#7da0ff,#475add 65%,#3547b0);box-shadow:0 9px 24px #17276f7c;font-weight:900;font-size:21px;flex-shrink:0}.nav-caption{font-size:10px;color:#657797;letter-spacing:.11em;font-weight:800;margin:6px 15px 13px}.nav-link-custom{text-decoration:none;color:#9cabc6;display:flex;gap:14px;align-items:center;border-radius:10px;padding:12px 14px;margin-bottom:4px;font-weight:550;transition:.18s}.nav-link-custom:hover{background:#1b2942;color:#fff}.nav-link-custom.active{background:#314577;color:#fff;box-shadow:inset 3px 0 0 #8fa8ff}.nav-symbol{font-size:20px;width:20px;text-align:center;line-height:1;color:#8fa5cc}.side-footer{margin-top:auto;border-top:1px solid #2a3750;padding:22px 6px 0;display:flex;align-items:center;gap:10px;color:#f4f7ff}.user-avatar,.big-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#485b82;color:white;font-weight:800}.side-user{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1}.side-user strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.side-user small{color:#8194b7;font-size:11px}.logout-btn{background:transparent;color:#bdc9e4;border:0;font-size:18px;padding:4px}.page{flex:1;min-width:0}.topbar{height:74px;background:#fff;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 39px}.topbar-label{font-size:13px;color:#66738c;font-weight:550}.topbar-dot{color:#bbc4d7;padding:0 5px}.topbar-secure{font-size:12px;color:#1c9f74;font-weight:700}.mobile-toggle{display:none;border:0;background:none;font-size:21px}.main-content{padding:36px 40px 54px;max-width:1720px;margin:auto}.footer{font-size:12px;color:#97a0b4;padding:22px 39px;border-top:1px solid #e6eaf1}.footer span{margin:0 7px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 27px}.page-heading p{margin:0;color:#8290a5;font-size:13px}.eyebrow{color:#697fe0;font-weight:800;letter-spacing:.13em;font-size:10px;text-transform:uppercase}.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.stat-card{background:white;border:1px solid #e8ebf2;border-radius:var(--round);padding:23px 23px 19px;box-shadow:0 5px 20px #24345d05;min-height:137px}.stat-card>span{font-size:12px;color:#6d7b95;font-weight:650;display:block}.stat-card strong{display:block;font-size:25px;font-weight:780;letter-spacing:-.04em;margin:12px 0 7px;overflow-wrap:anywhere}.stat-card small{color:#96a1b4;font-size:11px}.surface{background:#fff;border:1px solid #e9ecf3;border-radius:var(--round);box-shadow:0 5px 20px #24345d05;overflow:hidden}.surface-header{padding:23px 24px 17px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.surface-header h3{font-size:16px}.surface-header p{font-size:12px;color:#98a3b4;margin:0}.surface-header>a{font-size:12px;text-decoration:none;color:var(--blue);font-weight:650}.summary-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}.summary-grid>.surface{min-width:0}.table{margin-bottom:0;font-size:12.5px;--bs-table-hover-bg:#f8faff}.table thead th{background:#f8faff;text-transform:uppercase;letter-spacing:.05em;font-size:10px;font-weight:750;color:#8792a7;border-bottom:1px solid var(--line);padding:15px 16px;white-space:nowrap}.table tbody td{border-color:#eff1f5;padding:13px 16px;vertical-align:middle;line-height:1.4}.table td strong{font-weight:700}.table tbody tr:last-child td{border-bottom:none}.table-action,.product-link{color:#3c59d9;text-decoration:none;font-weight:700}.table-action:hover,.product-link:hover{text-decoration:underline}.product-link{color:#1e2b47}.chip{font-size:11px;color:#5470a2;background:#f0f4ff;padding:6px 10px;display:inline-block;border-radius:7px;font-weight:700;white-space:nowrap}.indicator{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 25px;border-bottom:1px solid #edf0f5}.indicator:last-child{border-bottom:0}.indicator span{color:#7a889e;font-size:12px}.indicator b,.indicator strong{font-size:14px;text-align:right}.mini-bars{height:150px;padding:12px 24px 25px;display:flex;align-items:flex-end;justify-content:space-around;gap:12px}.mini-bar-col{height:100%;width:35px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.mini-bar-col>div{background:linear-gradient(180deg,#6986f2,#c2cefd);width:25px;border-radius:7px 7px 0 0;min-height:3px}.mini-bar-col small{font-size:10px;color:#8d98aa}.empty-state{text-align:center!important;padding:35px!important;color:#9aa5b7;font-size:13px}.alerts-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:0 24px 26px}.alerts-grid>div{min-width:0}.alerts-grid h4{margin:5px 0 14px}.alert-row{padding:13px 2px;border-top:1px solid #eff1f5;display:flex;justify-content:space-between;gap:12px;align-items:center}.alert-row strong{font-size:12px;display:block}.alert-row small{font-size:11px;color:#9aa4b4;display:block;margin-top:2px}.pill-warning{color:#ad6d18;background:#fff4df;border-radius:7px;padding:6px 10px;font-size:11px;font-weight:750;white-space:nowrap}.stock-ok{color:#217b62;background:#e8f7f1;border-radius:7px;padding:5px 10px;font-size:11px;font-weight:700;white-space:nowrap}.filters{padding:0 24px 18px}.filter-main{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.filter-main>label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:130px;color:#778499;font-size:11px}.filter-main>label:first-child{flex:2;min-width:230px}.filter-main .form-control,.filter-main .form-select{font-size:12px;padding:10px 12px}.advanced-filter{font-size:12px;margin-top:14px;color:#5268b6}.advanced-filter summary{cursor:pointer;font-weight:650;padding:5px 0}.advanced-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding-top:18px;color:#758197}.advanced-grid label{display:flex;flex-direction:column;gap:6px}.table-meta,.table-bottom{padding:14px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line)}.table-meta>span{color:#79869a;font-size:12px}.table-meta b{color:#283956}.invent-table{max-height:none}.invent-table th a{text-decoration:none;color:inherit}.sort-arrow{color:#a0b0ca;font-weight:700;margin-left:5px;font-size:13px}.invent-table .table tbody td{white-space:nowrap}.totals-row td{background:#f7f9ff!important;border-top:1px solid #e9edfa;font-weight:650;font-size:12px;white-space:nowrap}.totals-summary{display:flex;flex-wrap:wrap;gap:14px;color:#8490a4;font-size:11px}.totals-summary b{color:#536381}.pagination-inline{display:flex;align-items:center;gap:8px;white-space:nowrap}.pagination-inline span{font-size:11px;color:#7d8aa3}.column-editor{display:flex;flex-direction:column;gap:6px;max-height:360px;overflow:auto}.column-choice{padding:10px 13px;display:flex;align-items:center;gap:11px;border:1px solid #e8ecf5;border-radius:9px;cursor:grab;background:#fff;font-size:12px}.column-choice.dragging{opacity:.3}.column-choice .drag-handle{margin-left:auto;order:9;color:#a1aec5}.form-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(230px,.85fr);gap:22px;align-items:start}.form-surface{padding:27px}.form-surface h3{margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.form-grid>label{font-size:12px;color:#56647b;display:flex;flex-direction:column;gap:7px}.form-grid>label.form-check{flex-direction:row;gap:9px;align-items:center}.span-2{grid-column:span 2}.form-surface .form-control,.form-surface .form-select{width:100%}.price-preview{display:flex;justify-content:space-between;gap:10px;background:#f3f6ff;border:1px solid #e5ebfe;border-radius:12px;padding:20px;margin-top:22px}.price-preview>div{display:flex;flex-direction:column;gap:9px}.price-preview span{font-size:11px;color:#7585ae}.price-preview strong{font-size:20px;color:#293d8a}.sticky-panel{position:sticky;top:20px}.product-image{max-width:100%;max-height:180px;display:block;margin:0 auto 20px;object-fit:contain;border:1px solid #eef1f7;border-radius:10px}.movement-form{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.movement-form>label{min-width:160px;flex:1;display:flex;flex-direction:column;gap:7px;font-size:12px;color:#5b6b80}.upload-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.upload-drop{min-height:230px;border:2px dashed #cad5ee;border-radius:14px;background:#f8faff;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:#48597e;cursor:pointer;text-align:center;padding:15px}.upload-drop .upload-icon{font-size:40px;color:#6682df}.upload-drop b{font-size:16px}.upload-drop small{color:#8a99b5}.upload-drop input{width:220px;max-width:100%;font-size:12px}.step{display:flex;gap:15px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #eff1f5}.step:last-child{border:0}.step>span{font-size:13px;color:#5f7bd8;background:#eef2ff;border-radius:8px;padding:9px;font-weight:800}.step b{font-size:13px}.step p{font-size:12px;color:#8592a6;margin:4px 0}.field-caption{color:#8291ab;font-size:11px;display:block;margin-bottom:6px}.confirm-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:18px;border-top:1px solid #edf0f5;margin-top:20px}.confirm-bar>span{color:#8190a7;font-size:11px}.report-filter{padding:20px}.report-filter .filter-main>label:first-child{flex:2}.report-table{max-height:680px}.report-table td{white-space:nowrap}.report-footer{padding:17px 24px;display:flex;justify-content:space-between;gap:20px;color:#97a2b5;font-size:11px}.count-form{display:flex;gap:6px;align-items:center}.small-list{max-height:300px;overflow:auto}.small-list .indicator{padding:10px 0}.profile-box{max-width:800px}.profile-head{display:flex;align-items:center;gap:16px;margin-bottom:25px;border-bottom:1px solid #e7ebf3;padding-bottom:25px}.profile-head h3{font-size:21px;margin:0 0 3px}.profile-head p{margin:0}.big-avatar{width:63px;height:63px;border-radius:15px;background:#dfe6ff;color:#3b55c4;font-size:26px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-hero{background:radial-gradient(circle at 70% 20%,#314c92 0%,#182a52 45%,#0d172d 100%);color:white;padding:50px clamp(32px,6vw,105px);display:flex;flex-direction:column;min-height:100vh;justify-content:space-between}.login-brand{display:flex;gap:14px;align-items:center;font-size:25px;letter-spacing:.09em}.login-hero-text{max-width:570px}.login-hero-text .eyebrow{color:#93a9ec}.login-hero-text h1{font-size:clamp(39px,4vw,61px);line-height:1.08;color:white;margin:20px 0;letter-spacing:-.045em}.login-hero-text p{color:#b2bed5;font-size:16px;line-height:1.8;max-width:440px}.login-hero-bottom{font-size:12px;color:#8497bd;letter-spacing:.04em}.login-form-wrap{display:grid;place-items:center;padding:40px}.login-card{max-width:410px;width:100%}.login-card h2{margin-top:14px}.login-card>p{font-size:13px;margin:10px 0 25px}.login-note{margin-top:25px;font-size:11px;color:#9da8bb;text-align:center}.login-card .form-label{font-size:12px;font-weight:650;color:#4b5971}.login-card .form-control{padding:12px}.hidden-field{position:absolute;left:-99999px;width:1px;height:1px;overflow:hidden}.install-page{min-height:100vh;display:grid;place-items:center;padding:40px;background:#f4f6fb}.install-card{padding:36px;border-radius:19px;background:#fff;max-width:610px;width:100%;border:1px solid #e7ebf4}.install-card h2{margin-top:18px}.install-card .form-grid label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#6d7a92}.modal-content{border-radius:16px;border:1px solid #edf0f5}.modal-header,.modal-footer{border-color:#edf0f5}.modal-title{font-weight:750}
@media(max-width:1150px){.sidebar{width:220px;min-width:220px}.main-content{padding:26px 25px}.topbar{padding:0 25px}.stats-grid{grid-template-columns:repeat(2,1fr)}.summary-grid{grid-template-columns:1fr}.advanced-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:750px){.sidebar{position:fixed;left:-260px;width:248px;min-width:248px;transition:left .23s}.sidebar.open{left:0;box-shadow:15px 0 50px #111b3780}.page{width:100%}.mobile-toggle{display:block}.topbar{height:63px;padding:0 17px;gap:11px}.topbar-label{font-size:11px}.topbar-secure{font-size:10px}.main-content{padding:22px 15px 36px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:27px}.stats-grid{gap:10px}.stat-card{padding:18px 15px;min-height:124px}.stat-card strong{font-size:20px}.stat-card small{font-size:10px}.summary-grid,.alerts-grid,.upload-grid,.form-layout,.login-page{grid-template-columns:1fr}.alerts-grid{gap:15px}.login-hero{min-height:250px;padding:24px}.login-hero-text h1{font-size:31px}.login-hero-text p,.login-hero-bottom{display:none}.login-form-wrap{padding:28px 20px;align-items:start}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.form-surface{padding:19px}.surface-header{padding:18px}.table-meta,.table-bottom,.confirm-bar,.report-footer{flex-direction:column;align-items:flex-start}.advanced-grid{grid-template-columns:1fr 1fr}.filters{padding:0 16px 15px}.filter-main{display:grid;grid-template-columns:1fr 1fr}.filter-main>label:first-child{grid-column:span 2}.price-preview{flex-direction:column}.footer{padding:15px}.count-form{min-width:175px}}
@media print{.sidebar,.topbar,.page-heading>.btn,.report-filter,.footer,.btn,.modal,.pagination-inline{display:none!important}.main-content{padding:0}.surface{border:0;box-shadow:none}.page-heading{margin-bottom:10px}.table{font-size:9px}.table td,.table th{padding:5px!important}.report-table{max-height:none;overflow:visible}.surface-header{padding:10px}.page{width:100%}body{background:white}}
