﻿/* Nayi Naukri — full-width layout, template-inspired palette */

:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #1a2332;
    --muted: #5c6b7f;
    --line: #d8e0ea;
    --brand: #1c4c5c;
    --brand-2: #3a709d;
    --accent: #e57309;
    --accent-soft: #fff3e6;
    --success: #779625;
    --error: #d32f2f;
    --hero-top: #e8f0ff;
    --hero-bot: #f5f9ff;
    --shadow: 0 8px 30px rgba(26, 35, 50, 0.08);
    --radius: 12px;
    --radius-sm: 8px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --sidebar-w: 280px;
    --header-h: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--brand-2);
}

a:hover {
    color: var(--accent);
}

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

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 0.75rem 1rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

#listing,
#jobs,
#jobs-heading,
#browse-heading {
    scroll-margin-top: 6rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-header--app .site-header__inner {
    flex-wrap: nowrap;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
    font-size: 1.15rem;
}

.brand__logo {
    display: block;
    height: 80px;
    width: auto;
    max-width: min(200px, 40vw);
    object-fit: contain;
}

.brand__text strong {
    color: var(--brand);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    border-radius: 8px;
}

.nav-toggle:hover {
    background: #eef5fb;
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    margin-left: auto;
}

.site-header--app .nav-main {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    flex: 0 0 auto;
    gap: 0.15rem 1.15rem;
    justify-content: center;
    z-index: 1;
}

.site-header--app .nav-main > a {
    white-space: nowrap;
}

.site-header--app .header-actions {
    flex-shrink: 0;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.site-header--app .brand {
    position: relative;
    z-index: 2;
}

.nav-main a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-main a:hover {
    color: var(--accent);
}

.nav-drop {
    position: relative;
}

.nav-drop__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
}

.nav-drop__btn:hover,
.nav-drop.is-current .nav-drop__btn,
.nav-drop.is-open .nav-drop__btn {
    color: var(--accent);
}

.nav-drop__caret {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.nav-drop.is-open .nav-drop__caret {
    transform: rotate(180deg);
}

.nav-drop__menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    min-width: 180px;
    padding: 0.4rem 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(26, 35, 50, 0.12);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-drop__menu::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}

.nav-main .nav-drop__menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    font-weight: 500;
    white-space: nowrap;
}

.nav-main .nav-drop__menu a:hover,
.nav-main .nav-drop__menu a.is-active {
    background: #f4f7fb;
    color: var(--accent);
}

.nav-myjobs {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nav-main__mobile-only {
    display: none;
}

.nav-main__auth-actions {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
}

.nav-backdrop {
    display: none;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

@media (min-width: 901px) {
    .nav-drop:hover .nav-drop__menu,
    .nav-drop:focus-within .nav-drop__menu,
    .nav-drop.is-open .nav-drop__menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-drop:hover .nav-drop__caret,
    .nav-drop:focus-within .nav-drop__caret {
        transform: rotate(180deg);
    }
}

@media (max-width: 900px) {
    .site-header--app {
        backdrop-filter: none;
    }

    .site-header--app .site-header__inner {
        position: relative;
        z-index: 70;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 0.45rem;
        padding: 0.15rem 0.65rem;
        min-height: 64px;
        flex-wrap: nowrap;
    }

    .site-header--app .nav-toggle {
        display: inline-flex;
        justify-self: start;
        grid-column: 1;
    }

    .site-header--app .brand {
        grid-column: 2;
        justify-self: center;
        min-width: 0;
        max-width: 46vw;
    }

    .site-header--app .brand__logo {
        height: 52px;
        width: auto;
        max-width: 100%;
    }

    .site-header--app .header-actions {
        grid-column: 3;
        justify-self: end;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 0.35rem;
        margin-left: 0;
        min-width: 0;
    }

    .site-header--app .nav-main {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(86vw, 320px);
        margin: 0;
        padding: 4.6rem 1.1rem 1.5rem;
        flex: none;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        background: #fff;
        box-shadow: 12px 0 32px rgba(26, 35, 50, 0.16);
        transform: translateX(-105%);
        transition: transform 0.24s ease;
        overflow-y: auto;
        z-index: 60;
    }

    body.is-nav-open .site-header--app .nav-main {
        transform: translateX(0);
    }

    .site-header--app .nav-main > a,
    .site-header--app .nav-drop {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .site-header--app .nav-main > a,
    .site-header--app .nav-drop__btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.85rem 0.15rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        white-space: nowrap;
    }

    .site-header--app .nav-main > a:hover,
    .site-header--app .nav-drop__btn:hover {
        color: var(--accent);
        background: transparent;
    }

    .site-header--app .nav-drop__menu {
        position: static;
        min-width: 0;
        padding: 0 0 0.55rem 0.85rem;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
        background: transparent;
    }

    .site-header--app .nav-drop__menu::before {
        display: none;
    }

    .site-header--app .nav-drop.is-open .nav-drop__menu {
        display: flex;
        flex-direction: column;
    }

    .site-header--app .nav-main .nav-drop__menu a {
        padding: 0.5rem 0.15rem;
        font-weight: 500;
        color: var(--muted);
    }

    .site-header--app .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(26, 35, 50, 0.42);
        z-index: 55;
        display: none;
    }

    body.is-nav-open .site-header--app .nav-backdrop {
        display: block;
    }

    .site-header--app .nav-main__mobile-only {
        display: flex;
        margin-top: 0.85rem;
        justify-content: center;
        border-bottom: 0 !important;
    }

    .site-header--app .nav-main__auth-actions {
        display: flex;
        margin-top: auto;
        padding-top: 1.25rem;
        border-top: 1px solid var(--line);
        border-bottom: 0 !important;
    }

    .site-header--app .nav-main__auth-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-weight: 600;
        padding: 0.7rem 1rem;
    }

    .site-header--app .nav-main a.nav-main__mobile-only.btn,
    .site-header--app .nav-main a.nav-main__mobile-only.btn:hover {
        color: #fff;
        padding: 0.55rem 1rem;
        justify-content: center;
        font-weight: 600;
    }

    .site-header--app.site-header--guest .header-btn-signin,
    .site-header--app.site-header--guest .header-btn-register,
    .site-header--app.site-header--auth .header-btn-desktop,
    .site-header--app.site-header--auth .jobs-chip,
    .site-header--app.site-header--auth .header-actions > .btn {
        display: none;
    }

    .site-header--app.site-header--guest .header-actions .btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.86rem;
        line-height: 1.2;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .site-header--app .account-menu__toggle {
        gap: 0.3rem;
        padding: 0.15rem;
    }

    .site-header--app .account-menu__avatar {
        width: 36px;
        height: 36px;
    }

    .site-header--app .account-menu__first {
        max-width: 4.5rem;
        font-size: 0.9rem;
    }
}

body.is-nav-open {
    overflow: hidden;
}

@media (max-width: 480px) {
    .site-header--app .brand {
        max-width: 38vw;
    }

    .site-header--app .brand__logo {
        height: 46px;
    }

    .site-header--app.site-header--guest .header-actions .btn {
        padding: 0.36rem 0.55rem;
        font-size: 0.82rem;
    }

    .site-header--app .account-menu__first {
        display: none;
    }
}

.account-menu {
    position: relative;
}

.account-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.35rem 0.2rem 0.2rem;
    border: 0;
    background: transparent;
    color: var(--brand-2);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
}

.account-menu__toggle:hover,
.account-menu.is-open .account-menu__toggle {
    background: #eef5fb;
}

.account-menu__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #d7e6f2;
    flex-shrink: 0;
}

.account-menu__avatar--initials,
.account-profile__photo--initials {
    display: inline-grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--brand);
}

.account-menu__first {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu__caret {
    color: var(--brand-2);
    transition: transform 0.22s ease;
}

.account-menu.is-open .account-menu__caret {
    transform: rotate(180deg);
}

.account-menu__drop {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    min-width: 200px;
    padding: 0.45rem 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 10px 28px rgba(26, 35, 50, 0.12);
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.account-menu.is-open .account-menu__drop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.account-menu__drop a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.account-menu__drop a:hover {
    background: #f4f7fb;
}

.account-menu__drop a.account-menu__item--mobile {
    display: none;
}

@media (max-width: 768px) {
    .account-menu__drop a.account-menu__item--mobile {
        display: block;
    }
}

.account-menu__name {
    color: var(--brand-2) !important;
    font-weight: 700 !important;
}

.account-profile__photo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    background: #d7e6f2;
}

.profile-dl {
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}

.profile-dl div {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0.5rem;
}

.profile-dl dt {
    color: var(--muted);
    font-weight: 600;
}

.profile-dl dd {
    margin: 0;
}

.cv-page {
    display: grid;
    gap: 1.15rem;
}

.cv-hero {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 0;
}

.cv-hero__photo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 32px;
    border: 3px solid #fff;
    background: linear-gradient(180deg, #e8f0f6, #d5e4ee);
    box-shadow: 0 10px 24px rgba(28, 76, 92, 0.16);
}

.cv-hero__photo--initials {
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand);
}

.cv-hero__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.cv-hero__name {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--brand);
}

.cv-hero__role {
    margin: 0.35rem 0 0;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
}

.cv-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    list-style: none;
    margin: 0.55rem 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.cv-hero__meta li + li::before {
    content: "·";
    margin-right: 0.85rem;
    color: #b7c3d0;
}

.cv-hero__skills {
    margin-top: 0.85rem;
}

.cv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cv-layout--solo {
    grid-template-columns: minmax(0, 1fr);
}

.cv-main,
.cv-aside {
    display: grid;
    gap: 1.15rem;
}

.cv-block,
.cv-side {
    margin-bottom: 0;
}

.cv-block__title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    color: var(--brand);
}

.cv-block__extra {
    margin-top: 0.75rem;
}

.cv-open__label {
    margin: 1rem 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.skill-chips .is-top {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent);
}

.skill-chips .is-open {
    background: #e8f2ea;
    border-color: transparent;
    color: var(--success);
}

.cv-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.cv-item {
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cv-item:hover {
    border-color: #c5d5e4;
    box-shadow: 0 8px 20px rgba(26, 35, 50, 0.06);
    transform: translateY(-1px);
}

.cv-item h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
}

.cv-item__org {
    margin: 0.2rem 0 0;
    font-weight: 700;
    color: var(--brand);
}

.cv-item__meta {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.cv-item .prose {
    margin-top: 0.55rem;
}

.cv-item .skill-chips {
    margin-top: 0.7rem;
}

.cv-certs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.cv-certs li {
    display: grid;
    gap: 0.1rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.cv-certs span,
.cv-certs small {
    color: var(--muted);
    font-size: 0.82rem;
}

.cv-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.cv-contact span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.cv-contact a {
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.cv-score {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0;
}

.cv-score strong {
    font-size: 1.5rem;
    color: var(--brand);
}

.cv-score span {
    color: var(--muted);
    font-weight: 600;
}

.cv-aside {
    position: sticky;
    top: calc(var(--header-h) + 0.85rem);
}

@media (max-width: 900px) {
    .cv-hero {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .cv-hero__photo {
        width: 96px;
        height: 96px;
        border-radius: 24px;
    }

    .cv-hero__name {
        font-size: 1.45rem;
    }

    .cv-layout,
    .cv-aside {
        position: static;
        grid-template-columns: 1fr;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.btn svg {
    display: block;
    flex-shrink: 0;
    margin-right: 0.45rem;
}

.btn--primary {
    background: var(--brand);
    color: #fff;
}

.btn--primary:hover {
    background: #163d4a;
    color: #fff;
}

.btn--ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}

.btn--ghost:hover {
    border-color: var(--brand-2);
    color: var(--brand-2);
}

.btn--secondary {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
}

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

.btn--accent:hover {
    filter: brightness(1.05);
    color: #fff;
}

.btn--employer {
    background: var(--brand-2);
    border-color: var(--brand-2);
    color: #fff;
}

.btn--employer:hover {
    background: #2f5d84;
    border-color: #2f5d84;
    color: #fff;
}

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

.btn--candidate:hover {
    background: #cc6408;
    border-color: #cc6408;
    color: #fff;
}

.btn--lg {
    padding: 0.65rem 1.35rem;
    font-size: 1rem;
}

.btn--block {
    width: 100%;
}

.jobs-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem 0.4rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.jobs-chip:hover,
.jobs-chip.is-active {
    border-color: var(--brand);
    background: #e8f1f4;
    color: var(--brand);
}

.jobs-chip__count {
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.badge {
    display: inline-block;
    margin-left: 0.25rem;
    padding: 0 0.4rem;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8rem;
}

.badge--freelancer {
    margin-left: 0;
    background: #e6ebf0;
    color: #2f6fad;
    border: 1px solid #c5d0dc;
}

/* Hero search — full width */
.hero-search {
    width: 100%;
    background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bot) 100%);
    border-bottom: 1px solid var(--line);
}

.hero-search__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 1.25rem;
}

.hero-search__title {
    margin: 0 0 0.9rem;
    font-size: 1.45rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    font-weight: 800;
}

@media (max-width: 768px) {
    .hero-search__title {
        font-size: 1.2rem;
    }
}

.hero-search__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: stretch;
}

.hero-search__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
    margin-top: 0.85rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero-stats strong {
    color: #8b1538;
    font-style: italic;
    font-size: 1.1rem;
}

.hero-search__form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.advanced-search__toggle {
    flex: 0 0 auto;
    gap: 0.4rem;
    white-space: nowrap;
}

.advanced-search__toggle.is-active {
    border-color: var(--brand);
    color: var(--brand);
    background: #eef5f7;
}

.advanced-search__link {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.advanced-search__link:hover,
.advanced-search__link.is-active {
    color: var(--accent);
}

.advanced-search__tab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.95rem 0.55rem;
    border: 1px solid var(--line);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: translateY(-50%);
    cursor: pointer;
    box-shadow: -6px 8px 20px rgba(28, 76, 92, 0.18);
}

.advanced-search__tab:hover,
.advanced-search__tab:focus-visible {
    background: #163d4a;
}

.advanced-search__tab.has-filters {
    background: var(--accent);
}

.advanced-search__tab.has-filters:hover,
.advanced-search__tab.has-filters:focus-visible {
    background: #c86207;
}

.advanced-search__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: #fff;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    writing-mode: horizontal-tb;
}

.advanced-search {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
}

.advanced-search.is-open {
    pointer-events: auto;
}

.advanced-search__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 32, 41, 0.42);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.advanced-search.is-open .advanced-search__backdrop {
    opacity: 1;
}

