.resco-mu {
    max-width: 1280px;
}

.resco-mu-main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 16px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dbe3ea;
}

.resco-mu-public:not(.resco-mu-page-requests) .resco-mu-main-nav {
    margin-top: -16px;
}

.resco-mu-main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 5px;
    color: #334155;
    font-weight: 650;
    text-decoration: none;
}

.resco-mu-main-nav .resco-mu-nav-logout {
    margin-left: auto;
}

.resco-mu-nav-badge {
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.resco-mu-nav-badge.is-open,
.resco-mu-nav-badge.is-updated {
    background: #d97706;
}

.resco-mu-nav-badge.is-resolved {
    background: #16a34a;
}

.resco-mu-wp-menu-badges {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.resco-mu-main-nav a:hover,
.resco-mu-main-nav a:focus,
.resco-mu-main-nav a[aria-current="page"] {
    background: #e8eef5;
    color: #111827;
}

.resco-mu-access-waiting {
    margin-top: 16px;
    padding: 12px 14px;
    border-left: 4px solid #d97706;
    background: #fff7d6;
}

.resco-mu-access-status {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 700;
}

.resco-mu-access-status.is-approved {
    background: #dcfce7;
    color: #166534;
}

.resco-mu-access-status.is-pending {
    background: #fef3c7;
    color: #92400e;
}

.resco-mu-access-table td {
    vertical-align: middle;
}

.resco-mu-activation-code-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 12px;
    margin: 16px 0;
}

.resco-mu-activation-code-form label {
    display: grid;
    gap: 5px;
    font-weight: 600;
}

.resco-mu-activation-code-form input,
.resco-mu-activation-code-form select {
    min-width: 220px;
}

.resco-mu-activation-codes-table {
    margin-bottom: 24px;
}

.resco-mu-activation-codes-table td {
    vertical-align: middle;
}

.resco-mu-activation-codes-table td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.resco-mu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 16px;
    max-width: 920px;
    margin-top: 16px;
}

.resco-mu-grid label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.resco-mu .resco-mu-checkbox-field {
    display: flex;
    align-items: center;
    align-self: end;
    gap: 7px;
    min-height: 34px;
    font-weight: 700;
}

.resco-mu .resco-mu-checkbox-field input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.resco-mu .resco-mu-izs-field {
    color: #b91c1c;
}

.resco-mu-grid input,
.resco-mu-grid select,
.resco-mu-grid textarea {
    width: 100%;
    max-width: 100%;
    font-weight: 400;
}

.resco-mu-fixed-field {
    display: grid;
    gap: 6px;
    margin: 0;
    align-self: end;
}

.resco-mu-address-alternatives {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 6px;
    font-weight: 400;
}

.resco-mu-address-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 12px 0;
}

.resco-mu-address-table td,
.resco-mu-address-table th {
    vertical-align: middle;
}

.resco-mu-address-alternatives[hidden],
.resco-mu-manual-address-fields[hidden] {
    display: none;
}

.resco-mu-manual-address-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    padding: 12px;
    border: 1px solid #dbe3ea;
    border-radius: 6px;
    background: #f8fafc;
}

.resco-mu-manual-address-fields label {
    display: grid;
    gap: 4px;
}

.resco-mu-map-point-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.resco-mu-map-point-controls[hidden],
.resco-mu-map-picker[hidden] {
    display: none;
}

