:root {
    --font-heading: "Space Grotesk", sans-serif;
    --font-body: "Outfit", sans-serif;
    --bg: #edf3f8;
    --bg-deep: #091521;
    --surface: #ffffff;
    --surface-soft: #f7fafc;
    --line: #d6e0e8;
    --text: #112132;
    --muted: #64748b;
    --brand: #0e7490;
    --brand-dark: #0f3b53;
    --brand-ink: #0a2b3e;
    --accent: #f4b740;
    --accent-soft: #fff1cc;
    --danger: #dc2626;
    --success-soft: #daf4e8;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 26px 80px rgba(15, 23, 42, 0.14);
    --sidebar-width: 300px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(14, 116, 144, 0.14), transparent 28%),
        radial-gradient(circle at 80% 0%, rgba(244, 183, 64, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(237, 243, 248, 0.92)),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand strong {
    font-family: var(--font-heading);
}

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

.admin-app {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
    gap: 1.25rem;
    padding: 1.25rem;
}

.sidebar-panel {
    position: sticky;
    top: 1.25rem;
    height: calc(100vh - 2.5rem);
    min-height: 0;
    overflow: hidden;
}

.sidebar-surface {
    background:
        linear-gradient(180deg, rgba(10, 28, 46, 0.98), rgba(12, 46, 68, 0.96) 62%, rgba(19, 77, 95, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    color: #fff;
    padding: 1.4rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
}

.sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: inherit;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #ff8a5b);
    color: #102131;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(244, 183, 64, 0.35);
}

.brand small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
}

.sidebar-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.32rem 0.7rem;
}

.sidebar-summary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 24px;
    padding: 1rem;
    margin-bottom: 1.1rem;
}

.sidebar-group + .sidebar-group {
    margin-top: 1rem;
}

.sidebar-group-title {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 0.65rem 0.7rem;
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.nav-link-panel {
    color: rgba(255, 255, 255, 0.78);
    padding: 0.82rem 0.92rem;
    border-radius: 18px;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    transition: all 0.22s ease;
    font-weight: 500;
}

.nav-link-icon {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}

.nav-link-panel:hover,
.nav-link-panel.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(62, 201, 196, 0.14));
    transform: translateX(2px);
}

.nav-link-panel.active .nav-link-icon,
.nav-link-panel:hover .nav-link-icon {
    background: rgba(244, 183, 64, 0.16);
    color: var(--accent);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 0.35rem;
    display: grid;
    gap: 0.5rem;
}

.sidebar-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    text-decoration: none;
}

.sidebar-footer-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

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

.app-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(214, 224, 232, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.topbar-primary {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.btn-topbar {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--brand-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--accent-soft);
    border: 1px solid rgba(244, 183, 64, 0.45);
    color: #7a4f00;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.52rem 0.9rem;
}

.status-chip.is-saving i {
    animation: spin 0.85s linear infinite;
}

.status-chip.is-success {
    background: rgba(20, 184, 106, 0.14);
    border-color: rgba(20, 184, 106, 0.28);
    color: #0f6a42;
}

.status-chip.is-error {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(220, 38, 38, 0.22);
    color: #a92222;
}

.page-shell {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.min-w-0 {
    min-width: 0 !important;
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem 0.4rem 0.45rem;
    color: var(--text);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.user-chip small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), #0e5674);
    color: #fff;
    font-weight: 700;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--muted);
}

.glass-card,
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(214, 224, 232, 0.95);
    border-radius: 26px;
    box-shadow: var(--shadow);
    min-width: 0;
}

.card table {
    margin-bottom: 0;
}

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

.stat-card {
    padding: 1.3rem;
    border-radius: 24px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.94));
    border: 1px solid rgba(214, 224, 232, 0.98);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: auto -12% -34% auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.14), transparent 65%);
}

.stat-card .value {
    font-size: 2rem;
    font-family: var(--font-heading);
    margin: 0.35rem 0 0;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1rem;
}

.hero-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(244, 183, 64, 0.18), transparent 28%),
        linear-gradient(135deg, #082538, #11415f 55%, #0e7490 100%);
    color: #fff;
    border-radius: 30px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
}

.hero-card .eyebrow,
.hero-card .text-secondary {
    color: rgba(255, 255, 255, 0.72) !important;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-kpis {
    display: grid;
    gap: 1rem;
}

.hero-mini {
    border-radius: 24px;
    padding: 1.25rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 251, 0.96));
    border: 1px solid rgba(214, 224, 232, 0.98);
    box-shadow: var(--shadow);
}

.metric-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.metric-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--brand);
}

.metric-dot.warn {
    background: var(--accent);
}

.metric-dot.good {
    background: #14b86a;
}

