/* /platform/automated-qa — the page's own rules (ported from the 02.10 etalon's inline <style>; the kit's rules stay in y.css / ui.css) */
/* ----  the Acme app replica (1000×620 canvas, scaled to width)  */
.ac-w{position:relative;overflow:hidden;aspect-ratio:1000/620;background:#f6f7f9}
.ac-w>.ac{position:absolute;left:0;top:0;width:1000px;height:620px;transform-origin:0 0}
.ac{display:grid;grid-template-columns:180px 1fr;font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:#0f172a;background:#f6f7f9;text-align:left;line-height:1.35}
.ac-sd{background:#fff;border-right:1px solid #e8ebef;padding:18px 12px;display:flex;flex-direction:column;gap:2px}
.ac-sd .lg{display:flex;gap:9px;align-items:center;font-weight:700;font-size:15.5px;padding:2px 8px 18px}
.ac-sd .lg i{width:24px;height:24px;border-radius:7px;background:linear-gradient(135deg,#4f46e5,#38bdf8)}
.ac-sd a{display:flex;gap:10px;align-items:center;padding:9px 10px;border-radius:9px;font-size:13.5px;color:#475569}
.ac-sd a svg{width:16px;height:16px;flex:none}
.ac-sd a.on{background:#eef2ff;color:#3730a3;font-weight:600}
.ac-m{padding:20px 24px;display:flex;flex-direction:column;gap:14px;min-width:0;position:relative}
.ac-top{display:flex;align-items:center;gap:12px;position:relative}
.ac-top h5{font-size:23px;font-weight:700;letter-spacing:-.02em}
.ac-rng{display:inline-block;font-size:13.5px;color:#596779;margin-top:3px;position:relative}
.ac-seg{margin-left:auto;display:flex;background:#eceef2;border-radius:10px;padding:3px;gap:2px;position:relative}
.ac-seg span{font-size:13px;font-weight:600;padding:8px 13px;border-radius:8px;color:#475569;transition:background .2s,color .2s}
.ac-seg span.on{background:#fff;color:#0f172a;box-shadow:0 1px 3px rgba(15,23,42,.14)}
.ac.live .ac-seg span{cursor:pointer}
.ac.live .ac-seg span:not(.on):hover{background:rgba(255,255,255,.6);color:#0f172a}
.ac-ex{font-size:13px;font-weight:600;padding:8px 13px;border:1px solid #d9dee5;border-radius:9px;background:#fff;display:flex;gap:7px;align-items:center;color:#334155}
.ac-ex svg{width:15px;height:15px}
.ac-kp{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ac-kp div{background:#fff;border:1px solid #e8ebef;border-radius:12px;padding:13px 16px}
.ac-kp small{font-size:12.5px;color:#596779}
.ac-kp b{display:block;font-size:26px;font-weight:700;letter-spacing:-.02em;margin-top:4px}
.ac-ch{background:#fff;border:1px solid #e8ebef;border-radius:12px;padding:14px 16px 8px}
.ac-ch .h{display:flex;justify-content:space-between;align-items:center;font-size:13.5px}
.ac-ch .h b{font-weight:650}
.ac-cr{color:#596779;position:relative}
.ac-ch svg{display:block;width:100%;height:196px;margin-top:6px}
.ac-ch svg text{font:500 11px "Plus Jakarta Sans",sans-serif;fill:#8a96a8}
.ac.anim .br{transform-box:fill-box;transform-origin:50% 100%;animation:acG .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes acG{from{transform:scaleY(0)}}
.ac-tb{background:#fff;border:1px solid #e8ebef;border-radius:12px;padding:4px 16px}
.ac-tb div{display:grid;grid-template-columns:1fr 130px 90px;padding:9px 0;font-size:13.5px;border-bottom:1px solid #f1f3f6}
.ac-tb div:last-child{border:0}
.ac-tb div span:nth-child(n+2){text-align:right;color:#475569}
.ac-tb .hd{font-size:12px;color:#8a96a8;font-weight:600}
.ac-tb .hd span{color:#8a96a8!important}
.ac-toast{position:absolute;right:24px;bottom:22px;background:#0f172a;color:#fff;font-size:13px;font-weight:550;padding:11px 16px;border-radius:11px;display:flex;gap:9px;align-items:center;box-shadow:0 14px 30px -12px rgba(15,23,42,.5)}
.ac-toast svg{width:16px;height:16px;color:#4ade80}
.ac-pk{position:absolute;right:86px;top:calc(100% + 8px);z-index:4;background:#fff;border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 24px 50px -18px rgba(15,23,42,.4);padding:14px;width:270px;animation:uIn .25s var(--ease)}
.ac-pk .mh{font-size:13px;font-weight:700;margin-bottom:8px}
.ac-pk .g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.ac-pk .g span{font-size:12px;text-align:center;padding:6px 0;border-radius:7px;color:#334155}
.ac-pk .g .wd{font-size:10.5px;color:#94a3b8;font-weight:600}
.ac-pk .g [data-d]{cursor:pointer}
.ac-pk .g [data-d]:hover{background:#eef2ff}
.ac-pk .g .r{background:#e8edff;color:#3730a3}
.ac-pk .g .e{background:#4f46e5!important;color:#fff;font-weight:700}
.ac-pk .ht{margin-top:10px;font-size:12px;color:#596779}
.ac-coach{position:absolute;right:96px;top:calc(100% + 12px);background:#4f46e5;color:#fff;font-size:13px;font-weight:650;padding:9px 13px;border-radius:10px;box-shadow:0 12px 24px -10px rgba(79,70,229,.7);pointer-events:none;animation:acC 2.4s ease-in-out infinite}
.ac-coach::before{content:"";position:absolute;top:-5px;right:44px;width:10px;height:10px;background:#4f46e5;transform:rotate(45deg)}
@keyframes acC{0%,100%{transform:translateY(0)}50%{transform:translateY(4px)}}
.mk{outline:2px solid;outline-offset:5px;border-radius:3px}
.mk::after{content:attr(data-mk);position:absolute;top:50%;transform:translateY(-50%);white-space:nowrap;font-size:12px;font-weight:700;color:#fff;padding:4px 9px;border-radius:7px}
.mk.r::after{left:calc(100% + 14px)}
.mk.l::after{right:calc(100% + 14px)}
.mk.bad{outline-color:#dc2626}.mk.bad::after{background:#dc2626}
.mk.ok{outline-color:#16a34a}.mk.ok::after{background:#16a34a}
/* ----  hero: the QA report  */
.qr{max-width:1300px;margin:60px auto 0;text-align:left}
.qr-b{background:#fff;color:#0f172a}
.qr-h{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px;border-bottom:1px solid #e6e8ec;flex-wrap:wrap}
.qr-h small{font-size:12.5px;color:#57606a}
.qr-h h4{margin-top:3px;font-size:18px;font-weight:600;letter-spacing:-.01em}
.qr-st{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#94a3b8}
.qr-st>span{display:flex;gap:7px;align-items:center;transition:color .3s}
.qr-st>span i{width:20px;height:20px;border-radius:50%;border:1.5px solid #d0d7de;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800;transition:all .3s}
.qr-st>em{width:26px;height:1.5px;background:#d0d7de}
.qr-st .d{color:#1a7f37}.qr-st .d i{background:#1a7f37;border-color:#1a7f37;color:#fff}
.qr-st .c{color:#0f172a}.qr-st .c i{border-color:#4f46e5;box-shadow:0 0 0 4px rgba(79,70,229,.14)}
.qr-g{display:grid;grid-template-columns:400px minmax(0,1fr)}
.qr-l{border-right:1px solid #e6e8ec;padding:16px;display:flex;flex-direction:column;gap:6px}
.qr-who{display:flex;gap:10px;align-items:center;padding:2px 6px 10px;font-size:14px}
.qr-who .av{width:26px;height:26px;border-radius:50%;background:#4f46e5;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.qr-v{margin-left:auto;font-size:13px;font-weight:650;color:#57606a;display:flex;gap:6px;align-items:center;transition:color .3s}
.qr-v.ok{color:#1a7f37}
.qr-row{all:unset;box-sizing:border-box;width:100%;display:grid;grid-template-columns:22px minmax(0,1fr) 84px;gap:12px;align-items:center;padding:11px 10px;border-radius:12px;border:1px solid transparent;cursor:default;transition:background .25s,border-color .25s,opacity .3s;opacity:.45}
.qr-row.run,.qr-row.ok{opacity:1}
.qr-row.ok{cursor:pointer}
.qr-row.ok:hover{background:#f6f8fa}
.qr-row.sel{background:#f3f5ff;border-color:#c7cffc}
.qr-row .st{width:20px;height:20px;border-radius:50%;border:1.5px solid #d0d7de;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800}
.qr-row.run .st{border-color:#4f46e5;border-top-color:transparent;animation:uSp .8s linear infinite}
.qr-row.ok .st{background:#1a7f37;border-color:#1a7f37}
.qr-row b{display:block;font-size:14px;font-weight:600;line-height:1.35}
.qr-row small{display:block;margin-top:3px;font-size:12.5px;color:#57606a;line-height:1.4}
.qr-row .th{border-radius:6px;border:1px solid #e2e8f0;opacity:0;transform:scale(.9);transition:all .4s var(--ease)}
.qr-row.ok .th{opacity:1;transform:none}
.qr-nx{margin-top:auto;padding:12px 10px 2px;font-size:13px;line-height:1.5;color:#57606a;opacity:0;transition:opacity .5s}
.qr-nx.on{opacity:1}
.qr-nx b{color:#0f172a;font-weight:600}
.qr-r{padding:16px 18px 18px;background:#f6f8fa;display:flex;flex-direction:column;gap:10px;min-width:0}
.qr-vh{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12.5px;color:#57606a}
.qr-vh b{color:#0f172a;font-weight:600;display:flex;gap:7px;align-items:center}
.qr-vh .u{font:500 11.5px ui-monospace,monospace;background:#fff;border:1px solid #e2e8f0;border-radius:7px;padding:4px 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
.qr-sw{position:relative;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #d8dde5,0 24px 50px -30px rgba(15,23,42,.45)}
.qr-sw .fl{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}
.qr-sw .fl.go{animation:qrF .6s ease}
@keyframes qrF{0%{opacity:.75}100%{opacity:0}}
.qr-cap{font-size:14px;color:#334155;line-height:1.5}
.spn{width:12px;height:12px;border-radius:50%;border:2px solid #c7cffc;border-top-color:#4f46e5;animation:uSp .8s linear infinite;display:inline-block}
/* ----  find the bug  */
.bh{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;margin-top:16px;align-items:start}
.bh-l{display:flex;flex-direction:column;gap:14px;min-width:0}
.bh-sw{display:flex;gap:4px;background:rgba(255,255,255,.04);border:1px solid var(--line2);border-radius:12px;padding:4px;width:max-content;margin-top:44px}
.bh-sw button{all:unset;cursor:pointer;font-size:14px;font-weight:600;color:var(--ink2);padding:10px 16px;border-radius:9px;transition:all .2s}
.bh-sw button.on{background:#fff;color:#0a0b0d}
.bh-r{background:#fff;color:#0f172a;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}
.bh-h{display:flex;gap:10px;align-items:center;padding:16px 18px;border-bottom:1px solid #eef1f5}
.bh-h .av{width:26px;height:26px;border-radius:50%;background:#4f46e5;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700}
.bh-h b{font-size:14.5px}
.bh-h small{margin-left:auto;font-size:12.5px;color:#57606a}
.bh-rows{padding:8px 10px;display:grid;gap:2px}
.bh-row{display:grid;grid-template-columns:22px 1fr;gap:10px;padding:10px 8px;border-radius:10px;align-items:start;transition:background .3s}
.bh-row .st{width:20px;height:20px;border-radius:50%;border:1.5px dashed #cbd5e1;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800;margin-top:1px}
.bh-row.ok .st{background:#1a7f37;border:0}
.bh-row.no .st{background:#dc2626;border:0}
.bh-row.no{background:#fff5f5}
.bh-row b{font-size:14px;font-weight:600}
.bh-row dl{margin-top:4px;display:grid;grid-template-columns:52px 1fr;gap:2px 8px;font-size:12.8px}
.bh-row dt{color:#8a96a8}
.bh-row dd{color:#334155}
.bh-row dd.x{color:#dc2626;font-weight:650}
.bh-row .pd{margin-top:3px;font-size:12.8px;color:#94a3b8}
.bh-res{margin-top:auto;border-top:1px solid #eef1f5;padding:14px 18px 16px;font-size:13.5px;line-height:1.5;color:#475569}
.bh-res b{color:#0f172a}
.bh-res.no{background:#fff8f8}.bh-res.no b{color:#b91c1c}
.bh-res.ok{background:#f4fbf6}.bh-res.ok b{color:#15803d}
.bh-res .th{margin-top:10px;border-radius:8px;box-shadow:0 0 0 1px #fecaca}
/* ----  no interface  */
.nu{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:18px;margin-top:48px;align-items:stretch}
.nr{background:#fff;color:#0f172a;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.nr-h{padding:16px 18px;border-bottom:1px solid #eef1f5;display:flex;gap:10px;align-items:center}
.nr-h .av{width:26px;height:26px;border-radius:50%;background:#4f46e5;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.nr-h b{font-size:14.5px;display:block}
.nr-h small{font-size:12.5px;color:#57606a}
.nr-h .v{margin-left:auto;color:#1a7f37;font-weight:650;font-size:13px}
.nr-g{padding:8px 10px 4px}
.nr-g h6{font-size:12px;font-weight:600;color:#57606a;padding:6px 10px}
.nr-row{all:unset;box-sizing:border-box;cursor:pointer;display:grid;grid-template-columns:20px 1fr 16px;gap:10px;align-items:center;width:100%;padding:9px 10px;border-radius:10px;font-size:13.8px;transition:background .2s}
.nr-row:hover{background:#f6f8fa}
.nr-row.on{background:#f3f5ff;box-shadow:inset 0 0 0 1px #c7cffc}
.nr-row i{width:18px;height:18px;border-radius:50%;background:#1a7f37;color:#fff;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:800}
.nr-row svg{width:14px;height:14px;color:#94a3b8}
.nr-row.on svg{color:#4f46e5}
.nr-n{margin-top:auto;border-top:1px solid #eef1f5;padding:12px 18px 16px;display:grid;gap:8px;font-size:12.8px;color:#475569;line-height:1.5;background:#fafbfc}
.nr-n b{color:#0f172a;font-weight:600}
.nr-n code{font:500 12px ui-monospace,monospace;background:#eef1f5;padding:1px 5px;border-radius:5px}
.tmw{display:flex;flex-direction:column}
.tmw .tm-b{flex:1;background:#fbfbfc;padding:20px 22px;font:500 13px/1.8 ui-monospace,"SF Mono",Menlo,monospace;color:#1f2328;white-space:pre-wrap;word-break:break-word;min-height:380px}
.tm-b>div{animation:uIn .3s var(--ease)}
.tm-b .p{color:#8250df}.tm-b .c{color:#8c959f}.tm-b .ok{color:#1a7f37;font-weight:600}.tm-b .er{color:#cf222e}.tm-b .wa{color:#9a6700}
.tm-b .ttl{display:block;font-family:"Plus Jakarta Sans";font-size:12.5px;font-weight:600;color:#57606a;margin-bottom:10px}
@media(max-width:1060px){.qr-g,.bh,.nu{grid-template-columns:1fr}.qr-l{border-right:0;border-bottom:1px solid #e6e8ec}.qr-st em{width:12px}}

/* prefers-reduced-motion: a legible static frame — the coach bubble stops bobbing; the bars, the screenshot flash and the spinner settle. */
@media (prefers-reduced-motion:reduce){
.ac-coach,.ac.anim .br,.qr-sw .fl.go,.spn{animation:none}
}