.resco-mu-map-picker {
    flex: 1 0 100%;
    width: 100%;
    height: 320px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.resco-mu-wide {
    grid-column: 1 / -1;
}

.resco-mu-pill {
    --pill-color: #64748b;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: 6px;
    border: 1px solid color-mix(in srgb, var(--pill-color) 55%, #ffffff);
    background: color-mix(in srgb, var(--pill-color) 14%, #ffffff);
    color: color-mix(in srgb, var(--pill-color) 75%, #111827);
    font-weight: 700;
    line-height: 1.2;
}

.resco-mu-compact-form {
    display: grid;
    gap: 10px;
    min-width: 260px;
    max-width: 360px;
    margin: 10px 0 14px;
}

.resco-mu-compact-form label {
    display: grid;
    gap: 4px;
}

.resco-mu-compact-form select,
.resco-mu-compact-form textarea {
    width: 100%;
}

.resco-mu-log {
    margin: 0;
    max-height: 180px;
    overflow: auto;
}

.resco-mu-log li {
    margin: 0 0 6px;
}

.resco-mu-success {
    padding: 10px 12px;
    border-left: 4px solid #16a34a;
    background: #f0fdf4;
}

.resco-mu-error {
    padding: 10px 12px;
    border-left: 4px solid #b91c1c;
    background: #fef2f2;
}

.resco-mu-toolbar,
.resco-mu-search {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 16px 0;
}

.resco-mu-toolbar {
    justify-content: space-between;
}

.resco-mu-toolbar h1 {
    margin: 0;
}

.resco-mu-list-heading {
    display: grid;
    gap: 2px;
}

.resco-mu-data-age {
    color: #64748b;
    font-size: 11px;
    font-weight: 400;
}

.resco-mu-data-age.is-stale {
    color: #b45309;
    font-weight: 700;
}

.resco-mu-freshness {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    color: #64748b;
    font-size: 11px;
    font-weight: 400;
}

.resco-mu-freshness label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font: inherit;
}

.resco-mu-freshness input[type="checkbox"] {
    width: 13px;
    height: 13px;
    margin: 0;
}

.resco-mu-pagination {
    margin: 18px 0 24px;
}

.resco-mu-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.resco-mu-pagination a,
.resco-mu-pagination .current {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    min-height: 34px;
    padding: 5px 9px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #334155;
    text-decoration: none;
}

.resco-mu-pagination .current {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    font-weight: 700;
}

.resco-mu button.button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.resco-mu-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resco-mu-dashboard-map-section {
    margin: 24px 0;
}

.resco-mu-dashboard-map-section h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.resco-mu-dashboard-map {
    width: 100%;
    height: 460px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.resco-mu-dashboard-map-shell {
    position: relative;
    z-index: 1;
    background: #fff;
}

.resco-mu-dashboard-map-shell .leaflet-pane,
.resco-mu-dashboard-map-shell .leaflet-top,
.resco-mu-dashboard-map-shell .leaflet-bottom {
    z-index: 2;
}

.resco-mu-map-fullscreen {
    position: absolute;
    z-index: 3;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #94a3b8;
    border-radius: 4px;
    background: #fff;
    color: #172033;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 4px rgb(15 23 42 / 18%);
}

.resco-mu-dashboard-map-shell:fullscreen,
.resco-mu-dashboard-map-shell.resco-mu-map-fullscreen-fallback {
    width: 100vw;
    height: 100vh;
    background: #fff;
}

.resco-mu-dashboard-map-shell:fullscreen .resco-mu-dashboard-map,
.resco-mu-dashboard-map-shell.resco-mu-map-fullscreen-fallback .resco-mu-dashboard-map {
    height: 100vh;
    border: 0;
    border-radius: 0;
}

.resco-mu-dashboard-map-shell.resco-mu-map-fullscreen-fallback {
    position: fixed;
    z-index: 100000;
    inset: 0;
}

body.resco-mu-map-fullscreen-open {
    overflow: hidden;
}

body:not(.resco-mu-map-fullscreen-open) #masthead,
body:not(.resco-mu-map-fullscreen-open) .site-header,
body:not(.resco-mu-map-fullscreen-open) .main-navigation,
body:not(.resco-mu-map-fullscreen-open) .menu-toggle,
body:not(.resco-mu-map-fullscreen-open) .wp-block-navigation,
body:not(.resco-mu-map-fullscreen-open) .wp-block-navigation__responsive-container {
    position: relative;
    z-index: 10000;
}

.resco-mu-request-pin {
    cursor: pointer;
}

.resco-mu-request-pin-critical-sla {
    animation: resco-mu-critical-sla-pulse 1.15s ease-in-out infinite;
    stroke-width: 3px;
}

.resco-mu-request-pin-izs {
    animation: resco-mu-izs-pulse 1s ease-in-out infinite;
    stroke-width: 3px;
}

@keyframes resco-mu-izs-pulse {
    0%, 100% {
        fill: #dc2626;
        stroke: #2563eb;
        fill-opacity: 1;
    }
    50% {
        fill: #2563eb;
        stroke: #dc2626;
        fill-opacity: 1;
    }
}

@keyframes resco-mu-critical-sla-pulse {
    0%, 100% {
        fill: #dc2626;
        stroke: #fff;
        fill-opacity: 1;
    }
    50% {
        fill: #fff;
        stroke: #dc2626;
        fill-opacity: 1;
    }
}

.resco-mu-map-legend .resco-mu-legend-critical-sla {
    animation: resco-mu-critical-sla-legend-pulse 1.15s ease-in-out infinite;
}

.resco-mu-map-legend .resco-mu-legend-izs {
    animation: resco-mu-izs-legend-pulse 1s ease-in-out infinite;
}

@keyframes resco-mu-izs-legend-pulse {
    0%, 100% { background: #dc2626; }
    50% { background: #2563eb; }
}

@keyframes resco-mu-critical-sla-legend-pulse {
    0%, 100% { background: #dc2626; }
    50% { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
    .resco-mu-request-pin-critical-sla,
    .resco-mu-request-pin-izs,
    .resco-mu-map-legend .resco-mu-legend-critical-sla,
    .resco-mu-map-legend .resco-mu-legend-izs {
        animation: none;
    }
    .resco-mu-request-pin-critical-sla {
        fill: #dc2626;
        stroke: #fff;
    }
    .resco-mu-request-pin-izs {
        fill: #dc2626;
        stroke: #2563eb;
    }
}

.resco-mu-map-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 10px 2px 0;
    color: #475569;
    font-size: 13px;
}

.resco-mu-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.resco-mu-map-legend i {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--resco-legend-color, #2563eb);
    box-shadow: 0 0 0 1px #94a3b8;
}

.resco-mu-map-tooltip {
    display: grid;
    gap: 2px;
    min-width: 190px;
    max-width: 320px;
    max-height: 360px;
    overflow-y: auto;
    white-space: normal;
}

.resco-mu-map-tooltip strong,
.resco-mu-map-tooltip span {
    display: block;
}

.resco-mu-map-tooltip-address {
    font-size: 13px;
}

.resco-mu-map-tooltip-request {
    display: grid;
    gap: 1px;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #dbe3ea;
}

.resco-mu-map-tooltip-izs {
    color: #b91c1c;
    font-weight: 700;
}

.resco-mu-map-empty {
    color: #64748b;
}

.resco-mu-map-hint-host {
    position: relative;
}

.resco-mu-map-wheel-hint {
    position: absolute;
    z-index: 1001;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 32px);
    padding: 9px 12px;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.9);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 150ms ease;
}

.resco-mu-map-wheel-hint.is-visible {
    opacity: 1;
}

.resco-mu-search label {
    display: grid;
    gap: 4px;
    min-width: min(360px, 100%);
    font-weight: 600;
}

.resco-mu-search input[type="search"] {
    width: 100%;
}

.resco-mu-public-list {
    overflow-x: auto;
    margin: 18px 0 28px;
}

.resco-mu-public-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.resco-mu-public-table th,
.resco-mu-public-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.resco-mu-public-table th {
    background: #f8fafc;
    font-weight: 700;
}

.resco-mu-address-lines span {
    display: block;
}

.resco-mu-age {
    display: block;
    margin-top: 2px;
    color: #64748b;
    white-space: nowrap;
}

.resco-mu-alert-label {
    display: block;
    width: max-content;
    margin-top: 5px;
    padding: 2px 5px;
    border-radius: 4px;
    background: #b45309;
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
}

.resco-mu-alert-izs {
    background: #7f1d1d;
}

.resco-mu-delete-request-form {
    margin-top: 10px;
}

.resco-mu-delete-request-detail {
    padding-top: 18px;
    border-top: 1px solid #fecaca;
}

.resco-mu-row-sla > td,
.resco-mu-row-sla > th {
    background: #fff7d6 !important;
    border-top: 1px solid #f59e0b;
    border-bottom: 1px solid #f59e0b;
}

.resco-mu-row-sla > :first-child {
    border-left: 5px solid #d97706;
}

.resco-mu-row-izs > td,
.resco-mu-row-izs > th {
    background: #fee2e2 !important;
    border-top: 2px solid #991b1b;
    border-bottom: 2px solid #991b1b;
    font-weight: 600;
}

.resco-mu-row-izs > :first-child {
    border-left: 8px solid #7f1d1d;
}

.resco-mu-row-in-progress > td,
.resco-mu-row-in-progress > th {
    background: #dbeafe !important;
    border-top: 2px solid #2563eb;
    border-bottom: 2px solid #2563eb;
    color: #1e3a8a;
}

.resco-mu-row-in-progress > :first-child {
    border-left: 5px solid #2563eb;
}

.resco-mu-row-resolved > td,
.resco-mu-row-resolved > th {
    background: #dcfce7 !important;
    color: #14532d;
}

.resco-mu-row-resolved > :first-child {
    border-left: 5px solid #16a34a;
}

.resco-mu-start-here {
    color: #15803d;
    font-size: 0.95em;
    white-space: nowrap;
}

.resco-mu-add-form {
    margin-top: 16px;
}

.resco-mu-card {
    max-width: 820px;
    padding: 16px;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #fff;
}

.resco-mu-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 180px));
    gap: 10px;
    margin: 16px 0 20px;
}

.resco-mu-dashboard-stat-group {
    margin: 24px 0;
}

.resco-mu-dashboard-stat-group h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.resco-mu-dashboard-stats div {
    padding: 12px;
    border: 1px solid #dbe3ea;
    border-radius: 6px;
    background: #fff;
}

.resco-mu-dashboard-stats strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
}

.resco-mu-dashboard-stats span {
    display: block;
    margin-top: 4px;
    color: #475569;
}

.resco-mu-lookup {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin: 18px 0;
}

.resco-mu-lookup label {
    display: grid;
    gap: 4px;
    min-width: min(420px, 100%);
    font-weight: 700;
}

.resco-mu-lookup input {
    width: 100%;
}

.resco-mu-suggest-wrap {
    position: relative;
    display: block;
}

.resco-mu-victim-suggestions {
    position: absolute;
    z-index: 50;
    top: calc(100% + 3px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 20px rgb(15 23 42 / 14%);
}

.resco-mu-victim-suggestions[hidden] {
    display: none;
}

.resco-mu-victim-suggestions a {
    display: grid;
    gap: 2px;
    padding: 9px 11px;
    border-bottom: 1px solid #e5e7eb;
    color: #172033;
    text-decoration: none;
}

.resco-mu-victim-suggestions a:last-child {
    border-bottom: 0;
}

.resco-mu-victim-suggestions a:hover,
.resco-mu-victim-suggestions a:focus {
    background: #eff6ff;
}

.resco-mu-notice,
.resco-mu-victim-panel {
    padding: 12px;
    border-left: 4px solid #2563eb;
    background: #eff6ff;
    margin: 16px 0;
}

.resco-mu-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.resco-mu-victim-panel h2 {
    margin: 0 0 2px;
}

.resco-mu-victim-panel p {
    margin: 2px 0;
}

.resco-mu-victim-detail {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
}

.resco-mu-victim-panel.resco-mu-victim-stop-help {
    border-color: #b91c1c;
    background: #fee2e2;
    color: #7f1d1d;
}

.resco-mu-stop-help-title {
    margin: 2px 0 !important;
    color: #b91c1c;
    font-size: 18px;
}

.resco-mu-stop-help-field {
    color: #b91c1c;
}

.resco-mu-victim-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.resco-mu-victim-edit-form {
    margin: 0 0 24px;
    padding: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.resco-mu-victim-edit-form .resco-mu-victim-actions {
    align-self: end;
}

.resco-mu-detail-link {
    display: inline-block;
    padding: 2px 5px;
    color: #1d4ed8;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
}

.resco-mu-detail-link:hover,
.resco-mu-detail-link:focus {
    text-decoration: underline;
}

.resco-mu-log-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    margin-top: 8px;
}

.resco-mu-log-table th,
.resco-mu-log-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.resco-mu-filters {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) repeat(5, minmax(130px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    margin: 14px 0;
}

.resco-mu-warehouse-filters {
    grid-template-columns: repeat(5, minmax(130px, 1fr)) auto;
}

.resco-mu-it-filters {
    grid-template-columns: minmax(220px, 2fr) repeat(4, minmax(130px, 1fr)) auto;
}

.resco-mu-filters label {
    display: grid;
    gap: 4px;
    font-weight: 600;
}

.resco-mu-filters input,
.resco-mu-filters select {
    width: 100%;
}

.resco-mu-match-list {
    margin: 16px 0 24px;
}

.resco-mu-match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}

.resco-mu-match-grid a {
    display: grid;
    gap: 3px;
    padding: 11px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.resco-mu-match-grid a:hover,
.resco-mu-match-grid a:focus {
    border-color: #2563eb;
    background: #eff6ff;
}

.resco-mu-history-scroll {
    max-width: min(720px, 80vw);
    overflow-x: auto;
}

.resco-mu-all-requests {
    margin-top: 30px;
}

.resco-mu-victim-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid #dbe3ea;
}

.resco-mu-empty-module {
    min-height: 180px;
    padding: 12px 0;
}

.resco-mu-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #dbe3ea;
}

.resco-mu-detail-header h2,
.resco-mu-detail-header p {
    margin: 0 0 5px;
}

.resco-mu-detail-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.resco-mu-detail-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 2fr);
    gap: 28px;
    padding: 20px 0;
}

