/* ============================================================================
   RRGI · the IOSP 2026 dashboard (2026-10-05). On site.css: the five workshop cards, the
   four-day agenda, the data network and the event graph side by side, the community map.
   Jonathan's brief: minimal, plenty of space, a compact agenda.
   ========================================================================== */


/* the five workshops, three to a row (a workshop with nowhere to open is a div: the same box, and no hover) */
.ws { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ws .ws-card { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 28px 26px 24px; background: var(--surface); border: 1px solid var(--rule); color: var(--text); }
.ws a.ws-card:hover { text-decoration: none; border-color: var(--accent); }
.ws .ws-card.is-now { border-color: var(--accent); box-shadow: inset 0 3px 0 var(--accent); }
.ws .when { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 24px; }
.ws h3 { font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 0; }
.ws p { margin: 0; color: var(--text-2); font-size: 15px; }
.ws .go { margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 500; color: var(--accent); }
.state { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 7px; }
.state.now { background: var(--accent); color: #fff; }
.state.next { background: var(--accent-soft); color: var(--accent); }
.state.done { color: var(--text-3); border: 1px solid var(--rule-2); padding: 4px 6px; }

/* the agenda: one row of four days, the sessions only */
.agenda { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-2); }
.day { padding: 18px 20px 0 0; min-width: 0; }
.day + .day { padding-left: 20px; border-left: 1px solid var(--rule); }
.day h3 { font-size: 15px; margin: 0 0 12px; }
.day h3 span { display: block; margin-top: 2px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.day ul { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 6px; padding: 4px 0; font-size: 14px; line-height: 1.4; }
.day li.untimed { grid-template-columns: minmax(0, 1fr); }
.day time { font: 400 12.5px/1.55 var(--mono); color: var(--text-3); }
.day .w { font-weight: 500; }
.day li.now { background: var(--accent-soft); margin: 0 -8px; padding: 4px 8px; }
.day .fine { margin: 10px 0 0; font-size: 12.5px; color: var(--text-3); }

/* the data network and the event graph */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
h2 .aside { font-weight: 400; font-size: 14px; letter-spacing: 0; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 22px; }
.stat .n { font: 500 30px/1.15 var(--mono); letter-spacing: -0.03em; }
.stat .l { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.datasets { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.datasets li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.datasets li span:first-child { overflow-wrap: anywhere; }
.datasets li span:last-child { color: var(--text-3); white-space: nowrap; }
.datasets li.rest { color: var(--text-3); }
.more { margin: 16px 0 0; font-size: 14px; }
.graph-frame { display: block; background: var(--surface); border: 1px solid var(--rule); }
.graph-frame:hover { border-color: var(--accent); }
.graph-frame canvas { display: block; width: 100%; aspect-ratio: 8 / 5; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--text-2); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }

/* the community map (the IOSP website's, embedded) */
.map { border: 1px solid var(--rule); background: var(--surface-2); }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }

@media (max-width: 900px) {
  .ws { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ws .ws-card { min-height: 0; }
  .agenda { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day:nth-child(3) { border-left: none; padding-left: 0; }
  .day:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 18px; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
@media (max-width: 560px) {
  .brand .city { display: none; }
  .agenda { grid-template-columns: minmax(0, 1fr); }
  .day, .day + .day { padding: 16px 0 0; border-left: none; }
  .day + .day { border-top: 1px solid var(--rule); margin-top: 14px; }
  .stat .n { font-size: 26px; }
  .map iframe { height: 380px; }
}
