/* Dashboard 1.106.0: Nexlink's task-feed rhythm and Basalt's concise editorial
   lists, with Sfera's own colours. Layout responds to CARD WIDTH (desktop-site
   request on a phone), not merely to the viewport's media-query width. */

/* Match the green creation action exactly: one solid light-blue surface,
   one solid pictogram tile, identical dimensions, borders and hover rhythm. */
#dashboard-view.dashboard-studio #dashboard-new-task.dashboard-quick-actions__btn--task-refined {
  background:#e3f1fc!important;
  background-image:none!important;
  border-color:transparent!important;
  box-shadow:0 5px 16px rgba(26,77,133,.055)!important;
}
#dashboard-view.dashboard-studio #dashboard-new-task .dashboard-quick-actions__icon {
  background:#2479b8!important;
  background-image:none!important;
  color:#fff!important;
  width:45px;height:45px;flex-basis:45px;border-radius:12px;
  border:0!important;box-shadow:none!important;
}
#dashboard-view.dashboard-studio #dashboard-new-task.dashboard-quick-actions__btn--task-refined:hover,
#dashboard-view.dashboard-studio #dashboard-new-task.dashboard-quick-actions__btn--task-refined:focus-visible {
  background:#d8ebfa!important;background-image:none!important;
  border-color:transparent!important;
  box-shadow:0 5px 14px rgba(26,48,85,.075)!important;
  transform:none!important;
}

/* Note: asymmetric editorial notebook, not another column of bordered pills.
   Featured note is a ruled folio; secondary notes are compact index entries. */
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--notes.studio-notebook {
  box-sizing:border-box;display:flex!important;flex-direction:column;gap:0;
  min-width:0;min-height:350px;padding:22px 23px 19px!important;
  overflow:hidden;border:1px solid #e2eaf3!important;border-radius:18px;
  background:#fff!important;box-shadow:0 8px 25px rgba(20,48,91,.04);
  container-type:inline-size;
}
#dashboard-view.dashboard-studio .studio-notebook .dashboard-quick-card__header {
  display:flex;align-items:start;justify-content:space-between;gap:12px;
  margin:0 0 18px!important;padding:0 0 14px!important;
  border:0!important;border-bottom:1px solid #eaf0f5!important;
  background:#fff!important;color:#0e2166!important;
}
#dashboard-view.dashboard-studio .studio-notebook .dashboard-quick-card__header::after { display:none!important; }
#dashboard-view.dashboard-studio .studio-notebook .dashboard-quick-card__header > div:first-child {
  display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;min-width:0;
}
#dashboard-view.dashboard-studio .studio-notebook .dashboard-quick-card__title {
  margin:0!important;color:#0e2166!important;font-size:24px;font-weight:800;
  letter-spacing:-.045em;
}
#dashboard-view.dashboard-studio .studio-notebook .dashboard-quick-card__visual {
  flex:0 0 34px;width:34px;height:34px;background:#edf7ff!important;
  border:0!important;border-radius:9px;color:#0b7ff0!important;
}
#dashboard-view.dashboard-studio .studio-notebook-count {
  display:inline-flex;align-items:baseline;gap:4px;
  color:#6b7f95;font-size:12px;white-space:nowrap;
}
#dashboard-view.dashboard-studio .studio-notebook-count strong {
  color:#0b7ff0;font-size:17px;font-weight:820;font-variant-numeric:tabular-nums;
}
#dashboard-view.dashboard-studio .studio-notebook-board {
  display:grid!important;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr);
  align-items:stretch;gap:12px;flex:1;min-height:0;min-width:0;
  margin:0!important;padding:0!important;border:0!important;background:none!important;
}
#dashboard-view.dashboard-studio .studio-notebook-feature {
  position:relative;isolation:isolate;display:flex;flex-direction:column;
  justify-content:space-between;align-items:stretch;gap:15px;
  min-width:0;min-height:225px;width:100%;margin:0;padding:19px 18px 16px 23px;
  border:1px solid #dcebf7;border-left:3px solid #0b7ff0;
  border-radius:10px;background:#f7fbff!important;
  color:#0e2166;text-align:left;cursor:pointer;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
#dashboard-view.dashboard-studio .studio-notebook-feature::before {
  content:"";position:absolute;z-index:-1;inset:47px 13px 40px 15px;
  background:repeating-linear-gradient(to bottom,transparent 0 31px,rgba(86,150,199,.13) 31px 32px);
  pointer-events:none;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__top,
