:root {
    /* Lobsy — pearl shell surfaces + deep navy actions */
    --pearl: #f7f4f0;
    --pearl-mid: #efe9e3;
    --pearl-cool: #e8eef5;
    --pearl-shine: #fffcfa;
    --bg: #f5f2ee;
    --surface: #fffcfa;
    --text: #122033;
    --muted: #5a6a7d;
    --border: #ddd5cc;
    --brand: #0f2d5c;
    --brand-deep: #0a2044;
    --accent: #0f2d5c;
    --accent-soft: #e7eef7;
    --accent-hover: #163a6b;
    --accent-deep: #0a2044;
    --secondary: #163a6b;
    --coral: #e8432e;
    --danger: #9b1c1c;
    --danger-soft: #fef2f2;
    --warn: #a65b00;
    --warn-soft: #fff8e7;
    --hover: #f0ebe6;
    --shadow: 0 1px 2px rgba(15, 45, 92, 0.06);
    --shadow-lg: 0 12px 32px rgba(15, 45, 92, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --map-land: #e4e0da;
    --map-ring-fill: rgba(15, 45, 92, 0.12);
    --map-ring-stroke: rgba(15, 45, 92, 0.45);
    --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --pearl-gradient:
        linear-gradient(
            135deg,
            var(--pearl-shine) 0%,
            var(--pearl) 28%,
            var(--pearl-cool) 58%,
            var(--pearl-mid) 82%,
            var(--pearl-shine) 100%
        );
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    height: 100%;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    accent-color: var(--accent);
}

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

.app-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: var(--pearl-gradient);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, var(--brand) 20%);
    z-index: 20;
    color: var(--brand);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.app-header .brand-tagline {
    color: color-mix(in srgb, var(--brand) 55%, var(--muted));
}

.app-header .auth-link,
.app-header .language-selector__toggle {
    color: var(--brand);
}

.app-header .auth-link:hover,
.app-header .language-selector__toggle:hover {
    color: var(--brand-deep);
    background: color-mix(in srgb, var(--brand) 8%, transparent);
}

.app-header .auth-user__name {
    color: var(--brand);
}

.app-header .auth-user__role {
    color: var(--muted);
}

.app-header .token-wallet-chip {
    background: color-mix(in srgb, var(--brand) 8%, var(--pearl-shine));
    color: var(--brand);
    border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
}

.app-header .token-wallet-chip__label {
    color: var(--muted);
}

.app-header .language-selector__toggle {
    border-color: color-mix(in srgb, var(--brand) 18%, var(--border));
    background: color-mix(in srgb, var(--pearl-shine) 70%, transparent);
}


.app-header__brand {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    min-width: 0;
}

.auth-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.panel-page {
    padding: 1.5rem 1.25rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

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

.panel-page h1 {
    margin: 0;
    font-size: 1.5rem;
}

.panel-page h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.panel-section {
    margin-top: 1.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.85rem;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-card__label {
    font-size: 0.78rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stat-card__value {
    font-size: 1.45rem;
}

.table-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
}

.table-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .muted,
.muted {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
    margin-top: 0.15rem;
}

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

/* Compact buttons inside tables, filter bars and dialogs (provider-btn defaults to width:100%) */
.inline-actions .provider-btn,
.inline-actions .login-submit,
.table-row .provider-btn,
.table-row .login-submit,
.table-row__actions .provider-btn,
.table-row__actions .login-submit,
.filter-bar .provider-btn,
.filter-bar .login-submit,
.panel-header .provider-btn {
    width: auto;
    flex: 0 0 auto;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.inline-actions .login-submit,
.table-row .login-submit {
    margin-top: 0;
}

.btn-compact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.7rem;
    background: var(--surface);
    font: inherit;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-compact:hover:not(:disabled) {
    background: var(--hover);
}

.btn-compact:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-compact--primary {
    border-color: transparent;
    background: var(--accent);
    color: #fff;
}

.btn-compact--primary:hover:not(:disabled) {
    background: var(--accent-hover);
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--brand);
    cursor: pointer;
    flex: 0 0 auto;
    align-self: end;
}

.icon-btn:hover:not(:disabled) {
    background: var(--hover);
}

.icon-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.icon-btn svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.detail-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    box-shadow: var(--shadow);
}

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

.detail-wage-panel {
    flex-shrink: 0;
    min-width: 7.5rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
}

.detail-wage-panel__title {
    margin: 0 0 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.detail-wage-panel .wage-table {
    font-size: 0.82rem;
}

.detail-wage-panel .wage-table th,
.detail-wage-panel .wage-table td {
    padding: 0.12rem 0.15rem;
}

.detail-wage-panel .wage-table td {
    text-align: right;
    padding-left: 0.65rem;
}

.detail-card h1 {
    margin: 0.35rem 0 0;
}

.detail-card__body {
    margin: 1rem 0;
    line-height: 1.5;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
    margin-top: 1rem;
}

.back-link {
    color: var(--muted);
    font-size: 0.88rem;
}

.vacancy-card__link {
    display: inline-block;
    margin-top: 0.65rem;
    color: var(--brand);
    font-size: 0.88rem;
    font-weight: 600;
}

.ok-hint {
    color: var(--brand);
    font-size: 0.88rem;
    margin: 0;
}

.batch-locations {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
    color: var(--text);
    margin: 0.35rem 0;
}

.login-form textarea {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    font: inherit;
    resize: vertical;
}

@media (max-width: 900px) {
    .app-header {
        flex-wrap: wrap;
    }
}

.auth-link {
    font-size: 0.88rem;
    color: var(--muted);
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    transition: color 0.15s ease, background 0.15s ease;
}

.auth-link:hover {
    color: var(--brand);
    background: var(--accent-soft);
}

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

.auth-user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.auth-user__name {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
}

.auth-user__role {
    font-size: 0.72rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.login-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(ellipse at top right, color-mix(in srgb, var(--pearl-cool) 70%, transparent), transparent 48%),
        radial-gradient(ellipse at bottom left, color-mix(in srgb, var(--pearl-mid) 80%, transparent), transparent 42%),
        var(--pearl-gradient);
}

.login-card {
    width: min(420px, 100%);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.6rem 1.5rem 1.35rem;
    box-shadow: var(--shadow-lg);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.login-brand__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: transparent;
    display: block;
}

.login-brand__name {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand);
}

.login-card h1 {
    margin: 0;
    font-size: 1.45rem;
    letter-spacing: -0.02em;
}

.login-lead {
    margin: 0.4rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.login-error {
    margin: 0.9rem 0 0;
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-sm);
    background: var(--danger-soft);
    color: var(--danger);
    font-size: 0.88rem;
}

.login-providers {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.provider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    background: var(--surface);
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
}

.provider-btn:hover:not(.is-disabled) {
    background: var(--hover);
}

.provider-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.provider-btn__icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
}

