:root {
    --primary: #0f766e;
    --primary-dark: #0b5f58;
    --accent: #c97b2a;
    --accent-soft: rgba(201, 123, 42, 0.14);
    --success: #1f7a4b;
    --warning: #b7791f;
    --danger: #c2414f;
    --text: #13202d;
    --muted: #667482;
    --line: #d9e2dd;
    --bg: #f3f7f4;
    --surface: #ffffff;
    --surface-soft: #edf3ef;
    --shadow: 0 12px 30px rgba(16, 29, 38, 0.08);
    --radius: 8px;
    --transition: 0.22s ease;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

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

body {
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f7f9f7 0%, #eef3ef 100%);
    line-height: 1.5;
    font-size: 13px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    overflow-x: hidden;
}

body.admin-page {
    background: var(--bg);
}

::selection {
    background: rgba(15, 118, 110, 0.18);
    color: var(--text);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: var(--transition);
}

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

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

iframe,
video,
canvas,
svg {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    min-width: 0;
}

.app-main {
    margin-top: 0;
}

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

.navbar-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-search {
    flex: 1 1 620px;
    max-width: 720px;
    display: flex;
    align-items: center;
    gap: 8px;
    /* padding: 10px; */
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 6px 20px rgba(16, 29, 38, 0.05);
}

.nav-search i {
    color: #ffffff;
}

.nav-search select,
.nav-search input {
    width: auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 10px 12px;
    border-radius: 12px;
}

.nav-search input::placeholder {
    color: #8b97a3;
}

.nav-search select {
    min-width: 140px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.nav-search input[name="q"] {
    flex: 1 1 240px;
}

.nav-search input[name="location"] {
    flex: 0 1 180px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.nav-search .btn {
    flex-shrink: 0;
    margin-right: 8px;
}

.nav-search-simple {
    flex: 1 1 520px;
    max-width: 560px;
}

.nav-search-simple input[name="q"] {
    flex: 1 1 auto;
}

.nav-search-mobile {
    display: none;
}

.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    margin-left: 2px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
}

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

.navbar-nav-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    min-width: 0;
}

.nav-mobile-head {
    display: none;
    width: 100%;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu a,
.nav-menu-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    border-radius: 999px;
    color: var(--text);
    font-weight: 700;
    font-size: 0.88rem;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-menu-button:hover,
.nav-menu-button.active {
    background: var(--surface-soft);
    color: var(--primary-dark);
}

.nav-menu-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.nav-menu-feed a {
    position: relative;
}

.nav-menu-feed .nav-badge {
    margin-left: 0;
}

.nav-menu .has-dropdown > a::after,
.nav-menu .has-dropdown > .nav-menu-button::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.72rem;
    margin-left: 2px;
    opacity: 0.6;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    padding: 8px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 1001;
}

.nav-menu li:hover .nav-dropdown,
.nav-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    display: flex;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 600;
    width: 100%;
}

.nav-dropdown a:hover {
    background: var(--surface-soft);
}

.profile-dropdown {
    left: auto;
    right: 0;
}

.profile-dropdown a {
    justify-content: flex-start;
}

.profile-dropdown i {
    width: 18px;
    text-align: center;
    color: var(--primary-dark);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 0.82rem;
    line-height: 1;
    white-space: nowrap;
}

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

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

.btn-accent {
    background: var(--accent);
    color: #ffffff;
}

.btn-accent:hover {
    color: #ffffff;
    filter: brightness(0.96);
}

.btn-outline {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
}

.btn-outline:hover {
    border-color: rgba(15, 118, 110, 0.3);
    background: var(--surface-soft);
    color: var(--primary-dark);
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

.btn-warning {
    background: var(--warning);
    color: #ffffff;
}

.btn-sm {
    padding: 7px 10px;
    font-size: 0.76rem;
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.hamburger i {
    font-size: 1rem;
}

.hamburger.active {
    border-color: rgba(15, 118, 110, 0.35);
    background: var(--surface-soft);
    color: var(--primary-dark);
}

.hero {
    padding: 28px 0 8px;
}

.home-hero {
    padding-top: 24px;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
    gap: 20px;
    align-items: stretch;
}

.hero-copy,
.hero-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.hero-eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin-top: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 16ch;
}

.hero p {
    margin-top: 12px;
    color: var(--muted);
    max-width: 60ch;
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-search {
    width: 100%;
}

.hero-panel .search-box {
    margin: 0;
}

.hero-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--muted);
}

.hero-note i {
    color: var(--primary);
    margin-top: 4px;
}

.hero-note p {
    margin: 0;
}

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

.stat-item {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.stat-item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-item span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.search-box input,
.search-box select {
    flex: 1 1 180px;
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
}

.search-box input:focus,
.search-box select:focus,
.form-control:focus {
    outline: none;
    border-color: rgba(15, 118, 110, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.search-box .btn {
    flex: 0 0 auto;
    min-width: 150px;
}

.section {
    padding: 48px 0;
}

.section-soft {
    background: rgba(255, 255, 255, 0.7);
}

.section-alt {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.05), rgba(15, 118, 110, 0.02));
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.section-heading-row > div,
.feed-company-copy,
.messages-thread-summary-copy,
.messages-list-copy,
.messages-search-copy,
.company-post-copy,
.company-head-copy,
.profile-head-copy,
.company-applicant-copy,
.company-application-candidate > div,
.profile-copy-block,
.job-browser-detail-header > div,
.jobs-list-header > div,
.company-application-job-cell,
.message-bubble-stack {
    min-width: 0;
}

/* .section-title {
    margin-bottom: 0;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
} */
.section-title {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    padding-left: 10px;
}
.section-note {
    color: var(--muted);
    max-width: 45ch;
    font-size: 0.84rem;
}

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

.category-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 140px;
    color: var(--text);
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 14px 32px rgba(16, 29, 38, 0.1);
}

.category-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
}

.category-card .count {
    color: var(--muted);
    font-size: 0.8rem;
}

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

.career-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 138px;
    color: var(--text);
}

.career-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.28);
}

.career-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.career-card strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.career-card span {
    color: var(--muted);
    font-size: 0.8rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

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

.audience-card i,
.story-card i,
.network-card i {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.audience-card h3,
.story-card strong,
.network-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.audience-card p,
.story-card p,
.network-card p {
    color: var(--muted);
    font-size: 0.88rem;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 18px;
    align-items: start;
}

.story-copy,
.story-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.step-list {
    margin: 18px 0 0 18px;
    color: var(--text);
}

.step-list li {
    margin-bottom: 8px;
}

.story-panel {
    display: grid;
    gap: 12px;
}

.story-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

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

.sponsored-ad-section {
    padding: 18px 0;
}

.sponsored-ad-section-home {
    background: var(--surface-soft);
}

.sponsored-ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.sponsored-ad-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--text);
    text-decoration: none;
}

.sponsored-ad-card:hover {
    border-color: rgba(15, 118, 110, 0.24);
    transform: translateY(-1px);
}

.sponsored-ad-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
    background: var(--bg);
    border: 1px solid var(--line);
}

.sponsored-ad-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sponsored-ad-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.sponsored-ad-copy small {
    color: var(--primary-dark);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sponsored-ad-copy strong {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.25;
}

.sponsored-ad-copy span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.sponsored-ad-copy em {
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 900;
}

.sponsored-ad-card-feed {
    grid-template-columns: 140px minmax(0, 1fr);
}

.sponsored-ad-card-sidebar {
    grid-template-columns: 1fr;
}

.feed-sidebar-ad-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

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

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 96px;
}

.widget {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.widget h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 800;
}

.widget h3 i {
    color: var(--primary);
}

.widget p,
.widget li {
    color: var(--text);
    font-size: 0.88rem;
}

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

.jobs-browser-shell {
    padding-top: 14px;
    display: grid;
    gap: 18px;
}

.jobs-browser-filters {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.jobs-browser-title {
    margin-top: 6px;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.jobs-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.jobs-filter-form input,
.jobs-filter-form select {
    min-width: 0;
    flex: 1 1 180px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.jobs-filter-form button,
.jobs-filter-form a {
    flex-shrink: 0;
}

.jobs-focus-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: rgba(15, 118, 110, 0.06);
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: var(--radius);
}

.jobs-focus-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary-dark);
}