.resco-mu-detail-grid h3,
.resco-mu-detail-history h3 {
    margin-top: 0;
}

.resco-mu-detail-form {
    max-width: 620px;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
}

.resco-mu-detail-form label:last-of-type,
.resco-mu-detail-form button {
    grid-column: 1 / -1;
}

.resco-mu-detail-history {
    padding-top: 18px;
    border-top: 1px solid #dbe3ea;
}

.resco-mu-detail-history .resco-mu-history-scroll {
    width: 100%;
    max-width: none;
}

.resco-mu-detail-history .resco-mu-log-table {
    width: 100%;
}

.resco-mu-request-map {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}

.resco-mu-request-map-canvas {
    display: block;
    width: 100%;
    height: 300px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f1f5f9;
}

.resco-mu-request-map-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.resco-mu-contact-admin-list {
    display: grid;
    gap: 8px;
    max-width: 1200px;
    margin: 10px 0 28px;
}

.resco-mu-contact-admin-row {
    display: grid;
    grid-template-columns: minmax(220px, 2fr) 110px auto auto auto;
    gap: 10px;
    align-items: end;
    padding: 10px;
    border-bottom: 1px solid #dbe3ea;
}

.resco-mu-contact-admin-contact {
    grid-template-columns: minmax(160px, 1fr) minmax(180px, 1.2fr) minmax(180px, 1fr) minmax(150px, 1fr) auto auto auto;
}