.provider-btn__icon--google {
    font-weight: 700;
    color: #4285f4;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.15rem 0 1rem;
    color: var(--muted);
    font-size: 0.8rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.login-form label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.login-form input {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 0.7rem;
    font: inherit;
    font-size: 0.95rem;
    color: var(--text);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    background: var(--surface);
}

.login-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.address-field input:focus,
.profile-form input:focus,
.profile-form select:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
    border-color: var(--accent);
}

.login-submit {
    margin-top: 0.25rem;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.login-submit:hover {
    background: var(--accent-hover);
}

.login-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.login-demo {
    margin-top: 1.1rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.login-demo summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.login-demo__list {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.login-demo__form {
    margin: 0;
}

.login-demo__btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.login-demo__btn:hover {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
}

.login-demo__role {
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--brand);
}

.login-demo__email {
    font-size: 0.78rem;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.login-demo__hint {
    margin: 0.55rem 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.login-demo ul {
    margin: 0.55rem 0 0.35rem;
    padding-left: 1.1rem;
}

.login-demo code {
    font-size: 0.8rem;
    background: var(--hover);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.1rem 0.15rem 0.1rem 0;
    border-radius: 0;
    background: transparent;
    color: var(--brand);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    background: transparent;
}

.brand__name {
    padding-right: 0.2rem;
}

.brand:hover {
    color: var(--brand-deep);
    opacity: 0.92;
}

.brand-tagline {
    color: var(--muted);
    font-size: 0.9rem;
}

.saved-gate {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--bg);
}

.saved-gate__header {
    background: var(--brand);
    color: #fff;
    padding: 0.85rem 1rem;
    text-align: center;
}

.saved-gate__header h1 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.saved-gate__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem 2rem;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.saved-gate__hero {
    width: 100%;
    max-width: 260px;
    aspect-ratio: 1.1;
    margin: 0.5rem 0 1.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.saved-gate__door {
    width: 70%;
    height: 85%;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, var(--brand), var(--brand-deep));
    position: relative;
    box-shadow: inset -18px 0 0 rgba(0, 0, 0, 0.12);
}

.saved-gate__sofa {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 18%;
    height: 28%;
    border-radius: 10px 10px 4px 4px;
    background: #f5d76e;
    box-shadow: 10px 18px 0 -6px #2f9e44;
}

.saved-gate__body h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.3;
}

.saved-gate__body > p {
    margin: 0.65rem 0 1.25rem;
    color: var(--muted);
    line-height: 1.45;
}

.saved-gate__actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.saved-gate__email {
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
    background: var(--secondary);
}

.saved-gate__email:hover {
    background: var(--brand-deep);
}

.profile-page {
    padding-top: 0;
}

.profile-page__header {
    margin: 0 -1.25rem 1rem;
}

.profile-page__title {
    margin-top: 0;
}

@media (min-width: 769px) {
    .profile-page__header {
        display: none;
    }
}


.app-main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.jobsy-discovery,
.funda-layout {
    display: grid;
    grid-template-columns: minmax(320px, 42%) minmax(0, 58%);
    flex: 1;
    min-height: 0;
    height: 100%;
    position: relative;
}

.jobsy-chrome {
    display: none;
}

.jobsy-action__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--secondary);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
}

.discovery-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    flex-shrink: 0;
}

.discovery-toolbar__address {
    flex: 1;
    min-width: 0;
}

.discovery-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    background: var(--surface);
    color: var(--secondary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    height: 2.35rem;
}

.discovery-filter-toggle:hover,
.discovery-filter-toggle.is-active {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
    color: var(--brand);
}

.discovery-filter-toggle__icon {
    display: inline-flex;
    width: 1.15rem;
    height: 1.15rem;
}

.discovery-filter-toggle__icon svg {
    width: 100%;
    height: 100%;
}

.filter-bar__actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    padding-top: 0.15rem;
}

.filter-bar__search {
    border: none;
    border-radius: 8px;
    padding: 0.65rem 1.25rem;
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.filter-bar__search:hover {
    background: var(--accent-hover);
}

.discovery-filter-fab {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 2.75rem;
    height: 2.75rem;
    padding: 0 0.65rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--secondary);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.discovery-filter-fab:hover,
.discovery-filter-fab.is-active {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
    color: var(--brand);
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
}

.discovery-filter-fab__icon {
    display: inline-flex;
    width: 1.25rem;
    height: 1.25rem;
}

.discovery-filter-fab__icon svg {
    width: 100%;
    height: 100%;
}

/* Desktop: inline filter bar only — hide mobile bottom sheet */
@media (min-width: 769px) {
    .filter-sheet-backdrop,
    .filter-sheet {
        display: none !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem 0.25rem;
}

.results-meta__count {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.results-meta__sort {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--secondary);
    font-size: 0.88rem;
    font-weight: 600;
}

.results-meta__sort .jobsy-action__icon {
    width: 1.1rem;
    height: 1.1rem;
}

.vacancy-list--cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.job-card {
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
}

.job-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--brand) 35%, #1a2332), color-mix(in srgb, var(--secondary) 55%, #0b1b33)),
        center / cover no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.job-card__badge {
    position: absolute;
    top: 0.55rem;
    left: 0.55rem;
    z-index: 2;
    padding: 0.2rem 0.45rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 2px;
}

.job-card__badge--soft {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
}

.job-card__overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 1.6rem 0.7rem 0.65rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.88), transparent);
}

.job-card__overlay h2 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
}

