:root {
    --bg: #f7faf9;
    --surface: #ffffff;
    --surface-soft: #edf7f5;
    --text: #17211f;
    --muted: #64706d;
    --line: #d9e4e1;
    --brand: #0f766e;
    --brand-dark: #115e59;
    --brand-soft: #dff4f1;
    --accent: #e85d3f;
    --accent-dark: #c9472d;
    --ink: #16211f;
    --shadow: 0 12px 32px rgba(17, 94, 89, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

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

img, svg {
    max-width: 100%;
}

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

.topbar {
    background: var(--ink);
    color: #e8f4f1;
    font-size: 13px;
}

.topbar__inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar a {
    color: #9be2d7;
    white-space: nowrap;
}

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

.nav-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand__mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), #1da99b);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.25);
}

.brand strong {
    display: block;
    font-weight: 800;
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a,
.menu-button {
    border-radius: 8px;
    padding: 10px 12px;
    color: #31413e;
    font-weight: 650;
    font-size: 14px;
}

.main-nav a:hover,
.menu-button:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.nav-logout-form {
    margin: 0;
}

.nav-logout-form button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--accent-dark);
    padding: 10px 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
}

.nav-logout-form button:hover {
    background: #fff1ed;
    border-color: rgba(232, 93, 63, 0.25);
}

.menu-button {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
}

.flash {
    margin-top: 16px;
    border-radius: 8px;
    padding: 14px 16px;
    font-weight: 650;
}

.flash--success {
    background: #dcfce7;
    color: #166534;
}

.flash--error {
    background: #fee2e2;
    color: #991b1b;
}

.policy-note {
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 8px;
    background: #f0fdfa;
    color: #0f3f3a;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}

.hero {
    background:
        linear-gradient(120deg, rgba(15, 118, 110, 0.12), rgba(232, 93, 63, 0.1)),
        #fff;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    min-height: 480px;
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 56px;
    padding: 46px 0 54px;
}

.hero--compact .hero-grid {
    min-height: auto;
    padding: 42px 0 44px;
    gap: 40px;
}

.hero--compact h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.hero-panel-simple {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 12px;
}

.hero-panel-simple strong {
    color: var(--ink);
    font-size: 1rem;
}

.hero-panel-simple span {
    color: var(--muted);
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--brand-soft);
}

/* Hero stats compact grid */
.hero-stats-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.stat-pill {
    background: rgba(255,255,255,.85);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
}
.stat-pill strong {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: var(--brand);
    font-family: var(--font-display);
    line-height: 1;
}
.stat-pill span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--muted);
    font-weight: 600;
}

/* Badge count in buttons */
.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

/* Dual CTA */
.cta-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.cta-card {
    padding: 32px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
}
.cta-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 8px 0;
}
.cta-card p {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    margin-bottom: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.eyebrow--light {
    color: #c8fff7;
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.08);
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.08;
}

.hero h1 {
    margin-top: 0;
    font-size: clamp(36px, 4.5vw, 56px);
    max-width: 760px;
}

.page-hero h1 {
    margin-top: 18px;
    font-size: clamp(34px, 5.4vw, 60px);
    max-width: 780px;
    line-height: 1.12;
}

/* Detail-page hero — keep the title compact even when the source string is long,
   so the headline never dominates the screen like a wall of text. */
.detail-hero h1 {
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.25;
    max-width: none;
    margin-top: 12px;
    word-break: break-word;
}

/* Wider page container — used on job detail / dashboard pages so the
   content uses the screen instead of crowding into a narrow column. */
.container--wide {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

.lead,
.page-hero p {
    color: var(--muted);
    font-size: 18px;
    max-width: 690px;
}

.hero-search {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 680px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
    padding: 12px 13px;
    outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.hero-search input {
    border: 0;
    box-shadow: none;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

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

.button:disabled,
.button[disabled] {
    opacity: .58;
    cursor: not-allowed;
    transform: none;
}

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

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

.button--accent {
    background: var(--accent);
    color: #fff;
}

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

.button--ghost {
    background: #fff;
    color: var(--brand-dark);
    border-color: var(--line);
}

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

.button--full {
    width: 100%;
}

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

.card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(23, 33, 31, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
    padding: 0 14px;
    border: 1px solid transparent;
    font-weight: 800;
}

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

.btn-outline {
    background: #fff;
    color: var(--brand-dark);
    border-color: var(--line);
}

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

.btn-lg {
    min-height: 48px;
    padding: 0 20px;
}

.btn-sm {
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

.input {
    width: 100%;
}

.label {
    display: block;
    margin-bottom: 7px;
    color: #40504d;
    font-size: 13px;
    font-weight: 800;
}

.auth-section {
    min-height: 68vh;
    display: grid;
    align-items: center;
}

.auth-wrap {
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(100%, 460px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    padding: 32px;
}

.auth-card h1 {
    margin-top: 14px;
    color: #0f1715;
    font-size: 32px;
}

.auth-card p {
    color: #40504d;
}

.auth-form {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: #17211f;
    font-weight: 750;
}

.auth-form label span {
    font-size: 13px;
    color: #31413e;
}

.auth-switch {
    margin: 18px 0 0;
    text-align: center;
    font-size: 14px;
}

.auth-switch a {
    color: var(--brand-dark);
    font-weight: 850;
}

.portal-auth-stack,
.portal-auth-form {
    display: grid;
    gap: 12px;
}

.portal-auth-stack {
    margin-top: 18px;
}

.portal-auth-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(23, 33, 31, 0.04);
}

.portal-auth-card--active {
    border-color: rgba(15, 118, 110, 0.28);
    background: var(--brand-soft);
}

.portal-auth-card h3 {
    color: #0f1715;
    font-size: 17px;
}

.portal-auth-card strong {
    display: block;
    color: #0f1715;
    margin-top: 4px;
}

.portal-auth-card span,
.portal-auth-card small,
.portal-auth-card p {
    color: #40504d;
}

.portal-auth-card .button + .button,
.portal-auth-card form + .button,
.portal-auth-card a + form,
.portal-auth-card small + .button {
    margin-top: 10px;
}

.portal-preview {
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.preview-header {
    display: flex;
    gap: 8px;
    background: var(--ink);
    padding: 14px;
}

.preview-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9be2d7;
}

.preview-body {
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.preview-stat,
.preview-row {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: var(--surface-soft);
}

.preview-stat strong {
    display: block;
    font-size: 30px;
}

.preview-stat small,
.preview-row span {
    color: var(--muted);
}

.preview-line {
    height: 14px;
    border-radius: 999px;
    background: #d7e7e4;
}

.preview-line--wide {
    grid-column: 1 / -1;
}

.preview-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-row strong {
    color: var(--brand-dark);
}

.ticker {
    background: var(--ink);
    color: #fff;
}

.ticker__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 48px;
    overflow: hidden;
}

.ticker__inner div {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    white-space: nowrap;
}

.ticker a {
    color: #c8fff7;
    font-size: 14px;
}

.section {
    padding: 68px 0;
}

.section--soft {
    background: #eef7f5;
    border-block: 1px solid var(--line);
}

.section--dark {
    background: var(--ink);
    color: #fff;
}

.section--copy {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.home-pathways {
    background: linear-gradient(180deg, var(--ink) 0 46%, #fff7f4 46% 100%);
    border-bottom: 1px solid rgba(232, 93, 63, 0.18);
    padding: 46px 0 58px;
}

.home-pathways__grid {
    display: grid;
    gap: 26px;
}

.home-pathways__candidate,
.home-pathways__employer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    border-radius: 8px;
}

.home-pathways__candidate {
    color: #fff;
    min-height: 150px;
}

.home-pathways__candidate p {
    max-width: 760px;
    color: #d7e7e4;
}

.home-pathways__candidate h2,
.home-pathways__employer h2 {
    margin-top: 10px;
    font-size: clamp(24px, 3vw, 32px);
}

.home-pathways__employer {
    border: 2px solid var(--accent);
    background: #fff;
    padding: 34px 38px;
    box-shadow: 0 18px 52px rgba(232, 93, 63, 0.1);
}

.home-pathways__employer p {
    max-width: 720px;
    color: var(--muted);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-heading h2,
.split-heading h2,
.category-grid h2 {
    margin-top: 12px;
    font-size: clamp(28px, 4vw, 42px);
}

.split-heading,
.category-grid,
.cta-band {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

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

.public-copy-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr 1.1fr;
    gap: 16px;
}

.public-copy-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    padding: 24px;
}

.public-copy-grid h2 {
    margin-top: 14px;
    font-size: 24px;
}

.public-copy-grid p {
    color: var(--muted);
    font-size: 16px;
}

.path-card,
.compact-card,
.job-card,
.form-card,
.side-card,
.filter-panel,
.detail-block,
.success-card,
.notice-card,
.form-help {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(23, 33, 31, 0.05);
}

.path-card {
    padding: 22px;
}

.path-card span {
    color: var(--accent);
    font-weight: 800;
}

.path-card h3,
.compact-card h3 {
    margin-top: 14px;
    font-size: 20px;
}

.path-card p,
.compact-card p,
.cta-band p,
.form-help p,
.content-page p {
    color: var(--muted);
}

.govt-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.govt-category-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(23, 33, 31, 0.05);
    transition: transform .2s, box-shadow .2s;
}

.govt-category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(23,33,31,.08);
}

.govt-category-card > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-weight: 900;
}

.govt-category-card h3 {
    margin-top: 14px;
    font-size: 19px;
}

.govt-category-card p {
    margin: 8px 0 6px;
    color: var(--muted);
}

.govt-category-card small {
    color: var(--accent-dark);
    font-weight: 800;
}

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

.deadline-list a {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(23, 33, 31, 0.05);
}

.deadline-list span {
    color: var(--muted);
}

.deadline-list em {
    color: var(--accent-dark);
    font-style: normal;
    font-weight: 900;
}

.government-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

.closing-panel,
.public-note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
}

.closing-panel {
    position: sticky;
    top: 98px;
}

.closing-panel h3 {
    margin: 10px 0 18px;
}

.button--full {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
}

.public-note-section {
    padding-top: 0;
}

.public-note {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 18px;
    align-items: center;
    background: #12221e;
    color: #fff;
}

.public-note p {
    color: rgba(255,255,255,.78);
    margin: 0;
}

.public-note > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tag-row--subtle {
    margin-top: 10px;
}

.text-link {
    color: var(--brand-dark);
    font-weight: 800;
}

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

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.job-card__main {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    min-width: 0;
}

.job-card__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-weight: 800;
}

.job-card__meta,
.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-card__meta span,
.tag-row span {
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--brand-dark);
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.job-card__meta span:nth-child(2n) {
    background: #fff7ed;
    color: var(--accent-dark);
}

.job-card h3 {
    margin-top: 8px;
    font-size: 19px;
}

.job-card p {
    margin: 4px 0 0;
    color: var(--muted);
}

.job-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.job-card__facts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.job-card__facts span:not(:first-child)::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line);
    flex: none;
}

.compact-card {
    padding: 20px;
}

.compact-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
}

.compact-card__top strong {
    color: var(--accent-dark);
}

.compact-card dl,
.mini-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.compact-card dl div,
.mini-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
}

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

dd {
    margin: 0;
    font-weight: 700;
}

.mini-list a {
    color: var(--brand-dark);
    font-weight: 800;
}

.cta-band {
    margin-bottom: 0;
}

.cta-band p {
    max-width: 680px;
    color: #c8d6d3;
}

.section--alert {
    background: #fff;
}

.alert-panel {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 28px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(232, 93, 63, 0.05)), #fff;
    padding: 28px;
    box-shadow: var(--shadow);
}

.alert-panel h2 {
    margin: 14px 0 10px;
    font-size: clamp(26px, 3vw, 38px);
}

.alert-panel p {
    color: var(--muted);
}

.alert-form {
    display: grid;
    gap: 14px;
}

.inline-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    color: var(--muted);
}

.inline-check input {
    width: auto;
    margin-top: 4px;
}

.chip-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 740px;
}

.chip-cloud a {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 10px 14px;
    font-weight: 700;
}

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

.breadcrumbs {
    display: flex;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.fact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.fact-strip span {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 10px 12px;
    color: var(--muted);
}

.fact-strip strong {
    color: var(--text);
    margin-right: 4px;
}

/* Detail-hero fact strip — turn the strip into a tidy card grid so the
   key facts (advt no, vacancies, location, salary, last date) read at a
   glance instead of wrapping awkwardly. */
.detail-hero .fact-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 24px;
}
.detail-hero .fact-strip span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(17, 94, 89, 0.04);
}
.detail-hero .fact-strip strong {
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}
.detail-hero .hero-org {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--brand-dark);
}
.detail-hero .hero-dept {
    color: var(--muted);
    font-size: 14px;
    margin-top: 2px;
}
.detail-hero .hero-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.detail-hero .tag-row {
    flex-wrap: wrap;
}

.listing-layout,
.detail-layout,
.form-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 26px;
    align-items: start;
}

.detail-layout,
.form-layout {
    grid-template-columns: 1fr 340px;
}

.filter-panel,
.form-card,
.form-help {
    padding: 22px;
}

.filter-form,
.form-card {
    display: grid;
    gap: 18px;
}

.filter-form label,
.form-card label {
    display: grid;
    gap: 7px;
    font-weight: 750;
}

.filter-form label span,
.form-card label span,
legend {
    font-size: 13px;
    color: #40504d;
}

.side-note {
    margin-top: 18px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    padding: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(15, 118, 110, 0.08);
    overflow: hidden;
}

.side-note p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.side-note a {
    font-weight: 800;
    color: var(--brand-dark);
}

.side-note h3 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.side-note--alerts {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 12px;
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
    border-color: #bde7df;
}

.side-note__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    line-height: 1;
}

.side-note__cta {
    display: inline-flex;
    margin-top: 8px;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff !important;
    text-decoration: none;
}

.side-note__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.side-note__head p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.side-note__head > span {
    flex: 0 0 auto;
    min-width: 32px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e6f7f3;
    color: var(--brand-dark);
    font-size: 12px;
    font-weight: 900;
}

.side-note--light {
    background: #fbfefd;
}

.side-deadline-list {
    display: grid;
    gap: 10px;
}

.side-deadline-list a {
    display: grid;
    gap: 5px;
    padding: 12px 12px 12px 14px;
    border: 1px solid #d9ece8;
    border-left: 4px solid var(--brand);
    border-radius: 9px;
    background: #ffffff;
    color: var(--text);
    text-decoration: none;
    transition: transform .12s, border-color .12s, box-shadow .12s;
}

.side-deadline-list a:hover {
    transform: translateY(-1px);
    border-color: var(--brand);
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.12);
}

.side-deadline-list strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.35;
    color: var(--text);
}

.side-deadline-list span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--muted);
    font-size: 12px;
}

.side-deadline-list em {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
}

.pagination-wrap {
    margin-top: 12px;
}

.empty-state {
    border: 1px dashed var(--line);
    border-radius: 8px;
    padding: 34px;
    background: #fff;
    color: var(--muted);
    text-align: center;
}

.detail-main {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.detail-block {
    padding: 24px;
    min-width: 0;
    max-width: 100%;
}

.detail-block h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

/* --- Inline Razorpay coin-buy widget (candidate + employer dashboards) --- */
.buy-coins-widget {
    margin: 14px 0;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
    border: 1px solid #b6e6dc;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15,118,110,0.08);
}
.buy-coins-widget__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.buy-coins-widget__balance {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--brand-dark);
    line-height: 1;
    margin: 4px 0;
}
.buy-coins-widget__hint {
    display: block;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
    max-width: 360px;
}
.buy-coins-widget__rules {
    display: grid;
    gap: 4px;
    min-width: 200px;
    font-size: 12.5px;
    color: var(--text);
}
.buy-coins-widget__rules span strong { color: var(--accent-dark); margin-right: 4px; }
.buy-coins-widget__form {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 12px;
    align-items: end;
}
.buy-coins-widget__form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.buy-coins-widget__input { padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; }
.buy-coins-widget__ack { flex-direction: row; align-items: center; gap: 8px; font-weight: 500 !important; }
.buy-coins-widget__ack input { width: auto; }
.buy-coins-widget__alert {
    margin-top: 14px;
    padding: 12px 14px;
    background: #fef3c7;
    border-radius: 10px;
    color: #92400e;
    font-size: 13px;
}
.buy-coins-widget__alert a { color: inherit; text-decoration: underline; font-weight: 700; }
.buy-coins-widget__status {
    grid-column: 1 / -1;
    font-size: 12.5px;
    color: var(--brand-dark);
    font-weight: 600;
    min-height: 1em;
}
@media (max-width: 720px) {
    .buy-coins-widget__form { grid-template-columns: 1fr; }
    .buy-coins-widget__ack { grid-column: 1; }
}

/* --- Employer dashboard polish — better metrics + flow steps + tabs --- */
.employer-dashboard-shell .dashboard-metrics {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 12px;
}
.employer-dashboard-shell .dashboard-metrics div {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 16px 18px;
    transition: transform .15s, background .15s;
}
.employer-dashboard-shell .dashboard-metrics div:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
}
.employer-dashboard-shell .dashboard-metrics strong {
    font-size: 28px;
    line-height: 1.1;
    color: #ffffff;
}
.employer-dashboard-shell .dashboard-metrics span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #c8e6df;
    font-weight: 600;
}

.employer-dashboard-shell .employer-flow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 14px;
    margin: 20px 0;
}
.employer-dashboard-shell .employer-flow-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    padding: 16px 18px 18px;
    color: #fff;
    position: relative;
    border-left: 4px solid var(--brand-soft);
}
.employer-dashboard-shell .employer-flow-card span {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
}
.employer-dashboard-shell .employer-flow-card strong {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    color: #ffffff;
}
.employer-dashboard-shell .employer-flow-card small {
    display: block;
    font-size: 12.5px;
    color: #c8e6df;
    margin-top: 4px;
    line-height: 1.4;
}
.employer-dashboard-shell .employer-flow-card.is-done {
    background: linear-gradient(180deg, rgba(16,185,129,0.20) 0%, rgba(255,255,255,0.08) 100%);
    border-left-color: #10b981;
}
.employer-dashboard-shell .employer-flow-card.is-done span {
    background: #10b981;
}
.employer-dashboard-shell .employer-flow-card.is-pending {
    border-left-color: rgba(255,255,255,0.20);
}
.employer-dashboard-shell .employer-flow-card.is-review {
    background: linear-gradient(180deg, rgba(245,158,11,0.20) 0%, rgba(255,255,255,0.08) 100%);
    border-left-color: #f59e0b;
}
.employer-dashboard-shell .employer-flow-card.is-review span {
    background: #f59e0b;
}

.employer-dashboard-shell .dashboard-tabs a {
    transition: background .12s, color .12s, transform .12s;
}
.employer-dashboard-shell .dashboard-tabs a:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}
.employer-dashboard-shell .dashboard-tabs a.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232,93,63,0.30);
}

