.to-global-shell[data-workspace="today"] {
  --today-canvas: #f1f6f4;
  --today-surface-primary: #ffffff;
  --today-surface-secondary: #f7faf8;
  --today-surface-raised: #fcfffd;
  --today-surface-interactive: #edf7f1;
  --today-surface-attention: #fff8e8;
  --today-accent: #0b8f4d;
  --today-accent-deep: #075e39;
  --today-ink: #101815;
  --today-muted: #66766e;
  --today-hairline: #e2eae5;
  background: var(--today-canvas);
}

[data-to-theme="dark"] .to-global-shell[data-workspace="today"] {
  --today-canvas: #111714;
  --today-surface-primary: #19211d;
  --today-surface-secondary: #202a25;
  --today-surface-raised: #1d2822;
  --today-surface-interactive: #21382c;
  --today-surface-attention: #332b18;
  --today-accent: #59ca83;
  --today-accent-deep: #9ce3b5;
  --today-ink: #f3f8f5;
  --today-muted: #a8b7af;
  --today-hairline: #304039;
}

.to-global-shell[data-workspace="today"] .to-shell-main {
  padding-block: 1rem 2.5rem;
  background: var(--today-canvas);
}

.to-today {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20.75rem;
  grid-template-areas:
    "hero hero"
    "kpis schedule"
    "pulse schedule"
    "decisions attention"
    "signals signals"
    "status status";
  gap: 1rem;
  min-width: 0;
  color: var(--today-ink);
}

