@font-face{font-family:"Plus Jakarta Sans PB";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/fonts/plus-jakarta-sans-400-latin.woff2") format("woff2")}
@font-face{font-family:"Plus Jakarta Sans PB";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/fonts/plus-jakarta-sans-400-latin.woff2") format("woff2")}
html:root{--sans:"Plus Jakarta Sans PB",Arial,sans-serif;--brand:"Plus Jakarta Sans PB",Arial,sans-serif;--serif:"Newsreader",Georgia,serif}
/* Actual homepage scale and palette. Only font consistency, header and soft corners. */
body{--sans:"Plus Jakarta Sans PB",Arial,sans-serif;--brand:"Plus Jakarta Sans PB",Arial,sans-serif;--serif:"Newsreader",Georgia,serif;font-family:var(--sans)}
body :is(.eyebrow,.price-kicker,.person-role,.situation-card>span,.service-num){font-family:var(--sans)!important;font-weight:700!important;text-transform:none!important;letter-spacing:.03em!important}
body :is(.nav-practice>a,.nav-resources>a,.nav-more-areas>summary){font-family:var(--sans)!important;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;line-height:1.5;font-weight:700!important}
body .nav-cta{font-family:var(--sans)!important;font-size:12px!important;letter-spacing:0!important;text-transform:none!important;border-radius:7px;min-height:44px;padding-inline:18px;font-weight:700!important}
body .topbar{font-size:11.5px;letter-spacing:.025em}
body :is(.situation-card,.price-card,.person,.resource-card){border-radius:10px!important}
body :is(button,.button){font-family:var(--sans)!important;border-radius:7px}
body .pb-private-shortcut{font-family:var(--sans)!important}
body .pb-intake *{font-family:var(--sans)!important}
/* The Labour consultation keeps its original dark surface and light ink. */
body .price-card.featured>p:not(.price-kicker){color:#e5edef!important}
body .price-card.featured :is(.price,.price strong,.price span,.home-laboral-complete strong,.price-detail-link,.home-laboral-complete a){color:#fff!important}
body .price-card.featured .price-kicker{color:#dfb47f!important}
body .price-card.featured .button-accent{color:#102b36!important;font-weight:700}
body .home-laboral-complete{line-height:1.7}
body .home-laboral-complete a{display:inline-block;margin-top:8px;text-underline-offset:3px}
body .section-heading>p a{color:#173e50;font-weight:700;text-underline-offset:3px}

body :is(input,textarea,select){font-family:var(--sans)}
body :is(h1,h2){font-family:var(--serif);text-transform:none}
body :is(.service-tariff-hero h1,.price-card h3){font-family:var(--serif)!important}
body :is(.service-price-card,.service-overview article,.tariff-row,.area-route-card,.guide-consult,.resource-card-grid>a){border-radius:10px}
.consultation-document-note{display:block;font:400 .78rem/1.55 var(--sans);margin-top:12px;color:var(--muted)}
.guide-consult .consultation-document-note{color:#c3d0d4}
.price-card .consultation-document-note{margin-top:auto;padding-top:16px}
.consultation-page-note{padding-block:12px 24px}
.price-final-total{display:block;font:400 .8rem/1.5 var(--sans);color:var(--muted);margin-top:6px}
.service-credit-note{padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:var(--paper);margin:20px 0}
.service-credit-note h2{font-size:1.35rem;margin:0 0 8px}
.service-credit-note p{margin:0;font-size:.9rem}
.payment-form-area .service-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.service-options .service-option{height:100%;border-radius:10px;align-items:start}
.service-options .service-option>span{display:flex;flex-direction:column;min-width:0;gap:7px;height:100%}
.service-options .service-option b{margin-top:auto;font-size:1.25rem}
.payment-form-area .consultation-document-note{margin:10px 0 18px}
.footer.footer--compact .footer-grid{grid-template-columns:minmax(160px,1.1fr) minmax(270px,1.7fr) minmax(130px,1fr) minmax(140px,1fr);gap:30px;align-items:start}
.footer .footer-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;align-items:start}
.footer .footer-services>h3{grid-column:1/-1}
.footer :is(h3,a){text-transform:none;letter-spacing:0}
.footer h3{font-family:var(--sans);font-weight:700}
.footer .footer-services>a{margin:0;line-height:1.5;padding-block:5px}
.footer-bottom{gap:16px;align-items:center}
@media(max-width:1000px){.footer.footer--compact .footer-grid{grid-template-columns:1.1fr 1.6fr 1fr;gap:25px}.footer.footer--compact .footer-grid>div:last-child{grid-column:2/4}.payment-form-area .service-options{grid-template-columns:1fr}}
@media(max-width:650px){.footer.footer--compact .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.footer.footer--compact .footer-grid .footer-brand{grid-column:1/-1}.footer.footer--compact .footer-services{grid-column:1/-1}.footer.footer--compact .footer-grid>div:last-child{grid-column:auto}.footer-bottom{display:flex;align-items:flex-start;flex-direction:column;gap:10px}.service-credit-note{padding:18px}.payment-form-area .service-options{grid-template-columns:1fr}}

.service-resource-context{font-size:.92rem;color:var(--muted);max-width:80ch;margin:8px 0 18px}.service-scope-list{margin:12px 0 18px;padding-left:20px;font-size:.92rem;color:var(--muted)}.service-scope-list li{margin-block:7px}.service-price-card>a.button{margin-top:auto}.resource-professional-next{padding-block:24px}.guide-toc{display:flex;flex-wrap:wrap;gap:10px 18px;padding-bottom:20px}

body :is(legend,input,select,textarea,label){font-family:var(--sans)!important}.payment-intro a:not(.button){color:#f0cda2;text-decoration:underline;text-underline-offset:3px}.payment-intro a:not(.button):hover{color:#fff}.payment-selection-summary{line-height:1.65}.service-price-card .button{margin-top:auto}
.payment-progress{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.payment-progress li{min-width:0;white-space:normal;font-size:.8rem;line-height:1.45}.payment-progress li span{display:block;margin-bottom:6px}.payment-after-details summary{font:700 .86rem/1.5 var(--sans);cursor:pointer;color:#e2eae8;padding-block:4px}.payment-after-details[open] summary{margin-bottom:16px}.payment-after-details:not([open]){padding-bottom:16px}

/* One balanced navigation rhythm; purpose-specific receipt/payment footers stay concise. */
.footer.footer--balanced{padding-block:38px 24px}
.footer.footer--balanced .footer-grid{grid-template-columns:minmax(170px,1.1fr) minmax(285px,1.8fr) minmax(150px,1fr) minmax(150px,1fr);gap:32px;align-items:start}
.footer.footer--balanced .footer-grid>div,.footer.footer--balanced .footer-grid>div:last-child{grid-column:auto;display:block}
.footer.footer--balanced h3{font:700 .86rem/1.5 var(--sans);margin:0 0 12px;color:inherit;letter-spacing:0}
.footer.footer--balanced .footer-link-list{list-style:none;padding:0;margin:0;display:block}
.footer.footer--balanced .footer-link-list li{margin:0;padding:0;min-width:0}
.footer.footer--balanced .footer-link-list a{display:block;margin:0;padding:6px 0;min-height:32px;font:400 .82rem/1.5 var(--sans);text-transform:none;letter-spacing:0}
.footer.footer--balanced .footer-services>.footer-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto);grid-auto-flow:column;gap:0 18px}
.footer.footer--balanced .footer-brand img{display:block;width:min(100%,216px);height:auto;margin:0}
.footer.footer--balanced .footer-brand p{font:400 .84rem/1.6 var(--sans);margin:16px 0 12px;max-width:28ch}
.footer-calma-trigger{display:inline-flex!important;align-items:center;gap:12px;min-height:34px;width:max-content;max-width:100%;padding:7px 11px!important;margin:0!important;border:1px solid currentColor;border-radius:7px;font:700 .75rem/1.45 var(--sans)!important;text-decoration:none}
.footer.footer--balanced .footer-bottom{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-top:26px;padding-top:18px;font:400 .72rem/1.55 var(--sans)}
.footer.footer--balanced .footer-bottom span{display:block;min-width:0;margin:0}
.footer.footer--balanced .footer-legal{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px 20px;margin-top:10px}
.footer.footer--balanced .footer-legal a{font:400 .72rem/1.5 var(--sans);margin:0;padding:4px 0;min-height:24px}
.pb-intake[data-page-footer-visible="1"] .pb-launcher{display:none!important}
.payment-flow-footer,.success-footer,.site-footer{font-family:var(--sans)!important}
.payment-flow-footer .payment-flow-wrap{display:flex;justify-content:space-between;align-items:start;gap:16px;flex-wrap:wrap}
.payment-flow-footer .payment-flow-wrap>div,.success-footer .success-contact{display:flex;gap:10px 18px;flex-wrap:wrap;align-items:start}
.payment-flow-footer a,.success-footer a{line-height:1.55;margin:0;font-family:var(--sans)!important}
.site-footer .footer-inner{gap:16px;align-items:start}.site-footer .footer-inner nav{display:flex;flex-wrap:wrap;gap:10px 20px}.site-footer .footer-calma-trigger,.site-footer .social-footer-copyright{display:block;clear:both}.social-footer-copyright{font-size:.72rem;line-height:1.6}
@media(max-width:1050px){.footer.footer--balanced .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 42px}.footer.footer--balanced .footer-grid>div:last-child{grid-column:auto}}
@media(max-width:650px){.footer.footer--balanced{padding-block:30px 22px}.footer.footer--balanced .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 22px}.footer.footer--balanced .footer-grid .footer-brand,.footer.footer--balanced .footer-grid .footer-services{grid-column:1/-1}.footer.footer--balanced .footer-brand img{margin-inline:auto;width:200px}.footer.footer--balanced .footer-brand p{max-width:none;text-align:center}.footer.footer--balanced .footer-brand .footer-calma-trigger{margin-inline:auto!important}.footer.footer--balanced .footer-bottom{flex-direction:column;gap:8px;margin-top:24px}.footer.footer--balanced .footer-legal{justify-content:flex-start;gap:6px 18px}.footer.footer--balanced .footer-link-list a{min-height:34px;padding-block:7px}.payment-flow-footer .payment-flow-wrap{flex-direction:column;gap:12px}}

.guide-content article :is(.guide-toc,.article-toc){display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:7px}.guide-content article :is(.guide-toc,.article-toc)>a{display:inline-block;padding:8px 11px;min-height:34px;font:700 .8rem/1.45 var(--sans);color:#165b91;text-decoration:none;border-radius:5px;background:var(--surface)}
@media screen{.guide-content article :is(.guide-toc,.article-toc)>a{color:var(--ink,#102e3c)}}
@media screen and (forced-colors:active){.guide-content article :is(.guide-toc,.article-toc)>a{color:#165b91}}.guide-content article a:not(.button),.model-detail-content article a:not(.button){color:#165b91;text-underline-offset:3px}
@media screen{.guide-content article a:not(.button),.model-detail-content article a:not(.button){color:var(--ink,#102e3c)}}
@media screen and (forced-colors:active){.guide-content article a:not(.button),.model-detail-content article a:not(.button){color:#165b91}}.footer.footer--balanced .footer-brand>a:first-child{display:block;margin:0}.guide-toc a:focus-visible,.footer a:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:650px){.model-detail-index{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible!important}.model-detail-index>a{white-space:normal!important;margin:0!important;padding:10px 12px}.model-detail-index>a:last-child:nth-child(odd){grid-column:1/-1}}

@media(max-width:650px){.model-detail-index{grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-template-rows:none!important}.model-detail-index>a{min-width:0!important;width:100%;box-sizing:border-box}}

/* Shared content/action tracks align the controls; their heights come from real content. */
.home-consultation-actions .calma-entry{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:64px;max-width:100%;margin:0;padding:11px 16px;border:1px solid #a9c2c3;border-radius:7px;background:#173f4d!important;color:#fff!important;cursor:pointer;text-decoration:none;text-align:left;font-family:var(--sans)}
.home-consultation-actions .calma-entry img{width:40px;height:40px;margin:0;border-radius:8px;object-fit:cover}
.home-consultation-actions .calma-entry>span{display:block;min-width:0}
.home-consultation-actions .calma-entry strong{display:block;font:700 .88rem/1.45 var(--sans);color:#fff}
.home-consultation-actions .calma-entry small{display:block;font:400 .76rem/1.5 var(--sans);color:#e0ebed;margin-top:3px}
.home-consultation-actions .calma-entry:hover{background:#1e4c5b!important;color:#fff!important}
.home-consultation-actions .calma-entry:focus-visible{outline:3px solid #f0cda2;outline-offset:4px}
.home-page .pricing-grid--consultations{row-gap:14px}
.home-page .pricing-grid--consultations .price-card{display:grid;grid-template-rows:subgrid;grid-row:span 4;align-items:stretch;min-height:0;row-gap:14px}
.home-page .pricing-grid--consultations .price-card:hover{transform:none}
.pricing-grid--consultations .price-card-heading{grid-row:1;min-width:0}
.pricing-grid--consultations .price-card-description{grid-row:2;min-width:0}
.home-page .pricing-grid--consultations .price-card-description>p{margin:0;font-size:.8rem;line-height:1.6}
.home-page .pricing-grid--consultations .price-card.featured .price-card-description>p{color:#e5edef}
.home-page .pricing-grid--consultations .price-card>.button{grid-row:3;width:100%;min-height:48px;height:100%;margin:0;padding:10px 12px;white-space:normal;text-align:center;line-height:1.4;justify-content:center;align-self:stretch;box-sizing:border-box}
.pricing-grid--consultations .price-card-secondary{grid-row:4;min-width:0}
.pricing-grid--consultations .price-card-secondary .home-laboral-complete{margin:0;padding-top:12px;font-size:.8rem;line-height:1.6}
.pricing-grid--consultations .home-laboral-complete a{display:block;margin:0;line-height:1.6}
.pricing-grid--consultations .home-laboral-complete a span{display:block;margin-top:2px}
.home-page .pricing-grid--consultations .price-detail-link{display:inline-block;margin-top:10px;font-size:.72rem;line-height:1.6}
.consultation-options__grid--aligned{row-gap:16px}
.consultation-options__grid--aligned .consultation-option{display:grid;grid-template-rows:subgrid;grid-row:span 4;align-items:stretch;row-gap:14px}
.consultation-options__grid--aligned .consultation-option--labor{position:relative;border-top-width:1px}
.consultation-options__grid--aligned .consultation-option--labor:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent);border-radius:10px 10px 0 0;pointer-events:none}
.consultation-options__grid--aligned .consultation-card-heading{grid-row:1;min-width:0}
.consultation-options__grid--aligned .consultation-card-description{grid-row:2;min-width:0}
.consultation-options__grid--aligned .consultation-card-description>p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.65}
.consultation-options__grid--aligned .consultation-option>.button{grid-row:3;width:100%;min-height:48px;height:100%;margin:0;white-space:normal;text-align:center;justify-content:center;align-self:stretch;box-sizing:border-box}
.consultation-options__grid--aligned .consultation-option__secondary{grid-row:4;margin:0;line-height:1.6;align-self:start}
.consultation-gateway .site-header .nav-cta{color:#fff!important}
.tariff-row h3>a,.tariff-plan h3>a{color:#165b91;text-decoration:none;text-underline-offset:3px}
.tariff-row h3>a:visited,.tariff-plan h3>a:visited{color:#165b91}
.tariff-row h3>a:hover,.tariff-plan h3>a:hover{text-decoration:underline}
.tariff-row h3>a:focus-visible,.tariff-plan h3>a:focus-visible{outline:2px solid currentColor;outline-offset:4px;text-decoration:underline}
.consultation-price-trigger{display:inline-flex;align-items:center;min-height:24px;margin:0;padding:0 2px;border:0;border-bottom:1px dotted currentColor;background:none;color:inherit;font:inherit!important;font-weight:700!important;cursor:pointer;border-radius:12px!important}
.consultation-price-trigger:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.consultation-price-popover{position:fixed;z-index:1100;display:block;max-width:calc(100vw - 32px);padding:14px 16px;border:1px solid #c8d5d6;border-radius:8px;background:#fff;color:#183b47;box-shadow:0 10px 32px rgba(16,46,60,.16);font:400 .82rem/1.6 var(--sans);text-align:left;box-sizing:border-box}
.consultation-price-popover[hidden]{display:none!important}
.footer .footer-calma-trigger,.site-footer .footer-calma-trigger{display:grid!important;grid-template-columns:36px minmax(0,1fr) 12px;align-items:center;gap:10px;width:100%;max-width:290px;min-height:62px;padding:10px 12px!important;border:1px solid #b58a55;background:rgba(213,181,142,.08);color:#fff;text-align:left;box-sizing:border-box}
/* Existing Italian extra-links assistant: let the footer stone remain the material. */
@media screen{
 body footer.footer--it-strip .footer-calma-trigger{
  border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 3px 9px rgba(0,0,0,.12);
 }
 body footer.footer--it-strip .footer-calma-copy strong{font-size:.875rem;line-height:1.4}
 body footer.footer--it-strip .footer-calma-copy small{font-size:.75rem;line-height:1.5}
 body footer.footer.footer--local-strip.footer--it-strip .footer-calma-trigger:focus-visible{border-radius:12px;outline:2px solid #fff1d8;outline-offset:4px}
}
@media screen and (forced-colors:active){
 body footer.footer--it-strip .footer-calma-trigger{background-image:none;background-color:Canvas;color:LinkText;box-shadow:none;border-color:LinkText}
 body footer.footer--it-strip .footer-calma-copy small{color:LinkText}
 body footer.footer.footer--local-strip.footer--it-strip .footer-calma-trigger:focus-visible{outline-color:Highlight}
}
.footer .footer-calma-trigger img,.site-footer .footer-calma-trigger img{display:block;width:36px!important;height:36px!important;margin:0!important;border-radius:50%;object-fit:cover}
.footer-calma-copy{display:block;min-width:0}
.footer-calma-copy strong{display:block;font:700 .8rem/1.45 var(--sans);color:inherit}
.footer-calma-copy small{display:block;margin-top:3px;font:400 .72rem/1.5 var(--sans);color:#d9e4e2}
.footer .footer-calma-trigger:hover,.site-footer .footer-calma-trigger:hover{background:rgba(213,181,142,.16);color:#fff}
.footer .pb-private-shortcut--inline{width:max-content!important;max-width:100%;min-height:34px!important;padding:6px 10px!important;margin-top:12px!important;background:transparent!important;color:#d9e4e2!important;border-color:#8caaa3;font:400 .72rem/1.5 var(--sans)!important}
@supports not (grid-template-rows:subgrid){.home-page .pricing-grid--consultations .price-card,.consultation-options__grid--aligned .consultation-option{display:flex;flex-direction:column;gap:14px}.home-page .pricing-grid--consultations .price-card>.button,.consultation-options__grid--aligned .consultation-option>.button{height:auto}}
@media(max-width:650px){.home-page .pricing-grid--consultations .price-card,.consultation-options__grid--aligned .consultation-option{grid-template-rows:auto auto auto auto;grid-row:auto}.footer .footer-calma-trigger{margin-inline:auto!important}.footer .pb-private-shortcut--inline{margin-inline:auto!important}.pricing-grid--consultations .price-card-secondary{grid-row:4}}

/* Consultation overview: three shared rows; Labour's separate service sits below the whole grid. */
.home-page .pricing-grid--consultations .price-card{grid-row:span 3}
.home-page .home-laboral-followup{display:flex;align-items:center;justify-content:space-between;gap:18px 32px;margin:18px 8px 0;padding:18px 20px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink)}
.home-page .home-laboral-followup>p{margin:0;font:400 .82rem/1.6 var(--sans);min-width:0}
.home-laboral-followup>p strong,.home-laboral-followup>p span{display:block}
.home-laboral-followup>p strong{font-weight:700}
.home-laboral-followup>p span{margin-top:4px}
.home-laboral-followup-links{display:flex;flex-direction:column;gap:8px;min-width:0}
.home-page .home-laboral-followup-links>a{font:700 .8rem/1.5 var(--sans);color:#165b91;text-underline-offset:3px;padding-block:3px}
.home-laboral-followup-links>a:focus-visible,.pricing-scope-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.home-page .pricing-scope{max-width:96ch;margin:22px auto 0;text-align:center;scroll-margin-top:180px}
.home-page .pricing-scope .pricing-note{max-width:none;margin:0;color:#40575e;font:400 .82rem/1.7 var(--sans)}
.home-page .pricing-scope-link{display:inline-block;margin-top:10px;padding-block:4px;font:700 .82rem/1.5 var(--sans);color:#165b91;text-underline-offset:3px}
.consultation-page-note>.consultation-document-note{max-width:96ch;margin:0 auto;color:#40575e;line-height:1.7;text-align:center}
@media(max-width:900px){.home-page .home-laboral-followup{align-items:flex-start;flex-direction:column;gap:12px}.home-page .pricing-scope{max-width:80ch}}
@media(max-width:650px){.home-page .pricing-grid--consultations .price-card{grid-template-rows:auto auto auto;grid-row:auto}.home-page .home-laboral-followup{margin-inline:8px;padding:16px}.home-page .pricing-scope{scroll-margin-top:110px}.home-page .pricing-scope .pricing-note,.consultation-page-note>.consultation-document-note{text-align:left}}

/* Notes for an entire card group share its centre; card-specific and form warnings stay untouched. */
body :is(.consultation-choice__note,.service-external-note,.contact-channels__note){max-width:96ch;margin-inline:auto;color:#40575e;text-align:center;line-height:1.7}
@media(max-width:650px){body :is(.consultation-choice__note,.service-external-note,.contact-channels__note){text-align:left}}


/* Guide navigation: one measured header offset, shared by anchors and index. */
html.pb-guide-offsets-ready {
  scroll-padding-top: calc(var(--pb-guide-header-height, 0px) + 16px);
}
html.pb-guide-offsets-ready :is(.editorial-anchor, .guide-content article > section[id], .guide-content article > h2[id], .seo-article h2[id], .imm-guide-sections > section[id], .seo-article > .rd723-model[id], .it-content article > h2[id], .it-content article > section[id]) {
  scroll-margin-top: 0;
}
/* Service price anchors share measured padding; do not add their static margin again. */
html.pb-guide-offsets-ready body.service-page #precio.service-prices {
  scroll-margin-top: 0;
}
html.pb-guide-offsets-ready :is(.seo-index, .it-index) {
  top: calc(var(--pb-guide-header-height, 0px) + 16px);
}
@media screen and (min-width: 901px) {
  html.pb-guide-offsets-ready :is(.seo-index, .it-index) {
    max-height: calc(100vh - var(--pb-guide-header-height, 0px) - 32px);
    max-height: calc(100dvh - var(--pb-guide-header-height, 0px) - 32px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
}

/* PB — shared control finish. Append to an existing shared stylesheet.
   Paint and corners only: no layout, typography, base palette or DOM changes.
   Specificity stays below the approved Home and #pb-intake-root overrides. */
html:root {
  --pb-ui-button-radius: 10px;
  --pb-ui-box-radius: 14px;
  --pb-ui-button-sheen: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 58%, rgba(16,46,60,.035));
  --pb-ui-button-shadow: inset 0 1px 0 rgba(255,255,255,.26), inset 0 -1px 0 rgba(16,46,60,.11), 0 2px 3px rgba(16,46,60,.07), 0 4px 10px rgba(16,46,60,.065);
  --pb-ui-button-shadow-hover: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(16,46,60,.12), 0 3px 5px rgba(16,46,60,.07), 0 7px 16px rgba(16,46,60,.10);
}

/* Native buttons include menu, add/remove-row, copy, search and icon controls.
   Inline price triggers and circular help controls retain their own geometry. */
html:root :is(
  a.button, a.btn, button,
  input[type="submit"], input[type="button"], input[type="reset"]
):where(:not(.consultation-price-trigger, .legal-help, .fiscal-help, .management-help)) {
  border-radius: var(--pb-ui-button-radius);
  box-shadow: var(--pb-ui-button-shadow);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

/* Keep native file inputs and their accepted formats, size and action intact. */
html:root input[type="file"]::file-selector-button {
  border-radius: var(--pb-ui-button-radius);
  box-shadow: var(--pb-ui-button-shadow);
}

@media (hover: hover) and (pointer: fine) {
  html:root :is(
    a.button, a.btn, button,
    input[type="submit"], input[type="button"], input[type="reset"]
  ):where(:not(.consultation-price-trigger, .legal-help, .fiscal-help, .management-help)):where(:not(:disabled, [disabled], [aria-disabled="true"], .is-disabled)):where(:hover) {
    transform: translateY(-2px);
    box-shadow: var(--pb-ui-button-shadow-hover);
  }
}

html:root :is(
  a.button, a.btn, button,
  input[type="submit"], input[type="button"], input[type="reset"]
):where(:not(.consultation-price-trigger, .legal-help, .fiscal-help, .management-help)):where(:not(:disabled, [disabled], [aria-disabled="true"], .is-disabled)):where(:active) {
  transform: translateY(0);
  box-shadow: inset 0 1px 2px rgba(16,46,60,.13), 0 1px 2px rgba(16,46,60,.06);
}

html:root :is(
  a.button, a.btn, button,
  input[type="submit"], input[type="button"], input[type="reset"]
):where(:focus-visible) {
  outline: 2px solid var(--accent, #b58c5c);
  outline-offset: 3px;
}

/* Do not animate disabled controls. Important only to suppress older hover
   rules on disabled controls; all normal component appearance stays in cascade. */
html:root :is(
  a.button, a.btn, button,
  input[type="submit"], input[type="button"], input[type="reset"]
):where(:disabled, [disabled], [aria-disabled="true"], .is-disabled) {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Text-entry boxes keep their original sizing, borders, fill and focus colour.
   Native choice, range, file and hidden controls are intentionally excluded. */
html:root :is(
  input:not([type="checkbox"], [type="radio"], [type="range"], [type="hidden"], [type="file"], [type="submit"], [type="button"], [type="reset"], [type="image"]),
  select, textarea
) {
  border-radius: 9px;
}

/* Explicit components observed in current public HTML and styles.
   No suffix/substring matching, generic article selector or overflow change. */
html:root :is(
  .service-card, .service-price-card, .price-card, .situation-card,
  .person, .person-card, .resource-card, .resource-preview-card,
  .model-card, .model-resource-card, .guide-index-card, .guide-video-card,
  .tool-card, .practice-hub-card, .area-route-card, .area-fee-card,
  .labor-price-card, .labor-fees-preview-card, .labor-fees-hero-card,
  .traffic-fee-card, .management-price-card, .management-contact-card,
  .company-price-card, .company-form-card, .prov-service-card, .prov-town-card,
  .i18n-card, .i18n-service-card, .imm-resource-card, .entry-card,
  .it-service-box, .it-academic-price-card, .it-investment-card,
  .crossborder-partner-card, .coverage-card,
  .payment-panel, .intake-panel, .service-request-panel, .service-checkout-panel,
  .contact-form, .contact-request__form, .contact-request__card,
  .legal-product-shell, .legal-product-form, .legal-product-result, .legal-form-section,
  .calculator-subpanel, .calculator-result, .dismissal-calculator,
  .temporary-disability-calculator, .unemployment-calculator,
  .traffic-calculator-app, .traffic-calculator-form,
  .traffic-formula-result, .traffic-live-result, .deadline-calculator, .deadline-result,
  .fiscal-tool-shell, .fiscal-progressive-panel, .cnae-result-panel,
  .site-search-box, .site-search-panel, .imm-tool-form, .imm-result, .pbx-result, .pbf-result,
  .notice-box, .legal-caution, .imm-guide-caution, .prov-local-notice,
  .fiscal-review-notice, .service-request-notice, .service-credit-note,
  .service-fit-note, .claim-purpose-note
) {
  border-radius: var(--pb-ui-box-radius);
}

/* Actual linked cards can respond to the pointer without styling text links,
   navigation links, filters, tooltips or non-interactive panels as buttons. */
html:root :is(
  a.model-card, a.model-resource-card, a.guide-index-card, a.tool-card,
  a.resource-card, a.resource-preview-card, a.practice-hub-card,
  a.area-route-card, a.prov-town-card, a.i18n-card, a.entry-card
) {
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

@media (hover: hover) and (pointer: fine) {
  html:root :is(
    a.model-card, a.model-resource-card, a.guide-index-card, a.tool-card,
    a.resource-card, a.resource-preview-card, a.practice-hub-card,
    a.area-route-card, a.prov-town-card, a.i18n-card, a.entry-card
  ):where(:not([aria-disabled="true"], .is-disabled)):where(:hover) {
    transform: translateY(-2px);
  }
}

html:root :is(
  a.model-card, a.model-resource-card, a.guide-index-card, a.tool-card,
  a.resource-card, a.resource-preview-card, a.practice-hub-card,
  a.area-route-card, a.prov-town-card, a.i18n-card, a.entry-card
):where(:focus-visible) {
  outline: 2px solid var(--accent, #b58c5c);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  /* Override decorative hover rules even when a page loads an older stylesheet
     later. Only direct controls and linked cards are affected, not layout panels. */
  html:root :is(
    a.button, a.btn, button,
    input[type="submit"], input[type="button"], input[type="reset"],
    a.model-card, a.model-resource-card, a.guide-index-card, a.tool-card,
    a.resource-card, a.resource-preview-card, a.practice-hub-card,
    a.area-route-card, a.prov-town-card, a.i18n-card, a.entry-card
  ):where(:not(.consultation-price-trigger, .legal-help, .fiscal-help, .management-help)) {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active) {
  html:root :is(
    a.button, a.btn, button,
    input[type="submit"], input[type="button"], input[type="reset"]
  ) {
    background-image: none;
    box-shadow: none;
  }
  html:root :is(a.button, a.btn, button):where(:focus-visible) {
    outline-color: Highlight;
  }
}

@media print {
  html:root :is(
    a.button, a.btn, button,
    input[type="submit"], input[type="button"], input[type="reset"]
  ) {
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* PB — explicit boxed CTA aliases, verified against their original rules.
   No background-image assignment: original fills/gradients remain authoritative.
   Editorial, index and unboxed navigation links are deliberately not included. */
html:root :is(
  .entry-subactions a,
  .monitorio-index__cta,
  .coverage-card .coverage-contact,
  .fiscal-card-links a,
  .practical-service-actions a:first-child,
  .prov-town-actions a:last-child,
  .seo-intent-links a,
  .claim-purpose-note>a,
  .no-payment-routes a,
  .error-links a,
  .topbar .topbar-urgency,
  .topbar .topbar-client-access-v223
) {
  border-radius: var(--pb-ui-button-radius, 10px);
  box-shadow: var(--pb-ui-button-shadow);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}

@media (hover: hover) and (pointer: fine) {
  html:root :is(
    .entry-subactions a, .monitorio-index__cta, .coverage-card .coverage-contact,
    .fiscal-card-links a, .practical-service-actions a:first-child,
    .prov-town-actions a:last-child, .seo-intent-links a, .claim-purpose-note>a,
    .no-payment-routes a, .error-links a, .topbar .topbar-urgency,
    .topbar .topbar-client-access-v223
  ):where(:not([aria-disabled="true"], .is-disabled)):where(:hover) {
    transform: translateY(-2px);
    box-shadow: var(--pb-ui-button-shadow-hover);
  }
}

html:root :is(
  .entry-subactions a, .monitorio-index__cta, .coverage-card .coverage-contact,
  .fiscal-card-links a, .practical-service-actions a:first-child,
  .prov-town-actions a:last-child, .seo-intent-links a, .claim-purpose-note>a,
  .no-payment-routes a, .error-links a, .topbar .topbar-urgency,
  .topbar .topbar-client-access-v223
):where(:not([aria-disabled="true"], .is-disabled)):where(:active) {
  transform: translateY(0);
  box-shadow: inset 0 1px 2px rgba(16,46,60,.13), 0 1px 2px rgba(16,46,60,.06);
}

html:root :is(
  .entry-subactions a, .monitorio-index__cta, .coverage-card .coverage-contact,
  .fiscal-card-links a, .practical-service-actions a:first-child,
  .prov-town-actions a:last-child, .seo-intent-links a, .claim-purpose-note>a,
  .no-payment-routes a, .error-links a, .topbar .topbar-urgency,
  .topbar .topbar-client-access-v223
):where(:focus-visible) {
  outline: 2px solid var(--accent, #b58c5c);
  outline-offset: 3px;
}

/* Real bordered/padded resource cards without a common card class.
   Only corner rounding: their colours, image fills, borders and hover remain. */
html:root :is(
  .area-resource-grid a, .area-case-grid>.area-case-link,
  .seo-related-list a, .team-practice-grid-v211 a, .coverage-service-links a,
  .imm-related-strip a, .it-resource-grid a, .monitorio-model-grid a,
  .prov-resource-row a, .service-resource-link, .pbx-related a, .pbf-related a,
  .i18n-resources a, .profile-focus a, .resource-card-grid>a,
  .province-service-grid>a, .service-overview article, .practical-resource-grid article
) {
  border-radius: var(--pb-ui-box-radius, 14px);
}

/* Existing compact bordered locality chips retain link appearance and motion. */
html:root :is(.prov-town-links a, .prov-directory-localities a) {
  border-radius: var(--pb-ui-button-radius, 10px);
}

html:root :is(
  .entry-subactions a, .monitorio-index__cta, .coverage-card .coverage-contact,
  .fiscal-card-links a, .practical-service-actions a:first-child,
  .prov-town-actions a:last-child, .seo-intent-links a, .claim-purpose-note>a,
  .no-payment-routes a, .error-links a, .topbar .topbar-urgency,
  .topbar .topbar-client-access-v223
):where([aria-disabled="true"], .is-disabled) {
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
  /* These aliases already have a visible box, so this only suppresses motion. */
  html:root :is(
    .entry-subactions a, .monitorio-index__cta, .coverage-card .coverage-contact,
    .fiscal-card-links a, .practical-service-actions a:first-child,
    .prov-town-actions a:last-child, .seo-intent-links a, .claim-purpose-note>a,
    .no-payment-routes a, .error-links a, .topbar .topbar-urgency,
    .topbar .topbar-client-access-v223
  ) {
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}

@media (forced-colors: active), print {
  html:root :is(
    .entry-subactions a, .monitorio-index__cta, .coverage-card .coverage-contact,
    .fiscal-card-links a, .practical-service-actions a:first-child,
    .prov-town-actions a:last-child, .seo-intent-links a, .claim-purpose-note>a,
    .no-payment-routes a, .error-links a, .topbar .topbar-urgency,
    .topbar .topbar-client-access-v223
  ) {
    box-shadow: none !important;
    transform: none !important;
  }
}

/* PB — remaining actual bordered/padded boxes, including catalogue accordions
   and the existing model sidebar. No overflow, padding or layout changes. */
html:root :is(
  .tariff-matter, .tariff-filters, .tariff-consultation,
  .model-detail-index, .model-search, .model-empty,
  .model-lead, .model-warnings, .model-inline-download, .model-basis,
  .pbf-report, .i18n-callout, .contact-request__warning,
  .monitorio-note, .tool-primer-note
) { border-radius: var(--pb-ui-box-radius, 14px); }
html:root .tariff-matter-heading {
  border-radius: var(--pb-ui-box-radius, 14px) var(--pb-ui-box-radius, 14px) 0 0;
}

html:root .tariff-matter:not([open])>.tariff-matter-heading { border-radius: inherit; }

/* PB446: keep the owner-only floating shortcut clear of the assistant on small screens. */
@media (max-width: 360px) {
  .pb-private-shortcut:not(.pb-private-shortcut--inline) { display: none !important; }
}

/* Mobile fiscal summaries keep a full reading column beside long plan labels. */
@media screen and (max-width:600px){
 body .fiscal-platform-v223 .fiscal-platform-plans-v223>article{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:6px}
 body .fiscal-platform-v223 .fiscal-platform-plans-v223>article>:is(span,strong,small){grid-column:1;grid-row:auto}
 body .fiscal-platform-v223 .fiscal-platform-plans-v223>article>strong{justify-self:start;white-space:normal}
}

/* Editorial text links and inset consultation bands share the approved theme. */
@media screen{
 body .seo-related .seo-related-grid>div>p a:not(.button){color:var(--ink,#102e3c);text-decoration:underline;text-underline-offset:3px}
 body .seo-related .seo-related-grid>div>p a:not(.button):focus-visible{outline:2px solid currentColor;outline-offset:3px}
 body main>section:is(.seo-cta,.model-review-cta){margin-inline:clamp(10px,2.3vw,30px);margin-bottom:24px;border-radius:var(--pb-ui-box-radius,14px);box-shadow:var(--pb-mat-shell-shadow)}
}
@media screen and (forced-colors:active){
 body .seo-related .seo-related-grid>div>p a:not(.button){color:LinkText}
 body main>section:is(.seo-cta,.model-review-cta){box-shadow:none}
}