.employer-dashboard-shell .coin-wallet-card--employer {
    margin-top: 14px;
    padding: 18px 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand-dark) 100%);
    color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(232,93,63,0.20);
}
.employer-dashboard-shell .coin-wallet-card--employer strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    margin: 4px 0 6px;
}
.employer-dashboard-shell .coin-wallet-card--employer small { color: #ffe2d4; line-height: 1.5; }
.employer-dashboard-shell .coin-wallet-card--employer .coin-wallet-actions {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.employer-dashboard-shell .coin-wallet-card--employer .coin-wallet-actions a {
    background: #fff;
    color: var(--accent-dark);
    padding: 9px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: background .12s, color .12s, transform .12s;
}
.employer-dashboard-shell .coin-wallet-card--employer .coin-wallet-actions a:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.employer-dashboard-shell .app-row {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
}
.employer-dashboard-shell .app-row:last-child { border-bottom: 0; }
.employer-dashboard-shell .app-row__info { min-width: 0; flex: 1; }
.employer-dashboard-shell .app-row__info strong { display: block; color: #fff; font-size: 14px; }
.employer-dashboard-shell .app-row__info small { display: block; color: #c8e6df; font-size: 12.5px; margin-top: 3px; }
.employer-dashboard-shell .app-row__meta { text-align: right; flex: none; }
.employer-dashboard-shell .app-row__meta small { display: block; color: #c8e6df; font-size: 11.5px; margin-top: 4px; }

@media (max-width: 720px) {
    .employer-dashboard-shell .coin-wallet-card--employer { flex-direction: column; align-items: stretch; text-align: center; }
    .employer-dashboard-shell .coin-wallet-card--employer .coin-wallet-actions { justify-content: center; }
    .employer-dashboard-shell .employer-flow-grid { grid-template-columns: 1fr 1fr; }
    .employer-dashboard-shell .dashboard-metrics { grid-template-columns: 1fr 1fr; }
}

/* --- Upgraded job-card layout (SOP §18 listing UX) --- */
.job-card__body { min-width: 0; flex: 1; }
.job-card__org {
    font-size: 14px;
    color: var(--brand-dark);
    font-weight: 700;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.job-card__org strong {
    color: var(--text);
    font-weight: 800;
}
.job-card__org-label {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}
.job-card--private {
    border-left: 3px solid #0f766e;
}
.job-card--private .job-card__icon {
    background: #eef2ff;
    color: #3730a3;
}
.job-card--private h3 {
    margin-top: 7px;
}
.job-card__advt {
    display: inline-block;
    margin-left: 8px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.job-card__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 130px;
    align-items: stretch;
}
.job-card__cta .button { text-align: center; }
.pill {
    display: inline-flex; align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}
.pill-brand   { background: var(--brand-soft); color: var(--brand-dark); }
.pill-success { background: #dcfce7; color: #166534; }
.pill-danger  { background: #fee2e2; color: #991b1b; }
.pill-accent  { background: #ffedd5; color: var(--accent-dark); }
.pill-hot     { background: #fecaca; color: #991b1b; }
.pill-ink     { background: #f1f5f9; color: var(--text); }
.hero-org__label {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    vertical-align: middle;
}
.detail-block--private-overview {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-left: 3px solid #0f766e;
}
@media (max-width: 720px) {
    .job-card__cta { flex-direction: row; min-width: 0; }
    .job-card__cta .button { flex: 1; }
}

/* --- Recruitment overview + notification PDF callout (SarkariExam-style fact card) --- */
.detail-block--overview {
    background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
    border: 1px solid #b6e6dc;
}
.detail-block--overview h2 { color: var(--brand-dark); }
.notification-pdf-card {
    margin-top: 16px;
    padding: 14px 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.notification-pdf-card strong { display: block; color: var(--accent-dark); font-size: 15px; }
.notification-pdf-card small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
@media (max-width: 540px) {
    .notification-pdf-card { flex-direction: column; align-items: stretch; }
    .notification-pdf-card .button { text-align: center; }
}

/* --- Lifecycle chakra (SOP §11/§12 recruitment timeline) --- */
.lifecycle-chakra {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    counter-reset: lifecycle;
}
.lifecycle-stage {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    transition: transform .15s, box-shadow .15s;
}
.lifecycle-stage:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(17,94,89,0.08); }
.lifecycle-stage__dot,
.lifecycle-stage__num {
    flex: none;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-soft);
    color: var(--brand-dark);
    font-size: 15px;
    font-weight: 800;
    border: 1px solid var(--line);
}
.lifecycle-stage__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.lifecycle-stage__body strong { color: var(--text); font-size: 14px; font-weight: 700; }
.lifecycle-stage__body small { color: var(--muted); font-size: 12.5px; }
.lifecycle-stage__cta {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-dark);
    text-decoration: none;
}
.lifecycle-stage__cta:hover { text-decoration: underline; }
.lifecycle-stage--done {
    background: linear-gradient(180deg, #f0fbf8 0%, #ffffff 100%);
    border-color: #b6e6dc;
}
.lifecycle-stage--done .lifecycle-stage__dot,
.lifecycle-stage--done .lifecycle-stage__num {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand-dark);
}
.lifecycle-stage--current {
    background: #fff7ed;
    border-color: #fed7aa;
    box-shadow: 0 4px 14px rgba(232,93,63,0.10);
}
.lifecycle-stage--current .lifecycle-stage__dot,
.lifecycle-stage--current .lifecycle-stage__num {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-dark);
    animation: chakraPulse 2s ease-in-out infinite;
}
.lifecycle-stage--upcoming { opacity: 0.78; }
.lifecycle-stage--upcoming .lifecycle-stage__dot,
.lifecycle-stage--upcoming .lifecycle-stage__num { background: #fff; color: var(--muted); }
@keyframes chakraPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,93,63,0.35); }
    50%      { box-shadow: 0 0 0 6px rgba(232,93,63,0.00); }
}

/* --- Government job detail tables (SOP §31 structured layout) --- */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.vacancy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--surface);
    min-width: 640px;
}

.vacancy-table thead th {
    background: var(--brand-dark);
    color: #fff;
    text-align: left;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 14px;
    white-space: nowrap;
}

.vacancy-table tbody td {
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    color: var(--text);
    vertical-align: top;
}

.vacancy-table tbody tr:nth-child(even) {
    background: var(--surface-soft);
}

.vacancy-table tbody tr:hover {
    background: var(--brand-soft);
}

.vacancy-table--dense {
    min-width: 760px;
}

.vacancy-table--dense th,
.vacancy-table--dense td {
    padding: 10px 12px;
}

.vacancy-table .is-number {
    text-align: center;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.govt-info-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.govt-info-table th {
    text-align: left;
    width: 38%;
    background: var(--surface-soft);
    color: var(--brand-dark);
    font-weight: 700;
    padding: 11px 14px;
    border-top: 1px solid var(--line);
    vertical-align: top;
}

.govt-info-table td {
    padding: 11px 14px;
    border-top: 1px solid var(--line);
    color: var(--text);
    word-break: break-word;
}

.govt-info-table tr:first-child th,
.govt-info-table tr:first-child td {
    border-top: 0;
}

.detail-note {
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .govt-info-table th { width: 42%; }
    .detail-block { padding: 18px 14px; }
}

.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.detail-list--private {
    gap: 16px;
}

.detail-list--private div {
    background: #fbfffe;
    border: 1px solid #d7ebe7;
    border-radius: 8px;
    padding: 14px 16px;
}

.detail-list--private dt {
    margin-bottom: 5px;
    color: #4b635f;
    font-size: 0.82rem;
    font-weight: 700;
}

.detail-list--private dd {
    color: #0f172a;
    font-weight: 700;
    line-height: 1.55;
}

.detail-list__wide {
    grid-column: 1 / -1;
}

.private-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.private-skill-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid #bfe6de;
    border-radius: 999px;
    background: #ecfdf5;
    color: #075f56;
    padding: 4px 10px;
    font-size: 0.84rem;
    font-weight: 800;
}

.info-list,
.link-list,
.related-list {
    display: grid;
    gap: 10px;
}

.info-list div,
.link-list a,
.related-list a {
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 12px;
}

.info-list div {
    display: flex;
    justify-content: space-between;
}

.link-list a {
    color: var(--brand-dark);
    font-weight: 800;
}

.detail-side {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.side-card {
    padding: 20px;
}

.side-card h3 {
    margin-bottom: 12px;
}

.side-card--highlight {
    background: var(--brand-dark);
    color: #fff;
}

.side-card--highlight p {
    color: #c8fff7;
}

.related-list a strong,
.related-list a span {
    display: block;
}

.related-list a span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

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

.side-note-list a {
    display: grid;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    color: var(--text);
    text-decoration: none;
    border-left: 4px solid var(--brand);
    transition: transform .12s, box-shadow .12s, border-color .12s;
}

.side-note-list a + a {
    /* Hard separator so multiple cards never appear as one block. */
    margin-top: 0;
}

.side-note-list a:hover {
    transform: translateY(-1px);
    border-color: var(--brand);
    border-left-color: var(--accent);
    box-shadow: 0 8px 22px rgba(15,118,110,.12);
}

.side-note-list strong {
    display: block;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--text);
    font-weight: 700;
    /* Cap each title at 2 lines so multi-post Port Trust titles don't bleed. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.side-note-list span,
.side-note-list em {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

.side-note-list span {
    color: var(--muted);
}

.side-note-list em {
    color: var(--accent-dark);
    font-style: normal;
    font-weight: 700;
    padding-top: 2px;
    border-top: 1px dashed var(--line);
    margin-top: 4px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

fieldset {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    margin: 0;
}

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

legend {
    padding: 0 6px;
    font-weight: 800;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.checkbox-grid--small {
    grid-template-columns: repeat(4, 1fr);
}

.checkbox-grid label,
.consent-box label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600;
}

.checkbox-grid input,
.consent-box input {
    width: auto;
    margin-top: 3px;
}

.consent-box {
    display: grid;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.consent-box a,
.form-help a,
.content-page a {
    color: var(--brand-dark);
    font-weight: 800;
}

.notice-card {
    display: grid;
    gap: 4px;
    padding: 16px;
    margin-bottom: 16px;
    background: var(--brand-soft);
}

.notice-card span {
    color: var(--muted);
    font-size: 13px;
}

.form-help {
    position: sticky;
    top: 96px;
}

.form-help ol,
.content-page ul,
.next-steps ol {
    padding-left: 20px;
}

.content-page {
    max-width: 820px;
    font-size: 17px;
}

.content-page h2 {
    margin-top: 28px;
    font-size: 26px;
}

.success-section {
    min-height: 58vh;
    display: grid;
    align-items: center;
}

.success-card {
    max-width: 760px;
    text-align: center;
    padding: 42px;
}

.success-icon {
    width: 54px;
    height: 54px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
}

.success-card h1 {
    margin-top: 18px;
    font-size: 36px;
}

.tool-hero {
    background:
        linear-gradient(120deg, rgba(232, 93, 63, 0.14), rgba(15, 118, 110, 0.12)),
        #fff;
}

.cv-preview {
    --cv-body-size: 9.8pt;
    --cv-line-height: 1.30;
    --cv-section-gap: 3.2mm;
    --cv-page-pad-x: 7mm;
    --cv-page-pad-y: 7mm;
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 36px;
    box-shadow: var(--shadow);
    font-family: Inter, Arial, sans-serif;
    font-size: var(--cv-body-size);
    line-height: var(--cv-line-height);
    overflow-wrap: anywhere;
    letter-spacing: 0;
}

.cv-preview[data-font="arial"] { font-family: Arial, Helvetica, sans-serif; }
.cv-preview[data-font="calibri"] { font-family: Calibri, Arial, Helvetica, sans-serif; }
.cv-preview[data-font="georgia"] { font-family: Georgia, "Times New Roman", serif; }
.cv-preview[data-density="compact"] {
    --cv-line-height: 1.22;
    --cv-section-gap: 2.4mm;
    --cv-page-pad-x: 7mm;
    --cv-page-pad-y: 7mm;
}
.cv-preview[data-density="spacious"] {
    --cv-line-height: 1.48;
    --cv-section-gap: 5mm;
    --cv-page-pad-x: 10mm;
    --cv-page-pad-y: 10mm;
}
.cv-preview[data-columns="one"] {
    display: block !important;
}
.cv-preview[data-columns="two"] {
    display: grid;
    grid-template-columns: minmax(150px, .4fr) minmax(0, 1fr);
    column-gap: 22px;
    align-items: start;
}
.cv-preview[data-columns="two"] header {
    grid-column: 1 / -1;
}
.cv-preview[data-columns="two"] section:nth-of-type(2),
.cv-preview[data-columns="two"] section:nth-of-type(6),
.cv-preview[data-columns="two"] section:nth-of-type(8) {
    grid-column: 1;
    border-bottom: 0;
}
.cv-preview[data-columns="two"] section:nth-of-type(1),
.cv-preview[data-columns="two"] section:nth-of-type(3),
.cv-preview[data-columns="two"] section:nth-of-type(4),
.cv-preview[data-columns="two"] section:nth-of-type(5),
.cv-preview[data-columns="two"] section:nth-of-type(7) {
    grid-column: 2;
}

.cv-preview header {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.cv-preview h2 {
    font-size: 34px;
}

.cv-preview header p {
    margin: 8px 0;
    color: var(--brand-dark);
    font-weight: 800;
}

.cv-preview section {
    border-bottom: 1px solid var(--line);
    padding: var(--cv-section-gap) 0;
}

.cv-preview section:last-child {
    border-bottom: 0;
}

.cv-preview h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

/* =========================================================
   CV PREVIEW — Formatting upgrade (research-backed layout)
   Inspired by: Indeed/Naukri ATS templates, Harvard CV
   guide, Europass v3, Resume.io spec. Tighter typographic
   rhythm, clearer section dividers, real breathing room.
   ========================================================= */
.cv-preview {
    --tpl-color: #163C5F;
    color: #1f2937;
    letter-spacing: 0;
}

.cv-preview header {
    border-bottom: 2px solid var(--tpl-color);
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.cv-preview header h2 {
    color: var(--tpl-color);
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 6px;
    line-height: 1.15;
}

.cv-preview header p,
.cv-preview .cv-headline {
    color: var(--tpl-color);
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 6px;
    letter-spacing: 0;
}

.cv-preview header span,
.cv-preview .cv-contact {
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.55;
    display: block;
}

.cv-preview section {
    border-bottom: 0;
    padding: 0 0 var(--cv-section-gap);
    margin-bottom: 8px;
    page-break-inside: avoid;
}

.cv-preview section + section {
    padding-top: 4px;
}

.cv-preview section h3 {
    color: var(--tpl-color);
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 12.5px;
    font-weight: 800;
    margin: 0 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--tpl-color);
    position: relative;
}

.cv-preview section h3::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 36px;
    height: 3px;
    background: var(--tpl-color);
    border-radius: 2px;
}

.cv-preview section p {
    margin: 0 0 6px;
    font-size: var(--cv-body-size);
    line-height: var(--cv-line-height);
    color: #1f2937;
}

.cv-preview section p:last-child { margin-bottom: 0; }

.cv-preview .cv-skills-list,
.cv-preview .cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.cv-preview .cv-skills-list span,
.cv-preview .cv-skills span {
    background: color-mix(in srgb, var(--tpl-color) 12%, #fff);
    color: var(--tpl-color);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.4;
}

/* Education / Experience entries — slight role/company hierarchy */
.cv-preview .cv-experience,
.cv-preview .cv-edu-entry,
.cv-preview .cv-exp-entry {
    margin-bottom: 8px;
}
.cv-preview .cv-experience:last-child { margin-bottom: 0; }

.cv-preview .cv-experience .role,
.cv-preview .cv-experience .position,
.cv-preview .cv-experience .title {
    font-weight: 700;
    color: #111827;
    font-size: calc(var(--cv-body-size) + .5pt);
}

.cv-preview .cv-experience .company,
.cv-preview .cv-experience .institution,
.cv-preview .cv-experience .meta {
    color: #6b7280;
    font-size: 11.5px;
    font-weight: 500;
}

.cv-preview .cv-experience ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

.cv-preview .cv-experience li {
    margin-bottom: 3px;
    line-height: 1.45;
}

/* Section ordering rhythm — ensures the first section has air after the
   header rather than slamming into it. */
.cv-preview > section:first-of-type {
    margin-top: 2px;
}

/* ATS-safe mode strips colour cues but keeps the rhythm so reviewers
   still get a clean read. */
.cv-preview.cv-preview--ats section h3,
.cv-preview.cv-preview--ats header h2 {
    color: #000 !important;
    border-color: #000 !important;
}
.cv-preview.cv-preview--ats section h3::after {
    background: #000 !important;
}
.cv-preview.cv-preview--ats .cv-skills-list span,
.cv-preview.cv-preview--ats .cv-skills span {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #000;
}

.dashboard-shell {
    background: var(--ink);
    color: #fff;
    min-height: 72vh;
    padding: 58px 0 76px;
}

.dashboard-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.dashboard-hero h1 {
    margin-top: 18px;
    font-size: clamp(36px, 6vw, 62px);
}

.dashboard-hero p,
.dashboard-welcome p,
.dashboard-card p,
.muted {
    color: #bcd0cc;
}

.dashboard-profile {
    min-width: 280px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    padding: 18px;
}

.dashboard-profile span,
.dashboard-profile small {
    display: block;
    color: #bcd0cc;
}

.dashboard-profile strong {
    display: block;
    margin: 8px 0 4px;
    font-size: 22px;
}

.dashboard-panel {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: #243b56;
    padding: 24px;
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.dashboard-welcome,
.dashboard-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-welcome {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dashboard-tabs a,
.dashboard-card__head a,
.dashboard-card__head span {
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #dff4f1;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-tabs a.active {
    background: var(--accent);
    color: #fff;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 24px 0;
}

.dashboard-metrics div,
.dashboard-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
}

.dashboard-metrics div {
    padding: 18px;
}

.dashboard-metrics span {
    display: block;
    color: #bcd0cc;
    font-size: 13px;
}

.dashboard-metrics strong {
    display: block;
    margin-top: 8px;
    font-size: 32px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dashboard-card--wide {
    grid-column: 1 / -1;
}

.dashboard-card--light {
    background: #fff;
    color: #17211f;
}

.dashboard-card--light h2,
.dashboard-card--light h3,
.dashboard-card--light strong {
    color: #0f1715;
}

.dashboard-card--light p,
.dashboard-card--light span {
    color: #40504d;
}

.onboarding-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
}

.onboarding-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.onboarding-wallet-section {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}
.onboarding-wallet-section .dashboard-card,
.dashboard-wallet-grid .dashboard-card {
    background: #ffffff;
    border-color: #dbe8e5;
    color: #0f172a;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .10);
}
.onboarding-wallet-section .dashboard-card h3,
.onboarding-wallet-section .dashboard-card strong,
.dashboard-wallet-grid .dashboard-card h3,
.dashboard-wallet-grid .dashboard-card strong {
    color: #0f172a;
}
.onboarding-wallet-section .dashboard-card p,
.onboarding-wallet-section .dashboard-card .muted,
.dashboard-wallet-grid .dashboard-card p,
.dashboard-wallet-grid .dashboard-card .muted {
    color: #5b6b77;
}
.onboarding-wallet-section .dashboard-card__head,
.dashboard-wallet-grid .dashboard-card__head {
    align-items: flex-start;
}
.onboarding-wallet-section .dashboard-card__head a,
.onboarding-wallet-section .dashboard-card__head span,
.dashboard-wallet-grid .dashboard-card__head a,
.dashboard-wallet-grid .dashboard-card__head span {
    background: #edf7f5;
    color: #0f766e;
    border: 1px solid #cce8e2;
}

.wallet-page .dashboard-hero {
    align-items: center;
}

.wallet-profile-card strong {
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 0.95;
}

.wallet-panel {
    display: grid;
    gap: 1.25rem;
}

.wallet-top-actions,
.document-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.wallet-summary-grid,
.wallet-history-grid,
.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.wallet-buy-card {
    overflow: hidden;
}

.wallet-rate-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0;
}

.wallet-rate-list div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #d8e8e6;
    border-radius: 8px;
    background: #f8fcfb;
}

.wallet-rate-list strong {
    color: #0f766e;
    font-size: 1.25rem;
}

.wallet-service-actions--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.wallet-service-actions--inline form {
    margin: 0;
}

.wallet-document-list {
    display: grid;
    gap: 0.65rem;
}

.wallet-document-list a,
.document-card {
    text-decoration: none;
}

.wallet-document-list a {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid #d8e8e6;
    border-radius: 8px;
    background: #f8fcfb;
    color: #102626;
}

.wallet-document-list a:hover {
    border-color: #0f766e;
}

.wallet-document-list span,
.document-card p,
.document-card__meta {
    color: #536b78;
}

.document-card {
    display: grid;
    gap: 0.75rem;
}

.document-card__meta,
.document-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.document-card__meta span {
    border: 1px solid #d8e8e6;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.document-card__actions a {
    border-radius: 8px;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
}

.document-card__actions a:last-child {
    background: #eef6f5;
    color: #0f766e;
}

.document-view-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.document-view-toolbar h1 {
    margin: 0.25rem 0;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.document-paper-wrap {
    display: flex;
    justify-content: center;
}

.document-paper-wrap .cv-preview {
    width: min(100%, 210mm);
    min-height: 297mm;
    box-shadow: 0 20px 70px rgba(15, 35, 35, 0.16);
}

@media (max-width: 860px) {
    .wallet-summary-grid,
    .wallet-history-grid,
    .document-grid {
        grid-template-columns: 1fr;
    }

    .document-view-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .wallet-top-actions,
    .document-view-actions {
        justify-content: flex-start;
    }
}

@media print {
    .document-view-page .site-header,
    .document-view-page .topbar,
    .document-view-page .site-footer,
    .document-view-toolbar,
    .whatsapp-float {
        display: none !important;
    }

    .document-view-page,
    .document-paper-wrap,
    .document-paper-wrap .cv-preview {
        background: #fff !important;
        box-shadow: none !important;
        margin: 0 !important;
    }

    .document-paper-wrap .cv-preview {
        width: auto !important;
        min-height: auto !important;
    }
}

.flow-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.flow-list div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 12px;
}

.flow-list strong {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
}

.flow-list span {
    color: #17211f;
    font-weight: 650;
}

.application-board {
    display: grid;
    grid-template-columns: repeat(7, minmax(120px, 1fr));
    gap: 10px;
    overflow-x: auto;
}

.application-column {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 12px;
    min-height: 120px;
}

.application-column strong,
.application-column span,
.application-column a {
    display: block;
}

.application-column span {
    color: var(--brand-dark);
    font-size: 24px;
    font-weight: 900;
    margin: 8px 0;
}

.application-column a {
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
}

.status-form {
    display: grid;
    grid-template-columns: 150px 190px minmax(180px, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 460px;
}

.status-form textarea {
    grid-column: 1 / -1;
    min-height: 66px;
}

.application-review-card {
    align-items: stretch;
}

.dashboard-action-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -6px 0 22px;
}

.dashboard-action-strip a {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: #fff;
    padding: 10px 12px;
    font-weight: 800;
}

.dashboard-card {
    padding: 20px;
}

.dashboard-card .related-list a,
.dashboard-card .related-list p,
.dashboard-card .mini-list div {
    background: rgba(255,255,255,.08);
}

.dashboard-card .related-list a span,
.dashboard-card dt {
    color: #bcd0cc;
}

.dashboard-card dd {
    color: #fff;
}

.next-steps {
    text-align: left;
    margin: 26px auto;
    max-width: 520px;
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 18px;
}

/* Dashboard Tab Content */
.dashboard-tab-content { display: none; }
.dashboard-tab-content.active { display: block; }

/* Profile Strength Bar */
.profile-strength-bar {
    margin: 18px 0;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.06);
}
.profile-strength-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.profile-strength-info span { color: #bcd0cc; font-size: 13px; }
.profile-strength-info strong { font-size: 18px; }
.profile-progress-track {
    height: 8px;
    background: rgba(255,255,255,.12);
    border-radius: 4px;
    overflow: hidden;
}
.profile-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .6s ease;
}
.profile-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.profile-tip-chip {
    padding: 4px 10px;
    background: rgba(239,68,68,.15);
    color: #fca5a5;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-badge--submitted { background: #dbeafe; color: #1e40af; }
.status-badge--viewed { background: #e0e7ff; color: #3730a3; }
.status-badge--shortlisted { background: #dcfce7; color: #166534; }
.status-badge--interview { background: #fef3c7; color: #92400e; }
.status-badge--offered { background: #d1fae5; color: #065f46; }
.status-badge--hired { background: #10b981; color: #fff; }
.status-badge--rejected { background: #fee2e2; color: #991b1b; }
.status-badge--draft { background: #f3f4f6; color: #6b7280; }
.status-badge--pending { background: #fef3c7; color: #92400e; }
.status-badge--approved, .status-badge--active { background: #dcfce7; color: #166534; }

.status-active { color: #10b981 !important; font-weight: 700; }
.status-inactive { color: #ef4444 !important; font-weight: 700; }

/* Application Table */
.application-table { display: flex; flex-direction: column; gap: 8px; }
.app-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    gap: 16px;
}
.app-row__info a { color: #fff; }
.app-row__info small { display: block; color: #bcd0cc; font-size: 12px; margin-top: 2px; }
.app-row__meta { text-align: right; }
.app-row__meta small { display: block; color: #bcd0cc; font-size: 11px; margin-top: 4px; }

/* Alert Row */
.alert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    margin-bottom: 6px;
}
.alert-row strong { color: #fff; display: block; }
.alert-row small { display: block; color: #bcd0cc; font-size: 12px; margin-top: 2px; }

/* Application column active */
.application-column.has-items { border-color: var(--brand); }
.app-count { font-size: 28px; }

/* Approval Workflow Info */
.approval-info-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    padding: 20px;
    margin-bottom: 20px;
}
.approval-info-card h3 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.approval-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.approval-step {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.approval-step__num {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}
.approval-step strong { color: #fff; display: block; font-size: 13px; }
.approval-step small { color: #bcd0cc; font-size: 12px; }

/* Empty state in dark context */
.dashboard-card .empty-state {
    background: rgba(255,255,255,.06);
    color: #bcd0cc;
    padding: 16px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

/* Employer dashboard: clearer review-to-hire flow */
.employer-dashboard-shell {
    background: linear-gradient(180deg, #eef8f5 0%, #f8fafc 100%);
    color: var(--text);
}
.employer-dashboard-shell .eyebrow--light,
.employer-dashboard-shell .dashboard-hero h1,
.employer-dashboard-shell .dashboard-welcome h2,
.employer-dashboard-shell .dashboard-card h3,
.employer-dashboard-shell .dashboard-card strong,
.employer-dashboard-shell .app-row__info a {
    color: var(--ink);
}
.employer-dashboard-shell .dashboard-hero p,
.employer-dashboard-shell .dashboard-welcome p,
.employer-dashboard-shell .dashboard-card p,
.employer-dashboard-shell .dashboard-profile span,
.employer-dashboard-shell .dashboard-profile small,
.employer-dashboard-shell .dashboard-metrics span,
.employer-dashboard-shell .app-row__info small,
.employer-dashboard-shell .app-row__meta small,
.employer-dashboard-shell .approval-step small {
    color: var(--muted);
}
.employer-dashboard-shell .dashboard-profile,
.employer-dashboard-shell .dashboard-panel,
.employer-dashboard-shell .dashboard-metrics div,
.employer-dashboard-shell .dashboard-card,
.employer-dashboard-shell .approval-info-card,
.employer-dashboard-shell .app-row,
.employer-dashboard-shell .dashboard-action-strip a,
.employer-dashboard-shell .dashboard-tabs a,
.employer-dashboard-shell .dashboard-card__head a,
.employer-dashboard-shell .dashboard-card__head span {
    border-color: var(--line);
    background: #fff;
    color: var(--text);
}
.employer-dashboard-shell .dashboard-panel {
    box-shadow: 0 24px 70px rgba(23,33,31,.10);
}
.employer-dashboard-shell .dashboard-welcome {
    border-bottom-color: var(--line);
}
.employer-dashboard-shell .dashboard-tabs a.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.employer-dashboard-shell .dashboard-action-strip a:hover,
.employer-dashboard-shell .dashboard-card__head a:hover {
    border-color: var(--brand);
    color: var(--brand-dark);
}
.employer-dashboard-shell .dashboard-card .related-list a,
.employer-dashboard-shell .dashboard-card .related-list p,
.employer-dashboard-shell .dashboard-card .mini-list div,
.employer-dashboard-shell .dashboard-card .empty-state {
    background: var(--surface-soft);
    color: var(--muted);
}
.employer-dashboard-shell .approval-info-card h3,
.employer-dashboard-shell .approval-step strong,
.employer-dashboard-shell .alert-row strong {
    color: var(--ink);
}
.employer-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 22px;
}
.employer-flow-card {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 14px;
}
.employer-flow-card span {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--brand-dark);
    font-weight: 900;
}
.employer-flow-card strong {
    color: var(--ink);
    line-height: 1.1;
}
.employer-flow-card small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}
.employer-flow-card.is-done span {
    background: var(--brand);
    color: #fff;
}
.employer-flow-card.is-review span {
    background: var(--accent);
    color: #fff;
}
.employer-flow-card.is-pending {
    border-style: dashed;
}

@media (max-width: 768px) {
    .approval-steps { grid-template-columns: 1fr 1fr; }
    .dashboard-metrics { grid-template-columns: repeat(3, 1fr); }
    .employer-flow-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .employer-flow-grid,
    .approval-steps {
        grid-template-columns: 1fr;
    }
    .app-row {
        align-items: stretch;
        flex-direction: column;
    }
    .app-row__meta {
        text-align: left;
    }
}

.site-footer {
    background: var(--ink);
    color: #d9e4e1;
    padding: 48px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 28px;
}

.brand--footer .brand__mark {
    box-shadow: none;
}

.site-footer h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 12px;
}

.site-footer a {
    display: block;
    color: #d9e4e1;
    margin: 8px 0;
}

.site-footer p,
.tiny {
    color: #a8bab6;
    font-size: 14px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.newsletter-form input {
    background: #24312f;
    border-color: #40504d;
    color: #fff;
}

.newsletter-form button {
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 800;
    background: var(--accent);
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
}

.footer-bottom a {
    display: inline;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.ai-agent-widget {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 35;
    font-family: inherit;
}
.ai-agent-toggle {
    border: 0;
    border-radius: 18px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 900;
    padding: 9px 12px 9px 9px;
    box-shadow: 0 18px 60px rgba(15, 23, 42, .18);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(15, 118, 110, .18);
    text-align: left;
}
.ai-agent-toggle__mark,
.ai-agent-avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #f59e0b;
    color: #fff;
    font-weight: 950;
    box-shadow: inset 0 -10px 16px rgba(120, 53, 15, .18);
}
.ai-agent-toggle strong {
    display: block;
    font-size: 13px;
    line-height: 1.1;
}
.ai-agent-toggle small {
    display: block;
    margin-top: 2px;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
}
.ai-agent-panel {
    width: min(380px, calc(100vw - 28px));
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(9, 28, 35, .2);
    overflow: hidden;
    margin-bottom: 10px;
}
.ai-agent-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #fff7ed;
    color: #0f172a;
    border-bottom: 1px solid #fed7aa;
}
.ai-agent-head {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-agent-head strong {
    display: block;
    color: #0f172a;
    line-height: 1.1;
}
.ai-agent-head small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #047857;
    font-size: 12px;
    font-weight: 800;
}
.ai-agent-head small i {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #16a34a;
    display: inline-block;
}
.ai-agent-panel header button {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
}
.ai-agent-messages {
    display: grid;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding: 14px;
    background:
        radial-gradient(circle at 20px 20px, rgba(245, 158, 11, .12) 0 1px, transparent 1px 18px),
        #fffaf3;
}
.ai-agent-msg {
    max-width: 86%;
    border-radius: 14px;
    padding: 9px 11px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}
.ai-agent-msg--bot {
    background: #fff;
    border: 1px solid #f1e7d8;
    color: var(--text);
}
.ai-agent-msg--user {
    justify-self: end;
    background: #f59e0b;
    color: #fff;
}
.ai-agent-quick {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 12px;
    border-top: 1px solid #f1e7d8;
    background: #fff;
}
.ai-agent-quick button {
    border: 1px solid #ccfbf1;
    background: #f0fdfa;
    color: #115e59;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}
.ai-agent-panel form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
}
.ai-agent-panel input {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 0 12px;
}
.ai-agent-panel form button {
    border: 0;
    border-radius: 12px;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    padding: 0 14px;
}

small {
    color: #b42318;
}

@media (max-width: 980px) {
    .hero-grid,
    .listing-layout,
    .detail-layout,
    .form-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .path-grid,
    .card-grid,
    .public-copy-grid,
    .dashboard-metrics,
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-help {
        position: static;
    }
}

/* ============================================
   QUICK LINKS BAR
   ============================================ */
.quick-links {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0;
}

.quick-links__inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.quick-links__inner::-webkit-scrollbar { display: none; }

.quick-links__inner a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
    border-bottom: 3px solid transparent;
    transition: border-color .2s, color .2s, background .2s;
}

.quick-links__inner a:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-bottom-color: var(--brand);
}

.ql-icon {
    font-size: 16px;
    line-height: 1;
}

/* ============================================
   STATS BAR / SOCIAL PROOF
   ============================================ */
.stats-bar {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    padding: 36px 0;
}

.stats-bar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 12px 8px;
}

.stat-number {
    display: block;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
}

.stat-item span {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255,255,255,.78);
    font-weight: 600;
}

/* ============================================
   TICKER IMPROVEMENTS
   ============================================ */
.ticker__label {
    white-space: nowrap;
    background: var(--accent);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,93,63,.4); }
    50% { box-shadow: 0 0 0 8px rgba(232,93,63,0); }
}

.ticker__track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    animation: ticker-scroll 30s linear infinite;
}

.ticker__track::-webkit-scrollbar { display: none; }

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker__track:hover { animation-play-state: paused; }

/* ============================================
   SECTION VARIANTS
   ============================================ */
.section--brand-soft {
    background: linear-gradient(135deg, #dff4f1, #f0faf8);
    border-block: 1px solid rgba(15,118,110,.1);
}

.section--employer {
    background: linear-gradient(135deg, #fef3f0, #fff8f6);
    border-block: 1px solid rgba(232,93,63,.1);
}

/* ============================================
   CTA BAND VARIANTS
   ============================================ */
.cta-band--matcher {
    background: var(--surface);
    border: 2px solid var(--brand);
    border-radius: 16px;
    padding: 42px;
    margin-bottom: 0;
    box-shadow: 0 16px 48px rgba(15,118,110,.12);
}

.cta-band--matcher p { color: var(--muted); }

.cta-band__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

.cta-band--employer {
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 42px;
    margin-bottom: 0;
    box-shadow: 0 16px 48px rgba(232,93,63,.1);
}

.cta-band--employer p { color: var(--muted); }

/* ============================================
   BUTTON LARGE
   ============================================ */
.button--lg {
    min-height: 52px;
    padding: 0 28px;
    font-size: 16px;
    border-radius: 10px;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-section {
    border-top: 1px solid var(--line);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.community-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    padding: 28px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(23,33,31,.1);
}

.community-card__icon {
    width: 56px;
    height: 56px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    font-weight: 900;
    font-size: 22px;
    color: #fff;
    margin-bottom: 16px;
}

.community-card__icon--telegram {
    background: linear-gradient(135deg, #0088cc, #00c6ff);
}

.community-card__icon--youtube {
    background: linear-gradient(135deg, #cc0000, #ff4444);
}

.community-card__icon--whatsapp {
    background: linear-gradient(135deg, #075e54, #25d366);
}

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

.community-card p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

/* ============================================
   TOPBAR RIGHT (Translate + Phone)
   ============================================ */
.topbar__right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Google Translate widget overrides */
#google_translate_element {
    display: inline-flex;
}

#google_translate_element .goog-te-gadget {
    font-size: 0;
    color: transparent;
}

#google_translate_element .goog-te-gadget .goog-te-combo {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    color: #e8f4f1;
    padding: 4px 8px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ============================================
   ADVANCED CV MAKER STYLES
   ============================================ */
.template-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.template-card {
    border: 2px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    padding: 14px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}

.template-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(23,33,31,.08);
}

.template-card.active,
.template-card:has(input:checked) {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(15,118,110,.12);
}

.template-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    margin: 0;
}

.template-card__preview {
    width: 84px;
    aspect-ratio: 210 / 297;
    border-radius: 8px;
    margin: 0 auto 12px;
    display: grid;
    grid-template-rows: 18px auto auto auto auto 1fr;
    gap: 4px;
    align-content: start;
    justify-items: stretch;
    padding: 7px;
    text-align: left;
    font-size: 7px;
    font-weight: 800;
    color: var(--ink);
    background: #fff !important;
    border: 1px solid #dfe7e4;
    box-shadow: inset 0 18px 0 var(--tpl-color);
    overflow: hidden;
    position: relative;
}

.tpl-mini-head {
    display: block;
    height: 12px;
    border-radius: 4px;
    background: var(--tpl-color);
}

.tpl-mini-photo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tpl-color) 18%, white);
    border: 2px solid #fff;
    margin-top: -14px;
    margin-left: 5px;
}

.tpl-mini-name {
    display: block;
    font-size: 7px;
    line-height: 1.15;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-mini-role {
    display: block;
    font-size: 6px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tpl-mini-line {
    display: block;
    height: 3px;
    width: 68%;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tpl-color) 35%, white);
}

.tpl-mini-line--wide { width: 100%; margin-top: 3px; }
.tpl-mini-line--short { width: 46%; }

.tpl-mini-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    align-self: end;
}

.tpl-mini-row i {
    display: block;
    height: 12px;
    border-radius: 3px;
    background: color-mix(in srgb, var(--tpl-color) 18%, white);
}

.template-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

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

/* Template preview colors */
.tpl-professional { background: linear-gradient(135deg, #1a365d, #2d5b8a); }
.tpl-modern { background: linear-gradient(135deg, var(--brand), #1da99b); }
.tpl-creative { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.tpl-minimal { background: linear-gradient(135deg, #374151, #6b7280); }
.tpl-executive { background: linear-gradient(135deg, #1e293b, #334155); }
.tpl-bold { background: linear-gradient(135deg, var(--accent), #f97316); }
.tpl-elegant { background: linear-gradient(135deg, #713f12, #a16207); }
.tpl-tech { background: linear-gradient(135deg, #064e3b, #059669); }
.tpl-classic { background: linear-gradient(135deg, #3f3f46, #71717a); }
.tpl-fresh { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.tpl-ats { background: linear-gradient(135deg, #111827, #4b5563); }
.tpl-premium { background: linear-gradient(135deg, #9f2d1c, #f59e0b); }
.tpl-infographic { background: linear-gradient(135deg, #be185d, #ec4899); }
.tpl-compact { background: linear-gradient(135deg, #4338ca, #818cf8); }
.tpl-gradient { background: linear-gradient(135deg, #7e22ce, #a855f7); }
.tpl-corporate { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.tpl-govt_biodata { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.tpl-indian_pro { background: linear-gradient(135deg, #163c5f, #1e6091); }
.tpl-naukri_style { background: linear-gradient(135deg, #0d47a1, #42a5f5); }
.tpl-fresher_india { background: linear-gradient(135deg, #00695c, #26a69a); }
.tpl-contractor { background: linear-gradient(135deg, #4a148c, #9c27b0); }
.tpl-academic { background: linear-gradient(135deg, #1b5e20, #43a047); }
.tpl-dubai_gulf { background: linear-gradient(135deg, #b71c1c, #e53935); }
.tpl-startup { background: linear-gradient(135deg, #f57c00, #ffb74d); }

/* CV Preview Templates */
.cv-preview--professional { border-top: 5px solid #1a365d; }
.cv-preview--modern { border-top: 5px solid var(--brand); }
.cv-preview--creative { border-top: 5px solid #7c3aed; }
.cv-preview--minimal { border-top: none; border-left: 4px solid #374151; }
.cv-preview--executive { border-top: 5px solid #1e293b; }
.cv-preview--bold { border-top: 5px solid var(--accent); }
.cv-preview--elegant { border-top: 5px solid #713f12; }
.cv-preview--tech { border-top: 5px solid #064e3b; }
.cv-preview--classic { border-top: 5px solid #3f3f46; }
.cv-preview--fresh { border-top: 5px solid #0891b2; }
.cv-preview--ats { border-top: none; border-left: 0; }
.cv-preview--premium { border-top: 5px solid #9f2d1c; }
.cv-preview--infographic { border-top: 5px solid #be185d; }
.cv-preview--compact { border-top: 4px solid #4338ca; }
.cv-preview--gradient { border-top: none; }
.cv-preview--corporate { border-top: 6px solid #1e3a5f; }
.cv-preview--govt_biodata { border-top: 6px solid #1e40af; }
.cv-preview--indian_pro { border-top: 6px solid #163c5f; }
.cv-preview--naukri_style { border-top: none; border-left: 4px solid #0d47a1; }
.cv-preview--fresher_india { border-top: 5px solid #00695c; }
.cv-preview--contractor { border-top: 5px solid #4a148c; }
.cv-preview--academic { border-top: 5px solid #1b5e20; }
.cv-preview--dubai_gulf { border-top: 5px solid #b71c1c; }
.cv-preview--startup { border-top: 5px solid #f57c00; }

.cv-preview--professional header { border-bottom-color: #1a365d; }
.cv-preview--modern header { border-bottom-color: var(--brand); }
.cv-preview--creative header { border-bottom-color: #7c3aed; }
.cv-preview--bold header { border-bottom-color: var(--accent); }
.cv-preview--tech header { border-bottom-color: #064e3b; }

.ai-enhance-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #dff4f1, #f0faf8);
    border: 1px solid rgba(15,118,110,.2);
    border-radius: 10px;
    padding: 14px 18px;
    margin: 8px 0;
}

.ai-enhance-bar .ai-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 14px;
    flex-shrink: 0;
}

.ai-enhance-bar span {
    font-size: 13px;
    color: var(--muted);
    flex: 1;
}

.ai-enhance-bar button {
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.cv-builder-form h2,
.form-card h2 {
    font-size: 22px;
    margin: 6px 0 12px;
}

.form-section {
    display: grid;
    gap: 14px;
}

.cv-maker-panel .button + .button,
.form-help .button + .button {
    margin-top: 10px;
}

.cv-result-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

/* ===== CV Builder Split Layout ===== */
.cv-builder-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.cv-form-panel { min-width: 0; }
.cv-preview-panel { min-width: 0; }
.cv-preview-sticky { position: sticky; top: 24px; }
.cv-preview-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}
.cv-preview-toolbar h3 { font-size: 16px; color: var(--muted); }
.cv-preview-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.cv-template-switcher {
    display: grid;
    grid-template-columns: 34px minmax(130px, 1fr) 34px;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 5px;
    box-shadow: 0 8px 22px rgba(23,33,31,.06);
}
.cv-template-nav {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--surface-soft);
    color: var(--brand-dark);
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}
.cv-template-nav:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.cv-template-current {
    min-width: 0;
    text-align: center;
    line-height: 1.2;
}
.cv-template-current strong,
.cv-template-current span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cv-template-current strong {
    color: var(--ink);
    font-size: 13px;
}
.cv-template-current span {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

/* Photo Upload */
.cv-photo-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 18px;
    background: #f9fafb;
    border: 1px dashed var(--line);
    border-radius: 10px;
}
.cv-photo-preview {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}
.cv-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-repeat-builder {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    padding: 16px;
    display: grid;
    gap: 14px;
}

.cv-repeat-builder__head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.cv-repeat-builder h3 {
    font-size: 18px;
    margin: 6px 0 0;
}

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

.cv-entry-list {
    display: grid;
    gap: 8px;
}

.cv-entry-pill {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    font-size: 13px;
}

.cv-entry-pill button {
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    font-weight: 800;
    cursor: pointer;
}

/* Live Preview Header Row */
.cv-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.cv-header-info { flex: 1; }
.cv-headline {
    margin: 6px 0;
    color: var(--tpl-color, #1a365d);
    font-weight: 700;
    font-size: 15px;
}
.cv-contact {
    font-size: 13px;
    color: var(--muted);
}
.cv-photo-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--tpl-color, #1a365d);
}
.cv-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Skills Tags */
.cv-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cv-skill-tag {
    display: inline-block;
    padding: 4px 12px;
    background: color-mix(in srgb, var(--tpl-color, #1a365d) 12%, transparent);
    color: var(--tpl-color, #1a365d);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
}

/* Template-specific heading colors */
.cv-preview--professional h3 { color: #1a365d; }
.cv-preview--modern h3 { color: var(--brand); }
.cv-preview--creative h3 { color: #7c3aed; }
.cv-preview--minimal h3 { color: #374151; }
.cv-preview--executive h3 { color: #1e293b; }
.cv-preview--bold h3 { color: var(--accent); }
.cv-preview--elegant h3 { color: #713f12; }
.cv-preview--tech h3 { color: #064e3b; }
.cv-preview--classic h3 { color: #3f3f46; }
.cv-preview--fresh h3 { color: #0891b2; }
.cv-preview--ats h3 { color: #111827; }
.cv-preview--premium h3 { color: #9f2d1c; }

/* Template-specific name colors */
.cv-preview--professional h2 { color: #1a365d; }
.cv-preview--modern h2 { color: var(--brand); }
.cv-preview--creative h2 { color: #7c3aed; }
.cv-preview--executive h2 { color: #1e293b; }
.cv-preview--bold h2 { color: var(--accent); }
.cv-preview--elegant h2 { color: #713f12; }
.cv-preview--tech h2 { color: #064e3b; }
.cv-preview--fresh h2 { color: #0891b2; }
.cv-preview--ats h2 { color: #111827; }
.cv-preview--premium h2 { color: #9f2d1c; }

/* Creative template - sidebar style */
.cv-preview--creative { border-left: 6px solid #7c3aed; border-top: none; }
.cv-preview--creative header { background: linear-gradient(135deg,#f5f3ff,#ede9fe); padding:18px; border-radius:6px; margin:-18px -18px 22px; }

/* Executive - dark header */
.cv-preview--executive header { background:#1e293b; color:#fff; padding:22px; border-radius:6px; margin:-18px -18px 22px; }
.cv-preview--executive header h2 { color:#fff; }
.cv-preview--executive header p { color:#94a3b8; }
.cv-preview--executive header span { color:#94a3b8; }

/* Bold - accent bar */
.cv-preview--bold header { border-bottom: 3px solid var(--accent); }

/* Elegant - gold accent */
.cv-preview--elegant header { border-bottom: 2px solid #d4a00a; }
.cv-preview--elegant h3 { border-bottom: 1px solid #fde68a; padding-bottom: 6px; }

/* Tech - monospace touches */
.cv-preview--tech h3 { font-family: 'Courier New', monospace; text-transform: uppercase; letter-spacing: 0; font-size: 14px; }

/* ATS - simple parser-friendly layout */
.cv-preview--ats {
    box-shadow: none;
    border-radius: 0;
    border-color: #d1d5db;
}
.cv-preview--ats header {
    border-bottom: 1px solid #111827;
}
.cv-preview--ats .cv-skill-tag {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #111827;
    border-radius: 4px;
}

/* Premium - photo-forward style */
.cv-preview--premium header {
    background: linear-gradient(90deg, #9f2d1c 0 22%, #fff 22% 100%);
    padding: 22px;
    border: 1px solid #f3d5cc;
    border-bottom: 3px solid #9f2d1c;
    border-radius: 8px;
    margin: -18px -18px 22px;
}
.cv-preview--premium .cv-photo-circle {
    border: 4px solid #fbbf24;
    box-shadow: 0 8px 20px rgba(159,45,28,.2);
}

/* Infographic - skill bars + visual data */
.cv-preview--infographic { border-top: 5px solid #be185d; }
.cv-preview--infographic h2 { color: #be185d; }
.cv-preview--infographic h3 { color: #be185d; border-bottom: 2px solid #fce7f3; padding-bottom: 6px; }
.cv-preview--infographic header { background: linear-gradient(120deg, #fdf2f8, #fce7f3); padding: 20px; border-radius: 8px; margin: -18px -18px 22px; }
.cv-preview--infographic .cv-skill-tag {
    background: linear-gradient(90deg, #be185d, #ec4899);
    color: #fff;
    border-radius: 20px;
    padding: 5px 14px;
    font-weight: 600;
}
.cv-preview--infographic .cv-skill-bar {
    display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.cv-preview--infographic .cv-skill-bar__label {
    flex: 0 0 120px; font-size: 13px; font-weight: 600; color: #374151;
}
.cv-preview--infographic .cv-skill-bar__track {
    flex: 1; height: 10px; background: #fce7f3; border-radius: 10px; overflow: hidden;
}
.cv-preview--infographic .cv-skill-bar__fill {
    height: 100%; border-radius: 10px;
    background: linear-gradient(90deg, #be185d, #ec4899);
    transition: width 0.6s ease;
}
.cv-preview--infographic .cv-skill-bar__pct {
    flex: 0 0 36px; font-size: 12px; font-weight: 700; color: #be185d; text-align: right;
}

/* Compact - dense single-page */
.cv-preview--compact { border-top: 4px solid #4338ca; font-size: 12px; line-height: 1.5; }
.cv-preview--compact h2 { color: #4338ca; font-size: 18px; margin-bottom: 2px; }
.cv-preview--compact h3 { color: #4338ca; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; border-bottom: 1px solid #e0e7ff; padding-bottom: 3px; }
.cv-preview--compact header { padding-bottom: 8px; margin-bottom: 10px; border-bottom: 2px solid #4338ca; }
.cv-preview--compact header p { font-size: 12px; margin: 2px 0; }
.cv-preview--compact header span { font-size: 11px; }
.cv-preview--compact section { margin-bottom: 8px; }
.cv-preview--compact .cv-skill-tag { font-size: 11px; padding: 2px 8px; border-radius: 3px; }

/* Gradient - smooth gradient header */
.cv-preview--gradient { border-top: none; border-radius: 10px; overflow: hidden; }
.cv-preview--gradient h2 { color: #fff; }
.cv-preview--gradient h3 { color: #7e22ce; }
.cv-preview--gradient header {
    background: linear-gradient(135deg, #7e22ce, #a855f7, #c084fc);
    color: #fff; padding: 24px; margin: -18px -18px 22px; border-radius: 0;
}
.cv-preview--gradient header p { color: rgba(255,255,255,0.85); }
.cv-preview--gradient header span { color: rgba(255,255,255,0.8); }
.cv-preview--gradient .cv-skill-tag {
    background: #f3e8ff; color: #7e22ce; border-radius: 20px; font-weight: 600;
}

/* Corporate - navy formal */
.cv-preview--corporate { border-top: 6px solid #1e3a5f; }
.cv-preview--corporate h2 { color: #1e3a5f; }
.cv-preview--corporate h3 { color: #1e3a5f; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; border-bottom: 2px solid #1e3a5f; padding-bottom: 4px; }
.cv-preview--corporate header {
    background: #f0f4f8; padding: 20px; border-bottom: 3px double #1e3a5f;
    margin: -18px -18px 22px; border-radius: 0;
}
.cv-preview--corporate .cv-skill-tag {
    background: #1e3a5f; color: #fff; border-radius: 4px; font-weight: 600;
}

/* India and worldwide specialized CV layouts */
.cv-preview--govt_biodata {
    border: 2px solid #1e40af;
    border-top-width: 10px;
    font-family: Georgia, 'Times New Roman', serif;
}
.cv-preview--govt_biodata header {
    text-align: center;
    border-bottom: 2px double #1e40af;
}
.cv-preview--govt_biodata h3 {
    color: #1e40af;
    text-transform: uppercase;
    border-bottom: 1px solid #bfdbfe;
    padding-bottom: 5px;
}
.cv-preview--indian_pro header {
    background: linear-gradient(90deg, #163c5f 0%, #163c5f 34%, #eef6fb 34%, #eef6fb 100%);
    color: #fff;
    padding: 22px;
    margin: -18px -18px 22px;
}
.cv-preview--indian_pro header h2,
.cv-preview--indian_pro header p,
.cv-preview--indian_pro header span { color: #fff; }
.cv-preview--indian_pro .cv-photo-circle {
    border-color: #fff;
}
.cv-preview--naukri_style {
    border-left: 5px solid #0d47a1;
    border-top: 0;
}
.cv-preview--naukri_style header {
    border-bottom: 3px solid #0d47a1;
}
.cv-preview--naukri_style .cv-skill-tag {
    background: transparent;
    border: 1px solid #9db9e8;
    color: #0d47a1;
}
.cv-preview--fresher_india header {
    background: #e0f2f1;
    border-left: 7px solid #00695c;
    padding: 20px;
    margin: -18px -18px 22px;
}
.cv-preview--fresher_india h3 {
    color: #00695c;
    border-left: 4px solid #80cbc4;
    padding-left: 10px;
}
.cv-preview--contractor {
    border: 2px solid #d8b4fe;
    border-top: 8px solid #4a148c;
}
.cv-preview--contractor h3 {
    background: #f3e8ff;
    color: #4a148c;
    padding: 7px 10px;
    border-radius: 4px;
}
.cv-preview--academic {
    font-family: Georgia, 'Times New Roman', serif;
    border-top: 0;
    border-left: 6px solid #1b5e20;
}
.cv-preview--academic header {
    text-align: center;
    border-bottom: 1px solid #86a986;
}
.cv-preview--academic h3 {
    color: #1b5e20;
    letter-spacing: .8px;
}
.cv-preview--dubai_gulf header {
    background: linear-gradient(135deg, #fff7ed, #fee2e2);
    border-bottom: 4px solid #b71c1c;
    padding: 22px;
    margin: -18px -18px 22px;
}
.cv-preview--dubai_gulf .cv-photo-circle {
    display: flex;
    border-radius: 8px;
}
.cv-preview--dubai_gulf h3 {
    color: #b71c1c;
    text-transform: uppercase;
}
.cv-preview--startup {
    border: 0;
    box-shadow: 0 12px 34px rgba(245, 124, 0, .13);
}
.cv-preview--startup header {
    background: #fff3e0;
    border-radius: 14px;
    padding: 22px;
    margin: -10px -10px 22px;
}
.cv-preview--startup h3 {
    color: #f57c00;
    border-bottom: 2px solid #fed7aa;
    padding-bottom: 5px;
}

/* Real layout differences for CV templates */
.cv-preview--modern,
.cv-preview--tech,
.cv-preview--premium,
.cv-preview--indian_pro,
.cv-preview--dubai_gulf,
.cv-preview--compact,
.cv-preview--startup {
    display: grid;
    grid-template-columns: minmax(155px, .42fr) minmax(0, 1fr);
    column-gap: 24px;
    align-items: start;
}
.cv-preview--modern header,
.cv-preview--tech header,
.cv-preview--premium header,
.cv-preview--indian_pro header,
.cv-preview--dubai_gulf header,
.cv-preview--compact header,
.cv-preview--startup header {
    grid-column: 1 / -1;
}
.cv-preview--modern #prev_skills_sec,
.cv-preview--modern #prev_certifications_sec,
.cv-preview--modern #prev_languages_sec,
.cv-preview--tech #prev_skills_sec,
.cv-preview--tech #prev_certifications_sec,
.cv-preview--tech #prev_languages_sec,
.cv-preview--premium #prev_skills_sec,
.cv-preview--premium #prev_languages_sec,
.cv-preview--indian_pro #prev_skills_sec,
.cv-preview--indian_pro #prev_certifications_sec,
.cv-preview--dubai_gulf #prev_skills_sec,
.cv-preview--dubai_gulf #prev_languages_sec,
.cv-preview--startup #prev_skills_sec,
.cv-preview--startup #prev_projects_sec {
    grid-column: 1;
    border-bottom: 0;
}
.cv-preview--modern #prev_summary_sec,
.cv-preview--modern #prev_education_sec,
.cv-preview--modern #prev_experience_sec,
.cv-preview--modern #prev_projects_sec,
.cv-preview--modern #prev_achievements_sec,
.cv-preview--tech #prev_summary_sec,
.cv-preview--tech #prev_education_sec,
.cv-preview--tech #prev_experience_sec,
.cv-preview--tech #prev_projects_sec,
.cv-preview--premium #prev_summary_sec,
.cv-preview--premium #prev_experience_sec,
.cv-preview--premium #prev_education_sec,
.cv-preview--premium #prev_projects_sec,
.cv-preview--indian_pro #prev_summary_sec,
.cv-preview--indian_pro #prev_experience_sec,
.cv-preview--indian_pro #prev_education_sec,
.cv-preview--dubai_gulf #prev_summary_sec,
.cv-preview--dubai_gulf #prev_experience_sec,
.cv-preview--dubai_gulf #prev_education_sec,
.cv-preview--startup #prev_summary_sec,
.cv-preview--startup #prev_experience_sec,
.cv-preview--startup #prev_education_sec {
    grid-column: 2;
}
.cv-preview--modern section:nth-of-type(2),
.cv-preview--modern section:nth-of-type(6),
.cv-preview--modern section:nth-of-type(8),
.cv-preview--tech section:nth-of-type(2),
.cv-preview--tech section:nth-of-type(6),
.cv-preview--tech section:nth-of-type(8),
.cv-preview--premium section:nth-of-type(2),
.cv-preview--premium section:nth-of-type(8),
.cv-preview--indian_pro section:nth-of-type(2),
.cv-preview--indian_pro section:nth-of-type(6),
.cv-preview--dubai_gulf section:nth-of-type(2),
.cv-preview--dubai_gulf section:nth-of-type(8),
.cv-preview--startup section:nth-of-type(2),
.cv-preview--startup section:nth-of-type(5) {
    grid-column: 1;
    border-bottom: 0;
}
.cv-preview--modern section:nth-of-type(1),
.cv-preview--modern section:nth-of-type(3),
.cv-preview--modern section:nth-of-type(4),
.cv-preview--modern section:nth-of-type(5),
.cv-preview--modern section:nth-of-type(7),
.cv-preview--tech section:nth-of-type(1),
.cv-preview--tech section:nth-of-type(3),
.cv-preview--tech section:nth-of-type(4),
.cv-preview--tech section:nth-of-type(5),
.cv-preview--premium section:nth-of-type(1),
.cv-preview--premium section:nth-of-type(3),
.cv-preview--premium section:nth-of-type(4),
.cv-preview--premium section:nth-of-type(5),
.cv-preview--indian_pro section:nth-of-type(1),
.cv-preview--indian_pro section:nth-of-type(3),
.cv-preview--indian_pro section:nth-of-type(4),
.cv-preview--dubai_gulf section:nth-of-type(1),
.cv-preview--dubai_gulf section:nth-of-type(3),
.cv-preview--dubai_gulf section:nth-of-type(4),
.cv-preview--startup section:nth-of-type(1),
.cv-preview--startup section:nth-of-type(4),
.cv-preview--startup section:nth-of-type(3) {
    grid-column: 2;
}
.cv-preview--modern section:nth-of-type(2),
.cv-preview--tech section:nth-of-type(2),
.cv-preview--premium section:nth-of-type(2),
.cv-preview--indian_pro section:nth-of-type(2),
.cv-preview--dubai_gulf section:nth-of-type(2),
.cv-preview--startup section:nth-of-type(2) {
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
}
.cv-preview--classic {
    font-family: Georgia, 'Times New Roman', serif;
}
.cv-preview--classic header {
    text-align: center;
    border-top: 1px solid #71717a;
    padding-top: 16px;
}
.cv-preview--minimal section {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    align-items: start;
}
.cv-preview--minimal section h3 {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
}
.cv-preview--bold header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 18px;
    background: #fff7ed;
    padding: 20px;
    margin: -18px -18px 22px;
}
.cv-preview--fresher_india {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
}
.cv-preview--fresher_india header,
.cv-preview--fresher_india #prev_summary_sec,
.cv-preview--fresher_india section:nth-of-type(1) {
    grid-column: 1 / -1;
}
.cv-preview--govt_biodata section,
.cv-preview--contractor section {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 16px;
    padding: 10px 0;
}
.cv-preview--govt_biodata section h3,
.cv-preview--contractor section h3 {
    margin: 0;
    border: 0;
}
.cv-preview--academic section {
    border-bottom: 0;
    padding: 10px 0;
}
.cv-preview--academic h3 {
    border-bottom: 1px solid #86a986;
    padding-bottom: 4px;
}

/* Mini previews now communicate format, not only color */
.tpl-modern,
.tpl-tech,
.tpl-indian_pro,
.tpl-dubai_gulf,
.tpl-premium {
    grid-template-columns: 27px 1fr;
    grid-template-rows: 18px auto auto auto 1fr;
}
.tpl-modern .tpl-mini-head,
.tpl-tech .tpl-mini-head,
.tpl-indian_pro .tpl-mini-head,
.tpl-dubai_gulf .tpl-mini-head,
.tpl-premium .tpl-mini-head {
    grid-column: 1 / -1;
}
.tpl-modern .tpl-mini-photo,
.tpl-tech .tpl-mini-photo,
.tpl-indian_pro .tpl-mini-photo,
.tpl-dubai_gulf .tpl-mini-photo,
.tpl-premium .tpl-mini-photo {
    grid-column: 1;
    grid-row: 2 / span 4;
    align-self: start;
}
.tpl-modern .tpl-mini-name,
.tpl-modern .tpl-mini-role,
.tpl-modern .tpl-mini-line,
.tpl-modern .tpl-mini-row,
.tpl-tech .tpl-mini-name,
.tpl-tech .tpl-mini-role,
.tpl-tech .tpl-mini-line,
.tpl-tech .tpl-mini-row,
.tpl-indian_pro .tpl-mini-name,
.tpl-indian_pro .tpl-mini-role,
.tpl-indian_pro .tpl-mini-line,
.tpl-indian_pro .tpl-mini-row,
.tpl-dubai_gulf .tpl-mini-name,
.tpl-dubai_gulf .tpl-mini-role,
.tpl-dubai_gulf .tpl-mini-line,
.tpl-dubai_gulf .tpl-mini-row,
.tpl-premium .tpl-mini-name,
.tpl-premium .tpl-mini-role,
.tpl-premium .tpl-mini-line,
.tpl-premium .tpl-mini-row {
    grid-column: 2;
}
.tpl-minimal .tpl-mini-head,
.tpl-ats .tpl-mini-head {
    height: 2px;
}
.tpl-govt_biodata .tpl-mini-row,
.tpl-contractor .tpl-mini-row,
.tpl-academic .tpl-mini-row {
    display: none;
}
.tpl-govt_biodata .tpl-mini-line,
.tpl-contractor .tpl-mini-line {
    width: 100%;
    border-radius: 0;
}
.tpl-creative .tpl-mini-head,
.tpl-gradient .tpl-mini-head,
.tpl-infographic .tpl-mini-head,
.tpl-startup .tpl-mini-head {
    border-radius: 10px 10px 2px 2px;
    height: 24px;
}
.tpl-compact {
    gap: 2px;
}
.tpl-compact .tpl-mini-line {
    height: 2px;
}

@media (max-width: 720px) {
    .cv-preview--modern,
    .cv-preview--tech,
    .cv-preview--premium,
    .cv-preview--indian_pro,
    .cv-preview--dubai_gulf,
    .cv-preview--compact,
    .cv-preview--startup,
    .cv-preview--fresher_india {
        display: block;
    }
    .cv-preview--minimal section,
    .cv-preview--govt_biodata section,
    .cv-preview--contractor section {
        display: block;
    }
}

.tpl-govt_biodata .tpl-mini-head,
.tpl-contractor .tpl-mini-head,
.tpl-academic .tpl-mini-head { border-radius: 0; }
.tpl-indian_pro .tpl-mini-photo,
.tpl-dubai_gulf .tpl-mini-photo { width: 18px; height: 22px; border-radius: 4px; }
.tpl-naukri_style .tpl-mini-line,
.tpl-fresher_india .tpl-mini-line,
.tpl-startup .tpl-mini-line { height: 2px; }

/* ── Template Category Filter ── */
.template-filter-bar {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; justify-content: center;
}
.template-filter-bar--compact {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 320px);
    gap: 0.85rem;
    align-items: end;
    justify-content: stretch;
}
.template-filter-field {
    display: grid;
    gap: 0.35rem;
}
.template-filter-field span {
    color: var(--muted, #64748b);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
.template-filter-btn {
    padding: 7px 18px; border-radius: 20px; border: 1.5px solid var(--line);
    background: #fff; font-size: 13px; font-weight: 600; color: var(--muted);
    cursor: pointer; transition: all 0.2s;
}
.template-filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.template-filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── Color Theme Picker ── */
.color-theme-picker {
    display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 16px;
    background: #f9fafb; border: 1px solid var(--line); border-radius: 10px;
}
.color-theme-picker__label { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.color-theme-swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.color-swatch {
    width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid transparent;
    cursor: pointer; transition: all 0.2s; position: relative;
}
.color-swatch:hover { transform: scale(1.15); }
.color-swatch.active { border-color: var(--text); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--brand); }
.color-theme-picker input[type="color"] {
    width: 28px; height: 28px; border: 2px solid var(--line); border-radius: 50%;
    cursor: pointer; padding: 0; background: none; -webkit-appearance: none;
}
.color-theme-picker input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.color-theme-picker input[type="color"]::-webkit-color-swatch { border: none; border-radius: 50%; }

/* CV Repeat Builder (Education / Experience structured entry) */
.cv-repeat-builder {
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    margin: 8px 0;
}
.cv-repeat-builder__head { margin-bottom: 12px; }
.cv-repeat-builder__head h3 { font-size: 15px; margin: 2px 0 0; }
.cv-entry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.cv-entry-grid label span { font-size: 12px; color: var(--muted); }
.cv-entry-grid input { font-size: 13px; padding: 8px 10px; }
.cv-entry-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.cv-entry-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
}
.cv-entry-pill button {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

#cvPrintRoot {
    position: fixed;
    left: -10000px;
    top: 0;
    width: 190mm;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* Print styles */
@media print {
    @page { size: A4; margin: 10mm; }
    html,
    body {
        width: auto !important;
        min-width: 0 !important;
        background: #fff !important;
    }
    body.cv-printing > *:not(#cvPrintRoot) {
        display: none !important;
    }
    body.cv-printing #cvPrintRoot {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: auto !important;
        background: #fff !important;
    }
    body.cv-printing #cvPrintRoot *,
    body.cv-printing #cvPrintRoot .cv-preview {
        visibility: visible !important;
    }
    body.cv-printing #cvPrintRoot .cv-print-shell {
        display: block !important;
        width: 190mm !important;
        max-width: 190mm !important;
        margin: 0 auto !important;
        background: #fff !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview {
        display: block !important;
        position: static !important;
        box-sizing: border-box !important;
        width: 190mm !important;
        max-width: 100% !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: var(--cv-page-pad-y, 7mm) var(--cv-page-pad-x, 7mm) calc(var(--cv-page-pad-y, 7mm) + 1mm) !important;
        box-shadow: none !important;
        background: #fff !important;
        transform: none !important;
        overflow: visible !important;
        color: #111827 !important;
        font-size: var(--cv-body-size, 9.8pt) !important;
        line-height: var(--cv-line-height, 1.28) !important;
        print-color-adjust: exact !important;
        -webkit-print-color-adjust: exact !important;
        page-break-after: auto !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview header {
        margin: 0 0 5.5mm !important;
        padding: 0 0 3mm !important;
        border-bottom-width: 1.5pt !important;
        page-break-inside: avoid !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview h2 {
        font-size: 20pt !important;
        line-height: 1.06 !important;
        margin: 0 0 2mm !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview h3 {
        font-size: 10.5pt !important;
        margin: 0 0 2mm !important;
        letter-spacing: 0 !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview p,
    body.cv-printing #cvPrintRoot .cv-preview span,
    body.cv-printing #cvPrintRoot .cv-preview li {
        font-size: var(--cv-body-size, 9.8pt) !important;
        line-height: var(--cv-line-height, 1.28) !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview section {
        padding: var(--cv-section-gap, 3mm) 0 !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview section:first-of-type {
        padding-top: 0 !important;
    }
    body.cv-printing #cvPrintRoot .cv-preview--executive header,
    body.cv-printing #cvPrintRoot .cv-preview--creative header,
    body.cv-printing #cvPrintRoot .cv-preview--infographic header,
    body.cv-printing #cvPrintRoot .cv-preview--gradient header,
    body.cv-printing #cvPrintRoot .cv-preview--indian_pro header,
    body.cv-printing #cvPrintRoot .cv-preview--dubai_gulf header,
    body.cv-printing #cvPrintRoot .cv-preview--startup header {
        margin: 0 0 8mm !important;
        border-radius: 4px !important;
    }
    .cv-preview-toolbar, .cv-actions, .site-header, .topbar, .site-footer, .whatsapp-float { display: none !important; }
}

/* Responsive */
@media (max-width: 900px) {
    .cv-builder-layout {
        grid-template-columns: 1fr;
    }
    .cv-preview-sticky { position: static; }
    .cv-entry-grid { grid-template-columns: 1fr; }
    .cv-preview-toolbar {
        align-items: stretch;
        flex-direction: column;
    }
    .cv-preview-tools {
        justify-content: flex-start;
    }
    .cv-template-switcher {
        width: min(100%, 280px);
    }
}

.ai-output,
.ai-review-card {
    margin-top: 18px;
}

.ai-output h3,
.ai-review-card h2 {
    margin: 0 0 8px;
}

.ai-review-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.ai-review-card li + li {
    margin-top: 8px;
}

/* ============================================
   AUTO APPLY STYLES
   ============================================ */
.auto-apply-hero {
    background: linear-gradient(135deg, rgba(15,118,110,.08), rgba(232,93,63,.06)), #fff;
}

.upload-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    border: 1px dashed var(--brand);
    border-radius: 8px;
    background: var(--brand-soft);
    padding: 18px;
}

.upload-panel h3 {
    font-size: 20px;
    margin: 6px 0;
}

.upload-panel p {
    margin: 0;
    color: var(--muted);
}

.auto-apply-scope-note {
    margin: 0 0 16px;
    border: 1px solid #99f6e4;
    border-radius: 8px;
    background: #f0fdfa;
    color: #134e4a;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.auto-apply-scope-note strong {
    color: #0f766e;
}

.form-alert {
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 700;
}

.form-alert--error {
    background: #fee2e2;
    color: #991b1b;
}

.form-alert--success {
    background: #dcfce7;
    color: #166534;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.feature-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    padding: 24px;
    text-align: center;
    transition: transform .2s;
}

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

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

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

.matching-jobs-grid {
    display: grid;
    gap: 14px;
}

.match-card {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    padding: 20px;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 16px;
    align-items: center;
    transition: box-shadow .2s;
}

.match-card:hover {
    box-shadow: 0 8px 24px rgba(23,33,31,.08);
}

.match-score {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 18px;
    color: #fff;
}

.match-score--high { background: linear-gradient(135deg, #059669, #10b981); }
.match-score--medium { background: linear-gradient(135deg, #d97706, #f59e0b); }
.match-score--low { background: linear-gradient(135deg, #dc2626, #ef4444); }

.match-card h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.match-card p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

.apply-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.apply-status--applied { background: #dcfce7; color: #166534; }
.apply-status--pending { background: #fef3c7; color: #92400e; }
.apply-status--matching { background: var(--brand-soft); color: var(--brand-dark); }

.step-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 32px 0;
    counter-reset: step;
}

.step-item {
    text-align: center;
    position: relative;
    counter-increment: step;
}

.step-item::before {
    content: counter(step);
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 14px;
}

.step-item h4 {
    font-size: 15px;
    margin: 0 0 6px;
}

.step-item p {
    font-size: 13px;
    color: var(--muted);
}

.step-item + .step-item::after {
    content: '';
    position: absolute;
    top: 22px;
    right: 100%;
    width: calc(100% - 44px);
    height: 2px;
    background: var(--line);
    transform: translateX(-10px);
}

/* ============================================
   SUBSCRIPTION / PRICING
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.pricing-card {
    border: 2px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: transform .2s, box-shadow .2s;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(23,33,31,.1);
}

.pricing-card--featured {
    border-color: var(--brand);
    box-shadow: 0 12px 36px rgba(15,118,110,.15);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 42px;
    font-weight: 900;
    color: var(--brand-dark);
    line-height: 1;
}

.pricing-card .price small {
    font-size: 16px;
    font-weight: 600;
    color: var(--muted);
}

.pricing-card .feature-list {
    text-align: left;
    margin: 24px 0;
    display: grid;
    gap: 10px;
}

.pricing-card .feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    list-style: none;
}

.pricing-card .feature-list li::before {
    content: '\2713';
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 900;
    font-size: 12px;
    flex-shrink: 0;
}

.pricing-wallet-hero {
    background:
        linear-gradient(120deg, rgba(15, 118, 110, .12), rgba(232, 93, 63, .10)),
        #f8fbfa;
    border-bottom: 1px solid var(--line);
}
.pricing-wallet-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: center;
    padding: 56px 0;
}
.pricing-wallet-hero h1 {
    max-width: 780px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.03;
    margin: 8px 0 14px;
    color: var(--ink);
}
.pricing-wallet-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
}
.pricing-wallet-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.pricing-wallet-balance {
    border: 1px solid rgba(15, 118, 110, .22);
    border-radius: 14px;
    padding: 24px;
    background:
        linear-gradient(160deg, #0f766e, #155e75 72%, #e85d3f);
    color: #fff;
    box-shadow: 0 18px 42px rgba(15, 118, 110, .18);
}
.pricing-wallet-balance span,
.pricing-wallet-balance small {
    display: block;
    color: rgba(255,255,255,.82);
    font-weight: 700;
}
.pricing-wallet-balance span {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .78rem;
}
.pricing-wallet-balance strong {
    display: block;
    margin: 10px 0;
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1;
}
.pricing-wallet-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 22px;
    align-items: start;
}
.pricing-checkout-panel,
.pricing-rules-panel,
.coin-service-card,
.payment-fallback-panel {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(23,33,31,.06);
}
.pricing-checkout-panel {
    padding: clamp(18px, 3vw, 28px);
}
.pricing-checkout-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.pricing-checkout-panel__head h2 {
    margin: 4px 0 8px;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}
.pricing-checkout-panel__head p {
    max-width: 640px;
    color: var(--muted);
    line-height: 1.6;
}
.pricing-checkout-panel__head > strong {
    flex: none;
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: .95rem;
}
.payment-alert {
    margin-top: 14px;
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 700;
    line-height: 1.5;
}
.payment-alert--warning {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}
.payment-alert--success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}
.coin-buy-box {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.coin-buy-box__input {
    display: grid;
    gap: 7px;
    color: var(--ink);
    font-weight: 800;
}
.coin-buy-box__input input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
}
.coin-preset-row,
.coin-buy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.coin-preset-row button {
    border: 1px solid #bde7df;
    border-radius: 999px;
    background: #f0fdfa;
    color: #0f766e;
    padding: 8px 13px;
    font-weight: 900;
    cursor: pointer;
}
.coin-preset-row button:hover {
    background: #0f766e;
    color: #fff;
}
.coin-ack-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
}
.coin-ack-row input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0f766e;
}
.coin-buy-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #cfe8e2;
    border-radius: 12px;
    padding: 14px 16px;
    background: linear-gradient(90deg, #f0fdfa, #fff);
}
.coin-buy-total span {
    color: #64748b;
    font-weight: 800;
}
.coin-buy-total strong {
    color: #0f172a;
    font-size: 1.45rem;
}
.coin-buy-status {
    min-height: 22px;
    color: #64748b;
    font-weight: 700;
}
.coin-buy-status[data-tone="working"] { color: #0369a1; }
.coin-buy-status[data-tone="success"] { color: #047857; }
.coin-buy-status[data-tone="error"] { color: #dc2626; }
.payment-fallback-panel {
    display: grid;
    gap: 9px;
    margin-top: 18px;
    padding: 16px;
    background: #fff7ed;
    border-color: #fed7aa;
}
.payment-fallback-panel[hidden] { display: none; }
.payment-fallback-panel strong { color: #9a3412; }
.payment-fallback-panel p,
.payment-fallback-panel small { color: #7c2d12; line-height: 1.55; }
.payment-fallback-panel .button { width: fit-content; }
.pricing-rules-panel {
    padding: 22px;
    position: sticky;
    top: 92px;
}
.pricing-rules-panel h3 {
    margin: 6px 0 14px;
    font-size: 1.25rem;
}
.pricing-rules-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.pricing-rules-panel li {
    list-style: none;
    display: flex;
    gap: 9px;
    color: #475569;
    line-height: 1.45;
}
.pricing-rules-panel li::before {
    content: '';
    width: 8px;
    height: 8px;
    margin-top: .55em;
    border-radius: 50%;
    background: #e85d3f;
    flex: none;
}
.coin-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.coin-service-card {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 260px;
    padding: 20px;
}
.coin-service-card span {
    color: #0f766e;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.coin-service-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.25;
}
.coin-service-card strong {
    color: #c2410c;
    font-size: 1.35rem;
}
.coin-service-card p {
    color: var(--muted);
    line-height: 1.55;
}
.coin-service-card .button {
    margin-top: auto;
    justify-content: center;
}
.coin-service-card--featured {
    border-color: #0f766e;
    background: linear-gradient(180deg, #ecfdf5, #fff);
}

@media (max-width: 980px) {
    .pricing-wallet-hero__inner,
    .pricing-wallet-grid {
        grid-template-columns: 1fr;
    }
    .pricing-rules-panel { position: static; }
    .coin-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .pricing-checkout-panel__head,
    .coin-buy-total {
        align-items: flex-start;
        flex-direction: column;
    }
    .coin-service-grid { grid-template-columns: 1fr; }
    .pricing-wallet-hero__inner { padding: 34px 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.path-card,
.community-card,
.template-card,
.feature-card,
.pricing-card {
    animation: fade-up .5s ease both;
}

.path-card:nth-child(2), .template-card:nth-child(2) { animation-delay: .08s; }
.path-card:nth-child(3), .template-card:nth-child(3) { animation-delay: .16s; }
.path-card:nth-child(4), .template-card:nth-child(4) { animation-delay: .24s; }

/* Smooth hover for all interactive cards */
.path-card { transition: transform .2s, box-shadow .2s; }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(23,33,31,.08); }

.chip-cloud a { transition: background .2s, border-color .2s, color .2s; }
.chip-cloud a:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 980px) {
    .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
    .community-grid { grid-template-columns: 1fr 1fr; }
    .template-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-cards { grid-template-columns: 1fr 1fr; }
    .govt-category-grid { grid-template-columns: repeat(2, 1fr); }
    .government-home-grid,
    .public-note { grid-template-columns: 1fr; }
    .home-pathways__candidate,
    .home-pathways__employer { grid-template-columns: 1fr; align-items: stretch; }
    .closing-panel { position: static; }
    .public-note > div { justify-content: flex-start; }
    .deadline-list a { grid-template-columns: 1fr; }
    .alert-panel { grid-template-columns: 1fr; }
    .cv-result-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
    .step-flow { grid-template-columns: 1fr 1fr; }
    .step-item + .step-item::after { display: none; }
    .cta-band--matcher, .cta-band--employer { padding: 28px; }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 24px, 1160px);
    }

    .topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .topbar a {
        display: none;
    }

    .menu-button {
        display: inline-flex;
        align-items: center;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        padding: 8px;
        box-shadow: var(--shadow);
    }

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

    .hero-grid {
        min-height: auto;
        padding: 42px 0;
        gap: 32px;
    }

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

    .split-heading,
    .category-grid,
    .cta-band,
    .job-card,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .path-grid,
    .card-grid,
    .govt-category-grid,
    .public-copy-grid,
    .dashboard-metrics,
    .dashboard-grid,
    .onboarding-grid,
    .form-grid,
    .detail-list,
    .checkbox-grid,
    .checkbox-grid--small,
    .cv-entry-grid,
    .upload-panel,
    .application-board,
    .status-form,
    .preview-body {
        grid-template-columns: 1fr;
    }

    .dashboard-hero,
    .dashboard-welcome {
        align-items: stretch;
        flex-direction: column;
    }

    .job-card__main {
        grid-template-columns: 1fr;
    }

    .job-card__icon {
        width: 44px;
        height: 44px;
    }

    .match-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .match-score {
        width: 52px;
        height: 52px;
    }
}

/* ─── CV Maker Advanced Features ───────────────────────── */
.cv-ai-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 16px 0;
}
.cv-ai-tool {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    background: var(--surface);
}
.cv-ai-tool:hover {
    border-color: var(--brand);
    background: var(--surface-soft);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15,118,110,.1);
}
.cv-ai-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.cv-ai-tool strong {
    font-size: 13px;
    display: block;
}
.cv-ai-tool small {
    font-size: 11px;
    color: var(--muted);
}

/* ATS Score Badge */
.ats-score-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}
.ats-score-badge:hover { border-color: var(--brand); }
.ats-score-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}
.ats-score-info strong {
    font-size: 13px;
    display: block;
}
.ats-score-info small {
    font-size: 11px;
    color: var(--muted);
}

/* ATS Report */
.ats-report { font-size: 14px; }
.ats-report__score {
    text-align: center;
    margin-bottom: 16px;
}
.ats-big-score {
    font-size: 48px;
    font-weight: 900;
    font-family: var(--font-display);
}
.ats-report ul {
    margin: 0 0 8px 0;
    padding-left: 18px;
}
.ats-report li {
    margin-bottom: 4px;
    line-height: 1.5;
}

/* Modal */
.cv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.cv-modal {
    background: var(--surface);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.cv-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}
.cv-modal__head h3 {
    font-size: 16px;
    font-weight: 700;
}
.cv-modal__head button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
    padding: 0 4px;
}
.cv-modal__body {
    padding: 24px;
}

@media (max-width: 640px) {
    .cv-ai-tools { grid-template-columns: 1fr; }
    .cv-modal { max-width: 100%; margin: 10px; }
}

/* ═══════════════════════════════════════════════
   ADVANCED HOMEPAGE v2 — rs- namespace
   ═══════════════════════════════════════════════ */

/* ── Hero ── */
.rs-hero {
    background: linear-gradient(135deg, #0c322e 0%, #134e47 40%, #1a6b62 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.rs-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,93,63,.15), transparent 70%);
    pointer-events: none;
}
.rs-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 48px;
    padding: 56px 0 60px;
    position: relative;
}
.rs-hero__content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 14px;
}
.rs-hero__content p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 0 28px;
}
.rs-hero__search {
    display: flex;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    overflow: hidden;
    max-width: 500px;
    margin-bottom: 24px;
    transition: border-color .2s;
}
.rs-hero__search:focus-within {
    border-color: rgba(255,255,255,.4);
    background: rgba(255,255,255,.16);
}
.rs-hero__search input {
    flex: 1;
    border: none;
    background: none;
    color: #fff;
    padding: 14px 18px;
    font: inherit;
    font-size: 15px;
    outline: none;
}
.rs-hero__search input::placeholder { color: rgba(255,255,255,.45); }
.rs-hero__search button {
    border: none;
    background: var(--accent);
    color: #fff;
    padding: 0 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .2s;
}
.rs-hero__search button:hover { background: var(--accent-dark); }
.rs-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.rs-hero__cards {
    display: grid;
    gap: 14px;
}
.rs-hero-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(8px);
    transition: transform .2s, border-color .2s;
}
.rs-hero-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.25);
}
.rs-hero-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.rs-hero-card--govt .rs-hero-card__icon { background: rgba(16,185,129,.2); color: #6ee7b7; }
.rs-hero-card--private .rs-hero-card__icon { background: rgba(139,92,246,.2); color: #c4b5fd; }
.rs-hero-card--tools .rs-hero-card__icon { background: rgba(232,93,63,.2); color: #fca5a5; }
.rs-hero-card strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}
.rs-hero-card small {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    margin-top: 2px;
}

/* ── Buttons ── */
.rs-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
}
.rs-btn--primary { background: var(--brand); color: #fff; }
.rs-btn--primary:hover { background: var(--brand-dark); }
.rs-btn--accent { background: var(--accent); color: #fff; }
.rs-btn--accent:hover { background: var(--accent-dark); }
.rs-btn--ghost {
    background: rgba(255,255,255,.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
}
.rs-btn--ghost:hover { background: rgba(255,255,255,.18); }
.rs-btn--full { width: 100%; justify-content: center; }

/* ── Quick Nav ── */
.rs-quick-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 0;
}
.rs-quick-nav__inner {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px 0;
}
.rs-quick-nav__inner::-webkit-scrollbar { display: none; }
.rs-quick-nav__inner a {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 650;
    font-size: 13px;
    color: var(--text);
    transition: all .2s;
}
.rs-quick-nav__inner a:hover {
    background: var(--brand-soft);
    color: var(--brand);
}
.rs-quick-nav__inner a span { font-size: 16px; }

/* ── Ticker ── */
.rs-ticker {
    background: #111;
    color: #fff;
    padding: 0;
    overflow: hidden;
}
.rs-ticker__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 40px;
}
.rs-ticker__label {
    background: var(--accent);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 800;
    white-space: nowrap;
}
.rs-ticker__track {
    display: flex;
    gap: 32px;
    overflow: hidden;
    white-space: nowrap;
    animation: rs-ticker-scroll 35s linear infinite;
}
.rs-ticker__track:hover { animation-play-state: paused; }
.rs-ticker__track a {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s;
}
.rs-ticker__track a:hover { color: #fff; }
@keyframes rs-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Section ── */
.rs-section {
    padding: 48px 0;
}
.rs-section--alt {
    background: var(--surface-soft);
}
.rs-section--dark {
    background: linear-gradient(135deg, #0c322e, #134e47);
    color: #fff;
}
.rs-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    gap: 16px;
}
.rs-section__head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.rs-section__head h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}
.rs-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brand);
    margin-bottom: 4px;
}
.rs-eyebrow--light { color: rgba(255,255,255,.55); }
.rs-eyebrow--red { color: var(--accent); }
.rs-link {
    color: var(--brand);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: color .2s;
}
.rs-link:hover { color: var(--brand-dark); }

/* ── Govt Grid ── */
.rs-govt-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
.rs-job-list {
    display: grid;
    gap: 12px;
}
.rs-closing {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 100px;
}
.rs-closing__head {
    margin-bottom: 16px;
}
.rs-closing__head h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 4px 0 0;
}
.rs-closing__list {
    display: grid;
    gap: 2px;
    margin-bottom: 16px;
}
.rs-closing__item {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    transition: background .2s;
}
.rs-closing__item:hover { background: var(--surface-soft); }
.rs-closing__item strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}
.rs-closing__item div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rs-closing__item span {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 600;
}
.rs-closing__item em {
    font-style: normal;
    font-size: .75rem;
    font-weight: 800;
    color: var(--accent);
}

/* ── Card Row ── */
.rs-card-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

/* ── Category Grid ── */
.rs-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}
.rs-cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all .2s;
}
.rs-cat-card:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 16px rgba(15,118,110,.1);
    transform: translateY(-2px);
}
.rs-cat-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: .85rem;
    flex-shrink: 0;
}
.rs-cat-card strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
}
.rs-cat-card small {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    margin-top: 2px;
}

/* ── Steps ── */
.rs-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.rs-step {
    flex: 1;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all .25s;
}
.rs-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--brand);
}
.rs-step__num {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), #1da99b);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 14px;
}
.rs-step h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 8px;
}
.rs-step p {
    color: var(--muted);
    font-size: .88rem;
    margin: 0;
    line-height: 1.5;
}
.rs-step__arrow {
    font-size: 1.5rem;
    color: var(--muted);
    font-weight: 300;
}

/* ── Tool Cards ── */
.rs-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.rs-tool-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all .25s;
    display: block;
}
.rs-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    border-color: transparent;
}
.rs-tool-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    background: color-mix(in srgb, var(--tc) 12%, transparent);
    color: var(--tc);
}
.rs-tool-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--ink);
}
.rs-tool-card p {
    color: var(--muted);
    font-size: .85rem;
    margin: 0;
    line-height: 1.45;
}

/* ── Dual CTA ── */
.rs-dual-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.rs-dual-cta__card {
    padding: 36px 32px;
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    transition: border-color .2s;
}
.rs-dual-cta__card:hover { border-color: rgba(255,255,255,.22); }
.rs-dual-cta__card h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 8px 0;
    line-height: 1.3;
}
.rs-dual-cta__card p {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    margin-bottom: 20px;
}

/* ── Chips ── */
.rs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.rs-chip {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: .82rem;
    font-weight: 650;
    color: var(--text);
    transition: all .2s;
}
.rs-chip:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
}

/* ── Homepage Responsive ── */
@media (max-width: 900px) {
    .rs-hero__inner {
        grid-template-columns: 1fr;
        padding: 36px 0 40px;
        gap: 28px;
    }
    .rs-hero__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .rs-hero-card { padding: 14px 16px; }
    .rs-govt-grid {
        grid-template-columns: 1fr;
    }
    .rs-closing { position: static; }
    .rs-steps { flex-direction: column; gap: 12px; }
    .rs-step__arrow { transform: rotate(90deg); }
    .rs-tools-grid { grid-template-columns: 1fr; }
    .rs-dual-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .rs-hero__content h1 { font-size: 1.7rem; }
    .rs-hero__cards { grid-template-columns: 1fr; }
    .rs-hero__cta { flex-direction: column; }
    .rs-hero__cta .rs-btn { width: 100%; justify-content: center; }
    .rs-quick-nav__inner a { padding: 8px 12px; font-size: 12px; }
    .rs-cat-grid { grid-template-columns: 1fr; }
}

.ad-slot {
    padding: 18px 0;
    background: #f8fafc;
}
.ad-slot .container {
    min-height: 90px;
}
.ad-slot--home {
    background: #eefaf8;
}

.coin-wallet-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    margin: 18px 0;
    border: 1px solid #cce8e2;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0fdfa, #ffffff);
    box-shadow: 0 12px 30px rgba(15, 118, 110, .08);
}
.coin-wallet-card span {
    display: block;
    color: #0f766e;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.coin-wallet-card strong {
    display: block;
    color: #0f172a;
    font-size: 2rem;
    line-height: 1.1;
}
.coin-wallet-card small {
    display: block;
    color: #64748b;
    margin-top: 5px;
    line-height: 1.45;
}
.dashboard-shell .coin-wallet-card:not(.coin-wallet-card--employer),
.dashboard-shell .coin-wallet-card:not(.coin-wallet-card--employer) > div,
.dashboard-shell .coin-wallet-card:not(.coin-wallet-card--employer) .coin-wallet-actions,
.onboarding-wallet-section .coin-wallet-card,
.onboarding-wallet-section .coin-wallet-card > div,
.onboarding-wallet-section .coin-wallet-actions {
    color: #0f172a;
}
.coin-wallet-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.coin-wallet-actions a,
.coin-wallet-actions button {
    border: 1px solid #0f766e;
    border-radius: 999px;
    padding: 9px 14px;
    background: #0f766e;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    font-size: .86rem;
}
.coin-wallet-actions a:first-child {
    background: #fff;
    color: #0f766e;
}
.dashboard-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.wallet-summary-card {
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    border-color: #bde7df;
}
.wallet-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.wallet-balance-row span {
    display: block;
    color: #0f766e;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.wallet-balance-row strong {
    display: block;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin: 6px 0;
}
.wallet-balance-row small {
    color: #64748b;
    line-height: 1.45;
}
.wallet-service-actions {
    display: grid;
    gap: 10px;
    min-width: min(100%, 280px);
}
.wallet-service-actions button,
.wallet-service-actions a {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 11px 14px;
    background: #0f766e;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}
.wallet-service-actions form + form button,
.wallet-service-actions a + a {
    background: #e85d3f;
}
.wallet-ledger-list {
    display: grid;
    gap: 10px;
}
.wallet-ledger-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
}
.wallet-ledger-row strong {
    display: block;
    color: #0f172a;
    text-transform: capitalize;
}
.wallet-ledger-row small {
    display: block;
    color: #64748b;
    margin-top: 3px;
}
.wallet-ledger-row > span {
    white-space: nowrap;
    align-self: center;
    font-weight: 900;
}
.wallet-ledger-row .is-credit { color: #047857; }
.wallet-ledger-row .is-debit { color: #dc2626; }
.wallet-ledger-row .is-pending { color: #b45309; }

@media (max-width: 700px) {
    .coin-wallet-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .coin-wallet-actions {
        justify-content: flex-start;
        width: 100%;
    }
    .coin-wallet-actions a,
    .coin-wallet-actions button {
        flex: 1 1 auto;
        text-align: center;
    }
    .dashboard-wallet-grid {
        grid-template-columns: 1fr;
    }
    .wallet-balance-row,
    .wallet-ledger-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
.rs-cat-card__body strong { display: block; font-weight: 700; color: var(--text); font-size: 14px; }
.rs-cat-card__body small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

/* Candidate wallet: readable light panels on a premium dark header */
.wallet-page {
    background: linear-gradient(180deg, #11211f 0 430px, #f5faf8 430px 100%);
    color: var(--text);
}

.wallet-page .dashboard-hero {
    color: #fff;
    padding-top: 8px;
}

.wallet-page .dashboard-hero h1 {
    max-width: 760px;
    font-size: clamp(2.25rem, 5vw, 4.6rem);
    line-height: 1.05;
}

.wallet-page .dashboard-hero p {
    max-width: 820px;
    color: #d7ebe7;
    font-weight: 600;
}

.wallet-page .eyebrow--light {
    border-color: rgba(255,255,255,.24);
    background: rgba(255,255,255,.08);
    color: #f8fffd;
}

.wallet-page .wallet-profile-card {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 20px 55px rgba(0,0,0,.20);
}

.wallet-page .wallet-profile-card span,
.wallet-page .wallet-profile-card small {
    color: #d7ebe7;
}

.wallet-page .wallet-profile-card strong {
    color: #fff;
}

.wallet-page .wallet-panel {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0 0 28px;
}

.wallet-page .wallet-top-actions {
    margin: 6px 0 18px;
    padding: 14px;
    border: 1px solid #d9e7e3;
    border-radius: 12px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 14px 45px rgba(15, 35, 35, .08);
}

.wallet-page .wallet-top-actions .button {
    border-radius: 10px;
    font-weight: 900;
}

.wallet-page .wallet-summary-card,
.wallet-page .wallet-buy-card,
.wallet-page .wallet-history-grid .dashboard-card,
.wallet-page .document-card {
    border: 1px solid #d9e7e3;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 18px 50px rgba(15, 35, 35, .09);
}

.wallet-page .wallet-summary-card {
    min-height: 100%;
}

.wallet-page .dashboard-card__head {
    align-items: flex-start;
}

.wallet-page .dashboard-card__head h3,
.wallet-page .wallet-ledger-row strong,
.wallet-page .wallet-document-list strong,
.wallet-page .buy-coins-widget__balance {
    color: #0f172a;
}

.wallet-page .dashboard-card__head span,
.wallet-page .dashboard-card__head a {
    border: 1px solid #cce8e2;
    background: #eefaf8;
    color: #0f766e;
}

.wallet-page .dashboard-card p,
.wallet-page .muted,
.wallet-page .wallet-rate-list span,
.wallet-page .wallet-document-list span,
.wallet-page .wallet-ledger-row small,
.wallet-page .document-card p,
.wallet-page .document-card__meta,
.wallet-page .buy-coins-widget__hint {
    color: #566b66;
}

.wallet-page .wallet-rate-list div,
.wallet-page .wallet-ledger-row,
.wallet-page .wallet-document-list a {
    border-color: #dce9e6;
    background: #f8fcfb;
}

.wallet-page .wallet-rate-list div {
    grid-template-columns: 86px minmax(0, 1fr);
}

.wallet-page .wallet-rate-list strong {
    color: #0f766e;
}

.wallet-page .wallet-service-actions button,
.wallet-page .wallet-service-actions a {
    border-radius: 10px;
    min-height: 44px;
}

.wallet-page .wallet-buy-card {
    padding: 20px;
}

.wallet-page .wallet-buy-card > .buy-coins-widget {
    margin-top: 14px;
}

.wallet-page .buy-coins-widget {
    border-color: #cce8e2;
    background: linear-gradient(135deg, #f0fdfa, #ffffff);
    color: #0f172a;
    box-shadow: none;
}

.wallet-page .buy-coins-widget__rules span {
    background: #ffffff;
    border: 1px solid #dce9e6;
    color: #1f3935;
}

.wallet-page .buy-coins-widget__form label,
.wallet-page .buy-coins-widget__ack span {
    color: #17211f;
}

.wallet-page .buy-coins-widget__alert {
    background: #fff7ed;
    color: #9a3412;
    border-color: #fed7aa;
}

.wallet-page .wallet-ledger-row > span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eefaf8;
}

.wallet-page .wallet-ledger-row .is-credit { color: #047857; }
.wallet-page .wallet-ledger-row .is-debit { color: #dc2626; background: #fff1f2; }
.wallet-page .wallet-ledger-row .is-pending { color: #b45309; background: #fffbeb; }

@media (max-width: 860px) {
    .wallet-page {
        background: linear-gradient(180deg, #11211f 0 520px, #f5faf8 520px 100%);
    }

    .wallet-page .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

.wallet-page .wallet-profile-card {
    width: 100%;
    min-width: 0;
    }
}

/* Final contrast guard for wallet/document pages.
   These are intentionally last so dashboard dark-theme rules cannot leak into
   the light wallet cards after future upgrades. */
.wallet-page .wallet-panel {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.wallet-page .wallet-summary-card,
.wallet-page .wallet-buy-card,
.wallet-page .wallet-history-grid .dashboard-card,
.wallet-page .document-grid .dashboard-card,
.wallet-page .buy-coins-widget,
.wallet-page .wallet-document-list a,
.wallet-page .wallet-rate-list div,
.wallet-page .wallet-ledger-row {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.wallet-page .wallet-summary-card h1,
.wallet-page .wallet-summary-card h2,
.wallet-page .wallet-summary-card h3,
.wallet-page .wallet-buy-card h1,
.wallet-page .wallet-buy-card h2,
.wallet-page .wallet-buy-card h3,
.wallet-page .wallet-history-grid h1,
.wallet-page .wallet-history-grid h2,
.wallet-page .wallet-history-grid h3,
.wallet-page .document-grid h1,
.wallet-page .document-grid h2,
.wallet-page .document-grid h3,
.wallet-page .wallet-rate-list strong,
.wallet-page .wallet-ledger-row strong,
.wallet-page .wallet-document-list strong,
.wallet-page .buy-coins-widget strong,
.wallet-page .buy-coins-widget .eyebrow {
    color: #0f172a !important;
}

.wallet-page .wallet-summary-card p,
.wallet-page .wallet-summary-card small,
.wallet-page .wallet-summary-card .muted,
.wallet-page .wallet-summary-card .dashboard-card__head span,
.wallet-page .wallet-summary-card .dashboard-card__head a,
.wallet-page .wallet-buy-card p,
.wallet-page .wallet-buy-card small,
.wallet-page .wallet-buy-card .muted,
.wallet-page .wallet-buy-card .dashboard-card__head span,
.wallet-page .wallet-history-grid p,
.wallet-page .wallet-history-grid small,
.wallet-page .wallet-history-grid .muted,
.wallet-page .document-grid p,
.wallet-page .document-grid small,
.wallet-page .document-grid .muted,
.wallet-page .wallet-rate-list span,
.wallet-page .wallet-ledger-row small,
.wallet-page .wallet-document-list span,
.wallet-page .buy-coins-widget span,
.wallet-page .buy-coins-widget small,
.wallet-page .buy-coins-widget label {
    color: #475569 !important;
}

.wallet-page .dashboard-card__head span,
.wallet-page .dashboard-card__head a,
.wallet-page .document-card__meta span {
    background: #eefaf8 !important;
    border-color: #cce8e2 !important;
    color: #0f766e !important;
}

.wallet-page .wallet-service-actions button,
.wallet-page .wallet-service-actions a,
.wallet-page .document-card__actions a,
.wallet-page .wallet-top-actions .button--primary,
.wallet-page .buy-coins-widget .button {
    color: #ffffff !important;
}

.wallet-page .wallet-top-actions .button--ghost,
.wallet-page .document-card__actions a:last-child {
    background: #ffffff !important;
    color: #0f766e !important;
    border-color: #cce8e2 !important;
}

.wallet-page :where(.wallet-summary-card, .wallet-buy-card, .wallet-history-grid .dashboard-card, .document-grid .dashboard-card, .buy-coins-widget) :where(p, small, label, li, td, th),
.wallet-page :where(.wallet-summary-card, .wallet-buy-card, .wallet-history-grid .dashboard-card, .document-grid .dashboard-card, .buy-coins-widget) :where(div:not(.button):not(.pill), span:not(.button):not(.pill)) {
    color: #334155 !important;
}

.wallet-page .wallet-rate-list div span,
.wallet-page .wallet-document-list a span,
.wallet-page .buy-coins-widget__rules span,
.wallet-page .buy-coins-widget__hint {
    color: #334155 !important;
}

.wallet-page :where(.wallet-summary-card, .wallet-buy-card, .wallet-history-grid .dashboard-card, .document-grid .dashboard-card, .buy-coins-widget) :where(h1, h2, h3, h4, strong, b),
.wallet-page .wallet-rate-list strong,
.wallet-page .buy-coins-widget__balance {
    color: #0f172a !important;
}

.wallet-page :where(button, .button, .wallet-service-actions a, .wallet-service-actions button, .buy-coins-widget .button) {
    color: #ffffff !important;
}

.wallet-page .wallet-top-actions .button--ghost,
.wallet-page .document-card__actions a:last-child {
    color: #0f766e !important;
}

/* ===========================================================
   SOP §31/§47 — JobTextFormatter typography (rsl-fmt)
   Parses long blob fields (qualification, application fee,
   selection process, description) into structured headings,
   bullets, and highlights so the public detail page reads
   like a recruitment notice instead of a wall of bold text.
   =========================================================== */

.rsl-fmt {
    color: #0f172a;
    font-size: 0.97rem;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rsl-fmt__section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f766e;
    border-radius: 10px;
    padding: 14px 18px;
}

.rsl-fmt__section:first-child:not(:has(.rsl-fmt__head)) {
    border-left-color: #cbd5e1;
}

.rsl-fmt__head {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f766e;
    letter-spacing: .01em;
    text-transform: none;
}

.rsl-fmt__p {
    margin: 0;
    color: #1f2937;
}

.rsl-fmt__lead {
    margin: 0 0 8px 0;
    color: #334155;
    font-weight: 500;
}

.rsl-fmt__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rsl-fmt__list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #1f2937;
}

.rsl-fmt__list--plain li::before {
    content: none;
}

.rsl-fmt__bullet {
    flex: 0 0 auto;
    font-weight: 700;
    color: #0f766e;
    min-width: 26px;
}

.rsl-fmt__item-text {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

.rsl-fmt--fee .rsl-fmt__section {
    background: #fbfffe;
    border-left-color: #0f766e;
}

.rsl-fmt--fee .rsl-fmt__list {
    gap: 10px;
}

.rsl-fmt--fee .rsl-fmt__list li {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 9px;
}

.rsl-fmt--fee .rsl-fmt__list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.rsl-fmt__amount {
    background: #fef3c7;
    color: #92400e;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    white-space: nowrap;
}

.rsl-fmt__tag {
    display: inline-block;
    background: #e0f2fe;
    color: #075985;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.rsl-fmt__exempt {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Educational Qualification — per-qualification card --------- */
.rsl-qual-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px 18px;
    margin-bottom: 14px;
}

.rsl-qual-card:last-child {
    margin-bottom: 0;
}

.rsl-qual-card__label {
    margin: 0 0 10px 0;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.govt-info-table--fees thead th {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
    text-align: left;
    padding: 10px 12px;
}

@media (max-width: 640px) {
    .rsl-fmt__section { padding: 12px 14px; }
    .rsl-qual-card { padding: 12px 14px; }
    .rsl-fmt__list li { font-size: 0.95rem; }
}

/* =====================================================================
   SOP §113/§114/§115 — Notification Center, Wallet filters + refund
   banner, Employer Hiring Pipeline funnel.
   ===================================================================== */

/* ---------- Notification Center (candidate dashboard) ---------- */
.rsl-notif-center{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px 22px;
    margin:18px 0;
    box-shadow:0 1px 2px rgba(15,23,42,0.04);
}
.rsl-notif-center__head{
    display:flex; flex-wrap:wrap; align-items:flex-start;
    justify-content:space-between; gap:12px; margin-bottom:14px;
}
.rsl-notif-center__head h2{ font-size:1.05rem; margin:0; color:#0f172a; }
.rsl-notif-center__head p{ font-size:0.8rem; color:#64748b; margin:2px 0 0; }
.rsl-notif-center__count{
    background:#eef2ff; color:#3730a3; font-size:0.7rem; font-weight:700;
    padding:3px 10px; border-radius:999px; letter-spacing:0.04em;
}
.rsl-notif-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.rsl-notif{
    display:flex; gap:10px; align-items:flex-start;
    padding:12px 14px; border-radius:10px; border:1px solid #e5e7eb;
    background:#fafafa;
}
.rsl-notif__dot{
    width:8px; height:8px; border-radius:50%; margin-top:8px; flex:none;
    background:#94a3b8;
}
.rsl-notif--emerald{ background:#ecfdf5; border-color:#a7f3d0; }
.rsl-notif--emerald .rsl-notif__dot{ background:#10b981; }
.rsl-notif--amber{ background:#fffbeb; border-color:#fcd34d; }
.rsl-notif--amber .rsl-notif__dot{ background:#f59e0b; }
.rsl-notif--rose{ background:#fff1f2; border-color:#fda4af; }
.rsl-notif--rose .rsl-notif__dot{ background:#f43f5e; }
.rsl-notif--blue{ background:#eff6ff; border-color:#bfdbfe; }
.rsl-notif--blue .rsl-notif__dot{ background:#2563eb; }
.rsl-notif--brand{ background:#fef2f2; border-color:#fecaca; }
.rsl-notif--brand .rsl-notif__dot{ background:#ef4444; }
.rsl-notif__body{ flex:1; }
.rsl-notif__title-row{ display:flex; justify-content:space-between; gap:8px; align-items:baseline; }
.rsl-notif__title-row strong{ font-size:0.92rem; color:#0f172a; }
.rsl-notif__title-row small{ color:#64748b; font-size:0.72rem; }
.rsl-notif__body p{ margin:4px 0 0; font-size:0.85rem; color:#334155; line-height:1.45; }
.rsl-notif__cta{
    display:inline-block; margin-top:6px; font-size:0.78rem; font-weight:700;
    color:#1d4ed8; text-decoration:none;
}
.rsl-notif__cta:hover{ text-decoration:underline; }

/* ---------- Wallet refund banner + filter bar ---------- */
.wallet-refund-banner{
    background:linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
    color:#7c2d12;
    border:1px solid #fcd34d;
    border-radius:10px;
    padding:12px 16px;
    font-size:0.86rem;
    line-height:1.5;
    margin:0 0 16px;
}
.wallet-refund-banner strong{ display:inline-block; margin-right:6px; color:#7c2d12; }
.wallet-refund-banner a{ color:#7c2d12; font-weight:700; }

.wallet-filter-bar{
    display:flex; flex-wrap:wrap; gap:12px; align-items:flex-end;
    background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px;
    padding:14px 16px; margin:0 0 16px;
}
.wallet-filter-field{ display:flex; flex-direction:column; gap:4px; }
.wallet-filter-field label{ font-size:0.7rem; font-weight:700; color:#475569; letter-spacing:0.05em; text-transform:uppercase; }
.wallet-filter-field input,
.wallet-filter-field select{
    border:1px solid #cbd5e1; border-radius:6px; padding:6px 10px; font-size:0.85rem; background:#fff;
    min-width:140px;
}
.wallet-filter-actions{ display:flex; gap:8px; }

/* ---------- Employer Hiring Pipeline funnel ---------- */
.rsl-funnel{
    background:#fff; border:1px solid #e5e7eb; border-radius:12px;
    padding:20px 22px; margin:18px 0;
    box-shadow:0 1px 2px rgba(15,23,42,0.04);
}
.rsl-funnel__head{
    display:flex; flex-wrap:wrap; gap:16px; align-items:flex-start;
    justify-content:space-between; margin-bottom:18px;
}
.rsl-funnel__head h2{ margin:0; font-size:1.05rem; color:#0f172a; }
.rsl-funnel__head p{ margin:2px 0 0; font-size:0.8rem; color:#64748b; }
.rsl-funnel__kpis{
    display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none;
}
.rsl-funnel__kpis > div{
    background:#f1f5f9; border-radius:8px; padding:8px 12px; min-width:96px;
}
.rsl-funnel__kpis dt{ font-size:0.65rem; font-weight:700; color:#64748b; letter-spacing:0.05em; text-transform:uppercase; }
.rsl-funnel__kpis dd{ font-size:1.1rem; font-weight:800; margin:2px 0 0; color:#0f172a; }
.rsl-funnel__stages{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.rsl-funnel__stage{
    display:flex; align-items:center; gap:12px;
}
.rsl-funnel__bar{
    flex:none; min-width:160px; max-width:100%;
    background:#cbd5e1; color:#fff; padding:8px 14px;
    border-radius:6px; display:flex; align-items:center; gap:10px;
    transition:width 200ms ease-in-out;
}
.rsl-funnel__bar-label{ font-weight:700; font-size:0.85rem; }
.rsl-funnel__bar-count{ margin-left:auto; font-weight:800; font-size:0.95rem; }
.rsl-funnel__pct{ font-size:0.78rem; font-weight:700; color:#475569; min-width:46px; text-align:right; }
.rsl-funnel__stage--blue    .rsl-funnel__bar{ background:#3b82f6; }
.rsl-funnel__stage--cyan    .rsl-funnel__bar{ background:#06b6d4; }
.rsl-funnel__stage--amber   .rsl-funnel__bar{ background:#f59e0b; }
.rsl-funnel__stage--purple  .rsl-funnel__bar{ background:#8b5cf6; }
.rsl-funnel__stage--emerald .rsl-funnel__bar{ background:#10b981; }
.rsl-funnel__stage--green   .rsl-funnel__bar{ background:#16a34a; }

@media (max-width: 640px){
    .rsl-funnel__bar{ min-width:120px; }
    .wallet-filter-field input, .wallet-filter-field select{ min-width:120px; }
}

/* SOP §129 — CV Maker bottom template switcher.
   Mirrors the top toolbar at the foot of the live preview so users on
   long CVs can swap templates without scrolling back up. */
.cv-preview-toolbar--bottom{
    margin-top:18px;
    border-top:1px solid #e5e7eb;
    padding-top:14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.cv-preview-toolbar--bottom .cv-template-switcher{ flex:1; min-width:240px; }
@media (max-width:640px){
    .cv-preview-toolbar--bottom{ flex-direction:column; align-items:stretch; }
}

/* =====================================================================
   SOP §130 — 8 new modern CV preview themes.
   Each rule scopes to .cv-preview--{key}. They layer on top of the
   shared .cv-preview layout, so all section markup keeps working.
   ===================================================================== */

/* Canva Split — coloured left sidebar, photo block, accent dividers */
.cv-preview--canva_split{
    border:none; padding:0; overflow:hidden;
    box-shadow:0 1px 3px rgba(15,23,42,0.12);
    position:relative; background:#f8fafc;
}
.cv-preview--canva_split header{
    background:linear-gradient(135deg,#0ea5e9 0%,#0284c7 100%);
    color:#fff; padding:22px 28px; border:none;
}
.cv-preview--canva_split header h2,
.cv-preview--canva_split header .cv-headline,
.cv-preview--canva_split header .cv-contact{ color:#fff; }
.cv-preview--canva_split section{
    background:#fff; padding:14px 28px; margin:0; border:none;
    border-bottom:1px solid #e2e8f0;
}
.cv-preview--canva_split section h3{
    color:#0284c7; text-transform:uppercase; letter-spacing:0.08em;
    font-size:0.78rem; border-bottom:2px solid #bae6fd; padding-bottom:4px;
}

/* Novo Timeline — vertical timeline accents for experience */
.cv-preview--novo_timeline{ border-top:4px solid #9333ea; padding-top:8px; }
.cv-preview--novo_timeline header h2{ color:#581c87; }
.cv-preview--novo_timeline section h3{
    color:#7e22ce; position:relative; padding-left:22px;
}
.cv-preview--novo_timeline section h3::before{
    content:''; width:10px; height:10px; border-radius:50%;
    background:#9333ea; position:absolute; left:0; top:8px;
    box-shadow:0 0 0 4px #f3e8ff;
}
.cv-preview--novo_timeline section{
    border-left:2px solid #e9d5ff; margin-left:8px; padding-left:22px;
}

/* Zety Sidebar — coloured left rail */
.cv-preview--zety_sidebar{
    border:none; display:grid; grid-template-columns:35% 1fr; gap:0;
    background:#fff;
}
.cv-preview--zety_sidebar header{
    grid-column:1 / -1; background:#d97706; color:#fff;
    padding:20px 24px; border-bottom:none;
}
.cv-preview--zety_sidebar header h2,
.cv-preview--zety_sidebar header .cv-headline{ color:#fff; }
.cv-preview--zety_sidebar > section:nth-of-type(odd){
    background:#fffbeb; padding:14px 20px; border-bottom:1px solid #fde68a;
}
.cv-preview--zety_sidebar > section:nth-of-type(even){
    background:#fff; padding:14px 20px; border-bottom:1px solid #f3f4f6;
}
.cv-preview--zety_sidebar section h3{
    color:#92400e; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.06em;
}

/* Monogram Dark — dark banner, stark serif */
.cv-preview--monogram_dark{ border:none; padding:0; }
.cv-preview--monogram_dark header{
    background:#0f172a; color:#f8fafc; padding:32px 28px; border:none;
    font-family:Georgia, 'Times New Roman', serif;
}
.cv-preview--monogram_dark header h2{
    color:#facc15; font-family:Georgia, serif; letter-spacing:0.03em;
    font-size:1.6rem;
}
.cv-preview--monogram_dark header .cv-headline,
.cv-preview--monogram_dark header .cv-contact{ color:#cbd5e1; }
.cv-preview--monogram_dark section{ padding:16px 28px; }
.cv-preview--monogram_dark section h3{
    font-family:Georgia, serif; color:#0f172a;
    border-bottom:1px solid #0f172a; padding-bottom:2px;
}

/* Pastel Modern — soft pastels, rounded chips */
.cv-preview--pastel_modern{
    border:none; background:linear-gradient(180deg,#fdf2f8 0%,#fff 35%);
    padding:18px 24px;
}
.cv-preview--pastel_modern header h2{ color:#9d174d; }
.cv-preview--pastel_modern section h3{
    background:#fce7f3; color:#9d174d; display:inline-block;
    padding:4px 12px; border-radius:999px; font-size:0.78rem;
    text-transform:uppercase; letter-spacing:0.06em; border:none;
}
.cv-preview--pastel_modern .cv-skills-list span{
    background:#fce7f3; color:#9d174d; border-radius:999px;
    padding:4px 12px; font-weight:600;
}

/* Serif Journal — editorial serif look */
.cv-preview--serif_journal{
    border-top:6px double #7c2d12; padding-top:12px;
    font-family:Georgia, 'Times New Roman', serif;
}
.cv-preview--serif_journal header h2{
    font-family:Georgia, serif; color:#7c2d12;
    font-size:1.7rem; letter-spacing:0.02em;
}
.cv-preview--serif_journal section h3{
    font-family:Georgia, serif; color:#7c2d12;
    border-bottom:1px solid #7c2d12; padding-bottom:2px;
}

/* Split Color — diagonal header */
.cv-preview--split_color{
    border:none; padding:0;
    background:linear-gradient(115deg,#059669 0%,#059669 48%,#fff 48%,#fff 100%);
}
.cv-preview--split_color header{
    padding:24px 28px; background:transparent; border:none;
    color:#fff;
}
.cv-preview--split_color header h2{ color:#fff; }
.cv-preview--split_color header .cv-headline,
.cv-preview--split_color header .cv-contact{ color:#d1fae5; }
.cv-preview--split_color > section{
    background:#fff; padding:14px 28px;
}
.cv-preview--split_color section h3{
    color:#065f46; border-bottom:2px solid #059669; padding-bottom:2px;
}

/* Minimal Mono — pure monochrome editorial */
.cv-preview--minimal_mono{
    border:none; padding:18px 24px;
    background:#fff; color:#262626;
    font-family:'Helvetica Neue', Arial, sans-serif;
}
.cv-preview--minimal_mono header h2{
    color:#000; font-weight:900; letter-spacing:-0.01em;
    border-bottom:3px solid #000; padding-bottom:6px;
}
.cv-preview--minimal_mono header .cv-headline,
.cv-preview--minimal_mono header .cv-contact{ color:#525252; }
.cv-preview--minimal_mono section h3{
    color:#000; text-transform:uppercase; letter-spacing:0.16em;
    font-size:0.72rem; border:none; padding-bottom:0; margin-bottom:6px;
}
.cv-preview--minimal_mono section{
    border-bottom:1px solid #e5e5e5; padding-bottom:10px; margin-bottom:10px;
}

/* Make sure all the new templates print cleanly */
@media print{
    .cv-preview--monogram_dark header,
    .cv-preview--canva_split header,
    .cv-preview--zety_sidebar header,
    .cv-preview--split_color{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
}

/* =====================================================================
   SOP §136 — Clean numbered pagination (replaces giant SVG chevrons).
   ===================================================================== */
.rsl-pagination{
    display:flex; flex-direction:column; align-items:center; gap:8px;
    padding:18px 0; width:100%;
}
.rsl-pagination__list{
    display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:0;
    list-style:none; justify-content:center;
}
.rsl-pagination__item{ display:inline-flex; }
.rsl-pagination__link{
    display:inline-flex; align-items:center; justify-content:center;
    min-width:38px; height:38px; padding:0 12px;
    border:1px solid #cbd5e1; border-radius:8px;
    color:#0f172a; text-decoration:none;
    font-weight:600; font-size:0.88rem;
    background:#fff; transition:background 120ms, border-color 120ms;
}
.rsl-pagination__link:hover{
    background:#f1f5f9; border-color:#94a3b8; text-decoration:none;
}
.rsl-pagination__link--active,
.rsl-pagination__link--active:hover{
    background:#0f766e; border-color:#0f766e; color:#fff; cursor:default;
}
.rsl-pagination__item--disabled .rsl-pagination__link,
.rsl-pagination__item--disabled .rsl-pagination__link:hover{
    color:#94a3b8; background:#f8fafc; border-color:#e2e8f0; cursor:not-allowed;
}
.rsl-pagination__item--ellipsis .rsl-pagination__link{
    border:none; background:transparent; padding:0 4px; min-width:24px;
}
.rsl-pagination__link--prev,
.rsl-pagination__link--next{ padding:0 14px; }
.rsl-pagination__summary{
    margin:0; color:#64748b; font-size:0.82rem; text-align:center;
}

/* Safety net — clobber any stray full-page SVG icon that earlier paginators
   may have left in cached views. SVG inside pagination must never exceed
   16px so a stale template can't blow up the page again. */
.rsl-pagination svg, .pagination svg, nav[role="navigation"] svg{
    width:16px !important; height:16px !important; display:inline-block !important;
}

@media (max-width:520px){
    .rsl-pagination__link{ min-width:34px; height:34px; padding:0 8px; font-size:0.8rem; }
    .rsl-pagination__link--prev, .rsl-pagination__link--next{ padding:0 10px; }
}


/* ============================================================
   CV MAKER v2 — My CVs Dashboard, Wizard, Preview
   ============================================================ */

/* --- My CVs Dashboard --- */
.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.cv-card {
    background: #fff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.cv-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.cv-card--default {
    border-color: var(--brand, #0f766e);
    box-shadow: 0 0 0 2px var(--brand, #0f766e);
}
.cv-card__header {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    align-items: flex-start;
}
.cv-card__thumb {
    width: 64px;
    height: 84px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cv-card__thumb-placeholder {
    font-size: 1.25rem;
    font-weight: 700;
    color: #94a3b8;
}
.cv-card__meta h4 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
    color: var(--text, #0f172a);
}
.cv-card__template {
    font-size: 0.8rem;
    color: var(--muted, #64748b);
    display: block;
    margin-bottom: 0.5rem;
}
.cv-card__badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.cv-card__progress {
    height: 4px;
    background: #e2e8f0;
    margin: 0 1rem;
    border-radius: 2px;
    overflow: hidden;
}
.cv-card__progress-bar {
    height: 100%;
    background: var(--brand, #0f766e);
    border-radius: 2px;
    transition: width 0.4s ease;
}
.cv-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--line, #e2e8f0);
}
.cv-card__date {
    font-size: 0.75rem;
    color: var(--muted, #64748b);
}
.cv-card__actions {
    display: flex;
    gap: 0.25rem;
}
.cv-card__btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    transition: background 0.15s;
}
.cv-card__btn:hover {
    background: #f1f5f9;
}
.cv-card__btn--danger:hover {
    background: #fee2e2;
}

/* --- Template Gallery (Create CV) --- */
.template-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.template-gallery__item {
    background: #fff;
    border: 2px solid var(--line, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: block;
}
.template-gallery__item:hover {
    border-color: var(--brand, #0f766e);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.template-gallery__thumb {
    height: 140px;
    background: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.template-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.template-gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.template-gallery__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}
.template-gallery__badge--ats {
    background: #10b981;
    left: 8px;
    right: auto;
}
.template-gallery__info {
    padding: 0.75rem;
}
.template-gallery__info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}
.template-gallery__info small {
    color: var(--muted, #64748b);
    font-size: 0.75rem;
}
.template-gallery__check {
    padding: 0 0.75rem 0.75rem;
    text-align: center;
}
.template-gallery__radio {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--line, #cbd5e1);
    border-radius: 50%;
    position: relative;
}
.template-gallery__radio.checked {
    border-color: var(--brand, #0f766e);
    background: var(--brand, #0f766e);
}
.template-gallery__radio.checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 7px;
    width: 4px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- CV Wizard --- */
.cv-wizard-shell {
    min-height: 100vh;
    background: #f8fafc;
}
.cv-wizard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line, #e2e8f0);
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 1rem;
    flex-wrap: wrap;
}
.cv-wizard-topbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}
.cv-wizard-back {
    color: var(--muted, #64748b);
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
}
.cv-wizard-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    border: 1px dashed transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: text;
}
.cv-wizard-title:hover {
    border-color: var(--line, #cbd5e1);
}
.cv-wizard-topbar__center {
    flex: 1;
    display: flex;
    justify-content: center;
}
.cv-wizard-progress {
    width: 200px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.cv-wizard-progress__bar {
    height: 100%;
    background: var(--brand, #0f766e);
    border-radius: 4px;
    transition: width 0.4s ease;
}
.cv-wizard-progress span {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.7rem;
    color: var(--muted, #64748b);
}
.cv-wizard-topbar__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cv-wizard-layout {
    display: flex;
    min-height: calc(100vh - 60px);
}
.cv-wizard-steps {
    width: 240px;
    background: #fff;
    border-right: 1px solid var(--line, #e2e8f0);
    padding: 1rem 0;
    overflow-y: auto;
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
}
.cv-wizard-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--muted, #64748b);
    transition: background 0.15s, color 0.15s;
    font-size: 0.875rem;
}
.cv-wizard-step:hover {
    background: #f1f5f9;
}
.cv-wizard-step.active {
    background: #ecfdf5;
    color: var(--brand, #0f766e);
    font-weight: 600;
    border-right: 3px solid var(--brand, #0f766e);
}
.cv-wizard-step.completed {
    color: #10b981;
}
.cv-wizard-step__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}
.cv-wizard-step.active .cv-wizard-step__num {
    background: var(--brand, #0f766e);
    color: #fff;
}
.cv-wizard-step.completed .cv-wizard-step__num {
    background: #10b981;
    color: #fff;
}
.cv-wizard-form {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}
.cv-wizard-panel {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}
.cv-wizard-panel.active {
    display: block;
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.cv-wizard-panel h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--text, #0f172a);
}
.cv-wizard-panel label span {
    color: #334155;
    font-size: 0.82rem;
    font-weight: 800;
}
.cv-wizard-nav {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 2rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line, #e2e8f0);
}

/* --- Repeatable rows --- */
.cv-repeatable-row {
    background: #fff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    position: relative;
}
.cv-repeatable-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #fee2e2;
    color: #991b1b;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
}
.cv-repeatable-remove:hover {
    background: #fecaca;
}
.cv-skill-row,
.cv-language-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cv-skill-row input,
.cv-language-row input {
    flex: 1;
    min-width: 140px;
}
.cv-skill-row select,
.cv-language-row select {
    width: auto;
}

/* --- Photo preview --- */
.cv-wizard-photo-preview {
    margin-top: 1rem;
}
.cv-wizard-photo-preview img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line, #e2e8f0);
}

/* --- CV Preview --- */
.cv-preview-shell {
    background: #f1f5f9;
    min-height: 100vh;
}
.cv-preview-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--line, #e2e8f0);
    position: sticky;
    top: 0;
    z-index: 50;
    gap: 1rem;
    flex-wrap: wrap;
}
.cv-preview-toolbar__left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cv-preview-toolbar__left h1 {
    font-size: 1.1rem;
    margin: 0;
}
.cv-preview-toolbar__right {
    display: flex;
    gap: 0.5rem;
}
.cv-preview-page {
    max-width: 980px;
    margin: 2rem auto;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    padding: 1rem;
    min-height: 1100px;
}

.cv-public-shell {
    background: #f1f5f9;
    min-height: 80vh;
    padding: 28px 0 42px;
}
.cv-public-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.cv-public-toolbar h1 {
    margin-top: 8px;
    font-size: clamp(22px, 3vw, 34px);
}
.cv-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.cv-public-frame {
    background: #fff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 8px;
    box-shadow: 0 14px 32px rgba(15,23,42,.08);
    overflow: auto;
    padding: 18px;
}
.cv-public-meta {
    text-align: center;
    color: var(--muted, #64748b);
    font-size: 0.88rem;
    margin: 16px 0 0;
}
.cv-public-meta a {
    color: var(--brand-dark, #115e59);
    font-weight: 800;
}

/* --- Form utilities --- */
.form-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: auto;
}

/* --- Pills --- */
.pill--blue { background: #dbeafe; color: #1e40af; }
.pill--success { background: #d1fae5; color: #065f46; }
.pill--accent { background: #ffedd5; color: #9a3412; }
.pill--ink { background: #f1f5f9; color: #334155; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .cv-wizard-layout { flex-direction: column; }
    .cv-wizard-steps {
        width: 100%;
        height: auto;
        position: static;
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.25rem;
    }
    .cv-wizard-step {
        white-space: nowrap;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
    }
    .cv-wizard-step.active {
        border-right: none;
        border-bottom: 3px solid var(--brand, #0f766e);
    }
    .cv-wizard-form { padding: 1rem; }
    .form-grid--3,
    .form-grid--2 {
        grid-template-columns: 1fr;
    }
    .cv-grid {
        grid-template-columns: 1fr;
    }
    .cv-preview-page {
        margin: 0.5rem;
        padding: 1rem;
    }
    .template-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .template-filter-bar--compact {
        grid-template-columns: 1fr;
    }
    .cv-public-toolbar {
        align-items: start;
        flex-direction: column;
    }
    .cv-public-actions {
        justify-content: flex-start;
    }
    .cv-public-frame {
        padding: 8px;
    }
}


/* --- Section Visibility & Sortable --- */
.cv-section-visibility {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}
.cv-section-sortable {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cv-section-sortable li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: #fff;
    border: 1px solid var(--line, #e2e8f0);
    border-radius: 6px;
    margin-bottom: 0.4rem;
    cursor: grab;
    font-size: 0.9rem;
}
.cv-section-sortable li:active {
    cursor: grabbing;
}
.cv-section-sortable li .drag-handle {
    color: #94a3b8;
    font-size: 0.8rem;
    user-select: none;
}
.cv-section-sortable li input {
    display: none;
}

/* ============================================
   RojgarSeva v2 — Public UI Enhancements
   ============================================ */

/* --- Job Card Actions --- */
.job-card__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--line);
    background: #f8fafb;
}

.job-card__save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
}
.job-card__save-btn:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.job-card__save-btn.is-saved {
    color: var(--accent);
    border-color: var(--accent);
    background: #fff5f2;
}

.job-card__share {
    position: relative;
    margin-left: auto;
}
.job-card__share-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
}
.job-card__share-toggle:hover {
    border-color: var(--brand);
    color: var(--brand);
}
.job-card__share-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 6px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 0.4rem;
    min-width: 140px;
    display: none;
    z-index: 10;
}
.job-card__share.is-open .job-card__share-menu {
    display: block;
}
.job-card__share-menu a,
.job-card__share-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.job-card__share-menu a:hover,
.job-card__share-menu button:hover {
    background: var(--surface-soft);
}

/* --- Countdown Timer --- */
.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.countdown-timer.is-urgent {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
    animation: pulse 2s infinite;
}
.countdown-timer.is-expired {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* --- Link Health Indicators --- */
.link-health {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--muted);
}
.link-health__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.link-health__dot--ok { background: #22c55e; }
.link-health__dot--warn { background: #f59e0b; }
.link-health__dot--broken { background: #ef4444; }
.link-health__dot--unknown { background: #9ca3af; }

/* --- Detail Page Share & Print Bar --- */
.detail-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
}
.detail-toolbar .button--small {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
}

/* --- Related Jobs Section --- */
.related-jobs {
    margin-top: 2rem;
}
.related-jobs h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.related-jobs .job-card {
    margin-bottom: 0.75rem;
}

/* --- Print Styles --- */
@media print {
    .site-header, .topbar, .detail-toolbar, .job-card__actions,
    .filter-panel, .pagination-wrap, .side-note, .adsense,
    .rsl-tabs, .hero-actions form, .hero-actions .button {
        display: none !important;
    }
    .detail-layout {
        display: block !important;
    }
    .detail-main {
        width: 100% !important;
    }
    body {
        background: #fff;
        font-size: 12pt;
    }
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}

/* --- Verified Badge (pill variant) --- */
.pill-success svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.2rem;
}

/* --- Facet Chips on Search --- */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    padding: 0.35rem 0.75rem;
    border-radius: 99px;
    font-size: 0.8rem;
    color: var(--text);
}
.filter-chip button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
    padding: 0;
    margin-left: 0.2rem;
}
.filter-chip button:hover {
    color: var(--accent);
}

/* --- Toast Notification --- */
.rsl-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--ink);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 100;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.rsl-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ============================================================
   SOP §173 — CV template readability fixes
   ============================================================
   ROOT CAUSES IDENTIFIED:
   - Premium / Indian Pro / Split Color used a half-stripe
     linear-gradient header where the H2 (name) overlapped the
     boundary between dark and light. Whichever single text
     colour was chosen, half the name became unreadable.
   - Gradient header set H2 to white but watermark overlay
     reduced contrast; tightened to pure white + text-shadow.
   - Pastel Modern h2 was light pink on pink pastel.
   - Several templates didn't override h2 color so it inherited
     the dark default which clashed with dark headers.

   SOLUTION: redesign the offending headers as proper two-column
   grids (no more stripe), bump h2 to high-contrast colours,
   and add a safety text-shadow on all dark-bg headers so any
   future colour clash still stays readable.
   ============================================================ */

/* --- Premium: solid dark-red header, white name, photo on the left ---- */
.cv-preview--premium header {
    background: #9f2d1c !important;
    color: #fff !important;
    padding: 22px 24px !important;
    border: none !important;
    border-bottom: 4px solid #fbbf24 !important;
    border-radius: 8px 8px 0 0 !important;
    margin: -18px -18px 22px !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 18px !important;
    align-items: center !important;
}
.cv-preview--premium header h2,
.cv-preview--premium header .cv-headline,
.cv-preview--premium header p,
.cv-preview--premium header span {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.28);
}
.cv-preview--premium header .cv-photo-circle {
    border: 3px solid #fbbf24 !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.25) !important;
}
.cv-preview--premium h2 { color: #9f2d1c; }
.cv-preview--premium h3 { color: #9f2d1c; border-bottom: 2px solid #f3d5cc; padding-bottom: 3px; }

/* --- Indian Professional: solid navy header, no stripe -------------- */
.cv-preview--indian_pro header {
    background: #163c5f !important;
    color: #fff !important;
    padding: 22px 24px !important;
    margin: -18px -18px 22px !important;
    border: none !important;
    border-bottom: 4px solid #B8860B !important;
    border-radius: 6px 6px 0 0 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    column-gap: 18px !important;
    align-items: center !important;
}
.cv-preview--indian_pro header h2,
.cv-preview--indian_pro header .cv-headline,
.cv-preview--indian_pro header p,
.cv-preview--indian_pro header span {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.30);
}
.cv-preview--indian_pro header .cv-photo-circle { border: 3px solid #fff !important; }
.cv-preview--indian_pro h3 { color: #163c5f; border-bottom: 2px solid #163c5f33; padding-bottom: 3px; }

/* --- Split Color: tidy two-column header (no diagonal) -------------- */
.cv-preview--split_color {
    background: #fff !important;
    border: none !important;
    padding: 0 !important;
}
.cv-preview--split_color header {
    background: #059669 !important;
    color: #fff !important;
    padding: 24px 28px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 4px solid #047857 !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    column-gap: 18px !important;
    align-items: center !important;
}
.cv-preview--split_color header h2,
.cv-preview--split_color header .cv-headline,
.cv-preview--split_color header .cv-contact,
.cv-preview--split_color header p,
.cv-preview--split_color header span {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.30);
}
.cv-preview--split_color > section { background: #fff; padding: 14px 28px; }
.cv-preview--split_color section h3 { color: #065f46; border-bottom: 2px solid #059669; padding-bottom: 3px; }

/* --- Gradient: keep purple gradient but pin name fully white + shadow */
.cv-preview--gradient header {
    background: linear-gradient(135deg, #6b21a8, #9333ea, #a855f7) !important;
    border-bottom: 4px solid #581c87 !important;
}
.cv-preview--gradient header h2,
.cv-preview--gradient header .cv-headline,
.cv-preview--gradient header p,
.cv-preview--gradient header span {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.45) !important;
}
.cv-preview--gradient h2,
.cv-preview--gradient header h2 { font-weight: 800 !important; }
.cv-preview--gradient h3 { color: #6b21a8; border-bottom: 2px solid #ede9fe; padding-bottom: 4px; }

/* --- Executive: tighten the dark header readability ----------------- */
.cv-preview--executive header {
    background: #0f172a !important;
    color: #fff !important;
}
.cv-preview--executive header h2,
.cv-preview--executive header .cv-headline,
.cv-preview--executive header p,
.cv-preview--executive header span {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.30);
}
.cv-preview--executive header .cv-contact,
.cv-preview--executive header .cv-contact span { color: #e2e8f0 !important; }
.cv-preview--executive h3 { color: #0f172a; }

/* --- Pastel Modern: darker pink h2 for AA contrast ------------------ */
.cv-preview--pastel_modern header h2 { color: #831843 !important; font-weight: 800 !important; }
.cv-preview--pastel_modern section h3 { color: #831843 !important; }

/* --- Bold: ensure orange h2 contrasts on white ---------------------- */
.cv-preview--bold header h2 { color: #c2410c !important; font-weight: 900 !important; text-shadow: 0 1px 0 #fff7ed; }
.cv-preview--bold h3 { color: #c2410c !important; }

/* --- Elegant: warm brown high-contrast ------------------------------ */
.cv-preview--elegant header h2 { color: #78350f !important; font-weight: 800 !important; }
.cv-preview--elegant h3 { color: #78350f !important; }

/* --- Tech / Creative / Corporate small contrast bumps --------------- */
.cv-preview--tech header h2 { color: #064e3b !important; font-weight: 900 !important; }
.cv-preview--creative header h2 { color: #6b21a8 !important; font-weight: 900 !important; }
.cv-preview--corporate header h2 { color: #1e3a5f !important; font-weight: 900 !important; }

/* --- Universal safety net: any cv-preview header with a dark
       background must have visible name + headline + contact text. ---- */
.cv-preview header h2 { word-break: break-word; line-height: 1.12; }
.cv-preview header h2:empty::after { content: 'Your Name'; opacity:.6; }

/* Skill chip readability across all dark-header templates. */
.cv-preview--premium .cv-skill-tag,
.cv-preview--indian_pro .cv-skill-tag,
.cv-preview--executive .cv-skill-tag,
.cv-preview--gradient .cv-skill-tag,
.cv-preview--split_color .cv-skill-tag {
    background: rgba(15,23,42,.06);
    border: 1px solid rgba(15,23,42,.14);
    color: #0f172a;
}

/* Long-name safety: names like "JADAV PRAASHKUMAR SHANKARLAL"
   must wrap cleanly instead of colliding with photo/sidebar blocks. */
.cv-preview .cv-header-row {
    min-width: 0;
}
.cv-preview .cv-header-info {
    min-width: 0;
    max-width: 100%;
}
.cv-preview header h2 {
    max-width: 100%;
    font-size: 28px;
    overflow-wrap: anywhere;
    word-break: normal;
}
.cv-preview header p,
.cv-preview header span,
.cv-preview .cv-contact {
    max-width: 100%;
    overflow-wrap: anywhere;
}
.cv-preview--premium header,
.cv-preview--indian_pro header,
.cv-preview--split_color header {
    overflow: hidden;
}

/* ===== SOP §211 — Candidate dashboard preview contrast fix ===== */
.dashboard-shell .notice-card,
.dashboard-shell .coin-wallet-card,
.dashboard-shell .dashboard-metrics > div,
.dashboard-shell .dashboard-action-strip a {
    background: rgba(255,255,255,.10);
    color: #f8fafc;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
}
.dashboard-shell .notice-card span,
.dashboard-shell .dashboard-metrics > div span,
.dashboard-shell .coin-wallet-card span {
    color: #cbd5e1;
}
.dashboard-shell .notice-card p,
.dashboard-shell .notice-card a {
    color: #e2e8f0;
}
.dashboard-shell .notice-card a { text-decoration: underline; }
.dashboard-shell .dashboard-metrics > div strong { color: #fff; font-weight: 700; }
.dashboard-shell .dashboard-action-strip a {
    padding: 8px 14px;
    color: #f1f5f9;
}
.dashboard-shell .dashboard-action-strip a:hover {
    background: rgba(255,255,255,.18);
    color: #fff;
}

/* Application Tracker block in preview — light text was unreadable on dark bg */
.dashboard-shell .dashboard-panel h3,
.dashboard-shell .dashboard-panel h4 { color: #f8fafc; }
.dashboard-shell .dashboard-panel small,
.dashboard-shell .dashboard-panel p { color: #cbd5e1 !important; }
.dashboard-shell .status-badge { background: rgba(255,255,255,.16); color: #f8fafc; }

/* ===== SOP §212 — Home page role chooser ===== */
.rs-role-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 0;
}
.rs-role-cta__card {
    display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px;
    padding: 18px 20px; border-radius: 14px;
    text-decoration: none; color: #0f172a;
    background: #fff; border: 1px solid #e2e8f0;
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rs-role-cta__card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(15,23,42,.10); }
.rs-role-cta__card--seeker { border-left: 4px solid #0f766e; }
.rs-role-cta__card--company { border-left: 4px solid #1d4ed8; }
.rs-role-cta__icon {
    width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px; background: #ecfdf5; color: #0f766e;
    grid-row: 1 / span 2;
}
.rs-role-cta__card--company .rs-role-cta__icon { background: #eff6ff; color: #1d4ed8; }
.rs-role-cta__card strong { font-size: 15px; }
.rs-role-cta__card small { color: #64748b; font-size: 12.5px; }
@media (max-width: 720px) { .rs-role-cta { grid-template-columns: 1fr; } }

/* ===== SOP 213 — Employer dashboard and hire page readability ===== */
.employer-dashboard-shell {
    background: linear-gradient(180deg, #eef8f5 0%, #f8fafc 100%) !important;
    color: #17211f;
    padding: 44px 0 56px;
}
.employer-dashboard-shell .dashboard-hero {
    align-items: center;
    margin-bottom: 22px;
}
.employer-dashboard-shell .dashboard-hero h1 {
    color: #13211f !important;
    font-size: clamp(34px, 4.8vw, 56px);
    letter-spacing: 0;
}
.employer-dashboard-shell .eyebrow--light,
.employer-dashboard-shell .dashboard-hero p,
.employer-dashboard-shell .dashboard-welcome p,
.employer-dashboard-shell .dashboard-card p,
.employer-dashboard-shell .muted {
    color: #40504d !important;
}
.employer-dashboard-shell .dashboard-profile,
.employer-dashboard-shell .dashboard-panel,
.employer-dashboard-shell .dashboard-card,
.employer-dashboard-shell .dashboard-metrics > div,
.employer-dashboard-shell .approval-info-card,
.employer-dashboard-shell .app-row,
.employer-dashboard-shell .kanban-column,
.employer-dashboard-shell .kanban-card,
.employer-dashboard-shell .perf-row,
.employer-dashboard-shell .dashboard-tabs a,
.employer-dashboard-shell .dashboard-card__head a,
.employer-dashboard-shell .dashboard-card__head span {
    background: #fff !important;
    border-color: #d6e3df !important;
    color: #17211f !important;
}
.employer-dashboard-shell .dashboard-panel {
    padding: 22px;
    box-shadow: 0 18px 50px rgba(23, 33, 31, .10);
}
.employer-dashboard-shell .dashboard-welcome {
    border-bottom-color: #d6e3df !important;
}
.employer-dashboard-shell .dashboard-welcome h2,
.employer-dashboard-shell .dashboard-card h3,
.employer-dashboard-shell .dashboard-card strong,
.employer-dashboard-shell .dashboard-metrics strong,
.employer-dashboard-shell .dashboard-profile strong,
.employer-dashboard-shell .kanban-header strong,
.employer-dashboard-shell .kanban-card strong,
.employer-dashboard-shell .app-row__info strong,
.employer-dashboard-shell .app-row__info a,
.employer-dashboard-shell .approval-info-card h3,
.employer-dashboard-shell .approval-step strong,
.employer-dashboard-shell .budget-ring span,
.employer-dashboard-shell .perf-info strong {
    color: #0f172a !important;
}
.employer-dashboard-shell .dashboard-profile span,
.employer-dashboard-shell .dashboard-profile small,
.employer-dashboard-shell .dashboard-card small,
.employer-dashboard-shell .dashboard-metrics span,
.employer-dashboard-shell .kanban-card small,
.employer-dashboard-shell .kanban-date,
.employer-dashboard-shell .app-row__info small,
.employer-dashboard-shell .app-row__meta small,
.employer-dashboard-shell .approval-step small,
.employer-dashboard-shell .dashboard-card .empty-state,
.employer-dashboard-shell .budget-ring small,
.employer-dashboard-shell .perf-info small,
.employer-dashboard-shell .perf-label {
    color: #475569 !important;
}
.employer-dashboard-shell .notice-card {
    background: #f1fbf8 !important;
    border-color: #bde7df !important;
    color: #17211f !important;
}
.employer-dashboard-shell .notice-card span {
    color: #0f766e !important;
}
.employer-dashboard-shell .notice-card p,
.employer-dashboard-shell .notice-card a {
    color: #334155 !important;
}
.employer-dashboard-shell .coin-wallet-card--employer {
    background: linear-gradient(135deg, #0f766e, #115e59) !important;
    border-color: rgba(255,255,255,.20) !important;
    color: #fff !important;
}
.employer-dashboard-shell .coin-wallet-card--employer span,
.employer-dashboard-shell .coin-wallet-card--employer strong {
    color: #fff !important;
}
.employer-dashboard-shell .coin-wallet-card--employer small {
    color: #dffaf5 !important;
}
.employer-dashboard-shell .coin-wallet-card--employer .coin-wallet-actions a {
    background: #fff !important;
    color: #0f766e !important;
    border-color: transparent !important;
}
.employer-dashboard-shell .dashboard-tabs a.active {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
}
.employer-dashboard-shell .dashboard-action-strip a,
.employer-dashboard-shell .eqa-btn--outline {
    background: #f8fafc !important;
    border: 1px solid #d6e3df !important;
    color: #0f766e !important;
}
.employer-dashboard-shell .eqa-btn--primary,
.employer-dashboard-shell .dashboard-action-strip a:hover,
.employer-dashboard-shell .dashboard-card__head a:hover {
    background: #0f766e !important;
    border-color: #0f766e !important;
    color: #fff !important;
}
.employer-dashboard-shell .employer-flow-card {
    background: #fff !important;
    border-color: #d6e3df !important;
    border-left: 4px solid #bde7df !important;
    color: #17211f !important;
}
.employer-dashboard-shell .employer-flow-card strong {
    color: #0f172a !important;
}
.employer-dashboard-shell .employer-flow-card small {
    color: #475569 !important;
}
.employer-dashboard-shell .employer-flow-card span,
.employer-dashboard-shell .approval-step__num {
    background: #0f766e !important;
    color: #fff !important;
}

.dashboard-shell .match-card,
.dashboard-shell .kanban-card {
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #d6e3df !important;
    opacity: 1 !important;
}
.dashboard-shell .match-info strong,
.dashboard-shell .kanban-card strong,
.dashboard-shell .kanban-card a {
    color: #0f172a !important;
}
.dashboard-shell .match-info small,
.dashboard-shell .kanban-card small,
.dashboard-shell .kanban-date {
    color: #475569 !important;
}
.dashboard-shell .match-card--placeholder,
.dashboard-shell .kanban-card--placeholder {
    border-style: dashed !important;
}

.employer-hire-hero {
    padding: 34px 0 28px !important;
    background: linear-gradient(180deg, #eef8f5 0%, #fff 100%) !important;
}
.employer-hire-hero h1 {
    font-size: clamp(34px, 4.4vw, 54px);
    color: #13211f;
}
.employer-hire-hero p {
    max-width: 760px;
    color: #40504d;
}
.employer-hire-hero + .section {
    padding-top: 28px;
}
.employer-hire-layout {
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 22px !important;
    align-items: start;
}
.employer-hire-layout .notice-card {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    margin: 0;
    background: #e7f8f3;
    border: 1px solid #bde7df;
    color: #17211f;
}
.employer-hire-layout .notice-card span {
    color: #0f766e;
    font-weight: 800;
}
.employer-hire-layout .notice-card a {
    color: #0f172a;
    font-weight: 800;
}
.employer-hire-layout .form-card {
    grid-column: 1;
    grid-row: 2;
    background: #fff;
    border: 1px solid #d6e3df;
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(23,33,31,.08);
}
.employer-hire-layout .form-help {
    grid-column: 2;
    grid-row: 2;
    position: sticky;
    top: 88px;
    background: #fff;
    border: 1px solid #d6e3df;
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(23,33,31,.08);
}
.employer-hire-layout .form-card input,
.employer-hire-layout .form-card select,
.employer-hire-layout .form-card textarea,
.employer-hire-layout .portal-auth-form input {
    min-height: 46px;
    font-size: 15px;
    color: #0f172a;
    background: #fff;
}
.employer-hire-layout .form-card textarea {
    min-height: 108px;
}
.employer-hire-layout .form-card input::placeholder,
.employer-hire-layout .form-card textarea::placeholder {
    color: #64748b;
}
.employer-hire-layout .form-help h2,
.employer-hire-layout .form-help h3,
.employer-hire-layout .form-card label span {
    color: #17211f;
}
.employer-hire-layout .form-help li,
.employer-hire-layout .form-help p,
.employer-hire-layout .form-help small {
    color: #475569;
}
@media (max-width: 980px) {
    .employer-hire-layout {
        grid-template-columns: 1fr !important;
    }
    .employer-hire-layout .notice-card,
    .employer-hire-layout .form-card,
    .employer-hire-layout .form-help {
        grid-column: auto;
        grid-row: auto;
    }
    .employer-hire-layout .form-help {
        position: static;
    }
}
@media (max-width: 640px) {
    .employer-dashboard-shell .dashboard-hero {
        align-items: stretch;
    }
    .employer-dashboard-shell .dashboard-panel,
    .employer-hire-layout .form-card,
    .employer-hire-layout .form-help {
        padding: 18px;
    }
    .employer-hire-layout .notice-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ===== SOP 214 — Employer dashboard aligned with candidate dashboard ===== */
.employer-dashboard-shell {
    background: var(--ink) !important;
    color: #fff !important;
}
.employer-dashboard-shell .dashboard-profile,
.employer-dashboard-shell .dashboard-panel {
    background: #243b56 !important;
    border-color: rgba(255,255,255,.14) !important;
    color: #fff !important;
}
.employer-dashboard-shell .dashboard-card,
.employer-dashboard-shell .dashboard-metrics > div,
.employer-dashboard-shell .approval-info-card,
.employer-dashboard-shell .app-row,
.employer-dashboard-shell .kanban-column,
.employer-dashboard-shell .perf-row,
.employer-dashboard-shell .profile-strength-bar {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.14) !important;
    color: #f8fafc !important;
}
.employer-dashboard-shell .dashboard-hero h1,
.employer-dashboard-shell .dashboard-welcome h2,
.employer-dashboard-shell .dashboard-card h3,
.employer-dashboard-shell .dashboard-card strong,
.employer-dashboard-shell .dashboard-metrics strong,
.employer-dashboard-shell .dashboard-profile strong,
.employer-dashboard-shell .approval-info-card h3,
.employer-dashboard-shell .approval-step strong,
.employer-dashboard-shell .kanban-header strong,
.employer-dashboard-shell .app-row__info strong,
.employer-dashboard-shell .app-row__info a,
.employer-dashboard-shell .perf-info strong {
    color: #fff !important;
}
.employer-dashboard-shell .eyebrow--light,
.employer-dashboard-shell .dashboard-hero p,
.employer-dashboard-shell .dashboard-welcome p,
.employer-dashboard-shell .dashboard-card p,
.employer-dashboard-shell .dashboard-card small,
.employer-dashboard-shell .dashboard-metrics span,
.employer-dashboard-shell .dashboard-profile span,
.employer-dashboard-shell .dashboard-profile small,
.employer-dashboard-shell .approval-step small,
.employer-dashboard-shell .kanban-card small,
.employer-dashboard-shell .kanban-date,
.employer-dashboard-shell .app-row__info small,
.employer-dashboard-shell .app-row__meta small,
.employer-dashboard-shell .perf-info small,
.employer-dashboard-shell .perf-label,
.employer-dashboard-shell .muted,
.employer-dashboard-shell .profile-strength-info span {
    color: #cbd5e1 !important;
}
.employer-dashboard-shell .dashboard-welcome {
    border-bottom-color: rgba(255,255,255,.12) !important;
}
.employer-dashboard-shell .dashboard-tabs a,
.employer-dashboard-shell .dashboard-action-strip a,
.employer-dashboard-shell .dashboard-card__head a,
.employer-dashboard-shell .dashboard-card__head span,
.employer-dashboard-shell .eqa-btn--outline {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.14) !important;
    color: #dff4f1 !important;
}
.employer-dashboard-shell .dashboard-tabs a.active,
.employer-dashboard-shell .dashboard-action-strip a:hover,
.employer-dashboard-shell .dashboard-card__head a:hover,
.employer-dashboard-shell .eqa-btn--primary {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #fff !important;
}
.employer-dashboard-shell .coin-wallet-card--employer {
    background: linear-gradient(135deg, #0f766e, #115e59) !important;
    border-color: rgba(255,255,255,.18) !important;
}
.employer-dashboard-shell .coin-wallet-card--employer .coin-wallet-actions a {
    background: #fff !important;
    color: #0f766e !important;
}
.employer-dashboard-shell .notice-card,
.employer-dashboard-shell .dashboard-card .empty-state,
.employer-dashboard-shell .dashboard-card .related-list a,
.employer-dashboard-shell .dashboard-card .related-list p,
.employer-dashboard-shell .dashboard-card .mini-list div {
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.14) !important;
    color: #e2e8f0 !important;
}
.employer-dashboard-shell .notice-card span,
.employer-dashboard-shell .notice-card a {
    color: #dff4f1 !important;
}
.employer-dashboard-shell .kanban-card {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #d6e3df !important;
}
.employer-dashboard-shell .kanban-card strong {
    color: #0f172a !important;
}
.employer-dashboard-shell .kanban-card small,
.employer-dashboard-shell .kanban-card .kanban-date {
    color: #475569 !important;
}
.employer-dashboard-shell .employer-flow-card {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.14) !important;
}
.employer-dashboard-shell .employer-quick-actions {
    display: none !important;
}
.employer-health-grid {
    margin: 18px 0 8px;
}
.profile-tip-chip--ok {
    background: rgba(16,185,129,.18);
    color: #86efac;
}
.profile-tip-chip--neutral,
.profile-tip-chip--link {
    background: rgba(255,255,255,.12);
    color: #e2e8f0;
}
.profile-tip-chip--link {
    text-decoration: none;
}
