.ds-brand-overview{margin-bottom:0;row-gap:0}
.ds-brand-overview .ds-profile-panel{margin-bottom:0;border-bottom:0;padding-bottom:24px}
.ds-brand-overview .ds-profile-panel>:last-child{margin-bottom:0}
.ds-brand-overview .ds-facts>div{display:block}
.ds-brand-overview .ds-facts dd{text-align:left;margin-top:6px}
.ds-brand-cities{border-top:1px solid var(--ds-rule);padding-top:32px}
.ds-brand-city-heading{display:flex;justify-content:space-between;align-items:end;gap:32px}
.ds-brand-city-heading h2{font-size:32px;margin-bottom:12px}
.ds-brand-city-heading .section-intro{margin:0}
.ds-brand-city-control{display:grid;gap:8px;min-width:260px}
.ds-brand-city-control label{font-size:13px;color:var(--ds-muted)}
.ds-brand-city-control select{width:100%;min-height:48px;border:1px solid var(--ds-rule);border-radius:var(--ds-radius);padding:10px 36px 10px 12px;background:var(--ds-paper);color:inherit;font:inherit}
.ds-brand-city-control select:focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}
.ds-brand-status{font-size:13px;color:var(--ds-muted);margin-top:16px;min-height:1.5em}
.ds-brand-local-heading{display:flex;justify-content:space-between;align-items:start;gap:24px;padding:24px 0;border-bottom:1px solid var(--ds-rule)}
.ds-brand-local-heading h3{font-size:28px;margin-bottom:10px}
.ds-brand-local-heading p{font-size:14px}
.ds-brand-local-heading a{text-decoration:underline;text-underline-offset:3px}
.ds-brand-local-score{text-align:right;flex-shrink:0;max-width:220px}
.ds-brand-local-score strong{font-size:40px;font-weight:600;line-height:1.1;display:block}
.ds-brand-local-score small{display:block;font-size:12px;color:var(--ds-muted);margin-top:8px}
.ds-brand-city-panel{scroll-margin-top:24px}
.ds-brand-city-panel[hidden]{display:none}
.ds-brand-city-panel:not([hidden])+ .ds-brand-city-panel{margin-top:32px}
.ds-brand-city-panel h4{font-size:23px;margin-bottom:20px}
.ds-brand-local-copy :where(p,ul){margin-bottom:16px}
.ds-brand-local-copy ul{padding-left:20px}
.ds-brand-local-sources>.ds-source-grid{margin-top:24px}
[data-brand-enhanced] .ds-brand-city-panel{margin-top:0}
@media(max-width:700px){
 .ds-brand-city-heading{align-items:stretch;flex-direction:column;gap:20px}
 .ds-brand-city-heading h2{font-size:28px}
 .ds-brand-city-control{min-width:0;width:100%}
 .ds-brand-local-heading{gap:16px}
 .ds-brand-local-heading h3{font-size:23px}
 .ds-brand-local-score{max-width:125px}
 .ds-brand-local-score strong{font-size:32px}
 .ds-brand-local-score small{font-size:11px}
 .ds-brand-city-panel .ds-profile-layout aside{display:flex;flex-direction:column}
}
@media(max-width:360px){.ds-brand-local-heading{flex-wrap:wrap}.ds-brand-local-score{text-align:left;max-width:none}}
.ds-offices-list{display:grid;gap:16px}.ds-office{padding:18px 0;border-top:1px solid var(--ds-rule)}.ds-office h5{font-size:18px;margin:0 0 10px}.ds-office p{margin:0 0 8px}.ds-office a{text-decoration:underline;text-underline-offset:3px}.ds-city-offices{padding-bottom:16px}