.jobs-focus-clear {
    font-weight: 700;
}

.jobs-browser-layout {
    display: grid;
    grid-template-columns: minmax(360px, 40%) minmax(0, 60%);
    gap: 18px;
    align-items: start;
}

.jobs-browser-list,
.jobs-browser-detail {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    /* min-height: 68vh; */
}

.jobs-browser-list {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: sticky;
    top: 96px;
    /* max-height: calc(100vh - 120px); */
}

.jobs-browser-detail {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.jobs-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--line);
}

.jobs-list-header h2 {
    font-size: 0.98rem;
    font-weight: 800;
}

.jobs-list-header span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.jobs-list-scroll {
    padding: 10px;
    /* overflow-y: auto; */
    /* max-height: calc(100vh - 260px); */
}

.job-list-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.job-list-item:hover,
.job-list-item.active {
    background: rgba(15, 118, 110, 0.06);
    border-color: rgba(15, 118, 110, 0.12);
}

.job-list-item:focus-visible {
    outline: 2px solid rgba(15, 118, 110, 0.24);
    outline-offset: 2px;
}

.job-list-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.job-list-copy {
    min-width: 0;
    flex: 1;
}

.job-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.job-list-head h3 {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
}

.job-list-company {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

.job-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.job-list-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-list-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.job-list-salary {
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 800;
}

.job-browser-detail-card {
    padding: 28px;
}

.job-browser-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.job-browser-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.job-browser-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

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

.browser-eyebrow {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.job-browser-detail-header h2 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.job-browser-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.job-browser-snapshots {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.browser-snapshot {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
}

.browser-snapshot span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.browser-snapshot strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.job-browser-section {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.job-browser-section h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.browser-login-note {
    /* margin-top: 16px; */
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(15, 118, 110, 0.06);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.jobs-browser-modal .company-post-modal-panel {
    width: min(960px, 100%);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.jobs-browser-modal-head {
    margin-bottom: 0;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.jobs-browser-modal-head h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.jobs-browser-modal-body {
    flex: 1;
    overflow: auto;
    background: var(--surface);
}

.jobs-browser-modal-body .job-browser-detail-card {
    padding: 22px 24px 26px;
}

.jobs-browser-preview-loading {
    min-height: 42vh;
    display: grid;
    place-items: center;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 30px 18px;
}

.jobs-browser-preview-loading i {
    color: var(--primary);
    font-size: 1.35rem;
}

.jobs-browser-preview-loading h3 {
    font-size: 0.98rem;
}

.jobs-browser-preview-loading p {
    color: var(--muted);
    font-size: 0.82rem;
    max-width: 34ch;
}

.jobs-browser-empty {
    text-align: center;
}

.jobs-browser-modal-body .jobs-browser-empty {
    min-height: 42vh;
    display: grid;
    place-items: center;
    padding: 30px 18px;
}

.empty-state {
    padding: 24px;
    color: var(--muted);
}

.empty-state h3 {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 6px;
}

.detail-empty {
    min-height: 44vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.related-job-wrap {
    margin-top: 18px;
}

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

.feed-view {
    background: linear-gradient(180deg, #f7f9f7 0%, #eef3ef 100%);
}

.feed-view .navbar {
    background: rgba(255, 255, 255, 0.92);
}

.feed-page {
    padding: 18px 0 28px;
}

.feed-shell {
    max-width: 1280px;
}

.feed-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.feed-rail {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px !important;
    /* max-height: calc(100vh - 124px); */
    overflow: auto;
}

/* .feed-left,
.feed-right {
    padding: 0;
} */

.feed-profile-card {
    display: grid;
    gap: 12px;
}

.feed-profile-eyebrow {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.feed-profile-card h2 {
    font-size: 1.08rem;
    line-height: 1.25;
}

.feed-profile-headline {
    color: var(--muted);
    font-size: 0.88rem;
}

.feed-profile-meta {
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.feed-profile-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.feed-profile-meter {
    display: grid;
    gap: 6px;
}

.feed-profile-meter small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.feed-interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feed-interest-tags span,
.feed-toolbar-tags span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.feed-profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feed-center {
    min-width: 0;
}

.feed-stream {
    display: grid;
    gap: 18px;
}

.feed-stream-toolbar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.feed-toolbar-copy {
    min-width: 0;
}

.feed-stream-toolbar h1 {
    font-size: 1.22rem;
    line-height: 1.25;
    margin: 6px 0 4px;
    letter-spacing: -0.03em;
}

.feed-start-post {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    margin-bottom: 10px;

}

.feed-start-post-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    padding: 8px 12px 8px 8px;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: var(--transition);
}

.feed-start-post-trigger:hover {
    border-color: rgba(15, 118, 110, 0.28);
    color: var(--primary-dark);
    background: var(--surface-soft);
}

.feed-start-post-input {
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.feed-action-modal {
    width: min(560px, 100%);
}

.feed-action-choices {
    display: grid;
    gap: 12px;
}

.feed-action-choice {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
    padding: 14px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font: inherit;
}

.feed-action-choice:hover {
    border-color: rgba(15, 118, 110, 0.32);
    background: var(--surface-soft);
}

.feed-action-choice > i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    background: rgba(15, 118, 110, 0.09);
}

.feed-action-choice strong,
.feed-action-choice small {
    display: block;
}

.feed-action-choice strong {
    font-size: 0.94rem;
}

.feed-action-choice small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.feed-toolbar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.feed-stream-list {
    display: grid;
    gap: 14px;
}

.feed-post {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
    margin-top: 10px;
}

.feed-post-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.feed-company-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--text);
    background-color: white;
    border: none;
}

.feed-company-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    font-weight: 800;
    color: var(--primary-dark);
}

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

.feed-company-copy strong,
.feed-company-copy span {
    display: block;
}

.feed-company-copy strong {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.feed-company-copy span {
    color: var(--muted);
    font-size: 0.78rem;
}

.feed-post-top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.feed-post-time {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.feed-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 800;
}

.feed-post-body {
    margin-top: 12px;
}

.feed-post-body p {
    color: var(--text);
    font-size: 0.86rem;
}

.feed-post-image {
    margin-top: 14px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg);
}

.feed-post-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.feed-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    font-weight: 800;
}

.feed-action strong {
    font-size: 0.84rem;
    color: var(--primary-dark);
}

.feed-action.is-active,
.feed-like-btn.is-active {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.2);
    color: var(--primary-dark);
}

.feed-suggestion-section + .feed-suggestion-section {
    margin-top: 18px;
}

.feed-suggestion-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.feed-suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg);
    box-shadow: var(--shadow);
}

.feed-suggestion-clickable {
    cursor: pointer;
}

.feed-suggestion-clickable:hover {
    border-color: rgba(15, 118, 110, 0.22);
    background: rgba(15, 118, 110, 0.04);
}

.feed-person-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.feed-suggestion-item .copy {
    min-width: 0;
}

.feed-people-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.feed-suggestion-item strong {
    display: block;
    font-size: 0.94rem;
    font-weight: 800;
    margin-bottom: 3px;
}

.feed-suggestion-item span {
    color: var(--muted);
    font-size: 0.78rem;
}

.feed-suggestion-copy {
    min-width: 0;
    overflow: hidden;
}

.feed-suggestion-item .feed-suggestion-name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    margin-bottom: 0;
    line-height: 1.3;
}

.feed-suggestion-follow-btn {
    flex: 0 0 auto;
    min-width: 96px;
    justify-content: center;
    white-space: nowrap;
}

.feed-inline-suggestion {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.feed-inline-suggestion-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.feed-inline-suggestion .feed-suggestion-item {
    margin: 0;
    box-shadow: none;
}

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

.feed-share-status {
    margin: 8px 2px 0;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.feed-empty-note {
    margin-top: 2px;
}

.feed-sentinel {
    margin: 4px 0 0;
    padding: 14px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.feed-sentinel.is-loading {
    color: var(--primary-dark);
    font-weight: 800;
}

.jobs-load-sentinel {
    margin: 10px;
}

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

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.notification-item.is-unread {
    border-color: rgba(15, 118, 110, 0.24);
    background: rgba(15, 118, 110, 0.04);
}

.notification-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    color: var(--primary-dark);
    flex-shrink: 0;
}

.notification-copy {
    min-width: 0;
    flex: 1;
}

.notification-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.notification-copy p {
    color: var(--muted);
    margin-bottom: 4px;
    font-size: 0.84rem;
}

.sector-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.sector-tab {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 700;
    transition: var(--transition);
}

.sector-tab.active,
.sector-tab:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.job-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.28);
}

.job-logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    overflow: hidden;
    flex-shrink: 0;
}

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

.job-body {
    flex: 1;
    min-width: 0;
}

.job-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.job-body h3 {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.job-body h3 a {
    color: var(--text);
}

.job-body h3 a:hover {
    color: var(--primary);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
}

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

.job-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.job-salary {
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.84rem;
}

.job-deadline {
    color: var(--muted);
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.badge-featured {
    background: rgba(201, 123, 42, 0.14);
    color: var(--accent);
}

.badge-sector {
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-dark);
}

.badge-remote {
    background: rgba(31, 122, 75, 0.12);
    color: var(--success);
}

.date-expiring {
    color: var(--danger);
    font-weight: 700;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-3px);
}

.blog-thumb {
    height: 190px;
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 20px;
}

.blog-body h3 {
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 800;
}

.blog-excerpt {
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 10px;
}

.page-header {
    padding: 24px 0 10px;
    background: transparent;
}

.search-page-header {
    padding: 28px 0 12px;
}

.search-page-hero {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 2px);
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 251, 0.96));
    box-shadow: var(--shadow);
}

