.yard-workspace { color:#243247; background:#f4f6f8; padding:24px; font-family:var(--font-family,Arial,sans-serif); font-size:13px; }
.yard-workspace * { box-sizing:border-box; }
.yard-shell { max-width:1640px; margin:auto; }
.yard-workspace [hidden] { display:none!important; }
.yard-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:22px; }
.yard-eyebrow { display:block; color:#64748b; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.yard-heading h1 { font-size:28px; line-height:1.2; margin:5px 0 8px; color:#182235; letter-spacing:-.6px; }
.yard-heading p { margin:0; color:#64748b; font-size:13px; }
.yard-summary { display:flex; gap:28px; padding:10px 0; }
.yard-summary span { color:#64748b; font-size:12px; }
.yard-summary strong { display:block; color:#243247; font-size:27px; font-variant-numeric:tabular-nums; line-height:1.3; }
.yard-summary span:nth-child(2) strong { color:#850b19; }
.yard-operations { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); gap:20px; align-items:start; }
.yard-panel { background:#fff; border:1px solid #dfe5ec; border-radius:10px; overflow:hidden; }
.yard-panel-heading { padding:20px; display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:1px solid #e9edf2; }
.yard-panel-heading h2 { font-size:18px; line-height:1.3; margin:5px 0 0; color:#1d2a3e; }
.yard-panel-heading>span { font-size:11px; color:#64748b; }
.yard-toolbar { display:flex; flex-wrap:wrap; gap:10px; padding:16px 20px; }
.yard-search-label { flex:1; min-width:170px; }
.yard-workspace input:not([type=checkbox]),.yard-workspace select { width:100%; border:1px solid #cbd5e1; background:#fff; border-radius:5px; padding:10px; font:inherit; color:#243247; min-height:38px; }
.yard-toolbar select { width:auto; max-width:160px; }
.yard-workspace input[type=checkbox] { accent-color:#850b19; width:16px; height:16px; cursor:pointer; }
.yard-button { border:1px solid #cbd5e1; background:#fff; color:#34445c; border-radius:5px; padding:8px 11px; font:inherit; font-size:12px; font-weight:600; cursor:pointer; transition:background .18s,border-color .18s; }
.yard-button:hover { background:#f1f4f8; border-color:#94a3b8; }
.yard-button:active { transform:translateY(1px); }
.yard-primary { background:#850b19; border-color:#850b19; color:white; }
.yard-primary:hover { background:#680915; border-color:#680915; }
.yard-button:disabled { opacity:.4; cursor:not-allowed; }
.yard-workspace :is(button,input,select,summary):focus-visible { outline:3px solid #c58b94; outline-offset:2px; }
.yard-table-scroll { overflow:auto; max-height:580px; }
.yard-table { width:100%; border-collapse:collapse; text-align:left; font-size:12px; }
.yard-table th { padding:12px; background:#f0f3f7; color:#53647b; font-size:11px; font-weight:600; white-space:nowrap; position:sticky; top:0; z-index:1; }
.yard-table td { padding:15px 12px; border-bottom:1px solid #e9edf2; vertical-align:top; }
.yard-table tbody tr:last-child td { border-bottom:0; }
.yard-row-selected { background:#fff5f6; }
.yard-unit-number { display:block; color:#182235; font-size:14px; font-family:Consolas,monospace; letter-spacing:.3px; }
.yard-container-details { margin-top:8px; display:grid; gap:5px; }
.yard-container-details span { display:flex; gap:6px; overflow-wrap:anywhere; }
.yard-container-details small { color:#748197; min-width:42px; }
.yard-location { display:inline-block; padding:5px 7px; background:#eef2f6; color:#34445c; border-radius:4px; font-family:Consolas,monospace; }
.yard-muted { display:block; color:#748197; font-size:11px; margin-top:6px; }
.yard-status { display:inline-block; background:#eef5f2; color:#316d55; padding:5px 7px; border-radius:4px; font-size:11px; }
.yard-status.is-planned { color:#850b19; background:#fff0f2; }
.yard-row-actions { display:flex; flex-wrap:wrap; gap:6px; }
.yard-empty { padding:35px 20px; text-align:center; color:#4b5a70; }
.yard-empty strong { font-size:14px; }
.yard-empty p { margin:10px auto 0; max-width:350px; line-height:1.6; font-size:12px; color:#748197; }
.yard-queue-guide { font-size:12px; line-height:1.5; color:#748197; margin:14px 20px; }
.yard-queue-item { padding:18px 20px; border-top:1px solid #e9edf2; }
.yard-queue-top { display:flex; gap:12px; align-items:center; }
.yard-order { flex-shrink:0; background:#fff0f2; color:#850b19; width:35px; height:35px; display:grid; place-items:center; border-radius:6px; font-weight:700; font-variant-numeric:tabular-nums; }
.yard-queue-top>div { min-width:0; flex:1; }
.yard-queue-top strong { font-size:14px; font-family:Consolas,monospace; }
.yard-queue-top small { display:block; font-size:11px; color:#748197; margin-top:5px; overflow-wrap:anywhere; }
.yard-queue-top time { font-size:11px; color:#526178; font-variant-numeric:tabular-nums; }
.yard-transport-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:15px 0; }
.yard-transport-details small { display:block; color:#748197; font-size:10px; margin-bottom:3px; }
.yard-transport-details span { font-size:12px; overflow-wrap:anywhere; }
.yard-queue-actions { display:flex; flex-wrap:wrap; gap:6px; }
.yard-queue-actions [data-yard-action=dispatch] { background:#850b19; color:white; border-color:#850b19; }
.yard-editor { margin:16px; padding:18px; background:#f5f7fa; border-left:3px solid #850b19; }
.yard-editor h3 { font-size:15px; margin:0 0 7px; }
.yard-editor p { color:#64748b; font-size:12px; line-height:1.5; }
.yard-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:15px 0; }
.yard-form-grid label { font-size:11px; font-weight:600; color:#53647b; }
.yard-form-grid input { display:block; margin-top:6px; }
.yard-editor-actions { display:flex; justify-content:flex-end; gap:8px; }
.yard-feedback { margin:0 0 12px; color:#316d55; min-height:0; }
.yard-feedback:empty { display:none; }
.yard-feedback.is-error { color:#850b19; }
.yard-move-banner { align-items:center; justify-content:space-between; gap:15px; padding:14px; background:#fff0f2; color:#850b19; margin-bottom:15px; border-radius:6px; }
.yard-history-panel { margin:20px 0; padding:16px 20px; background:#fff; border:1px solid #dfe5ec; border-radius:8px; }
.yard-history-panel summary { font-weight:600; cursor:pointer; }
.yard-history-row { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding:12px 0; border-bottom:1px solid #e9edf2; font-size:12px; }
.yard-map-panel { height:480px; border:1px solid #dfe5ec; background:white; border-radius:10px; overflow:hidden; }
.yard-map-section { height:100%; display:flex; flex-direction:column; }
.yard-map-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px; border-bottom:1px solid #dfe5ec; }
.yard-map-toolbar>div { display:flex; align-items:center; gap:15px; }
.yard-map-viewport { flex:1; min-height:0; display:flex; position:relative; overflow:hidden; }
.yard-workspace .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
#view-yard-control .yard-toolbar select { width:auto!important; max-width:160px!important; flex:0 0 auto; }
#view-yard-control .yard-table th { background:#f0f3f7!important; background-color:#f0f3f7!important; color:#53647b!important; }
.yard-workspace .yard-map-toolbar button { border:1px solid #cbd5e1; background:white; padding:7px 12px!important; border-radius:5px; color:#34445c; cursor:pointer; }
.yard-workspace .yard-map-toolbar button:disabled { opacity:.45; cursor:not-allowed; }
.yard-map-fallback { padding:18px 20px; overflow:auto; flex:1; }
.yard-location-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:12px; margin-top:18px; }
.yard-location-grid article { border:1px solid #e0e6ed; padding:14px; border-radius:5px; background:#f8fafc; }
.yard-location-grid strong,.yard-location-grid small { display:block; margin-top:8px; font-size:12px; overflow-wrap:anywhere; }
.yard-location-grid small { color:#748197; font-size:11px; }
@media(max-width:1150px) { .yard-operations { grid-template-columns:1fr; } .yard-heading { gap:18px; } }
@media(max-width:600px) { .yard-workspace { padding:14px; } .yard-heading { align-items:flex-start; flex-direction:column; } .yard-summary { width:100%; justify-content:space-between; gap:10px; } .yard-heading h1 { font-size:24px; } .yard-panel-heading,.yard-queue-item { padding:16px; } .yard-toolbar { padding:14px; } .yard-table { min-width:640px; } .yard-queue-top { flex-wrap:wrap; } .yard-queue-top time { margin-left:47px; } .yard-form-grid { grid-template-columns:1fr; } .yard-map-toolbar { padding:12px; } .yard-map-panel { height:400px; } }
