/* v40: section groups in the plan tool (progressive disclosure) and the calculation-in-progress cue */
.v40-grp { margin: 14px 0 0; border: 1px solid rgba(127,127,127,.28); border-radius: 10px; background: rgba(127,127,127,.04); }
.v40-grp + .v40-grp { margin-top: 8px; }
.v40-grp > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; padding: 11px 36px 11px 14px; position: relative; }
.v40-grp > summary::-webkit-details-marker { display: none; }
.v40-grp > summary::after { content: ""; position: absolute; right: 15px; top: 17px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .15s; }
.v40-grp[open] > summary::after { transform: rotate(225deg); top: 20px; }
.v40-grp > summary:focus-visible { outline: 2px solid #f59e0b; outline-offset: 2px; border-radius: 10px; }
.v40-t { font-weight: 600; font-size: .95rem; }
.v40-b { font-size: .75rem; padding: 1px 8px; border-radius: 999px; border: 1px solid rgba(127,127,127,.35); white-space: nowrap; font-variant-numeric: tabular-nums; }
.v40-h { grid-column: 1 / -1; font-size: .8rem; opacity: .72; line-height: 1.35; }
.v40-in { padding: 0 14px 12px; border-top: 1px solid rgba(127,127,127,.18); }
.v40-in > :first-child { margin-top: 10px; }
.v40-in > details, .v40-in > div, .v40-in > section { margin-top: 10px; }
.v40-core-k { margin: 18px 0 0; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
body.lb-calc #pl-msg:empty::before { content: "Calculating…"; opacity: .75; }
@media (prefers-reduced-motion: reduce) { .v40-grp > summary::after { transition: none; } }
/* v40 audit fix: the toolbar spacer showed as an empty cell when the toolbar wraps on phones */
@media (max-width: 760px) { .pl-tools .sp, .pl-vbar .sp { display: none; } }
/* v40 audit fix: report sidebar: actions first, cover details fold, file picker readable on the dark sidebar */
.cr-more > summary { cursor: pointer; font-size: 12.5px; padding: 6px 0; color: #f0b37a; }
.cr-more > .cr-form { margin-top: 6px; }
.cr-bar .cr-acts { margin: 4px 0 8px; }
.cr-bar input[type=file] { color: #efe9df; background: transparent; border: 0; padding: 0; font-size: 12px; max-width: 100%; }
.cr-bar input[type=file]::file-selector-button { background: #2c271f; color: #efe9df; border: 1px solid #4a4238; border-radius: 4px; padding: 5px 10px; margin-right: 8px; font: inherit; cursor: pointer; }
/* v40 audit fix: "close plan" showed with no plan open, because the button style beat the hidden attribute */
.pl .dev-head [hidden] { display: none !important; }
