.trajectory-matrix{margin:0;padding:0;min-width:0;color:#304560;font-size:13px}.trajectory-matrix-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 12px;flex-wrap:wrap}.trajectory-matrix-toolbar>div:first-child{display:flex;align-items:baseline;gap:14px;min-width:0}.trajectory-matrix-toolbar b{font-size:15px;color:#30496c}.trajectory-matrix-toolbar small{color:#657894;font-size:12px}.trajectory-matrix-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.trajectory-matrix-tools>.input{width:124px;min-width:0;padding:6px 10px;height:32px}.trajectory-matrix-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;color:#60718d;font-size:12px;flex-wrap:wrap}.trajectory-matrix-summary b,.trajectory-matrix-summary strong{color:#386bd0;font-weight:600}.trajectory-matrix-summary b{margin:0 3px;font-variant-numeric:tabular-nums}.trajectory-matrix-scroll{max-height:min(60vh,650px);overflow:auto;border-bottom:1px solid #e7edf6;scrollbar-color:#bac8de #f5f7fb;scrollbar-width:thin}.trajectory-matrix-table{width:100%;min-width:900px;table-layout:fixed;border-collapse:separate;border-spacing:0;white-space:normal}.trajectory-matrix-table.extended{min-width:1160px}.trajectory-matrix-table .matrix-time-col{width:110px}.trajectory-matrix-table .matrix-task-col{width:280px}.trajectory-matrix-table th{position:sticky;top:0;z-index:2;height:48px;padding:0 8px;text-align:center;vertical-align:middle!important;background:#f1f5fc;color:#304b73;border-top:1px solid #e5ecf6;border-bottom:1px solid #e5ecf6;font-size:12px;font-weight:600}.trajectory-matrix-table th.matrix-phase-heading{padding:0 0 0 2px;background:#fff}.trajectory-matrix-table .matrix-phase-heading>span{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 14px 0 9px;background:#eaf1fd;clip-path:polygon(0 0,calc(100% - 15px) 0,100% 50%,calc(100% - 15px) 100%,0 100%,12px 50%)}.trajectory-matrix-table .matrix-phase-heading.current>span{background:#dce8ff;color:#285dc4}.trajectory-matrix-table td{height:68px;padding:10px 12px;border-bottom:1px solid #e8edf5;vertical-align:middle;color:#405777;font-size:12px;background:#fff}.trajectory-matrix-table tr:hover td{background:#fbfcff}.trajectory-matrix-table .matrix-time{text-align:center;border-right:1px solid #edf1f7;font-variant-numeric:tabular-nums;white-space:nowrap}.matrix-time time,.matrix-time small{display:block;font-size:12px;line-height:20px;color:#60718c}.trajectory-matrix-table .matrix-task{position:relative;padding:10px 51px 10px 15px;border-right:1px solid #edf1f7}.matrix-task>div{display:flex;align-items:center;gap:7px;min-width:0}.matrix-task strong{font-size:13px;font-weight:600;color:#304766;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.matrix-task-state{white-space:nowrap;font-size:10px;line-height:18px;padding:0 4px;border-radius:3px;color:#64758d;background:#f2f5fa}.matrix-task-state.pending{color:#386bd0;background:#edf3ff}.matrix-task-state.cancelled{color:#947528;background:#fff6df}.matrix-task p{margin:5px 0 0;color:#687a95;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.matrix-record-link{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px}.trajectory-matrix-table .matrix-phase-lane{padding:0}.trajectory-lane-grid{display:grid;grid-template-columns:repeat(var(--trajectory-columns),minmax(0,1fr));position:relative;height:68px;min-width:0}.trajectory-lane-guides{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--trajectory-columns),minmax(0,1fr));pointer-events:none}.trajectory-lane-guides>span{border-right:1px dashed #e8edf6}.trajectory-lane-guides>span:last-child{border-right:0}.trajectory-advance{position:relative;grid-row:1;height:68px}.matrix-stage-arrow{position:absolute;left:var(--lane-inset);right:var(--lane-inset);top:43px;height:2px;background:#477df2}.matrix-arrow-caption{position:absolute;left:-45px;right:-45px;bottom:10px;text-align:center;color:#3b639d;white-space:nowrap;font-size:11px;line-height:16px}.matrix-from-dot{position:absolute;left:-4px;top:-3px;width:8px;height:8px;background:#477df2;border:1px solid #fff;border-radius:50%}.matrix-arrow-tip{position:absolute;right:0;top:-3px;width:8px;height:8px;border-top:2px solid #477df2;border-right:2px solid #477df2;transform:rotate(45deg)}.trajectory-stay{grid-row:1;display:flex;align-items:center;justify-content:center;min-width:0;height:68px}.trajectory-stay>span{border:1px solid #6d95ef;border-radius:14px;padding:3px 12px;font-size:11px;line-height:17px;color:#386bc5;white-space:nowrap;background:#fff}.trajectory-stay.pending>span{border:1px dashed #8796ac;color:#60718d;background:#fff}.trajectory-stay.cancelled>span{border-color:#c6b57d;color:#947528}.trajectory-station{grid-row:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#55729f;font-size:11px}.trajectory-station>i{width:8px;height:8px;background:#668aD1;border-radius:50%}.trajectory-matrix-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;flex-wrap:wrap}.trajectory-matrix-legend{display:flex;align-items:center;gap:16px;font-size:11px;color:#60718d}.trajectory-matrix-legend>span{display:flex;align-items:center;gap:6px}.legend-advance{width:28px;height:2px;background:#477df2;position:relative}.legend-advance:after{content:'';position:absolute;right:0;top:-3px;width:7px;height:7px;border-top:2px solid #477df2;border-right:2px solid #477df2;transform:rotate(45deg)}.legend-stay,.legend-pending{width:23px;height:13px;border:1px solid #6d95ef;border-radius:8px}.legend-pending{border:1px dashed #8796ac}.trajectory-matrix-pager{display:flex;align-items:center;gap:8px;color:#60718d;font-size:11px;font-variant-numeric:tabular-nums}.trajectory-matrix-pager>.input{width:82px;min-width:0;font-size:11px;padding:4px 6px;height:28px}.trajectory-matrix-pager .btn{min-width:29px;height:28px;padding:2px 7px;font-size:18px}.trajectory-matrix-hint{margin:8px 0 0;line-height:19px;font-size:11px;color:#687a95}.trajectory-record-full{margin:0;white-space:pre-wrap;line-height:1.8;color:#304560}.trajectory-matrix :is(button,select):focus-visible,.trajectory-matrix-scroll:focus-visible{outline:2px solid #527cef;outline-offset:2px}.channel-stage-trajectory .trajectory-matrix-table{min-width:840px}.channel-stage-trajectory .matrix-task-col{width:240px}.channel-stage-trajectory .matrix-time-col{width:105px}@media(max-width:700px){.trajectory-matrix-toolbar{align-items:flex-start}.trajectory-matrix-toolbar>div:first-child{flex-direction:column;gap:5px}.trajectory-matrix-tools{gap:6px}.trajectory-matrix-tools>.input{width:112px}.trajectory-matrix-scroll{max-height:60vh}.trajectory-matrix-pager{flex-wrap:wrap}.trajectory-matrix-bottom{gap:10px}}
