:root {
  color-scheme: light;
  --burgundy: #711712;
  --burgundy-dark: #470c09;
  --burgundy-soft: #f6e9e6;
  --teal: #176b72;
  --teal-dark: #0e4e54;
  --teal-soft: #e4f1f1;
  --navy: #182333;
  --off-white: #f6f1e7;
  --paper: #fffefd;
  --gold: #ad8640;
  --gold-soft: #f5ecd8;
  --ink: #171719;
  --muted: #625e57;
  --border: #d8cec0;
  --error: #8d1c20;
  --success: #29623c;
  --shadow: 0 0.8rem 2.2rem rgb(36 28 22 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgb(113 23 18 / 2%) 1px, transparent 1px),
    linear-gradient(rgb(24 35 51 / 2%) 1px, transparent 1px),
    var(--off-white);
  background-size: 2.75rem 2.75rem;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  margin-block: 0.25rem 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.025em;
}

h2 {
  margin-block: 0 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--teal);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

h3 {
  margin-block: 0.4rem 0.7rem;
  font-size: 1.3rem;
}

p {
  max-width: 72ch;
}

a {
  color: var(--burgundy);
  text-decoration-color: rgb(113 23 18 / 45%);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--teal-dark);
  text-decoration-color: currentcolor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 0.25rem;
  background: var(--navy);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  border-top: 0.35rem solid var(--burgundy);
  background: #fff;
  box-shadow: 0 0.25rem 1.25rem rgb(24 35 51 / 9%);
}

.site-header-inner {
  display: flex;
  width: min(76rem, calc(100% - 2rem));
  min-height: 7.5rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 1.1rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--burgundy);
}

.brand-mark {
  width: auto;
  height: 6.2rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-copy,
.brand-organisation,
.brand-title {
  display: block;
}

.brand-organisation {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2.4vw, 2.05rem);
  font-weight: 700;
  letter-spacing: 0.015em;
}

.brand-title {
  margin-top: 0.15rem;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.account-actions form,
.page-actions form {
  margin: 0;
}

.award-ribbon {
  background: var(--teal);
  color: #fff;
}

.award-ribbon > div {
  display: flex;
  width: min(76rem, calc(100% - 2rem));
  min-height: 2.7rem;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.award-ribbon strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: none;
}

.page-shell {
  width: min(76rem, calc(100% - 2rem));
  min-height: calc(100vh - 20rem);
  margin: 2.5rem auto 4rem;
}

.welcome-panel,
.auth-intro,
.auth-card,
.empty-state {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid var(--border);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.welcome-panel,
.auth-intro {
  overflow: hidden;
  border-top: 0.4rem solid var(--burgundy);
}

.welcome-panel::after,
.auth-intro::after {
  position: absolute;
  width: 11rem;
  height: 11rem;
  border: 2rem solid rgb(23 107 114 / 8%);
  border-radius: 50%;
  content: "";
  inset: auto -4rem -5rem auto;
  pointer-events: none;
}

.lead {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.auth-shell {
  display: grid;
  max-width: 65rem;
  margin: 3rem auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 1.5rem;
}

.auth-intro {
  display: flex;
  min-height: 24rem;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 96%), rgb(246 233 230 / 92%)),
    var(--paper);
}

.auth-card {
  align-self: stretch;
  border-top: 0.4rem solid var(--teal);
}

.auth-card h2 {
  border-bottom-color: var(--burgundy);
}

.auth-card input,
.auth-card button {
  width: 100%;
}

form > div {
  margin-block: 1rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-weight: 700;
}

input,
select,
textarea {
  width: min(100%, 30rem);
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #817a70;
  border-radius: 0.3rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--teal);
}