.job-card__travel {
    margin: 0.2rem 0 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.job-card__travel .lobsy-mark {
    color: var(--coral);
    flex-shrink: 0;
}

.job-card__wage {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.job-card__footer {
    padding: 0.45rem 0.1rem 0.2rem;
}

.job-card__company {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--secondary);
}

.job-card__location {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: var(--muted);
}

.job-card.is-hovered .job-card__media,
.job-card:hover .job-card__media {
    outline: 2px solid var(--brand);
    outline-offset: 0;
}

.filter-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, 0.45);
}

.filter-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    max-height: min(92vh, 760px);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: 16px 16px 0 0;
    box-shadow: var(--shadow-lg);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.filter-sheet__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem 0.5rem;
}

.filter-sheet__header h2 {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.25rem;
}

.filter-sheet__cancel {
    border: none;
    background: transparent;
    color: var(--secondary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.filter-sheet__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    padding: 0 1.1rem 0.5rem;
}

.filter-tag {
    border: none;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    background: var(--accent-soft);
    color: var(--secondary);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-sheet__clear {
    border: none;
    background: transparent;
    color: var(--secondary);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-sheet__body {
    overflow-y: auto;
    padding: 0.35rem 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.filter-section h3 {
    margin: 0 0 0.55rem;
    font-size: 1rem;
}

.filter-section label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.55rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

.filter-section select,
.filter-section input[type="number"] {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.65rem 0.7rem;
    font: inherit;
    color: var(--text);
    background: var(--surface);
}

.filter-section--hero {
    padding: 0.85rem;
    border-radius: 12px;
    background: var(--accent-soft);
}

.travel-slider input[type="range"] {
    width: 100%;
    accent-color: var(--brand);
}

.travel-slider__value {
    margin-top: 0.45rem;
    text-align: center;
    color: var(--brand);
    font-size: 1.05rem;
}

.filter-sheet__apply {
    margin: 0.25rem 1.1rem 0.75rem;
    border: none;
    border-radius: 8px;
    padding: 0.95rem 1rem;
    background: var(--secondary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.filter-sheet__apply:hover {
    background: var(--brand-deep);
}

.filter-required select {
    border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.vacancy-pane {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--surface);
    border-right: 1px solid var(--border);
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
    align-items: start;
}

.filter-bar__address {
    grid-column: 1 / -1;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-bar__error {
    margin: 0.15rem 0 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.address-field {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.45rem;
    align-items: stretch;
}

.address-field input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.45rem 0.55rem;
    font: inherit;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    background: var(--surface);
}

.address-field__geo,
.address-field__clear {
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.address-suggestions {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0.25rem;
    position: absolute;
    z-index: 20;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 14rem;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.address-suggestions__item {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.65rem;
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.address-suggestions__item:hover,
.address-suggestions__item:focus-visible {
    background: var(--hover);
    outline: none;
}

.address-suggestions__status {
    padding: 0.55rem 0.65rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.filter-bar label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.filter-bar input,
.filter-bar select {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.45rem 0.55rem;
    font: inherit;
    color: var(--text);
    background: var(--surface);
}

.vacancy-list {
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.vacancy-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.9rem 1rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.vacancy-card:hover,
.vacancy-card.is-hovered {
    border-color: var(--accent);
    background: var(--accent-soft);
}

.vacancy-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.vacancy-card h2 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.wage {
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.wage-table {
    border-collapse: collapse;
    font-size: 0.75rem;
    line-height: 1.25;
    color: var(--brand);
    margin: 0;
}

.wage-table th,
.wage-table td {
    padding: 0.05rem 0.25rem;
    text-align: left;
    font-weight: 600;
}

.wage-table th {
    color: var(--muted);
    font-weight: 500;
    padding-right: 0.45rem;
}

.wage-table td {
    white-space: nowrap;
    font-weight: 700;
}

.map-popup__wage-table {
    border-collapse: collapse;
    font-size: 0.78rem;
    margin: 0;
    width: 100%;
    color: var(--brand);
}

.map-popup__wage-table th,
.map-popup__wage-table td {
    padding: 0.18rem 0.2rem;
    text-align: left;
}

.map-popup__wage-table th {
    color: var(--muted);
    font-weight: 500;
    padding-right: 0.55rem;
}

.map-popup__wage-table td {
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
}

.company {
    margin: 0.35rem 0 0;
    font-weight: 600;
}

.address,
.travel-hint {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.travel-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}

.travel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    width: fit-content;
}

.travel-badge--soft {
    background: var(--accent-soft);
    color: var(--brand);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.travel-hint .travel-badge {
    margin-top: 0.15rem;
}

.lobsy-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: var(--accent);
}

.lobsy-mark svg {
    display: block;
}

.lobsy-proximity {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: var(--radius);
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--accent-soft) 70%, var(--surface)), var(--surface));
}

.lobsy-proximity__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pearl-gradient);
    color: var(--coral);
    border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
    box-shadow: 0 4px 12px rgba(15, 45, 92, 0.1);
}

.lobsy-proximity__body {
    min-width: 0;
    flex: 1;
}

.lobsy-proximity__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.lobsy-proximity__meta {
    margin: 0.45rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.lobsy-proximity__chip {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
}

.lobsy-proximity__chip--soft {
    background: color-mix(in srgb, var(--brand) 8%, var(--surface));
    color: var(--secondary);
    border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
    font-weight: 600;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.badge {
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: var(--hover);
    color: var(--muted);
}

.badge--worktype {
    background: color-mix(in srgb, var(--accent) 18%, white);
    color: var(--brand);
    font-weight: 600;
}

.worktype-fieldset {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.75rem 0.75rem;
    margin: 0;
}

.worktype-fieldset legend {
    padding: 0 0.25rem;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.worktype-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
}

.checkbox-row.is-disabled {
    opacity: 0.45;
}

.map-pane {
    position: relative;
    min-height: 0;
    min-width: 0;
    height: 100%;
    background: var(--map-land);
}

.job-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--map-land);
}

/* Soft Jobsy-tinted basemap (Carto light + blue grade) */
.job-map .leaflet-tile-pane {
    filter: grayscale(0.15) sepia(0.18) hue-rotate(185deg) saturate(1.2) brightness(1.02) contrast(0.97);
}

.job-map .leaflet-control-zoom a,
.job-map .leaflet-bar a {
    color: var(--brand) !important;
    border-bottom-color: var(--border) !important;
    background: var(--surface) !important;
}

.job-map .leaflet-control-zoom a:hover,
.job-map .leaflet-bar a:hover {
    background: var(--accent-soft) !important;
    color: var(--brand) !important;
}

.job-map-locate {
    margin-bottom: 18px !important;
    border: none !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
    border-radius: 2px;
    overflow: hidden;
}

.job-map-locate__btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    line-height: 1 !important;
    color: #5f6368 !important;
    background: #fff !important;
    border: none !important;
    border-bottom: none !important;
}

.job-map-locate__btn:hover {
    background: #f8f9fa !important;
    color: var(--brand) !important;
}

.job-map-locate__btn.is-active {
    color: var(--accent) !important;
}

.job-map-locate__btn.is-busy {
    opacity: 0.55;
    pointer-events: none;
}

.job-map-locate__icon {
    display: block;
}

.job-map .leaflet-control-attribution {
    background: color-mix(in srgb, var(--surface) 88%, transparent) !important;
    color: var(--muted);
    font-size: 10px;
}

.job-marker {
    background: transparent;
    border: none;
}

.job-marker__pin {
    display: block;
    width: 22px;
    height: 22px;
    margin: 0 auto;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--brand);
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 70, 140, 0.35);
}

.job-marker--active .job-marker__pin {
    width: 26px;
    height: 26px;
    background: var(--accent-hover);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent), 0 4px 12px rgba(0, 70, 140, 0.35);
}

.job-marker__glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 70, 140, 0.35);
    font-size: 0.95rem;
    line-height: 1;
}

.job-marker--active .job-marker__glyph {
    width: 38px;
    height: 38px;
    background: var(--accent-hover);
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent), 0 4px 12px rgba(0, 70, 140, 0.35);
}

