html.cora-embed,html.cora-embed body{min-height:0;height:auto}
.cora-embed body{overflow:auto!important}
.cora-embed .app{min-height:0}
.cora-embed .shell{padding-bottom:16px}
.cora-embed .detailback{position:relative;inset:auto;overflow:visible;background:var(--panel)}
.cora-embed.embed-detail .app,.cora-embed.embed-sheet .app,.cora-embed.embed-sheet .detailback{display:none}
.cora-embed .sheetback.open{position:relative;inset:auto;background:var(--panel);display:block}
.cora-embed .sheet{max-height:none;border-radius:var(--radius);background:var(--panel)}
.cora-embed .sheetbody{overflow:visible}
.cora-embed .embed-footer{padding:10px 14px;font-size:12px;line-height:1.5;max-width:720px;margin:auto;color:var(--muted)}
.cora-embed .embed-footer a{color:var(--ink)}
.cora-embed .storage-notice{display:none;margin-bottom:6px}
.cora-embed.storage-limited .storage-notice{display:block}
.cora-embed .toast{position:sticky;bottom:8px;margin:auto;left:auto;transform:none;width:max-content;height:0;padding:0;overflow:hidden}
.cora-embed .toast.show{height:auto;padding:9px 12px;transform:none}
.cora-embed.embed-themed,.cora-embed.embed-themed body{font-family:var(--embed-font)}
.cora-embed.embed-themed :is(.zip,.locbtn,.sheetbtn,.action,.backbtn,.needbtn,.filterchip,.englishbox,.seg button,.sheet,.cathead,.close,.mycora-btn,.detailback){background:var(--panel);color:var(--ink);border-color:var(--line);border-radius:var(--radius)}
.cora-embed.embed-themed :is(.find,.action.primary,.seg button.active){background:var(--brand);color:var(--embed-on-brand);border-color:var(--brand);border-radius:var(--radius)}
.cora-embed.embed-themed :is(.badge,.lines,.program,.dprogram){color:var(--ink);background:var(--panel)}
.cora-embed.embed-themed .saved{background:var(--panel)!important;color:var(--ink)!important;border-color:var(--brand)!important}
.cora-embed.embed-themed .locbtn.using{background:var(--brand);color:var(--embed-on-brand)}
.cora-embed.embed-themed :is(.checkrow:hover,.radiolist label:hover){background:var(--brand);color:var(--embed-on-brand)}
.cora-embed button:focus-visible,.cora-embed a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* Apply theme colors to the complete public embed, including legacy surfaces. */
.cora-embed.embed-themed,.cora-embed.embed-themed body{background:var(--bg);color:var(--ink)}
.cora-embed.embed-themed :is(.app,.shell){background:var(--bg);color:var(--ink)}
.cora-embed.embed-themed :is(.card,.sheet,.sheetbody,.sheetfoot,.sheeth,.detail,.detailback){background:var(--panel);color:var(--ink)}
.cora-embed.embed-themed :is(.hero p,.needsummary,.filterchip .k,.resultsmeta,.privacy,.viewhead p,.routecard p,.empty p,.loading){color:var(--muted)}
.cora-embed.embed-themed .cora-detail-actions #dSave.saved{background:var(--panel)!important}
/* Typography is independent of the color theme and scales existing text hierarchy. */
html.cora-embed.embed-typography,html.cora-embed.embed-typography body{font-family:var(--embed-font);font-size:var(--embed-font-size,16px)}
.cora-embed.embed-typography .lang{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .hero h1{font-size:calc(25px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .hero p{font-size:calc(14px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .question{font-size:calc(13px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .zip{font-size:calc(16px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .needbtn strong{font-size:calc(15px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .needsummary{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .filterchip .k{font-size:calc(10px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .filterchip .v{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .find{font-size:calc(17px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .msg{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .privacy{font-size:calc(11px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .sheeth h2{font-size:calc(18px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .close{font-size:calc(19px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .checkrow span{font-size:calc(14px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .resultshead h1{font-size:calc(22px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .resultsmeta{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .service{font-size:calc(18px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .provider{font-size:calc(13px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .program{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .badge{font-size:calc(11px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .lines{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .empty h2{font-size:calc(18px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .empty p{font-size:calc(13px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .detail h1{font-size:calc(23px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .detail .dprovider{font-size:calc(14px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .detail .dprogram{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .section h2{font-size:calc(13px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .section p,.cora-embed.embed-typography .section li{font-size:calc(13px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .mycora-btn{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .viewhead h1{font-size:calc(22px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .viewhead p{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .toast{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .routecard h1{font-size:calc(23px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .routecard p{font-size:calc(14px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .cora-quicklinks>.action{font-size:calc(12px * var(--embed-font-scale,1))}
.cora-embed.embed-typography .embed-footer{font-size:calc(12px * var(--embed-font-scale,1))}

/* F1503: iframe viewport and search-card width govern layout, including older installers. */
html.cora-embed .shell{width:min(720px,100%);max-width:100%;padding-inline:8px}
.cora-embed .searchcard{container-type:inline-size;padding:12px;min-width:0}
.cora-embed .searchcard *, .cora-embed .searchcard *::before,.cora-embed .searchcard *::after{box-sizing:border-box}
html.cora-embed #searchView .locationrow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}
html.cora-embed #searchView #zip{width:100%;max-width:100%;min-width:0;min-height:44px;font-size:max(16px,calc(16px * var(--embed-font-scale,1)))}
html.cora-embed #searchView #useLocation{width:100%;min-width:0;min-height:44px;white-space:normal;overflow-wrap:anywhere;font-size:calc(14px * var(--embed-font-scale,1));line-height:1.35}
html.cora-embed #searchView .location-or{flex:0 0 auto}
html.cora-embed #searchView .needbtn{min-height:48px}
html.cora-embed #searchView #needChoose{font-size:calc(14px * var(--embed-font-scale,1));white-space:normal;line-height:1.35}
html.cora-embed .filterchip{min-height:64px;padding:10px;display:flex;flex-direction:column;justify-content:center;gap:6px}
html.cora-embed.embed-typography .filterchip .k{font-size:calc(11px * var(--embed-font-scale,1));font-weight:500;line-height:1.4}
html.cora-embed .filterchip .v{margin:0;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
html.cora-embed .filterchip .k{overflow-wrap:anywhere}
html.cora-embed .defaults{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
@container (max-width:300px){html.cora-embed #searchView .locationrow{grid-template-columns:minmax(0,1fr);align-items:stretch}html.cora-embed #searchView .locationrow>:is(.zip,.locbtn){flex:auto;width:100%}html.cora-embed #searchView .location-or{text-align:center}}
@container (max-width:260px){html.cora-embed .defaults{grid-template-columns:minmax(0,1fr)}}
@container (min-width:540px){html.cora-embed .defaults{grid-template-columns:repeat(3,minmax(0,1fr))}}
html.cora-embed.embed-custom :is(#whereQ,#needQ){color:var(--embed-heading-accent)}

html.cora-embed #searchView :is(#zip,#useLocation){padding-inline:8px}
html.cora-embed #searchView .locationrow.location-stacked{grid-template-columns:minmax(0,1fr)}
html.cora-embed #searchView .location-stacked .location-or{text-align:center}


/* Founder refinements: aligned filter text and compact embedded actions. */
html.cora-embed #searchView #zip{font-size:calc(14px * var(--embed-font-scale,1))}
html.cora-embed.embed-typography .filterchip .k{font-size:calc(12px * var(--embed-font-scale,1));align-self:start}
html.cora-embed .filterchip{display:grid;grid-template-rows:var(--embed-filter-prompt-height,auto) auto;align-content:start;justify-content:stretch}
html.cora-embed .filterchip .v{align-self:start}
html.cora-embed #clearFilters{display:flex;justify-content:center}
html.cora-embed #results .badges{flex-direction:column;align-items:flex-start;gap:4px}
html.cora-embed #results .badge{padding-inline:0;background:transparent;text-align:left}
@media(max-width:600px){
 html.cora-embed :is(.resultactions,.savedactions).cora-quicklinks{grid-template-columns:repeat(5,minmax(0,1fr)) max-content;gap:3px}
 html.cora-embed :is(.resultactions,.savedactions).cora-quicklinks>.action{font-size:calc(11px * var(--embed-font-scale,1));padding-inline:2px;white-space:normal;overflow-wrap:anywhere;min-height:44px}
 html.cora-embed :is(.resultactions,.savedactions).cora-quicklinks>.action:last-child{white-space:nowrap;padding-inline:6px}
}
