.admin { padding-top:40px; padding-bottom:52px; }
.admin-header,.admin-header > div,.inventory-title { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.admin-header { min-height:70px; }
.admin-header > div { font-size:13px; flex-wrap:wrap; }
.admin-header a:hover { text-decoration:underline; text-underline-offset:3px; }
.admin h1 { font-size:clamp(28px,4vw,49px); letter-spacing:-.035em; }
.admin h2 { font-size:clamp(21px,3vw,30px); }
#admin-status:not(:empty) { margin-top:10px; color:var(--wine); line-height:1.5; }
.admin-form { display:grid; gap:14px; align-items:start; }
.admin-form label { display:grid; gap:6px; font-size:13px; font-weight:700; min-width:0; }
.admin-form label > :is(input,select,textarea):not([type=checkbox]) { font-weight:400; background:var(--paper); border:1px solid #cdbbbc; border-radius:4px; padding:10px; width:100%; min-height:42px; }
.admin-form textarea { resize:vertical; }
.admin-form .check { display:flex; align-items:center; gap:7px; font-weight:400; }
.admin-form .check input { accent-color:var(--wine); width:18px; height:18px; }
.login { max-width:360px; margin-top:22px; }
.admin-section { border-top:1px solid var(--line); margin-top:30px; padding-top:21px; }
.settings { margin-top:14px; grid-template-columns:repeat(2,minmax(0,420px)); align-items:end; justify-content:start; }
.settings .button { min-height:42px; }
.admin-grid { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); gap:30px; margin-top:18px; align-items:start; }
.editor { background:#f8efeb; padding:22px; }
.admin-prices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.photo-controls { display:flex; gap:12px; align-items:center; }
.photo-controls img { object-fit:cover; background:var(--paper); }
.form-status:not(:empty) { margin-top:9px; }
.form-status[data-error=true] { color:#942140; }
.sale-preview:empty,.muted:empty { display:none; }
.admin-product { display:grid; grid-template-columns:48px minmax(0,1fr) auto; text-align:left; width:100%; align-items:center; gap:12px; padding:9px 8px; background:transparent; border:0; border-bottom:1px solid var(--line); }
.admin-product:hover,.admin-product[aria-pressed=true] { background:#f7edeb; }
.admin-product img,.admin-thumb { width:48px; height:48px; object-fit:cover; background:#f2e5dc; }
.admin-product-name { display:block; font-weight:700; font-size:14px; overflow-wrap:anywhere; }
.admin-product .muted { font-size:11px; }
.admin-price { font-size:13px; }
@media(max-width:720px) {
  .admin-grid,.settings { grid-template-columns:1fr; }
  .admin-header { min-height:65px; }
  .admin-grid { gap:17px; }
  .editor { padding:15px; }
}
