/* Sfera Dashboard — light editorial treatment inspired by the supplied
   Nexlink/Basalt references. Only presentation changes: all CRM data and
   navigation continue to come from the existing dashboard runtime. */
#dashboard-view.dashboard-studio {
  --ref-ink:#1A2638;
  --ref-muted:#777A8E;
  --ref-purple:#6546D7;
  --ref-purple-deep:#583BC8;
  --ref-lilac:#A99BE5;
  --ref-border:#E9E8F1;
  --ref-shadow:0 12px 32px rgba(45,37,84,.045),0 2px 7px rgba(45,37,84,.018);
  color:var(--ref-ink);
  background:#F8F7FC;
  padding:0 0 36px;
  font-family:"Instrument Sans","Open Sans",system-ui,sans-serif;
}

/* A quiet, white navigation bar accompanies the light dashboard, without
   changing the navigation on the other CRM modules. */
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar {
  background:#FFF!important;
  color:var(--studio-ink)!important;
  border-bottom:1px solid #ECEAF3!important;
  box-shadow:0 2px 14px rgba(35,29,74,.025)!important;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar .portal-topbar__menu-bars {
  background:#29364B!important;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #collaboration-bell {
  background:#FFF!important;
  color:#29364B!important;
  border-color:#ECEAF3!important;
  border-radius:13px;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #account-menu-toggle.account-toggle {
  color:#24314A!important;
  background:#FFF!important;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #account-menu-toggle .account-toggle__avatar {
  background:#EEE8FC!important;
  color:#6546D7!important;
  border:1px solid #E4DAFA;
  transform:none;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar #account-menu-toggle .account-toggle__name {
  transform:none;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-content {
  background:#F8F7FC;
}
#signed-in.app-shell:has(#dashboard-view:not([hidden])) .app-topbar .portal-topbar__logo img {
  filter:brightness(.25) saturate(.9);
}

/* The reference uses independent white cards on a pearl canvas. */
#dashboard-view.dashboard-studio .dashboard-canvas {
  width:calc(100% - 40px);max-width:1660px;
  padding:26px 0;margin:0 auto;
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
  gap:20px;align-items:start;
  background:transparent!important;border:0!important;
  border-radius:0;box-shadow:none!important;
}
#dashboard-view.dashboard-studio .dashboard-canvas > .dashboard-workspace {
  grid-column:span 8;min-height:0;
}
#dashboard-view.dashboard-studio .dashboard-canvas > .dashboard-daily-dock {
  grid-column:span 4;
}
#dashboard-view.dashboard-studio .dashboard-canvas > .dashboard-section--portfolio {
  grid-column:1/-1;
}
#dashboard-view.dashboard-studio .dashboard-welcome {
  padding:2px 0 7px!important;min-height:60px;
  border:0!important;
}
#dashboard-view.dashboard-studio .dashboard-welcome h1 {
  font-size:clamp(28px,2.6vw,40px)!important;
  color:#1A2638;font-weight:760;letter-spacing:-.05em;
}
#dashboard-view.dashboard-studio #dashboard-guide,
#dashboard-view.dashboard-studio #dashboard-refresh {
  height:40px;min-height:40px;max-height:40px;
  padding:0 17px;border:1px solid #E7E4EF;
  border-radius:12px;background:#FFF;color:#443B68;
  box-shadow:var(--ref-shadow);font-weight:680;
}
#dashboard-view.dashboard-studio #dashboard-refresh {
  color:#FFF;background:var(--ref-purple);border-color:var(--ref-purple);
}
#dashboard-view.dashboard-studio .dashboard-welcome__actions > button:hover {
  border-color:#A99AE7;box-shadow:0 8px 18px rgba(89,64,181,.13);
}
#dashboard-view.dashboard-studio .dashboard-section-heading h2,
#dashboard-view.dashboard-studio .dashboard-section-heading--inverse h2 {
  color:#1B293B;font-size:clamp(20px,1.7vw,25px);
  font-weight:740;letter-spacing:-.035em;
}
#dashboard-view.dashboard-studio .dashboard-section-heading { margin-bottom:14px; }
#dashboard-view.dashboard-studio .dashboard-quick-actions__btn,
#dashboard-view.dashboard-studio #dashboard-new-task.dashboard-quick-actions__btn--task-refined,
#dashboard-view.dashboard-studio #dashboard-new-activity.dashboard-quick-actions__btn--activity {
  background:#FFF!important;border:1px solid var(--ref-border)!important;
  border-radius:18px;box-shadow:var(--ref-shadow)!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-actions__icon,
