/* Shared XRVE Story: one source context, accessible navigation and plain-language outcomes.
   Restrained navy/steel blue/orange; bar segments always have text counts. */
.xrve-studio-decision-story{display:grid;gap:13px;background:#f5f9fc;border:1px solid #cbdfec;
 border-radius:12px;padding:18px 20px;margin:14px 0 19px;min-width:0;color:#163d57}
.xrve-studio-decision-story[hidden]{display:none}
.xrve-story-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.xrve-story-label{font-size:11px;font-weight:850;letter-spacing:.07em;color:#286c8d}
.xrve-story-source{font-size:11px;color:#466a80;line-height:1.5}
.xrve-story-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(220px,1fr);gap:18px}
.xrve-story-main h2{font-size:19px;line-height:1.35;color:#103c57;margin:0 0 8px}
.xrve-story-finding{font-size:16px;font-weight:750;line-height:1.5;color:#163a54;margin:0 0 8px;overflow-wrap:anywhere}
.xrve-story-why{font-size:12px;line-height:1.55;color:#557286;margin:0}
.xrve-story-next{background:#fff;border:1px solid #dbe8ef;border-radius:9px;padding:13px 15px;min-width:0}
.xrve-story-next strong{font-size:12px;color:#234d69}
.xrve-story-next p{font-size:12px;color:#385b72;line-height:1.5;margin:7px 0 10px}
.xrve-story-link{border:1px solid #9ac2d6;border-radius:7px;color:#175d81;background:#fff;
 font-weight:750;font-size:12px;padding:8px 10px;text-align:left;cursor:pointer}
.xrve-story-link:hover,.xrve-story-link:focus-visible{background:#e8f2f8;border-color:#548eab}
.xrve-story-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;border-top:1px solid #deebf0;padding-top:12px}
.xrve-story-path .xrve-story-link{min-height:48px;font-weight:650;line-height:1.45}
.xrve-story-path [aria-current="step"]{border-color:#bd7844;border-left:4px solid #bd7844;background:#fff6ee}
.xrve-story-demo-note{font-size:11px;font-weight:750;color:#92572b;margin:0}
.xrve-studio-orientation{display:grid;gap:11px;min-width:0}
.xrve-studio-orientation h3{font-size:17px;color:#163c58;margin:0}
.xrve-story-mixbar{width:100%;height:25px;border-radius:6px;overflow:hidden;display:flex;background:#e5edf1}
.xrve-story-segment{display:block;height:100%;min-width:0}
.xrve-story-emergency{background:#bb663b}
.xrve-story-reactive{background:#db9964}
.xrve-story-preventive{background:#2b7ea3}
.xrve-story-unclassified{background:#8fa6b4}
.xrve-story-mixlegend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0}
.xrve-story-mixitem{display:flex;align-items:baseline;justify-content:space-between;gap:7px;font-size:12px;line-height:1.45}
.xrve-story-mixitem dt{font-weight:750;color:#345873;overflow-wrap:anywhere}
.xrve-story-mixitem dd{margin:0;white-space:nowrap;font-variant-numeric:tabular-nums;color:#345873}
.xrve-story-empty{font-size:13px;color:#456980}
.xrve-studio-orientation>.xrve-story-link{justify-self:start}
@media(max-width:850px){.xrve-story-grid{grid-template-columns:1fr}.xrve-story-path{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.xrve-studio-decision-story{padding:13px}.xrve-story-mixlegend{grid-template-columns:1fr}.xrve-story-path{grid-template-columns:1fr}}
@media print{.xrve-story-link,.xrve-story-path{display:none!important}.xrve-studio-decision-story{break-inside:avoid}}

/* Validation polish: normal reading sizes, high-contrast provenance, and
   keyboard/touch targets without requiring color to convey a conclusion. */
.xrve-studio-decision-story{gap:15px;padding:19px 21px}
.xrve-story-label,.xrve-story-source,.xrve-story-demo-note{font-size:12px;line-height:1.55}
.xrve-story-source{color:#305970;overflow-wrap:anywhere}
.xrve-story-main h2{font-size:20px}
.xrve-story-finding{font-size:17px;line-height:1.52}
.xrve-story-why{font-size:13px;line-height:1.6;color:#35566b}
.xrve-story-next strong,.xrve-story-next p{font-size:13px;line-height:1.55}
.xrve-story-link{font-size:13px;line-height:1.45;min-height:42px}
.xrve-story-path .xrve-story-link{min-height:46px}
.xrve-story-link:focus-visible{outline:3px solid #156b96;outline-offset:2px}
.xrve-story-mixitem{font-size:13px}
.xrve-story-mixbar{height:25px}
.xrve-story-mixitem dd{font-variant-numeric:tabular-nums}
@media(max-width:500px){
 .xrve-studio-decision-story{padding:14px}
 .xrve-story-main h2{font-size:18px}
 .xrve-story-finding{font-size:16px}
 .xrve-story-next{padding:13px}
 .xrve-story-mixitem{align-items:flex-start}
 .xrve-story-mixitem dd{white-space:normal;text-align:right}
}
@media print{
 .xrve-story-why,.xrve-story-source{color:#263e4c}
 .xrve-story-mixbar{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
