:root{--green:#243e35;--gold:#aa8050;--paper:#f7f6f2;--muted:#7d817b;--line:#e3e5dd}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:#26372f;font:14px/1.55 system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;background:var(--green);color:white;border:0;border-radius:7px;padding:11px 18px}button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:wait}.ghost{background:transparent;color:var(--green);border:1px solid var(--line)}h1,h2,h3,p{margin-top:0}h1{font:36px/1.2 Georgia,serif;font-weight:400}h2{font:25px Georgia,serif}small,.muted{color:var(--muted)}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#fdfcf9;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:13px;letter-spacing:2px;font:20px Georgia,serif}.brand div span{display:block;font:10px system-ui;letter-spacing:4px;margin-top:5px}.monogram{display:inline-grid;place-items:center;width:47px;height:53px;background:var(--green);color:#e9d1ad;font:36px Georgia;border-radius:16px 0 16px 0}.navlabel{font-size:10px;letter-spacing:2px;color:var(--muted);margin:50px 12px 14px}nav button{width:100%;text-align:left;background:transparent;color:#71766f;margin-bottom:8px;padding:13px 15px}nav button.active{background:#e9eee7;color:var(--green);font-weight:650}nav button span{margin-right:13px}.asidebottom{margin-top:auto;font-size:12px;padding:20px 9px 0}.asidebottom small{display:block;margin:12px 0}.live{display:inline-block;width:7px;height:7px;border-radius:100%;background:#759d6c;margin-right:7px}main{margin-left:238px;padding:42px 46px 20px;max-width:1800px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}header p:last-child{color:var(--muted);margin:12px 0 0}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--gold);font-weight:650;margin-bottom:17px}.date{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:25px;padding:10px 15px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:27px}.stat{background:#fff;border:1px solid var(--line);padding:22px;border-radius:10px}.stat label{color:var(--muted);font-size:12px}.stat strong{display:block;font:28px Georgia;margin:13px 0 7px}.stat small{font-size:11px}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;background:var(--green);color:#fff;padding:28px 30px;border-radius:11px;margin-bottom:28px}.welcome h2{margin-bottom:8px}.welcome p{margin:0;color:#cbd8ce}.welcome button{background:#ead6b7;color:#243e35;white-space:nowrap}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:22px;flex-wrap:wrap}.toolbar input{max-width:360px}.toolbar h2{margin:0;margin-right:auto}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:20px}.card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.productimg{height:185px;background:#efeee8;display:grid;place-items:center;font:50px Georgia;color:#a8b09f}.productimg img{width:100%;height:185px;object-fit:cover}.cardbody{padding:17px}.cardbody h3{margin:5px 0;font-weight:600;font-size:15px}.code{font-size:10px;letter-spacing:1px;color:var(--gold)}.price{display:flex;justify-content:space-between;align-items:center;margin:17px 0}.badge{font-size:10px;border-radius:20px;padding:4px 9px;background:#ecf2e9;color:#4b7048}.badge.low{background:#fbefdc;color:#9c6a28}.cardbody button{width:100%;padding:8px}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:24px}.paneltitle{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.paneltitle h2{margin:0}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}th{font-size:10px;letter-spacing:1px;color:var(--muted);text-align:left;font-weight:500;background:#fafaf7}td,th{padding:13px 12px;border-bottom:1px solid #eff0ea}tr:last-child td{border-bottom:0}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty h2{color:var(--green)}footer{display:flex;justify-content:space-between;margin-top:45px;padding-top:20px;border-top:1px solid var(--line);font-size:9px;letter-spacing:1px;color:var(--muted)}label{display:block;font-size:12px;margin-bottom:14px}input,select,textarea{width:100%;border:1px solid #d9ded4;background:white;border-radius:6px;padding:10px 12px;color:var(--green);margin-top:6px}input:focus,select:focus,textarea:focus{outline:2px solid #abbda4}textarea{min-height:70px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}dialog{width:min(560px,94vw);border:0;border-radius:12px;padding:26px;color:var(--green);box-shadow:0 20px 100px #0004;max-height:92vh}dialog::backdrop{background:#14241bb0}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modalhead h2{margin:0}.note{padding:13px;background:#f4f3eb;border-radius:6px;font-size:12px;margin-bottom:18px}.formError{color:#ad382d;font-size:12px;margin-top:12px}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(125deg,#e9eee4,#f9f7ef)}.login section{width:min(430px,92vw);text-align:center;padding:35px}.login .monogram{margin-bottom:30px}.login h1{font-size:29px}.login form{text-align:left;margin:30px 0}.login button{width:100%}.login small{font-size:9px;letter-spacing:2px}#loginError{color:#ad382d}#toast{position:fixed;bottom:25px;right:25px;background:var(--green);color:white;padding:13px 22px;border-radius:8px;z-index:9;display:none;max-width:90vw}a{color:var(--green)}[hidden]{display:none!important}@media(max-width:1000px){main{padding:28px 24px}.stats{grid-template-columns:repeat(2,1fr)}aside{width:195px}main{margin-left:195px}.date{display:none}}@media(max-width:680px){aside{position:static;width:100%;padding:15px}.brand{font-size:17px}.brand .monogram{width:32px;height:36px;font-size:26px}.navlabel,.asidebottom{display:none}nav{display:flex;overflow:auto;margin-top:18px}nav button{white-space:nowrap;width:auto;padding:8px 12px;margin:0}nav button span{display:none}main{margin:0;padding:25px 16px}h1{font-size:28px}header{margin-bottom:22px}.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:24px}.welcome{padding:22px;display:block}.welcome button{margin-top:16px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.productimg,.productimg img{height:145px}.cardbody{padding:12px}.price{display:block}.badge{display:inline-block;margin-top:8px}.fields{gap:0 10px}footer span{display:none}.panel{padding:15px}}
