.abes-program-app {
  --app-theme: #0758c8;
  --app-theme-dark: #073b80;
  --app-theme-text: #0758c8;
  --app-on-theme: #fff;
  --app-theme-soft: #eaf3ff;
  --app-theme-soft-strong: #d9eaff;
  --app-theme-rgb: 7, 88, 200;
  --app-ink: #102544;
  --app-muted: #61708a;
  --app-line: #dfe6ef;
  --app-surface: #fff;
  --app-canvas: #f6f8fb;
  --app-shadow-sm: 0 8px 24px rgba(16, 37, 68, .07);
  --app-shadow-md: 0 18px 50px rgba(16, 37, 68, .12);
  --app-ease: cubic-bezier(.22, 1, .36, 1);
  min-width: 320px;
  color: var(--app-ink);
  background: radial-gradient(circle at 50% -15%, rgba(var(--app-theme-rgb), .12), transparent 34rem), var(--app-canvas);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  transition: background-color .35s ease;
}

.abes-program-app,
.abes-program-app * { box-sizing: border-box; }
.abes-program-app button,
.abes-program-app input { font: inherit; }
.abes-program-app button:focus-visible,
.abes-program-app input:focus-visible,
.abes-program-app [tabindex]:focus-visible { outline: 3px solid rgba(var(--app-theme-rgb), .35); outline-offset: 3px; }
.abes-program-app [hidden] { display: none !important; }
.program-skip-link { position: fixed; z-index: 300; top: 12px; left: 12px; padding: 10px 16px; border-radius: 10px; background: var(--app-ink); color: #fff; text-decoration: none; transform: translateY(-160%); }
.program-skip-link:focus { transform: translateY(0); }

.program-page-shell { width: min(1500px, calc(100% - 64px)); margin: 0 auto; padding: 56px 0 80px; }
.program-page-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.program-page-heading .program-eyebrow { margin: 0 0 9px; color: var(--app-theme-text); font-size: 12px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; transition: color .3s ease; }
.program-page-heading h1 { position: relative; display: inline-block; margin: 0; color: #0b3265; font-size: clamp(42px, 5vw, 70px); font-weight: 800; letter-spacing: -.055em; line-height: .98; text-transform: uppercase; }
.program-page-heading h1::after { position: absolute; right: 35%; bottom: -16px; left: 35%; height: 4px; border-radius: 99px; background: var(--app-theme); content: ""; }
.program-page-heading > p:last-child { margin: 34px 0 0; color: var(--app-muted); font-size: 17px; line-height: 1.65; }

.program-layout { display: grid; grid-template-columns: minmax(270px, 390px) minmax(0, 1fr); gap: clamp(34px, 4.5vw, 72px); align-items: start; }
.program-event-picker { position: sticky; top: 28px; padding-right: clamp(26px, 3.5vw, 58px); border-right: 1px solid var(--app-line); }
.program-section-heading { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 24px; }
.program-heading-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 10px; background: var(--app-theme-soft); color: var(--app-theme-text); font-size: 21px; font-weight: 800; }
.program-section-heading h2 { margin: 1px 0 4px; color: #123e76; font-size: 17px; letter-spacing: .01em; text-transform: uppercase; }
.program-section-heading p { margin: 0; color: var(--app-muted); font-size: 13px; }
.program-event-list { display: grid; gap: 12px; }

.program-event-option { --event-theme: #0758c8; --event-theme-dark: #073b80; --event-theme-text: #0758c8; --event-on-theme: #fff; --event-theme-soft: #eaf3ff; display: grid; grid-template-columns: 52px minmax(0, 1fr) 16px; gap: 15px; align-items: center; width: 100%; min-height: 92px; padding: 17px 15px; border: 1px solid var(--app-line); border-radius: 18px; background: var(--app-surface); color: var(--app-ink); cursor: pointer; text-align: left; transition: transform .25s var(--app-ease), border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.program-event-option:hover { border-color: var(--event-theme); box-shadow: var(--app-shadow-sm); transform: translateY(-2px); }
.program-event-option[aria-selected="true"] { border-color: transparent; background: linear-gradient(135deg, var(--event-theme-dark), var(--event-theme-text)); box-shadow: 0 14px 34px rgba(16, 37, 68, .17); color: #fff; }
.program-event-icon { display: grid; width: 52px; height: 52px; overflow: hidden; place-items: center; border-radius: 16px; background: var(--event-theme-soft); color: var(--event-theme-text); font-size: 24px; font-weight: 900; }
.program-event-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.program-event-option[aria-selected="true"] .program-event-icon { background: #fff; }
.program-event-copy { min-width: 0; }
.program-event-copy strong, .program-event-copy small { display: block; }
.program-event-copy strong { margin-bottom: 5px; color: var(--event-theme-dark); font-size: 15px; line-height: 1.25; }
.program-event-copy small { display: -webkit-box; overflow: hidden; color: var(--app-muted); font-size: 11px; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.program-event-option[aria-selected="true"] .program-event-copy strong,
.program-event-option[aria-selected="true"] .program-event-copy small,
.program-event-option[aria-selected="true"] .program-event-arrow { color: #fff; }
.program-event-option[aria-selected="true"] .program-event-copy small { opacity: .8; }
.program-event-arrow { color: var(--app-muted); font-size: 28px; font-weight: 300; }

.program-schedule { min-width: 0; }
.program-event-panel { min-width: 0; }
.program-event-hero { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 17px; align-items: center; min-height: 112px; padding: 22px 26px; overflow: hidden; border-radius: 22px; background: linear-gradient(128deg, var(--app-theme-dark), var(--app-theme-text)); box-shadow: 0 18px 42px rgba(var(--app-theme-rgb), .2); color: #fff; }
.program-event-hero::after { position: absolute; top: -80px; right: -50px; width: 250px; height: 250px; border: 48px solid rgba(255, 255, 255, .055); border-radius: 50%; content: ""; }
.program-event-hero-icon { display: grid; width: 52px; height: 52px; overflow: hidden; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; background: rgba(255,255,255,.14); font-size: 25px; font-weight: 900; }
.program-event-hero-icon img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: rgba(255,255,255,.9); }
.program-event-hero p { margin: 0 0 4px; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.program-event-hero h2 { margin: 0; color: #fff; font-size: clamp(22px, 2.2vw, 31px); letter-spacing: -.025em; line-height: 1.1; }
.program-event-hero div:nth-child(2) > span { display: block; max-width: 620px; margin-top: 6px; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.45; }
.program-event-hero > em { position: relative; z-index: 1; padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; background: rgba(255,255,255,.1); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }

.program-day-tabs-wrap { margin: 22px 0 14px; overflow: hidden; }
.program-day-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 7px; scrollbar-color: var(--app-theme-soft-strong) transparent; scrollbar-width: thin; }
.program-day-tab { flex: 1 0 130px; min-height: 64px; padding: 10px 15px; border: 1px solid transparent; border-radius: 15px; background: #eef1f5; color: var(--app-ink); cursor: pointer; transition: transform .2s var(--app-ease), background-color .25s ease, border-color .25s ease; }
.program-day-tab:hover { transform: translateY(-1px); }
.program-day-tab strong, .program-day-tab span { display: block; }
.program-day-tab strong { margin-bottom: 3px; font-size: 14px; }
.program-day-tab span { color: var(--app-muted); font-size: 11px; }
.program-day-tab[aria-selected="true"] { border-color: var(--app-theme); background: var(--app-theme-soft); color: var(--app-theme-dark); }
.program-day-tab[aria-selected="true"] span { color: var(--app-theme-text); }

.program-tools { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(180px, 270px) auto; gap: 12px; align-items: center; margin: 0 0 20px; }
.program-current-day { color: var(--app-theme-dark); font-size: 14px; font-weight: 750; }
.program-search { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 11px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; color: var(--app-muted); }
.program-search:focus-within { border-color: var(--app-theme); box-shadow: 0 0 0 3px rgba(var(--app-theme-rgb), .1); }
.program-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--app-ink); font-size: 11px; }
.program-result-count { padding: 6px 10px; border-radius: 99px; background: var(--app-theme-soft); color: var(--app-theme-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }

.program-timeline { position: relative; display: grid; gap: 14px; }
.program-timeline::before { position: absolute; top: 20px; bottom: 20px; left: 87px; width: 1px; background: linear-gradient(var(--app-theme-soft-strong), var(--app-theme), var(--app-theme-soft-strong)); content: ""; }
.program-timeline-item { display: grid; grid-template-columns: 72px 30px minmax(0, 1fr); align-items: start; animation: program-item-in .42s var(--app-ease) both; animation-delay: calc(var(--item-index) * 45ms); }
@keyframes program-item-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.program-timeline-item > time { padding-top: 20px; color: var(--app-theme-dark); font-size: 14px; font-weight: 800; text-align: right; }
.program-timeline-marker { position: relative; z-index: 1; width: 14px; height: 14px; margin: 20px auto 0; border: 3px solid var(--app-canvas); border-radius: 50%; background: var(--app-theme); box-shadow: 0 0 0 4px var(--app-theme-soft); }

.program-activity-card { min-width: 0; padding: 18px 20px; border: 1px solid var(--app-line); border-radius: 17px; background: var(--app-surface); box-shadow: 0 4px 16px rgba(16,37,68,.045); transition: transform .25s var(--app-ease), box-shadow .25s ease, border-color .25s ease; }
.program-activity-card:hover { border-color: var(--app-theme-soft-strong); box-shadow: var(--app-shadow-sm); transform: translateY(-2px); }
.program-activity-card.is-featured { background: linear-gradient(135deg, var(--app-theme-soft), #fff 78%); }
.program-activity-topline { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; }
.program-activity-topline h3 { margin: 0; color: var(--app-theme-dark); font-size: clamp(15px, 1.45vw, 18px); letter-spacing: -.018em; line-height: 1.3; text-transform: uppercase; }
.program-activity-topline > span { flex: 0 0 auto; padding: 4px 8px; border-radius: 7px; background: var(--app-theme-soft); color: var(--app-theme-dark); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.program-activity-description { margin: 10px 0 0; color: #43526a; font-size: 13px; line-height: 1.6; }
.program-tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0 0; padding: 0; list-style: none; }
.program-tag-list li { padding: 6px 10px; border-radius: 8px; background: var(--app-theme-soft); color: var(--app-theme-dark); font-size: 10px; font-weight: 650; }

.program-activity-break { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 13px; align-items: center; background: var(--app-theme-soft); }
.program-break-icon { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 14px; background: var(--app-theme); color: var(--app-on-theme); font-size: 18px; font-weight: 900; }
.program-activity-break h3 { margin: 0; color: var(--app-theme-dark); font-size: 15px; text-transform: uppercase; }
.program-activity-break p { margin: 3px 0 0; color: var(--app-muted); font-size: 11px; }

.program-people { display: grid; gap: 10px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--app-line); }
.program-person-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; align-items: start; }
.program-person-row > strong { padding-top: 8px; color: var(--app-muted); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.program-person-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.program-person-chip { display: inline-grid; grid-template-columns: 30px minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; padding: 5px 9px 5px 5px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; color: var(--app-ink); cursor: pointer; text-align: left; }
.program-person-chip:hover { border-color: var(--app-theme); }
.program-person-chip > span { display: grid; width: 30px; height: 30px; overflow: hidden; place-items: center; border-radius: 9px; background: var(--app-theme-soft); color: var(--app-theme-dark); font-size: 11px; font-weight: 800; }
.program-person-chip img { width: 100%; height: 100%; object-fit: cover; }
.program-person-chip em { min-width: 0; font-size: 10px; font-style: normal; font-weight: 700; line-height: 1.3; }
.program-person-chip small { display: block; overflow: hidden; color: var(--app-muted); font-size: 8px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.program-person-text { padding-top: 5px; color: #43526a; font-size: 11px; line-height: 1.5; }

.program-special-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; }
.program-special-details > div { padding: 9px 10px; border-radius: 10px; background: rgba(var(--app-theme-rgb), .055); }
.program-special-details dt { color: var(--app-muted); font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.program-special-details dd { margin: 2px 0 0; color: var(--app-ink); font-size: 11px; line-height: 1.4; }
.program-special-link { display: inline-flex; margin-top: 12px; padding: 8px 13px; border-radius: 9px; background: var(--app-theme); color: var(--app-on-theme); font-size: 10px; font-weight: 750; text-decoration: none; }
.program-activity-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 13px; padding-top: 11px; border-top: 1px solid var(--app-line); color: var(--app-muted); font-size: 10px; }
.program-activity-meta span { display: inline-flex; gap: 6px; align-items: center; }
.program-activity-meta span::before { width: 5px; height: 5px; border-radius: 50%; background: var(--app-theme); content: ""; }

.program-empty-state, .program-global-empty, .program-no-results { display: grid; gap: 5px; padding: 46px 20px; border: 1px dashed var(--app-line); border-radius: 18px; background: #fff; color: var(--app-muted); text-align: center; }
.program-empty-state { margin-top: 20px; }
.program-empty-state strong, .program-global-empty strong, .program-no-results strong { color: var(--app-theme-dark); }
.program-global-empty { max-width: 760px; margin: 0 auto; }
.program-no-results { margin-left: 102px; }
.program-mobile-nav { display: none; }

.program-profile-dialog { width: min(540px, calc(100% - 28px)); padding: 0; overflow: hidden; border: 0; border-radius: 22px; box-shadow: 0 28px 90px rgba(16,37,68,.28); color: var(--app-ink); }
.program-profile-dialog::backdrop { background: rgba(8, 22, 42, .65); backdrop-filter: blur(5px); }
#abes-programacao-app .program-profile-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 0;
  padding: 0 !important;
  border: 0;
  border-radius: 50%;
  background: var(--app-theme-dark) !important;
  box-shadow: 0 5px 16px rgba(16, 37, 68, .2);
  color: #fff !important;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  appearance: none;
}
#abes-programacao-app .program-profile-close svg {
  display: block;
  width: 20px;
  height: 20px;
  overflow: visible;
  pointer-events: none;
}
#abes-programacao-app .program-profile-close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
#abes-programacao-app .program-profile-close:hover {
  background: var(--app-theme) !important;
  color: var(--app-on-theme) !important;
}
#abes-programacao-app .program-profile-close:focus-visible {
  outline: 3px solid rgba(var(--app-theme-rgb), .3);
  outline-offset: 3px;
}
.program-profile-head { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 15px; align-items: center; padding: 26px; background: var(--app-theme-soft); }
.program-profile-avatar { display: grid; width: 76px; height: 76px; overflow: hidden; place-items: center; border-radius: 22px; background: #fff; color: var(--app-theme-dark); font-size: 26px; font-weight: 800; }
.program-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.program-profile-head h2 { margin: 0; color: var(--app-theme-dark); font-size: 21px; }
.program-profile-role { margin: 5px 0 0; color: var(--app-muted); font-size: 11px; }
.program-profile-bio { margin: 0; padding: 22px 26px 8px; color: #43526a; font-size: 12px; line-height: 1.65; }
.program-profile-bio:empty { display: none; }
.program-profile-links { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 26px 26px; }
.program-profile-links a { padding: 7px 10px; border-radius: 8px; background: var(--app-theme-soft); color: var(--app-theme-dark); font-size: 10px; font-weight: 700; text-decoration: none; }

@media (max-width: 1020px) {
  .program-page-shell { width: min(100% - 40px, 960px); }
  .program-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; }
  .program-event-picker { padding-right: 26px; }
  .program-event-option { grid-template-columns: 46px minmax(0, 1fr) 12px; gap: 12px; min-height: 82px; padding: 14px 12px; }
  .program-event-icon { width: 46px; height: 46px; }
}

@media (max-width: 760px) {
  body:has(.abes-program-app) { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .program-page-shell { width: 100%; padding: 25px 15px 38px; }
  .program-page-heading { margin-bottom: 25px; text-align: left; }
  .program-page-heading .program-eyebrow { margin-bottom: 7px; font-size: 10px; }
  .program-page-heading h1 { font-size: 37px; }
  .program-page-heading h1::after { right: auto; bottom: -11px; left: 0; width: 42px; height: 3px; }
  .program-page-heading > p:last-child { margin-top: 25px; font-size: 13px; line-height: 1.5; }
  .program-layout { display: block; }
  .program-event-picker { display: none; }
  .program-event-hero { grid-template-columns: 45px minmax(0, 1fr); gap: 13px; min-height: 104px; padding: 18px; border-radius: 20px; }
  .program-event-hero-icon { width: 45px; height: 45px; border-radius: 14px; font-size: 21px; }
  .program-event-hero h2 { font-size: 21px; }
  .program-event-hero div:nth-child(2) > span { font-size: 10px; }
  .program-event-hero > em { display: none; }
  .program-day-tabs-wrap { position: sticky; z-index: 20; top: 0; margin: 13px -15px 12px; padding: 9px 15px 2px; background: rgba(247,249,252,.94); backdrop-filter: blur(14px); }
  .program-day-tabs { gap: 8px; }
  .program-day-tab { flex-basis: 112px; min-height: 57px; padding: 8px 11px; border-radius: 13px; }
  .program-day-tab strong { font-size: 12px; }
  .program-day-tab span { font-size: 9px; }
  .program-tools { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .program-current-day { grid-column: 1 / -1; font-size: 12px; }
  .program-search { min-width: 0; }
  .program-timeline { gap: 12px; }
  .program-timeline::before { left: 5px; }
  .program-timeline-item { grid-template-columns: 12px minmax(0, 1fr); column-gap: 11px; }
  .program-timeline-item > time { grid-column: 2; grid-row: 1; padding: 0 0 7px; color: var(--app-theme-text); font-size: 11px; text-align: left; }
  .program-timeline-marker { grid-column: 1; grid-row: 1 / span 2; width: 11px; height: 11px; margin-top: 2px; border-width: 2px; box-shadow: 0 0 0 3px var(--app-theme-soft); }
  .program-activity-card { grid-column: 2; grid-row: 2; padding: 16px; border-radius: 15px; }
  .program-activity-topline { display: block; }
  .program-activity-topline > span { display: inline-block; margin-bottom: 8px; }
  .program-activity-topline h3 { font-size: 15px; }
  .program-activity-description { font-size: 12px; }
  .program-person-row { grid-template-columns: 1fr; gap: 4px; }
  .program-person-row > strong { padding-top: 0; }
  .program-special-details { grid-template-columns: 1fr; }
  .program-no-results { margin-left: 23px; }
  .program-mobile-nav { position: fixed; z-index: 100; right: 0; bottom: 0; left: 0; display: block; padding: 8px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(16,37,68,.1); background: rgba(255,255,255,.95); box-shadow: 0 -10px 36px rgba(16,37,68,.1); backdrop-filter: blur(20px); }
  .program-mobile-nav > div { display: grid; grid-template-columns: repeat(var(--program-event-count, 5), minmax(0, 1fr)); max-width: 650px; margin: 0 auto; }
  .program-mobile-nav button { --event-theme: #0758c8; --event-theme-text: #0758c8; --event-theme-soft: #eaf3ff; display: grid; gap: 3px; justify-items: center; min-width: 0; padding: 5px 2px 3px; border: 0; border-radius: 13px; background: transparent; color: #768197; cursor: pointer; }
  .program-mobile-nav button > span { display: grid; width: 31px; height: 29px; place-items: center; border-radius: 10px; font-size: 17px; font-weight: 900; }
  .program-mobile-nav button > span img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
  .program-mobile-nav button > em { display: block; max-width: 100%; overflow: hidden; font-size: 8px; font-style: normal; font-weight: 700; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .program-mobile-nav button[aria-selected="true"] { color: var(--event-theme-text); }
  .program-mobile-nav button[aria-selected="true"] > span { background: var(--event-theme-soft); transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .abes-program-app *, .abes-program-app *::before, .abes-program-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   2.4.29 — Escala tipográfica, ritmo e responsividade
   Mantém a identidade visual da programação e amplia a legibilidade de todos
   os elementos funcionais em desktop, tablet e celular.
   -------------------------------------------------------------------------- */

.abes-program-app {
  --app-muted: #596a84;
  --app-type-xs: clamp(.75rem, .72rem + .08vw, .8125rem);
  --app-type-sm: clamp(.8125rem, .78rem + .12vw, .9rem);
  --app-type-base: clamp(.9375rem, .9rem + .13vw, 1.025rem);
  --app-type-md: clamp(1rem, .94rem + .22vw, 1.15rem);
  --app-type-lg: clamp(1.125rem, 1.02rem + .38vw, 1.375rem);
  --app-type-xl: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
  font-family: Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.abes-program-app p,
.abes-program-app h1,
.abes-program-app h2,
.abes-program-app h3,
.abes-program-app strong,
.abes-program-app small,
.abes-program-app span,
.abes-program-app dd {
  overflow-wrap: anywhere;
}

.program-page-shell {
  width: min(1440px, calc(100% - clamp(40px, 5vw, 80px)));
  padding: clamp(56px, 5vw, 78px) 0 clamp(80px, 7vw, 108px);
}

.program-page-heading {
  max-width: 800px;
  margin-bottom: clamp(44px, 4vw, 62px);
}

.program-page-heading .program-eyebrow {
  margin-bottom: 12px;
  font-size: var(--app-type-xs);
  letter-spacing: .16em;
  line-height: 1.4;
}

.program-page-heading h1 {
  font-size: clamp(2.75rem, 4.5vw, 4.25rem);
  letter-spacing: -.045em;
  line-height: 1;
  text-wrap: balance;
}

.program-page-heading > p:last-child {
  max-width: 660px;
  margin: 38px auto 0;
  font-size: var(--app-type-md);
  line-height: 1.65;
}

.program-layout {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: clamp(42px, 4.2vw, 64px);
}

.program-event-picker {
  top: 24px;
  padding-right: clamp(30px, 3vw, 46px);
}

.program-section-heading {
  gap: 15px;
  margin-bottom: 26px;
}

.program-heading-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 22px;
}

.program-section-heading h2 {
  margin: 0 0 5px;
  font-size: var(--app-type-md);
  font-weight: 780;
  letter-spacing: .015em;
  line-height: 1.35;
}

.program-section-heading p {
  font-size: var(--app-type-sm);
  line-height: 1.5;
}

.program-event-list { gap: 14px; }

.program-event-option {
  grid-template-columns: 58px minmax(0, 1fr) 18px;
  gap: 16px;
  min-height: 104px;
  padding: 18px 17px;
  border-radius: 20px;
}

.program-event-option[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .12)), linear-gradient(135deg, var(--event-theme-dark), var(--event-theme-text));
}

.program-event-icon {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  font-size: 25px;
}

.program-event-copy strong {
  margin-bottom: 6px;
  font-size: var(--app-type-md);
  font-weight: 760;
  line-height: 1.28;
}

.program-event-copy small {
  font-size: var(--app-type-sm);
  line-height: 1.45;
}

.program-event-option[aria-selected="true"] .program-event-copy strong,
.program-event-option[aria-selected="true"] .program-event-copy small,
.program-event-option[aria-selected="true"] .program-event-arrow {
  color: #fff !important;
}

.program-event-option[aria-selected="true"] .program-event-copy small { opacity: .86; }
.program-event-arrow { font-size: 30px; }

.program-event-hero {
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 21px;
  min-height: 136px;
  padding: 27px 30px;
  border-radius: 24px;
  background: linear-gradient(128deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .12)), linear-gradient(128deg, var(--app-theme-dark), var(--app-theme-text));
}

.program-event-hero-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  font-size: 28px;
}

.program-event-hero p {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, .82);
  font-size: var(--app-type-xs);
  letter-spacing: .14em;
  line-height: 1.35;
}

.program-event-hero h2 {
  font-size: var(--app-type-xl);
  font-weight: 790;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.program-event-hero div:nth-child(2) > span {
  max-width: 68ch;
  margin-top: 8px;
  color: rgba(255, 255, 255, .88);
  font-size: var(--app-type-sm);
  line-height: 1.5;
}

.program-event-hero > em {
  min-height: 34px;
  padding: 8px 13px;
  font-size: var(--app-type-xs);
  line-height: 1.3;
}

.program-day-tabs-wrap { margin: 28px 0 20px; }
.program-day-tabs { gap: 12px; padding-bottom: 9px; }

.program-day-tab {
  flex-basis: 150px;
  min-height: 76px;
  padding: 13px 17px;
  border-radius: 16px;
}

.program-day-tab strong {
  margin-bottom: 4px;
  font-size: var(--app-type-md);
  font-weight: 760;
  line-height: 1.3;
}

.program-day-tab span {
  font-size: var(--app-type-sm);
  line-height: 1.4;
}

.program-tools {
  grid-template-columns: minmax(160px, 1fr) minmax(220px, 310px) auto;
  gap: 14px;
  margin-bottom: 24px;
}

.program-current-day {
  font-size: var(--app-type-md);
  font-weight: 760;
  line-height: 1.45;
}

.program-search {
  min-height: 46px;
  gap: 9px;
  padding: 0 14px;
  border-radius: 13px;
}

.program-search input {
  font-size: var(--app-type-sm);
  line-height: 1.4;
}

.program-result-count {
  padding: 8px 12px;
  font-size: var(--app-type-xs);
  line-height: 1.3;
}

.program-timeline { gap: 19px; }
.program-timeline::before { top: 24px; bottom: 24px; left: 91px; }

.program-timeline-item {
  grid-template-columns: 74px 34px minmax(0, 1fr);
}

.program-timeline-item > time {
  padding-top: 23px;
  font-size: var(--app-type-base);
  font-weight: 800;
  line-height: 1.35;
}

.program-timeline-marker {
  width: 15px;
  height: 15px;
  margin-top: 24px;
}

.program-activity-card {
  padding: clamp(22px, 2.2vw, 28px);
  border-radius: 20px;
}

.program-activity-topline { gap: 18px; }

.program-activity-topline h3 {
  max-width: 34ch;
  font-size: var(--app-type-lg);
  font-weight: 760;
  letter-spacing: -.018em;
  line-height: 1.35;
  text-transform: none;
  text-wrap: balance;
}

.program-activity-topline > span {
  padding: 6px 9px;
  font-size: var(--app-type-xs);
  letter-spacing: .07em;
  line-height: 1.25;
}

.program-activity-description {
  max-width: 78ch;
  margin-top: 12px;
  font-size: var(--app-type-base);
  line-height: 1.65;
}

.program-tag-list { gap: 8px; margin-top: 16px; }
.program-tag-list li {
  padding: 7px 11px;
  font-size: var(--app-type-xs);
  line-height: 1.35;
}

.program-activity-break {
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 16px;
}

.program-break-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  font-size: 20px;
}

.program-activity-break h3 {
  font-size: var(--app-type-md);
  line-height: 1.35;
  text-transform: none;
}

.program-activity-break p {
  margin-top: 4px;
  font-size: var(--app-type-sm);
  line-height: 1.45;
}

.program-people {
  gap: 13px;
  margin-top: 18px;
  padding-top: 17px;
}

.program-person-row {
  grid-template-columns: minmax(124px, max-content) minmax(0, 1fr);
  gap: 13px;
}

.program-person-row > strong {
  padding-top: 10px;
  font-size: var(--app-type-xs);
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.program-person-chips { gap: 9px; }

.program-person-chip {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-height: 50px;
  padding: 6px 11px 6px 6px;
  border-radius: 14px;
}

.program-person-chip > span {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: var(--app-type-sm);
}

.program-person-chip em {
  font-size: var(--app-type-sm);
  line-height: 1.35;
}

.program-person-chip small {
  margin-top: 2px;
  font-size: var(--app-type-xs);
  line-height: 1.35;
}

.program-person-text {
  padding-top: 7px;
  font-size: var(--app-type-sm);
  line-height: 1.6;
}

.program-special-details {
  gap: 10px;
  margin-top: 18px;
}

.program-special-details > div {
  min-height: 66px;
  padding: 12px 14px;
  border-radius: 12px;
}

.program-special-details dt {
  font-size: var(--app-type-xs);
  line-height: 1.3;
}

.program-special-details dd {
  margin-top: 4px;
  font-size: var(--app-type-sm);
  line-height: 1.5;
}

.program-special-link {
  min-height: 42px;
  align-items: center;
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--app-theme-dark);
  font-size: var(--app-type-sm);
  line-height: 1.35;
}

.program-special-link:hover { color: var(--app-on-theme); filter: brightness(.94); }

.program-activity-meta {
  gap: 9px 18px;
  margin-top: 17px;
  padding-top: 14px;
  font-size: var(--app-type-xs);
  line-height: 1.45;
}

.program-empty-state,
.program-global-empty,
.program-no-results {
  gap: 7px;
  padding: 50px 24px;
  font-size: var(--app-type-base);
  line-height: 1.55;
}

.program-profile-dialog { width: min(600px, calc(100% - 28px)); }
.program-profile-head {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 18px;
  padding: 30px;
}

.program-profile-avatar {
  width: 84px;
  height: 84px;
  font-size: 28px;
}

.program-profile-head h2 { font-size: var(--app-type-lg); line-height: 1.3; }
.program-profile-role { margin-top: 6px; font-size: var(--app-type-sm); line-height: 1.45; }
.program-profile-bio { padding: 26px 30px 10px; font-size: var(--app-type-base); line-height: 1.7; }
.program-profile-links { gap: 10px; padding: 16px 30px 30px; }
.program-profile-links a { min-height: 40px; padding: 9px 12px; font-size: var(--app-type-sm); }

@media (max-width: 1180px) {
  .program-page-shell { width: min(100% - 40px, 1100px); }
  .program-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 30px; }
  .program-event-picker { padding-right: 26px; }
  .program-event-option { grid-template-columns: 48px minmax(0, 1fr) 14px; gap: 12px; min-height: 90px; padding: 14px 13px; }
  .program-event-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 22px; }
  .program-event-copy strong { font-size: var(--app-type-base); }
  .program-event-hero { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 17px; padding: 24px; }
  .program-event-hero-icon { width: 56px; height: 56px; }
  .program-activity-topline h3 { max-width: 30ch; }
}

@media (min-width: 761px) and (max-width: 920px) {
  .program-page-shell { width: min(100% - 36px, 860px); }
  .program-layout { display: block; }
  .program-event-picker {
    position: static;
    display: block;
    margin-bottom: 30px;
    padding: 0;
    border-right: 0;
  }
  .program-section-heading { margin-bottom: 16px; }
  .program-event-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 44%);
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-color: var(--app-theme-soft-strong) transparent;
    scrollbar-width: thin;
  }
  .program-event-option {
    min-height: 88px;
    scroll-snap-align: start;
  }
  .program-event-hero { min-height: 126px; }
}

@media (max-width: 760px) {
  .program-page-shell { width: 100%; padding: 30px 16px 44px; }
  .program-page-heading { margin-bottom: 30px; }
  .program-page-heading .program-eyebrow { font-size: .75rem; }
  .program-page-heading h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .program-page-heading > p:last-child { margin-top: 29px; font-size: .9375rem; line-height: 1.6; }

  .program-event-hero {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 15px;
    min-height: 116px;
    padding: 20px;
    border-radius: 20px;
  }
  .program-event-hero-icon { width: 50px; height: 50px; border-radius: 15px; font-size: 23px; }
  .program-event-hero p { margin-bottom: 5px; font-size: .7rem; }
  .program-event-hero h2 { font-size: clamp(1.35rem, 6vw, 1.75rem); line-height: 1.18; }
  .program-event-hero div:nth-child(2) > span { margin-top: 7px; font-size: .8125rem; line-height: 1.45; }

  .program-day-tabs-wrap {
    margin: 16px -16px 16px;
    padding: 10px 16px 3px;
  }
  .program-day-tabs { gap: 9px; }
  .program-day-tab { flex-basis: 124px; min-height: 64px; padding: 10px 12px; }
  .program-day-tab strong { font-size: .9rem; }
  .program-day-tab span { font-size: .75rem; }

  .program-tools { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 21px; }
  .program-current-day { grid-column: 1 / -1; font-size: .9375rem; }
  .program-search { min-height: 46px; padding-inline: 13px; }
  .program-search input { font-size: .875rem; }
  .program-result-count { font-size: .75rem; }

  .program-timeline { gap: 17px; }
  .program-timeline::before { left: 6px; }
  .program-timeline-item { grid-template-columns: 14px minmax(0, 1fr); column-gap: 12px; }
  .program-timeline-item > time { padding-bottom: 8px; font-size: .875rem; line-height: 1.35; }
  .program-timeline-marker { width: 12px; height: 12px; margin-top: 3px; }

  .program-activity-card { padding: 19px; border-radius: 17px; }
  .program-activity-topline > span { margin-bottom: 10px; font-size: .7rem; }
  .program-activity-topline h3 { max-width: none; font-size: 1.1rem; line-height: 1.4; text-wrap: pretty; }
  .program-activity-description { margin-top: 11px; font-size: .9375rem; line-height: 1.65; }
  .program-tag-list li { font-size: .75rem; }
  .program-activity-break { grid-template-columns: 46px minmax(0, 1fr); gap: 13px; }
  .program-break-icon { width: 46px; height: 46px; }
  .program-activity-break h3 { font-size: 1rem; }
  .program-activity-break p { font-size: .8125rem; }

  .program-person-row { grid-template-columns: 1fr; gap: 6px; }
  .program-person-row > strong { font-size: .72rem; }
  .program-person-chip { width: 100%; }
  .program-person-chip em { font-size: .85rem; }
  .program-person-chip small { font-size: .75rem; white-space: normal; }
  .program-person-text { font-size: .875rem; }

  .program-special-details { grid-template-columns: 1fr; }
  .program-special-details > div { min-height: 0; }
  .program-special-details dt { font-size: .7rem; }
  .program-special-details dd { font-size: .875rem; }
  .program-special-link { width: fit-content; min-height: 44px; font-size: .8125rem; }
  .program-activity-meta { font-size: .75rem; }
  .program-no-results { margin-left: 26px; }

  .program-mobile-nav { padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); }
  .program-mobile-nav > div {
    display: flex;
    max-width: 650px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .program-mobile-nav > div::-webkit-scrollbar { display: none; }
  .program-mobile-nav button {
    flex: 1 0 clamp(64px, 19vw, 88px);
    min-height: 56px;
    gap: 4px;
    padding: 4px 3px 3px;
    scroll-snap-align: center;
  }
  .program-mobile-nav button > span { width: 34px; height: 32px; font-size: 18px; }
  .program-mobile-nav button > em { font-size: .6875rem; line-height: 1.25; }

  .program-profile-head { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 24px 20px; }
  .program-profile-avatar { width: 70px; height: 70px; border-radius: 19px; }
  .program-profile-head h2 { font-size: 1.2rem; }
  .program-profile-role { font-size: .8125rem; }
  .program-profile-bio { padding: 22px 20px 8px; font-size: .9rem; }
  .program-profile-links { padding: 14px 20px 22px; }
  .program-profile-links a { font-size: .8125rem; }
}

@media (max-width: 420px) {
  .program-page-shell { padding-right: 12px; padding-left: 12px; }
  .program-page-heading h1 { font-size: clamp(2.1rem, 12vw, 2.75rem); }
  .program-event-hero { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 17px 15px; }
  .program-event-hero-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 20px; }
  .program-event-hero h2 { font-size: clamp(1.2rem, 6vw, 1.5rem); }
  .program-event-hero div:nth-child(2) > span { font-size: .78rem; }
  .program-day-tabs-wrap { margin-right: -12px; margin-left: -12px; padding-right: 12px; padding-left: 12px; }
  .program-tools { grid-template-columns: minmax(0, 1fr); }
  .program-result-count { width: fit-content; }
  .program-activity-card { padding: 17px 15px; }
  .program-activity-topline h3 { font-size: 1.02rem; }
  .program-activity-description { font-size: .9rem; }
  .program-activity-meta { gap: 8px 13px; }
  .program-no-results { margin-left: 26px; padding-inline: 14px; }
}

@media (hover: none) {
  .program-event-option:hover,
  .program-day-tab:hover,
  .program-activity-card:hover { transform: none; }
}
