/* CRMTeam — Pulse. Presentation only; retains existing forms and permissions. */
:root{--brand:#2859d6;--ink:#162334;--muted:#617185;--line:#e3e9f0;background:#f4f6fa;color:var(--ink)}
.layout.pulse-layout{grid-template-columns:220px minmax(0,1fr)}
.pulse-layout .sidebar{width:220px;padding:24px 14px;overflow-y:auto}
.pulse-layout .logo{font-size:20px;padding:0 9px}.pulse-layout .workspace{margin:18px 4px}.pulse-layout .nav{gap:3px}.pulse-layout .nav button{padding:11px 10px;min-height:42px;flex-shrink:0}.pulse-layout .nav button svg{flex-shrink:0}.pulse-layout .nav button.active{background:#eaf0ff;color:var(--brand)}.pulse-layout .sidebar-bottom{padding-top:22px}.pulse-layout .side-note{margin:12px 8px}.pulse-layout .account{padding-top:14px}
.pulse-layout .main{grid-column:2}.pulse-layout .topbar{background:#fff;padding:0 28px}.pulse-layout .content{padding:28px;max-width:1500px}.pulse-layout .heading{margin-bottom:22px}.pulse-layout h1{font-size:28px}.pulse-layout .panel,.pulse-layout .metric{border-radius:16px}.pulse-layout .btn{border-radius:10px}.pulse-layout .panel-head p,.pulse-layout .metric small{font-size:12px;color:var(--muted)}.pulse-layout .metric-title{font-size:12px}.pulse-layout .tabs{flex-wrap:wrap}.pulse-layout .table-scroll{overscroll-behavior-x:contain}
.pulse-toggle{margin:20px 0 4px}.pulse-toggle .btn{width:100%;border:0;background:#f4f6fa;font-size:12px}.pulse-menu-button,.pulse-mobile-close,.pulse-backdrop{display:none}
.pulse-layout.pulse-collapsed{grid-template-columns:68px minmax(0,1fr)}.pulse-collapsed .sidebar{width:68px;padding:24px 8px}.pulse-collapsed .logo{padding:0;justify-content:center}.pulse-collapsed .logo-name,.pulse-collapsed .workspace,.pulse-collapsed .nav-label,.pulse-collapsed .nav button>span,.pulse-collapsed .side-note,.pulse-collapsed .account>div:not(.avatar){display:none}.pulse-collapsed .nav button{justify-content:center;padding:12px 8px}.pulse-collapsed .nav{margin-top:14px}.pulse-collapsed .account{justify-content:center;padding:12px 0 0}
.pulse-period{display:grid;gap:5px}.pulse-period small{font-size:11px;color:var(--muted)}.date-range{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.date-range .btn[aria-pressed=true]{color:var(--brand);background:#eaf0ff;border-color:#b9cbf8}.filters{align-items:end;flex-wrap:wrap}.pulse-calendar{max-width:390px;margin:auto}.pulse-month{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;text-transform:capitalize}.pulse-month .btn{font-size:22px;min-width:38px;padding:4px 12px}.pulse-weekdays,.pulse-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.pulse-weekdays{text-align:center;color:var(--muted);font-size:12px;margin-bottom:8px}.pulse-day{border:0;border-radius:9px;background:#fff;color:var(--ink);min-height:40px;min-width:0;padding:8px 0}.pulse-day:hover{background:#eef2ff}.pulse-day.between{background:#eaf0ff;color:var(--brand)}.pulse-day.edge{background:var(--brand);color:#fff}.pulse-day[aria-current=date]{text-decoration:underline;text-underline-offset:4px}.pulse-calendar-error{color:#b23333;font-size:13px}
.pulse-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pulse-metric{font:inherit;display:block;text-align:left;color:var(--ink);width:100%;cursor:pointer}.pulse-metric .metric-title>svg{height:15px;width:15px;color:var(--muted)}.pulse-metric .metric-value{font-size:27px;margin:12px 0 9px}.pulse-metric:first-child{background:#eaf0ff;border-color:#eaf0ff}.pulse-metric:first-child .metric-value{color:var(--brand)}.pulse-metric:hover{border-color:#a9bff3}.pulse-metric small{line-height:1.6;display:block}
.pulse-chart-row{padding:15px 0;border-bottom:1px solid var(--line)}.pulse-chart-row:last-child{border:0}.pulse-chart-row>.link-btn{margin-bottom:10px;text-align:left;white-space:normal}.pulse-series{display:grid;grid-template-columns:60px minmax(20px,1fr) 100px;gap:8px;align-items:center;margin:7px 0;font-size:11px}.pulse-series span{color:var(--muted)}.pulse-series b{text-align:right;font-weight:500;font-variant-numeric:tabular-nums}.pulse-series progress,.pulse-cost progress{appearance:none;width:100%;height:8px;border:0;border-radius:8px;background:#f0f3f8;overflow:hidden}.pulse-series progress::-webkit-progress-bar,.pulse-cost progress::-webkit-progress-bar{background:#f0f3f8}.pulse-series progress::-webkit-progress-value,.pulse-cost progress::-webkit-progress-value{background:var(--brand);border-radius:8px}.pulse-series progress::-moz-progress-bar,.pulse-cost progress::-moz-progress-bar{background:var(--brand)}.pulse-series.costs progress::-webkit-progress-value{background:#97a6bd}.pulse-series.costs progress::-moz-progress-bar{background:#97a6bd}.pulse-cost{margin:16px 0 22px}.pulse-cost>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:10px}.pulse-cost b{font-weight:550;font-variant-numeric:tabular-nums}
@media(max-width:1100px){.pulse-layout .content{padding:24px}.pulse-metric .metric-value{font-size:23px}.pulse-charts{grid-template-columns:1fr}.pulse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.layout.pulse-layout,.layout.pulse-layout.pulse-collapsed{display:block;min-height:100vh}.pulse-layout .main{display:block}.pulse-layout .sidebar{display:none}.pulse-layout .mobile-nav{display:none}.pulse-layout .mobile-brand{display:none}.pulse-layout .topbar{padding:12px 16px;height:auto;min-height:64px}.pulse-layout .content{padding:20px 16px 35px}.pulse-menu-button{display:inline-flex}.pulse-layout .breadcrumb{display:none}.pulse-mobile-open .sidebar,.pulse-mobile-open.pulse-collapsed .sidebar{display:flex;position:fixed;inset:0 auto 0 0;width:260px;max-width:calc(100vw - 40px);z-index:40;background:#fff;padding:20px 14px;overflow:auto}.pulse-mobile-open .pulse-backdrop{display:block;position:fixed;inset:0;width:100%;height:100%;background:#12213766;border:0;z-index:35}.pulse-mobile-open .pulse-mobile-close{display:block;margin:18px 0}.pulse-mobile-open .pulse-toggle{display:none}.pulse-mobile-open .logo-name,.pulse-mobile-open .nav button>span,.pulse-mobile-open .nav-label,.pulse-mobile-open .side-note,.pulse-mobile-open .account>div:not(.avatar){display:block}.pulse-mobile-open .workspace{display:flex}.pulse-mobile-open .logo,.pulse-mobile-open .nav button,.pulse-mobile-open .account{justify-content:flex-start}.pulse-mobile-open .nav{margin-top:0}.pulse-layout .filters{align-items:stretch}.pulse-layout .date-range{width:100%}.pulse-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pulse-metric{padding:16px}.pulse-layout .dashboard-grid{grid-template-columns:1fr}.pulse-layout .heading{flex-wrap:wrap}.pulse-period{width:100%}.pulse-period .btn{justify-content:space-between}.pulse-layout .top-right .connection{display:none}}
@media(max-width:380px){.pulse-metrics{grid-template-columns:1fr}.pulse-layout .panel-head{padding:18px 16px}.pulse-layout .panel-body{padding:0 16px 18px}.pulse-series{grid-template-columns:52px minmax(12px,1fr) 90px;gap:5px}}
@media(pointer:coarse){.pulse-day{min-height:44px}.pulse-layout .nav button,.pulse-menu-button,.date-range .btn{min-height:44px}}
@media(prefers-reduced-motion:no-preference){.pulse-layout .btn,.pulse-metric{transition:background-color .15s,border-color .15s}}