button,
.button-link {
  display: inline-flex;
  min-height: 2.75rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid var(--burgundy);
  border-radius: 0.25rem;
  align-items: center;
  justify-content: center;
  background: var(--burgundy);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button-link:hover {
  border-color: var(--burgundy-dark);
  background: var(--burgundy-dark);
  color: #fff;
}

.button-link.secondary,
.sign-out-button {
  border-color: var(--teal);
  background: transparent;
  color: var(--teal-dark);
}

.button-link.secondary:hover,
.sign-out-button:hover {
  background: var(--teal);
  color: #fff;
}

.danger-action,
.button-link.danger-action {
  border-color: var(--error);
  background: var(--error);
  color: #fff;
}

.danger-action:hover,
.button-link.danger-action:hover {
  border-color: var(--burgundy-dark);
  background: var(--burgundy-dark);
  color: #fff;
}

.sign-out-button {
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
}

.messages {
  margin-bottom: 1.5rem;
}

.message,
.notice,
.error {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-left-width: 0.35rem;
  background: #fff;
}

.message,
.notice {
  border-left-color: var(--teal);
  background: var(--teal-soft);
}

.error,
.message.error {
  border-left-color: var(--error);
  background: var(--burgundy-soft);
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--burgundy);
}

.page-heading,
.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1.5rem;
}

.page-heading {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--border);
}

.page-heading h1,
.section-heading h2 {
  margin-bottom: 0;
}

