/* Patempt 14 — mineral glass. Shared final layer for every page. */
:root{--paper:#cbdbe3;--ink:#172e40;--navy:#25475f;--muted:#415b6e;--line:#b3c5ce;--pt-ink:#172e40;--pt-copy:#304d60;--pt-muted:#415b6e;--pt-bg:#cbdbe3;--pt-panel:#f6fafb;--pt-panel-2:#e4edf1;--pt-edge:#a9becb;--pt-edge-lit:#fff;--glass:linear-gradient(145deg,#fff 0%,#f8fbfc 38%,#e0eaf0 100%);--pt-satin:var(--glass);--glass-shadow:inset 0 1px 0 #fff,0 1px 0 #93aab866,0 9px 24px -13px #25475f55;--pt-shadow:0 12px 32px -17px #25475f55;--pt-tile:linear-gradient(155deg,#ffffff 0%,#f9fcfd 40%,#dce8ee 100%);--pt-tile-shadow:inset 0 1px 1px #fff,inset 0 -2px 3px #8da7b52b,0 4px 0 #9fb6c3,0 8px 14px -5px #25475f4d;--pt-tile-hover:inset 0 1px 1px #fff,inset 0 -2px 3px #8da7b52b,0 6px 0 #94adbc,0 15px 25px -8px #25475f66;--pt-tile-press:inset 0 1px 2px #7694a435,0 1px 0 #9fb6c3,0 3px 6px #25475f30;--pt-action:linear-gradient(150deg,#487d98 0%,#305b77 50%,#25475f 100%);--pt-action-shadow:inset 0 1px 1px #ffffff65,0 4px 0 #183a50,0 9px 17px -5px #25475f75;--pt-action-hover:inset 0 1px 1px #ffffff80,0 6px 0 #183a50,0 16px 27px -8px #25475f88;--pt-action-press:inset 0 2px 3px #142c4055,0 1px 0 #183a50,0 3px 5px #25475f44;}
html:has(body.pt-refined){background:#cbdbe3!important;}
body.pt-refined,body.pt-refined[data-current-view="home"]{background:#cbdbe3!important;color:var(--pt-ink)!important;isolation:isolate;}
body.pt-refined::before,body.pt-refined[data-current-view="home"]::before{background:radial-gradient(ellipse at 2% 5%,#f2e7d8 0%,#f2e7d800 49%),radial-gradient(ellipse at 94% 12%,#a9c8d9 0%,#a9c8d900 58%),radial-gradient(ellipse at 8% 94%,#b4d2cc 0%,#b4d2cc00 52%),radial-gradient(ellipse at 95% 95%,#c9c4df 0%,#c9c4df00 52%),linear-gradient(145deg,#e1e9ed,#c5d6e0 65%,#cfdce3)!important;}
body.pt-refined::after,body.pt-refined[data-current-view="home"]::after{opacity:.17!important;mix-blend-mode:multiply;}
body.pt-refined :is(.site-nav,.ed-header),body.pt-refined>header:not(.site-nav):not(.ed-header){background:linear-gradient(135deg,#ffffffeb,#f2f7fae6 55%,#dce8efe8)!important;border-color:#ffffffed!important;box-shadow:inset 0 1px 0 #fff,0 1px 0 #9eb4c3,0 14px 35px -20px #25475f70!important;}
body.pt-refined .atlas.mission-play{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;min-height:calc(100svh - 105px)!important;overflow:clip!important;}
body.pt-refined .atlas.mission-play .atlas-map{isolation:isolate;min-width:0!important;}
body.pt-refined .atlas.mission-play .atlas-map::before{inset:4% -4% 5%;background:radial-gradient(ellipse,#eff9fcbd 0%,#9fbfd76b 46%,#9fbfd700 72%)!important;filter:blur(19px);}
body.pt-refined .atlas.mission-play .atlas-map canvas{width:min(59vw,760px,calc(100svh - 105px))!important;filter:drop-shadow(0 26px 26px #173a5155) drop-shadow(0 4px 5px #23475f33)!important;opacity:1!important;}
body.pt-refined #atlasCaption{color:#203b50!important;}
body.pt-refined .pt-thread-figure{opacity:.72;}
body.pt-refined .pt-thread-figure path{stroke:#648da6;}
/* Passive frosted surfaces: intentionally different from raised controls. */
body.pt-refined :is(.ed-hero,.ed-card,.ed-calc,.pt-pathway,.pt-estimate-card,.document-card,.delivery-guide,.document-dashboard,.delivery-languages,.deliverable-file,.delivery-included-document,.research-record,.resource-card,.tool-card,.ed-note,.pbp-route-panel,.pbp-ai-helper,.pbp-final-watch,.dossier-simple,.card,.legal-section,.deletion-panel,.local-controls,.legal-table,.report-document,.report-page){background:var(--glass)!important;border:1px solid #ffffffce!important;border-radius:20px!important;box-shadow:var(--glass-shadow)!important;color:var(--pt-ink)!important;}
body.pt-refined .ed-hero{margin:18px auto 0;width:calc(100% - 32px);max-width:1560px;}
body.pt-refined .ed-hero .ed-wrap{width:min(1160px,calc(100% - 36px));}
body.pt-refined .ed-hero :is(h1,h2,p,span,strong,small){color:var(--pt-ink)!important;}
body.pt-refined .ed-hero .ed-kicker{color:#72562d!important;}
body.pt-refined .ed-hero .ed-button:not(.secondary){color:white!important;}
body.pt-refined :is(.ed-toc,.ed-facts,.ed-country-code){border-color:#9eb4c3!important;}
body.pt-refined :is(.ed-content,.legal-page,.wrap,.ed-index) :is(h1,h2,h3,h4){color:var(--pt-ink)!important;}
body.pt-refined :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not([hidden]){background:#f8fbfd!important;border:1px solid #96afbf!important;box-shadow:inset 0 2px 5px #27475f12!important;border-radius:10px!important;color:var(--pt-ink)!important;}
/* A tactile tile, with a lit bevel and a separate base. Use individual translate
   so existing layout transforms (e.g. centered dialogs) are untouched. */
body.pt-refined :is(button:not([role=switch]),a.ed-button,a.button,summary.atlas-menu-label,.atlas-resources>summary,a.ed-card,.pt-path-node):not([hidden]):not(.report-cover):not(.menu-button),body.pt-refined #view-project .pbp-choice,body.pt-refined #view-project .pbp-choice[aria-pressed=true],body.pt-refined #view-project .pbp-controls>button,body.pt-refined .legal-page :is(button.light,a.button.light),body.pt-refined .pb-country-search-panel button{--tile-rest:var(--pt-tile-shadow);--tile-hover:var(--pt-tile-hover);--tile-press:var(--pt-tile-press);background:var(--pt-tile)!important;border:1px solid #a7becb!important;border-top-color:#fff!important;border-radius:13px!important;box-shadow:var(--tile-rest)!important;color:#203b50!important;transition:translate .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s cubic-bezier(.2,.8,.2,1),border-color .25s,background .25s!important;translate:0 0;cursor:pointer;}
body.pt-refined :is(button.pbp-primary,#pbpContinue,.ed-button:not(.secondary),.globe-country-choice button,#pbCountryConfirm,.tabs button[aria-selected=true]),body.pt-refined #view-project button.pbp-primary,body.pt-refined .dossier-simple button.pbp-primary,body.pt-refined .ed-hero a.ed-button:not(.secondary){--tile-rest:var(--pt-action-shadow);--tile-hover:var(--pt-action-hover);--tile-press:var(--pt-action-press);background:var(--pt-action)!important;color:#fff!important;border-color:#234b63!important;border-top-color:#6e9db5!important;box-shadow:var(--tile-rest)!important;}
body.pt-refined #view-project .pbp-choice{padding-bottom:18px!important;}
body.pt-refined #view-project .pbp-choice[aria-pressed=true]{background:linear-gradient(150deg,#e6f5f8,#b8dce4)!important;border-color:#457b92!important;box-shadow:inset 0 0 0 1px #457b92,var(--tile-rest)!important;}
body.pt-refined .pbp-lang button{min-height:32px!important;border-radius:8px!important;box-shadow:none!important;border-color:transparent!important;background:transparent!important;}
body.pt-refined .pbp-lang button[aria-pressed=true]{background:#fff!important;box-shadow:0 2px 5px #25475f40!important;border-color:#b0c5d0!important;}
body.pt-refined :is(#pbCountryResume,#pbpResumeButton){display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:52px!important;padding:13px 20px!important;font-size:14px!important;font-weight:650!important;letter-spacing:0!important;text-decoration:none!important;color:#25475f!important;background:var(--pt-tile)!important;border:1px solid #a1b9c9!important;border-top-color:white!important;border-radius:13px!important;box-shadow:var(--pt-tile-shadow)!important;white-space:normal!important;text-align:left;}
body.pt-refined #pbCountryResume{margin:22px 0 10px!important;}
body.pt-refined #pbCountryResume::before{content:"";width:19px;height:19px;flex:none;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23345b75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h7l2 2h9v10H3z'/%3E%3Cpath d='M12 12v4m-2-2h4'/%3E%3C/svg%3E");}
body.pt-refined :is(#pbCountryResume,#pbpResumeButton)[hidden]{display:none!important;}
body.pt-refined .atlas-dossier-toggle{min-height:44px!important;padding:8px 15px!important;}
body.pt-refined .atlas-dossier-toggle small{color:#4d6576!important;}
@media (hover:hover) and (pointer:fine){
 body.pt-refined :is(button,a.ed-button,a.button,a.ed-card,.atlas-resources>summary,.pt-path-node):not(:disabled):not([aria-disabled=true]):not(.report-cover):hover,body.pt-refined #view-project .pbp-choice:not(:disabled):hover,body.pt-refined #view-project .pbp-controls>button:not(:disabled):hover,body.pt-refined .ed-hero .ed-button:hover{translate:0 -3px!important;box-shadow:var(--tile-hover,var(--pt-tile-hover))!important;transform:none!important;}
 body.pt-refined .pbp-lang button:hover{translate:0 -1px!important;box-shadow:0 2px 4px #25475f22!important;}
}
body.pt-refined :is(button,a.ed-button,a.button,a.ed-card,.atlas-resources>summary,.pt-path-node):not(:disabled):active,body.pt-refined #view-project .pbp-choice:not(:disabled):active{translate:0 3px!important;box-shadow:var(--tile-press,var(--pt-tile-press))!important;transform:none!important;transition-duration:.12s!important;}
body.pt-refined :is(button:disabled,button[aria-disabled=true]){opacity:.55!important;cursor:not-allowed!important;translate:0 0!important;box-shadow:none!important;}
body.pt-refined [hidden]{display:none!important;}
body.pt-refined :is(button,a,summary,input,textarea,select,canvas):focus-visible{outline:2px solid #245e80!important;outline-offset:4px;}
@media(max-width:700px){body.pt-refined .atlas.mission-play{min-height:0!important;padding:24px 18px 56px!important;}body.pt-refined .atlas.mission-play .atlas-map canvas{width:min(98vw,520px)!important;}body.pt-refined .atlas.mission-play h1{font-size:clamp(43px,11vw,64px)!important;}body.pt-refined .site-nav .atlas-dossier-toggle{padding:7px 8px!important;}body.pt-refined .ed-hero{width:calc(100% - 24px);}body.pt-refined #view-project .pbp-controls{background:#dce7edf5!important;}body.pt-refined .ed-header nav{flex-wrap:wrap;}}
@media(prefers-reduced-motion:reduce){body.pt-refined :is(button,a,summary,.pt-path-node){transition:none!important;translate:0 0!important;}body.pt-refined :is(button,a,summary,.pt-path-node):hover,body.pt-refined :is(button,a,summary,.pt-path-node):active{translate:0 0!important;}}
@media print{html:has(body.pt-refined),body.pt-refined{background:#fff!important;color:#111!important;}body.pt-refined::before,body.pt-refined::after{display:none!important;}body.pt-refined :is(.ed-hero,.ed-card,.ed-calc,.card,.legal-section,.report-page,.report-document){background:#fff!important;box-shadow:none!important;border-color:#ccc!important;}body.pt-refined :is(button,a.ed-button,a.button){box-shadow:none!important;translate:0 0!important;}}
/* Explicit state rules for ID-based controls and older high-specificity styles. */
body.pt-refined #pbCountryResume,body.pt-refined #pbpResumeButton{--tile-rest:var(--pt-tile-shadow);--tile-hover:var(--pt-tile-hover);--tile-press:var(--pt-tile-press);}
@media (hover:hover) and (pointer:fine){
 body.pt-refined :is(#pbCountryResume,#pbpResumeButton,#pbpContinue,#pbCountryConfirm,button.pbp-primary,.ed-button,.globe-country-choice button,.tabs button):not(:disabled):hover,body.pt-refined #view-project .pbp-choice[aria-pressed=true]:not(:disabled):hover{box-shadow:var(--tile-hover)!important;}
}
body.pt-refined :is(#pbCountryResume,#pbpResumeButton,#pbpContinue,#pbCountryConfirm,button.pbp-primary,.ed-button,.globe-country-choice button,.tabs button):not(:disabled):active{box-shadow:var(--tile-press)!important;}
@media print{body.pt-refined :is(#pbCountryResume,#pbpResumeButton,#pbpContinue,#pbCountryConfirm,button.pbp-primary,.ed-button,.globe-country-choice button,.tabs button){box-shadow:none!important;}}
