/* Dashboard 1.103.0 — Nexlink/Basalt-like interaction patterns in CRM blue.
   White surfaces, restrained semantic accents, never template purple. */

/* Tasks Overview: a striped segmented progress rail and an interactive donut.
   The three categories are disjoint parts of the real open-task total. */
#dashboard-view.dashboard-studio .studio-workload-chart:not([hidden]) {
  display:flex!important;flex-direction:column;gap:18px!important;
  margin:17px 0 0!important;padding:23px 25px!important;
  border:1px solid #e0e8f2!important;border-radius:20px!important;
  background:#fff!important;box-shadow:0 8px 24px rgba(14,33,102,.04);
}
#dashboard-view.dashboard-studio .studio-workload-chart__heading { gap:12px;align-items:center; }
#dashboard-view.dashboard-studio .studio-workload-heading__copy { display:grid;gap:5px; }
#dashboard-view.dashboard-studio .studio-workload-heading__copy > strong {
  color:#0e2166;font-size:20px;font-weight:800;letter-spacing:-.025em;
}
#dashboard-view.dashboard-studio .studio-workload-heading__copy > small { color:#718198;font-size:12px;font-weight:550; }
#dashboard-view.dashboard-studio .studio-workload-chart__readout {
  display:flex;align-items:baseline;gap:7px;padding:7px 11px;
  border:1px solid #e5eff9;border-radius:11px;background:#f7fbff;
}
#dashboard-view.dashboard-studio .studio-workload-chart__readout > span { color:#627891;font-size:12px;font-weight:650; }
#dashboard-view.dashboard-studio .studio-workload-chart__readout-value { color:#0b7ff0;font-size:21px; }
#dashboard-view.dashboard-studio .studio-workload-progress {
  display:flex;height:13px;width:100%;gap:3px;padding:2px;
  overflow:hidden;border:1px solid #e5ecf5;border-radius:999px;background:#edf2f8;
}
#dashboard-view.dashboard-studio .studio-workload-progress__segment {
  display:block;min-width:0;height:100%;border-radius:999px;
  background-size:auto,100% 100%;transform-origin:left;
  animation:crm-dash-progress .75s cubic-bezier(.2,.8,.2,1) both;
  transition:filter .18s ease,opacity .18s ease;
}
#dashboard-view.dashboard-studio .studio-workload-progress__segment--open {
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.23) 0 5px,transparent 5px 11px),linear-gradient(90deg,#096fd2,#50b3f3);
}
#dashboard-view.dashboard-studio .studio-workload-progress__segment--today {
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.27) 0 5px,transparent 5px 11px),linear-gradient(90deg,#d69727,#f0c265);
}
#dashboard-view.dashboard-studio .studio-workload-progress__segment--overdue {
  background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.25) 0 5px,transparent 5px 11px),linear-gradient(90deg,#ca4855,#f1878c);
}
#dashboard-view.dashboard-studio .studio-workload-chart__surface {
  display:grid;grid-template-columns:minmax(0,1fr) 176px;
  align-items:center;gap:25px;min-height:166px;
}
#dashboard-view.dashboard-studio .studio-workload-chart__selectors {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;
}
#dashboard-view.dashboard-studio .studio-workload-chart__selector {
  display:flex;align-items:center;gap:12px;min-width:0;min-height:47px;
  margin:0;padding:9px 12px!important;
  border:1px solid #e7edf5!important;border-radius:12px!important;
  background:#fbfdff!important;color:#31435b!important;text-align:left;
  transition:border-color .2s,background .2s,transform .2s,box-shadow .2s;
}
#dashboard-view.dashboard-studio .studio-workload-chart__selector:hover,
#dashboard-view.dashboard-studio .studio-workload-chart__selector:focus-visible {
  background:#f3f9ff!important;border-color:#badff9!important;
  transform:translateX(3px);box-shadow:0 5px 16px rgba(11,127,240,.065);
}
#dashboard-view.dashboard-studio .studio-workload-selector__dot {
  display:block;flex:0 0 11px;width:11px;height:11px;border-radius:3px;background:#0b7ff0;
  box-shadow:0 0 0 4px #eaf5ff;
}
#dashboard-view.dashboard-studio .studio-workload-chart__selector--today .studio-workload-selector__dot { background:#e5a53a;box-shadow:0 0 0 4px #fff5e3; }
#dashboard-view.dashboard-studio .studio-workload-chart__selector--overdue .studio-workload-selector__dot { background:#db5c67;box-shadow:0 0 0 4px #fff0f1; }
#dashboard-view.dashboard-studio .studio-workload-selector__copy { display:grid;gap:2px;min-width:0;flex:1; }
#dashboard-view.dashboard-studio .studio-workload-selector__copy strong { color:#233e5b;font-size:13px;font-weight:750;line-height:1.25; }
#dashboard-view.dashboard-studio .studio-workload-selector__copy small { color:#8a98aa;font-size:11px; }
#dashboard-view.dashboard-studio .studio-workload-selector__count { color:#0e2166;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums; }
#dashboard-view.dashboard-studio .studio-workload-selector__arrow { color:#79a7d3;font-size:16px;transition:transform .2s; }
#dashboard-view.dashboard-studio .studio-workload-chart__selector:hover .studio-workload-selector__arrow { transform:translate(2px,-2px); }
#dashboard-view.dashboard-studio .studio-workload-donut {
  display:grid;place-items:center;justify-self:center;
  width:174px;aspect-ratio:1;border-radius:50%;
  box-shadow:0 10px 29px rgba(22,90,160,.09);
  animation:studio-donut-reveal .65s ease both;
  transition:transform .25s ease,box-shadow .25s ease;
}
#dashboard-view.dashboard-studio .studio-workload-donut:hover { transform:scale(1.035);box-shadow:0 15px 32px rgba(22,90,160,.14); }
#dashboard-view.dashboard-studio .studio-workload-donut__inner {
  display:grid;place-content:center;gap:2px;width:71%;aspect-ratio:1;border-radius:50%;
  background:#fff;box-shadow:inset 0 0 0 1px #e8edf5;text-align:center;
}
#dashboard-view.dashboard-studio .studio-workload-donut__inner strong { color:#0e2166;font-size:34px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums; }
#dashboard-view.dashboard-studio .studio-workload-donut__inner small { color:#7a8799;font-size:11px;line-height:1.2; }

