:root {
    --red: #e30613;
    --red-dark: #b80510;
    --red-soft: #fff1f2;
    --ink: #111827;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #e5e7eb;
    --line-strong: #d0d5dd;
    --surface: #f6f7f9;
    --white: #ffffff;
    --green: #15803d;
    --green-soft: #ecfdf3;
    --amber: #b54708;
    --amber-soft: #fffaeb;
    --blue: #175cd3;
    --blue-soft: #eff8ff;
    --shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
    --shadow-soft: 0 5px 18px rgba(17, 24, 39, 0.06);
    --radius: 8px;
    --container: 1440px;
}

@keyframes hero-logo-float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 10px)); }
}

@keyframes hero-element-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero .hero-logo {
    width: 210px;
    height: 210px;
    animation: hero-logo-float 5.8s ease-in-out infinite;
}

.hero-avatar {
    animation: hero-element-float 4.8s ease-in-out infinite;
}

.hero-avatar:nth-of-type(even) {
    animation-delay: -2.1s;
}

.hero-avatar img,
.hero-icon img {
    transition: transform 0.28s ease;
}

.hero-avatar:hover img,
.hero-avatar:focus-within img {
    transform: scale(1.1);
}

.hero-icon {
    animation: hero-element-float 4.2s ease-in-out infinite;
}

.hero-icon:nth-of-type(odd) {
    animation-delay: -1.7s;
}

.hero-icon:hover img,
.hero-icon:focus-within img {
    transform: scale(1.14);
}

.stat-item {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:hover {
    border-color: var(--line-strong);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.12);
    transform: scale(1.025);
}

.beta-notice {
    display: flex;
    max-width: 570px;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 13px 15px;
    border-left: 3px solid var(--red);
    border-radius: 6px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.beta-notice strong {
    flex: 0 0 auto;
    color: var(--red);
    font-size: 12px;
}

.beta-notice a {
    color: var(--red);
    font-weight: 800;
}

.category-symbol {
    font-size: 21px;
    line-height: 1;
}

.card-badge-stack {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge,
.employer-type-badge,
.presence-badge,
.card-views {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
}

.verified-badge {
    padding: 0 8px;
    background: #e9f8ef;
    color: #087a3e;
}

.verified-inline {
    display: inline-block;
    color: #087a3e;
    font-size: 14px;
    vertical-align: middle;
}

.employer-type-badge {
    margin-top: 8px;
    padding: 0 8px;
    background: #eef4ff;
    color: #2456a6;
}

.presence-badge {
    margin-top: 8px;
    padding: 0 8px;
    background: var(--surface);
    color: var(--muted);
}

.presence-badge i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #98a2b3;
}

.presence-badge.is-online {
    background: #e9f8ef;
    color: #087a3e;
}

.presence-badge.is-online i {
    background: #12b76a;
    box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.15);
}

.card-views {
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
}

.job-card[data-card-href] {
    cursor: pointer;
}

.job-card[data-card-href]:focus-visible {
    outline: 3px solid rgba(227, 6, 19, 0.22);
    outline-offset: 3px;
}

.employer-type-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.employer-type-picker-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.employer-type-option {
    position: relative;
    display: grid;
    min-height: 82px;
    place-items: center;
    align-content: center;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    cursor: pointer;
    text-align: center;
    transition: 0.2s ease;
}

.employer-type-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.employer-type-option span {
    font-size: 21px;
}

.employer-type-option strong {
    font-size: 11px;
    line-height: 1.3;
}

.employer-type-option:hover,
.employer-type-option:has(input:checked) {
    border-color: var(--red);
    background: var(--red-soft);
    color: var(--red-dark);
}

.employer-type-option:has(input:focus-visible) {
    outline: 3px solid rgba(227, 6, 19, 0.2);
    outline-offset: 2px;
}

.field-optional {
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.agency-warning {
    margin-top: 10px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.publication-limit-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 20px;
    border: 1px solid #b8e6ca;
    border-radius: var(--radius);
    background: #f5fcf8;
}

.publication-limit-panel.is-paid {
    border-color: #ffd0d4;
    background: #fff7f7;
}

.publication-limit-panel h2 {
    margin: 8px 0 4px;
    font-size: 20px;
}

.publication-limit-panel p,
.publication-balance span,
.publication-balance small {
    color: var(--muted);
    font-size: 12px;
}

.publication-balance {
    display: grid;
    min-width: 160px;
    gap: 4px;
    text-align: right;
}

.publication-balance strong {
    font-size: 20px;
}

.publication-limit-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    font-size: 12px;
}

.publication-limit-inline span {
    color: var(--red);
    font-weight: 800;
}