.search-hero-copy {
    display: grid;
    gap: 6px;
}

.search-hero-copy .section-note {
    margin: 0;
}

.search-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.search-stat-card {
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(15, 118, 110, 0.12);
    background: rgba(15, 118, 110, 0.05);
}

.search-stat-card strong {
    font-size: 1.1rem;
    color: var(--primary-dark);
    line-height: 1;
}

.search-stat-card span {
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.page-header h1 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.job-detail,
.blog-detail,
.static-page {
    background: var(--surface);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.job-detail h2 {
    margin: 20px 0 10px;
    font-size: 1.05rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.job-detail-content {
    line-height: 1.8;
}

.job-apply-sticky {
    position: sticky;
    top: 76px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    margin-bottom: 20px;
}

.job-apply-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.job-apply-sticky-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    max-width: 70%;
}

.btn-apply-lg {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.word-count-panel {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.word-count-status.ok {
    color: var(--success);
    font-weight: 700;
}

.word-count-status.warn {
    color: var(--danger);
    font-weight: 700;
}

.auth-container {
    max-width: 540px;
}

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

.form-note,
.muted-text {
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 12px;
}

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

.text-danger {
    color: var(--danger);
}

.verification-code-input {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-align: center;
}

.resend-code-form {
    margin-top: 14px;
    text-align: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.dashboard-shell {
    padding-top: 24px;
    padding-bottom: 24px;
}

.profile-panel {
    background: var(--surface);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 96px;
}

.profile-panel h2 {
    font-size: 1.05rem;
    margin-top: 14px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 2rem;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-avatar.small {
    width: 54px;
    height: 54px;
    font-size: 1.1rem;
}

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

.rank-meter {
    height: 8px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
    margin: 14px 0 8px;
}

.rank-meter span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #53a89f);
}

.stacked-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.compact-stats .stat-card {
    padding: 16px;
}

.compact-stats .stat-card h3 {
    font-size: 1.35rem;
}

.dashboard-stats-stack {
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
}

.dashboard-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 0;
}

.dashboard-stats-grid .stat-card {
    min-width: 0;
}

.dashboard-section {
    margin-top: 0;
}

.profile-page-shell,
.company-page-shell,
.profile-edit-shell,
.company-dashboard-shell,
.company-create-shell {
    display: grid;
    gap: 16px;
}

.profile-edit-shell {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
}

.profile-edit-main {
    min-width: 0;
    display: grid;
    gap: 16px;
}

.profile-edit-preview {
    position: sticky;
    top: 96px;
}

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

.profile-cover-shell,
.company-cover-shell {
    padding: 0;
    overflow: hidden;
}

.profile-cover-banner,
.company-cover-banner {
    min-height: 146px;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(15, 118, 110, 0.04));
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
}

.profile-cover-body,
.company-cover-body {
    display: grid;
    gap: 16px;
    padding: 0 18px 18px;
}

.profile-ident,
.company-ident {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.profile-avatar-xl,
.company-logo-badge {
    width: 104px;
    height: 104px;
    border: 5px solid var(--surface);
    box-shadow: 0 10px 24px rgba(16, 29, 38, 0.08);
    margin-top: -52px;
}

.profile-head-copy,
.company-head-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.profile-head-copy h1,
.company-head-copy h1 {
    font-size: 1.38rem;
    line-height: 1.1;
    margin: 0;
}

.profile-headline,
.company-headline {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.profile-meta-line,
.company-meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    color: var(--muted);
    font-size: 0.76rem;
}

.profile-edit-preview .profile-meta-line {
    margin-top: 14px;
    justify-content: flex-start;
}

.profile-meta-line > span:not(.badge),
.company-meta-line > span:not(.badge) {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg);
    line-height: 1;
}

.profile-meta-line .badge-verified {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.24);
}

.profile-meta-line .badge-verified,
.profile-meta-line .badge-verified i {
    font-weight: 800;
}

.profile-actions-row,
.company-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-action-form {
    display: inline-flex;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.metric-item {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
}

.metric-item strong {
    display: block;
    font-size: 1.06rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.metric-item span {
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 700;
}

.profile-copy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
    gap: 16px;
}

.profile-copy-block {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}

.profile-facts > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.profile-facts > div:last-child {
    border-bottom: 0;
}

.profile-facts span {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.profile-facts strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.chip-grid,
.inline-chip-row,
.preview-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preview-tags-stack {
    display: grid;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.preview-tag-group {
    display: grid;
    gap: 10px;
}

.preview-location-text {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
    margin: 0;
}

.preview-tag-title {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
}

.chip-soft {
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-dark);
    border-color: rgba(15, 118, 110, 0.14);
}

.chip-empty {
    color: var(--muted);
    font-weight: 600;
}

.inline-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
}

.inline-chip.is-active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.stacked-list {
    display: grid;
    gap: 14px;
}

.stacked-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.stacked-item:last-child {
    border-bottom: 0;
}

.stacked-item-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    background: var(--bg);
}

.stacked-item-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.stacked-item-head h3 {
    font-size: 0.98rem;
    margin: 0;
}

.stacked-item-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.78rem;
}

.timeline-list {
    display: grid;
    gap: 16px;
}

.timeline-list.compact {
    gap: 12px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 14px;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.timeline-content {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.timeline-media {
    margin-bottom: 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
}

.timeline-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.timeline-item:last-child .timeline-content {
    border-bottom: 0;
}

.timeline-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    align-items: flex-start;
}

.timeline-head h3 {
    font-size: 0.96rem;
    margin: 0;
}

.timeline-head span,
.timeline-company {
    color: var(--muted);
    font-size: 0.82rem;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-status-badges {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 0;
}

.profile-name-row h1 {
    margin-bottom: 0;
}

.verified-badge {
    display: inline-grid;
    place-items: center;
    position: relative;
    width: 28px;
    height: 28px;
    line-height: 0;
    background: transparent;
    border: 0;
    font-size: 1.45rem;
    flex-shrink: 0;
    overflow: visible;
    text-shadow: none;
    vertical-align: middle;
}

.verified-badge-shell {
    position: absolute;
    inset: 0;
    font-size: 1.12em;
    line-height: 1;
    transform: scale(1.02);
    display: grid;
    place-items: center;
}

.verified-badge-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    font-size: 0.62em;
    line-height: 1;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.28));
}

.verified-badge-gold {
    color: #c59014;
    filter: drop-shadow(0 2px 6px rgba(197, 144, 20, 0.18));
}

.verified-badge-sky {
    color: #3ea7ff;
    filter: drop-shadow(0 2px 6px rgba(62, 167, 255, 0.2));
}

.feed-pill-gold {
    background: rgba(197, 144, 20, 0.14);
    color: #9a6a00;
}

