/* Overview only: remove Thought for the Day and fill the Live Desk rail. */
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .thought-for-the-day { display: none !important; }
@media (min-width: 1101px) {
  body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live) {
    min-height: calc(100dvh - 100px) !important;
    grid-template-rows: max-content minmax(max-content, 1fr) !important;
  }
  body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] > .counter-overview-live {
    display: grid !important;
    grid-template-rows: minmax(auto, 1fr);
    align-self: stretch;

  }
  body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] > .counter-overview-live > .window-pulse {
    align-self: stretch !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* Keep the shell and left Overview stationary; the two Live Desk bodies scroll separately. */
@media(min-width:1101px) and (min-height:620px){
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main:has(>.ex-counter[data-overview="true"]>.counter-overview-live){box-sizing:border-box;margin-bottom:0!important;min-height:0!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live){height:var(--overview-window-height,auto)!important;min-height:0!important;max-height:none!important;box-sizing:border-box;grid-template-rows:max-content minmax(0,1fr)!important;grid-auto-rows:max-content!important;align-content:stretch!important;overflow:visible!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>:is(.counter-action-toolbar,.counter-overview-content,.ex-note){zoom:var(--overview-left-scale,1);align-self:start!important;min-height:0!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-action-toolbar{height:auto!important;max-height:none!important;contain:none!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-overview-live{min-height:0!important;height:auto!important;max-height:none!important;display:grid!important;grid-template-rows:minmax(0,1fr)!important;align-self:stretch!important;overflow:clip!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-overview-live>.window-pulse{min-height:0!important;height:100%!important;max-height:none!important;display:grid!important;grid-template-rows:max-content minmax(0,1fr)!important;box-sizing:border-box;overflow:clip!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-overview-live>.window-pulse>.window-pulse-streams{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;grid-auto-rows:minmax(0,1fr)!important;align-items:stretch!important;min-height:0!important;height:auto!important;max-height:none!important;gap:8px!important;overflow:clip!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-overview-live>.window-pulse>.window-pulse-streams>.window-pulse-stream{display:grid!important;grid-template-rows:max-content minmax(0,1fr)!important;min-height:0!important;height:auto!important;max-height:none!important;align-content:stretch!important;overflow:clip!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-overview-live>.window-pulse>.window-pulse-streams>.window-pulse-stream>.window-pulse-stream-heading{align-self:start!important}
 body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live)>.counter-overview-live>.window-pulse>.window-pulse-streams>.window-pulse-stream>.window-pulse-stream-body{min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden auto!important;overscroll-behavior:contain!important;scrollbar-width:thin;scrollbar-gutter:stable;align-self:stretch!important}
}

@media(min-width:1101px) and (min-height:620px){body[data-mode] .app-shell.gv-shell.modern-shell:has(#main>.ex-counter[data-overview="true"]>.counter-overview-live){display:flow-root!important}}

@media(min-width:1101px) and (min-height:620px){body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main>.ex-counter[data-overview="true"]:has(>.counter-overview-live){margin-top:var(--overview-spacing-extra,0px)!important}}
.window-pulse-stream-heading h3>.window-pulse-fault-count{display:inline;margin-inline-start:.55em;font:inherit;font-variant-numeric:tabular-nums}

body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]{position:relative!important;display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:8px!important;min-height:54px!important;padding:7px clamp(20px,2vw,30px)!important;background:var(--solved-quick-action-fill)!important;color:var(--solved-quick-action-ink)!important;border:1px solid var(--solved-quick-action-edge)!important;box-shadow:0 2px 5px #12357516!important;text-align:center!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]:is(:hover,[aria-current="true"]){background:var(--solved-quick-action-hover)!important;border-color:var(--solved-quick-action-hover-edge)!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]:focus-visible{outline:2px solid #124cb3!important;outline-offset:2px!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]>.ex-action-icon{flex:0 0 auto;align-self:center!important;color:#2159ac!important;background:transparent!important;width:20px!important;height:20px!important;padding:0!important;margin:0!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]>.ex-action-label{min-width:0;align-self:center!important;margin:0!important;color:inherit!important;text-align:center!important;font-size:16px!important;font-weight:750!important;line-height:1.15!important;white-space:normal!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]::after{content:attr(data-keypad-key)!important;display:grid!important;place-items:center;position:absolute!important;inset:50% 5px auto auto!important;transform:translateY(-50%)!important;width:21px!important;min-width:21px!important;height:21px!important;border:0!important;border-radius:5px!important;background:#2459ad!important;color:#fff!important;font:750 12px/1 system-ui,sans-serif!important;padding:0!important;pointer-events:none}
@media(forced-colors:active){body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key],body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-desk-actions.counter-action-toolbar .window-do-now .counter-action-buttons>button[data-keypad-key]::after{background:ButtonFace!important;color:ButtonText!important;border:1px solid ButtonText!important}}

body[data-mode] #main .ex-counter[data-overview="true"] .overview-range-header{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:wrap;gap:4px 7px!important}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-compact-date-range{display:inline-block;box-sizing:border-box;width:auto!important;max-width:144px;min-width:0!important;min-height:25px!important;height:25px!important;margin:0!important;padding:2px 3px!important;font-size:11px!important;line-height:1.15!important}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:3px 0}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payment-subtile{min-width:0;display:grid;gap:0;padding:3px 4px;border:1px solid #dfe5ee;border-radius:6px;background:var(--glass-child,#f2f5fa)}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payment-subtile small{line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payment-subtile b{font-size:12px;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments-pages{display:flex;justify-content:flex-end;align-items:center;gap:5px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments-pages button{min-height:20px!important;min-width:20px!important;padding:0 5px!important;font-size:12px!important}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-fault-line{display:block;width:100%;height:clamp(54px,8dvh,79px);color:#7053d3}

body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payment-subtile.is-total{background:#e8e1ff;border-color:#9378db;color:#35246a}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payment-subtile.is-total b{font-weight:800}
.overview-payment-calendar:popover-open{position:fixed;inset:auto;margin:0;box-sizing:border-box;padding:9px;border:1px solid #9b8ec6;border-radius:10px;background:#f7f3ff;color:#282348;box-shadow:0 9px 25px #1d19453b;max-height:calc(100dvh - 16px);overflow:auto}
.overview-payment-calendar .overview-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:4px}
.overview-payment-calendar .overview-calendar-help{display:block;margin:4px 0 6px}
.overview-payment-calendar .overview-calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.overview-payment-calendar .overview-calendar-month>strong{display:block;margin-bottom:4px;font-size:12px}
.overview-payment-calendar .overview-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}
.overview-payment-calendar .overview-calendar-grid button,.overview-payment-calendar .overview-calendar-toolbar button{font-size:12px;min-width:0!important;min-height:25px!important;padding:2px!important;margin:0!important;border:1px solid #bdb2dc;border-radius:4px;background:#fff;color:#282348;line-height:1}
.overview-payment-calendar .overview-calendar-grid button[aria-pressed=true],.overview-payment-calendar .overview-calendar-toolbar button[aria-pressed=true]{background:#6349ae;color:#fff}
.overview-payment-calendar .overview-calendar-grid button:focus-visible{outline:2px solid #47218b;outline-offset:1px}
.overview-payment-calendar .overview-calendar-grid button{user-select:none}
html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar:popover-open{padding:6px!important;border-radius:8px!important}
.overview-payment-calendar .overview-calendar-toolbar{gap:2px}
.overview-payment-calendar .overview-calendar-help{font-size:11px!important;line-height:1.2;margin:4px 0 0!important}
.overview-payment-calendar .overview-calendar-months{gap:6px}
.overview-payment-calendar .overview-calendar-month>strong{margin-bottom:2px;font-size:11px}
.overview-payment-calendar .overview-calendar-grid{gap:1px}
html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar button[data-calendar-day]{display:block!important;appearance:none!important;width:100%!important;min-width:0!important;max-width:none!important;height:21px!important;min-height:21px!important;padding:0!important;margin:0!important;border:0!important;border-radius:3px!important;box-shadow:none!important;background:transparent!important;background-image:none!important;color:#2c2644!important;font-size:11px!important;font-weight:500!important;line-height:1!important;transform:none!important}
html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar button[data-calendar-day][aria-pressed="true"]{background:#6349ae!important;color:#fff!important;font-weight:700!important}
html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar button[data-calendar-day]:focus-visible{outline:2px solid #47218b!important;outline-offset:-2px!important}
html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar .overview-calendar-toolbar button{height:22px!important;min-height:22px!important;min-width:24px!important;border-radius:4px!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:1px solid #cec5e8!important;color:#3e2d67!important}
.overview-payment-calendar .overview-calendar-range-footer{margin-top:4px}
html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar button.overview-calendar-range-text{appearance:none!important;width:auto!important;min-width:0!important;height:auto!important;min-height:20px!important;background:transparent!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0 2px!important;color:#58389c!important;font-size:11px!important;text-decoration:underline!important}
@media(forced-colors:active){html body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .overview-payment-calendar button[data-calendar-day][aria-pressed="true"]{forced-color-adjust:none;color:HighlightText!important;background:Highlight!important}}

body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payments-grid{gap:6px;margin:3px 0}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payment-subtile{box-sizing:border-box;min-height:46px;align-content:center;gap:2px;padding:4px 6px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payment-subtile small{font-size:12px;line-height:1.15;font-weight:700}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payment-subtile b{font-size:16px;line-height:1.14}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payment-subtile.is-total b{font-size:17px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payments-grid:has(>.overview-area-payment-subtile:nth-child(7)) .overview-area-payment-subtile{min-height:38px;gap:1px;padding-block:2px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payments-grid:has(>.overview-area-payment-subtile:nth-child(7)){row-gap:4px;margin-block:1px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-area-payments .overview-area-payment-subtile b{overflow-wrap:anywhere}

body[data-mode] #main .ex-counter[data-overview="true"] .faults-daily-card .overview-fault-line{display:block;width:100%;height:clamp(106px,13dvh,136px);color:#7053d3;overflow:visible}
body[data-mode] #main .ex-counter[data-overview="true"] .faults-daily-card .overview-fault-graph{min-width:0}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-fault-count{fill:#513998;font-size:14px;font-weight:800;paint-order:stroke;stroke:var(--os-paper,#f7f3ff);stroke-width:2px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-fault-axis-date{fill:var(--os-ink,#243047);font-size:11px;font-weight:650}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-fault-chart-pages{display:flex;justify-content:flex-end;align-items:center;gap:5px}
body[data-mode] #main .ex-counter[data-overview="true"] .overview-fault-chart-pages button{min-height:20px!important;min-width:20px!important;padding:0 5px!important;font-size:12px!important}

body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .daily-trend-card .overview-range-header button.overview-calendar-trigger{background:#e8e1ff!important;border:1px solid #9378db!important;color:#35246a!important;box-shadow:none!important;text-shadow:none!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .daily-trend-card .overview-range-header button.overview-calendar-trigger:is(:hover,:active,:focus-visible){background:#dcd0ff!important;border-color:#7655be!important;color:#35246a!important;box-shadow:none!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .daily-trend-card .overview-range-header button.overview-calendar-trigger[aria-expanded="true"],body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .daily-trend-card .overview-range-header button.overview-calendar-trigger[aria-expanded="true"]:is(:hover,:active,:focus-visible){background:#6349ae!important;border-color:#6349ae!important;color:#fff!important;box-shadow:none!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .daily-trend-card .overview-range-header button.overview-calendar-trigger:focus-visible{outline:2px solid #7957cc!important;outline-offset:2px!important}

body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-shift-section .ex-shift-condensed > button > :is(.collected-today-heading,.todays-faults-title,.paid-trend-title),
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-shift-section .ex-shift-secondary > .daily-trend-card > .overview-range-header > strong,
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-shift-section .ex-shift-secondary .wallet-overview .dashboard-panel-heading{font-size:11px!important;font-weight:800!important;line-height:1.5!important;letter-spacing:.075em!important;text-transform:uppercase!important}
body[data-mode] .app-shell.gv-shell.modern-shell #main.modern-shell-main .ex-counter[data-overview="true"] .ex-shift-section .collected-today-heading > .collected-period{text-transform:none!important;letter-spacing:normal!important}
