* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1e293b;
    background: #f8fafc;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #dbe4ee;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(10px);
}

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

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex: 0 0 auto;
    min-width: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}

.brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #0f172a;
    letter-spacing: 0;
}

.dashboard-section {
    padding-top: 0;
    padding-bottom: 0;
    padding: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.nav-badge-image {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #dbe4ee;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-weight: 600;
    color: #334155;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: #ecfeff;
    color: #0f766e;
    box-shadow: inset 0 0 0 1px #99f6e4;
    outline: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.nav-cta {
    min-width: 120px;
}

.nav-toggle {
    display: none;
    visibility: hidden;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.nav-toggle-box {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
}

.nav-toggle-box span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.hero,
.section {
    padding: 72px 0;
}

.territories-marquee {
    position: relative;
    overflow: hidden;
    padding: 14px 0;
    border-bottom: 1px solid #dbe4ee;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.territories-marquee-inner {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.territories-marquee-title {
    margin: 0 0 10px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f766e;
    text-transform: uppercase;
}

.territories-track {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: territoriesSlide 34s linear infinite;
}

.territories-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.territory-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.territories-marquee:hover .territories-track {
    animation-play-state: paused;
}

.hero {
    background: linear-gradient(135deg, #e0f2fe, #f8fafc 55%, #dcfce7);
    display: flex;
    justify-content: center;
}

.animated-warning {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    animation: warningPulse 2s ease-in-out infinite;
    transform-origin: center;
    text-shadow: 0 8px 24px rgba(185, 28, 28, 0.14);
    text-align: center;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.warning-line {
    display: block;
    width: fit-content;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
}

.hero-grid,
.process-grid,
.form-layout,
.feature-grid,
.editorial-grid,
.fmg-grid,
.lifetime-grid,
.preferences-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.hero-single {
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-single > div {
    width: min(920px, 100%);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 6px 24px;
}

.section-alt {
    background: #e2e8f0;
}

.eyebrow {
    margin: 0 0 6px;
    color: #0f766e;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 8px;
}

h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 12px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.lead {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.hero-actions,
.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
    justify-content: center;
}

.dashboard-actions-left {
    justify-content: flex-start;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.button-small {
    min-height: 38px;
}

.button-secondary {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #94a3b8;
}

.button-exit {
    background: #b91c1c;
}

.recruitment-section {
    padding: 56px 0 84px;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.recruitment-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 500px);
    align-items: center;
    gap: 56px;
}

.recruitment-copy {
    max-width: 680px;
    min-width: 0;
}

.recruitment-copy p {
    margin: 0 0 20px;
    font-size: 1.08rem;
    line-height: 1.78;
    color: #334155;
    max-width: 34em;
    text-align: left;
}

.recruitment-copy p:last-child {
    margin-bottom: 0;
}

.recruitment-media {
    display: flex;
    justify-content: center;
    justify-self: end;
    width: 100%;
    min-width: 0;
}

.recruitment-side {
    display: grid;
    gap: 24px;
    justify-items: end;
    min-width: 0;
}

.recruitment-media img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    filter: drop-shadow(0 22px 40px rgba(15, 23, 42, 0.1));
}

.recruitment-territories {
    width: min(100%, 1040px);
    margin: 28px auto 0;
    padding: 20px 22px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.recruitment-territories-title {
    margin: 0 0 10px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f766e;
}

.recruitment-territories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.territory-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid #dbe4ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #334155;
    line-height: 1.2;
    white-space: nowrap;
}

.territory-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.35);
    flex: 0 0 auto;
}

@keyframes territoriesSlide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 8px));
    }
}

.editorial-section {
    padding: 48px 0 72px;
    background:
        radial-gradient(circle at top left, rgba(250, 204, 21, 0.12), transparent 34%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.08), transparent 38%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.editorial-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 56px;
}

.editorial-media {
    display: flex;
    justify-content: center;
}

