/* Conference pages: list and archive, one conference, timetable, workshops, registering, a
   person's own registration, feedback forms and certificates (the home page's card for the next
   conference is in lectures.css, with the rest of the home page).
   Logical properties only; colours from the site's tokens (core/static/css/site.css). */
.conf-heading { margin-block: 32px 12px; color: var(--brand); font-size: 26px; }
.form .conf-heading { margin-block-start: 24px; }
.conf-section .conf-heading,
.conf-workshop .conf-heading { margin-block-start: 0; }
.conf-theme { margin-block: 0 12px; color: var(--body); font-size: 22px; }
.conf-meta { margin-block: 0 8px; color: var(--body); font-size: 18px; }
.conf-note { max-inline-size: var(--measure); margin-block: 0 12px; color: var(--body); font-size: 18px; }
.conf-status { margin-block: 0 12px; color: var(--ink); font-size: 20px; font-weight: 600; }
.conf-zone { color: var(--muted); font-weight: 400; font-size: 16px; }
.conf-calendar { margin-block: 32px 0; }
.conf-calendar a { display: inline-block; min-block-size: var(--target); line-height: var(--target); }
/* The conference's sponsors, at the foot of its page: one heading and one list per level. */
.conf-sponsors__level { margin-block: 24px 12px; }
.conf-sponsors .conf-heading + .conf-sponsors__level { margin-block-start: 0; }
/* A note that opens a page (the workshops page): on the tint, beside a gold line. */
.conf-lead {
  max-inline-size: 48em;
  margin-block-end: 24px;
  padding: 12px 16px;
  border-inline-start: 3px solid var(--gold-line);
  border-radius: var(--radius-s);
  background: var(--tint);
  color: var(--ink);
}

/* A section of a page (registration, prices, a person's own page, feedback) is a card. */
.conf-section {
  margin-block: 24px 0;
  padding: clamp(16px, 10px + 1.5vw, 28px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow-wrap: break-word;
}
.conf-section > :last-child { margin-block-end: 0; }
.page > .conf-section { max-inline-size: 40em; } /* as wide as a form card */
/* Where a workshop application stands, beside its name. */
.conf-stage { color: var(--brand-2); font-weight: 600; }
/* A form inside a section card is not a second card. */
.conf-section .form { margin-block-start: 12px; padding: 0; border: 0; box-shadow: none; }
.conf-section form { margin-block-end: 12px; }

/* The conference's own page: the deep band with name, place, dates and the numbers. */
.conf-band { padding-block: 40px 48px; }
.conf-band__inner > :last-child { margin-block-end: 0; }
.conf-band__back { margin-block: 0 8px; }
.conf-band__title { max-inline-size: 24em; margin-block: 0 14px; }
.conf-band__title::after { display: none; }
.conf-band__rule { margin-block-end: 16px; }
.conf-band__theme { margin-block: 0 12px; color: var(--on-deep-gold); font-size: 22px; }
.conf-band__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--on-deep-muted);
  font-size: 17px;
}
.conf-band__facts li { display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.conf-band__facts .icon { inline-size: 20px; block-size: 20px; color: var(--on-deep-gold); }
/* The conference in numbers (_numbers.html): tiles on the band, thin gold edge, centred. */
/* Four tiles of at most 200 px (fewer do not stretch across the band); two a row on a phone. */
.conf-numbers { display: flex; flex-wrap: wrap; max-inline-size: 836px; }
.conf-numbers .tile {
  flex: 1 1 128px;
  align-items: center;
  max-inline-size: 200px;
  background: var(--deep);
  border-color: var(--gold-line);
}
.conf-numbers .tile__number { color: var(--on-deep); }
.conf-numbers .tile__label { color: var(--on-deep-gold); }
/* Below the band: the description across, then the cards side by side where there is room. */
.conf-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}
.conf-page > .prose,
.conf-page > .conf-section--programme, /* after Registration and Prices: no half-empty row */
.conf-page > .conf-calendar,
.conf-page > .conf-sponsors { grid-column: 1 / -1; }
.conf-page > .conf-section,
.conf-page > .conf-calendar { margin-block: 0; max-inline-size: none; }

/* The list: cards with a gold top edge; the whole card is the link. */
.conf-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.conf-card {
  position: relative;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow-wrap: anywhere;
}
.conf-card:hover { border-color: var(--gold-line); border-block-start-color: var(--gold); }
.conf-card__title { margin-block: 0 8px; font-size: 22px; }
.conf-card__title a { color: var(--brand); text-decoration: none; }
.conf-card__title a::after { content: ""; position: absolute; inset: 0; }
.conf-card__title a:hover { color: var(--brand-2); text-decoration: underline; }
.conf-card__theme { margin-block: 0 12px; color: var(--body); }
.conf-card__meta { display: flex; align-items: center; gap: 8px; margin-block: 0 4px; color: var(--muted); font-size: 16px; }
.conf-card__meta .icon { inline-size: 18px; block-size: 18px; }

/* The moderator's session report asks for a number (the audience): a 44 px field like the others
   in site.css, never wider than a number needs. */
