/* The map stays quiet; discovery and setup open only on request. */
.topbar{gap:24px}.topbar>nav{margin-left:12px}
.platform-return{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;min-height:36px;padding:8px 10px;border:1px solid #354159;border-radius:6px;color:#d7dded;font-size:11px;white-space:nowrap}
.platform-return:hover{background:#202a40;border-color:var(--purple);color:#fff}.platform-return>span:first-child{font-size:17px;line-height:1}
.platform-return-compact{display:none}.presentation .platform-return-compact{display:inline-flex}.presentation .workspace-toolbar:before{display:none}
@media(max-width:1250px){.topbar{gap:16px}.topbar>nav{margin-left:0}.top-end{gap:12px}}
@media(max-width:1000px){.topbar .prototype{display:none}.topbar nav{gap:16px}.topbar .brand{gap:12px}.topbar .brand img{width:86px}.topbar .brand strong{font-size:21px}}
@media(max-width:680px){.topbar{gap:9px}.topbar .platform-return{font-size:10px;min-height:32px;padding:5px 8px}.topbar .brand{gap:8px}.topbar .brand img{width:72px}.topbar .brand strong{font-size:18px}.topbar>nav{order:3}.topbar .top-end{display:none}}
.toolbar-library{color:#c6bbff!important;border:1px solid #514a76!important;border-radius:5px;background:#342a503d!important}
.basemap-summary{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:1px solid var(--line);border-radius:7px;text-align:left;background:#111a2c}
.basemap-summary>span{font-size:22px;color:var(--purple)}.basemap-summary strong{flex:1;font-size:11px;font-weight:500;line-height:1.5}.basemap-summary small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}
.active-layer-summary{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:10px;margin-bottom:12px}.active-layer-summary button{color:var(--cyan);font-size:10px;padding:5px}.library-entry{margin-top:5px;color:#c6bbff;background:#382d552c;border-color:#4e426d}
dialog[data-kind=feed-library],dialog[data-kind=company-records]{width:920px;max-height:88vh}dialog[data-kind=feed-library] .dialog-header,dialog[data-kind=company-records] .dialog-header{background:#121a2e;position:sticky;top:0;z-index:2}
.map-options{display:grid;gap:12px}.map-option{display:flex;gap:15px;text-align:left;border:1px solid var(--line);border-radius:9px;padding:15px;background:#0d1526;align-items:center}.map-option.selected{border-color:#a5a1ff;box-shadow:0 0 0 1px #a5a1ff55;background:#30254a66}.map-option>span:last-child{flex:1;min-width:0}.map-option strong{display:block;font-size:14px;font-weight:600;margin-bottom:6px}.map-option small{display:block;color:var(--muted);font-size:11px;line-height:1.6}.map-option em{font-style:normal;display:inline-block;color:var(--cyan);font-size:10px;margin-top:8px}.map-swatch{width:70px;height:70px;flex-shrink:0;border:1px solid #63758b66;border-radius:7px;display:grid;place-items:center;font-size:32px;color:#e6edff}.map-swatch-offline{background:radial-gradient(ellipse at 30% 30%,#3f6573,#142e46 60%,#07111f)}.map-swatch-osm{background:repeating-linear-gradient(38deg,transparent 0 16px,#8a9c9145 17px 19px,transparent 20px 32px),#33433e}.map-swatch-google{background:repeating-linear-gradient(130deg,#8c897750 0 7px,transparent 8px 20px),linear-gradient(35deg,#4b665f,#46535c)}
.map-setup{border:1px solid #6d5b4544;border-radius:8px;padding:15px;margin-top:18px;background:#75573113}.map-setup h3{color:var(--amber);margin-bottom:8px}.map-setup p{font-size:12px;color:var(--muted);margin-bottom:10px}.map-setup a{font-size:11px}
.environment-brief>section{border:1px solid var(--line);border-radius:8px;padding:16px;margin-bottom:15px}.environment-brief>section>.tag{float:right}.environment-brief p{font-size:12px;color:var(--muted)}.brief-warning{border-left:2px solid var(--amber);padding-left:12px}.brief-warning h4{font-size:12px;margin-bottom:5px}
@media(max-width:1250px){.workspace-toolbar .toolbar-new{display:none}.workspace-toolbar button{padding-left:7px;padding-right:7px}.workspace-toolbar .toolbar-library{font-size:10px}.workspace-toolbar .workspace-mode-label{display:none}}
@media(max-width:900px){.workspace-toolbar .toolbar-label{display:none}.workspace-toolbar .organisation-tools{gap:1px}.map-swatch{width:48px;height:60px}.map-option{padding:12px;gap:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important}}

/* The host dialog already supplies the heading; avoid repeating it in the body. */
dialog[data-kind=feed-library] .hub-intro,dialog[data-kind=company-records] .hub-intro{display:none}
dialog[data-kind=feed-library] .hub-preset{padding:15px;min-height:136px;gap:8px}
dialog[data-kind=feed-library] .hub-preset-icon{width:30px;height:30px}
dialog[data-kind=feed-library] .hub-preset-top{margin-bottom:0}
dialog[data-kind=feed-library] .hub-presets{gap:10px;margin-top:14px}
dialog[data-kind=feed-library] .hub-footnote{margin-bottom:0}
