:root {
    --brand: #ff8200;
    --brand-dark: #e07100;
    --ink: #111111;
    --muted: #6d6d6d;
    --line: #e6e6e6;
    --canvas: #f4f4f4;
    --sheet: #ffffff;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: var(--ink);
}

.btn-link {
    color: var(--ink);
    font-weight: 600;
}

.row-actions {
    position: relative;
    display: inline-block;
    text-align: left;
}

.row-actions-toggle {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 50%;
    padding: 0;
    display: inline-grid;
    place-items: center;
}

.row-actions-toggle svg {
    width: 18px;
    height: 18px;
}

.row-actions-toggle[aria-expanded="true"] {
    border-color: var(--brand);
    color: var(--brand);
}

.row-actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 15;
    min-width: 160px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
    padding: 6px;
}

.row-actions-menu[hidden] {
    display: none;
}

.row-actions-menu a,
.row-actions-menu button {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 600;
}

.row-actions-menu a:hover,
.row-actions-menu button:hover {
    background: #fff4e8;
    color: var(--ink);
    text-decoration: none;
}

.topbar,
.menu-sheet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 20px 8px;
}

.brand-logo {
    display: block;
    height: 42px;
    width: auto;
}

.menu-toggle,
.menu-close {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    flex: 0 0 auto;
}

.menu-toggle {
    border: 0;
    background: var(--ink);
    gap: 5px;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.menu-layer {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    background: rgba(17, 17, 17, 0.46);
}

.menu-layer[hidden] {
    display: none;
}

.menu-sheet {
    background: var(--sheet);
    border-radius: 0 0 28px 28px;
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.12);
    padding-bottom: 22px;
}

.menu-close {
    border: 1px solid #ececec;
    background: #fff;
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
}

.menu-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 920px;
    margin: 8px auto 0;
    padding: 8px 12px 6px;
}

.menu-item,
.menu-item-form {
    margin: 0;
}

.menu-item {
    width: 76px;
    border: 0;
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 0;
}

.menu-item:hover,
.menu-item:focus {
    color: var(--ink);
    text-decoration: none;
}

.menu-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid #dedede;
    display: grid;
    place-items: center;
    background: #fff;
}

.menu-icon svg {
    width: 26px;
    height: 26px;
}

.menu-item.is-active {
    color: var(--brand);
}

.menu-item.is-active .menu-icon {
    border-color: var(--brand);
    color: var(--brand);
}

.menu-backdrop {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0;
}

.panel-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 12px 20px 48px;
}

body.kanban-screen {
    overflow: hidden;
}

body.kanban-screen .topbar {
    max-width: none;
}

body.kanban-screen .panel-main {
    max-width: none;
    height: calc(100vh - 76px);
    padding: 4px 16px 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.kanban-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 12px;
}

