/*
 * Fit and finish (v9.49), on top of the existing look. Loaded last on the
 * CRM and the portal. Colours and layout are unchanged. Five fixes:
 *  1. the CRM menu is compact enough that the whole of it fits on screen;
 *  2. the dashboard headline takes less room above the figures;
 *  3. small labels are larger, so they can be read;
 *  4. amounts use the page's own typeface with even-width digits, not a
 *     typewriter face;
 *  5. pipeline cards are shorter, so more deals fit on screen.
 */

/* 1. Menu */
.workspace-v2.crm-shell .nav-item{min-height:32px!important;padding:5px 12px!important;margin:1px 0!important;font-size:13px!important;gap:10px!important}
.workspace-v2.crm-shell .workspace-nav-glyph{width:24px!important;height:24px!important}
.workspace-v2.crm-shell .nav-group-label{padding:10px 12px 4px!important;font-size:10px!important}
.workspace-v2.crm-shell .brand{padding-top:18px!important;padding-bottom:14px!important}
.workspace-v2.crm-shell .workspace-nav-identity{margin-top:4px!important;margin-bottom:4px!important;padding-top:9px!important;padding-bottom:9px!important}

/* 2. Dashboard headline */
.workspace-v2 .workspace-intro{min-height:0!important;padding-top:4px!important;padding-bottom:18px!important}
.workspace-v2 .workspace-intro h2{font-size:30px!important;line-height:1.15!important;margin:6px 0 4px!important}
.workspace-v2 .workspace-intro h2 br{display:none}
.workspace-v2 .workspace-intro p{font-size:13px!important;margin-top:4px!important}
.workspace-v2.crm-shell .topbar{flex-shrink:0!important;min-height:0!important;padding-top:16px!important;padding-bottom:12px!important}

/* 3. Readable labels */
.workspace-v2 .topbar-sub{font-size:13px!important}
.workspace-v2 .topbar .workspace-eyebrow,.workspace-v2 .workspace-eyebrow{font-size:10.5px!important}
.workspace-v2 .kpi .label{font-size:12.5px!important}
.workspace-v2 .kpi .delta,.workspace-v2 .insight-metric p,.workspace-v2 .insight-metric-top{font-size:12px!important}
.workspace-v2 .insight-card-head p,.workspace-v2 .insight-head p,.workspace-v2 .insight-footnote{font-size:12px!important}
.workspace-v2 .insight-overline{font-size:10.5px!important}
.workspace-v2 table th{font-size:11.5px!important}
.workspace-v2 table td{font-size:13px!important}
.workspace-v2 .kcard .co,.workspace-v2 .kcard .meta{font-size:12px!important}
.workspace-v2.portal-shell .portal-navigation .tab{font-size:12.5px!important}
.workspace-v2.portal-shell .portal-view-heading p{font-size:13px!important}

/* 4. Amounts */
body.workspace-v2{--f-mono:var(--f-body)}
.workspace-v2 .mono,.workspace-v2 td.mono{font-family:var(--f-body)!important;font-variant-numeric:tabular-nums;letter-spacing:0!important}

/* 5. Pipeline cards */
.workspace-v2 .kcard{padding:11px 13px!important;margin-bottom:8px!important}
.workspace-v2 .kcard .name{font-size:13.5px!important}
.workspace-v2 .kcard .co{margin-top:1px!important}
.workspace-v2 .kcard .meta{margin-top:8px!important}
.workspace-v2 .kanban-col{padding:10px!important}
.workspace-v2 table td.mono{white-space:nowrap}