.publication-limit-inline small {
    margin-left: auto;
    color: var(--muted);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 3px;
}

.footer-socials a {
    color: var(--white);
    font-weight: 750;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .employer-type-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .employer-type-picker-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .beta-notice,
    .publication-limit-panel,
    .publication-limit-inline {
        align-items: flex-start;
        flex-direction: column;
    }

    .beta-notice {
        display: flex;
    }

    .publication-balance {
        min-width: 0;
        text-align: left;
    }

    .publication-limit-inline small {
        margin-left: 0;
    }

    .employer-type-picker,
    .employer-type-picker-three {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo,
    .hero-avatar,
    .hero-icon {
        animation: none;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.role-selection-page {
    min-height: calc(100vh - 76px);
    padding-block: 56px 72px;
}

.role-selection-container {
    max-width: 900px;
}

.role-selection-heading {
    max-width: 690px;
    margin: 0 auto 32px;
    text-align: center;
}

.role-selection-heading h1 {
    margin: 10px 0 12px;
    font-size: 40px;
    line-height: 1.12;
}

.role-selection-heading p,
.role-subheading p {
    color: var(--muted);
}

.role-selection-form,
.role-settings-panel {
    display: grid;
    gap: 24px;
}

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

.role-choice-card {
    position: relative;
    display: grid;
    min-height: 150px;
    grid-template-columns: 54px 1fr 24px;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.role-choice-card:hover {
    border-color: #f29aa1;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.role-choice-card:has(input:checked) {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.09);
}

.role-choice-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.role-choice-card:has(input:focus-visible) {
    outline: 3px solid rgba(227, 6, 19, 0.2);
    outline-offset: 3px;
}

.role-choice-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 7px;
    background: var(--red-soft);
    font-size: 26px;
}

.role-choice-card strong,
.role-choice-card small {
    display: block;
}

.role-choice-card strong {
    margin-bottom: 5px;
    font-size: 18px;
}

.role-choice-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.role-choice-check {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: transparent;
    font-size: 12px;
    font-weight: 900;
}

.role-choice-card:has(input:checked) .role-choice-check {
    border-color: var(--red);
    background: var(--red);
    color: var(--white);
}

.employer-role-details {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-left: 3px solid var(--red);
    background: #fafafa;
}

.employer-role-details[hidden] {
    display: none;
}

.role-subheading h2,
.employer-role-details h3 {
    margin-bottom: 4px;
    font-size: 19px;
}

.employer-type-picker-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.role-continue-button {
    justify-self: center;
    min-width: 220px;
}

.role-choice-grid-compact .role-choice-card {
    min-height: 112px;
    padding: 18px;
}

.selected-employer-type {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fafafa;
}

.selected-employer-type span {
    font-size: 22px;
}

.selected-employer-type a {
    margin-left: auto;
    color: var(--red);
    font-size: 12px;
    font-weight: 750;
}

@media (max-width: 700px) {
    .role-selection-page {
        padding-block: 34px 52px;
    }

    .role-selection-heading h1 {
        font-size: 32px;
    }

    .role-choice-grid,
    .employer-type-picker-two {
        grid-template-columns: 1fr;
    }

    .role-choice-card {
        min-height: 126px;
        grid-template-columns: 46px 1fr 22px;
        padding: 18px;
    }

    .role-choice-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }

    .employer-role-details {
        padding: 18px;
    }

    .role-continue-button {
        width: 100%;
    }

    .selected-employer-type {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .selected-employer-type a {
        width: 100%;
        margin-left: 32px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0;
}

button,
input,
select,
textarea {
    font: inherit;
    letter-spacing: 0;
}

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

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

button,
select {
    cursor: pointer;
}

button,
input,
select,
textarea {
    border: 0;
    outline: 0;
}

textarea {
    resize: vertical;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
}

.header-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    line-height: 1.15;
}

.brand-copy strong {
    font-size: 15px;
    font-weight: 800;
}

.brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.main-nav a {
    position: relative;
    padding: 28px 0 25px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.main-nav a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 2px;
    background: var(--red);
    content: "";
    opacity: 0;
    transform: scaleX(0.5);
    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--red);
}

.main-nav a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.language-select {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 58px;
    height: 38px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 700;
}

.language-select span {
    position: absolute;
    left: 8px;
    pointer-events: none;
}

.language-select select {
    width: 100%;
    height: 100%;
    padding: 0 5px;
    border: 1px solid transparent;
    background: transparent;
    color: transparent;
}

.language-select select:focus {
    border-color: var(--red);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-weight: 750;
    transition: 0.2s ease;
}

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

.button-primary {
    background: var(--red);
    color: var(--white);
}

.button-primary:hover {
    background: var(--red-dark);
}

.button-outline {
    border-color: var(--red);
    background: var(--white);
    color: var(--red);
}

.button-outline:hover {
    background: var(--red-soft);
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-muted {
    border-color: var(--line);
    background: var(--white);
    color: var(--ink-soft);
}

.button-danger {
    background: #b42318;
    color: var(--white);
}

.button-small {
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
}

.button-block {
    width: 100%;
}

.icon-button {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    font-size: 19px;
}

.icon-button:hover {
    border-color: var(--red);
    color: var(--red);
}

.mobile-menu-button {
    display: none;
}

.account-menu {
    position: relative;
}

.account-trigger {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 4px 9px 4px 4px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
}

.account-avatar,
.avatar-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 800;
}

.account-avatar {
    width: 32px;
    height: 32px;
    font-size: 11px;
}

.account-name {
    max-width: 120px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 50;
    display: none;
    width: 220px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.account-dropdown.is-open {
    display: grid;
}

.account-dropdown a {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 650;
}

.account-dropdown a:hover {
    background: var(--surface);
    color: var(--red);
}

.flash-stack {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 200;
    display: grid;
    width: min(380px, calc(100% - 48px));
    gap: 10px;
}

.flash {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    font-weight: 650;
}

.flash-success {
    border-left-color: var(--green);
}

.flash-error {
    border-left-color: var(--red);
}

.flash-info {
    border-left-color: var(--blue);
}

.hero {
    position: relative;
    min-height: 690px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.hero-wrapper {
    position: relative;
    min-height: 690px;
    padding: 62px 0 40px;
}

.hero-left {
    position: relative;
    z-index: 5;
    width: min(610px, 49%);
}

.eyebrow {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 99px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.hero-label {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 99px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 800;
}

.hero-label img {
    width: 16px;
    height: 16px;
}

.hero-title {
    max-width: 640px;
    margin: 22px 0 16px;
    font-size: 54px;
    line-height: 1.06;
    font-weight: 850;
}

.hero-title span {
    color: var(--red);
}

.hero-text {
    max-width: 520px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.hero-search {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: minmax(250px, 1.5fr) minmax(170px, 0.8fr) minmax(170px, 0.8fr) 104px;
    width: min(850px, calc(100vw - 48px));
    margin-top: 30px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-search-field {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 52px;
    align-items: center;
    border-right: 1px solid var(--line);
}

.hero-search-field input,
.hero-search-field select {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.hero-search-field input::placeholder {
    color: var(--muted);
}

.hero-search-keyword input {
    padding-left: 42px;
}

.hero-search-icon {
    position: absolute;
    left: 16px;
    width: 15px;
    height: 15px;
    border: 2px solid #98a2b3;
    border-radius: 50%;
    pointer-events: none;
}

.hero-search-icon::after {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 6px;
    height: 2px;
    border-radius: 2px;
    background: #98a2b3;
    content: "";
    transform: rotate(45deg);
}

.hero-search-button {
    min-height: 52px;
    padding: 0 18px;
}

.hero-right {
    position: absolute;
    top: 18px;
    right: -74px;
    z-index: 2;
    width: 760px;
    height: 650px;
}

.hero-dots-bg,
.hero-orbit {
    position: absolute;
    inset: 0;
}

.hero-dots-bg {
    background: url("../icons/hero/network-bg.svg") center / 94% auto no-repeat;
    opacity: 0.78;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(227, 6, 19, 0.24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 { width: 210px; height: 210px; }
.orbit-2 { width: 320px; height: 320px; }
.orbit-3 { width: 430px; height: 430px; }
.orbit-4 { width: 540px; height: 540px; }
.orbit-5 { width: 640px; height: 640px; }

.orbit-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 2px 7px rgba(227, 6, 19, 0.35);
}

.orbit-dot-1 { top: 83px; left: 372px; }
.orbit-dot-2 { top: 315px; right: 53px; }
.orbit-dot-3 { bottom: 22px; left: 374px; }
.orbit-dot-4 { top: 316px; left: 49px; }

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: 174px;
    height: 174px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #ffb7bd;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(227, 6, 19, 0.15);
    transform: translate(-50%, -50%);
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-avatar {
    position: absolute;
    z-index: 4;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--red-soft);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.14);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-1 { top: 32px; left: 344px; }
.avatar-2 { top: 142px; right: 34px; }
.avatar-3 { right: 116px; bottom: 56px; }
.avatar-4 { bottom: 13px; left: 320px; }
.avatar-5 { bottom: 94px; left: 30px; }
.avatar-6 { top: 132px; left: 88px; }

.hero-icon {
    position: absolute;
    z-index: 4;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #ffd1d4;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.1);
}

.hero-icon img {
    width: 25px;
    height: 25px;
}

.icon-top { top: 108px; left: 465px; }
.icon-right { top: 259px; right: 98px; }
.icon-bottom { right: 236px; bottom: 105px; }
.icon-left { top: 280px; left: 112px; }
.icon-top-left { top: 96px; left: 234px; }
.icon-bottom-right { right: 86px; bottom: 166px; }

.hero-card {
    position: absolute;
    right: 3px;
    bottom: 18px;
    z-index: 6;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    width: 278px;
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 7px;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 850;
}

.hero-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.hero-card p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.home-stats {
    padding: 30px 0 34px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.stats-title {
    margin-bottom: 18px;
}

.stats-title h2 {
    font-size: 19px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.stat-item {
    display: flex;
    min-width: 0;
    min-height: 82px;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 7px;
    background: var(--red-soft);
}

.stat-icon img {
    width: 22px;
    height: 22px;
}

.stat-content {
    min-width: 0;
}

.stat-content strong {
    display: block;
    font-size: 23px;
    line-height: 1;
}

.stat-content span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere;
}

.section {
    padding: 70px 0;
}

.section-muted {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.section-heading h2 {
    font-size: 28px;
    line-height: 1.2;
}

.section-heading p {
    max-width: 620px;
    margin-top: 6px;
    color: var(--muted);
}

.section-link {
    flex-shrink: 0;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}

.section-link:hover {
    color: var(--red-dark);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.category-card {
    display: grid;
    min-height: 108px;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink-soft);
    text-align: center;
}

.category-card:hover {
    border-color: var(--red);
    color: var(--red);
    box-shadow: var(--shadow-soft);
}

.category-symbol {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 7px;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 850;
}

.category-card strong {
    font-size: 12px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

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

.auto-carousel {
    position: relative;
}

.carousel-viewport {
    margin: -8px;
    padding: 8px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 18px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    will-change: transform;
}

.carousel-track.is-dragging {
    cursor: grabbing;
}

.carousel-track > * {
    min-width: 0;
    flex: 0 0 calc((100% - 54px) / 4);
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}

.carousel-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    font-size: 24px;
    line-height: 1;
    transition: 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
    border-color: var(--red);
    color: var(--red);
}

.company-card,
.job-card,
.specialist-card,
.service-card,
.dashboard-card,
.info-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: 0.2s ease;
}

.company-card:hover,
.job-card:hover,
.specialist-card:hover,
.service-card:hover,
.dashboard-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.company-card {
    display: grid;
    min-height: 150px;
    align-content: center;
    justify-items: center;
    padding: 22px;
    text-align: center;
}

.company-logo {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-card h3 {
    font-size: 15px;
}

.company-card p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
}

.job-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 20px;
}

.job-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.job-card h3 {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.35;
}

.job-company {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.job-meta,
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.chip,
.status-badge {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 9px;
    border-radius: 99px;
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
}

.status-badge.is-success {
    background: var(--green-soft);
    color: var(--green);
}

.status-badge.is-warning {
    background: var(--amber-soft);
    color: var(--amber);
}

.status-badge.is-danger {
    background: var(--red-soft);
    color: var(--red-dark);
}

.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.salary {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.favorite-button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--muted);
    font-size: 18px;
}

.favorite-button:hover,
.favorite-button.is-active {
    border-color: var(--red);
    color: var(--red);
}

.specialist-card {
    display: grid;
    min-height: 190px;
    align-content: center;
    justify-items: center;
    padding: 22px;
    text-align: center;
}

.specialist-avatar {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 850;
}

.specialist-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.specialist-card p {
    color: var(--muted);
    font-size: 12px;
}

.service-card {
    min-height: 190px;
    padding: 24px;
}

.service-icon {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 7px;
    background: var(--red-soft);
    color: var(--red);
    font-weight: 850;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

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

.cta-band {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border-radius: var(--radius);
    background: var(--red);
    color: var(--white);
}

.cta-band::after {
    position: absolute;
    right: 28px;
    bottom: -70px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    content: "";
}

.cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-band h2 {
    font-size: 28px;
}

.cta-band p {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.cta-band .button {
    border-color: var(--white);
    background: var(--white);
    color: var(--ink);
}

.cta-band .button.button-outline {
    background: transparent;
    color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.faq-question {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px;
    background: transparent;
    color: var(--ink);
    text-align: left;
    font-weight: 700;
}

.faq-answer {
    display: none;
    padding: 0 16px 16px;
    color: var(--muted);
}

.faq-item.is-open .faq-answer {
    display: block;
}

.page-hero {
    padding: 56px 0 44px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.page-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.page-hero h1 {
    margin-top: 12px;
    font-size: 38px;
    line-height: 1.15;
}

.page-hero p {
    max-width: 680px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 16px;
}

.filter-bar {
    display: grid;
    grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(160px, 0.8fr)) auto;
    gap: 10px;
    margin-bottom: 26px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 750;
}

.field-control {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
    transition: 0.2s ease;
}

textarea.field-control {
    min-height: 130px;
    padding-top: 12px;
}

.field-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

.field-hint {
    color: var(--muted);
    font-size: 11px;
}

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

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

.input-action {
    position: relative;
}

.input-action .field-control {
    padding-right: 82px;
}

.input-action button {
    position: absolute;
    top: 50%;
    right: 10px;
    background: transparent;
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    transform: translateY(-50%);
}

.results-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
}

.empty-state {
    padding: 48px 24px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface);
    text-align: center;
}

.empty-state h2 {
    margin-bottom: 6px;
    font-size: 21px;
}

.empty-state p {
    margin-bottom: 18px;
    color: var(--muted);
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}

.detail-main {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.detail-main h1 {
    margin: 12px 0;
    font-size: 32px;
    line-height: 1.2;
}

.detail-main h2 {
    margin: 30px 0 12px;
    font-size: 20px;
}

.detail-copy {
    color: var(--ink-soft);
    white-space: pre-line;
}

.detail-sidebar {
    position: sticky;
    top: 98px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.detail-sidebar h3 {
    margin-bottom: 16px;
    font-size: 17px;
}

.detail-list {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-list div {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.detail-list span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.detail-list strong {
    display: block;
    margin-top: 2px;
    font-size: 13px;
}

.auth-page {
    display: grid;
    min-height: calc(100vh - 76px);
    grid-template-columns: minmax(330px, 0.85fr) minmax(520px, 1.15fr);
}

.auth-visual {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: flex-end;
    padding: 54px;
    background: var(--red);
    color: var(--white);
}

.auth-visual::before {
    position: absolute;
    inset: 30px;
    background: url("../icons/hero/network-bg.svg") center / contain no-repeat;
    content: "";
    filter: brightness(0) invert(1);
    opacity: 0.17;
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.auth-visual h1 {
    margin-bottom: 12px;
    font-size: 38px;
    line-height: 1.15;
}

.auth-visual p {
    color: rgba(255, 255, 255, 0.84);
}

.auth-benefits {
    display: grid;
    gap: 10px;
    margin-top: 26px;
    list-style: none;
}

.auth-panel {
    display: grid;
    place-items: center;
    padding: 48px;
    background: var(--white);
}

.auth-form {
    width: min(100%, 620px);
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-header h2 {
    font-size: 30px;
}

.auth-form-header p {
    margin-top: 6px;
    color: var(--muted);
}

.auth-switch {
    margin-top: 20px;
    color: var(--muted);
    text-align: center;
}

.auth-switch a {
    color: var(--red);
    font-weight: 800;
}

.role-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.role-option {
    position: relative;
}

.role-option input {
    position: absolute;
    opacity: 0;
}

.role-option span {
    display: block;
    min-height: 110px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.role-option strong {
    display: block;
    margin-bottom: 5px;
}

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

.role-option input:checked + span {
    border-color: var(--red);
    background: var(--red-soft);
    box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.08);
}

.alert {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: var(--radius);
    font-weight: 650;
}

.alert-error {
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
}

.alert-success {
    border: 1px solid #abefc6;
    background: var(--green-soft);
    color: var(--green);
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 98px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.profile-summary {
    padding: 22px;
    border-bottom: 1px solid var(--line);
}

.profile-summary .avatar-placeholder {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
}

.profile-summary img {
    width: 58px;
    height: 58px;
    margin-bottom: 12px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-summary p {
    color: var(--muted);
    font-size: 12px;
}

.dashboard-nav {
    display: grid;
    padding: 8px;
}

.dashboard-nav a {
    padding: 11px 12px;
    border-radius: 6px;
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.dashboard-nav a:hover,
.dashboard-nav a.is-active {
    background: var(--red-soft);
    color: var(--red);
}

.dashboard-main {
    min-width: 0;
}

.dashboard-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-heading h1 {
    font-size: 30px;
}

.dashboard-heading p {
    margin-top: 5px;
    color: var(--muted);
}

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

.dashboard-card {
    min-height: 150px;
    padding: 22px;
}

.dashboard-card strong {
    display: block;
    margin: 16px 0 5px;
    font-size: 17px;
}

.dashboard-card p {
    color: var(--muted);
    font-size: 12px;
}

.panel {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.panel + .panel {
    margin-top: 18px;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.panel-header h2 {
    font-size: 20px;
}

.profile-completion {
    display: grid;
    gap: 8px;
}

.progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--line);
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--red);
}

.profile-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
}

.profile-card {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.profile-avatar-large {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--red-soft);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-stat-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.profile-stat {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.profile-stat strong {
    display: block;
    font-size: 22px;
}

.profile-stat span {
    color: var(--muted);
    font-size: 11px;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stack {
    display: grid;
    gap: 14px;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.list-item-main {
    min-width: 0;
}

.list-item h3 {
    font-size: 16px;
}

.list-item p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

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

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

.auth-compact-section {
    min-height: calc(100vh - 76px);
    display: grid;
    align-items: center;
    padding: 64px 0;
    background: var(--surface);
}

.centered-panel {
    padding: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.centered-panel h1 {
    margin-top: 14px;
    font-size: 30px;
    line-height: 1.25;
}

.centered-panel > p {
    max-width: 580px;
    margin: 12px auto 0;
    color: var(--muted);
}

.action-row-center {
    justify-content: center;
    margin-top: 24px;
}

.alert-info {
    border-color: #b2ddff;
    background: var(--blue-soft);
    color: var(--blue);
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.field-label-row a {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

.profile-photo-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-photo-preview {
    display: grid;
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-size: 28px;
    font-weight: 800;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-actions {
    display: grid;
    gap: 10px;
}

.wallet-balance-grid,
.order-summary-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.wallet-balance-card {
    min-height: 142px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.wallet-balance-card:first-child {
    border-top: 3px solid var(--red);
}

.wallet-balance-card span,
.wallet-balance-card small,
.order-summary-grid .panel span,
.two-column-info span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.wallet-balance-card strong {
    display: block;
    margin: 13px 0 4px;
    font-size: 27px;
    line-height: 1.15;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.data-table th,
.data-table td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

.data-table th {
    background: #f9fafb;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    align-items: start;
}

.content-main,
.prose {
    min-width: 0;
}

.prose h2 {
    margin: 30px 0 10px;
    font-size: 20px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p,
.prose li {
    color: var(--ink-soft);
}

.prose ul,
.prose ol {
    display: grid;
    gap: 8px;
    margin: 12px 0 0 20px;
}

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

.pricing-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.pricing-card.is-active {
    border-color: var(--red);
    box-shadow: 0 0 0 2px var(--red-soft);
}

.welcome-bonus-panel {
    margin-bottom: 18px;
    border-color: #abefc6;
    background: var(--green-soft);
}

.welcome-bonus-panel h2 {
    margin-top: 8px;
    font-size: 23px;
}

.welcome-bonus-panel p {
    margin-top: 6px;
    color: var(--ink-soft);
}

.welcome-bonus-status {
    margin-bottom: 18px;
}

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

.pricing-card ul {
    display: grid;
    gap: 8px;
    padding-left: 18px;
    color: var(--muted);
}

.pricing-description {
    color: var(--muted);
    font-size: 13px;
}

.pricing-value {
    color: var(--red);
    font-size: 27px;
    font-weight: 850;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-soft);
}

.check-row input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 2px;
    accent-color: var(--red);
}

.service-market-card {
    display: flex;
    min-width: 0;
    min-height: 330px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    transition: 0.2s ease;
}

.service-market-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.service-market-top,
.service-market-footer,
.provider-line,
.order-list-meta,
.two-column-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-market-top,
.service-market-footer,
.two-column-info {
    justify-content: space-between;
}

.service-market-card > h3 {
    margin-top: 18px;
    font-size: 18px;
    line-height: 1.35;
}

.service-market-card > p {
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: 13px;
}

.provider-line {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.provider-line > span:last-child {
    display: grid;
}

.provider-line small {
    color: var(--muted);
    font-size: 11px;
}

.mini-avatar {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--red-soft);
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
}

.mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-market-footer {
    flex-wrap: wrap;
    margin-top: 14px;
}

.service-market-footer > strong {
    color: var(--red);
    font-size: 18px;
}

.service-market-footer > span {
    color: var(--muted);
    font-size: 12px;
}

.provider-card,
.purchase-panel {
    display: grid;
    gap: 14px;
}

.purchase-price {
    color: var(--red);
    font-size: 30px;
    font-weight: 850;
}

.process-grid {
    counter-reset: process;
    margin-top: 20px;
}

.process-grid > div {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.process-grid > div::before {
    counter-increment: process;
    content: counter(process);
    display: grid;
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
}

.segmented-control {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.segmented-control a {
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 750;
}

.segmented-control a.is-active {
    background: var(--ink);
    color: var(--white);
}

.list-stack {
    display: grid;
    gap: 12px;
}

.list-row,
.order-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.order-list-card {
    align-items: flex-start;
}

.order-list-card > div:first-child {
    min-width: 0;
}

.order-list-card h3,
.list-row h3 {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.order-list-card p,
.list-row p,
.order-list-meta {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

.order-list-meta {
    flex-wrap: wrap;
}

.order-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-summary-grid .panel {
    min-width: 0;
    margin: 0;
}

.order-summary-grid .panel strong,
.two-column-info strong {
    display: block;
    margin-top: 6px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.two-column-info {
    align-items: stretch;
}

.two-column-info > div {
    width: 50%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.note-box {
    margin-top: 16px;
    padding: 16px;
    border-left: 3px solid var(--red);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--red-soft);
}

.note-box p {
    margin-top: 5px;
    color: var(--ink-soft);
}

.top-gap {
    margin-top: 18px;
}

.message-thread {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.message-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

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

.message-item p {
    grid-column: 1 / -1;
}

.site-footer {
    padding: 52px 0 0;
    background: #0d1725;
    color: #d0d5dd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 48px;
}

.brand-light {
    color: var(--white);
}

.brand-light .brand-copy small {
    color: #98a2b3;
}

.footer-about p {
    max-width: 360px;
    margin-top: 18px;
    color: #98a2b3;
}

.footer-grid h3 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: 14px;
}

.footer-grid > div:not(.footer-about) {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-grid a,
.footer-grid p {
    color: #98a2b3;
    font-size: 13px;
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 38px;
    padding: 18px 0;
    border-top: 1px solid #253041;
    color: #667085;
    font-size: 12px;
}

.form-container {
    max-width: 900px;
}

.company-card,
.specialist-card,
.job-card {
    position: relative;
}

.company-card.is-vip,
.specialist-card.is-vip,
.job-card.is-vip,
.management-overview.is-vip {
    border-color: #f04438;
    background: #fffafa;
    box-shadow: inset 4px 0 0 var(--red);
}

.vip-badge,
.homepage-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border-radius: 5px;
    background: var(--red);
    color: var(--white);
    font-size: 10px;
    font-weight: 850;
}

.homepage-badge {
    background: var(--ink);
}

.card-vip-badge,
.company-card > .homepage-badge,
.specialist-card > .homepage-badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.management-empty {
    background: var(--white);
}

.management-overview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.management-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 16px;
}

.management-identity .specialist-avatar,
.management-identity .company-logo {
    flex: 0 0 auto;
    margin: 0;
}

.management-identity h2 {
    margin-top: 7px;
    font-size: 22px;
    line-height: 1.25;
}

.management-identity p,
.management-quick-actions span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.management-object-icon,
.promotion-symbol {
    display: grid;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    place-items: center;
    border-radius: 7px;
    background: var(--red-soft);
    color: var(--red);
    font-size: 12px;
    font-weight: 850;
}

.badge-row,
.management-actions,
.payment-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.management-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.management-stats > div {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.management-stats strong,
.management-stats span {
    display: block;
    overflow-wrap: anywhere;
}

.management-stats strong {
    font-size: 16px;
}

.management-stats span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
}

.management-quick-actions {
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.management-section {
    margin-top: 30px;
}

.management-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.management-section-heading h2 {
    margin-top: 5px;
    font-size: 24px;
}

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

.promotion-card {
    display: flex;
    min-width: 0;
    min-height: 310px;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.promotion-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.promotion-card-head h3 {
    font-size: 18px;
}

.promotion-symbol {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.promotion-card > p {
    min-height: 48px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.promotion-meta,
.payment-result-details {
    display: grid;
    gap: 0;
    margin: 16px 0;
}

.promotion-meta > div,
.payment-result-details > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.promotion-meta dt,
.payment-result-details dt {
    color: var(--muted);
    font-size: 12px;
}

.promotion-meta dd,
.payment-result-details dd {
    font-weight: 800;
    text-align: right;
}

.promotion-card form {
    display: grid;
    gap: 12px;
    margin-top: auto;
}

.promotion-card .check-row {
    font-size: 11px;
}

.promotion-card .check-row a {
    color: var(--red);
}

.payment-result-page {
    min-height: 70vh;
}

.payment-result {
    max-width: 680px;
    margin: 0 auto;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.payment-result-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 28px;
    font-weight: 850;
}

.payment-result h1 {
    margin-top: 8px;
    font-size: 34px;
    line-height: 1.2;
}

.payment-result > p {
    margin-top: 10px;
    color: var(--muted);
}

.payment-result-details {
    margin: 28px 0;
}

@media (max-width: 900px) {
    .management-overview,
    .management-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 600px) {
    .promotion-grid,
    .management-stats {
        grid-template-columns: 1fr;
    }

    .management-identity {
        align-items: flex-start;
    }

    .management-actions,
    .management-actions .button,
    .payment-result-actions,
    .payment-result-actions .button {
        width: 100%;
    }

    .payment-result {
        padding: 28px 20px;
    }

    .payment-result h1 {
        font-size: 28px;
    }
}

@media (max-width: 1240px) {
    .header-row {
        grid-template-columns: auto auto 1fr;
    }

    .mobile-menu-button {
        display: inline-flex;
        order: 2;
    }

    .brand {
        order: 1;
    }

    .header-actions {
        order: 3;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 24px;
        left: 24px;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: grid;
    }

    .main-nav a {
        padding: 11px 12px;
        border-radius: 6px;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav a.is-active {
        background: var(--red-soft);
    }

    .hero-left {
        width: 55%;
    }

    .hero-right {
        right: -150px;
        transform: scale(0.88);
        transform-origin: right center;
    }

    .hero-search {
        width: min(790px, calc(100vw - 48px));
    }

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

    .carousel-track > * {
        flex-basis: calc((100% - 36px) / 3);
    }

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

@media (max-width: 900px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .header-row {
        gap: 10px;
    }

    .account-name,
    .language-select {
        display: none;
    }

    .header-actions .button {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-wrapper {
        min-height: auto;
        padding: 46px 0 36px;
    }

    .hero-left {
        width: 100%;
        padding-right: 0;
    }

    .hero-right {
        position: relative;
        top: auto;
        right: auto;
        left: 50%;
        width: 760px;
        height: 650px;
        margin: 14px 0 -105px -380px;
        transform: scale(0.82);
        transform-origin: center top;
    }

    .hero-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
        border: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

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

    .hero-search-field {
        border: 1px solid var(--line);
        border-radius: 7px;
        background: var(--white);
    }

    .hero-search-button {
        min-height: 54px;
    }

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

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

    .carousel-track > * {
        flex-basis: calc((100% - 18px) / 2);
    }

    .detail-layout,
    .dashboard-shell,
    .profile-layout,
    .content-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar,
    .dashboard-sidebar {
        position: static;
    }

    .dashboard-sidebar {
        overflow: hidden;
    }

    .profile-summary {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 14px;
        padding: 16px;
    }

    .profile-summary .avatar-placeholder,
    .profile-summary img {
        grid-row: 1 / 4;
        margin-bottom: 0;
    }

    .dashboard-nav {
        display: flex;
        padding: 8px;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .dashboard-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 280px;
        padding: 36px;
    }

    .wallet-balance-grid,
    .order-summary-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .brand-copy {
        display: none;
    }

    .site-header .account-menu {
        display: none;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-text {
        font-size: 15px;
    }

    .filter-bar,
    .form-grid,
    .role-picker,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }

    .hero-search-field {
        border: 1px solid var(--line);
    }

    .hero-search-button {
        width: 100%;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-right {
        width: 760px;
        height: 650px;
        margin: 16px 0 -292px -380px;
        transform: scale(0.54);
    }

    .hero-card {
        display: none;
    }

    .stats-grid,
    .card-grid,
    .card-grid-three,
    .category-grid,
    .dashboard-grid,
    .profile-stat-row,
    .wallet-balance-grid,
    .order-summary-grid,
    .process-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .carousel-track > * {
        flex-basis: 86%;
    }

    .section {
        padding: 50px 0;
    }

    .section-heading,
    .page-hero-row,
    .dashboard-heading,
    .cta-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading,
    .page-hero-row,
    .dashboard-heading {
        display: flex;
    }

    .page-hero h1 {
        font-size: 31px;
    }

    .cta-band {
        padding: 26px;
    }

    .cta-content,
    .cta-actions {
        display: flex;
    }

    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .auth-panel {
        padding: 34px 20px;
    }

    .auth-visual {
        min-height: 230px;
        padding: 28px 20px;
    }

    .auth-visual h1 {
        font-size: 30px;
    }

    .list-item,
    .list-row,
    .order-list-card,
    .job-card-footer,
    .profile-photo-row,
    .two-column-info {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-photo-actions,
    .profile-photo-actions .button,
    .two-column-info > div {
        width: 100%;
    }

    .service-market-footer {
        align-items: flex-start;
    }

    .centered-panel {
        padding: 28px 20px;
    }

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

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}