.advanced-search__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(400px, 100vw);
    height: 100%;
    background: #fff;
    box-shadow: -16px 0 40px rgba(16, 32, 41, 0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
}

.advanced-search.is-open .advanced-search__panel {
    transform: translateX(0);
}

.advanced-search__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 1.1rem 1.15rem 0.95rem;
    border-bottom: 1px solid var(--line);
}

.advanced-search__title {
    margin: 0;
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 800;
}

.advanced-search__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
}

.advanced-search__close:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.advanced-search__body {
    display: grid;
    gap: 0.95rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 1.1rem 1.15rem 1.25rem;
}

.advanced-search .filter-field label,
.advanced-search .filter-heading {
    color: var(--brand);
}

.advanced-search__actions {
    display: grid;
    gap: 0.65rem;
    flex-shrink: 0;
    padding: 0.95rem 1.15rem 1.15rem;
    border-top: 1px solid var(--line);
    background: #fbfcfe;
}

.advanced-search__clear {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.advanced-search__clear:hover {
    color: var(--brand);
}

body.is-advanced-open {
    overflow: hidden;
}

body.is-advanced-open .advanced-search__tab {
    opacity: 0;
    pointer-events: none;
}

.job-search-page {
    padding-top: 1.15rem;
    padding-right: 2.75rem;
}

.job-search-page .urgent-hiring {
    margin-bottom: 1.35rem;
}

@media (max-width: 560px) {
    .advanced-search__panel {
        width: min(100vw, 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .advanced-search__backdrop,
    .advanced-search__panel {
        transition: none;
    }
}

.input {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid #c8d5fb;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}

.input.is-error {
    border-color: var(--error);
    background: #fff5f5;
    box-shadow: inset 0 0 0 1px var(--error);
}

textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    resize: vertical;
}

.input--lg {
    flex: 1 1 240px;
    min-height: 48px;
    font-size: 1.05rem;
}

.input--select {
    flex: 0 1 180px;
    min-height: 48px;
}

.input--on-dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.input--on-dark::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

select.input {
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6b7f' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 16px;
    padding-right: 2.2rem;
    color: var(--text);
    cursor: pointer;
}

select.input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background-color: #f3f6f9;
}

select.input option {
    color: #1a2332;
    background: #fff;
}

/* Layout: left sidebar | main | right sidebar */
.layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, var(--sidebar-w)) minmax(0, 1fr) minmax(0, var(--sidebar-w));
    gap: 1.5rem;
    align-items: start;
}

.layout--after-bleed {
    padding-top: 1.15rem;
}

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

    .sidebar--left {
        order: 2;
    }

    .main {
        order: 1;
    }

    .sidebar--right {
        order: 3;
    }
}

/* Sidebars */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resume-scan {
    display: flex;
    flex-direction: column;
    background: #fdfbf7;
    border: 1px solid #e6e1d8;
    border-radius: 18px;
    padding: 1.35rem 1.2rem 1.25rem;
    box-shadow: 0 10px 28px rgba(10, 37, 64, 0.1);
    color: #0a2540;
}

.resume-scan__headline {
    margin: 0;
    font-size: 1.38rem;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #0a2540;
}

.resume-scan__lead {
    margin: 1rem 0 0.55rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: #0a2540;
}

.resume-scan__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.resume-scan__list li {
    position: relative;
    padding: 0.22rem 0 0.22rem 1.35rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #0a2540;
}

.resume-scan__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0.22rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: #0a2540;
}

.resume-scan__visual {
    display: flex;
    justify-content: center;
    margin: 1.1rem 0 1rem;
}

.resume-scan__icon {
    width: 118px;
    height: auto;
}

.resume-scan__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 0.7rem 0.75rem;
    border-radius: 999px;
    background: #2b3846;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
}
a.resume-scan__cta {
    pointer-events: auto;
    cursor: pointer;
}
a.resume-scan__cta:hover {
    color: #fff;
    filter: brightness(1.06);
}

@media (max-width: 1100px) {
    .resume-scan {
        display: none;
    }
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow);
}

.card--highlight {
    border-color: #dbeafe;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.card--soft {
    background: #f3f3eb;
    border-color: #e5e5d8;
}

.card--dark {
    background: #3d4555;
    border-color: #2f3542;
    color: #e8ecf2;
}

.card--dark a {
    color: #9ecfff;
}

.card--accent {
    background: linear-gradient(145deg, #fffdf8, #fff8ee);
    border-color: #f0dcc4;
}

.card--share {
    display: flex;
    flex-direction: column;
}

.card--share > .text-link {
    margin-top: auto;
}

.card__title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--brand);
}

.card__title--on-dark {
    color: #fff;
}

.cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cat-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: var(--text);
    font-size: 0.92rem;
}

.cat-list li:last-child a {
    border-bottom: none;
}

.cat-list__count {
    font-weight: 700;
    color: var(--success);
    font-size: 0.85rem;
}

.link-stack {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-stack a {
    display: block;
    padding: 0.35rem 0;
    font-weight: 500;
    text-decoration: none;
    color: var(--brand-2);
}

.small {
    font-size: 0.88rem;
}

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

.text-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.mini-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.fieldset-compact {
    border: none;
    margin: 0.75rem 0 0;
    padding: 0;
}

.filter-heading {
    margin: 1rem 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--brand);
}

.card--dark .filter-heading {
    color: #fff;
}

.filter-form .filter-heading {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
}

.card--filters {
    background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
    overflow: visible;
    position: relative;
    z-index: 3;
}

.filter-form {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.filter-field label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--muted);
}

.filter-field .input {
    border-color: var(--line);
    background: #fff;
    color: var(--text);
}

.filter-field .input:focus {
    outline: 2px solid rgba(229, 115, 9, 0.35);
    border-color: var(--accent);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    border: 0;
    margin: 0;
    padding: 0;
}

.filter-pill {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.filter-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-pill span {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.filter-pill:hover span {
    border-color: var(--brand-2);
    color: var(--brand);
}

.filter-pill input:checked + span {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 4px 10px rgba(28, 76, 92, 0.18);
}

.filter-pill input:focus-visible + span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.pretty-select {
    position: relative;
}

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

.pretty-select__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
}

.pretty-select__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pretty-select__btn::after {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6b7f' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") center / 16px no-repeat;
    transition: transform 0.15s ease;
}

.pretty-select.is-open .pretty-select__btn {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(229, 115, 9, 0.18);
}

.pretty-select.is-open .pretty-select__btn::after {
    transform: rotate(180deg);
}

.pretty-select.is-disabled .pretty-select__btn {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f3f6f9;
}

.pretty-select.is-error .pretty-select__btn {
    border-color: var(--error);
    background: #fff5f5;
    box-shadow: inset 0 0 0 1px var(--error);
}

.pretty-select__btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.pretty-select__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: 240px;
    overflow: auto;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(26, 35, 50, 0.16);
}

.pretty-select__panel[hidden] {
    display: none;
}

.pretty-select__option {
    width: 100%;
    display: block;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.88rem;
    text-align: left;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
}

.pretty-select__option:hover,
.pretty-select__option.is-active {
    background: var(--accent-soft);
    color: var(--accent);
}

.pretty-select__option[aria-selected="true"] {
    background: #e8f1f4;
    color: var(--brand);
    font-weight: 700;
}

.check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    margin: 0.25rem 0;
    color: #e8ecf2;
    cursor: pointer;
}

/* Main */
.main {
    min-width: 0;
}

.featured {
    margin-bottom: 1.5rem;
}

.featured__shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.featured__shell:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(26, 35, 50, 0.12);
    border-color: #c5d5e4;
}

.featured__main {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 1.15rem 1.2rem 1.1rem;
}

.featured__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem 1.15rem;
    align-items: start;
}

.featured__media {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
}

.featured__badge {
    position: absolute;
    left: -0.35rem;
    top: -0.35rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(229, 115, 9, 0.28);
    white-space: nowrap;
}

.featured__badge svg {
    display: block;
    width: 12px;
    height: 12px;
}

.featured__photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    border: 3px solid #fff;
    background: linear-gradient(180deg, #e8f0f6, #d5e4ee);
    box-shadow:
        0 0 0 3px #fff,
        0 0 0 5px #c084fc,
        0 0 0 7px #fb923c,
        0 8px 18px rgba(28, 76, 92, 0.14);
    transition: transform 0.2s ease;
}

.featured__shell:hover .featured__photo {
    transform: scale(1.02);
}

.featured__photo--initials {
    display: grid;
    place-items: center;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand);
}

.featured__online {
    position: absolute;
    right: 4px;
    bottom: 4px;
    z-index: 2;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2.5px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.featured__identity {
    min-width: 0;
}

.featured__identity--empty {
    padding: 0.35rem 0.2rem 0.5rem;
}

.featured__kicker {
    margin: 0 0 0.2rem;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
}

.featured__name {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #1a365d;
}

.featured__verified {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.featured__role {
    margin: 0.3rem 0 0;
    font-style: normal;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
    color: #1a365d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured__facts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0;
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    font-size: 0.86rem;
    color: var(--muted);
}

.featured__facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.75rem;
    border-right: 1px solid #d5dee8;
    line-height: 1.7;
}

.featured__facts li:first-child {
    padding-left: 0;
}

.featured__facts li:last-child {
    border-right: none;
    padding-right: 0;
}

.featured__facts svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    opacity: 0.9;
}

.featured__skills {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
}

.featured__skills li {
    flex: 0 0 auto;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: #eef4fb;
    color: #1e4a6e;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
}

.featured__skills li[hidden] {
    display: none !important;
}

.featured__skills-more {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    padding: 0 !important;
}

.featured__skills-more a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    color: inherit;
    text-decoration: none;
    font-weight: 800;
    line-height: 1.6;
}

.featured__skills-more a:hover {
    text-decoration: underline;
    color: inherit;
}

.featured__aside {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.6rem;
    flex-shrink: 0;
}

.featured__avail {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 11.5rem;
    padding: 0.5rem 0.9rem 0.5rem 0.45rem;
    border-radius: 999px;
    background: #e6f4ea;
    color: #1e6b3a;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.5;
}

.featured__avail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 50%;
    background: #c8e6d0;
    color: #1e6b3a;
    flex-shrink: 0;
    line-height: 0;
}

.featured__avail-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.stat-pill {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.55rem 0.85rem 0.5rem;
    text-align: center;
    min-width: 4.6rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26, 35, 50, 0.04);
}

.stat-pill__num {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.05;
    color: #1a365d;
}

.stat-pill__lbl {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.7rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.stat-pill__chart {
    display: block;
    width: 22px;
    height: 15px;
    margin: 0.25rem auto 0;
}

.featured__stats {
    display: grid;
    grid-template-columns:
        minmax(0, 0.7fr)
        minmax(0, 1.05fr)
        minmax(0, 1.35fr)
        minmax(0, 0.95fr);
    gap: 0;
    margin: 1.1rem -1.2rem 0;
    padding: 1.05rem 1.2rem;
    background: #f5f7fa;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.featured__stat {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0 0.6rem;
    border-right: 1px solid #dde3eb;
}

.featured__stat:first-child {
    padding-left: 0;
}

.featured__stat:last-child {
    border-right: none;
    padding-right: 0;
}

.featured__stat > div {
    min-width: 0;
    overflow: hidden;
}

.featured__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 8px;
    border-radius: 11px;
    flex-shrink: 0;
    background: #fff;
    line-height: 0;
    overflow: visible;
}

.featured__stat-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.featured__stat-icon--roles {
    color: #7c3aed;
    background: #f3e8ff;
}

.featured__stat-icon--edu {
    color: #7c3aed;
    background: #f3e8ff;
}

.featured__stat-icon--job {
    color: #64748b;
    background: #eef2f6;
}

.featured__stat-icon--loc {
    color: #db2777;
    background: #fce7f3;
}

.featured__stat strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    color: #1a365d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured__stat span {
    display: block;
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tag {
    display: inline-block;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: #e8f1f4;
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
}

.featured__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.1rem;
}

.featured__actions .btn {
    font-size: 0.95rem;
    line-height: 1.6;
}

.featured__actions .btn svg {
    width: 19px;
    height: 19px;
}

.featured__btn-main {
    flex: 1 1 8.5rem;
    min-height: 3rem;
}

.featured__btn-side {
    flex: 0 0 auto;
    min-height: 3rem;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    white-space: nowrap;
}

.btn--soft {
    background: #f3f5f8;
    border: 1px solid #d8e0ea;
    color: #334155;
}

.btn--soft:hover {
    background: #e8edf3;
    border-color: #c5d0dc;
    color: #1a365d;
}

.btn--soft svg {
    margin-right: 0;
    color: #64748b;
}

.btn--soft.is-saved {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn--soft.is-saved svg {
    color: var(--accent);
}

.btn--soft.is-copied {
    border-color: var(--brand-2);
    color: var(--brand-2);
}

.btn--icon {
    width: 2.55rem;
    height: 2.55rem;
    padding: 0;
    background: #fff;
    border: 1px solid var(--line);
    color: #334155;
    border-radius: 10px;
}

.btn--icon svg {
    margin: 0;
}

.btn--icon:hover {
    border-color: #b6c4d4;
    color: var(--brand);
    background: #f8fafc;
}

.btn--icon.is-saved {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn--icon.is-copied {
    border-color: var(--brand-2);
    color: var(--brand-2);
}

.featured__actions .btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.featured__actions .btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .featured__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.75rem;
    }

    .featured__stat:nth-child(2) {
        border-right: none;
        padding-right: 0;
    }

    .featured__stat:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .featured__top {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .featured__aside {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
    }

    .featured__avail {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .featured__main {
        padding: 1rem;
    }

    .featured__stats {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        grid-template-columns: 1fr;
    }

    .featured__stat,
    .featured__stat:first-child,
    .featured__stat:last-child,
    .featured__stat:nth-child(2),
    .featured__stat:nth-child(3) {
        border-right: none;
        padding: 0.35rem 0;
    }

    .featured__media {
        width: 80px;
        height: 80px;
    }

    .featured__photo {
        width: 80px;
        height: 80px;
    }

    .featured__name {
        font-size: 1.2rem;
    }

    .featured__btn-main,
    .featured__btn-side {
        flex: 1 1 calc(50% - 0.25rem);
    }
}

.category-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    background: #f7fafc;
    border-top: 1px solid var(--line);
}

.mini-cat {
    padding: 0.9rem 1rem;
    border-right: 1px solid var(--line);
}

.mini-cat:last-child {
    border-right: none;
}

.mini-cat h3 {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.mini-cat ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.82rem;
}

.mini-cat li {
    display: flex;
    gap: 0.4rem;
    margin: 0.28rem 0;
}

.mini-cat a {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
}

.mini-cat a:hover {
    color: var(--accent);
}

.mini-cat span {
    color: var(--success);
    font-weight: 700;
    min-width: 1.6rem;
}

/* Urgent Hiring slider */
.urgent-hiring {
    --uh-ink: #111111;
    --uh-muted: #6b6b6b;
    --uh-card: #ffffff;
    --uh-cols: 3;
    --uh-gap: 0.75rem;
    position: relative;
    width: 100%;
    overflow: visible;
    background: #fff;
    padding: 1rem 0 1.15rem;
    margin: 0 0 1.5rem;
    border-radius: 18px;
}

.urgent-hiring__inner {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    padding: 0 0.85rem;
}

.urgent-hiring__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.urgent-hiring__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.urgent-hiring__seal {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    perspective: 520px;
    transform-style: preserve-3d;
    z-index: 2;
}

.urgent-hiring__star-scene {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotateX(14deg);
    transform-style: preserve-3d;
}

.urgent-hiring__star-spin {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: uh-star-3d 3.6s linear infinite;
}

.urgent-hiring__star-spin::before,
.urgent-hiring__star-spin::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, #cfd6de, #6f7782);
    transform-style: preserve-3d;
}