.job-marker__glyph svg {
    width: 16px;
    height: 16px;
}

.job-cluster {
    background: transparent;
    border: none;
}

.job-cluster div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-family: var(--font);
    border: 3px solid #fff;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--brand) 45%, transparent);
}

.job-cluster--sm div {
    font-size: 0.95rem;
}

.job-cluster--md div {
    font-size: 1.05rem;
    background: color-mix(in srgb, var(--brand) 88%, #000);
}

.job-cluster--lg div {
    font-size: 1.15rem;
    background: color-mix(in srgb, var(--brand) 72%, #000);
}

.travel-ring-label {
    background: transparent !important;
    border: none !important;
}

.travel-ring-label span {
    display: inline-block;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
    color: var(--brand);
    font-size: 0.68rem;
    font-weight: 700;
    font-family: var(--font);
    white-space: nowrap;
    box-shadow: var(--shadow);
}

.leaflet-popup.job-cluster-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.leaflet-popup.job-cluster-popup {
    max-width: min(320px, calc(100vw - 1.5rem));
}

.leaflet-popup.job-cluster-popup.job-cluster-popup--with-wages {
    max-width: min(420px, calc(100vw - 1.5rem));
}

.leaflet-popup.job-cluster-popup .leaflet-popup-content {
    margin: 0;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 320px;
}

.leaflet-popup.job-cluster-popup.job-cluster-popup--with-wages .leaflet-popup-content {
    max-width: 420px;
}

.cluster-list__header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    background: var(--accent-soft);
    font-size: 0.92rem;
}

.cluster-list__items {
    display: flex;
    flex-direction: column;
    max-height: 320px;
    overflow-y: auto;
}

.cluster-list__item {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 0.7rem 0.85rem;
    cursor: pointer;
    font: inherit;
    color: var(--text);
}

.cluster-list__item:last-child {
    border-bottom: none;
}

.cluster-list__item:hover {
    background: var(--accent-soft);
}

.cluster-list__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cluster-list__main {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cluster-list__title {
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.3;
}

.cluster-list__company {
    font-size: 0.8rem;
    color: var(--muted);
}

.cluster-list__wage {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.cluster-list__wage--masked {
    font-size: 0.75rem;
    max-width: 6.5rem;
    white-space: normal;
    text-align: right;
    line-height: 1.25;
}

.cluster-list__wage-panel {
    flex: 0 0 auto;
    min-width: 6.75rem;
    max-width: 8.5rem;
    padding: 0.35rem 0.45rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
}

.cluster-list__wage-title {
    margin: 0 0 0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.cluster-list__wage-panel .map-popup__wage-table {
    font-size: 0.72rem;
}

.cluster-list__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.cluster-list__meta strong {
    color: var(--brand);
    font-weight: 700;
    white-space: nowrap;
}

/* Funda-achtige kaartpopup */
.leaflet-popup.job-map-popup {
    max-width: min(340px, calc(100vw - 1.5rem));
}

.leaflet-popup.job-map-popup.job-map-popup--with-wages {
    max-width: min(460px, calc(100vw - 1.5rem));
}

.leaflet-popup.job-map-popup .leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 100%;
}

.leaflet-popup.job-map-popup .leaflet-popup-content {
    margin: 0;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 340px;
}

.leaflet-popup.job-map-popup.job-map-popup--with-wages .leaflet-popup-content {
    max-width: 460px;
}

.leaflet-popup.job-map-popup .leaflet-popup-tip {
    box-shadow: none;
}

.leaflet-popup.job-map-popup a.leaflet-popup-close-button {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 20px;
    line-height: 28px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    z-index: 2;
}

.map-popup {
    display: flex;
    align-items: stretch;
    min-height: 0;
    max-width: 100%;
    font-family: var(--font);
    color: var(--text);
}

.map-popup__main {
    display: flex;
    align-items: stretch;
    min-width: 0;
    flex: 1 1 auto;
}

.map-popup__media {
    position: relative;
    flex: 0 0 112px;
    width: 112px;
    background: linear-gradient(160deg, var(--accent-soft), color-mix(in srgb, var(--brand) 28%, white));
}

.map-popup__media--logo-only {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-popup__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-popup__logo {
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--surface);
    object-fit: contain;
    padding: 3px;
    box-shadow: 0 2px 10px rgba(11, 55, 35, 0.2);
}

.map-popup__media--logo-only .map-popup__logo {
    position: static;
    width: 56px;
    height: 56px;
    padding: 6px;
    box-shadow: 0 2px 12px rgba(16, 24, 40, 0.12);
}

.map-popup__body {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.75rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.map-popup__wage-panel {
    flex: 0 0 auto;
    min-width: 7.5rem;
    max-width: 9.5rem;
    padding: 0.65rem 0.7rem;
    border-left: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.map-popup__wage-panel-title {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.map-popup__top {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: flex-start;
    padding-right: 1.25rem;
}

.map-popup__title {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-popup__wage {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
    margin-top: 0.25rem;
}

.map-popup__travel-inline {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}

.map-popup__company {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-popup__address {
    margin: 0.1rem 0 0;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.map-popup__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.4rem;
}

.map-popup__badge {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    background: var(--hover);
    color: var(--muted);
    border: 1px solid var(--border);
}

.map-popup__cta {
    display: block;
    width: 100%;
    margin-top: 0.55rem;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    background: var(--accent);
    color: #fff !important;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.map-popup__cta:hover,
.map-popup__cta:focus,
.map-popup__cta:visited {
    background: var(--accent-hover);
    color: #fff !important;
    text-decoration: none;
}

.state-message {
    padding: 1.25rem;
    color: var(--muted);
}

.state-message.error {
    color: var(--danger);
}

.mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .leaflet-popup.job-map-popup,
    .leaflet-popup.job-cluster-popup {
        max-width: calc(100vw - 1.25rem);
    }

    .leaflet-popup.job-map-popup .leaflet-popup-content,
    .leaflet-popup.job-cluster-popup .leaflet-popup-content {
        max-width: calc(100vw - 1.25rem);
    }

    .leaflet-popup.job-map-popup.job-map-popup--with-wages .leaflet-popup-content {
        max-width: calc(100vw - 1.25rem);
    }

    .leaflet-popup.job-cluster-popup.job-cluster-popup--with-wages .leaflet-popup-content {
        max-width: calc(100vw - 1.25rem);
    }

    .cluster-list__row {
        align-items: center;
        gap: 0.55rem;
    }

    .map-popup:not(.map-popup--with-wages) {
        flex-direction: column;
    }

    .map-popup:not(.map-popup--with-wages) .map-popup__main {
        flex-direction: column;
    }

    .map-popup:not(.map-popup--with-wages) .map-popup__media {
        flex: none;
        width: 100%;
        height: 96px;
    }

    .map-popup:not(.map-popup--with-wages) .map-popup__media--logo-only {
        height: 72px;
    }

    .map-popup:not(.map-popup--with-wages) .map-popup__media--logo-only .map-popup__logo {
        width: 44px;
        height: 44px;
    }

    /* Keep vacancy + uurlonen side-by-side in the single-job popup */
    .map-popup.map-popup--with-wages {
        flex-direction: row;
        align-items: stretch;
    }

    .map-popup.map-popup--with-wages .map-popup__main {
        flex-direction: column;
        flex: 1 1 auto;
        min-width: 0;
    }

    .map-popup.map-popup--with-wages .map-popup__media {
        flex: none;
        width: 100%;
        height: 72px;
    }

    .map-popup.map-popup--with-wages .map-popup__media--logo-only {
        height: 56px;
    }

    .map-popup.map-popup--with-wages .map-popup__media--logo-only .map-popup__logo {
        width: 40px;
        height: 40px;
    }

    .map-popup__body {
        padding: 0.6rem 0.7rem 0.65rem;
    }

    .map-popup.map-popup--with-wages .map-popup__wage-panel {
        flex: 0 0 auto;
        min-width: 6.75rem;
        max-width: 8.25rem;
        border-left: 1px solid var(--border);
        border-top: none;
        padding: 0.55rem 0.55rem 0.6rem;
    }

    .map-popup__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        padding-right: 1.6rem;
    }

    .map-popup__title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }

    .map-popup__travel-inline {
        font-size: 0.74rem;
    }

    .map-popup__company {
        font-size: 0.78rem;
    }

    .map-popup__address {
        font-size: 0.72rem;
        -webkit-line-clamp: 1;
    }

    .map-popup__badges {
        margin-top: 0.3rem;
    }

    .map-popup__cta {
        margin-top: 0.45rem;
        padding: 0.5rem 0.65rem;
        font-size: 0.84rem;
    }

    .cluster-list__items {
        max-height: 42vh;
    }

    .app-shell:has(.jobsy-discovery) .app-header,
    .app-shell:has(.jobsy-discovery) .app-footer {
        display: none;
    }

    .app-shell:has(.jobsy-discovery) .app-main {
        padding-bottom: 4.75rem;
    }

    .jobsy-discovery,
    .funda-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .jobsy-chrome {
        display: block;
        grid-column: 1;
        grid-row: 1;
        z-index: 15;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
    }

    .jobsy-chrome__header {
        display: flex;
        align-items: center;
        padding: 0.55rem 0.85rem 0.35rem;
        background: var(--pearl-gradient);
        border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, var(--brand) 20%);
    }

    .jobsy-logo {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        text-decoration: none;
    }

    .jobsy-logo__img {
        width: 36px;
        height: 36px;
        object-fit: contain;
        display: block;
        background: transparent;
    }

    .jobsy-logo__mark {
        display: inline-flex;
        align-items: center;
        padding: 0;
        border-radius: 0;
        background: transparent;
        color: var(--brand);
        font-weight: 800;
        font-size: 1.05rem;
        letter-spacing: -0.02em;
        text-shadow: none;
    }

    .jobsy-chrome__search {
        position: relative;
        padding: 0.55rem 0.75rem 0.35rem;
        background: var(--pearl-gradient);
    }

    .jobsy-search {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.45rem;
    }

    .jobsy-search--with-clear {
        grid-template-columns: 1fr auto auto;
    }

    .jobsy-search input {
        width: 100%;
        border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
        border-radius: 8px;
        padding: 0.7rem 0.8rem;
        font: inherit;
        background: var(--pearl-shine);
        color: var(--text);
    }

    .jobsy-search__clear {
        border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--border));
        border-radius: 8px;
        padding: 0 0.75rem;
        background: var(--pearl-shine);
        color: var(--secondary);
        font: inherit;
        font-size: 0.82rem;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
    }

    .jobsy-search__btn {
        width: 2.75rem;
        height: 2.75rem;
        border: none;
        border-radius: 8px;
        background: var(--brand);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .jobsy-search__btn:hover {
        background: var(--accent-hover);
    }

    .jobsy-chrome__actions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid var(--border);
        background: var(--surface);
    }

    .jobsy-action {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.7rem 0.35rem;
        border: none;
        border-right: 1px solid var(--border);
        background: transparent;
        color: var(--secondary);
        font: inherit;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }

    .jobsy-action:last-child {
        border-right: none;
    }

    .jobsy-action.is-active {
        color: var(--brand);
        background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
    }

    .jobsy-action__icon {
        display: inline-flex;
        width: 1.15rem;
        height: 1.15rem;
    }

    .jobsy-action__icon svg {
        width: 100%;
        height: 100%;
    }

    .jobsy-chrome .address-suggestions {
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
    }

    .vacancy-pane,
    .map-pane {
        grid-column: 1;
        grid-row: 2;
        height: 100%;
        min-height: 0;
    }

    .jobsy-discovery.show-list .map-pane,
    .funda-layout.show-list .map-pane {
        visibility: hidden;
        pointer-events: none;
    }

    .jobsy-discovery.show-map .vacancy-pane,
    .funda-layout.show-map .vacancy-pane {
        visibility: hidden;
        pointer-events: none;
    }

    .filter-bar--desktop {
        display: none;
    }

    .discovery-toolbar--desktop,
    .discovery-filter-fab {
        display: none;
    }

    .vacancy-list--cards {
        grid-template-columns: 1fr 1fr;
        padding: 0.65rem;
    }

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

    .address-field {
        grid-template-columns: 1fr;
    }

    .mobile-toggle {
        display: none;
    }

    .bottom-nav {
        justify-content: space-around;
        gap: 0;
        padding: 0.35rem 0.5rem;
        padding-bottom: max(0.35rem, env(safe-area-inset-bottom));
        overflow: hidden;
    }

    .bottom-nav__item {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        padding: 0.45rem 0.25rem;
        border-radius: 0;
        color: var(--muted);
        background: transparent;
    }

    .bottom-nav__item:hover {
        background: transparent;
        color: var(--text);
    }

    .bottom-nav__item.is-active {
        background: transparent;
        color: var(--brand);
    }

    .bottom-nav__label {
        display: block;
        font-size: 0.68rem;
        -webkit-line-clamp: 1;
    }
}

.app-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.language-selector {
    position: relative;
}

.language-selector__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1;
}

.language-selector__toggle:hover {
    background: var(--hover);
}

.language-selector__flag {
    font-size: 1.05rem;
    line-height: 1;
}

.language-selector__code {
    letter-spacing: 0.02em;
    color: var(--muted);
}

.language-selector__caret {
    font-size: 0.7rem;
    color: var(--muted);
}

.language-selector__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 40;
    min-width: 12rem;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

html[dir="rtl"] .language-selector__menu {
    right: auto;
    left: 0;
}

.language-selector__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.55rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.86rem;
    text-align: start;
    cursor: pointer;
}

.language-selector__option:hover,
.language-selector__option.is-active {
    background: var(--accent-soft);
    color: var(--brand);
}

.language-selector__name {
    flex: 1;
}

.token-wallet-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.token-wallet-chip__icon {
    opacity: 0.85;
}

.token-wallet-chip__label {
    color: var(--muted);
    font-weight: 500;
}

.stat-card--link {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.stat-card--link:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.placeholder-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.35rem;
    color: var(--muted);
}

.panel-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-row__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.vacancy-card__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.vacancy-card__link--primary {
    color: var(--accent);
    font-weight: 700;
}

.vacancy-card__link--primary:hover {
    color: var(--accent-deep);
}

.engagement-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.engagement-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

a.engagement-btn {
    text-decoration: none;
}

.engagement-btn:hover {
    background: var(--hover);
    border-color: var(--accent);
}

.location-banner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0 0 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border));
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 70%, white));
}

