.emily-property-map{position:relative!important;height:auto!important;min-height:0;overflow:visible!important;background:#fff!important;border:1px solid #cedbdc;border-radius:10px;cursor:auto!important;touch-action:auto!important}
.emily-map-toolbar{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.75rem;background:#fff;border-bottom:1px solid #cedbdc}
.emily-map-toolbar button,.emily-map-toolbar select{min-height:42px;width:auto;margin:0}
.emily-map-toolbar [aria-pressed=true]{background:#173e43;color:white}
.full-page-client-work #outline-map .emily-map-toolbar{position:sticky;top:var(--map-toolbar-top,8px);z-index:11;box-shadow:0 3px 6px #173e4314}
.emily-map-draft-notice{flex-basis:100%;margin:0;padding:.4rem .6rem;background:#f1edff;color:#423084;font-size:.9rem}
.emily-map-draft-corner{display:block;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#6148cc;color:#fff;text-align:center;font:600 12px/18px Arial,sans-serif;box-shadow:0 1px 4px #0005;pointer-events:none}
.emily-map-find{display:flex;gap:.5rem;padding:.5rem .75rem}.emily-map-find input{flex:1;min-width:0;margin:0}.emily-map-find button{width:auto;white-space:nowrap;margin:0}
.emily-map-canvas{width:100%;height:66vh;min-height:440px;max-height:840px;background:#e9eeee}
body.full-page-client-work[data-client-tool=scope] main{max-width:none}
body.full-page-client-work[data-client-tool=scope] #outline-map .emily-map-canvas{height:75vh;min-height:520px;max-height:1100px}
.emily-map-expanded-dialog{position:fixed;inset:8px;width:calc(100vw - 16px);height:calc(100vh - 16px);height:calc(100dvh - 16px);max-width:none;max-height:none;margin:0;padding:0;border:1px solid #b8cdca;border-radius:8px;background:#fff;color:#193e43;overflow:hidden}
.emily-map-expanded-dialog[open]{display:flex;flex-direction:column}
.emily-map-expanded-dialog::backdrop{background:#102b24a8}
.emily-map-expanded-context{flex:none;margin:0;padding:.55rem .9rem;background:#f3f6f5;font:600 .9rem/1.35 system-ui,sans-serif;overflow-wrap:anywhere}
.emily-map-expanded-dialog .emily-property-map{display:flex;flex-direction:column;flex:1;min-height:0;height:100%!important;overflow:hidden!important;border-radius:0}
.emily-map-expanded-dialog .emily-map-toolbar{position:static!important;flex:none;box-shadow:none!important}
.emily-map-expanded-dialog .emily-map-find{flex:none}
.emily-map-expanded-dialog .emily-map-canvas{flex:1;height:auto!important;min-height:160px!important;max-height:none!important}
.emily-map-expanded-dialog .emily-map-status,.emily-map-expanded-dialog .emily-map-boundary-notice,.emily-map-expanded-dialog .emily-map-results-notice{flex:none;max-height:3.8em;overflow:auto;padding:.3rem .75rem}
.emily-map-status,.emily-map-boundary-notice,.emily-map-results-notice{font-size:.9rem;padding:.5rem 1rem;margin:0}
.emily-map-status.error{color:#8c2836;background:#fff4f2}
.emily-map-boundary-notice{color:#46636a}
.emily-map-pin{display:block;color:#fff;border:2px solid #fff;border-radius:50%;width:22px;height:22px;text-align:center;line-height:18px;box-shadow:0 1px 4px #0005}
.emily-map-pin.subject{width:30px;height:30px;font-size:20px;line-height:26px}
.emily-map-property{max-width:290px;color:#193e43;padding:.25rem;font:14px/1.5 system-ui,sans-serif}
.emily-map-property p{margin:.5rem 0 0}
.map-search-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.75rem;padding:1rem 0}
.map-search-controls label{min-width:220px;flex:1;margin:0}.map-search-controls button{min-height:42px}
.map-school-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:1rem 0}.map-school-panel .school-add{display:flex;gap:.4rem}.map-school-panel input{min-width:0;flex:1}.map-school-panel button{width:auto}
.map-preview-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.5rem;list-style:none;margin:1rem 0;padding:0}.map-preview-list li{border:1px solid #cedbdc;border-radius:6px;padding:.75rem;font-size:.9rem}
@media(max-width:650px){.emily-map-canvas{height:65vh;min-height:360px}.emily-map-toolbar{gap:.35rem}.emily-map-toolbar button{font-size:.85rem;padding:.5rem}.map-school-panel{grid-template-columns:1fr}}
@media(max-width:650px){body.full-page-client-work[data-client-tool=scope] #outline-map .emily-map-canvas{min-height:420px}body.full-page-client-work[data-client-tool=scope] #market-edit{padding:.6rem}body.full-page-client-work[data-client-tool=scope] .outline-picker{padding:.5rem}.emily-map-expanded-dialog{inset:0;width:100vw;height:100vh;height:100dvh;border:0;border-radius:0}.emily-map-expanded-context{font-size:.8rem;padding:.4rem .6rem}.emily-map-expanded-dialog .emily-map-toolbar{padding:.5rem}.emily-map-expanded-dialog .emily-map-status,.emily-map-expanded-dialog .emily-map-boundary-notice,.emily-map-expanded-dialog .emily-map-results-notice{font-size:.8rem}}