#dashboard-view.dashboard-studio .studio-notebook-feature__foot {
  display:flex;justify-content:space-between;align-items:center;gap:9px;min-width:0;
  font-size:10px;font-weight:760;letter-spacing:.065em;color:#7a8da2;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__top span:last-child {
  font-weight:630;letter-spacing:0;white-space:nowrap;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__content {
  display:grid;align-content:start;gap:13px;min-width:0;flex:1;padding-top:4px;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__content strong {
  display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  color:#0e2166;font-size:clamp(19px,2.2vw,24px);font-weight:800;
  line-height:1.22;letter-spacing:-.035em;overflow-wrap:anywhere;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__content > span {
  display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  color:#637e96;font-size:12px;line-height:1.6;overflow-wrap:anywhere;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__foot {
  letter-spacing:0;color:#0b7ff0;font-size:11px;font-weight:780;
}
#dashboard-view.dashboard-studio .studio-notebook-feature__arrow {
  display:grid;place-items:center;width:29px;height:29px;
  border:1px solid #d0e6fa;border-radius:50%;background:#fff;
  color:#0b7ff0;font-size:17px;transition:transform .2s ease;
}
#dashboard-view.dashboard-studio .studio-notebook-feature:hover,
#dashboard-view.dashboard-studio .studio-notebook-feature:focus-visible {
  background:#ecf7ff!important;border-color:#b9ddf5;border-left-color:#0b7ff0;
  transform:translateY(-2px);outline-offset:2px;
}
#dashboard-view.dashboard-studio .studio-notebook-feature:hover .studio-notebook-feature__arrow { transform:translate(2px,-2px); }
#dashboard-view.dashboard-studio .studio-notebook-shelf {
  display:flex;flex-direction:column;align-self:stretch;min-width:0;
  padding:1px 0;
}
#dashboard-view.dashboard-studio .studio-notebook-shelf__label {
  display:block;padding:0 0 7px;color:#8999ac;font-size:10px;
  font-weight:830;letter-spacing:.1em;
}
#dashboard-view.dashboard-studio .studio-notebook-mini {
  display:grid;grid-template-columns:22px minmax(0,1fr) 16px;
  align-items:center;gap:7px;flex:1;min-width:0;
  width:100%;min-height:54px;padding:11px 2px;border:0;
  border-bottom:1px solid #e8eff5;border-radius:0;background:transparent!important;
  color:#0e2166;text-align:left;cursor:pointer;
  transition:background-color .18s ease,color .18s ease;
}
#dashboard-view.dashboard-studio .studio-notebook-mini:last-child { border-bottom:0; }
#dashboard-view.dashboard-studio .studio-notebook-mini__index {
  align-self:start;color:#9eb3c7;font-size:11px;font-weight:800;
  font-variant-numeric:tabular-nums;
}
#dashboard-view.dashboard-studio .studio-notebook-mini__copy { display:grid;gap:4px;min-width:0; }
#dashboard-view.dashboard-studio .studio-notebook-mini__copy strong {
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#1c3a60;font-size:12px;font-weight:770;
}
#dashboard-view.dashboard-studio .studio-notebook-mini__copy small {
  color:#8b9caf;font-size:10px;font-weight:590;
}
#dashboard-view.dashboard-studio .studio-notebook-mini__arrow {
  color:#72a9cf;font-size:14px;transition:transform .17s ease;
}
#dashboard-view.dashboard-studio .studio-notebook-mini:hover,
#dashboard-view.dashboard-studio .studio-notebook-mini:focus-visible { background:#f4faff!important; }
#dashboard-view.dashboard-studio .studio-notebook-mini:hover .studio-notebook-mini__arrow { transform:translate(2px,-2px); }
#dashboard-view.dashboard-studio .studio-notebook-more {
  align-self:flex-end;display:inline-flex;justify-content:flex-end;
  margin-top:14px!important;padding:5px 0 0!important;
  border:0!important;background:none!important;color:#0b7ff0!important;
  font-size:12px;font-weight:780;box-shadow:none!important;
}
#dashboard-view.dashboard-studio .studio-notebook-empty {
  grid-column:1/-1;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:9px;min-height:220px;text-align:center;
  border:1px solid #e5eef7;border-radius:12px;background:#f8fbff;
}
#dashboard-view.dashboard-studio .studio-notebook-empty__paper {
  width:45px;height:52px;border:1px solid #bedbf0;border-left:4px solid #0b7ff0;
  border-radius:5px;background:repeating-linear-gradient(#fff 0 11px,#deedf7 12px 13px);
  box-shadow:3px 4px 0 #e4f1fb;transform:rotate(-4deg);
}
#dashboard-view.dashboard-studio .studio-notebook-empty strong { font-size:16px;color:#0e2166; }
#dashboard-view.dashboard-studio .studio-notebook-empty p { max-width:240px;margin:0;color:#748aa0;font-size:12px; }
#dashboard-view.dashboard-studio .studio-notebook-empty .studio-notes-empty__cta { color:#0b7ff0;font-size:12px;font-weight:730; }

