/* Scope: upgraded partner directory only. No global article/FAQ/nav changes. */
html body #tm-main .swc-offers[data-swd-version]{container-type:inline-size;color:#e4eee7;background:#0b100e;font-size:14px;line-height:1.5}
html body #tm-main .swc-offers[data-swd-version] :is(p,dl,dt,dd,ul){color:inherit}
html body #tm-main .swc-offers[data-swd-version] .swc-heading{margin-bottom:20px}
html body #tm-main .swc-offers[data-swd-version] .swc-heading>p:not([class]){display:none}
html body #tm-main .swc-offers[data-swd-version] .swc-title{font-size:25px;font-weight:700;line-height:1.25;margin:6px 0 10px;color:#f7f5ee}
html body #tm-main .swc-offers[data-swd-version] .swd-guide{max-width:80ch;font-size:14px;line-height:1.65;color:#c5d5cb;margin:0}
html body #tm-main .swc-offers[data-swd-version] .swc-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:20px;align-items:start}
html body #tm-main .swc-offers[data-swd-version] .swc-filters{display:block;padding:16px;background:#112319;border:1px solid #719581;border-radius:14px}
html body #tm-main .swc-offers[data-swd-version] .swc-filters fieldset{border:0;padding:0;margin:0 0 16px;min-width:0}
html body #tm-main .swc-offers[data-swd-version] .swc-filters legend{font-size:13px;font-weight:700;line-height:1.5;color:#e4eee7;margin-bottom:8px}
html body #tm-main .swc-offers[data-swd-version] .swc-filters label{margin-top:12px;color:#e4eee7;font-size:12px;line-height:1.5}
html body #tm-main .swc-offers[data-swd-version] .swc-chips{display:flex;flex-wrap:wrap;gap:6px}
html body #tm-main .swc-offers[data-swd-version] .swc-chips button{padding:7px 9px;font-size:12px;min-height:36px;margin:0}
html body #tm-main .swc-offers[data-swd-version] :is(button,input,select,summary,a){transition:none!important}
html body #tm-main .swc-offers[data-swd-version] button{background:#142a1e;color:#e4eee7;border:1px solid #719581;box-shadow:none}
html body #tm-main .swc-offers[data-swd-version] button:hover{background:#20422e;color:#fff}
html body #tm-main .swc-offers[data-swd-version] button[aria-pressed=true]{background:#b9f3ce;color:#102319;border-color:#b9f3ce}
html body #tm-main .swc-offers[data-swd-version] button:disabled{background:#142a1e;color:#c5d5cb;opacity:1}
html body #tm-main .swc-offers[data-swd-version] .swc-unknown{display:flex;align-items:flex-start;gap:8px}
html body #tm-main .swc-offers[data-swd-version] .swc-unknown input{flex:0 0 17px;width:17px;height:17px;margin:2px 0 0;accent-color:#b9f3ce}
html body #tm-main .swc-offers[data-swd-version] .swc-card{display:grid;grid-template-columns:104px minmax(0,1fr) 146px;gap:14px;padding:18px;background:#14281e;border:1px solid #719581;border-radius:14px;align-items:start}
html body #tm-main .swc-offers[data-swd-version] .swc-logo{width:104px;height:62px;margin:2px 0 0;padding:10px;background:#fff;align-self:start;border-radius:10px}
html body #tm-main .swc-offers[data-swd-version] .swc-logo-dark{background:#0b1510;border-color:#719581}
html body #tm-main .swc-offers[data-swd-version] .swc-logo img{max-height:40px;width:100%;object-fit:contain}
html body #tm-main .swc-offers[data-swd-version] .swc-card .swc-brand{color:#f7f5ee;font-size:19px;line-height:1.3;margin:0 0 4px}
html body #tm-main .swc-offers[data-swd-version] .swd-kind{font-size:12px;color:#c5d5cb;margin:0 0 13px}
html body #tm-main .swc-offers[data-swd-version] .swd-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 10px;padding:0}
html body #tm-main .swc-offers[data-swd-version] .swd-metric{min-width:0;border:0}
html body #tm-main .swc-offers[data-swd-version] .swd-metrics dt{font-size:11px;line-height:1.4;color:#c5d5cb;margin:0 0 4px;font-weight:400}
html body #tm-main .swc-offers[data-swd-version] .swd-metrics dd{font-size:14px;line-height:1.5;color:#f7f5ee;margin:0;font-weight:700}
html body #tm-main .swc-offers[data-swd-version] .swd-scope{font-size:12px;color:#c5d5cb;margin:0 0 10px}
html body #tm-main .swc-offers[data-swd-version] .swc-actions{display:flex;grid-column:auto;align-items:stretch;flex-direction:column;gap:10px;border-left:0;padding:0;align-self:center}
html body #tm-main .swc-offers[data-swd-version] .swc-actions>a,html body #tm-main .swc-offers[data-swd-version] .swd-comparison-card>[data-swc-destination]{display:inline-flex;align-items:center;justify-content:center;gap:10px;color:#102319!important;background:#b9f3ce;border:1px solid #b9f3ce;padding:10px 14px;min-height:44px;font-size:13px;font-weight:700;line-height:1.5;border-radius:9px;text-decoration:none;white-space:normal}
html body #tm-main .swc-offers[data-swd-version] :is(.swc-actions>a,.swd-comparison-card>[data-swc-destination]):hover{background:#e1fce9;color:#102319!important;border-color:#e1fce9}
html body #tm-main .swc-offers[data-swd-version] .swc-pick{font-size:12px;line-height:1.5;color:#e4eee7}
html body #tm-main .swc-offers[data-swd-version] .swd-details{margin:0;padding:0;border:0;background:transparent}
html body #tm-main .swc-offers[data-swd-version] .swd-details summary{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:12px;line-height:1.5;font-weight:600;min-height:32px;margin:0;color:#b9f3ce;padding:4px 0;text-decoration:underline;text-underline-offset:4px}
html body #tm-main .swc-offers[data-swd-version] .swd-details summary::before,html body #tm-main .swc-offers[data-swd-version] .swd-details summary::after{display:none;content:none}
html body #tm-main .swc-offers[data-swd-version] .swd-details summary::-webkit-details-marker{display:none}
html body #tm-main .swc-offers[data-swd-version] .swd-details[open]{grid-column:1/-1}
html body #tm-main .swc-offers[data-swd-version] .swd-detail-body{padding:16px;margin-top:8px;background:#0b1510;border:1px solid #719581;border-radius:10px}
html body #tm-main .swc-offers[data-swd-version] .swd-detail-field{margin:0 0 14px}
html body #tm-main .swc-offers[data-swd-version] .swd-detail-field strong{display:block;font-size:12px;color:#f7f5ee;margin-bottom:5px}
html body #tm-main .swc-offers[data-swd-version] .swd-detail-field p{font-size:13px;line-height:1.65;color:#c5d5cb;margin:0}
html body #tm-main .swc-offers[data-swd-version] .swd-sources{list-style:none;padding:0;margin:0;font-size:12px;line-height:1.6;color:#c5d5cb}
html body #tm-main .swc-offers[data-swd-version] .swd-sources li{margin:5px 0 0}
html body #tm-main .swc-offers[data-swd-version] .swd-sources a{color:#b9f3ce;text-decoration:underline;text-underline-offset:3px}
html body #tm-main .swc-offers[data-swd-version] .swd-footer{margin:18px 0 0;color:#c5d5cb;font-size:12px;line-height:1.65}
html body #tm-main .swc-offers[data-swd-version] .swc-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
html body #tm-main .swc-offers[data-swd-version] .swc-comparison-grid[data-swd-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
html body #tm-main .swc-offers[data-swd-version] .swd-comparison-card .swd-metrics{grid-template-columns:1fr;gap:12px}
html body #tm-main .swc-offers[data-swd-version] .swd-comparison-card .swd-details{margin:12px 0}
html body #tm-main .swc-offers[data-swd-version] :is(a,button,summary,input,select):focus-visible{outline:3px solid #ffda66;outline-offset:4px}
html body #tm-main .swc-offers[data-swd-version] input[aria-invalid=true]{border:2px solid #ffda66}
html body #tm-main .swc-offers[data-swd-version] :is(a,button)::after{content:none;display:none}
@container(max-width:1100px){html body #tm-main .swc-offers[data-swd-version] .swc-card{grid-template-columns:88px minmax(0,1fr);gap:10px 14px;padding:16px}html body #tm-main .swc-offers[data-swd-version] .swc-logo{width:88px;height:56px}html body #tm-main .swc-offers[data-swd-version] .swc-actions{grid-column:2;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap}html body #tm-main .swc-offers[data-swd-version] .swc-layout{grid-template-columns:192px minmax(0,1fr);gap:16px}}
@container(max-width:760px){html body #tm-main .swc-offers[data-swd-version] .swc-layout{grid-template-columns:minmax(0,1fr)}html body #tm-main .swc-offers[data-swd-version] .swc-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}html body #tm-main .swc-offers[data-swd-version] .swc-filters>fieldset{margin:0}html body #tm-main .swc-offers[data-swd-version] .swc-filters :is(.swc-context,.swc-unknown,.swc-secondary){grid-column:1/-1}html body #tm-main .swc-offers[data-swd-version] .swc-comparison-grid{grid-template-columns:1fr!important}}
@container(max-width:460px){html body #tm-main .swc-offers[data-swd-version] .swc-filters{grid-template-columns:1fr}html body #tm-main .swc-offers[data-swd-version] .swc-card{grid-template-columns:74px minmax(0,1fr);padding:14px;gap:12px}html body #tm-main .swc-offers[data-swd-version] .swc-logo{width:74px;height:50px;padding:6px}html body #tm-main .swc-offers[data-swd-version] .swd-metrics{grid-template-columns:1fr;gap:8px}html body #tm-main .swc-offers[data-swd-version] .swd-metric{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}html body #tm-main .swc-offers[data-swd-version] .swd-metric dt{margin:0}html body #tm-main .swc-offers[data-swd-version] .swd-metric dd{font-size:13px}html body #tm-main .swc-offers[data-swd-version] .swc-actions{grid-column:1/-1}html body #tm-main .swc-offers[data-swd-version] .swc-card-info{min-width:0}html body #tm-main .swc-offers[data-swd-version] .swd-details[open] .swd-detail-body{padding:12px}}
/* The installed comparison v1.1.0 forces display:block!important; restore this scoped grid. */
html body #tm-main .swc-offers[data-swd-version] .swc-layout{display:grid!important}
html body #tm-main .swc-offers[data-swd-version] .swc-filters .swc-quick-group{display:block;min-width:0}
html body #tm-main .swc-offers[data-swd-version] .swc-filters .swc-secondary{display:block}
/* Existing global article paragraphs use !important. Keep directory text compact explicitly. */
html body #tm-main .swc-offers[data-swd-version] :is(.swd-kind,.swd-scope,.swd-footer){font-size:12px!important;line-height:1.6!important}
html body #tm-main .swc-offers[data-swd-version] .swd-guide{font-size:14px!important;line-height:1.65!important}
html body #tm-main .swc-offers[data-swd-version] .swc-title{font-size:25px!important;line-height:1.25!important}
html body #tm-main .swc-offers[data-swd-version] .swc-card .swc-brand{font-size:19px!important;line-height:1.3!important}
html body #tm-main .swc-offers[data-swd-version] .swd-detail-field p{font-size:13px!important;line-height:1.65!important}
html body #tm-main .swc-offers[data-swd-version] .swc-context{font-size:12px!important;line-height:1.6!important}
@container(max-width:760px){html body #tm-main .swc-offers[data-swd-version] .swc-filters .swc-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html body #tm-main .swc-offers[data-swd-version] .swc-secondary .swc-reset{align-self:end}}
@container(max-width:460px){html body #tm-main .swc-offers[data-swd-version] .swc-filters .swc-secondary{grid-template-columns:1fr}}
html body #tm-main .swc-offers[data-swd-version] .swc-card-info>p{margin:0 0 7px!important}
@container(min-width:761px) and (max-width:1100px){html body #tm-main .swc-offers[data-swd-version] .swc-card{grid-template-columns:76px minmax(0,1fr) 124px;gap:12px}html body #tm-main .swc-offers[data-swd-version] .swc-logo{width:76px;height:52px;padding:7px}html body #tm-main .swc-offers[data-swd-version] .swc-actions{grid-column:auto;flex-direction:column;align-items:stretch;justify-content:center}html body #tm-main .swc-offers[data-swd-version] .swc-actions>a{padding:9px 10px}}

/* Compact city handoff: source offices and national partner catalogue are separate tasks. */
html body #tm-main .swc-city-compact{margin:2rem 0 0;padding:1.25rem 0 0;border:0;background:transparent;color:#e4ece6;max-width:100%;}
html body #tm-main .swc-city-compact p{margin:0 0 .875rem;color:#e4ece6!important;}
html body #tm-main .swc-city-compact a.swc-city-catalogue-link{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:.75rem 1rem;background:#b7f3cf!important;color:#092014!important;-webkit-text-fill-color:#092014!important;text-decoration:none;border:0;border-radius:8px;white-space:normal;overflow-wrap:anywhere;line-height:1.45;}
html body #tm-main .swc-city-compact a.swc-city-catalogue-link:hover{background:#d7f9e5!important;color:#092014!important;}
html body #tm-main .swc-city-compact a.swc-city-catalogue-link:focus-visible{outline:3px solid #f4bd36;outline-offset:4px;}