.profile-country-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 18px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.72) inset;
    font-size: 0.74rem;
    line-height: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.profile-country-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-country-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.dashboard-premium-list {
    margin: 0 0 16px;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 0.9rem;
}

.dashboard-premium-list li {
    line-height: 1.45;
}

.premium-active-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(62, 167, 255, 0.18);
    border-radius: 12px;
    background: rgba(62, 167, 255, 0.08);
    color: var(--text);
    font-weight: 700;
    flex-wrap: wrap;
}

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

.resume-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
}

.form-actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.checkbox-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--text);
}

.checkbox-field {
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.checkbox-field input[type="checkbox"] {
    margin-top: 3px;
    flex: 0 0 auto;
}

.checkbox-field span {
    display: grid;
    gap: 4px;
}

.checkbox-field small {
    font-weight: 400;
    color: var(--muted);
    line-height: 1.4;
}

.tag-field {
    display: grid;
    gap: 8px;
    /* width: min(100%, 620px);
    max-width: 620px; */
}

.tag-field-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: stretch;
}

.tag-field-input {
    min-width: 0;
    min-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.tag-field-add {
    align-self: stretch;
    min-height: 40px;
}

.tag-field-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-field-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 132px;
    overflow: auto;
    padding-right: 4px;
}

.tag-suggestion {
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
}

.tag-suggestion:hover {
    border-color: rgba(15, 118, 110, 0.3);
    color: var(--primary-dark);
}

.profile-subform {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.profile-subform:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

.inline-action-form {
    margin-top: 10px;
    display: inline-flex;
}

.preview-card {
    position: sticky;
    top: 96px;
    overflow: hidden;
}

.preview-resume-block {
    display: grid;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
}

.preview-resume-copy strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
}

.preview-resume-copy p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.preview-resume-action .form-control {
    font-size: 0.8rem;
    padding: 10px 12px;
}

.preview-cover-media {
    width: calc(100% + 36px);
    min-height: 96px;
    margin: -18px -18px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.12), rgba(15, 118, 110, 0.04));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px;
    font: inherit;
}

.preview-cover-media span,
.preview-avatar-edit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 800;
}

.preview-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    margin-bottom: 12px;
}

.preview-avatar-button {
    border: 0;
    cursor: pointer;
    padding: 0;
    font: inherit;
    color: inherit;
}

.preview-avatar-button:hover {
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.preview-avatar-edit {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 28px;
    height: 28px;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
}

.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.profile-cover-banner,
.company-cover-banner,
.preview-cover-media {
    overflow: hidden;
}

.profile-cover-banner,
.company-cover-banner {
    background-repeat: no-repeat;
}

.profile-avatar-xl,
.company-logo-badge,
.preview-avatar,
.profile-avatar {
    overflow: hidden;
}

.profile-avatar img,
.preview-avatar img,
.company-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-muted {
    color: var(--muted);
    font-size: 0.84rem;
}

.preview-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-link-row a {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.preview-rank {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.preview-rank strong {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.company-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.company-dashboard-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    padding-bottom: 12px;
}

.company-dashboard-cover {
    height: 94px;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.11), rgba(15, 118, 110, 0.03));
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--line);
}

.company-dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 8px;
}

.company-dashboard-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.company-dashboard-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

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

.company-dashboard-brand h3 {
    font-size: 0.92rem;
    margin: 0;
}

.company-dashboard-brand p {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 4px;
}

.company-dashboard-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 0 14px 10px;
    color: var(--muted);
    font-size: 0.76rem;
}

.company-dashboard-metrics {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    padding: 0 14px;
}

.company-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px 0;
}

.company-applications-shell {
    display: grid;
    gap: 16px;
}

.company-application-filters-panel {
    padding: 16px;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0.96));
}

.company-application-detail-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.07), rgba(255, 255, 255, 0.98) 46%);
    box-shadow: var(--shadow);
}

.company-application-identity {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 520px;
}

.company-application-identity .profile-avatar-xl {
    width: 88px;
    height: 88px;
    flex: 0 0 88px;
}

.company-application-identity-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.company-application-name-row {
    align-items: center;
    gap: 10px;
    margin: 0;
}

.company-application-name-row .section-title {
    margin-bottom: 0;
    line-height: 1.15;
}

.company-application-status-badges {
    gap: 6px;
}

.company-applicant-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.company-applicant-name-row a {
    font-weight: 800;
    color: var(--text);
}

.company-applicant-status-badges {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.company-applicant-status-badges .verified-badge {
    width: 24px;
    height: 24px;
    font-size: 1.2rem;
}

.company-applicant-status-badges .profile-country-badge {
    width: 22px;
    height: 16px;
}

.company-application-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--muted);
    font-size: 0.82rem;
}

.company-application-contact-row a {
    color: var(--primary-dark);
    font-weight: 700;
}

.company-application-detail-actions {
    justify-content: flex-end;
}

.company-application-summary-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
    gap: 12px;
}

.company-application-summary-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.company-application-summary-card span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.company-application-summary-card strong {
    font-size: 0.98rem;
    color: var(--text);
}

