/* Patempt 13 · Pearl Glass. Local assets, no dependencies. */
:root{color-scheme:light;--paper:#edf3f6;--ink:#203748;--navy:#203748;--gold:#805b32;--muted:#516979;--line:#c5d5df;--pt-ink:#203748;--pt-copy:#3e5667;--pt-muted:#526b7b;--pt-bg:#edf3f6;--pt-panel:#f5f8fa;--pt-panel-2:#e8f0f5;--pt-bronze:#805b32;--pt-ice:#385c70;--pt-edge:#c5d5df;--pt-edge-lit:#fff;--pt-shadow:0 18px 56px -28px #385d7440,0 2px 6px #385d7411;--pt-satin:linear-gradient(145deg,#fffefef2,#eaf2f7e8);--glass:linear-gradient(140deg,#ffffffed 0%,#f2f7fae8 50%,#e0ebf2e8 100%);--glass-edge:#ffffff;--glass-shadow:inset 0 1px 0 #fff,0 0 0 1px #b4c8d460,0 16px 42px -24px #345e8044;}
html:has(body.pt-refined){background:#edf3f6!important;scroll-padding-top:115px}
body.pt-refined,body.pt-refined[data-current-view="home"]{background:#edf3f6!important;color:#203748!important;}
body.pt-refined::before,body.pt-refined[data-current-view="home"]::before{background:radial-gradient(ellipse at 10% 12%,#fff 0,transparent 46%),radial-gradient(ellipse at 88% 22%,#c9e2ef 0,transparent 52%),radial-gradient(ellipse at 14% 88%,#dce6ee 0,transparent 49%),linear-gradient(145deg,#f6f7f7,#e6eff4)!important;}
body.pt-refined::after,body.pt-refined[data-current-view="home"]::after{opacity:.12!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(120deg,#ffffffed,#f2f7fae8 52%,#e5eff5e8)!important;border:1px solid #fff!important;box-shadow:0 0 0 1px #afc5d244,0 14px 36px -22px #3a5b7840,inset 0 1px 0 #fff!important;backdrop-filter:blur(20px) saturate(1.15);-webkit-backdrop-filter:blur(20px) saturate(1.15);}
body.pt-refined :is(.atlas-resources nav,.atlas-dossier-dialog,.document-preview,.report-reader,#helpPanel,.draft-box,.globe-country-choice){background:var(--glass)!important;border:1px solid #fff!important;box-shadow:var(--glass-shadow)!important;color:#203748!important;}
body.pt-refined :is(.atlas-dossier-dialog,.document-preview,.report-reader)::backdrop{background:#35556b55;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);}
body.pt-refined .pbp-lang{background:#dce7eeaa!important;border-color:#c3d3de!important;box-shadow:inset 0 1px 3px #7896aa25;}
body.pt-refined .pbp-lang button[aria-pressed=true]{background:#fff!important;color:#203748!important;box-shadow:0 2px 5px #4e6f8725!important;}
body.pt-refined :is(.nav-links a,.atlas-resources>summary,.atlas-dossier-toggle,.atlas-dossier-toggle small){color:#29485c!important;}
body.pt-refined .atlas-dossier-toggle{background:#f8fbfdbb!important;border-color:#c4d6e0!important;}
body.pt-refined .atlas-resources>summary{white-space:nowrap;}
body.pt-refined .atlas-resources nav [data-nav="home"],body.pt-refined .atlas-resources nav [data-nav="project"],body.pt-refined .atlas-resources nav [data-nav="resources"]{display:none!important;}
body.pt-refined #helpToggle{display:none!important;}
/* Clear front door. The removed promotional panels remain in the original document,
   while their destinations are retained in the resources menu and footer. */
body.pt-refined #view-home>:is(.pt-overview,.ed-app-resources){display:none!important;}
body.pt-refined .atlas.mission-play{position:relative;overflow:clip!important;min-height:calc(100svh - 120px)!important;padding-bottom:72px!important;isolation:isolate;}
body.pt-refined .atlas.mission-play h1{color:#203748!important;font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif!important;font-weight:550!important;font-size:clamp(54px,7vw,104px)!important;line-height:1.04!important;letter-spacing:-.065em!important;text-shadow:none!important;}
body.pt-refined .atlas.mission-play #missionStory{color:#455f70!important;max-width:39ch!important;}
body.pt-refined .atlas.mission-play .eyebrow{color:#516e80!important;}
body.pt-refined .atlas.mission-play .atlas-map canvas{filter:drop-shadow(0 26px 35px #506f8544) drop-shadow(-8px -10px 24px #fff)!important;}
body.pt-refined .atlas.mission-play .atlas-map::before{background:radial-gradient(ellipse,#fff9 0,#eaf6ff55 52%,transparent 73%);}
body.pt-refined #atlasCaption,body.pt-refined .atlas-map>small{color:#425e70!important;}
body.pt-refined .pt-thread-figure{display:block!important;position:absolute;inset:auto -12% 1% -12%;width:124%;height:130px;z-index:-1;pointer-events:none;opacity:.5;overflow:visible;}
body.pt-refined .pt-thread-figure path{fill:none;stroke-width:3;stroke-linecap:round;stroke:#9ebdce;stroke-dasharray:3 10;animation:pt-river 25s linear infinite;}
body.pt-refined .pt-thread-figure path+path{stroke:#fff;stroke-width:5;stroke-dasharray:none;opacity:.7;animation:none;}
@keyframes pt-river{to{stroke-dashoffset:-260}}
.pt-path-cue{position:absolute;bottom:0;left:50%;width:2px;height:60px;background:linear-gradient(transparent,#7ea4b9);border-radius:8px;display:none;}
.pt-path-cue span{display:block;width:8px;height:8px;border-radius:50%;background:#6e9bb1;position:absolute;left:-3px;bottom:0;box-shadow:0 0 0 6px #b9d1e144;animation:pt-cue 2.4s ease-in-out infinite;}
@keyframes pt-cue{50%{transform:translateY(-13px);opacity:.45}}
body[data-current-view="project"] .pt-path-cue{display:block;}
/* Continuous project: a real trail of answered questions; one active form. */
body.pt-refined #view-project{position:relative;}
body.pt-refined #view-project .pbp{max-width:1080px!important;padding-top:34px!important;}
body.pt-refined #view-project .pbp-main{position:relative;padding-left:44px!important;}
body.pt-refined #view-project .pbp-main::before{content:"";position:absolute;left:8px;top:14px;bottom:45px;width:3px;border-radius:12px;background:linear-gradient(180deg,#9ab9cb,#759db4 45%,#d2e3ec);box-shadow:1px 0 0 #fff;pointer-events:none;}
.pt-path-history{display:flex;flex-direction:column;gap:12px;margin:0 0 30px;}
.pt-path-history[hidden]{display:none!important;}
.pt-path-node{position:relative;display:flex;align-items:center;gap:15px;width:100%;text-align:left;padding:13px 18px!important;min-height:56px;background:linear-gradient(145deg,#ffffffd9,#e8f0f5d9)!important;border:1px solid #fff!important;border-radius:16px!important;box-shadow:var(--glass-shadow);color:#29485b!important;font:inherit;cursor:pointer;}
.pt-path-node::before{content:"";position:absolute;left:-44px;top:calc(50% - 6px);width:13px;height:13px;border:2px solid #f6faff;background:#7d9fb4;border-radius:50%;box-shadow:0 0 0 2px #a4c0d0;}
.pt-path-node:nth-child(even){margin-left:10px;width:calc(100% - 10px);}
.pt-path-node:nth-child(even)::before{left:-54px;}
.pt-path-node .pt-path-text{display:flex;flex-direction:column;min-width:0;flex:1;}
.pt-path-node .pt-path-label{font-size:12px;color:#516c7d;line-height:1.4;}
.pt-path-node .pt-path-value{font-size:15px;color:#203748;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;}
.pt-path-node .pt-path-edit{font-size:12px;color:#355d73;white-space:nowrap;}
body.pt-refined #view-project .pbp-stepbar{position:relative;color:#415e70!important;}
body.pt-refined #view-project .pbp-stepbar::before{content:"";position:absolute;left:-46px;top:calc(50% - 9px);width:18px;height:18px;background:#fcfeff;border:4px solid #5d8ca5;border-radius:50%;box-shadow:0 0 0 6px #b8d2df80;}
body.pt-refined #view-project .pbp-progress{background:#d8e5ee!important;box-shadow:none!important;}
body.pt-refined #pbpProgressFill{background:linear-gradient(90deg,#7fa4b8,#456f89)!important;}
body.pt-refined #pbpQuestion{scroll-margin-top:125px;}
body.pt-refined #view-project .pbp-question-title{color:#203748!important;font-family:"Avenir Next",Avenir,"Segoe UI",sans-serif!important;font-size:clamp(32px,4.2vw,60px)!important;font-weight:550!important;letter-spacing:-.045em!important;}
body.pt-refined #view-project .pbp-choice{background:var(--glass)!important;border:1px solid #fff!important;box-shadow:var(--glass-shadow)!important;color:#203748!important;}
body.pt-refined #view-project .pbp-choice[aria-pressed=true]{background:linear-gradient(135deg,#e5f2fa,#c7e0ef)!important;border-color:#7199ae!important;box-shadow:inset 0 1px 0 #fff,0 0 0 1px #739cb2,0 8px 26px -15px #325b7744!important;}
body.pt-refined #view-project .pbp-choice-title{color:#203748!important;}
body.pt-refined #view-project .pbp-choice-desc{color:#425c6e!important;}
body.pt-refined #view-project .pbp-choice-index{color:#6e5434!important;}
body.pt-refined :is(.pbp-secondary,.pbp-quiet,.report-hero-button,.ed-button.secondary){background:linear-gradient(145deg,#fff9,#e3edf3bb)!important;border-color:#b4c8d6!important;color:#294a60!important;}
body.pt-refined #view-project button.pbp-primary,body.pt-refined .dossier-simple button.pbp-primary,body.pt-refined #pbpContinue,body.pt-refined .ed-button:not(.secondary),body.pt-refined .globe-country-choice button{background:linear-gradient(145deg,#416d86,#2e526b)!important;border:1px solid #385e77!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff35,0 8px 22px -12px #294b68aa!important;}
body.pt-refined :is(input:not([type=checkbox]):not([type=radio]),select,textarea):not([hidden]){background-color:#f8fbfd!important;color:#203748!important;border-color:#bacdd9!important;}
body.pt-refined :is(input,textarea)::placeholder{color:#5d7180!important;opacity:1;}
body.pt-refined :is(.pbp-route-panel,.pbp-ai-helper,.pbp-final-watch,.ed-card,.ed-calc,.pt-pathway,.ed-link-cta,.document-card,.delivery-guide,.document-dashboard,.delivery-languages,.deliverable-file,.delivery-included-document,.research-record,.resource-card,.tool-card,.ed-note,.pt-estimate-card,.dossier-simple,.report-document,.report-page){background:var(--glass)!important;border-color:#c5d5df!important;box-shadow:var(--glass-shadow)!important;color:#203748!important;}
body.pt-refined :is(.ed-hero,.ed-total,.compact-footer,.ed-footer){background:transparent!important;color:#203748!important;}
body.pt-refined .ed-hero{background:linear-gradient(135deg,#fafcfde8,#dcebf4e8)!important;}
body.pt-refined :is(.ed-hero,.ed-total,.compact-footer,.ed-footer) :is(p,small,span,strong,a,h1,h2){color:#294657!important;}
body.pt-refined :is(button,a,summary,input,textarea,select,canvas):focus-visible{outline:2px solid #2c698e!important;outline-offset:4px;}
body.pt-refined :is(.globe-country-choice[hidden],.pt-path-history[hidden]){display:none!important;}
body.pt-refined[data-current-view="project"] .globe-country-choice:not([hidden]){display:flex!important;}
body.pt-refined .globe-country-choice{display:flex;flex-direction:column;gap:10px;}
body.pt-refined .globe-country-choice strong{color:#203748!important;}
@media(max-width:700px){
 body.pt-refined .atlas.mission-play{min-height:0!important;padding:30px 16px 66px!important;overflow:hidden!important;}
 body.pt-refined .atlas.mission-play h1{font-size:clamp(44px,11vw,64px)!important;}
 body.pt-refined .atlas.mission-play .atlas-map canvas{width:min(99vw,490px)!important;}
 body.pt-refined #view-project .pbp{padding:24px 18px 65px!important;}
 body.pt-refined #view-project .pbp-main{padding-left:24px!important;}
 body.pt-refined #view-project .pbp-main::before{left:2px;width:2px;}
 .pt-path-node::before{left:-27px;width:10px;height:10px;}
 .pt-path-node:nth-child(even){margin-left:0;width:100%;}
 .pt-path-node:nth-child(even)::before{left:-27px;}
 body.pt-refined #view-project .pbp-stepbar::before{left:-29px;width:14px;height:14px;border-width:3px;}
 body.pt-refined #view-project .pbp-controls{background:#f0f6faf2!important;}
 body.pt-refined .atlas-resources>summary{padding:8px 3px!important;font-size:12px;}
 body.pt-refined .atlas-dossier-toggle small{display:none!important;}
 body.pt-refined #pbpQuestion{scroll-margin-top:95px;}
 .pt-path-node .pt-path-edit{font-size:0;}.pt-path-node .pt-path-edit::after{content:'↗';font-size:14px;}
}
@media(prefers-reduced-motion:reduce){.pt-path-cue span,.pt-thread-figure path{animation:none!important;}}
@media print{body.pt-refined{background:#fff!important;color:#111!important;}body.pt-refined::before,body.pt-refined::after,.pt-path-cue,.pt-thread-figure,.pt-path-history{display:none!important;}}
/* One flowing entrance; the sample remains available under Resources. */
body.pt-refined #view-home>#reportExample{display:none!important;}
body.pt-refined #view-project .pbp-toolbar #pbpReset{display:none!important;}
body.pt-refined #view-project .pbp-main::before{left:-3px;width:25px;border:0;border-radius:0;box-shadow:none;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='96' viewBox='0 0 25 96'%3E%3Cpath d='M12.5 0 C12.5 24 24 24 24 48 S12.5 72 12.5 96' fill='none' stroke='%237c9fb4' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y center top;}
body.pt-refined .pt-advanced{width:100%;margin-top:8px;}
body.pt-refined .pt-advanced>summary{cursor:pointer;color:#395b71;font-size:13px;padding:12px 0;}
body.pt-refined .pt-advanced button{margin:0 6px 6px 0;}
@media(max-width:700px){body.pt-refined #view-project .pbp-main::before{left:-6px;width:20px;background-size:20px 76px;}
body.pt-refined .site-nav .nav-inner{grid-template-columns:minmax(72px,1fr) auto auto auto!important;gap:6px!important;padding-inline:10px!important;}
body.pt-refined .site-nav .brand,body.pt-refined .site-nav .brand:hover,body.pt-refined[data-current-view="home"] .site-nav .brand{width:82px!important;}
body.pt-refined .site-nav .pt-brand-image{width:82px!important;}
body.pt-refined .site-nav .atlas-dossier-toggle{min-width:0!important;padding:7px 8px!important;font-size:12px!important;gap:0;}
body.pt-refined .site-nav .pbp-lang button{min-width:29px!important;padding-inline:5px!important;}
}