.to-today-hero {
  grid-area: hero;
  min-height: 6.125rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, .72fr);
  align-items: center;
  gap: 2.25rem;
  padding: .125rem .625rem .375rem;
}
.to-today-hero__field { display: none; pointer-events: none; }
.to-today-ai-title-icon { width: 1.4rem; height: 1.5rem; margin-right: .5rem; vertical-align: -.22rem; }
.to-today-hero__copy { min-width: 0; }
.to-today-hero h1 {
  max-width: 58rem;
  margin: 0;
  color: var(--today-ink);
  font-size: clamp(2.25rem, 3.15vw, 3rem);
  font-weight: 650;
  line-height: .98;
  letter-spacing: -.055em;
}
.to-today-eyebrow {
  margin: 0 0 .45rem;
  color: var(--today-accent);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.to-today-hero__lead {
  margin: .45rem 0 0;
  color: #718296;
  font-size: 1.08rem;
  line-height: 1.25;
}
[data-to-theme="dark"] .to-today-hero__lead { color: var(--today-muted); }
.to-today-hero__aside {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.to-today-hero__manifesto {
  min-width: 18rem;
  display: grid;
  padding-left: 1.25rem;
  border-left: 2px solid var(--today-accent);
  color: #294d45;
  line-height: 1.24;
}
.to-today-hero__manifesto strong { font-size: .98rem; font-weight: 550; }
.to-today-hero__manifesto span { font-size: .94rem; }
.to-today-hero__manifesto small { margin-top: .28rem; color: #7b8d86; }
[data-to-theme="dark"] .to-today-hero__manifesto { color: #d7e8df; }
.to-today-hero__aside > .to-badge {
  min-height: 1.5rem;
  border: 0;
  background: color-mix(in srgb, var(--to-state-ai-bg) 72%, transparent);
  font-size: .68rem;
  opacity: .76;
}

.to-today-block {
  min-width: 0;
  padding: 1rem 1.125rem;
  border: 0;
  border-radius: 1rem;
  background: var(--today-surface-primary);
}
.to-today-block__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .75rem;
}
.to-today-block__header h2 {
  margin: 0;
  color: var(--today-ink);
  font-size: 1.32rem;
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.to-today-block__header p {
  max-width: 42rem;
  margin: .22rem 0 0;
  color: var(--today-muted);
  font-size: .76rem;
}
.to-today-block--pulse {
  grid-area: pulse;
  background: var(--today-surface-raised);
  box-shadow: 0 1px 0 rgb(13 59 37 / 4%), 0 12px 34px rgb(18 62 42 / 8%);
}
.to-today-block--kpis { grid-area: kpis; }
.to-today-block--decisions {
  grid-area: decisions;
  background: var(--today-surface-primary);
  box-shadow: 0 10px 28px rgb(18 62 42 / 6%);
}
.to-today-block--attention {
  grid-area: attention;
  background: var(--today-surface-raised);
  box-shadow: 0 12px 30px rgb(18 62 42 / 7%);
}
.to-today-block--schedule {
  grid-area: schedule;
  background: var(--today-surface-primary);
  box-shadow: 0 12px 32px rgb(18 62 42 / 7%);
}
.to-today-block--signals { grid-area: signals; background: var(--today-surface-secondary); }
.to-today-action-status { grid-area: status; min-height: 1.5rem; margin: 0; color: var(--to-state-ai-text); font-size: .75rem; }

.to-today-state {
  min-height: 7rem;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .5rem;
  padding: 1.25rem;
  border: 1px dashed var(--today-hairline);
  border-radius: .75rem;
  color: var(--today-muted);
  background: var(--today-surface-secondary);
}
.to-today-state strong { color: var(--today-ink); }
.to-today-state--loading { animation: to-today-pulse-loading 1.2s var(--to-ease-standard) infinite alternate; }
.to-today-state--error { color: var(--to-state-critical-text); background: var(--to-state-critical-bg); border-color: var(--to-state-critical-text); }
@keyframes to-today-pulse-loading { to { opacity: .62; } }

.to-today-pulse {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12.75rem;
  gap: 1rem;
}
.to-today-pulse__plot {
  position: relative;
  min-width: 0;
  padding: .35rem .55rem .1rem 0;
}
.to-today-pulse__metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.75rem;
  margin-bottom: .25rem;
}
.to-today-pulse__metric strong { color: #365247; font-size: .78rem; font-weight: 650; }
.to-today-pulse__metric span { color: var(--today-muted); font-size: .7rem; }
.to-today-pulse__chart { display: block; width: 100%; height: 12.25rem; overflow: visible; }
.to-today-pulse__grid { stroke: var(--today-hairline); stroke-width: 1; vector-effect: non-scaling-stroke; }
.to-today-pulse__area { fill: color-mix(in srgb, var(--today-accent) 12%, transparent); }
.to-today-pulse__line { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.to-today-pulse__line--fact { stroke: var(--today-accent-deep); stroke-width: 3; }
.to-today-pulse__line--plan { stroke: #eba900; stroke-width: 1.8; }
.to-today-pulse__line--forecast { stroke: #49a879; stroke-width: 1.5; stroke-dasharray: 6 5; }
.to-today-pulse__point { fill: var(--today-accent); stroke: var(--today-surface-raised); stroke-width: 3; vector-effect: non-scaling-stroke; }
.to-today-pulse__axis { display: flex; justify-content: space-between; gap: 1rem; padding-left: 1rem; color: #75869a; font-size: .66rem; }
.to-today-pulse__callout {
  position: absolute;
  top: 1.35rem;
  right: 1.25rem;
  display: grid;
  min-width: 7.5rem;
  padding: .55rem .7rem;
  border-radius: .65rem;
  color: #fff;
  background: #0b5e3a;
  box-shadow: 0 8px 18px rgb(11 94 58 / 20%);
}
.to-today-pulse__callout span { font-size: .64rem; opacity: .72; }
.to-today-pulse__callout strong { font-size: .86rem; font-weight: 650; }
.to-today-pulse__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: .25rem; color: var(--today-muted); font-size: .7rem; }
.to-today-pulse__legend span { display: inline-flex; align-items: center; gap: .45rem; }
.to-today-pulse__legend span::before { content: ""; width: 1.5rem; height: .13rem; border-radius: 99px; background: var(--to-state-neutral-text); }
.to-today-pulse__legend [data-series="fact"]::before { background: var(--today-accent-deep); }
.to-today-pulse__legend [data-series="plan"]::before { background: #eba900; }
.to-today-pulse__legend [data-series="forecast"]::before { height: 1px; background: #49a879; }
.to-today-pulse__summary {
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: .65rem 0 0 1rem;
  border-left: 1px solid var(--today-hairline);
}
.to-today-pulse__completion { display: flex; align-items: center; gap: .7rem; }
.to-today-pulse__completion > div { display: grid; }
.to-today-pulse__completion strong { font-size: 1.4rem; line-height: 1; letter-spacing: -.04em; }
.to-today-pulse__completion span { max-width: 5.5rem; margin-top: .18rem; color: var(--today-muted); font-size: .68rem; line-height: 1.2; }
.to-today-pulse__ring { width: 4.4rem; height: 4.4rem; transform: rotate(-90deg); }
.to-today-pulse__ring-track, .to-today-pulse__ring-value { fill: none; stroke-width: 8; }
.to-today-pulse__ring-track { stroke: var(--today-hairline); }
.to-today-pulse__ring-value { stroke: var(--today-accent); stroke-linecap: round; }
.to-today-pulse__summary > p { margin: 0; color: var(--today-muted); font-size: .72rem; line-height: 1.35; }
.to-today-pulse__summary dl { display: grid; gap: .35rem; margin: 0; padding-top: .2rem; }
.to-today-pulse__summary dl > div { display: flex; justify-content: space-between; gap: .6rem; }
.to-today-pulse__summary dt { color: var(--today-muted); font-size: .72rem; }
.to-today-pulse__summary dd { margin: 0; text-align: right; font-size: .76rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.to-today-pulse__summary .to-today-provenance { display: none; }

.to-today-pulse--unavailable .to-today-pulse__plot {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 17.75rem;
}
.to-today-pulse__empty {
  min-height: 11rem;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .45rem;
  margin: .55rem 0 .25rem;
  border: 1px dashed var(--today-hairline);
  border-radius: .75rem;
  color: var(--today-muted);
  background:
    linear-gradient(var(--today-hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--today-hairline) 1px, transparent 1px),
    var(--today-surface-secondary);
  background-size: 100% 25%, 20% 100%, auto;
}
.to-today-pulse__empty .to-icon { width: 1.5rem; height: 1.5rem; color: var(--today-accent); }
.to-today-pulse__empty strong { color: var(--today-ink); font-size: .82rem; }
.to-today-pulse__empty span { max-width: 23rem; text-align: center; font-size: .7rem; line-height: 1.35; }
.to-today-pulse__empty-ring {
  width: 7.75rem;
  height: 7.75rem;
  display: grid;
  place-items: center;
  margin: 0 auto .15rem;
  border: .8rem solid var(--today-hairline);
  border-radius: 50%;
  color: var(--today-muted);
  font-size: 1.65rem;
  font-weight: 650;
}
.to-today-pulse--unavailable .to-today-pulse__summary > strong {
  text-align: center;
  color: var(--today-muted);
  font-size: .72rem;
}

.to-today-block--kpis {
  height: 7rem;
  padding: 0;
  overflow: hidden;
  background: var(--today-surface-primary);
  box-shadow: 0 10px 28px rgb(18 62 42 / 6%);
}
.to-today-block--kpis .to-today-block__header { display: none; }
.to-today-block--kpis > div:last-child { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.to-today-block--kpis .to-card {
  height: 7rem;
  min-height: 7rem;
  display: grid;
  grid-template-columns: 2.8rem minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "icon label" "icon value" "icon delta";
  align-content: center;
  column-gap: .8rem;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.to-today-block--kpis .to-card + .to-card { box-shadow: inset 1px 0 var(--today-hairline); }
.to-today-kpi__icon {
  grid-area: icon;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  align-self: center;
  border-radius: 50%;
  color: var(--today-accent);
  background: var(--today-surface-interactive);
}
.to-today-kpi__glyph { display: block; width: 2.125rem; height: 2.125rem; object-fit: contain; }
.to-today-block--kpis .to-card__meta:first-of-type { grid-area: label; color: #3f5064; font-size: .72rem; }
.to-today-block--kpis .to-kpi__value { grid-area: value; margin: .12rem 0; color: var(--today-ink); font-size: 1.42rem; font-weight: 650; letter-spacing: -.035em; }
.to-today-block--kpis .to-kpi__delta { grid-area: delta; color: var(--today-accent-deep); font-size: .69rem; font-weight: 650; }
.to-today-block--kpis .to-kpi__delta[data-direction="down"] { color: var(--to-state-critical-text); }
.to-today-block--kpis .to-kpi__delta + .to-card__meta,
.to-today-block--kpis .to-card > .to-card__meta:last-of-type,
.to-today-block--kpis .to-today-provenance { display: none; }

.to-today-block--decisions > div:last-child { display: grid; gap: .55rem; }
.to-today-block--decisions .to-card {
  min-height: 5.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: .75rem;
  padding: .7rem .75rem;
  border: 0;
  border-radius: .75rem;
  background: var(--today-surface-secondary);
  box-shadow: none;
}
.to-today-block--decisions .to-card:nth-child(2) { background: var(--today-surface-interactive); }
.to-today-block--decisions .to-card__header { min-width: 0; align-items: center; }
.to-today-block--decisions .to-card__title { font-size: .86rem; }
.to-today-block--decisions .to-card__meta { margin-top: .2rem; font-size: .68rem; }
.to-today-block--decisions .to-card__header > .to-badge { display: none; }
.to-today-block--decisions .to-approval__comparison {
  display: flex;
  gap: .35rem;
  margin: 0;
  color: var(--today-muted);
  font-size: .65rem;
}
.to-today-block--decisions .to-approval__value { max-width: 9.5rem; padding: .4rem .5rem; background: var(--today-surface-primary); }
.to-today-block--decisions .to-row { flex-wrap: nowrap; justify-content: flex-end; gap: .35rem; }
.to-today-block--decisions .to-button { min-height: 2.75rem; padding-inline: .65rem; font-size: .7rem; }
.to-today-block--decisions .to-ai-proposal { border-left: 0; }
.to-today-block--decisions .to-ai-proposal__confidence { margin: 0; color: var(--today-accent-deep); font-size: .7rem; }
.to-today-block--decisions .to-today-provenance { display: none; }

.to-today-schedule__content { display: grid; gap: .65rem; }
.to-today-schedule { list-style: none; margin: 0; padding: .2rem 0 0; }
.to-today-schedule__item {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem .75rem minmax(0, 1fr);
  gap: .45rem;
  padding-bottom: 1.05rem;
}
.to-today-schedule__item::before { content: ""; position: absolute; left: 2.96rem; top: .9rem; bottom: 0; width: 1px; background: #cbded3; }
.to-today-schedule__item:last-child::before { display: none; }
.to-today-schedule__item time { color: #607690; font-size: .68rem; font-variant-numeric: tabular-nums; }
.to-today-schedule__marker { width: .6rem; height: .6rem; margin-top: .18rem; border-radius: 50%; background: var(--today-accent); box-shadow: 0 0 0 4px var(--today-surface-interactive); }
.to-today-schedule__item:nth-child(2) .to-today-schedule__marker { background: #2778da; box-shadow: 0 0 0 4px #edf4fe; }
.to-today-schedule__item:nth-child(3) .to-today-schedule__marker { background: #8e9dae; box-shadow: 0 0 0 4px #f0f3f5; }
.to-today-schedule__item strong { display: block; color: var(--today-ink); font-size: .78rem; line-height: 1.2; }
.to-today-schedule__item span:not(.to-today-schedule__marker) { display: block; margin-top: .12rem; color: #607690; font-size: .68rem; }
.to-today-schedule__item p { margin: .2rem 0 0; color: var(--today-muted); font-size: .66rem; line-height: 1.25; }
.to-today-schedule__content > .to-button {
  width: 100%;
  color: var(--today-accent-deep);
  border-color: color-mix(in srgb, var(--today-accent) 30%, transparent);
  background: transparent;
}
.to-today-schedule__content > .to-today-provenance { display: none; }

.to-today-block--attention > div:last-child { display: grid; gap: .55rem; }
.to-today-block--attention .to-notification {
  grid-template-columns: 2.35rem minmax(0,1fr);
  align-items: center;
  gap: .65rem;
  padding: .7rem;
  border: 0;
  border-radius: .75rem;
  color: var(--today-ink);
  background: var(--today-surface-secondary);
  box-shadow: none;
}
.to-today-block--attention .to-notification[data-tone="critical"] { background: color-mix(in srgb, var(--to-state-critical-bg) 70%, var(--today-surface-primary)); }
.to-today-block--attention .to-notification[data-tone="attention"] { background: var(--today-surface-attention); }
.to-today-block--attention .to-notification > .to-badge {
  width: 2.35rem;
  height: 2.35rem;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  font-size: 0;
}
.to-today-block--attention .to-notification > .to-badge .to-badge__dot { width: .65rem; height: .65rem; }
.to-today-block--attention .to-notification__content strong { display: block; font-size: .76rem; line-height: 1.25; }
.to-today-block--attention .to-card__meta { margin-top: .2rem; font-size: .67rem; line-height: 1.3; }
.to-today-block--attention .to-button { min-height: 2.75rem; padding-inline: .55rem; font-size: .68rem; }
.to-today-block--attention .to-notification > .to-button { grid-column: 2; justify-self: start; margin-top: -.2rem; }
.to-today-block--attention .to-notification[data-requires-action="true"],
.to-today-block--attention .to-notification[data-unread="true"] { box-shadow: none; }
.to-today-block--attention .to-today-provenance { display: none; }

.to-today-signals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.to-today-signals .to-card { display: grid; align-content: start; gap: .75rem; padding: 1rem; border: 0; background: var(--today-surface-primary); box-shadow: none; }
.to-today-signals .to-row { margin-top: auto; }
.to-today-signals .to-button { width: 100%; }

.to-today-provenance { margin-top: .75rem; color: var(--today-muted); font-size: .7rem; }
.to-today-provenance summary { min-height: 2.75rem; display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.to-today-provenance summary::marker { color: var(--today-muted); }
.to-today-provenance dl { display: grid; gap: .25rem; margin: .5rem 0 0; padding: .75rem; border-radius: .625rem; background: var(--today-surface-secondary); }
.to-today-provenance dl > div { display: grid; grid-template-columns: 6rem minmax(0,1fr); gap: .5rem; }
.to-today-provenance dt { color: var(--today-muted); }
.to-today-provenance dd { min-width: 0; margin: 0; overflow-wrap: anywhere; color: var(--today-ink); }

@media (min-width: 80.0625rem) {
  .to-today {
    grid-template-areas: "hero hero" "kpis ." "pulse ." "decisions ." "signals signals" "status status";
  }
  .to-today-block--pulse { height: 22.125rem; overflow: hidden; }
  .to-today-block--decisions { height: 15.625rem; overflow: hidden; }
  .to-today-block--schedule { position: absolute; top: 7.125rem; right: 0; width: 20.75rem; height: 25.3125rem; overflow: hidden; }
  .to-today-block--attention { position: absolute; top: 33.625rem; right: 0; width: 20.75rem; height: 21.25rem; overflow: hidden; }
  .to-today-block--signals, .to-today-action-status { display: none; }
}

@media (max-width: 80rem) {
  .to-today { grid-template-columns: minmax(0, 1fr) minmax(18rem, .55fr); }
  .to-today-hero { grid-template-columns: minmax(0, 1fr) minmax(18rem, .6fr); }
  .to-today-pulse { grid-template-columns: minmax(0, 1fr) 11rem; }
  .to-today-block--kpis { height: auto; }
  .to-today-block--kpis > div:last-child { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .to-today-block--kpis .to-card:nth-child(3) { box-shadow: inset 0 1px var(--today-hairline); }
  .to-today-block--kpis .to-card:nth-child(4) { box-shadow: inset 1px 1px var(--today-hairline); }
  .to-today-block--decisions .to-card { grid-template-columns: 1fr; }
  .to-today-block--decisions .to-row { justify-content: flex-start; flex-wrap: wrap; }
  .to-today-signals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 64rem) {
  .to-today { grid-template-columns: minmax(0, 1fr) minmax(16rem, .6fr); }
  .to-today-hero { grid-template-columns: 1fr; gap: .75rem; }
  .to-today-hero__aside { justify-content: flex-start; }
  .to-today-pulse { grid-template-columns: 1fr; }
  .to-today-pulse__summary { grid-template-columns: auto minmax(0, 1fr); padding: .8rem 0 0; border-top: 1px solid var(--today-hairline); border-left: 0; }
  .to-today-pulse__summary dl { grid-column: 1 / -1; }
  .to-today-signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  .to-global-shell[data-workspace="today"] .to-shell-main { padding: .75rem; }
  .to-today {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "hero"
      "attention"
      "decisions"
      "schedule"
      "kpis"
      "pulse"
      "signals"
      "status";
    gap: .8rem;
  }
  .to-today-hero { min-height: auto; padding: .75rem .35rem 1rem; }
  .to-today-hero h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .to-today-hero__lead { font-size: .88rem; }
  .to-today-hero__manifesto { min-width: 0; padding-left: .8rem; }
  .to-today-hero__manifesto strong, .to-today-hero__manifesto span { font-size: .78rem; }
  .to-today-block { padding: 1rem; border-radius: .9rem; }
  .to-today-block--attention { background: var(--today-surface-raised); }
  .to-today-block--kpis { padding: 0; }
  .to-today-block--kpis > div:last-child { grid-template-columns: 1fr; }
  .to-today-block--kpis .to-card + .to-card { box-shadow: inset 0 1px var(--today-hairline); }
  .to-today-block--kpis .to-card { height: 5.7rem; min-height: 5.7rem; grid-template-columns: 2.55rem minmax(0, 1fr); }
  .to-today-kpi__icon { width: 2.55rem; height: 2.55rem; }
  .to-today-pulse__chart { height: 10.5rem; }
  .to-today-pulse__callout { top: 1.2rem; right: .75rem; min-width: 6.5rem; }
  .to-today-signals { grid-template-columns: 1fr; }
}

/* VF3-B owner correction #1: literal REF-HOME-01 surface pass. */
.to-shell-reference-footer { display: none; }

@media (min-width: 80.0625rem) {
  .to-global-shell[data-workspace="today"] .to-shell-main {
    height: calc(100vh - 72px);
    min-height: 952px;
    padding-bottom: 0;
    overflow: hidden;
    background:
      radial-gradient(ellipse 520px 210px at 78% 4%, rgb(48 177 108 / 9%), transparent 72%),
      linear-gradient(115deg, #f8fbfa 0%, #f4f9f7 72%, #f8fbfa 100%);
  }

  .to-global-shell[data-workspace="today"] .to-shell-sidebar {
    padding-inline: 7px;
    background: #061f1d;
  }
  .to-global-shell[data-workspace="today"] .to-shell-brand,
  .to-global-shell[data-workspace="today"] .to-shell-brand > div,
  .to-global-shell[data-workspace="today"] .to-shell-wordmark { width: 142px; overflow: visible; }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark::before {
    content: "torenaOS";
    font-size: 25px;
    letter-spacing: -.065em;
  }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark::after {
    content: "OS";
    font-size: 15px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar__lower {
    position: relative;
    min-height: 230px;
    padding: 0 14px 0;
  }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer {
    display: grid;
    gap: 10px;
    color: rgb(255 255 255 / 78%);
    font-size: 10px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer p {
    width: 112px;
    margin: 0 0 34px;
    color: #fff;
    font-size: 12px;
    line-height: 1.38;
  }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer p::after {
    content: "";
    display: block;
    width: 24px;
    height: 2px;
    margin-top: 14px;
    background: #a4f225;
  }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer span {
    padding-left: 23px;
    color: rgb(255 255 255 / 78%);
  }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer small {
    margin-top: 2px;
    color: rgb(255 255 255 / 46%);
    font-size: 8px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-profile-compact {
    position: absolute;
    left: 14px;
    right: 8px;
    bottom: 76px;
  }

  .to-global-shell[data-workspace="today"] .to-shell-topbar {
    box-shadow: 0 1px 0 #edf1f4;
  }
  .to-global-shell[data-workspace="today"] .to-shell-quick-search.to-button {
    padding-inline: 13px;
    box-shadow: inset 0 1px 2px rgb(47 78 104 / 3%);
  }
  .to-shell-today-weather span,
  .to-shell-today-clock span { letter-spacing: -.01em; }

  .to-today {
    color: #0e1420;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .to-today-hero {
    padding-left: 10px;
    background:
      radial-gradient(ellipse 380px 105px at 72% 60%, rgb(62 181 112 / 7%), transparent 72%);
  }
  .to-today-hero__field {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 711px;
    width: 610px;
    height: 126px;
    display: block;
    object-fit: fill;
  }
  .to-today-hero > *:not(.to-today-hero__field) { position: relative; z-index: 1; }
  .to-today-hero h1 {
    font-size: 43px;
    font-weight: 680;
    letter-spacing: -.047em;
  }
  .to-today-hero__lead { font-size: 18px; letter-spacing: -.018em; }
  .to-today-hero__brand-card {
    border: 0;
    background: rgb(255 255 255 / 88%);
    box-shadow: 0 12px 32px rgb(35 89 61 / 7%);
  }

  .to-today-block {
    border: 0;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 10px 30px rgb(20 72 47 / 5%);
  }
  .to-today-block__header h2 { font-weight: 680; }

  .to-today-block--kpis .to-card {
    grid-template-columns: 55px minmax(0, 1fr);
    padding-inline: 14px;
  }
  .to-today-block--kpis .to-card + .to-card { box-shadow: inset 1px 0 #e0e8ed; }
  .to-today-kpi__icon { background: #ebfaf1; }
  .to-today-block--kpis .to-kpi__value { font-size: 24px; font-weight: 680; }

  .to-today-block--pulse { padding-top: 12px; }
  .to-today-pulse__tabs { background: #f3f6f8; }
  .to-today-pulse__tabs .is-active { background: linear-gradient(180deg, #0a6f43, #075734); }
  .to-today-pulse__period { background: #fff; }
  .to-today-pulse__chart { height: 190px; margin-top: 24px; }
  .to-today-pulse__grid { stroke: #dfe8eb; stroke-width: .8; }
  .to-today-pulse__grid--vertical { opacity: .62; }
  .to-today-pulse__event-line { stroke: #2da76d; stroke-width: 1; stroke-dasharray: 4 3; opacity: .72; }
  .to-today-pulse__area { fill: rgb(37 182 99 / 15%); }
  .to-today-pulse__line--fact { stroke-width: 2.5; }
  .to-today-pulse__line--plan { stroke-width: 1.6; }
  .to-today-pulse__line--forecast { stroke-dasharray: 5 4; }
  .to-today-pulse__point { stroke-width: 2.3; }
  .to-today-pulse__callout {
    right: 148px;
    top: 76px;
    box-shadow: 0 8px 18px rgb(5 71 39 / 22%);
  }
  .to-today-pulse__summary { padding-top: 51px; }
  .to-today-pulse__ring { width: 151px; height: 151px; }
  .to-today-pulse__ring-track { stroke: #e8eff0; }
  .to-today-pulse__ring-value { stroke: url(#none); stroke: #19ac5a; }

  .to-today-block--schedule { padding-inline: 16px; }
  .to-today-schedule__item { min-height: 79px; }
  .to-today-schedule__item strong { font-size: 13px; font-weight: 520; }
  .to-today-schedule__content > .to-button,
  .to-today-attention-content > .to-button {
    background: rgb(255 255 255 / 54%);
  }

  .to-today-block--attention { background: rgb(255 255 255 / 96%); }
  .to-today-block--attention .to-today-insight {
    min-height: 91px;
    padding: 9px 8px;
    border: 1px solid rgb(214 225 224 / 70%);
  }
  .to-today-block--attention .to-today-insight[data-tone="critical"] { background: #fff1ef; }
  .to-today-block--attention .to-today-insight[data-tone="attention"] { background: #fff8e3; }
  .to-today-insight__icon { background: rgb(231 249 238 / 90%); }
  .to-today-insight strong { font-size: 12.5px; font-weight: 620; }
  .to-today-attention-content > .to-button { min-height: 43px; }

  .to-today-block--decisions { padding-inline: 14px; background: rgb(255 255 255 / 95%); }
  .to-today-block--decisions .to-today-decision { min-height: 86px; }
  .to-today-block--decisions .to-today-decision:nth-child(2) { background: #effbf5; }
  .to-today-decision .to-button:not([data-icon-only="true"]) { font-weight: 620; }
}

@media (max-width: 48rem) {
  .to-today-hero {
    background: radial-gradient(ellipse at 85% 10%, rgb(55 182 111 / 10%), transparent 58%);
  }
  .to-today-hero__brand-card {
    position: static;
    width: 100%;
    display: grid;
    margin-top: .9rem;
  }
  .to-today-hero__aside { display: flex; }
  .to-today-hero__manifesto { display: grid; }
  .to-today-block--kpis > div:last-child { grid-template-columns: 1fr; }
  .to-today-block--pulse { overflow: hidden; }
  .to-today-pulse__chart { min-width: 520px; }
}

.to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="notifications"] .to-badge {
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  border: 2px solid #fff;
  color: transparent;
  background: #f04444;
  font-size: 0;
}
.to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="notifications"] .to-badge::after {
  content: "3";
  color: #fff;
  font-size: 9px;
}

@media (max-width: 30rem) {
  .to-today-hero__aside { align-items: flex-start; }
  .to-today-hero__aside > .to-badge { flex: none; }
  .to-today-block__header h2 { font-size: 1.16rem; }
  .to-today-block--attention .to-notification { grid-template-columns: 2.2rem minmax(0,1fr); }
  .to-today-block--decisions .to-approval__comparison { display: grid; grid-template-columns: 1fr 1fr; }
  .to-today-pulse__legend { justify-content: flex-start; gap: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .to-today-state--loading { animation-duration: 1ms; }
}

/* VF3-B: P3-only reconstruction of REF-HOME-01 at 1536 × 1024. */
@media (min-width: 80.0625rem) {
  .to-global-shell[data-workspace="today"] {
    grid-template-columns: 172px minmax(0, 1fr);
    --today-canvas: #f7faf9;
    --today-surface-primary: rgb(255 255 255 / 91%);
    --today-surface-secondary: #f8faf9;
    --today-surface-raised: rgb(255 255 255 / 94%);
    --today-surface-interactive: #e9f8ef;
    --today-surface-attention: #fff8e8;
    --today-accent: #0aa45c;
    --today-accent-deep: #075b35;
    --today-ink: #0f1420;
    --today-muted: #687b9a;
    --today-hairline: #e2eaf0;
  }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar {
    width: 172px;
    padding: 14px 8px 12px;
    background: #061f1d;
  }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar::after {
    content: "";
    position: absolute;
    inset: 48% 0 0;
    pointer-events: none;
    background: url("../assets/vf3b-sidebar-leaf.png") left top / 172px 340px no-repeat;
    opacity: 1;
  }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar > * { position: relative; z-index: 1; }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar__top {
    height: 68px;
    padding: 3px 12px 13px;
    border: 0;
  }
  .to-global-shell[data-workspace="today"] .to-shell-brand { gap: 0; }
  .to-global-shell[data-workspace="today"] .to-shell-brand img { display: none; }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark {
    font-size: 0;
    font-weight: 600;
    letter-spacing: -.055em;
  }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark::before {
    content: "torenaOS";
    color: #fff;
    font-size: 24px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark::after {
    content: "OS";
    display: block;
    margin-top: 2px;
    color: rgb(255 255 255 / 72%);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0;
  }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark > span { display: none; }
  .to-global-shell[data-workspace="today"] .to-shell-nav {
    gap: 2px;
    margin: 14px -1px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-nav__item {
    min-height: 47px;
    grid-template-columns: 24px minmax(0,1fr) auto;
    gap: 12px;
    padding: 7px 14px;
    border: 0;
    border-radius: 7px;
    color: rgb(244 251 248 / 88%);
    font-size: 13px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-nav__item[aria-current="page"] {
    position: relative;
    background: linear-gradient(90deg, #126d43 0%, #084934 100%);
  }
  .to-global-shell[data-workspace="today"] .to-shell-nav__item[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 6px 0 0 6px;
    background: #53e66e;
  }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar__lower {
    gap: 10px;
    padding: 14px 14px 0;
    border: 0;
  }
  .to-global-shell[data-workspace="today"] .to-shell-shortcuts { display: none; }
  .to-global-shell[data-workspace="today"] .to-shell-profile-compact strong { font-size: 12px; }
  .to-global-shell[data-workspace="today"] .to-shell-profile-compact small { font-size: 10px; }

  .to-global-shell[data-workspace="today"] .to-shell-topbar {
    position: sticky;
    height: 72px;
    min-height: 72px;
    padding: 12px 16px 12px 30px;
    gap: 14px;
    border-color: #edf1f4;
    background: rgb(255 255 255 / 95%);
    backdrop-filter: none;
  }
  .to-global-shell[data-workspace="today"] .to-shell-quick-search.to-button {
    width: 557px;
    min-height: 40px;
    justify-content: flex-start;
    border: 0;
    border-radius: 10px;
    background: #f1f5f8;
    color: #536a8d;
    font-size: 12px;
  }
  .to-shell-today-context { display: none; }
  .to-global-shell[data-workspace="today"] .to-shell-today-context {
    display: contents;
  }
  .to-shell-today-weather,
  .to-shell-today-clock,
  .to-shell-today-company { display: grid; align-items: center; }
  .to-shell-today-weather {
    position: absolute;
    left: 678px;
    top: 13px;
    grid-template-columns: 34px auto;
    grid-template-rows: 22px 16px;
    column-gap: 8px;
    width: 136px;
    color: #142039;
  }
  .to-shell-today-weather .to-icon { grid-row: 1 / 3; width: 31px; height: 31px; color: #ffb000; }
  .to-shell-today-weather strong { font-size: 18px; line-height: 1; }
  .to-shell-today-weather span { color: #607490; font-size: 10px; }
  .to-shell-today-clock {
    position: absolute;
    left: 805px;
    top: 13px;
    min-width: 185px;
    padding: 0 18px;
    border-inline: 1px solid #c8d3e0;
  }
  .to-shell-today-clock span { color: #607490; font-size: 10px; }
  .to-shell-today-clock strong { color: #0e1522; font-size: 19px; line-height: 1.25; }
  .to-shell-today-company {
    position: absolute;
    right: 8px;
    top: 12px;
    grid-template-columns: 42px auto;
    column-gap: 8px;
    min-width: 240px;
    padding-left: 0;
  }
  .to-shell-today-company img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
  .to-shell-today-company strong { display: block; font-size: 13px; }
  .to-shell-today-company span { display: block; color: #607490; font-size: 9px; }
  .to-global-shell[data-workspace="today"] .to-shell-utilities { gap: 4px; }
  .to-global-shell[data-workspace="today"] .to-shell-utilities {
    position: absolute;
    right: 278px;
    top: 15px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="katerina"],
  .to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="chat"],
  .to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="help"],
  .to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="profile"] { display: none; }
  .to-global-shell[data-workspace="today"] .to-shell-utilities > button.to-button {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #f6f9fb;
  }
  .to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="notifications"] .to-badge {
    left: 25px;
    top: -5px;
    width: 18px;
    min-width: 18px;
    min-height: 18px;
    padding: 0;
    border: 2px solid #fff;
    color: transparent;
    background: #f04444;
    font-size: 0;
  }
  .to-global-shell[data-workspace="today"] .to-shell-utilities > [data-utility-id="notifications"] .to-badge::after {
    content: "3";
    color: #fff;
    font-size: 9px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-main {
    width: 100%;
    margin: 0;
    padding: 0 20px 28px 22px;
    background: radial-gradient(ellipse at 77% 10%, rgb(40 179 104 / 8%), transparent 29%), var(--today-canvas);
  }

  .to-today {
    height: 952px;
    grid-template-columns: minmax(0, 1fr) 333px;
    grid-template-rows: 110px 113px 355px 249px;
    grid-template-areas: "hero hero" "kpis ." "pulse ." "decisions .";
    gap: 16px;
  }
  .to-today-hero {
    position: relative;
    min-height: 110px;
    grid-template-columns: 552px 360px minmax(0,1fr);
    align-items: center;
    gap: 28px;
    padding: 8px 10px 0;
  }
  .to-today-hero h1 {
    transform: translateY(-4px);
    font-size: 43px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.045em;
  }
  .to-today-eyebrow { margin-bottom: 5px; font-size: 12px; line-height: 1; letter-spacing: .24em; }
  .to-today-hero__lead { transform: translateY(-4px); margin-top: 2px; color: #70809d; font-size: 18px; }
  .to-today-hero__aside { justify-content: flex-start; }
  .to-today-hero__manifesto {
    position: relative;
    min-width: 315px;
    padding-left: 62px;
    border-left: 0;
    color: #31515b;
    line-height: 1.2;
  }
  .to-today-hero__manifesto::before {
    content: "";
    position: absolute;
    left: 22px;
    top: -4px;
    width: 2px;
    height: 62px;
    background: #0bb061;
    transform: rotate(27deg);
    transform-origin: top;
  }
  .to-today-hero__manifesto strong,
  .to-today-hero__manifesto span { font-size: 14px; font-weight: 400; }
  .to-today-hero__manifesto small { color: #7181a0; font-size: 11px; }
  .to-today-hero__aside > .to-badge { display: none; }
  .to-today-hero__brand-card {
    position: absolute;
    top: 25px;
    right: 6px;
    width: 274px;
    min-height: 78px;
    display: grid;
    grid-template-columns: 56px minmax(0,1fr) 34px;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgb(255 255 255 / 78%);
    box-shadow: 0 12px 28px rgb(29 88 58 / 5%);
  }
  .to-today-hero__brand-card img { width: 56px; height: 54px; object-fit: contain; border-radius: 0; }
  .to-today-hero__brand-card strong { font-size: 12px; line-height: 1.35; }
  .to-today-hero__brand-card span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #08713e; background: #e4f8eb; font-size: 18px; }

  .to-today-block {
    padding: 14px 20px;
    border: 1px solid rgb(226 235 239 / 74%);
    border-radius: 12px;
    background: var(--today-surface-primary);
    box-shadow: 0 10px 30px rgb(18 67 45 / 5%);
  }
  .to-today-block__header { min-height: 42px; margin-bottom: 7px; }
  .to-today-block__header h2 { font-size: 22px; font-weight: 650; letter-spacing: -.045em; }
  .to-today-block__header p { margin-top: 1px; color: #7184a3; font-size: 12px; }
  .to-today-block__header-action { color: #597090; font-size: 11px; white-space: nowrap; }

  .to-today-block--kpis {
    height: 113px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgb(18 67 45 / 5%);
  }
  .to-today-block--kpis .to-card {
    height: 113px;
    min-height: 113px;
    grid-template-columns: 55px minmax(0, 1fr);
    grid-template-rows: 20px 30px 18px;
    column-gap: 12px;
    padding: 22px 13px;
  }
  .to-today-kpi__icon {
    width: 55px;
    height: 55px;
    color: #07964d;
    background: #eaf9f0;
  }
  .to-today-kpi__icon .to-icon { width: 30px; height: 30px; }
  .to-today-kpi__glyph { width: 34px; height: 34px; }
  .to-today-block--kpis .to-card__meta:first-of-type { font-size: 11px; }
  .to-today-block--kpis .to-kpi__value { font-size: 23px; }
  .to-today-block--kpis .to-kpi__delta { font-size: 11px; }

  .to-today-block--pulse {
    height: 355px;
    padding: 12px 18px 12px 20px;
    overflow: hidden;
    background: rgb(255 255 255 / 94%);
  }
  .to-today-block--pulse .to-today-block__header {
    width: 345px;
    margin-bottom: -42px;
    position: relative;
    z-index: 2;
  }
  .to-today-pulse { grid-template-columns: minmax(0, 1fr) 185px; gap: 10px; }
  .to-today-pulse__plot { padding: 0 8px 0 58px; }
  .to-today-pulse__controls {
    position: absolute;
    left: 370px;
    top: 3px;
    right: -170px;
    z-index: 3;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 52px;
  }
  .to-today-pulse__tabs { height: 34px; display: flex; align-items: center; border-radius: 8px; background: #f5f7fa; overflow: hidden; }
  .to-today-pulse__tabs span { min-width: 80px; padding: 9px 15px; color: #61728d; font-size: 10px; text-align: center; }
  .to-today-pulse__tabs .is-active { color: #fff; border-radius: 8px; background: #075b35; box-shadow: 0 6px 14px rgb(7 91 53 / 22%); }
  .to-today-pulse__period { position: relative; min-width: 150px; padding: 9px 12px; border: 1px solid #dce5ed; border-radius: 8px; color: #203452; font-size: 10px; text-align: center; }
  .to-today-pulse__period::after { content: "⌄"; position: absolute; top: -1px; right: -47px; width: 36px; height: 34px; display: grid; place-items: center; border: 1px solid #dce5ed; border-radius: 8px; background: #fff; }
  .to-today-pulse__metric { display: none; }
  .to-today-pulse__chart { width: 100%; height: 178px; margin-top: 30px; }
  .to-today-pulse__grid { stroke: #dfe8ee; }
  .to-today-pulse__area { fill: rgb(26 181 98 / 12%); }
  .to-today-pulse__line--fact { stroke: #08763e; stroke-width: 2.2; }
  .to-today-pulse__line--plan { stroke: #f1ad00; stroke-width: 1.4; }
  .to-today-pulse__line--forecast { stroke: #35a66a; stroke-width: 1.2; }
  .to-today-pulse__point { fill: #088c4a; stroke: #fff; stroke-width: 2; }
  .to-today-pulse__y-axis {
    position: absolute;
    left: 0;
    top: 91px;
    bottom: 37px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #60799b;
    font-size: 10px;
  }
  .to-today-pulse__axis { padding: 0 4px; font-size: 10px; }
  .to-today-pulse__callout {
    top: 82px;
    right: 155px;
    min-width: 112px;
    padding: 6px 11px;
    border-radius: 8px;
    background: #075b35;
  }
  .to-today-pulse__callout span { font-size: 9px; }
  .to-today-pulse__callout strong { font-size: 13px; }
  .to-today-pulse__legend { margin-top: 7px; font-size: 10px; }
  .to-today-pulse__summary {
    min-height: 280px;
    align-content: center;
    gap: 12px;
    padding: 56px 6px 0 18px;
    border-left-color: #dbe5eb;
  }
  .to-today-pulse__completion { display: grid; place-items: center; gap: 0; }
  .to-today-pulse__completion > div { margin-top: -76px; place-items: center; pointer-events: none; }
  .to-today-pulse__completion strong { font-size: 27px; }
  .to-today-pulse__completion span { max-width: 86px; text-align: center; font-size: 11px; }
  .to-today-pulse__ring { width: 145px; height: 145px; }
  .to-today-pulse__ring-track,
  .to-today-pulse__ring-value { stroke-width: 7; }
  .to-today-pulse__summary dl { gap: 8px; }
  .to-today-pulse__summary dt,
  .to-today-pulse__summary dd { font-size: 12px; }

  .to-today-block--decisions {
    height: 249px;
    padding: 6px 14px 14px;
    overflow: hidden;
  }
  .to-today-block--decisions .to-today-block__header { min-height: 33px; margin: 0 6px 4px; align-items: center; }
  .to-today-block--decisions .to-today-block__header h2 { font-size: 21px; }
  .to-today-block--decisions > div:last-child { gap: 0; }
  .to-today-block--decisions .to-today-decision {
    min-height: 83px;
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 95px 112px 76px 44px;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-top: 1px solid #e6edf2;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .to-today-block--decisions .to-today-decision__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #ef3f45; background: #fff0ef; }
  .to-today-block--decisions .to-today-decision__icon--ai { color: #e89a00; background: #fff6df; }
  .to-today-block--decisions .to-today-decision__copy { min-width: 0; display: grid; }
  .to-today-block--decisions .to-today-decision__copy strong { font-size: 13px; }
  .to-today-block--decisions .to-today-decision__copy span { color: #7184a2; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .to-today-decision time { color: #617696; font-size: 10px; }
  .to-today-decision .to-button { min-height: 38px; border: 0; border-radius: 9px; color: #0a5434; background: #e7f8ed; font-size: 11px; }
  .to-today-decision .to-button[data-icon-only="true"] { width: 38px; min-width: 38px; background: transparent; }
  .to-today-decision .to-badge { border: 0; color: #4b4d53; background: #fff7e7; font-size: 9px; }

  .to-today-block--schedule {
    position: absolute;
    top: 126px;
    right: 0;
    width: 333px;
    height: 407px;
    padding: 9px 16px 15px;
    overflow: hidden;
  }
  .to-today-block--schedule .to-today-block__header { min-height: 36px; margin-bottom: 7px; align-items: center; }
  .to-today-block--schedule .to-today-block__header h2 { font-size: 21px; }
  .to-today-schedule__content { gap: 10px; }
  .to-today-schedule { padding-top: 2px; }
  .to-today-schedule__item {
    grid-template-columns: 45px 12px minmax(0,1fr);
    gap: 7px;
    min-height: 72px;
    padding-bottom: 8px;
  }
  .to-today-schedule__item::before { left: 50px; top: 11px; background: #c6d6df; }
  .to-today-schedule__item time { font-size: 11px; }
  .to-today-schedule__marker { width: 9px; height: 9px; margin-top: 3px; box-shadow: none; }
  .to-today-schedule__item strong { font-size: 13px; font-weight: 500; }
  .to-today-schedule__item span:not(.to-today-schedule__marker),
  .to-today-schedule__item p { color: #6e81a0; font-size: 10.5px; }
  .to-today-schedule__content > .to-button {
    min-height: 44px;
    border-color: #bfe7d2;
    border-radius: 9px;
    font-size: 11px;
  }

  .to-today-block--attention {
    position: absolute;
    top: 549px;
    right: 0;
    width: 333px;
    height: 340px;
    padding: 9px 16px 15px;
    overflow: hidden;
  }
  .to-today-block--attention .to-today-block__header { min-height: 36px; margin-bottom: 7px; align-items: center; }
  .to-today-block--attention .to-today-block__header h2 { font-size: 21px; }
  .to-today-block--attention .to-today-block__header-action {
    padding: 5px 9px;
    border-radius: 99px;
    color: #08713e;
    background: #e7faef;
  }
  .to-today-attention-content { display: grid; gap: 8px; }
  .to-today-block--attention .to-today-attention-content > div { display: grid; gap: 8px; }
  .to-today-block--attention .to-today-insight {
    min-height: 83px;
    display: grid;
    grid-template-columns: 45px minmax(0,1fr) 40px;
    align-items: center;
    gap: 8px;
    padding: 7px 4px;
    border: 1px solid #e1e9ee;
    border-radius: 9px;
    background: #fff;
    box-shadow: none;
  }
  .to-today-insight__icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: #0a9950; background: #eaf9f0; }
  .to-today-insight > div { min-width: 0; display: grid; gap: 2px; }
  .to-today-insight strong { font-size: 12px; line-height: 1.2; }
  .to-today-insight span:not(.to-today-insight__icon) { color: #6e80a0; font-size: 9px; line-height: 1.25; }
  .to-today-insight .to-button { width: 40px; min-width: 40px; min-height: 40px; padding: 0; }
  .to-today-attention-content > .to-button { min-height: 42px; border-color: #bfe7d2; font-size: 11px; }

  .to-today-block--signals,
  .to-today-action-status { display: none; }
  .to-demo-toolbar { display: none; }
}

@media (max-width: 80rem) and (min-width: 48.0625rem) {
  .to-shell-today-context { display: none; }
  .to-today {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .58fr);
    grid-template-areas: "hero hero" "kpis schedule" "pulse schedule" "decisions attention" "signals signals" "status status";
  }
}

@media (max-width: 48rem) {
  .to-shell-today-context { display: none; }
  .to-today-hero__aside { display: none; }
  .to-today {
    grid-template-areas: "hero" "kpis" "pulse" "schedule" "attention" "decisions" "signals" "status";
  }
  .to-today-block--attention,
  .to-today-block--schedule { position: static; width: auto; height: auto; }
  .to-today-block--pulse,
  .to-today-block--decisions { height: auto; }
  .to-today-block--pulse .to-today-block__header { width: auto; margin-bottom: 8px; }
  .to-today-pulse__controls { display: none; }
  .to-today-pulse__y-axis { display: none; }
  .to-today-decision { grid-template-columns: 44px minmax(0,1fr) 44px; }
  .to-today-decision time,
  .to-today-decision > .to-badge { display: none; }
  .to-today-decision > .to-button:not([data-icon-only="true"]) { grid-column: 2; justify-self: start; }
}

/* Owner correction #1 final cascade: must remain after the VF3-B reference rules. */
@media (min-width: 80.0625rem) {
  body:has(.to-global-shell[data-workspace="today"]) .to-demo-toolbar { display: none !important; }
  .to-global-shell[data-workspace="today"] .to-shell-main { height: calc(100vh - 72px); min-height: 952px; padding-bottom: 0; overflow: hidden; }
  .to-global-shell[data-workspace="today"] .to-shell-brand,
  .to-global-shell[data-workspace="today"] .to-shell-brand > div,
  .to-global-shell[data-workspace="today"] .to-shell-wordmark { width: 142px; overflow: visible; }
  .to-global-shell[data-workspace="today"] .to-shell-wordmark::before { content: "torenaOS"; }
  .to-global-shell[data-workspace="today"] .to-shell-sidebar__lower { position: relative; min-height: 230px; padding: 0 14px; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer { display: grid; gap: 9px; color: rgb(255 255 255 / 78%); font-size: 10px; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer p { width: 112px; margin: 0 0 34px; color: #fff; font-size: 12px; line-height: 1.38; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer p::after { content: ""; display: block; width: 24px; height: 2px; margin-top: 14px; background: #a4f225; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer span { padding-left: 23px; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer small { color: rgb(255 255 255 / 46%); font-size: 8px; }
  .to-global-shell[data-workspace="today"] .to-shell-profile-compact { position: absolute; left: 14px; right: 8px; bottom: 76px; }

  .to-today-block { border: 0; }
  .to-today-pulse__chart { height: 205px; margin-top: 38px; }
  .to-today-pulse__y-axis { top: 109px; bottom: 22px; }
  .to-today-pulse__axis { transform: translateY(-1px); }
  .to-today-pulse__callout { top: 86px; right: 148px; }
  .to-today-pulse__summary { padding-top: 57px; }
  .to-today-pulse__ring { width: 151px; height: 151px; }
  .to-today-pulse__grid { stroke: #dfe8eb; stroke-width: .8; }
  .to-today-pulse__grid--vertical { opacity: .62; }
  .to-today-pulse__event-line { stroke: #2da76d; stroke-width: 1; stroke-dasharray: 4 3; opacity: .72; }
  .to-today-pulse__area { fill: rgb(37 182 99 / 15%); }
  .to-today-pulse__line--fact { stroke-width: 2.5; }
  .to-today-pulse__line--plan { stroke-width: 1.6; }
  .to-today-pulse__line--forecast { stroke-dasharray: 5 4; }

  .to-today-schedule__content { position: relative; height: 337px; }
  .to-today-schedule__content > .to-button { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; }
  .to-today-block--attention .to-today-insight { min-height: 91px; padding: 9px 8px; }
  .to-today-block--attention .to-today-insight[data-tone="critical"] { background: #fff1ef; }
  .to-today-block--attention .to-today-insight[data-tone="attention"] { background: #fff8e3; }
  .to-today-block--decisions .to-today-decision:nth-child(2) { background: #effbf5; }

  /* Keep the approved footer geometry while preventing profile/action overlap. */
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer span {
    position: absolute;
    left: 14px;
    padding-left: 23px;
  }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer span:nth-of-type(1) { bottom: 46px; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer span:nth-of-type(2) { bottom: 18px; }
  .to-global-shell[data-workspace="today"] .to-shell-reference-footer small {
    position: absolute;
    left: 14px;
    bottom: -2px;
  }
}

/* Semantic DARK translation must win over the locked light-reference cascade. */
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-topbar {
  border-color: var(--today-hairline);
  background: #151d19;
  box-shadow: 0 1px 0 var(--today-hairline);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-quick-search.to-button,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-utilities > button.to-button {
  border-color: var(--today-hairline);
  color: var(--today-ink);
  background: var(--today-surface-secondary);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-weather,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-clock,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-company {
  color: var(--today-ink);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-weather span,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-clock span,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-company span {
  color: var(--today-muted);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-weather strong,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-clock strong,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-shell-today-company strong {
  color: var(--today-ink);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block--pulse,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block--attention,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block--decisions {
  border-color: var(--today-hairline);
  background: var(--today-surface-primary);
  box-shadow: 0 10px 30px rgb(0 0 0 / 12%);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-pulse__tabs,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-pulse__period,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-pulse__period::after {
  border-color: var(--today-hairline);
  color: var(--today-muted);
  background: var(--today-surface-secondary);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-pulse__empty-ring {
  border-color: var(--today-hairline);
  background: var(--today-surface-secondary);
}
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block--kpis .to-card__meta:first-of-type,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block__header p,
[data-to-theme="dark"] .to-global-shell[data-workspace="today"] .to-today-block__header-action {
  color: var(--today-muted);
}

@media (max-width: 48rem) {
  .to-global-shell[data-workspace="today"] .to-shell-context { display: none; }
}

@media (min-width: 80.0625rem) {
  .to-today-pulse__controls { top: -5px; }
  .to-today-pulse__chart { margin-top: 60px; }
  .to-today-pulse__y-axis { top: 131px; bottom: 0; }
  .to-today-pulse__callout { top: 108px; }
  .to-today-pulse__legend { transform: translateY(-3px); }
}
