/* INF Rescue 5.9.162.22.7.36 — Priority 2: mobile navigation.
 * Loaded AFTER the v35 Closing stylesheet. No hiding of save errors, photo
 * inputs or queue jobs. No viewport-locked scrolling container. */
#closingTeamLeadV2 .ctl-workspace-bar,
#closingTeamLeadV2 .ctl-workspace-aux-return,
.ctl-closing-return-trip{display:none}
#closingTeamLeadV2 .ctl-lead-substeps{display:flex;gap:6px;margin:8px 0 0;padding:0;max-width:100%}
#closingTeamLeadV2 .ctl-lead-substeps button{min-width:44px;min-height:44px;flex:1 1 auto;border:1px solid var(--ctl-border);border-radius:10px;padding:8px 12px;background:var(--ctl-panel);color:var(--ctl-text);font:600 .9rem/1.2 system-ui;cursor:pointer}
#closingTeamLeadV2 .ctl-lead-substeps button.active{background:var(--ctl-soft);border-color:var(--ctl-red);box-shadow:inset 0 -2px 0 var(--ctl-red);color:var(--ctl-red)}
#closingTeamLeadV2 :is(button,a,input,textarea,select,label[for]):focus-visible,.ctl-workspace-sheet :is(button,a,input):focus-visible{outline:3px solid #2368c4;outline-offset:3px}
#closingTeamLeadV2 .ctl-reminder-target{outline:3px solid #2368c4;outline-offset:3px}
#closingTeamLeadV2 .ctl-lead-wizard-nav{flex-shrink:0}
#closingTeamLeadV2 .ctl-lead-wizard-nav .ctl-nav-position{font-size:.85rem;line-height:1.3}
#closingTeamLeadV2 .ctl-workspace-aux-return[hidden],.ctl-closing-return-trip[hidden]{display:none!important}

/* Native modal sheet. Background content is inert via showModal(). */
.ctl-workspace-sheet{
  --ws-bg:#fff;--ws-soft:#f3f6fa;--ws-text:#18202c;--ws-muted:#526277;--ws-border:#d7dee8;--ws-red:#b90000;
  color:var(--ws-text);background:var(--ws-bg);border:1px solid var(--ws-border);border-radius:20px;
  padding:0;width:min(620px,calc(100vw - 24px));max-width:calc(100vw - 24px);
  max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;
  box-shadow:0 20px 60px rgba(0,0,0,.25);font-family:system-ui,-apple-system,sans-serif;
}
.ctl-workspace-sheet:not([open]){display:none}
.ctl-workspace-sheet::backdrop{background:rgba(10,18,30,.52)}
body.dark-mode .ctl-workspace-sheet,html[data-theme=dark] .ctl-workspace-sheet{--ws-bg:#151e28;--ws-soft:#202b37;--ws-text:#f1f5f9;--ws-muted:#b9c6d5;--ws-border:#425167;--ws-red:#ff9898;color-scheme:dark}
.ctl-workspace-sheet .ctl-sheet-head{display:flex;gap:14px;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:2;background:var(--ws-bg);padding:16px 18px;border-bottom:1px solid var(--ws-border)}
.ctl-workspace-sheet h2{font-size:1.25rem;line-height:1.2;margin:0;color:var(--ws-text)}
.ctl-workspace-sheet .ctl-sheet-head p{margin:4px 0 0;color:var(--ws-muted);font-size:.875rem;line-height:1.4}
.ctl-workspace-sheet .ctl-sheet-close{flex:0 0 auto;min-height:44px;min-width:60px;padding:8px 12px;border:1px solid var(--ws-border);border-radius:10px;font:600 1rem/1.2 system-ui;background:var(--ws-soft);color:var(--ws-text);cursor:pointer}
.ctl-workspace-sheet .ctl-sheet-body{padding:14px 18px calc(18px + env(safe-area-inset-bottom,0px))}
.ctl-workspace-sheet .ctl-sheet-group{margin:0 0 20px;border:0;padding:0;background:none}
.ctl-workspace-sheet .ctl-sheet-group h3{font-size:.875rem;line-height:1.3;text-transform:uppercase;letter-spacing:.05em;color:var(--ws-muted);margin:0 0 8px}
.ctl-workspace-sheet .ctl-sheet-group>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ctl-workspace-sheet .ctl-sheet-action{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;min-height:48px;padding:11px 12px;box-sizing:border-box;border:1px solid var(--ws-border);border-radius:11px;background:var(--ws-soft);color:var(--ws-text);font:600 1rem/1.3 system-ui;text-align:left;overflow-wrap:break-word;cursor:pointer}
.ctl-workspace-sheet .ctl-sheet-action small{display:block;font-weight:400;color:var(--ws-muted)}
.ctl-workspace-sheet .ctl-sheet-danger{border-top:1px solid var(--ws-border);padding-top:18px;margin-bottom:0}
.ctl-workspace-sheet .ctl-sheet-danger p{font-size:.875rem;line-height:1.5;color:var(--ws-muted);margin:0 0 10px}
.ctl-workspace-sheet .ctl-sheet-danger button{color:var(--ws-red);width:100%;background:transparent}
.ctl-workspace-sheet .ctl-diagnostics-text{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--ws-soft);border:1px solid var(--ws-border);border-radius:12px;padding:14px;font:400 .9rem/1.6 ui-monospace,monospace;color:var(--ws-text);user-select:text}
body.ctl-workspace-sheet-fallback .ctl-workspace-sheet[open]{position:fixed;inset:12px;z-index:20000;margin:auto;box-shadow:0 0 0 100vmax rgba(10,18,30,.52)}