.table-responsive {
    border-radius: 20px;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(248, 250, 252, 0.72);
    --bs-table-hover-bg: rgba(239, 244, 247, 0.82);
}

.table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
    border-bottom-width: 1px;
    padding-top: 0;
}

.pipeline-shell {
    display: grid;
    gap: 1.25rem;
    min-width: 0;
}

.talent-search-shell {
    display: grid;
    gap: 1.25rem;
}

.talent-search-card {
    position: relative;
    overflow: hidden;
}

.talent-search-card::after {
    content: "";
    position: absolute;
    inset: auto -8% -36% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 183, 64, 0.14), transparent 65%);
    pointer-events: none;
}

.talent-search-head {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.talent-search-copy {
    max-width: 760px;
}

.talent-search-text {
    color: var(--muted);
    line-height: 1.7;
}

.talent-search-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(118px, 1fr));
    gap: 0.75rem;
    min-width: min(100%, 380px);
}

.talent-search-stat {
    border-radius: 22px;
    border: 1px solid rgba(214, 224, 232, 0.95);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.92));
    padding: 1rem;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.talent-search-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
}

.talent-search-stat strong {
    display: block;
    margin-top: 0.3rem;
    font-family: var(--font-heading);
    font-size: 1.7rem;
}

.talent-filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.talent-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.1);
    color: var(--brand-dark);
    border: 1px solid rgba(14, 116, 144, 0.14);
    font-size: 0.82rem;
    font-weight: 600;
}

.talent-empty-state {
    min-height: 320px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 26px;
    border: 1px dashed rgba(148, 163, 184, 0.42);
    background: rgba(248, 250, 252, 0.72);
    padding: 2rem;
}

.talent-empty-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: rgba(14, 116, 144, 0.12);
    color: var(--brand-dark);
    font-size: 1.35rem;
}

.talent-results-table td {
    vertical-align: middle;
}

.talent-row-avatar {
    width: 44px;
    height: 44px;
}

.talent-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--text);
    font-size: 0.76rem;
}

.pipeline-hero-card {
    position: relative;
    overflow: hidden;
}

.pipeline-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -4% -28% auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.18), transparent 66%);
    pointer-events: none;
}

.pipeline-hero-top {
    display: flex;
    justify-content: space-between;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.pipeline-hero-copy {
    max-width: 700px;
}

.pipeline-hero-text {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.pipeline-hero-actions {
    display: grid;
    gap: 0.75rem;
    justify-items: end;
}

.pipeline-metric-card {
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(214, 224, 232, 0.95);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 252, 0.92));
    padding: 1.15rem;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.pipeline-metric-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    background: rgba(14, 116, 144, 0.12);
    color: var(--brand-dark);
}

.pipeline-metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1.1;
    margin: 0.2rem 0 0.45rem;
}

.kanban-board-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    min-width: 0;
    overflow: hidden;
}

.kanban-board-head > * {
    min-width: 0;
}

.kanban-board-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    max-width: 100%;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    background: rgba(14, 116, 144, 0.08);
    color: var(--brand-dark);
    border: 1px solid rgba(14, 116, 144, 0.16);
    font-size: 0.9rem;
    font-weight: 500;
}

.kanban-board-viewport {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable both-edges;
}

.kanban-shell-card {
    overflow: hidden;
    min-width: 0;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(8, minmax(250px, 270px));
    gap: 1rem;
    align-items: start;
    width: max-content;
    min-width: 100%;
}

.kanban-column {
    min-height: 620px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.94));
    border: 1px solid rgba(214, 224, 232, 0.98);
    padding: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.kanban-column.is-over {
    transform: translateY(-2px);
    border-color: rgba(14, 116, 144, 0.44);
    box-shadow: 0 22px 40px rgba(14, 116, 144, 0.12);
}

.kanban-column-head {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

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

.kanban-stage-dot {
    width: 0.82rem;
    height: 0.82rem;
    border-radius: 999px;
    margin-top: 0.45rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.95);
}

.kanban-stage-dot--slate {
    background: #94a3b8;
}

.kanban-stage-dot--cyan {
    background: #06b6d4;
}

.kanban-stage-dot--violet {
    background: #8b5cf6;
}

.kanban-stage-dot--amber {
    background: #f59e0b;
}

.kanban-stage-dot--indigo {
    background: #4f46e5;
}

.kanban-stage-dot--emerald {
    background: #10b981;
}

.kanban-stage-dot--green {
    background: #22c55e;
}

.kanban-stage-dot--rose {
    background: #f43f5e;
}

