.plan-catalog-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.plan-catalog-heading > div { min-width:0; flex:1; }
.plan-thumbnail { flex:0 1 340px; width:100%; max-width:340px; margin:0; padding:12px; border:1px solid var(--line,#dce3dc); border-radius:12px; background:var(--theme-surface,#fff); color:var(--theme-text,#252b27); box-sizing:border-box; }
.plan-thumbnail figcaption { display:flex; flex-direction:column; gap:2px; margin-bottom:8px; font-size:.85rem; }
.plan-thumbnail figcaption span,.plan-thumbnail small { color:var(--muted,#65746c); font-size:.75rem; line-height:1.4; }
.plan-thumbnail small { display:block; margin-top:6px; }
.plan-thumbnail svg { display:block; width:100%; height:auto; background:var(--theme-surface-soft,#f3f6f3); border-radius:6px; }
.plan-thumbnail-link { display:block; color:var(--green-800,#285746); text-decoration:none; border-radius:6px; }
.plan-thumbnail-link:focus-visible { outline:3px solid #b38c47; outline-offset:3px; }
.plan-thumbnail-action { display:block; margin-top:6px; font-size:.8rem; font-weight:700; }
.seller-plan .plan-thumbnail { max-width:none; margin-top:16px; }
@media(max-width:760px) { .plan-catalog-heading { flex-direction:column; align-items:stretch; gap:12px; } .plan-catalog-heading .plan-thumbnail { flex-basis:auto; align-self:flex-start; } }
.plan-overview{max-width:none;flex-basis:auto;padding:16px}.plan-proposal{margin-bottom:24px;scroll-margin-top:120px}.plan-proposal h2{font-size:1.2rem}.plan-proposal p{max-width:100ch;font-size:.9rem}.plan-overview svg{max-height:430px}.plan-overview figcaption{font-size:1rem}.plan-proposal .plan-thumbnail small{font-size:.85rem}
.plan-explorer { display:grid; grid-template-columns:180px minmax(0,1fr) 180px; gap:14px; align-items:center; }
.plan-explorer-map { min-width:0; }
.plan-area-heading { display:block; margin-bottom:8px; font-size:.8rem; color:var(--muted,#65746c); }
.plan-area-card { margin:6px 0; border:1px solid var(--line,#dce3dc); border-radius:8px; background:var(--theme-surface-soft,#f3f6f3); }
.plan-area-card summary { padding:9px; min-height:44px; cursor:pointer; font-size:.85rem; box-sizing:border-box; }
.plan-area-card summary small { padding-left:16px; margin-top:3px; font-size:.75rem; }
.plan-area-color { display:inline-block; width:9px; height:9px; border-radius:2px; margin-right:3px; }
.plan-area-card.is-highlighted,.plan-area-card:focus-within { outline:2px solid var(--green-700,#35634f); outline-offset:1px; }
.plan-area-card summary:focus-visible { outline:2px solid #b38c47; }
.plan-area-detail { padding:0 10px 10px; font-size:.75rem; line-height:1.5; }
.plan-area-highlight { stroke:#111; stroke-width:4px; stroke-dasharray:none; fill-opacity:1; }
.plan-count-note { font-size:.8rem; color:var(--muted,#65746c); }
@media(max-width:1100px) { .plan-explorer { grid-template-columns:1fr 1fr; align-items:start; }.plan-explorer-map { grid-column:1/-1; grid-row:1; }.plan-area-list { min-width:0; } }
@media(max-width:420px) { .plan-explorer { gap:8px; }.plan-area-card summary { padding:8px 5px; }.plan-area-card summary small { padding-left:0; } }
html[data-theme="dark"] .plan-thumbnail-link { color:#a9dec5; }
html[data-theme="dark"] .plan-area-card.is-highlighted,html[data-theme="dark"] .plan-area-card:focus-within { outline-color:#a9dec5; }
/* The lists never expand: one reserved detail panel keeps the map stationary. */
.plan-explorer { align-items:start; }
button.plan-area-card { display:block; width:100%; padding:9px; text-align:left; color:inherit; font:inherit; cursor:pointer; min-height:58px; box-sizing:border-box; }
button.plan-area-card > span { font-size:.85rem; }
button.plan-area-card small { margin-top:3px; font-size:.75rem; }
.plan-area-info { margin-top:12px; padding:12px; min-height:110px; box-sizing:border-box; border-radius:8px; background:var(--theme-surface-soft,#f3f6f3); font-size:.85rem; }
.plan-area-info p { margin:5px 0 0; line-height:1.5; }
.plan-overview .plan-explorer-map svg { max-height:none; background:transparent; }
.plan-zoom-dialog { width:min(1400px,94vw); max-width:94vw; max-height:90vh; padding:18px; border:1px solid var(--line,#dce3dc); border-radius:12px; background:var(--theme-surface,#fff); color:var(--theme-text,#252b27); }
.plan-zoom-dialog::backdrop { background:rgba(0,0,0,.65); }
.plan-zoom-dialog svg { display:block; width:100%; height:auto; }
@media(max-width:1100px) { .plan-area-info { min-height:130px; } }