#dashboard-view.dashboard-studio #dashboard-new-task .dashboard-quick-actions__icon,
#dashboard-view.dashboard-studio #dashboard-new-activity .dashboard-quick-actions__icon {
  background:#6B4ADB!important;color:#FFF;
}
#dashboard-view.dashboard-studio .dashboard-quick-actions__label { color:#443270; }
#dashboard-view.dashboard-studio .dashboard-quick-actions__btn:hover,
#dashboard-view.dashboard-studio .dashboard-quick-actions__btn:focus-visible {
  border-color:#CBBFF3!important;box-shadow:0 11px 24px rgba(92,64,178,.09)!important;
}
#dashboard-view.dashboard-studio .dashboard-section-heading__index,
#dashboard-view.dashboard-studio .dashboard-section-heading--inverse .dashboard-section-heading__index {
  color:#8A829E;
}

/* Top KPI cards stand alone rather than nesting in a giant navy gradient. */
#dashboard-view.dashboard-studio .dashboard-workspace {
  padding:0;border:0;border-radius:0;
  background:transparent;box-shadow:none;color:var(--ref-ink);
  overflow:visible;
}
#dashboard-view.dashboard-studio .dashboard-workspace::before,
#dashboard-view.dashboard-studio .dashboard-workspace::after { display:none; }
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-widgets {
  grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card,
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--open,
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--overdue,
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--activities {
  min-height:164px;padding:21px 18px;gap:13px;
  background:#FFF;border:1px solid var(--ref-border);
  border-radius:21px;box-shadow:var(--ref-shadow);
  color:var(--ref-ink);transition:border-color .2s,box-shadow .2s,translate .2s;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--open { min-height:164px; }
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--activities {
  display:grid;min-height:102px;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card__eyebrow {
  color:#837B96;letter-spacing:0;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card__title {
  color:var(--ref-ink);font-size:15px;font-weight:700;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card__value,
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--open .dashboard-metric-card__value {
  color:#202B3D;font-size:clamp(36px,3.2vw,55px);letter-spacing:-.055em;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--overdue .dashboard-metric-card__value {
  color:#E04E65;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card__hint,
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card__meta,
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card--activities .dashboard-metric-card__meta {
  color:var(--ref-muted);font-size:12px;
}
#dashboard-view.dashboard-studio .dashboard-workspace .dashboard-card-icon {
  border:0;border-radius:13px;background:#F0ECFC;color:#6248CD;
}
#dashboard-view.dashboard-studio .dashboard-workspace button.dashboard-metric-card:hover:not(:disabled),
#dashboard-view.dashboard-studio .dashboard-workspace button.dashboard-metric-card:focus-visible {
  background:#FFF;border-color:#CFC4F3;
  box-shadow:0 14px 32px rgba(72,48,144,.085);
}
#dashboard-view.dashboard-studio .dashboard-workspace button.dashboard-metric-card:hover .dashboard-card-icon,
#dashboard-view.dashboard-studio .dashboard-workspace button.dashboard-metric-card:focus-visible .dashboard-card-icon {
  background:#E9E1FF;
}

/* Genuine operational values, rendered as the lavender line chart from the
   references; this is not a fabricated month-by-month historical series. */
#dashboard-view.dashboard-studio .studio-workload-chart:not([hidden]) {
  margin-top:14px;padding:22px 23px 17px;
  border:1px solid var(--ref-border);border-radius:21px;
  background:#FFF;box-shadow:var(--ref-shadow);
}
#dashboard-view.dashboard-studio .studio-workload-chart__heading > strong { color:#202B3D;font-size:17px; }
#dashboard-view.dashboard-studio .studio-workload-chart__readout-value { color:var(--ref-purple); }
#dashboard-view.dashboard-studio .studio-workload-chart__readout-label { color:#89839A; }
#dashboard-view.dashboard-studio .studio-workload-chart__grid { stroke:#EEEAF7; }
#dashboard-view.dashboard-studio .studio-workload-chart__area { fill:#F0EDFC;opacity:.85; }
#dashboard-view.dashboard-studio .studio-workload-chart__line { stroke:#6650CC; }
#dashboard-view.dashboard-studio .studio-workload-chart__marker { stroke:#FFF;fill:#9D87EC; }
#dashboard-view.dashboard-studio .studio-workload-chart__marker.is-active { stroke:#E1DAFC;fill:#6249D1; }
#dashboard-view.dashboard-studio .studio-workload-chart__selector {
  color:#78758E;background:#F9F8FD;
}
#dashboard-view.dashboard-studio .studio-workload-chart__selector:hover,
#dashboard-view.dashboard-studio .studio-workload-chart__selector[aria-pressed="true"] {
  color:#5435B9;background:#EFEAFB;border-color:#E3DAFA;
}

