/*
 * Owner-only Today refinement: remove only the copy-local hero vignette and
 * compact the existing state-driven Your Day panel. No DOM or JS changes.
 */

/* The absolute pseudo-element is the Version 24 copy-local shading layer. */
html body #today > .today-v3-hero > .today-v3-copy::before {
  content: none;
  background: none;
}

html body #today .today-day-overview {
  --today-compact-navy: #193a48;
  --today-compact-midnight: #102a37;
  --today-compact-charcoal: #253b47;
  --today-compact-cyan: #20d5ef;
  --today-compact-track: #aebfc6;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  row-gap: 5px;
  min-height: 96px;
  height: auto;
  margin: 0 0 18px;
  border: 1px solid rgba(25, 58, 72, 0.2);
  border-radius: 18px;
  padding: 9px 14px 8px;
  background: linear-gradient(180deg, #fff8f1 0%, #f9f0e8 48%, #f1e4d8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 7px rgba(37, 59, 71, 0.12),
    0 12px 20px rgba(37, 59, 71, 0.09);
  overflow: visible;
}

html body #today .today-day-overview > .today-v3-daylabel {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  height: auto;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

html body #today .today-day-overview > .today-v3-daylabel > span {
  color: var(--today-compact-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.035em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.84);
}

html body #today .today-day-overview > .today-v3-daylabel > #todayAppProgressCount {
  box-sizing: border-box;
  display: grid;
  width: 50px;
  min-width: 50px;
  min-height: 26px;
  height: auto;
  border: 1px solid rgba(8, 29, 39, 0.72);
  border-radius: 9px;
  padding: 0 6px;
  place-items: center;
  background: linear-gradient(160deg, #173846 0%, var(--today-compact-midnight) 72%);
  color: #fff7ea;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.035em;
  box-shadow:
    inset 0 2px 3px rgba(0, 8, 13, 0.34),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.42);
}

html body #today .today-day-overview > .today-v3-dayintro {
  max-width: none;
  margin: 0;
  color: var(--today-compact-charcoal);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}

html body #today .today-day-overview > .today-app-progress {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-content: normal;
  min-height: 22px;
  height: auto;
  margin: 0;
  border: 1px solid rgba(58, 88, 104, 0.2);
  border-radius: 11px;
  padding: 3px 7px;
  background: linear-gradient(180deg, #dce5e6 0%, #edf0ec 100%);
  box-shadow:
    inset 0 2px 4px rgba(37, 59, 71, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.9),
    0 1px 0 rgba(255, 255, 255, 0.78);
}

html body #today .today-day-overview .today-app-progress-dots {
  display: grid;
  grid-template-columns: 14px 1fr 14px 1fr 14px 1fr 14px;
  align-items: center;
  gap: 0;
  width: 100%;
  min-width: 0;
}

html body #today .today-day-overview .today-app-progress-dots > i {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: grid;
  width: 14px;
  height: 14px;
  border: 2px solid #78909b;
  border-radius: 50%;
  place-items: center;
  background: #fff7ea;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 1px 2px rgba(25, 58, 72, 0.12),
    0 1px 2px rgba(25, 58, 72, 0.2);
}

html body #today .today-day-overview .today-app-progress-dots > span {
  height: 3px;
  border-radius: 999px;
  background: var(--today-compact-track);
  box-shadow:
    inset 0 1px 2px rgba(25, 58, 72, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.52);
}

html body #today .today-day-overview .today-app-progress-dots > i.is-done {
  border-color: var(--today-compact-navy);
  background: linear-gradient(145deg, var(--today-compact-cyan), #236c8e 58%, var(--today-compact-navy));
  color: #fffdf9;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 2px 3px rgba(25, 58, 72, 0.24);
}

html body #today .today-day-overview .today-app-progress-dots > i.is-done::after {
  color: currentColor;
  font-size: 8px;
  line-height: 1;
}

html body #today .today-day-overview .today-app-progress-dots > span.is-done {
  background: linear-gradient(90deg, var(--today-compact-navy), var(--today-compact-cyan));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 2px rgba(16, 42, 55, 0.2);
}

html body #today .today-day-overview .today-app-progress-dots > i:first-child:not(.is-done),
html body #today .today-day-overview .today-app-progress-dots > i.is-done + span:not(.is-done) + i:not(.is-done) {
  border-color: var(--today-compact-cyan);
  box-shadow:
    0 0 0 1px #fff7ea,
    0 0 0 3px rgba(32, 213, 239, 0.38),
    inset 0 1px 2px rgba(25, 58, 72, 0.1);
}

@media (max-width: 360px) {
  html body #today .today-day-overview {
    padding-right: 12px;
    padding-left: 12px;
  }
}