.urgent-hiring__star-spin::before {
    transform: translateZ(-2px);
}

.urgent-hiring__star-spin::after {
    transform: translateZ(-4px);
    box-shadow: 0 6px 12px rgba(40, 50, 70, 0.28);
}

.urgent-hiring__star-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #2a3340;
    background:
        radial-gradient(circle at 32% 26%, #f8f9fb 0%, #c8d0d8 42%, #8b949e 74%, #5f6770 100%);
    box-shadow:
        inset 0 2px 3px rgba(255, 255, 255, 0.78),
        inset 0 -3px 6px rgba(0, 0, 0, 0.28);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.urgent-hiring__star-face::after {
    content: "";
    position: absolute;
    top: 8%;
    left: 16%;
    width: 38%;
    height: 28%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 70%);
    pointer-events: none;
}

.urgent-hiring__star-face svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

.urgent-hiring__star-face--back {
    transform: rotateY(180deg);
}

@keyframes uh-star-3d {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.urgent-hiring__title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}

.urgent-hiring__kicker {
    display: inline-block;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--uh-ink);
    letter-spacing: -0.02em;
    line-height: 1.15;
    animation: uh-kicker-blink 1.35s ease-in-out infinite;
}

.urgent-hiring__sub {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--uh-muted);
    line-height: 1.2;
}

@keyframes uh-kicker-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.18; }
}

.urgent-hiring__all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.52rem 1.05rem;
    border-radius: 999px;
    border: 1px solid #111;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.urgent-hiring__all:hover {
    color: #111;
    background: #fff;
}

.urgent-hiring__empty {
    margin: 0.15rem 0 0.85rem;
    color: var(--uh-muted);
    font-size: 0.92rem;
    min-height: 4.5rem;
}

.urgent-hiring__slider {
    position: relative;
    padding: 0 2.1rem;
}

.urgent-hiring__track {
    display: block;
    overflow: hidden;
    container-type: inline-size;
    padding: 0;
    background: transparent;
}

.urgent-hiring__marquee {
    display: flex;
    gap: var(--uh-gap);
    width: max-content;
    will-change: transform;
    animation: uh-marquee var(--uh-speed, 24s) linear infinite;
}

.urgent-hiring__marquee.is-reverse {
    animation-direction: reverse;
}

.urgent-hiring__track:hover .urgent-hiring__marquee,
.urgent-hiring__marquee:focus-within {
    animation-play-state: paused;
}

.urgent-hiring__slider:has(.urgent-hiring__nav:hover) .urgent-hiring__marquee {
    animation-play-state: running;
}

.urgent-hiring__slider:has(.urgent-hiring__nav--prev:hover) .urgent-hiring__marquee {
    animation-direction: reverse;
}

.urgent-hiring__slider:has(.urgent-hiring__nav--next:hover) .urgent-hiring__marquee {
    animation-direction: normal;
}

@keyframes uh-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--uh-shift, -50%), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .urgent-hiring__marquee,
    .urgent-hiring__star-spin,
    .urgent-hiring__kicker {
        animation: none;
        will-change: auto;
    }
}

.urgent-card {
    position: relative;
    flex: 0 0 calc((100cqw - (var(--uh-gap) * (var(--uh-cols) - 1))) / var(--uh-cols));
    scroll-snap-align: unset;
    background: var(--uh-card);
    border: 1px solid #e2e5ea;
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.urgent-card:hover {
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.urgent-card__hit {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.urgent-card__hero,
.urgent-card__title,
.urgent-card__company {
    pointer-events: none;
}

.urgent-card__hero {
    position: relative;
    height: 122px;
    display: grid;
    place-items: center;
    padding: 0.85rem 1.7rem 0.45rem;
    background: #fff;
}

.urgent-card__logo {
    display: grid;
    place-items: center;
    width: 88%;
    height: 100%;
    color: var(--uh-ink);
    font-weight: 800;
    font-size: 1.55rem;
}

.urgent-card__logo img {
    max-width: 100%;
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.urgent-card__title {
    margin: 0.2rem 0.95rem 0.12rem;
    height: 42px;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--uh-ink);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.urgent-card__company {
    margin: 0 0.95rem 0.4rem;
    font-size: 0.78rem;
    color: #8a8a8a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.urgent-card__meta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0.95rem 0.55rem;
    min-width: 0;
}

.urgent-card__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    min-width: 0;
    flex: 0 1 auto;
    font-size: 0.68rem;
    font-weight: 600;
    color: #6f6f6f;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.urgent-card__chip svg {
    flex-shrink: 0;
    color: #9a9a9a;
}

.urgent-card__actions {
    position: relative;
    z-index: 2;
    margin: 0 0.85rem 0.85rem;
    margin-top: auto;
}

.urgent-card__apply {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.58rem 0.7rem;
    border-radius: 999px;
}

.urgent-card__apply:hover {
    color: #111;
    background: #fff;
}

.urgent-card__save {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    margin: 0;
    pointer-events: auto;
}

.urgent-card__save button {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #9aa0a8;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    border-radius: 6px;
}

.urgent-card__save button:hover {
    color: #111;
    background: #f3f4f6;
}

.urgent-hiring__nav {
    position: absolute;
    top: 46%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid #ececec;
    border-radius: 50%;
    background: #fff;
    color: #4a4a4a;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 35, 50, 0.12);
    padding: 0;
}

.urgent-hiring__nav:hover:not(:disabled) {
    background: #fff;
    color: var(--uh-ink);
    border-color: #ddd;
}

.urgent-hiring__nav:disabled,
.urgent-hiring__nav[hidden] {
    opacity: 0;
    pointer-events: none;
}

.urgent-hiring__nav--prev {
    left: 0;
}

.urgent-hiring__nav--next {
    right: 0;
}

.urgent-hiring__dots-nav {
    display: none;
}

.urgent-hiring__dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: #d8d4cc;
    padding: 0;
    cursor: pointer;
}

.urgent-hiring__dot.is-active {
    width: 9px;
    height: 9px;
    background: #111;
}

@media (max-width: 1100px) {
    .urgent-hiring {
        --uh-cols: 2;
    }
}

@media (max-width: 800px) {
    .urgent-hiring {
        --uh-cols: 2;
    }

    .urgent-hiring__kicker {
        font-size: 1.15rem;
    }
}

@media (max-width: 640px) {
    .urgent-hiring {
        --uh-cols: 1.15;
        padding: 1.1rem 0 1.25rem;
    }

    .urgent-hiring__inner {
        padding: 0 0.85rem;
    }

    .urgent-hiring__slider {
        padding: 0 1.7rem;
    }

    .urgent-hiring__kicker {
        font-size: 1.05rem;
    }

    .urgent-hiring__sub {
        font-size: 0.88rem;
    }

    .urgent-hiring__all {
        padding: 0.45rem 0.8rem;
        font-size: 0.8rem;
    }

    .urgent-hiring__nav {
        width: 34px;
        height: 34px;
    }
}

/* Browse jobs — full-width recent jobs band */
.jobs-spotlight {
    width: 100%;
    background: var(--bg);
    padding: 1.1rem 0 0.15rem;
}

.jobs-spotlight__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.jobs-spotlight .latest-jobs {
    --lj-cols: 4;
    margin-top: 0;
    padding-top: 0.2rem;
}

.latest-jobs__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand);
    letter-spacing: -0.01em;
}

.latest-jobs__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.55rem;
}

.latest-jobs__all {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--brand);
    white-space: nowrap;
}

.latest-jobs__all:hover {
    background: #fff;
    color: var(--brand);
}

.latest-jobs__all svg {
    display: block;
}

.latest-jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
}

.latest-jobs-grid .lj-card {
    flex: none;
    width: auto;
}

.recent-jobs-page .section {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0.15rem 0 0;
}

.recent-jobs-page .pager {
    margin-top: 1.25rem;
}

.main > .urgent-hiring {
    margin-left: auto;
    margin-right: auto;
}

/* Latest jobs — card carousel (center column) */
.latest-jobs {
    --lj-gap: 1.1rem;
    --lj-cols: 2;
    width: 100%;
    background: transparent;
    padding: 0.35rem 0 0;
    margin-top: -10px;
}

.latest-jobs--full {
    --lj-cols: 4;
}

.latest-jobs__inner {
    max-width: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 0.2rem;
}

.latest-jobs__btn {
    width: 32px;
    height: 96px;
    border: 0;
    background: transparent;
    color: #6b7582;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    align-self: center;
    transition: color 0.15s ease;
}

.latest-jobs__btn:hover:not(:disabled) {
    color: #2f3844;
}

.latest-jobs__btn:disabled {
    opacity: 0.28;
    cursor: default;
}

.latest-jobs__btn svg {
    display: block;
}

.latest-jobs__viewport {
    overflow: hidden;
    min-width: 0;
}

.latest-jobs__viewport:focus-visible {
    outline: 2px solid var(--brand-2);
    outline-offset: 4px;
    border-radius: 10px;
}

.latest-jobs__track {
    display: flex;
    gap: var(--lj-gap);
    overflow-x: auto;
    scroll-snap-type: none;
    scroll-behavior: auto;
    scrollbar-width: none;
    padding: 0.5rem 0.1rem;
    cursor: grab;
}

.latest-jobs__track::-webkit-scrollbar {
    display: none;
}

