.sequence-panel{padding:8px 16px 16px;min-width:0}
.sequence-summary{display:flex;align-items:center;justify-content:center;gap:14px;white-space:nowrap;overflow-x:auto;font-size:12px;color:#526475;padding:6px 0;min-width:0}
.sequence-summary span{flex-shrink:0}
.sequence-summary b{color:#176b87;font-size:14px}
.sequence-matrices{display:block;margin:10px auto 0;width:100%;max-width:360px;aspect-ratio:1;min-width:0}
.sequence-matrices section{min-width:0;height:100%}
.sequence-matrices section[hidden]{display:none}
.sequence-switch{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:6px}
.sequence-switch button{width:28px;height:28px;flex-shrink:0;padding:0;border:1px solid #d5e2e9;border-radius:4px;background:#fff;color:#176b87;font-size:18px;cursor:pointer}
.sequence-switch button:hover{background:#eef6fa}
.sequence-switch button:focus-visible{outline:2px solid #176b87;outline-offset:2px}
.sequence-view-title{width:100px;text-align:center;font-size:12px;font-weight:600;color:#193648}
.sequence-matrices h5{font-size:12px;font-weight:600;margin:0 0 8px;color:#193648}
.sequence-matrix-scroll{overflow:auto;height:100%}
table.sequence-matrix{border-collapse:collapse;table-layout:fixed;width:100%;height:100%;min-width:200px;font-size:12px;margin:0}
.sequence-matrix th,.sequence-matrix td{height:32px;min-width:36px;padding:5px;text-align:center;border:1px solid #d5e2e9!important;color:#193648;background:#eef6fa;white-space:nowrap}
.sequence-matrix th{background:#eaf1f6;font-weight:600}
.sequence-matrices section:nth-child(2) .sequence-matrix td{background:#eef6fa}
.sequence-matrix .sequence-path{box-shadow:inset 0 0 0 2px #27846f}
.sequence-matrix .sequence-final{box-shadow:inset 0 0 0 3px #d64545;font-weight:700}
.sequence-legend{display:flex;gap:5px;flex-wrap:wrap;align-items:center;font-size:11px;color:#526475;margin:10px auto 0;max-width:360px}
.sequence-legend i{display:inline-block;width:10px;height:10px;border:2px solid #27846f}
.sequence-legend i:nth-of-type(2){border-color:#d64545}
.sequence-legend span{margin-left:auto}
.sequence-cost-legend{font-size:0}
.sequence-cost-legend i{display:none}
.sequence-cost-legend span{font-size:11px}
.sequence-source{font-size:11px;color:#526475;margin:8px 0 0}
.sequence-empty{padding:32px 0;color:#526475;font-size:13px}
@media(max-width:540px){.sequence-panel{padding:8px}.sequence-summary{font-size:11px;gap:10px;justify-content:flex-start}}
