﻿@import url("tokens.css?v=1");
/* Issue #219 D9/D11: colors, font, line height and type scale come from tokens.css (repo: Shared/tokens.css, shipped into this
   folder by the deploy); this file only uses them */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: var(--lh); }
main { max-width: 640px; margin: 0 auto; padding: 16px 16px calc(32px + env(safe-area-inset-bottom)); }
a { color: var(--accent); }
h1 { font-size: var(--fs-h1); margin: 0; line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); margin: 0 0 4px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; margin: 0 0 14px; }
.card.empty { text-align: center; padding: 32px 20px; color: var(--muted); }
.card.empty h1 { color: var(--text); margin-bottom: 8px; }
.card.missing { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.msg { padding: 12px 16px; border-radius: 10px; margin: 0 0 14px; }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
.msg.err { background: var(--err-soft); color: var(--err); }

/* Header */
header.top { display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
header.top .logo { flex: none; display: block; background: #fff; border-radius: 10px; padding: 6px; }
header.top .logo img { display: block; max-height: 48px; max-width: 120px; }
.kicker { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

nav.switch { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin: 0 0 16px; position: sticky; top: 8px; z-index: 5; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
nav.switch a { text-align: center; padding: 10px 8px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--muted); }
nav.switch a.active { background: var(--accent); color: var(--on-accent); }

/* Form */
.step { display: block; font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
.scale-hint { color: var(--muted); font-size: .9rem; margin: -6px 0 14px; }
select, input[type=text], input[type=email], input[type=number], input[type=url], input[type=password], input[type=search], input[type=datetime-local], textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
    border: 1px solid var(--field-line); border-radius: 10px; padding: 12px;
}
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { resize: vertical; min-height: 110px; }
.field { display: block; font-weight: 600; margin: 14px 0 6px; }
.field:first-child { margin-top: 0; }
.opt { font-weight: 400; font-size: .85rem; color: var(--muted); }
.note { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }

.picked { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); }
.picked span { display: block; }
.picked .t { font-weight: 700; }
.picked .s { margin-top: 2px; }
.picked .m { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.picked .again { margin-top: 8px; font-size: .88rem; color: var(--warn); }
.picked[hidden], .picked .again[hidden] { display: none; }

/* Grade scale: five large buttons */
fieldset.rate { border: 0; margin: 0; padding: 12px 0 14px; border-top: 1px solid var(--line); min-width: 0; }
fieldset.rate:first-of-type { border-top: 0; padding-top: 0; }
fieldset.rate legend { float: left; width: 100%; padding: 0; margin-bottom: 8px; font-weight: 600; }
fieldset.rate legend + * { clear: both; }
fieldset.rate.missing legend { color: var(--err); }
fieldset.rate.missing .scale label { border-color: var(--err); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.scale label {
    display: flex; align-items: center; justify-content: center; min-height: 48px;
    border: 1px solid var(--field-line); border-radius: 10px; background: var(--bg);
    font-size: 1.15rem; font-weight: 700; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
    transition: background .12s, border-color .12s, transform .08s;
}
.scale label:active { transform: scale(.96); }
.scale input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.scale input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (hover: hover) { .scale label:hover { border-color: var(--accent); } }

.submitbar { position: sticky; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); border-radius: 10px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.big { width: 100%; padding: 15px; font-size: 1.1rem; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.danger { background: transparent; color: var(--err); border-color: var(--err); }
.btn.sm { padding: 4px 10px; font-size: .85rem; border-radius: 8px; }
@media (pointer: coarse) { .btn.sm { min-height: 44px; padding: 8px 14px; } }

.thanks { text-align: center; padding: 32px 20px; }
.thanks .check { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.thanks .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

.hp { display: none !important; }
.note.privacy { font-size: .8rem; margin: 12px 4px 0; }
.site-foot { margin-top: 24px; text-align: center; font-size: .92rem; }

@media (min-width: 600px) {
    main { padding-top: 32px; }
    .card { padding: 22px 24px; }
    h1 { font-size: var(--fs-h1-wide); }
    .thanks .actions { flex-direction: row; justify-content: center; }
}

/* ===== Admin ===== */
body.admin main { max-width: 1100px; }
body.admin h1 { margin-bottom: 4px; }
body.admin h2 { font-size: var(--fs-h2); margin: 28px 0 12px; }
.sub { color: var(--muted); margin: 0 0 16px; }
.stat { color: var(--muted); font-size: .9rem; }
.stat strong { color: var(--text); }
.nav { display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.nav a { text-decoration: none; font-weight: 600; padding: 4px 0; }
.nav a.active { color: var(--text); border-bottom: 2px solid var(--accent); }
.nav .spacer { flex: 1; }
form.inline { display: inline; margin: 0; }
.ask { max-width: 420px; }
.ask label { display: block; font-weight: 600; margin-bottom: 8px; }
.ask .row { display: flex; gap: 8px; }
.ask input { flex: 1; min-width: 0; padding: 10px 12px; font-size: 1rem; border: 1px solid var(--field-line); border-radius: 10px; background: var(--bg); color: var(--text); }

.tablewrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 14px; }
table.grid { width: 100%; border-collapse: collapse; }
table.grid th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.grid td { padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
table.grid tr:first-child td { border-top: 0; }
table.grid td.num, table.grid th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.grid tr.active td { background: var(--ok-soft); }
table.grid td .t { font-weight: 600; display: block; }
table.grid td small { color: var(--muted); display: block; }
table.grid td.actions { white-space: nowrap; text-align: right; }
table.grid td.actions form { display: inline; }
table.grid td.low { color: var(--err); font-weight: 600; }
table.grid td.high { color: var(--ok); font-weight: 600; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: var(--line); color: var(--muted); }
.tag.on { background: var(--ok); color: var(--card); }
.tag.open { background: var(--accent); color: var(--on-accent); }
.thumb { display: inline-block; background: #fff; border-radius: 6px; padding: 3px; border: 1px solid var(--line); }
.thumb img { display: block; max-height: 32px; max-width: 90px; }

.editor { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.editor .full { grid-column: 1 / -1; }
.editor label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.editor input, .editor select { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid var(--field-line); border-radius: 8px; background: var(--bg); color: var(--text); }
.editor .help { color: var(--muted); font-size: .82rem; margin-top: 3px; }
.editor .buttons { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .editor { grid-template-columns: 1fr; } }

details.comments summary { cursor: pointer; color: var(--accent); font-size: .88rem; }
details.comments ul { margin: 8px 0 0; padding-left: 18px; }
details.comments li { margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
details.comments li small { display: inline; }
.kpis { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; min-width: 130px; }
.kpi b { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--muted); font-size: .85rem; }
code.link { font-size: .8rem; word-break: break-all; }

/* ===== QR page ===== */
body.qrpage main { max-width: 960px; }
/* Cards side by side, wrapping when there is not enough room */
.qrrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 0 0 14px; }
.qrrow:empty { display: none; }
.qrrow .qrcard { margin: 0; display: flex; flex-direction: column; }
.qrcard h2 { margin-bottom: 2px; }
.qrrow .qrcard h2 { font-size: 1rem; }
.qrcard .meta { color: var(--muted); font-size: .9rem; margin: 0; }
.qrcard .qr { background: #fff; border-radius: 10px; padding: 6px; margin: 12px auto 4px; width: 100%; max-width: 150px; }
/* QR codes in a row at the same height (bottom); the transparent border keeps distance from the title */
.qrrow .qrcard .qr { margin: auto auto 4px; border-top: 12px solid transparent; background-clip: padding-box; box-sizing: content-box; max-width: 138px; }
.qrcard .qr svg { display: block; width: 100%; height: auto; }
.qrcard .qrlink { text-align: center; font-size: .82rem; word-break: break-all; margin: 4px 0; }
.qrcard .qrlink a { color: var(--muted); }
.qrcard p.noprint { text-align: center; margin: 6px 0 0; }
.picker .step { margin-bottom: 8px; }
.picker .zipbar { margin: 12px 0 0; }
@media print {
    body { background: #fff; }
    .noprint, .picker select, .picker .note { display: none !important; }
    .qrcard { break-inside: avoid; page-break-inside: avoid; border: 1px solid #ccc; }
}
/* ===== Evaluation page: already evaluated / Admin: hidden comments, speaker links ===== */
.msg.info { background: var(--accent-soft); color: var(--text); }
.picked .update { margin-top: 8px; font-size: .88rem; color: var(--warn); font-weight: 600; }
.picked .update[hidden] { display: none; }
/* Issue #214 D3: hidden comments marked by a dashed bar instead of fading (text keeps its contrast) */
details.comments li.hiddencomment, table.grid td.hiddencomment { color: var(--muted); border-left: 3px dashed var(--field-line); padding-left: 8px; }
details.comments li .btn { padding: 1px 8px; font-size: .75rem; }
.linkrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

/* ===== Speaker report (Speaker.aspx) ===== */
body.report main { max-width: 760px; }
.spk-session .meta { color: var(--muted); font-size: .9rem; margin: 0 0 8px; }
.spk-count { margin: 0 0 6px; }
.spk-actions { margin: 0 0 12px; text-align: right; }
/* Issue #219 U12/U13: Lobby links, "questions open" card on top, "Your visit" folded once answered (native <details>) */
.spk-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.visit-open { border-color: var(--accent); }
.visit-open p { margin: 0 0 8px; }
.visit-open p:last-child { margin: 0; }
details.visit > summary { cursor: pointer; }
details.visit > summary h2 { display: inline; margin: 0; }
details.visit[open] > summary { margin-bottom: 10px; }
/* Issue #574: the sub menu of the speaker page (one view per item, server-rendered) */
.spk-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.spk-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--muted); font-weight: 600; text-decoration: none; }
.spk-nav a.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.spk-nav .count { display: inline-block; min-width: 1.4em; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .8rem; text-align: center; }
.spk-nav a.active .count { background: var(--on-accent); color: var(--accent); }
.spk-menu-help, .spk-sessionlist { margin: 8px 0 0; padding-left: 18px; }
.spk-menu-help li, .spk-sessionlist li { margin: 6px 0; }
.spk-sessionlist .meta { color: var(--muted); font-size: .9rem; }
.spk-info h3 { font-size: 1rem; margin: 14px 0 4px; }
.spk-info p { overflow-wrap: anywhere; }
.spk-criteria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px 20px; margin: 12px 0 8px; }
.spk-crit { border-top: 1px solid var(--line); padding-top: 10px; break-inside: avoid; page-break-inside: avoid; }
.spk-crit h3, .spk-comments-title { font-size: .95rem; margin: 0 0 6px; }
/* Issue #598: rating charts as inline SVG (Charts.Question / Charts.Legend); sizes are SVG attributes, colors these classes.
   Ratings 1–5 diverging: red (low) – grey (middle) – blue (high); the counts inside the segments in a readable ink. */
.spk-avg { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.spk-avg b { color: var(--text); font-size: 1rem; font-variant-numeric: tabular-nums; }
.spk-avg .cmp { font-variant-numeric: tabular-nums; }
.spk-svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 2px 0 0; overflow: visible; }
.spk-svg text { font-family: var(--font); font-size: 11px; font-variant-numeric: tabular-nums; }
.spk-svg .grid { stroke: var(--line); stroke-width: 1; }
.spk-svg .track { stroke: var(--line); stroke-width: 6; stroke-linecap: round; }
.spk-svg .fill { stroke: var(--accent); stroke-width: 6; stroke-linecap: round; }
.spk-svg .cmp { stroke: var(--muted); stroke-width: 2.5; }
.spk-svg .dot { fill: var(--accent); stroke: var(--card); stroke-width: 2; }
.spk-svg .axis { fill: var(--muted); }
.spk-svg .empty { fill: var(--line); }
.spk-svg .r1, .spk-legend .r1 { fill: #d64545; background: #d64545; }
.spk-svg .r2, .spk-legend .r2 { fill: #ef9a9a; background: #ef9a9a; }
.spk-svg .r3, .spk-legend .r3 { fill: #a9afba; background: #a9afba; }
.spk-svg .r4, .spk-legend .r4 { fill: #8db3f0; background: #8db3f0; }
.spk-svg .r5, .spk-legend .r5 { fill: #2f6fde; background: #2f6fde; }
.spk-svg .n1, .spk-svg .n5 { fill: #ffffff; font-weight: 600; }
.spk-svg .n2, .spk-svg .n3, .spk-svg .n4 { fill: #1d2330; font-weight: 600; }
.spk-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; margin: 10px 0 4px; font-size: .8rem; color: var(--muted); }
.spk-legend span { display: inline-flex; align-items: center; gap: 5px; }
.spk-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.spk-legend i.dot { border-radius: 50%; background: var(--accent); }
.spk-legend i.cmp { width: 3px; height: 14px; border-radius: 0; background: var(--muted); }
.spk-comments { margin: 0; padding-left: 18px; }
.spk-comments li { margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.spk-session h2 { overflow-wrap: anywhere; }
@media print {
    body.report main { max-width: none; padding: 0; }
    body.report .card { border: 0; padding: 0; }
    .spk-session { break-before: page; page-break-before: always; }
    .spk-session:first-of-type { break-before: auto; page-break-before: auto; }
    .spk-legend i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== Speaker list (SpeakerList.aspx) ===== */
body.speakerlist main { max-width: 1400px; }
label.check { display: flex; gap: 6px; align-items: center; font-weight: normal; margin-top: 6px; }

/* ===== Review 3 (B5.2, B5.4, B5.12) ===== */
/* Two-button confirmation instead of confirm() (blocked in some in-app browsers) */
.choice { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--warn-soft); border: 1px solid var(--warn-line); }
.choice[hidden] { display: none; }
.choice p { margin: 0 0 10px; font-weight: 600; }
.choice .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.submitbar .choice { text-align: left; }
.draftnote { margin: 6px 0 0; font-size: .85rem; color: var(--warn); }
.draftnote[hidden] { display: none; }
/* Report: marker in addition to color */
table.grid td.low::before { content: "\25BC\00a0"; font-size: .7em; }
table.grid td.high::before { content: "\25B2\00a0"; font-size: .7em; }
.qrhint { margin: 0 0 14px; }
/* Review 4: shared admin classes (/admin/ and /eventadmin/ also load this CSS) */
table.grid td.nowrap, table.grid td.when { white-space: nowrap; font-variant-numeric: tabular-nums; }
table.grid td.empty { text-align: center; color: var(--muted); }
.card.result { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.msg.warn { background: var(--warn-soft); color: var(--warn); }
form.inline { display: inline; margin: 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
code.link, .toolbar code { word-break: break-all; min-width: 0; }
.kpi b.text { font-size: 1rem; line-height: 1.3; }
.editor.mails { align-items: end; }
/* Review 4: footer of all pages "Community Event Tools by … · Version …" (below the link to the conference) */
.credit { margin: 6px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }
.credit a { color: inherit; }
/* Review 4, C9: empty = muted text in the section (card .card.empty only for the whole page) */
p.empty { color: var(--muted); margin: 8px 0 14px; }
/* Review 5, C8: neutral page "not open right now" (same in picker.css / duties.css): card with the conference logo */
.card.empty .logo { display: inline-block; background: #fff; border-radius: 10px; padding: 6px; margin: 0 0 14px; }
.card.empty .logo img { display: block; max-height: 56px; max-width: 180px; }

/* Issue #54: long event, conference and speaker names wrap instead of running over the edge (320 px), like scans.css */
header.top .heading { flex: 1 1 auto; min-width: 0; }
h1, h2, .kicker, .brand-name, .picked span, .msg { overflow-wrap: anywhere; }

/* Issue #77: categories (tags) and abstract behind "Details" of the selected session (native <details>, no script) */
.picked .sdetails { display: block; margin-top: 8px; }
.picked .sdetails[hidden] { display: none; }
.picked .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.picked .tag-cat { display: inline-block; font-size: .75rem; line-height: 1.4; padding: 1px 8px; border-radius: 999px; background: var(--card); color: var(--muted); border: 1px solid var(--line); }
details.abstract { margin-top: 6px; }
details.abstract summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .88rem; }
details.abstract summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.abstract-text { margin-top: 6px; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }

/* Issue #71: language switch EN | DE (top right, small) */
.lang-switch { text-align: right; font-size: .85rem; color: var(--muted); margin: 0 0 6px; }
.lang-switch a { color: var(--accent); font-weight: 600; text-decoration: none; padding: 4px 2px; }
.lang-switch a:hover, .lang-switch a:focus-visible { text-decoration: underline; }
.lang-switch strong { color: var(--text); }

/* Issue #72: offline – notice bar and state of evaluations submitted offline */
.msg.warn { background: var(--warn-soft); color: var(--warn); }
.offline { position: sticky; top: 0; z-index: 5; margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn-line); font-weight: 600; font-size: .92rem; }

/* Issue #151: live notices (schedule changes and the organizer's notice) at the top of the page */
.live-notices { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; border-left: 4px solid var(--accent); background: var(--accent-soft); color: var(--text); overflow-wrap: anywhere; }
.live-notices .ln-title { margin: 0 0 4px; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.live-notices .ln-own { margin: 0 0 6px; font-weight: 600; }
.live-notices ul { margin: 0; padding-left: 18px; }
.live-notices li { margin: 2px 0; }
.live-notices .ln-more { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* Issue #150: "Your visit" on the speaker page */
.visit .field { margin: 0 0 14px; }
.visit label, .visit .label, .visit legend { display: block; font-weight: 600; margin: 0 0 4px; }
.visit label.check { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin-right: 14px; }
.visit label.guests { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; }
.visit label.guests input { width: 4.5em; }
.visit fieldset { border: 0; padding: 0; margin: 0; }
.visit input[type=text], .visit input[type=datetime-local], .visit select, .visit textarea { width: 100%; max-width: 32rem; box-sizing: border-box; font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--field-line); background: var(--card); color: var(--text); }
.visit .note { margin: 4px 0 0; }

/* ===== Issue #214: contrast, focus, touch targets, motion, landmarks ===== */
/* D16: one focus ring for everything that can be focused (form fields keep their own :focus outline) */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible, nav.switch a:focus-visible, .spk-nav a:focus-visible,
label:has(> input:focus-visible), .lang-switch a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* D5: the sticky switch (top) and submit bar (bottom) never hide the focused field */
html { scroll-padding-top: 72px; scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
/* U11: touch targets at least 44 px, at least 8 px between row actions */
@media (pointer: coarse) {
    table.grid td.actions .btn + .btn, table.grid td.actions form + form { margin-left: 8px; }
    .choice .actions, .thanks .actions, .toolbar { gap: 8px; }
}
/* D7: the page footer sits after <main> (contentinfo landmark), in the width of the content */
body > footer.site-foot { max-width: 640px; margin: 0 auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); }
body.report > footer.site-foot { max-width: 760px; }
body.qrpage > footer.site-foot { max-width: 960px; }
body.speakerlist > footer.site-foot { max-width: 1400px; }
/* D14: no animations or smooth scrolling for visitors who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Issue #230 X24: the speaker page's QR code full screen (qr.js) – white, the code as large as the screen allows, the session title above */
.qr-full { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2vh;
    padding: 3vh 3vw; background: #fff; color: #000; box-sizing: border-box; }
.qr-full-title { margin: 0; max-width: 90vw; text-align: center; font-size: clamp(1.1rem, 4vmin, 2.6rem); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.qr-full .qr-full-code { width: min(80vmin, 90vw); max-width: none; margin: 0; padding: 0; background: #fff; }
.qr-full .qr-full-code svg { display: block; width: 100%; height: auto; }
.qr-full .qr-full-close { flex: none; }
/* Issue #240: the rating link under the full-screen code, for people who can't scan */
.qr-full-url { margin: 0; max-width: 90vw; text-align: center; font-size: clamp(1rem, 3vmin, 2rem); font-weight: 600; overflow-wrap: anywhere; }
/* Issue #240: the radio rows of "More questions" on the event rating – 44 px rows and 20 px radios on phones */
section.more label.check { min-height: 44px; align-items: center; }
section.more label.check input { width: 20px; height: 20px; flex: none; margin: 0; }
/* Issue #230 X25: a session moved since 24 hours before day 1 (speaker page) */
.spk-session .tag.moved { background: var(--warn-soft, #fff3cd); color: var(--warn, #8a5a00); }
