/* Shared contextual headers. Scoped so the site header and dashboard are unchanged. */
.fpch{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;--fpch-hero-start:#084858;--fpch-hero-end:#17879a;--fpch-ink:#163646;--fpch-accent:#147c85;--fpch-pale:#e4f4f3;--fpch-line:#cddfe2;background:#fff!important;border:1px solid var(--fpch-line)!important;border-radius:18px!important;box-shadow:0 8px 24px #152e4710!important;margin:18px 0 24px!important;padding:0!important;overflow:hidden;color:var(--fpch-ink)}
.fpch-profile{--fpch-hero-start:#142954;--fpch-hero-end:#355aa4;--fpch-ink:#273252;--fpch-accent:#5968a6;--fpch-pale:#eff0fc;--fpch-line:#d7dced}
.fpch-project{--fpch-hero-start:#073e76;--fpch-hero-end:#207ac5;--fpch-ink:#18385a;--fpch-accent:#347bb7;--fpch-pale:#e7f2fc;--fpch-line:#cedfec}
.fpch-portfolio{--fpch-hero-start:#492c7d;--fpch-hero-end:#8561b4;--fpch-ink:#3b345a;--fpch-accent:#8060b2;--fpch-pale:#f0eafb;--fpch-line:#dfd5ed}
.fpch[data-objective=entitle]{--fpch-hero-start:#103c73;--fpch-hero-end:#337bb6;--fpch-ink:#173c61;--fpch-accent:#3075b7;--fpch-pale:#e8f2fc;--fpch-line:#cfdfef}
.fpch[data-objective=improve]{--fpch-hero-start:#66430e;--fpch-hero-end:#a56c13;--fpch-ink:#65471c;--fpch-accent:#a46c10;--fpch-pale:#fff4dc;--fpch-line:#eadcbc}
.fpch[data-objective=operate]{--fpch-hero-start:#164d3b;--fpch-hero-end:#368365;--fpch-ink:#234d3e;--fpch-accent:#34795b;--fpch-pale:#e6f4eb;--fpch-line:#cbe2d4}
.fpch[data-objective=sell]{--fpch-hero-start:#8a292f;--fpch-hero-end:#d7614a;--fpch-ink:#653c37;--fpch-accent:#ac5b51;--fpch-pale:#fff0e9;--fpch-line:#ecd6cf}
.fpch .fpch-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:22px;row-gap:16px;min-height:210px;box-sizing:border-box;padding:22px 26px 24px;color:#fff;background:linear-gradient(125deg,transparent 0 38%,#ffffff08 38% 55%,transparent 55%),linear-gradient(30deg,transparent 0 60%,#ffffff0b 60% 80%,transparent 80%),repeating-linear-gradient(150deg,transparent 0 42px,#ffffff06 42px 43px),linear-gradient(115deg,var(--fpch-hero-start),var(--fpch-hero-end));}
.fpch .fpch-hero:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(150deg,transparent 45%,#ffffff0a 45% 60%,transparent 60%),linear-gradient(30deg,transparent 60%,#ffffff08 60% 75%,transparent 75%);clip-path:polygon(25% 0,100% 0,100% 100%,5% 100%)}
.fpch .fpch-photo{display:none!important}
.fpch .fpch-config{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:0;grid-column:1 / -1}
.fpch .fpch-breadcrumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:.8rem;color:#e5efff;background:none;border:0;padding:0;margin:0;line-height:1.5}
.fpch .fpch-breadcrumb a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.fpch .fpch-breadcrumb span:last-child{overflow-wrap:anywhere}
.fpch .fpch-image-actions{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;max-width:240px}
.fpch .fpch-image-button{font:inherit;font-size:.8rem;font-weight:600;border:1px solid var(--fpch-line);border-radius:7px;padding:6px 10px;background:#ffffff18;color:#fff;cursor:pointer;text-decoration:none;white-space:nowrap}
.fpch .fpch-image-button[hidden]{display:none}
.fpch .fpch-image-status{font-size:.75rem;line-height:1.4;max-width:230px}
.fpch .fp28-identity,.fpch .fp26-identity,.fpch .fp-property-heading,.fpch .fpch-identity{display:flex;align-items:center;gap:20px;padding:0;margin:0;background:none;border:0;grid-column:1 / -1}
.fpch .fp28-title,.fpch .fp26-title,.fpch .fp-property-title,.fpch .fpch-title{min-width:0;flex:1}
.fpch h1{font-size:clamp(1.65rem,2.5vw,2.25rem)!important;line-height:1.2!important;color:#fff!important;margin:0 0 8px!important;letter-spacing:-.03em;overflow-wrap:anywhere}
.fpch .fp28-title>p,.fpch .fp26-title>p,.fpch .fp-property-title>p,.fpch .fpch-title>p{font-size:.94rem;line-height:1.5;color:#f0f5ff;margin:4px 0;max-width:78ch;overflow-wrap:anywhere}
.fpch .fp28-eyebrow,.fpch .fp26-eyebrow,.fpch .fpch-eyebrow{font-size:.7rem!important;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:#dfebff!important;margin-bottom:7px!important}
.fpch .fp28-mark{display:block;width:104px;height:104px;flex:0 0 104px;padding:0;border:3px solid #fff;border-radius:50%;background:#eff0fc;overflow:hidden;box-shadow:0 4px 14px #26385818}
.fpch .fp28-mark img{width:100%;height:100%;object-fit:cover;display:block}
.fpch .fp28-actions,.fpch .fp26-actions,.fpch .fp-property-actions,.fpch .fpch-actions{display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0;align-items:center;background:none;border:0}
.fpch .fp-property-actions{margin-top:0;grid-column:1 / -1}
.fpch .fp28-button,.fpch .fp26-button,.fpch .fp-property-button,.fpch .fpch-actions .btn{border:1px solid var(--fpch-line);background:#ffffffed;color:var(--fpch-ink)!important;border-radius:8px;padding:8px 12px;font-size:.84rem;font-weight:650;line-height:1.4;text-decoration:none;cursor:pointer;box-shadow:none;white-space:normal}
.fpch .fpch-actions .btn-primary{background:var(--fpch-accent);color:#fff!important;border-color:var(--fpch-accent)}
.fpch .fp28-meta,.fpch .fp26-meta,.fpch .fpch-meta{display:flex;gap:12px 24px;flex-wrap:wrap;padding:0;margin:0;align-self:end;background:none;border:0}
.fpch .fp28-meta>div,.fpch .fp26-meta>div,.fpch .fpch-meta>div{padding:0;background:none;border:0;min-width:0;max-width:100%}
.fpch dt{font-size:.68rem;text-transform:uppercase;letter-spacing:.07em;color:#d4e4f7;font-weight:650;margin:0 0 3px}
.fpch dd{font-size:.86rem;font-weight:600;line-height:1.4;margin:0;color:#fff;overflow-wrap:anywhere}
.fpch dd a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.fpch .fp-property-meta{display:flex;flex-wrap:wrap;gap:7px 14px;font-size:.78rem;margin-top:12px;color:#e4f1ff}
.fpch .fp-property-status{padding:2px 7px;border:1px solid var(--fpch-line);border-radius:5px;background:#ffffff1c;color:#fff}
.fpch .fp28-tools,.fpch .fp26-tools,.fpch .fpch-tools{margin:0;padding:0;border:0;border-top:1px solid var(--fpch-line);background:#fff;font-size:.82rem;color:#42566c}
.fpch details>summary{cursor:pointer;padding:9px 24px;min-height:36px}
.fpch details>div{padding:8px 24px 16px}
.fpch .fpch-tabs{display:flex;gap:5px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:0 18px;margin:0;border:0;border-top:1px solid var(--fpch-line);border-radius:0;background:#fff;min-height:51px;align-items:stretch}
.fpch .fpch-tabs>a{display:flex;align-items:center;gap:7px;flex:0 0 auto;border:0;border-bottom:3px solid transparent;border-radius:0;background:none;color:#4e6073;font-size:.84rem;font-weight:600;padding:14px 12px 11px;margin:0;text-decoration:none;white-space:nowrap;line-height:1.4;box-shadow:none}
.fpch .fpch-tabs>a:hover{color:var(--fpch-accent);background:var(--fpch-pale)}
.fpch .fpch-tabs>a[aria-current=page],.fpch .fpch-tabs>a.is-active{border-bottom-color:var(--fpch-accent);color:var(--fpch-accent);background:var(--fpch-pale)}
.fpch .fpch-tabs svg{width:17px;height:17px;flex-shrink:0}
.fpch a:focus-visible,.fpch button:focus-visible,.fpch summary:focus-visible,.fpch-dialog :focus-visible{outline:3px solid #2869b4;outline-offset:3px}
.fpch-dialog{box-sizing:border-box;border:1px solid #ccd7e4;border-radius:16px;box-shadow:0 25px 90px #12223955;width:min(660px,calc(100% - 28px));max-height:85vh;padding:24px;color:#243b50;background:#fff}
.fpch-dialog::backdrop{background:#14253699}.fpch-dialog h2{font-size:1.4rem;max-width:80%;margin-top:0}.fpch-dialog p{font-size:.9rem;line-height:1.5}.fpch-dialog-close{float:right}.fpch-dialog label{display:block;margin:12px 0}.fpch-dialog input[type=search]{display:block;width:100%;box-sizing:border-box;border:1px solid #aab8c8;border-radius:6px;padding:10px;margin-top:6px;font:inherit}.fpch-dialog button{font:inherit;cursor:pointer;border:1px solid #bdcbd9;border-radius:7px;padding:8px 12px;background:#f1f5fa;color:#244b70}.fpch-dialog button:disabled{opacity:.5;cursor:default}.fpch-dialog .fpch-consent{display:flex;gap:9px;align-items:flex-start;background:#eff2ff;padding:12px;border-radius:8px;font-size:.9rem}.fpch-consent input{margin-top:4px;flex-shrink:0}.fpch-image-results{padding:0;list-style:none;margin:16px 0}.fpch-image-results li{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid #e1e7ee}.fpch-image-results li div{min-width:0}.fpch-image-results strong{overflow-wrap:anywhere;display:block}.fpch-image-results small{display:block;color:#637689;margin-top:4px}.fpch-image-results button{flex-shrink:0}.fpch-picker-footer{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.fpch-picker-footer a{display:block;flex-basis:100%;margin-top:10px}
@media(max-width:767px){.fpch .fpch-hero{padding:15px 17px 19px;min-height:0}.fpch .fpch-config{flex-wrap:wrap;gap:8px}.fpch .fpch-image-actions{align-items:flex-start;max-width:100%}.fpch .fp28-identity,.fpch .fp26-identity,.fpch .fpch-identity{flex-wrap:wrap;gap:12px}.fpch .fp28-title{flex-basis:calc(100% - 86px)}.fpch .fp28-mark{width:68px;height:68px;flex-basis:68px;border-radius:16px}.fpch .fp28-actions,.fpch .fp26-actions,.fpch .fpch-actions{flex-basis:100%}.fpch .fp28-meta,.fpch .fp26-meta,.fpch .fpch-meta{gap:12px 20px}.fpch .fpch-tabs{padding:0 7px}.fpch .fpch-tabs>a{padding-left:10px;padding-right:10px}.fpch details>summary{padding-left:17px}.fpch-has-photo .fpch-hero:after{background:#fffffff0}.fpch-dialog{padding:18px}.fpch-image-results li{align-items:flex-start}.fpch-image-results button{max-width:110px}}
@media print{.fpch .fpch-image-actions,.fpch .fpch-tabs,.fpch details,.fpch .fp28-actions,.fpch .fp26-actions,.fpch .fp-property-actions,.fpch .fpch-actions{display:none!important}.fpch{box-shadow:none!important;break-inside:avoid}.fpch .fpch-hero{min-height:0}}

.fpch .fpch-hero a:not(.btn):not(.fp28-button):not(.fp26-button):not(.fp-property-button):not(.fpch-image-button){color:inherit}
.fpch .fpch-hero>.fpch-title{grid-column:1 / -1}
.fpch .fpch-hero>.fpch-actions{grid-column:1 / -1}
.fpch .fpch-metrics{display:flex;justify-content:space-between;align-self:end;gap:0;grid-column:2;background:#071c3e60;border:1px solid #ffffff20;border-radius:10px;padding:12px 6px;max-width:520px;color:#fff}
.fpch .fpch-metrics a{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:5px;min-width:85px;padding:2px 12px;color:#fff!important;text-decoration:none;border-right:1px solid #ffffff30;font-size:.73rem;line-height:1.3}
.fpch .fpch-metrics a:last-child{border:0}.fpch .fpch-metrics a:hover{background:#ffffff16;border-radius:5px}.fpch .fpch-metrics strong{font-size:1.18rem;color:#fff}.fpch .fpch-metrics svg{width:23px;height:23px;stroke:currentColor;fill:none}
.fpch .fpch-status-badge{display:inline-block;padding:4px 10px;background:#d7eaff;color:#103e73!important;border-radius:20px;font-weight:700;font-size:.8rem;margin-right:6px}
.fpch .fpch-objective{display:inline-block;border-radius:20px;background:#fff;color:var(--fpch-hero-start)!important;padding:5px 11px;font-weight:700;font-size:.8rem}
.fpch .fpch-hero .fpch-actions .btn-primary{background:#fff;color:var(--fpch-hero-start)!important;border-color:#fff}
.fpch .fpch-hero a:focus-visible,.fpch .fpch-hero button:focus-visible{outline-color:#fff;outline-offset:4px}
.fpch .fpch-hero .fp28-meta{grid-column:1 / -1}
.fpch .fpch-hero .fp28-meta>div{padding-right:16px;border-right:1px solid #ffffff35}.fpch .fpch-hero .fp28-meta>div:last-child{border:0}
.fpch .fpch-hero .fp-property-title{padding-bottom:2px}
/* Keep all existing share/print/broadcast actions in a compact disclosure after tabs. */
.fpch .fp28-tools,.fpch .fp26-tools,.fpch .fpch-tools{border-top:1px solid var(--fpch-line);background:#f8fafc}
@media(min-width:1000px){.fpch .fpch-hero:has(>.fpch-metrics)>.fp26-meta{grid-column:1;grid-row:3}.fpch .fpch-hero:has(>.fpch-metrics)>.fpch-metrics{grid-row:3}.fpch-property .fpch-hero:has(>.fpch-metrics)>.fp-property-actions{grid-column:1;grid-row:3}.fpch-portfolio .fpch-hero:has(>.fpch-metrics)>.fpch-actions{grid-column:1;grid-row:3}}
@media(max-width:999px){.fpch .fpch-hero{grid-template-columns:minmax(0,1fr)}.fpch .fpch-metrics{grid-column:1;max-width:100%;justify-self:start}.fpch .fpch-metrics a{min-width:66px;padding:2px 10px}.fpch .fp26-meta{grid-column:1}}
@media(max-width:767px){.fpch .fpch-hero{padding:18px;row-gap:16px}.fpch .fpch-metrics{width:100%;box-sizing:border-box;padding:10px 0}.fpch .fpch-metrics a{min-width:0;flex:1;padding:2px 5px;font-size:.68rem}.fpch .fpch-metrics strong{font-size:1rem}.fpch .fp28-mark{border-radius:50%}.fpch .fpch-hero .fp28-meta{gap:12px}.fpch .fpch-hero .fp28-meta>div{padding-right:10px}}
@media print{.fpch .fpch-hero{background:#fff!important;color:#222}.fpch .fpch-hero:before{display:none}.fpch .fpch-hero h1,.fpch .fpch-hero p,.fpch .fpch-hero dt,.fpch .fpch-hero dd,.fpch .fpch-hero a{color:#222!important}.fpch .fpch-metrics{display:none}}
/* Desktop follows the reference: identity left, actions above metrics on the right. */
@media(min-width:1000px){
.fpch-project .fpch-hero>.fp26-identity{display:contents}
.fpch-project .fpch-hero .fp26-title{grid-column:1;grid-row:2 / 4;align-self:center}
.fpch-project .fpch-hero .fp26-actions{grid-column:2;grid-row:2;justify-content:flex-end}
.fpch-project .fpch-hero:has(>.fpch-metrics)>.fp26-meta{grid-row:4;grid-column:1}
.fpch-project .fpch-hero:has(>.fpch-metrics)>.fpch-metrics{grid-row:3 / 5;grid-column:2}
.fpch-portfolio .fpch-hero:has(>.fpch-metrics)>.fpch-title{grid-column:1;grid-row:2 / 4;align-self:center}
.fpch-portfolio .fpch-hero:has(>.fpch-metrics)>.fpch-actions{grid-column:2;grid-row:2;justify-content:flex-end}
.fpch-portfolio .fpch-hero:has(>.fpch-metrics)>.fpch-metrics{grid-column:2;grid-row:3}
}
.fpch .fpch-more{position:relative;margin:0;border:0;background:none;font-size:.84rem;color:var(--fpch-ink)}
.fpch .fpch-more>summary{background:#fff;border:1px solid var(--fpch-line);padding:8px 12px;border-radius:8px;min-height:0;line-height:1.4;font-weight:650;cursor:pointer}
.fpch .fpch-more>div{display:flex;flex-wrap:wrap;gap:8px;background:#fff;color:#263d52;padding:12px;border:1px solid var(--fpch-line);border-radius:8px;position:absolute;right:0;top:calc(100% + 8px);z-index:5;width:260px;box-shadow:0 8px 20px #1234}
.fpch:has(.fpch-more[open]){overflow:visible}.fpch .fpch-hero{border-radius:17px 17px 0 0}
@media(min-width:1000px){.fpch-property .fpch-hero:has(>.fpch-metrics)>.fp-property-heading{grid-column:1;grid-row:2 / 4;align-self:center}.fpch-property .fpch-hero:has(>.fpch-metrics)>.fp-property-actions{grid-column:2;grid-row:2;justify-content:flex-end}.fpch-property .fpch-hero:has(>.fpch-metrics)>.fpch-metrics{grid-column:2;grid-row:3}}
@media(max-width:767px){.fpch .fpch-more>div{left:0;right:auto;max-width:calc(100vw - 100px)}}
@media print{.fpch .fpch-more{display:none}}

/* FP066 contextual workspaces */
.fp66-context{margin:1rem auto 1.5rem;max-width:1320px;border-radius:18px;overflow:hidden}.fp66-context .fpch-hero{display:block!important;padding:1.6rem 2rem}.fp66-context .fpch-hero a,.fp66-context .fpch-hero h1,.fp66-context .fpch-hero p{color:white}.fp66-context h1{margin:.8rem 0 .4rem;font-size:clamp(1.6rem,3vw,2.4rem)}.fp66-context .fpch-tabs{display:flex;overflow-x:auto;background:#fff;gap:.3rem;padding:.65rem 1rem}.fp66-context .fpch-tabs a{white-space:nowrap;padding:.6rem .85rem;color:#324359;border-radius:8px;text-decoration:none}.fp66-context .fpch-tabs a[aria-current=page]{background:#e8f3f2;color:#095e59;font-weight:700}.fp66-workspace{max-width:1280px}.fp66-heading{display:flex;justify-content:space-between;align-items:start;gap:1rem}.fp66-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem;margin:1rem 0 2rem}.fp66-card{padding:1.4rem;border:1px solid #dce3eb;border-radius:14px;background:#fff;box-shadow:0 4px 15px #182b4508;margin:1rem 0}.fp66-card h3{font-size:1.25rem}.fp66-eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#15756c}.fp66-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.3rem 0}.fp66-summary>div{padding:1.2rem;background:#edf5f5;border-radius:12px;border:1px solid #cbdedf}.fp66-summary strong{font-size:2rem;display:block;color:#145950}.fp66-summary span{display:block}.fp66-filters{display:flex;gap:1rem;flex-wrap:wrap;padding:1rem;background:#f2f5f8;border-radius:12px}.fp66-filters label{flex:1;min-width:160px}.fp66-search{display:block;max-width:540px}.fp66-suggestion{border:1px solid #dce3eb;border-radius:12px;margin:1rem 0;background:white}.fp66-suggestion>summary{padding:1rem;cursor:pointer;font-weight:600}.fp66-badge{display:inline-block;background:#eaf0f7;color:#30475e;font-size:.78rem;border-radius:20px;padding:.3rem .65rem;margin-left:.6rem}.fp66-suggestion-body{padding:0 1.2rem 1.2rem}.fp66-suggestion-body label{display:block;margin:.8rem 0}.fp66-suggestion-body blockquote{background:#f4f7fa;padding:1rem;border-left:3px solid #278d83}.fp66-workspace [hidden]{display:none!important}.fp66-form{max-width:1100px;margin:1rem auto 2rem;padding:1.5rem;background:white;border:1px solid #dce3eb;border-radius:14px}.fp66-form h1{font-size:1.6rem}.fp66-form label{margin-top:.7rem}.fp66-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.fp66-form textarea,.fp66-form select{max-width:100%}@media(max-width:600px){.fp66-context .fpch-hero{padding:1.2rem}.fp66-summary{gap:.4rem}.fp66-summary>div{padding:.7rem}.fp66-summary span{font-size:.8rem}.fp66-heading{display:block}.fp66-form{padding:1rem}.fp66-badge{margin:.4rem 0 0}}