.latest-jobs__track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.lj-card {
    position: relative;
    flex: 0 0 calc((100% - (var(--lj-cols) - 1) * var(--lj-gap)) / var(--lj-cols));
    background: #fff;
    border: 1px solid #e6eaef;
    border-radius: 10px;
    padding: 0.95rem 1rem 0.9rem;
    box-shadow: 0 2px 10px rgba(32, 48, 72, 0.06);
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 228px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.lj-card:hover,
.lj-card:focus-within {
    border-color: #3a7bd5;
    box-shadow: 0 8px 22px rgba(32, 48, 72, 0.1);
    z-index: 2;
}

.lj-card__hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.lj-card__top {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.lj-card__brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.lj-card__brand:hover {
    color: inherit;
}

.lj-card__logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f3f7fb, #e8eef5);
    border: 1px solid #e4ebf3;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--brand);
}

.lj-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lj-card__co {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.lj-card__co strong {
    font-size: 0.92rem;
    font-weight: 750;
    color: #1b2430;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lj-card__co small {
    font-size: 0.75rem;
    color: #8a96a8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lj-card__menu {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    margin-left: auto;
}

.lj-card__more {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #8a96a8;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.lj-card__more:hover,
.lj-card__more[aria-expanded="true"] {
    background: #f1f5f9;
    color: var(--text);
}

.lj-card__drop {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 148px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(26, 35, 50, 0.14);
    padding: 0.3rem;
    display: grid;
}

.lj-card__drop[hidden] {
    display: none;
}

.lj-card__drop a,
.lj-card__drop button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.6rem;
    border-radius: 7px;
    text-decoration: none;
    cursor: pointer;
}

.lj-card__drop a:hover,
.lj-card__drop button:hover {
    background: #f3f7fb;
    color: var(--brand);
}

.lj-card__title {
    position: relative;
    z-index: 0;
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
    font-weight: 500;
    color: #151c26;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lj-card__excerpt {
    margin: 0 0 0.7rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #7a8696;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.lj-card__meta {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.85rem;
    margin: 0 0 0.75rem;
}

.lj-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    max-width: 100%;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.lj-meta svg {
    flex-shrink: 0;
}

.lj-meta--place {
    color: #5c6b7f;
}

.lj-meta--place:hover {
    color: var(--brand);
    text-decoration: underline;
}

.lj-card__apply {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 0.52rem 0.75rem;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: filter 0.15s ease, background 0.15s ease;
}

.lj-card__apply:hover {
    color: #fff;
    filter: brightness(1.06);
}

@media (max-width: 1100px) {
    .latest-jobs {
        --lj-cols: 2;
        margin-top: 1.1rem;
    }

    .jobs-spotlight .latest-jobs,
    .latest-jobs--full {
        --lj-cols: 4;
    }

    .latest-jobs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .jobs-spotlight .latest-jobs,
    .latest-jobs--full {
        --lj-cols: 3;
    }

    .latest-jobs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .latest-jobs {
        --lj-cols: 2;
    }

    .jobs-spotlight .latest-jobs,
    .latest-jobs--full {
        --lj-cols: 2;
    }

    .latest-jobs__inner {
        grid-template-columns: 24px minmax(0, 1fr) 24px;
        padding: 0;
    }

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

    .latest-jobs__all {
        font-size: 0.75rem;
        padding: 0.38rem 0.8rem;
    }
}

@media (max-width: 520px) {
    .latest-jobs {
        --lj-cols: 1.12;
        --lj-gap: 0.75rem;
    }

    .jobs-spotlight .latest-jobs,
    .latest-jobs--full {
        --lj-cols: 1.12;
    }

    .lj-card {
        min-height: 210px;
    }

    .latest-jobs-grid {
        grid-template-columns: 1fr;
    }

    .latest-jobs__head {
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .latest-jobs__track,
    .lj-card,
    .latest-jobs__btn {
        scroll-behavior: auto;
        transition: none;
    }
}

.urgent-pill {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: #fff3e6;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Sections */
.section {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.75rem;
}

.section__title {
    margin: 0;
    font-size: 1.1rem;
    color: var(--brand);
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    font-size: 0.88rem;
}

.tabs a {
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 500;
}

.tabs a.is-active {
    color: var(--accent);
    font-weight: 700;
}

.text-nav {
    font-size: 0.88rem;
}

.text-nav a {
    text-decoration: none;
    font-weight: 500;
}

.sep {
    margin: 0 0.35rem;
    color: var(--line);
}

/* Job table */
.table-wrap {
    overflow-x: auto;
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.job-table th,
.job-table td {
    text-align: left;
    padding: 0.55rem 0.65rem;
}

.job-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    border-bottom: 2px solid var(--line);
}

.job-table tbody tr {
    border-bottom: 1px solid var(--line);
}

.job-table__row--alt {
    background: #f8fafc;
}

.job-table__title {
    font-weight: 700;
    color: #837a08;
}

.apply-link {
    font-weight: 600;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Homepage job board — inner elements only; outer .section size stays */
.job-board .section__head {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0.85rem;
}

.job-board .section__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.job-board .tabs {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 4px;
    background: #eef1f5;
    border-radius: 999px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.job-board .tabs::-webkit-scrollbar {
    display: none;
}

.job-board .tabs a {
    color: #6b7585;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    line-height: 1.2;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
}

.job-board .tabs a:hover {
    color: #2c3441;
    background: rgba(255, 255, 255, 0.72);
}

.job-board .tabs a.is-active {
    background: #2c3441;
    color: #fff;
    font-weight: 700;
}

.job-board .tabs a.is-active:hover {
    color: #fff;
    background: #2c3441;
}

.job-table--list {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9rem;
}

.job-table--list th,
.job-table--list td {
    padding: 0.65rem 0.7rem;
    vertical-align: middle;
}

.job-table--list thead th {
    background: #f3f5f8;
    color: #9aa6b2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 0;
    padding: 0.55rem 0.7rem;
}

.job-table--list thead th:first-child {
    border-radius: 8px 0 0 8px;
}

.job-table--list thead th:last-child {
    border-radius: 0 8px 8px 0;
}

.job-table--list tbody td {
    border-bottom: 1px solid #eef1f5;
    background: #fff;
}

.job-table--list tbody tr:last-child td {
    border-bottom: 0;
}

.job-table--list tbody tr:hover td {
    background: #eef3f7;
}

.job-table--list .job-table__role {
    width: 30%;
}

.job-table--list .job-table__company {
    width: 28%;
}

.job-table--list .job-table__city,
.job-table--list .job-table__posted {
    width: 14%;
    color: #8b97a6;
    font-size: 0.84rem;
    line-height: 1.25;
}

.job-table--list .job-table__posted {
    max-width: 6.2rem;
}

.job-table--list .job-table__action {
    width: 14%;
    text-align: right;
    white-space: nowrap;
}

.job-table--list .job-table__name {
    display: block;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    line-height: 1.3;
}

.job-table--list .job-table__name:hover {
    color: #1e293b;
    text-decoration: underline;
}

.job-table--list .urgent-pill {
    display: inline-block;
    margin: 0.28rem 0 0;
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
    background: #fff1d6;
    color: #e39b2d;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.job-table--list .job-table__co {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.25;
}

.job-table--list a.job-table__co:hover {
    color: #1e293b;
}

.job-table--list .job-table__logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e6ebf1;
    background: #fff;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 30px;
}

.job-table--list .job-table__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.job-table--list .job-table__co-name {
    min-width: 0;
}

.job-table--list .job-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.1rem;
    padding: 0.38rem 0.9rem;
    border-radius: 8px;
    background: #2c3441;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.job-table--list .job-apply:hover {
    background: #1c2430;
    color: #fff;
}

.job-board .pager--dots {
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.9rem;
}

.job-board .pager--dots .pager__link {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f2f4f7;
    color: #8b95a3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.84rem;
    text-decoration: none;
}

.job-board .pager--dots .pager__link.is-active {
    background: #3a4250;
    color: #fff;
    border-color: transparent;
}

.job-board .pager--dots .pager__link.is-disabled {
    opacity: 0.45;
}

.job-board .pager--dots .pager__link:hover:not(.is-active):not(.is-disabled) {
    background: #e7ebf0;
    color: #3a4250;
}

/* Employers */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.logo-grid--wide {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

@media (max-width: 900px) {
    .logo-grid:not(.logo-grid--wide) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .logo-grid:not(.logo-grid--wide) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.logo-tile {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    min-height: 72px;
    display: grid;
    place-items: center;
    padding: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: var(--muted);
    background: #fafafa;
}

/* Browse jobs */
.browse-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.browse-box__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.95rem 1.15rem 0.85rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #f7fafc 0%, #ffffff 100%);
}

.browse-box__title {
    margin: 0;
    font-size: 1.05rem;
    color: var(--brand);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.browse-tabs {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    gap: 2px;
    background: #e8eef4;
    border-radius: 999px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.browse-tabs::-webkit-scrollbar {
    display: none;
}

.browse-tabs__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.browse-tabs__btn:hover {
    color: var(--brand);
    background: rgba(255, 255, 255, 0.72);
}

.browse-tabs__btn[aria-selected="true"] {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(28, 76, 92, 0.28);
}

.browse-tabs__btn[aria-selected="true"]:hover {
    color: #fff;
    background: #163e4b;
}

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

.browse-tabs__btn:active {
    transform: scale(0.97);
}

.browse-panel {
    padding: 0.85rem 1.1rem 1.05rem;
}

.browse-panel[hidden] {
    display: none;
}

.browse-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.1rem 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.browse-grid a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.86rem;
    padding: 0.4rem 0.55rem;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.browse-grid a:hover,
.browse-grid a:focus-visible {
    background: var(--accent-soft);
    color: var(--accent);
}

.browse-grid a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
}

.browse-grid__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browse-grid__count {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
}

.browse-grid a:hover .browse-grid__count,
.browse-grid a:focus-visible .browse-grid__count {
    color: var(--accent);
}

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

.browse-box__more {
    margin: 0.7rem 0 0;
    text-align: right;
}

.browse-box__more a {
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.browse-box__more a:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .browse-box__head {
        flex-direction: column;
        align-items: stretch;
    }

    .browse-tabs {
        width: 100%;
        justify-content: space-between;
    }

    .browse-tabs__btn {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.45rem 0.55rem;
    }

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

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

/* Band */
.band {
    background: #ffffcc;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    overflow: hidden;
}

.band__inner {
    display: grid;
    grid-template-columns: 1fr minmax(160px, 240px);
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    align-items: stretch;
}

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

    .band__visual {
        min-height: 120px;
    }
}

.band__title {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--brand);
}

.band__item {
    margin-bottom: 1rem;
}

.band__item h3 {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.band__item h3 a {
    color: var(--accent);
    text-decoration: none;
}

.band__item p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.band__meta {
    margin-top: 0.5rem !important;
    font-weight: 600;
    font-size: 0.82rem !important;
}

.band__meta a {
    color: var(--muted);
    text-decoration: none;
}

.band__meta a:hover {
    text-decoration: underline;
}

.band__visual {
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #ffb6c1, #ffc0cb 40%, #ffd4e5);
    min-height: 100%;
}

/* Footer */
.site-footer {
    width: 100%;
    margin-top: 30px;
}

.site-footer__main {
    background: #0f2a3d;
    color: #fff;
}

.site-footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 2rem;
}

.site-footer__col {
    min-width: 0;
}

.site-footer__heading {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.site-footer__links a,
.site-footer__locations a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.4;
}

.site-footer__links a:hover,
.site-footer__locations a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__bar {
    background: #000;
    color: #fff;
}

.site-footer__bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
}

.site-footer__copyright,
.site-footer__powered {
    margin: 0;
    font-size: 0.85rem;
    color: #fff;
}

.site-footer__powered a {
    color: #fff;
    text-decoration: underline;
}

.site-footer__powered a:hover {
    opacity: 0.85;
}

@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1.25rem;
        padding: 1.75rem 1.25rem 1.5rem;
    }
}

@media (max-width: 520px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .site-footer__bar-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.social {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

.social--fb {
    background: #1877f2;
}

.social--tw {
    background: #1d9bf0;
}

.nav-main a.is-active,
.nav-drop.is-current .nav-drop__btn {
    color: var(--accent);
    font-weight: 700;
}

.flash {
    max-width: 1400px;
    margin: 0.75rem auto 0;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
}

.flash--success {
    background: #f3f8e8;
    border-color: #c5d99a;
    color: #3d5310;
}

.flash--error {
    background: #fff1f0;
    border-color: #f5c2c0;
    color: var(--error);
}

.empty-state,
.form-error {
    margin: 0.75rem 0;
}

.form-error {
    color: var(--error);
    font-weight: 600;
}

.page-wide,
.page-narrow,
.auth-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 3rem;
}

.page-narrow,
.auth-page {
    max-width: 640px;
}

.auth-page--wide {
    max-width: 820px;
}

.auth-card h1 {
    margin-top: 0;
}

.auth-card__head {
    margin-bottom: 1.15rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.auth-card__head h1 {
    margin: 0 0 0.35rem;
    color: var(--brand);
    font-size: 1.55rem;
}

.auth-card__head .muted {
    margin: 0;
}

.form-grid__section {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0;
    padding-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.req {
    color: var(--accent);
    font-weight: 700;
}

.field-hint {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--error);
}

.auth-card__actions {
    margin-top: 0.35rem;
}

.auth-card__actions .btn {
    min-width: 180px;
}

.auth-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 1.15rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.auth-card__links--btns {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.65rem;
}

.auth-card__links--btns .btn {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.captcha {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
    min-width: 0;
}

.captcha__hint {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
}

.captcha__visual {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.captcha__img {
    display: block;
    flex: 1 1 auto;
    width: auto;
    max-width: min(360px, calc(100% - 52px));
    min-width: 0;
    height: auto;
    aspect-ratio: 360 / 120;
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #f8fbff;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}

.captcha__img.is-loading {
    opacity: 0.45;
}

.captcha__refresh {
    box-sizing: border-box;
    width: 44px;
    height: auto;
    min-height: 52px;
    align-self: stretch;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--brand-2);
    cursor: pointer;
}

.captcha__refresh:hover {
    background: #eef5fb;
    color: var(--brand);
}

.captcha__refresh svg {
    display: block;
    margin: 0;
    transition: transform 0.35s ease;
}

.captcha__refresh.is-spin svg,
.captcha.is-refreshing .captcha__refresh svg {
    transform: rotate(180deg);
}

.card .captcha__img {
    max-width: min(360px, calc(100% - 52px));
    height: auto;
}

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

.form-grid h2,
.form-grid__full {
    grid-column: 1 / -1;
}

.form-grid label,
.form-grid .form-field,
.stack-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
}

.form-grid label > .input,
.form-grid label > .input-password-wrap,
.form-grid label > input,
.form-grid label > select,
.form-grid label > textarea,
.stack-form label > .input,
.stack-form label > input,
.stack-form label > select,
.stack-form label > textarea {
    margin-top: 0.35rem;
}

.form-grid label > .field-hint,
.form-grid label > .form-message,
.stack-form label > .field-hint {
    display: block;
    margin-top: 0.25rem;
}

.form-hint-tight {
    margin-top: -0.35rem;
}

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

.stat-box {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.9rem;
    background: #f8fafc;
}

.stat-box strong {
    display: block;
    font-size: 1.6rem;
    color: var(--brand);
}

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1rem;
}

.pager__link {
    min-width: 2rem;
    text-align: center;
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    text-decoration: none;
}

.pager__link.is-active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.job-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1.25rem;
    align-items: start;
}

.job-page__main {
    min-width: 0;
    display: grid;
    gap: 1.25rem;
    align-content: start;
}

.job-card {
    margin-bottom: 0;
}

.job-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.job-crumb a {
    text-decoration: none;
    font-weight: 600;
}

.job-crumb__sep {
    color: #b7c3d0;
}

.job-hero {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.job-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #f7fafc, #eef4f8);
    display: grid;
    place-items: center;
    overflow: hidden;
    text-decoration: none;
    color: var(--brand);
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.job-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-logo--sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.job-hero__title {
    margin: 0 0 0.2rem;
    font-size: 1.7rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

.job-hero__company {
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
}

.job-hero__company a {
    font-weight: 700;
    text-decoration: none;
}

.job-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.job-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 600;
}

.job-chip a {
    color: inherit;
    text-decoration: none;
}

.job-chip--accent {
    background: var(--accent-soft);
    color: var(--accent);
}

.job-chip--brand {
    background: #e8f2ea;
    color: var(--success);
}

.job-chip--quiet {
    background: transparent;
    color: var(--muted);
    padding-left: 0.15rem;
}

.job-chip--urgent {
    background: #fff3e6;
    color: var(--accent);
}

.job-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 148px;
}

.job-hero__cta .btn,
.job-hero__cta form {
    width: 100%;
}

.job-hero__cta .btn {
    justify-content: center;
}

.job-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.65rem;
    margin: 1.15rem 0 0;
    padding: 0;
}

.job-stats > div {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
}

.job-stats dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.job-stats dd {
    margin: 0.2rem 0 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--brand);
}

.job-skills {
    margin-top: 1.1rem;
}

.job-skills__label {
    margin: 0 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.skill-chips li {
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.job-tabs {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.job-tabs__nav {
    margin-bottom: 1rem;
}

.job-tabs__panel[hidden] {
    display: none;
}

.job-tabs__heading {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: var(--brand);
}

.job-prose {
    color: var(--text);
    font-size: 0.97rem;
    line-height: 1.72;
}

.job-prose__block + .job-prose__block {
    margin-top: 1.15rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
}

.job-prose h3 {
    margin: 0 0 0.5rem;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--brand);
}

.job-prose p {
    margin: 0;
    color: var(--text);
}

.job-prose p + p {
    margin-top: 0.75rem;
}

.job-prose ul,
.job-prose ol {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
    margin-left:10px;
}

.job-prose p + ul,
.job-prose p + ol {
    margin-top: 0.85rem;
}

.job-prose h3 + ul,
.job-prose h3 + ol,
.job-prose h3 + p {
    margin-top: 0.15rem;
}

.job-prose li {
    position: relative;
    padding: 0.05rem 0 0.05rem 1.15rem;
    color: var(--text);
}

.job-prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.job-prose ol {
    counter-reset: job-prose;
}

.job-prose ol li {
    padding-left: 1.45rem;
}

.job-prose ol li::before {
    counter-increment: job-prose;
    content: counter(job-prose);
    position: absolute;
    left: 0;
    top: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand);
}

.job-prose li strong {
    color: var(--brand);
    font-weight: 700;
}

.job-aside {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: calc(var(--header-h) + 0.85rem);
}

.job-aside .section {
    margin-bottom: 0;
}

.job-apply__form {
    display: grid;
    gap: 0.75rem;
}

.job-apply .captcha__hint {
    font-size: 0.78rem;
}

.job-apply__row {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.job-apply__row .btn {
    width: 100%;
}

.job-company__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    margin-bottom: 0.75rem;
}

.job-company__head strong {
    display: block;
    color: var(--brand);
}

.job-company__head small {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
}

.job-company__about {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-company__link {
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.job-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.job-related__list a {
    display: grid;
    gap: 0.1rem;
    text-decoration: none;
    color: inherit;
    padding: 0.55rem 0.6rem;
    border-radius: 10px;
    transition: background 0.15s ease;
}

.job-related__list a:hover {
    background: var(--accent-soft);
}

.job-related__list strong {
    color: var(--text);
    font-size: 0.9rem;
}

.job-related__list span {
    color: var(--muted);
    font-size: 0.78rem;
}

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

    .job-aside {
        position: static;
    }

    .job-hero {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .job-hero__cta {
        grid-column: 1 / -1;
        flex-direction: row;
        min-width: 0;
    }

    .job-hero__cta .btn,
    .job-hero__cta form {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 560px) {
    .job-hero__title {
        font-size: 1.35rem;
    }

    .job-logo {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
}

.company-hero {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.company-logo {
    max-height: 64px;
    width: auto;
}

.company-logo--lg {
    max-height: 88px;
}

.company-page {
    padding: 0 0 3rem;
    max-width: none;
}

.company-page__body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.co-cover {
    position: relative;
    width: 100%;
    overflow: visible;
}

.co-cover__media {
    width: 100%;
    height: 240px;
    background-color: #1a3d52;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.co-cover__media--default {
    background-image:
        radial-gradient(circle at 12% 38%, rgba(80, 180, 255, 0.7) 0 70px, transparent 140px),
        radial-gradient(circle at 28% 62%, rgba(46, 196, 120, 0.55) 0 80px, transparent 160px),
        radial-gradient(circle at 48% 30%, rgba(255, 196, 72, 0.55) 0 90px, transparent 170px),
        radial-gradient(circle at 68% 58%, rgba(255, 122, 48, 0.5) 0 90px, transparent 180px),
        radial-gradient(circle at 86% 28%, rgba(70, 130, 220, 0.65) 0 100px, transparent 190px),
        linear-gradient(120deg, #123348 0%, #1c4c5c 45%, #2a6280 100%);
}

.co-cover__upload {
    position: absolute;
    top: 0.85rem;
    right: 1.1rem;
    z-index: 3;
}

.co-cover__camera {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
}

.co-cover__camera:hover {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
}

.co-cover__inner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    z-index: 2;
}

.co-cover__logo {
    width: 128px;
    height: 128px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    padding: 0.5rem;
    transform: translateY(50%);
}

.co-cover__logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.co-cover__logo span {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--brand);
}

.co-cover__name {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1.9rem;
    font-weight: 700;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
    line-height: 1.2;
}

.co-tabs {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 0;
    padding: 4.4rem 1rem 0.85rem 10.5rem;
    margin: 0 0 1.25rem;
    font-weight: 600;
}

.co-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    color: var(--muted);
}

.co-tabs a.is-active,
.co-tabs a:hover {
    color: var(--brand-2);
}

.co-tabs__home {
    color: var(--brand-2);
}

.co-layout {
    display: grid;
    grid-template-columns: minmax(240px, 32%) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.co-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 1rem 1.15rem 1.15rem;
    box-shadow: 0 1px 3px rgba(26, 35, 50, 0.04);
}

.co-card__title {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    color: #222;
}

.co-about {
    max-height: 7.2em;
    overflow: hidden;
    line-height: 1.55;
}

.co-about.is-open {
    max-height: none;
}

.co-more {
    margin-top: 0.65rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand-2);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.co-alert {
    background: #e8f4fc;
    color: #245a7a;
    padding: 0.85rem 1rem;
    border-radius: 2px;
}

.media-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin: 0.75rem 0 1rem;
    align-items: flex-end;
}

.banner-preview {
    max-width: 320px;
    max-height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
}

@media (max-width: 800px) {
    .co-layout {
        grid-template-columns: 1fr;
    }

    .co-tabs {
        padding: 3.6rem 1rem 0.85rem 1rem;
    }

    .co-cover__logo {
        width: 96px;
        height: 96px;
        transform: translateY(50%);
    }

    .co-cover__name {
        font-size: 1.4rem;
    }

    .co-cover__camera-text {
        display: none;
    }
}

.suggest {
    position: relative;
}

.suggest__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 20;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    max-height: 280px;
    overflow: auto;
}

.suggest__item {
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.suggest__item strong {
    font-weight: 700;
    color: var(--text);
}

.suggest__meta {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
}

.suggest__item:hover,
.suggest__item.is-active {
    background: #f3f7fb;
}

.suggest__item--create {
    border-top: 1px solid var(--line);
    color: var(--brand-2);
    font-weight: 600;
}

.suggest-join {
    margin: 0;
    padding: 0.65rem 0.8rem;
    background: #eef6fb;
    border: 1px solid #c5dcea;
    border-radius: var(--radius-sm);
    color: var(--brand);
    font-weight: 600;
}

.company-new-fields .form-grid {
    margin: 0;
}

.logo-tile {
    text-decoration: none;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-tile img {
    max-height: 40px;
    width: auto;
}

.logo-tile small {
    display: block;
    font-weight: 500;
    color: var(--muted);
}

.inline-form {
    display: inline;
}

.inline-form button {
    background: none;
    border: none;
    color: var(--brand-2);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.apply-link--danger,
.inline-form .apply-link--danger {
    color: #8a1f1b;
}

.points-form {
    max-width: 220px;
    margin: 0;
    gap: 0.35rem;
}

.points-form .input {
    width: 7.5rem;
    padding: 0.35rem 0.5rem;
}

.check--light {
    color: var(--text);
    flex-direction: row;
    align-items: center;
}

.form-grid label.check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.prose {
    white-space: pre-wrap;
}

.job-table__title a {
    color: inherit;
    text-decoration: none;
}

.job-table__title a:hover {
    text-decoration: underline;
}

.btn--linkedin {
    background: #0a66c2;
    color: #fff;
    gap: 0.55rem;
}

.btn--linkedin svg {
    margin-right: 0.2rem;
}

.btn--linkedin:hover {
    background: #004182;
    color: #fff;
}

.share-panel {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
    grid-column: 1 / -1;
}

.share-panel__head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: var(--brand);
}

.share-panel__head p {
    margin: 0 0 1rem;
}

.share-panel__hint {
    margin-top: 1rem;
}

.share-panel__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
    gap: 1.15rem;
    align-items: start;
}

.share-panel__actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
}

.share-panel__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.share-panel__actions .btn {
    width: 100%;
}

.share-panel__label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.li-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

.li-card__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #f4f7fb;
}

.share-panel__caption {
    min-height: 16rem;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.li-card__body {
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--line);
}

.li-card__title {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
}

.li-card__meta,
.li-card__url {
    margin: 0.3rem 0 0;
    font-size: 0.82rem;
    color: var(--muted);
}

.li-card__url {
    overflow-wrap: anywhere;
}

@media (max-width: 800px) {
    .share-panel__grid {
        grid-template-columns: 1fr;
    }
}

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

.wa-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
    background: #1ebe57;
    color: #fff;
    transform: scale(1.07);
}

.wa-float svg {
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 1;
    display: block;
}

.wa-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.45);
    animation: wa-pulse 1.8s ease-out infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.freelance-ad {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #f4f6f8;
    border: 1px solid #e3e8ee;
    box-shadow: 0 12px 28px rgba(36, 49, 68, 0.14);
    color: #2a3848;
}

