:root{--sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
body{font-family:var(--sans)}
h1,h2,.admin-brand,.stats strong{font-family:var(--sans);font-weight:400;letter-spacing:-.045em}
.admin-brand{font-size:clamp(29px,2.4vw,39px);letter-spacing:-1.4px;line-height:1.05}
.admin-brand small{font-family:var(--sans);letter-spacing:2px}
.category-cover-preview,.category-admin-card .category-cover-preview{width:120px;height:88px;max-width:100%;object-fit:cover;object-position:center;margin:12px 0;background:#edf0e9;border:1px solid #d8dbd0}
.category-admin-card{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-areas:"image title" "image order" "image actions";column-gap:16px;row-gap:3px;align-items:start}
.category-admin-card .category-cover-preview{grid-area:image;width:96px;height:72px;margin:0;align-self:center}
.category-admin-card h3{grid-area:title;margin:0;align-self:end}
.category-admin-card p{grid-area:order;margin:0;align-self:start}
.category-admin-card>div:last-child{grid-area:actions;margin-top:4px}
.admin-main .photo-category-menu{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;margin:26px 0 30px}
.admin-main .photo-category-menu a{padding:10px 14px;min-height:44px;display:inline-flex;align-items:center;border:1px solid var(--line);background:white;text-decoration:none;border-radius:3px}
.admin-main .photo-category-menu a:hover,.admin-main .photo-category-menu a:focus-visible{background:#44513e;border-color:#44513e;color:#edf1e8}
.photo-category-menu a[aria-current]{background:var(--ink);border-color:var(--ink);color:white}
.photo-category-count{font-size:12px;color:var(--muted);margin-right:16px}
.photo-category-panel h2{margin-bottom:22px}
.setting-previews img{object-fit:cover;object-position:center;background:#e8e9e1}
.admin-photo img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;object-position:center;background:#e8e9e1}
.promotion-editor{padding:18px 20px;margin:12px 0 22px;background:#f2f5ef;border-left:3px solid #62775d}
.promotion-editor input[type=number]{max-width:260px}
.promotion-toggle{display:flex;align-items:center;gap:10px;font-size:14px;margin:0 0 9px;cursor:pointer}
.promotion-toggle input[type=checkbox]{flex:none;margin:0}
.promotion-editor .field-help{margin:0}
.promotion-admin-status{display:inline-block;padding:5px 9px;margin:0 0 12px;background:#e5eee1;color:#30472e;font-size:12px}
@media(max-width:650px){.category-admin-card{grid-template-columns:100px 1fr;grid-template-areas:"image title" "image order" "actions actions";row-gap:8px}.category-admin-card .category-cover-preview{width:100px;height:76px}.photo-category-menu{gap:5px}.photo-category-count{margin-right:8px}}
