/* Today only. Values follow Main.dc.html and Mobile.dc.html. */
.today-rail,
.today-tabs,
#today-root {
  display: none;
}
body[data-today] {
  background: #eef1f8;
  color: #0e1530;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}
body[data-hub] .shell {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 1060px;
  background: #eef1f8;
  grid-template-columns: none;
}
body[data-hub] .shell > aside {
  display: none;
}
body[data-hub] .shell > main {
  flex: 999 1 640px;
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #eef1f8;
  overflow: visible;
}
body[data-today] main > header,
body[data-today] .sync-bar,
body[data-today] #workspace-freshness,
body[data-today] #setup,
body[data-today] #floating-ai,
body[data-today] main > footer {
  display: none !important;
}
body[data-today] #home-view {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
}
body[data-today] #home-view > :not(#today-root) {
  display: none !important;
}
body[data-today] #today-root {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px 40px 48px;
  box-sizing: border-box;
  min-width: 0;
}
body[data-today] #today-root *,
body[data-hub] .today-rail *,
body[data-hub] .today-tabs * {
  box-sizing: border-box;
}
body[data-today] #today-root :is(h1, h2),
body[data-hub] .today-brand {
  font-family: "Bricolage Grotesque", sans-serif;
  color: inherit;
  text-wrap: pretty;
}
body[data-today] #today-root h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}
body[data-today] #today-root p {
  margin: 0;
  max-width: none;
}
body[data-today] #today-root button,
body[data-hub] .today-rail button,
body[data-hub] .today-tabs button {
  font-family: "Hanken Grotesk", sans-serif;
  cursor: pointer;
  min-height: 44px;
  box-shadow: none;
  transition:
    background-color 0.16s,
    color 0.16s;
  text-align: inherit;
  white-space: normal;
}
body[data-today] #today-root button:focus-visible,
body[data-hub] .today-rail button:focus-visible,
body[data-hub] .today-tabs button:focus-visible {
  outline: 3px solid #ffb020;
  outline-offset: 4px;
}
body[data-today] #today-root button:disabled {
  cursor: wait;
  opacity: 0.65;
}
body[data-today] #today-root button:hover {
  filter: brightness(0.97);
}
body[data-today] #today-root input::placeholder {
  color: #566083;
  opacity: 1;
}
body[data-today] #today-root input {
  caret-color: #2f5bff;
}
body[data-today] ::selection {
  background: #ffb020;
  color: #0e1530;
}
body[data-today] .today-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
body[data-today] #today-date {
  font-size: 15px;
  color: #566083;
  font-weight: 500;
  line-height: 1.5;
}
body[data-today] #today-greeting {
  margin: 2px 0 0;
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
body[data-today] #today-account {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 14px;
  background: #2f5bff;
  display: grid;
  place-items: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
