/* Neutral glass: static CSS light, translucent fills, no filter or render loop. */
.plan-disclosure {
  --plan-ink:#171b22;
  --plan-copy:#3b4653;
  --plan-edge:rgb(149 155 163 / 34%);
  --plan-glass:linear-gradient(152deg,rgb(255 254 250 / 75%) 0%,rgb(255 255 252 / 34%) 40%,rgb(234 237 234 / 46%) 100%);
  --plan-shine:radial-gradient(ellipse at 12% 0%,rgb(255 252 245 / 68%) 0%,rgb(255 252 245 / 0%) 70%);
  --plan-shadow:0 8px 22px rgb(44 45 42 / 4%),inset 0 1px 0 rgb(255 254 250 / 88%),inset 0 -1px 0 rgb(149 155 163 / 12%);
  scroll-margin-top:24px;
  border:1px solid var(--plan-edge);
  border-radius:18px;
  background:radial-gradient(ellipse at 8% 0%,#fffdf8 0%,transparent 70%),linear-gradient(145deg,#f4f4f1 0%,#ebece9 58%,#f4f4f1 100%);
  color:var(--plan-ink);
  box-shadow:0 12px 30px rgb(44 45 42 / 3%),inset 0 1px 0 #fffdf8;
}
.plan-summary {
  display:block;
  list-style:none;
  cursor:pointer;
  padding:26px 28px;
  border-radius:17px;
  background:var(--plan-shine),var(--plan-glass);
  box-shadow:inset 0 1px 0 rgb(255 254 250 / 88%),inset 0 -1px 0 rgb(255 254 250 / 36%);
}
.plan-summary::-webkit-details-marker { display:none; }
.plan-summary h2 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-size:30px;
  line-height:1.2;
  margin:0;
  color:var(--plan-ink);
}
.plan-summary:focus-visible { outline:3px solid #566b85; outline-offset:4px; }
.plan-chevron {
  flex:0 0 38px;
  width:38px;
  height:38px;
  padding:7px;
  border:1px solid rgb(133 151 173 / 48%);
  border-radius:50%;
  background:rgb(255 255 255 / 76%);
  color:var(--plan-copy);
  box-shadow:inset 0 1px 0 #fff;
  transition:transform 180ms cubic-bezier(.23,1,.32,1);
}
.plan-disclosure[open]:not(.is-closing)>.plan-summary .plan-chevron { transform:rotate(180deg); }
.plan-content { padding:24px; border-top:1px solid rgb(144 159 177 / 24%); }
.plan-disclosure .next-steps { margin:0; padding:0; border:0; border-radius:0; background:none; }
.plan-disclosure .next-steps li,
.plan-disclosure .insight-grid>section,
.plan-disclosure .insight-grid>section:last-child,
.plan-disclosure .goal-example {
  border:1px solid var(--plan-edge);
  background:var(--plan-shine),var(--plan-glass);
  color:var(--plan-ink);
  box-shadow:var(--plan-shadow);
}
.plan-disclosure .next-steps li>span {
  background:rgb(255 255 255 / 65%);
  border:1px solid rgb(144 159 177 / 32%);
  color:#293442;
  box-shadow:inset 0 1px 0 #fff;
}
.plan-disclosure .next-steps .step-heading { color:var(--plan-ink); }
.plan-disclosure .next-steps li>p { color:var(--plan-copy); }
.plan-disclosure .next-steps li>.step-output {
  border-top-color:rgb(144 159 177 / 36%);
  color:var(--plan-copy);
}
.plan-disclosure .insight-grid { gap:16px; margin:20px 0; }
.plan-disclosure .insight-grid>section,
.plan-disclosure .insight-grid>section:last-child {
  padding:24px;
  border-radius:14px;
  background:linear-gradient(145deg,rgb(243 244 241 / 78%),rgb(234 237 234 / 68%));
  box-shadow:0 4px 14px rgb(44 45 42 / 2.5%),inset 0 1px 0 rgb(255 254 250 / 84%);
}
.plan-disclosure .insight-grid>section .eyebrow {
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#293442;
  font-size:14px;
  font-weight:650;
}
.plan-disclosure .insight-grid h3 { font-size:22px; line-height:1.25; margin:18px 0 14px; color:var(--plan-ink); }
.plan-disclosure .insight-grid p:last-child,
.plan-disclosure .insight-grid>section:last-child p:last-child { font-size:16px; color:var(--plan-copy); }
.plan-disclosure .goal-example { margin:0; }
.plan-disclosure .example-label {
  border-color:rgb(144 159 177 / 32%);
  background:rgb(255 255 255 / 55%);
  color:#293442;
  box-shadow:inset 0 1px 0 #fff;
}
.plan-disclosure .goal-example>p:last-child { color:var(--plan-copy); }
.keyboard-navigation .plan-chevron { transition:none; }
@media(hover:hover) and (pointer:fine) {
  .plan-summary:hover .plan-chevron { background:#fff; border-color:#7e91a9; }
}
@media(max-width:760px) {
  .plan-summary { padding:24px; }
  .plan-summary h2 { font-size:28px; gap:16px; }
  .plan-content { padding:20px; }
  .plan-disclosure .insight-grid>section,
  .plan-disclosure .insight-grid>section:last-child { padding:24px; }
}
@media(max-width:400px) {
  .plan-summary { padding:22px 20px; }
  .plan-summary h2 { font-size:26px; }
  .plan-chevron { flex-basis:34px; width:34px; height:34px; padding:5px; }
  .plan-content { padding:16px; }
  .plan-disclosure .insight-grid>section,
  .plan-disclosure .insight-grid>section:last-child { padding:20px; }
  .plan-disclosure .insight-grid h3 { font-size:23px; }
}
@media(prefers-reduced-motion:reduce) { .plan-chevron { transition:none; } }
/* Shared edge light/depth only: existing backgrounds, colors and layout stay intact. */
.result-shell {
  --result-panel-depth:0 8px 22px rgb(29 46 66 / 5%),inset 0 1px 0 rgb(255 255 255 / 90%),inset 0 -1px 0 rgb(140 155 174 / 14%);
}
.result-shell :is(.level-card,.skills-card,.gate-note,.methodology,.offer-card,.product-suggestion,.result-save-panel) {
  box-shadow:var(--result-panel-depth);
}
.result-shell :is(.offer-window,.offer-session) {
  box-shadow:0 2px 8px rgb(29 46 66 / 3%),inset 0 1px 0 rgb(255 255 255 / 88%);
}
@media print {
  .plan-disclosure { height:auto!important; overflow:visible!important; border:0; border-radius:0; }
  .plan-disclosure::details-content { content-visibility:visible!important; display:block!important; height:auto!important; }
  .plan-disclosure,
  .plan-summary,
  .plan-disclosure .next-steps li,
  .plan-disclosure .insight-grid>section,
  .plan-disclosure .insight-grid>section:last-child,
  .plan-disclosure .goal-example { background:#fff; box-shadow:none; color:#111; }
  .plan-summary { padding:0 0 16px; border-radius:0; }
  .plan-summary h2 { font-size:20pt; color:#111; }
  .plan-chevron { display:none; }
  .plan-content { padding:0; border:0; }
  .plan-disclosure .next-steps li,
  .plan-disclosure .insight-grid>section,
  .plan-disclosure .insight-grid>section:last-child,
  .plan-disclosure .goal-example { border-color:#aaa; }
  .plan-disclosure .insight-grid>section,
  .plan-disclosure .insight-grid>section:last-child { padding:16px; }
  .plan-disclosure .next-steps li>span,
  .plan-disclosure .example-label,
  .plan-disclosure .insight-grid>section .eyebrow { background:#fff; color:#111; border:1px solid #aaa; box-shadow:none; }
  .plan-disclosure .next-steps .step-heading,
  .plan-disclosure .insight-grid h3 { color:#111; font-size:14pt; }
  .plan-disclosure .next-steps li>p,
  .plan-disclosure .insight-grid p:last-child,
  .plan-disclosure .insight-grid>section:last-child p:last-child,
  .plan-disclosure .goal-example>p:last-child { color:#222; font-size:11pt; }
  .plan-disclosure .next-steps li>.step-output { border-top-color:#aaa; }

  .result-shell :is(.level-card,.skills-card,.gate-note,.methodology,.offer-card,.product-suggestion,.result-save-panel,.offer-window,.offer-session) { box-shadow:none; }
}

/* The decoration occupies the side gutters without adding height to the result. */
.result-shell { position:relative; }
.plan-landing { position:absolute; inset:0; z-index:2; pointer-events:none; }
.plan-ball-rail { position:absolute; bottom:12px; }
@media screen { .result-shell { padding-inline:calc(var(--quiz-ball-diameter) + 6px); } }
@media screen and (max-width:400px) { .goal-example h2 { overflow-wrap:anywhere; hyphens:auto; } }
.plan-ball { position:absolute; width:var(--plan-ball-size); height:var(--plan-ball-size); border-radius:50%; box-shadow:inset -2px -2px 0 #15171c0e; }
.plan-disclosure .next-steps li { position:relative; isolation:isolate; }
.plan-step-glow { position:absolute; inset:0; border-radius:inherit; background:#ffe7b948; box-shadow:inset 0 0 0 2px #c28b3a68; opacity:0; pointer-events:none; }
@media print { .plan-landing,.plan-step-glow { display:none!important; } }
