:root {
  --wa-bg: #d4deea;
  --wa-bg-top: #eef4fa;
  --wa-surface: #ffffff;
  --wa-surface-soft: #f7fafd;
  --wa-surface-muted: #e4ecf5;
  --wa-border: #9ab0c7;
  --wa-border-strong: #6f90b1;
  --wa-ink: #0d2740;
  --wa-ink-soft: #274761;
  --wa-muted: #4d667d;
  --wa-accent: #1d6cab;
  --wa-accent-strong: #154f80;
  --wa-accent-soft: #d7e8f8;
  --wa-danger: #a23232;
  --wa-danger-bg: #fdeaea;
  --wa-warning-bg: #fff3dc;
  --wa-success-bg: #e8f5ec;
  --wa-info-bg: #eaf2fb;
  --wa-shadow-sm: 0 8px 18px rgba(16, 34, 53, 0.1);
  --wa-shadow-md: 0 14px 30px rgba(16, 34, 53, 0.13);
  --wa-shadow-card: 0 16px 28px rgba(16, 34, 53, 0.12);
  --wa-radius: 7px;
  --wa-space-1: 0.25rem;
  --wa-space-2: 0.4rem;
  --wa-space-3: 0.6rem;
  --wa-space-4: 0.85rem;
  --wa-space-5: 1.15rem;
  --wa-space-6: 1.5rem;
}

/* Entries-wide readable data hierarchy: labels stay compact, values lead. */
.wa-app .wa-field-label {
  justify-content: center;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}

.wa-app .wa-field-value,
.wa-app .wa-field-control input,
.wa-app .wa-field-control select,
.wa-app .wa-field-control textarea,
.wa-app .contact-block .table td input,
.wa-app .contact-block .table td select,
.wa-app .contact-block .table td textarea {
  font-size: 1.1rem;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 13px;
  background: transparent;
}

body,
body.wa-app {
  margin: 0;
  color: var(--wa-ink);
  font-family: Arial, sans-serif;
  line-height: 1.45;
}

body {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 31%),
    radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #e2eaf3 0%, #d5e0eb 34%, #c5d2df 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
  background-size:
    100% 22rem,
    65% 38rem,
    100% 100%;
}

body.wa-app {
  background: transparent;
}

body.wa-login {
  background: transparent;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wa-accent);
}

a:hover,
a:focus-visible {
  color: var(--wa-accent-strong);
}

.wa-loading-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem 1rem 1rem;
  padding: max(0.75rem, env(safe-area-inset-top)) 1rem 1rem;
  color: var(--wa-ink);
  background: transparent;
  backdrop-filter: none;
}

.wa-loading-overlay[hidden] {
  display: none;
}

