:root {
  color-scheme:dark;
  --mp-bg:#101a29; --mp-panel:#162336; --mp-soft:#1d2d41; --mp-edge:#35455a;
  --mp-text:#f1f4f7; --mp-muted:#b1c0cf; --mp-accent:#8fd6d0; --mp-strong:#123f42;
  --mp-negative:#f2a7ab; --mp-positive:#91dbba;
}
:root[data-theme=light] {
  color-scheme:light;
  --mp-bg:#f1f4f6; --mp-panel:#fff; --mp-soft:#edf3f4; --mp-edge:#c5d0d8;
  --mp-text:#142839; --mp-muted:#4b6070; --mp-accent:#176867; --mp-strong:#d1ece9;
  --mp-negative:#943949; --mp-positive:#246449;
}
.mp {
  background:var(--mp-bg); color:var(--mp-text); --color-ink:var(--mp-text);
  --color-muted:var(--mp-muted); --color-border:var(--mp-edge); --color-accent:var(--mp-accent);
  --color-panel:var(--mp-panel); --color-bg:var(--mp-bg); --color-raised:var(--mp-soft);
  --color-dim:var(--mp-muted);
}
.mp .wrap{width:min(1220px,calc(100% - clamp(2rem,7vw,7rem)));margin-inline:auto}
.mp h1,.mp h2,.mp h3,.mp p,.mp dl{margin:0}
.mp h2{font-size:clamp(1.55rem,2.4vw,2rem)}
.mp h3{font-size:1.2rem;font-weight:600;letter-spacing:-.025em}
.mp button,.mp select,.mp input{font:inherit;color:var(--mp-text)}
.mp input,.mp select,.mp button{border:1px solid var(--mp-edge);border-radius:6px;background:var(--mp-panel)}
.mp button,.mp select{min-height:40px;padding:.38rem .8rem}
.mp button:hover,.mp select:hover{border-color:var(--mp-accent)}
.mp-hero{position:relative;isolation:isolate;overflow:hidden;background:#101f31;color:#fff;border-bottom:1px solid #45576b}
.mp-hero:before{content:"";position:absolute;inset:0 0 0 42%;z-index:-2;background:url('/assets/port-aerial.webp') center 49%/cover no-repeat}
.mp-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,#101f31 39%,#101f31eb 55%,#101f3166 83%,#101f3150)}
.mp-hero>.wrap{padding-block:clamp(1.3rem,2.5vw,2.3rem) 1.65rem}
.mp-utility,.mp-section-head,.mp-profile-cta{display:flex;align-items:center;justify-content:space-between;gap:.8rem}
.mp-overline,.mp-section-head small,#pulse-count,.pulse-profile-head small,.mp-facts{font:600 .76rem/1.5 var(--type-mono);letter-spacing:.055em}
.mp-overline{display:flex;align-items:center;gap:.7rem;text-transform:uppercase;color:#a1e0d9}
.mp-line{width:1.9rem;height:2px;background:#8bd8cd}
.mp #theme-toggle{font-size:.82rem;background:#162739ed;border:1px solid #748693;color:#ebf6f5;min-height:36px}
.mp h1{font-size:clamp(3rem,5.4vw,4.7rem);letter-spacing:-.055em;color:#fff;line-height:1.04;margin:.45rem 0 .25rem}
.mp-hero .mp-tag{color:#f5f7fa;font:500 clamp(1.05rem,1.8vw,1.45rem)/1.4 var(--type-display)}
.mp-hero .mp-intro{font-size:.95rem;color:#d5e1e8;max-width:67ch;line-height:1.55;margin-top:.55rem}
.mp-facts{display:flex;flex-wrap:wrap;gap:.35rem;color:#bfe5dd;margin-top:1rem;letter-spacing:0}
.mp-facts span+span::before{content:'·';margin-right:.35rem}
.mp-body{padding-bottom:3rem}
.mp-qualification{font-size:.84rem;line-height:1.55;border-left:2px solid var(--mp-accent);padding:.35rem .9rem;margin:1.35rem 0!important}
.mp-search{position:relative}
.mp #pulse-search{width:100%;padding:.68rem 1rem .68rem 2.8rem;min-height:46px}
.mp #pulse-search::placeholder{color:var(--mp-muted)}
.mp-search>span{position:absolute;left:1.1rem;top:.92rem;height:14px;width:14px;border:2px solid var(--mp-muted);border-radius:50%;pointer-events:none}
.mp-search>span:after{content:'';position:absolute;width:7px;height:2px;background:var(--mp-muted);top:10px;left:9px;transform:rotate(47deg)}
.mp-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#pulse-categories{display:flex;flex-wrap:wrap;gap:.4rem;margin:.7rem 0}
#pulse-categories button{font-size:.84rem;line-height:1.25}
#pulse-categories [aria-pressed=true]{color:var(--mp-accent);background:var(--mp-strong);border-color:var(--mp-accent)}
#pulse-status{font-size:.86rem;color:var(--mp-muted);margin:.7rem 0}
#pulse-status:empty{display:none}
.mp-desk{display:grid;grid-template-columns:minmax(0,0.78fr) minmax(0,1.22fr);gap:1rem;align-items:start}
.mp-panel{border:1px solid var(--mp-edge);background:var(--mp-panel);border-radius:10px;min-width:0}
.mp-universe{overflow:hidden}
.mp-section-head small,#pulse-count{color:var(--mp-muted);letter-spacing:0;font-weight:400}
.mp-universe>.mp-section-head,.mp-inset,#pulse-profile,.mp-block,.mp-profile-cta{padding:clamp(1rem,1.7vw,1.5rem)}
.mp-universe>.mp-section-head{border-bottom:1px solid var(--mp-edge)}
#pulse-list{max-height:min(82vh,55rem);overflow:auto;scrollbar-color:var(--mp-edge) transparent}
.mp .pulse-market{width:100%;display:flex;align-items:center;gap:.8rem;text-align:left;border:0;border-bottom:1px solid var(--mp-edge);border-radius:0;background:transparent;min-height:63px;padding:.65rem 1rem}
.mp .pulse-market[aria-pressed=true]{box-shadow:inset 3px 0 var(--mp-accent);background:var(--mp-strong)}
.mp .pulse-market:hover{background:var(--mp-soft)}
.mp .pulse-market:focus-visible{outline-offset:-3px}
.pulse-icon{display:inline-grid;place-items:center;flex:none;width:35px;height:35px;border-radius:8px;background:var(--mp-soft);font-size:1.2rem;color:var(--mp-accent);font-family:var(--type-sans)}
.pulse-icon[data-market=gold]{color:#d6a533;background:#443a24}
.pulse-icon[data-market=silver]{color:#d4dce4;background:#364450}
.pulse-icon[data-market=copper]{color:#efab78;background:#4d382d}
.pulse-market-label{display:grid;flex:1;min-width:0}
.mp small,.mp .pulse-meta,.pulse-market-label small{color:var(--mp-muted);font-size:.82rem}
.pulse-list-score{margin-left:auto;font:500 .87rem var(--type-mono)}
.pulse-profile-head{display:flex;align-items:center;gap:.85rem}
.pulse-profile-head>div{flex:1;min-width:0}
.pulse-profile-head small{color:var(--mp-accent);text-transform:uppercase;font-size:.74rem}
.pulse-profile-head .pulse-icon{width:48px;height:48px;font-size:1.6rem}
.pulse-profile-head h2{margin:.15rem 0}
.pulse-profile-head p{font-size:.83rem}
.mp .pulse-share{font-size:.8rem}
.pulse-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:1.2rem 0 1rem}
.pulse-metric{display:flex;flex-direction:column;align-items:flex-start;gap:.35rem;background:var(--mp-soft);border:1px solid var(--mp-edge);border-radius:8px;padding:.9rem 1rem;min-width:0}
.mp .pulse-metric-title{min-height:2.1em;font-size:.83rem;line-height:1.1;font-weight:650;letter-spacing:0;color:var(--mp-muted)}
.pulse-metric>span{color:var(--mp-muted);font-size:.82rem}
.pulse-metric .pulse-score{font:500 clamp(1.1rem,2.15vw,1.85rem)/1.25 var(--type-display);overflow-wrap:anywhere}
.pulse-dimension{display:grid;align-items:center;grid-template-columns:minmax(0,1fr) auto auto;gap:.65rem;padding:.65rem 0;border-bottom:1px solid var(--mp-edge)}
.pulse-dimension details{margin:0;border:0;background:none;padding:0}
.mp details summary{cursor:pointer;color:var(--mp-text);font-size:.96rem}
.pulse-dimension details summary{font-weight:550;padding:.22rem 0}
.pulse-dimension details p{font-size:.84rem;margin:.35rem 0}
.pulse-reading{font-size:.82rem;color:var(--mp-muted)}
.pulse-segments{display:inline-flex;gap:3px;align-items:center}
.pulse-segments i{display:block;width:13px;height:12px;border:1px solid var(--mp-edge);border-radius:3px;background:var(--mp-soft)}
.pulse-segments i.active{outline:1px solid var(--mp-text);background:var(--mp-accent)}
.pulse-segments[data-kind=conditions] i.active[data-level="1"],.pulse-segments[data-kind=conditions] i.active[data-level="2"]{background:var(--mp-negative)}
.pulse-segments[data-kind=conditions] i.active[data-level="4"],.pulse-segments[data-kind=conditions] i.active[data-level="5"]{background:var(--mp-positive)}
.pulse-dates{display:flex;align-items:flex-start;flex-wrap:wrap;gap:.65rem 1.3rem;margin-top:1rem!important}
.pulse-dates dt{font-size:.76rem;color:var(--mp-muted)}
.pulse-dates dd{margin:0;font-size:.87rem}
.mp-inset,.mp-profile-cta{border-top:1px solid var(--mp-edge)}
.mp-inset h3{margin-bottom:.5rem}
.mp-profile-cta,.mp-conversion strong{font-size:.95rem}
.mp-profile-cta a,.mp-directory a{color:var(--mp-accent)}
.mp-block,.mp-conversion{margin-top:1rem}
.mp-block>h2{margin-bottom:.65rem}
.mp-block>p,.mp-conversion>p{max-width:85ch}
.pulse-empty,.pulse-stale{font-size:.9rem;line-height:1.5;padding:.85rem 1rem;background:var(--mp-soft);border-radius:6px;color:var(--mp-muted)}
.pulse-compare-controls{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap;margin:.65rem 0}
.pulse-compare-controls select{max-width:100%;font-size:.9rem}
.pulse-table-wrap{overflow:auto;max-width:100%}
.mp table{width:100%;border-collapse:collapse;font-size:.88rem}
.mp :is(td,th){padding:.5rem .65rem;border-bottom:1px solid var(--mp-edge);text-align:left}
.mp-method details{border:0;border-top:1px solid var(--mp-edge);background:none;border-radius:0;margin:0;padding:.8rem 0}
.mp-method>p{margin-bottom:1rem}
.mp-method summary{font-weight:600}
.mp-method details p,.mp-method dl{margin-top:.65rem;max-width:82ch}
.mp-method dt{font-weight:600}
.mp-method dd{color:var(--mp-muted);margin:0 0 .5rem}
.mp-directory{display:grid;grid-template-columns:1fr 1fr;gap:1rem;padding:1rem 0;font-size:.9rem}
.mp-conversion{border:1px solid var(--mp-edge);border-radius:10px;padding:clamp(1.3rem,3vw,2.6rem);background:linear-gradient(115deg,#183b42,#172b41);color:#fff}
.mp-conversion h2{margin:.55rem 0 .75rem}
.mp-conversion p{color:#d2e1e6;margin:.55rem 0}
.mp-conversion strong{display:block;color:#eff9f9;margin:1rem 0 .5rem}
.mp-primary{display:inline-block;text-decoration:none;color:#0e2f33;background:#ace1d8;border-radius:5px;padding:.65rem 1.05rem;font-weight:600}
.mp-primary:hover{background:white;color:#132d30}
@media(max-width:820px){.mp-desk{grid-template-columns:1fr}#pulse-list{max-height:260px}.mp-hero:before{left:30%}.mp-hero:after{background:linear-gradient(95deg,#101f31 10%,#101f31f0 52%,#101f3190)}}
@media(max-width:540px){.pulse-dimension{gap:.4rem}.pulse-dimension{grid-template-columns:1fr auto}.pulse-dimension .pulse-segments{grid-column:2}.pulse-profile-head{flex-wrap:wrap}.mp .pulse-share{font-size:.75rem}.mp-directory{grid-template-columns:1fr}.mp .wrap{width:calc(100% - 1.65rem)}.mp-facts{font-size:.71rem}.mp-utility{align-items:flex-start}.mp-section-head{gap:.35rem}.pulse-profile-head h2{overflow-wrap:anywhere}.mp-profile-cta{flex-wrap:wrap}.pulse-metric{padding:.7rem}.mp-hero .mp-intro{max-width:45ch}}

.pulse-list-head{display:flex;align-items:center;gap:.8rem;padding:.35rem 1rem;background:var(--mp-soft);color:var(--mp-muted);font:500 .77rem var(--type-mono);position:sticky;top:0;z-index:1}
.pulse-list-score{flex:0 0 3ch;text-align:right}
.pulse-list-risk{flex:0 0 5.2rem;text-align:right;font-size:.82rem;color:var(--mp-muted)}
.pulse-segments[data-kind=risk] i.active{background:var(--mp-accent)}
@media(max-width:540px){.pulse-list-risk{display:none}}
:root{--mp-control-edge:#788a9c}
:root[data-theme=light]{--mp-control-edge:#738598}
.mp :is(input:not([type=checkbox]),select),.mp button:not(.pulse-market){border-color:var(--mp-control-edge)}
.mp :focus-visible{outline:3px solid var(--mp-accent);outline-offset:2px}
.mp .pulse-market:focus-visible{outline-offset:-3px}
.mp #theme-toggle:focus-visible{outline-color:#ace1d8}

:root{--mp-shadow:#d3bffc}
:root[data-theme=light]{--mp-shadow:#61458b}
.pulse-shadow-text,.mp .pulse-shadow-metric>.pulse-metric-title{color:var(--mp-shadow)}
.mp .pulse-subcriteria-title{margin-top:1rem}
.pulse-assessment-notes{display:grid;gap:.8rem;margin-top:1rem}
.pulse-assessment-notes h4{margin:0 0 .2rem;font-size:.88rem;font-weight:650;letter-spacing:0}
.pulse-assessment-notes p{font-size:.88rem;line-height:1.55}
.pulse-assessment-notes a{font-size:.82rem}
.pulse-profile-sources{margin-top:.95rem;border-top:1px solid var(--mp-edge);border-bottom:0}
.mp .pulse-profile-sources summary{padding:.75rem 1rem .25rem 0;color:var(--mp-muted);font-size:.85rem}
.pulse-profile-sources summary::after{top:.4rem}
.pulse-source-list{padding-inline-start:1rem;margin:.45rem 0 0;font-size:.84rem}
.pulse-source-list li{overflow-wrap:anywhere}
.pulse-source-list small{display:block}
.mp .pulse-compare-date{margin-bottom:.45rem}
.mp .pulse-history-note{margin:.3rem 0 .1rem}
.pulse-shadow-watch{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--mp-edge)}
.pulse-shadow-watch h3,.pulse-shadow-watch h4{margin-bottom:.35rem}
.pulse-shadow-watch h4{margin-top:.6rem}
.pulse-history-options{font-size:.84rem;margin-bottom:.55rem}
.pulse-history-options label{display:inline-flex;align-items:center;gap:.4rem}
.pulse-list-values{display:flex;align-items:center;gap:.8rem}
.pulse-list-shadow{flex:0 0 3.5rem;text-align:right;font:500 .8rem var(--type-mono)}
.pulse-mobile-label{display:none}
@media(max-width:540px){
  .pulse-metrics{grid-template-columns:1fr;gap:.45rem}
  .pulse-metric{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.15rem .55rem}
  .mp .pulse-metric-title{min-height:0}
  .pulse-metric>span{grid-column:1/-1}
  .pulse-metric>.pulse-segments{margin:.12rem 0}
  .mp .pulse-market{display:grid;grid-template-columns:35px minmax(0,1fr);gap:.35rem .65rem}
  .pulse-list-head{display:none}
  .pulse-list-values{grid-column:2;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.35rem}
  .pulse-list-values>span{display:grid;text-align:left;margin-left:0}
  .mp .pulse-mobile-label{display:block;font:.7rem var(--type-sans)}
}
.mp .pulse-history-options input[type=checkbox]{inline-size:1.05rem;block-size:1.05rem;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--mp-accent)}
.mp .pulse-history-options label{width:auto;max-width:100%;cursor:pointer}
.pulse-overview{margin-top:.8rem!important;line-height:1.55}

#pulse-history{border:1px solid var(--mp-edge);border-radius:12px;background:var(--mp-panel)}
#pulse-history>.pulse-empty{margin:.65rem}
.pulse-history-plot{color:var(--mp-accent)}
.pulse-history-plot.pulse-shadow-text{color:var(--mp-shadow)}
.pulse-chart-reading{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem 1rem;
  padding:.7rem clamp(.75rem,2vw,1.1rem);border-bottom:1px solid var(--mp-edge);
  border-radius:11px 11px 0 0;background:var(--mp-soft);font-variant-numeric:tabular-nums;
}
.pulse-chart-value{color:var(--mp-muted);font:.8rem var(--type-mono);white-space:nowrap}
.pulse-chart-score{color:var(--mp-text);font:600 clamp(1.75rem,4vw,2.35rem)/1 var(--type-display)}
.pulse-chart-context{display:grid;color:var(--mp-muted);font-size:.8rem;line-height:1.35}
.pulse-chart-band{color:var(--mp-text);font-weight:600}
.pulse-chart-plot{padding:.8rem 1.15rem .65rem 2.45rem}
.pulse-chart{width:100%;display:block;overflow:visible}
.pulse-chart text,.pulse-chart-months{fill:var(--mp-muted);color:var(--mp-muted);font: .73rem var(--type-mono)}
.pulse-chart-months{position:relative;height:1.15rem}
.pulse-chart-months span{position:absolute;transform:translateX(-50%)}
.pulse-chart-gridline,.pulse-chart-monthline{stroke:var(--mp-edge)}
.pulse-chart-midline{stroke:var(--mp-control-edge);stroke-dasharray:4 4;opacity:.65}
.pulse-chart-trace{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.pulse-chart-guide{stroke:currentColor;stroke-dasharray:3 4;opacity:.7;pointer-events:none}
.pulse-chart [role=button]{cursor:pointer;touch-action:manipulation}
.pulse-chart-dot{fill:currentColor;stroke:var(--mp-panel);stroke-width:1.4;pointer-events:none}
.pulse-chart [aria-pressed=true] .pulse-chart-dot{r:6;stroke-width:2}
.mp .pulse-chart [role=button]:focus{outline:none}
.pulse-chart [role=button]:focus-visible .pulse-chart-dot{r:7;stroke:var(--mp-text);stroke-width:2}
#pulse-history .pulse-history-dates{border-top:1px solid var(--mp-edge);padding:.65rem 1rem}
.mp .pulse-history-dates summary{font-size:.85rem}