.kanban-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.kanban-filters {
    display: grid;
    grid-template-columns: minmax(240px, 2fr) minmax(160px, 1fr) minmax(170px, 1fr) minmax(120px, 0.8fr) auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.kanban-filters .form-control {
    width: 100%;
    min-width: 0;
    min-height: 42px;
}

.kanban-filter-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.kanban-filters .btn-link {
    padding-left: 8px;
    padding-right: 8px;
}

.kanban-legend,
.kanban-card-top,
.lead-heading-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.kanban-board {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.kanban-column {
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.kanban-column-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 8px;
}

.kanban-cards {
    overflow: auto;
    padding: 8px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kanban-empty {
    margin: 8px 0 0;
}

.kanban-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.kanban-card-top {
    justify-content: space-between;
    margin-bottom: 8px;
}

.kanban-card-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.city-alert {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    padding: 0;
    background: #fff4e0;
    color: #b54708;
}

.city-alert svg {
    width: 18px;
    height: 18px;
}

.city-alert-list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.city-alert-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
}

.city-alert-list a:hover {
    color: inherit;
    text-decoration: none;
    border-color: var(--brand);
}

.kanban-card-link {
    display: grid;
    gap: 2px;
    color: var(--ink);
    text-decoration: none;
}

.kanban-card-link:hover {
    color: var(--ink);
    text-decoration: none;
}

.kanban-card-link span {
    color: var(--muted);
    font-size: 13px;
}

.temperature {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    background: #f4f4f4;
}

.temperature svg {
    width: 16px;
    height: 16px;
}

.temperature-hot {
    background: #fff1e6;
    color: #c2410c;
}

.temperature-cold {
    background: #e8f4ff;
    color: #185fa5;
}

.temperature-sad {
    background: #f3e8ff;
    color: #6d28d9;
}

@media (max-width: 900px) {
    body.kanban-screen {
        overflow: auto;
    }

    body.kanban-screen .panel-main {
        height: auto;
        overflow: visible;
    }

    .kanban-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .kanban-board {
        display: flex;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .kanban-column {
        flex: 0 0 min(85vw, 320px);
        min-height: 70vh;
    }
}

.panel-card {
    background: #fff;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.eyebrow {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.panel-card h1,
.panel-main h3 {
    font-weight: 800;
}

.shortcut {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 20px;
    padding: 16px 18px;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.shortcut:hover {
    color: var(--ink);
    text-decoration: none;
}

.shortcut-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #fff4e8;
    color: var(--brand);
    display: grid;
    place-items: center;
}

.shortcut-icon svg {
    width: 26px;
    height: 26px;
}

.shortcut strong,
.shortcut small {
    display: block;
}

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

.dashboard {
    display: grid;
    gap: 16px;
}

.dashboard-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
}

.dashboard-intro h1 {
    margin-bottom: 4px;
}

.dashboard-intro-stats {
    display: flex;
    gap: 22px;
}

.dashboard-intro-stats strong,
.stat-card strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.dashboard-intro-stats span,
.stat-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.stat-grid-plain {
    margin-top: 4px;
}

.stat-card {
    display: block;
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
    border-top: 3px solid transparent;
}

a.stat-card:hover {
    color: var(--ink);
    text-decoration: none;
}

.stat-under_review {
    border-top-color: var(--brand);
}

.stat-approved_for_interview {
    border-top-color: #1849a9;
}

.stat-hired {
    border-top-color: #067647;
}

.stat-denied,
.stat-cancelled {
    border-top-color: #b42318;
}

.stat-grid-plain .stat-card {
    box-shadow: none;
    background: var(--canvas);
}

.dashboard-filter {
    margin-top: -8px;
}

.dashboard .panel-card {
    overflow-x: auto;
}

.activity-log,
.activity-log ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.activity-log > li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.activity-log > li:first-child {
    border-top: 0;
    padding-top: 0;
}

.activity-log time {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.activity-log p {
    margin: 2px 0 0;
}

.activity-log ul li {
    color: var(--muted);
    font-size: 14px;
}

.lead-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.lead-search .form-control {
    flex: 1;
}

.lead-tools {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.lead-heading-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.contact-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #128c7e;
    color: #fff;
}

.contact-link svg {
    width: 18px;
    height: 18px;
}

.contact-link:hover {
    color: #fff;
    text-decoration: none;
}

.contact-draft {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f3fbf7;
}

.contact-draft p:last-of-type {
    margin-bottom: 12px;
}

.note-list {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.note {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.note p {
    white-space: pre-wrap;
    margin: 0 0 6px;
}

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

.note-meta .btn {
    padding: 0;
}

@media (max-width: 640px) {
    .lead-search {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .dashboard-intro {
        flex-direction: column;
        align-items: flex-start;
    }
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top, rgba(255, 130, 0, 0.18), transparent 42%),
        var(--canvas);
}

.login-card {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px 24px;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

.login-card .brand-logo {
    height: 52px;
    margin-bottom: 18px;
}

.login-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
}

.login-card p {
    color: var(--muted);
}

.login-card .btn-primary {
    width: 100%;
    border-radius: 999px;
    padding: 12px 16px;
}

.public-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(255, 130, 0, 0.18), transparent 32%),
        var(--canvas);
}

.public-wrap {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 28px 16px 56px;
}

.public-card {
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.08);
}

.public-card.narrow {
    width: min(480px, 100%);
    margin: 0 auto;
}

.public-card h1,
.wizard-step h2 {
    font-weight: 800;
}

.public-card .brand-logo {
    height: 52px;
    margin-bottom: 16px;
}

.public-links {
    margin: 18px 0 0;
}

.public-links a {
    color: var(--ink);
    font-weight: 700;
}

.lead-copy {
    color: var(--muted);
    margin-bottom: 22px;
}

.wizard-progress {
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

.wizard-progress li {
    flex: 1;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    border-bottom: 3px solid var(--line);
    padding-bottom: 10px;
}

.wizard-progress li.is-done {
    color: var(--muted);
    border-color: var(--brand);
}

.wizard-progress li.is-active {
    color: var(--ink);
    border-color: var(--brand);
}

.public-page .form-group label,
.panel-main .form-group label {
    font-weight: 700;
    font-size: 14px;
}

.public-page .form-control,
.panel-card .form-control {
    min-height: 48px;
    border-radius: 12px;
    border-color: #d9d9d9;
    font-size: 16px;
}

.public-page textarea.form-control,
.panel-card textarea.form-control {
    min-height: 96px;
}

.public-page .form-control:focus,
.panel-card .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.2);
}

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

.field-grid-city {
    grid-template-columns: 1fr 120px;
}

.wizard-next,
.wizard-nav .btn-primary {
    min-width: 160px;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.wizard-step[hidden] {
    display: none;
}

.field-error,
.question .field-error {
    display: block;
    color: #b42318;
    margin-top: 4px;
}

.question {
    border: 0;
    padding: 0;
    margin: 0 0 16px;
}

.question legend {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.choice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 8px 8px 0;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700;
    background: #fff;
}

.choice:has(input:checked) {
    border-color: var(--brand);
    background: #fff4e8;
}

.status-pill {
    display: inline-block;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    background: #fff4e8;
    color: #9a4d00;
}

.status-approved_for_interview {
    background: #e8f1ff;
    color: #1849a9;
}

.status-hired {
    background: #e7f8ef;
    color: #067647;
}

.status-denied,
.status-cancelled {
    background: #fdecec;
    color: #b42318;
}

.notice-modal[hidden] {
    display: none;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(17, 17, 17, 0.55);
}

.notice-dialog {
    width: min(420px, 100%);
    padding: 24px;
    border-radius: 16px;
    background: #fff;
}

.notice-dialog h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.photo-field {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.photo-file-fallback {
    position: fixed;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.camera-stage {
    width: min(100%, 320px);
    aspect-ratio: 3 / 4;
    margin: 12px auto;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
}

.camera-stage video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.camera-stage video.is-mirrored {
    transform: scaleX(-1);
}

.photo-label {
    margin: 0 0 8px;
    font-weight: 700;
}

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

.photo-field img[hidden] {
    display: none;
}

.photo-field img,
.edit-document > img {
    display: block;
    width: 120px;
    height: 120px;
    margin-top: 10px;
    border-radius: 12px;
    object-fit: cover;
}

.edit-document > img {
    margin-top: 0;
    margin-bottom: 10px;
}

.edit-document .photo-field {
    border: 0;
    padding: 0;
    background: transparent;
}

@media (max-width: 640px) {
    .field-grid,
    .field-grid-city,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .wizard-next,
    .wizard-nav .btn-primary {
        width: 100%;
    }
}

.crop-dialog {
    max-width: 420px;
}

.crop-stage {
    position: relative;
    width: min(100%, 320px);
    aspect-ratio: 1;
    margin: 12px auto;
    overflow: hidden;
    border-radius: 16px;
    background: #111;
    touch-action: none;
    cursor: grab;
}

.crop-stage img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    transform-origin: top left;
    user-select: none;
    pointer-events: none;
}

.crop-zoom {
    display: grid;
    gap: 6px;
    font-weight: 700;
    margin-bottom: 12px;
}

.status-details {
    padding-left: 18px;
}

.lead-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px 16px;
    margin: 0;
}

.lead-details div {
    min-width: 0;
}

.lead-details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.lead-details dd {
    margin: 0;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.document-grid figure {
    margin: 0;
}

.document-grid figure.is-rejected img {
    outline: 3px solid #b42318;
}

.doc-waiting,
.doc-reason {
    margin: 8px 0 0;
    font-size: 13px;
}

.doc-waiting {
    color: #b42318;
    font-weight: 700;
}

.doc-request textarea {
    margin-top: 8px;
    min-height: 64px;
}

.resubmit {
    margin-top: 18px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.resubmit h2 {
    font-size: 22px;
}

.document-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--canvas);
}

.arrival-stack {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: min(280px, calc(100vw - 32px));
    pointer-events: none;
}

.arrival-toast {
    position: relative;
    overflow: hidden;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff8f1 0%, #fff 55%);
    border: 1px solid #ffd7ad;
    box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
    animation: arrival-in 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.arrival-mood {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 3px;
}

.arrival-toast strong {
    display: block;
    font-size: 16px;
}

.arrival-toast span {
    color: var(--muted);
    font-size: 14px;
}

.arrival-toast.is-leaving {
    animation: arrival-out 0.35s ease forwards;
}

.arrival-burst {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.arrival-confetti {
    position: absolute;
    top: -6px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    animation: arrival-fall 1.1s ease-in 3;
}

@keyframes arrival-in {
    from {
        transform: translateY(28px) scale(0.86);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

@keyframes arrival-out {
    to {
        transform: translateY(16px);
        opacity: 0;
    }
}

@keyframes arrival-fall {
    to {
        transform: translateY(78px) rotate(200deg);
        opacity: 0;
    }
}

.document-grid figcaption {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
}

.map-layout {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.map-filter {
    margin: 0;
    min-width: 220px;
}

.map-filter .form-control {
    min-height: 42px;
}

.map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
}

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

.map-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff8200;
}

.map-dot-approved_for_interview {
    background: #1849a9;
}

.map-dot-hired {
    background: #067647;
}

.lead-map-wrap {
    position: relative;
    flex: 1;
    min-height: 0;
}

.lead-map {
    min-height: 0;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #e7eef4;
    border: 1px solid var(--line);
}

.map-empty {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 500;
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    color: var(--muted);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.leaflet-tooltip.map-label {
    border: 0;
    border-radius: 10px;
    padding: 4px 8px;
    background: #fff;
    color: #141414;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.leaflet-tooltip.map-label::before {
    border-top-color: #fff;
}

.map-popup {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.map-popup-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    background: #f3f3f3;
}

.map-popup strong {
    display: block;
    margin-bottom: 4px;
}

.map-popup p {
    margin: 0 0 4px;
}

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

.map-popup-actions a {
    text-decoration: none;
}

.map-popup-actions .map-open {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #fff1e6;
    color: #c2410c;
}

.map-popup-actions .map-open svg,
.map-popup-actions .contact-link svg {
    width: 18px;
    height: 18px;
}

.map-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #ff8200;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.map-cluster.is-hired {
    background: #067647;
}

@media (max-width: 900px) {
    .map-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .lead-map {
        height: 70vh;
        min-height: 420px;
    }
}
