:root{--green:#176b45;--green2:#0e4f34;--green3:#e8f5ee;--ink:#14251d;--muted:#66756d;--line:#dfe7e2;--surface:#fff;--bg:#f4f7f5;--danger:#b42318;--warning:#9a6700;--shadow:0 12px 35px rgba(20,37,29,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh}button,input,select,textarea{font:inherit}.startup{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.spinner{width:34px;height:34px;border:3px solid #dfe9e3;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(420px,.72fr)}.auth-hero{background:linear-gradient(145deg,#0a462f,#1b7048);color:white;padding:48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-hero:after{content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:rgba(255,255,255,.07);right:-150px;bottom:-180px}.brand{display:flex;align-items:center;gap:13px;font-size:20px;font-weight:750}.brand-mark{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#2ea45e,#187642);display:grid;place-items:center;color:#fff;font-size:23px}.hero-copy{max-width:680px;position:relative;z-index:1}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#a9dfbd}.hero-copy h1{font-size:clamp(46px,5vw,74px);line-height:.98;letter-spacing:-.055em;margin:18px 0 22px}.hero-copy p{font-size:18px;line-height:1.6;color:#d7eee0;max-width:620px}.auth-panel{background:white;display:grid;place-items:center;padding:42px}.auth-card{width:min(100%,430px)}.auth-card h2{font-size:34px;letter-spacing:-.04em;margin:16px 0 8px}.subtle{color:var(--muted);line-height:1.5}.form{display:grid;gap:15px;margin-top:24px}.field{display:grid;gap:7px}.field label{font-size:13px;font-weight:700}.input,.select,.textarea{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px 13px;background:#fff;color:var(--ink);outline:none}.textarea{min-height:100px;resize:vertical}.input:focus,.select:focus,.textarea:focus{border-color:#4aa575;box-shadow:0 0 0 3px rgba(42,139,88,.12)}.btn{border:0;border-radius:11px;padding:12px 16px;font-weight:750;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background:var(--green);color:white}.btn-primary:hover{background:var(--green2)}.btn-secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-danger{background:#fff1f0;color:var(--danger);border:1px solid #fac9c5}.alert{padding:11px 13px;border-radius:10px;font-size:14px}.alert-error{background:#fff3f2;border:1px solid #ffc9c4;color:#a52a22}.alert-success{background:#edf9f2;border:1px solid #bce6cc;color:#17643e}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:white;border-right:1px solid var(--line);padding:18px 14px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.side-brand{padding:7px 9px 22px}.nav{display:grid;gap:5px}.nav-label{font-size:10px;color:#849189;font-weight:800;letter-spacing:.15em;text-transform:uppercase;padding:12px 10px 5px}.nav-btn{border:0;background:transparent;border-radius:10px;padding:11px 12px;text-align:left;color:#425148;display:flex;align-items:center;gap:11px;font-weight:650;cursor:pointer}.nav-btn:hover,.nav-btn.active{background:var(--green3);color:var(--green)}.nav-spacer{flex:1}.account-mini{border:1px solid var(--line);border-radius:13px;padding:12px;display:flex;gap:10px;align-items:center}.avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--green3);color:var(--green);font-weight:800}.account-mini strong{display:block;font-size:13px}.account-mini small{color:var(--muted)}.main{min-width:0}.topbar{height:68px;background:white;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}.topbar-title{font-weight:750}.page{padding:30px;max-width:1540px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.page-head h1{font-size:34px;letter-spacing:-.045em;margin:0 0 7px}.page-head p{margin:0;color:var(--muted)}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.metric{background:white;border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:0 5px 18px rgba(15,55,35,.03)}.metric small{color:var(--muted);font-weight:650}.metric strong{display:block;font-size:28px;margin-top:7px;letter-spacing:-.04em}.panel{background:white;border:1px solid var(--line);border-radius:17px;box-shadow:0 8px 26px rgba(15,55,35,.04);overflow:hidden}.toolbar{padding:16px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.toolbar .input{max-width:540px}.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px}.product-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white;display:flex;flex-direction:column}.product-image{height:190px;background:#f0f5f2;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.image-placeholder{font-size:46px;color:#8cb29d}.product-body{padding:16px;display:grid;gap:10px;flex:1}.product-title{font-weight:800;font-size:17px}.product-meta{font-size:12px;color:var(--muted)}.price{font-size:22px;font-weight:850}.stock{font-size:12px;color:var(--green)}.product-order{display:grid;grid-template-columns:1fr 95px;gap:8px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#728078;text-align:left;padding:13px 16px;background:#fbfcfb;border-bottom:1px solid var(--line)}.table td{padding:14px 16px;border-bottom:1px solid #edf1ee;vertical-align:middle}.status{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--green3);color:var(--green);font-size:12px;font-weight:750}.status.cancelled,.status.rejected{background:#fff0ef;color:var(--danger)}.status.review,.status.submitted{background:#fff8df;color:var(--warning)}.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:20px}.cart-summary{padding:20px;position:sticky;top:90px;height:max-content}.summary-line{display:flex;justify-content:space-between;padding:9px 0}.summary-total{font-size:21px;font-weight:850;border-top:1px solid var(--line);margin-top:8px;padding-top:16px}.empty{padding:55px;text-align:center;color:var(--muted)}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.section{padding:20px}.section-title{font-size:18px;font-weight:800;margin:0 0 16px}.modal-backdrop{position:fixed;inset:0;background:rgba(10,30,20,.42);display:grid;place-items:center;padding:20px;z-index:100}.modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:white;border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.22)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line)}.icon-btn{width:38px;height:38px;border-radius:10px;border:1px solid var(--line);background:white;cursor:pointer}.pagination{display:flex;justify-content:center;gap:7px;padding:16px}.pagination button{min-width:38px}.link{color:var(--green);font-weight:700;cursor:pointer;text-decoration:none}.mobile-menu{display:none}.toast{position:fixed;right:22px;bottom:22px;z-index:200;background:#173f2b;color:white;padding:13px 16px;border-radius:12px;box-shadow:var(--shadow)}@media(max-width:1050px){.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cart-layout{grid-template-columns:1fr}.cart-summary{position:static}.auth{grid-template-columns:1fr}.auth-hero{display:none}}@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;z-index:50;width:260px;transform:translateX(-102%);transition:.2s}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-flex}.topbar{padding:0 15px}.page{padding:20px 14px}.catalog{grid-template-columns:1fr}.metrics,.grid-2,.grid-3{grid-template-columns:1fr}.toolbar,.page-head{flex-direction:column}.toolbar .input{max-width:none}.auth-panel{padding:24px}.auth-card h2{font-size:29px}}
