/* JOB MONEY / 2026-11-08. Compact workspace, no feature removal.
   Last stylesheet: intentional overrides for desktop and mobile. */
.jm-desk-grid .page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px!important}
.jm-desk-grid .page-head .eyebrow,.jm-desk-grid .page-head>div:first-child>p{display:none}
.jm-desk-grid .page-head h1{font-size:clamp(19px,1.7vw,25px)!important;line-height:1.25;margin:0}
.jm-desk-grid .page-actions{align-items:center}
.jm-desk-grid .jm-client-page-actions{align-items:center;gap:9px}
.jm-desk-grid .jm-job-picker{display:flex;align-items:center;gap:8px;min-width:0}
.jm-desk-grid .jm-job-picker>span{font-size:11px;white-space:nowrap}
.jm-desk-grid .jm-job-picker select{width:clamp(210px,25vw,365px);height:39px;max-width:none;font-size:12px;padding:7px 29px 7px 10px}
.jm-desk-grid .jm-refresh-wrap{gap:2px}
.jm-desk-grid .jm-refresh-wrap .btn{min-height:39px;height:39px;padding:7px 10px}
.jm-desk-grid #sync{font-size:9px}
.jm-desk-grid .jm-job-context{font-size:11px;line-height:1.4;margin:0 0 8px;padding:7px 11px;max-height:42px;overflow:hidden}
.jm-desk-grid .jm-client-switcher{gap:7px;margin:0 0 8px}
.jm-desk-grid .jm-client-tab{min-height:44px;padding:7px 14px;gap:2px;display:flex;align-items:center;justify-content:space-between}
.jm-desk-grid .jm-client-tab strong{font-size:13px}
.jm-desk-grid .jm-client-tab small{display:none}
.jm-desk-grid .jm-client-tab.active:after{left:12px;width:32px}
#jm-leads-pane:not([hidden]){display:flex;flex-direction:column;gap:0}
#jm-leads-pane .jm-lead-top{order:0;display:flex;align-items:center;padding:2px 2px 6px;gap:8px}
#jm-leads-pane .jm-lead-top h2{font-size:14px;margin:0}
#jm-leads-pane .jm-lead-top p{display:none}
#jm-leads-pane #jm-lead-refresh{font-size:11px;padding:6px 10px;min-height:30px}
#jm-leads-pane #jm-forklift-targets{order:1}
#jm-leads-pane .jm-client-quick-add{order:2}
#jm-leads-pane .jm-lead-tools{order:3}
#jm-leads-pane .jm-lead-split{order:4}
#jm-leads-pane #jm-client-flow-hub{order:5}
#jm-leads-pane .jm-lead-metrics{order:6}
#jm-leads-pane .jm-lead-secondary-tools{order:7}
#jm-leads-pane .jm-manual-contacts{order:8}
#jm-leads-pane .jm-lead-notice{order:9}
#jm-leads-pane .jm-lead-tools{margin:6px 0 7px;gap:7px}
#jm-leads-pane .jm-lead-tools select,#jm-leads-pane .jm-lead-tools input{min-height:37px;height:37px;padding:7px 9px}
#jm-leads-pane .jm-lead-tools button{min-height:37px;padding:7px 10px}
#jm-leads-pane .jm-lead-list-header{padding:10px 13px}
#jm-leads-pane .jm-client-quick-add .jm-lead-disclosure>summary{padding:9px 13px;min-height:35px;font-size:12px}
#jm-leads-pane #jm-client-flow-hub{margin:10px 0 6px;padding:9px 12px}
#jm-leads-pane .jm-lead-metrics{margin:7px 0}
#jm-leads-pane .jm-lead-stat{padding:8px 10px}
#jm-leads-pane .jm-lead-stat strong{font-size:17px}
#jm-leads-pane .jm-lead-stat span{font-size:10px}
#jm-forklift-targets{margin:4px 0 7px!important;box-shadow:none!important;border-radius:11px!important}
#jm-forklift-targets .jm-dir-head{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 12px;background:#193a53;border-radius:10px 10px 0 0}
#jm-forklift-targets .jm-dir-head strong{font-size:12px;color:#fff}
#jm-forklift-targets .jm-dir-head span{font-size:10px;color:#c5dce8}
#jm-forklift-targets .jm-dir-body{padding:9px 11px 10px}
#jm-forklift-targets .jm-dir-region-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 8px}
#jm-forklift-targets .jm-dir-region-tabs button{min-height:34px;border-width:1px!important;border-radius:8px;padding:6px;font-size:11px;line-height:1.2}
#jm-forklift-targets .jm-dir-region-tabs button.is-on{background:#e3f3fb;border-color:#1881a9!important;box-shadow:inset 0 -2px #1881a9}
#jm-forklift-targets .jm-dir-region-tabs button small{font-size:9px}
#jm-forklift-targets .jm-dir-compact-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}
#jm-forklift-targets .jm-dir-geography{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
#jm-forklift-targets .jm-dir-geography:has(#jm-dir-province){grid-template-columns:1fr}
#jm-forklift-targets .jm-dir-geography label,#jm-forklift-targets .jm-dir-sector-picker{display:block;min-width:0;font-size:10px;font-weight:800;color:#577388}
#jm-forklift-targets .jm-dir-geography select,#jm-forklift-targets .jm-dir-sector-picker select{display:block;width:100%;min-width:0;box-sizing:border-box;margin-top:4px;height:36px;padding:6px 10px;border:1px solid #ccdfe9;background:#fff;color:#21445e;border-radius:8px;font-size:12px;font-weight:600}
#jm-forklift-targets .jm-dir-summary{display:flex;flex-wrap:wrap;align-items:center;gap:5px 17px;margin:8px 0 0;padding:6px 8px;background:#f4f8fb;border-radius:8px}
#jm-forklift-targets .jm-dir-summary span{font-size:10px;color:#627e93}
#jm-forklift-targets .jm-dir-summary span b{font-size:14px;color:#173f5b}
#jm-forklift-targets .jm-dir-foreign-line{margin:6px 0 0;font-size:10px;color:#72879a}
#jm-forklift-targets .jm-dir-help{margin:4px 0 0}
#jm-forklift-targets .jm-dir-help summary{color:#66869a;font-size:10px;cursor:pointer;padding:3px 0;list-style:none}
#jm-forklift-targets .jm-dir-help summary:after{content:"  ⌄"}
#jm-forklift-targets .jm-dir-help p{font-size:10px;line-height:1.5;color:#667f92;margin:7px 0 0}
#jm-forklift-targets .jm-dir-help[open]{background:#f6f9fc;border-radius:7px;padding:7px}
#jm-leads-pane .jm-lead-secondary-tools{margin:8px 0}
@media(min-width:761px){
 #jm-leads-pane #jm-client-flow-hub .jmcf-hub-text p{font-size:10px}
 #jm-forklift-targets .jm-dir-compact-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:760px){
 .jm-desk-grid .page-head{display:grid;grid-template-columns:1fr;gap:7px;margin-bottom:7px!important}
 .jm-desk-grid .page-head h1{font-size:20px!important}
 .jm-desk-grid .jm-client-page-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}
 .jm-desk-grid .jm-job-picker{display:block}
 .jm-desk-grid .jm-job-picker>span{display:none}
 .jm-desk-grid .jm-job-picker select{width:100%;font-size:14px;height:40px}
 .jm-desk-grid .jm-refresh-wrap .btn{height:40px}
 .jm-desk-grid .jm-refresh-wrap #sync{display:none}
 .jm-desk-grid .jm-job-context{font-size:10px;padding:6px 9px;line-height:1.3;max-height:32px}
 .jm-desk-grid .jm-client-tab{min-height:43px;padding:8px 9px;justify-content:center}
 .jm-desk-grid .jm-client-tab strong{font-size:12px}
 #jm-leads-pane .jm-lead-top{padding:2px 0 5px}
 #jm-leads-pane .jm-lead-top h2{font-size:13px}
 #jm-forklift-targets .jm-dir-body{padding:8px}
 #jm-forklift-targets .jm-dir-region-tabs{gap:4px}
 #jm-forklift-targets .jm-dir-region-tabs button{font-size:10px;min-height:36px;padding:5px 2px}
 #jm-forklift-targets .jm-dir-region-tabs button small{font-size:8px}
 #jm-forklift-targets .jm-dir-compact-filters{grid-template-columns:1fr;gap:7px}
 #jm-forklift-targets .jm-dir-geography select,#jm-forklift-targets .jm-dir-sector-picker select{height:37px;font-size:12px}
 #jm-forklift-targets .jm-dir-summary{gap:5px 12px}
 #jm-forklift-targets .jm-dir-summary span{font-size:9px}
 #jm-forklift-targets .jm-dir-summary span b{font-size:12px}
 #jm-leads-pane .jm-lead-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;margin:6px 0}
 #jm-leads-pane .jm-lead-tools input{grid-column:1/-1;grid-row:1}
 #jm-leads-pane .jm-lead-tools select{grid-column:1;grid-row:2}
 #jm-leads-pane .jm-lead-tools button{grid-column:2;grid-row:2}
 #jm-leads-pane #jm-client-flow-hub{display:flex!important;margin:8px 0 5px}
 #jm-leads-pane .jm-lead-metrics{display:flex;overflow-x:auto;gap:6px}
 #jm-leads-pane .jm-lead-metrics .jm-lead-stat{flex:0 0 110px;min-width:110px}
 #jm-leads-pane .jm-client-quick-add{margin:4px 0!important}
}
@media(max-width:380px){
 #jm-forklift-targets .jm-dir-region-tabs button small{display:none}
 .jm-desk-grid .jm-client-tab strong{font-size:11px}
}
/* Office: functional links retain their destinations; remove dead explanatory space. */
.of-overview-only .of-overview-note{margin:0!important;padding:13px 15px!important}
.of-overview-only .of-overview-note .of-overview-note-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:8px}
.of-overview-only .of-overview-note .of-overview-note-label h2{font-size:13px!important;margin:0!important}
.of-overview-only .of-overview-note .of-overview-note-label p{font-size:10px!important;margin:0!important}
.of-overview-only .of-office-main-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.of-overview-only .of-office-action{display:flex;min-height:56px!important;gap:8px;padding:10px!important;border-radius:10px}
.of-overview-only .of-office-action>svg{width:17px;height:17px;flex-shrink:0}
.of-overview-only .of-office-action strong{font-size:11px;line-height:1.4}
.of-overview-only .of-office-action small{font-size:9px;line-height:1.35;margin-top:2px}
.of-overview-only .of-office-action>svg:last-child{display:none}
.of-desktop-cockpit.of-overview-only .of-overview-note{grid-column:1/-1;display:block!important}
.of-desktop-cockpit.of-overview-only .of-overview-note>div{min-width:0}
.of-desktop-cockpit.of-overview-only .of-office-action{min-height:56px!important}
.of-overview-only .of-contact-job-summary{margin:0!important}
.of-overview-only .of-contact-job-summary>summary{padding:10px 13px;font-size:12px}
.of-overview-only .of-contact-job-summary>div{padding:2px 13px}
.of-overview-only .of-contact-job-row{padding:6px 0;font-size:11px}
.of-overview-only .of-contact-job-summary>p{padding:5px 13px 10px}
.of-overview-only .of-research-info{font-size:10px;margin:8px 0 0!important;padding:7px 10px}
.of-desktop-cockpit.of-overview-only{gap:10px!important}
.of-desktop-cockpit.of-overview-only .of-mob-hero{padding:13px 17px 10px;row-gap:4px}
.of-desktop-cockpit.of-overview-only .of-mob-metric{min-height:70px;padding:10px}
.of-desktop-cockpit.of-overview-only .of-mob-metric strong{font-size:23px}
.of-desktop-cockpit.of-overview-only .of-mob-hero>p{font-size:10px;line-height:1.4}
.of-desktop-cockpit.of-overview-only .of-inbound-panel{padding:12px 15px}
@media(max-width:1050px){
 .of-overview-only .of-office-main-links{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .of-overview-only .of-overview-note .of-overview-note-label p{display:none}
 .of-overview-only .of-office-main-links{grid-template-columns:repeat(2,minmax(0,1fr))}
 .of-overview-only .of-office-action{min-height:58px!important}
 .of-overview-only .of-office-action small{display:none}
 .of-overview-only .of-overview-note{padding:11px!important}
}

/* Compact legal-form filter; stays inside the approved existing summary strip. */
#jm-forklift-targets .jm-dir-group{display:inline-flex;align-items:center;gap:5px;margin-left:auto;white-space:nowrap;font-size:10px;font-weight:700;color:#4b7189}
#jm-forklift-targets .jm-dir-group select{height:28px;max-width:185px;border:1px solid #cbdfea;border-radius:7px;background:#fff;color:#24445f;font-size:11px;padding:3px 7px}
@media(max-width:760px){#jm-forklift-targets .jm-dir-group{margin-left:0;flex:0 0 100%;justify-content:flex-start}}

#jm-forklift-targets .jm-dir-unknown-note{background:#f2f8fc;border:1px solid #d6e4ee;color:#345b70;padding:10px 12px;border-radius:8px;font-size:11px;line-height:1.5}
@media(max-width:760px){#jm-forklift-targets .jm-dir-region-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
