/* Recommendations occupy a single, scrollable row at every viewport width. */
.recommended-events { min-width:0; margin:14px 0 23px; }
.recommended-events > header, .recommendation-tools, .recommendation-arrows { display:flex; align-items:center; gap:12px; }
.recommended-events > header { min-height:30px; justify-content:space-between; margin-bottom:10px; }
.recommended-events h2 { font-size:1.15rem; margin:0; }
.recommendation-arrows[hidden] { display:none; }
.recommendation-arrows { gap:4px; }
.recommendation-arrows button { border:1px solid var(--line); border-radius:50%; width:30px;height:30px; line-height:1; font-size:20px; color:var(--deep);background:white; }
.recommendation-arrows button:disabled { opacity:.35; }
.recommendation-track { display:grid; grid-auto-flow:column; grid-auto-columns:100%; gap:12px;
  overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x proximity; scrollbar-width:thin; padding:2px 2px 6px; }
.recommendation-card { display:flex; flex-direction:row; align-items:stretch; height:150px; min-width:0; padding:0; overflow:hidden; color:inherit;
  text-decoration:none; scroll-snap-align:start; border-radius:var(--radius); background:white; }
.recommendation-card img { flex:none; width:min(42%,260px); height:100%; display:block; object-fit:cover; }
.recommendation-copy { align-self:center; min-width:0; padding:14px 18px; }
.recommendation-copy h3 { margin:0; font-size:1.1rem; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; }
.recommendation-copy small { display:block; font-size:.78rem; color:var(--muted); }
.program-directory { display:grid; gap:12px; }
.program-directory-tools .field:first-child { flex-grow:1.6; }
.program-editions .program-directory-item img { flex:none; }
.program-editions .program-directory-item > div { min-width:0; }
.program-editions .program-directory-item p { color:var(--muted); font-size:.84rem; line-height:1.4; }
.program-directory-item { display:flex; gap:14px; align-items:center; padding:10px; border:1px solid var(--line);background:white;border-radius:16px;min-width:0; }
.program-directory-item img { width:128px; height:76px; object-fit:cover; border-radius:10px; }
.program-directory-item h2,.program-directory-item h3,.program-directory-item p {margin:.15em 0;overflow-wrap:anywhere;}
.program-pager,.program-view-switch {display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0;}
.program-filter-details {margin:.6rem 0 1rem;}
.program-filter-details summary {cursor:pointer;color:var(--purple);font-weight:650;}
@media(max-width:640px) { .recommendation-track {gap:9px;}
  .recommendation-card {height:140px;} .recommendation-copy {padding:8px 12px;}
  .program-directory-item img {width:94px;height:66px;} }