.location-banner p {
    margin: 0.2rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.location-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-banner--compact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: var(--surface);
}

.wage--cta {
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: right;
    max-width: 9rem;
    line-height: 1.25;
}

.dob-prompt {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border: 1px dashed var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.detail-card__image {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0.85rem 0 0;
}

.share-modal-backdrop {
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--brand) 28%, rgba(15, 23, 42, 0.45));
    z-index: 80;
}

.share-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 81;
    width: min(420px, calc(100vw - 2rem));
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 1.1rem 1.2rem 1.25rem;
}

.share-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.share-modal__header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.share-modal__close {
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}

.share-modal__lead {
    margin: 0.35rem 0 0.9rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.share-modal__channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.share-modal__channel {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    padding: 0.7rem 0.75rem;
    font: inherit;
    cursor: pointer;
}

.share-modal__channel:hover {
    border-color: var(--accent);
    background: var(--hover);
}

.mock-interview-cta {
    margin: 1.15rem 0 0.35rem;
    padding: 0.95rem 1rem;
    border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--border));
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.mock-interview-cta__btn {
    font-weight: 600;
    border-color: var(--accent);
    color: var(--brand);
    background: var(--surface);
}

.mock-interview-cta__btn:hover {
    background: var(--accent-soft);
}

.mock-interview-cta__hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.mock-interview-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 81;
    width: min(560px, calc(100vw - 1.5rem));
    max-height: min(88vh, 720px);
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 1.1rem 1.2rem 1.15rem;
}

