.dates-content { width: min(100%, 1120px); }
.dates-hero {
  position: relative; display: flex; min-height: 150px; align-items: center; justify-content: space-between;
  gap: 20px; overflow: hidden; padding: 24px 28px; border: 1px solid #dce5ed; border-radius: 12px;
  background: #edf3f8;
}
.dates-hero > div:first-child { position: relative; z-index: 1; }
.dates-hero .eyebrow { margin-bottom: 10px; }
.dates-hero h1 { margin: 0; }
.dates-description { max-width: 500px; margin: 10px 0 0; color: #52677d; font-size: 14px; line-height: 1.5; }
.dates-instructions { max-width: 680px; margin: 8px 0 0; color: #52677d; font-size: 13px; line-height: 1.5; }
.dates-instructions strong, .dates-instructions code { color: #294f70; }
.dates-instructions code { padding: 1px 4px; border-radius: 3px; background: #dfeaf3; }
.dates-hero-mark { position: absolute; top: 23px; right: 48px; display: grid; width: 115px; height: 115px; place-items: center; border: 1px solid #c5d6e4; border-radius: 50%; color: #47799d; font-size: 68px; opacity: .22; }
.dates-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0 22px; }
.dates-search { display: flex; flex: 1; max-width: 520px; align-items: center; gap: 10px; min-height: 43px; padding: 0 12px; border: 1px solid #e0e5ea; border-radius: 8px; background: var(--surface); color: #778699; }
.dates-search > span { font-size: 25px; line-height: 1; transform: rotate(-15deg); }
.dates-search input { width: 100%; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 14px; }
.dates-search input::placeholder { color: #9aa4b1; }
.dates-loading { margin: 20px 0; color: #596b80; font-size: 14px; }
.dates-load-error { margin: 14px 0; padding: 12px 14px; border: 1px solid #f0c7ca; border-radius: 8px; background: #fff5f5; color: #a3212a; font-size: 14px; line-height: 1.5; }
.date-group { margin: 0 0 22px; }
.date-group-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.date-group-header h2 { margin: 0; color: #213851; font-size: 18px; letter-spacing: -.02em; }
.date-group-header span { color: #596b80; font-size: 12px; }
.date-list { display: grid; gap: 6px; }
.date-card { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 68px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.date-card:hover { border-color: #b9cddd; }
.date-card.past { background: #fbfcfd; }
.date-badge { display: grid; width: 48px; min-height: 52px; align-content: center; justify-items: center; border: 1px solid #d8e5ee; border-radius: 8px; background: #edf4f9; color: #285d83; }
.date-badge-unscheduled { background: #f4f5f7; border-color: #e5e7eb; color: #687386; }
.date-month { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.date-day { margin-top: 1px; font-size: 19px; font-weight: 750; line-height: 1.1; }
.date-year { margin-top: 2px; color: #52677d; font-size: 11px; }
.date-main { min-width: 0; }
.date-title-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.date-title { overflow: hidden; color: #243b55; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.date-type { padding: 2px 7px; border-radius: 10px; background: #edf2f6; color: #4f657c; font-size: 11px; font-weight: 650; }
.date-type.date-today { background: #e8f2ed; color: #276247; }
.date-type.date-soon { background: #fff2df; color: #855a23; }
.date-description { margin: 5px 0 0; color: #596b80; font-size: 13px; line-height: 1.45; }
.date-full { color: #596b80; font-size: 12px; white-space: nowrap; }
.date-card > div:last-child { display: flex; align-items: center; gap: 7px; }
.dates-empty { margin-top: 14px; padding: 43px 18px; border: 1px dashed #dbe2e8; border-radius: 10px; background: rgb(255 255 255 / 42%); color: #7d899a; text-align: center; }
.dates-empty h2 { margin: 12px 0 5px; color: #2a405a; font-size: 18px; }
.dates-empty p { margin: 0 0 16px; font-size: 13px; }
.date-error { margin: 9px 0 0; color: #b4232d; font-size: 13px; }

@media (max-width: 700px) {
  .dates-hero { min-height: 150px; padding: 21px; }
  .dates-hero-mark { right: -15px; opacity: .26; }
  .dates-hero > div:first-child { max-width: 80%; }
  .dates-toolbar { align-items: flex-start; flex-direction: column; }
  .dates-search { width: 100%; max-width: none; }
}
@media (max-width: 460px) {
  .dates-hero { min-height: 145px; }
  .dates-hero .eyebrow { font-size: 9px; letter-spacing: .06em; }
  .dates-hero .eyebrow-divider { display: none; }
  .dates-hero-mark { display: none; }
  .dates-hero > div:first-child { max-width: 100%; }
  .date-card { grid-template-columns: 50px minmax(0, 1fr) 28px; gap: 9px; padding: 9px; }
  .date-badge { width: 46px; min-height: 52px; }
  .date-full { display: none; }
  .date-title { font-size: 14px; }
}
