/* Shared native disclosure layout. Summary text lives in the summary, never in a clipped body. */
.gp-fold{overflow:hidden}
.gp-fold.card{padding:0}
.gp-fold>.gp-summary{
  display:grid;grid-template-columns:7px minmax(0,1fr) 26px;
  grid-template-areas:"dot copy chev";align-items:center;gap:11px;
  min-height:62px;padding:12px 15px;list-style:none;cursor:pointer;
  color:var(--ink);text-align:left;user-select:none;-webkit-user-select:none
}
.gp-summary::-webkit-details-marker{display:none}
.gp-summary::marker{content:""}
.gp-fold>.gp-summary:before{
  content:"";grid-area:dot;width:7px;height:7px;border-radius:50%;
  background:var(--mut);opacity:.45;box-shadow:0 0 0 5px var(--soft2)
}
.gp-fold[open]>.gp-summary:before{background:var(--acc);opacity:1;box-shadow:0 0 0 5px var(--accT14)}
.gp-fold>.gp-summary:after{content:none}
.gp-copy{grid-area:copy;min-width:0;display:grid;gap:3px;text-align:left}
.gp-title{min-width:0;font:700 13.5px/1.3 var(--disp);letter-spacing:-.01em;color:var(--ink);text-transform:none}
.gp-meta{min-width:0;font:500 11px/1.4 var(--body);color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gp-meta[hidden]{display:none}
.gp-chev{
  grid-area:chev;width:26px;height:26px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:50%;background:var(--soft2);color:var(--mut);
  font:700 15px/1 var(--body);transition:transform .18s ease;transform:rotate(0)
}
.gp-fold[open]>.gp-summary .gp-chev{transform:rotate(180deg);color:var(--ink)}
.gp-summary:focus-visible{outline:2px solid var(--acc);outline-offset:-3px;border-radius:14px}
.gp-body{padding:12px 15px 15px;border-top:1px solid var(--line);min-width:0}
.gp-fold:not([open])>.gp-body{display:none}
/* Shared compact disclosure modifier. Keeps the same dot/copy/chevron contract at lower density. */
.gp-fold.gp-compact>.gp-summary{
  grid-template-columns:6px minmax(0,1fr) 22px;gap:12px;
  min-height:42px;padding:5px 10px
}
.gp-fold.gp-compact>.gp-summary:before{width:6px;height:6px;box-shadow:0 0 0 4px var(--soft2)}
.gp-fold.gp-compact[open]>.gp-summary:before{box-shadow:0 0 0 4px var(--accT14)}
.gp-fold.gp-compact>.gp-summary .gp-copy{gap:1px}
.gp-fold.gp-compact>.gp-summary .gp-title{font-size:12.75px;line-height:1.2}
.gp-fold.gp-compact>.gp-summary .gp-meta{font-size:10.25px;line-height:1.25}
.gp-fold.gp-compact>.gp-summary .gp-chev{width:22px;height:22px;font-size:12.5px}
.gp-fold.gp-compact>.gp-body{padding:7px 10px 8px}
.gp-fold>.progwin-b{margin-top:0}
/* Review renderer includes a card of its own. Avoid a card inside another card. */
.gp-fold[data-disclosure-key="analysis-review"]>.gp-body>.card{
  padding:0;border:0;box-shadow:none;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none
}
.coach-fold{border-top:1px solid var(--line);margin:0}
.coach-fold>.gp-summary{padding-left:6px;padding-right:0}
.coach-fold>.gp-body{padding:8px 0 12px;border-top:0}
.coach-fold .ins{margin:0}
@media(max-width:699px){
  .gp-fold>.gp-summary{padding:11px 12px;min-height:60px}
  .gp-body{padding:11px 12px 12px}
}
@media(prefers-reduced-motion:reduce){.gp-chev{transition:none}}

/* Shared disclosure also covers dashboard cards and customize groups. */
.gp-fold{position:relative}
.gp-head-actions{position:absolute;right:52px;top:21px;display:flex;align-items:center;z-index:2}
.gp-fold.gp-with-info>.gp-summary{padding-right:86px}
.gp-fold>.gp-body>.rel-heading .kicker{display:none}
.gp-fold>.gp-body>.rel-heading{justify-content:flex-end;margin-bottom:8px}
.gp-sheet-fold{border:1px solid var(--line);border-radius:14px;background:var(--soft);margin:9px 0;overflow:hidden}
.gp-sheet-fold>.gp-summary{min-height:49px;padding:9px 12px}
.gp-sheet-fold>.gp-body{padding:10px}
.gp-sheet-fold .arr-group{margin:0}
.arr-fold-toggle{flex:none;border:1px solid var(--line);border-radius:9px;background:var(--soft2);color:var(--ink);font:600 10.5px var(--body);padding:6px 9px;cursor:pointer}
.arr-fold-toggle:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
@media(max-width:699px){.gp-head-actions{top:20px;right:47px}.gp-sheet-fold>.gp-summary{min-height:49px}.arr-fold-toggle{font-size:10px;padding:6px}}

.wtlegend>.gp-legend-entry{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}

/* Post-release UI correction: single-row customization at narrow widths. */
.gp-cust-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;margin-bottom:11px}
.gp-cust-heading h1{font:700 20px/1.35 var(--disp);margin:0}
.gp-cust-help{color:var(--mut);font:600 10.5px/1.35 var(--body);white-space:nowrap}
.gp-customize-row{display:grid;grid-template-columns:22px minmax(0,1fr) 30px 64px;align-items:center;column-gap:5px;padding:7px 7px;min-width:0;box-sizing:border-box}
.gp-customize-row .arr-grip{width:22px;box-sizing:border-box;padding:4px 0;text-align:center}
.gp-customize-row .arr-name{display:flex;flex:none;min-width:0;max-width:100%;gap:7px;white-space:nowrap;overflow:hidden}
.gp-customize-row .arr-name input{margin:0;flex:none}
.gp-customize-row .arr-title{display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gp-customize-row .arr-acts{display:flex;width:64px;justify-content:flex-end;gap:4px;min-width:0}
.gp-customize-row .arr-acts button{width:30px;height:30px;flex:none}
.gp-customize-row .arr-smart{max-width:66px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:none}
.gp-customize-row .arr-fold-toggle{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--soft2);color:var(--mut);cursor:pointer;flex:none}
.gp-customize-row .arr-fold-toggle.is-expanded{color:var(--ink);background:var(--accT14);border-color:var(--acc)}
.arr-fold-glyph{display:block;font:700 19px/1 var(--body);transform:rotate(0deg);transition:transform .2s ease,color .2s ease}
.arr-fold-toggle.is-expanded .arr-fold-glyph{transform:rotate(180deg)}
.gp-customize-row .arr-fold-toggle:active{transform:scale(.93)}
.gp-customize-row .arr-fold-toggle:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.gp-fold .glance-head,.gp-fold.wr-home-card .wr-top,.gp-fold.rel-card .rel-heading{display:none}
.gp-fold.gp-with-info>.gp-summary{grid-template-columns:7px minmax(0,1fr) 27px 26px;grid-template-areas:"dot copy info chev";gap:10px;padding-right:15px}
.gp-fold.gp-with-info>.gp-summary>.gp-head-actions{grid-area:info;position:static;inset:auto;transform:none;display:grid;place-items:center;width:27px;height:27px;z-index:2}
.gp-fold.gp-with-info .gp-head-actions .infob{width:27px;height:27px;margin:0;line-height:1;font-size:13px}
.gp-fold.gp-with-info.gp-info-after>.gp-summary{grid-template-areas:"dot copy chev info"}
@media(max-width:699px){.gp-fold.gp-with-info>.gp-summary{padding-right:12px;gap:8px}}
.gp-chart-legend.sp-index-legend{--gp-legend-color:var(--wt2);margin:7px 0 8px}
.sp-provisional{color:var(--mut);font-weight:500}
@media(max-width:630px){
 .gp-customize-row .arr-smart{width:8px;height:8px;min-width:8px;border:0;padding:0;font-size:0;background:var(--acc);border-radius:50%}
 .gp-customize-row{grid-template-columns:20px minmax(0,1fr) 30px 62px;column-gap:4px;padding:6px 5px}
 .gp-customize-row .arr-name{gap:6px;font-size:12px}
 .gp-customize-row .arr-grip{width:20px}
 .gp-customize-row .arr-acts{width:62px;gap:2px}
 .gp-customize-row .arr-acts button{width:30px;height:30px}
 .gp-cust-heading h1{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.arr-fold-glyph{transition:none}.gp-customize-row .arr-fold-toggle:active{transform:none}}

.gp-customize-row .arr-fold-spacer{display:block;width:30px;height:30px}