.mock-interview-modal__disclaimer {
    margin: 0 0 0.55rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.4;
}

.mock-interview-progress {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand);
}

.mock-interview-hint {
    margin: 0.45rem 0 0.35rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
    color: var(--brand);
    font-size: 0.8rem;
    line-height: 1.35;
}

.mock-interview-chat {
    flex: 1;
    min-height: 220px;
    max-height: 42vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.35rem 0.15rem 0.65rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mock-interview-chat__empty {
    margin: 1rem 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.mock-interview-bubble {
    max-width: 92%;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
}

.mock-interview-bubble p {
    margin: 0.25rem 0 0;
    white-space: pre-wrap;
    line-height: 1.45;
    font-size: 0.92rem;
}

.mock-interview-bubble__role {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--brand);
}

.mock-interview-bubble--user .mock-interview-bubble__role {
    color: var(--muted);
}

.mock-interview-bubble--assistant {
    align-self: flex-start;
    background: linear-gradient(135deg, var(--accent-soft), color-mix(in srgb, var(--accent-soft) 65%, white));
    border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.mock-interview-bubble--user {
    align-self: flex-end;
    background: var(--hover);
}

.mock-interview-bubble--typing {
    opacity: 0.75;
}

.mock-interview-block {
    margin-top: 0.45rem;
}

.mock-interview-block:first-of-type {
    margin-top: 0.3rem;
}

.mock-interview-block__label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
}

.mock-interview-block--strong .mock-interview-block__label {
    color: #0f7a45;
}

.mock-interview-block--tip {
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    background: color-mix(in srgb, #fff6db 80%, var(--surface));
    border: 1px solid color-mix(in srgb, #e2c36a 45%, var(--border));
}

.mock-interview-block--tip .mock-interview-block__label {
    color: #8a6a00;
}

.mock-interview-block--question {
    margin-top: 0.65rem;
    padding-top: 0.45rem;
    border-top: 1px dashed var(--border);
}

.mock-interview-block--question .mock-interview-block__label {
    color: var(--brand);
}

.mock-interview-block--question p {
    font-weight: 600;
}

.mock-interview-compose {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.mock-interview-compose textarea {
    width: 100%;
    resize: vertical;
    min-height: 3.2rem;
    font: inherit;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.mock-interview-compose textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
    border-color: var(--accent);
}

.mock-interview-compose__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.moderation-modal {
    width: min(480px, calc(100vw - 2rem));
}

.moderation-modal__warning {
    margin: 0 0 0.85rem;
    line-height: 1.45;
}

.moderation-modal__suggestion {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--hover);
    padding: 0.75rem 0.9rem;
}

.moderation-modal__suggestion strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.moderation-modal__suggestion p {
    margin: 0;
    line-height: 1.45;
}

.map-popup__travel {
    margin: 0.35rem 0 0.2rem;
}

.map-popup__travel .travel-badge {
    margin-top: 0;
}

.map-popup__actions {
    margin-top: 0.55rem;
}

.map-popup__wage--masked {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand);
    max-width: 7.5rem;
    text-align: right;
    line-height: 1.2;
}

a.map-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff !important;
}

/* —— Bottom nav —— */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 0.45rem 0.85rem;
    padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(16, 24, 40, 0.08);
    overflow-x: auto;
    scrollbar-width: thin;
}

