.sprog {
  width: 100%;
  max-width: none;
  margin: 0 0 2.5rem;
  overflow: visible;
  font-family: 'Open Sans', sans-serif;
}

.sprog-widget-title {
  margin: 0;
  text-align: left;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffca59;
}

.sprog-widget-title span,
.sprog-day-title span {
  color: #0092a0;
  font-weight: 700;
}

.sprog-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 3.25rem 0 1rem;
}

.sprog-button[hidden] {
  display: none;
}

.sprog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 0.35rem;
  background-color: #0092a0;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.sprog-button:hover,
.sprog-button:focus {
  background-color: #006b7a;
  color: #ffffff;
}

.sprog-note {
  display: none;
}

.sprog-day {
  width: 100%;
  max-width: none;
  margin-bottom: 4.5rem;
}

.sprog-day + .sprog-day {
  margin-top: 4.5rem;
}

.sprog-day-title {
  margin: 0 0 1.5rem;
  color: #0092a0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
}

.sprog-table-wrap {
  width: 100%;
  max-width: none;
  overflow-x: auto;
}

.sprog-table {
  width: 100%;
  min-width: 1050px;
  max-width: none;
  border-collapse: collapse;
  table-layout: auto;
}

.sprog-table th,
.sprog-table td {
  border: 1px solid #ffffff;
  padding: 0.75rem;
  vertical-align: middle;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.sprog-table thead th {
  background-color: #4f7272;
  color: #ffffff;
  font-weight: 700;
}

.sprog-table thead th a {
  color: #ffffff;
  text-decoration: underline;
}

.sprog-time,
.sprog-time-col {
  width: 180px;
  min-width: 180px;
  background-color: #429ca3;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.sprog-slot--empty {
  background-color: transparent;
  color: inherit;
}

.sprog-slot--registro,
.sprog-slot--general,
.sprog-slot--awards {
  background-color: #009aa6;
  color: #ffffff;
  font-weight: 700;
}

.sprog-slot--registro a,
.sprog-slot--general a,
.sprog-slot--awards a,
.sprog-slot--registro .sprog-meta,
.sprog-slot--general .sprog-meta,
.sprog-slot--awards .sprog-meta {
  color: #ffffff;
}

.sprog-slot--break,
.sprog-slot--lunch,
.sprog-slot--general-light {
  background-color: #c9f5ff;
  color: #1f2933;
  font-weight: 700;
}

.sprog-slot--break a,
.sprog-slot--lunch a,
.sprog-slot--general-light a {
  color: #1f2933;
}

.sprog-slot--isgd,
.sprog-slot--ai4se,
.sprog-slot--icd,
.sprog-slot--metodos,
.sprog-slot--quantum,
.sprog-slot--quantumx,
.sprog-slot--mcps,
.sprog-slot--isdm,
.sprog-slot--asv {
  background-color: #d5e873;
  color: #111827;
}

.sprog-cell-group {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
}

.sprog-track {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 700;
}

.sprog-track a,
.sprog-cell-links a {
  color: inherit;
  text-decoration: underline;
}

.sprog-cell-links {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.98rem;
  font-weight: 500;
}

.sprog-detail-head {
  margin: -1rem 0 1.5rem;
  text-align: left;
}

.sprog-detail-head p {
  margin: 0;
  color: #4b5563;
}

.sprog-detail-head a {
  color: #006b7a;
  text-decoration: underline;
}

.sprog-table td.sprog-session-detail {
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

.sprog-session-block + .sprog-session-block {
  margin-top: 1.2rem;
}

.sprog-track--large {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #006b7a;
  overflow-wrap: anywhere;
}

.sprog-paper-list {
  display: grid;
  gap: 0.7rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.sprog-paper-item {
  margin: 0;
}

.sprog-paper-title {
  display: block;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sprog-authors {
  display: block;
  margin-top: 0.15rem;
  color: #4b5563;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.sprog-alert {
  max-width: 980px;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff7ed;
  color: #92400e;
  text-align: left;
}

@media (max-width: 900px) {
  .sprog-actions {
    margin-top: 2rem;
  }

  .sprog-table {
    min-width: 980px;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  html,
  body {
    width: 100%;
  }

  .sprog {
    margin: 0;
    overflow: visible;
  }

  .sprog-actions,
  .sprog-note {
    display: none;
  }

  .sprog-table-wrap {
    overflow: visible;
  }

  .sprog-table {
    min-width: 0;
    width: 100%;
    table-layout: fixed;
  }

  .sprog-table th,
  .sprog-table td {
    padding: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .sprog-time,
  .sprog-time-col {
    width: 105px;
    min-width: 105px;
    font-size: 0.9rem;
  }

  .sprog-day {
    break-inside: auto;
    page-break-inside: auto;
    margin-bottom: 1.5rem;
  }

  .sprog-day-title,
  .sprog-table thead {
    break-after: avoid;
    page-break-after: avoid;
  }

  .sprog-table tr,
  .sprog-session-block,
  .sprog-paper-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