.resco-mu-contact-admin-contact[data-contact-id] {
    grid-template-columns: auto minmax(150px, 1fr) minmax(180px, 1.2fr) minmax(170px, 1fr) minmax(140px, 1fr) auto auto auto;
}

.resco-mu-order-buttons {
    display: inline-flex;
    align-self: center;
    gap: 4px;
}

.resco-mu-order-buttons .button {
    display: grid;
    place-items: center;
    min-width: 32px;
    padding: 0 8px;
    font-size: 17px;
    line-height: 1;
}

.resco-mu-contact-admin-row label {
    display: grid;
    gap: 4px;
    font-weight: 600;
}

.resco-mu-contact-admin-row input:not([type="checkbox"]),
.resco-mu-contact-admin-row select {
    width: 100%;
}

.resco-mu-contact-admin-new {
    background: #f8fafc;
}

.resco-mu-page-header h1 {
    margin: 18px 0;
}

.resco-mu-contact-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.resco-mu-warehouse-search {
    display: flex;
    align-items: end;
    gap: 10px;
    margin: 14px 0;
}

.resco-mu-warehouse-search label {
    display: grid;
    gap: 4px;
    width: min(520px, 100%);
    font-weight: 700;
}

.resco-mu-warehouse-search input {
    width: 100%;
}

.resco-mu-warehouse-victim-suggestions button {
    display: grid;
    gap: 2px;
    width: 100%;
    padding: 9px 11px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    text-align: left;
    cursor: pointer;
    color: #172033;
    font: inherit;
}

.resco-mu-warehouse-victim-suggestions button strong,
.resco-mu-warehouse-victim-suggestions button span {
    display: block;
    color: #172033;
}

.resco-mu-warehouse-victim-suggestions button span {
    color: #64748b;
    font-size: 13px;
}

.resco-mu-create-victim-link {
    color: #1d4ed8 !important;
    font-weight: 700;
}

.resco-mu-warehouse-form {
    max-width: 900px;
}

.resco-mu-warehouse-form h1,
.resco-mu-warehouse-form button {
    grid-column: 1 / -1;
}

.resco-mu-source-contact[hidden] {
    display: none !important;
}

.resco-mu-warehouse-detail-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 2fr);
    gap: 28px;
    padding: 20px 0;
}

.resco-mu-warehouse-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.resco-mu-dispose-form {
    padding-left: 16px;
    border-left: 3px solid #fecaca;
}

.resco-mu-dispose-form .is-hidden {
    display: none !important;
}

.resco-mu-undo-form {
    padding-left: 16px;
    border-left: 3px solid #94a3b8;
}

.resco-mu-undo-form p {
    margin-top: 0;
    color: #475569;
}

.resco-mu-warehouse-loaned > td {
    background: #fef9c3 !important;
}

.resco-mu-warehouse-overdue > td {
    background: #fee2e2 !important;
    font-weight: 600;
}

.resco-mu-warehouse-disposed > td {
    background: #e5e7eb !important;
    color: #6b7280;
}

.resco-mu-warehouse-disposed a {
    color: #4b5563;
}

.resco-mu-warehouse-all-loaned > td {
    background: #e5e7eb !important;
    color: #374151;
}

.resco-mu-warehouse-all-closed > td {
    background: #fee2e2 !important;
    color: #7f1d1d;
}

.resco-mu-warehouse-all-closed a {
    color: #991b1b;
}

.resco-mu-warehouse-bulk {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 10px 0 24px;
}

.resco-mu-toolbar-actions,
.resco-mu-bulk-intake-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resco-mu-warehouse-bulk-intake {
    max-width: 1100px;
}

.resco-mu-warehouse-bulk-intake h1 {
    margin-top: 0;
}

.resco-mu-warehouse-common-fields {
    margin-bottom: 18px;
}

.resco-mu-new-warehouse-fields.is-hidden {
    display: none !important;
}