.editorial-media img {
    width: min(100%, 430px);
    height: auto;
    display: block;
}

.editorial-copy {
    max-width: 720px;
    color: #64748b;
}

.editorial-copy h2 {
    margin-bottom: 34px;
    font-size: clamp(1.2rem, 1.55vw, 1.55rem);
    line-height: 1.45;
    color: #c026d3;
    font-weight: 700;
}

.editorial-copy p {
    margin: 0 0 34px;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.5;
    color: #64748b;
}

.fmg-section {
    padding: 48px 0 72px;
    background: #ffffff;
}

.fmg-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
}

.fmg-copy {
    max-width: 760px;
    color: #64748b;
}

.fmg-copy h2 {
    margin-bottom: 34px;
    font-size: clamp(1.2rem, 1.55vw, 1.6rem);
    line-height: 1.4;
    color: #6b7280;
    font-weight: 700;
}

.fmg-copy p {
    margin: 0 0 34px;
    font-size: clamp(1.1rem, 1.65vw, 1.32rem);
    line-height: 1.55;
    color: #64748b;
}

.fmg-media {
    display: flex;
    justify-content: center;
}

.fmg-media img {
    width: min(100%, 520px);
    height: auto;
    display: block;
}

.lifetime-section {
    padding: 40px 0 72px;
    background: #ffffff;
}

.lifetime-heading {
    text-align: center;
    margin-bottom: 34px;
}

.lifetime-heading h2,
.lifetime-heading p {
    margin: 0;
    color: #d946ef;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-weight: 400;
    line-height: 1.04;
}

.lifetime-heading h2 {
    font-size: clamp(3rem, 5vw, 5.6rem);
}

.lifetime-heading p {
    margin-top: 18px;
    font-size: clamp(2.7rem, 4.8vw, 5.1rem);
}

.lifetime-grid {
    align-items: start;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
}

.lifetime-media {
    display: flex;
    justify-content: center;
}

.lifetime-media img {
    width: min(100%, 700px);
    height: auto;
    display: block;
}

.lifetime-copy {
    color: #64748b;
}

.lifetime-copy h3 {
    margin: 0 0 30px;
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.35;
    color: #6b7280;
    font-weight: 700;
}

.lifetime-copy p {
    margin: 0 0 30px;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.55;
    color: #64748b;
}

.preferences-section {
    padding: 36px 0 72px;
    background: #ffffff;
}

.preferences-heading {
    text-align: center;
    margin-bottom: 34px;
}

.preferences-heading h2,
.preferences-heading p {
    margin: 0;
    color: #d946ef;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-weight: 400;
    line-height: 1.04;
}

.preferences-heading h2 {
    font-size: clamp(3rem, 5vw, 5.5rem);
}

.preferences-heading p {
    margin-top: 18px;
    font-size: clamp(2.8rem, 4.8vw, 5rem);
}

.preferences-grid {
    align-items: center;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
}

.preferences-copy {
    color: #64748b;
}

.preferences-copy h3 {
    margin: 0 0 32px;
    font-size: clamp(1.3rem, 2vw, 2rem);
    line-height: 1.35;
    color: #6b7280;
    font-weight: 700;
}

.preferences-copy p {
    margin: 0 0 30px;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.55;
    color: #64748b;
}

.preferences-media {
    display: flex;
    justify-content: center;
}

.preferences-media img {
    width: min(100%, 700px);
    height: auto;
    display: block;
}

.differences-section {
    padding: 36px 0 72px;
    background: #ffffff;
}

.differences-shell {
    max-width: 1460px;
    text-align: center;
}

.differences-shell h2,
.differences-script {
    margin: 0;
    color: #d946ef;
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-weight: 400;
    line-height: 1.05;
}

.differences-shell h2 {
    font-size: clamp(3rem, 5vw, 5.6rem);
}