/* One daily card, with a calm 3-second calendar / insight carousel. */
#dashboard-view.dashboard-studio .dashboard-daily-dock {
  display:flex;flex-direction:column;min-height:300px;
  padding:17px;border:1px solid var(--ref-border);
  border-radius:22px;background:#FFF;box-shadow:var(--ref-shadow);
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets {
  display:block;flex:1;min-height:0;height:auto;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets > .dashboard-metric-card,
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card--date,
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card--pill {
  width:100%;height:100%;min-height:245px;margin:0;padding:18px 15px;
  background:#FFF;border:0;border-radius:16px;box-shadow:none;
  transition:none;translate:none;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets > .dashboard-metric-card[hidden] { display:none!important; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__title { color:#202B3D;font-size:20px; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__eyebrow { color:#9186A3; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-card-icon,
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card--pill .dashboard-card-icon {
  background:#F0EBFE;color:#674CD3;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date__day { color:#6043D3;font-size:clamp(55px,5vw,84px); }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date__weekday { color:#242B3D; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__pill-text { color:#3D3458;font-size:16px; }
#dashboard-view.dashboard-studio .studio-daily-controls {
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:13px 4px 2px;border-top:1px solid #EEECF5;
}
#dashboard-view.dashboard-studio .studio-daily-controls__tabs { display:flex;gap:7px;min-width:0; }
#dashboard-view.dashboard-studio .studio-daily-controls__tab {
  min-width:0;padding:8px 10px;border:1px solid transparent;border-radius:99px;
  background:transparent;color:#817D90;font-family:inherit;font-size:12px;
  font-weight:650;line-height:1.2;
  cursor:pointer;
}
#dashboard-view.dashboard-studio .studio-daily-controls__tab[aria-pressed="true"] {
  color:#5B3FC7;background:#EEE9FC;border-color:#E5DDFC;
}
#dashboard-view.dashboard-studio .studio-daily-controls__arrow {
  flex:0 0 32px;width:32px;height:32px;padding:0;
  border:1px solid #E6E1F2;border-radius:11px;
  background:#FFF;color:#664BD1;font-size:24px;line-height:1;cursor:pointer;
}
#dashboard-view.dashboard-studio .studio-daily-controls__arrow:hover { background:#F4F0FE; }
#dashboard-view.dashboard-studio .studio-daily-controls button:focus-visible {
  outline:3px solid #BAA8F4;outline-offset:2px;
}