/* Opportunities: a real creation/amount series with time controls and a
   native month picker; all columns are focusable and describe exact values. */
#dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-business-card { grid-column:span 5!important; }
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-business-card {
  background:#fff!important;border:1px solid #e0e8f2!important;color:#243c5c!important;
  box-shadow:0 9px 25px rgba(14,33,102,.035);
}
#dashboard-view.dashboard-studio .dashboard-business-card .studio-opportunity-caption { color:#77899c; }
#dashboard-view.dashboard-studio .dashboard-business-card .studio-opportunity-gauge__inner { background:#fff;color:#0e2166; }
#dashboard-view.dashboard-studio .dashboard-business-card .studio-opportunity-gauge__inner strong { color:#0e2166; }
#dashboard-view.dashboard-studio .dashboard-business-card .studio-opportunity-gauge__inner small { color:#8292a6; }
#dashboard-view.dashboard-studio .dashboard-business-card .opportunity-stats > div {
  background:#f7fbff;border:1px solid #e3edf6;
}
#dashboard-view.dashboard-studio .dashboard-business-card .opportunity-stats dt { color:#79889b; }
#dashboard-view.dashboard-studio .dashboard-business-card .opportunity-stats dd { color:#0e2166; }
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-opportunity-trend {
  grid-column:span 7!important;display:flex;flex-direction:column;min-width:0;
  min-height:335px;padding:20px 22px 14px;
  border:1px solid #e0e8f2;border-radius:19px;background:#fff;
  box-shadow:0 9px 25px rgba(14,33,102,.035);
}
#dashboard-view.dashboard-studio .studio-trend-header { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap; }
#dashboard-view.dashboard-studio .studio-trend-heading { display:grid;gap:3px;min-width:0; }
#dashboard-view.dashboard-studio .studio-trend-eyebrow { color:#7390a9;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase; }
#dashboard-view.dashboard-studio .studio-trend-heading h3 { margin:0;color:#0e2166;font-size:20px;font-weight:800;letter-spacing:-.025em; }
#dashboard-view.dashboard-studio .studio-trend-controls { display:flex;align-items:center;gap:7px;min-width:0; }
#dashboard-view.dashboard-studio .studio-trend-tabs { display:flex;align-items:center;gap:2px;padding:4px;background:#f2f6fa;border:1px solid #edf1f6;border-radius:99px; }
#dashboard-view.dashboard-studio .studio-trend-tab {
  border:0;border-radius:99px;padding:7px 12px;background:transparent;
  color:#607188;cursor:pointer;font-size:12px;font-weight:700;line-height:1.1;white-space:nowrap;
  transition:background .2s,color .2s,box-shadow .2s;
}
#dashboard-view.dashboard-studio .studio-trend-tab[aria-pressed="true"] { background:#fff;color:#0b7ff0;box-shadow:0 1px 5px rgba(12,45,94,.1); }
#dashboard-view.dashboard-studio .studio-trend-tab:hover { color:#0b7ff0; }
#dashboard-view.dashboard-studio .studio-trend-calendar {
  display:flex;align-items:center;gap:2px;min-width:0;max-width:145px;height:38px;
  padding:3px 7px;border-radius:20px;background:#f4f7fb;border:1px solid #e8eef6;
  color:#0b7ff0;cursor:pointer;
}
#dashboard-view.dashboard-studio .studio-trend-calendar.is-selected { border-color:#c9e6fc;background:#eff8ff; }
#dashboard-view.dashboard-studio .studio-trend-calendar__icon,
#dashboard-view.dashboard-studio .studio-trend-calendar__icon.dashboard-card-icon { width:21px;height:21px;flex:0 0 21px;padding:0;border:0;background:none!important;color:#0b7ff0; }
#dashboard-view.dashboard-studio .studio-trend-calendar__icon svg { width:18px;height:18px; }
#dashboard-view.dashboard-studio .studio-trend-calendar__input {
  min-width:0;max-width:95px;width:95px;padding:0;border:0;outline:0;background:transparent;
  color:#2b4e70;font-size:11px;font-weight:700;line-height:1.2;cursor:pointer;
}
#dashboard-view.dashboard-studio .studio-trend-summary {
  display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 11px;margin:18px 0 8px;
}
#dashboard-view.dashboard-studio .studio-trend-value { color:#0e2166;font-size:clamp(25px,2.7vw,36px);font-weight:850;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums; }
#dashboard-view.dashboard-studio .studio-trend-total { color:#168664;font-size:12px;font-weight:760; }
#dashboard-view.dashboard-studio .studio-trend-period { margin-left:auto;color:#8392a7;font-size:11px;font-weight:600;text-transform:capitalize; }
#dashboard-view.dashboard-studio .studio-trend-chart {
  position:relative;display:flex;align-items:end;flex:1;min-height:150px;
  min-width:0;overflow-x:auto;overscroll-behavior-x:contain;
  scrollbar-width:thin;scrollbar-color:#d6e6f4 transparent;
}
#dashboard-view.dashboard-studio .studio-trend-plot {
  position:relative;display:grid;grid-template-columns:repeat(var(--trend-columns),minmax(13px,1fr));
  align-items:stretch;gap:4px;width:100%;min-width:calc(var(--trend-columns) * 16px);height:148px;
  padding:4px 2px 1px;background:repeating-linear-gradient(to top,#e9eef5 0 1px,transparent 1px 37px);
}
#dashboard-view.dashboard-studio .studio-trend-column {
  position:relative;display:flex;flex-direction:column;justify-content:end;align-items:center;
  min-width:0;height:100%;gap:7px;padding:0;border:0;background:transparent;cursor:pointer;
}
#dashboard-view.dashboard-studio .studio-trend-bar {
  display:block;flex:0 0 auto;width:min(100%,27px);height:var(--trend-height,0%);
  max-height:119px;min-height:0;border-radius:6px 6px 3px 3px;
  background:linear-gradient(0deg,#0b7ff0,#65b9ef);transform-origin:bottom;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32);
  animation:studio-trend-rise .55s cubic-bezier(.2,.8,.3,1) both;
  transition:filter .18s,box-shadow .18s,transform .18s;
}
#dashboard-view.dashboard-studio .studio-trend-bar.is-empty { min-height:2px;background:#dce9f5;box-shadow:none; }
#dashboard-view.dashboard-studio .studio-trend-column:hover .studio-trend-bar,
#dashboard-view.dashboard-studio .studio-trend-column:focus-visible .studio-trend-bar { filter:saturate(1.25) brightness(.96);box-shadow:0 0 0 3px #d5edff;transform:scaleX(1.08); }
#dashboard-view.dashboard-studio .studio-trend-column__label { flex:0 0 16px;color:#7e8b9f;font-size:9px;line-height:16px;font-weight:650;text-align:center;white-space:nowrap; }
#dashboard-view.dashboard-studio .studio-trend-detail { min-height:16px;margin:6px 0 0;color:#6b7d93;font-size:11px;line-height:1.35; }
#dashboard-view.dashboard-studio .studio-trend-empty { margin:auto;color:#77889c;font-size:13px;line-height:1.5; }
#dashboard-view.dashboard-studio .studio-trend-column:focus-visible { outline:2px solid #83c6f6;outline-offset:1px; }
@keyframes studio-trend-rise { from { transform:scaleY(.08);opacity:.5; } to { transform:scaleY(1);opacity:1; } }