.company-application-summary-grid .profile-facts {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.company-application-summary-grid .profile-facts div {
    padding: 10px 0;
}

.company-application-summary-grid .profile-facts div:not(:last-child) {
    border-bottom: 1px dashed rgba(15, 118, 110, 0.14);
}

.company-application-summary-grid .profile-facts strong {
    display: block;
    margin-top: 4px;
}

.data-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.company-applications-table {
    min-width: 1120px;
}

.company-applications-table th,
.company-applications-table td {
    vertical-align: middle;
}

.company-applicant-cell {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}

.company-applicant-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.company-applicant-copy a {
    color: var(--text);
}

.company-applicant-copy strong {
    font-size: 0.88rem;
    line-height: 1.3;
}

.company-applicant-copy span,
.company-applicant-copy small,
.company-application-job-cell span {
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.35;
}

.company-applicant-copy small {
    font-size: 0.75rem;
}

.company-applicant-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.company-applicant-name-row strong {
    min-width: 0;
}

.company-applicant-name-row strong a {
    color: var(--text);
}

.company-application-job-cell {
    display: grid;
    gap: 4px;
}

.company-application-job-cell strong {
    font-size: 0.88rem;
    line-height: 1.3;
}

.company-application-status-panel {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.company-application-status-panel .form-control {
    min-width: 180px;
}

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

.company-application-item {
    display: grid;
    grid-template-columns: minmax(220px, 1.15fr) minmax(190px, 0.9fr) minmax(220px, 1fr) 170px;
    gap: 14px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.company-application-item:last-child {
    border-bottom: 0;
}

.company-application-candidate {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: 0;
}

.company-application-candidate .profile-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    font-size: 0.86rem;
}

.company-application-candidate h3,
.company-application-job strong {
    display: block;
    margin: 0 0 4px;
    font-size: 0.92rem;
    line-height: 1.3;
}

.company-application-candidate p,
.company-application-job span,
.company-application-note p,
.company-application-status span {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.company-application-note strong,
.company-application-status label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.76rem;
    color: var(--text);
    font-weight: 800;
}

.company-application-status {
    display: grid;
    gap: 7px;
}

.company-application-status .form-control {
    padding: 9px 10px;
    font-size: 0.82rem;
}

.company-application-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.company-application-detail-shell {
    display: grid;
    gap: 16px;
}

.company-application-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(280px, 0.78fr);
    gap: 16px;
    align-items: start;
}

.company-application-detail-main,
.company-application-detail-side {
    display: grid;
    gap: 14px;
}

.company-application-detail-side .profile-section {
    position: sticky;
    top: 18px;
}

.company-application-detail-side .profile-section,
.company-application-detail-main .profile-section {
    margin: 0;
}

.company-application-custom-answers {
    display: grid;
    gap: 10px;
}

.company-application-custom-answers > div {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.company-application-custom-answers strong {
    display: block;
    margin-bottom: 6px;
}

.company-application-custom-answers p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.messages-shell {
    display: grid;
    gap: 16px;
}

.messages-layout {
    display: grid;
    grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.messages-sidebar {
    display: grid;
    gap: 16px;
}

.messages-applicant-list {
    display: grid;
    gap: 10px;
}

.messages-applicant-item {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.messages-applicant-item:hover {
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 8px 18px rgba(16, 29, 38, 0.05);
}

.messages-search-results,
.messages-list,
.messages-thread-list {
    display: grid;
    gap: 10px;
}

.messages-search-item,
.messages-list-item {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.messages-list-item.active,
.messages-search-item:hover,
.messages-list-item:hover {
    border-color: rgba(15, 118, 110, 0.26);
    box-shadow: 0 8px 18px rgba(16, 29, 38, 0.05);
}

.messages-search-copy,
.messages-list-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.messages-search-copy strong,
.messages-list-copy strong {
    font-size: 0.84rem;
    line-height: 1.25;
}

.messages-search-copy small,
.messages-search-copy span,
.messages-list-copy small,
.messages-list-copy span {
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
}

.messages-search-copy span {
    display: block;
}

.messages-list-copy span:not(.messages-presence):not(.messages-job-title) {
    display: block;
}

.messages-presence,
.messages-thread-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.3;
}

.messages-job-title {
    display: block;
}

.presence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    flex-shrink: 0;
}

.presence-dot.is-online {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(31, 122, 75, 0.12);
}

.messages-thread-summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg);
}

.messages-thread-summary-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.messages-thread-summary-copy strong {
    font-size: 0.9rem;
    line-height: 1.25;
}

.messages-thread-summary-copy small,
.messages-job-title {
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.35;
}

.messages-thread-panel {
    min-height: 540px;
}

.messages-thread-list {
    max-height: 58vh;
    overflow: auto;
    padding-right: 4px;
}

.message-bubble {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.message-bubble.is-mine {
    flex-direction: row-reverse;
}

.message-bubble-stack {
    display: grid;
    gap: 4px;
    max-width: min(78%, 680px);
}

.message-bubble-body {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px 8px;
    background: rgba(255, 255, 255, 0.82);
    display: grid;
    gap: 6px;
}

.message-bubble.is-mine .message-bubble-body {
    background: rgba(15, 118, 110, 0.08);
}

.messages-date-divider {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.messages-date-divider span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.message-bubble-foot {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 2px;
    padding-right: 2px;
}

.message-status {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.message-status.is-seen {
    color: var(--success);
}

.message-status.is-delivered {
    color: var(--muted);
}

.message-bubble-body p {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}

.message-time {
    font-size: 0.62rem;
    color: var(--muted);
    white-space: nowrap;
    line-height: 1.2;
}

.messages-compose {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.messages-attachment-input {
    display: none;
}

.messages-attachment-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
}

.messages-attachment-thumb {
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(15, 118, 110, 0.08);
    flex: 0 0 auto;
}

.messages-attachment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.messages-attachment-file {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.messages-attachment-file .message-attachment-copy strong {
    max-width: 240px;
}

.messages-attachment-remove {
    flex: 0 0 auto;
}

.company-composer-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
}

.messages-attach-btn {
    flex: 0 0 auto;
}

.message-attachment-image {
    display: block;
    max-width: min(100%, 320px);
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}

.message-attachment-image img {
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

.message-attachment-card {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: min(100%, 320px);
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    text-decoration: none;
}

.message-attachment-card:hover {
    border-color: rgba(15, 118, 110, 0.28);
    color: var(--primary-dark);
}

.message-attachment-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.message-attachment-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.message-attachment-copy strong {
    font-size: 0.8rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-attachment-copy small {
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.2;
}

.skill-tags.compact {
    gap: 6px;
    margin-top: 8px;
}

.skill-tags.compact span {
    padding: 4px 8px;
    font-size: 0.72rem;
}

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

.dashboard-job-item,
.company-job-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
}

.dashboard-job-item:last-child,
.company-job-item:last-child {
    border-bottom: 0;
}

.dashboard-job-item h3,
.company-job-item h3 {
    font-size: 0.94rem;
    margin: 0;
}

.dashboard-job-item p,
.company-job-item p {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 4px;
}

.dashboard-job-meta,
.company-job-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 12px;
    color: var(--muted);
    font-size: 0.78rem;
    text-align: right;
}

.company-job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

.company-create-shell {
    gap: 16px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.plan-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    position: relative;
    min-height: 100%;
    transition: var(--transition);
}

.plan-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 14px;
    right: 14px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #ffffff;
    box-shadow: inset 0 0 0 3px #ffffff;
}

.plan-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.22);
}

.plan-card.is-selected {
    border-color: rgba(15, 118, 110, 0.35);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), #ffffff 42%);
    box-shadow: 0 10px 24px rgba(16, 29, 38, 0.05);
}

.plan-card.is-selected::after {
    border-color: var(--primary);
    background: var(--primary);
}

.plan-card:has(input:checked) {
    border-color: rgba(15, 118, 110, 0.35);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), #ffffff 42%);
}

.plan-card:has(input:checked)::after {
    border-color: var(--primary);
    background: var(--primary);
}

.plan-card-featured {
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 1));
}

.plan-card-top {
    display: grid;
    gap: 6px;
}

.plan-card-kicker {
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-dark);
}

.plan-card-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
}

.plan-card-list {
    list-style: none;
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 0.78rem;
}

.plan-card-list li {
    position: relative;
    padding-left: 16px;
}

.plan-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
}

.company-composer {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

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

.company-post-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 18px;
}

.company-post-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 29, 38, 0.42);
}

.company-post-modal-panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: calc(100vh - 36px);
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(16, 29, 38, 0.22);
    padding: 18px;
}

.profile-modal-panel {
    width: min(760px, 100%);
}

.profile-modal-narrow {
    width: min(560px, 100%);
}

.profile-modal-form {
    display: grid;
    gap: 12px;
}

.delete-chat-modal-panel {
    width: min(560px, 100%);
}

.delete-chat-modal-body {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.delete-chat-modal-body p {
    margin: 0;
    line-height: 1.5;
}

.delete-chat-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.company-post-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.company-post-modal-head h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon-btn:hover {
    border-color: rgba(15, 118, 110, 0.26);
    color: var(--primary-dark);
}

body.modal-open {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
}

.company-composer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.stacked-feed,
.company-job-list {
    display: grid;
    gap: 14px;
}

.company-post {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    background: var(--surface);
    display: grid;
    gap: 12px;
}

.company-post-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.company-post-company {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.company-post-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    flex-shrink: 0;
}

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

.company-post-copy {
    display: grid;
    gap: 4px;
}

.company-post-copy strong {
    font-size: 0.88rem;
}

.company-post-copy span,
.company-post-time {
    color: var(--muted);
    font-size: 0.76rem;
}

.company-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.company-post-body {
    display: grid;
    gap: 10px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--text);
}

.company-post-body h3 {
    font-size: 0.9rem;
    margin: 0;
}

.company-post-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 6px;
    background: var(--bg);
}

.company-post-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}

.feed-action.is-static {
    cursor: default;
    pointer-events: none;
}

