/* Stitch V9 Home body. Navigation, top bar and financial data retain their owners. */
.tv-home-premium{--cockpit-ink:#122d39;--cockpit-muted:#596971;--cockpit-line:#deded7;--cockpit-brass:#a48045;--cockpit-canvas:#f7f6f2;color:var(--cockpit-ink);font-family:inherit;font-size:14px;line-height:1.5;min-width:0}
.tv-home-premium *{box-sizing:border-box;min-width:0}
.tv-home-premium :where(h3,p){margin:0}
.tv-home-premium :where(button){font:inherit;font-size:14px;font-weight:550;min-height:44px;cursor:pointer;border:1px solid var(--cockpit-line);border-radius:9px;background:#fff;color:var(--cockpit-ink);padding:10px 14px;text-align:left;transition:background .15s,border-color .15s,color .15s}
.tv-home-premium :where(button):hover{background:#eeede6;border-color:#bdc5c2}
.tv-home-premium :where(button):focus-visible{outline:3px solid #ba965b;outline-offset:3px}
.tv-home-premium :where(button):disabled{cursor:not-allowed;opacity:.5}
.tv-home-premium :where(strong){font-weight:650}
.home-cockpit-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
.home-cockpit-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--cockpit-muted);font-size:14px}
.home-cockpit-scope{border-right:1px solid #cfd3cc;padding-right:12px;font-weight:600;color:var(--cockpit-ink)}
.tv-home-premium .home-cockpit-refresh{background:transparent}
.home-cockpit-instruments{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px;margin-bottom:28px;align-items:stretch}
.home-cockpit-collections{position:relative;background:#fff;color:var(--cockpit-ink);border:1px solid var(--cockpit-line);border-radius:14px;padding:25px 28px;overflow:hidden;box-shadow:none}
.home-cockpit-collections:before{content:"";position:absolute;inset:0 auto auto 0;width:48px;height:3px;background:#e26732}
.home-cockpit-collections-head{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.home-cockpit-collections-head:before{content:"";width:3px;height:18px;border-radius:2px;background:#e26732}
.home-cockpit-collections-head h3{font-size:20px;font-weight:600;letter-spacing:-.025em}
.home-cockpit-collections-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.home-cockpit-reading{min-width:0}
.home-cockpit-eyebrow{font-size:14px;font-weight:500;color:var(--cockpit-muted);line-height:1.4}
.home-cockpit-money,.home-cockpit-overdue-money{display:flex;align-items:baseline;gap:7px;font-size:clamp(26px,2.7vw,40px);font-variant-numeric:tabular-nums;letter-spacing:-.045em;line-height:1.18;overflow-wrap:anywhere;margin-top:10px}
.home-cockpit-money-currency{flex:0 0 auto;font-size:14px;line-height:1.4;font-weight:500;letter-spacing:0;color:var(--cockpit-muted)}
.home-cockpit-money-number{display:block;flex:0 1 auto;min-width:0;overflow-wrap:anywhere}
.home-cockpit-collections .home-cockpit-money-currency{color:var(--cockpit-muted)}
.home-cockpit-money.is-long,.home-cockpit-overdue-money.is-long{font-size:clamp(19px,1.9vw,27px);letter-spacing:-.03em}
.home-cockpit-customer-reading .home-cockpit-eyebrow{color:var(--cockpit-muted)}
.home-cockpit-customer-reading .home-cockpit-money{font-size:clamp(24px,2.35vw,34px);color:var(--cockpit-ink)}
.home-cockpit-customer-reading .home-cockpit-money.is-long{font-size:clamp(19px,1.7vw,25px)}
.home-cockpit-overdue{border-left:1px solid var(--cockpit-line);padding-left:24px}
.home-cockpit-overdue .home-cockpit-eyebrow{color:#9b5124}
.home-cockpit-overdue-money{color:#a84623}
/* Keep live eight-digit totals together with the same scale as Customers owe. */
.home-cockpit-overdue-money:not(.is-long){font-size:clamp(24px,2.35vw,34px)}
.home-cockpit-overdue-count{display:block;color:var(--cockpit-muted);font-size:14px;margin-top:12px}
.home-cockpit-support{display:grid;gap:16px;grid-template-rows:1fr 1fr}
.home-cockpit-support-reading{padding:20px 24px;border:1px solid var(--cockpit-line);border-radius:14px;background:#fff;display:flex;flex-direction:column;align-items:flex-start}
.home-cockpit-support-reading .home-cockpit-money{font-size:clamp(26px,2.5vw,36px);margin-top:8px;margin-bottom:8px}
.home-cockpit-support-reading .home-cockpit-money.is-long{font-size:clamp(19px,1.7vw,25px)}
.home-cockpit-support-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:auto}.home-cockpit-support-foot>.home-cockpit-action{flex-shrink:0}
.home-cockpit-support-detail{display:grid;gap:2px}
.home-cockpit-support-overdue{font-size:14px;font-variant-numeric:tabular-nums;color:#8a5e29;overflow-wrap:anywhere}
.home-cockpit-muted,.home-cockpit-task p{color:var(--cockpit-muted);font-size:14px;line-height:1.5}
.home-cockpit-action{display:flex;align-items:center;justify-content:space-between;gap:14px;max-width:100%}
.home-cockpit-action>span:first-child{overflow-wrap:anywhere}
.tv-home-premium .home-cockpit-action.is-text{border:0;padding:10px 0;background:transparent;color:#355a6b;box-shadow:none}
.tv-home-premium .home-cockpit-action.is-text:hover{color:#122d39;text-decoration:underline}
.tv-home-premium .home-cockpit-collections .home-cockpit-action.is-text{color:#355a6b}
.tv-home-premium .home-cockpit-collections .home-cockpit-action.is-text:hover{color:#122d39}
.home-cockpit-arrow{font-size:19px;line-height:1;flex-shrink:0}
.home-cockpit-panel{min-width:0}
.home-cockpit-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.home-cockpit-panel h3{font-size:20px;line-height:1.35;font-weight:650;letter-spacing:-.025em}
.home-cockpit-aging{border-top:1px solid var(--cockpit-line);margin-top:17px;padding-top:15px}
.home-cockpit-aging .home-cockpit-panel-head{margin-bottom:9px}
.home-cockpit-aging .home-cockpit-panel-head h3{font-size:14px;font-weight:500;letter-spacing:0;color:var(--cockpit-muted)}
.home-cockpit-aging .home-cockpit-panel-head .home-cockpit-action{font-size:14px}
.home-cockpit-aging-track{display:flex;gap:3px;height:7px;background:#edf0ef;border-radius:4px;overflow:hidden}
.home-cockpit-aging-segment{display:block;height:100%;border-radius:2px;flex-shrink:1}
.home-cockpit-aging-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:17px}
.home-cockpit-aging-label{display:flex;align-items:center;gap:7px;color:var(--cockpit-muted);font-size:14px;line-height:1.3}
.home-cockpit-aging-dot{display:block;width:6px;height:6px;border-radius:2px;flex-shrink:0}
.home-cockpit-aging-money{display:block;font-size:14px;font-weight:550!important;line-height:1.45;margin-top:6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.home-cockpit-collections .tone-0{background:#8aa893}.home-cockpit-collections .tone-1{background:#c4a26b}.home-cockpit-collections .tone-2{background:#bf8d72}.home-cockpit-collections .tone-3{background:#ba7371}
.home-cockpit-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:28px;align-items:start}
.home-cockpit-count{font-size:14px;color:var(--cockpit-muted);font-weight:500}
.home-cockpit-filters{display:flex;gap:5px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid var(--cockpit-line)}
.tv-home-premium .home-cockpit-filter{border:0;min-height:44px;padding:10px 14px;font-size:14px;background:transparent;color:var(--cockpit-muted)}
.tv-home-premium .home-cockpit-filter.is-selected{background:var(--cockpit-ink);color:#fff;font-weight:600}
.home-cockpit-task{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:16px 0;border-bottom:1px solid var(--cockpit-line)}
.home-cockpit-task:last-child{border-bottom:0}
.home-cockpit-task-copy{min-width:0}
.home-cockpit-task-copy strong{font-size:15px;line-height:1.4}
.home-cockpit-task-copy p{margin-top:3px;max-width:54ch;overflow-wrap:anywhere}
.home-cockpit-task-mark{border:1px solid #d9c5a4;background:#f0e9dc;color:#795c30;border-radius:8px;width:32px;min-height:32px;display:grid;place-items:center;font-size:14px;font-weight:650;grid-row:1/3;align-self:start;margin-top:2px;overflow-wrap:anywhere}
.home-cockpit-task-mark.is-check{color:#496172;border-color:#cbd8dc;background:#e7edef}
.home-cockpit-task-money{font-variant-numeric:tabular-nums;text-align:right;font-size:15px;grid-column:3;grid-row:1;overflow-wrap:anywhere;max-width:23ch}
.home-cockpit-task>.home-cockpit-action{grid-column:2/4;justify-self:start}
.home-cockpit-quick{padding-left:26px;border-left:1px solid var(--cockpit-line)}
.home-cockpit-shortcut-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-cockpit-shortcut-grid .home-cockpit-action{min-height:72px;align-items:center;gap:10px;background:#fff;padding:13px 14px;font-size:14px;border-color:#dcdfd8;border-radius:11px}
.home-cockpit-shortcut-grid .home-cockpit-action:last-child{grid-column:1/-1;min-height:52px}
.tv-home-premium .home-cockpit-action.is-primary{background:var(--cockpit-ink);color:#fff;border-color:var(--cockpit-ink)}
.tv-home-premium .home-cockpit-action.is-primary:hover{background:#234654;border-color:#234654}
.home-cockpit-action.is-primary .home-cockpit-arrow{color:#d5b680}
.home-cockpit-quick>.home-cockpit-muted{margin-top:12px}
.home-cockpit-period{display:flex;align-items:center;gap:20px;border-top:1px solid var(--cockpit-line);padding-top:16px;margin-top:25px}
.home-cockpit-period .home-cockpit-panel-head{margin:0}
.home-cockpit-period .home-cockpit-panel-head h3{font-size:14px;letter-spacing:0;color:var(--cockpit-muted);font-weight:500}
.home-cockpit-period-value{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;flex:1}
.home-cockpit-period-money{font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.home-cockpit-source{margin-top:12px!important;font-size:14px;color:var(--cockpit-muted)}
.home-cockpit-empty{padding:22px 0;color:var(--cockpit-muted);line-height:1.6}
.home-cockpit-collections .home-cockpit-empty{color:var(--cockpit-muted)}
.home-cockpit-stale{border:1px solid #d9bc8e;background:#fff6e8;border-radius:10px;padding:15px 18px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.home-cockpit-stale p{font-size:14px;margin-top:5px}
.home-cockpit-action-notice{margin-top:12px!important;color:#895617}
.tv-home-premium[aria-busy="true"] .home-cockpit-refresh{pointer-events:none;opacity:.65}
/* Keep the receivables instrument in the same light visual language as the rest of Home. */
.tv-home-premium .home-cockpit-collections .home-cockpit-overdue{border-color:var(--cockpit-line)}
@media(max-width:1150px){.tv-home-premium .home-cockpit-collections .home-cockpit-overdue{border-top-color:var(--cockpit-line)}}
@media(max-width:900px){.tv-home-premium .home-cockpit-collections .home-cockpit-overdue{border-left-color:var(--cockpit-line)}}
@media(max-width:600px){.tv-home-premium .home-cockpit-collections .home-cockpit-overdue{border-top-color:var(--cockpit-line)}}
.tv-business-cockpit-route:has(.tv-home-premium){background:#f7f6f2;--home-ink:#122d39;--home-muted:#596971}
.tv-business-cockpit-route:has(.tv-home-premium) .tv-route-context{display:none}
.tv-business-cockpit-route:has(.tv-home-premium)>.workspace-hero{margin-bottom:4px;align-items:center;gap:12px}
.tv-business-cockpit-route:has(.tv-home-premium)>.workspace-hero h2{font-size:36px;letter-spacing:-.045em;line-height:1.2;font-weight:700;color:#122d39}
.tv-business-cockpit-route:has(.tv-home-premium)>.workspace-hero [data-tv-region="subtitle"]{display:none}
@media(min-width:1450px){.home-cockpit-task{grid-template-columns:32px minmax(0,1fr) auto auto;gap:12px}.home-cockpit-task-mark{grid-row:1}.home-cockpit-task>.home-cockpit-action{grid-column:4;grid-row:1;justify-self:end}.home-cockpit-task-money{grid-column:3}}
@media(max-width:1150px){.home-cockpit-instruments,.home-cockpit-grid{grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr);gap:20px}.home-cockpit-collections{padding:22px}.home-cockpit-collections-values{grid-template-columns:1fr;gap:15px}.home-cockpit-overdue{padding:15px 0 0;border-left:0;border-top:1px solid #ffffff24}.home-cockpit-customer-reading .home-cockpit-action{padding-bottom:0}.home-cockpit-overdue-money{font-size:36px}.home-cockpit-aging-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.home-cockpit-quick{padding-left:20px}.home-cockpit-shortcut-grid{grid-template-columns:1fr}.home-cockpit-shortcut-grid .home-cockpit-action{min-height:48px}.home-cockpit-task{grid-template-columns:32px minmax(0,1fr)}.home-cockpit-task-money{grid-column:2;grid-row:auto;text-align:left;max-width:none}.home-cockpit-task>.home-cockpit-action{grid-column:2}.home-cockpit-period{flex-wrap:wrap;gap:8px 18px}.home-cockpit-period-value{flex-basis:60%}}
@media(max-width:900px){.home-cockpit-instruments,.home-cockpit-grid{grid-template-columns:minmax(0,1fr)}.home-cockpit-collections-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.home-cockpit-overdue{border-top:0;border-left:1px solid #ffffff24;padding:0 0 0 24px}.home-cockpit-support{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.home-cockpit-aging-legend{grid-template-columns:repeat(4,minmax(0,1fr))}.home-cockpit-quick{padding:22px 0 0;border-left:0;border-top:1px solid var(--cockpit-line)}.home-cockpit-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-cockpit-shortcut-grid .home-cockpit-action:last-child{grid-column:auto}.home-cockpit-task{grid-template-columns:32px minmax(0,1fr) auto}.home-cockpit-task-money{grid-column:3;grid-row:1;text-align:right;max-width:23ch}.home-cockpit-task>.home-cockpit-action{grid-column:2/4}.home-cockpit-money,.home-cockpit-customer-reading .home-cockpit-money,.home-cockpit-support-reading .home-cockpit-money{font-size:30px}.home-cockpit-money.is-long,.home-cockpit-customer-reading .home-cockpit-money.is-long,.home-cockpit-support-reading .home-cockpit-money.is-long{font-size:21px}}
@media(max-width:600px){.home-cockpit-controls{gap:10px;margin-bottom:18px;align-items:flex-start}.home-cockpit-context{display:grid;gap:3px;font-size:14px}.home-cockpit-scope{border:0;padding:0}.home-cockpit-instruments{gap:14px;margin-bottom:22px}.home-cockpit-collections{padding:20px;border-radius:13px}.home-cockpit-collections-head{margin-bottom:20px}.home-cockpit-collections-values{grid-template-columns:1fr;gap:15px}.home-cockpit-overdue{padding:16px 0 0;border-left:0;border-top:1px solid #ffffff24}.home-cockpit-overdue-money{font-size:36px}.home-cockpit-money.is-long,.home-cockpit-overdue-money.is-long{font-size:22px}.home-cockpit-overdue-count{margin-top:8px}.home-cockpit-aging{margin-top:20px}.home-cockpit-aging .home-cockpit-panel-head{gap:10px;align-items:center}.home-cockpit-aging-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.home-cockpit-support{grid-template-columns:1fr;gap:12px}.home-cockpit-support-reading{padding:20px}.home-cockpit-support-foot{margin-top:5px;flex-wrap:wrap}.home-cockpit-grid{gap:18px}.home-cockpit-panel-head{margin-bottom:13px}.home-cockpit-filters{gap:2px}.tv-home-premium .home-cockpit-filter{padding:10px 12px}.home-cockpit-task{grid-template-columns:28px minmax(0,1fr);gap:7px 10px}.home-cockpit-task-mark{width:28px;min-height:28px}.home-cockpit-task-money{grid-column:2;grid-row:auto;text-align:left;max-width:none}.home-cockpit-task>.home-cockpit-action{grid-column:2}.home-cockpit-shortcut-grid{gap:8px}.home-cockpit-shortcut-grid .home-cockpit-action{padding:12px;min-height:66px;gap:6px}.home-cockpit-shortcut-grid .home-cockpit-action:last-child{grid-column:1/-1;min-height:48px}.home-cockpit-period{display:block;margin-top:22px}.home-cockpit-period-value{margin-top:7px;display:block}.home-cockpit-period-money{display:block;margin-top:5px}.home-cockpit-period>.home-cockpit-action{margin-top:3px}.home-cockpit-stale{display:block}.home-cockpit-stale button{margin-top:12px}.tv-business-cockpit-route:has(.tv-home-premium)>.workspace-hero h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){.tv-home-premium *{animation:none!important;transition:none!important}}

/* Keep the work rows compact at their actual panel width. */
.home-cockpit-queue-panel{container-type:inline-size}
@container(min-width:470px){
 .home-cockpit-task{grid-template-columns:32px minmax(0,1fr) auto 44px;gap:12px;min-height:78px;padding:12px 0}
 .home-cockpit-task-mark{grid-row:1;align-self:center;margin-top:0}
 .home-cockpit-task-money{grid-column:3;grid-row:1;text-align:right;max-width:22ch}
 .home-cockpit-task>.home-cockpit-action{grid-column:4;grid-row:1;justify-self:end;width:44px;justify-content:center}
 .home-cockpit-task>.home-cockpit-action>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}
.tv-business-cockpit-route:has(.tv-home-premium)>.workspace-hero h2{font-size:36px!important}
@media(max-width:600px){.tv-business-cockpit-route:has(.tv-home-premium)>.workspace-hero h2{font-size:32px!important}}
