/* TRX 闪租速度：沿用工作台的颜色和间距，不另起一套样式 */
.flash-speed{font-variant-numeric:tabular-nums}
.flash-speed .fs-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
.flash-speed .fs-head h2{margin-bottom:4px}
.flash-speed .fs-range{display:flex;flex-wrap:wrap;gap:6px}
.flash-speed .fs-range button{min-height:36px;padding:0 12px;border:1px solid var(--border);border-radius:var(--radius-control);background:var(--surface);color:var(--text);cursor:pointer}
.flash-speed .fs-range button.active{border-color:var(--accent);color:var(--accent);background:var(--raised);font-weight:600}
.flash-speed .fs-range .fs-refresh{margin-left:6px}
.flash-speed .fs-dates{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin-top:16px}
.flash-speed .fs-block{border-top:1px solid var(--border);margin-top:28px;padding-top:22px}
.flash-speed h3{font-size:17px;margin:0 0 14px;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.flash-speed h3 small{font-size:13px;font-weight:400;color:var(--muted)}
.flash-speed h4{font-size:15px;margin:0 0 8px}
.flash-speed .fs-note{color:var(--muted);font-size:13px;margin:10px 0}
.flash-speed .bad{color:var(--negative)}
.flash-speed .slow{color:var(--warning)}

.flash-speed .fs-figures{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:0}
.flash-speed .fs-figures>div{padding:4px 16px 4px 0;border-right:1px solid var(--rule)}
.flash-speed .fs-figures>div+div{padding-left:16px}
.flash-speed .fs-figures>div:last-child{border-right:0}
.flash-speed .fs-figures dt{font-size:13px;color:var(--muted)}
.flash-speed .fs-figures dd{margin:4px 0 0;font-size:24px;font-weight:600;line-height:1.2}
.flash-speed .fs-figures dd.fs-sub{font-size:12px;font-weight:400;color:var(--muted);margin-top:2px}

.flash-speed .fs-buckets{margin-top:18px;display:grid;gap:6px;max-width:640px}
.flash-speed .fs-bucket{display:grid;grid-template-columns:96px 1fr 40px;align-items:center;gap:10px;font-size:13px}
.flash-speed .fs-bucket span:first-child{color:var(--muted)}
.flash-speed .fs-bucket b{text-align:right;font-weight:600}
.flash-speed .fs-track{position:relative;display:block;height:10px;background:var(--rule);border-radius:3px}
.flash-speed .fs-track i{position:absolute;inset:0 auto 0 0;background:var(--accent);border-radius:3px}
.flash-speed .fs-track i.slow{background:var(--warning)}
.flash-speed .fs-track i.bad{background:var(--negative)}

.flash-speed .fs-verdict{margin:0 0 12px}
.flash-speed .fs-verdict strong{color:var(--warning)}
.flash-speed table{width:100%}
.flash-speed .fs-stages td,.flash-speed .fs-stages th{vertical-align:top}
.flash-speed .fs-stages td:nth-child(n+2):nth-child(-n+4),.flash-speed .fs-stages th:nth-child(n+2):nth-child(-n+4){text-align:right;white-space:nowrap}
.flash-speed .fs-stages td small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.flash-speed .fs-stages td small.fs-about{max-width:420px}
.flash-speed .fs-stages tr.slowest td{background:var(--raised)}
.flash-speed .fs-stages td:first-child{padding-left:14px}
.flash-speed .fs-stages tr.slowest td:first-child{box-shadow:inset 3px 0 0 var(--warning)}
.flash-speed .fs-stages tr.slowest .fs-track i{background:var(--warning)}
.flash-speed .fs-stages tr.quiet td{color:var(--muted)}
.flash-speed .fs-stages tr.quiet .fs-track i{background:var(--control)}
.flash-speed .fs-bar-col{width:28%;min-width:160px}
.flash-speed .fs-bar-col .fs-track{margin-top:6px}
.flash-speed .fs-track em{position:absolute;top:-3px;bottom:-3px;width:2px;margin-left:-1px;background:var(--text)}
.flash-speed .fs-legend{font-weight:400;font-size:12px;color:var(--muted);display:inline-flex;align-items:center;gap:6px}
.flash-speed .fs-legend i{display:inline-block;width:14px;height:8px;background:var(--accent);border-radius:2px}
.flash-speed .fs-legend i.p90{width:2px;height:12px;background:var(--text);margin-left:6px}

.flash-speed .fs-loops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.flash-speed .fs-loop h4 small{font-weight:400;font-size:12px;color:var(--muted);margin-left:8px}
.flash-speed .fs-loop{border:1px solid var(--border);border-radius:var(--radius-card);padding:14px 16px;background:var(--surface)}
.flash-speed .fs-loop.bad{border-color:var(--negative);color:var(--text)}
.flash-speed .fs-loop p{margin:4px 0;font-size:14px;overflow-wrap:anywhere}
.flash-speed .fs-loop b{color:var(--negative)}

.flash-speed .fs-open{list-style:none;margin:0;padding:0}
.flash-speed .fs-open li{display:flex;gap:16px;align-items:baseline;padding:8px 0;border-bottom:1px solid var(--rule)}
.flash-speed .fs-open li span{color:var(--muted);flex:1}

.flash-speed .fs-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}
.flash-speed .fs-search .field{margin:0}
.flash-speed .fs-search-actions{display:flex;gap:8px}
.flash-speed .fs-count{color:var(--muted);font-size:13px;margin:14px 0 6px}
.flash-speed .fs-orders tbody tr:not(.fs-detail-row){cursor:pointer}
.flash-speed .fs-orders tbody tr:not(.fs-detail-row):hover td,.flash-speed .fs-orders tr.opened td{background:var(--raised)}
.flash-speed .fs-orders tbody tr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.flash-speed .fs-orders td{white-space:nowrap}
.flash-speed .fs-state{font-size:13px;padding:2px 8px;border-radius:4px;background:var(--active);color:var(--muted)}
.flash-speed .fs-state.complete{color:var(--positive)}
.flash-speed .fs-state.uncertain,.flash-speed .fs-state.failed{color:var(--negative)}
.flash-speed .fs-state.queued,.flash-speed .fs-state.sending,.flash-speed .fs-state.confirming{color:var(--warning)}
.flash-speed .fs-detail-row>td{background:var(--raised);white-space:normal;padding:0}
.flash-speed .fs-detail,.flash-speed .fs-detail *{text-align:left}
.flash-speed .fs-detail{padding:16px 18px 20px;display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,1.4fr);gap:8px 32px}
.flash-speed .fs-detail>p,.flash-speed .fs-detail>.fs-note,.flash-speed .fs-detail>.action-pair{grid-column:1/-1}
.flash-speed .fs-timeline{list-style:none;margin:0;padding:0}
.flash-speed .fs-timeline li{position:relative;padding:0 0 14px 22px}
.flash-speed .fs-timeline li::before{content:'';position:absolute;left:5px;top:12px;bottom:-2px;width:2px;background:var(--border)}
.flash-speed .fs-timeline li:last-child::before{display:none}
.flash-speed .fs-dot{position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;background:var(--accent)}
.flash-speed .fs-timeline li.missing .fs-dot{background:var(--surface);border:2px solid var(--control)}
.flash-speed .fs-timeline li.missing b{color:var(--muted);font-weight:500}
.flash-speed .fs-timeline time{display:block;font-size:13px;color:var(--muted)}
.flash-speed .fs-gap{display:inline-block;margin-top:4px;font-size:12px;color:var(--muted);order:-1}
.flash-speed .fs-gap.slowest{color:var(--warning);font-weight:600}
.flash-speed .fs-facts{margin:0;display:grid;gap:8px;align-content:start}
.flash-speed .fs-facts div{display:grid;grid-template-columns:110px 1fr;gap:8px}
.flash-speed .fs-facts dt{color:var(--muted);font-size:13px}
.flash-speed .fs-facts dd{margin:0;overflow-wrap:anywhere}
.flash-speed .fs-facts a{color:var(--accent)}
.flash-speed .fs-pages{display:flex;gap:8px;margin-top:14px}