/* Portfolio: white business card, the two real counters and their donut. */
#dashboard-view.dashboard-studio .dashboard-section--portfolio {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,34%);
  grid-template-rows:auto 1fr;align-items:center;gap:12px 23px;
  min-height:295px;padding:25px 27px;
  border:1px solid var(--ref-border);border-radius:23px;
  background:#FFF;box-shadow:var(--ref-shadow);
}
#dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-section-heading {
  grid-column:1/-1;margin:0;
}
#dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-section-heading h2 { font-size:23px; }
#dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-counters {
  grid-column:1;grid-row:2;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
}
#dashboard-view.dashboard-studio .dashboard-section--portfolio .counter-card,
#dashboard-view.dashboard-studio .dashboard-section--portfolio .counter-card--leads {
  min-height:156px;padding:18px;border:1px solid #EEEBF5;
  border-radius:17px;background:#FBFAFE;box-shadow:none;
}
#dashboard-view.dashboard-studio .dashboard-section--portfolio .counter-card__eyebrow { color:#747184;font-size:14px; }
#dashboard-view.dashboard-studio .dashboard-section--portfolio .counter-card__value { color:#202B3D;font-size:clamp(36px,3.1vw,55px); }
#dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-card-icon { background:#EEE8FD;color:#6247CD; }
#dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-portfolio-comparison {
  grid-column:2;grid-row:2;
  display:grid;grid-template-columns:auto minmax(0,1fr);
  align-items:center;justify-items:center;gap:17px;
  width:100%;max-width:none;margin:0;padding:0;
}
#dashboard-view.dashboard-studio .studio-portfolio-donut {
  width:clamp(125px,11vw,165px);
  background:conic-gradient(#6245D5 0 var(--studio-company-share),#A99BE5 var(--studio-company-share) 100%);
  box-shadow:0 10px 20px rgba(92,65,180,.09);
}
#dashboard-view.dashboard-studio .studio-portfolio-donut::before { background:#FFF; }
#dashboard-view.dashboard-studio .studio-portfolio-donut__amount { color:#241A45; }
#dashboard-view.dashboard-studio .studio-portfolio-donut__caption { color:#77718C; }
#dashboard-view.dashboard-studio .studio-portfolio-donut__legend {
  grid-template-columns:1fr;gap:7px;max-width:190px;
}
#dashboard-view.dashboard-studio .studio-portfolio-donut__category {
  background:#FBFAFE;border:1px solid #EEEAF7;border-radius:13px;
}
#dashboard-view.dashboard-studio .studio-portfolio-donut__category-name::before { background:#6245D5; }
#dashboard-view.dashboard-studio .studio-portfolio-donut__category--leads .studio-portfolio-donut__category-name::before { background:#A99BE5; }
#dashboard-view.dashboard-studio .studio-portfolio-donut__category:hover,
#dashboard-view.dashboard-studio .studio-portfolio-donut__category[aria-pressed="true"] {
  border-color:#C5BAF1;background:#F4F0FE;
}

/* Resource cards follow the same typographic and surface grammar. */
#dashboard-view.dashboard-studio .dashboard-section--resources { padding:2px 0 0; }
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card,
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--notes,
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--guides,
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--changelog,
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-business-card {
  background:#FFF;border:1px solid var(--ref-border);
  border-radius:22px;box-shadow:var(--ref-shadow);
  color:var(--ref-ink);
}
#dashboard-view.dashboard-studio .dashboard-quick-card__title,
#dashboard-view.dashboard-studio .dashboard-business-card .insight-card__title { color:#1F293B!important; }
#dashboard-view.dashboard-studio .dashboard-quick-card__eyebrow,
#dashboard-view.dashboard-studio .dashboard-business-card .insight-card__eyebrow { color:#827A92; }
#dashboard-view.dashboard-studio .dashboard-quick-card__visual,
#dashboard-view.dashboard-studio .studio-opportunity-mark { background:#F1EDFD;border:0;color:#694BD6; }
#dashboard-view.dashboard-studio .dashboard-business-card .insight-card__subtitle { color:#777389!important; }
#dashboard-view.dashboard-studio .studio-opportunity-number { color:#221B40; }
#dashboard-view.dashboard-studio .studio-opportunity-caption { color:#80778C; }
#dashboard-view.dashboard-studio .studio-opportunity-gauge {
  background:conic-gradient(#6848DB var(--studio-gauge-current),#EAE4F7 var(--studio-gauge-current));
  box-shadow:none;
}
#dashboard-view.dashboard-studio .studio-opportunity-gauge__inner { background:#FFF;color:#31244F; }
#dashboard-view.dashboard-studio .studio-opportunity-gauge__inner small { color:#78728D; }
#dashboard-view.dashboard-studio .dashboard-business-card .dashboard-opportunity-progress { background:#EBE6F6; }
#dashboard-view.dashboard-studio .dashboard-opportunity-progress > span { background:#6848DB; }
#dashboard-view.dashboard-studio .dashboard-business-card .opportunity-stats > div {
  background:#FBFAFE;border:1px solid #EEEAF7;
}
#dashboard-view.dashboard-studio .dashboard-business-card .opportunity-stats dt { color:#79738D; }
#dashboard-view.dashboard-studio .dashboard-business-card .opportunity-stats dd { color:#30234E; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row .dashboard-quick-card__item-title { color:#2B2941; }
#dashboard-view.dashboard-studio .studio-note-row__number { color:#8C79CF; }
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile.dashboard-quick-card__item {
  border-color:#E9E4F4;background:#FAF8FE;
}
#dashboard-view.dashboard-studio .studio-guide-tile__number,
#dashboard-view.dashboard-studio .studio-guide-tile .dashboard-quick-card__item-title,
#dashboard-view.dashboard-studio .studio-guide-tile__launch { color:#6245C7; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header {
  background:#F3EFFD;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__title { color:#241B45; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__visual {
  background:#E9E0FB;border:0;color:#684AD1;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__version {
  background:#E1D6F9;color:#5537B5;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__date { color:#81768F; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list li { color:#5A536B; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list li::before {
  background:#694BDB;box-shadow:0 0 0 4px #EEE7FC;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__more {
  background:#EEE8FB;color:#5940B9;
}
#dashboard-view.dashboard-studio .dashboard-team-kpis {
  background:#FFF;border-color:var(--ref-border);box-shadow:var(--ref-shadow);
}
#dashboard-view.dashboard-studio .dashboard-team-kpis__summary { background:#FFF; }
#dashboard-view.dashboard-studio .dashboard-team-kpis__heading::before { background:#6848DB; }
#dashboard-view.dashboard-studio .dashboard-team-kpis__content { background:#FBFAFE; }