.freelance-ad__top {
    padding: 1.15rem 1rem 0.9rem;
    text-align: center;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef2f6 100%);
}

.freelance-ad__headline {
    margin: 0;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #2a3848;
}

.freelance-ad__visual {
    display: flex;
    justify-content: center;
    margin: 0.85rem 0 0.45rem;
}

.freelance-ad__icon {
    width: 108px;
    height: auto;
    color: #2a3848;
}

.freelance-ad__lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #2a3848;
}

.freelance-ad__list {
    list-style: none;
    margin: 0;
    padding: 0.7rem 0.95rem 0.8rem;
    background: #d5dee8;
}

.freelance-ad__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1c2836;
}

.freelance-ad__list svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.freelance-ad__foot {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: auto;
    padding: 0.95rem 1rem 0.85rem;
    text-align: center;
    background: #f7f8fa;
}

.freelance-ad__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 0.7rem;
    border-radius: 10px;
    background: #2b3846;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(30, 41, 59, 0.22);
}

a.freelance-ad__cta:hover {
    color: #fff;
    background: #1e2a36;
}

.freelance-ad__note {
    margin: 0 0 0.7rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #2a3848;
}

@media (max-width: 900px) {
    .freelance-ad {
        display: none;
    }
}

.label-text {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.skill-tags {
    position: relative;
}

.skill-tags__box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.4rem 0.55rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}

.skill-tags__box:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.skill-tags__chips {
    display: contents;
}

.admin-cat-picker {
    max-height: 320px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    background: #fff;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
}

.filter-tabs a {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.filter-tabs a:hover,
.filter-tabs a.is-active {
    color: var(--brand);
    border-color: var(--brand);
    background: #eef6fb;
}

.mini-form--row {
    flex-direction: row;
    align-items: center;
    max-width: 480px;
}

.status-pill {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
}

.status-pill--pending {
    background: #fff4e5;
    color: #9a5b00;
}

.status-pill--active {
    background: #e8f6ee;
    color: #1b6b3a;
}

.status-pill--suspended {
    background: #fdecec;
    color: #9b1c1c;
}

.status-pill--unverified {
    background: #eef2f6;
    color: #4a5568;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.45rem 0.2rem 0.6rem;
    background: #eef6fb;
    border: 1px solid #c5dcea;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand);
}

.skill-chip__x {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    padding: 0 0.15rem;
}

.skill-tags__input {
    flex: 1 1 140px;
    min-width: 120px;
    border: 0;
    outline: none;
    font: inherit;
    background: transparent;
    padding: 0.25rem 0.15rem;
}

.skill-tags .suggest__list {
    left: 0;
    right: 0;
    top: calc(100% + 4px);
}

.flash {
    max-width: 1100px;
    margin: 0.75rem auto;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
}

.flash--success {
    background: #e8f7ee;
    color: #146c2e;
}

.flash--error {
    background: #fdecec;
    color: var(--error);
}

.input-password-wrap {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.input-password-wrap .input {
    flex: 1;
}

.password-toggle {
    flex-shrink: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.7rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle.is-visible {
    color: var(--brand);
    border-color: var(--brand-2);
}

.signup-resume-block {
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    background: color-mix(in srgb, var(--brand) 4%, #fff);
}

.signature-wrapper {
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: #fff;
    padding: 0.65rem;
}

#signatureCanvas {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
}

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

.edit-profile-page {
    padding-bottom: 2rem;
}

.edit-page-title {
    margin: 0 0 1.25rem;
    font-size: 1.7rem;
    color: var(--brand);
}

.edit-row-2cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    margin-bottom: 1.15rem;
}

.edit-section-card {
    margin-bottom: 1.15rem;
}

.edit-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.edit-section-title {
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    color: var(--brand);
}

.edit-section-header .edit-section-title {
    margin-bottom: 0;
}

.edit-section-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.9rem;
}

/* Keep every edit-profile action button the same size as "+ Add experience" */
.edit-profile-page .btn,
.edit-profile-page label.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    box-sizing: border-box;
    margin: 0;
    width: auto;
    max-width: max-content;
    justify-self: start;
}

.ai-write-btn--section {
    font-size: 0.82rem;
}

.photo-upload-area,
.resume-upload-area {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.photo-preview-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    border-radius: 28px;
    overflow: hidden;
    background: #e8f0f6;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(28, 76, 92, 0.12);
    flex-shrink: 0;
}

.photo-placeholder,
.photo-preview-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand);
}

.photo-placeholder[hidden],
.photo-preview-img[hidden] {
    display: none !important;
}

.photo-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.photo-form,
.resume-form {
    position: relative;
    display: grid;
    gap: 0.4rem;
    justify-items: start;
}

.photo-hint {
    font-size: 0.8rem;
    color: var(--muted);
}

.resume-current {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    margin-bottom: 0.75rem;
}

.resume-label {
    color: var(--muted);
    font-weight: 600;
}

.edit-form {
    display: grid;
    gap: 0.85rem;
}

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

.form-row {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
}

.repeatable-list {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 0.85rem;
}

#skillsList.repeatable-list-3cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repeatable-item {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbfcfe;
}

.repeatable-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--muted);
}

.btn-remove-item {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.btn-remove-item:hover {
    color: #9b1c1c;
}

.repeatable-row-4,
.repeatable-row-3,
.repeatable-row-dates {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.repeatable-row-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repeatable-row-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.repeatable-field {
    display: grid;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
}

.exp-current-job {
    margin: 0.1rem 0 0.05rem;
    font-weight: 600;
    color: var(--text);
}

.repeatable-item.is-current-job .exp-end-date {
    display: none;
}

@media (min-width: 901px) {
    .repeatable-item.is-current-job .repeatable-row-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.ai-field {
    display: grid;
    gap: 0.2rem;
}

.ai-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    width: fit-content;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--brand-2);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ai-write-btn:hover,
.ai-write-btn:focus-visible {
    color: var(--accent);
}

.ai-write-btn.is-busy {
    opacity: 0.7;
    cursor: wait;
}

.ai-write-icon {
    flex-shrink: 0;
}

.input.is-ai-filled {
    box-shadow: inset 0 0 0 1px var(--brand-2);
}

.form-message {
    min-height: 1.2em;
    margin-top: 0.65rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.form-message-success {
    color: var(--success);
}

.form-message-warning {
    color: #9a6700;
}

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

.input.is-review {
    box-shadow: inset 0 0 0 1px #d4a017;
}

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

@media (max-width: 900px) {
    .form-grid-4,
    .repeatable-row-4,
    .repeatable-row-3,
    #skillsList.repeatable-list-3cols {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .edit-row-2cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .form-grid-4,
    .repeatable-row-4,
    .repeatable-row-3,
    .repeatable-row-dates,
    #skillsList.repeatable-list-3cols {
        grid-template-columns: 1fr;
    }
}

/* ATS Resume Scanner + match widgets */
.ats-page--scan {
    max-width: 920px;
    margin: 0 auto;
    padding: 1.75rem 1.25rem 3.5rem;
}

.ats-scan__head {
    text-align: center;
    margin: 0 0 1.5rem;
}

.ats-scan__kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.ats-scan__title {
    margin: 0.4rem 0 0.55rem;
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--brand);
}

.ats-scan__lead {
    margin: 0 auto;
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.ats-scan__signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    margin: 1.05rem 0 0;
    padding: 0;
}

.ats-scan__signals li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.7rem 0.32rem 0.5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-size: 0.82rem;
    font-weight: 700;
}