.app-shell.has-bottom-nav .app-main,
.app-shell:has(.bottom-nav) .app-main {
    padding-bottom: 7.5rem; /* bottom-nav + legal footer */
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex: 0 0 auto;
    min-width: 4.75rem;
    max-width: 6.5rem;
    padding: 0.45rem 0.4rem;
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.bottom-nav__item:hover {
    background: var(--hover);
    color: var(--text);
}

.bottom-nav__item.is-active {
    background: var(--accent-soft);
    color: var(--brand);
}

.bottom-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: inherit;
}

.bottom-nav__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.bottom-nav__label {
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .bottom-nav:not(.bottom-nav--compact) .bottom-nav__item {
        min-width: 2.75rem;
        max-width: none;
        padding: 0.4rem 0.5rem;
    }

    .app-shell.has-bottom-nav .app-main,
    .app-shell:has(.bottom-nav) .app-main {
        padding-bottom: 5.5rem; /* bottom-nav + legal footer */
    }

    .token-wallet-chip__label {
        display: none;
    }
}

@media (max-width: 768px) {
    .bottom-nav__label {
        display: block !important;
    }
}

/* —— Admin hub —— */
.admin-hub {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1.25rem 3rem;
}

.admin-hub__intro {
    margin-bottom: 1.75rem;
}

.admin-hub__intro h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    letter-spacing: -0.02em;
}

.admin-hub__intro p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

.admin-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.9rem;
}

.admin-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-height: 8.5rem;
    padding: 1.15rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-tile:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
}

.admin-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.admin-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--brand);
}

.admin-tile__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.admin-tile__label {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.panel-back {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}

.panel-back a {
    color: var(--muted);
}

.panel-back a:hover {
    color: var(--brand);
}

.cockpit-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.cockpit-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 7rem;
    padding: 0.9rem 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.cockpit-stat__value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.1;
}

.cockpit-stat__label {
    font-size: 0.85rem;
    color: var(--muted);
}

.admin-sublinks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.admin-sublink {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.4rem 0.75rem;
    background: var(--accent-soft);
    color: var(--brand);
    border: none;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
}

.admin-sublink:hover {
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--accent));
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.company-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.company-search {
    flex: 1 1 16rem;
    min-width: 0;
}

.company-search input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
}

.company-search input:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}

.company-toolbar__count {
    font-size: 0.85rem;
    color: var(--muted);
    white-space: nowrap;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.9rem;
}

.company-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-height: 10rem;
}

.integration-tile {
    cursor: pointer;
    border-width: 2px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.integration-tile--ok {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 15%, transparent);
}

.integration-tile--fail {
    border-color: var(--danger);
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 12%, transparent);
}

.integration-tile--unknown {
    border-color: var(--border);
}

.integration-tile--ok .company-card__meta { color: var(--brand); }
.integration-tile--fail .company-card__meta { color: var(--danger); }
.integration-tile--unknown .company-card__meta { color: var(--muted); }

.integration-tile__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.integration-tile__chevron {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1;
}

.platform-features-card {
    gap: 0.65rem;
    max-width: 36rem;
}

.platform-features-card label:not(.filter-check) {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.integration-key-form {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border);
    cursor: default;
}

.integration-key-form label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.integration-key-form input {
    width: 100%;
    box-sizing: border-box;
}

.company-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.35rem;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
    overflow: hidden;
}