.field input[type="number"] {
  display: block;
  inline-size: 100%;
  max-inline-size: 12em;
  min-block-size: var(--target);
  padding: 10px 12px;
  border: 1px solid var(--muted);
  border-radius: var(--radius-s);
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

/* Registering and the registration page. */
.conf-subheading { margin-block: 20px 8px; color: var(--ink); font-size: 20px; }
.conf-prices tfoot th, .conf-prices tfoot td { border-block-end: 0; font-weight: 700; }

/* The prices table. */
.conf-prices { inline-size: 100%; max-inline-size: 36em; border-spacing: 0; margin-block: 0 12px; }
.conf-prices th, .conf-prices td {
  padding: 10px 12px;
  border-block-end: 1px solid var(--line);
  text-align: start;
  color: var(--ink);
}
.conf-prices thead th { background: var(--tint); }
@media (max-width: 479.98px) {
  .conf-prices { font-size: 15px; }
  .conf-prices th, .conf-prices td { padding: 8px 6px; }
}
/* Below 375 px (at 320 px the card leaves 246 px; 360 px was 0.8 px short with 15 px type):
   smaller type and padding keep every prices table inside it without splitting a word, even a
   long workshop word ("Musculoskeletal") beside two amounts (measured at a true 320 px; 13 px
   with 6 px padding, or 14 px with 4 px, did not fit). */
@media (max-width: 374.98px) {
  .conf-prices { font-size: 13px; }
  .conf-prices th, .conf-prices td { padding-inline: 4px; }
}
.conf-prices thead th:first-child { border-start-start-radius: var(--radius-s); }
.conf-prices thead th:last-child { border-start-end-radius: var(--radius-s); }
.conf-prices td { font-variant-numeric: tabular-nums; }
#conf-prices + .conf-prices tbody th { white-space: nowrap; } /* «غير عضو» whole; amounts wrap */

/* Lists of rows (the programme's days, applications, forms, certificates, roles). */
.conf-days { margin: 0 0 16px; padding: 0; list-style: none; color: var(--body); }
.conf-days li { padding-block: 10px; border-block-end: 1px solid var(--line); }
.conf-days li:last-child { border-block-end: 0; }
.conf-days li form { margin-block: 8px 0; }
.conf-days a { display: inline-block; min-block-size: var(--target); line-height: var(--target); }
.conf-days a.button { line-height: 1.3; }
.conf-days__count { color: var(--muted); }

/* Workshops: cards with a gold edge at the start, as in the timetable. */
.conf-workshop {
  max-inline-size: 48em;
  margin-block: 0 24px;
  padding: clamp(20px, 15.6px + 1.12vw, 28px);
  background: var(--card);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow-wrap: break-word;
}
.conf-workshop > :last-child { margin-block-end: 0; }
.conf-workshop__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 16px;
}
.conf-workshop__facts li { display: flex; align-items: center; gap: 8px; min-inline-size: 0; }
.conf-workshop__facts .icon { inline-size: 18px; block-size: 18px; }
.conf-workshop .prose { font-size: 18px; }
.conf-workshop .conf-prices { margin-block-start: 8px; }

/* Names of the lecturers, moderators and instructors on a slot (_names.html: the workshops page,
   the session feedback form). */
.conf-names { margin-block: 4px 8px; padding: 0; list-style: none; color: var(--body); }
.conf-names li { margin-block: 2px; }
.conf-names a { display: inline-block; min-block-size: var(--target); line-height: var(--target); }
.conf-names__role { color: var(--muted); }

/* Names of the lecturers, moderators and instructors on a slot (_tt_names.html), one a line: the
   role, then the person (lectures/_speaker_card.html, from site.css); a name with a public profile
   opens its résumé in place, the summary's chevron drawn here (no picture per person). */
