/* INERG'26 — Program page + homepage "program at a glance" */

/* ---------- Day timeline ---------- */
.agenda { position: relative; display: grid; gap: 14px; }
.ag-row { display: grid; grid-template-columns: 116px 1fr; gap: 18px; align-items: stretch; }
.ag-time {
    font-family: 'Sora', sans-serif; font-weight: 700; color: var(--ink);
    padding-top: 22px; text-align: right; line-height: 1.2;
}
.ag-time small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.ag-card {
    position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: 18px;
    padding: 20px 22px 20px 64px; transition: border-color .3s, box-shadow .3s;
}
.ag-card:hover { border-color: #bfe8cf; box-shadow: 0 20px 40px -28px rgba(6,24,19,0.3); }
.ag-ico {
    position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 10px;
    display: grid; place-items: center; font-size: 0.85rem; color: #10994a; background: #e9f9ef; border: 1px solid #c7eed6;
}
.ag-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.ag-meta { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }
.ag-card.is-break { background: transparent; border-style: dashed; padding-top: 14px; padding-bottom: 14px; }
.ag-card.is-break .ag-ico { top: 10px; color: var(--muted); background: #f0f4f2; border-color: var(--line-light); }
.ag-card.is-break h3 { font-weight: 600; color: var(--muted); font-size: 0.95rem; }
.ag-row.is-break .ag-time { padding-top: 14px; color: var(--muted); font-weight: 600; }
.ag-card.is-plenary .ag-ico { color: #b86e00; background: #fff4dc; border-color: #ffe0a3; }
.ag-card.is-oral .ag-ico.online { color: #0f8f7a; background: #e2f8f3; border-color: #b9ece0; }

.ag-people { display: grid; gap: 6px; margin-top: 12px; }
.ag-people div { font-size: 0.875rem; color: #33443f; }
.ag-people b { color: var(--ink); font-weight: 600; }
.ag-talk { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f6faf8; border: 1px solid var(--line-light); }
.ag-talk q { display: block; font-style: italic; font-weight: 600; color: var(--ink); quotes: '“' '”'; line-height: 1.45; }
.ag-talk p { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.ag-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ag-row > *, .ps-head > .min-w-0 { min-width: 0; }
.ag-chip {
    display: inline-block; max-width: 100%; line-height: 1.35; font-size: 0.8rem; font-weight: 600;
    padding: 6px 11px; border-radius: 999px; background: #f0f7f3; border: 1px solid #dcefe4; color: #0f5c34;
    transition: background .2s, border-color .2s;
}
.ag-chip:hover { background: #e2f5ea; border-color: #a9e2c0; }
.ag-chip.online { background: #e9f9f6; border-color: #c4ede4; color: #0b6b5c; }

@media (max-width: 640px) {
    .ag-row { grid-template-columns: 1fr; gap: 6px; }
    .ag-time { text-align: left; padding-top: 0; display: flex; gap: 8px; align-items: baseline; }
    .ag-time small { margin-top: 0; }
    .ag-row.is-break .ag-time { padding-top: 0; }
    .ag-card { padding-left: 58px; }
    .ag-ico { left: 14px; }
}

/* ---------- Plenary speakers ---------- */
.pl-spk { display: flex; flex-direction: column; height: 100%; }
.pl-spk img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px #c7eed6; }
.pl-spk .slot { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: #b86e00; }
.pl-spk q { quotes: '“' '”'; font-weight: 600; font-style: italic; color: var(--ink); }
.pl-spk details summary { cursor: pointer; font-size: 0.85rem; font-weight: 600; color: #10994a; list-style: none; }
.pl-spk details summary::-webkit-details-marker { display: none; }
.pl-spk details[open] summary .fa-chevron-down { transform: rotate(180deg); }
.pl-spk details summary .fa-chevron-down { transition: transform .25s; font-size: 0.7rem; margin-left: 4px; }

/* ---------- Session finder ---------- */
.ps-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.ps-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line-light); }
.ps-tab {
    padding: 9px 16px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; color: var(--muted);
    transition: background .25s, color .25s;
}
.ps-tab[aria-pressed="true"] { background: var(--night-900); color: #fff; }
.ps-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.ps-search input {
    width: 100%; padding: 12px 16px 12px 42px; border-radius: 999px; border: 1px solid var(--line-light);
    background: #fff; font-size: 0.95rem; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s;
}
.ps-search input:focus { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(28,187,94,0.12); }
.ps-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; }
.ps-count { font-size: 0.85rem; color: var(--muted); }

.ps-group-title { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.ps-group-title span { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 500; color: var(--muted); }

.ps-card { background: #fff; border: 1px solid var(--line-light); border-radius: 20px; overflow: hidden; transition: border-color .3s, box-shadow .3s; scroll-margin-top: calc(var(--nav-total) + 24px); }
.ps-card[open] { border-color: #bfe8cf; box-shadow: 0 24px 50px -32px rgba(6,24,19,0.35); }
.ps-card:target { border-color: var(--leaf); }
.ps-head { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; cursor: pointer; list-style: none; }
.ps-head::-webkit-details-marker { display: none; }
.ps-id {
    flex: none; min-width: 58px; text-align: center; padding: 8px 10px; border-radius: 12px;
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 0.95rem; color: #fff; background: var(--night-900);
}
.ps-card.online .ps-id { background: #0f8f7a; }
.ps-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.ps-sub { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 0.85rem; color: var(--muted); }
.ps-sub i { color: #10994a; margin-right: 5px; }
.ps-card.online .ps-sub i { color: #0f8f7a; }
.ps-caret { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f0f4f2; color: var(--muted); transition: transform .3s var(--ease-out), background .3s; }
.ps-card[open] .ps-caret { transform: rotate(180deg); background: #e9f9ef; color: #10994a; }

.ps-body { padding: 0 22px 22px; }
.ps-mods { padding: 12px 14px; border-radius: 12px; background: #f6faf8; border: 1px solid var(--line-light); font-size: 0.875rem; color: #33443f; }
.ps-mods b { color: var(--ink); }
.ps-meet { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 14px; border-radius: 999px; background: #0f8f7a; color: #fff; font-size: 0.85rem; font-weight: 600; transition: background .2s; }
.ps-meet:hover { background: #0b7363; }
.ps-papers { margin-top: 14px; display: grid; gap: 2px; }
.ps-paper { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 12px 6px; border-top: 1px solid #eef3f1; }
.ps-paper:first-child { border-top: 0; }
.ps-paper .pid { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 0.85rem; color: #10994a; padding-top: 1px; }
.ps-card.online .ps-paper .pid { color: #0f8f7a; }
.ps-paper .pt { font-weight: 600; color: var(--ink); line-height: 1.4; font-size: 0.95rem; }
.ps-paper .pa { font-size: 0.85rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.ps-paper mark { background: #fff1c2; color: inherit; border-radius: 3px; padding: 0 1px; }
.ps-empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ---------- Homepage "at a glance" ---------- */
.glance-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.07); }
.glance-row:first-child { border-top: 0; }
.glance-row .t { font-family: 'Sora', sans-serif; font-weight: 700; color: #fff; font-size: 0.95rem; }
.glance-row .t small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; color: rgba(255,255,255,0.4); font-size: 0.75rem; }
.glance-row .w { display: flex; align-items: center; gap: 12px; min-width: 0; }
.glance-row .w i { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 0.8rem; color: var(--leaf-hi); background: rgba(67,212,127,0.12); border: 1px solid rgba(67,212,127,0.25); }
.glance-row.plenary .w i { color: var(--sun); background: rgba(255,181,32,0.12); border-color: rgba(255,181,32,0.3); }
.glance-row.break .w i { color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.glance-row .w p { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.glance-row.break .w p { color: rgba(255,255,255,0.5); font-weight: 500; }
.glance-row .w span { display: block; font-size: 0.8rem; font-weight: 400; color: rgba(255,255,255,0.45); margin-top: 2px; }
.glance-stat { border-radius: 18px; padding: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); }
.glance-stat b { display: block; font-family: 'Sora', sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; color: #fff; }
.glance-stat span { display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
@media (max-width: 480px) { .glance-row { grid-template-columns: 72px 1fr; } }
