:root{--green:#0f4d3a;--gold:#c9a96a;--bg:#f6f8f3;--muted:#65766d}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#173a2f;font:15px/1.55 system-ui,-apple-system,"PingFang SC",sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;background:var(--green);color:white;padding:10px 16px}button.quiet{background:transparent;color:var(--green);border:1px solid #d7e1d8}button.danger{color:#a74435;background:#faeae4}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{border:1px solid #d7e1d8;border-radius:9px;padding:9px;background:white;width:100%;color:#19372d}input[type=checkbox]{width:auto}textarea{min-height:78px}label{display:grid;gap:6px;font-size:13px;color:#45594f}h1,h2,h3,p{margin:0}#login{min-height:100vh;display:grid;place-items:center}.login-card{width:min(90vw,390px);padding:35px;background:#fff;border:1px solid #e3eae1;border-radius:24px;box-shadow:0 22px 65px #163d2212}.login-card h1{margin:12px 0 22px}.login-card form{display:grid;gap:18px}.mark{display:grid;place-items:center;border-radius:50%;width:60px;height:60px;background:var(--green);color:#fff;font:bold 34px serif}.login-card small{color:#b04e3f}.brand{display:flex;gap:12px;align-items:center;margin-bottom:26px}.brand span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;font:24px serif}.brand small{display:block;font-size:10px;letter-spacing:.06em}#shell{min-height:100vh;display:grid;grid-template-columns:220px 1fr}#shell[hidden],#login[hidden]{display:none}aside{padding:25px 15px;background:white;border-right:1px solid #e5ece5;display:flex;flex-direction:column}nav{display:grid;gap:4px}nav button{background:none;color:var(--muted);text-align:left;padding:10px 14px}nav button.active{background:#e8f0e9;color:var(--green);font-weight:650}#logout{margin-top:auto}main{padding:30px;max-width:1400px;width:100%}main header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}main header h1{font-size:26px}main header p{color:var(--muted);font-size:13px}.panel{background:white;border:1px solid #e1e9df;border-radius:18px;padding:21px;margin-bottom:15px}.stats{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px}.stat b{display:block;font-size:27px}.toolbar{display:flex;gap:10px;margin-bottom:16px}.toolbar input{max-width:290px}.list-row{display:flex;justify-content:space-between;align-items:center;padding:12px 3px;border-bottom:1px solid #edf0eb;gap:15px}.list-row:last-child{border:0}.list-row small,.muted{color:var(--muted)}.actions{display:flex;gap:7px}.actions button{padding:6px 9px;font-size:12px}.badge{display:inline-block;padding:3px 7px;background:#e5eee8;border-radius:6px;font-size:11px}.badge.off{background:#f5eee5}dialog{border:0;border-radius:20px;box-shadow:0 30px 90px #081a2150;padding:0;width:min(92vw,680px);max-height:86vh}dialog::backdrop{background:#0c201fa3}dialog form{padding:25px}dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}#fields{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-height:65vh;overflow:auto}.wide{grid-column:1/-1}footer{display:flex;justify-content:end;gap:8px;margin-top:20px}.media-row{display:flex;align-items:center;gap:10px;background:#f3f7f2;border-radius:9px;margin:6px 0;padding:9px}.media-row img{width:52px;height:52px;object-fit:cover}.module{display:grid;grid-template-columns:1fr 65px 65px;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #e7ede7}.module input[type=checkbox]{margin:auto}.alert{border-left:3px solid #a44;padding-left:10px}#notice{position:fixed;right:20px;bottom:16px;background:var(--green);color:white;border-radius:10px;padding:9px 16px;display:none}#notice.show{display:block}@media(max-width:780px){#shell{grid-template-columns:1fr}aside{position:sticky;top:0;z-index:2;padding:10px}aside .brand{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap}main{padding:16px}.stats{grid-template-columns:1fr 1fr}#fields{grid-template-columns:1fr}}

.review-admin-media{display:flex;flex-wrap:wrap;gap:8px}.review-admin-media img{width:70px;height:70px;object-fit:cover;border-radius:8px;cursor:pointer}
.product-spec-row{display:grid;grid-template-columns:minmax(120px,2fr) minmax(90px,1fr) 80px 70px 90px auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid #e1e6dd}.product-spec-row label{min-width:0}.product-spec-row input{max-width:100%;box-sizing:border-box}@media(max-width:760px){.product-spec-row{grid-template-columns:1fr 1fr}.product-spec-row button{justify-self:start}}

#editor.product-editor #editForm{display:flex;flex-direction:column;max-height:86vh;padding:20px}#editor.product-editor #fields{min-height:0;max-height:none;flex:1;overflow:auto;padding:2px 4px 8px;grid-template-columns:1fr;gap:16px}#editor.product-editor footer{flex:none;margin-top:0;padding:16px 4px 0;border-top:1px solid #e1e6dd;background:white;position:relative;z-index:2}#editor.product-editor header{flex:none;margin-bottom:16px}#editor.product-editor .product-edit-section{border:1px solid #e6eadf;border-radius:14px;overflow:clip;background:#fdfcf8}#editor.product-editor .product-edit-section>h3{font-size:15px;margin:0;padding:13px 16px;background:#eef2e9;color:#0f4d3a}#editor.product-editor .product-edit-section[data-section="food"]>h3,#editor.product-editor .product-edit-section[data-section="sales"]>h3{background:#f5efe1}#editor.product-editor .product-edit-section-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}#editor.product-editor .product-spec-editor{padding:0;border:0;background:transparent}#editor.product-editor .product-spec-editor>h3{display:none}#editor.product-editor .product-spec-editor>.muted{margin-top:0;line-height:1.65}#editor.product-editor .product-edit-section-body>label{min-width:0}#editor.product-editor footer button{min-width:86px;min-height:40px}@media(max-width:760px){#editor.product-editor .product-edit-section-body{grid-template-columns:1fr}#editor.product-editor #editForm{padding:16px}}
