.eaq-program {
  --eaq-ink: #1b1b1f;
  --eaq-dim: #6b6b76;
  --eaq-line: #e2e2e8;
  --eaq-bg: #fff;
  --eaq-accent: #2e5c8a;
  --eaq-soft: #f6f7f9;
  --eaq-radius: 8px;
  max-width: 100%;
  color: var(--eaq-ink);
  background: var(--eaq-bg);
  line-height: 1.45;
}

.eaq-program *,
.eaq-program *::before,
.eaq-program *::after {
  box-sizing: border-box;
}

.eaq-program .eaq-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 14px;
  background: var(--eaq-soft);
  border: 1px solid var(--eaq-line);
  border-radius: var(--eaq-radius);
}

.eaq-program .eaq-controls label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  color: var(--eaq-dim);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eaq-program .eaq-controls select,
.eaq-program .eaq-controls input {
  min-width: 150px;
  padding: 7px 9px;
  color: var(--eaq-ink);
  background: #fff;
  border: 1px solid #c9c9d2;
  border-radius: 5px;
  font: inherit;
  font-size: 0.95rem;
}

.eaq-program .eaq-search {
  flex: 1 1 220px;
}

.eaq-program .eaq-search input {
  width: 100%;
  min-width: 0;
}

.eaq-program .eaq-controls button {
  padding: 8px 14px;
  color: #fff;
  background: var(--eaq-accent);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}

.eaq-program .eaq-controls button:hover {
  filter: brightness(1.12);
}

.eaq-program .eaq-controls button:focus-visible,
.eaq-program .eaq-controls select:focus-visible,
.eaq-program .eaq-controls input:focus-visible,
.eaq-program .eaq-abstract:focus-visible,
.eaq-program .eaq-modal-close:focus-visible,
.eaq-program a:focus-visible {
  outline: 3px solid var(--eaq-accent);
  outline-offset: 2px;
}

.eaq-program .eaq-venues-link {
  margin: 0 0 7px;
  font-size: 0.85rem;
}

.eaq-program .eaq-venues-link a {
  color: var(--eaq-accent);
}

.eaq-program .eaq-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
  color: var(--eaq-dim);
  font-size: 0.85rem;
}

.eaq-program .eaq-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.eaq-program .eaq-legend i {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 3px;
}

.eaq-program .eaq-status {
  margin: 14px 0;
  color: var(--eaq-dim);
  font-style: italic;
}

.eaq-program .eaq-status.eaq-error {
  color: #a4232b;
  font-style: normal;
  font-weight: 600;
}

.eaq-program .eaq-day {
  margin: 0 0 34px;
}

.eaq-program .eaq-day > h2 {
  position: sticky;
  z-index: 2;
  top: 0;
  margin: 0 0 14px;
  padding: 9px 0;
  color: var(--eaq-accent);
  background: var(--eaq-bg);
  border-bottom: 2px solid var(--eaq-accent);
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}

.eaq-program .eaq-block {
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid var(--eaq-line);
  border-radius: var(--eaq-radius);
}

.eaq-program .eaq-block > header {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
  padding: 9px 13px;
  background: var(--eaq-soft);
  border-bottom: 1px solid var(--eaq-line);
}

.eaq-program .eaq-block > header b {
  font-size: 0.98rem;
}

.eaq-program .eaq-block > header .eaq-when {
  color: var(--eaq-accent);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.eaq-program .eaq-block > header .eaq-where,
.eaq-program .eaq-block > header .eaq-chair {
  color: var(--eaq-dim);
  font-size: 0.84rem;
}

.eaq-program .eaq-block > header .eaq-chair b {
  font-size: inherit;
  font-weight: 600;
}

.eaq-program .eaq-block > header .eaq-eventlink {
  margin-left: auto;
  font-size: 0.84rem;
  white-space: nowrap;
}

.eaq-program .eaq-block > header .eaq-eventlink a {
  color: var(--eaq-accent);
}

.eaq-program .eaq-block > header .eaq-blocknote {
  flex: 1 1 100%;
  margin: 2px 0 0;
  color: var(--eaq-dim);
  font-size: 0.84rem;
  font-style: italic;
}

.eaq-program .eaq-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 3px 14px;
  padding: 11px 13px;
  border-top: 1px solid #f0f0f4;
}

