:root {
  --navy: #071f3f;
  --blue: #0b63ce;
  --cyan: #00a6c8;
  --ink: #17233a;
  --muted: #68758b;
  --line: #dce3ed;
  --paper: #fff;
  --bg: #f4f7fb;
  --success: #15835d;
  --danger: #c23b4a;
  --warning: #e59c19;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(7,31,63,.08);
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font: 15px/1.45 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 28px 20px; color: white; background: linear-gradient(165deg, #071f3f 0%, #0a3768 100%); }
.brand { display:flex; align-items:center; gap:12px; margin-bottom:34px; }
.brand-mark { width:48px; height:48px; display:grid; place-items:center; overflow:hidden; border-radius:14px; background:#fff; }
.brand-mark img { width:100%; height:100%; object-fit:contain; }
.brand strong { display:block; font-size:18px; }
.brand span { color:#b8cce4; font-size:12px; }
.nav { display:grid; gap:6px; }
.nav button { width:100%; padding:12px 14px; border:0; border-radius:12px; color:#c9d7e8; background:transparent; text-align:left; }
.nav button:hover, .nav button.active { color:white; background:rgba(255,255,255,.12); }
.sidebar-foot { position:absolute; bottom:24px; left:20px; right:20px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14); }
.profile { display:flex; align-items:center; gap:10px; }
.avatar { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; color:var(--navy); background:#bfeeff; font-weight:800; }
.profile small { display:block; color:#9fb6d0; }
.main { min-width:0; padding:32px 38px 100px; }
.topbar { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:28px; }
h1 { margin:0; font-size:30px; letter-spacing:-.8px; }
h2 { margin:0 0 18px; font-size:20px; }
h3 { margin:0 0 12px; font-size:16px; }
.eyebrow { color:var(--blue); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.subtle { margin:5px 0 0; color:var(--muted); }
.actions { display:flex; flex-wrap:wrap; gap:10px; }
.btn { min-height:42px; padding:10px 16px; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:white; font-weight:700; }
.btn.primary { border-color:var(--blue); color:white; background:var(--blue); box-shadow:0 8px 20px rgba(11,99,206,.2); }
.btn.soft { border-color:#d9e9fb; color:var(--blue); background:#edf6ff; }
.btn.danger { color:var(--danger); }
.download-link { display:inline-flex; align-items:center; text-decoration:none; }
.btn:disabled, input:disabled { cursor:not-allowed; opacity:.45; }
.grid { display:grid; gap:18px; }
.stats { grid-template-columns:repeat(4, minmax(0,1fr)); margin-bottom:22px; }
.card { padding:22px; border:1px solid #e4e9f0; border-radius:var(--radius); background:var(--paper); box-shadow:var(--shadow); }
.stat .label { color:var(--muted); font-size:13px; }
.stat strong { display:block; margin:7px 0 4px; font-size:30px; line-height:1; }
.trend { color:var(--success); font-size:12px; font-weight:700; }
.two-col { grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr); }
.competition-card { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 0; border-bottom:1px solid var(--line); }
.competition-card:last-child { border-bottom:0; padding-bottom:0; }
.date-tile { flex:0 0 54px; padding:7px; border-radius:12px; color:var(--blue); background:#eaf4ff; text-align:center; font-weight:800; }
.date-tile b { display:block; font-size:21px; }
.competition-info { flex:1; min-width:0; }
.competition-info strong { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.competition-info span { color:var(--muted); font-size:13px; }
.session-assignments { display:flex; flex-wrap:wrap; gap:5px; margin-top:7px; }
.session-assignment { padding:3px 7px; border-radius:7px; color:#31516f !important; background:#edf6ff; font-size:11px !important; }
.session-assignment b { color:var(--blue); }
.badge { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px; color:var(--success); background:#e8f7f1; font-size:12px; font-weight:800; }
.badge.warning { color:#9a6200; background:#fff4da; }
.badge.neutral { color:#536177; background:#edf1f6; }
.progress { height:8px; overflow:hidden; border-radius:999px; background:#edf1f5; }
.progress i { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--blue),var(--cyan)); }
.grade { margin:18px 0; }
.grade-head { display:flex; justify-content:space-between; margin-bottom:7px; }
.grade-head span { color:var(--muted); font-size:12px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:18px; }
.section-head h2 { margin:0; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; }
th { padding:11px 12px; color:var(--muted); background:#f7f9fc; font-size:12px; text-align:left; text-transform:uppercase; }
td { padding:14px 12px; border-bottom:1px solid var(--line); }
tr:last-child td { border-bottom:0; }
.count { font-weight:800; }
.count.bad { color:var(--danger); }
.count.good { color:var(--success); }
.swimmer-count-input { width:90px; padding:8px 10px; font-weight:800; }
.jury-club-manager { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:16px; padding:14px 16px; border:1px solid var(--line); border-radius:14px; background:#f8fafc; }
.jury-club-manager > div:first-child { display:grid; gap:3px; }
.jury-club-manager span { color:var(--muted); font-size:12px; }
.jury-club-manager .actions { flex-wrap:nowrap; }
.jury-club-manager select { min-width:230px; }
.tabs { display:flex; gap:8px; padding:5px; margin-bottom:18px; border-radius:14px; background:#edf1f6; width:max-content; max-width:100%; overflow:auto; }
.tabs button { padding:9px 15px; border:0; border-radius:10px; color:var(--muted); background:transparent; white-space:nowrap; font-weight:700; }
.tabs button.active { color:var(--ink); background:white; box-shadow:0 2px 8px rgba(7,31,63,.08); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.field { display:grid; gap:6px; }
.field.full { grid-column:1/-1; }
.form-divider { display:flex; align-items:center; gap:12px; margin:22px 0; color:var(--muted); font-size:12px; font-weight:800; text-transform:uppercase; }
.form-divider:before, .form-divider:after { content:""; flex:1; height:1px; background:var(--line); }
.session-editor-head { margin:25px 0 12px; }
.session-editor-head h3 { margin:0; }
.session-editor { display:grid; grid-template-columns:1fr 1fr auto; align-items:end; gap:10px; margin-bottom:10px; padding:12px; border:1px solid var(--line); border-radius:12px; background:#f8fafc; }
.modal-save { justify-content:flex-end; margin-top:20px; }
label { font-size:13px; font-weight:750; }
input, select, textarea { width:100%; padding:11px 12px; border:1px solid #cfd8e5; border-radius:11px; color:var(--ink); background:white; outline:none; }
input:focus, select:focus, textarea:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(11,99,206,.1); }
textarea { min-height:95px; resize:vertical; }
.question { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 0; border-bottom:1px solid var(--line); }
.question:last-child { border-bottom:0; }
.segmented { display:flex; flex:0 0 auto; gap:4px; padding:3px; border-radius:10px; background:#edf1f6; }
.segmented button { padding:7px 11px; border:0; border-radius:8px; color:var(--muted); background:transparent; font-size:12px; font-weight:800; }
.segmented button.selected { color:white; background:var(--blue); }
.scanner { min-height:330px; display:grid; place-items:center; padding:30px; border-radius:22px; color:white; background:radial-gradient(circle at center,#173e68,#061a34); text-align:center; }
.scanner-locked .scan-frame { opacity:.35; }
.scanner-locked .scan-frame:after { animation:none; opacity:.3; }
.scan-steps { display:flex; align-items:center; justify-content:center; margin:0 auto 18px; max-width:620px; }
.scan-steps > i { width:80px; height:2px; background:var(--line); }
.scan-step { display:grid; place-items:center; gap:5px; color:var(--muted); font-size:12px; font-weight:800; }
.scan-step b { display:grid; place-items:center; width:32px; height:32px; border:2px solid var(--line); border-radius:50%; background:white; }
.scan-step.active { color:var(--blue); }
.scan-step.active b { border-color:var(--blue); color:white; background:var(--blue); }
.scan-step.done b { border-color:var(--success); color:white; background:var(--success); }
.scan-frame { width:185px; height:185px; position:relative; margin:0 auto 24px; border:2px solid rgba(255,255,255,.3); border-radius:22px; }
.scan-frame:after { content:""; position:absolute; left:12px; right:12px; top:50%; height:2px; background:#4ce1ff; box-shadow:0 0 16px #4ce1ff; animation:scan 2s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform:translateY(-68px) } 50% { transform:translateY(68px) } }
.official-result { display:flex; align-items:center; gap:14px; margin-top:18px; padding:14px; border-radius:14px; color:var(--ink); background:white; text-align:left; }
.empty { padding:50px 20px; color:var(--muted); text-align:center; }
.bottom-nav { display:none; }
.toast { position:fixed; right:24px; bottom:24px; z-index:50; max-width:360px; padding:14px 18px; border-radius:12px; color:white; background:var(--navy); box-shadow:var(--shadow); opacity:0; transform:translateY(15px); pointer-events:none; transition:.25s; }
.toast.show { opacity:1; transform:none; }
.modal-backdrop { position:fixed; inset:0; z-index:40; display:grid; place-items:center; padding:20px; background:rgba(3,17,35,.58); }
.modal { width:min(620px,100%); max-height:90vh; overflow:auto; padding:24px; border-radius:20px; background:white; }
.rule-note { padding:14px; border-left:4px solid var(--cyan); border-radius:8px; background:#ecfaff; color:#285066; }
.scope-banner { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; padding:12px 16px; border:1px solid #cfe2f7; border-radius:14px; color:#31516f; background:#edf6ff; }
.scope-banner span { font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.scope-banner strong { color:var(--blue); }
.upload-box { display:grid; gap:10px; padding:20px; border:2px dashed #c9d5e5; border-radius:14px; background:#f8fafc; }
.upload-box input { padding:8px; background:white; }
.upload-box small { color:var(--muted); }
.lane-number { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:white; background:var(--navy); font-weight:900; }
.multi-officials { display:grid; gap:7px; min-width:210px; }
.official-select-row { display:flex; align-items:center; gap:6px; }
.official-select-row select { flex:1; }
.add-official-select { margin-top:7px; padding:5px 8px; border:0; border-radius:8px; color:var(--blue); background:#edf6ff; font-size:11px; font-weight:800; }
.add-official-select:hover { background:#dceeff; }
.remove-official-select { flex:0 0 28px; width:28px; height:28px; border:0; border-radius:8px; color:var(--danger); background:#fff0f2; font-size:18px; line-height:1; }
.jury-scan-roster { margin-bottom:24px; padding:17px; border:1px solid var(--line); border-radius:15px; background:#f8fafc; }
.jury-scan-roster.roster-bottom { margin:26px 0 0; }
.auto-ja { display:flex; align-items:center; gap:12px; margin-bottom:20px; padding:13px 15px; border:1px solid #9ed7c3; border-radius:13px; background:#f0fbf7; }
.auto-ja > div:nth-child(2) { display:grid; flex:1; }
.auto-ja small { color:var(--muted); }
.jury-scan-roster .section-head { margin-bottom:13px; }
.jury-scan-roster h3 { margin:0; }
.jury-scan-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.jury-scan-card { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:10px; padding:11px; border:1px solid; border-radius:12px; background:white; transition:.2s; }
.jury-scan-card div:nth-child(2) { display:grid; }
.jury-scan-card small { color:var(--muted); }
.jury-scan-card > span { max-width:180px; font-size:11px; font-weight:800; text-align:right; }
.jury-scan-card.unassigned { border-color:#efc4ca; }
.jury-scan-card.unassigned > span { color:var(--danger); }
.jury-scan-card.assigned { border-color:#9ed7c3; background:#f0fbf7; }
.jury-scan-card.assigned > span { color:var(--success); }
.registry-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:22px; }
.registry-toolbar h2 { margin:0; }
.search-box { min-width:min(360px,100%); display:flex; align-items:center; gap:8px; padding:0 12px; border:1px solid #cfd8e5; border-radius:12px; background:white; }
.search-box:focus-within { border-color:var(--blue); box-shadow:0 0 0 3px rgba(11,99,206,.1); }
.search-box span { color:var(--muted); font-size:20px; }
.search-box input { border:0; box-shadow:none; padding-left:0; }
.search-box input:focus { box-shadow:none; }
.registry-search { width:100%; max-width:none; margin-bottom:22px; }
.club-group { margin-top:18px; overflow:hidden; border:1px solid var(--line); border-radius:14px; }
.club-group-head { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#f2f6fb; }
.club-group-head strong { color:var(--navy); font-size:16px; }
.club-group-head div span { margin-left:10px; color:var(--muted); font-size:12px; }
.club-head-actions { display:flex; align-items:center; gap:8px; }
.club-head-actions .badge { margin:0; }
.icon-danger { width:30px; height:30px; display:grid; place-items:center; border:1px solid #f0cbd0; border-radius:9px; color:var(--danger); background:white; font-size:20px; line-height:1; }
.icon-danger:hover { color:white; background:var(--danger); }
.registry-row { display:grid; grid-template-columns:auto minmax(180px,1fr) auto auto; align-items:center; gap:14px; padding:13px 16px; border-top:1px solid var(--line); }
.registry-identity { display:grid; }
.registry-identity small { color:var(--muted); }
.profile-plus { width:36px; height:36px; border:0; border-radius:10px; color:white; background:var(--blue); font-size:22px; line-height:1; font-weight:500; }
.profile-plus:hover { background:#084fA8; transform:translateY(-1px); }
.profile-sheet-head { display:flex; align-items:center; gap:16px; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid var(--line); }
.profile-sheet-head h3 { margin:0 0 7px; font-size:21px; }
.avatar.large { width:58px; height:58px; font-size:18px; }
.club-empty { padding:18px; }
.training-sheet { margin-top:24px; padding-top:22px; border-top:1px solid var(--line); }
.training-sheet .section-head select { width:auto; min-width:220px; }
.training-summary { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:16px; margin:16px 0 20px; padding:14px; border-radius:14px; background:#f4f8fd; }
.training-summary div:first-child { display:grid; }
.training-summary strong { color:var(--blue); font-size:21px; }
.training-summary span { color:var(--muted); font-size:11px; }
.training-meta { margin-bottom:18px; }
.training-list { overflow:hidden; margin-bottom:18px; border:1px solid var(--line); border-radius:14px; }
.training-row { display:grid; grid-template-columns:1fr 145px; align-items:center; gap:14px; padding:11px 13px; border-bottom:1px solid var(--line); }
.training-row:last-child { border-bottom:0; }
.training-row > input { padding:8px 10px; }
.check-label { display:flex; align-items:center; gap:11px; font-weight:600; }
.check-label input { width:18px; height:18px; accent-color:var(--success); }
.check-label span { display:grid; }
.check-label small { color:var(--muted); font-size:10px; letter-spacing:.06em; text-transform:uppercase; }
.profile-save { justify-content:flex-end; margin-top:22px; }
.danger-note { padding:12px 14px; border-radius:10px; color:#942a37; background:#fff0f2; font-weight:700; }
.user-cell { display:flex; align-items:center; gap:10px; min-width:190px; }
.user-cell > div:nth-child(2) { display:grid; }
.user-cell small { color:var(--muted); }
.login-id { display:inline-block; padding:5px 8px; border-radius:7px; color:var(--navy); background:#edf1f6; font-weight:800; }
.access-badges { display:flex; flex-wrap:wrap; gap:4px; }
.access-checks { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.access-checks > label { display:flex; align-items:flex-start; gap:9px; padding:12px; border:1px solid var(--line); border-radius:11px; background:#f8fafc; }
.access-checks input { width:18px; height:18px; accent-color:var(--blue); }
.access-checks span { display:grid; }
.access-checks small { color:var(--muted); font-weight:400; }
.security-box { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; padding:15px; border:1px solid #cfe2f7; border-radius:13px; background:#f4f9ff; }
.security-box p { margin:2px 0 0; }
.credentials-card { display:grid; grid-template-columns:auto 1fr; gap:10px 18px; margin:18px 0; padding:18px; border-radius:14px; color:white; background:var(--navy); }
.credentials-card span { color:#b8cce4; }
.credentials-card strong { font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:16px; }
.fine-filters { margin-bottom:16px; }
.fine-list-section { margin-bottom:30px; }
.fine-list-section.validated-list { padding-top:26px; border-top:1px solid var(--line); }
.fine-competition-list { display:grid; gap:12px; }
.fine-competition-card { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; padding:18px 20px; border:1px solid var(--line); border-radius:15px; color:var(--ink); background:white; box-shadow:0 5px 18px rgba(7,31,63,.05); text-align:left; transition:.2s; }
.fine-competition-card:hover { border-color:#9bc5f2; transform:translateY(-1px); box-shadow:0 9px 24px rgba(7,31,63,.09); }
.fine-competition-card > div:first-child { display:grid; justify-items:start; gap:6px; }
.fine-competition-card strong { font-size:17px; }
.fine-competition-card small { color:var(--muted); }
.fine-card-summary { display:grid; grid-template-columns:auto auto auto; align-items:center; gap:20px; }
.fine-card-summary span { color:var(--muted); font-size:12px; }
.fine-card-summary b { color:var(--danger); font-size:18px; }
.fine-card-summary i { color:var(--blue); font-style:normal; font-weight:800; }
.back-link { margin-bottom:14px; padding:0; border:0; color:var(--blue); background:transparent; font-weight:800; }
.fine-amount { color:var(--success); font-weight:800; white-space:nowrap; }
.fine-amount.due { color:var(--danger); }
.fine-total { color:var(--danger); background:#fff0f2; font-size:18px; font-weight:900; white-space:nowrap; }
.session-fine-details { display:grid; gap:8px; min-width:330px; }
.session-fine-details > div { display:grid; grid-template-columns:110px 1fr auto; align-items:center; gap:10px; padding:7px 9px; border-radius:8px; background:#f4f7fb; }
.session-fine-details b { color:var(--blue); }
.session-fine-details span { color:var(--muted); font-size:12px; }
.session-fine-details small { white-space:nowrap; }
.validation-panel { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:16px 0; padding:15px 17px; border:1px solid #f0d49a; border-radius:13px; background:#fff9ea; }
.validation-panel.valid { display:grid; grid-template-columns:repeat(3,1fr); border-color:#9ed7c3; background:#f0fbf7; }
.validation-panel div { display:grid; }
.validation-panel span { color:var(--muted); font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.validation-panel p { margin:0; color:var(--muted); }
.validated-badge { color:white; background:var(--success); }
.fine-export { justify-content:flex-end; margin-top:18px; }
tfoot td { padding:15px 12px; background:#f4f7fb; }
.mini-footer { display:flex; align-items:center; justify-content:center; gap:6px; margin:38px 0 0; padding:18px 12px 0; border-top:1px solid var(--line); color:#7b8595; font-family:"Georgia Pro", Georgia, "Times New Roman", serif; font-size:12px; letter-spacing:.02em; }
.mini-footer a { color:var(--navy); font-weight:700; text-decoration:none; }
.mini-footer a:hover { color:var(--blue); text-decoration:underline; }
.auth-shell { min-height:100vh; display:grid; grid-template-columns:minmax(420px,560px) 1fr; background:white; }
.auth-panel { display:flex; flex-direction:column; justify-content:center; gap:34px; padding:56px clamp(28px,6vw,78px); }
.auth-brand { display:flex; align-items:center; gap:13px; }
.auth-brand strong { display:block; color:var(--navy); font-size:20px; }
.auth-brand span { display:block; color:var(--muted); font-size:12px; }
.auth-form { display:grid; gap:16px; }
.auth-submit { width:100%; margin-top:4px; }
.auth-error { min-height:21px; margin:0; color:var(--danger); font-weight:700; }
.auth-footer { margin-top:auto; color:var(--muted); font-family:"Georgia Pro", Georgia, serif; font-size:12px; }
.auth-footer a { color:var(--navy); font-weight:800; text-decoration:none; }
.auth-visual { display:flex; align-items:flex-end; padding:64px; color:white; background:linear-gradient(145deg,rgba(7,31,63,.94),rgba(11,99,206,.78)),url("assets/footer-logo-1.jpg") center/cover; }
.auth-visual div { max-width:560px; }
.auth-visual span { font-size:12px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.auth-visual h2 { max-width:520px; margin:12px 0; font-size:42px; line-height:1.08; }
.auth-visual p { color:#d8e8f8; font-size:17px; }
@media (max-width: 820px) { .auth-shell { grid-template-columns:1fr; } .auth-panel { min-height:100vh; } .auth-visual { display:none; } }
@media (max-width: 980px) { .stats { grid-template-columns:repeat(2,1fr); } .two-col { grid-template-columns:1fr; } }
@media (max-width: 720px) {
  .topbar .actions #logoutButton { display:inline-flex; }
  .app-shell { display:block; }
  .sidebar { display:none; }
  .main { padding:22px 16px 94px; }
  .topbar { align-items:center; }
  .topbar .actions .btn:not(.primary) { display:none; }
  h1 { font-size:24px; }
  .stats { gap:10px; }
  .card { padding:17px; border-radius:15px; }
  .stat strong { font-size:25px; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .question { align-items:flex-start; flex-direction:column; gap:10px; }
  .session-editor { grid-template-columns:1fr; }
  .bottom-nav { position:fixed; left:0; right:0; bottom:0; z-index:30; display:flex; justify-content:space-around; padding:8px 6px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); background:rgba(255,255,255,.96); backdrop-filter:blur(16px); }
  .bottom-nav button { display:grid; gap:2px; place-items:center; border:0; color:var(--muted); background:transparent; font-size:10px; }
  .bottom-nav button.active { color:var(--blue); font-weight:800; }
  .bottom-nav b { font-size:20px; line-height:1; }
  .toast { left:16px; right:16px; bottom:82px; max-width:none; }
  .scan-steps > i { width:35px; }
  .registry-toolbar { align-items:stretch; flex-direction:column; }
  .search-box { min-width:0; width:100%; }
  .registry-row { grid-template-columns:auto 1fr auto; }
  .registry-row > .badge { display:none; }
  .training-sheet .section-head { align-items:stretch; flex-direction:column; }
  .training-sheet .section-head select { width:100%; }
  .training-row { grid-template-columns:1fr; }
  .jury-scan-grid { grid-template-columns:1fr; }
  .jury-club-manager { align-items:stretch; flex-direction:column; }
  .jury-club-manager .actions { align-items:stretch; flex-direction:column; }
  .jury-club-manager select { min-width:0; }
  .security-box { align-items:stretch; flex-direction:column; }
  .access-checks { grid-template-columns:1fr; }
  .session-fine-details > div { grid-template-columns:1fr; gap:2px; }
  .fine-competition-card { align-items:stretch; flex-direction:column; }
  .fine-card-summary { grid-template-columns:1fr auto; gap:6px 12px; }
  .fine-card-summary i { grid-column:1/-1; }
  .validation-panel, .validation-panel.valid { display:grid; grid-template-columns:1fr; }
}

.qr-camera { position:relative; overflow:hidden; border-radius:18px; background:#071426; aspect-ratio:3/4; max-height:62vh; margin:12px auto 16px; }
.qr-camera video { width:100%; height:100%; object-fit:cover; display:block; }
.qr-guide { position:absolute; inset:50% auto auto 50%; width:min(64%,280px); aspect-ratio:1; transform:translate(-50%,-50%); border:3px solid #fff; border-radius:20px; box-shadow:0 0 0 999px rgba(0,0,0,.28); }
