body.site-editing{padding-bottom:115px}
.site-editing [data-golf-edit]{outline:1px dashed #ec691a99;outline-offset:5px;cursor:pointer;position:relative}
.site-editing [data-golf-edit]:focus-visible{outline:3px solid #ec691a}
.site-editing [data-golf-edit]:hover{outline-style:solid}
.site-editing .editor-photo-button{position:absolute;top:16px;right:16px;z-index:6;min-height:44px;padding:10px 15px;border:1px solid #ffffff80;border-radius:8px;background:#153f32;color:#fff;font:600 13px Inter,sans-serif;box-shadow:0 3px 15px #0003;cursor:pointer}
.site-editing .editor-photo-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.editor-bar{position:fixed;bottom:0;left:0;right:0;z-index:75;background:#fff;color:#152219;border-top:1px solid #dce4d9;box-shadow:0 -8px 30px #0002;padding:10px 16px max(10px,env(safe-area-inset-bottom));font-family:Inter,sans-serif;display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap}
.editor-bar strong{font-size:12px;margin-right:8px}
.editor-bar button{font:600 12px Inter,sans-serif;border:1px solid #dce4d9;border-radius:7px;min-height:40px;background:#f3f6f3;color:#153f32;padding:9px 13px}
.editor-bar button:last-child{background:#153f32;color:#fff;border-color:#153f32}
.site-editing>.mobile-action{display:none}
.editor-dialog{width:min(620px,100vw);max-width:calc(100vw - 24px);max-height:90dvh;border-radius:16px;background:#fff!important;color:#152219!important;--ink:#152219;--muted:#59685d;--line:#dce4d9;--paper:#f3f6f3;--orange:#153f32;--orange-dark:#153f32;--white:#fff;--green:#153f32}
.editor-dialog::backdrop{background:#07140dc7}
.editor-dialog form{padding:24px}
.editor-dialog .editor-top{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}
.editor-dialog h2{font:500 30px Oswald,sans-serif;color:#152219}
.editor-dialog h3{font:600 14px Inter,sans-serif;color:#152219;margin-bottom:12px}
.editor-dialog label{display:block;font-size:13px;font-weight:550;line-height:1.6;margin:14px 0;color:#152219}
.editor-dialog input:not([type=checkbox]):not([type=radio]),.editor-dialog textarea,.editor-dialog select{display:block;width:100%;font:400 16px Inter,sans-serif;margin-top:6px;padding:12px;border:1px solid #ccd7ce;border-radius:8px;color:#152219;background:#fff;box-sizing:border-box}
.editor-dialog textarea{min-height:100px;resize:vertical}
.editor-dialog .check-row{display:flex;align-items:center;gap:10px;font-size:14px;min-height:44px;margin:6px 0}
.editor-dialog input[type=checkbox],.editor-dialog input[type=radio]{width:19px;height:19px;accent-color:#153f32;flex-shrink:0}
.editor-dialog .editor-help{font-size:12px;line-height:1.7;color:#59685d;margin:8px 0 18px}
.editor-dialog .editor-service{padding:17px;border:1px solid #dce4d9;border-radius:12px;margin:14px 0;background:#fafcf9}
.editor-dialog .editor-row{display:flex;gap:12px;align-items:flex-end}
.editor-dialog .editor-row>*{flex:1;min-width:0}
.editor-dialog .editor-actions{display:flex;gap:10px;position:sticky;bottom:-24px;background:#fff;padding:16px 0 0;margin-top:22px}
.editor-dialog .editor-actions button{flex:1}
.editor-dialog .editor-quiet{min-height:42px;border:1px solid #ccd7ce;border-radius:7px;padding:8px 12px;color:#153f32;background:#fff;font-size:13px}
.editor-dialog .editor-delete{min-height:44px;color:#8f3024;background:transparent;border:0;font-size:12px;padding:8px 0}
.editor-dialog .editor-status{color:#8f3024;font-size:13px;line-height:1.6;margin-top:14px;white-space:pre-line}
.editor-dialog .photo-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.editor-dialog .photo-choices button{padding:3px;border:2px solid transparent;background:#fff;border-radius:8px;color:#152219;font-size:11px;text-align:left}
.editor-dialog .photo-choices button[aria-pressed=true]{border-color:#153f32}
.editor-dialog .photo-choices img{width:100%;height:70px;object-fit:cover;border-radius:5px;display:block;margin-bottom:5px}
@media(max-width:640px){.editor-bar{gap:6px}.editor-bar strong{width:100%;text-align:center}.editor-bar button{font-size:11px;padding:8px 10px;min-height:38px}.editor-dialog form{padding:20px}.editor-dialog .editor-actions{bottom:-20px}.editor-dialog .photo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Keep the complete action row inside the sheet on short phone screens. */
.editor-dialog .editor-actions{bottom:0;padding-bottom:max(8px,env(safe-area-inset-bottom));z-index:2}
.editor-dialog .editor-service textarea{min-height:72px}
@media(max-width:640px){.editor-dialog .editor-actions{bottom:0}}
.editor-dialog .editor-section-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #dce4d9;padding:15px 0}
.editor-section-row>div{flex:1;min-width:0}.editor-section-row strong{display:block;font:600 13px/1.4 Inter,sans-serif;color:#152219}.editor-section-row small{display:block;color:#59685d;font-size:11px;margin-top:4px}
.editor-dialog .section-switch{position:relative;margin:0;flex:none;min-height:44px;display:flex;align-items:center}.section-switch input{position:absolute;inset:0;opacity:0;cursor:pointer}.section-switch span{width:40px;height:24px;background:#a9b5ad;border-radius:20px;display:block;pointer-events:none}.section-switch span:after{content:'';display:block;width:18px;height:18px;border-radius:50%;background:white;margin:3px;transition:transform .15s}.section-switch input:checked+span{background:#153f32}.section-switch input:checked+span:after{transform:translateX(16px)}.section-switch input:focus-visible+span{outline:3px solid #ed711e;outline-offset:3px}
.editor-dialog .editor-back{border:0;background:transparent;color:#153f32;padding:8px 0 16px;font:600 13px Inter,sans-serif;min-height:44px}.editor-dialog .editor-pages{padding:14px;background:#f3f6f3;border-radius:8px;margin-bottom:12px}.editor-pages summary{color:#153f32;font-size:13px;cursor:pointer}
.site-editing [data-site-copy]{outline:1px dashed #ec691a99;outline-offset:5px;cursor:pointer}.site-editing [data-site-copy]:hover,.site-editing [data-site-copy]:focus-visible{outline:2px solid #ec691a}.site-editing .nav-links [data-site-copy],.site-editing .footer-links [data-site-copy]{outline:0;cursor:inherit}

/* Shared image chooser: natural text height and reachable upload. */
.editor-dialog .editor-photo-preview{margin:0 0 16px}.editor-photo-preview img{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:14px}.editor-photo-preview figcaption{margin-top:8px;font:400 15px/1.5 Inter,sans-serif;color:#536257}.editor-dialog .photo-choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:12px}.editor-dialog .photo-choices button{min-height:44px;padding:8px;font:400 15px/1.4 Inter,sans-serif;overflow-wrap:anywhere}.editor-dialog [data-native-photo]{width:100%;min-height:50px;white-space:normal;line-height:1.4}.editor-dialog [data-upload-photo]{min-height:48px;font-size:16px}

.editor-dialog .editor-photo-discard[hidden]{display:none}.editor-dialog .editor-photo-discard{padding:16px 0}.editor-photo-discard p{font-size:15px;line-height:1.5}.editor-dialog .editor-photo-discard button{display:block;width:100%;min-height:50px;margin-top:12px;white-space:normal}

/* Photo commands remain siblings of the Home navigation link. */
.site-editing .editor-photo-card{position:relative;min-width:0}
.site-editing .editor-photo-card>.home-entry-card{height:100%}
/* 208 · Visible photo commands on the actual Home components. */
.site-editing .editor-photo-card>.ls-card{height:100%}
.site-editing .ls-hero{position:relative}
.site-editing .ls-hero>[data-edit-photo]{z-index:6;top:var(--editor-hero-photo-top,90px);right:16px;bottom:auto}
.site-editing .ls-home-portrait{position:relative}
.site-editing .editor-photo-card>[data-edit-photo]{z-index:6}
.site-editing .ls-hero-copy [data-golf-edit]{cursor:pointer}
