:root {
    --admin-teal: #1A8F8F;
    --admin-dark-teal: #0E6060;
    --admin-warm-bg: #F5F0E8;
    --admin-card: #FFFFFF;
    --admin-coral: #E8533A;
    --admin-amber: #E8963A;
    --admin-emerald: #2EAF82;
    --admin-ink: #163536;
    --admin-muted: #6B7C7D;
    --admin-border: rgba(14, 96, 96, 0.12);
    --admin-shadow: 0 18px 42px rgba(14, 96, 96, 0.10);
}

html,
body {
    background: var(--admin-warm-bg);
    color: var(--admin-ink);
    scroll-behavior: smooth;
}

body {
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.btn-primary {
    background: var(--admin-teal);
    border-color: var(--admin-teal);
    border-radius: 999px;
    font-weight: 750;
    padding: 0.7rem 1rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--admin-dark-teal);
    border-color: var(--admin-dark-teal);
}

.admin-shell {
    background:
        radial-gradient(circle at top right, rgba(26, 143, 143, 0.10), transparent 32rem),
        var(--admin-warm-bg);
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    background:
        linear-gradient(180deg, #147878 0%, #0E6060 100%);
    box-shadow: 12px 0 32px rgba(14, 96, 96, 0.14);
    color: white;
    flex: 0 0 18rem;
    min-height: 100vh;
    position: sticky;
    top: 0;
}

.admin-main {
    flex: 1;
    min-width: 0;
}

.admin-topbar {
    align-items: center;
    background: rgba(245, 240, 232, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    min-height: 5rem;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 5;
}

.admin-topbar h1 {
    font-size: 1.35rem;
    font-weight: 750;
    margin: 0;
}

.topbar-kicker,
.eyebrow {
    color: var(--admin-teal);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.topbar-account {
    align-items: center;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
}

.topbar-account form {
    margin: 0;
}

.user-summary {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    color: var(--admin-dark-teal);
    display: grid;
    gap: 0.2rem;
    font-weight: 650;
    max-width: 18rem;
    overflow: hidden;
    padding: 0.55rem 0.8rem;
}

.welcome-text {
    font-size: 0.92rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.role-pill {
    color: var(--admin-muted);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.logout-button {
    background: var(--admin-dark-teal);
    border: 0;
    border-radius: 999px;
    color: white;
    font-weight: 700;
    padding: 0.58rem 0.95rem;
}

.logout-button:hover {
    background: var(--admin-teal);
}

.admin-content {
    padding: 2rem;
}

.sidebar-brand {
    background: rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    padding: 1.5rem 1.2rem 1.25rem;
}

.brand-link {
    align-items: center;
    color: white;
    display: flex;
    gap: 0.85rem;
    min-width: 0;
    text-decoration: none;
}

.brand-link:hover {
    color: white;
}

.sidebar-brand .brand-link img {
    border-radius: 50%;
    display: block;
    flex: 0 0 40px;
    height: 40px;
    object-fit: cover;
    width: 40px;
}

.brand-mark {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 11px;
    box-shadow: 0 12px 24px rgba(7, 55, 55, 0.20);
    color: var(--admin-dark-teal);
    display: inline-flex;
    flex: 0 0 2.5rem;
    font-size: 0.82rem;
    font-weight: 850;
    height: 2.5rem;
    justify-content: center;
}

.brand-title,
.brand-subtitle {
    display: block;
    line-height: 1.2;
}

.brand-title {
    color: rgba(255, 255, 255, 0.98);
    font-size: 1rem;
    font-weight: 800;
    max-width: 12rem;
}

.brand-title span {
    color: #B3E0E0;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.admin-nav {
    gap: 0.28rem;
    padding: 0.9rem 0.75rem;
}

.nav-section-title {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.02em;
    margin: 0.95rem 0.72rem 0.25rem;
    text-transform: uppercase;
}

.nav-section-title:first-child {
    margin-top: 0.1rem;
}

.admin-nav .nav-item {
    padding: 0;
}

.admin-nav .nav-link {
    align-items: center;
    border-left: 4px solid transparent;
    border-radius: 11px;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    font-size: 0.94rem;
    font-weight: 650;
    gap: 0.8rem;
    min-height: 3rem;
    padding: 0.72rem 0.88rem 0.72rem 0.72rem;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.admin-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
    color: white;
}

.admin-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    border-left-color: #B3E0E0;
    color: white;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.06),
        0 10px 22px rgba(7, 55, 55, 0.12);
}

.nav-icon {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    display: inline-flex;
    flex: 0 0 1.55rem;
    height: 1.55rem;
    padding: 0.2rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
    width: 1.55rem;
}

.nav-icon path {
    fill: none;
}

.admin-nav .nav-link:hover .nav-icon {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.22);
    color: white;
}

.admin-nav .nav-link.active .nav-icon {
    background: rgba(179, 224, 224, 0.20);
    border-color: rgba(179, 224, 224, 0.56);
    color: #E9FFFF;
}

.dashboard-hero,
.summary-card,
.panel-card,
.placeholder-page {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow);
}

.dashboard-hero {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.35rem;
    padding: 1.75rem;
}

.dashboard-hero h2,
.placeholder-page h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 0.55rem;
}

.dashboard-hero p,
.placeholder-page p,
.empty-state p,
.review-item p {
    color: var(--admin-muted);
    margin-bottom: 0;
}

.hero-status {
    background: rgba(46, 175, 130, 0.11);
    border: 1px solid rgba(46, 175, 130, 0.24);
    border-radius: 12px;
    color: var(--admin-emerald);
    flex: 0 0 auto;
    padding: 0.9rem 1rem;
}

.status-label {
    color: var(--admin-muted);
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1.35rem;
}

.summary-card {
    min-height: 10rem;
    padding: 1.25rem;
    position: relative;
}

