:root {
  color-scheme: light;
  --ink: #1c2d26;
  --muted: #718078;
  --line: #dfe8e3;
  --soft: #f3f7f4;
  --brand-green: #00a848;
  --green: #007a35;
  --green-dark: #005b2c;
  --green-soft: #e7f6ed;
  --lime: #5ad9fb;
  --gold: #c38b28;
  --danger: #a33434;
  --white: #fff;
  font-family: "Josefin Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: #f4f7f5;
  color: var(--ink);
  font-size: 14px;
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.topbar {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px max(28px, calc((100vw - 1440px) / 2));
  color: var(--white);
  background: linear-gradient(110deg, #00672f, var(--green));
  border-bottom: 3px solid var(--lime);
}

.brand-lockup { display: flex; align-items: center; gap: 17px; }
.brand-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; justify-content: center; text-align: center; }
.brand-logo {
  display: block;
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
}

.topbar .eyebrow { color: #bfe2d0; }
.topbar h1 {
  margin: 0;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  letter-spacing: -.035em;
  text-align: left;
}
.topbar-caption { margin: 4px 0 0; color: #d6e8df; font-size: clamp(13px, 1.5vw, 16px); font-weight: 600; text-align: left; }
.topbar-tools { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 10px; }
.admin-access { display: flex; align-items: center; gap: 9px; }
.access-badge { padding: 6px 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: #eef8f2; background: rgba(255,255,255,.09); font-size: 10px; font-weight: 700; white-space: nowrap; }
.admin-toggle { min-height: 34px; padding: 0 11px; border-color: rgba(255,255,255,.5); color: white; background: rgba(255,255,255,.11); }
.admin-toggle:hover { border-color: white; background: rgba(255,255,255,.19); }
.save-state { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; color: #e0efe7; font-size: 12px; }
.save-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(90,217,251,.15); }
.save-dot.saving { background: #ffcf70; box-shadow: 0 0 0 4px rgba(255,207,112,.14); }
.save-dot.error { background: #ff9e9e; box-shadow: 0 0 0 4px rgba(255,158,158,.14); }

.page-shell { width: min(1440px, calc(100% - 56px)); margin: 28px auto 48px; }
.event-card, .results-card, .detail-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(26, 55, 41, .035);
}
.event-card { padding: 23px 25px 25px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
h2 { margin: 0; font-size: 19px; letter-spacing: -.03em; }
.autosave-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 11px; font-weight: 600; white-space: nowrap; }
.autosave-chip span { display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; color: var(--white); background: var(--green); font-size: 10px; }
.modality-switch { display: grid; width: min(100%, 850px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.modality-button { min-height: 43px; padding: 0 16px; border: 1px solid #cbd9d0; border-radius: 10px; color: #486154; background: #fff; font-size: 12px; font-weight: 700; transition: color .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.modality-button:hover { border-color: #76ab8e; background: #f5faf7; }
.modality-button.active { border-color: var(--green); color: #fff; background: var(--green); box-shadow: 0 3px 9px rgba(0,122,53,.14); }
.modality-button:focus-visible { outline: 3px solid rgba(90,217,251,.55); outline-offset: 2px; }
.category-selector { width: min(100%, 850px); margin-top: 15px; }
.category-selector-label { display: block; margin-bottom: 8px; color: #6f8076; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.category-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; }
.category-button { min-height: 39px; padding: 0 10px; border: 1px solid #d3e0d7; border-radius: 9px; color: #496154; background: #f8fbf9; font-size: 11px; font-weight: 600; white-space: nowrap; transition: color .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease; }
.category-button:hover { border-color: #76ab8e; background: #f1f8f4; }
.category-button.active { border-color: var(--green); color: #fff; background: var(--green); box-shadow: 0 3px 9px rgba(0,122,53,.14); }
.category-button:focus-visible { outline: 3px solid rgba(90,217,251,.55); outline-offset: 2px; }
.event-fields { display: grid; grid-template-columns: minmax(250px, 1.5fr) minmax(150px, .7fr) minmax(220px, 1.2fr) minmax(180px, .9fr); gap: 14px; margin-top: 21px; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.field span { color: #53625a; font-size: 11px; font-weight: 600; }
.field input, textarea {
  width: 100%;
  border: 1px solid #d9e3dd;
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: #fcfdfc;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid #d9e3dd; border-radius: 9px; outline: none; color: var(--ink); background: #fcfdfc; }
.field input { height: 40px; padding: 0 11px; }
.field input:focus, .field select:focus, textarea:focus { border-color: #65a489; background: var(--white); box-shadow: 0 0 0 3px rgba(11,101,71,.1); }
.field input::placeholder, textarea::placeholder { color: #a1ada6; }
input:disabled, textarea:disabled, select:disabled { cursor: not-allowed; }
.results-table .cell-input:disabled { color: #52645a; opacity: 1; }
.icon-button:disabled { cursor: default; opacity: .35; }

.summary-grid { display: grid; grid-template-columns: .7fr .85fr 1.1fr 1.1fr 1.5fr; gap: 13px; margin: 16px 0; }
.summary-grid.longcasting-summary { grid-template-columns: .8fr 1fr 1.2fr 1.5fr; }
.summary-card { min-height: 94px; display: flex; flex-direction: column; justify-content: center; padding: 15px 19px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.summary-card strong { margin-top: 4px; font-size: 25px; font-weight: 700; letter-spacing: -.05em; line-height: 1.15; }
.summary-card strong small { color: #9aa79f; font-size: 15px; font-weight: 600; }
.summary-label { color: #809087; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.summary-foot { overflow: hidden; margin-top: 4px; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.leader-card .summary-foot, .best-throw-card .summary-foot { margin-top: 6px; font-size: 13px; font-weight: 600; }
.leader-card { border-color: #c8e4d5; background: linear-gradient(110deg, #f1f9f4, #fff 70%); }
.leader-card strong { color: var(--green); }
.best-throw-card { border-color: #c8e4d5; background: linear-gradient(110deg, #f1f9f4, #fff 70%); }
.best-throw-card strong { color: var(--green); }
.next-throwers-card { justify-content: flex-start; border-color: #c8e4d5; background: linear-gradient(145deg, #f5faf7, #fff 78%); }
.next-throwers-list { display: grid; gap: 7px; margin: 8px 0 0; padding: 0; list-style: none; }
.next-thrower-item { min-width: 0; display: flex; align-items: center; gap: 8px; color: #405248; font-size: 11px; line-height: 1.2; }
.next-thrower-position { min-width: 61px; padding: 4px 5px; border: 1px solid #d4e4da; border-radius: 6px; color: var(--green); background: #eaf5ee; font-size: 9px; font-weight: 700; text-align: center; }
.next-thrower-details { min-width: 0; display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 6px; }
.next-thrower-name { min-width: 0; flex: 1; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.next-thrower-attempt { flex: none; color: var(--muted); font-size: 9px; white-space: nowrap; }
.next-thrower-same-athlete .next-thrower-attempt { color: var(--green); font-weight: 700; }
.next-thrower-empty { color: var(--muted); font-size: 11px; }

.results-card { padding: 22px 22px 15px; }
.results-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.section-caption { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.access-hint { margin: 5px 0 0; color: var(--green); font-size: 11px; font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 700; transition: transform .12s ease, background .12s ease, border-color .12s ease; }
.button:active { transform: translateY(1px); }
.button-secondary { border-color: #dce6e0; color: #3c5146; background: #fff; }
.button-secondary:hover { border-color: #aac7b6; background: #f8fbf9; }
.button-primary { color: white; background: var(--green); box-shadow: 0 3px 9px rgba(11,101,71,.15); }
.button-primary:hover { background: var(--green-dark); }
.button span { font-size: 15px; font-weight: 600; }
.button:disabled { cursor: not-allowed; opacity: .55; }

.table-frame { overflow-x: auto; border: 1px solid #d9e3dd; border-radius: 10px; }
.results-table { width: 100%; min-width: 1020px; border-collapse: separate; border-spacing: 0; }
.results-table.general-results { min-width: 920px; }
.results-table th { height: 37px; padding: 4px 5px; border-right: 1px solid rgba(255,255,255,.19); color: white; background: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .025em; line-height: 1.1; text-align: center; text-transform: uppercase; }
.results-table th .unit-label { text-transform: none; }
.results-table thead tr:first-child th { height: 43px; }
.results-table thead tr:nth-child(2) th { height: 30px; color: #def0e6; background: var(--green-dark); }
.results-table th:last-child { border-right: 0; }
.results-table td { height: 52px; padding: 5px 7px; border-right: 1px solid #e7ede9; border-bottom: 1px solid #e7ede9; background: #fff; text-align: center; }
.results-table tbody tr:last-child td { border-bottom: 0; }
.results-table td:last-child { border-right: 0; }
.number-col { width: 72px; min-width: 72px; }
.athlete-col { width: 155px; min-width: 155px; }
.club-col { width: 132px; min-width: 132px; }
.attempt-col { width: 92px; }
.attempt-group { min-width: 276px; }
.metric-col { width: 88px; }
.cosapyl-col { width: 78px; min-width: 78px; }
.class-col { width: 56px; }
.general-name-col { width: 17%; min-width: 155px; }
.general-club-col { width: 18%; min-width: 150px; }
.general-score-col { width: 18%; min-width: 160px; }
.general-total-col { width: 12%; min-width: 105px; }
.general-class-col { width: 11%; min-width: 100px; }
.remove-col { width: 45px; }
.results-table .row-number { color: #829088; font-variant-numeric: tabular-nums; font-size: 12px; }
.results-table .bib-input { width: 100%; padding: 0 2px; color: #718078; font-variant-numeric: tabular-nums; font-weight: 700; text-align: center; }
.results-table .name-input { font-weight: 600; }
.results-table .club-input { color: #5f7066; }
.results-table .cell-input { width: 100%; height: 34px; padding: 0 7px; border: 1px solid transparent; border-radius: 7px; outline: none; color: var(--ink); background: transparent; font-size: 12px; text-align: center; }
.results-table .text-cell { text-align: left; }
.read-only-value { display: block; width: 100%; padding: 0 7px; color: var(--ink); font-size: 12px; }
.read-only-value.bib-value { color: #718078; font-variant-numeric: tabular-nums; font-weight: 700; }
.read-only-value.attempt-value { font-variant-numeric: tabular-nums; font-weight: 600; }
.read-only-value.attempt-value.code-cell { display: inline-block; width: auto; min-width: 34px; padding: 4px 6px; border-radius: 6px; color: #976d1c; background: #fff9eb; }
.read-only-value.name-value { font-weight: 600; white-space: nowrap; }
.read-only-value.club-value { color: #5f7066; }
body:not(.admin-mode) .results-table .remove-col,
body:not(.admin-mode) .results-table .remove-cell { display: none; }
body:not(.admin-mode) .results-table .number-col,
body:not(.admin-mode) .results-table .number-cell { display: none; }
body:not(.admin-mode) #add-athlete,
body:not(.admin-mode) #clear-attempts { display: none !important; }
.results-table .cell-input:hover { border-color: #dfe9e3; background: #fbfdfb; }
.results-table .cell-input:focus { border-color: #69a68a; background: white; box-shadow: 0 0 0 2px rgba(11,101,71,.09); }
.results-table .attempt-input { font-variant-numeric: tabular-nums; font-weight: 600; }
.results-table .attempt-input.code-cell { color: #976d1c; background: #fff9eb; }
.results-table .attempt-input.invalid { border-color: #d77777; background: #fff4f4; }
.results-table .metric-value { color: #41534a; font-variant-numeric: tabular-nums; font-size: 12px; font-weight: 600; }
.results-table .best-value { color: var(--green); font-size: 13px; font-weight: 700; }
.results-table .cosapyl-value { color: #177343; font-weight: 700; font-variant-numeric: tabular-nums; }
.results-table .general-name-value { color: var(--ink); font-weight: 600; text-align: left; white-space: nowrap; }
.results-table .general-club-value { color: #5f7066; text-align: left; }
.results-table .rank-pill { display: inline-grid; min-width: 29px; height: 25px; place-items: center; padding: 0 5px; border: 1px solid transparent; border-radius: 7px; color: #626c74; background: #edf0f2; font-size: 11px; font-weight: 700; }
.mobile-results-note { display: none; }
.results-table tr.rank-first .rank-pill { border-color: #e3bd55; color: #76520b; background: #fff0b8; }
.results-table tr.rank-second .rank-pill { border-color: #c7cfd5; color: #56616a; background: #e3e8ec; }
.results-table tr.rank-third .rank-pill { border-color: #d5a17a; color: #87512f; background: #f1d9c9; }
.results-table tr.rank-other .rank-pill { border-color: #8c969d; color: #28343a; background: #aeb7bd; }
.icon-button { display: inline-grid; width: 28px; height: 28px; place-items: center; border: 0; border-radius: 7px; color: #96a39b; background: transparent; font-size: 17px; }
.icon-button:hover { color: var(--danger); background: #fff0f0; }
.empty-state { padding: 32px 20px !important; color: #748279; background: #fcfdfc !important; text-align: center !important; }
.empty-state strong { display: block; margin-bottom: 5px; color: #34483c; font-size: 13px; }
.empty-state span { font-size: 12px; }
.table-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 2px 3px; }
.table-bottom p { margin: 0; color: #758279; font-size: 11px; }
.table-bottom b { color: #52655a; }
.legend-key { color: #52655a; font-weight: 700; }
.text-button { padding: 4px 0; border: 0; color: #77847c; background: transparent; font-size: 11px; font-weight: 600; text-decoration: underline; text-decoration-color: #c4cec8; text-underline-offset: 3px; }
.text-button:hover { color: var(--danger); text-decoration-color: var(--danger); }
.ranking-note { margin: 5px 0 0; color: #87948c; font-size: 10px; line-height: 1.5; }

.details-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 16px; }
.detail-card { min-width: 0; padding: 20px 22px; }
.compact-heading { margin-bottom: 14px; }
.compact-heading h2 { font-size: 16px; }
.observation-composer { display: flex; align-items: stretch; gap: 8px; margin-bottom: 12px; }
.observation-composer input { min-width: 0; height: 40px; flex: 1; padding: 0 11px; border: 1px solid #d9e3dd; border-radius: 9px; outline: none; color: var(--ink); background: #fcfdfc; }
.observation-composer input:focus { border-color: #65a489; background: var(--white); box-shadow: 0 0 0 3px rgba(11,101,71,.1); }
.observation-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: observation; }
.observation-list li { position: relative; min-height: 39px; display: flex; align-items: center; gap: 5px; padding: 5px 7px 5px 40px; border: 1px solid #e4ece7; border-radius: 9px; color: #405248; background: #f8fbf9; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; counter-increment: observation; }
.observation-text { min-width: 0; flex: 1; padding: 4px 0; white-space: pre-wrap; }
.observation-edit-input { min-width: 0; height: 34px; flex: 1; padding: 0 8px; border: 1px solid #d9e3dd; border-radius: 7px; outline: none; color: var(--ink); background: white; font-size: 12px; }
.observation-edit-input:focus, .judge-input:focus, .judge-title-input:focus { border-color: #65a489; box-shadow: 0 0 0 2px rgba(11,101,71,.09); }
.observation-list li::before { position: absolute; top: 9px; left: 11px; display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: var(--green); background: var(--green-soft); content: counter(observation); font-size: 10px; font-weight: 700; }
.observation-empty { margin: 0; padding: 12px; border: 1px dashed #d9e3dd; border-radius: 9px; color: #87948c; font-size: 11px; }
.judge-fields { display: grid; grid-template-columns: 1fr; gap: 9px; }
.judge-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 12px; }
.judge-row.is-title-editing { grid-template-columns: minmax(0, 1fr); }
.judge-label-wrap { display: flex; min-width: 0; align-items: center; gap: 2px; }
.judge-label { min-width: 0; flex: 1; color: #53625a; font-size: 11px; font-weight: 600; overflow-wrap: anywhere; }
.judge-title-edit-button { width: 22px; height: 22px; flex: none; font-size: 13px; }
.judge-title-edit-button:hover { color: var(--green); background: var(--green-soft); }
.judge-title-control { display: flex; min-width: 0; align-items: center; gap: 6px; }
.judge-title-input { width: 100%; min-width: 0; height: 35px; flex: 1; padding: 0 9px; border: 1px solid #d9e3dd; border-radius: 8px; outline: none; color: var(--ink); background: #fcfdfc; font-size: 12px; }
.judge-control { display: flex; min-width: 0; align-items: center; gap: 6px; }
.judge-input { width: 100%; min-width: 0; height: 35px; flex: 1; padding: 0 9px; border: 1px solid #d9e3dd; border-radius: 8px; outline: none; color: var(--ink); background: #fcfdfc; font-size: 12px; }
.judge-value { min-width: 0; flex: 1; color: #405248; font-size: 12px; overflow-wrap: anywhere; }
.confirm-icon-button { color: var(--green); font-weight: 700; }
.confirm-icon-button:hover { color: #fff; background: var(--green); }
.cancel-icon-button:hover { color: var(--danger); background: #fff0f0; }
.icon-button:disabled { cursor: not-allowed; opacity: .35; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; margin: 17px 2px 0; color: #849188; font-size: 10px; }
.cloud-warning { margin: 14px 0; padding: 12px 15px; border: 1px solid #f0d29b; border-radius: 10px; color: #735019; background: #fff8e8; font-size: 12px; line-height: 1.5; }
.cloud-warning b { font-weight: 700; }
.toast { position: fixed; z-index: 5; right: 24px; bottom: 22px; max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 10px; color: white; background: #223b2f; box-shadow: 0 8px 24px rgba(0,0,0,.18); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.admin-dialog { width: min(440px, calc(100% - 32px)); padding: 0; border: 1px solid #dce6e0; border-radius: 16px; color: var(--ink); background: white; box-shadow: 0 22px 70px rgba(10, 35, 22, .28); }
.admin-dialog::backdrop { background: rgba(13, 34, 24, .48); backdrop-filter: blur(2px); }
.admin-form { display: flex; flex-direction: column; gap: 14px; padding: 27px; }
.admin-form h2 { font-size: 21px; }
.admin-dialog-copy { margin: -6px 0 3px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.admin-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 5px; }
.auth-error { margin: -5px 0 0; color: var(--danger); font-size: 12px; line-height: 1.4; }
.auth-info { margin: -5px 0 0; color: var(--green); font-size: 12px; line-height: 1.4; }
.forgot-password-button { align-self: flex-start; min-height: 32px; }
.admin-form [hidden] { display: none !important; }

@media (max-width: 920px) {
  .event-fields { grid-template-columns: 1fr 1fr; }
  .event-name-field { grid-column: span 2; }
  .results-heading { align-items: flex-start; flex-direction: column; }
  .toolbar { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .topbar { align-items: flex-start; flex-direction: column; gap: 12px; padding: 19px 18px; }
  .brand-lockup { width: 100%; align-items: center; gap: 12px; }
  .brand-logo { width: 58px; height: 58px; }
  .topbar-caption { max-width: 270px; line-height: 1.45; }
  .topbar-tools { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
  .admin-access { flex-wrap: wrap; gap: 6px; }
  .save-state { margin-left: 0; font-size: 10px; }
  .page-shell { width: calc(100% - 28px); margin-top: 14px; }
  .event-card, .results-card, .detail-card { border-radius: 13px; }
  .event-card { padding: 18px 15px; }
  .event-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  h2 { font-size: 17px; }
  .modality-switch { grid-template-columns: 1fr; gap: 7px; margin-top: 14px; }
  .modality-button { min-height: 42px; padding: 0 8px; font-size: 10px; }
  .event-fields { grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 17px; }
  .event-name-field { grid-column: span 2; }
  .summary-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin: 11px 0; }
  .summary-card { min-height: 78px; padding: 12px; }
  .summary-card strong { font-size: 21px; }
  .summary-grid.longcasting-summary .leader-card { grid-column: span 2; }
  .summary-grid .next-throwers-card { grid-column: span 2; }
  .leader-card .summary-foot, .best-throw-card .summary-foot { font-size: 12px; }
  .results-card { padding: 18px 12px 13px; }
  .toolbar { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .category-options { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 7px; }
  .category-button { min-height: 40px; padding: 0 6px; font-size: 10px; }
  .button { padding: 0 8px; font-size: 10px; }
  .button-primary { grid-column: span 2; }
  .table-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .details-grid { grid-template-columns: 1fr; gap: 11px; margin-top: 11px; }
  .detail-card { padding: 17px 15px; }
  .observation-composer { flex-direction: column; }
  .observation-composer .button { width: 100%; }
  .page-footer { flex-direction: column; gap: 5px; margin-top: 13px; line-height: 1.4; }
}

@media (max-width: 620px) {
  .page-shell { width: calc(100% - 20px); }
  .topbar { padding: 17px 12px; }
  .brand-lockup { align-items: flex-start; gap: 10px; }
  .brand-logo { width: 54px; height: 54px; }
  .topbar h1 { font-size: clamp(16px, 5vw, 19px); line-height: 1.15; }
  .topbar-caption { font-size: 12px; }
  .topbar-tools { align-items: flex-start; }
  .admin-access { width: 100%; }
  .admin-toggle { min-height: 38px; }
  .save-state { width: 100%; }
  .event-card { padding: 16px 13px; }
  .modality-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .modality-button { min-height: 48px; padding: 5px 8px; font-size: 11px; line-height: 1.2; white-space: normal; }
  .modality-button:last-child { grid-column: 1 / -1; }
  .category-options { grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
  .category-button { min-height: 42px; padding: 4px 7px; font-size: 11px; white-space: normal; }
  .summary-grid { gap: 8px; }
  .summary-grid.longcasting-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-card { min-width: 0; padding: 11px 10px; }
  .summary-label { font-size: 8px; letter-spacing: .08em; }
  .summary-foot { font-size: 10px; }
  .results-heading { gap: 12px; margin-bottom: 12px; }
  .results-heading h2 { font-size: 20px; }
  .mobile-results-note { display: block; margin: 0 0 10px; color: #607268; font-size: 11px; line-height: 1.45; }
  .table-frame { overflow: visible; border: 0; border-radius: 0; }
  .results-table, .results-table.general-results {
    display: block;
    width: 100%;
    min-width: 0;
    border: 0;
    border-spacing: 0;
  }
  .results-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .results-table tbody { display: grid; gap: 10px; }
  .results-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    overflow: hidden;
    border: 1px solid #dfe8e3;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(26, 55, 41, .045);
  }
  .results-table tbody td {
    display: flex;
    min-width: 0;
    height: auto;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 9px;
    border-right: 1px solid #e7ede9;
    border-bottom: 1px solid #e7ede9;
    background: #fff;
    font-size: 12px;
    text-align: right;
  }
  .results-table tbody td::before {
    flex: 0 0 auto;
    color: #718078;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
  }
  .results-table tbody .rank-cell,
  .results-table tbody .cosapyl-cell,
  .results-table tbody .number-cell,
  .results-table tbody .best-cell,
  .results-table tbody .sum-cell { background: #f7faf8; }
  .results-table tbody .name-cell,
  .results-table tbody .club-cell,
  .results-table.general-results tbody .general-name-cell,
  .results-table.general-results tbody .general-club-cell { grid-column: 1 / -1; }
  .results-table tbody .name-cell,
  .results-table.general-results tbody .general-name-cell { min-height: 48px; }
  .results-table .read-only-value { width: auto; min-width: 0; padding: 0; text-align: right; }
  .results-table .read-only-value.name-value,
  .results-table .read-only-value.club-value,
  .results-table .general-name-value,
  .results-table .general-club-value { white-space: normal; overflow-wrap: anywhere; text-align: left; }
  .results-table .name-value,
  .results-table .name-input,
  .results-table .general-name-value { font-size: 13px; font-weight: 700; }
  .results-table .club-value,
  .results-table .general-club-value { color: #5f7066; }
  .results-table tbody .attempt-cell { min-height: 62px; align-items: stretch; flex-direction: column; justify-content: center; gap: 6px; text-align: left; }
  .results-table tbody .attempt-cell::before { font-size: 10px; }
  .results-table .cell-input { min-width: 0; height: 40px; padding: 0 8px; font-size: 14px; }
  .results-table .metric-value { font-size: 13px; }
  .results-table tbody .remove-cell { grid-column: 1 / -1; min-height: 38px; justify-content: flex-end; padding: 4px 9px; }
  .results-table tbody .remove-cell::before { margin-right: auto; }
  body.admin-mode .results-table:not(.general-results) tbody .number-cell { grid-column: 1 / -1; }
  .results-table.general-results tbody .general-total-cell { grid-column: 1 / -1; }
  .results-table:not(.general-results) tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .results-table:not(.general-results) tbody .rank-cell {
    grid-column: 1;
    grid-row: 1;
    min-height: 74px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border-bottom: 0;
    background: #f5f8f6;
    text-align: center;
  }
  .results-table:not(.general-results) tbody .rank-cell::before { font-size: 8px; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
  .results-table:not(.general-results) tbody .rank-cell .rank-pill { min-width: 40px; height: 40px; border-radius: 50%; font-size: 16px; }
  .results-table:not(.general-results) tbody .cosapyl-cell {
    grid-column: 1;
    grid-row: 2;
    min-height: 54px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border-top: 1px solid #e7ede9;
    text-align: center;
  }
  .results-table:not(.general-results) tbody .cosapyl-cell::before { font-size: 8px; letter-spacing: .04em; text-align: center; }
  .results-table:not(.general-results) tbody .name-cell {
    grid-column: 2 / -1;
    grid-row: 1;
    min-height: 74px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    border-bottom: 0;
    text-align: left;
  }
  .results-table:not(.general-results) tbody .name-cell::before,
  .results-table:not(.general-results) tbody .club-cell::before { font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
  .results-table:not(.general-results) tbody .name-cell .name-value,
  .results-table:not(.general-results) tbody .name-cell .name-input { width: 100%; text-align: left; }
  body:not(.admin-mode) .results-table:not(.general-results) tbody .name-cell::after {
    color: #64766c;
    content: attr(data-club);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
  }
  body:not(.admin-mode) .results-table:not(.general-results) tbody .club-cell { display: none; }
  .results-table:not(.general-results) tbody .club-cell {
    grid-column: 2 / -1;
    grid-row: 2;
    min-height: 54px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    border-top: 1px solid #e7ede9;
    text-align: left;
  }
  .results-table:not(.general-results) tbody .club-cell .club-value,
  .results-table:not(.general-results) tbody .club-cell .club-input { width: 100%; text-align: left; }
  body.admin-mode .results-table:not(.general-results) tbody .number-cell { grid-column: 1; grid-row: 2; }
  .results-table:not(.general-results) tbody tr.rank-first { border-color: #dfbc59; }
  .results-table:not(.general-results) tbody tr.rank-second { border-color: #b8c1c8; }
  .results-table:not(.general-results) tbody tr.rank-third { border-color: #ce9a73; }
  .results-table:not(.general-results) tbody tr.rank-other { border-color: #929da4; }
  .results-table:not(.general-results) tbody tr.rank-first .rank-cell { background: #fff7dc; }
  .results-table:not(.general-results) tbody tr.rank-second .rank-cell { background: #eef1f3; }
  .results-table:not(.general-results) tbody tr.rank-third .rank-cell { background: #f9eee6; }
  .results-table:not(.general-results) tbody tr.rank-other .rank-cell { background: #e9edef; }
  .results-table.general-results tbody .rank-cell { grid-column: 1; grid-row: 1; min-height: 68px; align-items: center; flex-direction: column; justify-content: center; gap: 4px; background: #f5f8f6; }
  .results-table.general-results tbody .rank-cell::before { font-size: 8px; letter-spacing: .04em; text-align: center; text-transform: uppercase; }
  .results-table.general-results tbody .rank-cell .rank-pill { min-width: 40px; height: 40px; border-radius: 50%; font-size: 16px; }
  .results-table.general-results tbody .general-name-cell { grid-column: 2; grid-row: 1; min-height: 68px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; text-align: left; }
  .results-table.general-results tbody .general-name-cell::before,
  .results-table.general-results tbody .general-club-cell::before { font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
  .results-table.general-results tbody .general-club-cell { grid-column: 1 / -1; grid-row: 2; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; background: #f7faf8; text-align: left; }
  .results-table.general-results tbody .general-limited-cell { grid-column: 1; grid-row: 3; }
  .results-table.general-results tbody .general-longcasting-cell { grid-column: 2; grid-row: 3; }
  .results-table.general-results tbody .general-total-cell { grid-column: 1 / -1; grid-row: 4; color: var(--green-dark); background: #eef7f1; font-size: 14px; font-weight: 700; }
  .results-table.general-results tbody tr.rank-first { border-color: #dfbc59; }
  .results-table.general-results tbody tr.rank-second { border-color: #b8c1c8; }
  .results-table.general-results tbody tr.rank-third { border-color: #ce9a73; }
  .results-table.general-results tbody tr.rank-other { border-color: #929da4; }
  .results-table.general-results tbody tr.rank-first .rank-cell { background: #fff7dc; }
  .results-table.general-results tbody tr.rank-second .rank-cell { background: #eef1f3; }
  .results-table.general-results tbody tr.rank-third .rank-cell { background: #f9eee6; }
  .results-table.general-results tbody tr.rank-other .rank-cell { background: #e9edef; }
  .results-table:not(.general-results) tbody .best-cell {
    grid-column: 2 / -1;
    grid-row: 2;
    min-height: 56px;
    color: var(--green-dark);
    background: #eef7f1;
    font-size: 15px;
    font-weight: 700;
  }
  .results-table:not(.general-results) tbody .best-cell::before { font-size: 10px; text-transform: uppercase; }
  .results-table:not(.general-results):not(.longcasting-results) tbody .best-cell { display: none; }
  .results-table:not(.general-results) tbody .sum-cell { grid-column: 2 / -1; grid-row: 2; min-height: 54px; color: var(--green-dark); background: #eef7f1; font-size: 15px; font-weight: 700; }
  .results-table:not(.general-results) tbody .sum-cell::before { font-size: 10px; text-transform: uppercase; }
  .results-table:not(.general-results):not(.longcasting-results) tbody .attempt-cell[data-attempt-index="0"] { grid-column: 1; grid-row: 3; }
  .results-table:not(.general-results):not(.longcasting-results) tbody .attempt-cell[data-attempt-index="1"] { grid-column: 2; grid-row: 3; }
  .results-table:not(.general-results):not(.longcasting-results) tbody .attempt-cell[data-attempt-index="2"] { grid-column: 3; grid-row: 3; }
  .results-table.longcasting-results tbody .best-cell { grid-column: 2 / -1; grid-row: 2; }
  .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="0"] { grid-column: 1; grid-row: 3; }
  .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="1"] { grid-column: 2; grid-row: 3; }
  .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="2"] { grid-column: 3; grid-row: 3; }
  .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="3"] { grid-column: 1; grid-row: 4; }
  .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="4"] { grid-column: 2; grid-row: 4; }
  .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="5"] { grid-column: 3; grid-row: 4; }
  .results-table:not(.general-results) tbody .remove-cell { grid-column: 1 / -1; grid-row: 5; }
  .results-table.longcasting-results tbody .remove-cell { grid-row: 6; }
  body.admin-mode .results-table:not(.general-results) tbody .best-cell { grid-row: 3; }
  body.admin-mode .results-table:not(.general-results) tbody .cosapyl-cell { grid-column: 1; grid-row: 3; }
  body.admin-mode .results-table:not(.general-results) tbody .sum-cell { grid-row: 3; }
  body.admin-mode .results-table:not(.general-results):not(.longcasting-results) tbody .attempt-cell[data-attempt-index="0"] { grid-row: 4; }
  body.admin-mode .results-table:not(.general-results):not(.longcasting-results) tbody .attempt-cell[data-attempt-index="1"] { grid-row: 4; }
  body.admin-mode .results-table:not(.general-results):not(.longcasting-results) tbody .attempt-cell[data-attempt-index="2"] { grid-row: 4; }
  body.admin-mode .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="0"] { grid-row: 4; }
  body.admin-mode .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="1"] { grid-row: 4; }
  body.admin-mode .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="2"] { grid-row: 4; }
  body.admin-mode .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="3"] { grid-row: 5; }
  body.admin-mode .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="4"] { grid-row: 5; }
  body.admin-mode .results-table.longcasting-results tbody .attempt-cell[data-attempt-index="5"] { grid-row: 5; }
  body.admin-mode .results-table:not(.general-results) tbody .remove-cell { grid-row: 5; }
  body.admin-mode .results-table.longcasting-results tbody .remove-cell { grid-row: 6; }
  .results-table tbody .empty-result-row { display: block; }
  .results-table tbody .empty-state { display: block; min-height: 0; padding: 20px 14px !important; border: 0; text-align: center !important; }
  .results-table tbody .empty-state::before { display: none; }
  .table-bottom { padding-top: 10px; }
  .table-bottom p { font-size: 10px; line-height: 1.5; }
  .page-footer { overflow-wrap: anywhere; }
}

@media print {
  @page { size: A4 landscape; margin: 8mm; }
  html, body { width: 100%; min-width: 0; margin: 0; background: #fff !important; }
  body { color: #17241d; font-size: 9pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .topbar { width: min(100%, 270mm); min-height: 0; justify-content: flex-start; margin: 0 auto; padding: 0 0 4mm; color: #17241d; background: #fff; border-bottom: 1.5px solid var(--brand-green); }
  .topbar .eyebrow, .topbar-tools, .save-state, .toolbar, .cloud-warning, .table-bottom .text-button, .toast, .admin-dialog, .autosave-chip { display: none !important; }
  .mobile-results-note { display: none !important; }
  .brand-lockup { width: 100%; gap: 3mm; }
  .brand-logo { width: 15mm; height: 15mm; }
  .brand-copy { align-items: flex-start; text-align: left; }
  .topbar h1 { color: var(--green); font-size: 16pt; line-height: 1.1; }
  .topbar-caption { margin-top: 1mm; color: #4b5b52; font-size: 10pt; }
  .page-shell { width: min(100%, 270mm); margin: 4mm auto 0; }
  .event-card, .results-card, .detail-card { border: 1px solid #c5d0c9; border-radius: 3px; box-shadow: none; }
  .event-card { display: flex; align-items: baseline; gap: 7mm; padding: 2mm 3mm; break-inside: avoid; }
  .event-heading { display: none; }
  .modality-switch { display: flex; width: auto; margin: 0; }
  .modality-button:not(.active), .category-button:not(.active) { display: none !important; }
  .modality-button.active { min-height: 0; padding: 0; border: 0; border-radius: 0; color: var(--green-dark); background: transparent; box-shadow: none; font-size: 10pt; }
  .category-selector { display: flex; align-items: baseline; gap: 2mm; width: auto; margin: 0; }
  .category-selector-label { margin: 0; color: #66766c; font-size: 8pt; }
  .category-options { display: block; }
  .category-button.active { min-height: 0; padding: 0; border: 0; border-radius: 0; color: #17241d; background: transparent; box-shadow: none; font-size: 9pt; font-weight: 700; }
  .summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2mm; margin: 3mm 0; break-inside: avoid; }
  .summary-grid.longcasting-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-grid .attempt-count-card, .summary-grid .next-throwers-card { display: none !important; }
  .summary-card { min-height: 15mm; padding: 2mm 3mm; border-radius: 2px; }
  .summary-label { font-size: 7pt; letter-spacing: .08em; }
  .summary-card strong { margin-top: 1mm; font-size: 13pt; }
  .summary-card strong small { font-size: 8pt; }
  .summary-foot { margin-top: 1mm; font-size: 8pt; }
  .leader-card .summary-foot, .best-throw-card .summary-foot { margin-top: 1mm; font-size: 8pt; }
  .next-throwers-list { gap: 1mm; margin-top: 1mm; }
  .next-thrower-item, .next-thrower-empty { font-size: 8pt; }
  .next-thrower-position { min-width: 12mm; padding: .5mm 1mm; font-size: 7pt; }
  .next-thrower-attempt { font-size: 7pt; }
  .results-card { padding: 2mm 2.5mm; break-inside: auto; }
  .results-heading { margin-bottom: 2mm; break-after: avoid; }
  .results-heading h2 { font-size: 12pt; }
  .section-caption, .access-hint, .ranking-note { font-size: 7pt; }
  .table-frame { overflow: visible; border: 0; border-radius: 0; }
  .results-table, .results-table.general-results { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
  .results-table thead { display: table-header-group; }
  .results-table tbody { display: table-row-group; }
  .results-table tbody tr { display: table-row; overflow: visible; border: 0; border-radius: 0; box-shadow: none; }
  .results-table tbody .empty-result-row { display: table-row; }
  .results-table tbody td { display: table-cell; min-height: 0; }
  .results-table tbody td.empty-state { display: table-cell; }
  .results-table tbody td::before { content: none; }
  .results-table tfoot { display: table-footer-group; }
  .results-table tr { break-inside: avoid; page-break-inside: avoid; }
  .results-table th { height: 7mm; padding: 1mm .8mm; border: 1px solid #43805e; color: #fff; background: var(--green); font-size: 8pt; line-height: 1.05; }
  .results-table thead tr:first-child th { height: 8mm; }
  .results-table thead tr:nth-child(2) th { height: 6mm; color: #fff; background: var(--green-dark); }
  .results-table td { height: 6mm; padding: .7mm 1mm; border: 1px solid #d4ddd7; font-size: 8pt; }
  .results-table .class-col, .results-table td:nth-child(1) { width: 5%; }
  .results-table .cosapyl-col, .results-table td:nth-child(2) { width: 7%; }
  .results-table .number-col, .results-table td:nth-child(3) { width: 6%; }
  .results-table .athlete-col, .results-table td:nth-child(4) { width: 20%; }
  .results-table .club-col, .results-table td:nth-child(5) { width: 15%; }
  .results-table .attempt-group { width: 24%; }
  .results-table .attempt-col { width: 8%; }
  .results-table td:nth-child(6), .results-table td:nth-child(7), .results-table td:nth-child(8) { width: 8%; }
  .results-table td:nth-child(9) { width: 9%; }
  .results-table td:nth-child(10) { width: 9%; }
  .results-table.longcasting-results .class-col, .results-table.longcasting-results td:nth-child(1) { width: 5%; }
  .results-table.longcasting-results .cosapyl-col, .results-table.longcasting-results td:nth-child(2) { width: 7%; }
  .results-table.longcasting-results .number-col, .results-table.longcasting-results td:nth-child(3) { width: 6%; }
  .results-table.longcasting-results .athlete-col, .results-table.longcasting-results td:nth-child(4) { width: 16%; }
  .results-table.longcasting-results .club-col, .results-table.longcasting-results td:nth-child(5) { width: 13%; }
  .results-table.longcasting-results .attempt-group { width: 42%; }
  .results-table.longcasting-results .attempt-col { width: 7%; }
  .results-table.longcasting-results td:nth-child(n+6):nth-child(-n+11) { width: 7%; }
  .results-table.longcasting-results td:nth-child(12) { width: 8%; }
  .results-table.general-results th:nth-child(1), .results-table.general-results td:nth-child(1) { width: 8%; }
  .results-table.general-results th:nth-child(2), .results-table.general-results td:nth-child(2) { width: 24%; }
  .results-table.general-results th:nth-child(3), .results-table.general-results td:nth-child(3) { width: 17%; }
  .results-table.general-results th:nth-child(4), .results-table.general-results td:nth-child(4),
  .results-table.general-results th:nth-child(5), .results-table.general-results td:nth-child(5) { width: 19%; }
  .results-table.general-results th:nth-child(6), .results-table.general-results td:nth-child(6) { width: 13%; }
  .results-table .cell-input { height: auto; padding: 0; border: 0; color: #17241d; background: transparent; font-size: 8pt; line-height: 1.1; }
  .results-table .metric-value, .results-table .best-value, .results-table .row-number, .results-table .read-only-value { font-size: 8pt; }
  .results-table .read-only-value { padding: 0; }
  .results-table .read-only-value.name-value { white-space: normal; overflow-wrap: anywhere; }
  .results-table .rank-pill { min-width: 6mm; height: 5mm; padding: .5mm; font-size: 7pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .remove-col, .results-table .remove-cell { display: none !important; }
  .table-bottom { padding: 1.5mm 0 0; }
  .table-bottom p { font-size: 7pt; }
  .ranking-note { margin-top: 1mm; line-height: 1.2; }
  .details-grid { grid-template-columns: 1.15fr .85fr; gap: 2mm; margin-top: 3mm; }
  .detail-card { padding: 2.5mm 3mm; break-inside: avoid; }
  .compact-heading { margin-bottom: 1.5mm; }
  .compact-heading h2 { font-size: 10pt; }
  .detail-card .eyebrow { margin-bottom: 1mm; font-size: 6.5pt; }
  .observation-composer, .observation-edit-button, .observation-save-button, .observation-cancel-button,
  .judge-edit-button, .judge-title-edit-button, .judge-title-confirm-button, .judge-title-cancel-button,
  .judge-confirm-button, .judge-cancel-button { display: none !important; }
  .observation-list { gap: 1mm; }
  .observation-list li { min-height: 0; padding: 1mm 1mm 1mm 8mm; border-radius: 1mm; font-size: 7.5pt; line-height: 1.2; }
  .observation-list li::before { top: 1mm; left: 1mm; width: 5mm; height: 5mm; font-size: 7pt; }
  .observation-empty { padding: 2mm; font-size: 7pt; }
  .judge-fields { grid-template-columns: 1fr; gap: 1mm; }
  .judge-row { grid-template-columns: 28mm minmax(0, 1fr); gap: 2mm; }
  .judge-label, .judge-value { font-size: 7.5pt; }
  .judge-input, .judge-title-input { height: auto; padding: 0; border: 0; color: #17241d; background: transparent; font-size: 7.5pt; }
  .page-footer { margin-top: 2mm; color: #65736a; font-size: 7pt; }
}
