:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #18212f;
    --muted: #667487;
    --line: #dbe3ee;
    --accent: #1f6feb;
    --accent-soft: #e8f0ff;
    --success-bg: #e8f8ee;
    --success-text: #1c7c43;
    --shadow: 0 10px 30px rgba(22, 33, 60, 0.08);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a { color: inherit; text-decoration: none; }

.container {
    width: min(1400px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: #101827;
    color: #fff;
    box-shadow: var(--shadow);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}

.brand {
    font-size: 20px;
    font-weight: 700;
}

.nav a {
    color: #d6deeb;
    margin-left: 16px;
}

.page {
    padding: 24px 0 40px;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.hero h1,
.page-head h1,
.card h2 {
    margin-top: 0;
}

.page-head,
.page-head-with-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-actions,
.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 220px;
}

.field.grow {
    flex: 1 1 420px;
}

input,
select {
    min-height: 42px;
    border-radius: 12px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.btn.secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.btn.small {
    min-height: 34px;
    padding: 0 12px;
    font-size: 14px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    font-size: 14px;
    color: var(--muted);
    font-weight: 700;
}

.empty {
    text-align: center;
    color: var(--muted);
    padding: 22px 10px;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

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

.badge.muted-badge {
    background: #eef2f7;
    color: #667487;
}

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

.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.details .wide {
    grid-column: 1 / -1;
}

.details dt {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 4px;
}

.details dd {
    margin: 0;
    white-space: pre-wrap;
}

@media (max-width: 980px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 20px, 1400px);
    }

    .topbar-inner,
    .page-head,
    .page-head-with-actions,
    .pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .details {
        grid-template-columns: 1fr;
    }
}


.title-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
}

.title-link:hover {
    text-decoration: underline;
}


.object-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.object-head-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.object-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.object-card-title {
    margin-bottom: 18px;
}

.object-number {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 6px;
}

.object-card-title h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.info-box,
.description-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 16px;
}

.info-label {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.info-value {
    font-size: 16px;
    line-height: 1.45;
    color: #111827;
    word-break: break-word;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.section-title-row h3 {
    margin: 0;
}

.sensor-count {
    font-size: 14px;
    color: #6b7280;
    font-weight: 600;
}

.sensor-num {
    font-weight: 700;
    white-space: nowrap;
}

.empty-block {
    padding: 18px;
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    color: #6b7280;
}

@media (max-width: 768px) {
    .object-card {
        padding: 16px;
    }

    .object-card-title h2 {
        font-size: 22px;
    }
}


.requests-placeholder {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    flex-wrap: wrap;
}

.request-main {
    min-width: 220px;
    flex: 1;
}

.request-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.request-meta {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.request-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.status-open {
    background: #fef3c7;
    color: #92400e;
}

.status-closed {
    background: #dcfce7;
    color: #166534;
}

.status-muted {
    background: #e5e7eb;
    color: #374151;
}

/* nav spacing fix */
.topbar .main-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px !important;
    column-gap: 18px !important;
    row-gap: 12px !important;
    align-items: center !important;
}

.topbar .nav-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    padding: 0 22px !important;
    margin: 0 !important;
}

.maintenance-form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.maintenance-select {
    min-width: 240px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-size: 15px;
}


/* object header final clean fix */
.object-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.object-header-left {
    flex: 1 1 520px;
    min-width: 320px;
}

.object-header-left h1 {
    margin: 0 0 10px 0;
}

.object-header-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.4;
}

.object-header-right {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .object-header-right {
        width: 100%;
        justify-content: flex-start;
    }
}


/* space under top menu */
.page-content {
    padding-top: 18px !important;
}

.object-header {
    margin-top: 10px !important;
}

.request-form-card {
    max-width: 900px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}

.request-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    min-width: 130px;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .request-side {
        width: 100%;
        align-items: flex-start;
    }
}

.request-form-card {
    max-width: 980px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid,
.filters-grid,
.request-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}

.request-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    min-width: 130px;
}

