*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#fff9f1;color:#2d1b16}button,input,textarea,select{font:inherit}.hidden{display:none!important}
.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#fff8ec,#f7e4c4)}
.login-card{width:min(430px,100%);background:#fff;border:1px solid #ecd6ad;border-radius:28px;padding:28px;box-shadow:0 20px 60px #6d4a2020}
.brand-mark{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;background:#ff9d00;color:#fff;font-size:34px;font-weight:800}
.login-card h1{margin-bottom:4px}.login-card p{color:#876b5c}.login-card input{width:100%;padding:15px;margin:8px 0;border:1px solid #dcc8b0;border-radius:14px}
button{border:1px solid #dfc7a4;background:#fff;border-radius:12px;padding:10px 14px;cursor:pointer}.primary{background:linear-gradient(135deg,#ffb300,#ff8500);border:0;color:#21150d;font-weight:800}.login-card .primary{width:100%;margin-top:10px;padding:14px}.link-btn{border:0;background:none;text-decoration:underline;width:100%;margin:8px 0}
header{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:#062b3b;color:white}header b{font-size:22px}header span{display:block;font-size:11px;letter-spacing:4px;color:#f3c77a}
nav{display:flex;gap:8px;overflow:auto;padding:10px;background:white;border-bottom:1px solid #eee;position:sticky;top:68px;z-index:4}nav button.active{background:#062b3b;color:#fff}
main{max-width:1100px;margin:auto;padding:18px}.tab{display:none}.tab.active{display:block}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stats article,.panel,.card{background:#fff;border:1px solid #eadbc7;border-radius:18px;padding:18px;box-shadow:0 8px 30px #5a3b1810}.stats span{display:block;color:#876b5c}.stats b{font-size:30px}.panel{margin:14px 0}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.panel input,.panel textarea,.panel select{width:100%;padding:12px;border:1px solid #ddcbb4;border-radius:12px}.panel textarea{min-height:90px;margin-top:10px}.actions{display:flex;gap:8px;margin-top:12px}.cards{display:grid;gap:12px}.card{display:flex;gap:14px;align-items:flex-start}.card img{width:88px;height:88px;object-fit:cover;border-radius:14px;background:#f5eee5}.card-body{flex:1}.card h3{margin:0 0 6px}.muted{color:#8b7468;font-size:14px}.tag{display:inline-block;background:#fff0c8;border:1px solid #f1c567;border-radius:999px;padding:4px 8px;font-size:12px;margin:2px}.danger{color:#b00020}.order-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.order-actions select,.order-actions input{padding:9px;border:1px solid #ddcbb4;border-radius:10px}
#toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:99;background:#062b3b;color:#fff;padding:12px 18px;border-radius:999px;display:none;max-width:90%;text-align:center}
@media(max-width:700px){.stats{grid-template-columns:1fr 1fr}.grid{grid-template-columns:1fr}.card{padding:13px}main{padding:12px}nav{top:64px}.section-head{align-items:flex-start}.section-head h2{margin-top:6px}}
.panel label{display:block;color:#5f4638}.panel label input[type=number]{margin-top:6px}.card-body b{font-size:20px}

/* V13 mobile compact product cards */
@media(max-width:700px){
 #productsList .card{padding:10px;gap:10px;align-items:center}
 #productsList .card img{width:72px;height:72px;border-radius:12px;flex:0 0 72px}
 #productsList .card h3{font-size:16px;margin-bottom:3px}
 #productsList .card .muted{font-size:12px}
 #productsList .card-body b{font-size:17px}
 #productsList .order-actions{margin-top:6px}
 #productsList .order-actions button{padding:7px 11px;font-size:13px}
}


/* V16 ecommerce order & customer cards */
.order-card,.customer-card{border:0;box-shadow:0 12px 32px #173b4512;border-radius:22px}
.order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.order-top h3{color:#073c49}.order-total{font-size:22px;color:#073c49}
.eyebrow{font-size:11px;letter-spacing:2px;color:#b3873f;font-weight:800;margin-bottom:5px}
.customer-line{margin:8px 0 4px}.address-line{margin-top:8px;padding:10px 12px;background:#f5f8f8;border-radius:12px;line-height:1.45;color:#40565b}
.order-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.order-meta span{background:#eef5f5;border-radius:999px;padding:6px 9px;font-size:12px;color:#174a55}
@media(max-width:700px){.order-actions select,.order-actions input{width:100%}.order-actions button{flex:1}.order-total{font-size:19px}}
