#app > .today {
  --ink: #201b22;
  --lilac: #dfdaf8;
  --ivory: #fbf8ef;
  --coral: #f29073;
  --green: #dfe9c9;
  --line: #b5aab6;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
}

.today-width { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.today-header { background: var(--lilac); border-bottom: 1px solid #c5b9dc; }
.today-nav { min-height: 74px; display: flex; align-items: center; gap: 30px; }
.today-logo { margin-right: auto; }
.today-logo img { width: 72px; height: auto; }
.today-nav nav { display: flex; gap: 24px; font-size: 14px; font-weight: 650; }
.today-nav nav a { padding: 8px 1px; border-bottom: 2px solid transparent; }
.today-nav nav a[aria-current] { border-color: #b85543; }
.today-nav nav a:hover { border-color: #615378; }
.today-account { border: 1px solid #44394c; padding: 8px 13px; min-height: 38px; background: transparent; font-weight: 700; font-size: 13px; }
.today-account:hover { background: #fbf8ef; }

.today-study {
  position: relative;
  isolation: isolate;
  background-color: #f5f1f8;
  background-image: linear-gradient(#826ca31b 1px,transparent 1px), linear-gradient(90deg,#826ca31b 1px,transparent 1px);
  background-size: 22px 22px;
  padding: 23px 0 18px;
}
.today-study::before,
.today-study::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #fffaf0;
  clip-path: polygon(0 0,100% 0,100% 11%,85% 12%,72% 15%,60% 18%,48% 19%,37% 25%,22% 30%,10% 35%,0 40%);
}
.today-study::before { transform: translateY(7px); }
.today-study::after { background: radial-gradient(#66508023 .65px,transparent .85px) 0 0/5px 5px,var(--lilac); }
.today-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-bottom: 12px; }
.today-heading h1 { font-size: 67px; line-height: .86; letter-spacing: -.023em; }
.today-heading time { display: block; margin-top: 8px; color: #514660; font-size: 13px; }
.today-plan-status { margin-bottom: 3px; font-size: 14px; font-weight: 650; }
.today-plan-status.is-complete { padding: 3px 8px; color: #34462a; background: var(--green); }
.today-body { display: grid; grid-template-columns: minmax(0,1fr) 225px; gap: 29px; align-items: start; }

.today-map { position: relative; }
.today-map-line { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #8e7ca8; stroke-width: 2.7; stroke-dasharray: 5 8; stroke-linecap: round; pointer-events: none; }
.today-map.is-complete .today-map-line { stroke: #6d8857; }
.today-trail { list-style: none; padding: 0; }
.today-stop { position: relative; height: 145px; --node: 41%; --stamp: #f7f3fa; }
.today-stop.math { --node: 56.5%; }
.today-stop.words { --node: 43%; }
.today-stop.is-done { --stamp: var(--green); }
.today-stop.is-next { --stamp: var(--coral); }
.today-stop-link {
  position: absolute;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 15px;
  grid-template-columns: minmax(0,1fr) 68px;
  right: calc(100% - var(--node) - 34px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 45%;
}
.today-stop.math .today-stop-link {
  right: auto;
  left: calc(var(--node) - 34px);
  grid-template-columns: 68px minmax(0,1fr);
}
.today-stamp {
  grid-area: 1 / 2;
  display: grid;
  width: 68px;
  height: 65px;
  place-items: center;
  border: 1.5px solid #4e4054;
  border-radius: 47% 49% 47% 45%;
  background: var(--stamp);
  box-shadow: 0 3px 0 #4e405424;
  transform: rotate(-5deg);
}
.today-stop.math .today-stamp { grid-area: 1 / 1; transform: rotate(6deg); }
.today-stop.is-next .today-stamp { outline: 1.5px dashed #aa4e3b; outline-offset: 4px; }
.today-step { grid-area: 1 / 1; display: grid; justify-items: end; gap: 4px; text-align: right; }
.today-stop.math .today-step { grid-area: 1 / 2; justify-items: start; text-align: left; }
.today-step strong { font-size: 23px; font-weight: 720; line-height: 1.1; letter-spacing: -.022em; text-wrap: balance; }
.today-step small { color: #564b60; font-size: 13px; }
.today-stop-link:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.today-stop-done { padding: 1px 6px; color: #35482b; background: var(--green); font-size: 12px; font-weight: 700; }
.today-start {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 5px 12px;
  margin-top: 4px;
  background: var(--coral);
  clip-path: polygon(0 15%,8% 4%,84% 1%,100% 10%,98% 91%,89% 99%,4% 97%);
  font-size: 13px;
  font-weight: 730;
  white-space: nowrap;
}
.today-stop-link:hover .today-start { background: #ffa586; }
.today-example { position: absolute; left: 61%; top: 50%; transform: translateY(-50%); }
.today-stop.math .today-example { left: auto; right: 58%; }
.today-prompt,.today-flash {
  display: block;
  padding: 12px 16px;
  border: 1px solid #d5c8ba;
  box-shadow: 1px 3px 7px #58446218;
  background: #fff9e8;
  transform: rotate(-6deg);
  font-size: 15px;
  line-height: 1.25;
}
.today-prompt mark { background: #f4df88; color: inherit; font-weight: 700; }
.today-graph { display: block; width: 142px; height: auto; transform: rotate(-6deg); }
.today-flash { min-width: 120px; text-align: center; font: italic 25px/1.15 Georgia,serif; }

.today-margin { border-left: 1px solid #9b8ba58a; margin-top: 22px; padding-left: 18px; display: grid; gap: 18px; }
.today-margin h2 { font-size: 26px; }
.today-guest p { font-size: 14px; line-height: 1.35; margin-top: 7px; max-width: 19ch; }
.today-streak { padding: 10px 12px; background: #f7e9b4; }
.today-streak p { display: flex; align-items: baseline; gap: 7px; font-size: 14px; }
.today-streak strong { font: 800 40px/1 var(--heading); }
.today .week-note { padding: 0; border: 0; background: transparent; box-shadow: none; }
.today .week-note::before { content: none; }
.today .note-top { margin-bottom: 4px; }
.today .note-top h2 { font-size: 23px; }
.today .note-bottom { margin-top: 5px; }
.today .week-grid { gap: 0; }
.today-exam { display: flex; align-items: center; gap: 8px; justify-content: flex-start; min-height: 40px; padding: 5px 0; background: transparent; border: 0; border-top: 1px solid #a797ab; font-size: 13px; font-weight: 700; }
.today-exam svg:last-child { margin-left: auto; }
.today-exam:hover { text-decoration: underline; }

.today-library { padding: 22px 0 35px; }
.today-library-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1px solid #9c8e9b; }
.today-library-head h2 { font-size: 34px; }
.today-library-head a { font-size: 13px; font-weight: 700; }
.today-files { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; padding: 0; list-style: none; }
.today-files a { display: flex; align-items: flex-start; gap: 9px; padding: 13px 4px 10px 0; }
.today-files svg { color: #615174; }
.today-files strong,.today-files small { display: block; }
.today-files strong { font-size: 14px; }
.today-files small { color: #564b60; font-size: 12px; }
.today-library a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1060px) {
  .today-width { width: calc(100% - 52px); }
  .today-body { grid-template-columns: minmax(0,1fr) 195px; gap: 20px; }
  .today-step strong { font-size: 20px; }
  .today-example { left: 62%; }
  .today-prompt { padding-inline: 9px; font-size: 13px; }
}
@media (max-width: 760px) {
  .today-nav { flex-wrap: wrap; gap: 7px 14px; padding-block: 9px; }
  .today-nav nav { order: 3; flex-basis: 100%; gap: 13px; flex-wrap: wrap; }
  .today-width { width: calc(100% - 28px); }
  .today-body { display: block; }
  .today-margin { margin: 0; }
  .today-step strong { font-size: 17px; }
  .today-example { display: none; }
  .today-files { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