/* White release timeline: badges carry semantics, not a colored card backdrop. */
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--changelog {
  background:#fff!important;border:1px solid #e0e8f2!important;border-radius:19px;
  box-shadow:0 8px 24px rgba(14,33,102,.032);
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header {
  background:#fff!important;border-bottom:1px solid #edf1f6!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header::after { display:none; }
#dashboard-view.dashboard-studio .studio-release-eyebrow { display:block;color:#7492ac;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__visual { background:#eaf5ff!important;color:#0b7ff0;border:1px solid #d9eaf8; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__version { background:#eaf5ff;color:#0a69b5; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item {
  min-height:117px;padding:17px;background:#fff;border:1px solid #e5edf6;
  border-radius:15px;transition:transform .2s,box-shadow .2s,border-color .2s;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item:hover { background:#fff;transform:translateY(-3px);border-color:#bcdff8;box-shadow:0 10px 24px rgba(11,127,240,.07); }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body { padding-top:19px; }
#dashboard-view.dashboard-studio .studio-changelog-badge { box-shadow:inset 0 -1px 0 rgba(255,255,255,.4); }

/* Notes become actual readable paper previews, with dates and focus states. */
#dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-quick-card--notes,
#dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-quick-card--guides { grid-column:span 6!important; }
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--notes,
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--guides { background:#fff!important;border-radius:19px; }
#dashboard-view.dashboard-studio .studio-notes-summary {
  display:flex;align-items:baseline;gap:7px;margin:2px 0 12px;color:#75869b;font-size:12px;
}
#dashboard-view.dashboard-studio .studio-notes-summary strong { color:#0e2166;font-size:26px;line-height:1;font-weight:830; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-notes-list { display:grid;gap:8px; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row.dashboard-quick-card__item {
  display:flex;align-items:flex-start;gap:11px;min-height:71px;padding:12px 13px;
  border:1px solid #e4edf6;border-left:3px solid #52adef;border-radius:12px;
  background:#fbfdff!important;text-align:left;
  transition:border-color .2s,transform .2s,background .2s,box-shadow .2s;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row:nth-child(2n) { border-left-color:#30aaa1; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row:hover,
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row:focus-visible {
  transform:translateX(3px);border-color:#b8def8;background:#f5fbff!important;
  box-shadow:0 7px 20px rgba(12,105,180,.065);
}
#dashboard-view.dashboard-studio .studio-note-row__number { color:#0b7ff0;font-size:11px;font-weight:850;letter-spacing:.02em; }
#dashboard-view.dashboard-studio .studio-note-row__paper { display:grid;gap:4px;min-width:0;flex:1; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row .dashboard-quick-card__item-title { color:#1f3552;font-size:13px;font-weight:760;line-height:1.25;overflow-wrap:anywhere; }
#dashboard-view.dashboard-studio .studio-note-row__preview { display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#697d93;font-size:11px;line-height:1.45;overflow-wrap:anywhere; }
#dashboard-view.dashboard-studio .studio-note-row__date { color:#96a5b5;font-size:10px;font-weight:700;text-transform:capitalize; }
#dashboard-view.dashboard-studio .studio-note-row__arrow { color:#91bbda;font-size:16px;transition:transform .2s; }
#dashboard-view.dashboard-studio .studio-note-row:hover .studio-note-row__arrow { transform:translate(2px,-2px); }
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile.dashboard-quick-card__item { background:#f8fbff;border-color:#e2ebf5; }
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile.dashboard-quick-card__item:hover,
#dashboard-view.dashboard-studio .dashboard-quick-card--guides .studio-guide-tile.dashboard-quick-card__item:focus-visible { background:#eff8ff;border-color:#b7ddf7;box-shadow:0 8px 22px rgba(11,127,240,.07); }
#dashboard-view.dashboard-studio .dashboard-team-kpis { background:#fff;border-color:#e0e8f2; }
#dashboard-view.dashboard-studio .dashboard-team-kpis__summary,
#dashboard-view.dashboard-studio .dashboard-team-kpis__content { background:#fff; }

@media(max-width:1050px) {
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-business-card,
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-opportunity-trend { grid-column:span 6!important; }
  #dashboard-view.dashboard-studio .studio-trend-header { gap:8px; }
  #dashboard-view.dashboard-studio .studio-trend-heading h3 { font-size:18px; }
}
@media(max-width:850px) {
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-business-card,
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-opportunity-trend { grid-column:1/-1!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list { grid-template-columns:1fr; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item { min-height:0; }
}
@media(max-width:620px) {
  #dashboard-view.dashboard-studio .studio-workload-chart:not([hidden]) { padding:19px 18px!important;gap:16px!important; }
  #dashboard-view.dashboard-studio .studio-workload-heading__copy > strong { font-size:18px; }
  #dashboard-view.dashboard-studio .studio-workload-chart__heading { flex-wrap:nowrap; }
  #dashboard-view.dashboard-studio .studio-workload-chart__readout { padding:6px 8px; }
  #dashboard-view.dashboard-studio .studio-workload-chart__readout > span { font-size:10px; }
  #dashboard-view.dashboard-studio .studio-workload-chart__readout-value { font-size:19px; }
  #dashboard-view.dashboard-studio .studio-workload-chart__surface { grid-template-columns:minmax(0,1fr);gap:13px; }
  #dashboard-view.dashboard-studio .studio-workload-donut { grid-row:1;width:min(51vw,180px); }
  #dashboard-view.dashboard-studio .studio-workload-chart__selectors { grid-row:2; }
  #dashboard-view.dashboard-studio .studio-workload-chart__selector { min-height:49px; }
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-opportunity-trend { padding:19px 16px 15px;min-height:320px; }
  #dashboard-view.dashboard-studio .studio-trend-header { flex-direction:column;align-items:stretch; }
  #dashboard-view.dashboard-studio .studio-trend-controls { justify-content:space-between; }
  #dashboard-view.dashboard-studio .studio-trend-tabs { flex:1;justify-content:space-between; }
  #dashboard-view.dashboard-studio .studio-trend-tab { padding:8px 10px;font-size:12px; }
  #dashboard-view.dashboard-studio .studio-trend-chart { min-height:152px; }
  #dashboard-view.dashboard-studio .studio-trend-value { font-size:29px; }
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-quick-card--notes,
  #dashboard-view.dashboard-studio .dashboard-section--resources .dashboard-analytics > .dashboard-quick-card--guides { grid-column:1/-1!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header { background:#fff!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list { gap:9px; }
}
@media(max-width:365px) {
  #dashboard-view.dashboard-studio .studio-workload-chart__readout { flex-direction:column;align-items:flex-end;gap:0; }
  #dashboard-view.dashboard-studio .studio-trend-controls { flex-wrap:wrap; }
  #dashboard-view.dashboard-studio .studio-trend-calendar { margin-left:auto; }
}
@media(prefers-reduced-motion:reduce) {
  #dashboard-view.dashboard-studio .studio-workload-progress__segment,
  #dashboard-view.dashboard-studio .studio-workload-donut,
  #dashboard-view.dashboard-studio .studio-trend-bar { animation:none!important; }
  #dashboard-view.dashboard-studio .studio-workload-chart__selector:hover,
  #dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row:hover,
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item:hover { transform:none; }
}

/* 1.104.0: reference-fidelity pass. CRM's legacy global `header` rule is
   intentionally avoided for new widgets; no dark header may bleed through. */
#dashboard-view.dashboard-studio,
#dashboard-view.dashboard-studio .dashboard-canvas,
#dashboard-view.dashboard-studio .dashboard-analytics { min-width:0; }
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-opportunity-trend {
  box-sizing:border-box;min-width:0;max-width:100%;overflow:hidden;
  padding:24px 25px 17px;border:1px solid #e4e9f0;
  border-radius:20px;background:#fff!important;
  box-shadow:0 8px 22px rgba(20,48,91,.035);
}
#dashboard-view.dashboard-studio .studio-trend-header {
  display:grid;grid-template-columns:minmax(0,1fr);gap:17px;
  box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  margin:0;padding:0;border:0;background:#fff!important;color:#0e2166!important;
  box-shadow:none!important;
}
#dashboard-view.dashboard-studio .studio-trend-heading { display:block;padding:0; }
#dashboard-view.dashboard-studio .studio-trend-heading h3 {
  margin:0;color:#162b43;font-size:21px;font-weight:790;line-height:1.25;
  letter-spacing:-.04em;
}
#dashboard-view.dashboard-studio .studio-trend-controls {
  display:grid;grid-template-columns:minmax(0,max-content) minmax(0,max-content);
  align-items:center;justify-content:start;gap:10px;
  width:100%;min-width:0;max-width:100%;
}
#dashboard-view.dashboard-studio .studio-trend-tabs {
  display:flex;align-items:center;justify-content:space-between;gap:2px;
  box-sizing:border-box;min-width:0;max-width:100%;padding:4px;
  border:0;border-radius:999px;background:#f1f4f8;
}
#dashboard-view.dashboard-studio .studio-trend-tab {
  padding:9px 15px;border-radius:999px;color:#63768a;
  font-size:12px;font-weight:700;letter-spacing:0;
}
#dashboard-view.dashboard-studio .studio-trend-tab[aria-pressed="true"] {
  color:#0e2166;background:#fff;box-shadow:0 2px 7px rgba(19,45,90,.09);
}
#dashboard-view.dashboard-studio .studio-trend-calendar {
  position:relative;display:flex;align-items:center;justify-content:center;gap:8px;
  box-sizing:border-box;flex:none;min-width:0;max-width:100%;width:135px;height:38px;
  padding:7px 10px;border:1px solid #dfebf5;border-radius:99px;
  background:#f7fafc;color:#225a86;cursor:pointer;
  transition:background .18s,border-color .18s;
}
#dashboard-view.dashboard-studio .studio-trend-calendar:hover,
#dashboard-view.dashboard-studio .studio-trend-calendar:focus-within {
  border-color:#87cafa;background:#eff8ff;
}
#dashboard-view.dashboard-studio .studio-trend-calendar__caption {
  min-width:0;color:#3b6686;font-size:12px;font-weight:700;
  white-space:nowrap;text-transform:capitalize;pointer-events:none;
}
#dashboard-view.dashboard-studio .studio-trend-calendar__input {
  position:absolute;inset:0;z-index:1;box-sizing:border-box;
  width:100%!important;max-width:100%!important;height:100%;
  margin:0;padding:0;opacity:.01;cursor:pointer;
}
#dashboard-view.dashboard-studio .studio-trend-summary {
  display:flex;align-items:baseline;column-gap:12px;row-gap:8px;
  margin:21px 0 12px;min-width:0;padding-bottom:13px;
  border-bottom:1px solid #edf1f5;
}
#dashboard-view.dashboard-studio .studio-trend-value { color:#0e2166;font-size:clamp(27px,3vw,38px);font-weight:820; }
#dashboard-view.dashboard-studio .studio-trend-total {
  display:inline-block;padding:4px 8px;border-radius:8px;
  background:#e9f8f1;color:#198761;font-size:11px;font-weight:770;
}
#dashboard-view.dashboard-studio .studio-trend-period { color:#8b99a9;font-size:11px; }
#dashboard-view.dashboard-studio .studio-trend-chart {
  box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  min-height:158px;overflow:hidden;
}
#dashboard-view.dashboard-studio .studio-trend-plot {
  box-sizing:border-box;min-width:0!important;width:100%;height:161px;
  grid-template-columns:repeat(var(--trend-columns),minmax(0,1fr));
  gap:clamp(9px,2vw,24px);padding:8px 4px 1px;
  background:repeating-linear-gradient(to top,#edf1f5 0 1px,transparent 1px 39px);
}
#dashboard-view.dashboard-studio .studio-trend-bar {
  width:min(100%,42px);max-height:128px;
  border-radius:8px 8px 4px 4px;
  background:linear-gradient(0deg,#0b7ff0,#4baaff);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.22);
}
#dashboard-view.dashboard-studio .studio-trend-column { gap:6px; }
#dashboard-view.dashboard-studio .studio-trend-column__label {
  font-size:11px;font-weight:680;color:#6e7f94;letter-spacing:-.015em;
}
#dashboard-view.dashboard-studio .studio-trend-detail {
  margin:10px 0 0;padding-top:10px;border-top:1px solid #f0f3f7;
  font-size:11px;color:#698098;
}
#dashboard-view.dashboard-studio .studio-trend-zero {
  display:grid;place-items:center;align-content:center;gap:8px;
  box-sizing:border-box;min-height:165px;width:100%;padding:10px 8px;
  text-align:center;
}
#dashboard-view.dashboard-studio .studio-trend-zero__graphic {
  position:relative;display:block;width:117px;height:55px;margin-bottom:2px;
  border-bottom:2px solid #d9e8f6;
  background:linear-gradient(to right,transparent 10%,#ddecfa 10% 23%,transparent 23% 39%,#bcdcf7 39% 52%,transparent 52% 68%,#e1edf8 68% 81%,transparent 81%) bottom/100% 38px no-repeat;
  opacity:.85;
}
#dashboard-view.dashboard-studio .studio-trend-zero__graphic::after {
  position:absolute;right:-9px;top:0;width:25px;height:25px;
  border:2px solid #8fcaed;border-radius:50%;content:"";
  box-shadow:8px 10px 0 -10px #0b7ff0;
}
#dashboard-view.dashboard-studio .studio-trend-zero strong { color:#28415c;font-size:13px; }
#dashboard-view.dashboard-studio .studio-trend-zero p {
  max-width:275px;margin:0;color:#8795a6;font-size:11px;line-height:1.5;
}