@media(max-width:760px){
  /* Remove the global app navigation ONLY while Closing is the active module. */
  body.ctl-workspace-mobile #appTopbar,
  body.ctl-workspace-mobile #mobileTaskNav,
  body.ctl-workspace-mobile .mobile-task-nav{display:none!important}
  body.ctl-workspace-mobile{padding-bottom:0!important}
  body.ctl-workspace-mobile .app-shell{padding:0!important;max-width:none!important}
  body.ctl-workspace-mobile #appPanel{padding:0!important;margin:0!important;min-width:0!important}
  body.ctl-workspace-mobile #closingTeamLeadV2{
    padding:0 max(12px,env(safe-area-inset-left,0px)) 0 max(12px,env(safe-area-inset-right,0px))!important;
    margin:0!important;max-width:100%;box-sizing:border-box;min-width:0;
  }
  body.ctl-workspace-mobile #closingTeamLeadV2 *, .ctl-workspace-sheet *{box-sizing:border-box}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-page-head,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-subnav,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-top-tools,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-mobile{display:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-bar{display:block;padding:calc(6px + env(safe-area-inset-top,0px)) 0 2px;margin:0;background:var(--ctl-panel)}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-bar-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;min-height:54px}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-bar .ctl-btn{min-height:44px!important;min-width:56px!important;padding:8px 10px!important;border-radius:10px;font-size:1rem!important;line-height:1.2}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-identity{min-width:0;text-align:center;display:grid;gap:2px}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-identity strong{font-size:1.125rem;line-height:1.2;color:var(--ctl-text)}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-identity time{font-size:.75rem;line-height:1.3;color:var(--ctl-muted);overflow-wrap:break-word}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;width:100%;padding:4px 6px;border:0;background:transparent;color:var(--ctl-muted);font:500 .8125rem/1.35 system-ui;text-align:left;cursor:pointer}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save>span:nth-child(2){min-width:0;overflow-wrap:break-word}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save-dot{width:7px;height:7px;border-radius:50%;flex:0 0 7px;background:currentColor}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save[data-kind=saved]{color:var(--ctl-green)}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save[data-kind=error]{color:var(--ctl-risk)}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save[data-kind=warn]{color:var(--ctl-amber)}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-save[data-kind=saving]{color:var(--ctl-blue)}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand.active{display:flex;flex-direction:column;min-height:calc(var(--ctl-workspace-vh,100dvh) - 108px - env(safe-area-inset-top,0px));gap:0}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlLeadWizardTop{
    position:sticky!important;top:0!important;z-index:20!important;margin:0;padding:6px 0!important;
    background:var(--ctl-panel)!important;border-bottom:1px solid var(--ctl-border);box-shadow:none!important;transform:none!important;
  }
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-next-alarm-dock{margin:0 0 8px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-next-alarm-pill{min-height:44px!important;padding:8px 12px!important;font-size:.875rem!important;border-radius:12px!important;gap:8px!important;width:100%;box-sizing:border-box}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-next-alarm-pill-copy{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:1px 8px;min-width:0}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-next-alarm-pill-copy strong{font-size:.875rem!important;line-height:1.3!important;white-space:normal!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-next-alarm-pill-copy small{font-size:.75rem!important;line-height:1.3!important;white-space:normal!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-next-alarm-pill-icon{font-size:1rem!important;flex:0 0 auto}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-section-map{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px!important;margin:0!important;padding:3px!important;border-radius:12px!important;box-shadow:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-section-map button{min-width:44px!important;min-height:54px!important;display:flex!important;flex-direction:column!important;justify-content:center;gap:4px!important;padding:5px 1px!important;overflow:visible!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-section-map button span{width:20px!important;height:20px!important;flex-basis:20px!important;font-size:.75rem!important;line-height:20px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-section-map button strong{font-size:.8125rem!important;line-height:1.2!important;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-substeps{margin:6px 0 0!important;gap:6px}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-substeps button{min-height:44px;padding:8px 10px;font-size:.875rem;white-space:normal}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-body{flex:1 0 auto;padding:12px 0!important;margin:0!important;min-width:0;overflow:visible!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-step-head{margin:0 0 10px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-step-head>div{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px!important;min-width:0}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-step-head .ctl-lead-eyebrow{font-size:.75rem!important;line-height:1.2!important;color:var(--ctl-muted);letter-spacing:.03em;white-space:normal!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-step-head h2{font-size:1.25rem!important;line-height:1.25!important;margin:0!important;color:var(--ctl-text);overflow-wrap:break-word}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-step-head h2:focus{outline:none}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-step-head .ctl-note{display:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-step-card{padding:12px!important;border-radius:14px!important;box-shadow:none!important;margin:0!important;min-width:0}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-card-title h3{font-size:1rem!important;line-height:1.3!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-check-card>.ctl-card-title h3{display:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-check-card>.ctl-card-title{justify-content:flex-end;margin:0 0 8px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(.ctl-recognition-title h3,.ctl-mobile-no-duplicate-title>.ctl-card-title){display:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand label{font-size:.875rem!important;line-height:1.35!important;letter-spacing:0!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(#ctlCommand,#ctlTeam,#ctlHandoff) input:not([type=checkbox]):not([type=radio]):not([type=file]),
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(#ctlCommand,#ctlTeam,#ctlHandoff) select,
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(#ctlCommand,#ctlTeam,#ctlHandoff) textarea{font-size:1rem!important;line-height:1.35!important;min-height:44px!important;padding:9px 10px!important;min-width:0;max-width:100%;border-radius:10px!important;scroll-margin-top:var(--ctl-workspace-top,180px);scroll-margin-bottom:84px}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(#ctlCommand,#ctlTeam,#ctlHandoff) textarea{min-height:62px!important;resize:vertical}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand input[type=checkbox],
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand input[type=radio]{min-height:22px!important;width:22px!important;height:22px!important;max-height:22px!important;padding:0!important;margin:0!important;flex:0 0 22px!important;align-self:center}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(.ctl-mobile-shift-grid,.ctl-mobile-coverage-grid,.ctl-tonight-field-grid){gap:12px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(.ctl-mobile-shift-grid,.ctl-mobile-coverage-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-tonight-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-recognition-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-recognition-grid>label:first-child,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-recognition-notes{grid-column:1/-1!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-night-checks{gap:8px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-night-check{padding:8px!important;min-height:60px!important;gap:6px!important;scroll-margin-top:var(--ctl-workspace-top,180px);scroll-margin-bottom:88px;min-width:0}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-night-main{min-height:44px!important;gap:10px!important;font-size:1rem!important;line-height:1.35!important;min-width:0;align-items:center!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-night-main>span{font-size:1rem!important;line-height:1.35!important;min-width:0}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-na-toggle{min-width:64px;min-height:44px;font-size:.8125rem!important;gap:5px}
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-na-toggle input[type=checkbox]{width:20px!important;min-width:20px!important;height:20px!important;max-height:20px!important;flex-basis:20px!important;min-height:20px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(.ctl-completed-at,.ctl-proof-cell small,.ctl-note){font-size:.8125rem!important;line-height:1.4!important;white-space:normal!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-btn,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-info-btn,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-icon-btn{min-height:44px!important;min-width:44px!important;font-size:.9375rem!important;line-height:1.25!important;padding:9px 12px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-photo-big-action{font-size:1rem!important;min-height:52px!important;white-space:normal!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom{
    display:grid!important;position:sticky!important;bottom:0!important;top:auto!important;left:auto!important;right:auto!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;gap:10px!important;align-items:center!important;
    z-index:21!important;padding:8px 0 calc(8px + env(safe-area-inset-bottom,0px))!important;margin:0!important;
    border:0!important;border-top:1px solid var(--ctl-border)!important;border-radius:0!important;background:var(--ctl-panel)!important;
    box-shadow:none!important;width:100%!important;min-height:64px!important;transform:none!important;
  }
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom>.ctl-nav-position{display:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom>.ctl-btn{min-height:48px!important;font-size:1rem!important;padding:10px 8px!important;border-radius:12px!important;white-space:normal!important;overflow-wrap:break-word}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom>.ctl-btn:disabled{opacity:.45;cursor:default}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-save-details{margin:0 0 12px!important;border-radius:12px;scroll-margin-top:var(--ctl-workspace-top,180px);scroll-margin-bottom:84px}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-save-details.ctl-save-clear:not([open]){display:none!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-save-details>summary{min-height:44px;font-size:.875rem!important;line-height:1.4!important;padding:10px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-save-job :is(p,small,span),
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-save-footnote{font-size:.875rem!important;line-height:1.4!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-aux-return:not([hidden]){display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0 14px}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-aux-return>span{color:var(--ctl-muted);font-size:.875rem}
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(#ctlTeam,#ctlChecklist,#ctlKnowledge,#ctlHandoff){padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}
  .ctl-closing-return-trip:not([hidden]){display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 12px;margin:0 0 12px;border:1px solid #d7dee8;border-radius:12px;background:var(--schedule-surface,#fff);color:var(--schedule-text,#18202c)}
  .ctl-closing-return-trip button{min-height:44px;border:1px solid var(--schedule-border,#d7dee8);border-radius:10px;padding:8px 12px;background:var(--schedule-panel,#f3f6fa);color:inherit;font:600 1rem/1.2 system-ui;cursor:pointer}
  .ctl-closing-return-trip>span{font-size:.8125rem;color:var(--schedule-muted,#526277)}
  .ctl-workspace-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:100%;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:20px 20px 0 0}
  .ctl-workspace-sheet .ctl-sheet-head{padding:14px 16px}
  .ctl-workspace-sheet .ctl-sheet-body{padding:14px 16px calc(16px + env(safe-area-inset-bottom,0px))}
  body.ctl-workspace-mobile .ctl-toast{bottom:calc(80px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 24px);font-size:.875rem;line-height:1.4;pointer-events:none}
  body.ctl-workspace-mobile :is(.ctl-target-info-shell,.ctl-shift-alarm-dialog,.ctl-previous-day-dialog,.ctl-print-preview-shell) :is(button,input,select){min-height:44px;font-size:1rem}
  /* Short visual viewport (software keyboard / landscape): normal page flow.
     Do not trap the form between two sticky bars or disable pinch zoom. */
  body.ctl-workspace-keyboard #closingTeamLeadV2 #ctlLeadWizardTop,
  body.ctl-workspace-keyboard #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom{position:static!important}
  body.ctl-workspace-keyboard #closingTeamLeadV2 :is(input,textarea,select){scroll-margin-top:8px!important;scroll-margin-bottom:12px!important}
}
@media(max-width:360px){
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-bar-main{gap:6px}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-bar .ctl-btn{padding:8px!important;min-width:52px!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-identity time{font-size:.75rem}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-recognition-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-mobile-shift-grid{grid-template-columns:1fr!important}
}
@media(max-width:760px) and (max-height:500px){
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlLeadWizardTop,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom{position:static!important}
}
@media(prefers-reduced-motion:reduce){
  #closingTeamLeadV2 *,.ctl-workspace-sheet *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media print{
  .ctl-workspace-bar,.ctl-workspace-aux-return,.ctl-lead-substeps,.ctl-workspace-sheet,.ctl-closing-return-trip{display:none!important}
}
/* Specificity bridges for the previous two-ID compact form rules. */
#closingTeamLeadV2 .ctl-workspace-field-help,.ctl-mobile-overlay-label{display:none}
@media(max-width:760px){
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-mobile-step-card{padding:12px!important}
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-mobile-recognition-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-mobile-recognition-grid>label{grid-column:auto!important;grid-row:auto!important}
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-mobile-recognition-grid>label:first-child,
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-mobile-recognition-grid>.ctl-recognition-notes{grid-column:1/-1!important}
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-recognition-title{display:none!important}
 body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-workspace-field-help{display:block;flex:0 0 44px;align-self:center}
 body.ctl-workspace-mobile .ctl-mobile-overlay-label{display:inline;font:600 .875rem/1.3 system-ui}
 body.ctl-workspace-mobile .ctl-desktop-overlay-label{display:none}
 body.ctl-workspace-mobile .ctl-overlay-return-button{width:auto!important;min-width:44px!important;min-height:44px!important;height:auto!important;padding:8px 12px!important;flex:0 0 auto!important;white-space:normal!important;border-radius:10px}
}
@media(max-width:360px){
 body.ctl-workspace-mobile #closingTeamLeadV2 #ctlCommand .ctl-mobile-recognition-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
 /* At enlarged text sizes the group strip can pan rather than shrinking labels. */
 body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-section-map{grid-template-columns:repeat(5,minmax(max-content,1fr))!important;overflow-x:auto!important;scrollbar-width:thin}
 body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-section-map button{padding-left:3px!important;padding-right:3px!important}
}


/* v5.9.162.22.7.37 — audit attribution selector and saved completing leader. */
#closingTeamLeadV2 #ctlCommand .ctl-audit-row>.ctl-night-main{grid-column:1!important;grid-row:1!important}
#closingTeamLeadV2 #ctlCommand .ctl-audit-row>.ctl-na-toggle{grid-column:2!important;grid-row:1!important}
#closingTeamLeadV2 #ctlCommand .ctl-audit-row>.ctl-audit-attribution{grid-row:2!important}
#closingTeamLeadV2 #ctlCommand .ctl-audit-row.done{opacity:1!important}
#closingTeamLeadV2 #ctlCommand .ctl-audit-attribution span{ text-decoration:none!important }

#closingTeamLeadV2 .ctl-audit-attribution{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:3px 0 0 26px;color:var(--ctl-muted);font-size:.875rem;line-height:1.35;min-width:0}
#closingTeamLeadV2 .ctl-audit-person{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-height:44px;padding:5px 9px;border:1px solid var(--ctl-border);border-radius:9px;background:var(--ctl-panel);color:var(--ctl-text);font:600 .9rem/1.3 system-ui;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
#closingTeamLeadV2 .ctl-audit-person small{font:400 .8rem/1.2 system-ui;color:var(--ctl-muted);flex:0 0 auto}
.ctl-audit-sheet .ctl-audit-select-label{display:block;margin:12px 0 6px;font:650 1rem/1.3 system-ui;color:var(--ws-text)}
.ctl-audit-sheet select{display:block;width:100%;min-height:48px;padding:10px 12px;box-sizing:border-box;border:1px solid var(--ws-border);border-radius:10px;background:var(--ws-bg);color:var(--ws-text);font:400 16px/1.4 system-ui}
.ctl-audit-sheet select:focus-visible,.ctl-audit-sheet button:focus-visible{outline:3px solid #2368c4;outline-offset:3px}
.ctl-audit-sheet .ctl-audit-status{margin:12px 0;color:var(--ws-muted);font:400 .95rem/1.5 system-ui;overflow-wrap:anywhere}
.ctl-audit-sheet .ctl-audit-status.is-error{color:var(--ws-red)}
.ctl-audit-sheet .ctl-audit-helper{font:400 .85rem/1.5 system-ui;color:var(--ws-muted);margin:14px 0 0}
.ctl-audit-sheet .ctl-audit-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.ctl-audit-sheet .ctl-audit-confirm{background:#c00;color:#fff;border-color:#c00;text-align:center;align-items:center}
.ctl-audit-sheet button:disabled,.ctl-audit-sheet select:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:380px){.ctl-audit-sheet .ctl-audit-dialog-actions{grid-template-columns:1fr}}
/* Short portrait phones must not trap an audit row between sticky controls. */
@media(max-width:760px) and (max-height:640px){
  body.ctl-workspace-mobile #closingTeamLeadV2 #ctlLeadWizardTop,
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-lead-wizard-nav-bottom{position:static!important}
  body.ctl-workspace-mobile #closingTeamLeadV2 .ctl-night-check,
  body.ctl-workspace-mobile #closingTeamLeadV2 :is(input,textarea,select){scroll-margin-top:8px!important;scroll-margin-bottom:12px!important}
}

