/* Issue #155: the Event Hub - on top of ../SessionPicker/duties.css (colors, cards, buttons, messages, dark mode); the conference theme
   (Theme.ashx) comes after it. Responsive: one column on phones, the sessions and sponsors in a grid on large screens; the tabs stick to the
   bottom of the screen on phones and sit under the header on large screens. No inline styles (CSP style-src 'self'). */
main.hub-main { max-width: 1100px; padding-bottom: 72px; }
.hub-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.hub-head .logo img { max-height: 56px; width: auto; }
.hub-title { flex: 1 1 240px; }
.hub-title h1 { margin: 0; font-size: 1.5rem; }
.hub-title .kicker { margin: 0 0 2px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.hub-title .dates { margin: 2px 0 0; color: var(--muted); }
.hub-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; justify-content: space-around; gap: 2px;
           padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--card, #fff); border-top: 1px solid var(--line); }
.hub-nav a { flex: 1 1 0; text-align: center; padding: 8px 4px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--muted); }
.hub-nav a.active { color: var(--accent, #1f4e79); background: var(--soft); }
.hub-offline { margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: var(--soft); font-weight: 600; }
.hub .card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.hub .muted { color: var(--muted); }
.hub .small { font-size: .85rem; }
.hub-sessions { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hub-session { display: grid; grid-template-columns: 4.5em 1fr auto; grid-template-areas: "time title star" "room speakers star"; gap: 0 10px;
               align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.hub-session[hidden] { display: none; }
.hub-session .time { grid-area: time; font-weight: 700; font-variant-numeric: tabular-nums; }
.hub-session .room { grid-area: room; font-size: .85rem; color: var(--muted); }
.hub-session .title { grid-area: title; font-weight: 600; }
.hub-session .speakers { grid-area: speakers; font-size: .9rem; color: var(--muted); }
.hub-session .star { grid-area: star; align-self: center; }
.star { min-width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); }
.star.on { color: #c98a00; }
.hub-detail .when { font-weight: 600; }
.hub-detail .talks { padding-left: 1.2em; }
.hub-detail .buttons { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.hub-filter { margin: 0 0 12px; }
.hub-picker { margin: 0 0 14px; }
.hub-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.hub-dl dt { font-weight: 600; }
.hub-dl dd { margin: 0; }
.hub-text { white-space: normal; }
.hub-sponsors { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hub-sponsor { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.hub-sponsor img { display: block; max-width: 100%; max-height: 72px; width: auto; margin: 0 0 8px; background: #fff; border-radius: 6px; padding: 4px; }
.hub-sponsor h3 { margin: 0 0 4px; font-size: 1rem; }
.hub-sponsor p { margin: 4px 0 0; }
@media (min-width: 760px) {
    main.hub-main { padding-bottom: 24px; }
    .hub-nav { position: static; justify-content: flex-start; padding: 0; margin: 0 0 16px; background: transparent; border-top: 0; border-bottom: 1px solid var(--line); }
    .hub-nav a { flex: 0 0 auto; padding: 10px 16px; border-radius: 8px 8px 0 0; }
    .hub-day .hub-sessions, .hub-sponsors { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
    .hub-level .hub-sponsors { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (min-width: 1100px) {
    .hub-day .hub-sessions { grid-template-columns: repeat(3, 1fr); }
}