@media (max-width:900px){
 .flash-speed .fs-figures{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}
 .flash-speed .fs-figures>div,.flash-speed .fs-figures>div+div{border-right:0;padding:0}
 .flash-speed .fs-loops{grid-template-columns:1fr}
 .flash-speed .fs-search{grid-template-columns:1fr 1fr}
 .flash-speed .fs-search .fs-q{grid-column:1/-1}
 .flash-speed .fs-detail{grid-template-columns:1fr}
}
@media (max-width:640px){
 .flash-speed .fs-range{width:100%}
 .flash-speed .fs-range .fs-refresh{margin-left:0}
 .flash-speed table thead{display:none}
 .flash-speed table,.flash-speed tbody,.flash-speed tr,.flash-speed td{display:block;width:100%}
 .flash-speed tbody tr{border-bottom:1px solid var(--border);padding:8px 0}
 .flash-speed td{border:0;padding:4px 0;text-align:left!important;white-space:normal!important}
 .flash-speed td[data-label]::before{content:attr(data-label);display:block;color:var(--muted);font-size:12px}
 .flash-speed .fs-bar-col{width:100%;min-width:0}
 .flash-speed .fs-search{grid-template-columns:1fr}
 .flash-speed .fs-facts div{grid-template-columns:1fr;gap:2px}
 .flash-speed .fs-bucket{grid-template-columns:84px 1fr 32px}
}

/* 闪租页下方的收款入账 */
.fs-ledger{border-top:1px solid var(--border);margin-top:36px;padding-top:24px}
.fs-ledger h3{font-size:17px;margin:20px 0 10px}
.fs-ledger details.fs-payments{margin-top:16px}
.fs-ledger details.fs-payments>summary{cursor:pointer;font-size:17px;font-weight:600;padding:6px 0}