body[data-today] .today-ask {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 16px;
  padding: 6px 8px 6px 22px;
  box-shadow:
    0 1px 0 #dce1f0,
    0 12px 30px -18px rgba(14, 21, 48, 0.35);
  min-height: 64px;
  margin: 0;
}
body[data-today] .today-ask > svg {
  color: #2f5bff;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
body[data-today] #today-question {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  outline: 0;
  font-size: 18px;
  font-family: inherit;
  color: #0e1530;
  background: transparent;
  height: 48px;
  padding: 0;
  box-shadow: none;
}
body[data-today] .today-ask:focus-within {
  outline: 2px solid #2f5bff;
  outline-offset: 3px;
}
body[data-today] .today-ask > button {
  border: 0;
  background: #2f5bff;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 0 22px;
  height: 48px;
  border-radius: 12px;
}
body[data-today] .today-hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}
body[data-today] .today-next {
  flex: 2 1 460px;
  min-width: 0;
  background: #2f5bff;
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
body[data-today] .today-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}
body[data-today] .today-next .today-label {
  color: #cfdbff;
}
body[data-today] #today-root #today-next-title {
  font-weight: 800;
  font-size: 46px;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 560px;
  overflow-wrap: anywhere;
}
body[data-today] #today-next-meta {
  font-size: 17px;
  color: #e3eaff;
  line-height: 1.5;
}
body[data-today] .today-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
body[data-today] .today-next-actions > button {
  border: 0;
  font-weight: 600;
  font-size: 16px;
  padding: 0 22px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
body[data-today] .today-main-action {
  background: #fff;
  color: #0e1530;
}
body[data-today] .today-plan-action {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
body[data-today] .today-stats {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
}
body[data-today] .today-exam {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 0 #dce1f0;
  flex: 1;
  min-width: 0;
}
body[data-today] .today-exam .today-label,
body[data-today] .today-open .today-label {
  color: #566083;
}
body[data-today] .today-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
body[data-today] .today-count strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 92px;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
body[data-today] .today-count > span {
  font-size: 22px;
  font-weight: 600;
}
body[data-today] #today-exam-note {
  font-size: 15px;
  color: #566083;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
body[data-today] #today-exam-open {
  margin-top: auto;
  font-weight: 600;
  font-size: 15px;
  color: #2f5bff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
}
body[data-today] .today-open {
  display: none;
}
body[data-today] .today-week-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body[data-today] .today-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
body[data-today] .today-day {
  background: #fff;
  color: #0e1530;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 104px;
  border: 0;
  box-shadow: 0 1px 0 #dce1f0 !important;
  min-width: 0;
}
body[data-today] .today-day.is-today {
  background: #0e1530;
  color: #fff;
}
body[data-today] .today-day.has-deadline {
  background: #fff1d6;
  color: #5e3b00;
}
body[data-today] .today-day.is-past {
  color: #566083;
}
body[data-today] .today-day-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body[data-today] .today-day strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
}
body[data-today] .today-day-note {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: auto;
  overflow-wrap: anywhere;
}
body[data-today] .today-secondary {
  font-size: 13px;
  color: #566083;
  line-height: 1.5;
}
body[data-today] .today-lower {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}
body[data-today] .today-deadlines {
  flex: 1 1 380px;
  min-width: 0;
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 1px 0 #dce1f0;
}
body[data-today] .today-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body[data-today] .today-deadlines .today-section-heading {
  padding: 4px 20px 2px;
}
body[data-today] .today-section-heading > button {
  font-size: 15px;
  font-weight: 600;
  color: #2f5bff;
  background: transparent;
  border: 0;
  padding: 0 4px;
}
body[data-today] .today-deadline {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 0;
  border-top: 1px solid #e6eaf5;
  min-height: 64px;
  background: transparent;
  color: #0e1530;
  border-radius: 0;
}
body[data-today] .today-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f5bff;
  flex: 0 0 auto;
}
body[data-today] .today-dot.due {
  background: #e5890a;
}
body[data-today] .today-deadline-body {
  flex: 1;
  min-width: 0;
}
body[data-today] .today-deadline-body strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
body[data-today] .today-deadline-body small {
  display: block;
  font-size: 14px;
  color: #566083;
  margin-top: 2px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body[data-today] .today-due {
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  white-space: nowrap;
  background: #e4ebff;
  color: #1f3fbf;
}
body[data-today] .today-due.soon {
  background: #fff1d6;
  color: #7a4e00;
}
body[data-today] .today-course-section {
  flex: 1.4 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
body[data-today] .today-courses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body[data-today] .today-course {
  background: #fff;
  color: #0e1530;
  border: 0;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 1px 0 #dce1f0 !important;
  min-width: 0;
  width: 100%;
}
body[data-today] .today-course-code {
  min-width: 40px;
  min-height: 40px;
  border-radius: 12px;
  background: #e4ebff;
  display: grid;
  place-items: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #2f5bff;
  padding: 6px;
}
body[data-today] .tint-1 .today-course-code {
  background: #fff1d6;
  color: #b56a00;
}
body[data-today] .tint-2 .today-course-code {
  background: #ddf5ea;
  color: #16805a;
}
body[data-today] .tint-3 .today-course-code {
  background: #f1e6ff;
  color: #7a3fd1;
}
body[data-today] .today-course > strong {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
body[data-today] .today-course-note {
  font-size: 14px;
  color: #566083;
  line-height: 1.45;
}
body[data-today] .today-empty {
  padding: 20px;
  color: #566083;
  font-size: 15px;
  line-height: 1.6;
}
body[data-today] .today-study {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  background: #0e1530;
  color: #fff;
  border-radius: 24px;
  padding: 28px 32px;
}
body[data-today] .today-study > div:first-child {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
body[data-today] .today-study .today-label {
  color: #9fb3ff;
}
body[data-today] #today-root .today-study h2 {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
body[data-today] .today-dropzone {
  flex: 1 1 320px;
  min-width: 0;
  border: 2px dashed #3a4a85;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
body[data-today] .today-dropzone.dragging {
  background: #17214a;
  border-color: #ffb020;
}
body[data-today] .today-dropzone > p {
  font-size: 16px;
  color: #c9d2f0;
  line-height: 1.4;
}
body[data-today] .today-dropzone p span {
  font-size: 13px;
}
body[data-today] #today-pdf-open {
  background: #ffb020;
  color: #0e1530;
  border: 0;
  font-weight: 600;
  font-size: 16px;
  padding: 0 22px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
}
body[data-today] .today-utilities {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
body[data-today] .today-utilities > button {
  background: transparent;
  border: 0;
  color: #2f5bff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
}
body[data-today] #today-record-note {
  font-size: 13px;
  color: #566083;
  width: 100%;
}
body[data-hub] .today-rail {
  display: flex;
  flex: 0 0 244px;
  box-sizing: border-box;
  padding: 28px 20px;
  flex-direction: column;
  gap: 28px;
  background: #0e1530;
  color: #e9ecf7;
  min-width: 0;
}
body[data-hub] .today-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  color: #e9ecf7;
  padding: 0;
}
body[data-hub] .today-brand > span {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #2f5bff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}
body[data-hub] .today-brand > strong {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
body[data-hub] .today-rail-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body[data-hub] .today-rail-links > button {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  min-height: 44px;
  background: transparent;
  border: 0;
  color: #c9d2f0;
  width: 100%;
}
body[data-hub] .today-rail-links > button.active {
  background: #2f5bff;
  color: #fff;
}
body[data-hub] .today-rail-links > button > span:first-of-type {
  flex: 1;
}
body[data-hub] .today-nav-badge {
  font-size: 13px;
  font-weight: 600;
  color: #0e1530;
  background: #ffb020;
  padding: 2px 8px;
  border-radius: 99px;
}
body[data-hub] .today-nav-badge:empty {
  display: none;
}
body[data-hub] .today-rail-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: #17214a;
}
body[data-hub] .today-rail-footer > button {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 14px;
  padding: 0;
  font-weight: 600;
}
body[data-hub] .today-rail-footer > strong {
  font-size: 14px;
  font-weight: 600;
}
body[data-hub] .today-rail-footer p {
  font-size: 13px;
  line-height: 1.45;
  color: #aeb8da;
  margin: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) and (min-width: 721px) {
  body[data-today] #today-root {
    padding: 28px;
    gap: 24px;
  }
  body[data-hub] .today-rail {
    flex-basis: 210px;
    padding: 28px 16px;
  }
  body[data-today] .today-week {
    grid-template-columns: repeat(7, minmax(64px, 1fr));
    overflow-x: auto;
  }
  body[data-today] .today-day {
    padding: 12px 8px;
  }
}
@media (max-width: 720px) {
  body[data-hub] .shell {
    display: block;
    min-height: 100dvh;
    width: 100%;
  }
  body[data-hub] .today-rail {
    display: none;
  }
  body[data-hub] .shell > main {
    padding: 0 0 env(safe-area-inset-bottom);
    width: 100%;
    min-height: 100dvh;
    overflow: visible;
  }
  body[data-today] #today-root {
    padding: 24px 20px 110px;
    gap: 18px;
  }
  body[data-today] .today-heading {
    gap: 12px;
  }
  body[data-today] #today-date {
    font-size: 14px;
  }
  body[data-today] #today-greeting {
    font-size: 32px;
  }
  body[data-today] .today-ask {
    gap: 10px;
    border-radius: 14px;
    padding: 4px 6px 4px 16px;
    min-height: 56px;
    box-shadow: 0 1px 0 #dce1f0;
  }
  body[data-today] .today-ask > svg {
    width: 20px;
    height: 20px;
  }
  body[data-today] #today-question {
    font-size: 16px;
    height: 44px;
  }
  body[data-today] .today-ask > button {
    font-size: 14px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
  }
  body[data-today] .today-hero-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  body[data-today] .today-next {
    flex: auto;
    border-radius: 22px;
    padding: 22px;
    gap: 12px;
  }
  body[data-today] .today-label {
    font-size: 12px;
  }
  body[data-today] #today-root #today-next-title {
    font-size: 30px;
    line-height: 1.04;
  }
  body[data-today] #today-next-meta {
    font-size: 15px;
  }
  body[data-today] .today-next-actions {
    gap: 10px;
    margin-top: 4px;
    flex-wrap: nowrap;
  }
  body[data-today] .today-next-actions > button {
    flex: 1;
    padding: 0 10px;
    height: 46px;
    font-size: 15px;
  }
  body[data-today] .today-stats {
    display: flex;
    flex: auto;
    gap: 12px;
  }
  body[data-today] .today-exam,
  body[data-today] .today-open {
    flex: 1;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 1px 0 #dce1f0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }
  body[data-today] .today-exam .today-label,
  body[data-today] .today-open .today-label {
    letter-spacing: 0.1em;
  }
  body[data-today] .today-count {
    gap: 6px;
    margin-top: 6px;
  }
  body[data-today] .today-count strong {
    font-size: 44px;
    line-height: 1;
  }
  body[data-today] .today-count > span {
    font-size: 15px;
  }
  body[data-today] #today-exam-note,
  body[data-today] #today-exam-open,
  body[data-today] .desktop-word {
    display: none;
  }
  body[data-today] #today-root h2 {
    font-size: 19px;
  }
  body[data-today] #today-root #today-next-title {
    font-size: 30px;
  }
  body[data-today] .today-week {
    grid-template-columns: repeat(7, 76px);
    overflow-x: auto;
    padding-bottom: 3px;
    scroll-snap-type: x proximity;
  }
  body[data-today] .today-day {
    padding: 12px;
    min-height: 104px;
    scroll-snap-align: start;
  }
  body[data-today] .today-lower {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  body[data-today] .today-deadlines {
    flex: auto;
    width: 100%;
    padding: 4px;
    border-radius: 20px;
  }
  body[data-today] .today-deadlines .today-section-heading {
    padding: 2px 16px 0;
  }
  body[data-today] .today-section-heading > button {
    font-size: 14px;
  }
  body[data-today] .today-deadline {
    gap: 12px;
    padding: 12px 16px;
    min-height: 56px;
  }
  body[data-today] .today-dot {
    display: none;
  }
  body[data-today] .today-deadline-body strong {
    font-size: 16px;
  }
  body[data-today] .today-deadline-body small {
    font-size: 13px;
    margin-top: 1px;
  }
  body[data-today] .today-due {
    font-size: 12.5px;
    padding: 4px 10px;
  }
  body[data-today] .today-course-section {
    flex: auto;
    width: 100%;
  }
  body[data-today] .today-courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body[data-today] .today-course {
    padding: 16px;
  }
  body[data-today] .today-course > strong {
    font-size: 16px;
  }
  body[data-today] .today-study {
    padding: 22px;
    gap: 18px;
    border-radius: 22px;
  }
  body[data-today] .today-study > div:first-child {
    flex: auto;
  }
  body[data-today] #today-root .today-study h2 {
    font-size: 28px;
  }
  body[data-today] .today-dropzone {
    padding: 18px;
    flex: auto;
    width: 100%;
    gap: 14px;
  }
  body[data-today] #today-pdf-open {
    width: 100%;
    justify-content: center;
  }
  body[data-hub] .today-tabs {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(14px + env(safe-area-inset-bottom));
    height: 68px;
    background: #0e1530;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    box-sizing: border-box;
    z-index: 60;
  }
  body[data-hub] .today-tabs > button {
    width: 64px;
    height: 56px;
    min-width: 44px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    color: #b9c3e6;
    border: 0;
    padding: 0;
  }
  body[data-hub] .today-tabs > button.active {
    background: #2f5bff;
    color: #fff;
  }
  body[data-hub] .today-tabs > button svg {
    width: 22px;
    height: 22px;
  }
  body[data-hub] .today-tabs > button span {
    font-size: 11px;
    font-weight: 600;
  }
  body[data-today] .today-utilities {
    gap: 8px;
  }
  body[data-today] .today-utilities > button {
    padding: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body[data-today] #today-root *,
  body[data-hub] .today-tabs * {
    transition: none;
    scroll-behavior: auto;
  }
}

@media (max-width: 720px) {
  body[data-today] .today-ask > button {
    display: none;
  }
}