.wa-loading-status {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wa-loading-spinner {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0.25rem solid var(--wa-accent-soft);
  border-top-color: var(--wa-accent);
  border-radius: 50%;
  animation: wa-loading-spin 0.75s linear infinite;
}

.wa-loading-message {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.wa-is-loading {
  cursor: progress;
}

@keyframes wa-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-loading-spinner {
    animation: none;
    border-color: var(--wa-accent);
    border-right-color: transparent;
  }
}

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

button,
.btn,
input[type="submit"],
input[type="button"],
.wa-link-chip,
.wa-sticky-actions a,
.contact-block__action {
  min-height: 28px;
  padding: 0.38rem 0.82rem;
  border-radius: var(--wa-radius);
  border: 1px solid var(--wa-accent-strong);
  background: linear-gradient(180deg, #2b79b7 0%, #215e92 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: var(--wa-shadow-sm);
  cursor: pointer;
}

button:hover,
button:focus-visible,
.btn:hover,
.btn:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
input[type="button"]:hover,
input[type="button"]:focus-visible,
.wa-link-chip:hover,
.wa-link-chip:focus-visible,
.wa-sticky-actions a:hover,
.wa-sticky-actions a:focus-visible,
.contact-block__action:hover,
.contact-block__action:focus-visible {
  background: linear-gradient(180deg, #2370ac 0%, #184f7a 100%);
  color: #ffffff;
}

.wa-sticky-actions a,
.wa-link-chip,
.contact-block__action,
.btn-outline-secondary,
.btn-outline-primary {
  border-color: var(--wa-border-strong);
  background: linear-gradient(180deg, #fbfdff 0%, #edf3f9 100%);
  color: var(--wa-accent-strong);
  box-shadow: none;
}

.wa-btn-danger {
  border-color: #8f2929 !important;
  background: linear-gradient(180deg, #c94b4b 0%, #a23232 100%) !important;
  color: #ffffff !important;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
select,
textarea,
.form-control,
.form-select {
  min-height: 28px;
  padding: 0.34rem 0.55rem;
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  background: #ffffff;
  color: var(--wa-ink);
  box-shadow: inset 0 1px 2px rgba(15, 41, 64, 0.06);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--wa-accent);
  box-shadow: 0 0 0 3px rgba(31, 110, 169, 0.16);
}

.is-required-empty {
  border-color: #d0b47a !important;
  background: #fffaf0 !important;
  box-shadow: 0 0 0 2px rgba(208, 180, 122, 0.14) !important;
}

[readonly] {
  background: #f3f6fa;
}

main.wa-main,
header.wa-topbar,
footer {
  width: min(980px, calc(100% - 1.2rem));
  margin-inline: auto;
}

header.wa-topbar {
  padding-top: 0.55rem;
}

main.wa-main {
  margin-top: 0.8rem;
  margin-bottom: 1.5rem;
}

footer {
  min-height: 10px;
  margin-bottom: 0.9rem;
  border-top: 1px solid var(--wa-border);
}

.wa-main-inner,
.wa-dashboard,
.wa-form-compact-page,
.wa-auth-shell,
.wa-contact-add-shell,
.wa-exhibit-edit-page {
  display: grid;
  gap: 1rem;
}

main.wa-main > .wa-main-inner,
.wa-dashboard.wa-dashboard-modern {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wa-hidden {
  display: none !important;
}

.wa-text-center,
.text-center {
  text-align: center !important;
}

.wa-text-small,
.small {
  font-size: 0.9rem;
}

.wa-text-muted,
.text-secondary,
.muted {
  color: var(--wa-muted) !important;
}

.wa-mb-0 {
  margin-bottom: 0 !important;
}

.wa-list-unstyled {
  margin: 0;
  padding: 0;
  list-style: none;
}

.text-end,
.text-right {
  text-align: right !important;
}

.text-nowrap {
  white-space: nowrap !important;
}

.wpx-140 {
  width: 140px;
}

.badge,
.text-bg-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: #d8e2ee;
  color: #24425d;
  font-size: 0.84rem;
  font-weight: 700;
}

.wa-alert {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  box-shadow: var(--wa-shadow-sm);
}

.wa-alert.is-info {
  background: var(--wa-info-bg);
}

.wa-alert.is-warning {
  background: var(--wa-warning-bg);
}

.wa-alert.is-danger {
  border-color: #d7aaaa;
  background: var(--wa-danger-bg);
  color: #6e2020;
}

.wa-show-lock-notice.is-closed {
  border-color: #c24141;
  background: #fee2e2;
  color: #7f1d1d;
}

.wa-show-lock-notice.is-closed .wa-text-muted {
  color: #8f2d2d !important;
}

.wa-alert.is-success {
  border-color: #b9d6c2;
  background: var(--wa-success-bg);
  color: #27583a;
}

.fw-semibold {
  font-weight: 700;
}

.wa-topbar-card,
.wa-topbar-meta,
.wa-topbar-entry-card,
.wa-page-heading,
.wa-summary-card,
.wa-contacts-card,
.contact-block,
.wa-data-panel,
.wa-auth-card,
.wa-auth-form,
.wa-entry-card,
.wa-bottom-flash > * {
  border: 1px solid var(--wa-border);
  border-radius: var(--wa-radius);
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
  box-shadow: var(--wa-shadow-sm);
}

.wa-topbar-card,
.wa-topbar-meta,
.wa-topbar-entry-card,
.wa-page-heading {
  background:
    linear-gradient(135deg, rgba(29, 108, 171, 0.1), rgba(255, 255, 255, 0) 46%),
    linear-gradient(180deg, #fbfdff 0%, #e6eef7 100%);
}

/* Match the homepage silver-satin card surface; keep authentication cards motionless. */
.wa-auth-card,
.wa-auth-form {
  background-color: #edf3f7;
  background-image:
    linear-gradient(rgba(241, 249, 255, 0.46), rgba(241, 249, 255, 0.46)),
    url("../../../images/silver-card-soft-satin.png?v=20260821-satin-light");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  animation: none;
}

.wa-topbar-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.78rem 0.95rem;
  border-color: rgba(111, 144, 177, 0.9);
}

.wa-topbar-card {
  overflow: hidden;
  border-color: rgba(111, 144, 177, 0.9);
}

.wa-topbar-card .wa-topbar-meta,
.wa-topbar-card .wa-topbar-entry-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wa-topbar-card .wa-topbar-meta {
  border-bottom: 1px solid rgba(111, 144, 177, 0.55);
}

.wa-topbar-meta-left {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.wa-topbar-meta-center {
  text-align: center;
  color: var(--wa-ink-soft);
  font-weight: 600;
  font-size: 0.98rem;
}

.wa-topbar-user-email,
.wa-topbar-user-name {
  color: inherit;
}

.wa-topbar-actions,
.wa-topbar-actions form {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin: 0;
}

.wa-topbar-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0;
}

.wa-topbar-entry-card {
  padding: 0.82rem 0.95rem;
  border-color: rgba(111, 144, 177, 0.84);
  box-shadow: 0 10px 22px rgba(17, 43, 66, 0.09);
}

.wa-topbar-card .wa-topbar-entry-card {
  padding-top: 0.82rem;
}

.wa-topbar-form {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  text-align: center;
}

.wa-topbar-form select {
  width: 100%;
}

.wa-topbar-form label {
  display: block;
  margin: 0;
  font-weight: 700;
  color: #10385b;
}

.wa-topbar-form select.select-required {
  border-color: #f59e0b;
  background: #fff7ed;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.wa-topbar-notice {
  padding: 0 0.95rem 0.7rem;
}

.wa-page-heading,
.wa-auth-card {
  padding: 0.8rem 0.95rem;
  text-align: center;
}

.wa-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.wa-page-heading > div:first-child {
  font-size: 1.2rem;
  font-weight: 700;
}

.wa-page-heading-compact {
  justify-content: center;
  flex-wrap: wrap;
}

.wa-form-meta {
  color: var(--wa-muted);
  font-size: 0.92rem;
}

.wa-form-meta-strong {
  color: var(--wa-ink-soft);
  font-weight: 600;
}

.wa-form-meta-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.wa-form-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.1rem 0.52rem;
  border: 1px solid rgba(111, 144, 177, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #1d507a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wa-form-lead {
  margin: -0.15rem auto 0.1rem;
  width: min(100%, 44rem);
  color: var(--wa-muted);
  text-align: center;
  font-size: 0.96rem;
  line-height: 1.5;
}

.wa-summary-form,
.wa-contacts-form,
.wa-contact-add-form,
.wa-exhibit-form,
.wa-edit-form {
  display: grid;
  gap: var(--wa-space-4);
}

.wa-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.wa-summary-card {
  padding: 0.82rem;
  border-color: rgba(111, 144, 177, 0.82);
  box-shadow: var(--wa-shadow-card);
}

.wa-data-panel {
  overflow: hidden;
  border-color: rgba(111, 144, 177, 0.84);
  box-shadow: var(--wa-shadow-card);
  background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
}

.wa-summary-card-edit,
.wa-summary-card-fees,
.wa-entries-table {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wa-data-panel-head,
.wa-edit-section-head,
.wa-entry-card-header,
.contact-block__title {
  padding: 0.58rem 0.82rem;
  background: linear-gradient(180deg, #dce8f5 0%, #c8d9ea 100%);
  color: #113859;
  font-weight: 700;
  border-bottom: 1px solid rgba(111, 144, 177, 0.68);
}

.wa-data-panel-head {
  background: linear-gradient(180deg, #1f6ca9 0%, #154f80 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.wa-data-panel-head-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.55rem;
}

.wa-data-panel-title {
  justify-self: center;
}

.wa-data-panel-spacer {
  min-width: 1px;
}

.wa-panel-status {
  justify-self: end;
  min-width: 7rem;
  padding: 0.16rem 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  text-align: right;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.wa-panel-status.is-hidden {
  visibility: hidden;
}

.wa-panel-status.is-entered {
  background: rgba(232, 245, 236, 0.2);
}

.wa-panel-status.is-submitted {
  background: rgba(255, 255, 255, 0.18);
}

.wa-data-panel.is-entered .wa-data-panel-head,
.wa-data-panel.is-balanced .wa-data-panel-head {
  background: linear-gradient(180deg, #317b53 0%, #214f37 100%);
}

.wa-data-panel.is-pending {
  opacity: 0.58;
  filter: grayscale(0.25);
}

.wa-data-panel.is-pending .wa-data-panel-head {
  background: linear-gradient(180deg, #7b8694 0%, #5e6875 100%);
}

.wa-form-table,
.wa-fee-table,
.table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.wa-form-table th,
.wa-form-table td,
.wa-fee-table th,
.wa-fee-table td,
.table th,
.table td {
  border: 1px solid #bacbdb;
  padding: 0.5rem 0.58rem;
  vertical-align: middle;
}

.wa-form-table th,
.wa-fee-table th,
.table th {
  background: linear-gradient(180deg, #edf4fb 0%, #e0ebf6 100%);
  color: #123756;
  font-weight: 700;
}

.wa-payment-table tbody tr:nth-child(odd) td {
  background: rgba(245, 249, 253, 0.9);
}

.wa-payment-table tbody tr:hover td,
.wa-payment-table tbody tr:hover th {
  background: #f6fbff;
}

.wa-fee-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.wa-fee-table tbody tr:nth-child(odd) td,
.wa-fee-table tbody tr:nth-child(odd) th {
  background-color: rgba(246, 250, 254, 0.92);
}

.wa-fee-row-strong th,
.wa-fee-row-strong td {
  font-weight: 700;
}

.wa-fee-row-focus th,
.wa-fee-row-focus td {
  background: linear-gradient(180deg, #eef6fd 0%, #e0edf9 100%);
  color: #0f3657;
  font-weight: 700;
}

.wa-payment-table th {
  width: 18%;
  white-space: nowrap;
}

.wa-payment-table td {
  width: 32%;
}

.wa-payment-table td > input,
.wa-payment-table td > select {
  width: 100%;
}

.wa-payment-table tr:last-child .wa-notes-submit-cell {
  width: 100%;
}

.wa-notes-col {
  width: 100%;
}

.wa-notes-col > select {
  width: 100%;
}

.wa-notes-submit-cell {
  padding: 0.5rem;
}

.wa-notes-submit-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: start;
}

.wa-inline-error {
  margin-top: 0.32rem;
  color: var(--wa-danger);
  font-size: 0.9rem;
}

#autoSaveStatus {
  padding: 0.58rem 0.72rem;
  border: 1px solid #a8c8b4;
  border-radius: var(--wa-radius);
  background: var(--wa-success-bg);
  color: #2d5a3a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
  font-weight: 600;
}

.wa-entries-section {
  display: grid;
  gap: 0.45rem;
  margin-top: -0.45rem !important;
  padding: 0.92rem;
  border: 1px solid rgba(111, 144, 177, 0.82);
  border-radius: calc(var(--wa-radius) + 2px);
  background:
    linear-gradient(135deg, rgba(29, 108, 171, 0.09), rgba(255, 255, 255, 0) 38%),
    linear-gradient(180deg, #fbfdff 0%, #edf3f9 100%);
  box-shadow: var(--wa-shadow-card);
}

.wa-dashboard-modern > .wa-entries-section {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wa-entries-heading {
  display: grid;
  gap: 0.14rem;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(111, 144, 177, 0.3);
}

.wa-entries-title {
  margin: 0;
  color: var(--wa-ink-soft);
  text-align: left;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.wa-entries-title span {
  color: var(--wa-muted);
  font-weight: 500;
}

.wa-entries-subtitle {
  color: var(--wa-muted);
  font-size: 0.93rem;
  line-height: 1.25;
}

.wa-entries-table {
  display: grid;
  gap: 0.85rem;
}

.entries-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.entries-pager-info {
  color: var(--wa-muted);
  font-weight: 600;
}

.wa-entry-card {
  overflow: hidden;
  margin-bottom: 1rem;
  border-color: rgba(111, 144, 177, 0.82);
  box-shadow: var(--wa-shadow-card);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}

.wa-entry-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #d6e4f2 0%, #bfd2e5 100%);
}

.wa-entry-card-header.entry-hdr-entered {
  background-color: #18733c !important;
  background-image: linear-gradient(180deg, #23884b 0%, #156936 100%) !important;
}

.wa-entry-card-header.entry-hdr-entered .wa-entry-card-title,
.wa-entry-card-header.entry-hdr-entered .wa-entry-card-meta {
  color: #ffffff !important;
}

.wa-entry-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.wa-entry-card-titleblock {
  display: flex;
  width: 100%;
  max-width: none;
  align-items: center;
  gap: 0.52rem;
  min-width: 0;
}

.wa-entry-card-title {
  color: #123756;
  font-size: 1.2rem !important;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: left !important;
}

.wa-entry-card-meta {
  color: var(--wa-muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.wa-entry-actions {
  display: flex;
  align-items: flex-start;
}

.wa-entry-actions a,
.wa-entry-actions button,
.wa-entry-actions .btn {
  min-width: 4.1rem;
}

.wa-entry-status .badge,
.wa-entry-status .text-bg-secondary {
  min-height: 24px;
  padding: 0.16rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(111, 144, 177, 0.38);
  color: #173f62;
}

.wa-entry-card-body {
  display: grid;
  gap: 0.68rem;
  padding: 0.82rem;
  background: linear-gradient(180deg, #fcfdff 0%, #f2f7fb 100%);
}

.wa-entry-card .wa-data-panel {
  gap: 0.5rem;
}

.wa-entry-card-section {
  display: grid;
  gap: 0.32rem;
}

.wa-entry-card-section + .wa-entry-card-section {
  padding-top: 0.12rem;
  border-top: 1px solid rgba(154, 176, 199, 0.38);
}

.wa-entry-card-section-title {
  color: #1a4f79;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wa-field-grid {
  display: grid;
  gap: 0.52rem;
}

.wa-entry-card .wa-field-grid {
  gap: 0.34rem;
}

.wa-field-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wa-field-grid-single {
  grid-template-columns: 1fr;
}

.wa-field-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  min-height: 36px;
}

.wa-entry-card .wa-field-row {
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 30px;
}

.wa-entry-card .wa-entry-card-field-sex,
.wa-entry-card .wa-entry-card-field-dob,
.wa-entry-card .wa-entry-card-field-rego,
.wa-entry-card .wa-entry-card-field-cage,
.wa-entry-card .wa-entry-card-field-junior {
  grid-template-columns: 112px minmax(0, 1fr);
}

.wa-field-label,
.wa-field-value,
.wa-field-control {
  min-height: 36px;
}

.wa-entry-card .wa-field-label,
.wa-entry-card .wa-field-value {
  min-height: 30px;
}

.wa-field-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.42rem 0.68rem;
  border: 1px solid #afc2d4;
  border-right: 0;
  border-radius: var(--wa-radius) 0 0 var(--wa-radius);
  background: linear-gradient(180deg, #dfe9f4 0%, #c9d8e8 100%);
  color: #123756;
  font-weight: 700;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.wa-entry-card .wa-field-label {
  justify-content: center;
  min-width: 112px;
  padding: 0.24rem 0.44rem;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.wa-field-value,
.wa-field-control {
  display: flex;
  align-items: center;
  padding: 0.36rem 0.62rem;
  border: 1px solid #afc2d4;
  border-radius: 0 var(--wa-radius) var(--wa-radius) 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.wa-entry-card .wa-field-value {
  padding: 0.22rem 0.46rem;
  font-size: 1rem;
  line-height: 1.2;
}

.wa-field-value {
  word-break: break-word;
}

.wa-field-control-inline,
.wa-inline-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  width: 100%;
}

.breed-lookup-wrap,
.colour-lookup-wrap {
  position: relative;
  width: 100%;
  z-index: 1;
}

.breed-lookup-wrap:focus-within,
.colour-lookup-wrap:focus-within {
  z-index: 90;
}

.breed-lookup-overlay,
.colour-lookup-overlay {
  position: absolute;
  top: calc(100% + 0.2rem);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 13rem;
  overflow-y: auto;
  border: 1px solid #6f90b1;
  border-radius: var(--wa-radius);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(16, 34, 53, 0.24);
  color: var(--wa-ink);
}

.breed-lookup-overlay.open,
.colour-lookup-overlay.open {
  display: block;
}

.breed-lookup-item,
.colour-lookup-item {
  padding: 0.42rem 0.55rem;
  border-bottom: 1px solid rgba(111, 144, 177, 0.28);
  color: var(--wa-ink);
  cursor: pointer;
}

.breed-lookup-item:last-child,
.colour-lookup-item:last-child {
  border-bottom: 0;
}

.breed-lookup-item:hover,
.breed-lookup-item:focus,
.breed-lookup-item.is-active,
.breed-lookup-item[aria-selected="true"],
.colour-lookup-item:hover,
.colour-lookup-item:focus,
.colour-lookup-item.is-active,
.colour-lookup-item[aria-selected="true"] {
  background: #dbeaf8;
  color: #123756;
  outline: 2px solid rgba(51, 116, 178, 0.22);
  outline-offset: -2px;
}

.wa-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--wa-space-4);
}

.wa-exhibit-form .wa-edit-grid {
  gap: 0.85rem;
}

.wa-edit-grid-exhibit .wa-edit-section-full,
.wa-edit-section-full,
.wa-entry-section-inline {
  grid-column: 1 / -1;
}

.wa-edit-grid-exhibit .wa-exhibit-section-sire,
.wa-edit-grid-exhibit .wa-exhibit-section-dam {
  grid-column: 1 / -1;
}

.wa-edit-section,
.wa-exhibit-section-core,
.wa-exhibit-section-sire,
.wa-exhibit-section-dam {
  display: grid;
  gap: 0;
  border: 1px solid rgba(111, 144, 177, 0.78);
  border-radius: var(--wa-radius);
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8fc 100%);
  box-shadow: var(--wa-shadow-sm);
}

.wa-edit-section-head:empty {
  padding: 0.3rem 0.7rem;
}

.wa-section-head-block {
  display: grid;
  gap: 0.16rem;
}

.wa-section-head-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
}

.wa-section-head-note {
  color: #44637f;
  font-size: 0.82rem;
  font-weight: 600;
}

.wa-edit-section-body {
  padding: 0;
  background: linear-gradient(180deg, #fcfdff 0%, #f2f7fb 100%);
}

.wa-inline-hint {
  margin: -0.08rem 0 0.08rem;
  padding: 0 0.12rem;
  color: #506a81;
  font-size: 0.84rem;
  line-height: 1.45;
}

.wa-entry-section-inline.is-hidden,
.wa-hidden[aria-hidden="true"] {
  display: none !important;
}

.wa-form-compact-page {
  width: min(560px, 100%);
  margin-inline: auto;
}

.wa-exhibit-add-page,
.wa-exhibit-edit-page.wa-exhibit-add-page {
  width: min(650px, 100%);
}

.wa-exhibit-form-add .wa-edit-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0.95rem;
  overflow: visible;
}

.wa-exhibit-edit-page {
  width: min(700px, 100%);
  margin-inline: auto;
}

.wa-edit-section-borderless,
.wa-data-panel-borderless {
  border-style: none;
}

.wa-exhibit-edit-page .wa-field-row {
  grid-template-columns: 144px minmax(0, 1fr);
}

.wa-exhibit-edit-page .wa-field-label {
  justify-content: flex-start;
  text-align: left;
}

.wa-exhibit-form .wa-inline-field-lookup {
  grid-template-columns: minmax(0, 1fr) 146px;
  align-items: center;
}

.wa-exhibit-form .wa-field-row-lookup .wa-field-control {
  align-items: stretch;
}

.wa-exhibit-form .wa-inline-field-lookup button {
  width: 100%;
}

.wa-exhibit-form-add .wa-edit-section {
  border-color: rgba(111, 144, 177, 0.84);
  box-shadow: var(--wa-shadow-card);
}

.wa-exhibit-form-add .wa-edit-section-head {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #d9e6f4 0%, #c6d8ea 100%);
}

.wa-exhibit-form-add .wa-edit-section-body {
  padding: 0.08rem 0;
}

.wa-exhibit-form-add .wa-field-grid {
  gap: 0.46rem;
}

.wa-exhibit-form-add .wa-field-row {
  grid-template-columns: 138px minmax(0, 1fr);
  align-items: stretch;
  min-height: 30px;
  position: relative;
  overflow: visible;
}

.wa-exhibit-form-add .wa-field-row:focus-within {
  z-index: 70;
}

.wa-exhibit-form-add .wa-field-label {
  justify-content: flex-start;
  min-height: 30px;
  padding: 0;
  text-align: left;
}

.wa-exhibit-form-add .wa-field-control {
  min-height: 30px;
  padding: 0;
  overflow: visible;
}

.wa-exhibit-form-add .wa-field-control input,
.wa-exhibit-form-add .wa-field-control select,
.wa-exhibit-form-add .wa-field-control textarea,
.wa-exhibit-form-add .wa-inline-field,
.wa-exhibit-form-add .breed-lookup-wrap,
.wa-exhibit-form-add .colour-lookup-wrap {
  width: 100%;
}

.wa-exhibit-form-add .wa-edit-section,
.wa-exhibit-form-add .wa-exhibit-section-core,
.wa-exhibit-form-add .wa-exhibit-section-sire,
.wa-exhibit-form-add .wa-exhibit-section-dam,
.wa-exhibit-form-add .wa-edit-section-body,
.wa-exhibit-form-add .wa-data-panel,
.wa-exhibit-form-add .wa-field-grid {
  overflow: visible;
}

.wa-exhibit-form-add .wa-inline-field-lookup {
  grid-template-columns: minmax(0, 1fr) auto;
}

.wa-exhibit-form-add .wa-inline-field-lookup button {
  width: auto;
  min-width: 0;
  padding-inline: 0.65rem;
  white-space: nowrap;
}

.wa-exhibit-form-add .wa-field-row-lookup + .wa-inline-hint {
  margin-top: -0.02rem;
}

.wa-exhibit-add-page,
.wa-exhibit-edit-page,
.wa-exhibit-edit-page.wa-exhibit-add-page {
  width: min(560px, 100%);
}

.wa-exhibit-form .wa-edit-grid,
.wa-exhibit-form-add .wa-edit-grid {
  gap: 0.35rem;
}

.wa-exhibit-form .wa-edit-section,
.wa-exhibit-form .wa-exhibit-section-core,
.wa-exhibit-form .wa-exhibit-section-sire,
.wa-exhibit-form .wa-exhibit-section-dam,
.wa-exhibit-form .wa-entry-section-inline,
.wa-exhibit-form .wa-data-panel {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.wa-exhibit-form .wa-edit-section-head {
  border-radius: 0;
  padding: 0.18rem 0.35rem !important;
}

.wa-exhibit-form .wa-edit-section-body,
.wa-exhibit-form-add .wa-edit-section-body {
  padding: 0;
}

.wa-exhibit-form .wa-field-grid,
.wa-exhibit-form-add .wa-field-grid {
  gap: 1px;
}

.wa-exhibit-form .wa-field-row,
.wa-exhibit-form-add .wa-field-row,
.wa-exhibit-edit-page .wa-field-row {
  grid-template-columns: 128px minmax(0, 1fr);
  min-height: 30px;
  align-items: stretch;
}

.wa-exhibit-form .wa-field-label,
.wa-exhibit-form-add .wa-field-label,
.wa-exhibit-edit-page .wa-field-label {
  justify-content: center;
  min-height: 30px;
  min-width: 128px;
  padding: 0.12rem 0.28rem;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
  border-radius: 0;
}

.wa-exhibit-form .wa-field-control,
.wa-exhibit-form-add .wa-field-control {
  min-width: 0;
  min-height: 30px;
  padding: 0.08rem 0.12rem;
  border-radius: 0;
}

.wa-exhibit-form .wa-field-control input,
.wa-exhibit-form .wa-field-control select,
.wa-exhibit-form .wa-field-control textarea,
.wa-exhibit-form-add .wa-field-control input,
.wa-exhibit-form-add .wa-field-control select,
.wa-exhibit-form-add .wa-field-control textarea {
  font-size: 1.1rem;
}

.wa-exhibit-form .wa-field-control input,
.wa-exhibit-form .wa-field-control select,
.wa-exhibit-form .wa-field-control textarea,
.wa-exhibit-form .wa-inline-field,
.wa-exhibit-form .breed-lookup-wrap,
.wa-exhibit-form .colour-lookup-wrap {
  width: 100%;
  min-width: 0;
  border-radius: 0;
}

.wa-exhibit-form .wa-inline-field-lookup {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem;
}

.wa-exhibit-form .wa-junior-exhibitor-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.2rem;
}

.wa-exhibit-form .wa-junior-exhibitor-fields.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.wa-exhibit-form .wa-junior-exhibitor-birth-date.is-hidden {
  display: none;
}


.wa-exhibit-form .wa-inline-field-lookup button {
  border-radius: 0;
}

.wa-form-compact-shell {
  width: 100%;
}

.wa-contact-add-shell,
.wa-contacts-card {
  width: min(500px, 100%);
  margin-inline: auto;
}

.wa-contacts-card {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.wa-contacts-form .wa-page-heading {
  width: min(500px, 100%);
  margin-inline: auto;
}

.wa-contacts-lead {
  margin: 0 0 0.7rem;
  color: var(--wa-muted);
  text-align: center;
}

.wa-contacts-records {
  display: grid;
  gap: 0.75rem;
}

.contact-block {
  overflow: hidden;
  border-color: rgba(111, 144, 177, 0.82);
  box-shadow: var(--wa-shadow-card);
}

.contact-block .table {
  width: 100%;
  table-layout: auto;
}

.contact-block .table th,
.contact-block .table td {
  padding: 0.14rem 0.21rem;
}

.contact-block .table th {
  width: 1%;
  white-space: nowrap;
}

.contact-block .table td {
  width: auto;
}

.contact-block .table td input,
.contact-block .table td select,
.contact-block .table td textarea {
  width: 100%;
  margin: 0;
}

.wa-contact-add-shell .wa-field-row {
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 28px;
}

.wa-contact-add-shell .wa-field-label,
.wa-contact-add-shell .wa-field-control {
  min-height: 28px;
}

.wa-contact-add-shell .wa-field-label {
  justify-content: center;
  min-width: 132px;
  padding: 0.14rem 0.21rem;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}

.wa-contact-add-shell .wa-field-control {
  padding: 0.14rem 0.21rem;
}

.wa-contact-add-shell .wa-field-control input,
.wa-contact-add-shell .wa-field-control select,
.wa-contact-add-shell .wa-field-control textarea {
  width: 100%;
  margin: 0;
  font-size: 1.1rem;
}

.wa-contacts-form .contact-block .table th {
  min-width: 132px;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}

.wa-contacts-form .contact-block .table td input,
.wa-contacts-form .contact-block .table td select,
.wa-contacts-form .contact-block .table td textarea {
  font-size: 1.1rem;
}

.wa-contact-inline-fields,
.contact-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
  width: 100%;
}

.contact-block__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.contact-block__title-left {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  font-weight: 700;
}

.contact-label {
  color: var(--wa-muted);
  font-weight: 500;
}

.contact-block__title-note {
  color: var(--wa-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-block__title-right {
  display: flex;
  align-items: center;
}

.wa-sticky-actions,
.wa-action-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.wa-sticky-actions {
  padding-top: 0.1rem;
}

.wa-exhibit-form .wa-sticky-actions {
  padding-top: 0.3rem;
}

.wa-sticky-actions-split {
  justify-content: space-between;
}

.wa-action-row-danger {
  margin-right: auto;
}

.wa-sticky-actions-centered,
.wa-action-row-centered {
  justify-content: center;
}

.wa-action-row-three > * {
  flex: 0 1 auto;
}

.wa-bottom-flash {
  display: grid;
  gap: 0.5rem;
}

body.wa-login main.wa-main {
  width: min(560px, calc(100% - 1rem));
}

.wa-main-login {
  margin-top: 1rem;
}

.wa-auth-shell {
  justify-items: center;
}

.wa-auth-card,
.wa-auth-form {
  width: min(520px, 100%);
  padding: 1rem 1.1rem;
  border-color: rgba(111, 144, 177, 0.82);
}

.wa-auth-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 0.35rem;
  text-align: left;
  font-weight: 700;
}

.wa-auth-logo {
  display: block;
  flex: 0 0 auto;
  width: min(110px, 30vw);
  height: auto;
  object-fit: contain;
}

.wa-auth-brand [role="img"] {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid #c9d6e4;
  background: radial-gradient(
    circle at 35% 35%,
    #ffffff 0%,
    #f8fbff 38%,
    #dfe9f4 100%
  );
  position: relative;
}

.wa-auth-brand [role="img"]::before {
  content: "F";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--wa-accent-strong);
  font-size: 1.8rem;
  font-weight: 700;
}

.wa-auth-title {
  margin: 0;
  color: var(--wa-ink);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wa-auth-subtitle {
  width: 100%;
  color: var(--wa-muted);
  max-width: 26rem;
  margin-inline: auto;
  text-align: center;
}

.wa-auth-resource-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
  margin-top: 0;
  font-size: 0.9rem;
}

.wa-auth-resource-links a {
  color: var(--wa-accent-strong);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.wa-auth-form-heading {
  display: grid;
  gap: 0.2rem;
  text-align: center;
}

.wa-auth-form-title {
  color: var(--wa-ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.wa-auth-form {
  display: grid;
  gap: 0.8rem;
}

main.wa-main.wa-main-login > .wa-auth-shell > .wa-auth-form {
  border-color: rgb(61, 106, 153);
}

main.wa-main.wa-main-login > .wa-auth-shell > .wa-auth-card {
  border-color: rgb(82, 126, 173);
}

.wa-auth-form > div {
  width: 100%;
}

.wa-auth-form > div,
.wa-auth-form label,
.wa-auth-form small {
  display: block;
}

.wa-auth-form label {
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.wa-auth-form input[type="email"],
.wa-auth-form input[type="password"] {
  display: block;
  width: 100%;
  max-width: 100%;
}

.wa-auth-form button[type="submit"],
.wa-auth-form input[type="submit"] {
  display: block;
  width: 100%;
  max-width: 100%;
}

.wa-auth-form > .wa-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.wa-auth-links {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  text-align: center;
}

.fee-owing-due {
  color: var(--wa-danger);
  font-weight: 700;
}

.wa-wrapper-invisible {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.entry-hdr-unconfirmed,
.entry-hdr-entered {
  font-weight: 700;
}

.entry-hdr-unconfirmed {
  color: #7b5b12;
}

.entry-hdr-entered {
  color: #27583a;
}

.btn-sm,
.form-control-sm,
.form-select-sm,
.table-sm {
  font-size: 0.92rem;
}

.btn.disabled,
.btn[disabled],
button.disabled,
button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 600px) {
  main.wa-main,
  header.wa-topbar,
  footer,
  body.wa-login main.wa-main {
    width: calc(100% - 0.5rem);
  }

  .wa-topbar-meta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .wa-topbar-actions,
  .wa-topbar-actions form,
  .wa-topbar-inner,
  .wa-summary-grid,
  .wa-edit-grid,
  .wa-field-grid-two,
  .wa-notes-submit-split,
  .wa-field-control-inline,
  .wa-inline-field {
    grid-template-columns: 1fr;
  }

  .wa-topbar-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wa-form-lead {
    width: min(100%, 34rem);
    font-size: 0.86rem;
  }

  .wa-entries-heading {
    text-align: center;
  }

  .wa-entries-title {
    text-align: center;
  }

  .wa-page-heading {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .wa-section-head-note {
    font-size: 0.78rem;
  }

  .wa-field-row {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .wa-payment-table th,
  .wa-payment-table td {
    width: auto;
  }

  .wa-entry-card-header,
  .contact-block__title,
  .wa-sticky-actions,
  .wa-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .wa-sticky-actions button,
  .wa-sticky-actions a,
  .wa-action-row button,
  .wa-action-row a,
  .contact-block__action {
    width: 100%;
  }
}

@media (max-width: 425px) {
  html {
    font-size: 12px;
  }

  main.wa-main,
  header.wa-topbar,
  footer,
  body.wa-login main.wa-main {
    width: 100%;
  }

  header.wa-topbar {
    padding-top: 0;
  }

  .wa-topbar-meta,
  .wa-topbar-card,
  .wa-topbar-entry-card,
  .wa-page-heading,
  .wa-summary-card,
  .wa-contacts-card,
  .contact-block,
  .wa-data-panel,
  .wa-auth-card,
  .wa-auth-form,
  .wa-entry-card,
  .wa-bottom-flash > * {
    border-radius: 0;
  }

  .wa-topbar-meta,
  .wa-topbar-card,
  .wa-topbar-entry-card,
  .wa-page-heading,
  .wa-summary-card,
  .wa-contacts-card,
  .wa-auth-card,
  .wa-auth-form,
  .wa-entry-card-body,
  .wa-entries-section {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .wa-field-row {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  .wa-field-label,
  .wa-field-value,
  .wa-field-control {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

/* Entries table compact overrides. */
.area-table th,
.area-table td {
  padding: 0 !important;
}
.area-table th,
.area-table td {
  white-space: nowrap !important;
}
.area-table td * {
  margin: 0 !important;
}
.area-table td * {
  padding: 2px 4px !important;
}
.area-table {
  width: 100% !important;
}
.area-table td {
  width: auto !important;
}

/* Mobile dashboard polish. */
@media (max-width: 520px) {
  html {
    font-size: calc(11.5px + 2pt);
  }

  body.wa-app {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  main.wa-main,
  header.wa-topbar,
  footer,
  body.wa-login main.wa-main {
    width: 100%;
  }

  .wa-main-inner,
  .wa-dashboard,
  .wa-form-compact-page,
  .wa-auth-shell,
  .wa-contact-add-shell,
  .wa-exhibit-edit-page {
    gap: 0.55rem;
  }

  .wa-dashboard,
  .wa-summary-form,
  .wa-summary-grid,
  .wa-summary-card,
  .wa-entries-section {
    width: 100%;
    min-width: 0;
  }

  .wa-topbar-meta {
    gap: 0.4rem;
    padding: 0.65rem 0.7rem;
  }

  .wa-topbar-meta-left {
    font-size: 1.05rem;
    line-height: 1.08;
  }

  .wa-topbar-meta-center {
    font-size: 0.84rem;
  }

  .wa-topbar-actions,
  .wa-topbar-actions form {
    gap: 0.35rem;
  }

  .wa-topbar-form {
    gap: 0.35rem;
  }

  .wa-topbar-entry-card {
    padding: 0.6rem 0.7rem;
  }

  .wa-topbar-card .wa-topbar-entry-card {
    padding-top: 0.6rem;
  }

  .wa-topbar-card .wa-topbar-notice {
    padding: 0 0.7rem 0.6rem;
  }

  .wa-topbar-form label,
  .wa-entries-title,
  .wa-page-heading > div:first-child {
    font-size: 0.94rem;
  }

  .wa-form-meta-list {
    gap: 0.3rem;
  }

  .wa-form-meta-strong {
    font-size: 0.82rem;
  }

  .wa-entries-subtitle {
    font-size: 0.82rem;
    text-align: center;
  }

  .wa-exhibit-form .wa-inline-field-lookup {
    grid-template-columns: 1fr;
  }

  button,
  .btn,
  input[type="submit"],
  input[type="button"],
  .wa-link-chip,
  .wa-sticky-actions a,
  .contact-block__action {
    min-height: 2.35rem;
    padding: 0.34rem 0.72rem;
    font-size: 0.82rem;
  }

  .wa-summary-card {
    padding: 0.45rem;
  }

  .wa-entries-section {
    gap: 0.45rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .wa-data-panel-head,
  .wa-edit-section-head,
  .wa-entry-card-header,
  .contact-block__title {
    padding: 0.42rem 0.55rem;
    font-size: 0.92rem;
  }

  .wa-data-panel-head-split {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.3rem;
  }

  .wa-data-panel-spacer {
    display: none;
  }

  .wa-panel-status {
    justify-self: center;
    min-width: 0;
    width: auto;
    font-size: 0.78rem;
    text-align: center;
  }

  .wa-form-table th,
  .wa-form-table td,
  .wa-fee-table th,
  .wa-fee-table td,
  .table th,
  .table td {
    padding: 0.34rem 0.38rem;
    font-size: 0.8rem;
  }

  .wa-payment-table th {
    font-size: 0.78rem;
  }

  .wa-notes-submit-cell {
    padding: 0.38rem;
  }

  .wa-notes-submit-split {
    gap: 0.4rem;
  }

  #autoSaveStatus {
    padding: 0.46rem 0.58rem;
    font-size: 0.8rem;
  }

  .wa-entry-card-body {
    padding: 0.48rem 0.4rem 0.42rem;
  }

  .wa-form-meta-chip,
  .wa-section-head-note,
  .wa-inline-hint {
    font-size: 0.74rem;
  }

  

  .wa-entry-card-meta,
  .wa-entry-card-section-title {
    font-size: 0.76rem;
  }

  .wa-entry-actions {
    width: 100%;
  }

  .wa-entry-actions a,
  .wa-entry-actions button,
  .wa-entry-actions .btn {
    width: 100%;
  }

  .wa-field-grid {
    gap: 0.35rem;
  }

  .wa-field-row {
    grid-template-columns: 110px minmax(0, 1fr);
    min-height: 0;
  }

  .wa-entry-card .wa-field-row,
  .wa-entry-card .wa-entry-card-field-sex,
  .wa-entry-card .wa-entry-card-field-dob,
  .wa-entry-card .wa-entry-card-field-rego,
  .wa-entry-card .wa-entry-card-field-cage,
  .wa-entry-card .wa-entry-card-field-junior {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .wa-field-label,
  .wa-field-value,
  .wa-field-control {
    min-height: 2.3rem;
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
  }

  .wa-field-label {
    padding-left: 0.34rem;
    padding-right: 0.34rem;
    font-size: 0.8rem;
  }

  .wa-field-value,
  .wa-field-control {
    padding-left: 0.42rem;
    padding-right: 0.42rem;
  }
}

/* Flat form labels: keep label cells compact and aligned with their controls. */
.wa-app .wa-field-label {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: #dfe9f4;
  background-image: none;
  box-shadow: none;
  white-space: nowrap;
}

.wa-app .wa-field-control input[type="text"],
.wa-app .wa-field-control input[type="email"],
.wa-app .wa-field-control input[type="number"],
.wa-app .wa-field-control input[type="date"],
.wa-app .wa-field-control input[type="search"],
.wa-app .wa-field-control input[type="password"] {
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.wa-app .wa-payment-table td,
.wa-app .wa-payment-table .wa-notes-submit-cell {
  margin: 0;
  padding: 0;
}

.wa-app .wa-payment-table td > input,
.wa-app .wa-payment-table td > select,
.wa-app .wa-payment-table .wa-notes-col > select {
  margin: 0;
  padding: 0;
  border-radius: 0;
}

/* Keep the page canvas full width; each owned content container centres itself. */
body.wa-app {
  max-width: none;
}

.wa-app .wa-fee-table td {
  text-align: center;
}

.wa-entry-card .wa-entry-card-field-class .wa-field-value,
.wa-entry-card .wa-entry-card-field-exhibitor .wa-field-value {
  width: 100%;
  border-radius: 0;
}

.wa-entry-card .wa-entry-card-field-cage .wa-field-value,
.wa-entry-card .wa-entry-card-field-junior .wa-field-value {
  width: 165px;
  max-width: 100%;
  border-radius: 0;
}

@media (min-width: 601px) {
  .wa-entry-card .wa-field-grid-two {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .wa-entry-card .wa-field-grid-two > .wa-entry-card-field .wa-field-value {
    white-space: nowrap;
  }

  .wa-entry-card .wa-field-grid-two > .wa-entry-card-field-cage .wa-field-value,
  .wa-entry-card .wa-field-grid-two > .wa-entry-card-field-junior .wa-field-value {
    width: max-content;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .wa-app .wa-field-label {
    min-width: 0;
  }

  .wa-app .wa-payment-table #notes_select {
    width: 115px;
    max-width: 115px;
  }

  .wa-app .wa-payment-table #advertising_select {
    width: 81px;
    max-width: 81px;
    min-width: 0;
  }

  .wa-entry-card .wa-entry-card-header {
    flex-direction: row;
    align-items: center;
  }

  .wa-entry-card .wa-entry-card-titleblock {
    width: auto !important;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .wa-entry-card .wa-entry-card-title {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .wa-entry-card .wa-entry-actions {
    width: auto;
    flex: 0 0 auto;
    align-self: flex-start;
  }

  .wa-entry-card .wa-entry-actions a,
  .wa-entry-card .wa-entry-actions button,
  .wa-entry-card .wa-entry-actions .btn {
    width: auto;
  }

  .wa-entry-card-body {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wa-data-panel-head-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    text-align: left;
  }

  .wa-data-panel-head-split .wa-data-panel-title {
    min-width: 0;
    text-align: left;
  }

  .wa-data-panel-head-split .wa-panel-status {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
  }

  .wa-submit-col {
    display: flex;
    justify-content: flex-end;
  }
}

.wa-app .wa-payment-table td > input,
.wa-app .wa-payment-table td > select {
  text-align: center;
}

.wa-app .wa-payment-table #advertising_select {
  min-width: 95px;
}

.wa-app .wa-payment-table #catalogues_select {
  min-width: 114px;
}

.wa-app .wa-payment-table #club_member_select {
  min-width: 81px;
}

@media (max-width: 520px) {
  .wa-app .wa-payment-table {
    width: 100%;
    table-layout: fixed;
  }

  .wa-app .wa-payment-table td > input,
  .wa-app .wa-payment-table td > select,
  .wa-app .wa-payment-table #notes_select,
  .wa-app .wa-payment-table #advertising_select,
  .wa-app .wa-payment-table #catalogues_select,
  .wa-app .wa-payment-table #club_member_select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .wa-entry-card-header {
    gap: 0.5rem;
    padding: 0.5rem 0.55rem;
  }

  .wa-entry-card-header .wa-entry-card-title,
  .wa-entry-card-header .wa-entry-card-meta {
    color: #ffffff;
  }

  .wa-entry-card-title {
    font-size: 0.98rem !important;
    line-height: 1.2;
  }

  .wa-entry-card-section-title {
    padding: 0.18rem 0.35rem;
    background: #edf4fa;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .wa-entry-card .wa-field-label,
  .wa-entry-card .wa-field-value {
    min-height: 2.45rem;
  }

  .wa-entry-card .wa-field-value {
    min-width: 0;
    padding: 0.3rem 0.42rem;
    border-radius: 0;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
}

/* Mobile readability: larger type and a calmer vertical rhythm. */
@media (max-width: 520px) {
  html {
    font-size: 15px;
  }

  body.wa-app {
    line-height: 1.55;
  }

  .wa-main-inner,
  .wa-dashboard,
  .wa-form-compact-page,
  .wa-auth-shell,
  .wa-contact-add-shell,
  .wa-exhibit-edit-page,
  .wa-auth-form,
  .wa-summary-grid,
  .wa-field-grid,
  .wa-field-grid-two {
    gap: 0.8rem;
  }

  .wa-auth-card,
  .wa-auth-form,
  .wa-page-heading,
  .wa-summary-card,
  .wa-contacts-card,
  .wa-data-panel,
  .wa-entry-card-body,
  .wa-entries-section {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  input,
  select,
  textarea,
  button,
  .btn {
    font-size: 1rem;
  }

  input,
  select,
  button,
  .btn {
    min-height: 2.9rem;
  }

  label,
  .wa-field-label,
  .wa-field-value,
  .wa-text-small,
  .small,
  .wa-auth-resource-links,
  .wa-entries-subtitle,
  .wa-section-head-note {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .wa-entry-card-title {
    font-size: 1.08rem !important;
    line-height: 1.35;
  }

  .wa-entry-card-section-title {
    font-size: 0.9rem;
    line-height: 1.35;
  }
}