.kanban-column-title {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.kanban-column-description {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.kanban-column-count {
    min-width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.06);
    color: var(--brand-ink);
    font-weight: 700;
    font-size: 0.9rem;
}

.kanban-column-sla {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.5rem;
}

.kanban-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
}

.kanban-empty {
    min-height: 146px;
    border-radius: 22px;
    border: 1px dashed rgba(148, 163, 184, 0.45);
    background: rgba(248, 250, 252, 0.92);
    color: var(--muted);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.25rem;
}

.kanban-empty i {
    font-size: 1.35rem;
}

.kanban-card {
    border: 1px solid rgba(214, 224, 232, 0.98);
    border-radius: 24px;
    padding: 1rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.94));
    cursor: grab;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.kanban-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.kanban-card.dragging {
    opacity: 0.56;
    transform: rotate(1deg);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.16);
}

.kanban-card.is-saving {
    opacity: 0.76;
    pointer-events: none;
}

.kanban-card-top {
    min-width: 0;
}

.kanban-card-head {
    display: grid;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.kanban-card-heading {
    min-width: 0;
}

.kanban-card-title {
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kanban-card-subtitle {
    color: var(--muted);
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.js-card-stage {
    max-width: 100%;
    margin-left: 0;
    align-self: flex-start;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
}

.kanban-card-contact,
.kanban-card-details,
.kanban-card-tags,
.kanban-card-time,
.kanban-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.7rem;
}

.kanban-card-contact {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.8rem;
    align-items: flex-start;
}

.kanban-card-contact span,
.kanban-card-time span {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.kanban-contact-item {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.35rem;
    align-items: start !important;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 12rem;
}

.kanban-contact-item i {
    margin-top: 0.12rem;
    flex-shrink: 0;
}

.kanban-contact-value {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.kanban-card-details {
    margin-top: 0.9rem;
}

.kanban-detail-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    border-radius: 999px;
    padding: 0.34rem 0.65rem;
    background: rgba(14, 116, 144, 0.08);
    color: var(--brand-dark);
    font-size: 0.8rem;
    font-weight: 500;
}

.kanban-score {
    margin-top: 0.95rem;
}

.kanban-progress {
    height: 0.5rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(148, 163, 184, 0.18);
}

.kanban-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), #39c7be);
}

.kanban-card-tags {
    margin-top: 0.95rem;
}

.kanban-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text);
    font-size: 0.74rem;
}

.kanban-tag--highlight {
    background: rgba(244, 183, 64, 0.16);
    color: #8a5a00;
}

.kanban-card-footer {
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(214, 224, 232, 0.8);
    display: flex;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: flex-end;
}

.kanban-card-time {
    color: var(--muted);
    font-size: 0.78rem;
}

.kanban-card-actions {
    justify-content: flex-end;
    align-items: center;
}

.kanban-card-actions .btn-link {
    font-weight: 600;
    color: var(--brand-dark);
    text-decoration: none;
}

.kanban-card-actions .dropdown-menu {
    border-radius: 18px;
    border-color: rgba(214, 224, 232, 0.95);
    box-shadow: var(--shadow);
    padding: 0.45rem;
}

.kanban-card-actions .dropdown-item {
    border-radius: 12px;
    font-size: 0.88rem;
    padding: 0.45rem 0.75rem;
}

.kanban-card-actions .dropdown-item.active,
.kanban-card-actions .dropdown-item:active {
    background: rgba(14, 116, 144, 0.12);
    color: var(--brand-dark);
}

.kanban-board.is-readonly .kanban-card {
    cursor: default;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-panel {
    background: linear-gradient(140deg, rgba(15, 118, 110, 0.95), rgba(20, 66, 100, 0.92));
    color: #fff;
    border-radius: 32px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-panel .pattern {
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.3), transparent 20%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.18), transparent 24%);
    min-height: 100%;
}

.public-nav,
.public-footer {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(216, 226, 232, 0.9);
}

.public-footer {
    border-top: 1px solid rgba(216, 226, 232, 0.9);
    border-bottom: none;
    margin-top: 4rem;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.auth-card {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    overflow: hidden;
}

.auth-panel {
    padding: 3rem;
}

.auth-side {
    background: linear-gradient(160deg, #082032, #0f766e 55%, #f59e0b 140%);
    color: #fff;
}

.surface-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.badge-soft {
    background: rgba(15, 118, 110, 0.12);
    color: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}

.overview-hero {
    padding-bottom: 2rem;
}

.overview-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
    gap: 1.4rem;
    background: linear-gradient(140deg, rgba(12, 54, 70, 0.98), rgba(14, 116, 144, 0.94) 62%, rgba(244, 183, 64, 0.78));
    border-radius: 34px;
    box-shadow: var(--shadow-lg);
    color: #fff;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.overview-hero-shell::after {
    content: "";
    position: absolute;
    inset: auto -6% -26% auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%);
    pointer-events: none;
}

