:root{--green:#174d40;--green-hover:#103c31;--lime:#d9eabb;--ink:#253630;--muted:#7e8881;--border:#e8ebe4;--surface:#fff;--bg:#f6f7f2;--orange:#c77e3d;--red:#bd5d50;--shadow:0 4px 24px #25363006;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #99c4ae;outline-offset:3px}button:disabled{cursor:wait;opacity:.55}svg{vertical-align:middle;flex-shrink:0}button svg{pointer-events:none}h1,h2,h3,p{margin:0}button{border:0}button:active{transform:translateY(1px)}
.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--border);padding:33px 22px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:12px;padding:0 10px;font-size:24px;font-weight:650;letter-spacing:3px}.brand-mark{width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:var(--lime);border-radius:13px;font-size:25px;font-family:serif;letter-spacing:0;box-shadow:0 3px 8px #174d4019}.brand-small{display:block;font-size:10px;letter-spacing:2px;color:#8b938e;font-weight:400;margin-top:1px}.workspace{margin:34px 0 31px;padding:13px 10px;border:1px solid var(--border);border-radius:10px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.workspace-icon{background:#f0f3eb;color:#62745f;font-size:10px;border-radius:7px;padding:8px;font-weight:600}.workspace>span:nth-child(2)>span{display:block;font-weight:400;font-size:10px;color:#929a94;margin-top:3px}.workspace-dot{height:6px;width:6px;border-radius:50%;background:#78a27d;margin-left:auto}.nav-label{font-size:10px;color:#a2a9a3;letter-spacing:2px;padding:0 14px;margin-bottom:14px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px 15px;margin-bottom:7px;border-radius:9px;color:#818c84;font-size:13px;transition:.15s}.nav-item:hover{background:#f5f7f1;color:var(--green)}.nav-item.active{background:#eaf1e5;color:var(--green);font-weight:600}.nav-item.active:after{content:'';height:5px;width:5px;border-radius:50%;background:var(--green);margin-left:auto}.nav-item svg{width:18px;height:18px}.nav-item .soon{margin-left:auto;font-size:9px;font-weight:400;color:#899785;border:1px solid #d9e1d3;border-radius:4px;padding:1px 4px}.sidebar-note{margin:auto 5px 25px;background:#f6f7f0;padding:20px 17px 18px;border-radius:11px;position:relative;overflow:hidden}.sidebar-note:after{content:'';position:absolute;width:84px;height:84px;border:1px solid #e3e9d7;border-radius:50%;right:-45px;bottom:15px}.note-spark{display:block;color:#8ca176;font-size:30px;line-height:1;margin-bottom:15px}.sidebar-note strong{font-size:12px;font-weight:500}.sidebar-note p{font-size:11px;color:#98a18e;line-height:1.9;margin-top:7px}.version{display:block;font-size:8px;letter-spacing:1.2px;margin-top:19px;color:#a3aa97}.sidebar-footer{display:flex;gap:10px;align-items:center;background:transparent;text-align:left;padding:14px 1px 0;border-top:1px solid var(--border);font-size:11px}.sidebar-footer small{display:block;color:#959d96;font-size:9px;margin-top:4px}.sidebar-footer>span:last-child{margin-left:auto;color:#98a291}.avatar,.top-avatar{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#edf0e4;color:#697957;font-family:serif}
.shell{margin-left:236px}.topbar{height:77px;background:#ffffffb8;backdrop-filter:blur(16px);border-bottom:1px solid var(--border);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:10px}.breadcrumb{font-size:11px;color:#99a198}.breadcrumb span{margin:0 12px;color:#c5cbc2}.breadcrumb strong{color:#647365;font-weight:500}.topbar-right{display:flex;align-items:center;gap:20px}.connection{font-size:10px;color:#6c8e70;white-space:nowrap}.connection i{display:inline-block;height:6px;width:6px;border-radius:50%;background:#75a27d;margin-right:6px;box-shadow:0 0 0 3px #edf4e8}.connection.connecting{color:#af8e52}.connection.connecting i{background:#c4a45d;box-shadow:0 0 0 3px #faf4e4}.connection.offline{color:var(--red)}.connection.offline i{background:var(--red);box-shadow:none}.top-date{font-size:10px;color:#929c92;border-left:1px solid var(--border);padding-left:20px}.icon-button{background:transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;padding:7px;color:#819080}.icon-button:hover{background:#edf1e8}.icon-button svg{width:18px;height:18px}.top-avatar{height:29px;width:29px;font-size:13px}.mobile-brand{display:none}main{max-width:1600px;margin:auto;padding:33px 38px 20px;min-height:calc(100vh - 136px)}.page-footer{padding:20px 38px 22px;max-width:1600px;margin:auto;display:flex;justify-content:space-between;color:#a5aca0;font-size:9px;letter-spacing:.5px}.page-footer b{margin:0 6px;font-weight:400}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.eyebrow{font-size:9px;letter-spacing:2.2px;color:#9aa18f;margin-bottom:7px;text-transform:uppercase}.page-heading h1{font-size:25px;font-weight:600;letter-spacing:1px}.page-heading p{font-size:11px;color:#929b91;margin-top:6px}.heading-actions{display:flex;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;padding:10px 16px;font-size:11px;font-weight:500;border:1px solid #dfe5db;background:#fff;white-space:nowrap;transition:background .15s}.button:hover{background:#f1f4ed}.button svg{width:15px;height:15px}.button.primary{background:var(--green);color:white;border-color:var(--green)}.button.primary:hover{background:var(--green-hover)}.button.soft{background:#eef3e7;color:#49623d;border-color:#eef3e7}.button.danger{background:#bd5d50;color:#fff;border-color:#bd5d50}.button.small{font-size:10px;padding:7px 11px}.text-button{background:transparent;color:#6e8564;font-size:10px;display:inline-flex;align-items:center;gap:6px;padding:5px 0}.text-button:hover{color:var(--green)}.text-button svg{width:13px;height:13px}.demo-label{font-size:9px;background:#edf0e5;color:#7f8c68;border:1px solid #e4e8d8;border-radius:4px;padding:2px 6px;vertical-align:middle;letter-spacing:0;margin-left:8px;font-weight:400}
.hero{position:relative;overflow:hidden;background:var(--green);border-radius:13px;padding:29px 32px;color:#f9fcf5;display:flex;justify-content:space-between;align-items:center;min-height:180px;margin-bottom:22px}.hero:before,.hero:after{content:'';position:absolute;border:1px solid #ffffff0b;border-radius:50%;height:370px;width:370px;right:20px;top:-260px;pointer-events:none}.hero:after{height:450px;width:450px;right:-220px;top:-90px}.hero-copy{position:relative;z-index:1}.hero .eyebrow{color:#bbd09f;font-size:9px;letter-spacing:2px;display:flex;align-items:center;gap:8px}.hero .eyebrow:before{content:'';height:1px;width:20px;background:#bbd09f}.hero h2{font-size:26px;font-weight:500;letter-spacing:2px;margin:10px 0 8px}.hero p{color:#aec3b4;font-size:11px}.hero-bottom{margin-top:23px;display:flex;align-items:center;gap:20px}.hero .button{background:#dcebbd;color:#254c35;border:0;padding:9px 15px;font-size:10px}.hero .hero-link{font-size:10px;color:#d6e0ca;display:flex;gap:6px;align-items:center;background:transparent;padding:6px}.hero .hero-link svg{width:13px}.hero-art{width:245px;max-width:30%;height:140px;margin-right:12px;flex-shrink:0;position:relative;opacity:.95}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--border);border-radius:10px;padding:18px 20px;box-shadow:var(--shadow);position:relative;min-height:119px}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#83907f}.stat-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#f2f5ec;color:#87a075}.stat-icon svg{width:15px;height:15px}.stat.orange .stat-icon{background:#fcf2e5;color:#c49a5c}.stat.red .stat-icon{background:#fbeee9;color:#c58f7c}.stat-value{font-size:31px;line-height:1.1;letter-spacing:-1px;font-weight:550;margin-top:7px;font-variant-numeric:tabular-nums}.stat-value small{font-size:10px;font-weight:400;letter-spacing:0;color:#99a18f;margin-left:6px}.stat-foot{color:#a0a796;font-size:9px;margin-top:9px}.stat.orange .stat-value{color:#bc9151}.stat.red .stat-value{color:#b96f59}.stat.clickable{cursor:pointer;text-align:left}.stat.clickable:hover{border-color:#c9d5bd}.section-title{display:flex;align-items:center;gap:9px}.section-title h2{font-size:14px;font-weight:600}.section-title small{font-size:9px;color:#a4ad9c;font-weight:400}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:20px;align-items:start}.panel{background:white;border:1px solid var(--border);border-radius:11px;overflow:hidden;box-shadow:var(--shadow)}.panel-head{padding:20px 21px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.panel-subtitle{font-size:10px;color:#9aa493;margin-top:5px}.panel-body{padding:0 21px 20px}.pill{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border-radius:4px;font-size:9px;background:#edf2e7;color:#789369;white-space:nowrap}.pill.orange{background:#fcf1df;color:#c09855}.pill.red{background:#faede6;color:#bc7964}.pill.gray{background:#f0f1ed;color:#8e9689}.pill.blue{background:#edf4f5;color:#6a959e}.count-badge{border-radius:4px;background:#f5eee0;color:#b59664;padding:2px 5px;font-size:9px;margin-left:6px}.mini-legend{font-size:9px;color:#94a38a;display:flex;gap:12px}.mini-legend i{display:inline-block;width:6px;height:6px;border-radius:2px;margin-right:4px;background:#91a77a}.mini-legend .out i{background:#d8bb86}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 21px 16px;flex-wrap:wrap}.segments{background:#f5f6f0;padding:3px;border-radius:7px;display:inline-flex;gap:1px}.segment{background:transparent;font-size:10px;border-radius:5px;padding:6px 13px;color:#8d9885;white-space:nowrap}.segment.active{background:#fff;color:var(--green);box-shadow:0 1px 4px #283c2110;font-weight:600}.search-wrap{display:flex;align-items:center;gap:7px;border:1px solid var(--border);padding:7px 10px;border-radius:6px;color:#a1aa98;max-width:230px;min-width:0}.search-wrap input{outline:0;border:0;width:100%;min-width:0;color:var(--ink);font-size:10px;background:transparent}.search-wrap input::placeholder{color:#a5ad9d}.search-wrap svg{width:13px;height:13px}.filter-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-row select{padding:7px 9px;border-radius:6px;border:1px solid var(--border);color:#829277;font-size:10px;background:white;max-width:155px}.table-wrap{width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.data-table th{background:#fafbf7;color:#a0a995;font-size:9px;letter-spacing:.4px;padding:11px 15px;border-top:1px solid #f1f3ec;border-bottom:1px solid #f1f3ec;font-weight:400}.data-table td{padding:13px 15px;border-bottom:1px solid #f0f2eb;font-size:10px;color:#76826f}.data-table th:first-child,.data-table td:first-child{padding-left:21px}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fcfdf9}.item-cell{display:flex;align-items:center;gap:10px;min-width:135px}.item-icon{height:32px;width:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#f4ece3;color:#b2916c;flex-shrink:0}.item-icon svg{width:18px;height:18px}.item-icon.frozen{background:#edf3ed;color:#80a288}.item-icon.grain{background:#f5f1e5;color:#b8a16e}.item-icon.supply{background:#f0f0ef;color:#929b94}.item-name{display:block;font-size:11px;color:#485740;font-weight:500}.item-meta{display:block;font-size:8px;color:#a0a795;margin-top:4px;letter-spacing:.2px}.stock-number{color:#3d5435;font-size:13px;font-weight:550;font-variant-numeric:tabular-nums}.stock-number.low{color:#c49a5e}.stock-unit{font-size:9px;color:#a2ab98;margin-left:4px}.table-footer{border-top:1px solid #f0f2eb;display:flex;justify-content:space-between;padding:12px 21px;font-size:9px;color:#a3ad98}.table-footer .text-button{padding:0}.stock-actions{display:flex;gap:7px}.stock-actions button{background:#f2f5ed;color:#6d875d;border-radius:4px;font-size:9px;padding:4px 7px}.stock-actions button:hover{background:#e4eddc}.stock-actions button:disabled{cursor:not-allowed;opacity:.4}.empty{padding:46px 20px;text-align:center;color:#99a18f;font-size:12px}.empty svg{margin-bottom:10px;color:#b9c5aa}.empty small{display:block;font-size:10px;margin-top:7px}.right-stack{display:grid;gap:18px}.alert-list{padding:0 20px 5px}.alert-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f2eb;gap:9px}.alert-item:last-child{border:0}.alert-name{font-size:11px;color:#66745c}.alert-detail{font-size:9px;color:#a4ab9b;margin-top:4px}.alert-days{font-size:11px;color:#c59b65;white-space:nowrap}.alert-days.red{color:#bc7a66}.alert-days small{font-size:8px;display:block;color:#acb29f;text-align:right;margin-top:4px}.timeline{padding:0 21px 5px}.timeline-item{position:relative;padding:9px 0 15px 20px;font-size:10px}.timeline-item:not(:last-child):before{content:'';position:absolute;left:3px;top:20px;bottom:-2px;width:1px;background:#e8eddf}.timeline-item:after{content:'';height:6px;width:6px;border:2px solid #e5eddc;background:#97ae7e;border-radius:50%;position:absolute;left:-1px;top:13px}.timeline-item.out:after{background:#cfb179;border-color:#f5eddb}.timeline-title{display:flex;justify-content:space-between;gap:4px;color:#758268}.timeline-title strong{font-size:10px;font-weight:500;color:#6d7e5d}.timeline-item small{display:block;font-size:9px;color:#a2ac97;margin-top:5px}.timeline-item .timeline-time{color:#b0b8a6}.panel-bottom{padding:10px 21px 14px;border-top:1px solid #f0f2eb}.attention-note{font-size:10px;background:#faf3e7;color:#b09771;padding:11px 15px;border-radius:7px;display:flex;align-items:center;gap:8px;margin-bottom:18px}.attention-note svg{width:15px;height:15px}.attention-note.neutral{background:#edf2e6;color:#829573}.muted{color:#a1a995!important}.void-row{opacity:.6}.void-reason{display:block;color:#bc8c77;font-size:9px;margin-top:4px;white-space:normal;max-width:160px}.log-note{max-width:170px;white-space:normal;font-size:9px!important}.void-button{background:transparent;color:#b3977b;font-size:9px;padding:5px}.delta{font-size:10px;color:#899d74}.delta.down{color:#bf9f6b}
.report-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin:22px 0}.chart{height:200px;display:flex;align-items:flex-end;gap:12px;padding:22px 0 25px;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 38px,#f1f3eb 39px,#f1f3eb 40px);margin:0 10px}.chart-group{flex:1;height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;position:relative;min-width:0}.bar{width:14px;max-width:30%;border-radius:3px 3px 0 0;background:#8fa87b;min-height:2px;transition:height .3s}.bar.out{background:#d5bd91}.chart-group small{position:absolute;bottom:-22px;font-size:8px;color:#a6ad9c;white-space:nowrap;left:50%;transform:translateX(-50%)}.chart-note{font-size:9px;color:#a5ae9b;margin:8px 0 0}.period-card{padding:22px;background:#eef3e7;border-radius:8px;margin:0 20px 20px}.period-card h3{font-size:12px;font-weight:500;margin-bottom:12px}.period-line{display:flex;justify-content:space-between;font-size:10px;color:#91a081;margin:9px 0}.period-line strong{color:#5c754c;font-size:12px}.report-narrative{padding:0 22px 18px;font-size:11px;line-height:2;color:#8c9980}.roadmap-intro{padding:26px 28px;background:#eaf0e1;border:1px solid #e1e8d7;border-radius:11px;margin-bottom:25px;display:flex;justify-content:space-between;align-items:center;gap:20px}.roadmap-intro h2{font-size:20px;font-weight:500;margin:7px 0}.roadmap-intro p{font-size:11px;color:#879a78;max-width:600px;line-height:1.9}.roadmap-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.roadmap-card{background:white;border:1px solid var(--border);border-radius:10px;padding:25px}.roadmap-card>svg{width:23px;height:23px;color:#95aa7c;margin-bottom:18px}.roadmap-card h3{font-size:14px;margin-bottom:8px}.roadmap-card p{font-size:11px;line-height:1.9;color:#95a089;min-height:44px;margin-bottom:17px}.roadmap-list{list-style:none;margin:18px 0 0;padding:0;font-size:10px;color:#97a48b;line-height:2.5}.roadmap-list li:before{content:'·';padding-right:8px}.architecture{margin-top:23px;padding:23px 25px}.architecture h3{font-size:13px;font-weight:500;margin-bottom:17px}.architecture-flow{display:flex;align-items:center;gap:15px;flex-wrap:wrap;font-size:11px;color:#9baa8e}.architecture-step{padding:12px 18px;border-radius:7px;background:#f5f7f0;border:1px solid #e8eddf;color:#7c906a}.architecture p{font-size:10px;color:#a3ad97;margin-top:16px;line-height:1.9}
dialog{border:1px solid #e0e6d8;border-radius:14px;padding:0;width:480px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 24px 100px #183b322b}dialog::backdrop{background:#172d2866;backdrop-filter:blur(3px)}.dialog-head{padding:23px 25px 18px;display:flex;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--border);gap:10px}.dialog-head h2{font-size:19px;font-weight:550}.dialog-head p{font-size:10px;color:#9ba58f;margin-top:6px}.dialog-content{padding:22px 25px}.dialog-tabs{margin-bottom:20px;display:flex;padding:4px;border-radius:7px;background:#f3f5ec}.dialog-tabs button{flex:1;background:transparent;border-radius:5px;padding:8px;font-size:11px;color:#94a184}.dialog-tabs .active{background:var(--green);color:#fff}.form-field{display:block;margin-bottom:16px;font-size:11px;color:#78876c}.form-field>span{display:flex;justify-content:space-between;margin-bottom:7px}.form-field em{color:#b1b9a6;font-size:9px;font-style:normal}.form-field input,.form-field select,.form-field textarea{display:block;width:100%;background:#fff;border:1px solid #e1e7d9;border-radius:7px;padding:10px 11px;color:#536948;font-size:12px;outline:none;min-width:0}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#8ba87b;box-shadow:0 0 0 3px #eaf0e3}.form-field textarea{resize:vertical;min-height:70px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.batch-preview{background:#f3f6ed;border:1px solid #e7eddc;border-radius:7px;padding:12px 14px;font-size:10px;color:#8a9a7a;margin:-6px 0 17px;display:flex;justify-content:space-between;gap:10px}.batch-preview strong{font-size:15px;color:#5c7747;font-weight:500}.batch-preview small{display:block;font-size:9px;margin-top:4px}.form-hint{font-size:10px;color:#a2ad93;line-height:1.8;margin-bottom:16px}.form-error{background:#faece6;color:#b36c57;padding:10px 12px;border-radius:6px;font-size:11px;line-height:1.8;margin-bottom:15px}.form-error:empty{display:none}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:7px}.dialog-actions .primary{min-width:108px}.system-details{display:grid;grid-template-columns:auto 1fr;gap:12px 22px;font-size:11px;color:#8e9b82;margin-bottom:20px}.system-details dt{color:#a7b199}.system-details dd{margin:0}.access-link{display:block;color:#4f784b;background:#eef4e5;padding:12px;border-radius:6px;font-size:13px;margin:9px 0;overflow-wrap:anywhere}.system-tip{font-size:11px;color:#9baa8d;line-height:1.9}.loading{text-align:center;padding:120px 20px;color:#9eab91;font-size:12px}.spinner{width:15px;height:15px;border:2px solid #dde6d2;border-top-color:#789c64;border-radius:50%;display:inline-block;vertical-align:middle;margin-right:10px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}#toast{position:fixed;bottom:30px;left:calc(50% + 118px);transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#244f3d;color:#eff8e5;padding:13px 22px;font-size:12px;border-radius:8px;box-shadow:0 6px 30px #20402e22;z-index:100;transition:.2s;max-width:calc(100vw - 32px);text-align:center}#toast.visible{opacity:1;transform:translate(-50%,0)}#toast.error{background:#a86654}.mobile-nav{display:none}
@media(min-width:1500px){main{padding-top:38px}.hero{min-height:195px}.hero-art{margin-right:55px}.stat{padding:22px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 310px}.data-table td{padding-top:16px;padding-bottom:16px}}
@media(max-width:1200px){.sidebar{width:205px;padding:28px 15px 17px}.shell{margin-left:205px}.topbar{padding:0 26px}main{padding:27px 26px 16px}.page-footer{padding-left:26px;padding-right:26px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 245px;gap:16px}.data-table td,.data-table th{padding-left:10px;padding-right:10px}.dashboard-stock .warehouse-col,.dashboard-stock .batch-col{display:none}.stat{padding:17px 15px}.hero{padding:26px}.hero-art{max-width:29%;margin-right:0}.stats{gap:12px}.page-heading h1{font-size:23px}#toast{left:calc(50% + 102px)}}
@media(max-width:1000px){.sidebar{width:184px;padding:26px 12px 15px}.shell{margin-left:184px}.brand{font-size:22px;gap:9px}.brand-small{font-size:8px}.workspace{padding:12px 8px;font-size:11px;gap:6px}.workspace>span:nth-child(2)>span{font-size:8px}.nav-item{font-size:12px;padding:12px}.sidebar-note{padding:16px 12px}.topbar{height:65px;padding:0 22px}main{padding:26px 22px 16px}.dashboard-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:1fr 1fr}.hero-art{max-width:30%}.topbar-right{gap:12px}.stat-value{font-size:28px}.stat-foot{font-size:8px}.stats{gap:10px}.report-grid{grid-template-columns:1fr}.roadmap-cards{grid-template-columns:1fr 1fr}.top-date{padding-left:12px}#toast{left:calc(50% + 92px)}.dashboard-stock .warehouse-col{display:table-cell}}
@media(max-width:760px){.sidebar{display:none}.shell{margin-left:0}.topbar{height:65px;padding:0 20px}.breadcrumb,.top-date,.top-avatar{display:none}.mobile-brand{display:flex;align-items:center;gap:9px;font-weight:600;font-size:16px;letter-spacing:1px}.mobile-brand .brand-mark{width:31px;height:31px;font-size:20px;border-radius:9px}.topbar-right{gap:10px}.connection{font-size:9px}.topbar .icon-button{padding:5px}.shell{padding-bottom:74px}main{padding:24px 18px 10px;min-height:calc(100dvh - 180px)}.page-heading{margin-bottom:19px;gap:10px}.page-heading h1{font-size:23px;letter-spacing:.5px}.page-heading p{font-size:10px;line-height:1.7;max-width:225px}.eyebrow{font-size:8px;letter-spacing:1.8px}.heading-actions .button{padding:8px 10px;font-size:10px}.heading-actions .export-button{display:none}.hero{min-height:172px;padding:25px 22px;border-radius:11px;margin-bottom:17px}.hero h2{font-size:22px;letter-spacing:1px;line-height:1.5;max-width:240px}.hero p{font-size:10px;max-width:210px;line-height:1.8}.hero-art{position:absolute;right:-25px;bottom:-8px;max-width:none;width:170px;height:140px;opacity:.36;pointer-events:none}.hero-copy{z-index:2}.hero-bottom{gap:13px;margin-top:20px}.hero .eyebrow{font-size:8px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{min-height:112px;padding:15px 16px;border-radius:9px}.stat-top{font-size:10px}.stat-icon{width:25px;height:25px}.stat-value{font-size:29px;margin-top:5px}.stat-foot{font-size:9px;margin-top:7px}.stat-value small{font-size:9px}.dashboard-grid{gap:17px}.panel-head{padding:18px 16px 14px}.section-title h2{font-size:13px}.toolbar{padding:0 16px 13px;gap:9px}.segments{flex-shrink:0}.segment{font-size:10px;padding:6px 12px}.search-wrap{max-width:none;flex:1;min-width:100px}.dashboard-stock .toolbar .search-wrap{width:100%;flex-basis:100%}.data-table th{font-size:8px;padding:10px}.data-table td{padding:12px 10px}.data-table td:first-child,.data-table th:first-child{padding-left:16px}.data-table td:last-child,.data-table th:last-child{padding-right:16px}.item-cell{gap:8px;min-width:110px}.item-icon{width:28px;height:28px}.item-icon svg{width:16px;height:16px}.item-name{font-size:10px}.item-meta{font-size:8px}.dashboard-stock .expiry-col,.dashboard-stock .warehouse-col{display:none}.dashboard-stock .data-table{white-space:normal}.dashboard-stock .stock-unit{display:block;margin:3px 0 0}.dashboard-stock .data-table td{font-size:9px}.dashboard-stock .stock-number{font-size:12px}.table-footer{padding:12px 16px;font-size:8px}.right-stack{grid-template-columns:1fr}.right-stack .timeline{padding-bottom:7px}.alert-list{padding:0 16px 4px}.alert-item{padding:13px 0}.alert-name{font-size:11px}.alert-detail{font-size:9px}.page-footer{padding:15px 18px 12px;font-size:8px;line-height:1.9;gap:15px}.page-footer>span:last-child{text-align:right}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#ffffffed;backdrop-filter:blur(16px);border-top:1px solid #e4e9dc;padding:9px 12px calc(9px + env(safe-area-inset-bottom));justify-content:space-around;z-index:30}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:5px;color:#a0aa95;font-size:9px;width:65px}.mobile-nav svg{width:20px;height:20px}.mobile-nav a.active{color:var(--green);font-weight:600}.mobile-nav a.active svg{background:#ebf1e3;box-shadow:0 0 0 6px #ebf1e3;border-radius:3px}.mobile-nav a.active span{margin-top:1px}#toast{left:50%;bottom:90px;font-size:11px}.stock-page .toolbar{align-items:stretch}.stock-page .search-wrap{max-width:100%;width:100%;flex-basis:100%}.stock-page .data-table{min-width:680px}.records-panel .toolbar{align-items:flex-start}.records-panel .filter-row{flex-basis:100%}.records-panel .search-wrap{flex-basis:100%}.records-panel .data-table{min-width:760px}.attention-note{font-size:9px;align-items:flex-start;line-height:1.8;padding:10px 12px}.attention-note svg{margin-top:2px;flex-shrink:0}.report-heading{flex-wrap:wrap}.report-heading .segments{margin-top:4px}.report-grid{gap:16px;margin:17px 0}.chart{gap:5px;margin:0 0;height:180px}.chart-group small{font-size:7px}.chart-group{gap:2px}.roadmap-cards{grid-template-columns:1fr}.roadmap-intro{padding:22px;display:block}.roadmap-intro h2{font-size:18px}.roadmap-intro p{font-size:10px}.roadmap-card{padding:22px}.roadmap-card p{min-height:0}.architecture{padding:20px}.architecture-flow{gap:9px;font-size:9px}.architecture-step{padding:10px;font-size:10px}.dialog-head{padding:20px}.dialog-content{padding:20px}.dialog-head h2{font-size:18px}.form-field{font-size:11px}.form-field input,.form-field select,.form-field textarea{font-size:16px;padding:10px}.form-row{gap:10px}.batch-preview{flex-wrap:wrap}.demo-label{font-size:8px;padding:2px 5px;margin-left:4px}.report-table{min-width:670px}.report-grid .panel-body{padding:0 16px 20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){.hero h2{max-width:none;font-size:21px;letter-spacing:.6px}.hero-copy{width:100%}.page-heading p{max-width:230px}.page-heading h1{white-space:nowrap}}
/* Batch purchase costs and explicit loss tracking. */
.price-link{padding:0;background:transparent;color:#54774c;font-size:11px;border-bottom:1px dashed #b9c9ac;font-variant-numeric:tabular-nums}.price-link:hover{color:#174d40;border-color:#174d40}.cost-number{font-weight:550;font-variant-numeric:tabular-nums;color:#537447;white-space:nowrap}.loss-amount{color:#b96f59!important;font-weight:550}.stock-actions .loss-button{background:#fbefe7;color:#b78163}.finance-heading{display:flex;align-items:center;gap:12px;margin:4px 0 14px;font-size:13px;font-weight:550}.finance-heading small{font-size:9px;color:#a0ab95;font-weight:400}.finance-heading .text-button{margin-left:auto}.finance-stats .stat-value{font-size:27px;letter-spacing:-.7px}.finance-section{margin:0 0 25px}.finance-section .stats{margin-bottom:10px}.dashboard-stock .cost-col{display:none}.loss-reason{display:block;font-weight:500;color:#b58268;margin-bottom:4px}.loss-reasons{padding:0 22px 18px}.loss-reason-row{padding:14px 0;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0e6}.loss-reason-row:last-child{border-bottom:0}.loss-reason-row strong{font-size:12px;font-weight:500;color:#7d8a70}.loss-reason-row small{display:block;font-size:9px;color:#a1ad94;margin-top:5px}.loss-reason-row>span{font-size:18px;font-weight:550;color:#b8795d}.amount-preview{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f6f2e6;border:1px solid #eae4d2;padding:13px 15px;border-radius:7px;margin:0 0 18px;color:#a18e65;font-size:11px}.amount-preview strong{font-size:16px;color:#96713e}.dialog-tabs .loss-tab{background:#b8795d}.trend-panel{margin-top:20px}.stat-foot{line-height:1.7}.stock-page .data-table{min-width:880px}.records-panel .data-table{min-width:1000px}.report-table{min-width:900px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}input[readonly]{background:#f5f6ef;color:#9ba58e}.stock-page .panel-head .button,.records-panel .panel-head .button{display:inline-flex}
@media(max-width:1200px){.finance-stats .stat-value{font-size:23px}.dashboard-stock .expiry-col{display:none}}
@media(max-width:760px){.finance-heading{font-size:12px;gap:8px}.finance-heading small{font-size:8px}.finance-stats .stat-value{font-size:23px}.finance-section{margin-bottom:20px}.page-heading:has(.heading-actions .button:nth-child(3)){flex-wrap:wrap}.page-heading:has(.heading-actions .button:nth-child(3)) .heading-actions{justify-content:flex-start;width:100%}.page-heading:has(.heading-actions .button:nth-child(3)) .heading-actions .button{flex:1}.dashboard-stock .value-col{display:none}.loss-reason-row>span{font-size:16px}.report-heading h1{font-size:22px}.loss-reasons{padding:0 16px 15px}.report-heading .heading-actions{justify-content:flex-start}.records-panel .toolbar .segments{max-width:100%;flex-wrap:wrap}.amount-preview strong{font-size:14px}.stock-page .toolbar .search-wrap{min-width:100px}.finance-stats .stat-foot{font-size:9px}}

.stock-summary{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:14px 21px;background:#f6f9f0;border-top:1px solid #e9eee0;font-size:10px;color:#92a17e}.stock-summary strong{display:inline-block;font-size:16px;font-variant-numeric:tabular-nums;font-weight:550;color:#4e7041;margin-left:9px}.stock-summary small{display:block;font-size:9px;margin-top:4px;color:#acb59e}.stock-summary>span:last-child{text-align:right}.finance-stats .stat-value{overflow-wrap:anywhere}
@media(max-width:760px){.stock-summary{padding:14px 16px;gap:9px}.stock-summary>span{flex:1}.stock-summary strong{display:block;margin:5px 0 0;font-size:17px}.stock-summary small{font-size:8px}.finance-heading small{max-width:155px}.finance-stats .stat-value{font-size:22px}}
/* Unit conversions and mixed-item requisitions. */
.unit-link{display:block;background:transparent;color:#748e60;font-size:9px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.order-code{color:#718962}.unit-rule{display:grid;grid-template-columns:12px 1fr 14px 1fr 28px;gap:7px;align-items:center}.unit-rule>.form-field{min-width:0;margin-bottom:12px}.unit-rule>.form-field>span{font-size:9px;min-height:16px}.unit-rule>span{padding-top:8px}.unit-rule .icon-button{padding:4px}.form-field{min-width:0}dialog.wide{width:700px}.order-section-title{display:flex;justify-content:space-between;gap:10px;margin:18px 0 12px;font-size:12px;color:#537149}.order-section-title span{font-size:10px;color:#8c9b7f}.order-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:195px;overflow:auto;padding:2px 2px 6px}.order-pick{text-align:left;display:grid;grid-template-columns:1fr auto;gap:5px 8px;background:#f5f7ee;border:1px solid #dfe7d6;border-radius:7px;padding:11px 12px;color:#537149;min-width:0}.order-pick span{font-size:12px}.order-pick small{grid-row:2;font-size:9px;color:#8e9e80}.order-pick em{font-size:10px;font-style:normal;grid-column:2;grid-row:1 / 3;align-self:center;color:#62894c}.order-pick:hover{background:#eaf1e1;border-color:#adc29b}.order-line{background:#fafbf6;border:1px solid #e0e7d7;border-radius:8px;padding:14px 16px;margin-bottom:10px}.order-line-head{display:flex;justify-content:space-between;align-items:center;color:#43683a;font-size:13px;margin-bottom:8px}.order-line .form-field{margin-bottom:10px}.line-preview{display:flex;justify-content:space-between;flex-wrap:wrap;gap:7px;font-size:10px;line-height:1.6}.line-preview span{color:#8c9d7e}.line-preview strong{color:#537149;font-weight:500}.line-preview .loss-amount{color:#af6e58}.order-submit{position:sticky;bottom:-22px;background:#fff;padding:12px 0;margin-top:5px;border-top:1px solid #e6ecde;z-index:2}.order-picker .form-hint{grid-column:1 / -1}.form-field input[type=datetime-local]{max-width:100%}
@media(max-width:760px){dialog.wide{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}dialog.wide .dialog-head{padding:18px}dialog.wide .dialog-content{padding:17px}#order-form>.form-row{grid-template-columns:1fr}#order-form>.form-row .form-field{margin-bottom:12px}.order-picker{max-height:168px}.order-pick{padding:10px;display:block}.order-pick span,.order-pick small{display:block}.order-pick small{margin-top:5px}.order-pick em{display:none}.order-section-title{font-size:12px}.order-section-title span{font-size:9px}.order-line{padding:12px}.line-preview{display:block}.line-preview strong{display:block;margin-top:4px}.order-submit{bottom:-17px}.unit-rule{gap:5px}.unit-rule input{padding:9px 6px}.unit-rule>.form-field>span{display:block;font-size:8px}.heading-actions{flex-wrap:wrap}}
.continue-pick{background:transparent;color:#66884f;font-size:10px;padding:3px}.order-pick:focus-visible,.continue-pick:focus-visible{outline:2px solid #7d9c68;outline-offset:2px}
.batch-expand{display:block;background:transparent;color:#8e9e7e;font-size:9px;padding:5px 0;text-align:left}.batch-expand:hover{color:#496f38}.stock-batch-row{background:#f4f7ed}.stock-batch-row td{font-size:10px!important;color:#879879}.stock-batch-row td:first-child{padding-left:60px}.unit-equivalent{font-size:10px;color:#718b5b;margin-top:5px}.receipt-preview{background:#eef4e6;border:1px solid #e0e9d4;border-radius:8px;padding:13px;margin:0 0 17px;line-height:1.8;font-size:11px;color:#657f52}.receipt-preview strong,.receipt-preview span{display:block}.receipt-preview strong{margin-bottom:5px;color:#496c3b}.receipt-preview span{font-size:10px}#receipt-new-fields[hidden]{display:none}
@media(max-width:760px){.stock-batch-row td:first-child{padding-left:26px}.unit-equivalent{font-size:9px}#receipt-form>.form-row:last-of-type{grid-template-columns:1fr}.batch-expand{font-size:9px}}
@media(max-width:760px){#receipt-form .receipt-person-time{grid-template-columns:1fr}}
/* Period comparisons and cost analysis. */
.analysis-summary{padding:25px 28px;background:#eaf0e1;border:1px solid #dfe7d6;border-radius:12px;margin-bottom:22px}.analysis-summary h2{font-size:23px;font-weight:550;line-height:1.5;margin:9px 0}.analysis-summary p{font-size:12px;color:#738567;line-height:1.9}.analysis-dates{display:flex;flex-wrap:wrap;gap:9px 24px;font-size:11px;color:#617654;margin-top:18px}.analysis-summary>small{display:block;color:#89967e;font-size:10px;line-height:1.8;margin-top:9px}.analysis-metric{min-width:0}.analysis-change{font-size:11px;color:#536e46;line-height:1.8;margin-top:10px}.analysis-baseline{font-size:10px;color:#8b9881;line-height:1.9;margin-top:7px;font-variant-numeric:tabular-nums}.comparison-legend{display:flex;align-items:center;gap:20px;padding:0 26px 18px;font-size:11px;color:#718364;flex-wrap:wrap}.comparison-legend>span{display:flex;align-items:center;gap:7px}.comparison-legend i{display:block;width:10px;height:10px;border-radius:3px;background:#557b49}.comparison-legend i.previous{background:#c9d5ba}.comparison-legend small{margin-left:auto;font-size:10px;color:#94a087}.comparison-chart{display:flex;padding:12px 28px 35px 20px;height:278px;gap:12px}.comparison-axis{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;min-width:43px;color:#94a087;font-size:9px;font-variant-numeric:tabular-nums;transform:translateY(4px)}.comparison-plot{position:relative;flex:1;min-width:0;display:flex;gap:14px;justify-content:space-around}.comparison-grid{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.comparison-grid>span{width:100%;border-top:1px solid #edf1e6}.comparison-group{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:12px;flex:1;max-width:230px;height:100%;padding:0 8px}.comparison-bar{position:relative;width:44px;max-width:32%;border-radius:5px 5px 0 0;background:#557b49;z-index:1;min-height:0}.comparison-bar.previous{background:#c9d5ba}.comparison-bar>span{position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);font-size:10px;color:#527144;white-space:nowrap;font-variant-numeric:tabular-nums}.comparison-bar.previous>span{color:#879777}.comparison-group>strong{position:absolute;bottom:-25px;font-size:11px;color:#6d805f;font-weight:500;white-space:nowrap}.comparison-caption{padding:4px 26px 22px;font-size:10px;color:#96a18c;line-height:1.8}.analysis-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;margin-top:20px}.usage-ranking{padding:0 23px 24px}.usage-rank{margin:15px 0 20px}.usage-rank:last-child{margin-bottom:0}.usage-rank>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#5e7751}.usage-rank em{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:9px;font-style:normal;color:#8c9d7c;background:#f1f5e9;border-radius:5px;font-size:10px}.usage-rank strong{font-weight:500;font-variant-numeric:tabular-nums}.usage-track{height:9px;border-radius:4px;background:#f0f3e9;display:flex;overflow:hidden;margin:9px 0 6px}.usage-track>span{height:100%;background:#789466}.usage-track>span.loss{background:#c18b6e}.usage-rank small{font-size:9px;color:#98a38c}.analysis-reading{padding:24px}.analysis-reading h2{font-size:14px;font-weight:550;margin-bottom:17px}.analysis-reading p{font-size:11px;line-height:2;color:#8b9980;margin-bottom:15px}.analysis-reading .button{margin-top:6px}
@media(max-width:1000px){.analysis-bottom{grid-template-columns:1fr}.comparison-group{gap:14px}.comparison-bar{width:38px}.comparison-bar>span{font-size:9px}}
@media(max-width:760px){.analysis-summary{padding:20px;margin-bottom:17px}.analysis-summary h2{font-size:19px}.analysis-summary p{font-size:11px}.analysis-dates{display:grid;font-size:10px;gap:5px;margin-top:14px}.analysis-summary>small{font-size:9px}.analysis-change{font-size:10px}.analysis-baseline{font-size:9px}.analysis-metric{padding:15px 13px}.analysis-stats .stat-value{font-size:23px}.comparison-legend{padding:0 16px 15px;gap:14px;font-size:10px}.comparison-legend small{margin:0;width:100%;font-size:9px}.comparison-chart{height:260px;padding:15px 13px 36px 9px;gap:7px}.comparison-axis{min-width:35px;font-size:8px}.comparison-plot{gap:2px}.comparison-group{gap:5px;padding:0 2px}.comparison-bar{width:24px;max-width:35%;border-radius:3px 3px 0 0}.comparison-bar>span{font-size:8px;bottom:calc(100% + 6px);writing-mode:vertical-rl;transform:translateX(-50%) rotate(180deg);line-height:1.1}.comparison-group>strong{font-size:10px}.comparison-caption{padding:4px 16px 18px;font-size:9px}.analysis-bottom{gap:17px;margin-top:17px}.usage-ranking{padding:0 16px 20px}.analysis-reading{padding:20px}.analysis-reading p{font-size:11px}}
/* Account entry and owner administration. */
[hidden]{display:none!important}.auth-view>.sidebar,.auth-view>.shell,.auth-view>#mobile-nav{display:none!important}.auth-root{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:28px 18px;background:radial-gradient(ellipse at top left,#e1ead3,transparent 65%),#f5f7f0}.auth-card{width:420px;max-width:100%;background:#fff;border:1px solid #e0e7d7;box-shadow:0 20px 65px #234b3110;border-radius:16px;padding:30px}.auth-card>.brand-mark{margin-bottom:23px}.auth-card h1{font-size:24px;margin:10px 0 12px;font-weight:600}.auth-card>p{font-size:12px;color:#819374;line-height:1.9;margin-bottom:24px}.auth-card>small{display:block;font-size:10px;color:#97a28b;line-height:1.8;margin-top:20px}.auth-card form>.button{width:100%;padding:12px}.account-button{background:#eaf0e2;border:1px solid #dce7d0;color:#547446;font-size:11px;border-radius:7px;padding:8px 10px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-menu{display:grid;gap:12px;margin-bottom:20px}.account-menu>.button{justify-content:flex-start;padding:13px 15px}.member-list,.backup-list{max-height:290px;overflow:auto;margin-bottom:20px}.member-row,.backup-row{padding:15px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e8eddf}.member-row strong,.backup-row strong{display:block;font-size:12px;color:#59734b}.member-row small,.backup-row small{display:block;font-size:10px;line-height:1.8;color:#91a080;margin-top:5px}.member-row>div:last-child{display:flex;gap:7px}.backup-row code{display:block;font-size:8px;overflow-wrap:anywhere;color:#9ba98d;margin-top:5px}.account-section-title{font-size:13px;color:#5a774b;margin:20px 0 16px}.backup-policy{font-size:11px;line-height:2;color:#849774;margin-bottom:15px}.backup-list{margin-top:12px}.recovery-steps{font-size:11px;line-height:2.1;color:#7a8e6b;padding-left:20px}.recovery-steps code{display:block;background:#f1f5e9;border-radius:5px;padding:8px;overflow-wrap:anywhere;margin:8px 0}details>summary{font-size:12px;color:#537547;cursor:pointer;margin:16px 0}.staff-view .owner-only,.staff-view .cost-col,.staff-view .value-col,.staff-view .stock-summary,.staff-view [data-action=receive],.staff-view [data-action=units],.staff-view [data-action=in],.staff-view [data-action=switch-in],.staff-view [data-action=batch-cost],.staff-view [data-action=void],.staff-view [data-action=goto-reports],.staff-view [data-action=cost-reports]{display:none!important}.staff-view .stock-page .data-table{min-width:650px}.staff-view .records-panel .data-table{min-width:760px}.staff-view #order-total{display:none!important}.staff-view .dialog-tabs button{flex:1}
@media(max-width:760px){.auth-card{padding:25px 22px}.auth-card h1{font-size:23px}.auth-card .form-field input{font-size:16px}.account-button{max-width:100px;font-size:10px;padding:7px 8px}.topbar{padding:0 14px}.topbar-right{gap:6px}.topbar .connection{font-size:8px}.mobile-brand{font-size:14px;gap:6px}.member-row{align-items:flex-start;flex-wrap:wrap}.member-row>div:last-child{margin-left:auto}.staff-view .mobile-nav a{width:85px}.backup-row{align-items:flex-start}.backup-policy{font-size:11px}}