.company-comment-list {
    display: none;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.feed-post.is-comments-open .company-comment-list,
.company-post.is-comments-open .company-comment-list,
.company-comment-list.is-open {
    display: grid;
}

.company-comment-item {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.company-comment-item .profile-avatar.small {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
}

.company-comment-item div {
    min-width: 0;
}

.company-comment-item strong {
    font-size: 0.72rem;
    line-height: 1.2;
}

.company-comment-item p {
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 2px;
    line-height: 1.35;
}

.company-comment-form {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.feed-post .company-comment-form:not(.is-open),
.company-post .company-comment-form:not(.is-open) {
    display: none;
}

.company-comment-form-actions {
    display: flex;
    justify-content: flex-end;
}

.empty-state {
    display: grid;
    gap: 8px;
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.empty-state h3 {
    font-size: 0.95rem;
    margin: 0;
}

.empty-state p {
    color: var(--muted);
    font-size: 0.84rem;
}

.empty-state.compact {
    padding: 18px;
}

.company-edit-shell {
    display: grid;
    gap: 16px;
}

.company-hero-preview {
    display: grid;
    gap: 16px;
}

.company-edit-identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: -38px;
}

.company-edit-logo {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 5px solid var(--surface);
}

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

.company-analytics-grid {
    margin-top: 4px;
}

.preview-card {
    position: sticky;
    top: 96px;
}

.preview-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    position: relative;
    margin-bottom: 12px;
}

.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.preview-muted {
    color: var(--muted);
    font-size: 0.84rem;
}

.preview-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-link-row a {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.preview-rank {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.preview-rank strong {
    font-size: 1.35rem;
    color: var(--primary-dark);
}

.inline-chip-row .inline-chip {
    background: var(--surface);
}

.profile-edit-form .form-group label,
.company-composer .form-group label,
.profile-subform .form-group label,
.company-create-form .form-group label {
    font-size: 0.82rem;
}

.profile-edit-form .form-control,
.company-composer .form-control,
.profile-subform .form-control,
.company-create-form .form-control {
    font-size: 0.9rem;
}

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

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

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

.mini-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.mini-item:last-child {
    border-bottom: 0;
}

.talent-grid,
.company-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.talent-card,
.company-card {
    background: var(--surface);
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.project-card {
    background: var(--surface);
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    height: 100%;
}

.project-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg);
}

.project-card-body {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.project-card h3 {
    margin: 0;
    font-size: 0.9rem;
}

.project-card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.74rem;
}

.project-card-links a {
    color: var(--primary-dark);
    font-weight: 700;
}

.project-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.project-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

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

.profile-project-empty {
    grid-column: 1 / -1;
}

.skill-line {
    color: var(--muted);
    font-size: 0.84rem;
    margin-top: 6px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.skill-tags span,
.skill-tags a {
    background: rgba(15, 118, 110, 0.12);
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
}

.profile-hero {
    background: transparent;
    color: var(--text);
    padding: 12px 0 0;
}

.profile-hero-inner {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-hero h1 {
    font-size: 1.7rem;
    margin-bottom: 4px;
}

.profile-hero .job-meta {
    color: var(--muted);
}

.profile-score {
    background: var(--surface-soft);
    padding: 14px 18px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 120px;
    border: 1px solid var(--line);
}

.profile-score strong {
    display: block;
    font-size: 1.7rem;
    color: var(--primary-dark);
}

.profile-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.job-logo.large {
    width: 82px;
    height: 82px;
    font-size: 1.4rem;
}

.feed-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.feed-heading .section-title {
    margin-bottom: 0;
}

.feed-tabs,
.search-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feed-tab,
.search-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    font-weight: 700;
    font-size: 0.84rem;
    cursor: pointer;
}

.feed-tab.active,
.search-tabs a.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.jobs-tabs {
    margin-top: 16px;
    margin-bottom: 0;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.job-answer-options {
    display: grid;
    gap: 10px;
}

.job-answer-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    cursor: pointer;
}

.job-answer-option input[type="radio"] {
    margin-top: 4px;
}

.job-answer-option span {
    font-weight: 600;
    color: var(--text);
}

.search-tabs-panel {
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.feed-panel {
    display: none;
}

.feed-panel.active {
    display: block;
}

.search-section {
    margin-bottom: 34px;
}

.search-section-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.search-section h2 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    display: block;
    background: var(--surface);
}

.pagination span.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.footer {
    background: #f4f7f5;
    color: var(--text);
    padding: 54px 0 28px;
    margin-top: 60px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.footer h4 {
    margin-bottom: 14px;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 800;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--primary-dark);
    font-size: 1.05rem;
    border: 1px solid var(--line);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
    color: var(--muted);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 0.9rem;
}

.required-star {
    color: var(--danger);
    font-weight: 800;
    margin-left: 4px;
}

.upload-preview {
    display: grid;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
}

.upload-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.upload-preview.is-image .upload-preview-doc {
    display: none;
}

.upload-preview.is-document .upload-preview-stage,
.upload-preview.is-document .upload-preview-controls {
    display: none;
}

.upload-preview-title {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
}

.upload-preview-meta,
.upload-preview-info {
    color: var(--muted);
    font-size: 0.76rem;
    margin-top: 2px;
}

.upload-preview-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--primary-dark);
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.upload-preview-stage {
    position: relative;
    width: 100%;
    aspect-ratio: var(--upload-preview-aspect, 4 / 3);
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #f5f8f6, #edf2ef);
    cursor: grab;
    touch-action: none;
}

.upload-preview-stage.is-dragging {
    cursor: grabbing;
}

.upload-preview-stage::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(15, 118, 110, 0.16);
    pointer-events: none;
}

.upload-preview-image {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    user-select: none;
    pointer-events: none;
}

.upload-preview-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.upload-preview-controls label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    flex: 1 1 180px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.upload-preview-controls input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

.upload-preview-controls .btn {
    flex-shrink: 0;
}

.upload-preview-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.upload-preview-doc {
    display: grid;
    gap: 10px;
}

.upload-preview-doc-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    aspect-ratio: 8 / 11;
}

.upload-preview-doc-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.upload-preview-doc-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
}

.upload-preview-doc-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.upload-preview-doc-icon i {
    font-size: 1rem;
}

.upload-preview-doc-copy {
    min-width: 0;
}

.upload-preview-doc-copy strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
}

.upload-preview-doc-copy p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.76rem;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text);
}

.form-error {
    margin: 0;
    color: var(--danger);
    font-size: 0.78rem;
    font-weight: 700;
}

.form-control::placeholder {
    color: #94a3b8;
}