/* Compact brand facts; project content keeps its name-and-address format. */
.ds-company-header{padding-block:48px 0}
.ds-brand-identity{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:16px 0 20px}
.ds-brand-name{display:flex;align-items:center;gap:20px;min-width:0}
.ds-brand-name h1{margin:0;max-width:none;font-size:clamp(32px,4.5vw,64px);overflow-wrap:anywhere}
.ds-brand-identity-mark{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;border:1px solid var(--ds-rule);border-radius:12px;background:var(--ds-paper-2);color:var(--ds-accent);font-size:22px;font-weight:600;overflow:hidden}
.ds-brand-identity-mark img{width:100%;height:100%;object-fit:contain;padding:10px}
.ds-brand-identity>.ds-button{flex-shrink:0;font-size:13px;min-height:46px}
.ds-brand-overview--single{grid-template-columns:minmax(0,1fr)}
.ds-brand-overview .ds-profile-panel h2{font-size:27px}
.ds-brand-overview .ds-facts>div{padding-block:10px}
.ds-brand-overview .ds-facts dd{margin-top:4px}
.ds-brand-history,.ds-brand-relationship{border-top:1px solid var(--ds-rule);padding-top:12px;margin-top:20px}
.ds-brand-history>summary,.ds-brand-relationship>summary{cursor:pointer;min-height:36px;font-size:14px;font-weight:500}
.ds-brand-history>div,.ds-brand-relationship>div{margin-top:12px;font-size:14px;line-height:1.7}
.ds-brand-history p,.ds-brand-relationship p{margin-bottom:12px}
.ds-editorial-review{font-size:12px;color:var(--ds-muted);margin-top:20px}
.ds-profile-calculation{border:1px solid var(--ds-rule);border-radius:var(--ds-radius);background:var(--ds-paper-2);overflow:hidden}
.ds-profile-calculation>summary{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;cursor:pointer;padding:20px;list-style:none}
.ds-profile-calculation>summary::-webkit-details-marker{display:none}
.ds-profile-calculation>summary>span{font-size:15px;align-self:center}
.ds-profile-calculation>summary>small{grid-column:1/-1;font-size:12px;color:var(--ds-muted);line-height:1.5}
.ds-profile-calculation[open]>summary{border-bottom:1px solid var(--ds-rule)}
.ds-profile-calculation .ds-calculation-collapse,.ds-profile-calculation[open] .ds-calculation-expand{display:none}
.ds-profile-calculation[open] .ds-calculation-collapse{display:inline}
.ds-profile-calculation .ds-breakdown{border:0;border-radius:0;padding:20px;background:transparent}
.ds-profile-calculation .ds-breakdown h3{padding-right:0}
.ds-profile-calculation summary:focus-visible,.ds-brand-history summary:focus-visible,.ds-brand-relationship summary:focus-visible{outline:2px solid var(--ds-accent);outline-offset:-3px}
.ds-local-scope{margin:14px 0 0;padding-inline:4px}
.ds-brand-local-copy li{margin-bottom:12px;line-height:1.65}
@media(max-width:900px){.ds-brand-identity{align-items:start;flex-direction:column;gap:20px}.ds-brand-identity>.ds-button{align-self:start}}
@media(max-width:700px){
 .ds-company-header{padding-top:28px}
 .ds-brand-name{gap:14px}.ds-brand-identity-mark{width:56px;height:56px;flex-basis:56px;font-size:17px}
 .ds-brand-overview .ds-profile-panel h2{font-size:25px}
 .ds-profile-calculation>summary{padding:18px}
}

/* Keep score details together and tighten the city content rhythm. */
.ds-brand-score-area{width:340px;flex:0 0 340px;min-width:0}
.ds-brand-score-area .ds-brand-local-score{max-width:none;margin:0 0 12px}
.ds-brand-score-area .ds-profile-calculation>summary{padding:12px 16px;gap:4px}
.ds-brand-local-heading .ds-local-scope{font-size:12px;line-height:1.55;margin:10px 0 0;padding:0}
.ds-city-content>.ds-profile-panel{padding:20px 0;margin:0}
.ds-city-content>.ds-profile-panel>:last-child{margin-bottom:0}
.ds-city-content .ds-profile-panel h4{margin:0 0 16px}
.ds-city-content .ds-offices-list{gap:8px}
.ds-city-content .ds-office{padding:12px 0}
.ds-city-content .ds-office:last-child{padding-bottom:0}
.ds-city-content .ds-office h5{margin-bottom:8px}
.ds-city-content .ds-office p:last-child{margin-bottom:0}
.ds-city-content .ds-brand-local-copy li{margin-bottom:8px}
.ds-city-content .ds-brand-local-copy li:last-child{margin-bottom:0}
.ds-city-content .ds-source-check-date{font-size:13px;color:var(--ds-muted);margin:0 0 10px}
.ds-city-content .ds-brand-local-sources>.ds-source-grid{margin-top:16px}
@media(max-width:700px){
 .ds-brand-local-heading{flex-direction:column;gap:20px}
 .ds-brand-score-area{width:100%;flex-basis:auto}
 .ds-brand-score-area .ds-brand-local-score{text-align:left}
 .ds-city-content>.ds-profile-panel{padding-block:18px}
}

