.venue-list-row { cursor:pointer; transition:background-color .16s ease; }
.venue-list-row:hover,.venue-list-row:focus-within { background:color-mix(in srgb,var(--brand,#0aa37f) 7%,transparent); }
.venue-list-row:focus { outline:2px solid color-mix(in srgb,var(--brand,#0aa37f) 58%,transparent); outline-offset:-2px; }
.venue-name-button { appearance:none; border:0; padding:0; background:transparent; color:var(--text); font:inherit; font-weight:750; text-align:left; cursor:pointer; }
.venue-name-button:hover { color:var(--brand,#0aa37f); text-decoration:underline; text-underline-offset:3px; }

.venue-edit-backbar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.venue-edit-backbar__meta { color:var(--muted); font-size:13px; font-weight:650; }
.venue-edit-shell { overflow:hidden; border:1px solid var(--border); border-radius:14px; background:var(--surface,#25272d); }
.venue-edit-hero { display:grid; grid-template-columns:112px minmax(0,1fr) auto; align-items:center; gap:20px; padding:22px 24px; border-bottom:1px solid var(--border); }
.venue-edit-cover { width:112px; aspect-ratio:4/3; display:grid; place-items:center; overflow:hidden; border:1px solid var(--border); border-radius:10px; background:color-mix(in srgb,var(--brand,#0aa37f) 12%,var(--surface,#25272d)); color:var(--brand,#0aa37f); font-size:28px; font-weight:800; }
.venue-edit-cover img { width:100%; height:100%; display:block; object-fit:cover; object-position:center; }
.venue-edit-eyebrow { display:block; margin-bottom:5px; color:var(--brand,#0aa37f); font-size:11px; font-weight:800; letter-spacing:.13em; }
.venue-edit-hero h2 { margin:0; color:var(--text); font-size:25px; line-height:1.15; letter-spacing:-.025em; }
.venue-edit-hero p { margin:7px 0 0; color:var(--muted); }
.venue-edit-source { align-self:start; padding:7px 10px; border:1px solid color-mix(in srgb,var(--brand,#0aa37f) 34%,var(--border)); border-radius:999px; background:color-mix(in srgb,var(--brand,#0aa37f) 10%,transparent); color:var(--brand,#0aa37f); font-size:11px; font-weight:750; white-space:nowrap; }

.venue-edit-tabs { display:flex; gap:4px; padding:10px 16px 0; border-bottom:1px solid var(--border); }
.venue-edit-tabs button { appearance:none; margin-bottom:-1px; padding:12px 16px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
.venue-edit-tabs button:hover { color:var(--text); }
.venue-edit-tabs button.is-active { border-bottom-color:var(--brand,#0aa37f); color:var(--brand,#0aa37f); }
.venue-edit-tabs button:focus-visible,.venue-name-button:focus-visible { outline:2px solid color-mix(in srgb,var(--brand,#0aa37f) 58%,transparent); outline-offset:3px; }

.venue-edit-form { display:block; }
.venue-edit-panel { display:none; padding:24px; }
.venue-edit-panel.is-active { display:block; }
.venue-edit-section-head { margin-bottom:22px; }
.venue-edit-section-head h3 { margin:0 0 5px; color:var(--text); font-size:18px; }
.venue-edit-section-head p { margin:0; color:var(--muted); font-size:13px; }
.venue-edit-subtitle { margin:28px 0 13px; padding-bottom:9px; border-bottom:1px solid var(--border); color:var(--text); font-size:14px; }
.venue-edit-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.venue-edit-grid--address { grid-template-columns:repeat(3,minmax(0,1fr)); }
.venue-edit-grid label,.venue-media-fields label,.venue-edit-metrics label { display:flex; min-width:0; flex-direction:column; gap:7px; }
.venue-edit-grid label>span,.venue-media-fields label>span,.venue-edit-metrics label>span { color:var(--text); font-size:12px; font-weight:700; }
.venue-edit-grid input,.venue-edit-grid select,.venue-edit-grid textarea,.venue-media-fields input,.venue-media-fields textarea,.venue-edit-metrics input { width:100%; min-height:43px; box-sizing:border-box; border:1px solid var(--border); border-radius:8px; background:color-mix(in srgb,var(--surface,#25272d) 88%,#000); color:var(--text); font:inherit; font-size:14px; padding:10px 12px; }
.venue-edit-grid textarea,.venue-media-fields textarea { resize:vertical; min-height:112px; }
.venue-edit-grid input:focus,.venue-edit-grid select:focus,.venue-edit-grid textarea:focus,.venue-media-fields input:focus,.venue-media-fields textarea:focus,.venue-edit-metrics input:focus { border-color:var(--brand,#0aa37f); outline:2px solid color-mix(in srgb,var(--brand,#0aa37f) 22%,transparent); }
.venue-edit-grid .span-2 { grid-column:span 2; }
.venue-edit-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.venue-edit-metrics label { position:relative; padding:14px; border:1px solid var(--border); border-radius:10px; background:color-mix(in srgb,var(--surface,#25272d) 95%,#000); }
.venue-edit-metrics input { padding-right:50px; }
.venue-edit-metrics small { position:absolute; right:26px; bottom:26px; color:var(--muted); pointer-events:none; }

.venue-amenities { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 12px; margin-top:18px; }
.venue-amenities label { display:flex; align-items:center; gap:9px; min-height:38px; padding:8px 10px; border:1px solid var(--border); border-radius:8px; color:var(--muted); font-size:12px; cursor:pointer; }
.venue-amenities label:has(input:checked) { border-color:color-mix(in srgb,var(--brand,#0aa37f) 45%,var(--border)); background:color-mix(in srgb,var(--brand,#0aa37f) 9%,transparent); color:var(--text); }
.venue-amenities input { accent-color:var(--brand,#0aa37f); }
.venue-edit-grid--final { margin-top:20px; }

.venue-media-layout { display:grid; grid-template-columns:minmax(240px,320px) minmax(0,1fr); gap:24px; align-items:start; }
.venue-photo-editor { padding:16px; border:1px solid var(--border); border-radius:12px; background:color-mix(in srgb,var(--surface,#25272d) 95%,#000); }
.venue-photo-frame { width:100%; aspect-ratio:4/3; display:grid; place-items:center; overflow:hidden; border:1px dashed color-mix(in srgb,var(--muted) 45%,transparent); border-radius:10px; background:color-mix(in srgb,var(--surface,#25272d) 87%,#000); color:var(--brand,#0aa37f); font-size:34px; font-weight:800; }
.venue-photo-frame img { width:100%; height:100%; object-fit:contain; object-position:center; background:color-mix(in srgb,var(--surface,#25272d) 87%,#000); }
.venue-photo-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.venue-photo-actions label { cursor:pointer; }
.venue-photo-remove { color:var(--danger,#f06b6b); }
.venue-photo-editor>small { display:block; margin-top:10px; color:var(--muted); line-height:1.45; }
.venue-media-fields { display:grid; gap:18px; }

.venue-visibility-card,.venue-source-card { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px; border:1px solid var(--border); border-radius:11px; background:color-mix(in srgb,var(--surface,#25272d) 95%,#000); }
.venue-visibility-card strong,.venue-source-card strong { color:var(--text); }
.venue-visibility-card p { margin:5px 0 0; color:var(--muted); font-size:13px; }
.venue-source-card { margin-top:12px; justify-content:flex-start; }
.venue-source-card span,.venue-source-card small { color:var(--muted); }
.venue-switch input { position:absolute; opacity:0; pointer-events:none; }
.venue-switch span { position:relative; display:block; width:46px; height:25px; border-radius:999px; background:color-mix(in srgb,var(--muted) 28%,transparent); cursor:pointer; transition:.18s ease; }
.venue-switch span::after { content:""; position:absolute; top:3px; left:3px; width:19px; height:19px; border-radius:50%; background:var(--text); transition:.18s ease; }
.venue-switch input:checked+span { background:var(--brand,#0aa37f); }
.venue-switch input:checked+span::after { transform:translateX(21px); }
.venue-edit-footer { display:flex; justify-content:flex-end; gap:10px; padding:16px 24px; border-top:1px solid var(--border); background:color-mix(in srgb,var(--surface,#25272d) 96%,#000); }

@media (max-width:900px) {
  .venue-edit-hero { grid-template-columns:88px minmax(0,1fr); }
  .venue-edit-cover { width:88px; }
  .venue-edit-source { grid-column:1/-1; justify-self:start; }
  .venue-edit-grid--address,.venue-edit-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .venue-amenities { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .venue-media-layout { grid-template-columns:1fr; }
}
@media (max-width:620px) {
  .venue-edit-hero { grid-template-columns:68px minmax(0,1fr); padding:18px; gap:14px; }
  .venue-edit-cover { width:68px; }
  .venue-edit-tabs { overflow-x:auto; padding-left:8px; }
  .venue-edit-tabs button { white-space:nowrap; }
  .venue-edit-panel { padding:18px; }
  .venue-edit-grid,.venue-edit-grid--address,.venue-edit-metrics,.venue-amenities { grid-template-columns:1fr; }
  .venue-edit-grid .span-2 { grid-column:auto; }
  .venue-edit-footer { position:sticky; bottom:0; z-index:3; padding:12px 18px; }
}
