.handoff-trace{border:1px solid #496058;background:#111b19;border-radius:16px;padding:clamp(20px,4vw,32px);margin:36px 0}.handoff-trace h2{margin-top:0}.handoff-trace label{display:block;font-weight:650;color:#edf5f2;margin:20px 0 8px}.handoff-trace select{box-sizing:border-box;width:100%;max-width:100%;font:inherit;background:#080f11;color:#f4f6fa;padding:12px;border:1px solid #596b66;border-radius:8px}
.trace-controls{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.trace-controls button{padding:12px 16px;font:650 15px/1.3 system-ui,sans-serif;background:#8cf7cf;color:#0b1712;border:1px solid #8cf7cf;border-radius:8px;cursor:pointer}.trace-controls button:last-child{background:transparent;color:#d9eee6;border-color:#596b66}.trace-controls button:disabled{opacity:.5;cursor:default}.handoff-trace :is(select,button):focus-visible{outline:3px solid #8cf7cf;outline-offset:4px}.handoff-trace [role=status]{min-height:3.2em;color:#c7e5d9;font-size:14px}.trace-steps{padding-left:24px}.trace-steps>li{padding:12px 0 18px 6px;border-top:1px solid #344a41}.trace-steps h3{font-size:19px;margin:8px 0 10px}.trace-steps p{font-size:15px}.trace-meaning{border-left:2px solid #668f7f;padding-left:14px}.trace-steps pre{max-width:100%;box-sizing:border-box;overflow-x:auto;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.trace-steps li::marker{color:#8cf7cf;font-weight:700}
@media(max-width:560px){.trace-controls{flex-direction:column}.trace-controls button{width:100%}}
@media print{.trace-controls,.handoff-trace select,.handoff-trace>label{display:none}.handoff-trace{background:white;color:black}.trace-steps p,.trace-steps h3{color:black}}