.ats-scan__signals svg {
    color: var(--success);
}

.ats-jobbanner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid #dbeafe;
    border-radius: var(--radius);
    background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
}

.ats-jobbanner__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.ats-jobbanner strong {
    color: var(--brand);
}

.ats-jobbanner__hint {
    flex: 1 1 100%;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.ats-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.25rem 1.25rem 1.15rem;
    box-shadow: var(--shadow);
}

.ats-form.is-busy {
    pointer-events: none;
    opacity: 0.62;
}

.ats-form__grid {
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 800px) {
    .ats-form__grid {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .ats-form__grid--single {
        grid-template-columns: 1fr;
    }
}

.ats-form__col {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ats-form__step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand);
}

.ats-form__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0;
}

.ats-form label {
    display: block;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.ats-drop {
    position: relative;
    flex: 1 1 auto;
    min-height: 220px;
    border: 2px dashed #c9d6e6;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ats-drop.is-over {
    border-color: var(--accent);
    background: var(--accent-soft);
    box-shadow: 0 0 0 4px rgba(229, 115, 9, 0.12);
}

.ats-drop.has-file {
    border-style: solid;
    border-color: #b7d08a;
    background: #f6faef;
}

.ats-drop.is-disabled:not(.has-file) {
    opacity: 0.55;
}

.ats-drop__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.ats-form .ats-drop__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    min-height: 220px;
    padding: 1.35rem 1rem;
    text-align: center;
    pointer-events: none;
}

.ats-drop__icon {
    color: var(--brand);
    margin-bottom: 0.35rem;
}

.ats-drop__icon--done {
    display: none;
}

.ats-drop.has-file .ats-drop__icon--idle {
    display: none;
}

.ats-drop.has-file .ats-drop__icon--done {
    display: block;
}

.ats-drop__title {
    font-size: 1.05rem;
    color: var(--text);
}

.ats-drop__hint {
    color: var(--muted);
    font-size: 0.9rem;
}

.ats-drop__formats {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.45rem;
}

.ats-drop__formats span {
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ats-drop__limit {
    font-size: 0.78rem;
    color: var(--muted);
}

.ats-drop__file {
    display: none;
    margin-top: 0.45rem;
    color: var(--brand);
    font-weight: 700;
    word-break: break-word;
}

.ats-drop.has-file .ats-drop__file {
    display: block;
}

.ats-form .ats-saved {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin: 0.85rem 0 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    font-weight: 500;
    cursor: pointer;
}

.ats-saved input {
    margin-top: 0.2rem;
    accent-color: var(--brand);
}

.ats-saved__copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.ats-saved__copy strong {
    color: var(--brand);
    font-size: 0.92rem;
}

.ats-saved__copy span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 500;
}

.ats-jd {
    flex: 1 1 auto;
    min-height: 220px;
    resize: vertical;
    border-color: #c9d6e6;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    line-height: 1.55;
}

.ats-jd:focus {
    outline: 2px solid rgba(58, 112, 157, 0.28);
    border-color: var(--brand-2);
}

.ats-form__stored {
    margin: 0;
}

.ats-form__footer {
    margin-top: 1.2rem;
    padding-top: 1.05rem;
    border-top: 1px solid var(--line);
}

.ats-form__submit {
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.ats-form__submit:disabled {
    cursor: wait;
    filter: saturate(0.85);
}

.ats-form__disclaimer {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}

.ats-progress {
    margin-top: 1rem;
    padding: 1.05rem 1.15rem 1.15rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff8f0 0%, var(--accent-soft) 100%);
    border: 1px solid #f3d7b3;
}

.ats-progress__label {
    margin: 0 0 0.7rem;
    font-weight: 700;
    color: var(--brand);
}

.ats-progress__bar {
    height: 8px;
    border-radius: 999px;
    background: #f0e2d0;
    overflow: hidden;
    margin-bottom: 0.85rem;
}

.ats-progress__bar span {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: var(--accent);
    animation: ats-progress-slide 1.2s ease-in-out infinite;
}

@keyframes ats-progress-slide {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(280%); }
}

.ats-progress__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.ats-progress__steps li {
    position: relative;
    padding-top: 1.15rem;
    text-align: center;
    line-height: 1.25;
}

.ats-progress__steps li::before {
    content: "";
    position: absolute;
    top: 0.15rem;
    left: 50%;
    width: 0.7rem;
    height: 0.7rem;
    margin-left: -0.35rem;
    border-radius: 999px;
    background: #e2d3c0;
}

.ats-progress__steps li.is-active {
    color: var(--text);
    font-weight: 700;
}

.ats-progress__steps li.is-active::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(229, 115, 9, 0.16);
}

.ats-error {
    margin: 0.9rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    background: #fde8e6;
    color: var(--error);
}

.ats-error--static {
    margin-top: 0;
}

.ats-how {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    counter-reset: ats-how;
}