.differences-script {
    margin-top: 28px;
    font-size: clamp(2.4rem, 4vw, 4.4rem);
    color: #64748b;
}

.differences-shell h3 {
    margin: 28px 0 34px;
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    line-height: 1.35;
    color: #6b7280;
    font-weight: 700;
}

.differences-shell p {
    margin: 0 0 34px;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem);
    line-height: 1.55;
    color: #64748b;
}

.panel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.stats ul,
.steps,
.alert ul {
    margin: 0;
    padding-left: 18px;
}

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

.tag {
    display: inline-block;
    margin-right: 8px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #ecfeff;
    color: #155e75;
    font-size: 0.9rem;
}

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #e0f2fe, #f8fafc);
}

.auth-shell {
    width: min(1120px, calc(100% - 32px));
    padding: 40px 0;
}

.auth-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: stretch;
}

.auth-aside {
    display: grid;
    align-content: start;
    gap: 18px;
    padding: 28px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)),
        linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(16, 185, 129, 0.08));
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.auth-kicker {
    margin: 0;
    color: #0f766e;
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-copy {
    margin: 0;
    color: #475569;
    font-size: 1.04rem;
    line-height: 1.7;
}

.auth-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
    color: #334155;
}

.auth-list li {
    line-height: 1.55;
}

