.marketplace .insurer-brand>div{flex:1;min-width:0}.marketplace .insurer-brand h3{overflow-wrap:break-word}.price-table{max-width:100%;overflow:auto}.price-table table{width:100%;min-width:620px;border-collapse:collapse;font-size:13px;line-height:1.6}.price-table th,.price-table td{padding:12px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--border,#d8dde3)}.price-table td span{display:block;margin-top:6px}.price-table th{font-weight:500}
.selection-panel{background:var(--surface,#fff);border-radius:12px;padding:28px;margin:0 0 32px;color:var(--text,#27282e)}
.selection-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 24px;margin-bottom:24px}.selection-heading h2{font-size:20px;line-height:1.4;font-weight:600;margin:0}.selection-heading p{font-size:14px;margin:0;color:var(--muted,#555c67)}
.selection-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.selection-field{min-width:0;display:flex;flex-direction:column;gap:8px}.selection-field label{font-size:14px;line-height:1.5;font-weight:500}.selection-field input,.selection-field select{font:inherit;font-size:14px;min-width:0;width:100%;min-height:48px;border:1px solid var(--border,#d8dde3);border-radius:8px;padding:10px 12px;background:var(--surface,#fff);color:inherit}.selection-field small{font-size:12px;line-height:1.5;color:var(--muted,#555c67)}.selection-extra{margin-top:20px}.selection-extra>summary{cursor:pointer;font-size:14px;padding:10px 0;min-height:44px}.selection-extra .selection-fields{margin-top:16px}.selection-extra-note{font-size:13px;line-height:1.6;color:var(--muted,#555c67);max-width:78ch}.selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;margin-top:20px}.selection-actions .button{background:#27282e;color:#fff;min-height:48px}.selection-save,.selection-summary button{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;color:inherit;font:inherit;font-size:14px;min-height:44px;cursor:pointer}.selection-actions p{font-size:13px;margin:0}.selection-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;background:var(--surface,#fff);border-radius:8px;padding:12px 20px;margin:0 0 24px}.selection-summary p{margin:0;font-size:14px;line-height:1.5}.selection-summary[hidden]{display:none}
.market-page-heading{padding:24px 0 28px}.market-page-heading p{max-width:76ch}.market-page-heading h1{font-size:36px;line-height:1.2;font-weight:500}.marketplace .market-layout{grid-template-columns:232px minmax(0,1fr);gap:24px}.marketplace .market-filters{padding:0;background:none;border:0}.marketplace .market-filters h2{font-size:16px}.marketplace .market-filters label,.marketplace .market-filters select,.marketplace .market-filters legend{font-size:14px;line-height:1.5}.marketplace .insurer-card{border-radius:12px;padding:24px;grid-template-columns:minmax(0,1fr) 196px;gap:16px 24px}.marketplace .insurer-card-main{min-width:0}.marketplace .insurer-card-side{padding:0;gap:16px}.marketplace .insurer-brand img{width:80px;height:48px;object-fit:contain}.marketplace .insurer-brand h3{font-size:14px;line-height:1.5;font-weight:500}.marketplace .insurer-brand p{font-size:20px;line-height:1.4;font-weight:600;color:inherit;margin-top:4px}.marketplace .insurer-summary{font-size:15px;line-height:1.6}.marketplace .insurer-highlights{font-size:14px;line-height:1.5}.marketplace .insurer-details{padding:0}.marketplace .insurer-details summary{font-size:14px;min-height:44px}.marketplace .insurer-compare{font-size:14px;min-height:44px}.marketplace .insurer-price-context{font-size:12px}.marketplace .insurer-price strong{font-size:26px}.marketplace .market-sort select,.marketplace .market-search input{font-size:14px}.marketplace .insurer-list{gap:16px}
html[data-theme="dark"] .selection-panel,html[data-theme="dark"] .selection-summary{--surface:#1e2228;--text:#f5f6f7;--muted:#c0c6cf;--border:#535d6b}html[data-theme="dark"] .selection-actions .button{background:#f5f6f7;color:#1e2228}
@media(max-width:1099px){.marketplace .market-layout{grid-template-columns:1fr}.marketplace .market-filters{display:none;background:var(--surface,#fff);padding:24px;border-radius:12px}.marketplace .market-filters.is-open{display:block}.marketplace .market-filter-toggle{display:flex}.selection-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.selection-panel{padding:20px}.market-page-heading h1{font-size:28px}.marketplace .insurer-card{grid-template-columns:1fr;padding:20px}.marketplace .insurer-card-side{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.marketplace .insurer-price-slot{grid-column:1/-1}.marketplace .insurer-card-side>.button{min-width:0}.marketplace .insurer-brand p{font-size:18px}.selection-heading{display:block}.selection-heading p{margin-top:8px}}
@media(max-width:479px){.selection-fields{grid-template-columns:1fr}.selection-panel{padding:20px 16px}.selection-actions{align-items:stretch;flex-direction:column;gap:4px}.marketplace .insurer-card-side{grid-template-columns:1fr}.selection-summary{align-items:start}.marketplace .insurer-card-side>.button{width:100%;justify-content:center}}
.marketplace{--surface:#fff;--text:#27282e;--muted:#555c67;--border:#d8dde3;color:var(--text)}
.marketplace .insurer-card-main{align-self:start}.marketplace .insurer-brand .offer-provider{font-size:14px;font-weight:500;margin:0 0 3px;color:var(--muted)}.marketplace .insurer-brand h3{font-size:20px;font-weight:600;line-height:1.35;margin:0}.offer-family{font-size:12px;color:var(--muted);display:block;margin-top:5px}.marketplace .insurer-brand{align-items:start}.marketplace .insurer-brand img{flex:none;background:#fff;border-radius:6px}
.offer-variant-label{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:20px 0 0;font-size:13px;color:var(--muted)}.offer-variant-label select{font:inherit;font-size:14px;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:10px 12px;min-height:44px;min-width:0;max-width:100%;flex:1 1 180px}
.offer-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:24px 0 0}.offer-facts div{min-width:0}.offer-facts dt{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 5px}.offer-facts dd{font-size:14px;line-height:1.55;margin:0;color:var(--text);overflow-wrap:break-word}
.offer-caution{font-size:13px;line-height:1.6;margin:20px 0 0;color:var(--muted)}.offer-price{display:grid;gap:6px;align-items:start;min-width:0;font-variant-numeric:tabular-nums}.offer-price-label{font-size:12px;color:var(--muted)}.offer-price strong{font-size:26px;font-weight:600;line-height:1.3;color:var(--text)}.offer-price>span:not(:first-child){font-size:13px;line-height:1.5}.offer-price small{font-size:12px;line-height:1.55;color:var(--muted)}.offer-price .offer-price-missing{font-size:18px;line-height:1.4}.offer-match{font-weight:600}.offer-primary{font-size:14px!important;line-height:1.45;min-height:48px;white-space:normal!important;justify-content:center;width:100%;background:#27282e!important;color:white!important}.offer-primary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}.offer-action-note{font-size:12px;line-height:1.55;color:var(--muted);margin:0}.offer-demo{background:none;color:inherit;border:0;padding:12px 0;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px}
.marketplace .insurer-card-side{display:flex;flex-direction:column;align-items:stretch;justify-content:start}.marketplace .insurer-compare{align-self:start;line-height:1.5}.marketplace .insurer-compare input{width:18px;height:18px}.offer-conditions,.offer-all-prices{grid-column:1/-1}.marketplace .insurer-details summary{padding:10px 0}.marketplace .insurer-details-body{padding:16px 0 0;font-size:15px;line-height:1.65}.marketplace .insurer-details-body h4{margin:24px 0 12px;font-size:16px}.marketplace .insurer-details-body dt,.marketplace .insurer-details-body dd{font-size:14px;line-height:1.6}.marketplace .insurer-details-body dd{margin:0}.offer-services small{display:block;margin-top:6px;color:var(--muted);font-size:13px}.marketplace .insurer-documents a{font-size:14px}.offer-more{display:flex;justify-content:center;margin:28px 0}.offer-price-group{font-size:16px;line-height:1.5;font-weight:600;margin:8px 0}.filter-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.filter-heading h2{margin:0!important}.filter-heading button{display:none;background:none;color:inherit;border:0;font:inherit;min-height:44px;cursor:pointer}.filter-hint{font-size:12px;line-height:1.6;color:var(--muted)}.marketplace .market-filters .field select{width:100%;min-height:48px}.marketplace .market-filter-check{min-height:44px}.marketplace .market-reset{min-height:44px;font-size:14px}.marketplace .market-compare-bar{position:static;box-shadow:none;background:var(--surface);border-color:var(--border)}.marketplace .market-compare-bar span{font-size:13px}.marketplace .market-compare-bar .button{font-size:14px}.marketplace .market-table-scroll{max-width:100%}.marketplace .market-table-scroll table{font-size:14px}.marketplace .market-table-scroll th>span{display:block;font-weight:400;margin:8px 0 16px}.marketplace .market-table-scroll th .offer-primary{font-size:13px!important;text-decoration:none;margin:12px 0}.marketplace .market-table-scroll th button:not(.offer-primary){font-size:13px;min-height:44px}.marketplace .market-price-note{font-size:13px;line-height:1.65}.marketplace .market-comparison-note{font-size:13px}.marketplace .market-differences{font-size:14px;min-height:44px}.marketplace .market-comparison{scroll-margin-top:160px}.selection-summary{position:sticky;top:78px;z-index:6;border:1px solid var(--border,#d8dde3)}.selection-panel{scroll-margin-top:90px}.selection-information{margin:32px 0}.selection-information h2{font-size:24px}.selection-information p{font-size:16px;line-height:1.7}
.calculator-dialog{max-width:1100px;width:calc(100% - 32px);max-height:90dvh;border:0;border-radius:12px;padding:28px;background:#fff;color:#27282e;overflow:auto}.calculator-dialog::backdrop{background:#151a22aa}.calculator-header{display:flex;align-items:start;justify-content:space-between;gap:20px}.calculator-header p{font-size:14px;color:#555c67;margin:0 0 8px}.calculator-header h2{font-size:24px;line-height:1.4;margin:0;font-weight:600}.calculator-close,.calculator-retry{font:inherit;font-size:14px;border:0;background:#edf0f3;color:#27282e;min-height:44px;padding:10px 16px;border-radius:8px;cursor:pointer}.calculator-explanation,.calculator-privacy{font-size:14px;line-height:1.65;max-width:80ch}.calculator-tools{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin:20px 0}.calculator-tools a{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:flex;align-items:center}.calculator-status{font-size:13px;color:#555c67;line-height:1.6}.calculator-frame-host{background:white;border-radius:8px;overflow:hidden}.calculator-frame-host iframe{display:block;width:100%;height:1150px;border:0;min-width:0}.calculator-open{overflow:hidden}#insurance-calculator{background:#fff;color:#27282e;padding:28px;border-radius:12px;margin:28px 0}.calculator-privacy{margin:24px 0 0;color:#555c67}
html[data-theme="dark"] .marketplace{--surface:#1e2228;--text:#f5f6f7;--muted:#c0c6cf;--border:#535d6b}html[data-theme="dark"] .offer-primary{background:#f5f6f7!important;color:#1e2228!important}html[data-theme="dark"] .marketplace .market-filters.is-open{background:#1e2228}
@media(max-width:1099px){.filter-heading button{display:block}.marketplace .market-filters.is-open{border:1px solid var(--border);margin-bottom:12px}}
@media(max-width:767px){.marketplace .insurer-brand h3{font-size:18px}.marketplace .insurer-card-side{display:grid;grid-template-columns:1fr 1fr;align-items:center}.offer-price{grid-column:1/-1}.offer-action-note{grid-column:1/-1}.marketplace .insurer-brand img{width:64px;height:40px}.marketplace .market-search{min-width:0}.marketplace .market-sort select{font-size:13px}.marketplace .market-filter-toggle{font-size:13px}.calculator-dialog{padding:20px 16px;width:calc(100% - 16px)}#insurance-calculator{padding:20px 12px}.calculator-frame-host iframe{height:1500px}.calculator-header h2{font-size:21px}.calculator-header{gap:12px}.calculator-close{padding:10px}.offer-facts{gap:16px}}
@media(max-width:640px){.selection-summary{top:64px}.marketplace .market-comparison{scroll-margin-top:152px}}
@media(max-width:479px){.marketplace .insurer-card-side{grid-template-columns:1fr}.offer-facts{grid-template-columns:1fr}.marketplace .insurer-card{padding:20px 16px}.marketplace .market-toolbar{gap:10px}.marketplace .market-sort{min-width:0}.marketplace .market-compare-bar>div{min-width:0}.marketplace .market-selected-names{overflow-wrap:anywhere}.marketplace .market-result-heading h2{flex-basis:100%}.marketplace .insurer-price strong{font-size:24px}.calculator-header{flex-direction:column}}
@media(max-width:479px){.marketplace .insurer-brand{display:block}.marketplace .insurer-brand img{margin-bottom:14px}.marketplace .insurer-details-body dl{grid-template-columns:1fr}}

.offer-card{scroll-margin-top:175px}.marketplace .insurer-card-side{border-left:0}.marketplace .insurer-details{border-top:0}.marketplace .insurer-details summary::after{content:"+";font-size:20px;font-weight:400;margin-left:12px}.marketplace .insurer-details[open]>summary::after{content:"−"}
.marketplace .market-reset,.marketplace .market-clear{color:var(--muted)}

/* The filter rail and results share a top edge; all result controls follow the cards' width. */
.marketplace .market-layout{grid-template-columns:248px minmax(0,1fr);align-items:start}
.marketplace .market-filters{background:var(--surface);padding:20px;border-radius:12px}
.marketplace .market-content{min-width:0}
.marketplace .market-result-heading{min-height:28px;margin:0 0 20px;align-items:baseline}
.marketplace .market-result-heading h2{font-size:22px;line-height:1.3;margin:0}
.marketplace .market-result-heading p{margin:0}
.marketplace .market-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 244px;gap:16px;align-items:center;margin:0 0 16px}
.marketplace .market-search{width:100%;max-width:none;min-width:0}
.marketplace .market-sort{width:100%;min-width:0;margin:0}
.marketplace .market-sort select{width:100%;min-width:0;height:48px}
.marketplace .market-search input{height:48px}
.marketplace .market-price-note{margin:0 0 20px;max-width:75ch}
.marketplace .selection-panel{padding:24px;margin-bottom:28px}
.marketplace .selection-heading{margin-bottom:20px}
.marketplace .selection-extra{margin-top:12px}
.marketplace .selection-actions{margin-top:12px}
.marketplace .filter-heading{margin-bottom:20px}
.marketplace .market-filters fieldset{margin-top:20px}
/* Compact offers: price beside facts, actions and disclosures in short shared rows. */
.marketplace .offer-card{padding:20px;gap:12px 24px;grid-template-columns:minmax(0,1fr) 220px;align-items:start}
.offer-card .offer-facts{margin-top:16px;gap:12px 20px}
.offer-card .offer-variant-label{margin-top:12px}
.offer-card .offer-caution{margin-top:12px}
.offer-card .offer-price{gap:4px}
.offer-actions{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px;min-width:0}
.offer-actions>.offer-primary{width:auto;max-width:100%;flex:0 1 260px}
.offer-actions>.insurer-compare{margin:0;align-self:center}
.offer-actions>.offer-action-note{flex:1 1 220px;max-width:36ch}
.offer-disclosures{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:0 24px;min-width:0}
.offer-disclosures>.insurer-details{flex:1 1 260px;min-width:0;margin:0}
.offer-disclosures>.insurer-details[open]{flex-basis:100%}
.marketplace .offer-disclosures summary{justify-content:flex-start;gap:8px;padding:8px 0;min-height:44px}
.marketplace .offer-disclosures summary::after{margin-left:auto}
@media(max-width:767px){.marketplace .offer-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px}.offer-actions>.offer-primary{flex:1 1 220px}.offer-actions>.offer-action-note{max-width:none;flex-basis:100%}.offer-card .insurer-card-side{display:block}.offer-card .offer-price{grid-template-columns:auto minmax(0,1fr);gap:4px 16px}.offer-card .offer-price-label,.offer-card .offer-price small{grid-column:1/-1}.offer-card .offer-price>span:not(:first-child){align-self:center}}
@media(max-width:479px){.marketplace .offer-card{padding:16px}.offer-disclosures{gap:0}.offer-card .insurer-brand{display:flex;gap:12px}.offer-card .insurer-brand img{width:56px;height:36px;margin:0}.offer-card .offer-facts{gap:10px}.offer-actions>.offer-primary{flex-basis:100%}}
@media(max-width:1099px){.marketplace .market-layout{grid-template-columns:minmax(0,1fr)}.marketplace .market-toolbar{grid-template-columns:minmax(0,1fr) 220px auto}.marketplace .market-filters.is-open{margin-bottom:0}}
@media(max-width:767px){.marketplace .market-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:12px}.marketplace .market-search{grid-column:1/-1}.marketplace .market-result-heading{margin-bottom:16px}.marketplace .selection-panel{padding:20px 16px}.marketplace .selection-heading p{margin-top:8px}.marketplace .market-sort select{font-size:13px}.marketplace .market-filter-toggle{min-height:48px}}
/* Stable card alignment: shared columns, fixed action positions, no flex reordering. */
.marketplace .offer-card{grid-template-columns:minmax(0,1fr) 232px;gap:16px 28px;padding:24px;align-items:start}
.marketplace .offer-card .insurer-brand{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center}
.marketplace .offer-card .insurer-brand img{width:72px;height:44px;margin:0}
.marketplace .offer-card .insurer-brand h3{font-size:20px;line-height:1.4;overflow-wrap:anywhere}
.marketplace .offer-card .offer-provider{font-size:13px;line-height:20px;margin:0 0 4px}
.offer-card .offer-facts{margin:20px 0 0;gap:12px 24px}
.offer-card .offer-facts dt{margin:0 0 4px;line-height:18px}
.offer-card .offer-facts dd{font-size:14px;line-height:22px}
.offer-card .offer-price{display:flex;flex-direction:column;gap:4px}
.offer-card .offer-price strong{font-size:26px;line-height:34px;white-space:normal}
.offer-card .offer-price .offer-price-missing{font-size:18px;line-height:26px}
.offer-card .offer-price small{font-size:12px;line-height:18px}
.offer-card .offer-actions{display:grid;grid-template-columns:minmax(0,1fr) 232px;gap:6px 28px;align-items:center}
.offer-card .offer-actions>.offer-primary{grid-column:2;grid-row:1;width:100%;max-width:none;min-height:48px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:500;line-height:22px;border-radius:8px}
.offer-card .offer-actions>.insurer-compare{grid-column:1;grid-row:1;justify-self:start;min-height:44px;font-size:13px;line-height:20px;margin:0}
.offer-card .offer-actions>.offer-action-note{grid-column:2;grid-row:2;max-width:none;font-size:11px;line-height:17px;margin:0}
.offer-card .offer-disclosures{display:block;margin:0;min-width:0}
.marketplace .offer-disclosures>.insurer-details{display:block;margin:0;width:100%}
.marketplace .offer-disclosures summary{display:flex;justify-content:flex-start;align-items:center;gap:8px;min-height:40px;padding:8px 0;font-size:13px;line-height:20px;font-weight:400}
.marketplace .offer-disclosures summary::after{margin-left:auto;font-size:18px}
@media(max-width:767px){.marketplace .offer-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:20px}.offer-card .offer-actions{grid-template-columns:minmax(0,1fr);gap:4px}.offer-card .offer-actions>.offer-primary{grid-column:1;grid-row:1}.offer-card .offer-actions>.offer-action-note{grid-column:1;grid-row:2}.offer-card .offer-actions>.insurer-compare{grid-column:1;grid-row:3}.marketplace .offer-card .insurer-brand{grid-template-columns:56px minmax(0,1fr);gap:12px}.marketplace .offer-card .insurer-brand img{width:56px;height:40px}.marketplace .offer-card .insurer-brand h3{font-size:18px;line-height:26px}}
@media(max-width:479px){.marketplace .offer-card{padding:16px}.offer-card .offer-facts{grid-template-columns:minmax(0,1fr);margin-top:16px}}
@media(max-width:767px){.offer-card .offer-actions>.insurer-compare{grid-row:1}.offer-card .offer-actions>.offer-primary{grid-row:2}.offer-card .offer-actions>.offer-action-note{grid-row:3}}
/* Independent columns prevent the price block from stretching gaps in the description. */
.marketplace .offer-card .insurer-card-side{display:flex;flex-direction:column;gap:12px;align-items:stretch;justify-content:flex-start;padding:0}
.offer-card .insurer-card-main .offer-disclosures{margin-top:12px}
.offer-card .insurer-card-side .offer-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.offer-card .insurer-card-side .offer-primary{order:0;flex:none;width:100%}
.offer-card .insurer-card-side .insurer-compare{order:1;align-self:flex-start;flex:none}
.offer-card .insurer-card-side .offer-action-note{order:2;flex:none}
@media(max-width:767px){.marketplace .offer-card .insurer-card-side{gap:12px}.offer-card .insurer-card-main .offer-disclosures{margin-top:12px}}
/* Readable disclosure hierarchy: one label/value row per condition. */
.marketplace .offer-disclosures summary{font-weight:600;font-size:14px}
.marketplace .offer-conditions[open]>summary{color:var(--text)}
.marketplace .offer-conditions .insurer-details-body{padding:16px 0 8px;font-size:14px;line-height:1.65;color:var(--text)}
.marketplace .offer-conditions .insurer-details-body h4{font-size:15px;line-height:22px;font-weight:600;margin:24px 0 10px;color:var(--text)}
.marketplace .offer-conditions .insurer-details-body h4:first-child{margin-top:0}
.marketplace .offer-conditions .insurer-details-body p{margin:0 0 12px;color:var(--text);max-width:70ch}
.marketplace .offer-conditions .insurer-details-body dl{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0}
.marketplace .offer-conditions .insurer-details-body dl>div{display:grid;grid-template-columns:minmax(100px,32%) minmax(0,1fr);gap:16px;align-items:baseline;min-width:0}
.marketplace .offer-conditions .insurer-details-body dt{font-size:13px;line-height:21px;color:var(--muted);margin:0}
.marketplace .offer-conditions .insurer-details-body dd{font-size:14px;line-height:22px;color:var(--text);margin:0;min-width:0;overflow-wrap:anywhere}
.marketplace .offer-conditions .insurer-documents{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:18px}
@media(max-width:479px){.marketplace .offer-conditions .insurer-details-body dl>div{grid-template-columns:minmax(0,1fr);gap:3px}}
/* Compact controls with a consistent chevron and room for the selected text. */
.selection-panel{padding:20px;margin-bottom:24px}
.selection-heading{margin-bottom:16px;gap:6px 20px}
.selection-heading h2{font-size:18px}
.selection-heading p{font-size:13px}
.selection-fields{gap:12px 16px}
.selection-field{gap:6px}
.selection-field label{font-size:13px}
.selection-field input,.selection-field select{min-height:44px;padding:9px 12px}
.selection-extra{margin-top:8px}
.selection-extra>summary{padding:10px 0;font-size:13px}
.selection-actions{margin-top:10px;gap:8px 20px}
.selection-actions .button{min-height:44px;padding:10px 16px}
.marketplace .market-filters{padding:16px}
.marketplace .market-filters .field{gap:6px;margin-bottom:12px}
.marketplace .market-filters fieldset{gap:6px;margin-top:16px}
.marketplace .market-filters label,.marketplace .market-filters legend{font-size:13px}
.marketplace .market-filter-check{min-height:36px;margin:0}
.marketplace .filter-heading{margin-bottom:14px}
.marketplace .market-search input,.marketplace .market-sort select,.marketplace .market-filters select{min-height:44px;height:44px}
.selection-panel select,.marketplace select,.marketplace .market-filters .field select{appearance:none;-webkit-appearance:none;padding-right:40px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23555c67' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");background-size:18px 18px;background-position:right 12px center;background-repeat:no-repeat}
html[data-theme="dark"] .selection-panel select,html[data-theme="dark"] .marketplace select,html[data-theme="dark"] .marketplace .market-filters .field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23c0c6cf' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E")}
@media(max-width:479px){.selection-panel{padding:16px}.selection-fields{gap:12px}.selection-actions{gap:4px}}

.marketplace .market-filters .field select{min-height:44px;height:44px;padding-top:9px;padding-bottom:9px}
/* One compact footer row, with extra fields spanning the form when expanded. */
#selection-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:12px 20px;align-items:start}
#selection-form>.selection-fields{grid-column:1/-1}
#selection-form>.selection-extra{margin:0;min-width:0}
#selection-form>.selection-actions{margin:0;justify-content:flex-end;align-items:center;align-self:start}
#selection-form>.selection-extra[open]{grid-column:1/-1}
#selection-form>.selection-extra[open]+.selection-actions{grid-column:1/-1}
#selection-feedback:empty{display:none}
.offer-card .offer-description{font-size:14px;line-height:22px;color:var(--text);margin:16px 0 0;max-width:70ch}
@media(max-width:767px){#selection-form{grid-template-columns:minmax(0,1fr);gap:8px}#selection-form>.selection-actions{justify-content:flex-start;flex-direction:row;flex-wrap:wrap;gap:4px 16px}#selection-form>.selection-extra{grid-column:1}}
/* Program results use the full content width without a sidebar. */
.marketplace .market-layout{grid-template-columns:minmax(0,1fr)}