/* One city context, one score, optional calculation. */
.ds-profile-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.ds-brand-city-heading{align-items:center}
.ds-brand-city-heading h2{margin:0}
.ds-brand-single-city{margin:0;font-size:18px;font-weight:500}
.ds-brand-local-heading{padding:16px 0;gap:16px}
.ds-brand-local-heading .ds-brand-city-rank{margin:8px 0 0}
.ds-brand-score-area .ds-brand-local-score{margin-bottom:4px}
.ds-brand-score-area .ds-profile-calculation{border:0;background:transparent;overflow:visible}
.ds-brand-score-area .ds-profile-calculation>summary{display:flex;justify-content:flex-end;gap:8px;padding:4px 0;min-height:36px;font-size:14px;line-height:1.5;border:0;color:var(--ds-muted)}
.ds-brand-score-area .ds-profile-calculation>summary::after{content:'↓';display:inline-block}
.ds-brand-score-area .ds-profile-calculation[open]>summary::after{transform:rotate(180deg)}
.ds-score-calculation-body{padding:16px;margin-top:8px;border:1px solid var(--ds-rule);border-radius:var(--ds-radius);background:var(--ds-paper-2)}
.ds-brand-local-heading .ds-score-calculation-body .ds-local-scope{margin:0 0 16px}
.ds-score-calculation-body .ds-breakdown{padding:0}
@media(max-width:700px){
 .ds-brand-city-heading{flex-direction:row;flex-wrap:wrap;gap:12px}
 .ds-brand-city-heading h2{font-size:26px}
 .ds-brand-city-control{flex:1 1 160px;min-width:160px;width:auto;max-width:260px}
 .ds-brand-single-city{font-size:16px}
 .ds-brand-local-heading{gap:12px}
 .ds-brand-local-heading .ds-brand-city-rank{margin:0}
 .ds-brand-score-area .ds-profile-calculation>summary{justify-content:flex-start}
}

/* Native modal keeps the score calculation outside the page layout. */
html.ds-profile-dialog-open{overflow:hidden;scrollbar-gutter:stable}
.ds-brand-score-area .ds-score-dialog-trigger{display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;min-height:36px;padding:4px 0;border:0;background:transparent;color:var(--ds-muted);font:inherit;font-size:14px;cursor:pointer}
.ds-score-dialog-trigger::after{content:'↗'}
.ds-score-dialog-trigger:focus-visible,.ds-score-dialog-close:focus-visible{outline:2px solid var(--ds-accent);outline-offset:3px}
.ds-score-dialog{position:fixed;inset:0;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:24px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--ds-rule);border-radius:var(--ds-radius);background:var(--ds-paper-2);color:var(--ds-ink);font:inherit;box-shadow:0 20px 80px #211c4030;text-align:left}
.ds-score-dialog:not([open]){display:none}
.ds-score-dialog::backdrop{background:rgb(24 20 40 / 40%)}
.ds-score-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.ds-score-dialog-heading h2{margin:0;font-size:22px;line-height:1.3}
.ds-score-dialog-close{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;margin:-8px -8px -8px 0;padding:0;border:0;border-radius:8px;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer}
.ds-score-dialog-close:hover{background:var(--ds-rule)}
.ds-brand-local-heading .ds-score-dialog .ds-local-scope{font-size:12px;line-height:1.6;margin:0 0 20px;padding:0}
.ds-score-dialog .ds-breakdown{border:0;border-radius:0;padding:0;background:transparent}
@media(max-width:700px){
 .ds-brand-score-area .ds-score-dialog-trigger{justify-content:flex-start}
 .ds-score-dialog{padding:20px;max-height:calc(100dvh - 32px)}
}
