.zero-stock-submit{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--line);flex-wrap:wrap}.zero-stock-table th{white-space:normal}.checkbox-cell{text-align:center}.checkbox-choice{display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;color:#526158;font-size:11px;min-height:36px}.checkbox-choice input{width:18px;height:18px;accent-color:var(--forest);cursor:pointer}.report-card-head{padding:15px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}.report-card-title{font-size:13px;font-weight:700;display:flex;align-items:center;gap:9px}.report-item-list{padding:0 16px 14px;display:grid;gap:2px}.report-item-row{padding:9px 2px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eef1ee;font-size:11px}@media(max-width:760px){.zero-stock-submit{align-items:stretch}.zero-stock-submit .btn{width:100%}.zero-stock-submit .helper-text{width:100%}.report-card-head{align-items:flex-start;flex-direction:column}.report-card-head .btn{width:100%}.report-item-row{align-items:flex-start}}
:root{color-scheme:light;--ink:#18302a;--muted:#7c8b86;--forest:#234b3c;--deep:#15372d;--green:#347352;--green-soft:#e9f2ec;--line:#e7ece8;--wash:#f4f6f3;--red:#b84035;--amber:#a86413;--shadow:0 5px 22px #18302a0a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--wash);min-width:320px;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83b298;outline-offset:2px}.boot{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:14px;color:var(--muted)}.boot p{margin:0}.brand-mark{height:42px;width:42px;display:grid;place-items:center;border-radius:13px;background:var(--green);color:white;font-size:22px;font-weight:750}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 450px;background:#fff}.auth-aside{padding:54px 7vw;display:flex;flex-direction:column;justify-content:space-between;background:var(--deep);color:white;position:relative;overflow:hidden}.auth-aside:after{content:"";position:absolute;width:440px;height:440px;border:1px solid #ffffff18;border-radius:50%;bottom:-220px;right:-140px;box-shadow:0 0 0 38px #ffffff09,0 0 0 82px #ffffff07}.auth-brand{display:flex;align-items:center;gap:12px;font-weight:670}.auth-brand .brand-mark{background:#ffffff20}.auth-aside h1{font-size:clamp(38px,5vw,64px);line-height:1.05;max-width:570px;letter-spacing:-.045em;margin:0 0 18px}.auth-aside-copy{font-size:17px;color:#c3d5cb;line-height:1.8;max-width:420px}.auth-aside footer{color:#a7bbb0;font-size:12px}.auth-card-wrap{display:grid;place-items:center;padding:34px}.auth-card{width:min(100%,390px)}.auth-card h2{font-size:26px;letter-spacing:-.035em;margin:0 0 7px}.auth-card>p{color:var(--muted);margin:0 0 28px;line-height:1.6}.brand-mobile{display:none}.hint-box,.danger-note{padding:13px 14px;border-radius:9px;background:#f1f6f2;color:var(--forest);font-size:12px;line-height:1.55;margin:18px 0 2px}.danger-note{background:#fff0ed;color:#963b32}.field{display:grid;gap:7px;margin:0 0 16px}.field label{font-size:12px;font-weight:650;color:#47564f}.field input,.field select,.field textarea,.search-input{width:100%;border:1px solid #dce4de;background:white;padding:11px 12px;border-radius:9px;color:var(--ink);font-size:13px;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus,.search-input:focus{outline:0;border-color:#6d9a79;box-shadow:0 0 0 3px #65947219}.field textarea{min-height:76px;resize:vertical}.field-hint,.helper-text{font-size:10px;color:var(--muted);line-height:1.65}.field-hint{margin-top:-3px}.row-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;border-radius:9px;font-size:12px;font-weight:650;line-height:1.2;transition:background .16s,border-color .16s;white-space:nowrap}.btn-primary{background:var(--forest);color:white}.btn-primary:hover{background:var(--deep)}.btn-secondary,.btn-icon{background:white;color:var(--ink);border-color:var(--line)}.btn-secondary:hover,.btn-icon:hover{background:#f8faf8;border-color:#cfdacf}.btn-ghost{background:transparent;color:var(--muted);padding:8px}.btn-ghost:hover{background:#edf1ed;color:var(--ink)}.btn-sm{padding:7px 10px;font-size:11px}.btn-block{width:100%;padding:13px}.btn-icon{width:34px;height:34px;padding:0;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:22px}.section-head h1{font-size:27px;letter-spacing:-.04em;margin:0 0 5px}.section-head p{margin:0;color:var(--muted);font-size:12px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.layout{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;display:flex;flex-direction:column;background:#fff;border-right:1px solid var(--line);z-index:20}.sidebar-brand{padding:21px 20px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.sidebar-brand .brand-mark{width:36px;height:36px;border-radius:10px;font-size:19px}.sidebar-brand strong{display:block;font-size:14px}.sidebar-brand small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.sidebar-section{padding:23px 13px 6px 17px;color:#97a39c;font-size:9px;text-transform:uppercase;letter-spacing:.105em;font-weight:700}.nav-list{padding:5px 10px;display:grid;gap:3px}.nav-btn{width:100%;display:flex;align-items:center;gap:11px;padding:10px 12px;text-align:left;border:0;background:transparent;color:#6b7972;border-radius:8px;font-size:12px;font-weight:570}.nav-btn:hover{background:#f5f7f4;color:var(--forest)}.nav-btn.active{background:var(--green-soft);color:var(--forest);font-weight:700}.nav-icon{width:18px;height:18px;display:grid;place-items:center;font-size:16px}.nav-count{margin-left:auto;background:white;color:var(--forest);border-radius:9px;padding:2px 7px;font-size:10px;font-weight:700}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:14px}.user-card{display:flex;align-items:center;gap:10px;padding:7px 4px 13px}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#eaf1eb;color:var(--forest);font-size:12px;font-weight:750;flex:none}.user-details{min-width:0;flex:1}.user-details strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.user-details small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.sidebar-logout{width:100%;justify-content:flex-start}.main-area{margin-left:238px;min-height:100vh}.topbar{height:59px;background:#ffffffed;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:10}.crumb{font-size:11px;color:var(--muted)}.crumb strong{color:var(--ink)}.top-right{display:flex;align-items:center;gap:13px;color:var(--muted);font-size:11px}.top-status{width:7px;height:7px;background:#62a476;border-radius:50%;display:inline-block;margin-right:5px}.mobile-brand{display:none}.page-content{max-width:1480px;margin:0 auto;padding:31px 34px 54px}.view-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 20px;overflow:auto}.filter-tab{background:transparent;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:10px 12px;color:var(--muted);font-size:11px;white-space:nowrap}.filter-tab.active{color:var(--forest);border-bottom-color:var(--green);font-weight:700}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;flex-wrap:wrap}.search-wrap{position:relative;min-width:215px;max-width:330px;flex:1}.search-wrap .search-input{padding-left:34px}.search-symbol{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#95a198}.filter-row{display:flex;gap:8px;align-items:center}.period-label{font-size:11px;color:var(--muted);min-width:115px;text-align:center}.week-picker{display:flex;align-items:center;gap:5px}.select-compact{height:37px;padding:0 31px 0 11px;border:1px solid var(--line);border-radius:8px;background:white;color:#54645c;font-size:11px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:17px 18px;box-shadow:var(--shadow)}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:9px;color:var(--muted);font-size:11px}.metric-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#f1f4ef;color:var(--forest);font-size:15px}.metric-number{font-size:28px;letter-spacing:-.06em;font-weight:720;margin:10px 0 4px;line-height:1}.metric-caption{font-size:10px;color:#93a099}.metric.red .metric-number,.metric.red .metric-icon{color:var(--red)}.metric.amber .metric-number,.metric.amber .metric-icon{color:var(--amber)}.metric.blue .metric-number,.metric.blue .metric-icon{color:#486997}.panel{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.panel-head h2{margin:0;font-size:13px}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:10px}.panel-body{padding:18px}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}.data-table th{padding:11px 14px;color:#84928a;text-transform:uppercase;letter-spacing:.065em;font-size:9px;font-weight:680;border-bottom:1px solid var(--line);background:#fbfcfb}.data-table td{padding:12px 14px;border-bottom:1px solid #eef1ee;font-size:11px;color:#43544b}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbfcfb}.data-table td:first-child,.data-table th:first-child{padding-left:18px}.data-table td:last-child,.data-table th:last-child{padding-right:18px}.product-name{font-weight:650;color:#263d33;font-size:11px}.secondary-text{font-size:10px;color:#97a099;margin-top:3px}.num-cell{font-variant-numeric:tabular-nums}.stock-strong{font-size:13px;font-weight:750;color:#263d33}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;font-size:9px;font-weight:680;line-height:1.2}.badge:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.badge-green{color:#357249;background:#eaf3ec}.badge-red{color:#ad4036;background:#fff0ed}.badge-amber{color:#986219;background:#fff5e8}.badge-muted{color:#6e7973;background:#f0f2ef}.badge-blue{color:#446b9a;background:#eef3fa}.stock-progress{height:5px;width:85px;border-radius:4px;background:#edf0ed;overflow:hidden;margin-top:6px}.stock-progress span{height:100%;display:block;border-radius:4px;background:#70a580}.stock-progress.warn span{background:#d9a441}.stock-progress.danger span{background:#d37a6d}.empty{padding:38px 20px;text-align:center;color:var(--muted);font-size:12px}.empty-icon{font-size:24px;margin-bottom:8px;color:#a1b2a4}.section-gap{margin-top:20px}.charts-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-bottom:17px}.chart{height:185px;display:flex;align-items:end;gap:7px;padding:17px 2px 0}.chart-day{flex:1;display:grid;grid-template-rows:1fr auto;align-items:end;height:100%;min-width:0}.bars{height:100%;display:flex;gap:3px;align-items:end;justify-content:center}.bar{width:min(13px,34%);min-height:2px;background:#95b9a0;border-radius:3px 3px 0 0}.bar.out{background:#d18a74}.bar-date{font-size:9px;color:#89968f;text-align:center;padding-top:8px}.legend{display:flex;gap:13px;color:var(--muted);font-size:10px}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:5px}.mini-list{display:grid;gap:15px}.mini-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 34px;align-items:center;gap:10px}.mini-label{font-size:11px;color:#43554b;overflow:hidden;text-overflow:ellipsis}.mini-track{height:5px;border-radius:4px;background:#edf0ed;overflow:hidden}.mini-track span{display:block;height:100%;background:#739f81;border-radius:4px}.mini-value{font-size:10px;color:#728078;text-align:right;font-variant-numeric:tabular-nums}.status-inline{display:inline-flex;align-items:center;gap:5px;color:#617168;font-size:10px}.order-card{display:grid;grid-template-columns:1fr 115px 100px auto;align-items:center;gap:16px;padding:13px 16px;border:1px solid var(--line);border-radius:10px}.list-cards{display:grid;gap:10px}.order-title{font-size:12px;font-weight:650}.order-meta{font-size:10px;color:var(--muted);margin-top:4px}.order-number{font-size:13px;font-weight:700}.order-number small{font-size:10px;font-weight:450;color:var(--muted)}.order-period{font-size:10px;color:var(--muted)}.alert-strip{padding:11px 13px;border-radius:9px;background:#fff4e4;color:#815617;font-size:11px;margin-bottom:14px}.user-row{display:flex;align-items:center;gap:10px}.user-row .avatar{width:31px;height:31px}.page-label{color:#91a096;font-size:9px;text-transform:uppercase;letter-spacing:.12em;font-weight:700;margin:2px 0 14px}.grid-two{display:grid;grid-template-columns:1.3fr 1fr;gap:15px}.footer-note{margin:13px 0;color:#98a39c;font-size:9px;line-height:1.6}
.modal-backdrop{position:fixed;inset:0;background:#14231f80;display:grid;place-items:center;padding:18px;z-index:60;animation:fade .15s ease}.modal{width:min(100%,480px);background:#fff;border-radius:15px;box-shadow:0 20px 85px #0003;max-height:min(88vh,820px);overflow:auto;animation:slide .16s ease}.modal-head{position:sticky;top:0;background:white;z-index:1;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:19px 21px}.modal-head h2{font-size:16px;margin:0 0 4px}.modal-head p{margin:0;color:var(--muted);font-size:10px}.modal-body{padding:19px 21px 21px}.modal-foot{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;padding-top:15px;border-top:1px solid var(--line)}.modal-close{background:white;border:1px solid var(--line);width:30px;height:30px;border-radius:8px;color:#718078;font-size:17px}.toast-host{position:fixed;z-index:100;right:20px;bottom:19px;display:grid;gap:8px;width:min(calc(100vw - 32px),360px)}.toast{padding:12px 14px;background:#213a30;color:white;border-radius:9px;font-size:12px;box-shadow:0 8px 28px #0002}.toast.error{background:#9e3831}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes slide{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.sidebar{width:204px}.main-area{margin-left:204px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-content{padding:26px 24px 42px}.topbar{padding:0 24px}.charts-grid{grid-template-columns:1fr}.chart{height:160px}.auth-wrap{grid-template-columns:1fr 410px}}
@media(max-width:760px){.sidebar{inset:auto 0 0;width:auto;height:calc(63px + env(safe-area-inset-bottom));border-right:0;border-top:1px solid var(--line);box-shadow:0 -5px 20px #1c35250b;flex-direction:row;padding:4px 5px env(safe-area-inset-bottom);justify-content:center}.sidebar-brand,.sidebar-section,.sidebar-bottom{display:none}.nav-list{padding:0;display:flex;align-items:stretch;justify-content:space-around;gap:0;width:100%}.nav-btn{height:53px;width:68px;max-width:18vw;flex-direction:column;justify-content:center;gap:2px;padding:5px 3px;font-size:9px;position:relative}.nav-icon{font-size:17px;width:auto;height:auto}.nav-count{position:absolute;top:0;right:3px;min-width:17px;text-align:center;padding:1px 4px;font-size:8px}.main-area{margin-left:0;padding-bottom:75px}.topbar{height:52px;padding:0 15px}.crumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.mobile-brand .brand-mark{width:28px;height:28px;font-size:15px;border-radius:8px}.top-right{font-size:10px;gap:8px}.top-right .date-label{display:none}.page-content{padding:22px 15px 32px}.section-head{margin-bottom:18px}.section-head h1{font-size:23px}.section-head p{font-size:11px}.section-head .btn{padding:9px 10px;font-size:10px}.metric-grid{gap:9px;margin-bottom:14px}.metric{padding:13px;border-radius:10px}.metric-number{font-size:24px}.metric-top{font-size:10px}.metric-icon{width:26px;height:26px;font-size:13px}.metric-caption{font-size:9px}.charts-grid{gap:10px}.panel-head{padding:13px 14px}.panel-body{padding:14px}.panel-head h2{font-size:12px}.toolbar{gap:8px}.search-wrap{min-width:100%;max-width:none;order:-1}.filter-row{width:100%;justify-content:space-between}.data-table th{font-size:8px;padding:10px}.data-table td{padding:11px 10px}.data-table td:first-child,.data-table th:first-child{padding-left:13px}.data-table td:last-child,.data-table th:last-child{padding-right:13px}.order-card{grid-template-columns:1fr auto;gap:10px;padding:12px}.order-card .order-number,.order-card .order-period{font-size:10px}.auth-wrap{grid-template-columns:1fr}.auth-aside{display:none}.auth-card-wrap{padding:22px;min-height:100vh;align-items:center}.brand-mobile{display:flex;gap:10px;align-items:center;margin-bottom:40px;font-size:14px;font-weight:680}.brand-mobile .brand-mark{width:36px;height:36px;font-size:18px}.row-fields{grid-template-columns:1fr}.period-label{min-width:95px;font-size:9px}.grid-two{grid-template-columns:1fr}.modal-backdrop{align-items:end;padding:8px}.modal{max-height:91vh;border-radius:15px 15px 10px 10px}.modal-head{padding:17px}.modal-body{padding:16px}.toast-host{bottom:75px;right:12px}.view-tabs{overflow:auto}.filter-tab{flex:none}.mini-row{grid-template-columns:minmax(0,1fr) 65px 28px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}