/* Modern Tierschutzmeldung Design System */
:root {
  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-light: #ccfbf1;
  --primary-dark: #115e59;

  --bg-gradient-from: #0f172a;
  --bg-gradient-to: #1e293b;
  --card-bg: rgba(255, 255, 255, 0.98);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;

  --status-neu-bg: #fef3c7;
  --status-neu-text: #92400e;
  --status-bearbeitung-bg: #dbeafe;
  --status-bearbeitung-text: #1e40af;
  --status-fertig-bg: #dcfce7;
  --status-fertig-text: #166534;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 30px -10px rgba(13, 148, 136, 0.15);

  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: #f7f8f8;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  padding: 2rem 1rem;
}

.public-page {
  background-color: #f7f8f8;
}

body.embed-mode {
  background: transparent !important;
  padding: 0.5rem;
}

.container {
  max-width: 760px;
  margin: 0 auto;
}

.container-wide {
  max-width: 1200px;
  margin: 0 auto;
}

.landing-page {
  padding-top: 8vh;
}

.landing-choices {
  display: grid;
  gap: 1rem;
}

.landing-choice {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.landing-choice:hover,
.landing-choice:focus-visible {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.landing-choice-icon {
  display: grid;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  font-size: 1.65rem;
}

.landing-choice strong,
.landing-choice small {
  display: block;
}

.landing-choice strong {
  font-size: 1.1rem;
}

.landing-choice small {
  margin-top: .2rem;
  color: var(--text-muted);
}

/* Header & Title */
.header {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.header-logo-wrapper {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-logo {
  max-width: 320px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Form Card */
.form-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.embed-mode .form-card {
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.section-title svg {
  color: var(--primary);
}

.form-step {
  margin-bottom: 2.25rem;
}

.form-group,
.form-field,
.form-row {
  margin-bottom: 1.25rem;
}

.number-stepper { align-items:stretch; display:inline-flex; }
.number-stepper button { background:#f8fafc; border:1px solid var(--border-color); color:var(--text-main); cursor:pointer; font-size:1.2rem; font-weight:600; min-width:2.5rem; }
.number-stepper button:first-child { border-radius:var(--radius-sm) 0 0 var(--radius-sm); }
.number-stepper button:last-child { border-radius:0 var(--radius-sm) var(--radius-sm) 0; }
.number-stepper button:hover { background:var(--primary-light); color:var(--primary-dark); }
.number-stepper input[type="number"] { appearance:textfield; border-radius:0; max-width:4.5rem; min-width:4.5rem; padding:.6rem .35rem; text-align:center; }
.number-stepper input[type="number"]::-webkit-inner-spin-button, .number-stepper input[type="number"]::-webkit-outer-spin-button { appearance:none; margin:0; }
.field-error input, .field-error select, .field-error textarea { border-color:#dc2626; box-shadow:0 0 0 3px rgba(220,38,38,.12); }

.owner-details {
  min-inline-size: 0;
  padding: 0;
  border: 0;
}

.owner-details legend {
  margin-bottom: .75rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-submit-error {
  margin: 0 0 1rem;
  padding: .75rem 1rem;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  color: #991b1b;
}

.application-summary { border-bottom:1px solid var(--border-color); margin-bottom:1.25rem; padding-bottom:1rem; }
.application-summary p:last-child { font-size:1.05rem; font-weight:600; }
.application-summary p:last-child { margin:0; color:var(--text-light); }
.application-eyebrow { color:var(--text-muted); font-size:.78rem; font-weight:700; letter-spacing:.06em; margin:0; text-transform:uppercase; }
.application-data { display:grid; gap:1rem; margin-top:1.25rem; }
.application-data-section { background:#f8fafc; border:1px solid var(--border-color); border-radius:var(--radius-sm); padding:1rem 1.1rem; }
.application-data-section h3 { font-size:1rem; margin:0 0 .85rem; }
.application-details {
  display: grid;
  grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.7fr);
  gap: .65rem 1.25rem;
  margin: 0;
}

.application-details dt {
  font-weight: 600;
  color: var(--text-main);
}

.application-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.application-animal-form { background:#f8fafc; border:1px solid var(--border-color); border-radius:var(--radius-sm); margin:1rem 0 1.25rem; padding:1rem 1.1rem; }
.application-animal-form > h3 { font-size:1rem; margin:0 0 .45rem; }
.application-animal-form .report-animal-list { margin:.25rem 0 .75rem; }
.application-animal-form .report-action-button { margin-top:.7rem; }
.application-notes { border-top:1px solid var(--border-color); margin-top:1.5rem; padding-top:1.25rem; }
.application-notes h3 { font-size:1rem; margin:0 0 .75rem; }
.application-notes textarea { display:block; margin-bottom:.6rem; width:100%; }

@media (max-width: 640px) {
  .application-details { grid-template-columns: 1fr; gap: .2rem; }
  .application-details dd { margin-bottom: .8rem; }
}

.searchable-select {
  position: relative;
}

.searchable-select-native {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.searchable-select-input {
  width: 100%;
}

.searchable-select-options {
  display: none;
  position: absolute;
  z-index: 10;
  inset: calc(100% + .3rem) 0 auto;
  max-height: 15rem;
  overflow-y: auto;
  padding: .35rem;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.searchable-select.is-open .searchable-select-options {
  display: block;
}

.searchable-select-option {
  display: block;
  width: 100%;
  padding: .55rem .65rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.searchable-select-option:hover,
.searchable-select-option.is-active {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.searchable-select-empty {
  margin: .35rem;
  color: var(--text-muted);
  font-size: .9rem;
}

.currency-input {
  display: flex;
  align-items: stretch;
}

.currency-input span {
  display: inline-flex;
  align-items: center;
  padding: 0 .8rem;
  border: 1px solid var(--border-color);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: #f8fafc;
  color: var(--text-muted);
  font-weight: 600;
}

.currency-input input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.swiss-date-picker {
  display: flex;
  position: relative;
}

.swiss-date-picker > input[type="text"] {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.swiss-date-picker button {
  padding: 0 .75rem;
  border: 1px solid var(--border-color);
  border-left: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: #f8fafc;
  cursor: pointer;
}

.swiss-date-picker > input[type="date"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-step > :last-child,
.form-group > :last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 1.5rem;
  }
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

label .required {
  color: #ef4444;
  margin-left: 0.2rem;
}

.medical-information {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  padding: 1.1rem;
}

.medical-information legend {
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 0 .35rem;
}

.animal-status-information {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  padding: 1.1rem;
}

.animal-status-information legend {
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 700;
}

.google-login-button {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #334155;
  display: block;
  margin-bottom: 1rem;
  text-align: center;
  text-decoration: none;
}

.google-login-button:hover { background: #f8fafc; color: #0f172a; }
.login-divider { color: var(--text-muted); font-size: .88rem; margin: 0 0 1rem; text-align: center; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="date"],
input[type="search"],
input:not([type]),
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.975rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  outline: none;
}

.admin-nav { align-items:end; display:flex; gap:.35rem; flex-wrap:wrap; margin:1rem 0 1.25rem; }
.admin-nav-group { align-items:flex-start; display:flex; flex:0 0 auto; flex-direction:column; gap:.1rem; }
.admin-nav-links { display:flex; flex-wrap:nowrap; gap:.2rem; white-space:nowrap; }
.admin-nav-group-management { border-left:1px solid var(--border-color); margin-left:.35rem; padding-left:.65rem; }
.admin-nav-group-statistics { border-left:1px solid var(--border-color); margin-left:.35rem; padding-left:.65rem; }
.admin-nav-label { color:var(--text-muted); font-size:.7rem; font-weight:700; letter-spacing:.06em; padding:0 .35rem; text-transform:uppercase; }
.admin-nav a { color:var(--primary); text-decoration:none; font-weight:600; padding:.55rem .85rem; border-radius:8px; }
.admin-nav a.active, .admin-nav a:hover { background:var(--primary); color:white; }
.admin-nav .admin-home-link { display:inline-flex; align-items:center; justify-content:center; font-size:1.35rem; line-height:1; padding:.4rem .65rem; }
@media (max-width: 640px) { .admin-nav-group-management, .admin-nav-group-statistics { border-left:0; margin-left:0; padding-left:0; } .admin-nav-links { flex-wrap:wrap; white-space:normal; } }
.admin-back-link { display:none; }
.admin-account-menu { color:#475569; position:relative; }
.admin-account-menu summary { align-items:center; cursor:pointer; display:flex; gap:.35rem; list-style:none; max-width:270px; padding:.35rem; }
.admin-account-menu summary::-webkit-details-marker { display:none; }
.admin-account-email { font-size:.9rem; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-account-chevron { font-size:1rem; line-height:1; }
.admin-account-dropdown { background:#fff; border:1px solid #e2e8f0; border-radius:9px; box-shadow:0 8px 24px rgba(15,23,42,.16); min-width:230px; padding:.45rem; position:absolute; right:0; top:calc(100% + .35rem); z-index:20; }
.admin-account-identity { border-bottom:1px solid #e2e8f0; color:#64748b; font-size:.78rem; margin:0 0 .35rem; padding:.4rem .5rem .65rem; }
.admin-account-identity strong { color:#334155; font-size:.85rem; font-weight:600; overflow-wrap:anywhere; }
.admin-logout-button, .admin-password-link, .admin-password-disabled { align-items:center; border-radius:6px; box-sizing:border-box; display:flex; font-size:.9rem; gap:.35rem; padding:.5rem; width:100%; }
.admin-logout-button { background:none; border:0; color:#475569; cursor:pointer; font-weight:500; text-align:left; }
.admin-logout-button:hover, .admin-password-link:hover { background:#f1f5f9; color:#1f2937; }
.admin-account-dropdown form { margin:0; }
.admin-password-link { color:#475569; font-weight:600; text-decoration:none; }
.admin-password-disabled { color:#94a3b8; cursor:not-allowed; font-weight:600; }
.admin-password-disabled small { color:#94a3b8; font-size:.72rem; font-weight:400; margin-left:auto; }
.admin-header form { margin:0; }
.admin-account-container { position:absolute; right:1rem; top:1.15rem; }
.admin-header-logout { position:absolute; right:1rem; top:1.15rem; }
.admin-header-actions { align-items:center; display:flex; gap:.8rem; }
.header-action-button { align-items:center; background:var(--primary); border:1px solid var(--primary); border-radius:8px; color:#fff; cursor:pointer; display:flex; font:inherit; font-weight:600; gap:.4rem; padding:.5rem 1rem; }
.header-action-button:hover { background:var(--primary-dark); border-color:var(--primary-dark); }
.container-wide { position:relative; }
.animal-toolbar { display:flex; gap:1rem; align-items:center; margin-bottom:1rem; }
.animal-toolbar input { flex:1; }
.animal-toolbar > input[type="search"], .animal-toolbar > select { flex:1 1 0; min-width:0; }
.animal-toolbar input[type="search"] { width:100%; min-width:0; }
.animal-toolbar .btn-submit, #placementForm > .btn-submit { width:auto; min-height:2.75rem; height:2.75rem; box-sizing:border-box; flex:0 0 auto; padding:.7rem 1.1rem; font-size:.95rem; white-space:nowrap; }
.animal-toolbar a.btn-submit { text-decoration:none; }
.admin-table-wrap { overflow-x:auto; background:var(--card-bg); border-radius:var(--radius-md); box-shadow:var(--shadow-sm); }
.admin-table { width:100%; min-width:900px; border-collapse:separate; border-spacing:0; text-align:left; }
.admin-table th, .admin-table td { padding:.8rem 1.15rem; border-bottom:1px solid #eef2f7; white-space:nowrap; }
.admin-table th { color:var(--text-muted); background:#f8fafc; font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; }
.admin-table th:first-child, .admin-table td:first-child { padding-left:1.35rem; }
.admin-table th:last-child, .admin-table td:last-child { padding-right:1.35rem; }
.admin-table th:nth-child(1) { min-width:190px; }
.admin-table th:nth-child(2) { min-width:150px; }
.admin-table th:nth-child(3) { min-width:180px; }
.admin-table th:nth-child(4), .admin-table th:nth-child(5) { min-width:100px; }
.animal-statistics-year { display:flex; align-items:center; flex-wrap:wrap; gap:.75rem; margin-bottom:1.5rem; }
.animal-statistics-year input { width:7rem; padding:.65rem; border:1px solid var(--border-color); border-radius:var(--radius-sm); font:inherit; }
.animal-statistics-year .btn-submit { width:auto; margin:0; }
.statistics-card { margin:1.5rem 0; }
.statistics-card > p { margin:.75rem 0 1rem; }
.animal-statistics-table { min-width:0; }
.animal-statistics-table th { min-width:0 !important; white-space:normal; }
.animal-statistics-table td { white-space:normal; }
.animal-statistics-table tfoot { font-weight:600; }
.statistics-change { display:block; margin-top:.2rem; color:var(--text-muted); font-size:.8rem; white-space:nowrap; }
.statistics-species-toggle { display:inline-flex; align-items:center; gap:.35rem; border:0; background:none; padding:0; color:inherit; font:inherit; text-transform:inherit; letter-spacing:inherit; cursor:pointer; }
.statistics-species-toggle:focus-visible { outline:2px solid var(--primary); outline-offset:4px; }
.statistics-species-toggle[aria-expanded="true"] .statistics-chevron { transform:rotate(90deg); }
.statistics-status-row th:first-child { padding-left:2.7rem; font-weight:400; }
.adoption-applications-table { min-width:0; table-layout:fixed; }
.adoption-applications-table th, .adoption-applications-table td { overflow-wrap:anywhere; white-space:normal; }
.adoption-applications-table th:nth-child(1), .adoption-applications-table td:nth-child(1) { min-width:0; width:12%; }
.adoption-applications-table th:nth-child(2), .adoption-applications-table td:nth-child(2) { min-width:0; width:15%; }
.adoption-applications-table th:nth-child(3), .adoption-applications-table td:nth-child(3) { min-width:0; width:12%; }
.adoption-applications-table th:nth-child(4), .adoption-applications-table td:nth-child(4) { min-width:0; width:15%; }
.adoption-applications-table th:nth-child(5), .adoption-applications-table td:nth-child(5) { min-width:0; width:22%; }
.adoption-applications-table th:nth-child(6), .adoption-applications-table td:nth-child(6) { min-width:0; width:auto; }
.adoption-applications-table th:nth-child(7), .adoption-applications-table td:nth-child(7) { min-width:0; width:6rem; }
.adoption-applications-table td.row-actions { display:table-cell; min-width:0; padding-left:.4rem; text-align:right; vertical-align:middle; white-space:nowrap; }
.application-completion-form { align-items:end; border-bottom:1px solid var(--border-color); display:flex; flex-wrap:wrap; gap:.75rem; margin-bottom:1rem; padding-bottom:1rem; }
.application-completion-form .form-field { flex:1; margin:0; }
.application-completion-form .report-action-button { flex:0 0 auto; }
.application-completion-form .form-help { flex-basis:100%; margin:0; }
.persons-table { min-width:0; table-layout:fixed; }
.persons-table th, .persons-table td { overflow-wrap:anywhere; white-space:normal; }
.persons-table th:nth-child(1), .persons-table td:nth-child(1) { min-width:0; width:21%; }
.persons-table th:nth-child(2), .persons-table td:nth-child(2) { min-width:0; width:22%; }
.persons-table th:nth-child(3), .persons-table td:nth-child(3) { min-width:0; width:14%; }
.persons-table th:nth-child(4), .persons-table td:nth-child(4) { min-width:0; width:auto; }
.persons-table th:nth-child(5), .persons-table td:nth-child(5) { min-width:0; width:6.5rem; }
.persons-table td.row-actions { display:table-cell; min-width:0; text-align:right; vertical-align:middle; white-space:nowrap; }
.animal-editor { margin-top:1.5rem; }
.animal-additional-fields { background:#f8fafc; padding:1rem; margin:0 -1rem 1.25rem; border-radius:var(--radius-sm); }
.animal-additional-fields > :last-child { margin-bottom:0; }
.animal-editor, #placementEditor { position:fixed; z-index:1000; top:50%; left:50%; transform:translate(-50%,-50%); width:min(720px, calc(100% - 2rem)); max-height:86vh; overflow:auto; margin:0; padding:2rem; box-sizing:border-box; border-radius:var(--radius-lg); background:#fff; backdrop-filter:none; box-shadow:0 20px 60px rgba(15,23,42,.28); }
.contract-modal { position:fixed; inset:0; z-index:1100; display:flex; align-items:center; justify-content:center; padding:1rem; background:rgba(15,23,42,.45); }
.contract-modal[hidden] { display:none; }
.report-editor-dialog { position:relative; transform:none; top:auto; left:auto; max-height:90vh; }
.contract-modal iframe { width:min(980px,100%); height:min(900px,95vh); border:0; border-radius:var(--radius-lg); background:#fff; box-shadow:0 20px 60px rgba(15,23,42,.35); }
.contract-modal .embedded-contract-frame { width:min(860px,100%); }
.contract-modal .embedded-settlement-frame { width:min(720px,100%); height:auto; min-height:300px; max-height:95vh; }
.contract-modal .animal-editor,
.manual-report-dialog { position:relative !important; top:auto !important; left:auto !important; transform:none !important; width:min(720px,100%) !important; max-height:90vh; }
.manual-report-dialog { width:min(620px,100%) !important; }
.embedded-contract { background:#fff !important; padding:0; }
.contract-page { background-color:#f7f8f8; }
.embedded-contract .container-wide { padding:0; }
.embedded-contract .contract-editor { max-width:none; }
.embedded-contract .form-card { padding:2rem; border:0; border-radius:0; box-shadow:none; }
.settlement-page { background-color:#f7f8f8; }
.embedded-settlement { min-height:0; background:#fff !important; padding:0; }
.embedded-settlement .container-wide { padding:0; }
.embedded-settlement .settlement-editor { max-width:none; margin:0; padding:2rem; border:0; border-radius:0; box-shadow:none; }
.accounting-disclaimer { margin:.6rem 0 1.25rem; padding:.85rem 1rem; border-left:4px solid #b45309; border-radius:var(--radius-sm); background:#fff7ed; color:#7c2d12; }
.settlement-accounting-issues { margin-top:2rem; padding-top:1.25rem; border-top:1px solid #e2e8f0; }
.settlement-accounting-issues > h2 { margin:0 0 .6rem; font-size:1.15rem; }
.settlement-accounting-issue { margin-top:.9rem; padding:1rem; border:1px solid #fed7aa; border-radius:var(--radius-md); background:#fffaf5; }
.settlement-accounting-issue p { margin:.15rem 0 .6rem; }
.settlement-accounting-issue .form-actions { flex-wrap:wrap; }
.dialog-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; min-height:2.25rem; margin:0 0 1rem; }
.dialog-header h2 { margin:0 !important; font-size:1.15rem; line-height:1.3; }
.entity-modal-close { position:static; z-index:2; display:grid; flex:0 0 2.25rem; place-items:center; width:2.25rem; height:2.25rem; padding:0; border:0; border-radius:50%; background:#f1f5f9; color:#475569; font-size:1.5rem; line-height:1; cursor:pointer; }
.entity-modal-close:hover { background:#e2e8f0; color:#0f172a; }
.form-actions { display:flex; gap:.75rem; align-items:center; }
.animal-editor .form-actions > .btn-submit,
.animal-editor .form-actions > .btn-case,
#placementEditor .form-actions > .btn-submit,
#placementEditor .form-actions > .btn-case { display:inline-flex; width:calc(50% - .4rem); min-height:3.05rem; box-sizing:border-box; align-items:center; justify-content:center; vertical-align:middle; padding:.95rem 1.5rem; font-size:1.05rem; border-radius:var(--radius-md); }
.animal-editor .form-actions > :only-child,
#placementEditor .form-actions > :only-child { width:100%; }
.animal-editor .form-actions > .btn-case, #placementEditor .form-actions > .btn-case { background:#f1f5f9; color:#334155; border:1px solid #cbd5e1; }

input:focus,
select:focus,
textarea:focus {
  background-color: #f8fafc;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Animal Selector Cards */
.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.animal-option {
  position: relative;
}

.animal-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.animal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  background: #f8fafc;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animal-card .emoji {
  font-size: 2rem;
  margin-bottom: 0.3rem;
  transition: transform 0.2s ease;
}

.animal-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

.animal-option input[type="radio"]:checked + .animal-card {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.animal-option input[type="radio"]:checked + .animal-card .emoji {
  transform: scale(1.15);
}

.animal-option input[type="radio"]:checked + .animal-card span {
  color: var(--primary-dark);
}

/* Dropzone Upload */
.dropzone {
  border: 2px dashed #cbd5e1;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1.8rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone svg {
  width: 42px;
  height: 42px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.dropzone p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.dropzone p span {
  color: var(--primary);
  font-weight: 600;
}

.dropzone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.preview-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f1f5f9;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-item .file-name {
  font-size: 0.75rem;
  padding: 0.3rem;
  text-align: center;
  word-break: break-all;
  color: var(--text-muted);
}

.preview-item .remove-file {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Primary Submit Button */
.btn-submit {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success Message Card */
.success-card {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.success-card.active {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

/* Admin Dashboard Styles */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 84px;
}

.admin-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
}

.admin-header > div:first-child { min-height: 64px; display:flex; flex-direction:column; justify-content:center; }
.admin-header > div:first-child p { margin-bottom:0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat-card[data-status-filter] { width:100%; text-align:left; cursor:pointer; font:inherit; }
.stat-card[data-status-filter]:hover, .stat-card.active { box-shadow:0 0 0 2px var(--primary), var(--shadow-md); transform:translateY(-1px); }
.stat-card[data-status-filter]:focus-visible { outline:3px solid rgb(13 148 136 / .4); outline-offset:2px; }

.stat-card .val {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-card .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Filter Bar */
.filter-bar {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 180px;
}

.filter-bar > .btn-submit {
  flex: 0 0 auto;
  width: auto;
}

/* Compact submissions table */
.submissions-feed {
  min-width: 0;
}

.submissions-table-wrapper,
.submissions-message {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.submissions-message {
  padding: 1.5rem;
}

.submissions-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: left;
}

.submissions-table th {
  padding: 0.75rem 0.9rem;
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-color);
}

.submission-row {
  --submission-status-color: var(--primary);
}

.submission-row.status-neu {
  --submission-status-color: #f59e0b;
}

.submission-row.status-in_bearbeitung {
  --submission-status-color: #3b82f6;
}

.submission-row.status-abgeschlossen {
  --submission-status-color: #10b981;
}

.submission-row td {
  padding: 0.7rem 0.9rem;
  vertical-align: middle;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.88rem;
}

.submission-row td:first-child {
  border-left: 4px solid var(--submission-status-color);
}

.submission-row:hover td {
  background: #f8fafc;
}

.submission-date,
.submission-location {
  color: var(--text-muted);
  white-space: nowrap;
}

.submission-location {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.submission-contact {
  min-width: 180px;
}

.submission-contact strong,
.submission-contact a {
  display: block;
}

.submission-contact a {
  color: var(--primary);
  font-size: 0.8rem;
  text-decoration: none;
}

.submission-contact a:hover {
  text-decoration: underline;
}

.attachment-count {
  white-space: nowrap;
  color: var(--text-muted);
}

.submission-actions {
  padding-right: 0.8rem !important;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
.submission-action-buttons { display:flex; justify-content:flex-end; align-items:center; gap:.35rem; }
.submission-action-buttons .icon-button { margin-left:0; }

.btn-details {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:2.5rem;
  box-sizing:border-box;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.btn-details:disabled { opacity:.5; cursor:not-allowed; }

.btn-case {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 0.4rem 0.65rem;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.btn-danger { display:inline-block; background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; padding:.4rem .65rem; font-size:.8rem; border-radius:6px; cursor:pointer; font-weight:600; }
.btn-danger:hover { background:#fee2e2; }
.row-actions { box-sizing:border-box; min-width:0; text-align:right; vertical-align:middle; white-space:nowrap; }
.admin-table td.row-actions { display:table-cell; padding-right:.4rem; }
.icon-button { width:2rem; height:2rem; padding:0; margin-left:.3rem; border:1px solid #cbd5e1; border-radius:6px; background:#f8fafc; color:#475569; cursor:pointer; font-size:1rem; }
.icon-button { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; line-height:1; }
.row-actions .icon-button { margin-left:0; }
.row-actions .icon-button + .icon-button { margin-left:.35rem; }
.icon-button:hover { background:#e2e8f0; }
.danger-icon { color:#b91c1c; border-color:#fecaca; background:#fef2f2; }
.admin-table td.row-actions { padding-right:1rem !important; }

.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-animal {
  background: #e2e8f0;
  color: #334155;
}

.badge-neu {
  background: var(--status-neu-bg);
  color: var(--status-neu-text);
}

.badge-in_bearbeitung {
  background: var(--status-bearbeitung-bg);
  color: var(--status-bearbeitung-text);
}

.badge-abgeschlossen {
  background: var(--status-fertig-bg);
  color: var(--status-fertig-text);
}

.submission-details td {
  padding: 0;
  border-bottom: 1px solid var(--border-color);
}

.submission-details-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  padding: 1rem 1.25rem 1.25rem;
  background: #f8fafc;
}

.submission-details h3 {
  margin: 0 0 0.45rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.submission-description {
  margin: 0;
  white-space: pre-wrap;
  color: var(--text-main);
  line-height: 1.45;
}

.empty-detail {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.thumb-item {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  cursor: pointer;
  position: relative;
  background: #f1f5f9;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-item.file-doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  text-align: center;
  padding: 4px;
  color: var(--text-muted);
  text-decoration: none;
}

.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;
}

.report-status { display:inline-flex; align-items:center; border-radius:999px; font-size:.82rem; font-weight:600; padding:.32rem .65rem; white-space:nowrap; }
.report-status.status-new { background:#fef3c7; color:#92400e; }
.report-status.status-in_progress { background:#dbeafe; color:#1d4ed8; }
.report-status.status-closed { background:#d1fae5; color:#065f46; }
.report-status.status-accepted { background:#d1fae5; color:#065f46; }
.report-status.status-rejected { background:#fee2e2; color:#b91c1c; }

.btn-delete {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-delete:hover {
  background: #fee2e2;
}

.cases-layout { display: grid; grid-template-columns: minmax(230px, .8fr) minmax(0, 2.2fr); gap: 1.25rem; align-items: start; }
.cases-list, .case-panel { background: rgba(255,255,255,.97); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 1rem; }
.case-list-item { display: block; width: 100%; text-align: left; background: transparent; border: 0; border-left: 3px solid transparent; padding: .75rem; cursor: pointer; border-radius: 4px; color: var(--text-main); }
.case-list-item:hover, .case-list-item.active { background: #f0fdf9; border-left-color: var(--primary); }
.case-list-item span, .case-list-item small { display: block; margin-top: .2rem; }
.case-list-item small, .case-kicker, .case-role { color: var(--text-muted); font-size: .8rem; }
.case-role { display: inline-block; margin-left: .5rem; }
.case-heading { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.case-heading h2 { margin: 0; }
.case-kicker { margin: 0 0 .3rem; font-weight: 600; }
.case-section { margin-top: 1.25rem; }
.case-section h3, .case-panel .animal-card h4 { margin: 0 0 .6rem; font-size: 1rem; }
.case-section p { line-height: 1.5; }
.case-section a { color: var(--primary); }
.case-section-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.case-panel .animal-card { border: 1px solid var(--border-color); border-radius: 8px; padding: .9rem; margin-top: .75rem; display: grid; grid-template-columns: minmax(160px, .8fr) minmax(0, 1.2fr); gap: 1rem; }
.case-panel .animal-card p, .case-panel .animal-card ul { margin: .35rem 0; font-size: .88rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem; margin: .6rem 0; background: #f8fafc; border: 1px solid var(--border-color); border-radius: 8px; }
.inline-form input, .inline-form select { min-width: 130px; flex: 1; padding: .4rem .55rem; border: 1px solid var(--border-color); border-radius: 6px; }
.inline-form[data-image-uploader] { display: block; }
.inline-form[data-image-uploader] .dropzone { margin-bottom: .75rem; }
.report-detail-grid { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.2fr); gap:1.25rem; align-items:start; }
.report-original > p { margin:0 0 .9rem; }
.report-original > p:last-of-type { margin-bottom:0; }
.adoption-detail-grid { display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(20rem, .8fr); gap:1.25rem; align-items:start; }
.report-detail-grid h3 { margin:1.4rem 0 .55rem; font-size:1rem; }
.report-animal-list { margin:.4rem 0 .7rem; padding-left:1.25rem; }
.report-note { border-top:1px solid var(--border-color); padding:.8rem 0; }
.report-note p { margin:.35rem 0 0; white-space:pre-wrap; }
.report-action-button { display:inline-flex; align-items:center; justify-content:center; min-height:2.5rem; padding:.55rem 1rem; border:0; border-radius:var(--radius-sm); background:var(--primary); color:#fff; font:inherit; font-weight:600; cursor:pointer; }
.report-action-button:hover { background:var(--primary-dark); }
.report-action-button:disabled { background:#94a3b8; cursor:not-allowed; opacity:.65; }
.report-action-button:disabled:hover { background:#94a3b8; }
.report-detail-grid .inline-form .report-action-button { flex:0 0 auto; }
.report-detail-grid .form-card > h2 { margin-bottom:1rem; }
#noteForm .report-action-button { margin-top:.75rem; }
.animal-detail-grid { grid-template-columns:minmax(15rem, .65fr) minmax(0, 1.35fr); }
.animal-photo-panel { position:sticky; top:1rem; }
.animal-photo-list { display:grid; gap:.8rem; margin-bottom:1rem; }
.animal-photo { background:#f8fafc; border:1px solid var(--border-color); border-radius:var(--radius-sm); margin:0; overflow:hidden; }
.animal-photo img { display:block; height:11rem; object-fit:cover; width:100%; }
.animal-photo figcaption { align-items:center; display:flex; gap:.45rem; justify-content:space-between; padding:.5rem .6rem; overflow-wrap:anywhere; }
.animal-photo-panel .image-upload-form { display:grid; gap:.75rem; }
.animal-photo-panel .file-preview-list { margin-top:0; }
.report-photo-list .animal-photo img { height: 14rem; }
.animal-cost-summary { margin-top:1.25rem; }
.detail-back-link { color:var(--text-muted); display:inline-block; margin-bottom:.35rem; text-decoration:none; }
.detail-back-link:hover { color:var(--primary-dark); text-decoration:underline; }
.contract-editor { max-width: 820px; margin: 0 auto; }
.animal-editor h2,
.contract-editor h2,
#placementEditor h2 { margin:0 0 1rem; font-size:1.15rem; line-height:1.3; }
.dialog-section-title { margin:1.75rem 0 1rem !important; }
.contract-animal-fieldset { min-inline-size:0; margin:.75rem 0 1.25rem; padding:.5rem 0 0; border:0; }
.form-help { color: var(--text-muted); font-size: .9rem; }
.login-success { margin:0 0 1rem; padding:.7rem .85rem; border-radius:var(--radius-sm); background:#dcfce7; color:#166534; }
.data-sharing-field { margin-top: .25rem; }
.field-label { display: block; margin-bottom: .55rem; font-weight: 600; color: var(--text-main); }
.switch-control { display: inline-flex; align-items: center; gap: .65rem; cursor: pointer; color: var(--text-main); font-weight: 500; }
.switch-control input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; width: 2.6rem; height: 1.45rem; flex: 0 0 auto; border-radius: 999px; background: #aab4bd; transition: background-color .18s ease; }
.switch-track::after { content: ''; position: absolute; top: .2rem; left: .2rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform .18s ease; }
.switch-control input:checked + .switch-track { background: var(--primary); }
.switch-control input:checked + .switch-track::after { transform: translateX(1.15rem); }
.switch-control input:focus-visible + .switch-track { outline: 3px solid rgb(16 185 129 / .35); outline-offset: 2px; }
.data-sharing-field .form-help { margin: .45rem 0 0 3.25rem; }
.contract-animal-choices { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.contract-animal-choice { display: flex; align-items: flex-start; gap: .7rem; padding: .75rem; border: 1px solid var(--border-color); border-radius: 8px; cursor: pointer; }
.contract-animal-choice:hover { background: #f8fafc; border-color: var(--primary); }
.contract-animal-choice span { display: block; }
.contract-animal-choice small { display: block; color: var(--text-muted); margin-top: .2rem; }

@media (max-width: 768px) {
  .report-detail-grid, .adoption-detail-grid, .animal-detail-grid { grid-template-columns:1fr; }
  .animal-photo-panel { position:static; }
  .submission-details-content {
    grid-template-columns: 1fr;
  }
  .cases-layout, .case-panel .animal-card { grid-template-columns: 1fr; }
}

/* Lightbox Modal */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.modal-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Footer & Embed Code Modal Trigger */
.container > footer {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.staff-login-link {
  color: var(--text-main);
  font-size: 0.8rem;
  text-decoration: none;
}

.login-home-link {
  display: inline-block;
  margin-bottom: .75rem;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height:1;
  text-decoration: none;
}

.login-body,
.admin-page { background-color: #f7f8f8; }

.admin-header-description { color:var(--text-light); margin-top:.2rem; }

.login-home-link svg { display:block; height:1.25rem; width:1.25rem; }
.admin-home-link svg { display:block; height:1.15rem; width:1.15rem; }

.login-home-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.login-intro {
  margin: 0 0 1.5rem;
}

.staff-login-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.container > footer a {
  color: #334155;
  text-decoration: none;
}

.table-link {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
}

.table-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.table-muted { color: var(--text-muted); }

.report-animal-list li { align-items:center; display:flex; gap:.5rem; justify-content:space-between; }
.report-animal-list .unlink-person { flex:0 0 auto; }