.section-heading h2 {
  border-bottom: 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.eyebrow {
  margin-bottom: 0.25rem;
  color: var(--burgundy);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow + h1,
.eyebrow + h2 {
  margin-top: 0;
}

section {
  margin-block: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.card,
.decision-panel {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-top: 0.3rem solid var(--teal);
  background: var(--paper);
  box-shadow: 0 0.35rem 1.2rem rgb(24 35 51 / 7%);
}

.voter-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-top: 0.35rem solid var(--burgundy);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.shortlist-grid {
  display: grid;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  list-style: none;
  counter-reset: shortlist;
}

.shortlist-grid li {
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  border: 1px solid var(--border);
  border-left: 0.25rem solid var(--teal);
  background: var(--paper);
  counter-increment: shortlist;
}

.shortlist-grid li::before {
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  color: var(--burgundy);
  content: counter(shortlist);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.shortlist-grid strong,
.shortlist-grid span {
  display: block;
}

.shortlist-grid span {
  margin-top: 0.25rem;
  color: var(--muted);
}

.technical-details {
  margin-block: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  background: rgb(255 255 255 / 55%);
}

.technical-details summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.election-card {
  display: flex;
  min-height: 15rem;
  flex-direction: column;
}

.election-card h3 a {
  color: var(--navy);
}

.election-card .card-link {
  margin-top: auto;
  font-weight: 700;
}

.status-pill {
  align-self: flex-start;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgb(23 107 114 / 30%);
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.empty-state {
  border-style: dashed;
  border-top: 0.3rem solid var(--gold);
  box-shadow: none;
}

.summary-list > div {
  display: grid;
  padding-block: 0.45rem;
  border-bottom: 1px solid var(--border);
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
}

.summary-list dt {
  color: var(--navy);
  font-weight: 700;
}

.summary-list dd {
  margin: 0;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 0.3rem 1rem rgb(24 35 51 / 5%);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

thead th {
  border-color: #334055;
  background: var(--navy);
  color: #fff;
}

tbody tr:nth-child(even) th,
tbody tr:nth-child(even) td {
  background: #faf7f1;
}

tbody tr:hover th,
tbody tr:hover td {
  background: var(--teal-soft);
}

th small,
td small {
  display: block;
  color: inherit;
  font-weight: 400;
}

.rank-cell {
  min-width: 4rem;
  color: var(--navy);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
}

.confirmed-row th,
.confirmed-row td,
tbody .confirmed-row:nth-child(even) th,
tbody .confirmed-row:nth-child(even) td {
  background: #e8f2e8;
}

.status {
  display: inline-block;
  font-weight: 700;
}

.status.confirmed {
  color: var(--success);
}

.status.confirmed::before {
  content: "✓ ";
}

.status.invalid {
  color: var(--error);
}

.ballot-state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid currentcolor;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ballot-state.unopened {
  background: #e8f3eb;
  color: var(--success);
}

.ballot-state.unopened::before {
  content: "✓";
}

.ballot-state.opened {
  background: var(--burgundy-soft);
  color: var(--error);
}

.ballot-state.opened::before {
  content: "●";
}

.compact-unlock-panel {
  padding: 1.1rem;
  border: 1px solid var(--border);
  border-left: 0.3rem solid var(--gold);
  background: var(--paper);
}

.inline-entry-table {
  min-width: 78rem;
}

.inline-entry-table .rank-cell {
  min-width: 7rem;
}

.inline-entry-table select {
  width: 100%;
  min-width: 6rem;
  padding: 0.45rem;
}

.ballot-control-cell {
  min-width: 8.5rem;
}

.ballot-control-cell .text-button {
  display: block;
  margin-top: 0.45rem;
}

.row-actions {
  min-width: 7rem;
}

.row-actions form {
  display: inline;
  margin-left: 0.5rem;
}

.text-button {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--burgundy);
  text-decoration: underline;
}

.text-button:hover {
  background: transparent;
  color: var(--teal-dark);
}

.matrix-table td {
  min-width: 6rem;
  text-align: center;
}

.matrix-table td strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.matrix-diagonal,
tbody tr:nth-child(even) .matrix-diagonal {
  background: #e7e3dc;
  color: var(--muted);
}

.record-list {
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.record-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 65%);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1rem;
}

.metric {
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-top: 0.3rem solid var(--burgundy);
  background: var(--paper);
  text-align: center;
  box-shadow: 0 0.3rem 1rem rgb(24 35 51 / 5%);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.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;
}

.break-value {
  overflow-wrap: anywhere;
}

.receipt-details > div {
  margin-block: 0.5rem;
  grid-template-columns: 8rem 1fr;
}

code {
  padding: 0.1rem 0.25rem;
  border-radius: 0.2rem;
  background: #ece8e0;
  color: var(--burgundy-dark);
}

.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1rem;
}

.export-grid > div {
  padding: 1rem;
  border: 1px solid var(--border);
  border-top: 0.25rem solid var(--teal);
  background: var(--paper);
}

.export-grid form {
  display: inline-block;
  margin: 0.5rem 0.75rem 0 0;
}

.audit-timeline li {
  margin-block: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-left: 0.3rem solid var(--teal);
  background: var(--paper);
}

.audit-timeline p {
  margin-block: 0.25rem;
}

.print-record {
  max-width: 75rem;
}

.print-brand {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 0.25rem solid var(--teal);
  align-items: center;
  gap: 1rem;
}

.print-brand img {
  width: auto;
  height: 5rem;
}

.print-brand strong,
.print-brand span {
  display: block;
}

.print-brand strong {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
}

.print-brand span {
  color: var(--burgundy);
  font-weight: 700;
}

#plaintext-panel {
  border-width: 0.3rem;
  font-size: 1.2rem;
}

#plaintext-panel h2 {
  font-size: 2rem;
}

.presentation-body {
  height: 100vh;
  min-width: 960px;
  overflow: hidden;
  background: var(--off-white);
  line-height: 1.35;
}

.presentation-shell {
  width: min(100%, 120rem);
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(0.65rem, 1.2vw, 1.25rem);
}

.presentation-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.55rem 1rem 0.7rem;
  border-top: 0.35rem solid var(--burgundy);
  border-bottom: 0.35rem solid var(--teal);
  background: #fff;
}

.presentation-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.presentation-brand img {
  width: auto;
  height: clamp(3.5rem, 4.5vw, 5rem);
}

.presentation-header h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 3rem);
}

.presentation-decision {
  text-align: right;
}

.presentation-decision span,
.presentation-decision strong {
  display: block;
}

.presentation-decision strong {
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.8vw, 2.25rem);
}

.presentation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(0.75rem, 1.2vw, 1.5rem);
}

.presentation-grid section {
  min-width: 0;
}

