/* The four extended profile tabs, scoped to the profile family. */
.profile-page .sample-note{font-size:12px;line-height:2;color:var(--muted);padding:0 0 16px;border:0;background:none;margin:0;max-width:110ch}
.profile-page .sample-count{padding:7px 13px;border:0;background:var(--surface-2);border-radius:999px;font-size:12px;color:var(--muted);white-space:nowrap;align-self:center}
.profile-page .sample-controls{display:grid;grid-template-columns:minmax(180px,1.3fr) minmax(190px,1fr) minmax(150px,.8fr) auto;gap:16px;align-items:end;margin:6px 0 12px;padding:18px 0;border-block:1px solid var(--line)}
.profile-page .sample-field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;color:var(--muted)}
.profile-page .sample-field input,.profile-page .sample-field select,.profile-page .technical-period select{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-2);color:var(--ink);font:inherit;font-size:12.5px}
.profile-page .sample-field input::placeholder{color:var(--muted)}
.profile-page .sample-reset.chip,.profile-page .technical-actions .chip,.profile-page .technical-controls .chip{height:auto;min-height:44px;padding:9px 13px;font-size:12px;border-radius:8px}
.profile-page .sample-reset.chip{border:1px solid var(--line);background:var(--bg);white-space:nowrap}
.profile-page .sample-status{margin:14px 0;font-size:11.5px;color:var(--muted);min-height:24px}
.profile-page .sample-panel .tbl th:first-child{min-width:210px}
.profile-page .sample-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 0;padding:22px 0;gap:24px;border-block:1px solid var(--line)}
.profile-page .sample-stats>div{border:0;padding:0}
.profile-page .sample-stats dt{font-size:12px;color:var(--muted);margin-bottom:7px}
.profile-page .sample-stats dd{margin:0;font-size:23px;font-weight:500;color:var(--ink)}
.profile-page .sample-stats small{font-weight:400;font-size:11px;color:var(--muted)}
.profile-page .sample-plots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px 32px;margin-top:38px}
.profile-page .sample-plots .sample-plot:first-child{grid-column:1/-1}
.profile-page .sample-plot h3{font-size:23px;line-height:1.6;font-weight:500;margin:0;color:var(--ink)}
.profile-page .sample-plot .chart{height:260px}
.profile-page .sample-plots .sample-plot:first-child .chart{height:390px}
.profile-page .sample-plot-values{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted);padding-top:16px;margin-top:18px;border-top:1px solid var(--line)}
.profile-page .sample-plot-values bdi{display:block;margin:5px 0 0;font-size:15px;color:var(--ink)}
.profile-page .sample-after{margin:28px 0 0}
.profile-page .sample-link{color:var(--brand);text-decoration:none;font-size:12.5px}
.profile-page .sample-link:hover{text-decoration:underline;text-underline-offset:4px}
.profile-page .technical-actions{display:flex;gap:8px;flex-wrap:wrap;align-self:center}
.profile-page .technical-actions .chip{border:1px solid var(--line);background:var(--bg)}
.profile-page .technical-actions .chip:hover{background:var(--surface-2)}
.profile-page .technical-controls{margin:20px 0 8px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px}
.profile-page .technical-ma{display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap;padding:0;border:0;margin:0}
.profile-page .technical-toggle,.profile-page .technical-period{display:flex;align-items:center;gap:7px;font-size:12px;min-height:44px}
.profile-page .technical-toggle{cursor:pointer}
.profile-page .technical-toggle input{width:17px;height:17px;accent-color:var(--brand);margin:0;padding:0}
.profile-page .technical-period select{width:110px}
.profile-page .technical-chart{height:440px}
.profile-page .technical-chart .area{fill:url(#profileTechnicalFill);opacity:1}
.profile-page .technical-chart .ma-line{fill:none;stroke-width:2;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.profile-page .technical-chart .sma-line{stroke:var(--gold);stroke-dasharray:8 4}
.profile-page .technical-chart .ema-line{stroke:var(--ink);stroke-dasharray:2 4}
.profile-page .technical-chart .technical-cursor{stroke:var(--line-strong);stroke-width:1;vector-effect:non-scaling-stroke}
.profile-page .technical-chart .technical-point{fill:var(--bg);stroke:var(--brand);stroke-width:2;vector-effect:non-scaling-stroke}
.profile-page .technical-readout{min-height:42px;font-size:12px;padding:10px 0;color:var(--text);border:0;border-top:1px solid var(--line);background:none;border-radius:0;margin-top:6px}
.profile-page .technical-legend{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:12px;font-size:12px;color:var(--muted)}
.profile-page .technical-legend>span::before{content:'';display:inline-block;width:20px;border-top:2px solid var(--brand);vertical-align:middle;margin-inline-end:6px}
.profile-page .technical-legend>.sma-key::before{border-color:var(--gold);border-top-style:dashed}
.profile-page .technical-legend>.ema-key::before{border-color:var(--ink);border-top-style:dotted}
.profile-page .technical-legend bdi{margin-inline-start:7px;color:var(--ink)}
.profile-page .technical-panel:fullscreen{padding:28px;overflow:auto;background:var(--bg)}
.profile-page .technical-panel:fullscreen .technical-chart{height:calc(100vh - 360px);min-height:220px}
.profile-page .sample-bottom{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:28px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.profile-page .reports-grid{grid-template-columns:minmax(0,1fr) 280px;gap:56px;margin-bottom:0}
.profile-page .profile-report-basis{position:sticky;top:calc(var(--header-height) + var(--sitenav-height) + 76px);padding-top:20px;border-top:1px solid var(--line)}
.profile-page .profile-report-basis .panel-head h2{font-size:20px}
.profile-page .profile-report-basis .stats>div{padding-block:13px}
.profile-page .profile-report-basis .stats dd{font-weight:500}
.profile-page .sample-reports details{padding:10px 0;border-top:1px solid var(--line)}
.profile-page .sample-reports details:last-child{border-bottom:1px solid var(--line)}
.profile-page .sample-reports summary{cursor:pointer;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:22px;list-style:none;font-size:19px;line-height:1.8;font-weight:500;color:var(--ink);padding-block:10px}
.profile-page .sample-reports summary::-webkit-details-marker{display:none}
.profile-page .sample-reports summary::after{content:'+';font:24px/1 system-ui,sans-serif;color:var(--muted);flex:none;width:24px;text-align:center}
.profile-page .sample-reports details[open]>summary::after{content:'−'}
.profile-page .sample-reports details>div{padding:4px 0 16px;font-size:13.5px;line-height:2.1;max-width:78ch;color:var(--text)}
.profile-page .sample-reports details .sample-link{display:inline-flex;align-items:center;margin-top:8px;min-height:44px}
@media(max-width:1100px){.profile-page .sample-controls{grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(130px,.7fr)}.profile-page .sample-reset{grid-column:3;justify-self:end}.profile-page .sample-stats dd{font-size:20px}.profile-page .reports-grid{grid-template-columns:minmax(0,1fr) 250px;gap:30px}.profile-page .sample-plot h3{font-size:21px}.profile-page .technical-chart{height:390px}}
@media(max-width:820px){.profile-page .sample-controls{grid-template-columns:1fr 1fr}.profile-page .sample-field:first-child{grid-column:1/-1}.profile-page .sample-reset{grid-column:auto;justify-self:stretch}.profile-page .sample-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.profile-page .sample-plots{gap:36px 24px}.profile-page .sample-plots .sample-plot:first-child .chart{height:330px}.profile-page .sample-plot .chart{height:230px}.profile-page .reports-grid{grid-template-columns:1fr;gap:30px}.profile-page .profile-report-basis{position:static}.profile-page .profile-report-basis .stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.profile-page .technical-controls{gap:10px}.profile-page .technical-chart{height:330px}}
@media(max-width:600px){.profile-page .sample-plots{grid-template-columns:1fr;gap:32px;margin-top:28px}.profile-page .sample-controls{gap:12px;margin-top:0;padding-block:16px}.profile-page .sample-field:nth-child(2){grid-column:1/-1}.profile-page .sample-field{font-size:11px}.profile-page .sample-reset.chip{font-size:11px;padding-inline:10px}.profile-page .sample-count{font-size:11px;padding:5px 11px}.profile-page .sample-stats{gap:20px 16px;padding:18px 0}.profile-page .sample-stats dd{font-size:19px}.profile-page .sample-stats dt{font-size:11px}.profile-page .sample-plots .sample-plot:first-child .chart{height:280px}.profile-page .sample-plot .chart{height:245px}.profile-page .sample-plot h3{font-size:21px}.profile-page .sample-plot-values{font-size:10.5px}.profile-page .sample-plot-values bdi{font-size:14px}.profile-page .technical-chart{height:290px}.profile-page .technical-ma{gap:8px 12px}.profile-page .technical-actions .chip{padding-inline:11px;font-size:11px}.profile-page .technical-toggle,.profile-page .technical-period{font-size:11px}.profile-page .technical-panel:fullscreen{padding:16px}.profile-page .technical-panel:fullscreen .technical-chart{height:45vh;min-height:180px}.profile-page .technical-readout{font-size:11px}.profile-page .technical-legend{gap:10px 16px;font-size:11px}.profile-page .sample-reports summary{font-size:17px;gap:14px}.profile-page .sample-reports details>div{font-size:13px}.profile-page .sample-note{font-size:11px}.profile-page .profile-report-basis .stats{grid-template-columns:1fr}.profile-page .sample-bottom{font-size:11px}}