.resco-mu-bulk-intake-row {
    display: grid;
    grid-template-columns: minmax(150px, .8fr) minmax(220px, 1.5fr) minmax(180px, 1fr) 34px;
    align-items: end;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

.resco-mu-bulk-intake-row label {
    display: grid;
    gap: 4px;
    font-weight: 700;
}

.resco-mu-remove-bulk-row {
    min-width: 34px !important;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    font-size: 20px !important;
    line-height: 32px !important;
}

.resco-mu-bulk-intake-actions {
    justify-content: space-between;
    margin-top: 14px;
}

.ui-datepicker {
    z-index: 10000 !important;
}

.resco-mu-it-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.resco-mu-it-header h1,
.resco-mu-it-header p {
    margin: 0 0 4px;
}

.resco-mu-it-header nav {
    display: flex;
    gap: 14px;
    padding-top: 8px;
}

.resco-mu-it-form {
    max-width: 900px;
}

.resco-mu-it-form h2,
.resco-mu-it-form .resco-mu-it-wide,
.resco-mu-it-form > button {
    grid-column: 1 / -1;
}

.resco-mu-it-form .resco-mu-it-stack-field {
    grid-column: 1;
}

.resco-mu-it-form input[type="file"] {
    padding: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.resco-mu-it-document {
    max-width: 860px;
}

.resco-mu-it-document h2 {
    margin-top: 0;
}

.resco-mu-help-document h3 {
    margin-top: 24px;
}

.resco-mu-it-ticket-detail {
    max-width: 1000px;
}

.resco-mu-it-ticket-detail > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #cbd5e1;
}

.resco-mu-it-ticket-detail h2 {
    margin: 0 0 4px;
}

.resco-mu-it-ticket-detail header p {
    margin: 0 0 14px;
    color: #64748b;
}

.resco-mu-it-ticket-detail dl {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 30px;
    margin: 18px 0;
}

.resco-mu-it-ticket-detail dl div {
    min-width: 140px;
}

.resco-mu-it-ticket-detail dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.resco-mu-it-ticket-detail dd {
    margin: 2px 0 0;
}

.resco-mu-it-ticket-body {
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.resco-mu-it-status {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 4px;
    background: #dbeafe;
    color: #1e40af;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.resco-mu-it-status.is-in_progress {
    background: #fef3c7;
    color: #92400e;
}

.resco-mu-it-status.is-closed {
    background: #e5e7eb;
    color: #4b5563;
}

.resco-mu-it-public-label {
    display: inline-block;
    width: fit-content;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #e0f2fe;
    color: #075985;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    vertical-align: middle;
}

.resco-mu-note {
    color: #64748b;
    font-size: 13px;
}

.resco-mu-it-status-form {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin-top: 20px;
}

.resco-mu-it-status-form label {
    display: grid;
    gap: 4px;
    font-weight: 700;
}

.resco-mu-it-conversation {
    margin: 20px 0;
}

.resco-mu-it-message {
    margin: 0 0 10px;
    padding: 12px 14px;
    border-left: 4px solid #94a3b8;
    background: #f8fafc;
}

.resco-mu-it-message.is-admin {
    border-left-color: #2563eb;
    background: #eff6ff;
}

.resco-mu-it-message.is-user {
    border-left-color: #d97706;
    background: #fffbeb;
}

.resco-mu-it-message header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.resco-mu-it-message time {
    color: #64748b;
    font-size: 12px;
}

.resco-mu-it-reply-form {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    max-width: 760px;
}

.resco-mu-it-reply-form label {
    display: grid;
    gap: 5px;
    font-weight: 700;
}

.resco-mu-it-reply-form button {
    justify-self: start;
}

.resco-mu-it-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.resco-mu-it-delete-form .button-link-delete {
    color: #b91c1c;
}

.resco-mu-it-filters input[type="search"] {
    min-width: 220px;
}

.resco-mu-it-row-high > td {
    background: #fef9c3 !important;
}

.resco-mu-it-row-critical > td {
    background: #fee2e2 !important;
    font-weight: 600;
}

.resco-mu-it-row-closed > td {
    background: #dcfce7 !important;
}

.resco-mu-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.resco-mu-public-registration {
    max-width: 900px;
    margin-inline: auto;
}

.resco-mu-public-service-area,
.resco-mu-public-free-warning {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-left: 4px solid #0b6bcb;
    background: #f1f7fd;
}

.resco-mu-public-free-warning {
    border-color: #b91c1c;
    background: #fff1f2;
    color: #7f1d1d;
}

.resco-mu-public-registration-form {
    position: relative;
}

.resco-mu-public-registration-form fieldset {
    min-width: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
}

.resco-mu-public-registration-form fieldset .resco-mu-checkbox-field {
    margin: 6px 0;
}

.resco-mu-volunteer-expertise-block > label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.resco-mu-volunteer-extra-expertise {
    margin-top: 8px;
}

.resco-mu-volunteer-extra-expertise summary {
    cursor: pointer;
    color: #0b4f91;
    font-weight: 600;
    text-decoration: underline;
}

.resco-mu-volunteer-extra-expertise fieldset {
    display: grid;
    gap: 4px;
    margin: 8px 0 0;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
}

.resco-mu-public-address + .resco-mu-public-address-id + datalist + small,
.resco-mu-public-address ~ small {
    color: #475569;
    font-weight: 400;
}

.resco-mu-public-verification-note {
    color: #475569;
    font-size: 14px;
}

@media (max-width: 720px) {
    .resco-mu-bulk-intake-row {
        grid-template-columns: 1fr;
    }

    .resco-mu-remove-bulk-row {
        justify-self: end;
    }
}

.resco-mu-contact-section {
    margin: 0 0 26px;
}

.resco-mu-contact-section h2 {
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #cbd5e1;
    font-size: 20px;
}

.resco-mu-contact-list {
    display: grid;
}

.resco-mu-contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 4px;
    border-bottom: 1px solid #e5e7eb;
}

.resco-mu-contact-item div,
.resco-mu-contact-item span {
    display: grid;
    gap: 2px;
}

.resco-mu-contact-item span {
    color: #64748b;
}

.resco-mu-contact-item a {
    white-space: nowrap;
    font-size: 17px;
    font-weight: 700;
}

.resco-mu-inactive-contacts {
    margin-top: 34px;
    padding-top: 12px;
    border-top: 1px solid #d1d5db;
    color: #9ca3af;
    font-size: 12px;
}

.resco-mu-inactive-contacts h2 {
    font-size: 14px;
}

.resco-mu-inactive-contacts p {
    margin: 3px 0;
}

.resco-mu-inactive-contacts p span {
    margin-left: 5px;
    font-weight: 600;
}

.resco-mu-request-map a {
    width: max-content;
    font-weight: 600;
}

.resco-mu .leaflet-control-zoom a,
.resco-mu .leaflet-control-zoom a:hover,
.resco-mu .leaflet-control-zoom a:focus {
    border-bottom: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.resco-mu-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    margin: 14px 0 18px;
}

.resco-mu-info-header > div {
    min-width: 0;
}

.resco-mu-info-header h1 {
    margin: 0;
}

.resco-mu-info-header p {
    margin: 3px 0 0;
    color: #64748b;
}

.resco-mu-info-header > .button {
    flex: 0 0 auto;
    margin: 0;
}

.resco-mu-info-editor {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.resco-mu-info-editor > input[type="text"],
.resco-mu-info-editor > textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 7px 2px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #111827;
}

.resco-mu-info-editor > input[type="text"] {
    font-size: 18px;
    font-weight: 700;
}

.resco-mu-info-editor > textarea {
    resize: vertical;
    font-size: 15px;
    line-height: 1.55;
}

.resco-mu-info-editor-footer,
.resco-mu-info-note footer,
.resco-mu-info-note-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.resco-mu-info-editor-footer {
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(100, 116, 139, 0.28);
}

.resco-mu-info-colors {
    display: flex;
    gap: 7px;
    margin: 0;
    padding: 0;
    border: 0;
}

.resco-mu-info-colors legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.resco-mu-info-colors label {
    display: block;
    cursor: pointer;
}

.resco-mu-info-colors input {
    position: absolute;
    opacity: 0;
}

.resco-mu-info-colors label > span:not(.screen-reader-text) {
    display: block;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid #9ca3af;
    border-radius: 50%;
}

.resco-mu-info-colors input:checked + span {
    border: 3px solid #111827;
}

.resco-mu-info-public {
    font-size: 13px;
    font-weight: 600;
}

.resco-mu-info-public-options {
    display: grid;
    gap: 6px;
}

.resco-mu-info-editor-actions {
    display: flex;
    gap: 8px;
}

.resco-mu-info-filters {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 18px 0 22px;
}

.resco-mu-info-filters a {
    padding: 7px 12px;
    border-radius: 4px;
    color: #374151;
    text-decoration: none;
    font-weight: 700;
}

.resco-mu-info-filters a[aria-current="page"] {
    background: #e5e7eb;
    color: #111827;
}

.resco-mu-info-board {
    columns: 4 240px;
    column-gap: 14px;
}

.resco-mu-info-note {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 14px;
    padding: 14px;
    break-inside: avoid;
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: 8px;
    color: #111827;
}

.resco-mu-info-note h2 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.3;
}