/* Nexlink's clean release rhythm, with Basalt's descriptive timeline. */
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--changelog {
  display:grid;grid-template-columns:minmax(175px,26%) minmax(0,1fr);
  min-width:0;padding:0!important;overflow:hidden;
  border:1px solid #e5eaf0!important;border-radius:20px;
  background:#fff!important;box-shadow:0 8px 22px rgba(20,48,91,.035);
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header {
  box-sizing:border-box;display:flex;align-items:start;flex-direction:column;justify-content:space-between;
  position:relative;gap:14px;min-width:0;grid-column:1;grid-row:1/3;
  padding:24px 20px!important;border-right:1px solid #edf0f4!important;border-bottom:0!important;
  background:#fff!important;color:#162b43!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__title { font-size:24px;color:#162b43!important; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-release-eyebrow {
  color:#8091a3;font-size:11px;letter-spacing:0;text-transform:none;font-weight:570;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__visual {
  position:static;align-self:start;width:42px;height:42px;
  background:#e9f4fe!important;color:#0b7ff0!important;border:0;border-radius:13px;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__release {
  display:grid;gap:7px;justify-items:start;margin:auto 0 0;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__version {
  padding:0;border:0;border-radius:0;background:none!important;
  color:#0e2166!important;font-size:22px;font-weight:810;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__date {
  color:#75879b;font-size:12px;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body {
  grid-column:2;grid-row:1;min-width:0;padding:23px 24px 9px!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list {
  display:grid;grid-template-columns:minmax(0,1fr);gap:0;
  margin:0;padding:0 0 0 17px;border-left:2px solid #eaf1f8;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item {
  position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:7px;
  min-height:0;padding:0 0 14px 12px!important;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;transform:none!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item:last-child { padding-bottom:3px!important; }
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item::before {
  content:""!important;position:absolute;top:4px;left:-22px;
  width:8px;height:8px;border:2px solid #fff;border-radius:50%;
  background:#0b7ff0;box-shadow:0 0 0 2px #bfe2fb;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item__text {
  color:#435d77;font-size:13px;line-height:1.55;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-badge {
  justify-self:start;width:max-content;max-width:100%;padding:3px 8px;
  border-radius:6px;font-size:10px;font-weight:780;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer {
  grid-column:2;grid-row:2;justify-content:flex-start;
  padding:6px 24px 21px!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__more {
  background:transparent!important;border:0;padding:0;color:#0b7ff0!important;
  font-weight:760;box-shadow:none;
}

/* Editorial notebook: section separators, paper motif and a useful empty state. */
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--notes {
  min-width:0;overflow:hidden;background:#fff!important;
  border:1px solid #e4eaf1!important;border-radius:20px;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .dashboard-quick-card__header {
  background:#fff!important;color:#162b43!important;padding:4px 0 12px!important;
  border-bottom:1px solid #e8edf2!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .dashboard-quick-card__title {
  color:#162b43!important;font-size:24px;font-weight:790;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .dashboard-quick-card__visual {
  background:#eaf5ff!important;color:#0b7ff0;border:0;border-radius:12px;
}
#dashboard-view.dashboard-studio .studio-notes-summary { margin:16px 0 3px;color:#8592a2; }
#dashboard-view.dashboard-studio .studio-notes-summary strong { color:#0b7ff0; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-notes-list { display:grid;gap:0;min-width:0; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row.dashboard-quick-card__item {
  gap:12px;min-height:63px;padding:13px 0!important;
  border:0!important;border-bottom:1px solid #edf1f5!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;transform:none;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row:last-child { border-bottom:0!important; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row__number {
  color:#77b5e8;font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row .dashboard-quick-card__item-title { font-size:14px; }
#dashboard-view.dashboard-studio .dashboard-quick-card--notes .studio-note-row:hover .dashboard-quick-card__item-title { color:#0b7ff0; }
#dashboard-view.dashboard-studio .studio-notes-empty {
  display:grid;place-items:center;align-content:center;gap:9px;min-height:168px;
  padding:8px 0 5px;text-align:center;
}
#dashboard-view.dashboard-studio .studio-notes-empty__paper {
  position:relative;display:block;box-sizing:border-box;width:65px;height:76px;
  margin:0 0 4px;background:repeating-linear-gradient(to bottom,#fff 0 15px,#e6eef7 16px 17px,#fff 18px 22px);
  border:1px solid #cbdfee;border-radius:6px 13px 6px 6px;
  box-shadow:5px 5px 0 #edf5fc,9px 9px 0 #f3f8fc;
  transform:rotate(-7deg);
}
#dashboard-view.dashboard-studio .studio-notes-empty__paper::before {
  content:"";position:absolute;top:-1px;right:-1px;width:19px;height:19px;
  border:1px solid #cbdfee;border-top:0;border-right:0;border-radius:0 0 0 6px;background:#eaf5ff;
}
#dashboard-view.dashboard-studio .studio-notes-empty strong { color:#1b3554;font-size:14px; }
#dashboard-view.dashboard-studio .studio-notes-empty p { max-width:245px;margin:0;color:#8292a2;font-size:12px;line-height:1.5; }
#dashboard-view.dashboard-studio .studio-notes-empty__cta { margin-top:4px;color:#0b7ff0;font-size:12px;font-weight:800; }

/* A compact week-ribbon and a typographic daily quote, not empty white blocks. */
#dashboard-view.dashboard-studio .dashboard-daily-dock { overflow:hidden; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets > .dashboard-metric-card {
  position:relative;box-sizing:border-box;justify-content:space-between;
  width:100%;min-width:0;height:100%;min-height:240px;padding:18px 20px;
  border:0;background:#fff!important;box-shadow:none!important;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date {
  justify-content:flex-start;align-items:center;gap:18px;
  margin:9px 0 13px;text-align:left;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date__day {
  color:#0b7ff0;font-size:clamp(69px,7vw,92px);font-weight:830;line-height:.85;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date__meta { justify-items:start;text-align:left; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date__weekday {
  color:#1a304a;font-size:17px;text-transform:capitalize;
}
#dashboard-view.dashboard-studio .studio-date-week {
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;
  box-sizing:border-box;width:100%;min-width:0;max-width:100%;
  padding:8px 0;border-top:1px solid #edf1f5;
}
#dashboard-view.dashboard-studio .studio-date-week__day {
  display:grid;justify-items:center;align-content:center;gap:6px;
  min-width:0;min-height:52px;border-radius:9px;
  color:#738498;line-height:1;
}
#dashboard-view.dashboard-studio .studio-date-week__day small { font-size:10px;font-weight:630; }
#dashboard-view.dashboard-studio .studio-date-week__day strong { font-size:13px;font-weight:760; }
#dashboard-view.dashboard-studio .studio-date-week__day.is-today {
  background:#0b7ff0;color:#fff;box-shadow:0 5px 12px rgba(11,127,240,.2);
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__meta {
  margin-top:0;padding:7px 0 0;border-top:1px solid #edf1f5;
  color:#8c98a6;font-size:10px;
}
#dashboard-view.dashboard-studio .studio-pill-label {
  display:block;color:#268b80;font-size:10px;font-weight:800;letter-spacing:.075em;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__pill-wrap {
  display:grid;align-content:center;justify-items:start;gap:1px;
  min-height:117px;margin:5px 0;padding:8px 2px 4px;
}
#dashboard-view.dashboard-studio .studio-pill-quote-mark { color:#0b7ff0;font-size:50px;font-weight:800;line-height:.55; }
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__pill-text {
  color:#24405d;font-size:clamp(15px,1.45vw,21px);font-weight:650;
  line-height:1.46;text-align:left;letter-spacing:-.016em;
}
#dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card--pill .dashboard-card-icon { background:#e8f7f4;color:#189780; }

/* Green means CREATE ACTIVITY, while tasks keep their CRM-blue identity. */
#dashboard-view.dashboard-studio #dashboard-new-activity.dashboard-quick-actions__btn--activity {
  background:#148961!important;border-color:#148961!important;color:#fff!important;
  box-shadow:0 7px 18px rgba(18,137,97,.16)!important;
}
#dashboard-view.dashboard-studio #dashboard-new-activity.dashboard-quick-actions__btn--activity:hover,
#dashboard-view.dashboard-studio #dashboard-new-activity.dashboard-quick-actions__btn--activity:focus-visible {
  background:#0d7453!important;border-color:#0d7453!important;
  box-shadow:0 11px 26px rgba(18,137,97,.22)!important;
}
#dashboard-view.dashboard-studio #dashboard-new-activity .dashboard-quick-actions__label { color:#fff!important; }
#dashboard-view.dashboard-studio #dashboard-new-activity .dashboard-quick-actions__icon {
  background:rgba(255,255,255,.17)!important;color:#fff!important;
}

