/* Live DOM and SVG evidence windows. Marketing ribbons remain outside the
   application surfaces; no approved console01–07 styling is changed here. */
/* All slides size the same grid row, including off-centre slides. This keeps
   the controls below the longest card when copy wraps at narrow widths. */
.evidence-deck.evidence-deck--technical{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;min-height:0;padding-bottom:24px}
.evidence-slide.evidence-slide--technical{grid-area:1/1;position:relative;justify-self:start;align-self:stretch;left:50%;top:0;margin:0;width:min(1000px,79vw);height:auto;min-height:754px;padding:28px 30px 30px;border-radius:32px}
.evidence-slide--technical .report-ribbons{background:linear-gradient(180deg,transparent 30%,#000 87%),url('/assets/report-folds.svg') center top/cover no-repeat,#000}
.ec-window{position:relative;background:#fbfcfd;color:#1b252d;border:1px solid #dce4e7;border-radius:10px;box-shadow:0 18px 45px #0005,0 1px 0 #ffffff9c inset;text-align:left;overflow:hidden;font-family:Arial,"Helvetica Neue",sans-serif;font-size:12px;line-height:1.4;-webkit-font-smoothing:antialiased}
.ec-icon{display:inline-block;flex:none;width:17px;height:17px;vertical-align:middle}
.ec-window-top{height:36px;display:flex;align-items:center;gap:10px;padding:0 14px;background:#222a31;color:#f3f6f7;font-size:12px}
.ec-window-top>span{display:flex;align-items:center;gap:11px}
.ec-window-top b{font-weight:400;color:#798d99}
.ec-window-top strong{font-size:12px;font-weight:600}
.ec-window-top .ec-window-tools{margin-left:auto;gap:15px;color:#c8d1d5}
.ec-window-tools .ec-icon{width:14px;height:14px}
.ec-window-main{display:flex;min-width:0}
.ec-rail{flex:0 0 38px;display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:13px;background:#f0f3f5;border-right:1px solid #dde5e8;color:#647780}
.ec-rail>span{display:grid;place-items:center;width:29px;height:29px;border-radius:5px}
.ec-rail>span.is-active{background:#d9ede9;color:#167c73;box-shadow:inset 2px 0 #178d82}
.ec-rail .ec-icon{width:16px;height:16px}
.ec-workarea{min-width:0;flex:1}
.ec-context{height:37px;display:flex;align-items:center;gap:9px;padding:0 12px;border-bottom:1px solid #e0e6ea;font-size:11px;background:#fbfcfe;white-space:nowrap}
.ec-context-name{display:flex;align-items:center;gap:7px;font-weight:600;margin-right:5px;color:#293b44}
.ec-context-name .ec-icon{width:14px;height:14px}
.ec-context-end{margin-left:auto;display:flex;align-items:center;gap:5px;color:#657580;font-size:11px}
.ec-context-end .ec-icon{width:12px;height:12px}
.ec-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dde4e9;border-radius:4px;background:#f5f7f9;color:#677984;font-size:11px;line-height:1.3;padding:3px 6px;white-space:nowrap;font-weight:600}
.ec-pill-teal{background:#e7f4ef;color:#24796b;border-color:#cbe4db}
.ec-pill-red{background:#fbefef;color:#b95a60;border-color:#efced0}
.ec-mono{font-family:"JetBrains Mono","SFMono-Regular",Consolas,monospace;font-size:11px;letter-spacing:-.15px}
.ec-content{padding:9px 11px 0;min-height:414px;height:auto;overflow:visible;background:linear-gradient(180deg,#fff,#fcfdfe)}
.ec-panel-heading{height:29px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 4px}
.ec-panel-heading strong{font-weight:600;font-size:12px;letter-spacing:-.1px}
.ec-panel-heading>span{font-size:11px;color:#73818c;white-space:nowrap}
.ec-content svg{font-family:Arial,"Helvetica Neue",sans-serif;fill:#33434c;overflow:visible}
.ec-content svg text{font-size:13px}
.ec-content svg .ec-svg-heading{font-size:13px;font-weight:600}
.ec-content svg .ec-svg-eyebrow{font-size:12.5px;letter-spacing:.6px;font-weight:600}
.ec-content svg .ec-svg-mono{font-family:"SFMono-Regular",Consolas,monospace;font-size:12.5px;letter-spacing:-.3px}
.ec-content svg .ec-svg-tick{font-size:13px;fill:#596874;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}
.ec-content svg .ec-svg-label{font-size:12.5px;paint-order:stroke;stroke:#fafbfd;stroke-width:3px;stroke-linejoin:round}
.ec-content svg .ec-svg-legend{font-size:12.5px;fill:#6e7e87}
.ec-axis{stroke:#a5b0b8;stroke-width:1;fill:none}
.ec-grid{stroke:#e6ebef;stroke-width:.7;fill:none}
.ec-parallel{display:block;width:100%;height:218px}
.ec-series{fill:none;stroke-width:.75;opacity:.31;transition:opacity .15s,stroke-width .15s}
.ec-series:hover{opacity:1;stroke-width:2}
.ec-highlight path{fill:none;stroke-width:1.8;stroke-linecap:round}
.ec-highlight circle{fill:#fff;stroke-width:1.6}
.ec-table-wrap{border:1px solid #e0e6ea;border-radius:4px;overflow:hidden}
.ec-window table{border-collapse:collapse;border-spacing:0;width:100%;color:#33434c;table-layout:fixed;font-size:11px}
.ec-window th,.ec-window td{padding:6px 8px;text-align:left;border-bottom:1px solid #e8edef;line-height:1.3}
.ec-window th{font-weight:600}
.ec-window thead th{padding-top:6px;padding-bottom:6px;font-size:10.5px;color:#6e7c86;letter-spacing:.1px;background:#f4f7f9}
.ec-window tbody tr:last-child>*{border-bottom:0}
.ec-results th:first-child{width:137px}
.ec-results th:nth-child(3){width:67px}
.ec-results th:last-child{width:105px}
.ec-results tbody th i{display:inline-block;width:5px;height:5px;vertical-align:middle;border-radius:50%;margin-right:6px}
.ec-muted{color:#859099;font-weight:400}
.ec-window .ec-matrix{padding-left:5px;padding-right:5px;white-space:nowrap}
.ec-matrix>span{display:inline-flex;align-items:center;justify-content:center;width:calc((100% - 30px)/16);height:15px;margin-right:2px;border-radius:1px;font-family:Consolas,monospace;font-size:8px;color:#fff}
.ec-matrix>span:last-child{margin-right:0}
.ec-matrix .pass{background:#5da59d}
.ec-matrix .fail{background:#c77b81}
.ec-matrix>span:hover{outline:1px solid #354a53;outline-offset:1px}
.ec-bottom-note{min-height:23px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:#77868e;font-size:10.5px;padding:4px}
.ec-bottom-note>span:first-child{display:flex;align-items:center;gap:5px}
.ec-bottom-note .ec-icon{width:12px;height:12px;color:#5a8f85}
.ec-window-foot{min-height:22px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 12px;border-top:1px solid #e1e7eb;background:#f4f7f9;color:#74838d;font-size:10.5px;letter-spacing:.1px}
.ec-window-foot>span:first-child{display:flex;align-items:center;gap:5px}
.ec-window-foot i{width:5px;height:5px;border-radius:50%;background:#268f81}
.ec-recovery-graph{display:block;width:100%;height:215px}
.ec-flow-node rect{fill:#fff;stroke:#cbd5dc;stroke-width:1}
.ec-flow-success rect{fill:#f2f9f6;stroke:#a5cfc5}
.ec-flow-warning rect{fill:#fff6f5;stroke:#dfa8ab}
.ec-connector{stroke:#8fa2ad;stroke-width:1.2;fill:none}
.ec-teal-line{stroke:#40988d}
.ec-recovery-detail{display:grid;grid-template-columns:minmax(0,1fr) 215px;gap:11px;margin-top:3px}
.ec-ledger{border:1px solid #e0e6ea;border-radius:4px;overflow:hidden}
.ec-subheading{display:flex;align-items:center;gap:6px;padding:5px 9px;font-size:11px;font-weight:600;background:#fafcfd;border-bottom:1px solid #e3e8ec}
.ec-subheading .ec-icon{width:13px;height:13px}
.ec-ledger th:first-child{width:25%}
.ec-ledger th:nth-child(2){width:33%}
.ec-ledger th:nth-child(3){width:22%}
.ec-ledger th:last-child{width:20%}
.ec-ledger th,.ec-ledger td{padding:4px 8px}
.ec-ledger .ec-mono{font-size:11px}
.ec-ledger-foot{padding:5px 8px;font-size:9px;display:flex;justify-content:space-between;gap:7px;background:#fafcfd;border-top:1px solid #e4eaee;color:#778a94}
.ec-ledger-foot .ec-mono{color:#378479;font-size:9px}
.ec-check-list{display:grid;grid-template-rows:repeat(3,1fr);border:1px solid #e0e6ea;border-radius:4px;padding:2px 8px;font-size:11px}
.ec-check-list>span{display:flex;align-items:center;gap:5px;border-bottom:1px solid #edf0f2}
.ec-check-list>span:last-child{border-bottom:0}
.ec-check-list .ec-icon{width:13px;height:13px;color:#328c7b}
.ec-check-list b{margin-left:auto;color:#358571;font-size:10.5px;font-weight:600}
.ec-source-table{margin-top:3px;border:1px solid #e0e6ea;border-radius:4px;overflow:hidden}
.ec-source-table th:first-child{width:33px}
.ec-source-table th:nth-child(2){width:35%}
.ec-source-table th:nth-child(3){width:28%}
.ec-source-table th:last-child{width:28%}
.ec-source-table tbody th{font-weight:400}
.ec-source-table .ec-icon{width:12px;height:12px;margin-right:6px;color:#80939d}
.ec-source-table th,.ec-source-table td{padding:5px 8px;height:27px}
.ec-source-rank{color:#9aa8b1;font-family:Consolas,monospace;font-size:10px}
.ec-source-selected{background:#f0f8f5}
.ec-source-selected th .ec-mono{color:#21786b;font-weight:600}
.ec-score{display:flex;align-items:center;gap:8px;width:100%}
.ec-score i{position:relative;width:calc(100% - 36px);height:4px;background:#edf1f4;border-radius:1px}
.ec-score i:after{content:"";position:absolute;inset:0 auto 0 0;width:var(--score);background:var(--bar);border-radius:1px}
.ec-score b{font-family:Consolas,monospace;color:#687c86;font-size:10px;font-weight:400}
.ec-source-map{display:block;width:100%;height:141px;margin-top:7px}
.evidence-slide--technical .evidence-slide-copy{margin:29px auto 0;max-width:800px;text-align:center}
.evidence-slide--technical .evidence-slide-copy h3{font-size:27px;line-height:1.22;font-weight:600;letter-spacing:-.35px;margin:0}
.evidence-slide--technical .evidence-slide-copy p{font-size:16px;line-height:1.5;max-width:690px;margin:12px auto 23px;color:#e0e7e9}
.evidence-slide--technical .evidence-slide-copy .button{font-size:13px;min-height:43px}
@media(min-width:1500px){.evidence-slide.evidence-slide--technical{width:1040px}}
@media(max-width:1100px){
  .evidence-slide.evidence-slide--technical{width:calc(100vw - 126px);padding:23px 22px 26px;min-height:742px}
  .ec-context{gap:6px;padding-left:8px;padding-right:8px}
  .ec-context-end{display:none}
  .ec-rail{flex-basis:32px}
  .ec-content{padding-left:7px;padding-right:7px}
  .ec-results th:first-child{width:119px}
  .ec-results th:last-child{width:92px}
  .ec-results th:nth-child(3){width:57px}
  .ec-recovery-detail{grid-template-columns:minmax(0,1fr) 175px;gap:7px}
  .ec-ledger-foot>span:last-child{display:none}
}
@media(max-width:700px){
  .evidence-slide.evidence-slide--technical{width:calc(100vw - 30px);padding:17px 13px 25px;min-height:760px;border-radius:25px}
  .evidence-deck.evidence-deck--technical{padding-bottom:19px}
  .ec-window{overflow:auto;scrollbar-width:thin;scrollbar-color:#60777b #dfe7e9;overscroll-behavior-x:contain}
  .ec-window-top,.ec-window-main{width:826px;min-width:826px}
  .ec-window-top{box-sizing:border-box}
  .ec-window-main{min-height:0}
  .ec-window .ec-context-end{display:flex}
  .ec-window-foot{font-size:9px}
  .ec-window .ec-results th:first-child{width:125px}
  .ec-window .ec-results th:last-child{width:98px}
  .ec-window .ec-results th:nth-child(3){width:63px}
  .ec-window .ec-recovery-detail{grid-template-columns:minmax(0,1fr) 205px}
  .evidence-slide--technical .evidence-slide-copy{margin-top:22px}
  .evidence-slide--technical .evidence-slide-copy h3{font-size:23px;line-height:1.2}
  .evidence-slide--technical .evidence-slide-copy p{font-size:14px;line-height:1.45;margin:10px auto 17px;max-width:430px}
  .evidence-slide--technical .evidence-slide-copy .button{font-size:12px;min-height:40px}
}
@media(prefers-reduced-motion:reduce){.ec-series{transition:none}}
