/* GPS387 Route Planning Workspace v0.9.2D — existing Dispatch job-linked UI. */
.route-workspace{display:grid;gap:16px;max-width:1420px;margin:auto;padding:12px 0 30px;color:var(--ink2)}
.route-workspace-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:21px 23px;border:1px solid var(--border);border-radius:12px;background:var(--paper)}
.route-workspace-head h2{font-size:22px;line-height:1.3;color:var(--ink);margin:7px 0 8px;font-weight:700;letter-spacing:-.4px}
.route-workspace-head p{max-width:740px;font-size:12px;line-height:1.75;color:var(--muted);margin:0}
.route-workspace-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.route-workspace-actions .fleet-button{display:inline-flex;gap:7px;align-items:center}
.route-workspace-actions svg{width:15px;height:15px}
.route-hub-filters{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap;padding:15px 18px;border:1px solid var(--border);border-radius:11px;background:var(--paper)}
.route-hub-search{display:flex;gap:8px;align-items:center;min-width:min(340px,100%);border:1px solid var(--border);border-radius:7px;padding:9px 12px;background:var(--paper-soft)}
.route-hub-search svg{width:16px;height:16px;flex:none;color:var(--muted)}
.route-hub-search input{border:0;outline:none;background:transparent;color:var(--ink);font-size:12px;width:100%;min-width:0}
.route-hub-tabs{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.route-hub-tabs button{border:1px solid transparent;background:transparent;color:var(--muted);border-radius:7px;cursor:pointer;font-size:11px;font-weight:600;padding:9px 12px}
.route-hub-tabs button.selected{background:var(--primary-light);color:var(--primary);border-color:var(--primary)}
.route-hub-meta{margin:0 0 -5px 3px;color:var(--muted);font-size:11px}
.route-hub-list{display:grid;gap:10px}
.route-hub-job{display:flex;gap:20px;align-items:center;justify-content:space-between;border:1px solid var(--border);border-radius:11px;background:var(--paper);padding:17px 20px}
.route-hub-job:hover{border-color:var(--primary);box-shadow:0 4px 20px #092b5810}
.route-hub-job-main{min-width:0;flex:1}
.route-hub-job-top{display:flex;flex-wrap:wrap;gap:11px;align-items:center}
.route-hub-ref{font-size:10px;letter-spacing:.3px;color:var(--primary);font-weight:700}
.route-hub-state{font-size:10px;color:var(--muted);background:var(--paper-soft);border:1px solid var(--border);border-radius:100px;padding:3px 9px}
.route-hub-state.state-in_progress,.route-hub-state.state-accepted{color:#087659;background:#e1f6ed}
.route-hub-job h3{font-size:14px;line-height:1.4;color:var(--ink);font-weight:680;overflow-wrap:anywhere;margin:9px 0}
.route-hub-details{display:flex;flex-wrap:wrap;gap:11px 18px;color:var(--muted);font-size:11px}
.route-hub-details span{display:flex;align-items:center;gap:6px}
.route-hub-details svg{width:13px;height:13px;flex:none}
.route-hub-open{display:flex;gap:9px;align-items:center;justify-content:center;flex:none;white-space:nowrap}
.route-hub-open svg{width:15px;height:15px}
.route-hub-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:55px 20px;border:1px dashed var(--border);border-radius:12px;background:var(--paper)}
.route-hub-empty>svg{width:35px;height:35px;color:var(--primary)}
.route-hub-empty strong{font-size:14px;color:var(--ink)}
.route-hub-empty p{font-size:12px;max-width:400px;color:var(--muted);line-height:1.7;margin:0}
.route-hub-notice{display:flex;align-items:flex-start;gap:11px;padding:14px 17px;border:1px solid var(--border);border-radius:9px;background:var(--paper-soft);color:var(--muted);font-size:11px;line-height:1.7}
.route-hub-notice>svg{width:17px;height:17px;color:var(--primary);flex:none}
.route-workspace-tool{border:1px solid var(--border);border-radius:11px;background:var(--paper);overflow:hidden}
.route-workspace-tool>summary{cursor:pointer;padding:16px 19px;color:var(--ink);font-weight:700;font-size:12px;display:flex;align-items:center;gap:10px;list-style:none}
.route-workspace-tool>summary::-webkit-details-marker{display:none}
.route-workspace-tool>summary:after{content:'⌄';margin-left:auto;color:var(--muted);font-size:16px}
.route-workspace-tool[open]>summary:after{content:'⌃'}
.route-workspace-tool>summary svg{width:16px;height:16px;color:var(--primary)}
.route-workspace-tool .route-opt{margin:0 13px 13px;border-color:var(--border)}
@media(max-width:850px){.route-workspace-head{flex-direction:column}.route-hub-job{align-items:stretch;flex-direction:column}.route-hub-open{width:100%}}
@media(max-width:520px){.route-workspace-head{padding:16px}.route-hub-filters{padding:12px}.route-hub-search{width:100%}.route-hub-job{padding:14px}}

/* v0.9.6A — Workflow-first route planning: two areas, one focused tool. */
.route-v096{max-width:1680px;gap:22px;padding:14px 2px 54px}
.route-v096 .route-workspace-head{padding:30px 34px;gap:26px;border-radius:16px}
.route-v096 .route-workspace-head h2{font-size:28px;font-weight:750;margin:8px 0 10px;letter-spacing:-.65px}
.route-v096 .route-workspace-head p{font-size:14px;line-height:1.65;max-width:780px}
.route-v096-grid{display:grid;grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:22px;align-items:start;min-width:0}
.route-v096-list{border:1px solid var(--border);border-radius:16px;background:var(--paper);overflow:hidden;min-width:0;position:sticky;top:10px}
.route-v096-list-head{padding:22px 22px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.route-v096-list-head h3{font-size:17px;color:var(--ink);margin:0}
.route-v096-list-head #routeHubMeta{font-size:12px;margin:0}
.route-v096 .route-hub-search{margin:0 20px 12px;padding:13px;background:var(--paper-soft);width:auto;min-width:0}
.route-v096 .route-hub-search input{font-size:14px}
.route-v096 .route-hub-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;border-bottom:1px solid var(--border);padding:0 12px 14px}
.route-v096 .route-hub-tabs button{padding:10px 4px;font-size:12px;white-space:nowrap}
.route-v096 .route-hub-list{max-height:min(62vh,690px);min-height:200px;overflow:auto;gap:0}
.route-v096 .route-hub-job{padding:0;border:0;border-radius:0;border-bottom:1px solid var(--border);background:transparent;gap:5px;display:flex;flex-direction:column;align-items:stretch}
.route-v096 .route-hub-job:hover{box-shadow:none;background:var(--paper-soft);border-color:var(--border)}
.route-v096 .route-hub-job.selected{background:var(--primary-light);box-shadow:inset 4px 0 0 var(--primary)}
.route-v096-job-select{display:grid;text-align:left;gap:11px;padding:18px 21px 9px;width:100%;border:0;background:transparent;color:var(--ink);cursor:pointer}
.route-v096-job-select strong{font-size:15px;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.route-v096-job-meta{display:flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);line-height:1.35}
.route-v096-job-meta svg{height:15px;width:15px;color:var(--primary)}
.route-v096 .route-hub-ref{font-size:12px}
.route-v096 .route-hub-state{font-size:12px;padding:5px 10px}
.route-v096 .route-hub-open{margin:0 20px 15px;justify-content:center;padding:10px;min-height:38px}
.route-v096-main{display:grid;gap:20px;min-width:0}
.route-v096-context,.route-v096-workarea{border:1px solid var(--border);border-radius:16px;background:var(--paper);min-width:0}
.route-v096-context{padding:26px 29px}
.route-v096-context-empty{display:flex;gap:18px;align-items:center;padding:24px 10px}
.route-v096-context-empty>svg{height:38px;width:38px;color:var(--primary)}
.route-v096-context-empty h3{font-size:20px;margin:0 0 8px}
.route-v096-context-empty p{font-size:14px;color:var(--muted);line-height:1.6;margin:0}
.route-v096-context-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.route-v096-context-top h3{font-size:22px;color:var(--ink);margin:7px 0 14px;line-height:1.3;letter-spacing:-.4px}
.route-v096-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:5px 0 23px}
.route-v096-facts>div{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:9px;row-gap:5px;padding:15px;border-radius:10px;background:var(--paper-soft);min-width:0}
.route-v096-facts svg{grid-row:1/3;height:17px;width:17px;color:var(--primary)}
.route-v096-facts span{color:var(--muted);font-size:12px}
.route-v096-facts strong{font-size:14px;color:var(--ink);font-weight:650;overflow-wrap:anywhere}
.route-v096-context-actions{display:flex;flex-wrap:wrap;gap:10px}
.route-v096-context-actions .fleet-button{font-size:13px;padding:11px 15px;min-height:42px}
.route-v096-context-actions svg{width:16px;height:16px}
.route-v096-workarea{overflow:hidden}
.route-v096-step-head{padding:25px 28px 12px}
.route-v096-step-head p{font-size:14px;color:var(--muted);line-height:1.5;margin:9px 0 0}
.route-v096-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 25px 21px;border-bottom:1px solid var(--border)}
.route-v096-tools button{border:1px solid var(--border);border-radius:10px;background:var(--paper-soft);color:var(--ink2);display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:9px;min-height:54px;padding:12px;cursor:pointer;font-size:13px;line-height:1.4;font-weight:650}
.route-v096-tools button svg{height:18px;width:18px;color:var(--primary);flex:none}
.route-v096-tools button[aria-pressed=true]{border-color:var(--primary);background:var(--primary-light);color:var(--primary);box-shadow:inset 0 -2px var(--primary)}
.route-v096-tools button:focus-visible,.route-v096-job-select:focus-visible{outline:3px solid var(--primary);outline-offset:1px}
.route-v096-tool-content{padding:22px 26px 27px;min-height:220px}
.route-v096-tool-content .route-opt{border:0;margin:0;padding:4px 0 0;gap:23px}
.route-v096-planner{display:flex;gap:24px;padding:18px 7px}
.route-v096-planner>svg{height:37px;width:37px;color:var(--primary);flex:none}
.route-v096-planner h3{font-size:21px;margin:0 0 12px;color:var(--ink)}
.route-v096-planner p{font-size:14px;color:var(--muted);line-height:1.8;margin:0 0 13px}
.route-v096-callout{padding:15px 17px;background:var(--paper-soft);border-left:3px solid var(--primary);border-radius:7px}
.route-v096-planner-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.route-v096-planner-actions .fleet-button{font-size:14px;min-height:44px;padding:10px 17px}
.route-v096 .route-hub-notice{font-size:13px;padding:18px 21px;line-height:1.6}
.route-v096 .route-hub-empty{border:0;border-radius:0;padding:45px 18px}
@media(max-width:1250px){.route-v096-grid{grid-template-columns:minmax(275px,320px) minmax(0,1fr);gap:14px}.route-v096-tools{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:930px){.route-v096-grid{grid-template-columns:minmax(0,1fr)}.route-v096-list{position:static}.route-v096 .route-hub-list{max-height:320px}.route-v096 .route-workspace-head{padding:23px}.route-v096-context{padding:21px}}
@media(max-width:600px){.route-v096{gap:13px}.route-v096 .route-workspace-head h2{font-size:23px}.route-v096-facts{grid-template-columns:1fr 1fr;gap:8px}.route-v096-facts>div{padding:11px}.route-v096-tools{padding:10px;gap:6px}.route-v096-tools button{font-size:12px;min-height:50px;padding:9px}.route-v096-tool-content{padding:15px}.route-v096-context{padding:16px}.route-v096-planner{gap:12px;flex-direction:column}.route-v096-context-actions .fleet-button{width:100%}}