/* The screenshot references show spacious, single-column cards on phones. */
@media(max-width:1150px) {
  #dashboard-view.dashboard-studio .dashboard-canvas > .dashboard-workspace { grid-column:span 7; }
  #dashboard-view.dashboard-studio .dashboard-canvas > .dashboard-daily-dock { grid-column:span 5; }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-portfolio-comparison {
    grid-template-columns:auto minmax(0,1fr);
  }
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-widget { grid-column:span 6!important; }
}
@media(max-width:850px) {
  #dashboard-view.dashboard-studio .dashboard-canvas { width:calc(100% - 26px);padding:18px 0;gap:17px; }
  #dashboard-view.dashboard-studio .dashboard-canvas > :is(.dashboard-workspace,.dashboard-daily-dock,.dashboard-section--portfolio) { grid-column:1/-1; }
  #dashboard-view.dashboard-studio .dashboard-daily-dock { min-height:0; }
  #dashboard-view.dashboard-studio .dashboard-daily-widgets > .dashboard-metric-card { min-height:230px; }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio { grid-template-columns:minmax(0,1fr) minmax(220px,40%); }
}
@media(max-width:620px) {
  #dashboard-view.dashboard-studio .dashboard-canvas { width:calc(100% - 24px);padding:16px 0;gap:17px; }
  #dashboard-view.dashboard-studio .dashboard-welcome { align-items:center; }
  #dashboard-view.dashboard-studio .dashboard-welcome h1 { font-size:29px!important; }
  #dashboard-view.dashboard-studio .dashboard-workspace .dashboard-widgets {
    grid-template-columns:1fr;gap:13px;
  }
  #dashboard-view.dashboard-studio .dashboard-workspace .dashboard-widgets > .dashboard-widget,
  #dashboard-view.dashboard-studio .dashboard-workspace .dashboard-widgets > .dashboard-metric-card--open,
  #dashboard-view.dashboard-studio .dashboard-workspace .dashboard-widgets > .dashboard-metric-card--activities {
    grid-column:1/-1!important;
  }
  #dashboard-view.dashboard-studio .dashboard-workspace .dashboard-metric-card {
    min-height:165px;
  }
  #dashboard-view.dashboard-studio .studio-workload-chart:not([hidden]) { padding:19px 15px 15px; }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio {
    display:flex;flex-direction:column;align-items:stretch;
    padding:22px 19px;gap:18px;
  }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-counters {
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio .counter-card { min-height:136px;padding:14px; }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio .counter-card__value { font-size:34px; }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-portfolio-comparison {
    display:grid;grid-template-columns:1fr;gap:14px;
  }
  #dashboard-view.dashboard-studio .studio-portfolio-donut { width:170px; }
  #dashboard-view.dashboard-studio .studio-portfolio-donut__legend {
    grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;
  }
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card,
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-business-card { padding:20px; }
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-widget {
    grid-column:1/-1!important;
  }
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-quick-card--changelog {
    grid-column:1/-1!important;padding:0;
  }
}
@media(max-width:360px) {
  #dashboard-view.dashboard-studio .studio-daily-controls__tab { padding:7px 5px;font-size:11px; }
  #dashboard-view.dashboard-studio .dashboard-section--portfolio .dashboard-counters { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  #dashboard-view.dashboard-studio .studio-portfolio-donut,
  #dashboard-view.dashboard-studio .studio-workload-chart__line,
  #dashboard-view.dashboard-studio .studio-workload-chart__area { animation:none!important; }
}