.overview-hero-copy,
.overview-hero-side {
    position: relative;
    z-index: 1;
}

.overview-hero-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.overview-hero-text {
    color: rgba(255, 255, 255, 0.86);
    max-width: 42rem;
}

.overview-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.overview-stat-card,
.overview-note-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    padding: 1.1rem 1.15rem;
}

.overview-hero-shell .badge-soft {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.overview-hero-shell .eyebrow,
.overview-stat-card .eyebrow,
.overview-note-card .eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.overview-stat-card .h2,
.overview-stat-card .h3,
.overview-note-card strong {
    color: #fff;
}

.overview-note-text,
.overview-cta-text,
.overview-cta-eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.overview-section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    align-items: start;
    gap: 1rem;
}

.overview-section-text {
    color: var(--muted);
    max-width: 34rem;
    justify-self: end;
}

.overview-feature-card {
    position: relative;
    overflow: hidden;
}

.overview-feature-card::after {
    content: "";
    position: absolute;
    inset: auto -10% -24% auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 116, 144, 0.1), transparent 66%);
    pointer-events: none;
}

.overview-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(14, 116, 144, 0.12);
    color: var(--brand-dark);
    font-size: 1.2rem;
}

.overview-list {
    display: grid;
    gap: 0.8rem;
}

.overview-list-item {
    display: grid;
    grid-template-columns: 2.2rem 1fr;
    gap: 0.85rem;
    align-items: start;
}

.overview-list-index,
.overview-flow-number {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: rgba(14, 116, 144, 0.12);
    color: var(--brand-dark);
    flex-shrink: 0;
}

.overview-persona-stack {
    display: grid;
    gap: 0.9rem;
}

.overview-persona-card {
    border: 1px solid rgba(214, 224, 232, 0.95);
    border-radius: 20px;
    padding: 1rem;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.92));
}

.overview-flow-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 252, 0.98));
}

.overview-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.overview-flow-step {
    border-radius: 22px;
    border: 1px solid rgba(214, 224, 232, 0.95);
    background: #fff;
    padding: 1rem;
    display: grid;
    gap: 0.8rem;
}

.overview-cta-panel {
    border-radius: 32px;
    background: linear-gradient(145deg, #0c3546, #0e7490 58%, #155e75);
    color: #fff;
    padding: 1.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}

.overview-cta-panel > :first-child {
    max-width: 720px;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.4rem;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 2px;
    background: var(--line);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.2rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.3rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
}

.sticky-panel {
    position: sticky;
    top: 1rem;
}

.admin-offcanvas {
    background: transparent;
}

.admin-offcanvas .offcanvas-body {
    padding-top: 0.25rem;
    overflow-y: auto;
}

.admin-offcanvas .sidebar-surface {
    min-height: auto;
    height: auto;
}

@media (max-width: 1199.98px) {
    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .pipeline-hero-actions {
        justify-items: start;
    }

    .talent-search-stats {
        min-width: 0;
    }

    .overview-section-head {
        grid-template-columns: 1fr;
    }

    .overview-section-text {
        justify-self: start;
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .admin-app,
    .auth-card {
        grid-template-columns: 1fr;
    }

    .admin-app {
        padding: 1rem;
    }

    .sidebar-panel {
        display: none;
    }

    .app-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .topbar-actions {
        justify-content: space-between;
    }

    .kanban-board {
        grid-template-columns: repeat(8, minmax(290px, 82vw));
    }

    .kanban-column {
        min-height: 540px;
    }

    .overview-hero-shell,
    .overview-flow-grid {
        grid-template-columns: 1fr;
    }

    .talent-search-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topbar-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .overview-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-app {
        padding: 0.8rem;
        gap: 0.9rem;
    }

    .app-topbar {
        padding: 0.9rem;
        border-radius: 20px;
    }

    .hero-card,
    .hero-mini,
    .glass-card,
    .surface-panel,
    .stat-card {
        border-radius: 22px;
    }

    .pipeline-metric-card,
    .kanban-column,
    .kanban-card {
        border-radius: 22px;
    }

    .talent-search-stat,
    .talent-empty-state {
        border-radius: 22px;
    }

    .kanban-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .kanban-card-actions {
        justify-content: space-between;
    }

    .kanban-card-actions .dropdown,
    .kanban-card-actions .dropdown .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .topbar-primary {
        width: 100%;
    }

    .user-chip {
        width: 100%;
        justify-content: flex-start;
    }

    .pipeline-metric-value {
        font-size: 1.75rem;
    }

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

}
