/* R5 — Gestion des parties/espaces de l'établissement (nested form). */
.ez-page { max-width: 880px; margin: 0 auto; }

.ez-topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.ez-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #888; text-decoration: none; }
.ez-back:hover { color: #A38543; }
.ez-title { font-size: 22px; font-weight: 800; color: #1a1a1a; }
.ez-topbar-spacer { flex: 1; }
.ez-hint { font-size: 13px; color: #777; margin-bottom: 22px; line-height: 1.5; }

.ez-list { display: flex; flex-direction: column; gap: 16px; }
.ez-zone { position: relative; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; padding: 18px; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.04); }
.ez-zone[hidden] { display: none; }
.ez-zone-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ez-zone-tag { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #A38543; }
.ez-zone-remove { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); background: #fff; color: #999; cursor: pointer; font-size: 18px; line-height: 1; flex-shrink: 0; }
.ez-zone-remove:hover { border-color: #C0392B; color: #C0392B; }

.ez-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ez-fg { margin-bottom: 14px; }
.ez-fg:last-child { margin-bottom: 0; }
.ez-fg label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #A38543; margin-bottom: 6px; }
.ez-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 9px; border: 1.5px solid rgba(0,0,0,.08); font-size: 13px; font-family: inherit; background: #fff; color: #1a1a1a; }
.ez-input:focus { outline: none; border-color: #C4A559; }
.ez-input-tall { resize: vertical; line-height: 1.5; }
.ez-zone-thumb { margin-bottom: 8px; }
.ez-zone-thumb img { border-radius: 8px; max-height: 120px; display: block; }

.ez-add { margin-top: 16px; padding: 13px; width: 100%; border: 1.5px dashed rgba(196,165,89,.5); border-radius: 10px; background: rgba(196,165,89,.05); color: #A38543; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; transition: background .15s; }
.ez-add:hover { background: rgba(196,165,89,.1); }
.ez-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 26px; }

@media (max-width: 600px) { .ez-row { grid-template-columns: 1fr; } }