.eaq-program .eaq-item:first-child {
  border-top: 0;
}

.eaq-program .eaq-item .eaq-time {
  grid-row: 1 / span 3;
  color: var(--eaq-dim);
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.eaq-program .eaq-item .eaq-time span {
  display: block;
}

.eaq-program .eaq-item .eaq-presence {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  white-space: normal;
}

.eaq-program .eaq-item .eaq-title {
  font-weight: 600;
}

.eaq-program .eaq-item .eaq-authors {
  color: var(--eaq-dim);
  font-size: 0.9rem;
}

.eaq-program .eaq-item .eaq-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  color: var(--eaq-dim);
  font-size: 0.8rem;
}

.eaq-program .eaq-item a {
  color: var(--eaq-accent);
}

.eaq-program .eaq-id {
  display: inline-block;
  padding: 1px 7px;
  color: #fff;
  background: var(--eaq-accent);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.eaq-program .eaq-venue-tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.eaq-program .eaq-venue-tag i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.eaq-program .eaq-note {
  font-style: italic;
}

.eaq-program .eaq-break {
  display: flex;
  gap: 14px;
  margin: 0 0 16px;
  padding: 7px 13px;
  color: var(--eaq-dim);
  background: repeating-linear-gradient(135deg, #fafafc, #fafafc 9px, #f4f4f7 9px, #f4f4f7 18px);
  border: 1px solid var(--eaq-line);
  border-radius: var(--eaq-radius);
  font-size: 0.87rem;
}

.eaq-program .eaq-break .eaq-time {
  min-width: 78px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.eaq-program .eaq-break .eaq-venue-tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}

.eaq-program .eaq-abstract {
  padding: 0;
  color: var(--eaq-accent);
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  text-decoration: underline;
}

.eaq-program .eaq-abstract:hover {
  text-decoration: none;
}

.eaq-program .eaq-paper {
  font-weight: 600;
}

.eaq-program .eaq-modal {
  width: min(680px, 92vw);
  max-height: 84vh;
  padding: 26px 28px 30px;
  color: var(--eaq-ink);
  background: var(--eaq-bg);
  border: 1px solid var(--eaq-line);
  border-radius: var(--eaq-radius);
  box-shadow: 0 18px 48px rgb(0 0 0 / 24%);
}

.eaq-program .eaq-modal::backdrop {
  background: rgb(20 20 28 / 55%);
}

.eaq-program .eaq-modal[open] {
  display: block;
}

.eaq-program .eaq-modal h3 {
  margin: 0 34px 6px 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.eaq-program .eaq-modal-authors {
  margin: 0 0 4px;
  color: var(--eaq-dim);
  font-size: 0.92rem;
}

.eaq-program .eaq-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  margin: 0 0 14px;
  padding-bottom: 13px;
  color: var(--eaq-dim);
  border-bottom: 1px solid var(--eaq-line);
  font-size: 0.8rem;
}

.eaq-program .eaq-modal-body {
  max-height: 52vh;
  overflow-y: auto;
  overflow-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.6;
}

.eaq-program .eaq-modal-body p {
  margin: 0 0 1em;
}

.eaq-program .eaq-modal-body p:last-child {
  margin-bottom: 0;
}

.eaq-program .eaq-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  color: var(--eaq-dim);
  background: none;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.eaq-program .eaq-modal-close:hover {
  color: var(--eaq-ink);
  background: var(--eaq-soft);
}

.eaq-program .eaq-modal.eaq-modal-fallback {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.eaq-program .eaq-empty {
  padding: 26px;
  color: var(--eaq-dim);
  text-align: center;
  border: 1px dashed var(--eaq-line);
  border-radius: var(--eaq-radius);
}

@media (max-width: 640px) {
  .eaq-program .eaq-controls {
    gap: 10px;
    padding: 11px;
  }

  .eaq-program .eaq-controls label,
  .eaq-program .eaq-search {
    flex: 1 1 100%;
  }

  .eaq-program .eaq-controls select,
  .eaq-program .eaq-controls input {
    width: 100%;
  }

  .eaq-program .eaq-item {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .eaq-program .eaq-item .eaq-time {
    grid-row: auto;
  }

  .eaq-program .eaq-modal {
    padding: 22px 18px 24px;
  }
}