.company-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--surface);
}

.company-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.25;
}

.company-card__meta {
    margin: 0;
    font-size: 0.82rem;
    color: var(--brand);
    font-weight: 600;
}

.company-card__address {
    margin: 0.15rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.35;
}

.period-tabs {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.period-tab {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.period-tab--active {
    border-color: var(--accent);
    color: var(--brand);
    background: var(--accent-soft);
}

.stat-card--selected {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

button.stat-card {
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.table-row--link {
    text-decoration: none;
    color: inherit;
}

.table-row--link:hover {
    background: var(--hover);
}

.status-pill {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--muted);
    white-space: nowrap;
}

.status-pill--accepted {
    color: var(--brand);
    background: var(--accent-soft);
    border-color: transparent;
}

.status-pill--rejected {
    color: var(--danger);
    background: var(--danger-soft);
    border-color: transparent;
}

.status-pill--pending {
    color: var(--warn);
    background: var(--warn-soft);
    border-color: transparent;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1rem;
    max-width: 28rem;
}

.profile-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.profile-form input[type="date"],
.profile-form input[type="number"],
.profile-form select {
    font: inherit;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.profile-address {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.profile-address .address-field {
    grid-template-columns: 1fr auto;
}

.profile-address .address-field input {
    padding: 0.55rem 0.65rem;
    border-radius: 8px;
    font-weight: 500;
}

.profile-address__hint {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
}

.profile-toggle {
    flex-direction: row !important;
    align-items: center;
    gap: 0.55rem !important;
    font-weight: 600;
}

.profile-roles {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.45rem;
}

.profile-roles legend {
    padding: 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-roles label {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    text-transform: capitalize;
}

/* Sprint 5 — publish popup, vacancy editor, checkboxes */
.publish-modal {
    max-width: 28rem;
}

.publish-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 1rem 0;
}

.publish-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-weight: 500;
    cursor: pointer;
}

.publish-option em {
    display: block;
    font-style: normal;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 400;
}

.pushbom-preview {
    margin: 0.75rem 0 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
}

.pushbom-preview__count {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.pushbom-preview__cost {
    margin: 0.5rem 0 0;
}

.checkbox-set {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.checkbox-set legend {
    padding: 0 0.25rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.vacancy-editor__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 1.5rem;
    align-items: start;
}

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

.richtext-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.vacancy-preview h2 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

.vacancy-card--preview {
    pointer-events: none;
}

.vacancy-card--preview .vacancy-card-top {
    min-height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
    margin: -0.25rem -0.25rem 0.75rem;
}

.vacancy-preview__body {
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0.5rem 0;
    max-height: 10rem;
    overflow: auto;
}

/* Sprint 6 — admin grids */
.panel-page--wide {
    max-width: min(1480px, 100%);
}

.panel-page .filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface));
    margin-bottom: 0.75rem;
}

.panel-page .filter-bar label {
    flex: 0 1 12rem;
}

.panel-page .filter-bar .muted,
.panel-page .filter-bar .filter-check {
    align-self: center;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0.75rem 0 1.25rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    table-layout: auto;
}

.data-table th,
.data-table td {
    padding: 0.55rem 0.7rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    white-space: nowrap;
}

.data-table th.data-table__col--wrap,
.data-table td.data-table__col--wrap {
    white-space: normal;
    min-width: 8rem;
    max-width: 16rem;
}

.data-table td.inline-actions {
    white-space: normal;
}

.data-table th {
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
    background: color-mix(in srgb, var(--surface) 88%, var(--accent-soft));
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background: color-mix(in srgb, var(--accent-soft) 45%, transparent);
}

.filter-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

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

button.linkish {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-weight: 600;
    color: var(--brand);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

button.linkish:hover {
    color: var(--accent-hover);
}

.admin-sublink--active {
    background: var(--accent);
    color: #fff;
}

.admin-sublink--active:hover {
    background: color-mix(in srgb, var(--accent) 88%, #000);
    color: #fff;
}

/* Sprint 7 — registration wizard */
.register-card {
    max-width: 560px;
}

.wizard-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    margin: 0 0 1.25rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.wizard-step.is-active {
    color: var(--brand);
    font-weight: 700;
}

.wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1rem;
}

.register-choice {
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
}

.register-choice.is-selected {
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.scope-fieldset {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1rem 1rem;
    margin: 0;
}

.scope-fieldset legend {
    padding: 0 0.35rem;
    font-weight: 600;
}

.scope-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 0.65rem 0;
    cursor: pointer;
}

.scope-option span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.badge-ok,
.badge-warn {
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-ok { color: var(--brand); }
.badge-warn { color: var(--warn); }

/* —— Legal pages & footer —— */
.legal-page {
    max-width: 720px;
}

.legal-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    margin: 0 0 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.legal-toc a {
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-doc section {
    margin-bottom: 1.5rem;
}

.legal-doc h2 {
    margin: 0 0 0.55rem;
    font-size: 1.1rem;
}

.legal-doc h3 {
    margin: 0.85rem 0 0.4rem;
    font-size: 1rem;
}

.legal-doc p,
.legal-doc li {
    color: var(--text);
    line-height: 1.55;
    font-size: 0.95rem;
}

.legal-doc ul {
    margin: 0.4rem 0 0.75rem;
    padding-left: 1.25rem;
}

.legal-doc li {
    margin-bottom: 0.35rem;
}

.legal-consent {
    align-items: flex-start !important;
    margin: 0.75rem 0 0.25rem;
    font-weight: 500 !important;
    line-height: 1.45;
}

.legal-consent input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.legal-consent .auth-link {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.app-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 4.5rem;
    z-index: 49;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    padding: 0.4rem 1.25rem;
    padding-bottom: max(0.4rem, env(safe-area-inset-bottom));
    background: var(--surface);
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.75rem;
}

.app-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.9rem;
}

.app-footer__links a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.app-footer__links a:hover {
    color: var(--brand);
}

.app-footer__copy {
    margin: 0;
}

@media (max-width: 1024px) {
    .app-footer {
        bottom: 3.25rem;
        padding: 0.35rem 0.75rem;
    }

    .app-footer__copy {
        display: none;
    }
}