.program-strip { margin: 1.25rem 0 2rem; }
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.program-card,.program-header { background: var(--surface,#fff); border: 1px solid var(--line,#e2e0db); border-radius: 1.1rem; padding: 1.25rem; }
.program-card { display: flex; flex-direction: column; gap: .6rem; }
.program-card h3,.program-session h4 { margin: 0; }
.program-card p,.program-session p,.program-header p { margin: .35rem 0; overflow-wrap: anywhere; }
.program-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.program-card footer { margin-top: auto; padding-top: .65rem; font-size: .84rem; color: var(--muted,#60656f); }
.program-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.program-header { margin-bottom: 1rem; border-inline-start: .35rem solid var(--violet,#898e98); }
.program-header .heading { margin: .6rem 0; }
.program-header .actions,.program-existing { margin-top: .85rem; }
.program-existing summary { cursor: pointer; font-weight: 650; }
.program-day { margin-top: 1.4rem; }

#main:has(> .program-workspace) { padding-top:17px; }
.program-workspace { min-width:0; }
.sheet-header { padding-bottom:12px; }
.sheet-breadcrumb,.sheet-meta,.sheet-caption span,.sheet-description { color:var(--muted); }
.sheet-breadcrumb { display:flex; align-items:center; gap:8px; font-size:.76rem; }
.sheet-intro,.sheet-toolbar,.sheet-controls,.sheet-actions,.sheet-pages { display:flex; align-items:center; gap:10px; }
.sheet-intro,.sheet-toolbar { justify-content:space-between; flex-wrap:wrap; }
.sheet-intro { margin:6px 0 0; align-items:flex-end; }
.sheet-intro h1 { font-size:clamp(1.35rem,2vw,1.9rem); letter-spacing:-.035em; line-height:1.18; margin:0; overflow-wrap:anywhere; }
.sheet-meta,.sheet-description { margin:3px 0 0; font-size:.83rem; line-height:1.4; }
.sheet-description { max-width:100%; overflow-wrap:anywhere; white-space:pre-line; }
.sheet-actions { position:relative; flex-wrap:wrap; justify-content:flex-end; gap:5px 8px; }
.program-workspace .btn,.sheet-toggle,.sheet-filters summary {
  min-height:32px; padding:4px 10px; border-radius:7px; font-size:.84rem; line-height:1.4;
}
.sheet-actions .btn,.sheet-filters summary,.sheet-toggle { white-space:nowrap; }
.sheet-toggle,.sheet-filters summary { cursor:pointer; color:var(--deep); align-content:center; font-weight:600; }
.sheet-toggle { display:block; }
.sheet-toggle:hover,.sheet-toggle[aria-expanded="true"],.sheet-filters summary:hover { background:var(--soft); }
.sheet-popover>.sheet-search { margin-bottom:9px; }
.sheet-popover,.sheet-filter-fields {
  border:1px solid var(--line); background:white; border-radius:10px;
  box-shadow:0 8px 28px #2f323719;
}
.sheet-popover { position:absolute; z-index:4; right:0; top:calc(100% + 4px); width:min(360px,100%); min-width:min(280px,84vw); padding:12px; max-height:55vh; overflow:auto; }
.sheet-popover .record:first-child { margin-top:0; }
.sheet-notice { margin:0 0 10px; padding:7px 12px; border-left:3px solid var(--purple); background:var(--soft); font-size:.88rem; overflow-wrap:anywhere; }
.schedule-sheet { min-width:0; }
.sheet-toolbar { border-top:1px solid var(--line); padding:9px 0 6px; }
.sheet-caption { display:flex; align-items:baseline; flex-wrap:wrap; gap:3px 10px; }
.sheet-caption h2 { margin:0; font-size:1.1rem; line-height:1.2; }
.sheet-caption span { font-size:.79rem; }
.sheet-view-switch { display:inline-flex; border:1px solid var(--line); border-radius:8px; background:white; padding:2px; }
.sheet-view-switch a { color:var(--muted); font-size:.85rem; padding:4px 13px; border-radius:6px; text-decoration:none; }
.sheet-view-switch a[aria-current] { color:white; background:var(--deep); font-weight:650; }
.sheet-controls { position:relative; flex-wrap:wrap; gap:5px 10px; padding:0 0 8px; }
.sheet-search,.sheet-order,.sheet-pages form { display:flex; align-items:center; gap:3px; }
.sheet-search { width:min(330px,100%); border:1px solid var(--line); background:white; border-radius:7px; overflow:hidden; }
.sheet-search input { min-width:0; flex:1; border:0; background:transparent; padding:5px 8px; font:inherit; font-size:.85rem; }
.sheet-search:focus-within { outline:2px solid var(--purple); outline-offset:1px; }
.sheet-search input:focus { outline:0; }
.sheet-order { margin-left:auto; }
.sheet-order .field { display:flex; align-items:center; flex-wrap:nowrap; gap:6px; }
.sheet-order .field span { font-size:.8rem; color:var(--muted); }
.sheet-order select { width:auto; }
.sheet-order select,.sheet-filter-fields .field input,.sheet-filter-fields .field select {
  min-height:32px; border-radius:6px; padding-block:3px; font-size:.85rem;
}
.sheet-filter-fields { position:absolute; z-index:4; top:100%; left:0; width:min(820px,100%); padding:12px;
  display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; }
.sheet-filter-fields .field { flex:1 1 110px; }
.sheet-filter-fields .field span,.sheet-filter-fields .check { font-size:.79rem; }
.sheet-scroll { width:100%; overflow:auto; max-height:min(74vh,940px); border:1px solid #d7d9e4; border-radius:8px; background:white; }
.sheet-scroll:focus-visible { outline:2px solid var(--purple); outline-offset:2px; }
.program-schedule-table { width:100%; min-width:1000px; table-layout:fixed; border-spacing:0; border-collapse:separate;
  background:white; font-size:.84rem; line-height:1.25; }
.program-schedule-table .col-name { width:25%; }
.program-schedule-table .col-day { width:8%; }
.program-schedule-table .col-clock { width:5%; }
.program-schedule-table .col-host { width:10%; }
.program-schedule-table .col-location { width:23%; }
.program-schedule-table .col-website { width:14%; }
.program-schedule-table .col-price { width:10%; }
.program-schedule-table th,.program-schedule-table td {
  padding:5px 9px; text-align:left; vertical-align:middle; border-inline-end:1px solid #e3e4ed;
  border-bottom:1px solid #e3e4ed; overflow-wrap:anywhere; background:white;
}
.program-schedule-table th { position:sticky; top:0; z-index:2; color:#494d54; background:#eef0f5; font-size:.78rem;
  font-weight:650; padding-block:6px; border-bottom-color:#c9cbd8; white-space:nowrap; }
.program-schedule-table tr:last-child td { border-bottom:0; }
.program-schedule-table th:last-child,.program-schedule-table td:last-child { border-inline-end:0; }
.program-schedule-table tbody tr:nth-child(even)>td { background:#fcfcfb; }
.program-schedule-table tbody tr:hover>td { background:#f5f4f2; }
.program-schedule-table .sheet-title-cell { position:sticky; left:0; z-index:1; }
.program-schedule-table thead .sheet-title-cell { z-index:3; }
.program-schedule-table h4 { margin:0; font-size:.87rem; line-height:1.25; }
.program-schedule-table h4 a { color:var(--deep); }
.program-schedule-table th a { color:inherit; }
.program-schedule-table a:hover,.sheet-card a:hover { text-decoration:underline; }
.sheet-sort-arrow { margin-left:4px; color:#75778a; font-weight:400; }
[aria-sort] .sheet-sort-arrow { color:var(--purple); font-weight:700; }
.sheet-date,.sheet-hour,.sheet-price,.sheet-pages { font-variant-numeric:tabular-nums; }
.sheet-date { white-space:nowrap; }
.sheet-hour { color:#4c5058; }
.program-schedule-table td small,.sheet-card .sheet-venue small,.sheet-flags { display:block; margin-top:2px;
  font-size:.73rem; color:var(--muted); line-height:1.22; }
.sheet-web,.sheet-internal,.sheet-detail { color:var(--purple); }
.sheet-web { display:block; min-width:0; }
.sheet-web span { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sheet-web small { font-size:.72rem; }
.edition-sources { margin-top:5px; color:var(--muted); font-size:.78rem; }
.edition-sources summary { cursor:pointer; width:fit-content; }
.edition-sources a,.international-source-links a { max-width:100%; overflow-wrap:anywhere; }
.international-schedule.dates-only .col-name { width:33%; }
.international-schedule.dates-only .col-day { width:12%; }
.international-schedule.dates-only .col-host { width:19%; }
.international-schedule.dates-only .col-location { width:22%; }
.international-schedule.dates-only .col-website { width:14%; }
.sheet-pages { flex-wrap:wrap; justify-content:center; margin:8px 0; padding-inline:64px; color:var(--muted); font-size:.84rem; }
.sheet-pages input { width:4.2em; border:1px solid var(--line); background:white; border-radius:4px; padding:3px 4px; text-align:center; font:inherit; }
.program-schedule-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr)); gap:12px; }
.sheet-card { overflow:hidden; min-width:0; display:flex; flex-direction:column; border:1px solid var(--line); background:white; border-radius:9px; }
.sheet-card-image img { display:block; width:100%; height:132px; object-fit:cover; }
.sheet-card-body { flex:1; display:flex; flex-direction:column; align-items:stretch; padding:10px 12px; }
.sheet-card-body h3 { margin:3px 0; font-size:1rem; line-height:1.3; overflow-wrap:anywhere; }
.sheet-card-body p { margin:2px 0; font-size:.82rem; color:var(--muted); line-height:1.35; overflow-wrap:anywhere; }
.sheet-card-body .sheet-card-time { color:var(--purple); font-weight:600; font-variant-numeric:tabular-nums; }
.sheet-card-body .sheet-card-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--ink); }
.sheet-card-tags { display:flex; flex-wrap:wrap; gap:3px; margin:3px 0; }
.sheet-card-tags .tag { padding:1px 6px; font-size:.7rem; }
.sheet-card-footer { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:6px; margin-top:auto;
  padding-top:9px; font-size:.8rem; border-top:1px solid var(--line); }
.sheet-card-footer .sheet-web { max-width:65%; }
@media(max-width:720px) {
  #main:has(> .program-workspace) { padding-top:10px; }
  .sheet-intro { align-items:flex-start; gap:5px; }
  .sheet-actions { width:100%; justify-content:flex-start; }
  .sheet-popover,.sheet-filter-fields { left:0; right:auto; }
  .sheet-caption { gap:3px 6px; }
  .sheet-caption span { font-size:.72rem; }
  .sheet-view-switch a { padding:5px 9px; }
  .sheet-toolbar { gap:6px; }
  .sheet-search { width:100%; }
  .sheet-filter-fields .field { flex:1 1 40%; }
  .sheet-controls { gap:3px 7px; }
  .sheet-scroll { max-height:69vh; }
  .program-schedule-table { min-width:900px; }
  .program-schedule-table .col-name { width:17%; }
  .program-schedule-table .col-day { width:10%; }
  .program-schedule-table .col-clock { width:6%; }
  .program-schedule-table .col-location { width:23%; }
  .program-schedule-table td,.program-schedule-table th { padding-inline:6px; }
  .sheet-header { padding-bottom:6px; }
  .sheet-pages { gap:5px; padding-inline:50px; }
  .sheet-pages>span { flex-basis:100%; text-align:center; }
  .program-schedule-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .sheet-card-body { padding:7px 8px; }
  .sheet-card-image img { height:92px; }
}