.alert,
.flash {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.alert-success,
.flash-success {
    background: #ecf7ef;
    color: #165c34;
    border-color: #cde6d4;
}

.alert-error,
.flash-error {
    background: #fbecee;
    color: #8b2230;
    border-color: #f0c8cf;
}

.admin-body {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
}

.admin-sidebar {
    width: 280px;
    background: #0f241d;
    color: #ffffff;
    flex-shrink: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(201, 123, 42, 0.16);
    color: #f5d3a7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.admin-sidebar .brand strong {
    display: block;
    font-size: 1rem;
}

.admin-sidebar .brand span {
    display: block;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.8rem;
    margin-top: 2px;
}

.admin-nav {
    list-style: none;
    padding: 14px 0 20px;
    margin: 0;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 600;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.admin-nav a i {
    width: 18px;
    text-align: center;
    color: #8fd4c7;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-left-color: var(--accent);
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 16px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-topbar-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-weight: 700;
}

.admin-content {
    padding: 22px;
}

.admin-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 22px;
}

.admin-card h2,
.admin-card h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.stat-card {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-card h3 {
    font-size: 1.7rem;
    color: var(--primary-dark);
    font-weight: 800;
}

.stat-card p {
    color: var(--muted);
    font-size: 0.84rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
}

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

.data-table th {
    background: var(--surface-soft);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.data-table tr:hover td {
    background: #fbfcfb;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-actions .inline-form {
    display: inline-flex;
    margin: 0;
}

.admin-footer {
    padding: 16px 22px 22px;
    color: var(--muted);
    font-size: 0.85rem;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(180deg, #eef3f0 0%, #e6ede8 100%);
}

.login-box {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.login-brand strong {
    display: block;
    font-size: 0.95rem;
}

.login-brand span {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 2px;
}

.login-box h1 {
    margin-bottom: 8px;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.login-copy {
    color: var(--muted);
    margin-bottom: 18px;
}

.login-hint {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

.category-selector-wrapper {
    position: relative;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 32px;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.category-tag-new {
    background: var(--accent);
}

.tag-badge {
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
}

.tag-remove {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0;
    opacity: 0.8;
    transition: var(--transition);
}

.tag-remove:hover {
    opacity: 1;
}

.category-input {
    position: relative;
    z-index: 10;
}

.category-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.suggestion-group {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.suggestion-group:last-child {
    border-bottom: none;
}

.suggestion-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: var(--transition);
}

.suggestion-item:hover {
    background: var(--surface-soft);
}

.suggestion-new {
    color: var(--accent);
    font-weight: 600;
}

.suggestion-item strong {
    color: var(--primary);
    font-weight: 800;
}

.company-picker-wrap {
    position: relative;
}

.company-new-hint {
    margin-top: 8px;
    color: var(--primary);
    font-size: 0.9rem;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: #ffffff;
}

.footer .footer-links a {
    color: #000000;
}

.footer .footer-links a:hover {
    color: #000000;
}

.footer-submenu {
    list-style: none;
    padding-left: 12px;
    margin-top: 6px;
}

.footer-submenu li {
    margin-bottom: 4px;
}

.show-more-container {
    text-align: center;
    padding: 30px 0;
}

.show-more-btn {
    min-width: 200px;
}

.show-more-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.ck-editor__editable {
    font-family: inherit;
    line-height: 1.7;
}

.ck-editor__editable ul,
.ck-editor__editable ol {
    padding-left: 2em !important;
    margin: 0.5em 0 !important;
    display: block !important;
}

.ck-editor__editable ul {
    list-style-type: disc !important;
}

.ck-editor__editable ol {
    list-style-type: decimal !important;
}

.ck-editor__editable ul li,
.ck-editor__editable ol li {
    display: list-item !important;
    list-style: inherit !important;
    margin: 0 !important;
}

.ck-editor__editable ul li::before,
.ck-editor__editable ol li::before,
.ck-editor__editable ul li::after,
.ck-editor__editable ol li::after {
    content: none !important;
    display: none !important;
}

.ck-editor__editable ul {
    list-style-type: disc !important;
    padding-left: 2em !important;
}

.ck-editor__editable ul li {
    display: list-item !important;
    list-style-type: disc !important;
}

.ck-editor__editable ul li::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 1120px) {
    .hero-shell,
    .content-layout,
    .dashboard-grid,
    .profile-edit-layout,
    .profile-edit-shell,
    .profile-copy-grid,
    .company-dashboard-grid,
    .company-application-item,
    .pricing-grid,
    .feed-layout,
    .jobs-browser-layout,
    .story-grid {
        grid-template-columns: 1fr;
    }

    .profile-edit-preview {
        position: static;
        top: auto;
    }

    .sidebar,
    .profile-panel,
    .feed-rail,
    .jobs-browser-list,
    .jobs-browser-detail {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .jobs-browser-list,
    .jobs-browser-detail {
        min-height: auto;
        max-height: none;
        overflow: visible;
    }

    .jobs-browser-detail {
        display: none;
    }

    .jobs-browser-layout {
        gap: 14px;
    }

    .jobs-list-scroll {
        max-height: none;
    }

    .feed-stream-toolbar {
        flex-direction: column;
    }

    .feed-toolbar-tags {
        justify-content: flex-start;
    }

    .feed-post {
        padding: 16px;
    }

    .feed-suggestion-item {
        align-items: flex-start;
    }

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

    .job-list-item {
        padding: 14px;
        gap: 12px;
    }

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

    .job-list-head h3 {
        font-size: 0.9rem;
    }

    .job-list-company {
        font-size: 0.8rem;
    }

    .job-list-meta {
        gap: 6px 8px;
    }

    .job-list-tags {
        gap: 6px;
    }

    .job-list-tags .badge {
        padding: 3px 8px;
        font-size: 0.68rem;
    }

    .stacked-item,
    .company-job-item,
    .dashboard-job-item,
    .company-dashboard-head {
        grid-template-columns: 1fr;
        display: grid;
    }

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

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

@media (max-width: 1024px) {
    .app-main {
        margin-top: 10px;
    }

    .navbar-inner {
        flex-wrap: nowrap;
        align-items: center;
    }

    .hamburger {
        display: inline-flex;
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }

    .navbar-inner > .nav-search {
        display: none;
    }

    .nav-search-mobile {
        display: flex;
        width: 100%;
        max-width: none;
    }

    .nav-mobile-head {
        display: flex;
    }

    .navbar-auth .logo {
        order: 1;
    }

    .navbar-auth .navbar-nav-wrap,
    .navbar:not(.navbar-auth) .navbar-nav-wrap {
        inset: 0;
        min-height: 100dvh;
    }

    .navbar-nav-wrap .nav-search {
        width: 100%;
        max-width: none;
    }

    .nav-search-mobile {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        padding: 10px;
        border-radius: 18px;
        background: var(--surface);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .nav-search-mobile input {
        min-width: 0;
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        background: var(--bg);
        border: 1px solid var(--line);
    }

    .nav-search-mobile .btn {
        margin-right: 0;
        padding-inline: 14px;
        width: 100%;
        justify-content: center;
    }

    .navbar-nav-wrap {
        position: fixed;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        padding: 16px 18px 24px;
        gap: 14px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        box-sizing: border-box;
        margin-left: 0;
        z-index: 1200;
    }

    .navbar-nav-wrap.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .nav-menu a,
    .nav-menu-button {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px;
        border-radius: var(--radius);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--line);
        background: var(--surface-soft);
        border-radius: 16px;
        padding: 8px;
        margin-top: 8px;
        display: none;
    }

    .nav-menu li:hover .nav-dropdown,
    .nav-dropdown.open {
        display: block;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .feed-rail {
        display: none;
    }

    .feed-layout {
        gap: 14px;
    }

    .feed-tabs {
        margin-bottom: 14px;
    }

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

    .feed-inline-suggestion {
        padding: 12px;
    }

    .feed-inline-suggestion-grid .feed-suggestion-item {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 12px;
        gap: 12px;
    }

    .feed-inline-suggestion-grid .feed-people-copy {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feed-inline-suggestion-grid .feed-suggestion-item strong {
        font-size: 0.84rem;
        text-align: center;
    }

    .feed-inline-suggestion-grid .feed-company-logo {
        width: 44px;
        height: 44px;
    }

    .feed-inline-suggestion-grid .btn {
        width: 100%;
        justify-content: center;
    }

    .sponsored-ad-card,
    .sponsored-ad-card-feed {
        grid-template-columns: 1fr;
    }

    .feed-post-top,
    .feed-post-actions,
    .notification-item {
        flex-direction: column;
        align-items: stretch;
    }

    .feed-stream-toolbar {
        flex-direction: column;
    }

    .feed-toolbar-tags {
        justify-content: flex-start;
    }

    .feed-post-top-actions {
        justify-content: flex-start;
    }

    .feed-action,
    .feed-follow-btn {
        width: 100%;
        justify-content: center;
    }

    .feed-post-top-actions .feed-follow-btn {
        width: auto;
        align-self: flex-start;
    }

    .feed-post-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .feed-action {
        padding: 9px 8px;
        border-radius: 16px;
    }

    .feed-action span,
    .feed-action strong {
        display: none;
    }

    .feed-action i {
        font-size: 0.95rem;
    }

    .search-page-header {
        padding: 20px 0 8px;
    }

    .search-page-hero {
        padding: 18px;
    }

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

    .search-tabs-panel {
        padding: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .search-tabs {
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
    }

    .search-tabs a {
        flex: 0 0 auto;
    }

    .search-section-card {
        padding: 16px;
    }

    .jobs-browser-modal {
        padding: 0;
    }

    .jobs-browser-modal .company-post-modal-panel {
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        box-shadow: none;
        border: 0;
    }

    .jobs-browser-modal-head {
        padding: 14px 16px;
    }

    .jobs-browser-modal-body .job-browser-detail-card {
        padding: 18px 16px 22px;
    }

    .job-browser-detail-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-bottom: 14px;
    }

    .job-browser-brand {
        width: 100%;
        gap: 12px;
    }

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

    .job-browser-detail-header h2 {
        font-size: 1.18rem;
        margin-bottom: 6px;
    }

    .job-browser-detail-card .job-meta {
        gap: 6px;
        margin-top: 8px;
    }

    .job-browser-detail-card .job-meta span {
        padding: 4px 8px;
        border-radius: 999px;
        background: var(--bg);
        border: 1px solid var(--line);
        font-size: 0.69rem;
    }

    .job-browser-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .job-browser-actions .btn,
    .btn-apply-lg {
        width: 100%;
        justify-content: center;
    }

    .job-browser-snapshots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .browser-snapshot {
        padding: 12px;
    }

    .browser-snapshot span {
        font-size: 0.66rem;
        margin-bottom: 4px;
    }

    .browser-snapshot strong {
        font-size: 0.84rem;
        line-height: 1.3;
    }

    .job-browser-section {
        margin-top: 16px;
        padding-top: 16px;
    }

    .job-browser-section h3 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .jobs-browser-preview-loading {
        min-height: 52vh;
    }

    .jobs-browser-preview-loading h3 {
        font-size: 0.95rem;
    }

    .company-application-detail-head {
        padding: 14px;
    }

    .company-application-identity {
        flex: 1 1 100%;
    }

    .company-application-detail-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .company-application-summary-grid {
        grid-template-columns: 1fr;
    }

    .company-application-detail-side .profile-section {
        position: static;
    }

    .data-table-wrap {
        overflow: visible;
    }

    .company-applications-table {
        min-width: 0;
    }

    .company-applications-table thead {
        display: none;
    }

    .company-applications-table,
    .company-applications-table tbody,
    .company-applications-table tr,
    .company-applications-table td {
        display: block;
        width: 100%;
    }

    .company-applications-table tr {
        margin-bottom: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        overflow: hidden;
        background: var(--surface);
        box-shadow: var(--shadow);
    }

    .company-applications-table td {
        position: relative;
        padding: 12px 14px;
        border: 0;
        border-bottom: 1px solid rgba(15, 118, 110, 0.1);
        text-align: left;
    }

    .company-applications-table td:last-child {
        border-bottom: 0;
    }

    .company-applications-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        color: var(--muted);
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .profile-edit-shell {
        grid-template-columns: 1fr;
    }

    .profile-edit-preview,
    .preview-card {
        position: static;
        top: auto;
    }

    .messages-layout,
    .company-application-detail-grid {
        grid-template-columns: 1fr;
    }

    .messages-thread {
        order: 1;
    }

    .messages-sidebar {
        order: 2;
    }

    .message-bubble-body {
        max-width: 100%;
    }

    .profile-cover-body,
    .company-cover-body {
        padding: 0 18px 18px;
    }

    .profile-avatar-xl,
    .company-logo-badge {
        width: 88px;
        height: 88px;
        margin-top: -44px;
    }

    .profile-head-copy h1,
    .company-head-copy h1 {
        font-size: 1.35rem;
    }

    .stacked-item,
    .company-job-item,
    .dashboard-job-item,
    .company-dashboard-head,
    .resume-row,
    .tag-field-input-row,
    .company-post-top,
    .company-comment-item,
    .profile-ident,
    .company-ident {
        display: grid;
        grid-template-columns: 1fr;
    }

    .company-post-meta {
        justify-content: flex-start;
    }

    .form-actions,
    .company-dashboard-actions {
        justify-content: stretch;
    }

    .form-actions .btn,
    .company-dashboard-actions .btn {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .search-box {
        flex-direction: column;
    }

    .search-box .btn {
        width: 100%;
    }

    .job-card {
        flex-direction: column;
    }

    .job-logo {
        width: 52px;
        height: 52px;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1001;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-topbar {
        padding: 14px 16px;
    }

    .admin-topbar-right {
        gap: 8px;
    }

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

    .job-actions .btn,
    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .app-main {
        margin-top: 12px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 44px 0;
    }

    .profile-section {
        padding: 18px;
    }

    .hero-copy,
    .hero-panel,
    .widget,
    .form-card,
    .admin-card,
    .login-box,
    .job-detail,
    .blog-detail,
    .static-page {
        padding: 18px;
    }

    .page-header {
        padding: 20px 0 8px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

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

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

    .blog-grid,
    .talent-grid,
    .company-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .profile-project-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats-grid {
        grid-template-columns: 1fr;
    }

    .company-dashboard-card,
    .company-post,
    .plan-card {
        padding: 16px;
    }

    .company-dashboard-cover,
    .profile-cover-banner,
    .company-cover-banner {
        min-height: 112px;
    }

    .company-dashboard-head {
        gap: 10px;
    }

    .metric-item {
        padding: 12px;
    }

    .stacked-item {
        gap: 12px;
    }

    .stacked-item-media img {
        aspect-ratio: 16 / 9;
    }

    .company-post-actions,
    .company-comment-form-actions {
        justify-content: stretch;
    }

    .company-post-actions .feed-action,
    .company-post-actions .btn,
    .company-comment-form-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .form-grid.two,
    .form-grid.three {
        grid-template-columns: 1fr;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-nav a {
        padding: 12px 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .navbar-inner {
        min-height: 64px;
        gap: 10px;
    }

    .logo {
        font-size: 0.98rem;
    }

    .logo img {
        height: 32px;
    }

    .nav-search,
    .nav-search-simple {
        gap: 6px;
        border-radius: 14px;
    }

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

    .nav-search-mobile .btn {
        width: 100%;
        justify-content: center;
    }

    .nav-search select,
    .nav-search input {
        padding: 9px 10px;
        font-size: 0.84rem;
    }

    .section {
        padding: 38px 0;
    }

    .section-title {
        font-size: 0.95rem;
        padding-left: 0;
    }

    .section-note,
    .form-note,
    .muted-text {
        font-size: 0.78rem;
    }

    .profile-section,
    .hero-copy,
    .hero-panel,
    .widget,
    .form-card,
    .admin-card,
    .login-box,
    .job-detail,
    .blog-detail,
    .static-page {
        padding: 14px;
    }

    .feed-post,
    .company-post,
    .plan-card,
    .company-dashboard-card {
        padding: 14px;
    }

    .profile-avatar-xl,
    .company-logo-badge {
        width: 72px;
        height: 72px;
        margin-top: -36px;
    }

    .profile-head-copy h1,
    .company-head-copy h1,
    .page-header h1 {
        font-size: 1.2rem;
    }

    .jobs-browser-modal-head {
        padding: 12px 14px;
    }

    .jobs-browser-modal-body .job-browser-detail-card {
        padding: 16px 14px 20px;
    }

    .job-list-item {
        padding: 12px;
        gap: 10px;
    }

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

    .job-list-head h3 {
        font-size: 0.86rem;
    }

    .job-list-company {
        font-size: 0.75rem;
    }

    .job-list-meta {
        gap: 6px 7px;
        font-size: 0.66rem;
    }

    .job-list-meta span {
        padding: 4px 7px;
        border-radius: 999px;
        background: var(--surface-soft);
        border: 1px solid var(--line);
    }

    .job-list-tags {
        gap: 6px;
        margin-top: 8px;
    }

    .job-list-tags .badge {
        padding: 3px 7px;
        font-size: 0.64rem;
    }

    .job-browser-detail-header {
        gap: 10px;
    }

    .job-browser-brand {
        gap: 10px;
    }

    .job-browser-logo {
        width: 48px;
        height: 48px;
    }

    .job-browser-detail-header h2 {
        font-size: 1.05rem;
    }

    .job-browser-detail-card .job-meta span {
        padding: 3px 7px;
        font-size: 0.64rem;
    }

    .job-browser-snapshots {
        gap: 8px;
    }

    .browser-snapshot {
        padding: 10px;
    }

    .browser-snapshot span {
        font-size: 0.62rem;
    }

    .browser-snapshot strong {
        font-size: 0.8rem;
    }

    .job-browser-section {
        margin-top: 14px;
        padding-top: 14px;
    }

    .job-browser-section h3 {
        font-size: 0.9rem;
    }

    .job-apply-sticky-inner,
    .company-application-status-panel,
    .company-composer-actions,
    .messages-compose,
    .delete-chat-modal-actions {
        gap: 8px;
    }

    .messages-thread-summary {
        gap: 10px;
    }

    .messages-thread-list,
    .company-comment-list {
        gap: 6px;
    }

    .message-bubble {
        gap: 8px;
    }

    .message-bubble-body {
        padding: 9px 10px 8px;
    }

    .message-bubble-body p {
        font-size: 0.88rem;
    }

    .message-attachment-image,
    .message-attachment-card,
    .messages-attachment-preview {
        max-width: 100%;
    }

    .messages-attachment-preview {
        flex-direction: column;
        align-items: stretch;
    }

    .messages-attachment-thumb {
        width: 100%;
        height: 150px;
    }

    .messages-attachment-remove {
        align-self: flex-end;
    }

    .company-comment-item .profile-avatar.small {
        width: 24px;
        height: 24px;
    }

    .company-comment-item strong,
    .company-comment-item p {
        font-size: 0.66rem;
    }

    .show-more-btn,
    .form-actions .btn,
    .nav-actions .btn,
    .company-dashboard-actions .btn,
    .company-post-actions .feed-action,
    .company-comment-form-actions .btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .data-table-wrap {
        margin-inline: -12px;
        padding-inline: 12px;
    }

    .company-applications-table {
        min-width: 960px;
    }
}
