/* Geometry only; all approved V22 colors, fonts, media and glass variables remain. */
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-services .service-grid{
 --v23-card-width:min(350px,calc(100vw - 90px));
 display:grid!important;grid-template-columns:var(--v23-card-width)!important;grid-template-rows:auto!important;
 justify-content:center!important;align-items:stretch!important;gap:0!important;
 height:auto!important;min-height:0!important;padding:22px 0 90px!important;margin:0!important;
}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-services .service-photo-card{
 grid-area:1 / 1!important;position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
 width:var(--v23-card-width)!important;max-width:none!important;margin:0!important;height:auto!important;
 align-self:stretch!important;display:flex!important;flex-direction:column!important;min-width:0!important;
}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-services .service-photo-frame{flex:none!important}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-services .service-card-body{flex:1;display:flex;flex-direction:column;min-width:0}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-services .service-card-details{margin-top:auto!important;padding-top:16px!important}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-services .service-card-body :is(h3,p){overflow-wrap:anywhere;min-width:0}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .why-composition{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;gap:48px}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .why-composition>*{min-width:0}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .map-market-list{padding:0!important;margin:0!important;width:100%;min-width:0}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .why-principles{display:grid;grid-template-rows:repeat(3,minmax(min-content,1fr));gap:18px;align-self:stretch}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .why-principle{min-width:0;margin:0;overflow-wrap:anywhere}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-grid{align-items:stretch!important;grid-auto-rows:minmax(56px,auto)}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card{display:flex!important;min-width:0;min-height:0}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>:is(.z11-source-button,.source-details){width:100%;height:auto!important;min-height:56px;box-sizing:border-box;align-self:stretch}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details{
 border-radius:14px!important;border:1px solid var(--v21-edge)!important;
 background:linear-gradient(130deg,color-mix(in srgb,var(--v18-surface) 40%,transparent),color-mix(in srgb,var(--v18-tint) 12%,transparent) 60%,color-mix(in srgb,var(--v18-light) 18%,transparent))!important;
 box-shadow:var(--v21-line),0 4px 10px var(--v21-shadow)!important;
}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main :is(.p5-law-card>.z11-source-button,.p5-law-card>.source-details>summary){
 padding:14px 16px!important;font-size:16px!important;line-height:1.6!important;font-weight:600!important;
 min-height:56px;display:flex!important;align-items:center;justify-content:space-between;gap:12px;
 margin:0!important;box-sizing:border-box;overflow-wrap:anywhere;
}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details>summary{min-height:54px}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details:not([open])>summary{height:100%}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details>summary::-webkit-details-marker{display:none}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details>summary::marker{content:''}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details>div{padding:0 16px 16px!important}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card>.source-details>summary:focus-visible{outline:2px solid var(--v18-accent);outline-offset:3px;border-radius:14px}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card svg{flex:none}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card .v23-disclosure-icon{transition:transform .18s}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-card details[open] .v23-disclosure-icon{transform:rotate(180deg)}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .p5-law-grid:has(details[open]){align-items:start!important}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .v31-project-context{padding:28px!important;box-sizing:border-box;min-width:0}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .v31-project-context :is(h2,h3):first-child{margin-top:0!important}
html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .v31-project-context p:last-child{margin-bottom:0!important}
@media(max-width:900px){
 html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .why-composition{grid-template-columns:minmax(0,1fr);align-items:start;gap:32px}
 html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-why .why-principles{grid-template-rows:none;grid-auto-rows:auto;gap:16px}
}
@media(max-width:700px){html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .v31-project-context{padding:20px!important}}
@media(prefers-reduced-motion:reduce){.v23-disclosure-icon{transition:none!important}}
#local-review-controls:not([open]) summary::after{content:none!important}
/* Browser audit: the old -20px trailing margin exceeded the mobile
   container's 18px gutter. Keep this horizontally scrollable strip in bounds. */
@media(max-width:700px){
 html[data-theme] body[data-v18][data-v19][data-v20][data-v21] main#main .home-markets .market-thumbnails{width:100%!important;max-width:100%;margin-right:0!important;min-width:0}
}