.request-link {
    color: var(--accent, #2563eb);
    font-weight: 700;
    text-decoration: none;
}

.request-link:hover {
    text-decoration: underline;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pager {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.pager-info {
    color: #6b7280;
    font-weight: 600;
}

@media (max-width: 900px) {
    .form-grid,
    .filters-grid,
    .request-summary-grid {
        grid-template-columns: 1fr;
    }

    .request-side {
        width: 100%;
        align-items: flex-start;
    }
}

.topbar-inner {
    justify-content: space-between;
    gap: 16px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 700;
    white-space: nowrap;
}

.logout-btn {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.login-wrap {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 460px;
}

.request-form-card {
    max-width: 980px;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-grid,
.filters-grid,
.request-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}

.form-group textarea {
    resize: vertical;
}

.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 600;
}

.request-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    min-width: 130px;
}

.request-link {
    color: var(--accent, #2563eb);
    font-weight: 700;
    text-decoration: none;
}

.request-link:hover {
    text-decoration: underline;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pager {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.pager-info {
    color: #6b7280;
    font-weight: 600;
}

@media (max-width: 900px) {
    .form-grid,
    .filters-grid,
    .request-summary-grid {
        grid-template-columns: 1fr;
    }

    .request-side {
        width: 100%;
        align-items: flex-start;
    }

    .topbar-inner {
        align-items: flex-start;
    }

    .topbar-user {
        width: 100%;
        justify-content: flex-start;
    }
}

.request-desc {
    margin: 8px 0 6px 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    color: #111827;
}

.request-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.photo-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #c7d2fe;
}

.photo-link:hover {
    text-decoration: underline;
}

.request-desc {
    margin: 8px 0 6px 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
    color: #111827;
}

.request-photos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.photo-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #c7d2fe;
}

.photo-link:hover {
    text-decoration: underline;
}

.request-desc {
    margin: 8px 0 6px 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
    color: #111827;
}

.status-done {
    background: #dbeafe;
    color: #1d4ed8;
}

.topbar-user .user-badge,
.topbar-user .logout-btn {
    min-height: 40px;
    border-radius: 12px;
}

.topbar-user .logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
}

.flash-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.flash {
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}

.flash-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

.flash-error {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.top-spacer {
    margin-top: 16px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #eef2ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
    font-weight: 700;
    line-height: 1;
}

.topbar-user .logout-btn {
    min-height: 40px;
    padding: 0 14px;
}

.check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.check-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    font-weight: 600;
}

.coord-ok {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-weight: 700;
}

.coord-missing {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 700;
}

.map-canvas {
    width: 100%;
    height: 72vh;
    min-height: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d1d5db;
}

.status-assigned {
    background: #fee2e2;
    color: #b91c1c;
}

.maint-marker {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border: 3px solid rgba(255,255,255,0.95);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.maint-open {
    background: #f59e0b;
}

.maint-assigned {
    background: #ef4444;
}

.maint-closed {
    background: #16a34a;
}

.map-popup {
    min-width: 280px;
}

.map-popup-title {
    font-weight: 800;
    margin-bottom: 6px;
    color: #111827;
}

.map-popup-count {
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 13px;
}

.map-popup-item {
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

.map-popup-item:first-of-type {
    border-top: 0;
}

.map-popup-item-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.map-popup-item-meta,
.map-popup-tech {
    color: #4b5563;
    font-size: 13px;
    margin-bottom: 6px;
}

.map-popup-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.map-popup-btn.secondary {
    background: #f3f4f6;
    color: #111827;
}

.status-assigned {
    background: #fee2e2;
    color: #b91c1c;
}

.maint-marker {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border: 3px solid rgba(255,255,255,0.95);
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.maint-open {
    background: #f59e0b;
}

.maint-assigned {
    background: #ef4444;
}

.maint-closed {
    background: #16a34a;
}

.map-popup {
    min-width: 280px;
}

.map-popup-title {
    font-weight: 800;
    margin-bottom: 6px;
    color: #111827;
}

.map-popup-count {
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 13px;
}

.map-popup-item {
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

.map-popup-item:first-of-type {
    border-top: 0;
}

.map-popup-item-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.map-popup-item-meta,
.map-popup-tech {
    color: #4b5563;
    font-size: 13px;
    margin-bottom: 6px;
}

.map-popup-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.map-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.map-popup-btn.secondary {
    background: #f3f4f6;
    color: #111827;
}

.field-hint {
    margin-top: 8px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

.tech-tasks-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tech-task-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.tech-task-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tech-task-type {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 700;
    font-size: 13px;
}

.tech-task-object {
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.35;
}

.tech-task-address {
    color: #374151;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tech-task-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.4;
}

.tech-task-desc {
    color: #374151;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 10px;
}

.tech-task-line {
    color: #374151;
    font-size: 14px;
    margin-bottom: 10px;
}

.tech-task-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .tech-task-actions .btn,
    .tech-task-actions .btn.secondary {
        flex: 1 1 160px;
        justify-content: center;
    }
}

/* нормальные бейджи статусов */
.request-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.status-open {
    background: #ffedd5;
    color: #9a3412;
}

.status-done {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-closed {
    background: #dcfce7;
    color: #166534;
}

.status-muted {
    background: #f3f4f6;
    color: #4b5563;
}

.btn.danger {
    background: #dc2626;
    color: #fff;
    border: 1px solid #dc2626;
}

.btn.danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.request-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.status-open {
    background: #ffedd5;
    color: #9a3412;
}

.status-done {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-closed {
    background: #dcfce7;
    color: #166534;
}

.status-muted {
    background: #f3f4f6;
    color: #4b5563;
}

.status-assigned {
    background: #fee2e2;
    color: #b91c1c;
}


.map-popup-btn,
.map-popup-btn:visited,
.map-popup-btn:hover,
.map-popup-btn:active,
.map-popup-btn:focus {
    color: #fff;
}

.map-popup-btn.secondary,
.map-popup-btn.secondary:visited,
.map-popup-btn.secondary:hover,
.map-popup-btn.secondary:active,
.map-popup-btn.secondary:focus {
    color: #111827;
}
