/* Map-first premium experience, November 2026 */
#scout-launch.scout-inline{position:static!important;inset:auto!important;flex:none;z-index:auto!important;height:39px;padding:6px 11px 6px 7px;font-size:12px;box-shadow:0 3px 10px #16343c20;border:1px solid #b6d4ca;white-space:nowrap}
#scout-launch.scout-inline:hover{box-shadow:0 7px 17px #16343c28;transform:translateY(-1px)}
#kmad-custom-tooltip{position:fixed;z-index:200;pointer-events:none;max-width:min(320px,calc(100vw - 30px));transform:translate(-50%,0);padding:8px 12px;border-radius:9px;background:#193c45;color:#fff;border:1px solid #6bafa3;box-shadow:0 12px 30px #14343840;font-size:12px;line-height:1.45;font-weight:500;text-wrap:balance;opacity:0;transition:opacity .15s ease,transform .15s ease}
#kmad-custom-tooltip.visible{opacity:1}
#kmad-custom-tooltip[hidden]{display:none!important}
.map-purpose{transition:padding .24s ease,background .24s ease,border-color .24s ease}
.explore-workspace .map-pane{box-shadow:0 8px 32px #174a4a0e}
.explore-workspace .map-pane :is(.county-area,.zip-area,.map-cluster,.store-marker){transition:fill .15s ease,stroke .15s ease,opacity .15s ease,filter .15s ease}
.explore-workspace .results-pane,.explore-workspace .detail-pane{transition:box-shadow .2s ease,border-color .2s ease}
.explore-workspace .results-pane:focus-within,.explore-workspace .detail-pane:focus-within{border-color:#7fbab0;box-shadow:0 4px 22px #316b6b12}
.journey-local-list.is-unranked .journey-list-number{background:#eaf4f1;color:#2d786e;border:1px solid #cee4df;font-size:18px;font-weight:400}
.journey-list-scope{font-size:11px;color:#4d7772;margin-top:7px}
.journey-all-map{width:100%;border:1px solid #b7d5cd;color:#1c625b;background:#f1f8f5;border-radius:10px;padding:11px 14px;font:inherit;font-size:12px;font-weight:700;text-align:center;cursor:pointer;transition:background .16s ease,transform .16s ease}
.journey-all-map:hover{background:#dceee7;transform:translateY(-1px)}
.journey-local-list li{transition:background .16s ease,transform .16s ease,border-color .16s ease}
.journey-local-list li:hover{background:#f4faf7;transform:translateX(2px)}
.journey-local-list strong{overflow-wrap:anywhere}
@media(max-width:700px){#scout-launch.scout-inline{width:36px;height:36px;padding:6px;justify-content:center;min-width:36px}#scout-launch.scout-inline>span:last-child{display:none!important}.header-utilities{gap:5px!important}.explore-workspace .map-purpose{padding-top:10px;padding-bottom:10px}}
@media(max-width:430px){#scout-launch.scout-inline{height:33px;width:33px;min-width:33px;padding:4px}.app-header{gap:5px!important}}
@media(prefers-reduced-motion:reduce){#kmad-custom-tooltip,.journey-local-list li,.journey-all-map,.explore-workspace .map-pane :is(.county-area,.zip-area,.map-cluster,.store-marker){transition:none!important}}


/* Persistent map dock, shared across planning, comparisons and insights */
main[data-tool]:not([data-tool="explore"]) > .workspace {
 display:grid!important;
 grid-template-columns:minmax(265px,28%) minmax(0,1fr);
 gap:16px 20px;
 align-items:start;
 height:auto!important;
 min-height:0!important;
}
main[data-tool]:not([data-tool="explore"]) > .workspace > :not(.kmad-map-rail) {
 grid-column:2;
 min-width:0;
}
.kmad-map-rail {
 grid-column:1!important;
 grid-row:1 / span var(--map-rail-row-span, 4);
 position:sticky;
 top:8px;
 z-index:6;
 width:100%;
 min-width:0;
 max-height:calc(100dvh - 125px);
 border:1px solid #d1e2df;
 background:#fff;
 border-radius:14px;
 box-shadow:0 8px 28px #214f4914;
 padding:12px;
 overflow:hidden;
}
.kmad-map-rail-intro {
 display:flex;
 flex-direction:column;
 gap:4px;
 color:#264b4b;
 margin:0 0 10px;
}
.kmad-map-rail-intro strong {font-size:13px;letter-spacing:-.1px;line-height:1.25}
.kmad-map-rail-intro span {font-size:11px;color:#6b817d;line-height:1.45}
.kmad-mini-map {height:clamp(260px,52vh,570px);min-height:0;border-radius:9px;overflow:hidden;border:1px solid #d7e5e2;background:#edf3f4}
.kmad-mini-map svg {display:block;width:100%;height:100%}
.kmad-map-rail-link {width:100%;margin-top:9px;padding:10px 9px;background:#e7f3f0;color:#195c55;font-size:12px;font-weight:650;border:1px solid #c4dfd8;border-radius:8px}
.kmad-map-rail-link:hover {background:#d8ece7}
.kmad-map-rail-full .journey-map-panel {padding:6px;border:0;box-shadow:none}
.kmad-map-rail-full .journey-map-frame {height:clamp(280px,51vh,570px)}
.kmad-map-row-detached {grid-template-columns:minmax(0,1fr)!important}
.kmad-map-rail-full .journey-map-panel h2 {font-size:14px}
@media(max-width:900px) {
 main[data-tool]:not([data-tool="explore"]) > .workspace {display:flex!important;flex-direction:column!important;gap:9px!important}
 main[data-tool]:not([data-tool="explore"]) > .workspace > :not(.kmad-map-rail) {width:100%;min-width:0}
 .kmad-map-rail {
  grid-row:auto;position:sticky;top:0;z-index:18;order:-1;
  max-height:none;height:182px;display:flex;flex-direction:column;
  border-radius:0 0 12px 12px;padding:6px 10px;box-shadow:0 5px 20px #17434424;
 }
 .kmad-map-rail-intro {margin-bottom:5px;flex-direction:row;justify-content:space-between;align-items:baseline;gap:7px}
 .kmad-map-rail-intro strong {font-size:11px;white-space:nowrap}
 .kmad-map-rail-intro span {font-size:10px}
 .kmad-mini-map {height:125px;min-height:125px;flex:none}
 .kmad-map-rail-link {padding:4px 6px;font-size:10px;margin-top:4px}
 .kmad-map-rail-full{height:188px}
 .kmad-map-rail-full .journey-map-panel{padding:0;overflow:hidden}
 .kmad-map-rail-full .journey-map-frame{height:138px;min-height:138px}
 .kmad-map-rail-full .journey-map-panel>:not(.journey-map-frame){display:none!important}
 .kmad-map-rail-full .journey-map-panel .journey-map-controls,
 .kmad-map-rail-full .journey-map-panel .recruit-map-layers {display:none!important}
}

@media(min-width:901px) and (max-height:520px){
 .kmad-map-rail{max-height:calc(100dvh - 90px);padding:8px;gap:5px}
 .kmad-rail-map-content .kmad-mini-map{height:clamp(125px,34vh,175px)}
 .kmad-map-rail-full .journey-map-frame,.kmad-map-rail-full .command-map-frame{height:clamp(125px,34vh,175px);min-height:125px}
 .kmad-rail-description,.kmad-rail-action-note{display:none}
 .kmad-rail-explainer{gap:4px}
}
@media(max-width:400px) {
 .kmad-map-rail{height:160px}
 .kmad-mini-map{height:105px;min-height:105px}
 .kmad-map-rail-full{height:165px}
 .kmad-map-rail-full .journey-map-frame{height:117px;min-height:117px}
 .kmad-map-rail-intro span{display:none}
}

/* One map, not duplicate maps: recruit results use the real command map in the dock. */
.kmad-map-row-detached.command-main{display:block!important}
.kmad-map-row-detached.command-main .command-side{display:block;width:100%}
.kmad-map-rail-full .command-map-panel{padding:2px;border:0;box-shadow:none;min-height:0}
.kmad-map-rail-full .command-map-frame{
 flex:1;
 min-height:260px;
 height:clamp(265px,50vh,540px);
}
.kmad-map-rail-full .command-map-title{padding:3px 3px 8px}
.kmad-map-rail-full .command-map-title h2{font-size:14px}
.kmad-map-rail-full .command-map-title p{font-size:11px;line-height:1.4}
.kmad-map-rail-full .command-map-vintage{display:none}
.kmad-map-rail-full .command-map-marker-note{font-size:10px;max-height:68px;overflow:hidden}
@media(max-width:900px){
 .kmad-map-rail-full .command-map-panel{display:flex!important;flex:1;min-height:0;overflow:hidden}
 .kmad-map-rail-full .command-map-title,.kmad-map-rail-full .command-map-bottom{display:none!important}
 .kmad-map-rail-full .command-map-frame{flex:1;min-height:0!important;height:135px!important}
 .kmad-map-rail-full .command-map-layer-switch{display:none!important}
 .kmad-map-rail-full .command-map-marker-note{display:none!important}
 .command-results .command-mobile-tabs{display:none!important}
 .command-results .command-main .command-side{display:block!important;width:100%!important}
}

/* Decision-first metrics. The snapshot is readable in five seconds. */
.command-results .command-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.command-results .command-kpis .command-kpi{display:flex!important;min-height:90px!important;padding:12px 15px!important}
.command-results .command-kpi strong{font-size:clamp(25px,2.5vw,35px);letter-spacing:-.7px}
.command-results .command-kpi span{font-size:12px;font-weight:730;line-height:1.3}
.command-results .command-kpi small{font-size:10px;line-height:1.4}
.command-more-market{border:1px solid #d6e7e2;background:#fff;border-radius:10px;overflow:hidden}
.command-more-market>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;padding:9px 13px;font-size:11px;color:#38645e;list-style:none}
.command-more-market>summary::-webkit-details-marker{display:none}
.command-more-market>summary strong{color:#28544f;font-weight:720}
.command-more-market>summary span{color:#6a817b;text-align:right}
.command-more-market[open]>summary{border-bottom:1px solid #e1eae6}
.command-secondary-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:10px}
.command-secondary-kpis .command-kpi{min-height:82px}
.command-secondary-kpis .command-kpi strong{font-size:24px}
@media(max-width:700px){
 .command-results .command-kpis{gap:6px!important}
 .command-results .command-kpis .command-kpi{padding:9px!important;min-height:86px!important}
 .command-results .command-kpis .command-kpi strong{font-size:22px}
 .command-results .command-kpis .command-kpi span{font-size:10px}
 .command-results .command-kpis .command-kpi small{font-size:9px;display:block!important}
 .command-more-market>summary{flex-direction:column;align-items:flex-start;gap:3px}
 .command-more-market>summary span{text-align:left}
}
@media(max-width:345px){.command-results .command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* Employer footprint replaces fake top-site rankings when no anchor pharmacy is selected. */
.market-footprint-panel{gap:12px}
.market-chain-list{padding:0;margin:0;list-style:none;display:flex;flex-direction:column;gap:5px}
.market-chain-row>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:center;width:100%;min-height:58px;padding:10px 11px;background:#f7faf9;border:1px solid #e0ebe7;border-radius:9px;text-align:left;color:#23474d;transition:background .16s ease,transform .16s ease,border-color .16s ease}
.market-chain-row>button:hover,.market-chain-row>button:focus-visible{background:#edf6f2;border-color:#a7d2c5;transform:translateX(2px)}
.market-chain-name{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.market-chain-name>i{height:10px;width:10px;border-radius:3px;flex:none}
.market-chain-name>strong{font-size:12px;font-weight:700;line-height:1.3}
.market-chain-name>small{font-size:10px;color:#537e75}
.market-chain-count{display:flex;gap:6px;align-items:center;justify-content:flex-end;white-space:nowrap}
.market-chain-count>b{font-size:17px;font-weight:750;color:#1f6159;font-variant-numeric:tabular-nums}
.market-chain-count>small{font-size:10px;color:#6a817d}
.market-chain-track{grid-column:1/-1;height:4px;border-radius:5px;background:#e1ede9;overflow:hidden}
.market-chain-track>i{display:block;height:100%;border-radius:5px}
.market-chain-actions{display:flex;flex-wrap:wrap;gap:7px}
.market-chain-actions button{padding:10px 11px;border:1px solid #b7d5ca;border-radius:8px;background:#f0f7f3;color:#23594f;font-size:11px;font-weight:700;transition:background .16s ease,transform .16s ease}
.market-chain-actions button:first-child{background:#1e6158;color:#fff;border-color:#1e6158}
.market-chain-actions button:hover{transform:translateY(-1px)}
.market-chain-actions button:first-child:hover{background:#154d46}
@media(max-width:520px){.market-chain-actions{flex-direction:column}.market-chain-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.market-chain-row>button,.market-chain-actions button{transition:none!important}}

/* Clear primary headline with a single accessible text node. */
.explore-workspace .map-purpose h1{font-weight:760;letter-spacing:-.35px}
.cc-intern-current{display:flex;flex-direction:column;gap:10px;min-width:0}
.cc-intern-current h3{font-size:14px;line-height:1.4;color:#1f5d55}
.cc-intern-current p{font-size:12px;line-height:1.6;color:#526f6b}
.cc-history-disclosure{margin-top:10px;border:1px solid #d4e4df;border-radius:10px;background:#f7fbf9;overflow:hidden}
.cc-history-disclosure>summary{padding:13px;font-size:12px;font-weight:700;line-height:1.45;color:#256258;cursor:pointer}
.cc-history-disclosure[open]>summary{border-bottom:1px solid #d4e4df}
.cc-history-disclosure .cc-history-bars{padding:10px}
.cc-history-disclosure .cc-note{padding:0 12px 12px}
@media(max-width:620px){.explore-workspace .map-purpose h1{font-size:18px}}

/* Real mini-map fit even on short phones. Keep the Florida outline visible. */
.kmad-mini-map .atlas-svg{display:block;max-height:100%}
@media(min-width:360px) and (max-width:700px){
 .journey-start .journey-hero{padding:16px 18px;border-radius:13px}
 .journey-start .journey-hero h1{font-size:26px;letter-spacing:-.65px;line-height:1.1;margin:6px 0 8px}
 .journey-start .journey-hero>p:last-child{font-size:12px;line-height:1.48}
 .journey-start .journey-eyebrow{font-size:9px;letter-spacing:.11em}
 .journey-start .journey-progress{margin:8px 0 11px;gap:5px}
 .journey-start .journey-progress li{padding:5px 4px;min-height:34px}
 .journey-start .journey-progress li span{width:19px;height:19px;font-size:10px}
 .journey-start .journey-progress li strong{font-size:9px}
 .journey-start .journey-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .journey-start .journey-choice{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;position:relative;gap:8px;padding:12px 12px 11px;min-height:123px;box-shadow:0 2px 8px #163e4a0d;border-radius:10px}
 .journey-start .journey-choice-icon{width:30px;height:30px;border-radius:8px;flex:none}
 .journey-start .journey-choice-icon .icon{width:19px;height:19px}
 .journey-start .journey-choice-body{gap:4px;max-width:100%}
 .journey-start .journey-choice-body strong{font-size:13px;line-height:1.23;letter-spacing:-.2px}
 .journey-start .journey-choice-body small{font-size:10.5px;line-height:1.4}
 .journey-start .journey-choice-arrow{position:absolute;right:12px;top:16px;font-size:15px}
 .journey-start .journey-welcome-foot{margin-top:9px}
}
@media(max-width:359px){
 .journey-start .journey-hero{padding:16px}
 .journey-start .journey-hero h1{font-size:26px}
 .journey-start .journey-hero>p:last-child{font-size:12px;line-height:1.5}
 .journey-start .journey-progress{margin:8px 0 10px}
 .journey-start .journey-choice{min-height:76px;padding:10px}
 .journey-start .journey-choice-body strong{font-size:14px}
 .journey-start .journey-choice-body small{font-size:11px;line-height:1.3}
}

/* ZIP facts: one clear comparison, never imply that residents or licenses are open jobs. */
.zip-context .zip-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.zip-context .zip-context-grid>div{display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;background:#f4f9f6;border:1px solid #dfebe5;border-radius:9px;padding:11px 12px}
.zip-context .zip-context-grid>div strong{font-size:clamp(17px,2vw,23px);line-height:1.2;font-weight:750;letter-spacing:-.35px;color:#1f6257;white-space:nowrap}
.zip-context .zip-context-grid>div span{font-size:10.5px;color:#567971;line-height:1.42}
.zip-context .zip-recent-interns{font-size:11px;line-height:1.55;padding:9px 11px;background:#f4f7fa;color:#416270;border-radius:8px}
.zip-context .zip-recent-interns strong{font-size:14px;font-weight:750;color:#2e6973}
@media(max-width:370px){.zip-context .zip-context-grid>div{padding:8px}.zip-context .zip-context-grid>div span{font-size:10px}}

/* Census 2020 to 2024 age 65+ context is statistical geography, not demand forecasting. */
.zip-context .zip-context-grid>.zip-senior-context{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;background:#f1f6f7}
.zip-context .zip-senior-context strong small{font-size:12px;color:#5e8081;font-weight:640}
.zip-context .zip-senior-context span{text-align:right;max-width:175px}
@media(max-width:350px){.zip-context .zip-context-grid>.zip-senior-context{align-items:flex-start;flex-direction:column;gap:4px}.zip-context .zip-senior-context span{text-align:left}}