.summary-card::before {
    border-radius: 999px;
    content: "";
    height: 0.45rem;
    left: 1.25rem;
    position: absolute;
    right: 1.25rem;
    top: 1.15rem;
}

.summary-card strong {
    display: block;
    font-size: 2.25rem;
    line-height: 1;
    margin: 2rem 0 0.45rem;
}

.summary-label,
.summary-note {
    display: block;
}

.summary-label {
    color: var(--admin-ink);
    font-weight: 750;
}

.summary-note {
    color: var(--admin-muted);
    font-size: 0.9rem;
}

.summary-danger::before {
    background: var(--admin-coral);
}

.summary-warning::before {
    background: var(--admin-amber);
}

.summary-success::before {
    background: var(--admin-emerald);
}

.summary-teal::before {
    background: var(--admin-teal);
}

.summary-neutral::before {
    background: #A8B2B4;
}

.heat-map-summary-grid .summary-card {
    min-height: 8.5rem;
}

.heat-map-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.heat-map-card {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow);
    min-width: 0;
    overflow: hidden;
}

.heat-map-card-header {
    align-items: flex-start;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
}

.heat-map-card-header h2 {
    font-size: 1.12rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.heat-map-card-header p {
    color: var(--admin-muted);
    margin: 0;
}

.heat-map-toggle-button {
    align-items: center;
    background: rgba(26, 143, 143, 0.10);
    border: 1px solid rgba(26, 143, 143, 0.18);
    border-radius: 999px;
    color: var(--admin-dark-teal);
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    white-space: nowrap;
}

.heat-map-toggle-button:hover {
    background: rgba(26, 143, 143, 0.15);
}

.admin-user-heat-map {
    height: min(58vh, 36rem);
    min-height: 26rem;
    width: 100%;
}

.heat-map-config-state {
    background: rgba(232, 150, 58, 0.10);
    border-bottom: 1px solid rgba(232, 150, 58, 0.22);
    color: var(--admin-ink);
    padding: 0.9rem 1.25rem;
}

.heat-map-config-state strong {
    display: block;
    margin-bottom: 0.25rem;
}

.heat-map-config-state p {
    color: var(--admin-muted);
    margin: 0;
}

.heat-map-table-card .report-table-wrap {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: auto;
}

.admin-user-heat-map-popup {
    align-items: flex-start;
    color: var(--admin-ink);
    display: flex;
    gap: 0.75rem;
    max-width: 18rem;
}

.admin-user-heat-map-popup-avatar {
    align-items: center;
    background: rgba(26, 143, 143, 0.12);
    border: 1px solid rgba(26, 143, 143, 0.18);
    border-radius: 50%;
    color: var(--admin-dark-teal);
    display: inline-flex;
    flex: 0 0 2.65rem;
    font-weight: 800;
    height: 2.65rem;
    justify-content: center;
    object-fit: cover;
    width: 2.65rem;
}

.admin-user-heat-map-popup strong,
.admin-user-heat-map-popup span,
.admin-user-heat-map-popup small {
    display: block;
}

.admin-user-heat-map-popup strong {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.admin-user-heat-map-popup span,
.admin-user-heat-map-popup p,
.admin-user-heat-map-popup small {
    color: var(--admin-muted);
    font-size: 0.82rem;
    margin: 0;
}

.alert-sightings-tracking-page {
    display: grid;
    gap: 1rem;
}

.tracking-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.tracking-header .report-status-badge {
    max-width: min(100%, 24rem);
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracking-count {
    align-items: center;
    background: rgba(232, 150, 58, 0.10);
    border: 1px solid rgba(232, 150, 58, 0.20);
    border-radius: 999px;
    color: #9A5410;
    display: inline-flex;
    font-weight: 750;
    justify-self: start;
    padding: 0.58rem 0.85rem;
}

.alert-sightings-tracking-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(22rem, 0.72fr) minmax(0, 1.28fr);
}

.tracking-list-panel,
.tracking-map-panel {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow);
    min-width: 0;
    overflow: hidden;
}

.tracking-list-panel {
    display: grid;
}

.tracking-sighting-card {
    align-items: start;
    border-bottom: 1px solid var(--admin-border);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1rem;
}

.tracking-sighting-card:last-child {
    border-bottom: 0;
}

.tracking-sighting-number {
    align-items: center;
    background: rgba(232, 150, 58, 0.16);
    border: 1px solid rgba(232, 150, 58, 0.28);
    border-radius: 50%;
    color: #9A5410;
    display: inline-flex;
    flex: 0 0 2.35rem;
    font-size: 1rem;
    font-weight: 900;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}

.tracking-sighting-body {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.tracking-sighting-title-row {
    align-items: flex-start;
    display: flex;
    gap: 0.55rem;
    justify-content: space-between;
}

.tracking-sighting-title-row strong {
    color: var(--admin-ink);
    font-weight: 850;
    overflow-wrap: anywhere;
}

.tracking-sighting-title-row span,
.tracking-sighting-body small {
    color: var(--admin-muted);
    font-size: 0.78rem;
}

.tracking-sighting-title-row span {
    flex: 0 0 auto;
    white-space: nowrap;
}

.tracking-sighting-body p {
    color: var(--admin-muted);
    line-height: 1.38;
    margin: 0;
    overflow-wrap: anywhere;
}

.tracking-contact-line {
    align-items: center;
    color: var(--admin-dark-teal);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 0.42rem;
    justify-self: start;
    text-decoration: none;
}

.tracking-contact-line:hover {
    color: var(--admin-teal);
    text-decoration: underline;
}

.tracking-contact-line svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 1rem;
}

.tracking-sighting-image {
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    height: 4.5rem;
    object-fit: cover;
    width: 4.5rem;
}

.tracking-map-panel {
    position: sticky;
    top: 6rem;
}

.tracking-map-panel-header {
    border-bottom: 1px solid var(--admin-border);
    padding: 1.1rem 1.25rem;
}

.tracking-map-panel-header h3 {
    font-size: 1.12rem;
    font-weight: 850;
    margin: 0 0 0.25rem;
}

.tracking-map-panel-header p {
    color: var(--admin-muted);
    margin: 0;
}

.admin-alert-sightings-map {
    height: min(68vh, 42rem);
    min-height: 32rem;
    width: 100%;
}

.admin-alert-sightings-popup {
    color: var(--admin-ink);
    display: grid;
    gap: 0.3rem;
    max-width: 18rem;
}

.admin-alert-sightings-popup strong,
.admin-alert-sightings-popup span,
.admin-alert-sightings-popup small {
    display: block;
}

.admin-alert-sightings-popup strong {
    color: var(--admin-ink);
    font-size: 0.95rem;
}

.admin-alert-sightings-popup span,
.admin-alert-sightings-popup p,
.admin-alert-sightings-popup small,
.admin-alert-sightings-popup a {
    color: var(--admin-muted);
    font-size: 0.82rem;
    margin: 0;
}

.admin-alert-sightings-popup a {
    color: var(--admin-dark-teal);
    font-weight: 800;
    text-decoration: none;
}

.admin-alert-sightings-popup-image {
    border-radius: 8px;
    height: 4rem;
    margin-top: 0.25rem;
    object-fit: cover;
    width: 4rem;
}

.dashboard-panels {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.panel-card,
.placeholder-page {
    padding: 1.35rem;
}

.panel-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
}

.panel-badge {
    background: rgba(26, 143, 143, 0.11);
    border-radius: 999px;
    color: var(--admin-teal);
    font-size: 0.78rem;
    font-weight: 750;
    padding: 0.4rem 0.7rem;
}

.panel-badge.amber {
    background: rgba(232, 150, 58, 0.14);
    color: #A65B12;
}

.empty-state {
    border: 1px dashed rgba(14, 96, 96, 0.24);
    border-radius: 12px;
    padding: 1.25rem;
}

.review-list {
    display: grid;
    gap: 0.85rem;
}

.review-item {
    align-items: flex-start;
    background: rgba(245, 240, 232, 0.56);
    border-radius: 12px;
    display: flex;
    gap: 0.8rem;
    padding: 0.9rem;
}

.review-dot {
    border-radius: 999px;
    flex: 0 0 0.7rem;
    height: 0.7rem;
    margin-top: 0.35rem;
    width: 0.7rem;
}

.review-dot.danger {
    background: var(--admin-coral);
}

.review-dot.warning {
    background: var(--admin-amber);
}

.review-dot.success {
    background: var(--admin-emerald);
}

.dashboard-section {
    margin-top: 1.9rem;
}

.dashboard-section:first-of-type {
    margin-top: 0;
}

.dashboard-section h3 {
    color: var(--admin-ink);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.dashboard-metric-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-metric-grid-one {
    grid-template-columns: minmax(0, 1fr);
}

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

.dashboard-metric-grid-users {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-alert-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-metric-card {
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    box-shadow: var(--admin-shadow);
    color: var(--admin-ink);
    display: block;
    min-height: 10.75rem;
    padding: 1.2rem;
    position: relative;
    text-decoration: none;
}

.dashboard-metric-card::before {
    border-radius: 999px;
    content: "";
    height: 0.42rem;
    left: 1.2rem;
    position: absolute;
    right: 1.2rem;
    top: 1rem;
}

.dashboard-metric-card.clickable {
    cursor: pointer;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.dashboard-metric-card.clickable:hover {
    border-color: rgba(26, 143, 143, 0.28);
    box-shadow: 0 22px 48px rgba(14, 96, 96, 0.14);
    color: var(--admin-ink);
    transform: translateY(-1px);
}

.dashboard-metric-card strong {
    display: block;
    font-size: 2.35rem;
    font-weight: 850;
    line-height: 1;
    margin: 1.7rem 0 0.5rem;
}

.dashboard-metric-grid-users .dashboard-metric-card {
    min-height: 9.5rem;
    padding-block: 1.05rem;
}

.dashboard-alert-feature strong {
    font-size: 3rem;
}

.metric-label,
.metric-note {
    display: block;
}

.metric-label {
    font-weight: 800;
}

.metric-note {
    color: var(--admin-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.dashboard-metric-users::before,
.dashboard-metric-users::before {
    background: rgba(26, 143, 143, 0.13);
}

.dashboard-metric-pets::before,
.dashboard-metric-abandoned::before {
    background: rgba(232, 150, 58, 0.16);
}

.dashboard-metric-active::before,
.dashboard-metric-found::before {
    background: rgba(46, 175, 130, 0.14);
}

.dashboard-metric-lost::before,
.dashboard-metric-reports::before {
    background: rgba(232, 83, 58, 0.12);
}

.dashboard-metric-warning::before {
    background: rgba(232, 150, 58, 0.14);
}

.dashboard-metric-resolved::before {
    background: rgba(107, 124, 125, 0.13);
}

.placeholder-page {
    max-width: 52rem;
}

.testing-page {
    max-width: 48rem;
}

.testing-card {
    background: rgba(245, 240, 232, 0.56);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
    padding: 1.1rem;
}

.testing-card .filter-field .form-control,
.testing-card .filter-field .form-select {
    background-color: #FFFFFF;
}

.testing-textarea {
    border-radius: 14px !important;
    min-height: 7rem;
    padding: 0.85rem 1rem !important;
    resize: vertical;
}

.testing-submit-button {
    justify-self: start;
}

.testing-feedback {
    margin-top: 1rem;
}

.campaign-simulator-page {
    max-width: none;
}

.campaign-simulator-filters {
    grid-template-columns: minmax(220px, 1.4fr) minmax(220px, 1.2fr) minmax(140px, 0.5fr) auto;
    align-items: end;
}

.campaign-simulator-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.campaign-simulator-summary-grid {
    margin-top: 1.5rem;
}

.campaign-simulator-map-card {
    margin-top: 1.5rem;
}

.campaign-simulator-map {
    width: 100%;
    min-height: 460px;
    border-radius: 20px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(249, 115, 91, .08)),
        #f8fafc;
}

.report-page {
    max-width: none;
}

.admin-filter-panel {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
}

.admin-filter-grid {
    align-items: end;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.owners-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.filter-field {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.filter-field span {
    color: var(--admin-teal);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.filter-check-field {
    align-items: center;
    color: var(--admin-dark-teal);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 750;
    gap: 0.45rem;
    margin: 0 0 0.52rem;
    white-space: nowrap;
}

.filter-check-field input {
    accent-color: var(--admin-teal);
    height: 1rem;
    width: 1rem;
}

.filter-field .form-select,
.filter-field .form-control {
    border-color: var(--admin-border);
    border-radius: 999px;
    color: var(--admin-ink);
    min-height: 2.5rem;
}

.filter-field .form-control {
    padding-left: 1rem;
    padding-right: 1rem;
}

.filter-submit-button,
.detail-button {
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.filter-submit-button {
    background: var(--admin-teal);
    border: 0;
    color: white;
    min-height: 2.5rem;
    padding: 0.65rem 1rem;
}

.filter-submit-button:hover {
    background: var(--admin-dark-teal);
}

.filter-submit-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.placeholder-page p {
    font-size: 1rem;
}

.report-table-wrap {
    margin-top: 1rem;
    overflow-x: auto;
}

.report-table {
    margin-bottom: 0;
    min-width: 58rem;
}

.report-table-spacious {
    border-collapse: separate;
    border-spacing: 0;
}

.report-table thead th {
    border-bottom-color: var(--admin-border);
    color: var(--admin-teal);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.report-table tbody td {
    color: var(--admin-ink);
    vertical-align: top;
}

.row-number-column,
.row-number-cell {
    text-align: center;
    width: 3rem;
}

.row-number-cell {
    color: var(--admin-muted);
    font-weight: 800;
    padding-top: 1.35rem;
    white-space: nowrap;
}

.report-main-row td {
    border-bottom: 1px solid var(--admin-border);
    border-top: 1px solid var(--admin-border);
    padding-bottom: 0.85rem;
}

.report-content-cell {
    min-width: 42rem;
}

.solidarity-campaign-column,
.solidarity-campaign-cell {
    width: 24rem;
}

.report-content-cell.solidarity-campaign-cell {
    min-width: 24rem;
}

.report-content-grid {
    align-items: start;
    column-gap: 1.5rem;
    display: grid;
    row-gap: 0.5rem;
}

.user-report-content-grid {
    grid-template-columns: minmax(16rem, 1.35fr) minmax(10rem, 0.85fr) minmax(13rem, 1fr) minmax(10rem, 0.8fr);
}

.alert-report-content-grid {
    grid-template-columns: minmax(16rem, 1.35fr) minmax(7rem, 0.6fr) minmax(10rem, 0.85fr) minmax(13rem, 1fr) minmax(10rem, 0.8fr);
}

.report-grid-comment {
    color: var(--admin-muted);
    display: block;
    font-size: 0.9rem;
    grid-column: 1 / -1;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: normal;
}

.report-table strong,
.report-meta {
    display: block;
}

.active-alert-summary {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    min-width: 16rem;
}

.active-alert-thumb {
    background: rgba(26, 143, 143, 0.10);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    flex: 0 0 3.5rem;
    height: 3.5rem;
    object-fit: cover;
    width: 3.5rem;
}

.active-alert-thumb.placeholder {
    align-items: center;
    color: var(--admin-teal);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 850;
    justify-content: center;
}

.active-alert-copy {
    display: block;
    min-width: 0;
}

.owner-secondary-text {
    color: var(--admin-muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.3;
    margin-top: 0.18rem;
    overflow-wrap: anywhere;
}

.user-report-summary {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    min-width: 16rem;
}

.user-report-avatar {
    background: rgba(26, 143, 143, 0.12);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    flex: 0 0 3.25rem;
    height: 3.25rem;
    object-fit: cover;
    width: 3.25rem;
}

.user-report-avatar.fallback {
    align-items: center;
    background: rgba(26, 143, 143, 0.78);
    color: white;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 850;
    justify-content: center;
}

.owner-avatar {
    background: rgba(26, 143, 143, 0.12);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    flex: 0 0 3.25rem;
    height: 3.25rem;
    object-fit: cover;
    width: 3.25rem;
}

.owner-avatar.fallback {
    align-items: center;
    background: rgba(26, 143, 143, 0.78);
    color: white;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 850;
    justify-content: center;
}

.benefit-banner-column,
.benefit-banner-cell {
    min-width: 14rem;
    width: 14rem;
}

.benefit-banner-thumb {
    background: rgba(26, 143, 143, 0.10);
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    display: block;
    height: 5.5rem;
    max-width: 13.75rem;
    object-fit: cover;
    width: 13.75rem;
}

.benefit-banner-thumb.fallback {
    align-items: center;
    color: var(--admin-teal);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    justify-content: center;
}

.report-title-line {
    align-items: center;
    display: flex;
    gap: 0.45rem;
    min-width: 0;
}

.copy-button {
    align-items: center;
    background: rgba(26, 143, 143, 0.10);
    border: 1px solid rgba(26, 143, 143, 0.20);
    border-radius: 999px;
    color: var(--admin-teal);
    display: inline-flex;
    flex: 0 0 auto;
    height: 1.75rem;
    justify-content: center;
    padding: 0;
    width: 1.75rem;
}

.copy-button:hover {
    background: rgba(26, 143, 143, 0.16);
    color: var(--admin-dark-teal);
}

.copy-button svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 1rem;
}

.report-meta {
    color: var(--admin-muted);
    font-size: 0.82rem;
    margin-top: 0.15rem;
    overflow-wrap: anywhere;
}

.alert-type-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1;
    padding: 0.42rem 0.68rem;
    white-space: nowrap;
}

.alert-type-pill.lost {
    background: rgba(232, 83, 58, 0.12);
    color: #9F2E1F;
}

.alert-type-pill.found {
    background: rgba(46, 175, 130, 0.12);
    color: #176B50;
}

.alert-type-pill.abandoned {
    background: rgba(232, 150, 58, 0.16);
    color: #9A5410;
}

.alert-type-pill.neutral {
    background: rgba(26, 143, 143, 0.10);
    color: var(--admin-dark-teal);
}

.comment-label {
    color: var(--admin-ink);
    display: inline;
    font-weight: 750;
    text-transform: none;
}

.report-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-report-actions {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.admin-review-summary {
    color: var(--admin-muted);
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    gap: 0.25rem;
    line-height: 1.35;
    margin-top: 0;
    max-width: 220px;
}

.admin-review-summary__item {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.admin-review-summary__label {
    color: var(--admin-ink);
    font-weight: 750;
}

.admin-review-summary__note {
    overflow-wrap: anywhere;
    white-space: normal;
}

.report-status-badge,
.action-button {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.52rem 0.7rem;
    white-space: nowrap;
}

.report-status-badge {
    background: rgba(232, 150, 58, 0.14);
    color: #A65B12;
}

.report-status-badge.pending {
    background: rgba(232, 150, 58, 0.14);
    color: #A65B12;
}

.report-status-badge.approved {
    background: rgba(46, 175, 130, 0.12);
    color: #176B50;
}

.report-status-badge.rejected {
    background: rgba(232, 83, 58, 0.12);
    color: #9F2E1F;
}

.report-status-badge.internal {
    background: rgba(15, 118, 110, 0.12);
    color: #0F766E;
}

.community-comment-stars {
    color: #F5B301;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
}

.review-metadata {
    margin-top: 0.25rem;
}

.review-metadata-separator {
    color: var(--admin-ink);
    font-weight: 750;
    margin-left: 1rem;
}

.owner-badge,
.owner-action-button {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.52rem 0.7rem;
    white-space: nowrap;
}

.owner-badge {
    display: inline-flex;
}

.owner-badge.confirmed,
.owner-badge.active {
    background: rgba(46, 175, 130, 0.12);
    color: #176B50;
}

.owner-badge.unconfirmed {
    background: rgba(107, 124, 125, 0.13);
    color: var(--admin-muted);
}

.owner-badge.neutral {
    background: rgba(107, 124, 125, 0.13);
    color: var(--admin-muted);
}

.owner-badge.suspended {
    background: rgba(232, 150, 58, 0.16);
    color: #9A5410;
}

.owner-badge.banned {
    background: rgba(232, 83, 58, 0.12);
    color: #9F2E1F;
}

.owner-badge.deleted {
    background: rgba(159, 46, 31, 0.18);
    color: #7A1E14;
}

.owner-inline-action {
    background: transparent;
    border: 0;
    color: var(--admin-dark-teal);
    font-size: 0.76rem;
    font-weight: 850;
    margin-left: 0.35rem;
    padding: 0.2rem 0;
    text-decoration: underline;
}

.owner-report-count {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1;
    min-width: 2rem;
    padding: 0.52rem 0.7rem;
    justify-content: center;
    white-space: nowrap;
}

.owner-report-count.neutral {
    background: rgba(107, 124, 125, 0.13);
    color: var(--admin-muted);
}

.owner-report-count.reported {
    background: rgba(232, 150, 58, 0.16);
    color: #9A5410;
}

.owner-action-button {
    background: white;
    border: 1px solid var(--admin-border);
}

.owner-action-button.pets {
    border-color: rgba(26, 143, 143, 0.30);
    color: var(--admin-dark-teal);
}

.owner-action-button.edit {
    border-color: rgba(232, 150, 58, 0.35);
    color: #9A5410;
}

.owner-action-button.delete {
    border-color: rgba(232, 83, 58, 0.32);
    color: #9F2E1F;
}

.owner-action-button.audit {
    border-color: rgba(26, 143, 143, 0.30);
    color: var(--admin-dark-teal);
}

.owner-action-button.admin-action-icon-button {
    align-items: center;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    padding: 0;
    width: 2.25rem;
}

.admin-action-icon-button svg {
    fill: none;
    height: 1rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
    width: 1rem;
}

.owner-action-button:hover {
    background: rgba(245, 240, 232, 0.58);
}

.action-button {
    border: 0;
    color: white;
    display: inline-flex;
    text-decoration: none;
}

.action-button.neutral {
    background: rgba(26, 143, 143, 0.12);
    border: 1px solid rgba(26, 143, 143, 0.24);
    color: var(--admin-dark-teal);
}

.action-button.approve {
    background: var(--admin-emerald);
}

.action-button.reject {
    background: var(--admin-coral);
}

.action-button:hover {
    filter: brightness(0.96);
}

.solidarity-view-button {
    align-items: center;
    background: #FFFFFF;
    border: 1px solid rgba(15, 118, 110, 0.36);
    box-shadow: 0 8px 18px rgba(17, 45, 46, 0.08);
    color: var(--admin-dark-teal);
    gap: 0.38rem;
}

.solidarity-view-button svg {
    fill: none;
    height: 0.95rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
    width: 0.95rem;
}

.solidarity-view-button:hover {
    background: rgba(26, 143, 143, 0.08);
    border-color: rgba(15, 118, 110, 0.55);
}

.admin-public-alert-link {
    color: var(--admin-dark-teal);
    font-weight: 800;
    text-decoration: none;
}

.admin-public-alert-link:hover {
    color: var(--admin-teal);
    text-decoration: underline;
}

.admin-modal-backdrop {
    align-items: center;
    background: rgba(17, 45, 46, 0.42);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1rem;
    position: fixed;
    z-index: 1050;
}

.admin-modal-card {
    background: #FFFFFF;
    border: 1px solid var(--admin-border);
    border-radius: 1rem;
    box-shadow: 0 24px 70px rgba(17, 45, 46, 0.22);
    max-width: 34rem;
    padding: 1.35rem;
    width: min(100%, 34rem);
}

.admin-modal--wide {
    max-height: calc(100vh - 2rem);
    max-width: 64rem;
    width: min(100%, 64rem);
}

.pet-service-modal-card {
    display: flex;
    flex-direction: column;
    max-width: 78rem;
    width: min(100%, 78rem);
}

.pet-service-modal-body {
    display: grid;
    gap: 1rem;
    max-height: min(68vh, 46rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.pet-service-form-section {
    background: rgba(248, 245, 240, 0.58);
    border: 1px solid var(--admin-border);
    border-radius: 0.9rem;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
}

.pet-service-form-section h4 {
    color: var(--admin-text);
    font-size: 0.95rem;
    font-weight: 900;
    margin: 0;
}

.pet-service-form-grid {
    display: grid;
    gap: 0 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pet-service-field-wide,
.pet-service-form-grid .admin-modal-field-wide {
    grid-column: 1 / -1;
}

.pet-service-checks {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.pet-service-modal-card .admin-modal-actions {
    border-top: 1px solid var(--admin-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.admin-modal-card h3 {
    color: var(--admin-text);
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 0.45rem;
}

.admin-modal-description {
    color: var(--admin-muted);
    margin: 0 0 1rem;
}

.admin-audit-list {
    display: grid;
    gap: 0.85rem;
    margin: 1rem 0 1.25rem;
}

.admin-audit-list div {
    display: grid;
    gap: 0.25rem;
}

.admin-audit-list span {
    color: var(--admin-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.admin-audit-list strong {
    color: var(--admin-text);
    font-weight: 850;
    overflow-wrap: anywhere;
}

.owner-pets-modal-card {
    max-width: 34rem;
}

.owner-pets-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.owner-pet-row {
    align-items: center;
    background: rgba(248, 245, 240, 0.76);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem;
}

.owner-pet-image {
    border-radius: 14px;
    flex: 0 0 56px;
    height: 56px;
    object-fit: cover;
    width: 56px;
}

.owner-pet-image.fallback {
    align-items: center;
    background: rgba(26, 143, 143, 0.12);
    color: var(--admin-dark-teal);
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.owner-pet-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.owner-pet-copy strong {
    color: var(--admin-text);
    font-weight: 900;
}

.owner-pet-copy span {
    color: var(--admin-muted);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.35;
}

.owner-pets-empty {
    background: rgba(248, 245, 240, 0.76);
    border: 1px dashed var(--admin-border);
    border-radius: 16px;
    color: var(--admin-muted);
    font-weight: 750;
    margin-top: 1rem;
    padding: 1rem;
    text-align: center;
}

.admin-modal-field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.admin-modal-field span {
    color: var(--admin-text);
    font-size: 0.88rem;
    font-weight: 800;
}

.admin-modal-actions {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
}

.benefit-modal-card {
    display: flex;
    flex-direction: column;
}

.benefit-modal-body {
    margin-right: -0.25rem;
    max-height: min(68vh, 46rem);
    overflow-y: auto;
    padding-right: 0.25rem;
}

.benefit-form-grid {
    display: grid;
    gap: 1rem 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-form-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.benefit-form-column .admin-modal-field {
    margin-bottom: 0.85rem;
}

.benefit-form-inline-checks,
.benefit-date-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-form-inline-checks .admin-modal-field,
.benefit-date-grid .admin-modal-field {
    margin-bottom: 0;
}

.benefit-location-picker {
    display: grid;
    gap: 0.55rem;
    max-height: 10rem;
    overflow-y: auto;
}

.benefit-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.benefit-banner-preview {
    max-height: 12rem;
    object-fit: cover;
}

.benefit-modal-card .admin-modal-actions {
    border-top: 1px solid var(--admin-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.modal-primary-button,
.modal-secondary-button {
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.68rem 1rem;
}

.modal-primary-button {
    background: var(--admin-emerald);
    border: 0;
    color: #FFFFFF;
}

.modal-primary-button.danger {
    background: #9F2E1F;
}

.modal-primary-button.danger {
    background: var(--admin-coral);
}

.modal-secondary-button {
    background: #FFFFFF;
    border: 1px solid var(--admin-border);
    color: var(--admin-text);
}

.modal-primary-button:disabled,
.modal-secondary-button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 143, 143, 0.10);
    border: 1px solid rgba(26, 143, 143, 0.20);
    color: var(--admin-dark-teal);
    padding: 0.58rem 0.8rem;
    text-decoration: none;
}

.detail-button:hover {
    background: rgba(26, 143, 143, 0.16);
    color: var(--admin-dark-teal);
}

.detail-button:disabled {
    cursor: not-allowed;
    opacity: 0.74;
}

.report-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.pagination-pill,
.pagination-number {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    color: var(--admin-dark-teal);
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 2.35rem;
}

.pagination-pill {
    padding: 0.55rem 0.95rem;
}

.pagination-number {
    min-width: 2.35rem;
    padding: 0.55rem 0.75rem;
}

.pagination-number.active {
    background: var(--admin-teal);
    border-color: var(--admin-teal);
    color: white;
}

.pagination-pill:disabled,
.pagination-number:disabled:not(.active) {
    color: var(--admin-muted);
    cursor: not-allowed;
    opacity: 0.58;
}

.construction-card {
    background: rgba(245, 240, 232, 0.56);
    border: 1px dashed rgba(14, 96, 96, 0.24);
    border-radius: 12px;
    margin-top: 1.2rem;
    padding: 1.15rem;
}

.construction-card strong {
    color: var(--admin-dark-teal);
    display: block;
    margin-bottom: 0.35rem;
}

.admin-profile-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(16rem, 0.34fr) minmax(0, 1fr);
    margin-top: 1.25rem;
}

.admin-profile-photo-card,
.admin-profile-form-card {
    background: rgba(245, 240, 232, 0.42);
    border: 1px solid rgba(14, 96, 96, 0.14);
    border-radius: 14px;
    padding: 1.25rem;
}

.admin-profile-photo-card {
    display: grid;
    gap: 1rem;
    justify-items: center;
}

.admin-profile-avatar {
    align-items: center;
    background: rgba(26, 143, 143, 0.12);
    border: 1px solid rgba(14, 96, 96, 0.18);
    border-radius: 999px;
    color: var(--admin-dark-teal);
    display: inline-flex;
    font-size: 2.4rem;
    font-weight: 900;
    height: 9rem;
    justify-content: center;
    overflow: hidden;
    width: 9rem;
}

.admin-profile-avatar img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.admin-profile-file-field {
    width: 100%;
}

.admin-profile-help {
    color: var(--admin-muted);
    font-size: 0.86rem;
    margin: 0;
    text-align: center;
}

.admin-profile-form-card {
    min-width: 0;
}

.admin-profile-form-grid {
    margin: 0;
}

.admin-profile-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.admin-profile-actions .filter-submit-button {
    width: auto;
}

@media (max-width: 860px) {
    .admin-profile-layout {
        grid-template-columns: 1fr;
    }

    .admin-profile-actions {
        justify-content: stretch;
    }

    .admin-profile-actions .filter-submit-button {
        width: 100%;
    }
}

.partners-hub-action {
    display: inline-flex;
    margin-top: 0.75rem;
    text-decoration: none;
}

.partners-heading-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.partners-filter-grid {
    grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) minmax(140px, 0.8fr) minmax(160px, 0.9fr) auto;
}

.admin-field-error {
    color: #b42318;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 0.35rem;
}

.admin-page-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-page-heading h2 {
    margin-bottom: 0.35rem;
}

.partner-type-color {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    white-space: nowrap;
}

.partner-type-swatch {
    border: 1px solid rgba(17, 45, 46, 0.14);
    border-radius: 999px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
    display: inline-block;
    height: 1.35rem;
    width: 1.35rem;
}

.partner-type-toggle {
    align-items: center;
    color: var(--admin-muted);
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    gap: 0.35rem;
    margin: 0;
}

.partner-type-toggle input {
    accent-color: var(--admin-teal);
}

.admin-modal-grid {
    display: grid;
    gap: 0 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-modal-field-wide {
    grid-column: 1 / -1;
}

.partner-type-color-picker {
    border: 1px solid var(--admin-border);
    border-radius: 0.65rem;
    height: 2.4rem;
    padding: 0.2rem;
    width: 100%;
}

@media (max-width: 980px) {
    .summary-grid,
    .dashboard-panels,
    .dashboard-metric-grid-users,
    .dashboard-alert-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .heat-map-layout {
        grid-template-columns: 1fr;
    }

    .alert-sightings-tracking-layout {
        grid-template-columns: 1fr;
    }

    .tracking-map-panel {
        position: static;
    }

    .admin-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.media-upload-card,
.media-result-card {
    margin-top: 1rem;
}

.media-upload-help {
    align-items: center;
    background: #eef7f6;
    border: 1px solid #d4e9e6;
    border-radius: 0.75rem;
    color: #486462;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.media-file-summary {
    align-items: center;
    background: #f8faf9;
    border: 1px solid #e3e8e7;
    border-radius: 0.75rem;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.media-file-summary span {
    color: #637a78;
    font-size: 0.9rem;
}

.media-result-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
}

.media-result-preview {
    aspect-ratio: 1;
    border: 1px solid #dbe4e2;
    border-radius: 1rem;
    object-fit: cover;
    width: 100%;
}

.media-result-details {
    display: grid;
    gap: 0.75rem;
}

@media (max-width: 759.98px) {
    .admin-page-heading {
        display: grid;
    }

    .admin-modal-grid {
        grid-template-columns: 1fr;
    }

    .admin-modal--wide {
        max-height: calc(100vh - 1rem);
        max-width: calc(100vw - 1rem);
        width: calc(100vw - 1rem);
    }

    .pet-service-modal-card {
        max-width: calc(100vw - 1rem);
        width: calc(100vw - 1rem);
    }

    .pet-service-modal-body {
        max-height: 70vh;
    }

    .pet-service-form-grid {
        grid-template-columns: 1fr;
    }

    .benefit-modal-body {
        max-height: 70vh;
    }

    .benefit-form-grid,
    .benefit-form-inline-checks,
    .benefit-date-grid {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        display: block;
    }

    .admin-sidebar {
        min-height: auto;
        position: relative;
    }

    .sidebar-brand {
        padding-right: 4.5rem;
    }

    .admin-topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 1rem;
    }

    .topbar-account {
        flex-wrap: wrap;
        width: 100%;
    }

    .admin-content {
        padding: 1rem;
    }

    .dashboard-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .report-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .campaign-simulator-filters {
        grid-template-columns: 1fr;
    }

    .campaign-simulator-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .testing-submit-button {
        justify-self: stretch;
        width: 100%;
    }

    .admin-user-heat-map {
        height: 24rem;
        min-height: 22rem;
    }

    .campaign-simulator-map {
        min-height: 22rem;
    }

    .heat-map-card-header {
        align-items: stretch;
        flex-direction: column;
    }

    .tracking-header,
    .tracking-sighting-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .tracking-sighting-title-row span {
        white-space: normal;
    }

    .tracking-sighting-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .tracking-sighting-image {
        grid-column: 2;
    }

    .admin-alert-sightings-map {
        height: 24rem;
        min-height: 22rem;
    }

    .media-result-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .summary-grid,
    .dashboard-panels,
    .dashboard-metric-grid-users,
    .dashboard-metric-grid-two,
    .dashboard-alert-type-grid {
        grid-template-columns: 1fr;
    }

    .user-summary {
        max-width: 100%;
    }
}

.community-content-editor-card {
    display: grid;
    gap: 1rem;
}

.community-content-form-grid {
    align-items: start;
}

.community-content-body-input {
    min-height: 18rem;
    resize: vertical;
}

.community-content-hero-preview {
    aspect-ratio: 16 / 9;
    border: 1px solid #dfe8e5;
    border-radius: 0.75rem;
    display: block;
    max-height: 22rem;
    object-fit: cover;
    width: min(100%, 48rem);
}

.community-content-status-line {
    align-items: center;
    background: #f3f7f6;
    border: 1px solid #dfe8e5;
    border-radius: 0.75rem;
    color: #60716f;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.75rem 1rem;
}

.community-content-status-line strong {
    color: #143634;
}

.community-content-page-actions {
    margin-top: 1rem;
}

.community-content-upload-button {
    margin-top: 0.75rem;
    width: fit-content;
}

.solidarity-review-modal {
    display: flex;
    flex-direction: column;
    max-height: min(90vh, 920px);
    max-width: 68rem;
    overflow: hidden;
    padding: 0;
    width: min(100%, 68rem);
}

.solidarity-review-header {
    border-bottom: 1px solid var(--admin-border);
    padding: 1.1rem 1.25rem 0.95rem;
}

.solidarity-review-header__main {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.solidarity-review-header h3 {
    margin-bottom: 0.5rem;
}

.solidarity-review-header__meta {
    align-items: center;
    color: var(--admin-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 750;
    gap: 0.45rem 0.7rem;
}

.solidarity-review-close-button {
    align-items: center;
    background: rgba(107, 124, 125, 0.10);
    border: 1px solid rgba(107, 124, 125, 0.16);
    border-radius: 999px;
    color: var(--admin-muted);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.3rem;
    font-weight: 800;
    height: 2.1rem;
    justify-content: center;
    line-height: 1;
    width: 2.1rem;
}

.solidarity-review-close-button:hover {
    background: rgba(107, 124, 125, 0.16);
}

.solidarity-review-tabs {
    background: #FFFFFF;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
}

.solidarity-review-tab {
    background: rgba(245, 240, 232, 0.74);
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--admin-muted);
    font-size: 0.85rem;
    font-weight: 850;
    padding: 0.55rem 0.9rem;
}

.solidarity-review-tab.active {
    background: rgba(26, 143, 143, 0.12);
    border-color: rgba(26, 143, 143, 0.22);
    color: var(--admin-dark-teal);
}

.solidarity-review-body {
    background: rgba(248, 245, 240, 0.55);
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem 1.25rem;
}

.solidarity-review-detail-grid {
    display: grid;
    gap: 0.9rem;
}

.solidarity-review-banner {
    background: rgba(26, 143, 143, 0.08);
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    height: clamp(180px, 26vh, 240px);
    object-fit: cover;
    width: 100%;
}

.solidarity-review-banner--empty {
    align-items: center;
    color: var(--admin-muted);
    display: flex;
    font-weight: 850;
    justify-content: center;
}

.solidarity-review-section {
    background: #FFFFFF;
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(17, 45, 46, 0.05);
    padding: 1rem;
}

.solidarity-review-section h4 {
    color: var(--admin-text);
    font-size: 0.98rem;
    font-weight: 900;
    margin: 0 0 0.7rem;
}

.solidarity-review-section p {
    color: var(--admin-muted);
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.solidarity-review-summary-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solidarity-review-summary-grid span {
    color: var(--admin-muted);
    display: grid;
    font-size: 0.9rem;
    gap: 0.15rem;
    overflow-wrap: anywhere;
}

.solidarity-review-summary-grid strong {
    color: var(--admin-text);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.solidarity-review-image-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.solidarity-review-image-thumb {
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    overflow: hidden;
    padding: 0;
}

.solidarity-review-image-thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.16s ease;
    width: 100%;
}

.solidarity-review-image-thumb:hover img {
    transform: scale(1.03);
}

.solidarity-review-empty-state {
    align-items: center;
    background: rgba(245, 240, 232, 0.74);
    border: 1px dashed rgba(107, 124, 125, 0.28);
    border-radius: 16px;
    color: var(--admin-muted);
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 8rem;
    text-align: center;
}

.solidarity-review-history-list {
    display: grid;
    gap: 0.8rem;
}

.solidarity-review-history-item {
    background: rgba(248, 245, 240, 0.72);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    display: grid;
    gap: 0.6rem;
    padding: 0.85rem;
}

.solidarity-review-history-item strong {
    color: var(--admin-text);
    font-weight: 900;
}

.solidarity-review-history-meta {
    color: var(--admin-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 750;
    gap: 0.4rem 0.9rem;
}

.solidarity-review-footer {
    align-items: center;
    background: #FFFFFF;
    border-top: 1px solid var(--admin-border);
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
    justify-content: flex-end;
    padding: 0.95rem 1.25rem;
}

.solidarity-review-lightbox {
    align-items: center;
    background: rgba(17, 45, 46, 0.78);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.5rem;
    position: fixed;
    z-index: 1080;
}

.solidarity-review-lightbox img {
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    max-height: 86vh;
    max-width: min(92vw, 62rem);
    object-fit: contain;
}

.solidarity-review-lightbox__close {
    align-items: center;
    background: #FFFFFF;
    border: 0;
    border-radius: 999px;
    color: var(--admin-text);
    display: inline-flex;
    font-size: 1.45rem;
    font-weight: 900;
    height: 2.5rem;
    justify-content: center;
    line-height: 1;
    position: fixed;
    right: 1.25rem;
    top: 1.25rem;
    width: 2.5rem;
}

@media (max-width: 720px) {
    .solidarity-review-summary-grid,
    .solidarity-review-image-grid {
        grid-template-columns: 1fr;
    }

    .solidarity-review-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .solidarity-review-footer button {
        width: 100%;
    }
}
