﻿/* 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;
    --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;
}

.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-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin-left: auto;
}

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

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

.nav-jobs__short {
    display: none;
}

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

.header-link-freelance {
    display: none;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.header-link-freelance:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .site-header__inner {
        display: grid;
        grid-template-columns: minmax(0, auto) minmax(0, 1fr);
        align-items: center;
        column-gap: 0.55rem;
        padding: 0.15rem 0.7rem;
        min-height: 64px;
        flex-wrap: nowrap;
    }

    .brand {
        min-width: 0;
        max-width: 48vw;
    }

    .brand__logo {
        height: 56px;
        width: auto;
        max-width: 100%;
    }

    .nav-main {
        flex-wrap: nowrap;
        gap: 0.35rem 0.75rem;
        min-width: 0;
        margin-left: 0;
        justify-content: flex-end;
    }

    .nav-main a {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .header-actions {
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 0.4rem;
        margin-left: 0;
        min-width: 0;
    }

    /* Logged out: Sign in + Register sit next to the logo. */
    .site-header--guest .nav-main {
        display: none;
    }

    .site-header--guest .header-link-freelance {
        display: inline-flex;
        align-items: center;
    }

    .site-header--guest .header-actions {
        grid-column: 2;
    }

    .site-header--guest .header-actions .btn {
        padding: 0.42rem 0.75rem;
        font-size: 0.88rem;
        line-height: 1.2;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    /* Logged in: Home + Jobs + account menu on one row. */
    .site-header--auth .site-header__inner {
        grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    }

    .site-header--auth .nav-main {
        grid-column: 2;
    }

    .site-header--auth .header-actions {
        grid-column: 3;
    }

    .site-header--auth .jobs-chip,
    .site-header--auth .header-actions > .btn {
        display: none;
    }

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

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

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

@media (max-width: 480px) {
    .brand {
        max-width: 46vw;
    }

    .brand__logo {
        height: 50px;
    }

    .nav-main {
        gap: 0.3rem 0.6rem;
    }

    .nav-main a {
        font-size: 0.9rem;
    }

    .site-header--guest .header-actions .btn {
        padding: 0.38rem 0.65rem;
        font-size: 0.84rem;
    }

    .account-menu__first {
        display: none;
    }

    .nav-jobs__full {
        display: none;
    }

    .nav-jobs__short {
        display: inline;
    }
}

.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;
}

/* 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__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--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 {
    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%;
    padding: 0.7rem 0.75rem;
    border-radius: 999px;
    background: #e67300;
    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__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__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.25rem 0 0.45rem;
}

.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__slider:hover .urgent-hiring__marquee,
.urgent-hiring__marquee:focus-within {
    animation-play-state: paused;
}

@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 #eceff3;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(120, 190, 220, 0.22);
    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 16px 34px rgba(90, 170, 210, 0.28);
    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: 1.35rem;
}

.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;
}

/* 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%;
    border-top: 1px solid var(--line);
    background: var(--surface);
    margin-top: 0;
}

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

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

.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.site-footer__links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.88rem;
}

.site-footer__links a:hover {
    text-decoration: underline;
    color: var(--text);
}

.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 {
    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: #8a1f1b;
}

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

.form-error {
    color: #8a1f1b;
    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(--muted);
}

.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-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--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;
    }
}

.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: #9b1c1c;
}

.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;
}

.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 {
    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);
}

.photo-placeholder,
.photo-preview-img {
    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-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.photo-form,
.resume-form {
    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);
}

.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: #9b1c1c;
}

.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 .section__title { font-size: 1.45rem; }
.ats-form label { display: block; font-weight: 600; margin: 1rem 0 0.35rem; }
.ats-drop { margin: 1rem 0; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--hero-bot); position: relative; }
.ats-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.ats-drop__input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ats-drop__label { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem 1rem; text-align: center; pointer-events: none; }
.ats-drop__file { color: var(--brand); font-weight: 600; }
.ats-saved { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 500; margin: 0.75rem 0 1rem; }
.ats-progress { margin-top: 1rem; padding: 1rem; border-radius: var(--radius-sm); background: var(--accent-soft); }
.ats-progress__steps { list-style: none; margin: 0.5rem 0 0; padding: 0; color: var(--muted); font-size: 0.9rem; }
.ats-progress__steps li.is-active { color: var(--text); font-weight: 600; }
.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-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;
    }
}

.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.75rem;
}

.mode-choice__card {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
}

.mode-choice__card:has(input:checked) {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 2px rgba(58, 112, 157, 0.18);
}

.mode-choice__card input {
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.mode-choice__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

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

.sidebar .mode-choice {
    margin-bottom: 0.75rem;
}

.sidebar .mode-choice__grid {
    grid-template-columns: 1fr;
}

.sidebar .mode-choice legend {
    font-size: 0.92rem;
}

.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: 720px) {
    .mode-choice__grid {
        grid-template-columns: 1fr;
    }
}