.presentation-grid h2 {
  margin: clamp(0.55rem, 1vw, 0.9rem) 0 0.45rem;
  padding-bottom: 0.25rem;
  font-size: clamp(1.3rem, 1.7vw, 1.8rem);
}

.presentation-grid > section > p {
  margin: 0 0 0.4rem;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
}

.presentation-grid th,
.presentation-grid td {
  padding: clamp(0.35rem, 0.55vw, 0.55rem);
  font-size: clamp(0.72rem, 0.86vw, 0.9rem);
  line-height: 1.3;
}

.presentation-grid .matrix-table td {
  min-width: 4.25rem;
}

.presentation-grid .matrix-table td strong {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
}

.presentation-result-summary {
  margin-top: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-left: 0.3rem solid var(--burgundy);
  background: #fff;
  box-shadow: 0 0.3rem 1rem rgb(24 35 51 / 5%);
}

.presentation-result-summary h3 {
  margin: 0 0 0.35rem;
  color: var(--burgundy);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
}

.presentation-result-summary dl {
  margin: 0;
}

.presentation-result-summary dl > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, 0.75fr) minmax(0, 1.25fr);
  gap: 0.6rem;
  padding: 0.13rem 0;
  border-top: 1px solid var(--border);
  font-size: clamp(0.68rem, 0.78vw, 0.82rem);
  line-height: 1.25;
}

.presentation-result-summary dl > div:first-child {
  border-top: 0;
}

.presentation-result-summary dt {
  color: var(--navy);
  font-weight: 800;
}

.presentation-result-summary dd {
  margin: 0;
}

@media (min-width: 1200px) and (min-height: 800px) {
  .presentation-grid h2 {
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
    font-size: 2rem;
  }

  .presentation-grid > section > p {
    margin-bottom: 0.65rem;
    font-size: 1rem;
  }

  .presentation-grid .worksheet-table th,
  .presentation-grid .worksheet-table td {
    padding: 0.82rem 0.65rem;
    font-size: 1rem;
    line-height: 1.35;
  }

  .presentation-grid .matrix-table th,
  .presentation-grid .matrix-table td {
    padding: 0.72rem 0.65rem;
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .presentation-grid .matrix-table td strong {
    font-size: 1.25rem;
  }

  .presentation-result-summary {
    margin-top: 0.9rem;
    padding: 0.75rem 1rem;
  }

  .presentation-result-summary h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
  }

  .presentation-result-summary dl > div {
    grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.25fr);
    gap: 1rem;
    padding: 0.23rem 0;
    font-size: 0.9rem;
    line-height: 1.35;
  }
}

@media (max-width: 760px) {
  .site-header-inner,
  .award-ribbon > div {
    width: min(100% - 1.25rem, 76rem);
  }

  .site-header-inner {
    min-height: auto;
    padding-block: 0.65rem;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    height: 4.5rem;
  }

  .brand-organisation {
    font-size: 1.15rem;
  }

  .brand-title {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .account-actions {
    display: block;
    text-align: right;
  }

  .account-actions > span {
    display: none;
  }

  .award-ribbon > div {
    display: block;
    padding-block: 0.55rem;
  }

  .award-ribbon strong {
    display: block;
    margin-top: 0.1rem;
  }

  .page-shell {
    width: min(100% - 1.25rem, 76rem);
    margin-top: 1.5rem;
  }

  .page-heading,
  .section-heading {
    display: block;
  }

  .page-actions {
    margin-top: 1rem;
  }

  .auth-shell {
    margin-block: 1.5rem;
    grid-template-columns: 1fr;
  }

  .auth-intro {
    min-height: 14rem;
  }

  .card-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .summary-list > div,
  .receipt-details > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    font-size: 10pt;
  }

  .site-header,
  .award-ribbon,
  .no-print,
  .messages {
    display: none !important;
  }

  .page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .print-brand {
    display: flex;
  }

  table {
    page-break-inside: auto;
  }

  tr {
    page-break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