.ats-how li {
    counter-increment: ats-how;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.9rem 1rem 0.95rem 3.1rem;
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.ats-how li::before {
    content: counter(ats-how);
    position: absolute;
    left: 0.9rem;
    top: 0.95rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: var(--hero-bot);
    color: var(--brand);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ats-how strong {
    color: var(--brand);
    font-size: 0.95rem;
}

.ats-how span {
    color: var(--muted);
    font-size: 0.85rem;
}

@media (min-width: 720px) {
    .ats-how {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ats-progress__steps {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .ats-progress__steps li {
        padding-top: 0;
        padding-left: 1.2rem;
        text-align: left;
    }

    .ats-progress__steps li::before {
        left: 0;
        top: 0.35rem;
        margin-left: 0;
    }
}

.ats-page--report { max-width: 1400px; width: 100%; }
.ats-scoreboard { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; align-items: start; }
.ats-hero { text-align: center; margin-bottom: 0; }
.ats-hero__kicker { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-2); font-weight: 700; }
.ats-hero__title { margin: 0.4rem 0 0.2rem; color: var(--brand); }
.ats-hero__band { margin: 0; font-weight: 700; color: var(--accent); }
.ats-disclaimer { margin: 0.75rem auto 0; max-width: 22rem; font-size: 0.82rem; color: var(--muted); }
.ats-ring { width: 132px; height: 132px; margin: 0.75rem auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 10px solid var(--line); background: #fff; font-size: 1.8rem; font-weight: 800; color: var(--brand); }
.ats-ring--sm { width: 72px; height: 72px; border-width: 6px; font-size: 1.05rem; margin: 0; }
.ats-ring--excellent { border-color: var(--success); }
.ats-ring--strong { border-color: #5a9a2a; }
.ats-ring--good { border-color: var(--brand-2); }
.ats-ring--moderate { border-color: var(--accent); }
.ats-ring--low { border-color: #b42318; }
.ats-scoreboard__detail { min-width: 0; }
.ats-bars { display: grid; gap: 0.7rem; margin: 0; }
@media (min-width: 720px) {
    .ats-scoreboard {
        grid-template-columns: 2fr 3fr;
        gap: 2rem;
        align-items: center;
    }
}
.ats-bar__meta { display: flex; justify-content: space-between; font-size: 0.92rem; margin-bottom: 0.2rem; }
.ats-bar__track { height: 10px; background: #e7edf3; border-radius: 999px; overflow: hidden; }
.ats-bar__fill { display: block; height: 100%; background: var(--brand-2); border-radius: 999px; }
.ats-bar__fill--excellent, .ats-bar__fill--strong { background: var(--success); }
.ats-bar__fill--good { background: var(--brand-2); }
.ats-bar__fill--moderate { background: var(--accent); }
.ats-bar__fill--low { background: #b42318; }
.ats-grid { display: grid; gap: 1rem; }
@media (min-width: 720px) { .ats-grid { grid-template-columns: 1fr 1fr; } }
.ats-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem 1.2rem; margin-bottom: 1rem; }
.ats-panel h2 { margin: 0 0 0.6rem; font-size: 1.05rem; color: var(--brand); }
.ats-skills { list-style: none; margin: 0; padding: 0; }
.ats-skills li { padding: 0.28rem 0; }
.ats-skills .is-in { color: var(--success); font-weight: 600; }
.ats-skills .is-out { color: #b42318; font-weight: 600; }
.ats-skills--compact li { display: inline-block; margin-right: 0.75rem; }
.ats-ok { color: var(--success); font-weight: 600; }
.ats-recs, .ats-checks { margin: 0; padding-left: 1.1rem; }
.ats-recs li, .ats-checks li { margin: 0.4rem 0; }
.ats-checks__confirmed { color: #b42318; }
.ats-checks__potential { color: #9a6700; }
.ats-checks__not_evaluated { color: var(--muted); }
.ats-widget__head { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 0.85rem; }
.ats-widget__score { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--brand); }
.ats-widget__scorecard { text-align: center; padding: 0.35rem 0 0.15rem; }
.ats-widget__kicker { margin: 0; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-2); font-weight: 700; }
.ats-widget__scorecard .ats-ring { margin: 0.85rem auto; }
.ats-widget__title { margin: 0.35rem 0 0.15rem; font-size: 1.35rem; color: var(--brand); }
.ats-widget__band { margin: 0; font-weight: 700; color: var(--accent); }
.ats-widget__detail { display: inline-block; margin-top: 0.85rem; font-weight: 700; color: var(--brand-2); text-decoration: underline; text-underline-offset: 0.15em; }
.ats-widget__detail:hover { color: var(--brand); }
.ats-widget__scorecard--loading { min-height: 12rem; }
.ats-widget__spinner {
    width: 48px;
    height: 48px;
    margin: 1.1rem auto;
    border: 4px solid var(--line);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: nayi-spin 0.75s linear infinite;
}
.ats-badge { display: inline-block; min-width: 3.2rem; text-align: center; font-weight: 800; border-radius: 999px; padding: 0.15rem 0.5rem; background: #e7edf3; }
.ats-badge--excellent, .ats-badge--strong { background: #e8f4d9; color: #3d5a12; }
.ats-badge--good { background: #e4eef8; color: var(--brand); }
.ats-badge--moderate { background: var(--accent-soft); color: #9a4b00; }
.ats-badge--low { background: #fde8e6; color: #8a1f1b; }
.ats-extra { margin: 0.85rem 0 0; }
.ats-extra__list { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.ats-extra__list li { display: flex; justify-content: space-between; padding: 0.25rem 0; border-bottom: 1px solid var(--line); }
.ats-sort { max-width: 280px; margin: 0 0 0.75rem; }
.ats-recruiter { margin: 1.25rem 0; }
@media (max-width: 640px) {
    .ats-ring { width: 108px; height: 108px; font-size: 1.45rem; }
}


/* Recruiter of the month — first-visit lightbox */
.rotm-lb {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: background-color 1s linear, opacity 0.85s ease, visibility 0.85s ease;
}

.rotm-lb.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.rotm-lb__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(920px, 94vw);
    max-height: 92vh;
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.rotm-lb.is-open .rotm-lb__dialog {
    opacity: 1;
    transform: none;
}

.rotm-lb__art {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(92vh - 3.4rem);
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.rotm-lb__art--mobile {
    display: none;
}

.rotm-lb__count {
    margin: 0.85rem 0 0;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.rotm-lb__count strong {
    font-variant-numeric: tabular-nums;
    color: #f4c14e;
}

@media (max-width: 900px) {
    .rotm-lb__dialog {
        max-width: min(420px, 92vw);
    }

    .rotm-lb__art--desktop {
        display: none;
    }

    .rotm-lb__art--mobile {
        display: block;
    }
}

/* Post-register welcome lightbox */
.welcome-lb {
    position: fixed;
    inset: 0;
    z-index: 420;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.welcome-lb.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.welcome-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 22, 32, 0.62);
}

.welcome-lb__dialog {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 2rem 1.75rem 1.65rem;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 24px 60px rgba(12, 22, 32, 0.28);
    text-align: center;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease;
}

.welcome-lb.is-open .welcome-lb__dialog {
    transform: none;
}

.welcome-lb__close {
    position: absolute;
    top: 0.55rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.welcome-lb__close:hover {
    color: var(--text);
}

.welcome-lb__icon {
    display: inline-flex;
    color: var(--success);
    margin-bottom: 0.65rem;
}

.welcome-lb__dialog h2 {
    margin: 0 0 0.35rem;
    font-size: 1.55rem;
    color: var(--brand);
}

.welcome-lb__lead {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text);
}

.welcome-lb__body {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.welcome-lb__body p {
    margin: 0 0 0.7rem;
}

.welcome-lb__body p:last-child {
    margin-bottom: 0;
}

.welcome-lb__cta {
    margin-top: 1.15rem;
}

@media (max-width: 560px) {
    .welcome-lb__dialog {
        padding: 1.65rem 1.2rem 1.35rem;
    }

    .welcome-lb__dialog h2 {
        font-size: 1.35rem;
    }
}

.card--join-free {
    background: #f4f3eb;
    border-color: #ece7db;
    border-radius: 22px;
    padding: 1.35rem 1.15rem 1.2rem;
    box-shadow: 0 10px 28px rgba(26, 35, 50, 0.06);
}

.card--join-free .card__title {
    margin: 0 0 0.55rem;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #165a6e;
}

.join-free__lead {
    margin: 0 0 1.1rem;
    font-size: 1.02rem;
    line-height: 1.45;
    color: #2c3542;
}

.join-free-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-free__cta {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    background: #165a6e;
}

.join-free__cta:hover {
    background: #124a5a;
}

.mode-choice {
    margin: 0;
    padding: 0;
    border: 0;
}

.mode-choice legend {
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.65rem;
}

.mode-choice__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.mode-choice__card,
label.mode-choice__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding: 0.85rem 0.7rem 0.9rem;
    border: 1.5px solid #e2e6ec;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    min-width: 0;
    height: 100%;
    font-size: inherit;
    font-weight: inherit;
}

.mode-choice__card:hover {
    border-color: #b9c9d4;
}

.mode-choice__card:has(input:checked) {
    background: #e7f4fb;
    border-color: #1a7a92;
    box-shadow: none;
}

.mode-choice__card:has(input.is-error) {
    background: #fff5f5;
    border-color: var(--error);
}

.mode-choice__card:focus-within {
    outline: 2px solid #1a7a92;
    outline-offset: 2px;
}

.mode-choice__card input {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 2px solid #cfd6de;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.mode-choice__card input:checked {
    border-color: #1a7a92;
    background: #1a7a92;
    box-shadow: inset 0 0 0 2.5px #e7f4fb;
}

.mode-choice__art {
    display: block;
    width: calc(100% - 1.15rem);
    min-height: 5.4rem;
}

.mode-choice__art img {
    width: 100%;
    height: 5.4rem;
    object-fit: contain;
    object-position: left center;
}

.mode-choice__body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
}

.mode-choice__body strong {
    color: #163a4a;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.2;
}

.mode-choice__copy {
    color: #3a4654;
    font-size: 0.82rem;
    line-height: 1.4;
}

.sidebar .mode-choice {
    margin-bottom: 0;
}

.sidebar .mode-choice__grid {
    grid-template-columns: 1fr;
}

.sidebar .mode-choice__body strong {
    font-size: 0.95rem;
}

.sidebar .mode-choice__copy {
    font-size: 0.74rem;
}

.sidebar .mode-choice__art {
    min-height: 4.6rem;
}

.sidebar .mode-choice__art img {
    height: 4.6rem;
}

.form-grid .mode-choice__card,
.form-grid label.mode-choice__card {
    font-size: inherit;
    font-weight: inherit;
    display: flex;
    flex-direction: column;
}

.form-grid .mode-choice__card > input,
.form-grid label.mode-choice__card > input {
    margin-top: 0;
}

.mode-banner {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: #eef3f8;
    color: var(--text);
}

.confirm-card p {
    color: var(--muted);
    line-height: 1.55;
}

.confirm-card__actions {
    margin-top: 1.25rem;
}

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

.fl-card {
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.fl-card h2 {
    margin: 0.15rem 0 0.4rem;
    font-size: 1.05rem;
}

.fl-card h2 a {
    color: inherit;
    text-decoration: none;
}

.fl-card h2 a:hover {
    color: var(--accent);
}

.fl-card__photo {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.65rem;
}

@media (max-width: 380px) {
    .mode-choice__grid {
        grid-template-columns: 1fr;
    }
}


/* ---- Application screening ---- */
.screening-setup {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}
.screening-setup__head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: var(--brand);
}
.screening-setup__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.screening-setup__card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow);
}
.screening-setup__card h3 {
    margin: 0 0 0.4rem;
    color: var(--brand);
    font-size: 1rem;
}
.screening-setup__status { margin: 0.75rem 0; }
.pill {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.75rem;
    font-weight: 700;
    background: #fff;
}
.pill--success { background: #edf5e3; border-color: #c5db9e; color: #4d6b16; }
.pill--danger { background: #fdeceb; border-color: #f5c2c0; color: #8a1f1b; }

.job-apply-panel {
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(28, 76, 92, 0.04) 0%, transparent 120px),
        var(--surface);
    box-shadow: 0 10px 28px rgba(26, 35, 50, 0.06);
    overflow: hidden;
}
.job-apply-panel__head {
    padding: 1.25rem 1.35rem 0.85rem;
    border-bottom: 1px solid rgba(216, 224, 234, 0.85);
}
.job-apply-panel__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-2);
}
.job-apply-panel__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--brand);
}
.job-apply-panel__body {
    padding: 1.15rem 1.35rem 1.35rem;
}
.job-apply__form--wide {
    max-width: none;
    width: 100%;
    display: grid;
    gap: 0.85rem;
}

.requirement-form {
    padding: 0 0 0.25rem;
}
.requirement-form__intro {
    padding: 1.1rem 1.35rem 1rem;
    background: linear-gradient(135deg, rgba(58, 112, 157, 0.08), rgba(229, 115, 9, 0.05));
    border-bottom: 1px solid var(--line);
}
.requirement-form__step {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}
.requirement-form__title {
    margin: 0 0 0.45rem;
    font-size: 1.15rem;
    line-height: 1.3;
    color: var(--brand);
}
.requirement-form__desc {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}
.requirement-form__desc p { margin: 0; }
.requirement-form__desc--list {
    list-style: none;
    margin: 0.15rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.requirement-form__desc--list li {
    position: relative;
    padding-left: 1rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.4;
}
.requirement-form__desc--list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
}
.requirement-form__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin: 0.85rem 0 0;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}
.requirement-form__meta-count {
    color: var(--brand-2);
}
.requirement-form__meta-required {
    color: #b42318;
}
.requirement-form__fields {
    padding: 1.1rem 1.35rem 1.35rem;
}
.requirement-form__list {
    display: grid;
    gap: 0.85rem;
}
.requirement-form__footer {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.15rem;
    padding-top: 1.05rem;
    border-top: 1px solid var(--line);
}
.requirement-form__submit {
    justify-self: start;
    min-width: 160px;
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

/* Global flash / notification lightbox */
.nayi-notify-lb {
    position: fixed;
    inset: 0;
    z-index: 450;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}
.nayi-notify-lb.is-open,
.nayi-notify-lb[hidden].is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nayi-notify-lb[hidden] {
    display: none;
}
.nayi-notify-lb[hidden].is-open {
    display: flex;
}
.nayi-notify-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 22, 32, 0.55);
}
.nayi-notify-lb__dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    padding: 1.5rem 1.4rem 1.35rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(26, 35, 50, 0.22);
    text-align: center;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.22s ease;
}
.nayi-notify-lb.is-open .nayi-notify-lb__dialog {
    transform: none;
}
.nayi-notify-lb__dialog--success {
    border-top: 4px solid var(--success);
}
.nayi-notify-lb__dialog--error {
    border-top: 4px solid var(--error);
}
.nayi-notify-lb__close {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
}
.nayi-notify-lb__icon {
    display: flex;
    justify-content: center;
    margin: 0.15rem 0 0.65rem;
}
.nayi-notify-lb__dialog--success .nayi-notify-lb__icon {
    color: var(--success);
}
.nayi-notify-lb__dialog--error .nayi-notify-lb__icon {
    color: var(--error);
}

.nayi-notify-lb__dialog--error .nayi-notify-lb__title,
.nayi-notify-lb__dialog--error .nayi-notify-lb__message {
    color: var(--error);
}
.nayi-notify-lb__title {
    margin: 0 0 0.45rem;
    font-size: 1.2rem;
    color: var(--brand);
}
.nayi-notify-lb__message {
    margin: 0 0 1.15rem;
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.5;
}
.nayi-notify-lb__cta {
    min-width: 120px;
}

.screening-alert {
    margin: 1rem 1.35rem 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-weight: 600;
}
.screening-alert--error { background: #fdeceb; border: 1px solid #f5c2c0; color: var(--error); }
.screening-alert--warn { background: #fff6e5; border: 1px solid #f0d39a; color: #7a4d00; }

.screening-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    margin: 0;
    padding: 1rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.screening-field:focus-within {
    border-color: #9eb8cb;
    box-shadow: 0 0 0 3px rgba(58, 112, 157, 0.12);
}
.screening-field.is-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}
.screening-field__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.1rem;
    border-radius: 10px;
    background: rgba(28, 76, 92, 0.08);
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 800;
}
.screening-field__body {
    min-width: 0;
    display: grid;
    gap: 0.45rem;
}
.screening-field__label {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}
.screening-field__set {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.screening-field__set .screening-field__label,
.screening-field__set legend.screening-field__label {
    padding: 0;
}
.screening-field__help {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}
.screening-field__control {
    max-width: 100%;
}
.screening-field__control--number {
    max-width: 11rem;
}
.screening-field__error {
    margin: 0.15rem 0 0;
}
.req { color: #b42318; }
.screening-passed {
    margin: 0 0 0.85rem;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    background: #edf5e3;
    border: 1px solid #c5db9e;
    color: #4d6b16;
    font-weight: 600;
    font-size: 0.9rem;
}

.screening-choice {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.screening-choice--stack {
    display: grid;
    gap: 0.45rem;
}
.screening-choice__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}
.screening-choice__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.screening-choice__item span {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.4rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.screening-choice__item input:focus-visible + span {
    outline: 2px solid var(--brand-2);
    outline-offset: 2px;
}
.screening-choice__item input:checked + span {
    border-color: var(--brand);
    background: rgba(28, 76, 92, 0.08);
    color: var(--brand);
}
.screening-choice--stack .screening-choice__item span {
    width: 100%;
    border-radius: 10px;
}

.assessment-start {
    padding: 1.15rem 1.35rem 1.4rem;
}
.assessment-start__badge {
    display: inline-block;
    margin-bottom: 0.55rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #9a4d00;
    font-size: 0.72rem;
    font-weight: 800;
}
.assessment-start h3 {
    margin: 0 0 0.35rem;
    color: var(--brand);
    font-size: 1.15rem;
}
.assessment-start__lead { margin: 0 0 1rem; }
.assessment-start__stats {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}
.assessment-start__stats li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
    display: grid;
    gap: 0.2rem;
}
.assessment-start__stats span { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.assessment-start__stats strong { color: var(--brand); font-size: 1.05rem; }
.assessment-start__rules {
    margin: 0 0 1.15rem;
    padding: 0.85rem 0.95rem 0.85rem 1.35rem;
    border-radius: 12px;
    background: rgba(28, 76, 92, 0.04);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}
.assessment-start__rules li + li { margin-top: 0.35rem; }
.assessment-start__cta { min-width: 180px; }

.assessment-shell { max-width: 720px; margin: 0 auto; }
.assessment-active__head { margin-bottom: 1rem; }
.assessment-active__progress { margin: 0.25rem 0 0.5rem; font-weight: 700; color: var(--brand); }
.assessment-progress {
    height: 8px;
    background: #e8eef5;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.assessment-progress__bar {
    height: 100%;
    width: 0;
    background: var(--brand-2);
    transition: width 0.2s ease;
}
.assessment-timer {
    position: sticky;
    top: calc(var(--header-h) + 0.5rem);
    z-index: 5;
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #9a4d00;
    font-weight: 800;
}
.assessment-question__title { margin: 0 0 0.75rem; color: var(--brand); }
.assessment-active__actions { margin-top: 1.25rem; }
.assessment-result { margin: 1rem 1.35rem 1.35rem; padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.assessment-result--pass { border-color: #c5db9e; background: #f5faee; }
.assessment-result--fail { border-color: #f5c2c0; background: #fff5f4; }
.assessment-result__lead { font-size: 1.05rem; font-weight: 700; }

@media (max-width: 640px) {
    .job-apply-panel__head,
    .requirement-form__intro,
    .requirement-form__fields,
    .job-apply-panel__body,
    .assessment-start {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .screening-field {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
    .screening-field__index {
        width: auto;
        height: auto;
        justify-self: start;
        padding: 0.2rem 0.5rem;
    }
    .screening-field__control--number {
        max-width: 100%;
    }
    .assessment-start__stats {
        grid-template-columns: 1fr;
    }
}

.screening-builder__toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.screening-builder__list { display: grid; gap: 1rem; }
.screening-qcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    display: grid;
    gap: 0.65rem;
}
.screening-qcard.is-dragging { opacity: 0.55; }
.screening-qcard.is-drop { outline: 2px dashed var(--brand-2); }
.screening-qcard__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.screening-qcard__drag {
    border: 0;
    background: transparent;
    cursor: grab;
    color: var(--muted);
    font-size: 1rem;
    padding: 0.2rem;
}
.screening-qcard__actions { margin-left: auto; display: flex; gap: 0.35rem; }
.screening-qcard__checks,
.screening-qcard__quiz,
.screening-elig {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
}
.screening-opts { display: grid; gap: 0.45rem; }
.screening-opt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.4rem;
    align-items: center;
}
.screening-summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 1rem 0;
}
.screening-summary > div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0.7rem;
    display: grid;
    gap: 0.25rem;
}
.screening-summary span { font-size: 0.75rem; color: var(--muted); }
.btn--sm { padding: 0.3rem 0.55rem; font-size: 0.8rem; }
.screening-preview { border: 0; border-radius: var(--radius); padding: 0; max-width: 560px; width: calc(100% - 2rem); }
.screening-preview__inner { padding: 1.25rem; }
.screening-preview__q { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }

.screening-review { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.screening-review__block { margin-top: 1rem; }
.screening-review__list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.screening-review__list li { display: grid; gap: 0.15rem; padding: 0.55rem 0.65rem; background: var(--bg); border-radius: 8px; }
.screening-cell { display: grid; gap: 0.25rem; }
.screening-failed-list { margin-top: 2rem; }
.screening-failed-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}
.screening-delete-btn {
    color: #8a1f1b;
    border-color: #f5c2c0;
}

@media (max-width: 900px) {
    .screening-setup__grid,
    .screening-summary { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .screening-setup__grid,
    .assessment-start__stats,
    .screening-summary { grid-template-columns: 1fr; }
    .screening-opt { grid-template-columns: 1fr; }
    .assessment-timer { position: sticky; top: var(--header-h); width: 100%; text-align: center; }
}

/* Full-screen signup processing overlay */
.nayi-processing {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nayi-processing.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nayi-processing[hidden]:not(.is-open) {
    display: none !important;
}

.nayi-processing__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.nayi-processing__spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 50%;
    animation: nayi-spin 0.75s linear infinite;
}

.nayi-processing__text {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

body.is-processing {
    overflow: hidden;
}

@keyframes nayi-spin {
    to { transform: rotate(360deg); }
}

/* Freelance marketplace */
.fl-market {
    min-height: calc(100vh - var(--header-h));
    overflow-x: clip;
    background:
        radial-gradient(900px 420px at 50% -40px, rgba(186, 230, 253, 0.7), transparent 70%),
        linear-gradient(180deg, #eef8fb 0%, #f7f4ff 42%, #f4f7fb 100%);
}
.fl-market .page-wide {
    max-width: 1180px;
}
.fl-hero {
    text-align: center;
    padding: 2.2rem 0 0.5rem;
}
.fl-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 1.45rem 0.4rem 1.2rem;
    border: 1px solid #e4e0f2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #3d4660;
    font-size: 0.86rem;
    box-shadow: 0 8px 24px rgba(80, 70, 140, 0.06);
}
.fl-badge a {
    color: #6d5efc;
    font-weight: 650;
    text-decoration: none;
}
.fl-display {
    margin: 0.85rem 0 0.35rem;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #171923;
    font-weight: 760;
}
.fl-lead {
    margin: 0 auto 1.35rem;
    max-width: 38rem;
    color: #5c6478;
    font-size: 1.02rem;
}
.fl-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 820px;
    margin: 0 auto;
    padding: 0.7rem 0.7rem 0.7rem 1.15rem;
    background: #fff;
    border: 1px solid #eceaf3;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(70, 60, 120, 0.08);
}
.fl-search__input {
    flex: 1;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    min-width: 0;
    outline: none;
}
.fl-search__go {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #3a3f4b;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.fl-search__go:hover { background: #1f2430; }
.fl-start {
    margin: 1.6rem 0 0.2rem;
    color: #2a3142;
    font-weight: 650;
}
.fl-suggest {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}
.fl-suggest a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #eceaf3;
    color: #242833;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 6px 16px rgba(40, 40, 70, 0.04);
}
.fl-suggest a:hover { border-color: #d9d4ee; color: #4c45c7; }
.fl-suggest svg { width: 16px; height: 16px; color: #6b647f; }
.fl-block { padding: 3.6rem 0 0.6rem; }
.fl-block__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.fl-block__head .fl-display { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.fl-link {
    color: #4c45c7;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.fl-cats {
    display: flex;
    align-items: stretch;
    gap: 0.7rem;
}
.fl-cats__row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    padding: 0.2rem 0 0.6rem;
    scroll-behavior: auto;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.fl-cats__row::-webkit-scrollbar { display: none; }
.fl-cats__row.is-marquee { cursor: default; }
.fl-cat {
    flex: 0 0 148px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 132px;
    padding: 0.95rem 0.9rem;
    background: #fff;
    border: 1px solid #eeeaf5;
    border-radius: 18px;
    color: #1c2030;
    text-decoration: none;
    font-weight: 650;
    line-height: 1.25;
    box-shadow: 0 8px 20px rgba(40, 40, 80, 0.04);
}
.fl-cat svg { width: 28px; height: 28px; color: #5b4fe0; }
.fl-cat:hover { border-color: #d9d3f3; color: #3a32b5; }
.fl-cats__nav {
    width: 42px;
    height: 42px;
    align-self: center;
    border-radius: 50%;
    border: 1px solid #e6e3ef;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.fl-cats__nav:hover,
.fl-cats__nav:focus-visible {
    background: #f4f1ff;
    border-color: #c4b5fd;
    box-shadow: 0 8px 18px rgba(90, 70, 180, 0.12);
    outline: none;
}
.fl-cats-panel {
    position: relative;
    margin-bottom: 0.85rem;
}
.fl-cats-panel__bar {
    display: flex;
    justify-content: flex-end;
}
.fl-viewall {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #d4cef0;
    background: #fff;
    color: #4c45c7;
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.62rem 1rem;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(70, 60, 130, 0.08);
}
.fl-viewall:hover,
.fl-viewall:focus-visible {
    background: #f4f1ff;
    border-color: #c4b5fd;
    color: #3a32b5;
    outline: none;
}
.fl-viewall__caret {
    transition: transform 0.18s ease;
}
.fl-viewall[aria-expanded="true"] .fl-viewall__caret {
    transform: rotate(180deg);
}
.fl-cat-all {
    position: absolute;
    z-index: 40;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eceaf4;
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(40, 30, 80, 0.14);
    padding: 1.45rem 1.5rem 1.6rem;
    max-height: min(72vh, 680px);
    overflow: auto;
}
.fl-cat-all[hidden] {
    display: none;
}
.fl-cat-all__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 1.7rem;
}
.fl-cat-all__title {
    display: block;
    margin: 0 0 0.55rem;
    color: #12141c;
    font-weight: 750;
    font-size: 0.95rem;
    line-height: 1.3;
    text-decoration: none;
}
.fl-cat-all__title:hover { color: #4c45c7; }
.fl-cat-all ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fl-cat-all li + li { margin-top: 0.42rem; }
.fl-cat-all li a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}
.fl-cat-all li a:hover { color: #3a32b5; }
.fl-directory {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem 2.25rem;
    margin-top: 0.55rem;
    padding: 0.85rem 0.2rem 0.2rem;
}
.fl-directory__title {
    display: block;
    margin: 0 0 0.55rem;
    color: #171923;
    font-weight: 750;
    font-size: 0.98rem;
    line-height: 1.3;
    text-decoration: none;
}
.fl-directory__title:hover { color: #4c45c7; }
.fl-directory ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fl-directory li + li { margin-top: 0.38rem; }
.fl-directory li a,
.fl-directory__more {
    color: #6b7289;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.45;
}
.fl-directory li a:hover,
.fl-directory__more:hover { color: #3a32b5; }
.fl-directory__more {
    display: inline-block;
    margin-top: 0.45rem;
    font-weight: 650;
    color: #5b4fe0;
}
.fl-switch {
    display: inline-flex;
    padding: 0.28rem;
    border-radius: 999px;
    background: #f3f1f8;
    border: 1px solid #e7e3f2;
    gap: 0.15rem;
}
.fl-switch__btn {
    border: 0;
    background: transparent;
    color: #5c6478;
    text-decoration: none;
    font: inherit;
    font-weight: 650;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    cursor: pointer;
}
.fl-switch__btn.is-active {
    background: #fff;
    color: #2a2148;
    box-shadow: 0 0 0 1.5px #c4b5fd, 0 6px 16px rgba(90, 70, 180, 0.08);
}
.fl-center { text-align: center; margin: 0.4rem 0 1.1rem; }
.fl-sub {
    margin: -0.2rem 0 1.1rem;
    color: #5c6478;
}
.fl-talent-grid,
.fl-project-grid,
.fl-subcat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}
.fl-subcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fl-talent {
    background: #fff;
    border: 1px solid #eeeaf4;
    border-radius: 18px;
    padding: 1rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    box-shadow: 0 10px 28px rgba(40, 40, 80, 0.05);
    min-width: 0;
}
.fl-talent__top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.7rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.fl-avatar { position: relative; width: 54px; height: 54px; }
.fl-avatar img,
.fl-avatar__fallback {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    background: #ece7ff;
    display: grid;
    place-items: center;
    font-weight: 750;
    color: #4c45c7;
}
.fl-avatar__badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-size: 0.62rem;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
}
.fl-talent__id { display: flex; flex-direction: column; min-width: 0; }
.fl-talent__id strong { font-size: 0.98rem; line-height: 1.25; }
.fl-talent__loc { color: #6b7289; font-size: 0.8rem; }
.fl-pill {
    justify-self: end;
    font-size: 0.68rem;
    font-weight: 700;
    color: #6d28d9;
    background: #f3e8ff;
    border-radius: 999px;
    padding: 0.18rem 0.45rem;
}
.fl-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.fl-chips li,
.fl-skill {
    background: #f4f2f8;
    color: #4b4568;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 650;
}
.fl-talent__bio {
    margin: 0;
    color: #5c6478;
    font-size: 0.86rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fl-talent__foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.35rem;
}
.fl-rate { font-weight: 750; font-size: 0.92rem; }
.fl-rate__star { color: #f5b400; }
.fl-rate__n { color: #6b7289; font-weight: 600; font-size: 0.82rem; }
.fl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #171923;
    color: #fff !important;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
}
.fl-btn:hover { background: #000; color: #fff; }
.fl-btn--ghost {
    background: #fff;
    color: #171923 !important;
    border: 1px solid #e4e0ee;
}
.fl-project { background: #fff; border: 1px solid #eeeaf4; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 28px rgba(40, 40, 80, 0.05); display: flex; flex-direction: column; }
.fl-project__cover {
    min-height: 148px;
    padding: 1rem 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(145deg, #1e1b4b, #312e81);
}
.fl-project--t1 .fl-project__cover { background: linear-gradient(160deg, #f8fafc, #e2e8f0); color: #1e293b; }
.fl-project--t2 .fl-project__cover { background: linear-gradient(145deg, #4c1d95, #7c3aed); }
.fl-project--t3 .fl-project__cover { background: linear-gradient(160deg, #0f172a, #134e4a); }
.fl-project__kicker { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.fl-project__cover strong { font-size: 1.05rem; line-height: 1.3; }
.fl-project__cover span:last-child { font-size: 0.82rem; opacity: 0.85; }
.fl-project__body { padding: 0.85rem 0.95rem 1rem; }
.fl-project__co { margin: 0 0 0.25rem; font-weight: 700; font-size: 0.92rem; }
.fl-project__co span { margin-left: 0.35rem; font-size: 0.72rem; font-weight: 700; color: #6d28d9; background: #f3e8ff; border-radius: 999px; padding: 0.1rem 0.4rem; }
.fl-project__body h2 { margin: 0 0 0.35rem; font-size: 0.95rem; line-height: 1.35; }
.fl-project__body h2 a { color: inherit; text-decoration: none; }
.fl-project__meta { margin: 0; color: #5c6478; font-size: 0.84rem; }
.fl-banner {
    border-radius: 28px;
    padding: 3.2rem 1.5rem;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.92), rgba(59, 130, 246, 0.88)),
        repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(255,255,255,0.08) 28px),
        repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(255,255,255,0.08) 28px);
}
.fl-banner h1 { margin: 0 0 0.4rem; font-size: clamp(1.8rem, 4vw, 2.7rem); letter-spacing: -0.03em; }
.fl-banner p { margin: 0; opacity: 0.92; }
.fl-subcat {
    background: #fff;
    border: 1px solid #eeeaf4;
    border-radius: 18px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}
.fl-subcat h2 { margin: 0 0 0.45rem; font-size: 1rem; }
.fl-faces { display: flex; }
.fl-faces img, .fl-faces span {
    width: 28px; height: 28px; border-radius: 50%; margin-left: -8px; border: 2px solid #fff; object-fit: cover; background: #ddd6fe;
}
.fl-faces img:first-child, .fl-faces span:first-child { margin-left: 0; }
.fl-how {
    width: 100vw;
    margin-top: 4rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 2.6rem 1.5rem 2.4rem;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    background:
        radial-gradient(540px 240px at 8% 0%, rgba(167, 243, 208, 0.9), transparent 72%),
        radial-gradient(420px 260px at 100% 110%, rgba(196, 181, 253, 0.55), transparent 70%),
        linear-gradient(125deg, #f3fdf6 0%, #f7f8ff 52%, #eef6ff 100%);
}
.fl-how__inner {
    max-width: 1180px;
    margin: 0 auto;
}
.fl-how__head, .fl-profile__head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.fl-how__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: center; margin-top: 0.6rem; }
.fl-how__panel[hidden] { display: none; }
.fl-how__kicker { margin: 0 0 0.4rem; font-size: 1.35rem; font-weight: 750; }
.fl-steps { list-style: none; margin: 0 0 1rem; padding: 0; }
.fl-steps li { padding: 0.85rem 0; border-bottom: 1px solid rgba(30, 30, 50, 0.12); }
.fl-steps strong { display: block; }
.fl-steps span { color: #5c6478; font-size: 0.92rem; }
.fl-how__art {
    min-height: 280px;
    border-radius: 22px;
    overflow: hidden;
    background: #e7f5ec;
    box-shadow: 0 16px 36px rgba(20, 60, 40, 0.12);
}
.fl-how__art img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center 30%;
}
.fl-faq { border-top: 1px solid #e7e5ef; }
.fl-faq__item { border-bottom: 1px solid #e7e5ef; }
.fl-faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    font-weight: 700;
    font-size: 1.02rem;
}
.fl-faq__item summary::-webkit-details-marker { display: none; }
.fl-faq__mark { width: 18px; text-align: center; color: #6b7289; font-weight: 500; }
.fl-faq__mark::before { content: "+"; font-size: 1.25rem; }
.fl-faq__item[open] .fl-faq__mark::before { content: "×"; }
.fl-faq__item p { margin: 0 0 1rem; color: #5c6478; max-width: 62rem; }
.fl-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 0.2rem 0 1rem; }
.fl-filters .input { max-width: 240px; background: #fff; }
.fl-profile { padding-top: 0.4rem; }
.fl-profile__hero {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid #eeeaf4;
    border-radius: 22px;
    padding: 1.1rem 1.15rem;
}
.fl-profile__hero h1 { margin: 0 0 0.2rem; font-size: 1.7rem; }
.fl-profile__hero p { margin: 0.15rem 0; color: #5c6478; }
.fl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.fl-split h3 { margin: 0 0 0.55rem; font-size: 0.95rem; color: #5c6478; }
.fl-line {
    display: block;
    background: #fff;
    border: 1px solid #eeeaf4;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    margin-bottom: 0.45rem;
    color: inherit;
    text-decoration: none;
}
.fl-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.fl-work {
    background: #f8f7fc;
    border-radius: 16px;
    padding: 0.9rem 1rem;
}
.fl-work strong { display: block; }
.fl-work span, .fl-work em { display: block; color: #5b4fe0; font-style: normal; font-size: 0.9rem; }
.fl-work small { color: #6b7289; }
.fl-bio { color: #4b5568; line-height: 1.6; }
.fl-bio.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fl-more { background: none; border: 0; color: #7c3aed; font-weight: 700; cursor: pointer; padding: 0; }
.fl-ratebox {
    display: inline-block;
    margin-top: 0.4rem;
    background: #f3f1f8;
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
}
.fl-ratebox strong { display: block; font-size: 1.35rem; }
.fl-meta { color: #6b7289; font-size: 0.88rem; margin-top: 0.8rem; }
.fl-prose { margin-top: 1rem; }
@media (max-width: 980px) {
    .fl-talent-grid, .fl-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fl-how__panel, .fl-split, .fl-work-grid, .fl-subcat-grid { grid-template-columns: 1fr; }
    .fl-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.5rem; }
    .fl-cat-all__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .fl-talent-grid, .fl-project-grid { grid-template-columns: 1fr; }
    .fl-cats__nav { display: none; }
    .fl-search { border-radius: 16px; }
    .fl-directory { grid-template-columns: 1fr; }
    .fl-cat-all { padding: 1.1rem 1rem 1.2rem; }
    .fl-cat-all__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: 1.25rem; }
}
