/* Pérez & Burgos — shared material finish.
   Load after the page's existing CSS and native-design.css; load the approved
   Home composition after this file. No content, route or state mutations. */
@font-face{font-family:"Newsreader";font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/newsreader-latin.woff2') format('woff2')}
@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-700-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;
 --ink:#102e3c;--ink-2:#173e50;--paper:#f6f3ed;--white:#fffdf9;--surface:#fffdf9;
 --accent:#b58c5c;--accent-2:#dfb47f;--muted:#53646a;--line:rgba(16,46,60,.16);
 --pb-mat-tile:840px 827px;
 --pb-mat-grain-layers:var(--pb-mat-tile),var(--pb-mat-tile),var(--pb-mat-tile);
 --pb-mat-green:linear-gradient(90deg,#08232b,transparent 23px,transparent calc(100% - 23px),#08232b),
   linear-gradient(180deg,#08232b,transparent 23px,transparent calc(100% - 23px),#08232b),url('/assets/pb-hero-slate-crop-af0898011dab.svg');
 --pb-mat-finish-tile:calc(620px * 808 / 840) calc(620px * 795 / 840);
 /* One continuous image covers each green surface. */
 --pb-mat-finish-layers:cover;
 --pb-mat-finish-green:url('/assets/pb-pizarra-continua-727a604ca148445e.webp');
 --pb-mat-ivory-tile:520px 520px;
 --pb-mat-ivory:url('/assets/pb-ivory-limestone-v1.webp');
 --pb-mat-light:linear-gradient(#f6f3edb8,#f6f3edb8),var(--pb-mat-ivory);
 --pb-mat-paper:linear-gradient(#fffdf9e8,#fffdf9e8),var(--pb-mat-ivory);
 --pb-mat-veil:linear-gradient(90deg,rgba(7,28,38,.18) 0%,rgba(7,28,38,.10) 42%,rgba(7,28,38,0) 68%);


 --pb-mat-finish-texture:var(--pb-mat-finish-green);
 --pb-mat-stone:var(--pb-mat-veil),var(--pb-mat-finish-texture);
 --pb-mat-footer:var(--pb-mat-stone);
 --pb-mat-radius:14px;--pb-mat-shell-radius:18px;--pb-ui-box-radius:14px;--pb-ui-button-radius:12px;
 --pb-mat-card-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 2px 4px rgba(17,46,52,.04),0 9px 22px rgba(17,46,52,.075);
 --pb-mat-shell-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 3px 6px rgba(17,46,52,.035),0 18px 38px rgba(17,46,52,.085);
 --pb-ui-button-sheen:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.025) 58%,rgba(16,46,60,.06));
 --pb-ui-button-shadow:inset 0 1px 0 rgba(255,255,255,.38),inset 0 -1px 0 rgba(16,46,60,.12),0 2px 0 rgba(10,35,43,.2),0 6px 14px rgba(10,35,43,.12);
 --pb-ui-button-shadow-hover:inset 0 1px 0 rgba(255,255,255,.42),inset 0 -1px 0 rgba(16,46,60,.12),0 3px 0 rgba(10,35,43,.2),0 9px 19px rgba(10,35,43,.16);
 /* Existing editorial scales, reused consistently rather than resizing forms. */
 --pb-page-title-size:clamp(2.4rem,3.5vw,3.3rem);
 --pb-section-title-size:clamp(1.72rem,2.55vw,2.65rem);
 --pb-article-title-size:clamp(1.62rem,2.2vw,2.12rem);
 --pb-copy-size:.94rem;--pb-copy-leading:1.6;
}
@media screen and (max-width:1199px){html:root{--pb-mat-veil:linear-gradient(#071c264d,#071c264d)}}
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);
 background-color:#f8f5ef;
 background-image:linear-gradient(#f8f5efc9,#f8f5efc9),var(--pb-mat-ivory);
 background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body :is(button,input,select,textarea,legend,label){font-family:var(--sans)}
body :is(.eyebrow,.price-kicker,.service-num,.person-role,.card-label){font-family:var(--sans);font-weight:700;letter-spacing:.03em}
body main :is(h1,h2,h3,h4){font-family:var(--serif)}
/* The few independent templates do not consume the shared editorial scale. */
body:is(.payment-page,.payment-flow,.success-page,.admin-login-page,.admin-body) h1,body:not(.payment-flow) .payment-page>.payment-panel h1{font-family:var(--serif);font-size:var(--pb-page-title-size);line-height:1.08}
body:is(.admin-login-page,.admin-body) :is(h2,h3,h4){font-family:var(--serif)}
/* Readable documents sit on quiet paper; the material is strongest in broad bands. */
body .payment-page,
body.payment-flow .payment-page,
body .success-main,
body :is(.services,.process-band,.locations,.team,.pricing,.practice-intro,.service-intro,
 .area-trustbar,.area-related,.area-pricing,.area-services,.service-tariff-hero,
 .model-intro,.model-boundary,.model-seo-guide,.model-related,.model-library-content,
 .legal-product-section,.fiscal-tool-section,.fiscal-results-section,.company-pricing-section,
 .company-online-section,.company-other-section,.company-calculator-section,
 .contact-channels,.consultation-options,.consultation-page-note,.contact-routing,
 .labor-fees-section,.labor-fees-preview,.management-section,.it-path,.it-proof,.it-compare,
 .it-academic-fees,.it-remote,.i18n-hero){
 background-color:var(--paper);
 background-image:var(--pb-mat-light);
 background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
/* Spain-Italy: the existing Home paper on its actual public bands. */
@media screen{
 body.italia-page :is(.it-proof-section,.it-resource-section,.it-admin-services,.it-remote-section,.partner-band){background-color:var(--paper);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
}
/* These heroes/bands have plain gradient fills, not narrative photo assets. */
body.error-body,
body:not(.payment-flow) .payment-page>.payment-panel,
body :is(.practice-hero,.service-hero,.it-guide-hero,.it-page-hero,.legal-hero,
 .seo-page-hero,.areas-hero,.model-hero,.model-detail-hero,.imm-hero,.monitorio-hero,
 .management-hero,.labor-fees-hero,.profile-hero,.verification-hero,
 .method,.contact,.seo-cta,.monitorio-cta,.preparation-band,.legal-product-scope,
 .legal-product-result,.fiscal-tool-summary,.i18n-next,.home-tools-shell,.candidate-section,
 .seo-alert,.guide-next-v222,.crossborder-partner,.pb-context-help-popover,.management-help span,
 .labor-complex,.labor-model-grid article.featured){
 background-color:var(--ink);
 background-image:var(--pb-mat-stone);
 background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
/* Spain-Italy green owners; the local veil keeps the existing small light ink readable. */
@media screen{
 body.italia-page :is(.it-hero.it-hero-direct,.it-compare-section,.it-academic-fee,.it-resource-grid a:first-child,.it-resource-grid a:last-child,.it-admin-grid article:nth-child(2),.it-compare-cards article:not(.is-spain)){
  background-color:var(--ink);background-image:linear-gradient(#051d234d,#051d234d),var(--pb-mat-stone);background-size:auto,auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
 body.italia-page .it-hero.it-hero-direct{height:auto;min-height:0;border-radius:var(--pb-mat-shell-radius,18px)}
 body.italia-page .it-hero.it-hero-direct::before{background:none}
 body.italia-page :is(.it-compare-section,.it-academic-fee){border-radius:var(--pb-mat-shell-radius,18px)}
 body.italia-page :is(.it-resource-grid a:first-child>span,.it-resource-grid a:last-child>span,.it-admin-grid article:nth-child(2)>span,.it-compare-cards article:not(.is-spain)>span){color:var(--accent-2,#dfb47f)}
 body.italia-page :is(.it-resource-grid a:first-child small,.it-resource-grid a:last-child small){color:#dce6e5}
}
@media screen and (min-width:601px){
 body.italia-page .it-hero.it-hero-direct{padding-block:60px 40px!important}
 body.italia-page .it-hero.it-hero-direct h1{max-width:24ch}
}
/* The photography in .hero-media, .it-hero and specialist image panels is untouched. */
body :is(.footer,.site-footer,.i18n-footer,.payment-flow-footer,.success-footer){
 background-color:#091f28;
 background-image:var(--pb-mat-footer);
 background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
@media screen and (max-width:650px){
 body footer.footer.footer--local-strip .local-footer-meta>span:nth-child(2){
  max-inline-size:clamp(0px,calc(100vw - 9rem),30ch);
  text-wrap:balance;
 }
}
/* Standard two-tier navigation: same floating caliza piece as the accepted Home. */
body .site-header{
 background-color:#173b40;
 background-image:linear-gradient(115deg,rgba(15,46,54,.79),rgba(31,66,68,.72)),var(--pb-mat-finish-texture);
 background-size:auto,var(--pb-mat-finish-layers);
 border-bottom-color:rgba(196,178,143,.25);
 overflow:visible;
 box-shadow:0 5px 16px rgba(5,29,35,.1);background-repeat:no-repeat;
 background-position:left top;
}
body .site-header>.nav.wrap{
 position:relative;
 width:min(1380px,calc(100% - 24px));max-width:1380px;
 margin:10px auto;padding-inline:12px;
 border:1px solid rgba(222,205,174,.85);border-radius:18px;
 background-color:#f4eee2;
 background-image:linear-gradient(rgba(255,252,245,.91),rgba(242,234,219,.92)),var(--pb-mat-ivory);
 background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:inset 0 1px 0 #fffdf7,0 2px 3px rgba(4,26,33,.15),0 8px 21px rgba(3,24,30,.19);
 overflow:visible;
}
body .site-header :is(.nav-services-menu,.nav-more-areas[open] .nav-services-menu){border-radius:14px}
body .site-header .nav-services-menu>a{border-radius:10px}
body .site-header .nav-secondary-resources>a:is([href='/herramientas-juridicas/'],[href='/modelos-y-escritos-juridicos/']){border-radius:9px}
/* Topbar WhatsApp: short real label and the existing contact green. */
@media screen{
 body .topbar a.whatsapp-link{
  display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:3px 10px;
  border:1px solid #69e795;border-radius:9px;font-weight:650;letter-spacing:.015em;text-decoration:none;white-space:nowrap;
 background-color:#25d366;
 background-image:linear-gradient(180deg,#ffffff12,#0000000a);
 border-color:#69e795;
 border-bottom-color:#128c4a;
 color:#073b31;
 box-shadow:inset 0 1px 0 #ffffff45,0 3px 0 #138747,0 7px 16px #001c2b30;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
 }
 body .topbar a.whatsapp-link:focus-visible{outline:2px solid #efd2a2;outline-offset:3px}
}
@media screen and (max-width:600px){
 body:is(.home-page,.coverage-page) .topbar a.whatsapp-link{font-size:.66rem}
 body:is(.home-page,.coverage-page) .topbar a.whatsapp-link::after{content:none}
}
@media screen and (hover:hover) and (pointer:fine){
 body .topbar a.whatsapp-link:hover{border-color:#b5f5ca;box-shadow:inset 0 1px 0 #ffffff66,0 4px 0 #138747,0 10px 20px #001b2940}
}
@media screen and (forced-colors:active){
 body .topbar a.whatsapp-link,
 body .topbar a.whatsapp-link:is(:hover,:focus-visible,:active){background-color:ButtonFace;background-image:none;border-color:ButtonText;color:ButtonText;box-shadow:none}
 body .topbar a.whatsapp-link:focus-visible{outline-color:Highlight}
}
body .topbar{
 background-color:#0c2834;
 background-image:linear-gradient(#0c2834b8,#0c2834b8),var(--pb-mat-finish-texture);
 background-size:auto,var(--pb-mat-finish-layers);
 border-bottom:1px solid rgba(218,193,150,.12);background-repeat:no-repeat;
 background-position:left top;
}
body .topbar :is(.topbar-client-access-v223,.topbar-urgency){
 border-radius:10px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.17),0 2px 4px rgba(0,16,23,.12);
}
/* International pages keep their own compact, language-aware header structure. */
body.pb-i18n .i18n-header{
 padding-block:8px;
 background-color:#173b40;
 background-image:linear-gradient(115deg,#173b40c9,#173b40b8),var(--pb-mat-finish-texture);
 background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
body.pb-i18n .i18n-header-inner{
 padding-inline:18px;border:1px solid rgba(222,205,174,.85);border-radius:18px;
 background-color:#f7f2e8;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-shell-shadow);
}
body .i18n-languages :is(a,span){border-radius:9px}
/* Neutral cards only: dark and featured variants are painted separately below. */
body :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,
 .contact-form,.contact-request__form,.contact-request__card,.service-request-panel,
 .service-checkout-panel,.site-search-box,.site-search-panel,.imm-tool-form,.model-value-grid article,
 .process-grid article,.case-list article,.location-grid article,.pathway-grid article,.it-path-grid article,
 .legal-card,.contract-card,.it-card,.it-decision-card,.it-scenario-card,
 .collaboration-intro,.collaboration-principles article){
 border-radius:var(--pb-mat-radius);
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-card-shadow);
}
/* Professional collaboration uses the same quiet shells as the Home. */
body :is(.candidate-section,.collaboration-intro,.candidate-shell){border-radius:var(--pb-mat-shell-radius)}
body .candidate-section{margin-bottom:28px}
body .candidate-copy .candidate-privacy{border-radius:var(--pb-mat-radius)}
/* Four reviewed tools: actual remaining owners reuse Home stone/paper. */
@media screen and (forced-colors:none){
 body.calculator-page-trafico .traffic-scope{background-color:var(--ink);background-image:linear-gradient(#051d234d,#051d234d),var(--pb-mat-stone);background-size:auto,auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
}
 body:is(.calculator-page-trafico,.calculator-page-plazos,.offer-analyzer-page,.traffic-updater-page) .seo-content>.seo-article,
 body.calculator-page-trafico #traffic-legal-version:not(.is-warning):not(.is-ok),
 body.traffic-updater-page .legal-rate-table{background-color:var(--paper);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);box-shadow:var(--pb-mat-card-shadow)}
 body.traffic-updater-page .legal-rate-table>div{background:transparent}
}
@media screen{body.calculator-page-trafico .traffic-inline-alert{border-radius:var(--pb-mat-radius,14px);box-shadow:var(--pb-mat-card-shadow)}}
/* Reviewed Italian guide owners: keep the existing text, columns and controls. */
@media screen and (forced-colors:none){
 body .it-content{
  border-radius:var(--pb-mat-shell-radius,18px);background-color:var(--white,#fffdf9);
  background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;
 }
 body .it-content::before{left:18px;border-radius:999px}
 body .it-article a:not(.button){color:var(--ink,#102e3c)}
 body .it-article a:not(.button):is(:hover,:focus-visible){color:#815a35}
 body .it-guide-facts>span{
  border-radius:var(--pb-mat-radius,14px);background:rgba(5,29,35,.302);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 3px 8px rgba(5,29,35,.12);
 }
 body .it-content :is(.it-exam-grid,.it-inline-compare,.it-document-grid,.seo-facts){gap:12px;border:0;background:transparent}
 body .it-content :is(.it-exam-grid,.it-inline-compare,.seo-facts)>div,
 body .it-content .it-document-grid>article{
  min-height:0;border:1px solid var(--line);border-radius:var(--pb-mat-radius,14px);
  background-color:var(--paper);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;
  box-shadow:var(--pb-mat-card-shadow);
 }
 body .it-content .it-inline-compare>div>span{color:#815a35}
 body .it-content :is(.legal-caution,.it-service-box){background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat}
 body .it-content .it-timeline{gap:12px;background:transparent}
 body .it-content .it-timeline>div{
  min-height:0;border:1px solid rgba(255,255,255,.2);border-radius:var(--pb-mat-radius,14px);
  background-color:#123744;background-image:linear-gradient(#051d234d,#051d234d),var(--pb-mat-stone);
  background-size:auto,auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;box-shadow:var(--pb-mat-card-shadow);
 background-position:left top;
}
 body .it-content .it-timeline>div>small{font-size:.76rem;line-height:1.45}
 body .it-content .it-timeline>div>span{font-size:.7rem}
 body .it-cta{
  width:calc(100% - 2 * clamp(14px,3.3vw,42px));max-width:1240px;margin:0 auto 32px;padding:clamp(28px,4vw,46px);
  border:1px solid rgba(255,255,255,.2);border-radius:var(--pb-mat-shell-radius,18px);box-shadow:var(--pb-mat-shell-shadow);
  background-color:#0c2d3a;background-image:linear-gradient(#051d234d,#051d234d),var(--pb-mat-stone);
  background-size:auto,auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
 body .it-cta>.it-cta-grid{width:100%;max-width:none;margin-inline:0}
 body .it-cta-grid>div>p:first-child:not(.eyebrow){margin-top:0}
}
@media screen and (max-width:900px) and (forced-colors:none){
 body .it-cta-grid{gap:22px}
}
/* Future sibling-guide finish: observed component owners only; no form controls. */
@media screen{
 body .it-content .seo-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
 body .it-content .seo-facts>div{padding:24px}
 body .it-content .seo-facts>div>strong,
 body .it-content .seo-facts>div>span,
 body .it-content ol.seo-steps>li>div>strong,
 body .it-content ol.seo-steps>li>div>span{display:block}
 body .it-content .seo-facts>div>strong,
 body .it-content ol.seo-steps>li>div>strong{margin-bottom:6px}
 body .it-content ol.seo-steps>li+li{margin-top:12px}
 body .it-guide-hero .it-service-hero-prices>span{
  border-radius:var(--pb-mat-radius,14px);font-size:.75rem;line-height:1.4;
 }
 body .it-content .it-offer-summary{gap:12px;border:0}
 body .it-content .it-offer-summary>article{
  border:1px solid var(--line);border-radius:var(--pb-mat-radius,14px);
 }
 body .it-content .it-offer-summary>article>span{font-size:.75rem;line-height:1.4}
 body .it-content .it-cost-list{gap:12px}
 body .it-content .it-cost-list>article{border-radius:var(--pb-mat-radius,14px)}
 body .it-content .it-process-strip{gap:12px}
 body .it-content .it-process-strip>div{border-radius:var(--pb-mat-radius,14px)}
 body .it-content .it-process-strip>div>span{font-size:.75rem;line-height:1.4}
 body .it-content .it-process-strip>div>strong{font-size:.85rem;line-height:1.4}
 body .it-content :is(.it-triad-list,.it-price-ledger){border-radius:var(--pb-mat-shell-radius,18px)}
 body .it-content .it-triad-list>article>span{
  max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere;
  font-size:.75rem;line-height:1.4;
 }
 body .it-content .it-triad-list>article strong{font-size:.75rem;line-height:1.45}
 body .it-content .it-price-ledger>article>span{font-size:.75rem}
 body .it-content .it-price-ledger .it-price-amount small{
  font-size:.75rem;line-height:1.4;white-space:normal;overflow-wrap:anywhere;
 }
 body main:has(.it-content) #contatto>.contact-shell{border-radius:var(--pb-mat-shell-radius,18px)}
 body main:has(.it-content) #contatto>.contact-shell::before{left:18px;border-radius:999px}
 body main:has(.it-content) #contatto .contact-form .privacy-first-layer{
  border-radius:var(--pb-mat-radius,14px);font-size:.75rem;line-height:1.5;
 }
 body main:has(.it-content) #contatto .contact-form .privacy-first-layer strong{font-size:.75rem;line-height:1.4}
}
@media screen and (max-width:850px){
 body .it-content .seo-facts{grid-template-columns:minmax(0,1fr)}
}
@media screen and (forced-colors:none){
 body .it-guide-hero .it-service-hero-prices>span{
  background:rgba(5,29,35,.302);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 3px 8px rgba(5,29,35,.12);
 }
 body .it-content .it-offer-summary>article,
 body .it-content .it-cost-list>article,
 body .it-content .it-price-ledger>article{
  background-color:var(--paper);background-image:var(--pb-mat-paper);
  background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;
 }
 body .it-content .it-offer-summary>article,
 body .it-content .it-cost-list>article{box-shadow:var(--pb-mat-card-shadow)}
 body .it-content .it-process-strip{background:transparent}
 body .it-content .it-process-strip>div,
 body .it-content .it-triad-list,
 body .it-content .it-price-ledger>article:last-child{
  background-color:#123744;background-image:linear-gradient(#051d234d,#051d234d),var(--pb-mat-stone);
  background-size:auto,auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
 body .it-content .it-process-strip>div{
  border:1px solid rgba(255,255,255,.2);box-shadow:var(--pb-mat-card-shadow);
 }
 body .it-content .it-triad-list>article{background:transparent}
 body .it-content .it-price-ledger{background:transparent}
 body .it-content .it-price-ledger>article:not(:last-child)>span{color:#815a35}
 body main:has(.it-content) #contatto .contact-form .privacy-first-layer{
  background-color:var(--paper);background-image:var(--pb-mat-paper);
  background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65),0 3px 8px rgba(16,46,60,.045);
 }
 body main:has(.it-content) #contatto .contact-form .check a{
  color:var(--ink,#102e3c);text-decoration:underline;text-decoration-color:rgba(129,90,53,.55);
  text-underline-offset:3px;text-decoration-thickness:1px;
 }
 body main:has(.it-content) #contatto .contact-form .check a:is(:hover,:focus-visible){color:#815a35}
 body main:has(.it-content) #contatto .contact-form .check a:focus-visible{
  outline:2px solid #815a35;outline-offset:3px;border-radius:3px;
 }
}
@media screen and (forced-colors:active){
 body .it-content .it-price-ledger>article:not(:last-child)>span{color:CanvasText}
 body main:has(.it-content) #contatto .contact-form .check a{color:LinkText;text-decoration-color:LinkText}
 body main:has(.it-content) #contatto .contact-form .check a:focus-visible{outline:2px solid Highlight;outline-offset:3px}
}

/* Actual Spain-Italy cards: separate the old shared frames without changing their columns. */
@media screen{
 body.italia-page :is(.it-proof-grid article,.it-resource-grid a:not(:first-child):not(:last-child),.it-admin-grid article:not(:nth-child(2)),.it-compare-cards .is-spain,.it-fit-strip,.partner-grid,.partner-monogram){
  background-color:var(--paper);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);border-radius:var(--pb-mat-radius,14px);box-shadow:var(--pb-mat-card-shadow);
 }
 body.italia-page :is(.it-proof-grid,.it-admin-grid,.it-compare-cards,.it-path-grid){gap:12px;border:0;box-shadow:none;align-items:stretch}
 body.italia-page :is(.it-proof-grid article,.it-admin-grid article,.it-compare-cards article,.it-path-grid article){min-height:0;border:1px solid var(--line);border-radius:var(--pb-mat-radius,14px);box-shadow:var(--pb-mat-card-shadow)}
 body.italia-page :is(.it-admin-grid article:nth-child(2),.it-compare-cards article:not(.is-spain)){border-color:rgba(255,255,255,.2)}
 body.italia-page :is(.it-resource-grid a,.partner-monogram){min-height:0;border-radius:var(--pb-mat-radius,14px)}
 body.italia-page .it-fit-strip{overflow:clip}
 body.italia-page .it-academic-price-card::before{border-radius:calc(var(--pb-mat-radius,14px) - 9px)}
 body.italia-page :is(.it-proof-grid article>span,.it-resource-grid a:not(:first-child):not(:last-child)>span,.it-admin-grid article:not(:nth-child(2))>span){color:#815a35}
 body.italia-page .it-resource-grid a:not(:first-child):not(:last-child) small{color:#53646a}
}
/* Existing canonical Home card radii are important; this is the one shared override. */
html:root body :is(.situation-card,.price-card,.person,.resource-card){border-radius:14px!important}
body :is(.service-card.featured,.price-card.featured,.situation-card-accent,.priority-card.labor,.practice-hub-card.is-core,
 .labor-price-card.featured,.labor-fees-preview-card.is-featured,.area-route-card.is-featured){
 background-color:var(--ink);background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 3px 6px rgba(5,29,35,.08),0 12px 26px rgba(5,29,35,.13);background-repeat:no-repeat;
 background-position:left top;
}
/* The custom company plan is a dark role; retain the shared card geometry. */
@media screen and (forced-colors:none){
 body.company-cost-page .company-price-card-custom{
  background-color:var(--ink,#102e3c);
  background-image:linear-gradient(#0d2b3873,#0d2b3873),var(--pb-mat-stone);
  background-size:auto,auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
 body.company-cost-page .company-price-card-custom :is(.company-card-kicker,.company-scope-note strong){color:#f4dfc2}
 body.company-cost-page .company-outside-scope{border-radius:var(--pb-mat-radius,14px)}
}
/* The pale fills stay pale; alert/result success and error colours are not recoloured. */
body :is(.notice-box,.legal-caution,.imm-guide-caution,.prov-local-notice,.service-credit-note,
 .service-fit-note,.claim-purpose-note,.contact-request__warning,.seo-note,.i18n-callout,
 .tariff-filters,.tariff-matter,.tariff-consultation,.imm-library-toolbar,.model-library-toolbar,
 .guide-video-strip,.guide-consult,.model-detail-index,.guide-toc,.article-toc,.legal-index,
 .contract-price,.withdrawal-box,.service-resource-link,.pbx-related a,.seo-related-list>a,.imm-related-strip>a,.i18n-resources>a,
 .legal-product-shell,.calculator-subpanel,.dismissal-calculator,.temporary-disability-calculator,
 .unemployment-calculator,.traffic-calculator-app,.traffic-calculator-form,.deadline-calculator,
 .fiscal-tool-shell,.fiscal-progressive-panel,.legal-form-section,.legal-product-form){
 border-radius:var(--pb-mat-radius);
 box-shadow:var(--pb-mat-card-shadow);
}
body :is(.service-overview article,.tariff-matter-heading,.tariff-row,.tariff-consultation,
 .service-resource-link,.pbx-related a,.seo-related-list>a,.guide-video-strip,.guide-content article>.guide-toc,
 .model-value-grid article,.legal-product-form,.legal-form-section,.calculator-subpanel){
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
/* Card corner paint is explicitly inset; shadow-bearing grids are not clipped. */
body :is(.practice-hub-card,.person-card,.guide-index-card,.model-card)::before{border-start-start-radius:14px}
body .practice-hub-card::before{inset-inline-start:14px;inset-block-start:0;border-radius:999px}
body :is(.person-portrait,.person-portrait>img,.person-portrait::after){border-radius:14px!important}
body .person-portrait{overflow:hidden}
body :is(.legal-table-wrap,.tariff-matter-heading,.i18n-service-group,.legal-product-shell){border-radius:14px}
body .tariff-matter-heading{border-end-start-radius:0;border-end-end-radius:0}
@media screen{html:root body details.tariff-matter:not([open])>summary.tariff-matter-heading{border-radius:var(--pb-mat-radius,14px);}}
body .tariff-matter>.tariff-row:last-child{border-end-start-radius:14px;border-end-end-radius:14px}
/* Disclosures preserve their native open/closed and keyboard behavior. */
body :is(.faq-list,.imm-guide-faq,.i18n-faq,.it-faq) > details,body details.seo-faq{
 border:1px solid rgba(45,71,69,.17);border-radius:14px;
 background-color:#fffdf9;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-card-shadow);
}
body :is(.faq-list,.imm-guide-faq,.i18n-faq,.it-faq)>details>summary,body details.seo-faq>summary{border-radius:13px}
body :is(.faq-list,.imm-guide-faq,.i18n-faq,.it-faq)>details[open]>summary,body details.seo-faq[open]>summary{border-end-start-radius:0;border-end-end-radius:0}
body :is(.faq-list,.imm-guide-faq,.i18n-faq,.it-faq)>details[open],body details.seo-faq[open]{border-color:rgba(159,125,77,.52)}
/* Buttons use the existing fills with a fine glaze; link/help microcontrols stay unboxed. */
html:root body :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,.pb-context-help)){
 border-radius:var(--pb-ui-button-radius);
 box-shadow:var(--pb-ui-button-shadow);
}
html:root body :is(a.button,a.btn,input[type='submit'],input[type='button'],input[type='reset']){
 background-image:var(--pb-ui-button-sheen);box-shadow:var(--pb-ui-button-shadow);
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}
html:root body :is(.button-accent,.button-small.nav-cta){
 background-color:var(--accent-2);color:#102b36;border-color:#d6b380;border-bottom-color:#ad8d5e;
 background-image:linear-gradient(180deg,rgba(255,255,255,.2),rgba(255,255,255,.015) 60%,rgba(143,103,54,.09));
}
body.consultation-gateway .site-header .nav-cta{color:#102b36!important}
html:root body :is(.button-dark,.button-small:not(.nav-cta)){
 background-color:#173e50;color:#fff;
 background-image:linear-gradient(180deg,rgba(255,255,255,.1),rgba(255,255,255,0) 65%,rgba(0,16,23,.11));
}
html:root body .button-ghost{background-image:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,0))}
body .contact-channels__grid>a{
 border-radius:14px;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-card-shadow);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body :is(.contact-form,.contact-request__form,.service-request-panel,.payment-form-area,.legal-product-form)
 :is(input:not([type='checkbox'],[type='radio'],[type='range'],[type='hidden'],[type='file'],[type='submit'],[type='button']),select,textarea){
 border-radius:10px;
}
/* Upload controls share the existing paper, ink and tactile button finish. */
@media screen{
 body :is(.consult-form,.candidate-form) input[type='file']{
  min-width:0;max-width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:12px;
  background-color:var(--white);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
  color:var(--ink);box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 2px 5px rgba(17,46,52,.04);
 }
 body :is(.consult-form,.candidate-form) input[type='file']::file-selector-button{
  margin-inline-end:10px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;
  background-color:var(--paper);background-image:var(--pb-ui-button-sheen);color:var(--ink);
  box-shadow:var(--pb-ui-button-shadow);font:inherit;font-size:.85em;font-weight:700;line-height:1.3;cursor:pointer;
 }
 body :is(.consult-form,.candidate-form) input[type='file']:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
}
@media screen and (hover:hover) and (pointer:fine){
 body :is(.consult-form,.candidate-form) input[type='file']:hover::file-selector-button{box-shadow:var(--pb-ui-button-shadow-hover)}
}
@media screen and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 body :is(.consult-form,.candidate-form) input[type='file']::file-selector-button{transition:transform .18s ease,box-shadow .18s ease}
 body :is(.consult-form,.candidate-form) input[type='file']:hover::file-selector-button{transform:translateY(-1px)}
}
/* Italian contact: copy above the form; field order remains the DOM and tab order. */
@media screen{
 body.italia-page #contatto,body.italia-page #contatto .contact-shell{border-radius:var(--pb-mat-shell-radius,18px)}
 body.italia-page #contatto .contact-shell{background:transparent;box-shadow:none}
}
@media screen and (min-width:601px){
 body.italia-page #contatto .contact-shell{grid-template-columns:minmax(0,1fr);align-items:start;gap:22px}
 body.italia-page #contatto .contact-copy{max-width:1100px}
 body.italia-page #contatto .contact-copy>p:not(.eyebrow){max-width:100ch}
 body.italia-page #contatto .contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;width:100%;max-width:1100px;padding:22px;margin:0}
 body.italia-page #contatto .contact-form>:is(label,.field-row,.privacy-first-layer,button,.form-note){grid-column:1/-1;min-width:0}
 body.italia-page #contatto .contact-form>label:has(>input[name="titulacion"]),body.italia-page #contatto .contact-form>label:has(>input[name="universita"]){grid-column:auto}
 body.italia-page #contatto .contact-form>.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.italia-page #contatto .contact-form>label,body.italia-page #contatto .contact-form>.field-row>label{margin:0}
 body.italia-page #contatto .contact-form>.form-note{margin:0}
}
/* Wide Italian form: naturally paired DOM neighbours, without grid rows or visual reordering. */
@media screen and (min-width:1000px){
 body.italia-page #contatto .contact-form>:is(label:has(>input[name="nombre"]),.field-row,label:has(>textarea[name="mensaje"]),.privacy-first-layer,.check,button){grid-column:auto}
 body.italia-page #contatto .contact-form>.privacy-first-layer{margin:0;align-self:start}
 body.italia-page #contatto .contact-form>label.check{align-self:end}
 body.italia-page #contatto .contact-form>button{align-self:end;justify-self:end;min-height:44px;width:max-content;max-width:100%}
}
/* Transaction flows retain their two-column information architecture and statuses. */
body:is(.payment-page,.payment-flow){background-color:#08232b;background-image:none}
body :is(.payment-panel,.intake-panel,.success-grid){border-radius:18px;box-shadow:var(--pb-mat-shell-shadow)}
body :is(.payment-intro,.success-story){background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);border-radius:18px;background-repeat:no-repeat;
 background-position:left top;
}
body :is(.payment-form-area,.success-next){background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);border-radius:18px}
body.success-page{--success-sans:var(--sans);--success-brand:var(--serif)}
body .payment-flow-header,body .success-header{background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
/* Short payment screens end at their footer; long forms retain natural height. */
@media screen{
 body.payment-flow{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
 body.payment-flow>:is(.payment-page,.client-portal-main){flex:1 0 auto;min-height:0;min-width:0}
 body.payment-flow>:is(.payment-flow-header,.payment-flow-footer){flex:0 0 auto}
}
/* Long progress labels keep their order without colliding on narrow screens. */
@media screen and (max-width:650px){
 body.payment-flow .payment-progress{grid-template-columns:minmax(0,1fr)}
 body.payment-flow .payment-progress li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:8px 0;align-items:start}
 body.payment-flow .payment-progress li span{margin:0}
}
/* Confirmed transaction/status outputs: aligned shells and no legacy blue ornament. */
@media screen{
 body :is(.payment-page>.payment-panel,.payment-intro,.success-story)::after{content:none}
 body.success-page .success-main{padding-block:clamp(28px,4vw,56px)}
 body.success-page .success-grid{align-items:stretch;gap:18px}
 body.success-page :is(.success-story,.success-next){min-height:0}
 body.success-page .success-next{margin-left:0;transform:none}
 body.success-page .success-mark{width:44px;height:44px;margin-bottom:22px}
 body.success-page .success-next h2{font-size:var(--pb-section-title-size);line-height:1.1}
 body .candidate-success{width:min(1180px,calc(100% - 28px));margin:24px auto 0;padding:18px clamp(18px,3vw,30px);border:1px solid rgba(56,110,72,.25);border-radius:var(--pb-mat-radius);box-shadow:var(--pb-mat-card-shadow)}
 body .candidate-success .wrap{width:100%;max-width:none;align-items:flex-start}
 body .candidate-success strong{flex-shrink:0}
}
@media screen and (min-width:901px){
 body.success-page .success-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.success-page :is(.success-story,.success-next){padding:clamp(32px,4vw,56px)}
 body.success-page .success-story{display:flex;flex-direction:column}
 body.success-page .success-summary{margin-top:auto;padding-top:28px}
}
@media screen and (max-width:650px){
 body .candidate-success .wrap{flex-direction:column;gap:6px}
 body .candidate-shell{padding:22px 12px}
 body .candidate-form{padding:22px 14px}
}
@media screen and (forced-colors:none){
 body .candidate-success{background-image:linear-gradient(#edf7efe8,#edf7efe8),var(--pb-mat-ivory);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
}
/* Contact introduction on stone; the existing consultation credit note on paper. */
@media screen and (forced-colors:none){
 body.payment-flow main.contact-request>header>h1{color:var(--white,#fffdf9)}
 body.payment-flow main.contact-request>header>p:not(.eyebrow){color:#dbe5df}
 body.payment-flow main.contact-request>header>.eyebrow{color:#f4dfc2}
 body.service-page .service-credit-note{background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
}
@media screen and (min-width:701px){
 body.payment-flow main.contact-request>.contact-request__choices>.contact-request__card:first-child{align-self:start}
}
/* Social landing entries have light ink and translucent dark cards, not paper. */
body[data-social-source],body[data-social-source] .top-wrap{
 background-color:#102e3c;background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
body[data-social-source] .hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,4vw,3rem);line-height:1.08}
body[data-social-source] .entry-card{
 background-color:rgba(15,47,54,.85);
 background-image:linear-gradient(145deg,rgba(43,79,80,.72),rgba(14,43,52,.88)),var(--pb-mat-finish-texture);
 background-size:auto,var(--pb-mat-finish-layers);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 9px 22px rgba(3,20,29,.18);background-repeat:no-repeat;
 background-position:left top;
}
body[data-social-source] .resource-preview-card{
 background-color:transparent;background-image:linear-gradient(150deg,rgba(255,242,222,.19),rgba(255,242,222,.06));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 2px 5px rgba(3,20,29,.12);
}
/* Private layouts keep their metrics, state colours and data hierarchy intact. */
body:is(.admin-body,.admin-login-page){font-family:var(--sans);--font-sans:var(--sans)}
body.admin-body{background-image:var(--pb-mat-light);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
body.admin-login-page,body .admin-login-intro,body .admin-header{background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
body .admin-login-card{background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
body.admin-body :is(.case-card,.analytics-card,.admin-system-status>div,.admin-owner-access,.admin-period-filter,.admin-kpis>article){
 border-radius:14px;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);box-shadow:var(--pb-mat-card-shadow);
}
body.admin-body :is(.admin-tabs>a,.admin-period-filter nav>a){border-radius:10px}
body .admin-login-card .admin-password-toggle{transform:translateY(-50%)!important;box-shadow:none;background-image:none}
html:root body :is(.pb-context-help,.consultation-price-trigger,.model-download-support button){box-shadow:none;background-image:none}
/* These selectors outrank immigration-languages.css if its runtime wrapper
   appends that existing sheet later. The language's own ink remains intact. */
body.pb-i18n .i18n-hero{background-color:var(--paper);background-image:var(--pb-mat-light);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
body.pb-i18n .i18n-hero h1{font-family:var(--serif);font-size:var(--pb-page-title-size)}
body.pb-i18n :is(.i18n-card,.i18n-service-card,.i18n-resources>a){border-radius:14px;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);box-shadow:var(--pb-mat-card-shadow)}
body.pb-i18n .i18n-next{background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);border-radius:14px;background-repeat:no-repeat;
 background-position:left top;
}
body.pb-i18n .i18n-footer{background-image:var(--pb-mat-footer);background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
body.pb-i18n .i18n-faq>details{border-radius:14px;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);box-shadow:var(--pb-mat-card-shadow)}
/* Deliberately keep Noto Arabic, RTL flow and script-specific leading. */
html[lang='ar'] body.pb-i18n{
 --serif:'PB Arabic','Segoe UI',Tahoma,sans-serif;--sans:'PB Arabic','Segoe UI',Tahoma,sans-serif;
 --brand:'PB Arabic','Segoe UI',Tahoma,sans-serif;
 --pb-page-title-size:clamp(1.85rem,3vw,2.65rem);
 font-family:var(--sans);letter-spacing:normal;
}
html[lang='ar'] body.pb-i18n :is(h1,h2,h3,h4,button,input,select,textarea,legend,label,.eyebrow){font-family:var(--sans)!important;letter-spacing:normal!important}
/* Logical corners retain the border-inline-start language-aware caution stripe. */
html[lang='ar'] body.pb-i18n .i18n-callout{border-radius:14px}
@media(min-width:901px){body .site-header>.nav.wrap{height:112px;min-height:112px}}
@media(min-width:901px) and (max-width:1120px){body .site-header>.nav.wrap{height:106px;min-height:106px;padding-inline:10px}}
@media(min-width:901px) and (max-width:940px){
 body .site-header>.nav.wrap:has(:is(.home-immigration-languages,.nav-immigration-languages)){height:134px;min-height:134px}
 body .site-header>.nav.wrap:has(:is(.home-immigration-languages,.nav-immigration-languages))>.nav-links{grid-template-rows:80px 52px}
}
@media(max-width:900px){
 html:root{--pb-page-title-size:clamp(2.08rem,9.8vw,2.48rem);--pb-section-title-size:clamp(1.58rem,7.2vw,1.92rem);--pb-article-title-size:clamp(1.5rem,6.8vw,1.78rem)}
 body .site-header>.nav.wrap{width:min(760px,calc(100% - 16px));max-width:760px;margin:8px auto;padding-inline:12px;border-radius:14px}
 body .site-header>.nav.wrap:has(>.nav-links.open){border-radius:14px 14px 0 0}
 body .site-header>.nav.wrap>.brand{min-width:0}
 body .site-header>.nav.wrap>.brand>img{max-width:100%;height:auto}
 body .site-header>.nav.wrap>.menu-toggle{flex:0 0 auto}
 body .site-header>.nav.wrap>.nav-links{
  top:100%;left:-1px;right:-1px;width:auto;max-width:none;padding:16px;
  border:1px solid rgba(222,205,174,.85);border-radius:0 0 14px 14px;
  background:#f7f2e8;box-shadow:0 12px 22px rgba(3,24,30,.17);
  max-height:calc(100vh - 144px);max-height:calc(100dvh - 144px);overflow-x:hidden;overflow-y:auto;
 }
}
@media(max-width:600px){
 body.pb-i18n .i18n-header-inner{padding-inline:12px;border-radius:14px}
 html[lang='ar'] body.pb-i18n{--pb-page-title-size:1.8rem}
}
@media(hover:hover) and (pointer:fine){
 html:root body :is(a.button,a.btn,input[type='submit'],input[type='button'],input[type='reset']):not(:disabled,[disabled],[aria-disabled='true'],.is-disabled):hover{
  transform:translateY(-2px);box-shadow:var(--pb-ui-button-shadow-hover);
 }
 body :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,.contact-channels__grid>a,:where(.pbx-related a,.service-related-grid>a.service-resource-link,.seo-related-list>a)):not([aria-disabled='true'],.is-disabled):hover{
  transform:translateY(-2px);box-shadow:var(--pb-mat-shell-shadow);
 }
 body .topbar :is(.whatsapp-link,.topbar-client-access-v223,.topbar-urgency):hover{transform:translateY(-1px)}
}
html:root body :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}
html:root body :is(a.button,a.btn,input[type='submit'],input[type='button'],input[type='reset']):not(:disabled,[disabled],[aria-disabled='true'],.is-disabled):active{transform:translateY(0);box-shadow:inset 0 1px 2px rgba(16,46,60,.13),0 1px 2px rgba(16,46,60,.06)}
@media(prefers-reduced-motion:reduce){
 html:root body :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,.contact-channels__grid>a,:where(.pbx-related a,.service-related-grid>a.service-resource-link,.seo-related-list>a),
 .topbar .whatsapp-link,.topbar .topbar-client-access-v223,.topbar .topbar-urgency){
  transform:none!important;transition:none!important;animation:none!important;
 }
}
@media(forced-colors:active){
 html:root{--pb-mat-light:none;--pb-mat-paper:none;--pb-mat-stone:none;--pb-mat-footer:none;--pb-mat-card-shadow:none;--pb-mat-shell-shadow:none;--pb-ui-button-shadow:none;--pb-ui-button-shadow-hover:none;--pb-ui-button-sheen:none}
 body,body :is(.site-header,.site-header>.nav.wrap,.topbar,.i18n-header,.i18n-header-inner,
 .practice-hero,.service-hero,.seo-page-hero,.areas-hero,.model-hero,.model-detail-hero,.imm-hero,
 .footer,.site-footer,.i18n-footer,.payment-flow-footer,.success-footer){background-image:none;box-shadow:none}
 html:root body :is(a.button,a.btn,button,input[type='submit'],input[type='button'],input[type='reset']){background-image:none;box-shadow:none}
}
@media print{
 html:root{--pb-mat-light:none;--pb-mat-paper:none;--pb-mat-stone:none;--pb-mat-footer:none;--pb-mat-card-shadow:none;--pb-mat-shell-shadow:none;--pb-ui-button-shadow:none;--pb-ui-button-shadow-hover:none;--pb-ui-button-sheen:none}
 body{background:#fff!important}
 body :is(.site-header,.site-header>.nav.wrap,.topbar,.i18n-header,.i18n-header-inner,
 .section,.practice-hero,.service-hero,.seo-page-hero,.areas-hero,.model-hero,.model-detail-hero,.imm-hero,
 .footer,.site-footer,.i18n-footer,.payment-flow-footer,.success-footer){background-image:none!important;box-shadow:none!important}
}

/* PB material coverage addendum. Load after global-materials.css, before the
   accepted Home R3 composition. No widget or Home-header rules here. */

/* Four real dark variants must never inherit the neutral card/band paper. */
body :is(.model-boundary,.model-review-cta,.company-online-section,.traffic-fee-card.featured),
body.admin-body .analytics-card.analytics-insight{
 background-color:var(--ink);
 background-image:var(--pb-mat-stone);
 background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}

/* Catalogue choice cards and practical linked resources. */
body .consultation-choice{
 background-color:var(--paper);background-image:var(--pb-mat-light);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body :is(.consultation-option,.consultation-choice__help,.resource-card-grid>a){
 border-radius:14px;
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-card-shadow);
}
body .consultation-options__grid--aligned .consultation-option--labor::before{
 left:14px;right:14px;border-radius:999px;
}
/* These article cards have a bordered table-like parent in the older sheets.
   Keep its column count and breakpoints; give the existing cells room to curve. */
body .seo-card-grid{gap:12px;border:0;border-radius:14px}
body .seo-card-grid>article{
 border:1px solid var(--line);border-radius:14px;
 background-color:#fffdf9;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-card-shadow);
}
body .resource-card-grid>a{
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease;
}

/* Only one compact public consultation form exists (Labour). Its existing
   inputs, validation, free-email/phone states and service amounts are untouched. */
body.consultation-request-compact .contact-request__form form>fieldset{
 border:1px solid rgba(45,71,69,.14);border-radius:14px;
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 2px 5px rgba(17,46,52,.035);
}
body.consultation-request-compact :is(.consultation-scope-details,.consultation-urgency-details){border-radius:10px}

/* Real radio surfaces are the span next to the input, not the outer label.
   Keep selected fills, outlines and inset rings defined by pago.css. */
body :is(.service-option,.slot-option,.channel-options label)>input+span{
 border-radius:14px;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 2px 5px rgba(17,46,52,.05);
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body .payment-form-area :is(.service-option,.slot-option,.channel-options label)>input:not(:checked)+span{
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
/* The original :checked rules are more specific than this default surface;
   their fill, border and inset selection ring remain authoritative. */
body :is(.service-option,.slot-option,.channel-options label)>input:disabled+span{
 transform:none!important;transition:none!important;
}
body .payment-form-area :is(.consent-row,.privacy-first-layer,.traffic-note,.consult-credit){border-radius:12px}

/* Personal case portal: retain all data/status ink and its original hero/card
   adjacency, adding material to the exact surfaces that had flat fills. */
body.client-portal-flow .client-portal-main{
 background-color:var(--paper);background-image:var(--pb-mat-light);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body.client-portal-flow .client-portal-hero{
 border-radius:18px 18px 0 0;
 background-color:var(--ink);background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
body.client-portal-flow .client-portal-card{
 border-radius:0 0 18px 18px;
 background-color:#fffdf9;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-shell-shadow);
}
body.client-portal-flow .client-portal-grid{border-radius:14px}
body.client-portal-flow .client-portal-next{
 border-radius:14px 0 0 14px;
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body.client-portal-flow .client-portal-summary{
 border-radius:0 14px 14px 0;
 background-image:linear-gradient(#eee9e0d9,#eee9e0d9),var(--pb-mat-ivory);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body.client-portal-flow :is(.client-requested-docs,.client-upload-closed){border-radius:10px}

/* Existing five-step status row: quiet completed cells and one stone active step. */
body.client-portal-flow .portal-progress{gap:8px;background:none;border:0}
body.client-portal-flow .portal-progress>div{
 min-width:0;border:1px solid var(--line);border-radius:12px;
 background-color:#f7f3ec;background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body.client-portal-flow .portal-progress>div.is-done{
 background-color:#e9f0eb;background-image:linear-gradient(#e9f0ebe6,#e9f0ebe6),var(--pb-mat-ivory);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
}
body.client-portal-flow .portal-progress>div.is-active{
 border-color:rgba(223,180,127,.35);background-color:var(--ink);background-image:var(--pb-mat-stone);
 background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;color:var(--white);
 background-position:left top;
}
body.client-portal-flow .portal-progress small{font-size:.75rem;line-height:1.4}
body.client-portal-flow .portal-progress>div.is-active small{color:#e1e8e5}


/* Keep Arabic's own metrics explicitly. Latin page-title variables must not
   win via older !important main-heading rules on translated runtime pages. */
html[lang='ar'] body.pb-i18n main h1{
 font-family:'PB Arabic','Segoe UI',Tahoma,sans-serif!important;
 font-size:clamp(1.85rem,3vw,2.65rem)!important;
 line-height:1.55!important;letter-spacing:normal!important;font-weight:650!important;
}
html[lang='ar'] body.pb-i18n main :is(h2,h3){
 font-family:'PB Arabic','Segoe UI',Tahoma,sans-serif!important;
 line-height:1.65!important;letter-spacing:normal!important;font-weight:600!important;
}
html[lang='ar'] body.pb-i18n.payment-flow .payment-intro h1{font-size:clamp(1.8rem,2.7vw,2.5rem)!important}
@media(max-width:850px){
 body.client-portal-flow .client-portal-next{border-radius:14px 14px 0 0}
 body.client-portal-flow .client-portal-summary{border-radius:0 0 14px 14px}
}
@media(max-width:600px){
 html[lang='ar'] body.pb-i18n main h1{font-size:1.8rem!important}
 html[lang='ar'] body.pb-i18n.payment-flow .payment-intro h1{font-size:1.75rem!important}
}
@media(hover:hover) and (pointer:fine){
 body .resource-card-grid>a:not([aria-disabled='true'],.is-disabled):hover{
  transform:translateY(-2px);box-shadow:var(--pb-mat-shell-shadow);
 }
 body :is(.service-option,.slot-option,.channel-options label)>input:not(:disabled)+span:hover{
  transform:translateY(-1px);
 }
}
@media(prefers-reduced-motion:reduce){
 body .resource-card-grid>a,
 body :is(.service-option,.slot-option,.channel-options label)>input+span{
  transform:none!important;transition:none!important;animation:none!important;
 }
}
@media(forced-colors:active),print{
 body :is(.service-option,.slot-option,.channel-options label)>input+span{background-image:none;box-shadow:none}
}

/* Final coverage: the same finish on practical resources and the Labour band. */
body .practical-resource-grid article{
 border-radius:14px;background-color:#fffdf9;
 background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
 box-shadow:var(--pb-mat-card-shadow);
}
body .calma.section.labor-calma-v221{
 background-color:var(--ink);background-image:var(--pb-mat-stone);background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
body:is(.service-page,.tariff-page) main :is(h2,h3){font-family:var(--serif)}
html:root body :is(a.button,a.btn,button,input[type='submit'],input[type='button'],input[type='reset']):where(:disabled,[disabled],[aria-disabled='true'],.is-disabled){
 box-shadow:none;transform:none!important;
}
/* One unobtrusive assistant access in the existing navigation, including when
   the floating launcher temporarily yields to the page's real controls. */
body .site-header .nav-resources:has(>.pb-nav-assistant){gap:clamp(10px,1.4vw,24px)}
html:root body .site-header .nav-resources>.pb-nav-assistant{
 display:inline-flex;align-items:center;justify-content:center;flex:0 0 34px;
 width:34px;height:34px;min-height:34px;padding:5px;margin:0;
 border:1px solid #b9a887;border-radius:10px;
 background:linear-gradient(#fff8eacc,#ece0cacc);color:#24484d;
 box-shadow:inset 0 1px 0 #fffdf5,0 2px 4px #14333a16;
 cursor:pointer;font:700 12px/1.4 var(--sans);
 transition:transform .18s ease,box-shadow .18s ease;
}
body .site-header .pb-nav-assistant>svg{width:23px;height:23px;flex:0 0 23px}
body .site-header .pb-nav-assistant>span{display:none}
body .site-header .pb-nav-assistant:focus-visible{outline:2px solid #8a653e;outline-offset:3px}
@media(min-width:901px) and (max-width:1120px){
 body .site-header .nav-resources:has(>.pb-nav-assistant){gap:10px}
}
@media(max-width:900px){
 html:root body .site-header .nav-resources>.pb-nav-assistant{
  width:auto;min-height:40px;height:auto;padding:7px 12px;gap:8px;flex:0 0 auto;
  justify-self:start;
 }
 body .site-header .pb-nav-assistant>span{display:inline}
}
@media(hover:hover) and (pointer:fine){
 html:root body .site-header .nav-resources>.pb-nav-assistant:hover{transform:translateY(-1px);box-shadow:inset 0 1px 0 #fffdf5,0 4px 7px #14333a26}
}
@media(prefers-reduced-motion:reduce){
 html:root body .site-header .nav-resources>.pb-nav-assistant{transform:none!important;transition:none!important}
}

/* Final two observed green surfaces. Reading paper remains quiet and unchanged. */
body :is(.guide-consult,.calculator-result.comprehensive-result){
 background-color:var(--ink);
 background-image:var(--pb-mat-stone);
 background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}

/* The two reviewed explainers use the approved paper; keep grain at its natural tile scale. */
@media screen and (forced-colors:none) {
 body:is(.interest-calculator-page,.rp-calculator-page) main .seo-content>:is(.seo-index,.seo-article) {
  background-color:var(--paper,#f6f3ed);background-image:var(--pb-mat-paper);
  background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;
  box-shadow:var(--pb-mat-card-shadow);
 }
}

/* Explicit fee presentation; applies only to reviewed pb-fee role markup. */
html:root body .pb-fee-amount{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2em .35em;max-inline-size:100%}
html:root body .pb-fee-tax{display:inline-block;max-inline-size:100%;margin:0;padding:0;color:inherit;font:400 .72rem/1.4 var(--sans);letter-spacing:normal;text-transform:none;white-space:normal;vertical-align:baseline;opacity:1}
html:root body .pb-fee-mode{display:block}
html:root body .pb-fee-mode+.pb-fee-mode{margin-block-start:.35em}
html:root body .pb-fee-qualification{display:block;margin-block-start:.5em}
html:root body .pb-fee-help{display:block}
html:root body .pb-fee-conditions-row{display:block;margin-block-start:.35em;font-size:.76rem;line-height:1.45}
html:root body .pb-fee-condition-note{color:inherit}
html:root body .pb-fee-print-note{display:none}
@media screen{html:root body .guide-consult .pb-fee-amount{color:#fff}html:root body .guide-consult :is(.pb-fee-tax,.pb-fee-conditions){color:#dce6e5}}
html:root body .consultation-price-trigger.pb-fee-conditions{max-inline-size:100%;padding:5px 8px;border:1px solid currentColor;background-color:transparent;text-align:start;white-space:normal;box-shadow:0 1px 2px #102e3c14;transition:transform .16s ease,box-shadow .16s ease}
@media(hover:hover) and (pointer:fine){html:root body .consultation-price-trigger.pb-fee-conditions:where(:not(:disabled,[disabled],[aria-disabled="true"])):hover{transform:translateY(-1px);box-shadow:0 3px 7px #102e3c24}}
html:root body .consultation-price-trigger.pb-fee-conditions:is(:disabled,[disabled],[aria-disabled="true"]){transform:none;transition:none;box-shadow:none;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){html:root body .consultation-price-trigger.pb-fee-conditions,html:root body .consultation-price-trigger.pb-fee-conditions:hover,html:root body .consultation-price-trigger.pb-fee-conditions:active{transform:none;transition:none}}
@media(forced-colors:active){html:root body .consultation-price-trigger.pb-fee-conditions{border-color:ButtonText;color:ButtonText;box-shadow:none}html:root body .guide-consult :is(.pb-fee-amount,.pb-fee-tax){color:CanvasText}}
@media print{html:root body .pb-fee-tax{font-size:.85em}html:root body .pb-fee-conditions-row{display:none}html:root body .pb-fee-print-note{display:block;margin-block-start:.5em;font-size:.85em;line-height:1.45}}


/* Global PB launcher only. Loaded at the end of each rendered head. */
body #pb-intake-root.pb-intake .pb-launcher{
 position:fixed!important;right:18px!important;bottom:18px!important;left:auto!important;
 align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;
 width:218px!important;min-width:218px!important;max-width:calc(100vw - 24px)!important;
 height:58px!important;min-height:58px!important;padding:9px 13px 9px 9px!important;gap:10px!important;
 overflow:hidden!important;border:1px solid #b7a07c!important;border-bottom-color:#9d8159!important;border-radius:19px!important;
 background-color:#eee3d0!important;
 background-image:linear-gradient(#faf5eae8,#e5d7bee8),url('/assets/pb-ivory-limestone-v1.webp')!important;
 background-size:auto,320px 320px!important;color:#123a43!important;
 box-shadow:inset 0 1px 0 #fffffff0,0 3px 0 #78664840,0 10px 25px #09253133!important;
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body #pb-intake-root.pb-intake .pb-launcher .pb-launcher-mark{
 display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
 width:36px!important;height:36px!important;flex:0 0 36px!important;padding:3px!important;
 background:linear-gradient(155deg,#32585b,#11333d)!important;color:#f1ddbc!important;
 border:1px solid #9f8c69!important;border-radius:12px!important;
 box-shadow:inset 0 1px 0 #ffffff24,0 1px 3px #0c273526!important;
}
body #pb-intake-root.pb-intake .pb-launcher .pb-robot-symbol{display:block!important;width:27px!important;height:27px!important;flex:none;overflow:visible;color:inherit}
body #pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy{
 display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:100%!important;
 margin:0!important;padding:0!important;overflow:hidden!important;text-align:start!important;
}
body #pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy>strong{
 display:block!important;white-space:nowrap!important;font:600 13px/1.25 var(--sans,Arial,sans-serif)!important;
 letter-spacing:0!important;color:#153d45!important;
}
body #pb-intake-root.pb-intake .pb-launcher .pb-launcher-copy>small{
 display:block!important;white-space:nowrap!important;font:400 10px/1.3 var(--sans,Arial,sans-serif)!important;
 letter-spacing:0!important;color:#496168!important;margin-top:3px!important;
}
body #pb-intake-root.pb-intake .pb-launcher .pb-launcher-short{display:none!important}
body #pb-intake-root.pb-intake .pb-launcher .pb-launcher-pulse{display:none!important}
body #pb-intake-root.pb-intake .pb-launcher:focus-visible{outline:2px solid #b78d50!important;outline-offset:4px!important}
body #pb-intake-root.pb-intake .pb-launcher.is-compact{
 width:148px!important;min-width:148px!important;height:48px!important;min-height:48px!important;
 padding:7px!important;gap:8px!important;border-radius:16px!important;
}
body #pb-intake-root.pb-intake .pb-launcher.is-compact .pb-launcher-mark{
 width:32px!important;height:32px!important;flex:0 0 32px!important;padding:2px!important;border-radius:10px!important;
}
body #pb-intake-root.pb-intake .pb-launcher.is-compact .pb-launcher-copy>strong,
body #pb-intake-root.pb-intake .pb-launcher.is-compact .pb-launcher-copy>small{display:none!important}
body #pb-intake-root.pb-intake .pb-launcher.is-compact .pb-launcher-short{
 display:inline!important;font:600 13px/1.2 var(--sans,Arial,sans-serif)!important;color:inherit!important;white-space:nowrap!important;
}
body #pb-intake-root.pb-intake .pb-launcher.is-compact.is-icon{
 width:54px!important;min-width:54px!important;height:54px!important;min-height:54px!important;
 padding:8px!important;gap:0!important;justify-content:center!important;border-radius:18px!important;
}
body #pb-intake-root.pb-intake .pb-launcher.is-compact.is-icon .pb-launcher-mark{width:36px!important;height:36px!important;flex:0 0 36px!important}
body #pb-intake-root.pb-intake .pb-launcher.is-compact.is-icon .pb-launcher-copy{display:none!important}
body #pb-intake-root.pb-intake[data-launcher-dock="left"] .pb-launcher{left:18px!important;right:auto!important}
body #pb-intake-root.pb-intake[data-launcher-dock="right"] .pb-launcher{left:auto!important;right:18px!important}
/* Replace only the old footer display gate. Native dialog ownership of [hidden] wins. */
body #pb-intake-root.pb-intake[data-page-footer-visible="1"] .pb-launcher:not([hidden]){display:flex!important}
body #pb-intake-root.pb-intake .pb-launcher[hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){
 body #pb-intake-root.pb-intake .pb-launcher:hover{
  transform:translateY(-3px)!important;border-color:#9a7849!important;
  box-shadow:inset 0 1px 0 #ffffff,0 4px 0 #78664840,0 14px 29px #09253140!important;
 }
}
body #pb-intake-root.pb-intake .pb-launcher:active{transform:translateY(0)!important}
@media(max-width:600px){
 body #pb-intake-root.pb-intake .pb-launcher{right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important}
 body #pb-intake-root.pb-intake[data-launcher-dock="left"] .pb-launcher{left:12px!important;right:auto!important}
 body #pb-intake-root.pb-intake[data-launcher-dock="right"] .pb-launcher{left:auto!important;right:12px!important}
}
@media(prefers-reduced-motion:reduce){
 body #pb-intake-root.pb-intake .pb-launcher{transition:none!important}
 body #pb-intake-root.pb-intake .pb-launcher:hover{transform:none!important}
}

/* Open mobile menu: readable bronze ink on the limestone navigation. */
body .site-header .menu-toggle[aria-expanded="true"]{color:#765634}

/* Two observed guide owners only; no article or paragraph layout changes. */
@media screen {
  .resource-professional-next .service-resource-link {
    display: grid;
    gap: .4rem;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid rgba(23, 62, 80, .14);
    color: var(--ink, #102e3c);
    line-height: 1.55;
    text-decoration: none;
  }

  .resource-professional-next .service-resource-link span {
    font-size: .9em;
    font-weight: 400;
  }

  .imm-guide-example {
    border-radius: var(--pb-mat-radius, 14px);
    background-image: linear-gradient(#e8f0efe8, #e8f0efe8), var(--pb-mat-finish-green);
    background-size: auto,var(--pb-mat-finish-layers);
    background-repeat:no-repeat;
    box-shadow: var(--pb-mat-card-shadow);
 background-position:left top;
}
}

@media screen and (forced-colors: active) {
  .resource-professional-next .service-resource-link {
    color: LinkText;
    border-color: CanvasText;
    background-image: none;
    box-shadow: none;
  }

  .imm-guide-example {
    border-color: CanvasText;
    background-image: none;
    box-shadow: none;
  }
}

/* Revolving scenarios only: native four-column table, labeled mobile cards. */
@media screen{
 body.revolving-page #revolving-result .revolving-scenario-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;margin:19px 0 22px;border:1px solid var(--line,rgba(16,46,60,.16));border-radius:14px;overflow:hidden;color:var(--ink,#102e3c);box-shadow:var(--pb-mat-card-shadow)}
 body.revolving-page #revolving-result .revolving-scenario-table :is(th,td){padding:11px 9px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid var(--line,rgba(16,46,60,.16));font:.8rem/1.45 var(--sans);overflow-wrap:anywhere}
 body.revolving-page #revolving-result .revolving-scenario-table thead th{font-size:.7rem;line-height:1.35;font-weight:700;color:#815a35}
 body.revolving-page #revolving-result .revolving-scenario-table th strong{padding:0;background:none;color:inherit;font:inherit;letter-spacing:0;text-transform:none}
 body.revolving-page #revolving-result .revolving-scenario-table tbody th{font-weight:700}
 body.revolving-page #revolving-result .revolving-scenario-payment{display:block;margin-top:4px;color:#53646a;font-size:.75rem;font-weight:400}
 body.revolving-page #revolving-result .revolving-scenario-table tbody td{font-variant-numeric:tabular-nums}
 body.revolving-page #revolving-result .revolving-scenario-table tbody td:last-child{font-weight:700}
}
@media screen and (min-width:701px){
 body.revolving-page #revolving-result .revolving-scenario-table tbody tr:last-child :is(th,td){border-bottom:0}
}
@media screen and (forced-colors:none){
 body.revolving-page #revolving-result .revolving-scenario-table{background-color:var(--paper,#f6f3ed);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
}
@media screen and (max-width:700px){
 body.revolving-page #revolving-result .revolving-scenario-table{display:block;border:0;border-radius:0;overflow:visible;background:none;box-shadow:none}
 body.revolving-page #revolving-result .revolving-scenario-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 body.revolving-page #revolving-result .revolving-scenario-table tbody{display:grid;gap:12px}
 body.revolving-page #revolving-result .revolving-scenario-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px;min-width:0;padding:12px;border:1px solid var(--line,rgba(16,46,60,.16));border-radius:14px;box-shadow:var(--pb-mat-card-shadow)}
 body.revolving-page #revolving-result .revolving-scenario-table tbody :is(th,td){min-width:0;padding:0;border:0}
 body.revolving-page #revolving-result .revolving-scenario-table tbody th{grid-column:1/-1;display:flex;justify-content:space-between;align-items:start;gap:8px;padding-bottom:9px;border-bottom:1px solid var(--line,rgba(16,46,60,.16));font-size:.85rem}
 body.revolving-page #revolving-result .revolving-scenario-payment{margin:0;text-align:right;white-space:normal}
 body.revolving-page #revolving-result .revolving-scenario-table tbody td::before{content:attr(data-label);display:block;margin-bottom:5px;color:#53646a;font-size:.66rem;line-height:1.35;font-weight:400}
}
@media screen and (max-width:700px) and (forced-colors:none){
 body.revolving-page #revolving-result .revolving-scenario-table tbody tr{background-color:var(--paper,#f6f3ed);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
}
@media screen and (forced-colors:active){
 body.revolving-page #revolving-result .revolving-scenario-table,
 body.revolving-page #revolving-result .revolving-scenario-table tbody tr{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}
 body.revolving-page #revolving-result .revolving-scenario-table :is(th,td),
 body.revolving-page #revolving-result .revolving-scenario-table thead th,
 body.revolving-page #revolving-result .revolving-scenario-payment,
 body.revolving-page #revolving-result .revolving-scenario-table tbody td::before{color:CanvasText;border-color:CanvasText}
}
@media print{
 .revolving-scenario-table{width:100%;table-layout:fixed;border-collapse:collapse;margin:10pt 0;font-size:9pt}
 .revolving-scenario-table :is(th,td){padding:5pt;border:1px solid #888;text-align:left;vertical-align:top}
 .revolving-scenario-payment{display:block;font-weight:400}
}

/* Observed IT, unemployment and unpaid-wage body finishes; screen only. */
@media screen {
 .temporary-disability-page .service-related .service-info-link,
 .temporary-disability-page .service-related .service-info-link:visited {
  color:var(--ink,#102e3c);
 }
 .temporary-disability-page .service-related .service-info-link:hover {
  color:#815a35;
 }

 /* The existing row is display:contents. One spanning grid preserves its
    two equal tracks while letting the stone image cross their boundary. */
 .unemployment-page .unemployment-duration-table>div:first-child {
  display:grid;
  grid-column:1/-1;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  min-width:0;
  background-color:var(--ink,#102e3c);
  background-image:var(--pb-mat-stone);
  background-size:auto,var(--pb-mat-finish-layers);
  background-repeat:no-repeat;
 background-position:left top;
}
 .unemployment-page .unemployment-duration-table>div:first-child>strong {
  min-width:0;
  background:transparent;
 }

 .salary-calculator-page #contenido>div.section {
  background-color:var(--paper,#f6f3ed);
  background-image:var(--pb-mat-paper);
  background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
  background-repeat:repeat;
 }
 .salary-calculator-page #contenido>.preparation-band {
  margin:24px clamp(14px,3.3vw,42px);
  border-radius:var(--pb-mat-shell-radius,18px);
  box-shadow:0 16px 38px rgba(12,44,56,.14);
 }
 .salary-calculator-page .legal-fields input[readonly] {
  font-size:.875rem;
  padding-inline:10px;
 }
}
@media screen and (forced-colors:active) {
 .temporary-disability-page .service-related .service-info-link,
 .temporary-disability-page .service-related .service-info-link:visited,
 .temporary-disability-page .service-related .service-info-link:hover {
  color:LinkText;
 }
 .unemployment-page .unemployment-duration-table>div:first-child {
  background-color:Canvas;
  background-image:none;
 }
 .unemployment-page .unemployment-duration-table>div:first-child>strong {
  color:CanvasText;
 }
 .salary-calculator-page #contenido>div.section {
  background-color:Canvas;
  background-image:none;
 }
 .salary-calculator-page #contenido>.preparation-band {
  box-shadow:none;
 }
}

/* Embargo: the article and final consultation follow the same materials as
   Salarios. Keep white fields, result behavior and the legal text unchanged. */
@media screen {
 .garnishment-calculator-page #contenido>div.section {
  background-color:var(--paper,#f6f3ed);
  background-image:var(--pb-mat-paper);
  background-size:auto,var(--pb-mat-ivory-tile,520px 520px);
  background-repeat:repeat;
 }
 .garnishment-calculator-page #contenido>.preparation-band {
  margin:24px clamp(14px,3.3vw,42px);
  border-radius:var(--pb-mat-shell-radius,18px);
  box-shadow:0 16px 38px rgba(12,44,56,.14);
 }
}
@media screen and (forced-colors:active) {
 .garnishment-calculator-page #contenido>div.section {
  background-color:Canvas;
  background-image:none;
 }
 .garnishment-calculator-page #contenido>.preparation-band {
  box-shadow:none;
 }
}

/* The final related guide sits outside .seo-article; keep its link in the
   established ink/bronze palette, with a visible underline and keyboard focus. */
@media screen and (forced-colors:none) {
 .garnishment-calculator-page #contenido>section.section:not(.preparation-band) a:not(.button),
 .garnishment-calculator-page #contenido>section.section:not(.preparation-band) a:not(.button):visited {
  color:var(--ink,#102e3c);
  text-decoration:underline;
  text-underline-offset:.18em;
 }
 .garnishment-calculator-page #contenido>section.section:not(.preparation-band) a:not(.button):hover {
  color:#815a35;
 }
 .garnishment-calculator-page #contenido>section.section:not(.preparation-band) a:not(.button):focus-visible {
  outline:2px solid #815a35;
  outline-offset:3px;
  border-radius:3px;
 }
}

/* The section already has limestone. Remove only the solid line-color backing
   beneath the shorter result column; retain the layout, cards and print rules. */
@media screen {
 .comprehensive-dismissal-page .comprehensive-calculator-layout,
 .unemployment-page .unemployment-calculator-layout {
  background-color:transparent;gap:18px;
 }
}

/* Italian landing and its privacy notice: observed body finishes only. */
@media screen {
 body.italia-page .it-hero-direct~section.faq>.faq-layout{
  gap:22px;padding:clamp(20px,2.4vw,30px);border-radius:18px;align-items:start;
 }
 body.italia-page .it-hero-direct~section.faq>.faq-layout>div:first-child>h2{margin-bottom:0}
 body.italia-page #analisi-documentale .it-investment-lines{padding:0;list-style:none;margin:18px 0}
 body.italia-page #analisi-documentale .it-investment-lines>li{grid-template-columns:minmax(0,1fr);align-items:start;gap:7px;padding:14px 0}
 body.italia-page #analisi-documentale .it-investment-lines>li>span{font-size:.82rem;line-height:1.45}
 body.italia-page #analisi-documentale .it-investment-lines>li>span>small{font-size:.75rem;line-height:1.5}
 body.italia-page #analisi-documentale .it-investment-lines>li>strong{font:600 1.25rem/1.3 var(--serif);white-space:nowrap}
 body.italia-page #analisi-documentale .it-academic-price-note{font-size:.75rem;line-height:1.55}
 body.italia-page main :is(.it-investment-lines>li>strong,.partner-band .scope-grid strong)>.it-root-vat{
  display:inline;margin:0;padding:0;color:inherit;font:400 11px/1.4 var(--sans);letter-spacing:0;text-transform:none;white-space:nowrap;vertical-align:baseline;
 }
 body.it-privacy-page .legal-content :is(p,ul,ol){max-inline-size:68ch}
}
@media screen and (min-width:1001px){
 body.italia-page #analisi-documentale>.it-academic-fee-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(24px,3vw,40px);align-items:start}
 body.italia-page #analisi-documentale .it-academic-price-card{padding:28px}
 body.italia-page .it-hero-direct~section.faq>.faq-layout{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr)}
}
@media screen and (max-width:1000px){
 body.italia-page .it-hero-direct~section.faq>.faq-layout{grid-template-columns:minmax(0,1fr);gap:20px}
}
@media screen and (forced-colors:none){
 body.italia-page .it-hero-direct~section.faq>.faq-layout{
  background-color:var(--paper,#f6f3ed);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;box-shadow:var(--pb-mat-card-shadow);
 }
}
/* Keep the semantic table and its column associations; only its mobile paint
   becomes four readable rows. The real thead remains in the accessibility tree. */
@media screen and (max-width:720px){
 body.it-privacy-page #trattamenti .legal-table-wrap{overflow:visible;border-radius:0}
 body.it-privacy-page #trattamenti .legal-table{display:block;width:100%;min-width:0;max-width:100%;border:0;border-spacing:0;margin:14px 0}
 body.it-privacy-page #trattamenti .legal-table>thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 body.it-privacy-page #trattamenti .legal-table>tbody{display:grid;gap:12px;min-width:0}
 body.it-privacy-page #trattamenti .legal-table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;padding:16px;border:1px solid var(--line,rgba(16,46,60,.16));border-radius:14px}
 body.it-privacy-page #trattamenti .legal-table>tbody>tr>td{display:block;min-width:0;width:auto;max-width:100%;padding:0;border:0;font:.95rem/1.65 var(--sans);overflow-wrap:anywhere}
 body.it-privacy-page #trattamenti .legal-table>tbody>tr>td+td{padding-top:12px;margin-top:12px;border-top:1px solid var(--line,rgba(16,46,60,.16))}
 body.it-privacy-page #trattamenti .legal-table>tbody>tr>td::before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--ink,#102e3c);font:700 .75rem/1.45 var(--sans)}
}
@media screen and (max-width:720px) and (forced-colors:none){
 body.it-privacy-page #trattamenti .legal-table>tbody>tr{background-color:var(--paper,#f6f3ed);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px);background-repeat:repeat;box-shadow:var(--pb-mat-card-shadow)}
}
@media screen and (forced-colors:active){
 body.italia-page .it-hero-direct~section.faq>.faq-layout,
 body.it-privacy-page #trattamenti .legal-table>tbody>tr{background:Canvas;color:CanvasText;border-color:CanvasText;box-shadow:none}
 body.it-privacy-page #trattamenti .legal-table>tbody>tr>td,
 body.it-privacy-page #trattamenti .legal-table>tbody>tr>td::before{color:CanvasText;border-color:CanvasText}
}
/* Newly wrapped tax words retain the former plain-text appearance in print. */
@media print{
 body.italia-page main :is(.it-investment-lines>li>strong,.partner-band .scope-grid strong)>.it-root-vat{display:inline;margin:0;padding:0;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;white-space:inherit;vertical-align:baseline}
}

/* Observed 851px failures: the side index leaves a narrow article. Keep
   the correct 1280px layout and the measured-correct Documenti process strip. */
@media screen and (max-width:1100px){
 body .it-content .it-triad-list>article{grid-template-columns:minmax(0,1fr);align-items:start;gap:10px}
 body .it-content .it-triad-list>article>:is(h3,div,p){grid-column:1;min-width:0;max-width:100%}
 body .it-content .it-price-ledger>article{grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}
 body .it-content .it-price-ledger>article>div{min-width:0;max-width:100%}
 body .it-content .it-price-ledger>article>.it-price-amount{grid-column:2;text-align:left;margin-top:5px}
 body .it-content .it-price-ledger>article>.it-price-amount>small{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 body .it-content .seo-facts{grid-template-columns:minmax(0,1fr)}
 body .it-content .seo-facts>div{min-width:0}
}

/* Two professional fee rows only: tax stays beside the figure when it fits,
   with one natural wrap opportunity on narrow cards. The academic note stays. */
@media screen{
 body .it-content .it-price-ledger>article:nth-child(n+2)>.it-price-amount{white-space:normal}
 body .it-content .it-price-ledger>article:nth-child(n+2)>.it-price-amount>small{
  display:inline-block;margin:0;margin-inline-start:5px;padding:0;font-size:11px;font-weight:400;line-height:1.4;letter-spacing:0;text-transform:none;white-space:nowrap;vertical-align:baseline;
 }
}
/* Only Differenza has the adjacent #mappa heading. Costi SCENARIO tracks and
   every <=1100px stacked layout from R2 remain unchanged. */
@media screen and (min-width:1101px){
 body .it-content #mappa+.it-triad-list>article{grid-template-columns:148px 170px minmax(0,1fr)}
}

/* Five-stage timelines need two flexible tracks while the article is narrow.
   Keep the established <=760px single column and >1100px desktop layout. */
@media screen and (min-width:761px) and (max-width:1100px){
 body .it-content .it-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body .it-content .it-timeline>div{min-width:0}
 body .it-content .it-timeline>div:last-child:nth-child(odd){grid-column:1/-1}
}

/* Spain–Italy service page: compact the observed empty cards and reuse the Home material. */
@media screen {
 body.spain-italy-page :is(.service-hero,.method,.contact){border-radius:var(--pb-mat-shell-radius,18px)}
 body.spain-italy-page .service-grid{gap:14px;border:0}
 body.spain-italy-page .service-card{min-height:0;padding:24px}
 body.spain-italy-page .service-card h3{margin-block:22px 16px}
 body.spain-italy-page .area-fees-section{background-color:var(--paper);background-image:var(--pb-mat-paper);background-size:auto,var(--pb-mat-ivory-tile,520px 520px)}
 body.spain-italy-page .area-fees-grid{gap:14px;border:0}
 body.spain-italy-page .area-fees-footer{border-radius:var(--pb-mat-radius,14px)}
 body.spain-italy-page :is(.method-grid,.contact-shell){border-radius:var(--pb-mat-shell-radius,18px)}
 body.spain-italy-page .contact-form .privacy-first-layer{border-radius:12px}
 body.spain-italy-page .contact-form .check a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
 body.spain-italy-page .contact-form .check a:is(:hover,:focus-visible){color:#815a35}
 body.spain-italy-page .contact-form .check a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
}
@media screen and (forced-colors:active){
 body.spain-italy-page .contact-form .check a{color:LinkText;text-decoration-color:LinkText}
 body.spain-italy-page .contact-form .check a:focus-visible{outline-color:Highlight}
}

/* Italian guide mastheads share one stone surface across breadcrumb and title. */
@media screen {
 body .it-guide-hero{border-radius:var(--pb-mat-shell-radius,18px)}
 body .it-guide-masthead{
  border-radius:var(--pb-mat-shell-radius,18px);overflow:hidden;
  background-color:var(--ink);background-image:var(--pb-mat-stone);
  background-size:auto,var(--pb-mat-finish-layers);background-repeat:no-repeat;
 background-position:left top;
}
 body .it-guide-masthead>:is(.it-guide-trail-shell,.it-guide-hero){background:transparent;border-radius:0}
}
@media screen and (max-width:900px){
 body.spain-italy-page .split{gap:26px}
}

/* Italian article disclosures use the same rounded paper controls as other guides. */
@media screen {
 body .it-faq{display:grid;gap:12px;border-top:0}
 body .it-faq>details>summary{padding:17px 20px;font:700 .94rem/1.5 var(--sans)}
 body .it-faq>details>summary::marker{color:#8b663e}
 body .it-faq>details>:not(summary){margin:0;padding:0 20px 18px}
}
@media screen and (forced-colors:active){body .it-faq>details>summary::marker{color:CanvasText}}

/* Match the existing brand-system guide title column, including mobile gutters. */
@media screen{body .it-guide-masthead .it-guide-trail{max-width:960px;margin-inline:auto}}

/* The footer assistant is a tactile control; its copy stays clear on hover. */
@media screen{
 body footer.footer--it-strip .footer-calma-trigger{text-decoration:none;background-image:var(--pb-ui-button-sheen);transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
 body footer.footer--it-strip .footer-calma-trigger:is(:hover,:focus-visible){text-decoration:none;background-image:var(--pb-ui-button-sheen);transform:translateY(-2px);box-shadow:var(--pb-ui-button-shadow-hover)}
}
@media screen and (prefers-reduced-motion:reduce){
 body footer.footer--it-strip .footer-calma-trigger,body footer.footer--it-strip .footer-calma-trigger:is(:hover,:focus-visible){transition:none;transform:none}
}
@media screen and (forced-colors:active){
 body footer.footer--it-strip .footer-calma-trigger,body footer.footer--it-strip .footer-calma-trigger:is(:hover,:focus-visible){background-image:none;box-shadow:none}
}

/* Practical-guide disclosures share the approved rounded paper and UI hierarchy. */
@media screen{
 body details.seo-faq{margin-block:12px;overflow:hidden}
 body details.seo-faq>summary{padding:17px 20px;font:700 .94rem/1.5 var(--sans);cursor:pointer}
 body details.seo-faq>summary::marker{color:#8b663e}
 body details.seo-faq>:not(summary){margin:0;padding:0 20px 18px}
}
@media screen and (forced-colors:active){body details.seo-faq>summary::marker{color:CanvasText}}

/* Keep generated tool links and keyboard focus within the desk palette. */
@media screen{
 body details.seo-faq>summary:focus-visible{outline:2px solid #a27c47;outline-offset:-3px}
 body [data-property-result] a:not(.button){color:var(--ink,#14313d);text-decoration:underline;text-decoration-color:rgba(137,104,55,.6);text-underline-offset:.18em}
 body [data-property-result] a:not(.button):hover{color:#76582f}
}
@media screen and (forced-colors:active){body details.seo-faq>summary:focus-visible{outline-color:Highlight}body [data-property-result] a:not(.button){color:LinkText}}


/* Free-valuation summaries contain prose, not the former large numeric prices.
   These opt-in markers are absent from the approved Home and real Labour fees. */
body main .is-valuation-summary,
body main .is-valuation-summary > * {
 min-inline-size:0;max-inline-size:100%;box-sizing:border-box;
 white-space:normal;overflow-wrap:break-word;
}
body main .is-valuation-summary > * {grid-column:1/-1}
body main .is-valuation-summary > p {
 margin-block:0 12px;font:400 .95rem/1.6 var(--sans);letter-spacing:normal;text-transform:none;
}
body main .is-valuation-summary > :is(.hero-fact-title,p:first-child) {
 margin-block:0 8px;font:700 .94rem/1.45 var(--sans);letter-spacing:normal;text-transform:none;
}
body main :is(.hero-fact-card,.area-route-card).is-valuation-summary > strong {
 display:block;margin-block:0 10px;color:var(--accent-2,#d9b781);
 font:500 clamp(1.65rem,2.2vw,2rem)/1.2 var(--serif);letter-spacing:normal;
 white-space:normal;overflow-wrap:break-word;
}
body main .area-route-card.is-valuation-summary > strong {color:var(--ink,#102e3c)}
body main .is-valuation-summary > ul {
 display:grid;gap:8px;margin-block:4px 14px;padding-inline-start:1.2em;
 color:inherit;font:400 .94rem/1.6 var(--sans);list-style:disc;
}
body main .is-valuation-summary > ul > li {
 display:list-item;min-inline-size:0;margin:0;padding:0;color:inherit;
 font:inherit;white-space:normal;overflow-wrap:break-word;
}
body main .is-valuation-summary > ul > li::marker {color:currentColor}
body main .is-valuation-summary > small {
 display:block;margin-block:12px 0;font:400 .82rem/1.55 var(--sans);
 white-space:normal;overflow-wrap:break-word;
}
body main .is-valuation-summary > .button {
 justify-self:start;max-inline-size:100%;white-space:normal;text-align:center;
}
/* Only converted route cards lose their old two-price ledger columns. */
:is(#honorarios-derecho-familia,#honorarios-derecho-penal,#honorarios-derecho-civil,#honorarios-derecho-administrativo) ~ .area-route-band .area-route-card.is-valuation-summary {
 grid-template-columns:minmax(0,1fr);gap:0;align-items:start;
}
:is(#honorarios-derecho-familia,#honorarios-derecho-penal,#honorarios-derecho-civil,#honorarios-derecho-administrativo) ~ .area-route-band .area-route-card.is-valuation-summary > .button {
 justify-self:start;align-self:start;margin-block-start:2px;max-inline-size:320px;
}
/* Quote labels and their supporting line use a prose hierarchy in every
   converted family. Actual amounts retain their existing unmarked rules. */
body main .is-valuation-price,
body main :is(.hero-fact-card,.company-price,.company-cost-ledger-price,.company-form-price,.management-price,.tariff-price,.tariff-family-single-price,.i18n-price,.i18n-service-price,.service-price,.area-fee-price-inline).is-valuation-price {
 display:block;min-inline-size:0;max-inline-size:100%;box-sizing:border-box;
 font:600 1.0625rem/1.45 var(--sans);letter-spacing:normal;text-transform:none;
 white-space:normal;overflow-wrap:break-word;
}
body main :is(.hero-fact-card,.company-price,.company-cost-ledger-price,.company-form-price,.management-price,.tariff-price,.tariff-family-single-price,.i18n-price,.i18n-service-price,.service-price,.area-fee-price-inline).is-valuation-price > strong,
body.company-cost-page .company-hero .hero-fact-card.is-valuation-price > strong {
 display:block;min-inline-size:0;max-inline-size:100%;margin:0;
 font:600 1.0625rem/1.45 var(--sans);letter-spacing:normal;text-transform:none;
 white-space:normal;overflow-wrap:break-word;
}
body main .is-valuation-price > :is(span,small) {
 display:block;min-inline-size:0;max-inline-size:100%;margin-block:6px 0;padding:0;
 font:400 .86rem/1.55 var(--sans);letter-spacing:normal;text-transform:none;
 white-space:normal;overflow-wrap:break-word;
}
:is(#honorarios-derecho-familia,#honorarios-derecho-penal) .area-fee-price-inline.is-valuation-price {display:block}
@media screen and (max-width:700px) {
 :is(#honorarios-derecho-familia,#honorarios-derecho-penal,#honorarios-derecho-civil,#honorarios-derecho-administrativo) ~ .area-route-band .area-route-card.is-valuation-summary > .button {max-inline-size:none}
}

/* Shared editorial typography. Semantic prose roles and measured reading columns.
 * Existing hero/control tokens and component roles remain independent.
 */
@media screen {
  html:root {
    --pb-prose-size:1rem;
    --pb-prose-leading:1.7;
    --pb-prose-h2-size:clamp(1.45rem,2.2vw,1.8rem);
    --pb-prose-h2-leading:1.25;
    --pb-prose-h3-size:1.16rem;
    --pb-prose-h3-leading:1.35;
    --pb-prose-note-size:.875rem;
    --pb-prose-note-leading:1.6;
    --pb-editorial-h1-size:clamp(2.125rem,3.2vw,2.625rem);
    --pb-editorial-h1-leading:1.12;
    --pb-editorial-lead-size:1rem;
    --pb-editorial-lead-leading:1.65;
  }

  /* H1 and lead: only the 691 identified editorial pages, not the Home,
     /it/ marketing landing, generic services, models, tools or their heroes. */
  html:root body[data-pb-editorial] main :is(.seo-page-hero,.guide-hero,.imm-hero,.monitorio-hero) h1 {
    font-family:var(--serif)!important;
    font-size:var(--pb-editorial-h1-size)!important;
    font-weight:500!important;
    line-height:var(--pb-editorial-h1-leading)!important;
    letter-spacing:-.02em!important;
    max-inline-size:30ch;
  }
  html:root body[data-pb-editorial] [data-pb-editorial-lead] {
    font-family:var(--sans)!important;
    font-size:var(--pb-editorial-lead-size)!important;
    font-weight:400!important;
    line-height:var(--pb-editorial-lead-leading)!important;
  }

  /* Explanatory prose also shares these roles in tool/model .seo-article.
     UI boundaries are explicit existing components, not guessed from prose. */
  html:root body[data-pb-editorial] [data-pb-reading] :is(p,li):not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)),
  html:root body :is(.seo-article,.monitorio-article) :is(p,li):not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    font-family:var(--sans)!important;
    font-size:var(--pb-prose-size)!important;
    font-weight:400!important;
    line-height:var(--pb-prose-leading)!important;
  }
  html:root body[data-pb-editorial] [data-pb-reading] p:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)),
  html:root body :is(.seo-article,.monitorio-article) p:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    margin-block:0 .85rem;
  }
  html:root body[data-pb-editorial] [data-pb-reading] li:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)),
  html:root body :is(.seo-article,.monitorio-article) li:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    margin-block:.35rem;
  }
  html:root body[data-pb-editorial] [data-pb-reading] h2:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)),
  html:root body :is(.seo-article,.monitorio-article) h2:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    font-family:var(--serif)!important;
    font-size:var(--pb-prose-h2-size)!important;
    font-weight:500!important;
    line-height:var(--pb-prose-h2-leading)!important;
    letter-spacing:-.015em!important;
    margin-block:1.6rem .75rem!important;
  }
  html:root body[data-pb-editorial] [data-pb-reading] h3:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)),
  html:root body :is(.seo-article,.monitorio-article) h3:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    font-family:var(--sans)!important;
    font-size:var(--pb-prose-h3-size)!important;
    font-weight:600!important;
    line-height:var(--pb-prose-h3-leading)!important;
    margin-block:1.2rem .55rem!important;
  }
  /* Editorial disclosure labels share a readable role. TOCs are explicit UI
     boundaries; padding, borders, icons and native details behaviour stay intact. */
  html:root body[data-pb-editorial] [data-pb-reading] details>summary:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    font-family:var(--sans)!important;
    font-size:1rem!important;
    font-weight:700!important;
    line-height:1.5!important;
  }
  html:root body [data-pb-reading] :is(h2,h3):first-child:not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    margin-block-start:0!important;
  }
  html:root body [data-pb-reading] .eyebrow+:is(h2,h3):not(:where([data-pb-reading-ui],[data-pb-reading-ui] *)) {
    margin-block-start:.4rem!important;
  }
  html:root body[data-pb-editorial] [data-pb-reading] :is([data-pb-reading-note],[data-pb-reading-note] p,[data-pb-reading-note] li),
  html:root body :is(.seo-article,.monitorio-article) :is([data-pb-reading-note],[data-pb-reading-note] p,[data-pb-reading-note] li) {
    font-size:var(--pb-prose-note-size)!important;
    line-height:var(--pb-prose-note-leading)!important;
  }

  /* Only actual guide containers acquire a reading measure. Tool/model form,
     result and card layouts are NOT narrowed by the generic prose roles above. */
  html:root body[data-pb-editorial] [data-pb-reading] {
    min-inline-size:0;
    font-size:var(--pb-prose-size);
  }
  html:root body[data-pb-editorial] [data-pb-reading-layout="seo"] {
    grid-template-columns:230px minmax(0,1fr);
    column-gap:2.4rem;
    max-inline-size:1120px!important;
  }
  html:root body[data-pb-editorial] [data-pb-reading-layout="seo"]>[data-pb-reading] {
    --pb-reading-shared-inset:calc(2 * clamp(16px,2vw,28px) + 2px);
    --pb-reading-own-inset:0px;
    inline-size:100%;
    max-inline-size:min(calc(74ch + var(--pb-reading-own-inset)),calc(100% - var(--pb-reading-shared-inset) + var(--pb-reading-own-inset)))!important;
    justify-self:center;
    margin-inline:auto;
  }
  html:root body[data-pb-editorial] [data-pb-reading-layout="seo"]>[data-pb-reading-frame="paper"] {
    --pb-reading-own-inset:var(--pb-reading-shared-inset);
  }
  /* Existing practice-section cards retain their own insets. The parent is
     bounded, not replaced with a new card or a second layer of padding. */
  html:root body[data-pb-editorial] [data-pb-reading-layout]:not([data-pb-reading-layout="seo"])>[data-pb-reading] {
    inline-size:100%;
    max-inline-size:74ch;
  }
}
@media screen and (max-width:900px) {
  html:root body[data-pb-editorial] [data-pb-reading-layout="seo"] {
    grid-template-columns:minmax(0,1fr);
    gap:22px;
  }
}
@media screen and (max-width:600px) {
  html:root body[data-pb-editorial] main :is(.seo-page-hero,.guide-hero,.imm-hero,.monitorio-hero) h1 {
    font-size:2.125rem!important;
    line-height:var(--pb-editorial-h1-leading)!important;
  }
}
/* No print override. Native print styles and generated document layouts remain. */

/* A fixed grain keeps the stone consistent across the narrowest card and a full-width band. */
@media screen and (forced-colors:none) {
 body :is(.guide-hero,.guide-steps,.guide-consult,.fiscal-library-cta,
 .contact-route-shell.contact-route-single,.decision-tree-v224,.guide-conversion-v224,
 .property-tool-page .pr-result-head,.tools-preparer.offer-tool-promo,
 .monitorio-page .monitorio-index__cta,.monitorio-page .monitorio-table-scroll thead,
 .pb-expanded-guide .pb-guide-table th,.verification-digital,
 .fiscal-review-notice,.pbx-next,.pbf-next,.ai-insights .ai-provider[open]>summary),
 body.practice-expansion-page .areas-hero,
 body:has(#formulario-mediacion) :is(.mediation-dark,.mediation-profile>figure),
 body:has(#formulario-mediacion) #solicitud .contact-shell,
 body #pb-intake-root.pb-intake .pb-header {
  background-size:auto,var(--pb-mat-finish-layers)!important;
  background-repeat:no-repeat!important;
  background-position:left top!important;
 }
 body :is(.area-dark,.immigration-map-note-v214,
 .it-score-callout,.fiscal-card-links a.is-primary,.team-hero-v211,.team-method-v211,
 .fiscal-platform-v217.fiscal-platform-v223,.fiscal-platform-shell-v217,
 .coverage-hub-hero,.fiscal-help-panel,.fiscal-summary),
 body.cnae-iae-page :is(.cnae-scope,.cnae-search,.cnae-questions,.cnae-explainer aside),
 body.tools-page #tools-hub-search button,
 body.calculator-page .calculator-result.deadline-result,
 body.calculator-page-trafico .traffic-live-result,
 body.site-search-page :is(.site-search-box button,.site-search-filters button[aria-pressed=true]),
 body:has(#formulario-mediacion) .mediation-steps>li,
 body.immigration-library-page :is(#schengen-result,#imm-cost-result,#imm-channel-result,#imm-checklist-result),
 body.fiscal-calendar-page :is(.fiscal-result-header,#contenido .preparation-band,.fiscal-purpose-grid>a),
 body.calculator-page-trafico #traffic-review>p,
 html:root .pb-privacy-choice .pb-privacy-actions>button {
  background-size:auto,auto,var(--pb-mat-finish-layers)!important;
  background-repeat:no-repeat!important;
  background-position:left top!important;
 }
}

/* Readable card headings, with supporting links at their own visual level. */
body main .case-list>article>h3,
body main .practical-resource-grid>article>h3,
body.practice-expansion-page main .area-case-grid>.area-case-link h3 {
 color:#153d46;
 font-weight:600;
 line-height:1.2;
}
body main .case-list>article>h3,
body main .practical-resource-grid>article>h3 {
 font-size:clamp(1.2rem,1.4vw,1.38rem);
}
body main :is(.case-list>article>p:not(:first-of-type),.practical-resource-grid>article>p:not(:first-of-type))>a:not(.button,.btn),
body main .case-list-links a,
body.practice-expansion-page main .area-case-grid>.area-case-link>strong,
body main .pb-related-card .pb-related-action {
 color:#79502f;
 font-family:var(--sans);
 font-size:.825rem;
 font-weight:700;
 line-height:1.45;
 letter-spacing:normal;
 text-decoration-thickness:1px;
 text-underline-offset:.17em;
}
body.practice-expansion-page main .area-case-grid>.area-case-link>strong>a {
 color:inherit;
}
body.practice-expansion-page main .area-case-grid>.area-case-link>strong {font-size:.76rem}
body main .case-list-links {
 display:grid;
 gap:6px;
 padding:0;
 margin:12px 0 0;
 list-style:none;
}
body main .case-list>article:has(>.case-list-links) {
 display:flex;
 flex-direction:column;
}
body main .case-list>article>.case-list-links {
 margin-block-start:auto;
 padding-block-start:12px;
}
body main .case-link-end {
 white-space:nowrap;
}
body main :is(.case-list-links,.case-list>article>p:not(:first-of-type),.practical-resource-grid>article>p:not(:first-of-type))>a:is(:hover,:focus-visible),
body main .case-list-links a:is(:hover,:focus-visible) {
 color:#56381f;
}
@media (forced-colors:active) {
 body main :is(.case-list>article>h3,.practical-resource-grid>article>h3,.area-case-grid>.area-case-link h3) {color:CanvasText}
 body main :is(.case-list>article>p:not(:first-of-type),.practical-resource-grid>article>p:not(:first-of-type))>a:not(.button,.btn),
 body main .case-list-links a,
 body.practice-expansion-page main .area-case-grid>.area-case-link>strong,
 body main .pb-related-card .pb-related-action {color:LinkText}
}

/* La flecha de las fichas de servicio pertenece al final del título. */
body.service-page .service-related-grid > .service-resource-link:has(> span[aria-hidden="true"]:only-child) {
  display: block;
  font-size: .9375rem;
  line-height: 1.42;
}

body.service-page .service-related-grid > .service-resource-link:has(> span[aria-hidden="true"]:only-child) > span[aria-hidden="true"] {
  display: inline;
  margin: 0;
  color: var(--ink, #102e3c);
}

.labor-fee-models .labor-help-options > article {
  border-radius: 16px;
}

/* Mantiene el aviso, los consentimientos y la ayuda en el formulario de reservas. */
.contact-request #aviso.contact-request__form form > fieldset {
  margin-bottom: .7rem !important;
}

.contact-request #aviso.contact-request__form legend {
  margin-bottom: .45rem !important;
}

.contact-request #aviso.contact-request__form .contact-request__fields {
  gap: .6rem .85rem !important;
}

.contact-request #aviso.contact-request__form fieldset > p {
  margin-block: .45rem 0 !important;
}

.contact-request #aviso.contact-request__form :is(.contact-request__warning, .contact-request__privacy, .contact-request__check) {
  line-height: 1.42 !important;
  margin-block: .65rem !important;
}

.contact-request #aviso.contact-request__form .contact-request__warning {
  padding: .7rem .8rem !important;
}

.contact-request #aviso.contact-request__form .contact-request__warning br + br {
  display: none;
}

@media (max-width: 500px) {
  .contact-request #aviso.contact-request__form {
    padding: .75rem !important;
  }
}

@media screen and (1200px <= width < 1600px){html:root{--pb-mat-finish-tile:min(calc(640px * 808 / 840),max(calc(560px * 808 / 827),calc(100vw * 808 / 1902))) min(calc(640px * 795 / 840),max(calc(560px * 795 / 827),calc(100vw * 795 / 1902)))}}
@media screen and (forced-colors:none) {
 body.tools-page .tool-card.is-featured {
  background-size:auto,auto,var(--pb-mat-finish-layers)!important;
  background-repeat:no-repeat!important;
 }
 body .section.management-boundaries {
  background-image:var(--pb-mat-stone);
  background-size:auto,var(--pb-mat-finish-layers);
  background-position:left top;
  background-repeat:no-repeat;
 }
}

/* Preserve the existing paper colors on the remaining solid editorial surfaces. */
@media screen and (forced-colors:none) {
 body :is(.pr-card,.rail-related-card,.pbr-workspace,.pbr-next,.local-resources,.tariff-filters) {--pb-plane-color:var(--paper,#f6f3ed)}
 body .guide-library-v222 {--pb-plane-color:#f7f4ee}
 body .labor-scope {--pb-plane-color:#f4eee6}
 body .labor-rule {--pb-plane-color:#f7f2eb}
 body.home-page[data-pb-home] #consultas .entry-card.featured {--pb-plane-color:#f0ece2}
 body.home-page[data-pb-home] #consultas .entry-followup {--pb-plane-color:#f4f0e7}
 body .company-forms-note {--pb-plane-color:var(--company-paper,#f6f3ed)}
 body :is(.profile-focus,.calma-intake) {--pb-plane-color:#f5f1e9}
 body :is(.profile-training,.tools-note),body.tools-page .tools-note {--pb-plane-color:#f3eee5}
 body .traffic-method {--pb-plane-color:#f8f4ed}
 body .pb-hogar-checklist {--pb-plane-color:#f6f1e7}
 body .management-contact {--pb-plane-color:#efe9de}
 body .verification-facts {--pb-plane-color:#efe7da}
 body .library-tool .library-tool-card {--pb-plane-color:var(--lt-stone,#f6f3ed)}
 body :is(.pr-card,.rail-related-card,.pbr-workspace,.pbr-next,.guide-library-v222,.labor-scope,.labor-rule,
  .company-forms-note,.profile-focus,.profile-training,.tools-note,.traffic-method,
  .local-resources,.tariff-filters,.pb-hogar-checklist,.management-contact,.verification-facts,.calma-intake),
 body.home-page[data-pb-home] section#consultas :is(.entry-card.featured,.entry-followup),
 body.tools-page .tools-note,body .library-tool .library-tool-card,
 html:root body.verification-page .verification-facts.verification-prices {
  --pb-plane-veil:color-mix(in srgb,var(--pb-plane-color) 91%,transparent);
  background-image:linear-gradient(var(--pb-plane-veil),var(--pb-plane-veil)),var(--pb-mat-ivory);
  background-size:auto,var(--pb-mat-ivory-tile);
  background-repeat:no-repeat,repeat;
 }

 body .faq-layout {--pb-plane-wash:linear-gradient(135deg,#fffffff2,#f7f3ecf2)}
 body .traffic-fees {--pb-plane-wash:linear-gradient(135deg,#f6f1e9f2 0%,#fffffff2 54%,#edf3f3f2 100%)}
 body .labor-fee-section.alt {--pb-plane-wash:linear-gradient(135deg,#f6f0e7f2,#fffffff2 54%,#edf3f2f2)}
 body .profile-intro {--pb-plane-wash:linear-gradient(180deg,#fffffff2,#faf7f1f2)}
 body .imm-resource-section.area-guides {--pb-plane-wash:linear-gradient(180deg,#fffdf9f2,#f4f0e9f2)}
 body .verification-services {--pb-plane-wash:linear-gradient(180deg,#e9e2d6f2,#f4f0e8f2)}
 body .traffic-calculator-section {--pb-plane-wash:linear-gradient(180deg,#eee8dff2 0,#f8f4edf2 42%,#f2ece3f2 100%)}
 body .fiscal-scope {--pb-plane-wash:linear-gradient(180deg,#fffffff2,#f5f1e9f2)}
 body .fiscal-explainer {--pb-plane-wash:linear-gradient(180deg,#f5f1e9f2,#fffdf9f2)}
 body .consult-credit {--pb-plane-wash:linear-gradient(135deg,#fff9eff2,#f5ede1f2)}
 body.calculator-page :is(.dismissal-calculator,.finiquito-calculator,.deadline-calculator),
 body.calculator-page-trafico .traffic-calculator-form {--pb-plane-wash:linear-gradient(145deg,#fffffff2,#fbf8f3f2)}
 body :is(.faq-layout,.traffic-fees,.labor-fee-section.alt,.profile-intro,.verification-services,.traffic-calculator-section,
  .fiscal-scope,.fiscal-explainer,.consult-credit,.imm-resource-section.area-guides),
 body.calculator-page :is(.dismissal-calculator,.finiquito-calculator,.deadline-calculator),
 body.calculator-page-trafico .traffic-calculator-form {
  background-image:var(--pb-plane-wash),var(--pb-mat-ivory);
  background-size:auto,var(--pb-mat-ivory-tile);
  background-repeat:no-repeat,repeat;
 }
}

/* Same cream surface on editorial panels that keep their own background shorthand. */
@media screen and (forced-colors:none) {
 body :is(.model-linked-resources,.resource-expansion-page a.pr-card,.rail-resource-page a.rail-related-card,
  .pb-record-tool :is(.pbr-workspace,.pbr-next)) {--pb-surface-veil:#f6f3ede8}
 body .model-lead {--pb-surface-veil:#f3eee6e8}
 body .seo-related--journey {--pb-surface-veil:#f5f2ece8}
 body.spain-italy-page .area-fees-footer {--pb-surface-veil:#f2ece3e8}
 body :is(.model-lead,.model-linked-resources,.seo-related--journey,.resource-expansion-page a.pr-card,
  .rail-resource-page a.rail-related-card,.pb-record-tool :is(.pbr-workspace,.pbr-next)),
 body.spain-italy-page .area-fees-footer {
  background-image:linear-gradient(var(--pb-surface-veil),var(--pb-surface-veil)),var(--pb-mat-ivory);
  background-size:auto,var(--pb-mat-ivory-tile);
  background-repeat:no-repeat,repeat;
 }
 body .fiscal-services-grid>article {
  background-image:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,243,235,.78)),var(--pb-mat-ivory);
  background-size:auto,var(--pb-mat-ivory-tile);
  background-repeat:no-repeat,repeat;
 }
 body .verification-person-grid>article {
  background-image:linear-gradient(145deg,#fbf8f1ed,#eee7daed),var(--pb-mat-ivory);
  background-size:auto,var(--pb-mat-ivory-tile);
  background-repeat:no-repeat,repeat;
 }
}
@media screen and (max-width:900px) and (forced-colors:none) {
 html:root body .site-header>.nav.wrap>.nav-links.open {
  background-image:linear-gradient(#f7f2e8ed,#f7f2e8ed),var(--pb-mat-ivory);
  background-size:auto,var(--pb-mat-ivory-tile);
  background-repeat:no-repeat,repeat;
 }
}

/* Keep the approved grain at its existing scale. The footer samples a more
   evenly lit part of the same slate, away from the tile's bright top edge. */
@media screen and (forced-colors:none) {
 body :is(footer.footer,footer.site-footer,footer.i18n-footer,footer.payment-flow-footer,footer.success-footer),
 body.pb-i18n footer.i18n-footer,
 body.home-page[data-pb-home] footer.footer.footer--local-strip {
  background-position:left top,left 62%;
 }
 body footer.footer.footer--local-strip,
 body.home-page[data-pb-home] footer.footer.footer--local-strip {
  border-top-color:rgba(6,24,31,.55);
 }
}

/* Keep the stone continuous at the joins between structural panels. */
@media screen and (forced-colors:none) {
 body :is(.seo-hero-fact.hero-fact-card,.hero-fact-card.area-hero-aside,
   .hero-fact-card.practice-fact,.hero-fact-card.management-hero-fact,.imm-hero-aside) {
  border-left-color:transparent!important;
  border-top-color:transparent!important;
 }
 body .guide-next-v222 .wrap>div:last-child,
 body .guide-next-v222 .wrap>div:last-child a {
  border-color:transparent;
 }
 body :is(.contact,.seo-cta,.guide-next-v222,.area-dark,.method,.team-method-v211,
   .model-boundary,.it-compare-section,.it-academic-fee).section::after {
  content:none;
 }
 body :is(.seo-cta,.team-method-v211) {
  box-shadow:0 2px 4px rgba(17,46,52,.04),0 9px 22px rgba(17,46,52,.075);
 }
 body :is(.site-header,.site-header>.topbar) {
  border-bottom-color:rgba(4,22,29,.50);
 }
 body footer.footer.footer--local-strip .local-footer-meta {
  border-top-color:rgba(4,22,29,.50);
 }
}

/* Darken structural joins on green surfaces. Keep text, buttons and focus ink. */
@media screen and (forced-colors:none) {
 :root {
  --pb-dark-structural-edge:rgba(4,22,29,.62);
  --pb-dark-panel-shadow:0 3px 7px rgba(5,18,24,.14),0 12px 26px rgba(5,18,24,.18);
 }

 /* The original decorations draw long, bright rules over the dark fill. */
 body :is(.areas-hero,.guide-hero,.verification-hero)::after,
 body :is(.service-hero,.it-guide-hero,.situation-card-accent,
  .traffic-fee-card.featured,.labor-price-card.featured)::before,
 body :is(.labor-complex,.preparation-band,.mediation-dark,.verification-digital,.it-cta,.model-review-cta,
  .monitorio-cta,.management-boundaries,#candidatura).section::after,
 body :is(.entry-lawyer,.entry-calma)::before,
 body .mediation-dark .section-heading::after,
 body .method .method-grid::before,
 body.spain-italy-page .service-card.featured::before,
 body :is(.contact,.mediation-contact) .contact-shell::before,
 body main:has(.it-content) #contatto>.contact-shell::before {
  content:none!important;
 }

 /* The page panels retain their dimensions and exterior shadows. */
 body :is(.guide-consult,.guide-hero aside,.seo-cta,.model-review-cta,
  .fiscal-library-cta,.preparation-band,.situation-card-accent,.it-cta,.pbx-next,.pbf-next,.guide-conversion-v224,
  .verification-digital .verification-rules>article,.method .method-grid,
  .it-admin-grid article:nth-child(2),.it-compare-cards article:not(.is-spain),
  .cnae-explainer aside,body.spain-italy-page .service-card.featured,
  .traffic-fee-card.featured,.labor-price-card.featured,.immigration-map-note-v214,
  .mediation-dark .mediation-steps>li,.mediation-contact-note) {
  box-shadow:var(--pb-dark-panel-shadow)!important;
 }
 body :is(.contact,.mediation-contact) .contact-shell,
 body :is(.it-timeline>div,.it-process-strip>div,.temporary-disability-page #it-result,.entry-card.entry-resources,
  .tools-preparer.offer-tool-promo,#candidatura>.candidate-shell) {
  box-shadow:var(--pb-dark-panel-shadow)!important;
 }

 /* Sidebars and grid rules remain present but no longer brighten the background. */
 body :is(.guide-hero aside,.model-hero aside,.model-detail-hero aside,
  .hero-fact-card .hero-fact-rows>div,.team-facts-v211>div,
  .team-method-v211 article,.area-dark .area-steps>li,.area-dark .area-case-grid>article,
  .area-dark .area-prep-grid>article,.area-dark .area-section-heading>p,
  .labor-complex-list,.labor-complex-list article,.labor-price-card.featured .labor-variable,
  .labor-calm-panel,.labor-calm-panel .labor-calm-portrait,
  .immigration-map-note-v214,.cnae-scope,.cnae-scope-grid>div,
  .fiscal-summary,.fiscal-summary dl,.fiscal-summary dl>div,#fiscal-answer-summary,
  .fiscal-platform-shell-v217.fiscal-platform-shell-v223,.fiscal-platform-plans-v223,
  .fiscal-platform-plans-v223>article,.fiscal-labor-addon-v223,.fiscal-labor-addon-v223 details,
  .mediation-dark .section-heading,.mediation-dark .section-heading>p,.mediation-contact-note,
  .contact-route-shell.contact-route-single,.contact .contact-route-shell.contact-route-compact,
  .contact .contact-route-grid>article,.method .method-grid,.method .steps>li,
  .verification-digital .verification-rules>article,.service-checkout-price,
  .payment-progress,.payment-progress>li,
  .it-hero .it-signal,.it-academic-fee-copy ul,.it-academic-fee-copy li,
  .it-admin-grid article:nth-child(2) .it-service-price,.it-admin-grid article:nth-child(2) li,
  .it-compare-cards article:not(.is-spain) li,.it-compare-cards article:not(.is-spain) .it-service-price,
  .it-admin-grid article:nth-child(2),.it-compare-cards article:not(.is-spain)) {
  border-color:var(--pb-dark-structural-edge)!important;
 }
 body :is(.situation-card-accent,.traffic-fee-card.featured,.labor-price-card.featured,
  .guide-consult,.model-review-cta,.preparation-band,.it-cta,.pbx-next,.pbf-next,
  .tool-card.is-featured:not(:hover):not(:focus-visible)),
 body :is(.it-timeline>div,.it-process-strip>div,.temporary-disability-page #it-result,.entry-card.entry-resources,
  .tools-preparer.offer-tool-promo,#candidatura>.candidate-shell,
  #traffic-updater-result,#offer-result,#business-structure-result,#garnishment-result,
  #interest-result,#company-cost-result,.tool-primer-progress) {
  border-color:var(--pb-dark-structural-edge)!important;
 }
 body :is(.area-dark .area-steps>li,.area-dark .area-case-grid>article,.area-dark .area-prep-grid>article,
  .team-facts-v211>div,.team-method-v211 article) {
  box-shadow:0 4px 12px rgba(2,16,22,.12)!important;
 }
 body :is(.person-portrait,.mediation-profile figure)::after {
  border-color:var(--pb-dark-structural-edge)!important;
 }
 body .labor-calm-panel {
  background-repeat:no-repeat!important;
 }
 body .pb-expanded-guide .pb-guide-table th {
  border-color:var(--pb-dark-structural-edge)!important;
 }

 /* Shared footers and multilingual top bars. */
 body.pb-i18n .i18n-header,
 body.pb-language-home .pb-language-topbar,
 body footer.footer.footer--local-strip :is(.local-footer-meta,.it-footer-more-panel),
 body footer :is(.footer-grid--compact>.footer-services>a:first-of-type) {
  border-color:var(--pb-dark-structural-edge)!important;
 }
}

/* Keep the existing grain within the viewport, independently of document height. */
@media screen and (forced-colors:none) {
  html:root {
    --pb-viewport-stone: var(--pb-mat-finish-texture);
    --pb-panel-stone: var(--pb-viewport-stone);
    --pb-panel-stone-size: cover;
    --pb-panel-stone-repeat: no-repeat;
    --pb-panel-stone-attachment: fixed;
  }

  html:root body:is(.payment-page,.payment-flow):not(.initial-valuation-page) {
    isolation: isolate;
  }

  html:root body:is(.payment-page,.payment-flow):not(.initial-valuation-page)::before {
    position: fixed;
    z-index: -1;
    inset: 0;
    background: var(--pb-viewport-stone) center / cover no-repeat;
    pointer-events: none;
    content: "";
  }

  html:root body.payment-flow:not(.initial-valuation-page) footer.payment-flow-footer {
    background: none !important;
    border-top-color: transparent !important;
    box-shadow: none;
  }

  html:root body:is([data-social-source],.error-body),
  html:root body[data-social-source] .top-wrap,
  html:root body :is(.method.section,.contact.section,.company-online-section,.model-detail-hero,
    .pbx-next,.fiscal-platform-v217.fiscal-platform-v223,.fiscal-platform-shell-v217,
    .team-hero-v211,.team-method-v211,.mediation-dark,.management-boundaries,.area-dark,
    .it-academic-fee,.it-compare-section,.seo-alert,.crossborder-partner,.labor-calm-panel,.labor-complex,
    .service-checkout-intro),
  html:root body #offer-result.legal-product-result,
  html:root body.payment-flow:not(.initial-valuation-page) .payment-intro,
  html:root body:has(#formulario-mediacion) .mediation-dark,
  html:root body:has(#formulario-mediacion) #solicitud .contact-shell {
    background-color: var(--pb-bounded-stone-color, #102e3c);
    background-image:
      var(--pb-bounded-stone-shade, linear-gradient(transparent, transparent)),
      var(--pb-mat-veil), var(--pb-panel-stone) !important;
    background-size: auto, auto, var(--pb-panel-stone-size) !important;
    background-position: left top, left top, center !important;
    background-repeat: no-repeat, no-repeat, var(--pb-panel-stone-repeat) !important;
    background-attachment: scroll, scroll, var(--pb-panel-stone-attachment);
  }

  html:root body :is(.team-hero-v211,.team-method-v211,.it-compare-section,.it-academic-fee) {
    --pb-bounded-stone-shade: linear-gradient(#051d234d, #051d234d);
  }

  html:root body :is(.fiscal-platform-v217.fiscal-platform-v223,.fiscal-platform-shell-v217) {
    --pb-bounded-stone-shade: linear-gradient(#051d2373, #051d2373);
  }

  html:root body .area-dark { --pb-bounded-stone-shade: linear-gradient(#051d2366, #051d2366); }
  html:root body .fiscal-platform-v217.fiscal-platform-v223 { --pb-bounded-stone-color: #0d3442; }
  html:root body .fiscal-platform-shell-v217 { --pb-bounded-stone-color: #102e3c; }
  html:root body .management-boundaries { --pb-bounded-stone-color: #173f3b; }

  html:root body .seo-intent-panel {
    background-image: linear-gradient(#f2f6f4f0, #f2f6f4f0), var(--pb-panel-stone) !important;
    background-size: auto, var(--pb-panel-stone-size) !important;
    background-position: left top, center !important;
    background-repeat: no-repeat, var(--pb-panel-stone-repeat) !important;
    background-attachment: scroll, var(--pb-panel-stone-attachment);
  }
}

@media screen and (forced-colors:none) and (max-aspect-ratio: 1/1) {
  html:root { --pb-viewport-stone: url('/assets/pb-green-slate-v1.webp'); }
}

/* iOS WebKit does not attach element backgrounds to the viewport. */
@supports (-webkit-touch-callout: none) {
  @media screen and (forced-colors:none) {
    html:root {
      --pb-panel-stone: url('/assets/pb-veta-verde-7d03f2e3e445.webp');
      --pb-panel-stone-size: max(100%, 670px) auto;
      --pb-panel-stone-repeat: repeat-y;
      --pb-panel-stone-attachment: scroll;
    }
  }
}
