/* ============================================================
   AdmissionPrep · Today (today's sessions) · v2
   Tokens inherited from prep.v2.css. Reuses caseload.v2.css for
   folio + footer + skeleton primitives.
   ============================================================ */

/* ============================================================
   PAGE LAYOUT
   ============================================================ */

.today {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 40px 64px;
}

.today-hero {
  margin-bottom: 18px;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s both;
}

.today-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--text);
}

.today-subtitle {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ============================================================
   SUB-NAV (Today | Caseload)
   ============================================================ */

.subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.12s both;
}

.subnav-link {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.subnav-link:hover {
  color: var(--text);
}

.subnav-link.is-active {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ============================================================
   TODAY LIST
   ============================================================ */

.today-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.18s both;
}

.today-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 12px 18px 6px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  transition: background 0.18s ease, padding-left 0.18s ease;
}

.today-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: transparent;
  transition: background 0.18s ease;
}

.today-row:hover {
  background: var(--green-soft);
  padding-left: 14px;
}

.today-row:hover::before {
  background: var(--green);
}

.today-row:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.today-time {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: oldstyle-nums tabular-nums;
  letter-spacing: 0.005em;
  text-align: right;
  white-space: nowrap;
}

.today-identity {
  min-width: 0;
}

.today-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.today-type {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 0;
  letter-spacing: 0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.today-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.today-prep {
  color: var(--green);
  border: 1px solid var(--green);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease;
}

.today-row:hover .today-prep {
  background: var(--green);
  color: var(--white);
}

.today-zoom {
  color: var(--text);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.today-zoom:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.today-empty {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  text-align: center;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.22s both;
}

.today-empty-line {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}

.today-empty-link {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.today-empty-link:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* ============================================================
   SKELETON
   ============================================================ */

.today-skeleton {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.today-skeleton li {
  display: grid;
  grid-template-columns: 110px 1fr 120px;
  gap: 28px;
  padding: 22px 12px 22px 6px;
  border-bottom: 1px solid var(--border);
}

.today-skeleton .skeleton-time {
  width: 70px;
  margin-left: auto;
  height: 18px;
}

.today-skeleton .skeleton-name {
  width: 60%;
  margin-bottom: 8px;
}

.today-skeleton .skeleton-type {
  width: 40%;
  height: 10px;
}

.today-skeleton .skeleton-action {
  width: 100px;
  height: 26px;
  margin-left: auto;
  border-radius: var(--r-pill);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 760px) {
  .today { padding: 32px 22px 48px; }
  .today-title { font-size: 28px; }

  .today-row {
    grid-template-columns: 84px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
    column-gap: 18px;
    padding: 14px 8px 14px 4px;
  }
  .today-row:hover { padding-left: 10px; }

  .today-time {
    grid-row: 1;
    grid-column: 1;
    font-size: 17px;
  }
  .today-identity {
    grid-row: 1;
    grid-column: 2;
  }
  .today-actions {
    grid-row: 2;
    grid-column: 2;
    justify-content: flex-start;
  }
  .today-name { font-size: 16px; }
  .today-type { font-size: 12px; }
  .today-prep { padding: 5px 10px; font-size: 11px; }

  .today-skeleton li {
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 18px 8px 18px 4px;
  }
  .today-skeleton .skeleton-action { display: none; }
}

@media (max-width: 540px) {
  .today-title { font-size: 24px; }
  .today-subtitle { font-size: 13.5px; }
  .subnav { font-size: 12.5px; gap: 9px 18px; }
}

/* Print: clean session list */
@media print {
  .subnav, .today-actions { display: none; }
  .today-row { cursor: default; }
  .today-row:hover { background: white; padding-left: 6px; }
  .today-row:hover::before { background: transparent; }
}
