/* Patempt 17 — Sculpted Pearl. Final shared material layer. */
:root {
 --paper:#edf3fa;--ink:#172e49;--navy:#254e7b;--muted:#48627d;--gold:#88662f;--line:#c1d1e2;
 --pt-ink:#172e49;--pt-copy:#3c5571;--pt-muted:#48627d;--pt-bg:#edf3fa;--pt-panel:#fcfdff;--pt-panel-2:#e8f0f8;--pt-edge:#c2d2e3;--pt-edge-lit:#fff;--pt-bronze:#88662f;
 --glass:linear-gradient(145deg,#fffffff5 0%,#f8fbffeb 36%,#e0ebf6e8 100%);--pt-satin:var(--glass);
 --glass-shadow:inset 0 1px 1px #fff,inset 0 -1px 1px #aac1d64d,0 1px 1px #587c9e22,0 14px 36px -24px #31567b60;
 --pt-shadow:0 12px 30px -19px #31567b55;
 --pt-tile:linear-gradient(153deg,#fff 0%,#f9fcff 28%,#e8f1fa 83%,#e0eaf5 100%);
 --pt-tile-shadow:inset 0 1px 1px #fff,inset 0 -1px 2px #8aa8c42b,0 2px 0 #b5c8db,0 8px 18px -11px #264e7860;
 --pt-tile-hover:inset 0 1px 1px #fff,inset 0 -1px 2px #8aa8c422,0 3px 0 #b0c5d9,0 15px 26px -13px #264e7870;
 --pt-tile-press:inset 0 2px 5px #476f9630,0 1px 1px #819db833;
 --pt-action:linear-gradient(155deg,#638eb9 0%,#3b6795 27%,#2b527f 60%,#203f65 100%);
 --pt-action-shadow:inset 0 1px 1px #ffffff80,inset 0 -1px 1px #142c4c77,0 2px 0 #203c61,0 10px 20px -12px #22476f9c;
 --pt-action-hover:inset 0 1px 1px #ffffffa0,0 3px 0 #203c61,0 15px 25px -12px #22476f95;
 --pt-action-press:inset 0 2px 5px #102a4b70,0 1px 1px #203c6144;
}
html:has(body.pt-refined),body.pt-refined,body.pt-refined[data-current-view="home"]{background:#edf3fa!important;color:var(--pt-ink)!important;}
/* Broad curved reflections, pearl highlights and soft blue pools. No rectangular image wallpaper. */
body.pt-refined::before,body.pt-refined[data-current-view="home"]::before{background:
 radial-gradient(ellipse at 2% 2%,#fffdf9 0%,transparent 55%),
 radial-gradient(ellipse at 95% 16%,#c2d7ed 0%,transparent 60%),
 radial-gradient(ellipse at 88% 100%,#e8dfcb90 0%,transparent 46%),
 radial-gradient(ellipse at -12% 130%,#b4cde8 0%,transparent 67%),
 linear-gradient(147deg,#fff 0%,#f1f6fc 47%,#dce8f5 100%)!important;}
body.pt-refined::after,body.pt-refined[data-current-view="home"]::after{opacity:.055!important;}
body.pt-refined :is(.site-nav,.ed-header),body.pt-refined>header:not(.site-nav):not(.ed-header){background:linear-gradient(132deg,#fffffff5,#f7fbffeb 46%,#dce9f5dc)!important;backdrop-filter:blur(20px) saturate(115%);-webkit-backdrop-filter:blur(20px) saturate(115%);border-color:#ffffffed!important;box-shadow:inset 0 1px 1px white,0 1px 0 #b7cbe0,0 15px 36px -27px #31577c85!important;}
/* Keep the real logo at reading size in the header; the hero is the artistic relief. */
body.pt-refined .pt16-hero{grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);gap:clamp(16px,3vw,48px);}
body.pt-refined .pt16-brand-stage{isolation:isolate;min-height:290px;width:100%;overflow:visible;}
body.pt-refined .pt16-brand-stage::before{inset:-12% -15%;background:radial-gradient(ellipse at 49% 45%,#fff6 0%,#d2e1f05e 43%,transparent 70%);filter:blur(20px);}
body.pt-refined .pt16-brand-glass{width:128%;max-width:none;aspect-ratio:3;display:block;position:relative;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.pt-refined .pt16-brand-glass img{width:100%;height:auto;max-height:none;object-fit:contain;filter:none!important;display:block;mask-image:radial-gradient(ellipse at center,#000 38%,#000 46%,#000c 62%,transparent 82%);-webkit-mask-image:radial-gradient(ellipse at center,#000 38%,#000 46%,#000c 62%,transparent 82%);}
body.pt-refined .pt16-brand-caption{margin-top:-6px;color:#496681;font-size:12px;letter-spacing:.04em;}
body.pt-refined #view-home .pt16-landing{overflow:visible!important;}
body.pt-refined #view-home .pt16-landing #ptHomeHeadline em{color:#315d89!important;}
body.pt-refined .pt16-stats>div{background:var(--glass);border-color:#fff;border-bottom-color:#b9cde0;box-shadow:var(--glass-shadow);border-radius:18px;}
body.pt-refined .pt16-stats strong{color:#244b76;}
/* Shared surfaces: distinct from raised, interactive 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,.report-document,.report-page){background:var(--glass)!important;border-color:#c5d5e5!important;border-top-color:#fff!important;box-shadow:var(--glass-shadow)!important;}
body.pt-refined :is(.eyebrow,.pt-overline,.ed-kicker,.pbp-kicker,.pbp-choice-index){color:#88662f!important;}
body.pt-refined #view-project .pbp-choice[aria-pressed=true]{background:linear-gradient(150deg,#fffdf5,#f2e7cb 38%,#fcf7e9 59%,#e5edf7)!important;border-color:#bca16c!important;box-shadow:inset 0 1px 1px white,0 2px 0 #c4b38f,0 9px 18px -11px #73592565!important;}
body.pt-refined :is(.pt-thread-figure path,.pt-path-cue path){stroke:#b79a64;}
/* Liquid-glass cartography. Unavailable areas remain blue but visibly desaturated. */
body.pt-refined .pt16-map-frame{background:linear-gradient(151deg,#ffffffdb 0%,#edf6ffb5 39%,#e0edf8bc 74%,#f9fbffc9 100%);border:1px solid #fff;border-bottom-color:#afc5da;box-shadow:inset 0 2px 3px #fff,inset 0 -2px 5px #a2bdd32e,0 1px 1px #6689a529,0 24px 48px -31px #28517b85;backdrop-filter:blur(20px) saturate(130%);-webkit-backdrop-filter:blur(20px) saturate(130%);}
#pt16WorldMap .pt16-grid{stroke:#b5cce0;opacity:.5;}
#pt16WorldMap .pt16-land{fill:#c0d3e4;stroke:#8ba9c3;stroke-width:.7;}
#pt16WorldMap .pt16-country-active{fill:url(#pt17-blue);stroke:#426b96;stroke-width:1;filter:drop-shadow(0 1px 1px #355d8c29);transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .28s,stroke .25s;}
#pt16WorldMap .pt16-country-active:is(:hover,:focus-visible){fill:url(#pt17-blue-hover);stroke:#315b87;stroke-width:1.55;transform:scale(1.035);filter:drop-shadow(0 3px 3px #355d8c55);}
#pt16WorldMap .pt16-country-active.pt17-map-selected,#pt16WorldMap .pt16-country-active.pt16-map-pressed{fill:url(#pt17-gold)!important;stroke:#8c662c;stroke-width:1.6;filter:drop-shadow(0 2px 2px #936d394d);}
#pt16WorldMap .pt16-country-active.pt16-map-pressed{animation:pt17-map-bounce .32s cubic-bezier(.18,.8,.24,1) both;}
#pt16WorldMap .pt16-marker{stroke:#fff;stroke-width:1.4;}
@keyframes pt17-map-bounce{0%{transform:scale(1.035)}28%{transform:scale(.97)}67%{transform:scale(1.055)}100%{transform:scale(1)}}
.pt16-map-legend i{background:linear-gradient(145deg,#c7e0f6,#648fbe);border-color:#527ca5;box-shadow:inset 0 1px 1px #fff9;}
/* No raised tile for privacy/preferences, including keyboard focus. */
body.pt-refined footer #ptAnalyticsSettings:not([hidden]),body.pt-refined footer #ptAnalyticsSettings:not([hidden]):is(:hover,:active,:focus-visible){background:none!important;box-shadow:none!important;border:0!important;transform:none!important;translate:none!important;color:#405b78!important;}
/* Keep legal text and reports readable, with flat white print output. */
@media(max-width:850px){body.pt-refined .pt16-hero{grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}body.pt-refined .pt16-brand-stage{min-height:200px;}}
@media(max-width:640px){body.pt-refined .pt16-hero{grid-template-columns:1fr;gap:12px;}body.pt-refined .pt16-brand-stage{min-height:0;max-width:100%;}body.pt-refined .pt16-brand-glass{width:100%;aspect-ratio:3;}body.pt-refined .pt16-brand-caption{margin-top:0;}}
@media(prefers-reduced-motion:reduce){#pt16WorldMap .pt16-country-active,#pt16WorldMap .pt16-country-active:is(:hover,:focus-visible,.pt16-map-pressed){transform:none!important;animation:none!important;transition:none!important;}}
@media print{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::before,body.pt-refined::after{display:none!important;}}
/* Fade both axes of the artwork all the way to zero; eliminate the source rectangle. */
body.pt-refined .pt16-brand-glass{width:112%;}
body.pt-refined .pt16-brand-glass img{mask-image:radial-gradient(ellipse closest-side at center,#000 67%,#000e 74%,#0007 86%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse closest-side at center,#000 67%,#000e 74%,#0007 86%,transparent 100%);}
body.pt-refined #pt16CountrySection #atlasCaption{margin:8px 0 0!important;line-height:1.45!important;position:static!important;color:#294c72!important;}
body.pt-refined #pt16CountrySection .atlas-map>small{margin:0 0 8px!important;opacity:1!important;color:#48627d!important;}
body.pt-refined #pt16CountrySection .pt16-country-picker>span{color:#405b78!important;opacity:1!important;}
@media(max-width:640px){body.pt-refined .pt16-brand-glass{width:100%;}}