@media(max-width:850px) {
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--changelog { grid-template-columns:minmax(0,1fr); }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header {
    grid-column:1;grid-row:1;flex-direction:row;align-items:center;gap:13px;
    padding:19px 20px 13px!important;border-right:0!important;border-bottom:1px solid #edf0f4!important;
  }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__release {
    margin:0 0 0 auto;justify-items:end;text-align:right;
  }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__visual { display:none; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body { grid-column:1;grid-row:2;padding:16px 20px 4px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer { grid-column:1;grid-row:3;padding:8px 20px 18px!important; }
}
@media(max-width:620px) {
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-opportunity-trend { padding:20px 17px 16px; }
  #dashboard-view.dashboard-studio .studio-trend-header { display:grid;gap:15px; }
  #dashboard-view.dashboard-studio .studio-trend-controls {
    grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:8px;
  }
  #dashboard-view.dashboard-studio .studio-trend-tabs { width:100%;max-width:100%; }
  #dashboard-view.dashboard-studio .studio-trend-tab { flex:1;min-width:0;padding:9px 7px;font-size:12px; }
  #dashboard-view.dashboard-studio .studio-trend-calendar { justify-self:end;max-width:100%; }
  #dashboard-view.dashboard-studio .studio-trend-summary { align-items:center;gap:8px 9px;margin-top:16px; }
  #dashboard-view.dashboard-studio .studio-trend-value { font-size:29px; }
  #dashboard-view.dashboard-studio .studio-trend-period { width:100%;margin-left:0; }
  #dashboard-view.dashboard-studio .studio-trend-plot { gap:8px; }
  #dashboard-view.dashboard-studio .studio-trend-column__label { font-size:10px; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header { padding:17px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body { padding:16px 17px 5px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer { padding:7px 17px 17px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__title { font-size:20px; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__version { font-size:18px; }
  #dashboard-view.dashboard-studio .dashboard-daily-widgets > .dashboard-metric-card { min-height:246px;padding:17px 12px; }
  #dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-date__day { font-size:68px; }
  #dashboard-view.dashboard-studio .studio-date-week__day { min-height:46px; }
  #dashboard-view.dashboard-studio .dashboard-daily-widgets .dashboard-metric-card__pill-text { font-size:16px; }
}
@media(max-width:365px) {
  #dashboard-view.dashboard-studio .studio-trend-calendar { width:125px; }
  #dashboard-view.dashboard-studio .studio-trend-calendar__caption { font-size:11px; }
  #dashboard-view.dashboard-studio .studio-trend-summary { flex-wrap:wrap; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header { flex-wrap:wrap; }
}
@media(prefers-reduced-motion:reduce) {
  #dashboard-view.dashboard-studio #dashboard-new-activity.dashboard-quick-actions__btn--activity,
  #dashboard-view.dashboard-studio .studio-trend-bar { animation:none!important;transition:none!important; }
}
