/* Sprint 17: Active Workday Experience
   Scope: Today screen UI/UX only. No backend, no writes, no timer engine changes. */

.todayCommandShell {
  display: grid;
  gap: 14px;
  padding-bottom: 130px;
  color: #0F172A;
}

.todayCommandShell .sectionEyebrow,
.todayHeroText .sectionEyebrow,
.todaySectionHeader .sectionEyebrow,
.todayWorkHeader .sectionEyebrow {
  display: inline-block;
  color: #64748B;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.todayHero {
  min-height: 150px;
  max-height: 170px;
  display: grid;
  gap: 14px;
  align-items: end;
  padding: 18px;
  border-radius: 24px;
  background: #07111F;
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.todayHeroText h2 {
  margin: 7px 0 7px;
  color: #FFFFFF;
  font-size: clamp(28px, 8vw, 32px);
  line-height: 1;
  letter-spacing: 0;
}

.todayHeroText p,
.todayHeroText .sectionEyebrow {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.todayHeroText p {
  font-size: 14px;
  line-height: 1.35;
}

.todayHeroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.todayStatusChip,
.todayTimeChip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.todayStatusChip {
  background: #B8FF1A;
  color: #07111F;
}

.todayTimeChip {
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .12);
}

.todayMainGrid,
.todayPrimaryColumn,
.todaySideColumn {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.todayWorkState,
.todayChecklist,
.todayTimeline,
.todayMetrics,
.todayStatusNote {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.todayWorkState {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.todayWorkHeader,
.todaySectionHeader {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.todayWorkHeader strong,
.todaySectionHeader strong {
  color: #0F172A;
  font-size: 13px;
  font-weight: 900;
}

.todayWorkState h3 {
  margin: 0;
  color: #0F172A;
  font-size: clamp(21px, 5.8vw, 24px);
  line-height: 1.1;
  letter-spacing: 0;
}

.todayWorkState p {
  margin: 0;
  color: #64748B;
  font-size: 14px;
  line-height: 1.35;
}

.todayTimerValue {
  margin: 2px 0 0;
  color: #07111F;
  font-size: clamp(36px, 12vw, 44px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

.todayWorkMeta {
  color: #64748B;
  font-size: 13px;
  font-weight: 750;
}

.todayWorkActions {
  display: grid;
  gap: 10px;
}

.todayActionButton {
  min-height: 54px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.todayActionButton:hover,
.todayQuickAction:hover {
  transform: translateY(-1px);
}

.todayActionButton.isPrimary {
  background: #B8FF1A;
  color: #07111F;
  box-shadow: 0 14px 30px rgba(184, 255, 26, .26);
}

.todayActionButton.isDark {
  background: #07111F;
  color: #FFFFFF;
}

.todayActionButton.isQuiet {
  background: #FFFFFF;
  color: #0F172A;
}

.todayQuickActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.todayQuickAction {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  background: #FFFFFF;
  color: #0F172A;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.todayQuickAction:hover {
  border-color: rgba(53, 214, 255, .28);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.09);
}

.todayQuickIcon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(184, 255, 26, .18);
  color: #07111F;
  font-size: 16px;
  font-weight: 950;
}

.todayQuickAction strong {
  color: #0F172A;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.08;
}

.todayQuickAction small {
  color: #64748B;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
}

.todayChecklist,
.todayTimeline,
.todayMetrics,
.todayStatusNote {
  padding: 16px;
}

.todayChecklistList {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.todayChecklistList li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #0F172A;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.todayChecklistList li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
  background: #B8FF1A;
  box-shadow: 0 0 0 5px rgba(184, 255, 26, .16);
}

.todayMoreHint {
  margin: 12px 0 0;
  color: #64748B;
  font-size: 12px;
  font-weight: 850;
}

.todayTimelineList {
  display: grid;
  margin-top: 12px;
}

.todayTimelineItem {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.todayTimelineItem:first-child {
  border-top: 0;
}

.todayTimelineItem span {
  color: #07111F;
  font-size: 13px;
  font-weight: 950;
}

.todayTimelineItem strong {
  display: block;
  color: #0F172A;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.22;
}

.todayTimelineItem small {
  display: block;
  margin-top: 2px;
  color: #64748B;
  font-size: 12px;
  line-height: 1.25;
}

.todayMetrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  box-shadow: none;
  background: transparent;
  border: 0;
  padding: 0;
}

.todayMetrics div {
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.todayMetrics strong,
.todayMetrics span {
  display: block;
}

.todayMetrics strong {
  color: #0F172A;
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.todayMetrics span {
  margin-top: 6px;
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
}

.todayStatusNote {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.todayStatusNote strong {
  color: #0F172A;
}

.todayStatusNote em {
  color: #0F172A;
  font-style: normal;
}

@media (min-width: 1024px) {
  .todayCommandShell {
    gap: 18px;
    padding-bottom: 32px;
  }

  .todayCommandShell .todayHero {
    min-height: 170px;
    max-height: 190px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 28px;
  }

  .todayHeroText h2 {
    font-size: clamp(32px, 2vw, 38px);
  }

  .todayHeroText p {
    font-size: 15px;
  }

  .todayHeroMeta {
    justify-content: flex-end;
  }

  .todayMainGrid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 18px;
    align-items: start;
  }

  .todayPrimaryColumn,
  .todaySideColumn {
    gap: 16px;
  }

  .todayWorkState {
    padding: 22px;
  }

  .todayWorkState h3 {
    font-size: clamp(24px, 1.55vw, 30px);
  }

  .todayTimerValue {
    font-size: clamp(44px, 3vw, 56px);
  }

  .todayWorkActions {
    grid-template-columns: 1.08fr 1fr;
  }

  .todayActionButton {
    min-height: 56px;
  }

  .todayQuickActions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .todayQuickAction {
    min-height: 104px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .todayQuickActions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .todayCommandShell {
    gap: 12px;
  }

  .todayHero {
    min-height: 146px;
    padding: 16px;
  }

  .todayHeroMeta {
    gap: 6px;
  }

  .todayStatusChip,
  .todayTimeChip {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .todayWorkState,
  .todayChecklist,
  .todayTimeline,
  .todayStatusNote {
    border-radius: 22px;
    padding: 16px;
  }

  .todayQuickAction {
    min-height: 92px;
    padding: 13px;
  }
}