.tt-names { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tt-names li { display: grid; min-inline-size: 0; }
/* The role sits on the name's line ("Moderator: Dr …"), the position beneath. */
.tt-names .person__text { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.tt-names .person__role { color: var(--muted); font-size: 14px; }
.tt-names .person__position { flex-basis: 100%; }
.tt-names .person__head { gap: 10px; }
.tt-names .avatar { inline-size: 40px; block-size: 40px; font-size: 14px; }
.tt-names .person__name { font-size: 16px; }
.tt-names .person__position { font-size: 14px; }
.tt-names .person__resume-box { margin-block-start: 4px; }

/* The timetable (timetable.html): the band of the conference page, the day tabs over its lower
   edge, the day's summary and the kind links, then the rows: a time column (.row-card, site.css)
   beside a tinted session block, lecture cards, workshop cards (gold edge) and thin rows. */
.tt-band { padding-block-end: 64px; }
.tt.section { padding-block-start: 0; }
.tt > .conf-note:first-child { margin-block-start: 40px; } /* the announcement: no tabs above it */
.tt-days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 12px;
  margin-block-start: -24px;
}
.tt-day {
  display: flex;
  align-items: center;
  gap: 14px;
  min-block-size: var(--target);
  padding: 12px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
}
.tt-day:hover { border-color: var(--gold-line); }
.tt-day[aria-current="page"] { padding: 11px 17px; border: 2px solid var(--gold-line); }
.tt-day__number {
  color: var(--muted);
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.tt-day__text { display: flex; flex-direction: column; min-inline-size: 0; line-height: 1.4; }
.tt-day__name { font-weight: 600; }
.tt-day__date { color: var(--muted); font-size: 15px; }
.tt-day[aria-current="page"] .tt-day__number,
.tt-day[aria-current="page"] .tt-day__name { color: var(--brand); font-weight: 700; }
.tt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-block: 28px 22px;
}
.tt-summary { margin: 0; color: var(--muted); font-size: 16px; }
.tt-summary > span + span::before { content: " · "; }
.tt-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-kind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: var(--target);
  padding-inline: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.tt-kind:hover { border-color: var(--brand-2); }
.tt-kind[aria-current="true"] { background: var(--btn); border-color: var(--btn); color: var(--on-btn); }
.tt-kind__count { font-family: var(--font-latin); font-size: 13px; }
.tt-list { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.tt-entry { display: grid; gap: 12px; }
.tt-session,
.tt-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-inline-size: 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-wrap: anywhere;
}
.tt-session > *,
.tt-card > * { margin: 0; }
.tt-session { padding-block: 18px; background: var(--tint); }
.tt-card { background: var(--card); border-inline-start: 4px solid var(--marker); box-shadow: var(--shadow-card); }
.tt-workshop { padding-block: 18px; border-inline-start-color: var(--gold); }
.tt-session__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--brand-2); font-size: 15px; font-weight: 600; }
.tt-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.tt-lecture .tt-labels { justify-content: space-between; }
.tt-lecture .label { background: var(--tint); color: var(--brand-2); }
.tt-parallel.label { display: inline-block; } /* text and titles in one run: their spaces stay */
.tt-card .tt-length { color: var(--muted); font-size: 15px; }
.tt-title { color: var(--ink); font-size: 22px; line-height: 1.45; overflow-wrap: anywhere; }
.tt-session__title { color: var(--brand); font-size: 26px; line-height: 1.4; }
/* A workshop's title link: the whole title row is the 44 px target, so no gap opens under it. */
.tt-title a { display: block; min-block-size: var(--target); align-content: center; }
.tt-other { align-self: flex-start; color: var(--muted); font-size: 15px; font-weight: 500; }
.tt-other:lang(en) { font-family: var(--font-latin); }
.tt-other--gold {
  align-self: flex-start;
  padding-inline-start: 10px;
  border-inline-start: 2px solid var(--gold-line);
  color: var(--on-gold-tint);
  font-weight: 600;
}
.tt-card .tt-facts { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--muted); font-size: 15px; }
.tt-card .tt-note { color: var(--muted); font-size: 15px; }
.tt-card .tt-apply { margin-block-start: 4px; }
.tt-thin-row { align-items: center; }
.tt-thin-row .row-card__time { padding-block-start: 0; color: var(--muted); font-size: 16px; }
.tt-thin { display: grid; gap: 6px; min-inline-size: 0; }
.tt-thin__line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.tt-thin__line::before,
.tt-thin__line::after { content: ""; flex: 1 1 24px; block-size: 1px; background: var(--line); }
.tt-thin__text { min-inline-size: 0; text-align: center; }
.tt-thin .tt-names { justify-content: center; }

/* "Previous day" and "Next day" at the foot of a day, carrying the kind. */
.tt-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-block-start: 28px;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
}
.tt-pager__link { display: inline-flex; align-items: center; min-block-size: var(--target); font-weight: 600; }
.tt-pager__link--next { margin-inline-start: auto; }

/* Printing prints the day shown, its heading made visible: black on white, without the site's
   header and footer, no band ground or shadows, résumés closed, links without underlines; the
   tabs, kind links and day links are left out. */
@media print {
  .tt-band { padding-block: 0 12px; }
  .band .conf-numbers .tile { border-color: var(--ink); } /* the band's colours: site.css */
  .tt-days,
  .tt-kinds,
  .tt-pager,
  .tt-apply,
  .tt-names .person__resume-box { display: none; }
  .tt.section { padding-block: 12px 0; }
  .tt-day-heading.visually-hidden { /* the day shown: hidden on screen (the tabs say it), printed */
    position: static;
    inline-size: auto;
    block-size: auto;
    margin-block: 0 12px;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    color: var(--ink);
    font-size: 22px;
  }
  .tt-session,
  .tt-card { background: none; box-shadow: none; break-inside: avoid; }
  .tt a,
  .tt-band a { text-decoration: none; }
  .tt-names summary.person__head::after { display: none; }
  .tt-names .person__name { text-decoration: none; }
  .conf-sponsors { display: none; } /* sponsors are never printed (owner, 24 November 2026) */
}
/* When a workshop's applications close (owner requests, November 2026): a plain line where
   the apply control is, and the closed workshops listed where their choices were. */
.conf-closing { max-inline-size: var(--measure); margin-block: 12px; color: var(--ink); font-weight: 600; }
.conf-closed { margin-block: 0 16px; padding: 0; list-style: none; color: var(--body); }
.conf-closed li { margin-block: 4px; }