.resco-mu-info-note-body {
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.resco-mu-info-note-body.is-collapsed {
    max-height: 22.5em;
    overflow: hidden;
}

.resco-mu-info-note-more {
    margin-top: 7px;
    padding: 0;
    font-weight: 700;
}

.resco-mu-info-note footer {
    align-items: stretch;
    flex-direction: column;
    margin-top: 18px;
    padding-top: 9px;
    border-top: 1px solid rgba(100, 116, 139, 0.25);
}

.resco-mu-info-note footer > div:first-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.resco-mu-info-note small {
    color: #64748b;
    font-size: 11px;
}

.resco-mu-info-visibility {
    width: max-content;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.resco-mu-info-visibility.is-private {
    color: #6d28d9;
}

.resco-mu-info-note-actions {
    width: 100%;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    margin-top: 7px;
}

.resco-mu-info-note-actions form {
    margin: 0;
}

.resco-mu .resco-mu-info-note-actions .button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 0 !important;
    min-height: 30px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

.resco-mu .resco-mu-info-note-actions .button-link-delete {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 5px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #b91c1c !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: underline;
}

.resco-mu-info-empty {
    text-align: center;
    color: #64748b;
}

.resco-mu-info-editor.is-yellow,
.resco-mu-info-note.is-yellow,
.resco-mu-info-colors .is-yellow { background: #fef3c7; }
.resco-mu-info-editor.is-blue,
.resco-mu-info-note.is-blue,
.resco-mu-info-colors .is-blue { background: #dbeafe; }
.resco-mu-info-editor.is-green,
.resco-mu-info-note.is-green,
.resco-mu-info-colors .is-green { background: #dcfce7; }
.resco-mu-info-editor.is-pink,
.resco-mu-info-note.is-pink,
.resco-mu-info-colors .is-pink { background: #fce7f3; }
.resco-mu-info-editor.is-gray,
.resco-mu-info-note.is-gray,
.resco-mu-info-colors .is-gray { background: #e5e7eb; }
.resco-mu-info-editor.is-white,
.resco-mu-info-note.is-white,
.resco-mu-info-colors .is-white { background: #fff; }

.resco-mu-volunteer-form {
    max-width: 980px;
}

.resco-mu-volunteer-current {
    margin: 0 0 24px;
}

.resco-mu-volunteer-current h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.resco-mu-volunteer-history {
    margin: 28px 0 12px;
    padding-top: 20px;
    border-top: 1px solid #d1d5db;
}

.resco-mu-volunteer-history h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.resco-mu-volunteer-request-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.resco-mu-volunteer-request-actions form {
    margin: 0;
}

.resco-mu-text-izs {
    color: #b91c1c;
}

.resco-mu-volunteer-form .resco-mu-grid {
    margin-bottom: 24px;
}

.resco-mu-volunteer-matches {
    margin: 24px 0;
    padding-top: 18px;
    border-top: 1px solid #d1d5db;
}

.resco-mu-volunteer-matches h2 {
    margin: 0 0 5px;
    font-size: 20px;
}

.resco-mu-volunteer-match-hint {
    margin: 0 0 5px;
    color: #64748b;
}

.resco-mu-volunteer-show-all {
    display: inline-block;
    margin: 0 0 12px;
}

.resco-mu-volunteer-match-list {
    display: grid;
    gap: 8px;
}

.resco-mu-volunteer-match-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 4px;
}

.resco-mu-volunteer-match-pagination[hidden] {
    display: none !important;
}

.resco-mu-volunteer-match-pagination span {
    color: #475569;
    font-size: 13px;
}

.resco-mu-volunteer-match,
.resco-mu-volunteer-match-none {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.resco-mu-volunteer-match:hover {
    border-color: #2563eb;
}

.resco-mu-volunteer-match > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.resco-mu-volunteer-match span,
.resco-mu-volunteer-match small {
    overflow-wrap: anywhere;
}

.resco-mu-volunteer-match small {
    color: #64748b;
}

.resco-mu-volunteer-match-description {
    margin: 5px 0 3px;
    padding-left: 9px;
    border-left: 3px solid #cbd5e1;
    white-space: normal;
}

.resco-mu-volunteer-form-actions {
    display: flex;
    justify-content: flex-end;
}

.resco-mu-volunteer-delete {
    margin-top: 24px;
}

.resco-mu-volunteer-table td {
    vertical-align: middle;
}

.resco-mu-volunteer-search {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 9px;
    margin: 14px 0 20px;
}

.resco-mu-volunteer-search label {
    flex: 1 1 320px;
}

.resco-mu-volunteer-search input[type="search"] {
    width: 100%;
}

.resco-mu-volunteer-unavailable td {
    background: #f3f4f6 !important;
    color: #9ca3af;
}

.resco-mu-volunteer-unavailable a,
.resco-mu-victim-suggestions a.is-unavailable {
    color: #6b7280;
}

.resco-mu-volunteer-onsite {
    display: block;
    width: fit-content;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
}

.resco-mu-victim-suggestions a.is-unavailable {
    background: #f3f4f6;
}

.resco-mu-volunteer-register {
    display: block;
    margin-top: 5px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
}

.resco-mu-request-volunteer-field[hidden],
.resco-mu-volunteer-match[hidden],
.resco-mu-volunteer-member-count[hidden],
.resco-mu-volunteer-register[hidden] {
    display: none !important;
}

.resco-mu-offer-form {
    max-width: 900px;
}

.resco-mu-offer-form textarea {
    width: 100%;
}

.resco-mu-offer-filters {
    grid-template-columns: minmax(240px, 2fr) minmax(145px, 1fr) minmax(145px, 1fr) auto;
}

.resco-mu-offer-description {
    min-width: 260px;
    white-space: normal;
}

.resco-mu-offer-status-form {
    margin: 0;
}

.resco-mu-offer-status-form .button {
    white-space: nowrap;
}

.resco-mu-offer-inactive > td {
    background: #f3f4f6 !important;
    color: #6b7280;
}

.resco-mu-offer-inactive a {
    color: #6b7280;
}

.resco-mu-connect-bar {
    position: sticky;
    z-index: 900;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .08);
}

.resco-mu-connect-state,
.resco-mu-connect-call {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.resco-mu-connect-status {
    width: auto;
    min-width: 145px;
}

.resco-mu-connect-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #94a3b8;
}

.resco-mu-connect-indicator.is-available { background: #16a34a; }
.resco-mu-connect-indicator.is-break { background: #f59e0b; }
.resco-mu-connect-indicator.is-offline { background: #64748b; }
.resco-mu-connect-indicator.is-error { background: #dc2626; }

.resco-mu-connect-message {
    color: #475569;
    font-size: 13px;
}

.resco-mu-connect-ccp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: .01;
    pointer-events: none;
}

.resco-mu-connect-dialog {
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 50px);
    padding: 18px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
}

.resco-mu-connect-dialog::backdrop {
    background: rgba(15, 23, 42, .55);
}

.resco-mu-connect-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.resco-mu-connect-dialog-header h2 { margin: 0; }

.resco-mu-connect-close {
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.resco-mu-connect-dialog-phone {
    font-size: 18px;
    font-weight: 700;
}

.resco-mu-connect-result {
    display: grid;
    gap: 2px;
    margin: 7px 0;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-decoration: none;
}

.resco-mu-connect-create { margin: 4px 6px 4px 0 !important; }

.resco-mu-connect-status-table input { width: 100%; }

.resco-mu-user-settings-form {
    max-width: 620px;
}

.resco-mu-user-settings-form fieldset {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.resco-mu-user-settings-form legend {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
}

.resco-mu-user-settings-form label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.resco-mu-inline-fieldset {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.resco-mu-inline-fieldset legend {
    padding: 0 6px;
    font-weight: 700;
}

.resco-mu-print-template {
    min-height: 250px;
}

.resco-mu-operator-shell {
    width: 100%;
    max-width: none;
}

.resco-mu-operator-frame {
    display: block;
    width: 100%;
    height: calc(100vh - 190px);
    min-height: 620px;
    border: 0;
    background: #fff;
}

body.resco-mu-connect-embedded #masthead,
body.resco-mu-connect-embedded .site-header,
body.resco-mu-connect-embedded #colophon,
body.resco-mu-connect-embedded .site-footer {
    display: none !important;
}

body.resco-mu-connect-embedded .site-content,
body.resco-mu-connect-embedded main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.resco-mu-dashboard-critical {
    margin: 26px 0;
}

.resco-mu-dashboard-critical h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.resco-mu-dashboard-critical .resco-mu-public-list {
    margin-top: 8px;
}

.resco-mu-import-limit {
    margin: 14px 0 !important;
    border-left-width: 6px !important;
}

.wp-dark-mode-active {
    .resco-mu-public {
        color: #e5e7eb;
    }

    .resco-mu-public a:not(.button):not(.resco-mu-detail-link),
    .resco-mu-public .resco-mu-create-victim-link {
        color: #93c5fd !important;
    }

    .resco-mu-public .resco-mu-main-nav {
        border-color: #475569;
    }

    .resco-mu-public .resco-mu-main-nav a {
        color: #dbeafe !important;
    }

    .resco-mu-public .resco-mu-main-nav a:hover,
    .resco-mu-public .resco-mu-main-nav a:focus,
    .resco-mu-public .resco-mu-main-nav a[aria-current="page"] {
        background: #334155;
        color: #fff !important;
    }

    .resco-mu-public input:not([type="checkbox"]):not([type="radio"]),
    .resco-mu-public select,
    .resco-mu-public textarea,
    .resco-mu-public .resco-mu-card,
    .resco-mu-public .resco-mu-dashboard-stats div,
    .resco-mu-public .resco-mu-volunteer-match,
    .resco-mu-public .resco-mu-volunteer-match-none,
    .resco-mu-public .resco-mu-victim-suggestions,
    .resco-mu-public .resco-mu-warehouse-victim-suggestions button,
    .resco-mu-public .resco-mu-manual-address-fields,
    .resco-mu-public .resco-mu-it-message {
        border-color: #475569;
        background: #111827;
        color: #f8fafc;
    }

    .resco-mu-public .resco-mu-public-table th,
    .resco-mu-public .resco-mu-contact-admin-new {
        background: #1e293b;
        color: #f8fafc;
    }

    .resco-mu-public .resco-mu-public-table td,
    .resco-mu-public .resco-mu-public-table th,
    .resco-mu-public .resco-mu-contact-item,
    .resco-mu-public .resco-mu-bulk-intake-row {
        border-color: #374151;
    }

    .resco-mu-public .resco-mu-victim-suggestions a,
    .resco-mu-public .resco-mu-warehouse-victim-suggestions button strong,
    .resco-mu-public .resco-mu-warehouse-victim-suggestions button span {
        border-color: #374151;
        color: #f8fafc !important;
    }

    .resco-mu-public .resco-mu-victim-suggestions a:hover,
    .resco-mu-public .resco-mu-victim-suggestions a:focus {
        background: #1e3a5f;
    }

    .resco-mu-public .resco-mu-age,
    .resco-mu-public .resco-mu-map-legend,
    .resco-mu-public .resco-mu-dashboard-stats span,
    .resco-mu-public .resco-mu-volunteer-match-hint,
    .resco-mu-public .resco-mu-volunteer-match small,
    .resco-mu-public .resco-mu-it-ticket-detail dt,
    .resco-mu-public .resco-mu-it-ticket-detail header p,
    .resco-mu-public .resco-mu-info-header p,
    .resco-mu-public .resco-mu-info-empty {
        color: #cbd5e1;
    }

    .resco-mu-public .resco-mu-volunteer-extra-expertise summary {
        color: #93c5fd;
    }

    .resco-mu-public .resco-mu-volunteer-extra-expertise fieldset {
        border-color: #475569;
    }

    .resco-mu-public .resco-mu-public-service-area {
        border-color: #60a5fa;
        background: #172554;
        color: #dbeafe;
    }

    .resco-mu-public .resco-mu-public-free-warning {
        border-color: #f87171;
        background: #450a0a;
        color: #fee2e2;
    }

    .resco-mu-public .resco-mu-notice,
    .resco-mu-public .resco-mu-victim-panel,
    .resco-mu-public .resco-mu-it-message.is-admin {
        background: #172554;
        color: #dbeafe;
    }

    .resco-mu-public .resco-mu-victim-panel.resco-mu-victim-stop-help {
        border-color: #f87171;
        background: #450a0a;
        color: #fee2e2;
    }

    .resco-mu-public .resco-mu-victim-stop-help .resco-mu-stop-help-title {
        color: #fca5a5;
    }

    .resco-mu-public .resco-mu-it-message.is-user {
        background: #451a03;
        color: #fef3c7;
    }

    .resco-mu-public .resco-mu-row-sla > td,
    .resco-mu-public .resco-mu-row-sla > th,
    .resco-mu-public .resco-mu-warehouse-loaned > td,
    .resco-mu-public .resco-mu-it-row-high > td {
        background: #422006 !important;
        color: #fef3c7;
    }

    .resco-mu-public .resco-mu-row-izs > td,
    .resco-mu-public .resco-mu-row-izs > th,
    .resco-mu-public .resco-mu-warehouse-overdue > td,
    .resco-mu-public .resco-mu-it-row-critical > td {
        background: #450a0a !important;
        color: #fee2e2;
    }

    .resco-mu-public .resco-mu-row-in-progress > td,
    .resco-mu-public .resco-mu-row-in-progress > th {
        background: #172554 !important;
        color: #dbeafe;
    }

    .resco-mu-public .resco-mu-warehouse-disposed > td,
    .resco-mu-public .resco-mu-volunteer-unavailable td,
    .resco-mu-public .resco-mu-offer-inactive > td {
        background: #1f2937 !important;
        color: #9ca3af;
    }

    .resco-mu-public .resco-mu-row-resolved > td,
    .resco-mu-public .resco-mu-row-resolved > th,
    .resco-mu-public .resco-mu-it-row-closed > td {
        background: #052e16 !important;
        color: #dcfce7;
    }

    .resco-mu-public .resco-mu-info-note,
    .resco-mu-public .resco-mu-info-note a,
    .resco-mu-public .resco-mu-info-editor,
    .resco-mu-public .resco-mu-info-editor input,
    .resco-mu-public .resco-mu-info-editor textarea,
    .resco-mu-public .leaflet-popup-content,
    .resco-mu-public .leaflet-popup-content a {
        color: #111827 !important;
    }

    .resco-mu-public .resco-mu-connect-bar,
    .resco-mu-public .resco-mu-connect-dialog {
        border-color: #475569;
        background: #111827;
        color: #e5e7eb;
    }

    .resco-mu-public .resco-mu-connect-message {
        color: #cbd5e1;
    }

    .resco-mu-public .resco-mu-it-public-label {
        background: #075985;
        color: #e0f2fe;
    }

    .resco-mu-public .resco-mu-note {
        color: #cbd5e1;
    }

    .resco-mu-public .resco-mu-connect-result {
        border-color: #475569;
    }

    .flatpickr-calendar,
    .flatpickr-months .flatpickr-month,
    .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-time input,
    .flatpickr-time .flatpickr-am-pm {
        border-color: #475569;
        background: #111827;
        color: #e5e7eb;
    }

    .flatpickr-day,
    span.flatpickr-weekday,
    .flatpickr-current-month input.cur-year {
        color: #e5e7eb;
    }

    .flatpickr-day:hover,
    .flatpickr-day:focus {
        border-color: #475569;
        background: #334155;
    }
}

@media (max-width: 720px) {
    .resco-mu-main-nav .resco-mu-nav-logout {
        margin-left: 0;
    }

    .resco-mu-connect-bar {
        align-items: stretch;
        flex-direction: column;
    }
    .resco-mu-info-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .resco-mu-info-editor-footer,
    .resco-mu-info-note footer {
        align-items: stretch;
        flex-direction: column;
    }
    .resco-mu-dashboard-map {
        height: 340px;
    }
    .resco-mu-contact-admin-row,
    .resco-mu-contact-admin-contact,
    .resco-mu-contact-admin-contact[data-contact-id] {
        grid-template-columns: 1fr;
    }
    .resco-mu-contact-item {
        align-items: start;
        flex-direction: column;
        gap: 5px;
    }
    .resco-mu-warehouse-detail-grid {
        grid-template-columns: 1fr;
    }
    .resco-mu-warehouse-search {
        align-items: stretch;
        flex-direction: column;
    }
    .resco-mu-grid {
        grid-template-columns: 1fr;
    }

    .resco-mu-manual-address-fields {
        grid-template-columns: 1fr;
    }

    .resco-mu-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .resco-mu-filters {
        grid-template-columns: 1fr;
    }

    .resco-mu-detail-header,
    .resco-mu-detail-grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .resco-mu-detail-form {
        grid-template-columns: 1fr;
    }

    .resco-mu-victim-detail {
        display: grid;
    }

    .resco-mu-victim-related {
        grid-template-columns: 1fr;
    }
}