.auth-panel {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.auth-content {
    display: grid;
    align-content: start;
}

.auth-content-narrow {
    width: min(720px, 100%);
    margin: 0 auto;
}

.auth-form-title {
    margin: 0 0 8px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.02;
    color: #0f172a;
}

.auth-form-copy {
    margin: 0 0 22px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

.auth-form {
    gap: 18px;
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
}

.auth-note {
    margin-bottom: 0;
}

.auth-note a {
    color: #0f766e;
    font-weight: 700;
}

.auth-back-link {
    justify-self: start;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.back-link:hover,
.back-link:focus-visible {
    background: #115e59;
    color: #ffffff;
    outline: none;
}

.muted {
    color: #475569;
}

.auth-panel .muted {
    margin-top: 18px;
}

.form-stack {
    display: grid;
    gap: 16px;
}

.form-stack label {
    display: grid;
    gap: 8px;
    font-weight: 700;
}

.form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.form-span-2 {
    grid-column: 1 / -1;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #94a3b8;
    border-radius: 8px;
    font: inherit;
    color: #0f172a;
    background: #ffffff;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

textarea {
    resize: vertical;
}

.alert,
.success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
}

.alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.success {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
}

.table-wrap {
    overflow-x: auto;
}

.container.dashboard-shell {
    display: block;
    width: min(1380px, 100%);
    margin-left: 0;
    margin-right: auto;
    padding-left: 328px;
    padding-top: 0;
}

.dashboard-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 304px;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
    padding: 28px 22px 28px;
    border: none;
    border-right: 1px solid #dbe4ee;
    background: linear-gradient(180deg, #ffffff, #f3f7fb 55%, #eef4f9);
    box-shadow: 12px 0 30px rgba(15, 23, 42, 0.05);
}

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

.dashboard-mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
    list-style: none;
}

.dashboard-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.dashboard-mobile-menu[open] summary {
    margin-bottom: 16px;
}

.dashboard-burger,
.dashboard-burger::before,
.dashboard-burger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #0f172a;
    border-radius: 999px;
    content: "";
}

.dashboard-burger {
    position: relative;
}

.dashboard-burger::before {
    position: absolute;
    top: -6px;
    left: 0;
}

.dashboard-burger::after {
    position: absolute;
    top: 6px;
    left: 0;
}

.dashboard-main {
    display: grid;
    gap: 20px;
}

.dashboard-sidebar-top {
    margin-bottom: 28px;
    padding: 0 4px 18px;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-site-title {
    margin: 0 0 18px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.dashboard-sidebar-top h1 {
    margin-bottom: 10px;
    font-size: clamp(1rem, 1.45vw, 1.45rem);
    line-height: 1.05;
}

.dashboard-sidebar-meta {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.45;
    word-break: break-word;
}

.dashboard-sidebar .eyebrow {
    font-size: 0.72rem;
}

.dashboard-nav {
    display: grid;
    gap: 6px;
}

.dashboard-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 8px;
    color: #334155;
    font-weight: 600;
    background: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.dashboard-nav-link:hover,
.dashboard-nav-link:focus-visible {
    background: #ecfeff;
    color: #0f766e;
    transform: translateX(2px);
}

.dashboard-nav-link.is-active {
    background: #0f766e;
    color: #ffffff;
}

.dashboard-nav-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
    flex: 0 0 auto;
}

.dashboard-nav-link:last-child {
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
}

.dashboard-hero {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: end;
    padding: 24px 28px;
    border: 1px solid #d9e4ef;
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 30%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.dashboard-hero h2 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 0.98;
}

.dashboard-hero-copy {
    margin-bottom: 0;
    max-width: 58ch;
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.6;
}

.dashboard-hero-badge {
    display: grid;
    gap: 6px;
    padding: 18px;
    border-radius: 8px;
    background: #0f172a;
    color: #e2e8f0;
}

.dashboard-hero-badge span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.dashboard-hero-badge strong {
    font-size: 1.2rem;
    line-height: 1.2;
}

.dashboard-panel {
    padding: 24px;
}

.dossier-notice {
    margin-bottom: 16px;
    border-color: #99f6e4;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.12), transparent 32%),
        linear-gradient(180deg, #f0fdfa, #ffffff);
}

.dossier-notice-copy {
    max-width: 60ch;
    color: #475569;
    line-height: 1.6;
}

.dossier-notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

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

.dashboard-stats-secondary {
    margin-top: 16px;
}

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

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

.profile-intro {
    margin-bottom: 18px;
    max-width: 64ch;
    color: #64748b;
    line-height: 1.6;
}

.dossier-medical-note {
    padding: 18px 20px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    background: linear-gradient(180deg, #eff6ff, #f8fbff);
}

.dossier-medical-note p:last-child {
    margin-bottom: 0;
    color: #334155;
    line-height: 1.65;
}

.dossier-file-note {
    margin: -6px 0 0;
    color: #475569;
}

.dossier-file-note a {
    color: #0f766e;
    font-weight: 700;
}

.support-overview {
    margin-bottom: 16px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 30%),
        linear-gradient(180deg, #f8fbff, #ffffff);
}

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

.support-thread-card {
    padding: 18px;
    border: 1px solid #d9e4ef;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.support-thread-card-outgoing {
    background: linear-gradient(180deg, #f8fffd, #ffffff);
}

.support-thread-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.support-thread-header h3 {
    margin: 0;
}

.support-thread-label {
    margin: 0 0 6px;
    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.support-thread-date {
    margin: 0;
    color: #64748b;
    font-size: 0.92rem;
    white-space: nowrap;
}

.support-bubble {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.support-bubble p {
    margin: 0;
    line-height: 1.65;
}

.support-bubble-admin {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.support-bubble-candidate {
    background: #ecfeff;
    border: 1px solid #99f6e4;
}

.support-bubble-candidate span {
    display: inline-block;
    margin-bottom: 8px;
    color: #0f766e;
    font-size: 0.82rem;
    font-weight: 700;
}

.support-reply-form,
.support-compose-form {
    margin-top: 6px;
}

.support-reply-toggle {
    margin-top: 10px;
}

.support-reply-toggle summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.support-reply-toggle summary::-webkit-details-marker {
    display: none;
}

.support-reply-toggle[open] summary {
    margin-bottom: 12px;
}

.profile-actions-top {
    margin-bottom: 16px;
}

.profile-item {
    display: grid;
    gap: 10px;
    min-height: 108px;
    align-content: start;
    padding: 18px;
    border: 1px solid #d9e4ef;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.profile-item span {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 700;
}

.profile-item strong {
    color: #0f172a;
    font-size: 1.05rem;
    line-height: 1.45;
    word-break: break-word;
}

.profile-item-full {
    grid-column: 1 / -1;
}

.profile-motivation {
    font-weight: 600;
}

.stat-card {
    padding: 20px;
    border: 1px solid #d9e4ef;
    box-shadow: none;
}

.stat-card-soft {
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.stat-card h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.stat-card p {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #0f766e;
}

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

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

.dashboard-quick-links,
.dashboard-activity-list {
    display: grid;
    gap: 12px;
}

.dashboard-quick-link,
.dashboard-activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid #d9e4ef;
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.dashboard-quick-link strong,
.dashboard-activity-item strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
}

.dashboard-quick-link span,
.dashboard-activity-item span {
    display: block;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.45;
}

.dashboard-activity-item em {
    color: #0f766e;
    font-style: normal;
    font-weight: 700;
    text-align: right;
}

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

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid #d9e4ef;
    border-radius: 8px;
    background: #f8fbff;
}

.status-row span {
    color: #475569;
}

.status-row strong {
    color: #0f172a;
}

.stack-list > .panel {
    padding: 20px;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.admin-access-form {
    gap: 10px;
}

.admin-access-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.candidate-detail-card {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 22%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.candidate-back-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.candidate-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.candidate-detail-header h3 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1;
}

.candidate-detail-intro {
    max-width: 60ch;
}

.candidate-detail-subtitle {
    margin-bottom: 14px;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

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

.candidate-status-badge,
.candidate-meta-chip,
.candidate-access-item {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1;
}

.candidate-status-badge {
    background: #0f766e;
    color: #ffffff;
}

.candidate-meta-chip {
    border: 1px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.82);
    color: #334155;
}

.candidate-detail-photo {
    display: block;
    flex: 0 0 120px;
    width: 132px;
    min-width: 132px;
    max-width: 132px;
    height: 132px;
    max-height: 132px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #d9e4ef;
    overflow: hidden;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.candidate-action-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.candidate-action-stack .button {
    width: auto;
    min-height: 40px;
    padding: 0 14px;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
    font-size: 0.9rem;
}

.candidate-action-stack .button-exit {
    box-shadow: 0 12px 24px rgba(185, 28, 28, 0.2);
}

.candidate-action-note {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #d9e4ef;
    border-radius: 8px;
    background: #f8fbff;
}

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

.candidate-profile-item {
    min-height: 58px;
    padding: 8px 10px;
    border-color: #e2e8f0;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: none;
    gap: 3px;
}

.candidate-profile-item span {
    color: #64748b;
    letter-spacing: 0;
    font-size: 0.72rem;
}

.candidate-profile-item strong {
    font-size: 0.84rem;
    line-height: 1.18;
}

.candidate-access-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.candidate-access-item {
    border: 1px solid #cbd5e1;
    background: #f8fbff;
    color: #0f172a;
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.8rem;
}

.candidate-motivation-card {
    min-height: 0;
    padding: 12px;
}

.candidate-motivation-card .profile-motivation {
    line-height: 1.7;
}

.candidate-credit-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dbe4ee;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.candidate-credit-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.candidate-credit-form {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.4fr 0.8fr auto;
    align-items: end;
}

.candidate-credit-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
}

.candidate-credit-form .button {
    min-height: 40px;
}

.candidate-list-table td {
    vertical-align: middle;
}

.candidate-name-link {
    display: inline-block;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}

.candidate-name-link:hover,
.candidate-name-link:focus-visible,
.candidate-name-link.is-active {
    color: #0f766e;
}

footer.site-footer {
    margin-top: 0;
    padding: 40px 0 20px;
    background-color: #0f172a;
    color: #e2e8f0;
}

footer.site-footer .footer-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: start;
}

footer.site-footer .footer-brand {
    display: inline-block;
    margin-bottom: 10px;
    color: #ffffff;
}

footer.site-footer .footer-copy {
    margin: 0;
    color: #cbd5e1;
}

footer.site-footer .footer-title {
    margin: 0 0 12px;
    font-weight: 700;
    color: #ffffff;
}

footer.site-footer .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

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

footer.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer.site-footer a:hover,
footer.site-footer a:focus-visible {
    color: #ffffff;
}

footer.site-footer .footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #334155;
}

footer.site-footer .footer-bottom p {
    margin: 0;
    color: #94a3b8;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}

@keyframes warningPulse {
    0% {
        opacity: 0.65;
        transform: scale(0.98);
        color: #7f1d1d;
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        color: #b91c1c;
    }
    100% {
        opacity: 0.65;
        transform: scale(0.98);
        color: #7f1d1d;
    }
}

@media (max-width: 860px) {
    .hero-grid,
    .process-grid,
    .form-layout,
    .card-grid,
    .recruitment-grid,
    .feature-grid,
    .editorial-grid,
    .footer-grid,
    .fmg-grid,
    .lifetime-grid,
    .preferences-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: block;
        padding: 12px 0;
        min-height: 0;
    }

    .territories-marquee {
        padding: 12px 0;
    }

    .territories-track {
        gap: 12px;
        animation-duration: 28s;
    }

    .territories-group {
        gap: 10px;
    }

    .territory-chip {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.95rem;
    }

    .nav-bar {
        min-height: 52px;
    }

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

    .auth-shell {
        padding: 24px 0;
    }

    .auth-aside,
    .auth-panel {
        padding: 22px;
    }

    .nav-toggle {
        display: inline-flex;
        visibility: visible;
    }

    .nav-menu {
        display: none;
        width: 100%;
        margin-top: 12px;
        padding: 14px;
        border: 1px solid #dbe4ee;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .nav-menu[data-open="true"] {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-badge-image {
        width: 64px;
        height: 64px;
        align-self: center;
        margin-bottom: 4px;
    }

    .nav-links a,
    .nav-cta {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-actions {
        padding-top: 4px;
    }

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

    .hero {
        min-height: auto;
    }

    .hero-single > div {
        padding: 8px 20px;
    }

    .animated-warning {
        width: 100%;
    }

    .warning-line {
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    h1 {
        font-size: clamp(1.35rem, 6.8vw, 2rem);
        line-height: 1.12;
    }

    h2 {
        font-size: clamp(1.3rem, 5.8vw, 1.8rem);
        line-height: 1.2;
    }

    .container.dashboard-shell,
    .profile-grid,
    .dashboard-info-grid,
    .dashboard-duo-grid,
    .stats-grid,
    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .container.dashboard-shell {
        display: grid;
        width: min(1100px, calc(100% - 32px));
        margin-left: auto;
        padding-left: 0;
    }

    .recruitment-copy,
    .recruitment-media,
    .recruitment-side {
        max-width: 100%;
    }

    .recruitment-copy {
        margin: 0 auto;
        text-align: center;
    }

    .recruitment-copy h2,
    .recruitment-copy p {
        max-width: 100%;
    }

    .recruitment-copy h2,
    .lead {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .recruitment-copy h2 {
        font-size: 1.9rem;
    }

    .recruitment-media {
        justify-self: center;
    }

    .recruitment-side {
        justify-items: center;
    }

    .dashboard-mobile-menu {
        display: block;
        margin-bottom: 18px;
        margin-top: 0;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .dashboard-panel {
        padding: 20px;
    }

    .form-span-2 {
        grid-column: auto;
    }

    .candidate-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .candidate-action-stack {
        flex-direction: column;
        align-items: stretch;
    }

    .candidate-credit-form {
        grid-template-columns: 1fr;
    }

}
