/* Program module: calendar grid, document control layout and the talk library. */
.program-monthnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.program-monthnav strong {
  min-width: 150px;
  text-align: center;
  font-size: 16px;
}
.program-grid {
  border: 1px solid #DED9CF;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  margin-bottom: 16px;
}
.program-weekdays,
.program-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.program-weekdays div {
  padding: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #5C5851;
  background: #F6F4EF;
}
.program-day {
  min-height: 112px;
  padding: 4px;
  border-top: 1px solid #F0EDE6;
  border-left: 1px solid #F0EDE6;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.program-day:nth-child(7n + 1) {
  border-left: 0;
}
.program-out {
  background: #FDFCF9;
}
.program-out .program-daynum {
  color: #9aa3b5;
}
.program-now .program-daynum {
  background: #181818;
  color: white;
}
.program-daynum {
  align-self: flex-start;
  min-width: 28px;
  min-height: 28px;
  border: 0;
  border-radius: 14px;
  background: none;
  font-weight: 700;
  color: #292929;
}
.program-chip,
.program-more {
  display: block;
  width: 100%;
  overflow: hidden;
  padding: 3px 6px;
  border: 0;
  border-left: 3px solid #827B70;
  border-radius: 3px;
  background: #F0EDE6;
  color: #181818;
  font-size: 11px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.program-chip.program-chip-overdue {
  border-left-color: #DBB363;
  background: #fde8e9;
}
.program-chip.program-chip-today,
.program-chip.program-chip-soon {
  border-left-color: #AA7A02;
  background: #fff6dd;
}
.program-chip.program-chip-done,
.program-chip.program-chip-done-late {
  border-left-color: #2e8b4a;
  background: #e8f5ec;
  text-decoration: line-through;
}
.program-chip.program-chip-planned {
  border-left-style: dashed;
  background: white;
}
.program-more {
  background: none;
  border-left-color: transparent;
  color: #5C5851;
}
.program-agenda {
  display: none;
}
.program-docs-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.program-tree ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}
.program-tree > ul {
  padding: 6px;
}
.program-folder {
  display: block;
  width: 100%;
  min-height: 38px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #292929;
  text-align: left;
}
.program-folder.active {
  background: #181818;
  color: white;
}
.program-folder-select {
  display: none;
}
.program-dochead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.program-dochead h2 {
  margin-bottom: 6px;
}
.program-version {
  margin-bottom: 14px;
}
.program-sigs {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}
.program-sigs li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 0;
}
.program-sigs small {
  display: block;
  color: #5C5851;
}
.program-campaign .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}
.program-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 120px;
  padding: 14px;
  border: 1px solid #DED9CF;
  border-radius: 8px;
  background: white;
  color: inherit;
  text-align: left;
}
.program-card:hover {
  border-color: #181818;
}
.program-card small {
  color: #5C5851;
}
.program-bilingual {
  display: grid;
  gap: 18px;
}
.program-bilingual.program-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.program-lang {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #DED9CF;
  border-radius: 8px;
  background: #FDFCF9;
}
.program-lang h3 {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9f1c27;
  margin-bottom: 4px;
}
.program-points li,
.program-questions li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
}
.program-cite {
  margin-top: 12px;
  color: #5C5851;
}
@media (max-width: 760px) {
  .program-docs-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .program-tree {
    display: none;
  }
  .program-folder-select {
    display: block;
  }
}
@media (max-width: 700px) {
  .program-grid {
    display: none;
  }
  .program-agenda {
    display: block;
  }
  .program-bilingual.program-cols-2 {
    grid-template-columns: 1fr;
  }
}
