/* Shared public/private presentation; assessment styles remain intact. */
[data-lg-adult][hidden]{display:none!important}
.lg-chord-connections{display:grid;gap:8px;margin:0 0 22px}
.lg-chord-connections .lg-chord-open{margin:0;text-align:left;overflow-wrap:anywhere}
.lg-chord-connections strong,.lg-chord-connections span{display:block}
.lg-chord-connections span{margin-top:5px;font-size:16px;color:#c7d3d5}
.lg-analysis-detail{min-width:0;overflow-wrap:anywhere}
.lg-analysis-detail h4{font-size:18px;line-height:1.4;margin:24px 0 8px}
.lg-analysis-detail li{margin:10px 0;line-height:1.6}
#lgPublicChord{width:100%;max-width:560px;aspect-ratio:1;margin:auto}
.lg-chord-line{animation:lg-ribbon-arrive 900ms ease-out both}
.lg-chord-illustration{display:block;width:100%;max-width:560px;margin:auto;overflow:visible}
.lg-chord-illustration text{font:16px system-ui,sans-serif}
.lg-chord-example-ribbon{fill-opacity:.48;animation:lg-ribbon-arrive 1800ms ease-out both}
.lg-chord-example-ribbon:nth-of-type(3n){animation-delay:180ms}
.lg-chord-example-ribbon:nth-of-type(3n + 1){animation-delay:360ms}
@keyframes lg-ribbon-arrive{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.lg-chord-illustration *,.lg-chord-line{animation:none!important}}
.lg-chord-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.lg-chord-workspace .lg-map{padding:22px;background:radial-gradient(ellipse at 50% 36%,#1b343b 0%,#14212d 62%,#111d29 100%);border-color:#314550}
.lg-chord-workspace .lg-map-label{max-width:32ch;font-size:16px;color:#d9e5e6}
.lg-chord{color:#f3f4ef;min-width:0}
.lg-chord-stage{position:relative;isolation:isolate;width:100%;aspect-ratio:1;max-width:600px;margin:0 auto}
.lg-chord-svg{display:block;width:100%;height:auto;pointer-events:none;overflow:visible}
.lg-chord-source-label{font:500 16px system-ui,sans-serif}
.lg-chord-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 22px}
.lg-chord-workspace .lg-chord-point{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:10px 12px;border:1px solid #40535e;border-left:3px solid var(--lg-source-colour);border-radius:7px;background:#15232d;color:#f5f5ef;text-align:left;font:500 16px/1.4 system-ui,sans-serif;overflow-wrap:anywhere;cursor:pointer}
.lg-chord-source-index{flex-shrink:0;color:var(--lg-source-colour);font-variant-numeric:tabular-nums}
.lg-chord-workspace .lg-chord-point:hover{background:#2d4249}
.lg-chord-workspace .lg-chord-point[aria-pressed="true"]{border-color:var(--lg-source-colour);background:#253e46;text-decoration:underline;text-underline-offset:3px}
.lg-chord-workspace .lg-chord-point[data-lg-chord-unavailable]{border-style:dashed}
.lg-chord-workspace .lg-chord-point:focus-visible,.lg-chord-workspace .lg-chord-open:focus-visible{outline:3px solid #fff;outline-offset:5px}
.lg-chord-workspace .lg-chord-centre{position:absolute;left:50%;top:40%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:58%;min-height:72px;padding:10px 4px;border:0!important;border-radius:12px;background:transparent!important;color:#f3f4ef;text-align:center;font:500 16px/1.45 system-ui,sans-serif;box-shadow:none}
.lg-chord-workspace .lg-chord-open{display:block;width:100%;min-height:44px;padding:12px 16px;margin:0 0 20px;border:1px solid #728e85;border-radius:9px;background:#203933;color:#eaf4ec;font:500 16px/1.4 system-ui,sans-serif;cursor:pointer}
.lg-chord-workspace .lg-chord-open:hover,.lg-chord-workspace .lg-chord-open[aria-pressed="true"]{background:#2c5042;border-color:#8bc49c}
.lg-chord-workspace .lg-chord-hint{font-size:16px;line-height:1.6;color:#c7d3d5;margin:0 0 20px}
.lg-chord-workspace .lg-chord-total{font:400 clamp(32px,4vw,46px)/1.05 'Fraunces',Georgia,serif;letter-spacing:-.04em;color:#cae6d4}
.lg-chord-workspace .lg-chord-empty{width:62%;top:47%;padding:0;gap:12px}
.lg-chord-workspace .lg-chord-empty strong{font:400 clamp(21px,2.5vw,29px)/1.15 'Fraunces',Georgia,serif}
.lg-chord-workspace .lg-chord-empty span{font-size:16px;color:#c7d3d5}
.lg-chord .lg-chord-legend{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;list-style:none;padding:0;margin:0 0 15px}
.lg-chord .lg-chord-legend li{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;line-height:1.4;color:#e1e8e8}
.lg-chord-legend li>span{display:block;width:9px;height:9px;border-radius:50%;flex-shrink:0}
.lg-chord .lg-chord-caption{font-size:16px;line-height:1.6;color:#afc3c8;margin:0 0 22px}
.lg-chord-workspace .lg-nodes{grid-template-columns:1fr;gap:0;border-top:1px solid #324852}
.lg-chord-workspace .lg-node{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);gap:4px 12px;padding:15px 0!important;background:transparent!important;border:0!important;border-bottom:1px solid #324852!important;border-radius:0!important}
.lg-chord-workspace .lg-node .lg-source-number{grid-column:1;grid-row:1 / span 4;display:grid;place-items:center;align-self:start;width:28px;height:28px;border-radius:50%;border:1px solid var(--lg-source-colour,#a9bac1);color:#dce8e8;font:500 16px/1 system-ui,sans-serif}
.lg-chord-workspace .lg-node .lg-domain,.lg-chord-workspace .lg-node strong,.lg-chord-workspace .lg-node>span:not(.lg-source-number){grid-column:2}
.lg-chord-workspace .lg-node .lg-domain{font-size:16px;line-height:1.5;text-transform:none;color:var(--lg-source-colour,#a9bac1)}
.lg-chord-workspace .lg-node strong{font:400 22px/1.25 'Fraunces',Georgia,serif;color:#f5f4ee;overflow-wrap:anywhere}
.lg-chord-workspace .lg-node>span{font-size:16px;line-height:1.5;color:#bdd0d4}
.lg-chord-workspace .lg-node .lg-node-state{border:0;padding:0;margin:0;color:#b4c5c9}
.lg-chord-workspace .lg-node[aria-pressed="true"] .lg-source-number{background:var(--lg-source-colour,#a9bac1);color:#101e28}
.lg-chord-workspace .lg-node[aria-pressed="true"] strong{color:#fff;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.lg-chord-workspace .lg-node:focus-visible{outline:3px solid #fff;outline-offset:3px}
.lg-chord-workspace .lg-bridge{display:none}
@media(max-width:1000px){.lg-chord-workspace{grid-template-columns:1fr;gap:28px}.lg-chord-workspace .lg-map{padding:24px}.lg-chord-stage{max-width:520px}}
@media(max-width:540px){.lg-chord-workspace .lg-map{padding:14px}.lg-chord-sources{grid-template-columns:1fr}.lg-chord-workspace .lg-chord-empty{width:64%;gap:7px}.lg-chord-workspace .lg-chord-empty strong{font-size:21px}.lg-chord-workspace .lg-chord-centre{gap:5px}.lg-chord .lg-chord-legend{justify-content:flex-start;gap:9px 14px}.lg-chord-workspace .lg-node strong{font-size:21px}}
@media(prefers-reduced-motion:reduce){.lg-chord-workspace *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){.lg-chord-workspace .lg-chord-point,.lg-chord-workspace .lg-source-number{border-color:ButtonText}.lg-chord-workspace .lg-chord-point[aria-pressed="true"]{outline:3px solid Highlight}.lg-chord-svg{forced-color-adjust:none}}
