:root{--ink:#202d29;--green:#173e35;--accent:#23755d;--muted:#7d8783;--line:#e8ece9;--bg:#f6f8f7;--gold:#d6b77e}*{box-sizing:border-box}body{margin:0;font:14px/1.5 'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;border-radius:7px;padding:10px 16px;background:white;color:var(--ink);font-weight:600}button:hover{filter:brightness(.96)}button:disabled{opacity:.45;cursor:wait}.primary{background:var(--green);color:white}.secondary{border:1px solid #dce2de;background:white}.quiet{background:transparent;color:#6a7771;font-size:12px}.icon-button{padding:4px 8px;background:transparent;font-size:21px}.sidebar{width:252px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:14px;letter-spacing:1.3px}.brand-icon{display:grid;place-items:center;border-radius:9px;background:var(--green);color:var(--gold);font:30px Georgia;width:39px;height:42px}.brand small{font-size:7px;letter-spacing:1.4px;display:block;color:var(--muted);margin-top:3px}.workspace{border:1px solid var(--line);border-radius:8px;padding:13px 10px;display:flex;align-items:center;gap:10px;margin:35px 0 30px;font-size:12px}.workspace-icon{background:#f3f0e8;color:#82704a;padding:8px;border-radius:6px;font-weight:700}.workspace small,.profile small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.dot{height:6px;width:6px;background:#408f6c;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.5px;font-weight:700;color:#99a29d;margin:0 12px 12px}nav button{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:12px;margin-bottom:5px;background:transparent;color:#78817d;font-size:13px;font-weight:500}nav button.active{background:#eaf2ed;color:var(--green);font-weight:700}nav .nav-icon{font-size:19px;width:23px;text-align:center}.nav-count{font-size:10px;background:#dbe9df;border-radius:4px;padding:1px 6px;margin-left:auto}.sidebar-bottom{margin-top:auto}.offline-note{display:flex;gap:10px;padding:16px 10px;border-bottom:1px solid var(--line);margin-bottom:19px;color:#718179}.offline-note>span{font-size:24px}.offline-note strong{font-size:10px}.offline-note p{font-size:10px;line-height:1.6;color:#98a19c}.profile{display:flex;align-items:center;gap:10px;font-size:11px}.avatar{border-radius:50%;background:#ece6dc;padding:8px 12px;color:#776443}.profile form{margin-left:auto}.main-wrap{margin-left:252px}header{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 38px;font-size:11px}.slash{margin:0 12px;color:#c7cfca}.header-right{display:flex;gap:16px;align-items:center}main{max-width:1550px;margin:auto;padding:35px 38px 45px;min-height:calc(100vh - 137px)}h1{font-size:29px;font-weight:650;letter-spacing:-.8px;line-height:1.3;margin:6px 0 8px}h2{font-size:16px;font-weight:650;margin:0}h3{font-size:13px;margin:0}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#8d9991}.muted{color:var(--muted)}.small{font-size:11px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.page-heading p{font-size:12px;margin:0;color:var(--muted)}.actions{display:flex;align-items:center;gap:9px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:5px;font-size:10px;white-space:nowrap;font-weight:600}.green{background:#eaf5ee;color:#34865b}.amber{background:#fff3dd;color:#ad7c28}.gray{background:#f0f2f1;color:#7d8781}.red{background:#fceceb;color:#bf5c52}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px 22px;position:relative}.stat .stat-icon{float:right;background:#f1f5f2;border-radius:7px;padding:5px 10px;color:#68806f;font-size:20px}.stat label{font-size:11px;color:#7e8982}.stat strong{font-size:27px;font-weight:650;display:block;margin:13px 0 4px;letter-spacing:-.8px}.stat small{font-size:10px;color:#8c9690}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:23px}.panel-head{padding:21px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-head p{margin:4px 0 0;font-size:11px;color:var(--muted)}.two-col{display:grid;grid-template-columns:1.65fr 1fr;gap:23px}.chart{height:210px;padding:25px;display:flex;align-items:end;gap:17px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#f2f4f2 45px)}.chart-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:9px}.chart-bar{width:65%;max-width:35px;background:#5d8b75;border-radius:4px 4px 0 0;min-height:2px}.chart-col small{font-size:9px;color:#8a9690}.chart-empty{height:210px;display:grid;place-items:center;color:#9ca69f;font-size:12px}.panel-foot{padding:13px 23px;font-size:10px;color:#8c9790}.category-row{display:flex;gap:13px;align-items:center;padding:13px 23px}.category-row .cat-name{flex:1;font-size:12px}.category-row small{color:#96a098;font-size:10px}.category-row .bar-track{height:5px;width:75px;background:#eef2ef;border-radius:8px}.bar-track i{display:block;height:100%;background:#83a38d;border-radius:8px}.category-dot{height:8px;width:8px;border-radius:50%;background:#527b61}.toolbar{display:flex;gap:10px;padding:17px 23px;border-bottom:1px solid var(--line)}.toolbar input{width:280px;background:#fafbf9}.toolbar select{width:150px}input,select{border:1px solid #e0e5e1;border-radius:6px;padding:10px 12px;outline:none;background:white;color:#3d4942}input:focus,select:focus{border-color:#62927b;box-shadow:0 0 0 3px #62927b15}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#fafbf9;color:#919c95;font-size:9px;letter-spacing:.7px;text-transform:uppercase;font-weight:600;padding:13px 23px}td{padding:15px 23px;border-top:1px solid #f0f2f0}td small{display:block;color:#96a097;font-size:10px;margin-top:3px}.product-cell{display:flex;gap:13px;align-items:center}.bottle{width:34px;height:42px;border-radius:6px;background:#f4f1e9;display:grid;place-items:center;color:#887646}.bottle svg{width:17px;height:31px}.table-scroll{overflow:auto}.notice{background:#faf5e9;border:1px solid #eee5cf;border-radius:8px;padding:14px 18px;display:flex;gap:12px;align-items:center;margin:0 0 25px;font-size:12px;color:#8b723e}.notice p{margin:3px 0 0;font-size:11px}.notice a,.notice button{margin-left:auto;background:transparent;color:#8b723e;font-size:11px}.empty{text-align:center;padding:40px;color:#8c9890}footer{padding:15px 38px;border-top:1px solid var(--line);font-size:9px;color:#8b9690;display:flex;justify-content:space-between}dialog{border:0;border-radius:12px;width:530px;max-width:95vw;padding:25px;box-shadow:0 20px 100px #142e3644}dialog::backdrop{background:#152a2355;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}form label{display:block;font-size:12px;font-weight:600;margin:12px 0}form label input,form label select{display:block;width:100%;margin-top:6px;font-weight:400}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.form-actions{display:flex;justify-content:end;gap:10px;margin-top:22px}.check{display:flex;align-items:center;gap:8px;font-size:12px}.check input{width:auto;margin:0}.error{color:#b34d43;font-size:12px}.form-help{font-size:11px;color:#929b95}.settings-form{padding:8px 25px 25px;max-width:600px}.queue-item{padding:18px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.queue-item p{margin:4px 0;color:#8b9690;font-size:12px}#toast{position:fixed;bottom:25px;right:30px;padding:14px 22px;background:var(--green);color:#fff;box-shadow:0 5px 25px #0002;border-radius:8px;display:none;z-index:10;max-width:450px}#toast.show{display:block}.login-page{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.login-story{padding:55px 65px;background:var(--green);color:#f6f1e6;display:flex;flex-direction:column;justify-content:space-between}.login-story h1{font:62px/1.15 Georgia;letter-spacing:-2px;margin:20px 0}.login-story p{color:#a7bfb1;line-height:1.9}.login-story small{font-size:9px;letter-spacing:1.5px;color:#a1b9ac}.login-story .eyebrow{color:#d6b77e}.login-form{align-self:center;max-width:420px;width:100%;padding:35px}.login-form h2{font-size:30px;margin:12px 0}.login-form form{margin:30px 0}.login-form button{width:100%;margin-top:15px}.login-form input{padding:13px}.pending-strip{background:#edf3fc;padding:13px;border-radius:8px;font-size:12px;margin-bottom:20px;color:#4b6f9d}@media(min-width:1500px){.stat strong{font-size:32px}}@media(max-width:1100px){.sidebar{width:210px;padding:25px 13px}.main-wrap{margin-left:210px}main{padding:25px}header{padding:0 25px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:23px}.two-col{grid-template-columns:1.3fr 1fr}td,th{padding:13px 16px}.brand{font-size:11px}}@media(max-width:780px){.sidebar{width:70px;padding:20px 10px}.brand>span:not(.brand-icon),.workspace,.nav-label,.sidebar-bottom,nav button>span:not(.nav-icon){display:none}nav{margin-top:35px}nav button{padding:10px 9px}.main-wrap{margin-left:70px}.stats{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.page-heading{align-items:start;gap:20px}.page-heading .actions{flex-wrap:wrap;justify-content:end}h1{font-size:23px}main{padding:24px 18px}header{padding:0 18px}.header-right{gap:0}.quiet{font-size:10px;padding:6px}footer{padding:15px 18px}footer>span:last-child{display:none}.login-story{padding:35px}.login-story h1{font-size:44px}.login-page{grid-template-columns:1fr}.login-story{min-height:400px}.login-form{margin:auto}.toolbar{flex-wrap:wrap}.toolbar input{width:100%}}@media print{.sidebar,header,footer,.actions{display:none}.main-wrap{margin:0}body{background:#fff}}
.stat .stat-icon{position:absolute;right:18px;top:17px;float:none}.stat label{display:block;padding-right:38px}.stat strong{font-size:clamp(21px,2vw,29px);white-space:nowrap;letter-spacing:-1px}.stat{min-height:156px}
.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:20px}nav{flex-shrink:0}.workspace{flex-shrink:0}
/* Self-hosted Poppins: available online and offline, without third-party requests. */
@font-face{font-family:Poppins;src:url('/fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/Poppins-Medium.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/Poppins-SemiBold.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url('/fonts/Poppins-Bold.ttf') format('truetype');font-weight:700 900;font-style:normal;font-display:swap}
body,.login-story h1,.brand-icon{font-family:Poppins,sans-serif}
.mobile-account-actions{display:none}@media(max-width:780px){.mobile-account-actions{display:flex;flex-direction:column;gap:6px;margin-top:12px}.mobile-account-actions button{font-size:21px;padding:7px;background:#edf3ee;color:#173e35}.header-right{flex-wrap:wrap;justify-content:flex-end;gap:2px}header{gap:10px}.header-right a{font-size:10px;padding:4px}.stat strong{font-size:20px}}@media(max-width:480px){header{height:auto;min-height:77px;padding:12px;align-items:flex-start}header>div:first-child{font-size:9px}.slash{margin:0 5px}.header-right{max-width:170px}.header-right .badge{padding:3px 6px;font-size:9px}}
@media(max-width:520px){.page-heading{flex-direction:column;align-items:stretch;gap:16px}.page-heading .actions{width:100%;justify-content:flex-start;flex-wrap:nowrap}.page-heading .actions button{flex:1;font-size:11px;padding:10px 8px}h1{font-size:22px;letter-spacing:-.5px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:13px;min-height:125px}.stat .stat-icon{display:none}.stat label{padding-right:0;font-size:10px}.stat strong{font-size:19px;white-space:normal;margin:8px 0 4px}.stat small{font-size:9px}.two-col{grid-template-columns:minmax(0,1fr)}.chart{padding:18px 12px;gap:6px}.chart-col{min-width:0}.chart-col small{font-size:8px}.panel-head{padding:16px;align-items:flex-start;flex-wrap:wrap;gap:8px}.panel-head h2{font-size:14px}.category-row{padding:10px 16px}.category-row .bar-track{width:40px}.panel{min-width:0}.toolbar input,.toolbar select{min-width:0;max-width:100%}.main-wrap{min-width:0}footer{overflow-wrap:anywhere}}

.package-entry{border:1px solid #dce5de;border-radius:10px;padding:16px;margin:16px 0}.package-entry legend{font-weight:600;color:#173e35;padding:0 6px}
