.admin-main { width: min(100%, 88rem); margin-inline: auto; padding: clamp(1.2rem, 4vw, 3.5rem) var(--gutter) max(3rem, env(safe-area-inset-bottom)); }
.admin-heading, .panel-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem; }
.admin-heading { margin-block: 1rem 1.6rem; }
.admin-heading h1 { font-size: clamp(3rem, 7vw, 5.5rem); margin: 0; }
.admin-body h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 0; }
.live-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: .87rem; }
.panel { min-width: 0; border: 1px solid var(--rule); padding: clamp(1rem, 3vw, 1.65rem); background: var(--panel); }
.panel-top { margin-bottom: 1rem; }
.auth-panel { max-width: 34rem; }
.auth-panel p, #editor-empty, .photo-editor p, small { color: var(--muted); }
.workspace { display: grid; grid-template-columns: minmax(13rem, 1fr) minmax(0, 2.25fr); align-items: start; gap: 1.1rem; }
.editor { scroll-margin-top: 1rem; }
.admin-body form { display: grid; gap: 1rem; }
.auth-panel form .gold, #category-form .gold { justify-self: start; }
.admin-body label:not(.photo-picker) { display: grid; min-width: 0; gap: .25rem; font-weight: 600; }
.admin-body input:not([type="checkbox"]), .admin-body textarea, .admin-body select {
  width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--rule); border-radius: 2px;
  background: #16130f; color: var(--paper); padding: .6rem; font-size: 16px;
}
.admin-body textarea { resize: vertical; }
.admin-body small, .photo-editor p { font-size: .84rem; font-weight: 400; margin: .4rem 0; overflow-wrap: anywhere; }
.dish-list { max-height: 25rem; overflow-y: auto; margin-block: .8rem; border-block: 1px solid var(--rule); }
.dish-option { display: grid; gap: .15rem; width: 100%; min-height: 54px; text-align: start; padding: .65rem; border: 0; border-bottom: 1px solid var(--rule); background: transparent; color: var(--paper); overflow-wrap: anywhere; }
.dish-option:last-child { border: 0; }
.dish-option span { color: var(--gold); font-weight: 600; }
.dish-option:hover, .dish-option[aria-current="true"] { background: #35291c; }
.dish-option:focus-visible { outline-offset: -3px; }
.category-panel summary { min-height: 44px; padding-block: .55rem; cursor: pointer; color: var(--gold); }
.category-panel form { margin-top: .5rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.photo-editor { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); align-items: start; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.photo-preview { border: 1px solid var(--rule); }
.photo-picker { cursor: pointer; }
.photo-picker:has(+ input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 4px; }
.admin-body #photo { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; }
.admin-body .check-field { display: flex !important; align-items: center; gap: .65rem !important; min-height: 44px; }
.check-field input { width: 1.25rem; height: 1.25rem; accent-color: var(--gold); }
.save-row { border-top: 1px solid var(--rule); padding-top: .9rem; }
.status { margin: 0 0 .8rem; color: var(--gold); }
.status[data-state="error"] { color: #ffb5a6; }
@media (max-width: 820px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .dish-list { max-height: 13rem; }
}
@media (max-width: 520px) {
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .photo-editor { grid-template-columns: minmax(0, 1fr); }
  .photo-preview { max-width: 16rem; }
  .admin-body .site-header { flex-wrap: wrap; }
  .admin-body .header-actions { margin-inline-start: auto; }
}
