/* ESC Live Agenda — brand tokens follow emiratesscholar.com (style.css) */
:root {
    --green: #007a3d;
    --green-dark: #045c31;
    --green-deep: #033d21;
    --green-light: #e7f2ec;
    --red: #c8102e;
    --black: #171717;
    --gray: #5b6670;
    --gray-light: #f5f7f6;
    --border: #e6e9e8;
    --white: #fff;
    --shadow-sm: 0 2px 10px rgba(23, 23, 23, .06);
    --shadow-md: 0 10px 30px rgba(23, 23, 23, .09);
    --r: 12px;
    --rail: 92px;
    --toolbar-h: 0px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--black);
    background: var(--gray-light);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---- Top bar ---- */
.topbar { background: var(--white); border-bottom: 1px solid var(--border); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand img { display: block; height: 34px; width: auto; }
.top-actions { display: flex; align-items: center; gap: 14px; }
.clock { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--green-dark); }
.clock small { font-weight: 500; color: var(--gray); }
.lang {
    text-decoration: none; color: var(--green); font-weight: 700; font-size: 14px;
    border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.lang:hover { background: var(--green-light); border-color: var(--green); }

/* ---- Hero ---- */
.hero {
    color: var(--white);
    background:
        radial-gradient(1200px 400px at 85% -10%, rgba(255,255,255,.12), transparent 60%),
        radial-gradient(600px 300px at 0% 120%, rgba(200,16,46,.25), transparent 60%),
        linear-gradient(135deg, var(--green-deep), var(--green) 70%);
    padding: 44px 0 40px;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { margin: 14px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.hero h1 { margin: 0 0 14px; font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; font-weight: 800; max-width: 900px; }
.when { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 26px; font-weight: 600; opacity: .95; }
.when span { display: inline-flex; align-items: center; gap: 8px; }
.stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.stats li {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px; padding: 8px 16px; font-size: 14px; display: flex; align-items: baseline; gap: 8px;
}
.stats strong { font-size: 22px; font-weight: 800; }
.status:empty { display: none; }
.status {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
    background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 14px;
}
.status.live { background: var(--red); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: currentColor; display: inline-block; position: relative; }
.pulse::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor;
    animation: ping 1.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---- Toolbar (sticky) ---- */
.toolbar {
    position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96);
    backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.toolbar .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
    flex: 0 0 auto; text-decoration: none; color: var(--black); border: 1px solid var(--border);
    background: var(--white); border-radius: 10px; padding: 6px 16px; display: flex; flex-direction: column;
    align-items: center; line-height: 1.3; transition: .2s;
}
.tabs a span { font-weight: 800; font-size: 15px; }
.tabs a small { color: var(--gray); font-size: 12px; }
.tabs a:hover { border-color: var(--green); }
.tabs a.on { background: var(--green); border-color: var(--green); color: var(--white); }
.tabs a.on small { color: rgba(255,255,255,.85); }
.tabs a .today { font-size: 10px; font-weight: 800; background: var(--red); color: #fff; border-radius: 999px; padding: 0 7px; margin-top: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search {
    flex: 1 1 260px; display: flex; align-items: center; gap: 8px; color: var(--gray);
    border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; background: var(--white);
}
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
.search input { border: 0; outline: 0; font: inherit; padding: 8px 0; width: 100%; background: transparent; color: var(--black); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 0 1 auto; }
.chips button, .print {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    border: 1px solid var(--border); background: var(--white); color: var(--black);
    border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
}
.chips button.on { background: var(--black); border-color: var(--black); color: var(--white); }
.chips button i, .hall i { width: 8px; height: 8px; border-radius: 50%; background: var(--hc); display: inline-block; }
.print { border-radius: 10px; }
.print:hover, .chips button:hover { border-color: var(--green); }

/* Hall accent colours */
.h0 { --hc: #007a3d; } .h1 { --hc: #c8102e; } .h2 { --hc: #b7791f; }
.h3 { --hc: #1d5fa8; } .h4 { --hc: #6b46c1; } .h5 { --hc: #0f766e; }

/* ---- Now / Next ---- */
.nownext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.nn-col { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.nn-col h2 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.nn-now { border-color: rgba(200,16,46,.35); }
.nn-now h2 { color: var(--red); }
.nn-next h2 { color: var(--gray); }
.nn-item { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid var(--border); text-decoration: none; color: inherit; }
.nn-item:first-child { border-top: 0; }
.nn-item time { font-weight: 800; color: var(--green-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }
.nn-item span { font-weight: 600; }
.nn-item small { display: block; color: var(--gray); font-weight: 500; }
.nn-empty { color: var(--gray); font-size: 14px; margin: 0; }

/* ---- Agenda ---- */
.agenda { padding-top: 28px; padding-bottom: 60px; }
.day { scroll-margin-top: calc(var(--toolbar-h) + 12px); }
.day + .day { margin-top: 40px; }
.day-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 16px; font-size: 22px; }
.day-num { color: var(--green); font-weight: 800; }
.day-date { color: var(--gray); font-weight: 600; font-size: 17px; }
.js .day[hidden] { display: none; }

.slot { display: grid; grid-template-columns: var(--rail) 1fr; position: relative; }
.slot::before { /* timeline rail */
    content: ""; position: absolute; inset-block: 0; inset-inline-start: calc(var(--rail) - 17px);
    width: 2px; background: var(--border);
}
.slot-time { padding-top: 14px; padding-inline-end: 30px; text-align: end; position: relative; }
.slot-time strong { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.slot-time::after { /* rail dot */
    content: ""; position: absolute; top: 22px; inset-inline-end: 11px; width: 14px; height: 14px; border-radius: 50%;
    background: var(--white); border: 3px solid var(--green);
}
.slot.has-now .slot-time::after { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 5px rgba(200,16,46,.15); }
.slot.is-past .slot-time { opacity: .55; }
.slot-body { padding-bottom: 14px; display: grid; gap: 12px; }
.slot.parallel .slot-body { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }

.sess {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
    padding: 16px 18px; box-shadow: var(--shadow-sm); position: relative;
    border-inline-start: 4px solid var(--hc, var(--green));
    transition: box-shadow .2s, opacity .2s;
}
.sess:hover { box-shadow: var(--shadow-md); }
.sess.is-past { opacity: .6; }
.sess.is-now { border-color: rgba(200,16,46,.45); border-inline-start-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.1), var(--shadow-md); }
.sess-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 6px; font-size: 13px; }
.t { font-weight: 700; color: var(--gray); font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.badge { font-weight: 700; font-size: 12px; border-radius: 6px; padding: 2px 9px; }
.f-keynote { background: #fde8eb; color: #9d0c24; }
.f-panel { background: var(--green-light); color: var(--green-dark); }
.f-round { background: #fdf3e1; color: #8a5a12; }
.f-workshop { background: #efe9fb; color: #553c9a; }
.f-sci { background: #e7eff9; color: #1d4f8c; }
.f-other { background: #eef0f1; color: var(--gray); }
.hall { display: inline-flex; align-items: center; gap: 6px; color: var(--gray); font-weight: 600; }
.live-tag {
    background: var(--red); color: #fff; font-weight: 800; font-size: 11px;
    text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 2px 10px;
    display: inline-flex; align-items: center; gap: 6px;
}
.live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.sess h3 { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 700; }
.topic { margin: 4px 0 0; color: var(--gray); font-size: 14px; }

.featured {
    display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 12px;
    background: var(--gray-light); border-radius: 10px;
}
.featured strong { display: block; font-size: 15px; }
.featured small, .people small { display: block; color: var(--gray); font-size: 12.5px; line-height: 1.4; }
.lbl { display: block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }

.av {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; position: relative; overflow: hidden;
    background: var(--green-light); color: var(--green-dark); font-weight: 800; font-size: 14px;
    display: inline-grid; place-items: center; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--border);
}
.av.lg { width: 52px; height: 52px; font-size: 17px; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.people { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 16px; }
.people li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.people li > div { min-width: 0; }
.people strong { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
.people em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--green-dark); background: var(--green-light); border-radius: 4px; padding: 0 6px; margin-inline-start: 4px; white-space: nowrap; }
.people .ptopic { color: var(--black); opacity: .75; font-style: italic; }
.js .people.clamp:not(.open) li:nth-child(n + 7) { display: none; }
.more { margin-top: 10px; border: 0; background: none; color: var(--green); font-weight: 700; padding: 0; font-size: 14px; }
.more:hover { text-decoration: underline; }
.no-js .more { display: none; }

.chair { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border); font-size: 14px; }
.chair .lbl { display: inline; margin-inline-end: 6px; }
.chair small { color: var(--gray); }

/* Breaks / activities */
.sess.brk {
    display: flex; align-items: center; gap: 12px; padding: 10px 16px;
    background: repeating-linear-gradient(-45deg, #fafbfa, #fafbfa 8px, #f3f5f4 8px, #f3f5f4 16px);
    border-style: dashed; border-inline-start: 4px solid #c9d1cd; box-shadow: none;
}
.sess.brk.is-now { border-inline-start-color: var(--red); background: #fff; }
.brk-ico { color: var(--gray); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); flex: 0 0 auto; }
.brk-main { flex: 1; min-width: 0; }
.sess.brk h3 { font-size: 15px; font-weight: 700; }
.brk .meta { font-size: 13px; color: var(--gray); }

.no-match { color: var(--gray); text-align: center; padding: 30px 0; }
.empty-state { text-align: center; padding: 90px 20px; }
.empty-state h1 { color: var(--green-dark); }

.foot { border-top: 1px solid var(--border); background: var(--white); font-size: 13px; color: var(--gray); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 18px; }

/* ---- Card actions: save (★) + add to calendar ---- */
.acts { margin-inline-start: auto; display: inline-flex; gap: 4px; }
.act {
    width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
    border: 1px solid var(--border); background: var(--white); color: var(--gray); padding: 0; text-decoration: none;
    transition: .15s;
}
.act:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
.star svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.star[aria-pressed="true"] { color: #b7791f; border-color: #f0d58a; background: #fff8e1; }
.star[aria-pressed="true"] svg { fill: currentColor; }
.sess.is-saved::after {
    content: ""; position: absolute; top: -1px; inset-inline-end: 22px; width: 14px; height: 20px;
    background: #e0a526; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%);
}
.sess.flash { animation: flash 2.4s ease-out 1; }
@keyframes flash { 0%, 30% { box-shadow: 0 0 0 4px rgba(0,122,61,.35), var(--shadow-md); } 100% { box-shadow: var(--shadow-sm); } }

/* ---- Hero: add whole event to calendar ---- */
.hero-cal {
    margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
    background: var(--white); color: var(--green-dark); font-weight: 800; border-radius: 10px; padding: 10px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.15); transition: .2s;
}
.hero-cal:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.2); }

/* ---- Toolbar buttons ---- */
.tbtn {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    border: 1px solid var(--border); background: var(--white); color: var(--black);
    border-radius: 10px; padding: 7px 14px; font-size: 14px; font-weight: 700;
}
.tbtn:hover { border-color: var(--green); }
.tbtn.on, .tbtn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
#myAgenda svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
#myAgenda[aria-pressed="true"] svg { fill: currentColor; }
.count {
    min-width: 20px; height: 20px; border-radius: 999px; padding: 0 6px; font-size: 12px; font-weight: 800;
    background: var(--red); color: #fff; display: inline-grid; place-items: center;
}
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.af {
    display: inline-flex; align-items: center; gap: 6px; border: 1px solid #b9dcc8; background: var(--green-light);
    color: var(--green-dark); border-radius: 999px; padding: 4px 8px 4px 12px; font-size: 13px; font-weight: 700;
}
[dir="rtl"] .af { padding: 4px 12px 4px 8px; }
.af:hover { background: #d5eadf; }
.af-clear { border: 0; background: none; color: var(--red); font-weight: 700; font-size: 13px; padding: 4px 6px; }
.af-clear:hover { text-decoration: underline; }

/* ---- Popups (filters, calendar) ---- */
html.dlg-open { overflow: hidden; }
dialog.sheet {
    width: min(640px, calc(100vw - 32px)); max-height: min(86vh, 820px); padding: 0; border: 0;
    border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.3); color: var(--black); background: var(--white);
    overflow: hidden;
}
dialog.sheet[open] { display: flex; flex-direction: column; animation: pop .18s ease-out; }
dialog.sheet.small { width: min(440px, calc(100vw - 32px)); }
dialog.sheet::backdrop { background: rgba(10, 30, 20, .5); backdrop-filter: blur(2px); }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }
.sheet-head h2 { margin: 0; font-size: 20px; }
.sheet-head .sub { margin: 2px 0 0; color: var(--gray); font-size: 14px; line-height: 1.45; }
.x { border: 0; background: var(--gray-light); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--gray); flex: 0 0 auto; }
.x:hover { background: var(--border); color: var(--black); }
.sheet-body { overflow-y: auto; padding: 6px 20px 18px; overscroll-behavior: contain; }
.sheet-foot { display: flex; gap: 10px; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--border); background: var(--gray-light); }
.sheet-foot .primary { flex: 1; max-width: 280px; background: var(--green); color: #fff; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 800; }
.sheet-foot .primary:hover { background: var(--green-dark); }
.sheet-foot .ghost { background: none; border: 0; color: var(--red); font-weight: 700; padding: 10px 6px; }
fieldset { border: 0; margin: 0; padding: 14px 0 4px; }
fieldset + fieldset { border-top: 1px solid var(--border); }
legend { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); padding: 0; margin-bottom: 10px; float: left; width: 100%; }
legend + * { clear: both; }
legend small { font-weight: 600; text-transform: none; letter-spacing: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
    display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--white);
    color: var(--black); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 600; text-align: start;
}
.opt small { color: var(--gray); font-weight: 500; }
.opt:hover { border-color: var(--green); }
.opt[aria-pressed="true"] { background: var(--green-light); border-color: var(--green); color: var(--green-dark); box-shadow: inset 0 0 0 1px var(--green); }
.opt i { width: 9px; height: 9px; border-radius: 50%; background: var(--hc); }
.opt .dot { width: 10px; height: 10px; border-radius: 3px; }
.dot.f-keynote { background: #c8102e; } .dot.f-panel { background: #007a3d; } .dot.f-round { background: #b7791f; }
.dot.f-workshop { background: #6b46c1; } .dot.f-sci { background: #1d5fa8; } .dot.f-other { background: #9aa4ab; }
.opt .st { fill: none; stroke: currentColor; stroke-width: 2; }
.opt[aria-pressed="true"] .st { fill: #e0a526; stroke: #e0a526; }
.search.mini { margin-bottom: 10px; }
.search.mini input { padding: 7px 0; }
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; max-height: 300px; overflow-y: auto; padding: 2px; }
.plist > * { min-width: 0; }
.person { width: 100%; min-width: 0; overflow: hidden; padding: 6px 10px; }
.pn strong, .pn small { text-align: start; overflow: hidden; text-overflow: ellipsis; }
.person .av { width: 34px; height: 34px; font-size: 12px; }
.pn { flex: 1; min-width: 0; }
.pn strong { display: block; font-size: 13.5px; line-height: 1.3; }
.pn small { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc { font-size: 12px; font-weight: 800; color: var(--gray); background: var(--gray-light); border-radius: 999px; padding: 1px 8px; }
.cal-h { margin: 14px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); }
.cal-note { margin: 0 0 8px; font-size: 13.5px; color: var(--gray); }
.cal-opt {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-top: 8px; border: 1px solid var(--border);
    border-radius: 10px; text-decoration: none; color: var(--black); font-weight: 700; transition: .15s;
}
.cal-opt:hover { border-color: var(--green); background: var(--green-light); }
.cal-opt svg { flex: 0 0 auto; color: var(--green); }
.cal-tip { margin: 14px 0 0; font-size: 13px; color: var(--gray); background: #fff8e1; border-radius: 8px; padding: 10px 12px; }

/* ---- Mobile ---- */
@media (max-width: 760px) {
    :root { --rail: 0px; }
    .wrap { padding: 0 16px; }
    .topbar .wrap { height: 56px; }
    .brand img { height: 28px; }
    .clock small { display: none; }
    .hero { padding: 28px 0; }
    .stats li { padding: 6px 12px; }
    .stats strong { font-size: 18px; }
    .slot { grid-template-columns: 1fr; }
    .slot::before, .slot-time::after { display: none; }
    .slot-time { padding: 6px 0 8px; text-align: start; }
    .slot-time strong { font-size: 14px; color: var(--green-dark); }
    .slot.parallel .slot-body { grid-template-columns: 1fr; }
    .nownext { grid-template-columns: 1fr; }
    .people { grid-template-columns: 1fr; }
    .print span { display: none; }
    .chips { order: 3; width: 100%; }
    .filters { flex-wrap: nowrap; }
    .search { flex: 1 1 auto; min-width: 0; }
    .tbtn span { display: none; }
    .tbtn { padding: 8px 10px; }
    .acts .act { width: 32px; height: 32px; }
    dialog.sheet, dialog.sheet.small {
        width: 100vw; max-width: 100vw; max-height: 88vh; margin: auto 0 0; border-radius: 18px 18px 0 0;
    }
    dialog.sheet[open] { animation: up .22s ease-out; }
    .plist { grid-template-columns: 1fr; max-height: 240px; }
}
@keyframes up { from { transform: translateY(40px); opacity: .4; } }

/* ---- Print: whole programme, no chrome ---- */
@media print {
    body { background: #fff; }
    .toolbar, .nownext, .lang, .clock, .status, .more, .live-tag, .acts, .hero-cal, dialog, .sess.is-saved::after { display: none !important; }
    .hero { background: none; color: var(--black); padding: 0 0 12px; border-bottom: 2px solid var(--green); }
    .hero::after { display: none; }
    .stats li { border-color: var(--border); background: none; }
    .js .day[hidden], .js .sess[hidden], .js .slot[hidden] { display: block !important; }
    .js .slot[hidden] { display: grid !important; }
    .js .people.clamp li { display: flex !important; }
    .sess { box-shadow: none; break-inside: avoid; opacity: 1 !important; }
    .day { break-before: page; }
    .day:first-child { break-before: auto; }
}