/* Changelog: no permanent 190px sidebar. Stacked release ribbon and full-width
   updates remain legible even inside a 50%-width card in desktop-site mode. */
#dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--changelog {
  box-sizing:border-box;display:flex!important;flex-direction:column!important;
  min-width:0;max-width:100%;height:auto;min-height:0;
  gap:0!important;overflow:hidden;container-type:inline-size;
  grid-template-columns:none!important;grid-template-rows:none!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog::before {
  height:3px;background:#0b7ff0;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header {
  display:flex!important;flex-direction:row!important;align-items:start!important;
  justify-content:space-between!important;flex-wrap:wrap!important;
  gap:11px 16px!important;width:100%;min-width:0;
  margin:0!important;padding:24px 23px 15px!important;
  border:0!important;background:#fff!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header > div:first-child {
  display:grid;gap:5px;min-width:0;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__release {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  justify-items:end!important;align-self:start!important;
  text-align:right!important;min-width:0;margin:0!important;gap:2px!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__version {
  font-size:clamp(22px,2.3vw,28px)!important;line-height:1.1;
}
#dashboard-view.dashboard-studio .studio-changelog-tally {
  display:flex!important;flex-direction:column;gap:9px;
  width:100%;min-width:0;margin:0!important;padding:0 23px 13px!important;
  border:0!important;
}
#dashboard-view.dashboard-studio .studio-changelog-tally__labels {
  justify-content:flex-start;gap:18px;font-size:11px;font-weight:760;
}
#dashboard-view.dashboard-studio .studio-changelog-tally__track {
  width:100%;max-width:100%;height:6px;border-radius:4px;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body {
  display:block!important;min-width:0;max-width:100%;width:100%;
  margin:0!important;padding:0 23px 0!important;border:0!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;min-width:0;width:100%;margin:0;padding:0!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item {
  display:grid!important;grid-template-columns:23px auto minmax(0,1fr)!important;
  grid-template-rows:auto!important;align-items:start;
  gap:10px!important;min-width:0;width:100%;margin:0;
  padding:14px 0!important;border:0!important;
  border-bottom:1px solid #eaf0f5!important;background:#fff!important;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item__index {
  grid-column:1!important;grid-row:1!important;font-size:13px;line-height:1.7;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-badge {
  grid-column:2!important;grid-row:1!important;margin-top:1px;
  white-space:nowrap;font-size:10px;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item__text {
  grid-column:3!important;grid-row:1!important;min-width:0;
  color:#456078;font-size:12px;line-height:1.52;overflow-wrap:break-word;
}
#dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer {
  display:flex!important;align-items:center!important;justify-content:flex-end!important;
  width:100%;margin-top:auto!important;padding:13px 23px 19px!important;
}

@container (max-width:420px) {
  #dashboard-view.dashboard-studio .studio-notebook-board {
    grid-template-columns:minmax(0,1fr)!important;
  }
  #dashboard-view.dashboard-studio .studio-notebook-feature { min-height:175px; }
  #dashboard-view.dashboard-studio .studio-notebook-shelf { gap:0; }
  #dashboard-view.dashboard-studio .studio-notebook-mini { min-height:48px; }
  #dashboard-view.dashboard-studio .studio-notebook-feature__content strong { font-size:21px; }
}
@container (max-width:460px) {
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__list .studio-changelog-item {
    grid-template-columns:23px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    row-gap:4px!important;
  }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item__index {
    grid-column:1!important;grid-row:1/3!important;
  }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-badge {
    grid-column:2!important;grid-row:1!important;justify-self:start;
  }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-item__text {
    grid-column:2!important;grid-row:2!important;
  }
}
@media (max-width:620px) {
  #dashboard-view.dashboard-studio .dashboard-analytics > .dashboard-quick-card--notes.studio-notebook { padding:19px 17px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .dashboard-quick-card__header { padding:21px 17px 13px!important; }
  #dashboard-view.dashboard-studio .studio-changelog-tally { padding:0 17px 12px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-body { padding:0 17px!important; }
  #dashboard-view.dashboard-studio .dashboard-quick-card--changelog .studio-changelog-footer { padding:13px 17px 17px!important; }
}
@media(prefers-reduced-motion:reduce) {
  #dashboard-view.dashboard-studio .studio-notebook-feature,
  #dashboard-view.dashboard-studio .studio-notebook-mini,
  #dashboard-view.dashboard-studio .studio-notebook-feature__arrow { transition:none!important; }
}
