.admin-body{background:#f1f3ed}.admin-header{display:flex;justify-content:space-between;align-items:center;padding:22px 40px;background:#fffdf8;border-bottom:1px solid #dce3d4}.admin-header .brand{font-size:24px}.brand small{font-size:12px;color:#839175;border-left:1px solid #c8d2be;padding-left:15px;margin-left:8px;font-weight:400}.admin-header>div{display:flex;align-items:center;gap:20px;font-size:14px}.admin-header button{padding:8px 15px;border:1px solid #bdc9b3;border-radius:5px;background:white;color:#173d2c}.admin-main{max-width:1200px;margin:auto;padding:30px 36px 70px}.notice{padding:12px 18px;border-radius:6px;background:#fff0c9;color:#74511f;font-size:14px;margin-bottom:22px}.notice:empty{display:none}.notice.good{background:#dcebd4;color:#275638}.login-panel{max-width:440px;margin:60px auto;background:#fffdf8;border:1px solid #dee5d5;padding:35px;border-radius:12px}.login-panel h1{font-size:42px}.login-panel>p{color:#6b7c5e;font-size:15px}.login-panel .button{width:100%}.login-help{font-size:12px!important;margin-top:23px!important}.dashboard-title{display:flex;justify-content:space-between;align-items:center}.dashboard-title h1{font-size:36px;margin-bottom:25px}.dashboard-title .eyebrow{margin-bottom:10px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:30px}.stat{background:#fffdf8;padding:20px;border:1px solid #dce4d1;border-radius:8px}.stat strong{display:block;font-size:29px}.stat span{font-size:13px;color:#6b7d5c}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.admin-tabs button{background:transparent;color:#687d58;border:0;padding:12px 18px;border-radius:6px;font-weight:700}.admin-tabs button.active{background:#173d2c;color:white}.admin-panel{background:#fffdf8;padding:30px;border:1px solid #dce4d1;border-radius:10px}.admin-panel h2{font-family:Bangla;font-size:24px;font-weight:700;margin-bottom:20px}.panel-heading{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.panel-heading h2{margin-right:auto;margin-bottom:0}.panel-heading input{max-width:280px}.panel-heading select{max-width:190px}#order-count{font-size:13px;margin-top:18px}.order-card{padding:22px 0;border-top:1px solid #dce3d4;display:grid;grid-template-columns:1fr 1fr 1fr;gap:22px}.order-card h3{font-family:Arial,sans-serif;font-size:16px;margin:0 0 10px}.order-card p{font-size:14px;margin-bottom:5px;overflow-wrap:anywhere;white-space:pre-wrap}.order-card small{font-size:12px;color:#7e8b73}.order-actions button{border:1px solid #bdcdb1;background:#edf3e7;color:#214b2e;padding:8px 12px;border-radius:5px;font-size:13px;margin:10px 8px 0 0}.order-actions button.danger{background:#fff1e6;color:#99492c;border-color:#e2c7b3}.badge{display:inline-block;font-size:12px;padding:3px 10px;border-radius:4px;background:#edf0e5}.badge.pending{background:#fff1c5;color:#906b10}.badge.cancelled{background:#f8e5da;color:#98482e}.badge.delivered{background:#dcecd5;color:#326338}.empty{padding:50px 15px;text-align:center;color:#7c8b6d}.inventory-row{padding:22px 0;border-top:1px solid #dce3d4;display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.admin-panel .consent{font-size:14px}.password-form{max-width:440px}.audit-title{margin-top:45px!important}.audit-entry{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #dfe5d7;padding:12px 0;font-size:13px;overflow-wrap:anywhere}dialog{border:1px solid #c9d5be;border-radius:12px;padding:30px;max-width:450px;color:#173d2c;background:#fffdf8}dialog::backdrop{background:#10251bbb}.dialog-actions{display:flex;gap:15px;justify-content:flex-end}.dialog-actions>button:first-child{border:0;background:none;color:#173d2c}.dialog-actions .button{font-size:14px}code{overflow-wrap:anywhere}@media(max-width:700px){.admin-header{padding:18px;gap:15px}.admin-header .brand{font-size:21px}.brand small{display:none}.admin-header>div{gap:10px;font-size:12px}.admin-main{padding:25px 16px}.login-panel{margin:25px auto;padding:25px}.dashboard-title h1{font-size:27px}.dashboard-title{align-items:flex-start;gap:15px}.dashboard-title .eyebrow{font-size:11px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:15px}.stat strong{font-size:24px}.admin-tabs{gap:3px}.admin-tabs button{font-size:13px;padding:9px 11px}.admin-panel{padding:20px 16px}.panel-heading input,.panel-heading select{max-width:100%;margin-top:0}.order-card{grid-template-columns:1fr;gap:12px}.order-actions{padding-top:5px}.inventory-row,.admin-grid{grid-template-columns:1fr;gap:0}.audit-entry{flex-direction:column;gap:3px}dialog{width:calc(100% - 32px);padding:22px}}

/* Fixed admin notifications and illustration controls. */
#notice{position:fixed;top:max(16px,env(safe-area-inset-top));left:50%;transform:translate(-50%,-16px);z-index:10000;width:max-content;max-width:min(560px,calc(100vw - 32px));margin:0;padding:14px 20px;box-shadow:0 8px 30px #10251b2b;border:1px solid #e3cf97;border-radius:10px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s;overflow-wrap:anywhere;white-space:pre-line}
#notice.visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
#notice.good{border-color:#b5ceaa}
.hero-image-settings{margin:24px 0;padding-top:20px;border-top:1px solid #dce4d1}.hero-image-settings>img{display:block;max-width:100%;object-fit:contain;background:#f4f5ed;border-radius:8px;margin-bottom:16px}.hero-image-settings .fine-print{margin-top:8px}
@media(prefers-reduced-motion:reduce){#notice{transition:none}}
