#open-yards{position:absolute;z-index:9;left:310px;top:64px;background:#102037e8;border:1px solid #68829d;border-radius:7px;padding:10px 14px;color:#fff}#yard-dialog{width:min(1100px,96vw);max-width:96vw;max-height:92dvh;overflow:auto;padding:20px;color:#e4edf6}#yard-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}#yard-dialog h2{margin:0 0 12px}#yard-dialog h3{font-size:16px;margin:18px 0 9px}.yard-filters,.yard-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.yard-filters label{flex:1;min-width:125px}.yard-filters input,.yard-filters select,.yard-actions select{width:100%;padding:8px;border:1px solid #68829d;background:#142940;color:#fff;border-radius:5px}.yard-actions label{flex:1;min-width:180px}#yard-dialog table{border-collapse:collapse;width:100%;font-size:12px}#yard-dialog th,#yard-dialog td{padding:8px;text-align:left;border-bottom:1px solid #7291ad40;overflow-wrap:anywhere}#yard-dialog th{color:#a8c5df}.yard-scroll{overflow:auto;max-height:340px}#yard-details{border-top:1px solid #68829d;margin-top:16px;padding-top:14px}.yard-facts{display:grid;grid-template-columns:160px 1fr;gap:8px;font-size:13px}.yard-facts dt{color:#a8c5df}.yard-facts dd{margin:0;overflow-wrap:anywhere}#yard-feedback{position:sticky;bottom:0;background:#102037;padding:10px;color:#ffd56f;min-height:30px}#yard-history{padding-left:20px;font-size:12px;max-height:300px;overflow:auto}#yard-history li{margin:10px 0}#yard-dialog details{margin:15px 0}#yard-dialog summary{cursor:pointer;font-weight:bold}#yard-dialog .subtle{color:#acc1d2;line-height:1.5}#yard-rows [aria-pressed=true]{background:#b3d3ef;color:#102037}@media(max-width:760px){#open-yards{top:110px;left:60px;padding:7px 10px}.yard-facts{grid-template-columns:115px 1fr}#yard-dialog{padding:12px}.yard-filters label{min-width:100px}}

.reroute-choice{display:grid;gap:8px;font-weight:600}.reroute-choice select{width:100%;padding:12px;border:1px solid #8bb7d8;border-radius:7px;background:#142940;color:#fff;font-size:15px}#reroute-preview{line-height:1.65;padding:12px;border-left:3px solid #8bb7d8;background:#c4e4ff0b;border-radius:4px;font-size:13px}#reroute-start{min-height:44px}#yard-dialog.reroute-focused{width:min(640px,96vw)}#yard-dialog.reroute-focused>:not(header):not(#yard-details):not(#yard-feedback){display:none}#yard-dialog.reroute-focused #yard-details>:not(header):not(#yard-reroute){display:none}#yard-dialog.reroute-focused #yard-details{margin-top:0;padding-top:0;border-top:0}#yard-dialog.reroute-focused #yard-reroute>h3{display:none}

#yard-dialog input[type=checkbox]{width:18px;height:18px;display:inline-block;flex:none;vertical-align:middle;margin-right:8px}
