:root{color-scheme:light;--green:#0f9564;--green-dark:#087b53;--dark:#172a31;--muted:#73838a;--border:#e4ebeb;--bg:#f5f8f8;--white:#fff;--sidebar:#10262c;--sidebar-text:#d0dddd;--danger:#ba4535;--warn:#ad641f}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--dark);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.55}a{color:#087e55;text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #69cda6;outline-offset:2px}
.app-shell{min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}.sidebar{background:var(--sidebar);color:var(--sidebar-text);min-height:100vh;display:flex;flex-direction:column;padding:31px 15px 18px;position:sticky;top:0;height:100vh;overflow-y:auto}.brand{display:inline-flex;align-items:baseline;gap:4px;color:#fff;font-size:27px;letter-spacing:-1.65px;font-weight:850;line-height:1}.brand:hover{text-decoration:none}.brand span{color:#4cd09a}.brand small{font-size:10px;letter-spacing:1px;font-weight:800;margin-left:6px;color:#b7cac9}.sidebar>.brand{padding-left:15px}.brand-subtitle{font-size:10px;font-weight:700;letter-spacing:2.6px;color:#72918e;margin:9px 0 34px 16px}.nav-caption{font-size:10px;color:#779994;letter-spacing:1.7px;font-weight:750;margin:20px 0 8px 13px}.nav-caption:first-child{margin-top:0}.side-nav{display:flex;flex-direction:column;gap:3px}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:10px;color:#cbd9d8;font-size:13px;font-weight:620;transition:background .12s ease,color .12s ease}.nav-link:hover{background:#203e43;text-decoration:none;color:#fff}.nav-link.active{background:#197b60;color:#fff}.nav-icon{width:21px;text-align:center;display:inline-block;font-size:19px;font-weight:450;line-height:1}.sidebar-bottom{margin-top:auto;padding:16px 10px 0;border-top:1px solid #294349;display:flex;align-items:center;gap:10px}.profile-avatar{background:#235047;color:#c0fce0;border-radius:11px;height:36px;width:36px;display:grid;place-items:center;font-weight:800}.profile-description{min-width:0;display:flex;flex-direction:column;flex:1}.profile-description strong{color:#fff;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-description small{font-size:10px;letter-spacing:1px;color:#93b1ad}.logout-button{border:0;background:none;color:#c6d4d4;font-size:23px;padding:4px 6px}.logout-button:hover{color:white}.app-main{display:flex;flex-direction:column;min-width:0}.container{width:100%;max-width:1550px;margin:0 auto;padding:33px 38px 58px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:19px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.75px;color:#97a3a6;margin:0 0 6px}.page-heading h1{font-size:28px;letter-spacing:-1px;margin:0;line-height:1.2}.heading-actions{display:flex;gap:10px}.page-description{color:#647781;font-size:14px;margin:0 0 25px}.app-main footer,body>footer{font-size:11px;color:#93a2a4;margin:auto 38px 0;padding:18px 0 24px;border-top:1px solid #e7eded}.app-main footer span{margin-left:5px}.mobile-topbar{display:none}.guest-header{background:#12262b;padding:21px 30px}.guest-inner{max-width:1100px;margin:auto}.guest-content{max-width:1100px;min-height:65vh}
h2{font-size:17px;letter-spacing:-.35px;margin:0 0 14px}h2:not(:first-child){margin-top:25px}.card{background:var(--white);border:1px solid var(--border);border-radius:15px;padding:22px;margin-bottom:22px;box-shadow:0 5px 20px #102c2610}.table-card{padding-bottom:12px}.narrow{max-width:500px}.intro{background:#e9f7f0;border:1px solid #cceadc;padding:16px 20px;border-radius:12px;margin:0 0 22px}.muted{color:var(--muted);font-size:12px}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.section-header h2{margin:0}.section-header .muted{margin:3px 0 0}.text-link{font-size:12px;font-weight:700;white-space:nowrap}.section-header a{flex-shrink:0}.count-badge{display:inline-block;vertical-align:middle;background:#edf4f1;border-radius:20px;padding:2px 8px;font-size:11px;color:#557267;margin-left:5px}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.fields.single-column{grid-template-columns:1fr}.fields label,.inline-form label,label{display:block;font-size:12px;font-weight:680}.fields input,.fields select,.fields textarea,label>input,label>select,label>textarea,.search input{display:block;width:100%;font:inherit;margin-top:7px;padding:10px 12px;border:1px solid #d6e1e1;border-radius:9px;background:#fff;min-height:43px;color:var(--dark)}label>input[type=file]{background:#fafafa}.checkbox{margin:18px 0;display:flex;align-items:center;gap:9px}.checkbox input{width:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dbe4e3;border-radius:9px;background:#fff;min-height:41px;padding:10px 15px;font:inherit;font-weight:720;font-size:12px;color:#243940;cursor:pointer;text-decoration:none;white-space:nowrap}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.small{font-size:12px;padding:7px 13px;min-height:36px}.btn:hover{text-decoration:none;filter:brightness(.96)}.form-submit{align-self:end}.inline-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.inline-form label{min-width:220px}.actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.search{display:flex;gap:10px;flex:1;max-width:650px}.search input{margin-top:0}.filter-card{padding:19px 21px}.filter-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.filter-form label{min-width:155px;flex:1;font-size:11px;color:#546f77}.filter-form label.filter-search{flex:2;min-width:220px}.filter-form label input,.filter-form label select{margin-top:5px}.filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-actions .btn{min-height:43px}
.table-wrap{overflow-x:auto;max-width:100%}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px;white-space:nowrap}th,td{padding:12px 11px;border-bottom:1px solid #edf0ef;vertical-align:middle}th{font-size:10px;text-transform:uppercase;color:#77898d;letter-spacing:.75px;font-weight:750}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfc}td.num{text-align:right;font-variant-numeric:tabular-nums}th:nth-last-child(2){white-space:nowrap}.sku{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#596d73;font-weight:600;font-size:12px}.thumb{width:47px;height:47px;object-fit:contain;border:1px solid #edf1ef;border-radius:10px;background:#fff}.placeholder{display:grid;place-items:center;width:47px;height:47px;border-radius:10px;background:#edf5f1;color:#719a88;font-size:23px}.empty-cell{text-align:center;padding:40px 15px!important;color:#718487}.plain{margin:0;padding:0;list-style:none}.plain li{padding:10px;border-bottom:1px solid var(--border)}.plain li:last-child{border:0}.stock-pill,.status-pill{display:inline-block;padding:4px 10px;border-radius:8px;font-weight:770;font-size:12px;min-width:33px;text-align:center}.stock-ok,.is-active{background:#e6f6ed;color:#18764c}.stock-low{background:#fff2df;color:#a36521}.stock-zero,.is-inactive{background:#f1f3f4;color:#839197}.delta{font-weight:800}.delta.positive{color:#168456}.delta.negative{color:#bd5142}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px}.stats.stats-four{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{background:#fff;border:1px solid var(--border);border-radius:14px;padding:20px;box-shadow:0 5px 17px #102c2609}.stat span{display:block;color:#697e85;font-size:12px;font-weight:620}.stat strong{display:block;font-size:30px;letter-spacing:-1px;margin:5px 0 0;line-height:1.3}.stat small{display:block;color:#9aabac;font-size:11px}.stat .warning-text{color:#b76c20}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid-two .card{min-width:0}.branch-list{display:flex;flex-direction:column}.branch-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f0f3f2;color:var(--dark)}.branch-item:last-child{border-bottom:0}.branch-item:hover{text-decoration:none}.branch-item:hover .branch-name strong{color:var(--green-dark)}.branch-symbol,.quick-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;background:#e9f6ef;color:#168d5c;border-radius:11px;font-size:20px}.branch-name{display:flex;flex:1;flex-direction:column;min-width:0}.branch-name strong{font-size:12px}.branch-name small{font-size:11px;color:#92a0a5}.branch-amount{font-size:15px;font-weight:800}.branch-amount small{font-weight:500;color:#819098;font-size:11px}.quick-actions{display:flex;flex-direction:column;gap:10px}.quick-action{display:flex;gap:12px;align-items:center;padding:11px;border-radius:11px;border:1px solid #e9f0ee;color:#20343a}.quick-action:hover{text-decoration:none;border-color:#c1e4d0;background:#fbfffc}.quick-action span:nth-child(2){display:flex;flex-direction:column;flex:1}.quick-action strong{font-size:12px}.quick-action small{color:#809197;font-size:11px}.quick-arrow{font-weight:700;color:#6f9886;font-size:18px}.stock-note{font-size:12px;color:#7e8e92;margin:16px 0 0}.pills{display:flex;flex-wrap:wrap;gap:10px}.pill{border:1px solid #d5e8db;padding:6px 12px;border-radius:20px;background:#eff9f2;font-weight:650;font-size:13px}.checks{display:flex;flex-wrap:wrap;gap:8px}.check{padding:7px 11px;border-radius:6px;font-weight:650;font-size:12px}.ok{background:#e7f7ed;color:#207e47}.bad{background:#fff0ed;color:#b24030}.alert{padding:14px 18px;border-radius:10px;margin-bottom:20px}.alert ul{margin:5px 0 0}.alert.success{background:#e4f7ec;border:1px solid #c1e7ce;color:#175b30}.alert.error{background:#fff0ee;border:1px solid #f4ccc6;color:#942f1f}.pagination{padding:12px 0}.pagination svg{max-width:20px;max-height:20px}.inventory-forms .card{height:auto}
@media(max-width:1160px){.app-shell{grid-template-columns:215px minmax(0,1fr)}.container{padding:28px 25px 44px}.stats.stats-four{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{padding-left:10px;padding-right:10px}.grid-two{gap:15px}}
@media(max-width:850px){.app-shell{display:block}.sidebar{display:none}.mobile-topbar{display:flex;justify-content:space-between;align-items:center;background:var(--sidebar);padding:15px 20px;min-height:62px}.mobile-topbar .brand{font-size:24px}.mobile-menu{position:relative}.mobile-menu summary{list-style:none;display:block;color:#fff;font-weight:700;padding:8px 10px;border:1px solid #38635e;border-radius:9px;cursor:pointer}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu-panel{position:absolute;z-index:50;right:0;top:45px;width:min(320px,calc(100vw - 32px));background:#10262c;border:1px solid #335453;border-radius:13px;box-shadow:0 15px 35px #071d1aaa;padding:14px}.mobile-menu-panel .btn{margin:17px 0 0 12px}.container{padding:24px 20px 40px}.app-main footer{margin:0 20px}.grid-two{grid-template-columns:1fr}}
@media(max-width:600px){.container{padding:20px 14px 35px}.fields{grid-template-columns:1fr}.stats,.stats.stats-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat{padding:14px}.stat strong{font-size:25px}.stat span{font-size:11px}.page-heading{align-items:flex-start;flex-wrap:wrap}.page-heading h1{font-size:23px}.card{padding:16px;border-radius:12px}.section-header{flex-wrap:wrap}.filter-card{padding:13px}.filter-form{display:grid;grid-template-columns:1fr;gap:10px}.filter-form label{min-width:0!important}.filter-actions{justify-content:flex-start}.app-main footer{margin:0 14px}.guest-header{padding:19px 14px}.branch-amount{font-size:13px}.page-description{font-size:13px}}
