/* Owner controls extend the approved PatchMaps interface. */
[hidden]{display:none!important}
.owner-link{display:block;text-decoration:none}
.owner-toolbar{display:flex;justify-content:flex-end;margin-top:8px}
.owner-edit-button,.editor-button{min-height:44px;border:1px solid #c8d9e9;border-radius:12px;background:#edf6ff;color:#0755ae;padding:10px 14px;font-weight:700;font-size:14px}
.owner-edit-button{min-height:36px;padding:7px 13px;font-size:12px}
.owner-edit-button:disabled,.editor-button:disabled{opacity:.55;cursor:default}
.directions:disabled{border:0;background:#e2e8ef;color:#657486;cursor:default;white-space:normal}
.status-warning{color:#8b5a12}
.pm-gatepin.unverified{background:#b76b0b}
.text-action{border:0;background:transparent;color:#065cc6;text-decoration:underline;font:inherit;padding:3px 4px;font-weight:700}
.owner-notice{position:absolute;top:12px;left:12px;right:76px;z-index:480;border-radius:13px;background:#fff;border:1px solid #c8ddec;color:#17394f;padding:12px 14px;box-shadow:0 3px 14px #17365130;font-size:13px;line-height:1.4}
.owner-notice.error{border-color:#dbb690;color:#7d3a12}
.site-editor{position:absolute;z-index:470;left:10px;right:10px;bottom:calc(7px + env(safe-area-inset-bottom));max-width:640px;max-height:min(57%,490px);margin:auto;border-radius:22px;background:#fff;box-shadow:0 8px 28px #16335055;border:1px solid #d8e4ef;display:flex;flex-direction:column;overflow:hidden}
.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px 8px;flex:none}
.editor-heading h2{font-size:17px;line-height:1.2;margin:3px 0;color:#153c65}
.editor-heading .eyebrow{font-size:9px;letter-spacing:1px;color:#1672bd}
.editor-heading .closebtn{min-height:36px;min-width:36px}
.editor-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 12px 8px;flex:none}
.editor-step{min-height:40px;border:1px solid #d1e0ef;border-radius:10px;color:#48647b;background:#f5f8fc;font-weight:700;font-size:12px;padding:8px 5px}
.editor-step[aria-current="step"]{background:#0868e9;border-color:#0868e9;color:white}
.editor-scroll{padding:2px 14px 10px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.editor-instruction{font-size:13px;line-height:1.45;margin:5px 0 10px;color:#274963}
.editor-coordinates{font-variant-numeric:tabular-nums;font-size:12px;color:#37556b;overflow-wrap:anywhere;margin:7px 0}
.editor-small-actions{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0}
.editor-small-actions .editor-button{font-size:12px;padding:8px 10px;min-height:40px}
.editor-verify,.editor-scope-confirm{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.45;color:#24465d;margin:10px 0 2px;cursor:pointer}
.editor-verify input,.editor-scope-confirm input{height:20px;width:20px;flex:none;margin:0;accent-color:#0768eb}
.editor-scope{padding:7px 0;margin:0 0 5px;border-bottom:1px solid #e0e9f1;font-size:12px;color:#234a70}
.editor-scope summary{font-weight:750;cursor:pointer;min-height:25px}
.editor-scope ul{margin:6px 0 8px;padding-left:19px;line-height:1.6}
.editor-scope small{color:#526d83}
.editor-footnote{font-size:11px;line-height:1.4;color:#657a8d;margin:8px 0 0}
.editor-status{font-size:12px;line-height:1.45;color:#305e7d;margin:8px 0 0;overflow-wrap:anywhere}
.editor-status.error{color:#9b321a}
.editor-status a{display:inline-block;color:#065cc6;font-weight:700;padding:5px 0}
.editor-footer{display:grid;grid-template-columns:1fr 1.6fr;gap:8px;padding:9px 12px 11px;background:#fff;border-top:1px solid #deE8f0;flex:none}
.editor-button.primary{background:linear-gradient(110deg,#059ff0,#075ce9);border-color:transparent;color:#fff}
.editor-preview-list{margin:8px 0;padding-left:19px;font-size:12px;line-height:1.6;color:#244963}
.editor-preview-link{display:inline-block;color:#065fc7;font-size:12px;padding:7px 0;font-weight:700}
.editor-conflict{margin-top:10px;border-top:1px solid #ddd5c7;padding-top:10px;font-size:12px;line-height:1.5;color:#73501c}
.editor-conflict strong{display:block;margin-bottom:5px}
.editor-conflict .editor-button{font-size:12px}
.editor-reference-label{font-size:10px;color:#52718c}
.app.site-editing .searchbox input:disabled{opacity:.7;background:transparent;color:#64788d}
.shared-pad .owner-toolbar{flex:none;margin-top:5px}
@media(min-width:720px){.site-editor{left:auto;right:20px;width:470px;max-height:calc(100% - 35px);bottom:20px}.owner-notice{left:20px;right:auto;max-width:440px}.editor-heading{padding:15px 17px 10px}.editor-scroll{padding:3px 17px 14px}}
@media(max-height:640px) and (max-width:719px){.site-editor{max-height:61%}.editor-heading{padding:8px 11px 4px}.editor-heading h2{font-size:15px}.editor-step{min-height:34px;padding:6px}.editor-footer{padding:7px 10px}.editor-footer .editor-button{min-height:38px;padding:8px}}

/* Compact map-first owner editing. Details and draft stay mounted while collapsed. */
.site-editor{max-height:min(50%,430px)}
.editor-heading>div{min-width:0;flex:1}.editor-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-size-toggle{flex:none;border:1px solid #b8cdec;background:#edf4ff;color:#073cf0;border-radius:10px;min-height:40px;padding:8px 11px;font:inherit;font-size:12px;font-weight:750}
.editor-size-toggle:focus-visible{outline:3px solid #91c5ed;outline-offset:2px}
.editor-compact-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px 9px;color:#274963;font-size:12px;line-height:1.4}
.editor-compact-tools .editor-button{min-height:36px;padding:6px 10px;font-size:12px;flex:none}
.site-editor.is-compact{max-height:none;border-radius:17px}
.site-editor.is-compact .editor-heading{padding:7px 10px 5px}
.site-editor.is-compact .editor-heading .eyebrow{display:none}
.site-editor.is-compact .editor-heading h2{font-size:14px}
.site-editor.is-compact .editor-steps{margin:0 10px 6px}
.site-editor.is-compact .editor-step{min-height:34px;padding:6px 4px}
.app.site-editing .header .searchbox{display:none}
.app.site-editing .header .headrow{min-height:46px;padding-bottom:0}
.app.site-editing .header .mark{width:36px;height:36px}
.app.site-editing .header .brandname{display:block;font-size:18px;text-transform:none;letter-spacing:-.3px}
.app.site-editing .header .brandname .brand-energy{font-size:inherit;letter-spacing:inherit;margin-right:5px}
.app.site-editing .header .tagline{display:none}
@media(min-width:720px){.site-editor{width:390px;max-height:calc(100% - 35px)}}
@media(orientation:landscape) and (max-height:600px){.site-editor{max-height:calc(100% - 20px);width:min(360px,55vw);left:auto;right:10px}.site-editor.is-compact{max-height:none;width:min(360px,55vw)}.app.site-editing .header{padding-top:calc(5px + env(safe-area-inset-top));padding-bottom:5px}}

#editorAccessTools label{display:block;margin:8px 0}#editorAccessTools input,#editorAccessTools textarea,#editorAccessTools select{display:block;width:100%;box-sizing:border-box;margin-top:4px}.editor-reuse-row{padding:8px 0;border-bottom:1px solid #cbdde5}.editor-reuse-row button{margin:4px}.entrance-choice{display:flex;gap:8px;align-items:center;margin:8px 0}.entrance-choice select{min-width:0;max-width:100%;padding:10px;border:1px solid #b4cbdc;border-radius:10px;background:white;color:#113c60}
