* {
    box-sizing: border-box;
}

:root {
    --ti-ds-navy-950: #07182f;
    --ti-ds-navy-900: #0b2142;
    --ti-ds-ink-900: #07182f;
    --ti-ds-ink-700: #334155;
    --ti-ds-muted-500: #64748b;
    --ti-ds-canvas: #f5f7fb;
    --ti-ds-surface: #ffffff;
    --ti-ds-surface-soft: #f8fafc;
    --ti-ds-border: #dbe4ef;
    --ti-ds-blue: #2563eb;
    --ti-ds-green: #16a34a;
    --ti-ds-amber: #f59e0b;
    --ti-ds-purple: #7c3aed;
    --ti-ds-red: #ef4444;
    --ti-ds-teal: #0891b2;
    --ti-ds-radius: 8px;
    --ti-ds-radius-sm: 6px;
    --ti-ds-page-pad: clamp(12px, 1vw, 18px);
    --ti-ds-card-pad: clamp(10px, 0.8vw, 14px);
    --ti-ds-section-gap: clamp(10px, 0.75vw, 14px);
    --ti-ds-shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
    --ti-ds-shadow-lift: 0 16px 36px rgba(15, 23, 42, 0.12);
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #f7f9fc;
    color: #102147;
    overflow-x: hidden;
}

.app-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    min-height: 100vh;
    max-width: 100vw;
}

.sidebar {
    background:
        radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.32), transparent 32%),
        #061b38;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100vh;
    padding: clamp(14px, 1.2vw, 20px);
    position: sticky;
    top: 0;
    width: 100%;
}

.brand-block {
    align-items: center;
    display: flex;
    gap: 12px;
    padding: 8px 8px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.colan-brand {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    padding: 8px 8px 0;
}

.colan-brand span {
    color: #8fb0d8;
    display: block;
    font-size: 10px;
    letter-spacing: 3px;
    margin-top: 3px;
}

.brand-flame {
    background: linear-gradient(180deg, #48e08d 0%, #0fb66d 100%);
    border-radius: 60% 60% 60% 0;
    display: inline-block;
    height: 18px;
    margin-right: 7px;
    transform: rotate(-35deg);
    vertical-align: -2px;
    width: 12px;
}

.brand-flame::after {
    background: #09223f;
    border-radius: 999px;
    content: "";
    display: block;
    height: 7px;
    margin: 7px 0 0 4px;
    width: 4px;
}

.brand-mark {
    align-items: center;
    background: #1f7ae0;
    border-radius: 12px;
    display: flex;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand-block h1 {
    font-size: clamp(18px, 1.3vw, 22px);
    line-height: 1.1;
    margin: 0;
}

.brand-block p {
    color: #a9bdd2;
    font-size: 13px;
    margin: 4px 0 0;
}

.side-nav {
    display: grid;
    gap: 7px;
}

.side-nav a,
.sidebar-footer a {
    background: transparent;
    border-radius: 8px;
    color: #dce8f5;
    display: block;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 12px;
}

.side-nav a:hover,
.sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.side-nav a.active {
    background: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
    color: #ffffff;
}

.side-nav .ignite-nav:not(.active) {
    background: #e18a2d;
    color: #ffffff;
}

.sidebar-footer {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    margin-top: auto;
    padding: 14px;
}

.sidebar-footer span {
    color: #a9bdd2;
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
}

.sidebar-footer strong {
    display: block;
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.sidebar-user-avatar {
    align-items: center;
    background: #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: flex;
    font-size: 18px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    margin-bottom: 10px;
    width: 42px;
}

.online-dot {
    color: #8be8b2;
    display: block;
    font-size: 12px;
    margin: 8px 0;
}

.content-shell {
    min-width: 0;
    overflow-x: hidden;
}

.topbar {
    min-height: 76px;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #d9e1e8;
}

.topbar h1 {
    margin: 0;
    font-size: 28px;
}

.topbar p {
    margin: 4px 0 0;
    color: #506070;
}

.topbar nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

a,
.button,
button {
    color: #ffffff;
    background: #2374d8;
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    font-weight: 700;
}

button:disabled {
    background: #9aa8b5;
    cursor: not-allowed;
}

.ignite-nav {
    background: #e18a2d;
    font-weight: 700;
}

.table-link {
    display: inline-block;
    padding: 6px 8px;
    white-space: nowrap;
}

.table-link.secondary {
    background: #21a67a;
}

.inline-form {
    display: inline-block;
    margin: 2px 0 0 4px;
}

.retry-link {
    background: #596b7a;
}

.status-pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff3cd;
    color: #7a5200;
    font-size: 13px;
    font-weight: 700;
}

.page {
    padding: clamp(12px, 1.5vw, 24px);
    width: 100%;
}

.page-title,
.filter-row,
.panel,
.form-panel,
.messages {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    padding: clamp(12px, 1.2vw, 18px);
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(25, 48, 72, 0.06);
}

.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.page-title h2,
.panel h3 {
    margin: 0 0 6px;
}

.eyebrow {
    color: #2374d8;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.dashboard-hero {
    background: #ffffff;
    border-left: 5px solid #2374d8;
}

.page-title p {
    margin: 0;
    color: #596b7a;
}

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

.filter-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compact-filter {
    width: 100%;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(25, 48, 72, 0.05);
}

.compact-filter.align-right {
    justify-content: flex-end;
    margin-left: 0;
}

.compact-filter label {
    margin: 0;
    white-space: nowrap;
}

.compact-filter select {
    width: clamp(130px, 10vw, 180px);
}

.compact-filter input {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 360px;
}

.compact-filter button {
    min-height: 38px;
}

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

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

.chart-panel {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(25, 48, 72, 0.06);
}

.chart-panel h3 {
    margin: 0 0 14px;
}

.bar-row {
    margin-bottom: 14px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.bar-track {
    background: #e8eef4;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.bar-fill {
    background: #2374d8;
    border-radius: 999px;
    height: 100%;
    min-width: 4px;
}

.bar-fill.alt {
    background: #21a67a;
}

.bar-fill.third {
    background: #8a63d2;
}

.bar-fill.fourth {
    background: #e18a2d;
}

.table-panel {
    overflow-x: auto;
    max-width: 100%;
    padding: 0;
    scrollbar-width: thin;
}

.pipeline-board {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-bottom: 16px;
    overflow: visible;
    padding-bottom: 4px;
    width: 100%;
}

.pipeline-column {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-top: 4px solid #9aa8b5;
    border-radius: 10px;
    min-width: 0;
    padding: 12px;
    box-shadow: 0 10px 26px rgba(25, 48, 72, 0.06);
}

.pipeline-info {
    border-top-color: #2374d8;
}

.pipeline-warning {
    border-top-color: #e18a2d;
}

.pipeline-success {
    border-top-color: #21a67a;
}

.pipeline-score {
    border-top-color: #8a63d2;
}

.pipeline-column-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pipeline-column-head span {
    color: #596b7a;
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.pipeline-column-head strong {
    display: block;
    font-size: clamp(22px, 1.8vw, 28px);
    margin-top: 2px;
}

.pipeline-cards {
    display: grid;
    gap: 10px;
}

.pipeline-card {
    background: #f8fafc;
    border: 1px solid #e3e9ef;
    border-radius: 8px;
    padding: 10px;
}

.pipeline-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.pipeline-card-title strong {
    display: block;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.pipeline-card-title span {
    color: #596b7a;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-align: right;
}

.pipeline-meta,
.pipeline-score-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-top: 8px;
}

.pipeline-meta span,
.pipeline-score-row span {
    color: #596b7a;
    font-size: 12px;
}

.pipeline-score-row strong {
    color: #102030;
    font-size: 13px;
}

.pipeline-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.pipeline-actions form {
    margin: 0;
}

.mini-link {
    background: #2374d8;
    border-radius: 6px;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 9px;
}

.pipeline-empty {
    color: #728195;
    font-size: 13px;
    padding: 12px;
    text-align: center;
}

.pipeline-more {
    color: #596b7a;
    font-size: 12px;
    margin: 10px 0 0;
    text-align: center;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.score-grid article {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    padding: 16px;
}

.score-grid span {
    color: #596b7a;
    display: block;
    margin-bottom: 8px;
}

.score-grid strong {
    font-size: 22px;
}

.secondary-grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.text-block {
    line-height: 1.55;
    margin-bottom: 0;
}

.report-panel {
    max-width: 620px;
}

.report-form {
    display: flex;
    align-items: end;
    gap: 12px;
}

.report-form > div {
    flex: 1;
}

.evaluation-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.evaluation-summary article {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    padding: 18px;
}

.evaluation-summary span {
    color: #596b7a;
    display: block;
    margin-bottom: 8px;
}

.evaluation-summary strong {
    display: block;
    font-size: 24px;
}

.evaluation-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

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

.score-list div {
    align-items: center;
    background: #f6f8fa;
    border: 1px solid #e3e9ef;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
}

.score-list span {
    color: #596b7a;
}

.score-list strong {
    font-size: 18px;
}

.feedback-panel p {
    line-height: 1.6;
    margin-bottom: 0;
}

.alert-panel {
    border-color: #f2c16d;
    background: #fff8eb;
}

.ignite-body {
    background: #eef2f5;
}

.ignite-only {
    align-content: center;
    display: grid;
    min-height: 100vh;
    padding: 32px;
}

.ignite-entry,
.ignite-card,
.ignite-message {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 10px;
    margin: 0 auto;
    width: min(920px, 100%);
}

.ignite-entry {
    padding: 42px;
}

.ignite-entry-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.ignite-brand {
    color: #2374d8;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.quiet-button {
    background: #596b7a;
}

.ignite-entry h1 {
    font-size: 52px;
    line-height: 1.05;
    margin: 0 0 28px;
}

.ignite-id-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
}

.ignite-id-form input {
    font-size: 30px;
    font-weight: 700;
    min-height: 68px;
    text-transform: uppercase;
}

.ignite-id-form button {
    min-width: 190px;
}

.ignite-card {
    padding: 28px;
}

.ignite-message {
    color: #b42318;
    margin-bottom: 18px;
    padding: 14px 18px;
}

.ignite-candidate-title {
    align-items: center;
    border-bottom: 1px solid #e3e9ef;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.ignite-candidate-title span,
.ignite-details span {
    color: #596b7a;
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.ignite-candidate-title strong {
    font-size: 28px;
}

.ignite-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 14px;
}

.ignite-details div {
    background: #f6f8fa;
    border: 1px solid #e3e9ef;
    border-radius: 8px;
    padding: 12px;
}

.ignite-details strong {
    display: block;
    overflow-wrap: anywhere;
}

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

.ignite-stage-note {
    flex-basis: 100%;
    margin: 0 0 4px;
    color: #596b7a;
    font-size: 0.95rem;
    text-align: right;
}

.ignite-start {
    font-size: 18px;
    padding: 14px 22px;
}

.clean-assessment {
    margin: 0 auto;
    max-width: 1180px;
    padding: 22px;
}

.clean-assessment-header {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
    padding: 16px 18px;
    position: sticky;
    top: 0;
    z-index: 5;
}

.clean-assessment-header strong {
    display: block;
    font-size: 22px;
}

.clean-assessment-header span {
    color: #596b7a;
}

.clean-submit-row {
    display: flex;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
}

.phase-nav,
.phase-note {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 14px 16px;
}

.phase-nav {
    display: flex;
    justify-content: flex-start;
}

.phase-note {
    color: #7a4a00;
    background: #fff8eb;
    border-color: #f2c16d;
}

.clean-complete {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 10px;
    margin: 0 auto;
    padding: 46px;
    text-align: center;
    width: min(760px, 100%);
}

.clean-complete h1 {
    font-size: 54px;
    margin: 0 0 12px;
}

.clean-complete p {
    color: #596b7a;
    font-size: 20px;
}

.clean-complete strong {
    display: block;
    font-size: 24px;
}

.clean-complete-actions {
    margin-top: 28px;
}

.metrics article {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 10px 26px rgba(25, 48, 72, 0.06);
}

.metrics strong {
    display: block;
    font-size: clamp(22px, 2vw, 30px);
    margin: 6px 0;
}

.metrics span {
    color: #596b7a;
    display: block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.metrics small {
    color: #728195;
    display: block;
    font-size: 12px;
}

.metric-card-primary {
    border-top: 4px solid #2374d8 !important;
}

.metric-card-score {
    border-top: 4px solid #21a67a !important;
}

table {
    width: 100%;
    min-width: 1280px;
    border-collapse: collapse;
    font-size: 12px;
}

th,
td {
    border-bottom: 1px solid #e3e9ef;
    padding: 8px;
    text-align: left;
    vertical-align: middle;
}

th {
    background: #f6f8fb;
    color: #53657a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    position: sticky;
    text-transform: uppercase;
    top: 0;
    z-index: 1;
}

td {
    overflow-wrap: anywhere;
}

tbody tr:hover {
    background: #f9fbfd;
}

input,
select,
textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #c8d3df;
    border-radius: 6px;
    font: inherit;
}

textarea {
    min-height: 90px;
}

.locked-field {
    background: #eef2f5;
    color: #596b7a;
}

.form-panel {
    max-width: 780px;
}

.form-panel p,
.login-panel p,
.public-form p {
    margin-bottom: 14px;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-body,
.public-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-panel,
.public-form,
.thank-you {
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(20, 35, 50, 0.12);
}

.login-panel h1,
.public-form h1,
.thank-you h1 {
    margin-top: 0;
}

.login-home-body {
    background:
        radial-gradient(circle at 18% 22%, rgba(37, 99, 235, 0.28), transparent 30%),
        radial-gradient(circle at 55% 72%, rgba(234, 88, 12, 0.18), transparent 30%),
        #07111f;
    box-sizing: border-box;
    color: #0b1f39;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    padding:
        max(12px, env(safe-area-inset-top))
        max(12px, env(safe-area-inset-right))
        max(12px, env(safe-area-inset-bottom))
        max(12px, env(safe-area-inset-left));
    width: 100%;
}

.login-home-shell {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1180px;
    min-height: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.login-brand-stage {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(2, 8, 23, 0.92), rgba(8, 22, 48, 0.88)),
        radial-gradient(circle at 32% 28%, rgba(249, 115, 22, 0.28), transparent 34%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
    padding: clamp(20px, 4vw, 36px);
    position: relative;
}

.login-brand-stage::before {
    animation: loginBeam 5.4s ease-in-out infinite alternate;
    background: linear-gradient(90deg, transparent, rgba(255, 168, 36, 0.62), rgba(37, 99, 235, 0.48), transparent);
    content: "";
    height: 2px;
    left: 8%;
    position: absolute;
    top: 72%;
    transform: rotate(-14deg);
    width: 86%;
}

.login-brand-glow {
    animation: loginGlow 4s ease-in-out infinite alternate;
    background:
        radial-gradient(circle, rgba(255, 183, 28, 0.42), transparent 52%),
        radial-gradient(circle, rgba(37, 99, 235, 0.32), transparent 64%);
    filter: blur(6px);
    height: min(430px, 70vw);
    position: absolute;
    width: min(430px, 70vw);
}

.login-brand-particles {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.login-brand-particles span {
    animation: loginParticle 5.8s linear infinite;
    background: #fbbf24;
    border-radius: 999px;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.9);
    height: 5px;
    opacity: 0.8;
    position: absolute;
    width: 5px;
}

.login-brand-particles span:nth-child(1) { left: 17%; top: 69%; animation-delay: 0s; }
.login-brand-particles span:nth-child(2) { left: 25%; top: 38%; animation-delay: .6s; }
.login-brand-particles span:nth-child(3) { left: 38%; top: 75%; animation-delay: 1.2s; background: #38bdf8; }
.login-brand-particles span:nth-child(4) { left: 51%; top: 24%; animation-delay: 1.8s; }
.login-brand-particles span:nth-child(5) { left: 72%; top: 60%; animation-delay: 2.4s; background: #f472b6; }
.login-brand-particles span:nth-child(6) { left: 12%; top: 45%; animation-delay: 3s; background: #60a5fa; }
.login-brand-particles span:nth-child(7) { left: 61%; top: 82%; animation-delay: 3.6s; }
.login-brand-particles span:nth-child(8) { left: 81%; top: 34%; animation-delay: 4.2s; background: #38bdf8; }
.login-brand-particles span:nth-child(9) { left: 45%; top: 48%; animation-delay: 4.8s; background: #fb7185; }
.login-brand-particles span:nth-child(10) { left: 31%; top: 88%; animation-delay: 5.4s; }

.login-logo-frame {
    animation: loginFloat 4.2s ease-in-out infinite;
    max-width: min(420px, 88%);
    position: relative;
    width: 100%;
    z-index: 1;
}

.login-logo-frame picture,
.login-logo-frame img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.login-logo-frame img {
    border-radius: 18px;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.48));
}

.login-brand-eyebrow {
    color: #7dd3fc;
    font-size: clamp(10px, 2.6vw, 12px);
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 14px 0 0;
    max-width: 92%;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    z-index: 1;
}

.login-home-panel {
    align-self: stretch;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    min-width: 0;
    padding: clamp(22px, 5vw, 40px);
    width: 100%;
}

.login-panel-heading {
    margin-bottom: clamp(18px, 3vw, 28px);
}

.login-eyebrow {
    color: #2563eb;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.login-panel-heading h1,
.login-panel-heading h2 {
    color: #07172c;
    font-size: clamp(24px, 6vw, 36px);
    line-height: 1.12;
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.login-panel-heading p {
    color: #64748b;
    font-size: clamp(13px, 3.4vw, 15px);
    line-height: 1.5;
    margin: 0;
}

.login-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 12px;
    color: #be123c;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
    padding: 12px 14px;
}

.login-form {
    display: grid;
    gap: 14px;
    width: 100%;
}

.login-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.login-field label {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 0;
}

.login-field input {
    background: #f8fafc;
    border: 1px solid #d8e2ee;
    border-radius: 12px;
    box-sizing: border-box;
    color: #0f172a;
    font-size: 16px;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

.login-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    outline: 0;
}

.login-options {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

.remember-choice {
    align-items: center;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 14px;
    gap: 8px;
    margin: 0;
    min-height: 44px;
    white-space: nowrap;
}

.remember-choice input {
    accent-color: #2563eb;
    flex-shrink: 0;
    height: 18px;
    width: 18px;
}

.login-help-text {
    color: #475569;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
}

.login-submit {
    background: linear-gradient(135deg, #2563eb, #0f5fd8);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    min-height: 50px;
    touch-action: manipulation;
    width: 100%;
}

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

.login-footer-note {
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    display: grid;
    gap: 4px;
    margin-top: clamp(20px, 4vw, 32px);
    padding-top: 16px;
}

.login-footer-note strong {
    color: #0f172a;
}

@keyframes loginFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.015); }
}

@keyframes loginGlow {
    0% { opacity: 0.75; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.08); }
}

@keyframes loginParticle {
    0% { opacity: 0; transform: translate3d(0, 28px, 0) scale(0.6); }
    18% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(36px, -90px, 0) scale(1.15); }
}

@keyframes loginBeam {
    0% { opacity: 0.34; transform: rotate(-14deg) translateX(-18px); }
    100% { opacity: 0.8; transform: rotate(-14deg) translateX(18px); }
}

/* Phones / small tablets: stacked layout (default above) */
@media (max-width: 640px) {
    .login-home-body {
        align-items: stretch;
        padding:
            max(8px, env(safe-area-inset-top))
            max(8px, env(safe-area-inset-right))
            max(8px, env(safe-area-inset-bottom))
            max(8px, env(safe-area-inset-left));
    }

    .login-home-shell {
        border-radius: 18px;
    }

    .login-brand-stage {
        min-height: 180px;
        padding: 18px 16px 14px;
    }

    .login-logo-frame {
        max-width: min(280px, 78%);
    }

    .login-brand-stage::before,
    .login-brand-particles {
        display: none;
    }

    .login-home-panel {
        padding: 20px 16px 22px;
    }

    .login-panel-heading h1,
    .login-panel-heading h2 {
        font-size: clamp(22px, 7vw, 28px);
    }
}

/* Large phones / tablets portrait */
@media (min-width: 641px) and (max-width: 899px) {
    .login-brand-stage {
        min-height: 260px;
        padding: 28px;
    }

    .login-logo-frame {
        max-width: min(380px, 70%);
    }

    .login-home-panel {
        padding: 32px 28px;
    }

    .login-options {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .login-help-text {
        text-align: right;
    }
}

/* Laptops / desktops: split layout */
@media (min-width: 900px) {
    .login-home-body {
        padding: clamp(16px, 2.2vw, 28px);
    }

    .login-home-shell {
        border-radius: 24px;
        grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
        min-height: min(680px, calc(100dvh - 48px));
        width: min(1120px, calc(100vw - 48px));
    }

    .login-brand-stage {
        min-height: 0;
        padding: clamp(28px, 3.5vw, 56px);
    }

    .login-logo-frame {
        max-width: min(520px, 92%);
    }

    .login-home-panel {
        padding: clamp(28px, 3.2vw, 52px);
    }

    .login-panel-heading h1,
    .login-panel-heading h2 {
        font-size: clamp(28px, 2.4vw, 40px);
    }

    .login-field input {
        font-size: 15px;
    }

    .login-options {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .login-help-text {
        text-align: right;
    }
}

/* Wide desktops */
@media (min-width: 1280px) {
    .login-home-shell {
        min-height: min(720px, calc(100dvh - 56px));
        width: min(1180px, calc(100vw - 64px));
    }

    .login-logo-frame {
        max-width: min(560px, 94%);
    }
}

/* Short landscape phones / small height screens */
@media (max-height: 560px) and (orientation: landscape) {
    .login-home-body {
        align-items: flex-start;
        overflow-y: auto;
    }

    .login-home-shell {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        min-height: auto;
        width: min(960px, calc(100vw - 24px));
    }

    .login-brand-stage {
        min-height: 0;
        padding: 16px;
    }

    .login-logo-frame {
        max-width: min(220px, 70%);
    }

    .login-brand-eyebrow,
    .login-brand-stage::before,
    .login-brand-particles {
        display: none;
    }

    .login-home-panel {
        padding: 16px 18px;
    }

    .login-panel-heading {
        margin-bottom: 12px;
    }

    .login-panel-heading h1,
    .login-panel-heading h2 {
        font-size: 22px;
    }

    .login-panel-heading p {
        display: none;
    }

    .login-footer-note {
        margin-top: 14px;
        padding-top: 12px;
    }
}

/* Very short portrait */
@media (max-height: 700px) and (max-width: 899px) and (orientation: portrait) {
    .login-brand-stage {
        min-height: 140px;
        padding: 14px 16px;
    }

    .login-logo-frame {
        max-width: min(200px, 55%);
    }

    .login-brand-eyebrow {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-brand-stage::before,
    .login-brand-glow,
    .login-brand-particles span,
    .login-logo-frame {
        animation: none !important;
    }

    .login-submit:hover {
        transform: none;
    }
}

.public-form h1 {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.public-form h2 {
    font-size: 22px;
    margin: 0 0 10px;
}

.form-field {
    margin-bottom: 14px;
}

.required-marker {
    color: #d21f1f;
    font-weight: 700;
}

.help-text {
    color: #596b7a;
    display: block;
    font-size: 13px;
    margin-top: 4px;
}

.field-error {
    color: #b42318;
    display: block;
    font-size: 13px;
    margin-top: 5px;
}

.thank-you {
    text-align: center;
}

.thank-you strong {
    display: block;
    color: #2374d8;
    font-size: 24px;
    margin-top: 12px;
}

.qr-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
}

.qr-card {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.qr-card img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.copy-text {
    word-break: break-all;
    background: #f6f8fa;
    border: 1px solid #e3e9ef;
    border-radius: 6px;
    padding: 12px;
}

.timer {
    color: #d21f1f;
    font-size: 24px;
    font-weight: 700;
}

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

.question-panel {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    padding: 18px;
}

.question-title {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.question-title span {
    color: #596b7a;
}

.question-type-heading {
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.question-text {
    font-size: 17px;
    line-height: 1.45;
}

.sample-block {
    background: #f6f8fa;
    border: 1px solid #e3e9ef;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 10px 0;
}

.answer-instruction {
    background: #eef6ff;
    border-left: 4px solid #2374d8;
    border-radius: 6px;
    color: #27415c;
    margin: 12px 0;
    padding: 10px 12px;
}

pre {
    white-space: pre-wrap;
    margin: 6px 0 0;
    font-family: Consolas, monospace;
}

.options {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.options input {
    width: auto;
    min-height: auto;
}

.submit-row {
    background: #ffffff;
    border: 1px solid #d9e1e8;
    border-radius: 8px;
    padding: 16px;
}

.status-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    white-space: nowrap;
}

.status-success {
    background: #e7f7ef;
    color: #0a7a43;
}

.status-warning {
    background: #fff1df;
    color: #a34f00;
}

.status-info {
    background: #eaf2ff;
    color: #1d5fbf;
}

.status-muted {
    background: #eef2f5;
    color: #596b7a;
}

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        min-height: auto;
        position: static;
    }

    .brand-block {
        padding-bottom: 12px;
    }

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

    .sidebar-footer {
        display: none;
    }

    .topbar,
    .page-title {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .analytics-grid,
    .qr-layout,
    .score-grid,
    .secondary-grid,
    .evaluation-summary,
    .evaluation-layout {
        grid-template-columns: 1fr;
    }

    .pipeline-board {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }

    .compact-filter,
    .report-form {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }

    .compact-filter select {
        width: 100%;
    }

    .compact-filter input {
        width: 100%;
    }

    .ignite-candidate-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .ignite-id-form,
    .ignite-details {
        grid-template-columns: 1fr;
    }

    .ignite-entry h1 {
        font-size: 38px;
    }

    .ignite-entry-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .ignite-only {
        padding: 18px;
    }

    .clean-assessment {
        padding: 12px;
    }

    .clean-assessment-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* AI Evaluation Center */
.ai-center {
    display: grid;
    gap: 18px;
}

.ai-center-header {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ai-center-header h2 {
    margin: 0 0 6px;
    color: #071936;
    font-size: 28px;
}

.ai-center-header p,
.refresh-status {
    color: #53657d;
    margin: 0;
}

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

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

.ai-kpi {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    min-height: 116px;
    padding: 18px;
    position: relative;
}

.ai-kpi::before {
    border-radius: 999px;
    content: "";
    height: 42px;
    opacity: 0.14;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 42px;
}

.ai-kpi.blue::before { background: #2563eb; }
.ai-kpi.green::before { background: #16a34a; }
.ai-kpi.purple::before { background: #7c3aed; }
.ai-kpi.red::before { background: #ef4444; }

.ai-kpi span {
    color: #42526a;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ai-kpi strong {
    color: #071936;
    display: block;
    font-size: 28px;
    margin: 12px 0 8px;
}

.ai-kpi small {
    color: #60718a;
}

.ai-workspace {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 34%);
    align-items: start;
}

.ai-main-panel,
.ai-evaluation-drawer {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.ai-tabs {
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    padding: 0 18px;
}

.ai-tabs a {
    border-bottom: 3px solid transparent;
    color: #334155;
    font-weight: 900;
    padding: 18px 10px 16px;
    text-decoration: none;
}

.ai-tabs a.active {
    border-color: #2563eb;
    color: #0f4fd8;
}

.ai-tabs span {
    background: #eaf2ff;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 12px;
    margin-left: 6px;
    padding: 3px 8px;
}

.ai-filter-bar {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(130px, 1fr));
    padding: 18px;
}

.ai-filter-bar input,
.ai-filter-bar select {
    background: #ffffff;
    border: 1px solid #cfd9e8;
    border-radius: 9px;
    min-height: 42px;
    padding: 0 12px;
}

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

.ai-evaluation-table {
    border-collapse: collapse;
    min-width: 1180px;
    width: 100%;
}

.ai-evaluation-table th {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 12px;
    text-align: left;
    text-transform: uppercase;
}

.ai-evaluation-table td {
    border-bottom: 1px solid #edf2f7;
    padding: 14px 12px;
    vertical-align: middle;
}

.ai-evaluation-table tr.is-selected,
.ai-evaluation-table tr:hover {
    background: #f8fbff;
}

.candidate-cell {
    align-items: center;
    background: transparent;
    border: 0;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    gap: 10px;
    padding: 0;
    text-align: left;
}

.candidate-cell strong,
.ai-evaluation-table td strong {
    display: block;
}

.candidate-cell small,
.ai-evaluation-table td small {
    color: #64748b;
    display: block;
    margin-top: 3px;
}

.avatar-mini,
.avatar-large {
    align-items: center;
    background: #eaf2ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.avatar-mini {
    height: 34px;
    width: 34px;
}

.avatar-large {
    flex: 0 0 auto;
    height: 54px;
    width: 54px;
}

.soft-pill,
.eval-status,
.recommendation-badge.rec-proceed,
.recommendation-badge.rec-manual {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 10px;
}

.soft-pill {
    background: #eef2f7;
    color: #475569;
}

.eval-status.status-completed { background: #dcfce7; color: #15803d; }
.eval-status.status-progress { background: #ffedd5; color: #c2410c; }
.eval-status.status-failed { background: #fee2e2; color: #b91c1c; }
.eval-status.status-pending { background: #eef2ff; color: #4338ca; }
.eval-status.status-muted { background: #eef2f7; color: #64748b; }

.recommendation-badge.rec-proceed { background: #ccfbf1; color: #0f766e; }
.recommendation-badge.rec-manual { background: #f3e8ff; color: #7e22ce; }

.ai-actions {
    display: flex;
    gap: 6px;
}

.ai-actions .icon-button {
    min-width: 44px;
    width: auto;
}

.table-pagination {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
}

.pagination-links {
    align-items: center;
    display: flex;
    gap: 8px;
}

.pagination-links a,
.pagination-links strong {
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    min-width: 34px;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
}

.pagination-links strong {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.ai-evaluation-drawer {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    position: sticky;
    top: 18px;
}

.drawer-close {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    color: #475569;
    cursor: pointer;
    height: 32px;
    position: absolute;
    right: 14px;
    top: 14px;
    width: 32px;
    z-index: 2;
}

.empty-drawer-state {
    color: #64748b;
    display: grid;
    gap: 8px;
    min-height: 260px;
    place-content: center;
    text-align: center;
}

.ai-drawer-panel {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.ai-drawer-header {
    align-items: flex-start;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
}

.ai-drawer-header h3 {
    margin: 0 0 6px;
}

.ai-drawer-header p,
.ai-drawer-header small {
    color: #64748b;
    margin: 0;
}

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

.drawer-score-grid article {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
}

.drawer-score-grid span,
.drawer-score-grid small {
    color: #64748b;
    display: block;
    font-size: 12px;
}

.drawer-score-grid strong {
    color: #0f172a;
    display: block;
    font-size: 18px;
    margin: 6px 0;
}

.drawer-tabs,
.answer-filter-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.drawer-tabs button,
.answer-filter-row span {
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    color: #475569;
    font-weight: 800;
    padding: 8px 11px;
    white-space: nowrap;
}

.drawer-tabs button.active {
    background: #eaf2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.question-review-card {
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.question-review-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.question-review-meta span,
.question-review-meta small {
    background: #eef2f7;
    border-radius: 999px;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 8px;
}

.question-text {
    color: #0f172a;
    margin: 0;
}

.answer-review-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.answer-review-grid > div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
}

.answer-review-grid h4 {
    margin: 0 0 10px;
}

.answer-review-grid pre {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    font-family: Consolas, "Courier New", monospace;
    margin: 0;
    max-height: 220px;
    overflow: auto;
    padding: 12px;
    white-space: pre-wrap;
}

.mini-metric-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.strength-improvement-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.strength-improvement-grid article {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
}

.positive-line {
    color: #15803d;
}

.warning-line {
    color: #c2410c;
}

.ai-drawer-actions {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 14px;
    position: sticky;
}

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

    .ai-workspace {
        grid-template-columns: 1fr;
    }

    .ai-evaluation-drawer {
        max-height: none;
        position: static;
    }
}

@media (max-width: 900px) {
    .ai-center-header,
    .ai-header-actions,
    .table-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-kpi-grid,
    .drawer-score-grid,
    .answer-review-grid,
    .strength-improvement-grid {
        grid-template-columns: 1fr;
    }

    .ai-filter-bar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .app-shell {
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .side-nav a,
    .sidebar-footer a {
        font-size: 12px;
        padding: 9px 10px;
    }

    table {
        min-width: 1180px;
        font-size: 11px;
    }

    th,
    td {
        padding: 7px;
    }
}

@media (max-width: 560px) {
    .side-nav {
        grid-template-columns: 1fr;
    }

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

    .page {
        padding: 14px;
    }
}

@media (max-width: 900px) {
    .app-shell {
        grid-template-columns: 1fr;
    }
}

/* 100% browser zoom fit layer */
:root {
    --ti-compact-radius: 8px;
}

body {
    font-size: 13px;
}

@media (min-width: 901px) {
    .app-shell {
        grid-template-columns: clamp(178px, 12vw, 220px) minmax(0, 1fr);
    }
}

.sidebar {
    gap: 14px;
    padding: 12px;
}

.brand-block {
    gap: 9px;
    padding: 6px 4px 14px;
}

.brand-mark {
    border-radius: 7px;
    height: 36px;
    width: 36px;
}

.brand-block h1 {
    font-size: clamp(16px, 1.1vw, 19px);
}

.brand-block p {
    font-size: 12px;
}

.side-nav {
    gap: 6px;
}

.side-nav a,
.sidebar-footer a {
    border-radius: 7px;
    font-size: 12px;
    padding: 8px 9px;
}

.sidebar-footer {
    padding: 12px 4px 0;
}

.page {
    padding: clamp(10px, 1vw, 16px);
}

.page-title,
.filter-row,
.panel,
.form-panel,
.messages {
    border-radius: var(--ti-compact-radius);
    margin-bottom: 12px;
    padding: clamp(10px, 1vw, 14px);
}

.page-title {
    gap: 12px;
}

.page-title h2 {
    font-size: clamp(22px, 1.7vw, 30px);
}

.page-title p {
    font-size: clamp(15px, 1.05vw, 19px);
}

.eyebrow {
    font-size: 11px;
    margin-bottom: 5px;
}

a,
.button,
button {
    border-radius: 7px;
    font-size: 13px;
    padding: 8px 11px;
}

input,
select,
textarea {
    border-radius: 6px;
    font-size: 13px;
    min-height: 34px;
    padding: 7px 9px;
}

.compact-filter {
    gap: 8px;
    margin-bottom: 12px;
    padding: 8px 10px;
}

.compact-filter select {
    width: clamp(110px, 9vw, 150px);
}

.compact-filter input {
    flex: 1 1 210px;
    max-width: 420px;
    min-width: 160px;
}

.compact-filter button {
    min-height: 34px;
}

.metrics {
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    margin-bottom: 12px;
}

.metrics article {
    border-radius: var(--ti-compact-radius);
    padding: 12px;
}

.metrics strong {
    font-size: clamp(22px, 1.7vw, 27px);
    margin: 4px 0;
}

.metrics span {
    font-size: 11px;
}

.metrics small {
    font-size: 11px;
}

.analytics-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-bottom: 12px;
}

.chart-panel {
    border-radius: var(--ti-compact-radius);
    margin-bottom: 12px;
    padding: 14px;
}

.chart-panel h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.bar-row {
    margin-bottom: 10px;
}

.pipeline-board {
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    margin-bottom: 12px;
}

.pipeline-column {
    border-radius: var(--ti-compact-radius);
    padding: 10px;
}

.pipeline-column-head {
    margin-bottom: 8px;
}

.pipeline-column-head span {
    font-size: 11px;
}

.pipeline-column-head strong {
    font-size: 26px;
}

.pipeline-cards {
    gap: 8px;
}

.pipeline-card {
    border-radius: 7px;
    padding: 9px;
}

.pipeline-card-title {
    gap: 8px;
}

.pipeline-card-title strong {
    font-size: 13px;
    line-height: 1.15;
}

.pipeline-card-title span,
.pipeline-meta,
.pipeline-score-row {
    font-size: 11px;
}

.pipeline-actions {
    margin-top: 8px;
}

.mini-link {
    font-size: 12px;
    padding: 7px 9px;
}

.pipeline-more {
    font-size: 12px;
    margin: 8px 0 0;
}

.table-panel {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0;
}

.table-panel table {
    min-width: 1080px;
}

table {
    font-size: 11px;
    min-width: 1040px;
}

th,
td {
    padding: 6px 7px;
}

th {
    font-size: 10px;
    line-height: 1.25;
}

td {
    line-height: 1.25;
    max-width: 170px;
}

.table-link,
.status-badge,
.status-pill {
    font-size: 11px;
    padding: 5px 8px;
}

.inline-form {
    margin: 2px 0 0 2px;
}

.qr-layout,
.score-grid,
.secondary-grid,
.evaluation-summary,
.evaluation-layout {
    gap: 12px;
}

@media (max-width: 1500px) and (min-width: 901px) {
    .app-shell {
        grid-template-columns: 190px minmax(0, 1fr);
    }

    .page {
        padding: 10px;
    }

    .page-title h2 {
        font-size: 24px;
    }

    .page-title p {
        font-size: 16px;
    }

    .pipeline-board {
        grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    }

    .table-panel table {
        min-width: 980px;
    }

    table {
        font-size: 10.5px;
        min-width: 980px;
    }

    th,
    td {
        padding: 5px 6px;
    }
}

@media (max-width: 1100px) and (min-width: 901px) {
    .app-shell {
        grid-template-columns: 170px minmax(0, 1fr);
    }

    .brand-block {
        align-items: flex-start;
        flex-direction: column;
    }

    .side-nav a,
    .sidebar-footer a {
        font-size: 11px;
        padding: 7px 8px;
    }
}

/* Step 3: evaluation scorecard and reports polish */
.evaluation-hero {
    border-left: 5px solid #21a67a;
}

.reports-hero {
    border-left: 5px solid #8a63d2;
}

.meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.meta-chips span {
    background: #eef4fb;
    border: 1px solid #dbe6f0;
    border-radius: 999px;
    color: #41566b;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
}

.score-overview {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.score-card {
    border-top: 4px solid #9aa8b5 !important;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
}

.score-card-final {
    border-top-color: #21a67a !important;
}

.score-card span {
    color: #53657a;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.score-card strong {
    font-size: clamp(22px, 1.7vw, 28px);
    line-height: 1.15;
}

.score-card small {
    color: #728195;
    display: block;
    font-size: 11px;
    margin-top: 5px;
}

.eval-stage-title {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: space-between;
    margin: 4px 0 10px;
}

.eval-stage-title h3 {
    font-size: 22px;
    margin: 0;
}

.eval-stage-title p {
    color: #596b7a;
    margin: 4px 0 0;
}

.stage-pill {
    background: #eaf2ff;
    border-radius: 999px;
    color: #1d5fbf;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 6px;
    padding: 5px 9px;
}

.stage-pill-l2 {
    background: #e7f7ef;
    color: #0a7a43;
}

.evaluation-detail-grid {
    align-items: stretch;
}

.panel-title-row {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.panel-title-row h3 {
    margin: 0;
}

.score-label {
    background: #102030;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    padding: 6px 10px;
    white-space: nowrap;
}

.metric-list div {
    background: #f8fafc;
    border-color: #e1e8f0;
    border-left: 4px solid #d8e3ed;
    padding: 10px 12px;
}

.metric-list span {
    font-size: 12px;
    font-weight: 700;
}

.metric-list strong {
    font-size: 15px;
    white-space: nowrap;
}

.feedback-panel {
    min-height: 150px;
}

.feedback-panel h3 {
    align-items: center;
    display: flex;
    gap: 8px;
}

.feedback-panel h3::before {
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 9px;
    width: 9px;
}

.feedback-positive h3::before {
    background: #21a67a;
}

.feedback-risk h3::before {
    background: #e18a2d;
}

.feedback-panel p {
    color: #33475c;
    font-size: 13px;
}

.empty-evaluation {
    border-style: dashed;
    color: #596b7a;
}

.report-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.report-download-card {
    display: grid;
    gap: 18px;
}

.report-download-card h3 {
    font-size: 22px;
    margin: 0 0 6px;
}

.report-download-card p {
    color: #596b7a;
    margin: 0;
}

.report-download-card .report-form input[type="search"] {
    width: 100%;
}

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

    .panel-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Step 4: candidate-facing assessment flow */
.public-body,
.ignite-body {
    background:
        linear-gradient(135deg, rgba(35, 116, 216, 0.10), transparent 34%),
        linear-gradient(315deg, rgba(33, 166, 122, 0.10), transparent 32%),
        #eef4fa;
}

.candidate-public-brand,
.ignite-brand,
.assessment-brand {
    color: #1265d8;
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.candidate-registration-card,
.thank-you,
.ignite-entry,
.ignite-card,
.clean-complete {
    border: 1px solid #d8e3ee;
    border-top: 5px solid #2374d8;
    box-shadow: 0 20px 48px rgba(20, 42, 65, 0.16);
}

.candidate-registration-card {
    width: min(840px, 100%);
}

.candidate-registration-card h1 {
    font-size: clamp(24px, 2.2vw, 34px);
    margin: 6px 0;
}

.candidate-registration-card h2 {
    color: #102030;
    font-size: 22px;
    margin-bottom: 6px;
}

.mandatory-note {
    background: #fff8eb;
    border: 1px solid #f2d6a4;
    border-radius: 7px;
    color: #7a4a00;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 9px;
}

.public-registration-grid {
    display: grid;
    gap: 10px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
}

.public-registration-grid .form-field {
    margin: 0;
}

.public-registration-grid .form-field:has(textarea),
.public-registration-grid .form-field:has(input[type="file"]),
.public-registration-grid .field-error,
.public-registration-grid button {
    grid-column: 1 / -1;
}

.public-registration-grid label {
    font-size: 12px;
}

.public-registration-grid input,
.public-registration-grid select,
.public-registration-grid textarea {
    background: #fbfdff;
}

.candidate-thank-you {
    text-align: center;
}

.candidate-thank-you strong {
    background: #eaf2ff;
    border-radius: 999px;
    color: #1d5fbf;
    display: inline-block;
    font-size: 24px;
    padding: 10px 18px;
}

.public-colan-card {
    border: 1px solid #d8e4f3;
    border-top: 0;
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(15, 35, 67, 0.16);
    padding: clamp(24px, 3vw, 36px);
}

.public-colan-header {
    align-items: center;
    border-bottom: 1px solid #dbe5f2;
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 20px;
}

.public-colan-header img,
.public-colan-success-logo {
    background: #071b34;
    border-radius: 14px;
    height: 72px;
    object-fit: contain;
    padding: 8px;
    width: 88px;
}

.public-colan-header p {
    color: #5f7189;
    margin: 0;
}

.ignite-only {
    padding: clamp(18px, 3vw, 34px);
}

.ignite-entry,
.ignite-card {
    border-top-color: #21a67a;
}

.ignite-entry h1 {
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 10px;
}

.ignite-entry-copy {
    color: #596b7a;
    font-size: 15px;
    margin: 0 0 22px;
    max-width: 680px;
}

.ignite-id-form input {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ignite-card {
    padding: clamp(18px, 2vw, 30px);
}

.candidate-mode {
    max-width: 980px;
}

.ignite-candidate-title {
    background: #f7fbff;
    border: 1px solid #dfeaf5;
    border-radius: 8px;
    padding: 12px;
}

.ignite-details > div {
    background: #f8fafc;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    padding: 10px;
}

.ignite-details span,
.ignite-candidate-title span {
    color: #5d7186;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.ignite-details strong,
.ignite-candidate-title strong {
    overflow-wrap: anywhere;
}

.ignite-actions {
    margin-top: 18px;
}

.ignite-start {
    background: #21a67a;
}

.clean-assessment {
    max-width: 1040px;
    padding: clamp(12px, 1.4vw, 20px);
}

.candidate-assessment-header {
    border-left: 5px solid #2374d8;
    box-shadow: 0 12px 28px rgba(20, 42, 65, 0.10);
    position: sticky;
    top: 0;
    z-index: 5;
}

.candidate-assessment-header strong {
    font-size: clamp(18px, 1.6vw, 24px);
    margin-top: 3px;
}

.timer {
    background: #fff1df;
    border: 1px solid #f3ca8e;
    border-radius: 999px;
    color: #a34f00;
    min-width: 96px;
    padding: 9px 14px;
    text-align: center;
}

.question-panel {
    border-left: 4px solid #d8e3ed;
    box-shadow: 0 10px 24px rgba(20, 42, 65, 0.06);
}

.question-title strong {
    color: #2374d8;
}

.question-text {
    font-size: 16px;
}

.options label {
    background: #f8fafc;
    border: 1px solid #e1e8f0;
    border-radius: 7px;
    padding: 9px 10px;
}

.options label:has(input:checked) {
    background: #eaf2ff;
    border-color: #9fc2f0;
}

.locked-field,
.locked-field:disabled,
textarea.locked-field,
input.locked-field {
    background: #e5ebf1 !important;
    border-color: #c5d0dc !important;
    color: #66798c !important;
    cursor: not-allowed;
}

input[type="radio"].locked-field {
    opacity: 0.55;
}

.clean-submit-row {
    box-shadow: 0 -8px 22px rgba(20, 42, 65, 0.08);
}

.phase-note {
    font-weight: 700;
}

.clean-complete {
    border-top-color: #21a67a;
}

.clean-complete h1 {
    color: #102030;
    font-size: clamp(40px, 4vw, 54px);
}

@media (max-width: 760px) {
    .public-registration-grid {
        grid-template-columns: 1fr;
    }

    .ignite-id-form {
        grid-template-columns: 1fr;
    }

    .ignite-id-form button {
        min-width: 0;
        width: 100%;
    }
}

/* Product dashboard refresh */
.product-dashboard {
    display: grid;
    gap: 12px;
}

.dashboard-topbar {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 16px;
}

.dashboard-topbar h2 {
    font-size: clamp(24px, 1.8vw, 32px);
    margin: 0 0 6px;
}

.dashboard-topbar p {
    color: #596b7a;
    font-size: 15px;
    margin: 0;
}

.dashboard-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.dashboard-filter {
    align-items: center;
    display: flex;
    gap: 8px;
}

.dashboard-filter label {
    margin: 0;
}

.dashboard-filter select {
    min-width: 130px;
    width: 150px;
}

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

.dashboard-main-area {
    display: grid;
    gap: 12px;
    min-width: 0;
}

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

.product-metric {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 9px;
    border-top: 4px solid #2374d8;
    box-shadow: 0 10px 22px rgba(25, 48, 72, 0.06);
    min-width: 0;
    padding: 12px;
}

.product-metric:nth-child(2) {
    border-top-color: #21a67a;
}

.product-metric:nth-child(3) {
    border-top-color: #3d7be8;
}

.product-metric:nth-child(4) {
    border-top-color: #8a63d2;
}

.product-metric.accent-warm {
    border-top-color: #e18a2d;
}

.product-metric.accent-score {
    border-top-color: #102030;
}

.product-metric span {
    color: #53657a;
    display: block;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.25;
    min-height: 26px;
    text-transform: uppercase;
}

.product-metric strong {
    display: block;
    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1.05;
    margin: 5px 0;
}

.product-metric small {
    color: #728195;
    display: block;
    font-size: 11px;
    line-height: 1.25;
}

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

.product-panel,
.candidate-insight-panel {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
    min-width: 0;
    padding: 14px;
}

.product-panel h3,
.candidate-insight-panel h3 {
    margin: 0;
}

.mini-text-link {
    background: transparent;
    color: #2374d8;
    font-size: 12px;
    padding: 0;
}

.funnel-visual {
    display: grid;
    gap: 9px;
}

.funnel-step {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(35, 116, 216, 0.20) var(--funnel-width), #f3f6fa var(--funnel-width));
    border: 1px solid #dfe7ef;
    border-left: 5px solid #2374d8;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-height: 42px;
    padding: 9px 11px;
}

.funnel-step:nth-child(2) {
    border-left-color: #3d7be8;
}

.funnel-step:nth-child(3) {
    border-left-color: #21a67a;
}

.funnel-step:nth-child(4) {
    border-left-color: #8a63d2;
}

.funnel-step span {
    color: #41566b;
    font-weight: 800;
}

.funnel-step strong {
    font-size: 18px;
}

.insight-row {
    display: grid;
    gap: 7px;
    margin-bottom: 11px;
}

.insight-row:last-child {
    margin-bottom: 0;
}

.insight-row > div:first-child {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.insight-row span {
    color: #102030;
    font-weight: 700;
}

.insight-row.compact span {
    max-width: 72%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.stack-chip {
    background: #f7fbff;
    border: 1px solid #dfeaf5;
    border-radius: 8px;
    padding: 10px;
}

.stack-chip span {
    color: #53657a;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 6px;
}

.stack-chip strong {
    font-size: 20px;
}

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

.activity-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    display: grid;
    gap: 9px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 9px;
}

.activity-item strong,
.activity-item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-item span,
.activity-item small {
    color: #5d7186;
    font-size: 11px;
}

.avatar-mini,
.candidate-avatar {
    align-items: center;
    background: #eaf2ff;
    border-radius: 999px;
    color: #1d5fbf;
    display: flex;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.qr-avatar {
    background: #e7f7ef;
    color: #0a7a43;
    font-size: 11px;
}

.candidate-insight-panel {
    position: sticky;
    top: 12px;
}

.insight-close {
    color: #53657a;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.candidate-avatar {
    height: 56px;
    margin-bottom: 12px;
    width: 56px;
}

.candidate-insight-panel h3 {
    font-size: 20px;
    margin-bottom: 3px;
}

.candidate-insight-panel p {
    color: #596b7a;
    margin: 0 0 12px;
}

.candidate-profile-meta {
    border-bottom: 1px solid #e1e8f0;
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 14px;
}

.candidate-profile-meta span {
    color: #41566b;
    font-size: 12px;
}

.score-rings {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 12px;
}

.score-rings div,
.featured-score {
    background: #f8fafc;
    border: 1px solid #e1e8f0;
    border-radius: 9px;
    padding: 10px;
    text-align: center;
}

.score-rings strong,
.featured-score strong {
    color: #2374d8;
    display: block;
    font-size: 24px;
}

.score-rings span,
.featured-score span {
    color: #5d7186;
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.featured-score {
    margin-bottom: 14px;
}

.full-width-button {
    display: block;
    text-align: center;
    width: 100%;
}

.ghost-button {
    background: #eef5ff;
    border: 1px solid #bdd5f5;
    color: #1d5fbf;
}

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

.operation-metrics article,
.control-metrics article {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
    display: grid;
    gap: 4px;
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: 92px;
    padding: 14px;
}

.control-metrics article {
    display: block;
}

.operation-metrics span,
.control-metrics span {
    color: #53657a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.operation-metrics strong,
.control-metrics strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.operation-metrics small,
.control-metrics small {
    color: #5d7186;
    font-size: 12px;
}

.metric-icon {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-size: 13px;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    grid-row: span 3;
    width: 44px;
}

.metric-icon.blue {
    background: #eaf2ff;
    color: #1d5fbf;
}

.metric-icon.green {
    background: #e7f8ee;
    color: #0a7a43;
}

.metric-icon.orange {
    background: #fff2e3;
    color: #bd5b05;
}

.metric-icon.purple {
    background: #f0e9ff;
    color: #6436b4;
}

.operational-filter {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 16px;
    padding: 12px;
}

.operational-filter input,
.operational-filter select {
    min-height: 40px;
}

.operational-filter input[type="search"] {
    flex: 1 1 280px;
    max-width: 480px;
}

.table-title-row {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 16px;
}

.table-title-row h3 {
    margin: 0;
}

.table-title-row span {
    color: #5d7186;
    font-size: 13px;
    font-weight: 700;
}

.operational-table table {
    table-layout: auto;
    width: 100%;
}

.operational-table th,
.operational-table td {
    font-size: clamp(12px, 0.78vw, 14px);
    vertical-align: middle;
}

.operational-table td small {
    color: #60758a;
    display: block;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.score-pill {
    border-radius: 7px;
    display: inline-block;
    font-weight: 900;
    min-width: 38px;
    padding: 5px 8px;
    text-align: center;
}

.score-blue {
    background: #eaf2ff;
    color: #1d5fbf;
}

.score-green {
    background: #e7f8ee;
    color: #0a7a43;
}

.score-orange {
    background: #fff4df;
    color: #c16a08;
}

.score-red {
    background: #ffe8e8;
    color: #c32020;
}

.score-muted {
    background: transparent;
    color: #64748b;
}

.action-cell {
    min-width: 150px;
}

.pagination-row {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding: 12px 16px 16px;
}

.pagination-row a,
.pagination-row span {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e6f4;
    border-radius: 7px;
    color: #1d5fbf;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    min-width: 34px;
    padding: 0 10px;
}

.pagination-row span {
    background: #2374d8;
    color: #ffffff;
}

/* Recruiter Operations Workbench */
.recruiter-workbench {
    display: grid;
    gap: 18px;
}

.workbench-topbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 44px;
}

.hamburger-button,
.notification-button,
.icon-button,
.drawer-close {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    color: #0b2242;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    justify-content: center;
}

.hamburger-button {
    font-size: 22px;
    height: 40px;
    width: 44px;
}

.topbar-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.notification-button {
    height: 40px;
    position: relative;
    width: 40px;
}

.notification-dot {
    align-items: center;
    background: #ef4444;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    display: flex;
    font-size: 10px;
    font-weight: 800;
    height: 20px;
    justify-content: center;
    position: absolute;
    right: -5px;
    top: -8px;
    width: 20px;
}

.admin-menu {
    align-items: center;
    display: flex;
    gap: 10px;
}

.admin-avatar,
.candidate-avatar,
.drawer-avatar {
    align-items: center;
    background: #e9f1ff;
    border-radius: 999px;
    color: #175bd6;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
}

.admin-avatar {
    background: #092452;
    color: #ffffff;
    height: 42px;
    width: 42px;
}

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

.workbench-kpi {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde6f2;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(16, 36, 64, 0.08);
    display: flex;
    gap: 18px;
    min-height: 120px;
    padding: 22px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.workbench-kpi:hover {
    box-shadow: 0 18px 38px rgba(16, 36, 64, 0.12);
    transform: translateY(-2px);
}

.workbench-kpi span {
    color: #0d1f3f;
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.workbench-kpi strong {
    color: #07172c;
    display: block;
    font-size: 28px;
    line-height: 1.1;
    margin: 10px 0 8px;
}

.workbench-kpi small {
    color: #52657c;
    font-size: 12px;
}

.workbench-kpi small b {
    color: #04a85b;
    margin-right: 8px;
}

.kpi-symbol {
    align-items: center;
    border-radius: 18px;
    display: flex;
    flex: 0 0 62px;
    font-size: 26px;
    font-weight: 900;
    height: 62px;
    justify-content: center;
    width: 62px;
}

.kpi-blue {
    background: #e8f1ff;
    color: #1d65df;
}

.kpi-green {
    background: #dff7e9;
    color: #079557;
}

.kpi-purple {
    background: #efe5ff;
    color: #7c3aed;
    font-size: 18px;
}

.kpi-orange {
    background: #fff0de;
    color: #f07c16;
}

.kpi-slate {
    background: #e2e8f0;
    color: #334155;
}

.workbench-filters {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde6f2;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(16, 36, 64, 0.07);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(280px, 1.8fr) repeat(5, minmax(150px, 1fr));
    padding: 16px;
}

.workbench-filters input,
.workbench-filters select {
    background: #ffffff;
    border: 1px solid #cfdbea;
    border-radius: 9px;
    color: #0d1f3f;
    font-size: 14px;
    min-height: 46px;
    padding: 0 14px;
    width: 100%;
}

.search-control,
.date-filter {
    align-items: center;
    border: 1px solid #cfdbea;
    border-radius: 9px;
    display: flex;
    gap: 10px;
    min-height: 46px;
    padding: 0 12px;
}

.search-control input,
.date-filter input {
    border: 0;
    min-height: 40px;
    padding: 0;
}

.search-control input:focus,
.date-filter input:focus {
    outline: 0;
}

.date-filter {
    grid-column: span 2;
}

.date-divider {
    color: #61748c;
    font-size: 12px;
    white-space: nowrap;
}

.workbench-filters .button {
    min-height: 46px;
}

.bulk-action-bar {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde6f2;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(16, 36, 64, 0.06);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 12px 0;
    padding: 10px 12px;
}

.bulk-action-bar span {
    color: #4b5f7a;
    font-size: 0.9rem;
    white-space: nowrap;
}

.bulk-action-bar select {
    background: #ffffff;
    border: 1px solid #cfdbea;
    border-radius: 9px;
    color: #0d1f3f;
    min-height: 38px;
    min-width: 190px;
    padding: 0 12px;
}

.workbench-table input[type="checkbox"],
.ai-evaluation-table input[type="checkbox"] {
    accent-color: #2563eb;
    height: 16px;
    width: 16px;
}

.workbench-table-card {
    background: #ffffff;
    border: 1px solid #dde6f2;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(16, 36, 64, 0.08);
    overflow: hidden;
}

.workbench-table-wrap {
    overflow-x: auto;
    width: 100%;
}

.workbench-table {
    border-collapse: collapse;
    min-width: 1420px;
    width: 100%;
}

.workbench-table th {
    background: #f7f9fc;
    color: #42556d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    padding: 18px 14px;
    text-align: left;
    white-space: nowrap;
}

.workbench-table td {
    border-top: 1px solid #e4ebf3;
    color: #0b1f39;
    font-size: 13px;
    padding: 16px 14px;
    vertical-align: middle;
}

.workbench-table td small {
    color: #4f637a;
    display: block;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 4px;
}

.candidate-id-link {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.candidate-identity {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 190px;
}

.candidate-avatar {
    background: #dbeafe;
    color: #2563eb;
    flex: 0 0 34px;
    height: 34px;
    width: 34px;
}

.avatar-mini,
.drawer-avatar {
    color: #2563eb;
}

.dashboard-refresh-stamp {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
}

.cell-title {
    display: block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.source-badge,
.progress-badge,
.recommendation-badge {
    border-radius: 6px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    white-space: nowrap;
}

.source-badge {
    background: #eef4ff;
    color: #1559c7;
}

.progress-badge {
    background: #e9f2ff;
    color: #1357c5;
}

.resume-chip {
    align-items: center;
    background: #fff1f1;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    text-decoration: none;
    width: 34px;
}

.resume-empty {
    background: #f3f6fa;
    border-color: #dce6f2;
    color: #66788f;
}

.score-ring {
    --score: 0;
    align-items: center;
    background:
        radial-gradient(closest-side, #ffffff 72%, transparent 74% 100%),
        conic-gradient(#2374d8 calc(var(--score) * 1%), #e7eef7 0);
    border-radius: 999px;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.score-ring span {
    color: #07172c;
    font-size: 12px;
    font-weight: 900;
}

.score-ring.score-green {
    background:
        radial-gradient(closest-side, #ffffff 72%, transparent 74% 100%),
        conic-gradient(#0fad64 calc(var(--score) * 1%), #e7eef7 0);
}

.score-ring.score-blue {
    background:
        radial-gradient(closest-side, #ffffff 72%, transparent 74% 100%),
        conic-gradient(#2374d8 calc(var(--score) * 1%), #e7eef7 0);
}

.score-ring.score-orange {
    background:
        radial-gradient(closest-side, #ffffff 72%, transparent 74% 100%),
        conic-gradient(#f59e0b calc(var(--score) * 1%), #e7eef7 0);
}

.score-ring.score-red {
    background:
        radial-gradient(closest-side, #ffffff 72%, transparent 74% 100%),
        conic-gradient(#ef4444 calc(var(--score) * 1%), #e7eef7 0);
}

.score-ring.score-muted {
    background:
        radial-gradient(closest-side, #ffffff 72%, transparent 74% 100%),
        conic-gradient(#a8b5c5 calc(var(--score) * 1%), #e7eef7 0);
}

.score-state {
    color: #0fad64 !important;
    font-weight: 800;
    text-align: center;
}

.recommendation-badge.rec-strong,
.recommendation-badge.rec-recommended {
    background: #e1f7eb;
    color: #047247;
}

.recommendation-badge.rec-borderline {
    background: #e7f0ff;
    color: #1458c5;
}

.recommendation-badge.rec-reject {
    background: #ffe8e8;
    color: #c32020;
}

.recommendation-badge.rec-neutral {
    background: #f0f4f8;
    color: #50647c;
}

.icon-actions {
    align-items: center;
    display: flex;
    gap: 7px;
    white-space: nowrap;
}

.icon-button {
    color: #1357c5;
    font-size: 13px;
    font-weight: 900;
    height: 30px;
    text-decoration: none;
    width: 30px;
}

.icon-button:hover {
    background: #eaf2ff;
}

.row-action-menu {
    display: inline-block;
    position: relative;
}

.row-action-menu summary {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 10px;
    color: #1559c7;
    cursor: pointer;
    display: inline-flex;
    font-size: 20px;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    line-height: 1;
    list-style: none;
    width: 32px;
}

.row-action-menu summary::-webkit-details-marker {
    display: none;
}

.row-action-menu[open] summary {
    background: #eef5ff;
    border-color: #9fc2ff;
}

.row-action-panel {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 4px;
    min-width: 190px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    white-space: nowrap;
    z-index: 80;
}

.row-action-panel a,
.row-action-panel button {
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #0b2348;
    cursor: pointer;
    display: block;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 10px;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.row-action-panel a:hover,
.row-action-panel button:hover {
    background: #f3f7fd;
    color: #1559c7;
}

.row-action-panel form {
    margin: 0;
}

.workbench-table td:last-child,
.ai-evaluation-table td:last-child {
    overflow: visible;
}

.action-start {
    background: #2374d8;
    border-color: #2374d8;
    color: #ffffff;
    min-width: 36px;
    width: auto;
}

.retry-button {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
    min-width: 54px;
    width: auto;
}

.retry-button:hover {
    background: #eef2ff;
    color: #1d4ed8;
}

.retake-button {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
    min-width: 62px;
    width: auto;
}

.retake-button:hover {
    background: #ffedd5;
    color: #9a3412;
}

.paper-l2-button {
    background: #eefdf8;
    border-color: #99f6e4;
    color: #0f766e;
    min-width: 72px;
    width: auto;
}

.paper-l2-button:hover {
    background: #ccfbf1;
    color: #115e59;
}

.outstation-button {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #334155;
    min-width: 76px;
    width: auto;
}

.outstation-button:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.outstation-badge {
    background: #e2e8f0;
    color: #334155;
}

.workbench-pagination {
    align-items: center;
    border-top: 1px solid #e4ebf3;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 18px;
}

.workbench-pagination > span {
    color: #4f637a;
    font-size: 13px;
}

.rows-per-page {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.rows-per-page label {
    color: #34475d;
    font-size: 13px;
}

.rows-per-page select {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    min-height: 38px;
    padding: 0 12px;
}

.pagination-row em {
    color: #60758a;
    font-style: normal;
    padding: 0 6px;
}

.empty-state {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px;
}

.empty-state span {
    color: #64748b;
}

.candidate-drawer {
    background: rgba(7, 23, 44, 0.28);
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity 0.18s ease;
    width: 100%;
    z-index: 50;
}

.candidate-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.drawer-panel {
    background: #ffffff;
    box-shadow: -18px 0 40px rgba(8, 31, 61, 0.2);
    height: 100%;
    max-width: 360px;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    width: min(360px, 92vw);
}

.candidate-drawer.is-open .drawer-panel {
    transform: translateX(0);
}

.drawer-close {
    font-size: 24px;
    height: 34px;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 34px;
}

.drawer-heading {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    padding-right: 36px;
}

.drawer-avatar {
    flex: 0 0 54px;
    font-size: 20px;
    height: 54px;
    width: 54px;
}

.drawer-heading h3 {
    font-size: 20px;
    margin: 0 0 8px;
}

.drawer-heading p,
.drawer-section p {
    color: #4f637a;
    margin: 4px 0;
}

.drawer-section {
    border-top: 1px solid #e4ebf3;
    margin-top: 22px;
    padding-top: 18px;
}

.drawer-section h4 {
    margin: 0 0 12px;
}

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

.drawer-score-grid div {
    border: 1px solid #dce6f2;
    border-radius: 10px;
    padding: 14px;
}

.drawer-score-grid strong {
    color: #2374d8;
    display: block;
    font-size: 22px;
}

.drawer-score-grid span {
    color: #52657c;
    font-size: 12px;
}

.drawer-timeline {
    border-left: 2px solid #bee9d2;
    color: #41556c;
    display: grid;
    gap: 12px;
    margin: 0 0 0 8px;
    padding-left: 18px;
}

.drawer-profile-link {
    margin-top: 22px;
    width: 100%;
}

@media (max-width: 1400px) {
    .workbench-kpis {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .workbench-filters {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .search-control,
    .date-filter {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .workbench-kpis,
    .workbench-filters {
        grid-template-columns: 1fr;
    }

    .search-control,
    .date-filter {
        grid-column: auto;
    }

    .workbench-pagination {
        align-items: flex-start;
        flex-direction: column;
    }

    .rows-per-page {
        margin-left: 0;
    }
}

/* Recruiter Workspace Kanban */
.kanban-workspace {
    display: grid;
    gap: 14px;
}

.kanban-workspace-form {
    display: grid;
    gap: 12px;
}

.kanban-header {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(16, 36, 64, 0.06);
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 14px 18px;
}

.kanban-title-row,
.kanban-header-actions {
    align-items: center;
    display: flex;
    gap: 14px;
}

.kanban-title-row h2 {
    color: #061a38;
    font-size: 24px;
    margin: 0 0 4px;
}

.kanban-title-row p {
    color: #50627a;
    margin: 0;
}

.kanban-menu-button,
.kanban-icon-button,
.candidate-360-close {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d9e2ef;
    border-radius: 10px;
    color: #092452;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    justify-content: center;
}

.kanban-menu-button {
    font-size: 22px;
    height: 40px;
    width: 42px;
}

.kanban-search {
    align-items: center;
    border: 1px solid #d4deec;
    border-radius: 9px;
    display: flex;
    gap: 10px;
    min-height: 42px;
    padding: 0 12px;
    width: min(420px, 34vw);
}

.kanban-search input {
    border: 0;
    color: #0d1f3f;
    flex: 1;
    min-height: 38px;
    outline: 0;
}

.kanban-icon-button {
    height: 40px;
    position: relative;
    width: 40px;
}

.kanban-admin-pill {
    align-items: center;
    display: flex;
    gap: 10px;
}

.kanban-admin-pill span {
    align-items: center;
    background: #092452;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.kanban-filter-bar {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(16, 36, 64, 0.06);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(145px, 1fr)) minmax(260px, 1.5fr) auto auto;
    padding: 14px;
}

.kanban-filter-bar select,
.kanban-filter-bar input {
    background: #ffffff;
    border: 1px solid #cfdbea;
    border-radius: 9px;
    color: #0d1f3f;
    min-height: 42px;
    padding: 0 12px;
    width: 100%;
}

.kanban-date-range {
    align-items: center;
    border: 1px solid #cfdbea;
    border-radius: 9px;
    display: flex;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
}

.kanban-date-range input {
    border: 0;
    min-width: 0;
    padding: 0;
}

.kanban-layout {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 460px);
}

.kanban-board {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    min-width: 0;
}

.kanban-column {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(16, 36, 64, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 620px;
    min-width: 0;
    padding: 12px;
}

.kanban-column header {
    align-items: center;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 12px;
}

.kanban-column header span,
.kanban-column header strong {
    font-size: 13px;
    font-weight: 900;
}

.kanban-neutral header {
    background: #f2f5f9;
    color: #3f546b;
}

.kanban-info header {
    background: #eaf2ff;
    color: #1559c7;
}

.kanban-warning header {
    background: #fff0df;
    color: #c65b06;
}

.kanban-success header {
    background: #e4f8ed;
    color: #047247;
}

.kanban-score header {
    background: #f0e9ff;
    color: #6638c7;
}

.kanban-card-stack {
    display: grid;
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
    padding-right: 2px;
}

.kanban-candidate-card {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 35, 64, 0.04);
    color: #0a1f3d;
    cursor: pointer;
    display: grid;
    gap: 10px;
    padding: 13px;
    text-align: left;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    width: 100%;
}

.kanban-candidate-card:hover,
.kanban-candidate-card.is-active {
    border-color: #74b2ff;
    box-shadow: 0 14px 30px rgba(35, 116, 216, 0.14);
    transform: translateY(-2px);
}

.kanban-card-top {
    align-items: center;
    display: flex;
    gap: 10px;
}

.kanban-avatar,
.candidate-360-avatar {
    align-items: center;
    background: #edf4ff;
    border-radius: 999px;
    color: #1559c7;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
}

.kanban-avatar {
    flex: 0 0 36px;
    height: 36px;
    width: 36px;
}

.kanban-card-top strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.kanban-card-top small,
.kanban-candidate-card p,
.kanban-card-score small {
    color: #53677f;
    font-size: 12px;
    margin: 0;
}

.kanban-card-score {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.kanban-card-score span {
    color: #0fad64;
    font-size: 16px;
    font-weight: 900;
}

.kanban-empty,
.kanban-more {
    color: #60758a;
    font-size: 13px;
    text-align: center;
}

.candidate-360-drawer {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 16px 0 0 16px;
    box-shadow: -18px 0 40px rgba(8, 31, 61, 0.12);
    max-height: calc(100vh - 40px);
    min-height: 680px;
    overflow: hidden;
    position: sticky;
    top: 18px;
}

.candidate-360-drawer:not(.is-open) {
    opacity: 0.76;
}

.candidate-360-drawer:not(.is-open) .candidate-360-content {
    filter: grayscale(0.15);
}

.candidate-360-close {
    height: 34px;
    position: absolute;
    right: 16px;
    top: 14px;
    width: 34px;
    z-index: 2;
}

.candidate-360-content {
    height: 100%;
    opacity: 1;
    overflow-y: auto;
    transition: opacity 0.12s ease;
}

.candidate-360-content.is-swapping {
    opacity: 0.35;
}

.candidate-360-empty {
    align-items: center;
    color: #60758a;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 420px;
    justify-content: center;
}

.candidate-360-panel-body {
    display: grid;
    gap: 14px;
    padding: 22px 18px 0;
}

.candidate-360-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    padding-right: 36px;
}

.candidate-360-avatar {
    flex: 0 0 58px;
    font-size: 20px;
    height: 58px;
    width: 58px;
}

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

.candidate-360-head h3 {
    font-size: 18px;
    margin: 0;
}

.candidate-360-head p,
.candidate-360-meta span {
    color: #50647c;
    display: block;
    font-size: 13px;
    margin: 4px 0;
}

.candidate-status-chip {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 9px;
}

.status-strong,
.status-recommended {
    background: #e2f7ec;
    color: #047247;
}

.status-borderline {
    background: #fff0df;
    color: #b95606;
}

.status-reject {
    background: #ffe8e8;
    color: #c32020;
}

.status-neutral {
    background: #eef3f8;
    color: #4a5d73;
}

.candidate-360-meta,
.candidate-360-section,
.ai-recommendation-card {
    border-top: 1px solid #e5edf5;
    padding-top: 14px;
}

.ai-recommendation-card {
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.recommendation-strong,
.recommendation-recommended {
    background: #f0fbf5;
    border-color: #bfead2;
}

.recommendation-borderline {
    background: #fff8ed;
    border-color: #ffd9a7;
}

.recommendation-reject {
    background: #fff1f1;
    border-color: #fecaca;
}

.ai-recommendation-card span,
.ai-recommendation-card small {
    color: #50647c;
    display: block;
    font-size: 12px;
}

.ai-recommendation-card strong {
    color: #07172c;
    display: block;
    font-size: 20px;
    margin: 4px 0;
}

.ai-recommendation-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
}

.ai-recommendation-grid div {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    padding: 10px;
}

.ai-recommendation-grid strong {
    color: #1357c5;
    font-size: 18px;
}

.candidate-360-section h4,
.notes-heading h4 {
    color: #0b1f39;
    font-size: 14px;
    margin: 0 0 10px;
}

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

.assessment-mini-ring {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.assessment-mini-ring .score-ring {
    height: 50px;
    width: 50px;
}

.assessment-mini-ring strong,
.assessment-mini-ring small {
    color: #50647c;
    font-size: 11px;
}

.candidate-skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.candidate-skill-cloud span {
    background: #f2f6fb;
    border: 1px solid #d8e5f5;
    border-radius: 999px;
    color: #344b66;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
}

.candidate-360-two-col {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

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

.insight-list li {
    color: #34475d;
    font-size: 12px;
    line-height: 1.35;
    padding-left: 18px;
    position: relative;
}

.insight-list li::before {
    border-radius: 999px;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 5px;
    width: 8px;
}

.insight-good li::before {
    background: #0fad64;
}

.insight-warn li::before {
    background: #f59e0b;
}

.resume-summary-grid {
    display: grid;
    gap: 8px 12px;
    grid-template-columns: 1fr auto;
}

.resume-summary-grid span {
    color: #60758a;
    font-size: 12px;
}

.resume-summary-grid strong {
    color: #0b1f39;
    font-size: 12px;
}

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

.candidate-timeline {
    border-left: 2px solid #bdebd4;
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0 0 0 9px;
    padding: 0 0 0 18px;
}

.candidate-timeline li {
    color: #60758a;
    font-size: 12px;
    position: relative;
}

.candidate-timeline li::before {
    background: #cbd5e1;
    border: 2px solid #ffffff;
    border-radius: 999px;
    content: "";
    height: 10px;
    left: -24px;
    position: absolute;
    top: 2px;
    width: 10px;
}

.candidate-timeline li.is-done::before {
    background: #0fad64;
}

.candidate-timeline strong,
.candidate-timeline span {
    display: block;
}

.notes-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.notes-heading span {
    color: #60758a;
    font-size: 11px;
}

.recruiter-notes {
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    font: inherit;
    padding: 10px;
    resize: vertical;
    width: 100%;
}

.candidate-360-actions {
    background: #ffffff;
    border-top: 1px solid #e5edf5;
    bottom: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 -18px;
    padding: 14px 18px;
    position: sticky;
}

.candidate-360-actions .button {
    font-size: 12px;
    justify-content: center;
    min-height: 38px;
    padding: 9px 10px;
}

.shortlist-button {
    background: #ffffff;
    border: 1px solid #0fad64;
    color: #047247;
}

.reject-button {
    background: #ffffff;
    border: 1px solid #ef4444;
    color: #c32020;
}

.full-profile-button {
    grid-column: span 3;
}

.kanban-footer {
    color: #50647c;
    font-size: 13px;
}

@media (max-width: 1500px) {
    .kanban-layout {
        grid-template-columns: minmax(0, 1fr) minmax(400px, 430px);
    }

    .kanban-board {
        overflow-x: auto;
    }

    .kanban-column {
        min-width: 190px;
    }
}

@media (max-width: 1200px) {
    .kanban-header,
    .kanban-header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .kanban-search {
        width: 100%;
    }

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

    .kanban-layout {
        grid-template-columns: 1fr;
    }

    .candidate-360-drawer {
        max-height: none;
        min-height: auto;
        position: static;
    }
}

@media (max-width: 720px) {
    .kanban-filter-bar,
    .candidate-360-two-col,
    .assessment-ring-grid,
    .ai-recommendation-grid {
        grid-template-columns: 1fr;
    }

    .kanban-board {
        grid-template-columns: 1fr;
    }

    .candidate-360-actions {
        grid-template-columns: 1fr;
    }

    .full-profile-button {
        grid-column: auto;
    }
}

/* Drive Command Center */
.drive-command-center {
    display: grid;
    gap: 14px;
    min-width: 0;
    overflow-x: hidden;
}

.drive-command-header,
.drive-info-bar,
.command-card,
.drive-kpi {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(16, 36, 64, 0.06);
}

.drive-command-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    padding: 16px 18px;
}

.drive-command-header > div:first-child {
    min-width: 260px;
}

.drive-command-header h2 {
    color: #061a38;
    font-size: 24px;
    margin: 0 0 4px;
}

.drive-command-header p {
    color: #50627a;
    margin: 0;
}

.drive-command-status {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    min-width: 0;
}

.drive-command-status label {
    color: #50627a;
    display: grid;
    font-size: 11px;
    gap: 3px;
}

.drive-command-status select {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    min-height: 34px;
    padding: 0 10px;
}

.live-dot::before,
.live-text::before {
    background: #0fad64;
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 8px;
    margin-right: 6px;
    width: 8px;
}

.drive-info-bar {
    align-items: start;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(210px, 1.35fr) minmax(78px, 0.55fr) minmax(110px, 0.7fr) minmax(170px, 1fr) minmax(90px, 0.6fr) minmax(90px, 0.6fr) minmax(120px, 0.7fr) minmax(270px, auto);
    padding: 12px;
}

.drive-info-bar span,
.drive-info-bar label {
    color: #50627a;
    font-size: 12px;
}

.drive-info-bar strong {
    color: #0b1f39;
    display: block;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.drive-selector {
    align-items: end;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.drive-selector select {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    min-height: 38px;
    padding: 0 10px;
    width: min(100%, 260px);
}

.drive-actions {
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.drive-actions form {
    display: inline-flex;
    margin: 0;
}

.drive-actions .button {
    white-space: nowrap;
}

.drive-status-live {
    background: #dff8e9;
    color: #16794a;
}

.drive-status-paused {
    background: #fff7ed;
    color: #c65b06;
}

.drive-status-ended {
    background: #fee2e2;
    color: #b91c1c;
}

.drive-status-draft {
    background: #eef2ff;
    color: #3730a3;
}

.pause-button {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c65b06;
}

.end-button {
    background: #dc2626;
    color: #ffffff;
}

.drive-dialog {
    align-items: center;
    background: rgba(15, 23, 42, 0.32);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.drive-dialog[hidden] {
    display: none;
}

.drive-dialog-panel {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
    max-height: calc(100vh - 40px);
    max-width: min(520px, calc(100vw - 28px));
    overflow: auto;
    width: 520px;
}

.drive-form {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.drive-form p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.drive-form label {
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.drive-form input,
.drive-form select,
.drive-form textarea {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    font: inherit;
    min-height: 38px;
    padding: 8px 10px;
    width: 100%;
}

.drive-dialog-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.drive-dialog-title h3 {
    color: #061a38;
    font-size: 18px;
    margin: 0;
}

.drive-dialog-title button {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    color: #0b1f39;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.drive-delete-form {
    border-top: 1px solid #e5eaf2;
    display: flex;
    justify-content: flex-end;
    margin: 0 18px 18px;
    padding-top: 14px;
}

.danger-button {
    background: #dc2626;
    color: #ffffff;
}

.drive-switchboard {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.drive-switchboard a,
.drive-switchboard button {
    background: #ffffff;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    color: #0b1f39;
    display: grid;
    flex: 0 0 clamp(210px, 20vw, 280px);
    gap: 4px;
    min-height: 74px;
    padding: 12px;
    text-align: left;
    text-decoration: none;
}

.drive-switchboard a.active {
    border-color: #2563eb;
    box-shadow: inset 0 3px 0 #2563eb;
}

.drive-switchboard span,
.drive-switchboard small {
    color: #50627a;
    font-size: 11px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.drive-switchboard strong {
    color: #07172c;
    font-size: 24px;
    line-height: 1.1;
}

.drive-kpi-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
}

.drive-kpi {
    border-top: 4px solid #2374d8;
    padding: 16px;
}

.drive-kpi.orange { border-top-color: #f97316; }
.drive-kpi.green { border-top-color: #16a34a; }
.drive-kpi.purple { border-top-color: #8b5cf6; }
.drive-kpi.emerald { border-top-color: #10b981; }
.drive-kpi.slate { border-top-color: #64748b; }

.drive-kpi span,
.drive-kpi small {
    color: #50627a;
    display: block;
    font-size: 12px;
}

.drive-kpi strong {
    color: #07172c;
    display: block;
    font-size: 28px;
    margin: 8px 0;
}

.drive-operations-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(320px, 1.2fr) minmax(320px, 1fr) minmax(320px, 1.1fr);
}

.command-card {
    padding: 16px;
}

.command-card-title {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.command-card h3,
.command-card-title h3 {
    color: #0b1f39;
    font-size: 16px;
    margin: 0;
}

.command-card-title a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.command-mini-table {
    border-collapse: collapse;
    width: 100%;
}

.command-mini-table th,
.command-mini-table td {
    border-bottom: 1px solid #e6edf5;
    font-size: 12px;
    padding: 10px 6px;
    text-align: left;
}

.command-mini-table th {
    color: #5b6f86;
    font-weight: 800;
}

.command-mini-table a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
}

.mini-status {
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 8px;
}

.mini-status.live {
    background: #e2f7ec;
    color: #047247;
}

.mini-status.upcoming {
    background: #eaf2ff;
    color: #1559c7;
}

.activity-feed {
    display: grid;
    gap: 8px;
}

.activity-feed div {
    align-items: center;
    border-bottom: 1px solid #e6edf5;
    display: grid;
    gap: 8px;
    grid-template-columns: 1.2fr 1fr auto;
    padding: 9px 0;
}

.activity-feed span,
.activity-feed small {
    color: #50627a;
    font-size: 12px;
}

.activity-feed strong {
    color: #0b1f39;
    font-size: 12px;
}

.feed-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
}

.feed-actions button {
    background: transparent;
    border: 0;
    color: #2563eb;
    cursor: pointer;
    font-weight: 800;
}

.qr-command-layout {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 150px 1fr;
}

.qr-command-layout img {
    max-width: 150px;
    width: 100%;
}

.qr-command-layout strong {
    color: #2563eb;
    display: block;
    font-size: 32px;
}

.qr-command-layout span {
    color: #50627a;
    display: block;
    margin-bottom: 12px;
}

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

.qr-action-row form {
    margin: 0;
}

.qr-command-card label {
    color: #50627a;
    display: grid;
    font-size: 12px;
    gap: 6px;
    margin-top: 12px;
}

.qr-command-card input {
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    min-height: 38px;
    padding: 0 10px;
}

.qr-last-row,
.health-bottom {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 12px;
}

.qr-last-row span,
.health-bottom span {
    color: #50627a;
    font-size: 12px;
}

.command-wide {
    overflow: hidden;
}

.intelligent-pipeline {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(8, minmax(110px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
}

.pipeline-stage {
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 12px;
    min-width: 120px;
    padding: 12px;
    position: relative;
    text-align: center;
}

.pipeline-stage:not(:last-child)::after {
    background: #15b886;
    content: "";
    height: 3px;
    position: absolute;
    right: -11px;
    top: 50%;
    width: 12px;
}

.pipeline-stage span,
.pipeline-stage small,
.pipeline-stage em {
    color: #50627a;
    display: block;
    font-size: 11px;
    font-style: normal;
}

.pipeline-stage strong {
    color: #2563eb;
    display: block;
    font-size: 22px;
    margin: 8px 0;
}

.command-secondary-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
}

.monitor-list,
.health-list,
.recommendation-bars {
    display: grid;
    gap: 9px;
}

.monitor-list span,
.health-list span,
.recommendation-bars span {
    color: #50627a;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
}

.monitor-list strong,
.health-list strong {
    color: #0b1f39;
}

.health-list .healthy { color: #047247; }
.health-list .warning { color: #c65b06; }
.health-list .critical { color: #c32020; }

.queue-bar,
.recommendation-bars div {
    background: #e8eef6;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}

.queue-bar span,
.recommendation-bars b {
    background: #2563eb;
    display: block;
    height: 100%;
}

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

.alert.info {
    background: #eef4ff;
    border: 1px solid #c7ddff;
    color: #1559c7;
}

.drive-timeline {
    display: grid;
    grid-template-columns: repeat(8, minmax(90px, 1fr));
    overflow-x: auto;
}

.drive-timeline div {
    border-top: 3px solid #17a36b;
    padding: 12px 8px 0;
    position: relative;
}

.drive-timeline div::before {
    background: #ffffff;
    border: 3px solid #17a36b;
    border-radius: 999px;
    content: "";
    height: 10px;
    left: 8px;
    position: absolute;
    top: -7px;
    width: 10px;
}

.drive-timeline strong,
.drive-timeline span,
.drive-timeline small {
    display: block;
    font-size: 11px;
}

.drive-timeline span,
.drive-timeline small {
    color: #60758a;
}

.quick-action-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}

.quick-action-grid a,
.quick-action-grid button {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 10px;
    color: #0b1f39;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    min-height: 58px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

.quick-action-grid form {
    margin: 0;
}

.quick-action-grid form button {
    height: 100%;
    width: 100%;
}

.command-chart-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.trend-chart {
    height: 180px;
    width: 100%;
}

@media (max-width: 1500px) {
    .drive-info-bar,
    .drive-operations-grid,
    .command-secondary-grid,
    .command-chart-grid {
        grid-template-columns: 1fr 1fr;
    }

    .drive-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .quick-actions-card,
    .qr-command-card {
        grid-column: span 2;
    }
}

@media (max-width: 900px) {
    .drive-command-header,
    .drive-command-status,
    .drive-actions,
    .qr-command-layout,
    .activity-feed div {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .drive-info-bar,
    .drive-operations-grid,
    .command-secondary-grid,
    .command-chart-grid,
    .drive-kpi-grid,
    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions-card,
    .qr-command-card {
        grid-column: auto;
    }
}

.recruiter-workspace {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) 320px;
}

.recruiter-board {
    min-width: 0;
}

.recruiter-title {
    margin-bottom: 12px;
}

.recruiter-filter {
    justify-content: space-between;
}

.recruiter-columns {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
}

.recruiter-column {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
    min-width: 0;
    padding: 10px;
}

.recruiter-column header {
    align-items: center;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
}

.recruiter-column header span,
.recruiter-column header strong {
    font-weight: 900;
}

.recruiter-neutral header {
    background: #f1f4f8;
    color: #40566d;
}

.recruiter-info header {
    background: #eaf2ff;
    color: #1d5fbf;
}

.recruiter-warning header {
    background: #fff0e4;
    color: #d45f04;
}

.recruiter-success header {
    background: #e7f8ee;
    color: #0a7a43;
}

.recruiter-score header {
    background: #f0e9ff;
    color: #6436b4;
}

.recruiter-card-list {
    display: grid;
    gap: 10px;
}

.recruiter-card {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    color: #102030;
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 12px;
    text-align: left;
    width: 100%;
}

.recruiter-card:hover {
    border-color: #88b7ef;
    box-shadow: 0 8px 18px rgba(35, 116, 216, 0.12);
}

.candidate-name {
    color: #102030;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.candidate-score {
    color: #13a45f;
    font-weight: 900;
    justify-self: end;
}

.recruiter-profile-panel {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.08);
    height: fit-content;
    padding: 16px;
    position: sticky;
    top: 14px;
}

.profile-head {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.profile-head h3 {
    margin: 0;
}

.profile-head span,
.live-pill {
    background: #dff6e8;
    border-radius: 7px;
    color: #087a42;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 9px;
}

.profile-intro {
    align-items: center;
    display: flex;
    gap: 12px;
    margin: 16px 0;
}

.profile-intro small {
    color: #53657a;
    display: block;
    margin-top: 3px;
}

.recruiter-profile-panel h4 {
    margin: 14px 0 10px;
}

.circular-rings div {
    position: relative;
}

.circular-rings div::before {
    border: 5px solid #dceafe;
    border-left-color: #2374d8;
    border-radius: 999px;
    content: "";
    display: block;
    height: 54px;
    margin: 0 auto 8px;
    width: 54px;
}

.circular-rings div:nth-child(2)::before {
    border-left-color: #21a67a;
}

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

.skill-chips span {
    background: #edf2f7;
    border-radius: 999px;
    color: #42566b;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 9px;
}

.timeline-list {
    border-left: 2px solid #d7eadf;
    display: grid;
    gap: 12px;
    margin-left: 8px;
    padding-left: 16px;
}

.timeline-list span {
    color: #42566b;
    font-size: 13px;
    position: relative;
}

.timeline-list span::before {
    background: #21a67a;
    border: 3px solid #dff6e8;
    border-radius: 999px;
    content: "";
    height: 9px;
    left: -22px;
    position: absolute;
    top: 3px;
    width: 9px;
}

.control-title {
    align-items: center;
}

.control-actions {
    align-items: center;
    display: flex;
    gap: 10px;
}

.live-text {
    color: #2374d8 !important;
    font-weight: 900;
}

.live-text.orange {
    color: #e87515 !important;
}

.live-text.purple {
    color: #8a63d2 !important;
}

.control-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1.15fr 0.9fr 0.72fr;
    margin-bottom: 16px;
}

.mini-table {
    margin-bottom: 14px;
}

.mini-table th,
.mini-table td {
    font-size: 13px;
    padding: 10px 8px;
}

.helper-text {
    color: #5d7186;
    font-size: 12px;
    margin: 10px 0 0;
    text-align: center;
}

.activity-timeline {
    margin-top: 10px;
}

.qr-control-card {
    text-align: center;
}

.qr-control-card img {
    display: block;
    margin: 14px auto;
    max-width: 170px;
    width: 100%;
}

.qr-live-count {
    color: #1d5fbf;
    display: block;
    font-size: 42px;
}

.alert-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.alert {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    padding: 12px;
}

.alert strong {
    float: right;
}

.alert.danger {
    background: #fff0f0;
    border: 1px solid #ffcaca;
    color: #b92323;
}

.alert.warning {
    background: #fff7e8;
    border: 1px solid #ffdba6;
    color: #9a5600;
}

.alert.success {
    background: #ecfbf2;
    border: 1px solid #c4efd3;
    color: #087a42;
}

.product-range-filter input[type="date"] {
    width: 150px;
}

.trend-lines {
    background: linear-gradient(#edf3fb 1px, transparent 1px);
    background-size: 100% 42px;
    min-height: 210px;
    padding: 18px;
    position: relative;
}

.trend-line {
    border: 3px solid transparent;
    border-radius: 50%;
    height: 120px;
    position: absolute;
    width: 82%;
}

.trend-line.blue {
    border-top-color: #3d7be8;
    left: 8%;
    top: 48px;
    transform: rotate(-4deg);
}

.trend-line.green {
    border-top-color: #21a67a;
    left: 8%;
    top: 88px;
    transform: rotate(2deg);
}

.trend-legend {
    bottom: 12px;
    color: #53657a;
    display: flex;
    font-size: 12px;
    font-weight: 800;
    gap: 16px;
    position: absolute;
    right: 18px;
}

.trend-legend span::before {
    background: #3d7be8;
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 8px;
    margin-right: 6px;
    width: 8px;
}

.trend-legend span:nth-child(2)::before {
    background: #21a67a;
}

/* Full Product UI Refresh dashboard */
.product-dashboard-v2 {
    gap: 12px;
}

.product-dashboard-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 58px;
}

.product-dashboard-header h2 {
    font-size: 24px;
    margin: 0;
}

.product-dashboard-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.product-dashboard-controls select,
.product-dashboard-controls input {
    min-height: 38px;
    width: clamp(140px, 12vw, 190px);
}

.product-dashboard-controls button,
.product-dashboard-controls .button {
    min-height: 38px;
    padding: 9px 14px;
}

.product-summary-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
}

.product-summary-strip article {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 10px;
    border-top: 4px solid #2374d8;
    box-shadow: 0 10px 24px rgba(25, 48, 72, 0.06);
    min-height: 96px;
    padding: 14px;
}

.product-summary-strip article:nth-child(2) {
    border-top-color: #21a67a;
}

.product-summary-strip article:nth-child(4) {
    border-top-color: #8a63d2;
}

.product-summary-strip article:nth-child(5) {
    border-top-color: #e18a2d;
}

.product-summary-strip span {
    color: #53657a;
    display: block;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-summary-strip strong {
    display: block;
    font-size: 26px;
    margin: 10px 0 4px;
}

.product-summary-strip small {
    color: #6a7c8f;
    font-size: 12px;
}

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

.product-chart-card {
    min-height: 260px;
}

.funnel-chart {
    align-items: center;
    display: grid;
    gap: 9px;
    justify-items: center;
    padding: 10px 0 0;
}

.funnel-layer {
    align-items: center;
    background: #d8e8fb;
    border-radius: 8px;
    color: #23384e;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    max-width: 92%;
    min-height: 42px;
    padding: 8px 18px;
    width: var(--w);
}

.funnel-layer span,
.funnel-layer strong {
    font-weight: 900;
    white-space: nowrap;
}

.funnel-layer.layer-1 {
    background: #4e8de0;
    color: #ffffff;
}

.funnel-layer.layer-2 {
    background: #6ea9ef;
    color: #ffffff;
}

.funnel-layer.layer-3 {
    background: #3fbd73;
    color: #ffffff;
}

.funnel-layer.layer-4 {
    background: #8a63d2;
    color: #ffffff;
}

.line-chart {
    min-height: 220px;
}

.line-chart svg {
    height: 210px;
    width: 100%;
}

.line-chart line {
    stroke: #e2eaf2;
    stroke-width: 2;
}

.line-chart polyline {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.trend-blue {
    stroke: #3d7be8;
}

.trend-green {
    stroke: #21a67a;
}

.trend-legend-static {
    align-items: center;
    color: #53657a;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    gap: 18px;
    justify-content: center;
}

.trend-legend-static span::before {
    background: #3d7be8;
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 9px;
    margin-right: 7px;
    width: 9px;
}

.trend-legend-static span:nth-child(2)::before {
    background: #21a67a;
}

.dashboard-stack-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.recommendation-chart,
.average-score-chart {
    align-items: end;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
    min-height: 210px;
    padding-top: 14px;
}

.recommendation-bar,
.average-score-chart div {
    align-items: center;
    display: grid;
    gap: 8px;
    justify-items: center;
    min-width: 0;
}

.recommendation-bar > div,
.average-score-chart div {
    background: #eef3f8;
    border-radius: 9px;
    height: 130px;
    overflow: hidden;
    position: relative;
    width: 46px;
}

.recommendation-bar i,
.average-score-chart span {
    background: linear-gradient(180deg, #3d7be8, #2374d8);
    border-radius: 9px 9px 0 0;
    bottom: 0;
    display: block;
    left: 0;
    min-height: 5px;
    position: absolute;
    width: 100%;
}

.recommendation-bar:nth-child(2) i {
    background: linear-gradient(180deg, #21c681, #169b62);
}

.recommendation-bar:nth-child(3) i {
    background: linear-gradient(180deg, #f5b94b, #e18a2d);
}

.recommendation-bar:nth-child(4) i {
    background: linear-gradient(180deg, #ef6a6a, #d94949);
}

.recommendation-bar span,
.average-score-chart small {
    color: #53657a;
    font-size: 11px;
    font-weight: 900;
    max-width: 90px;
    min-height: 28px;
    text-align: center;
}

.recommendation-bar strong,
.average-score-chart strong {
    font-size: 18px;
}

.average-score-chart div {
    background: transparent;
    height: auto;
    overflow: visible;
}

.average-score-chart div > span {
    background: linear-gradient(180deg, #4f8dec, #236bd8);
    border-radius: 9px 9px 0 0;
    display: block;
    height: 70px;
    min-height: 18px;
    position: static;
    width: 46px;
}

.under-dev-shell {
    align-items: center;
    display: flex;
    min-height: calc(100vh - 48px);
    justify-content: center;
}

.under-dev-card {
    background: #ffffff;
    border: 1px solid #dfe7ef;
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(25, 48, 72, 0.10);
    max-width: 620px;
    padding: 38px;
    text-align: center;
    width: 100%;
}

.under-dev-mark {
    align-items: center;
    background: #eaf2ff;
    border-radius: 18px;
    color: #1d5fbf;
    display: inline-flex;
    font-size: 24px;
    font-weight: 900;
    height: 72px;
    justify-content: center;
    margin-bottom: 18px;
    width: 72px;
}

.under-dev-card h2 {
    font-size: 34px;
    margin: 0 0 10px;
}

.under-dev-card p {
    color: #53657a;
    font-size: 17px;
    line-height: 1.55;
    margin: 0 auto 24px;
    max-width: 500px;
}

.under-dev-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* Recruiter dashboard reference */
.recruiter-dashboard {
    display: grid;
    gap: 14px;
}

.recruiter-dashboard-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.recruiter-dashboard-header h2 {
    font-size: 24px;
    margin: 0 0 4px;
}

.recruiter-dashboard-header p {
    color: #64748b;
    margin: 0;
}

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

.recruiter-header-controls select,
.recruiter-header-controls input {
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    min-height: 38px;
    width: 180px;
}

.recruiter-header-controls .ghost-button,
.recruiter-header-controls button {
    min-height: 38px;
    padding: 9px 14px;
}

.icon-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 8px;
    color: #2563eb;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 38px;
}

.notify-button span {
    background: #ef4444;
    border-radius: 999px;
    color: #ffffff;
    font-size: 10px;
    height: 18px;
    line-height: 18px;
    position: absolute;
    right: -6px;
    text-align: center;
    top: -6px;
    width: 18px;
}

.kpi-row {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.kpi-card,
.dashboard-card {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(16, 33, 71, 0.07);
}

.kpi-card {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 108px;
    padding: 16px;
}

.kpi-icon {
    align-items: center;
    border-radius: 999px;
    display: flex;
    font-size: 15px;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.kpi-card span {
    color: #102147;
    display: block;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.kpi-card em {
    display: block;
    font-style: normal;
}

.kpi-card strong {
    display: block;
    font-size: 27px;
    margin: 7px 0 4px;
}

.kpi-card small {
    color: #16a34a;
    font-size: 12px;
    font-weight: 800;
}

.kpi-green .kpi-icon {
    background: #dcfce7;
    color: #16a34a;
}

.kpi-blue .kpi-icon {
    background: #dbeafe;
    color: #2563eb;
}

.kpi-purple .kpi-icon {
    background: #ede9fe;
    color: #7c3aed;
}

.kpi-orange .kpi-icon {
    background: #ffedd5;
    color: #f59e0b;
}

.kpi-red .kpi-icon {
    background: #fee2e2;
    color: #ef4444;
}

.kpi-teal .kpi-icon {
    background: #ccfbf1;
    color: #0891b2;
}

.kpi-slate .kpi-icon {
    background: #e2e8f0;
    color: #334155;
}

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

.top-grid {
    grid-template-columns: 0.84fr 1.16fr;
}

.middle-grid {
    grid-template-columns: 1fr 1.18fr 0.9fr 1fr;
}

.dashboard-card {
    min-width: 0;
    padding: 16px;
}

.dashboard-card h3 {
    font-size: 16px;
    margin: 0 0 14px;
}

.dashboard-card h3 small {
    color: #64748b;
    font-size: 12px;
}

.card-title-line {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.card-title-line h3 {
    margin-bottom: 0;
}

.card-title-line select {
    min-height: 34px;
    width: 130px;
}

.funnel-content {
    align-items: center;
    display: grid;
    gap: 22px;
    grid-template-columns: 0.9fr 1fr;
}

.funnel-shape {
    align-items: center;
    display: grid;
    gap: 3px;
    justify-items: center;
    min-height: 220px;
}

.pipeline-progress-content {
    align-items: start;
}

.pipeline-progress-chart {
    display: grid;
    gap: 12px;
    min-height: 220px;
    width: 100%;
}

.pipeline-progress-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 120px minmax(0, 1fr) 44px;
}

.pipeline-progress-row span {
    color: #102147;
    font-size: 12px;
    font-weight: 800;
}

.pipeline-progress-row div {
    background: #eef3f8;
    border-radius: 999px;
    height: 13px;
    overflow: hidden;
}

.pipeline-progress-row b {
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 2px;
}

.pipeline-progress-row strong {
    color: #475569;
    font-size: 12px;
    text-align: right;
}

.funnel-band {
    clip-path: polygon(8% 0, 92% 0, 82% 100%, 18% 100%);
    height: 31px;
    width: var(--w);
}

.funnel-purple { background: #7c3aed; }
.funnel-blue { background: #2563eb; }
.funnel-indigo { background: #4f46e5; }
.funnel-teal { background: #0891b2; }
.funnel-green { background: #16a34a; }
.funnel-orange { background: #f59e0b; }
.funnel-red { background: #ef4444; }
.funnel-slate { background: #64748b; }

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

.funnel-list div {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: grid;
    gap: 10px;
    grid-template-columns: 14px minmax(0, 1fr) 56px 48px;
    padding-bottom: 8px;
}

.legend-dot {
    border-radius: 999px;
    height: 8px;
    width: 8px;
}

.dot-purple { background: #7c3aed; }
.dot-blue { background: #2563eb; }
.dot-teal { background: #0891b2; }
.dot-green { background: #16a34a; }
.dot-orange { background: #f59e0b; }
.dot-red { background: #ef4444; }

.funnel-list strong {
    color: #102147;
    font-size: 13px;
}

.funnel-list b {
    text-align: right;
}

.funnel-list small {
    color: #475569;
    text-align: right;
}

.trend-legend-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
    margin: 6px 0 8px;
}

.trend-legend-bar span {
    color: #102147;
    font-size: 12px;
    font-weight: 700;
}

.trend-legend-bar i {
    border-radius: 999px;
    display: inline-block;
    height: 9px;
    margin-right: 6px;
    width: 9px;
}

.trend-svg {
    height: 230px;
    width: 100%;
}

.trend-svg line {
    stroke: #e5eaf2;
    stroke-width: 1.5;
}

.trend-svg polyline {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 4;
}

.skill-layout {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 150px minmax(0, 1fr);
}

.skill-donut {
    align-items: center;
    background:
        radial-gradient(circle, #ffffff 0 44%, transparent 45%),
        conic-gradient(var(--skill-gradient));
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    height: 150px;
    justify-content: center;
    text-align: center;
    width: 150px;
}

.skill-donut span {
    color: #102147;
    font-size: 12px;
    font-weight: 800;
}

.skill-donut strong {
    font-size: 22px;
}

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

.skill-list div {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.skill-list span {
    color: #102147;
    font-size: 12px;
    font-weight: 700;
}

.skill-list i {
    border-radius: 999px;
    display: inline-block;
    height: 8px;
    margin-right: 7px;
    width: 8px;
}

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

.recommended-list a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    color: #102147;
    display: grid;
    gap: 10px;
    grid-template-columns: 38px minmax(0, 1fr) 110px 58px;
    padding: 9px;
}

.mini-avatar {
    align-items: center;
    background: #eaf2ff;
    border-radius: 999px;
    color: #2563eb;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.recommended-list strong,
.recommended-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recommended-list small,
.recommended-list em {
    color: #64748b;
    font-size: 11px;
    font-style: normal;
}

.recommended-list b {
    background: #dcfce7;
    border-radius: 8px;
    color: #15803d;
    padding: 5px 7px;
    text-align: center;
}

.progress-layout {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 140px minmax(0, 1fr);
}

.progress-ring {
    align-items: center;
    background:
        radial-gradient(circle, #ffffff 0 56%, transparent 57%),
        conic-gradient(#2563eb var(--progress), #e5eaf2 var(--progress));
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    height: 140px;
    justify-content: center;
    width: 140px;
}

.progress-ring strong {
    font-size: 26px;
}

.progress-ring span {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.status-counts,
.insight-list {
    display: grid;
    gap: 10px;
}

.status-counts div,
.insight-list div {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px;
}

.status-counts span,
.insight-list span,
.insight-list small {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.insight-list div {
    align-items: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.insight-list small {
    color: #16a34a;
    grid-column: 1 / -1;
}

.dashboard-analytics-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.status-bucket-list,
.domain-ranking-list {
    display: grid;
    gap: 8px;
}

.status-bucket-row,
.domain-ranking-row {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    min-height: 52px;
    padding: 10px 12px;
}

.status-bucket-row {
    grid-template-columns: minmax(0, 1fr) auto;
}

.status-bucket-row span,
.domain-ranking-row strong {
    color: #102147;
    font-size: 13px;
    font-weight: 900;
}

.status-bucket-row div {
    align-items: baseline;
    display: flex;
    gap: 8px;
}

.status-bucket-row b,
.domain-ranking-row span {
    color: #102147;
    font-size: 18px;
    font-weight: 900;
}

.status-bucket-row small,
.domain-ranking-row small,
.domain-ranking-row em {
    color: #64748b;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.status-strong { border-left: 4px solid #16a34a; }
.status-recommended { border-left: 4px solid #2563eb; }
.status-borderline { border-left: 4px solid #f59e0b; }
.status-reject { border-left: 4px solid #ef4444; }
.status-neutral { border-left: 4px solid #94a3b8; }

.domain-ranking-row {
    grid-template-columns: minmax(0, 1fr) 70px 110px;
}

.domain-ranking-row strong,
.domain-ranking-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.domain-ranking-row span {
    background: #eaf2ff;
    border-radius: 8px;
    color: #1d4ed8;
    padding: 6px 8px;
    text-align: center;
}

.domain-ranking-row em {
    color: #15803d;
    text-align: right;
}

.latest-card {
    padding: 14px;
}

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

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

.dashboard-table th,
.dashboard-table td {
    border-bottom: 1px solid #e5eaf2;
    font-size: 12px;
    padding: 10px 12px;
    text-align: left;
    white-space: nowrap;
}

.dashboard-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 900;
}

.dash-status {
    border-radius: 7px;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 8px;
}

.dash-status.green { background: #dcfce7; color: #15803d; }
.dash-status.blue { background: #dbeafe; color: #1d4ed8; }
.dash-status.orange { background: #ffedd5; color: #c2410c; }
.dash-status.grey { background: #eef2f7; color: #475569; }

.admin-command-center {
    display: grid;
    gap: 16px;
    padding: 8px;
}

.admin-command-hero,
.admin-command-panel,
.admin-command-kpi {
    background: #ffffff;
    border: 1px solid #dfe7f3;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.admin-command-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef9f5 100%);
}

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

.admin-command-actions form {
    margin: 0;
}

.admin-auto-refresh-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #d8e2ef;
    border-radius: 9px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.admin-auto-refresh-control select {
    border: 0;
    background: transparent;
    color: #0f172a;
    font-weight: 800;
    outline: none;
}

.admin-command-eyebrow {
    display: block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-command-hero h2 {
    margin: 4px 0;
    color: #061a3a;
    font-size: 30px;
    line-height: 1.05;
}

.admin-command-hero p,
.admin-command-hero strong,
.admin-command-panel p,
.agent-status-row p,
.agent-status-row small,
.admin-alert-table small {
    color: #64748b;
}

.admin-command-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.admin-command-kpi {
    padding: 14px 16px;
    border-top: 4px solid #2563eb;
}

.admin-command-kpi span,
.admin-alert-table th {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.admin-command-kpi strong {
    display: block;
    margin: 4px 0;
    color: #0f172a;
    font-size: 28px;
}

.admin-command-kpi small {
    color: #009444;
    font-weight: 700;
}

.admin-command-kpi.critical { border-top-color: #dc2626; }
.admin-command-kpi.high { border-top-color: #f97316; }
.admin-command-kpi.open { border-top-color: #2563eb; }
.admin-command-kpi.resolved { border-top-color: #16a34a; }
.admin-command-kpi.muted { border-top-color: #94a3b8; }

.admin-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr) minmax(260px, 1fr);
    gap: 12px;
}

.admin-command-panel {
    padding: 16px;
}

.admin-command-panel-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.admin-command-panel h3 {
    margin: 0;
    color: #061a3a;
    font-size: 18px;
}

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

.agent-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
    background: #f8fafc;
}

.agent-status-row strong,
.admin-alert-table td strong {
    color: #0f172a;
}

.agent-status-row p,
.admin-alert-table p {
    margin: 4px 0;
}

.agent-status-row b {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 22px;
}

.agent-status-row em {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.agent-status-pill,
.agent-severity {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.agent-priority-pill {
    display: inline-flex;
    align-items: center;
    max-width: 150px;
    border-radius: 999px;
    padding: 5px 8px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
}

.status-active,
.status-open {
    background: #dcfce7;
    color: #15803d;
}

.status-planned {
    background: #e0e7ff;
    color: #4338ca;
}

.status-resolved {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-ignored {
    background: #f1f5f9;
    color: #475569;
}

.status-success {
    background: #dcfce7;
    color: #15803d;
}

.status-failed {
    background: #fee2e2;
    color: #b91c1c;
}

.severity-critical {
    background: #fee2e2;
    color: #b91c1c;
}

.severity-high {
    background: #ffedd5;
    color: #c2410c;
}

.severity-medium {
    background: #fef9c3;
    color: #a16207;
}

.severity-low {
    background: #e0f2fe;
    color: #0369a1;
}

.planned-monitor-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.planned-monitor-list span {
    padding: 10px 12px;
    border: 1px solid #e5eaf1;
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.admin-command-panel-title.compact-title {
    align-items: flex-start;
    margin-bottom: 12px;
}

.admin-command-panel-title.compact-title small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.monitor-card-list {
    display: grid;
    gap: 8px;
}

.monitor-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e5eaf1;
    border-left: 4px solid #94a3b8;
    border-radius: 9px;
    background: #f8fafc;
}

.monitor-card strong {
    color: #0f172a;
    font-size: 13px;
}

.monitor-card p {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.35;
}

.monitor-card b {
    color: #0f172a;
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
}

.monitor-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 999px;
    background: #94a3b8;
}

.monitor-card.status-healthy {
    border-left-color: #16a34a;
    background: #f6fef9;
}

.monitor-card.status-healthy .monitor-status-dot {
    background: #16a34a;
}

.monitor-card.status-warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.monitor-card.status-warning .monitor-status-dot {
    background: #f59e0b;
}

.monitor-card.status-critical {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.monitor-card.status-critical .monitor-status-dot {
    background: #dc2626;
}

.monitor-card.status-neutral {
    border-left-color: #94a3b8;
    background: #f8fafc;
}

.audit-operations-panel {
    padding-bottom: 12px;
}

.audit-schedule-card {
    display: grid;
    gap: 3px;
    min-width: 260px;
    padding: 10px 12px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
}

.audit-schedule-card span {
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.audit-schedule-card strong {
    color: #0f172a;
    font-size: 13px;
}

.audit-schedule-card small {
    color: #64748b;
    font-weight: 700;
}

.audit-history-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
}

.audit-history-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.audit-history-table th,
.audit-history-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5eaf1;
    color: #0f172a;
    font-size: 12px;
    text-align: left;
}

.audit-history-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-alert-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.admin-alert-filters select {
    min-height: 36px;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
}

.admin-alert-table-wrap {
    overflow-x: auto;
    border: 1px solid #e5eaf1;
    border-radius: 10px;
}

.admin-alert-table {
    width: 100%;
    min-width: 1240px;
    border-collapse: collapse;
}

.admin-alert-table th,
.admin-alert-table td {
    padding: 12px;
    border-bottom: 1px solid #e5eaf1;
    text-align: left;
    vertical-align: top;
}

.admin-alert-table th {
    background: #f8fafc;
    color: #475569;
    text-transform: uppercase;
}

.admin-alert-table code {
    display: inline-block;
    margin: 2px 1px;
    padding: 2px 5px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 11px;
    font-weight: 800;
}

.admin-alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-alert-actions button {
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 6px 9px;
    font-weight: 800;
    cursor: pointer;
}

.admin-alert-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.admin-alert-pagination .pagination-row {
    margin: 0;
}

.admin-empty-state {
    color: #64748b;
    text-align: center;
}

@media (max-width: 1200px) {
    .admin-command-kpis,
    .admin-command-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .admin-command-hero,
    .admin-command-panel-title {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-command-kpis,
    .admin-command-grid {
        grid-template-columns: 1fr;
    }
}

.dash-actions {
    display: flex;
    gap: 6px;
}

.dash-actions a {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 7px;
    color: #2563eb;
    display: inline-flex;
    font-size: 11px;
    height: 28px;
    justify-content: center;
    padding: 0 8px;
}

.dash-action-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e1ee;
    border-radius: 7px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    padding: 0 8px;
}

.dash-action-button:hover {
    background: #eef2ff;
    color: #1d4ed8;
}

.retake-action-button {
    border-color: #fed7aa !important;
    color: #c2410c !important;
}

.retake-action-button:hover {
    background: #ffedd5 !important;
    color: #9a3412 !important;
}

@media (max-width: 1280px) {
    .product-summary-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .top-grid,
    .middle-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .product-dashboard-header,
    .product-dashboard-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .product-dashboard-controls select,
    .product-dashboard-controls input,
    .product-dashboard-controls button,
    .product-dashboard-controls .button {
        width: 100%;
    }

    .product-summary-strip,
    .product-chart-grid {
        grid-template-columns: 1fr;
    }

    .recruiter-dashboard-header,
    .recruiter-header-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .recruiter-header-controls select,
    .recruiter-header-controls input,
    .recruiter-header-controls button,
    .recruiter-header-controls .button,
    .recruiter-header-controls .icon-button {
        width: 100%;
    }

    .kpi-row,
    .top-grid,
    .middle-grid,
    .funnel-content,
    .skill-layout,
    .progress-layout {
        grid-template-columns: 1fr;
    }

    .funnel-shape,
    .skill-donut,
    .progress-ring {
        justify-self: center;
    }
}

@media (max-width: 1500px) and (min-width: 901px) {
    .product-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1400px) {
    .recruiter-workspace,
    .control-grid {
        grid-template-columns: 1fr;
    }

    .recruiter-profile-panel {
        position: static;
    }

    .recruiter-columns {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 1180px) {
    .dashboard-shell-grid {
        grid-template-columns: 1fr;
    }

    .candidate-insight-panel {
        position: static;
    }
}

@media (max-width: 900px) {
    .dashboard-topbar,
    .dashboard-controls,
    .dashboard-filter {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-filter select,
    .dashboard-filter button,
    .dashboard-controls .button {
        width: 100%;
    }

    .product-metrics,
    .dashboard-panel-grid {
        grid-template-columns: 1fr;
    }

    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        min-height: auto;
        position: static;
    }

    .side-nav {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .page-title,
    .table-title-row,
    .control-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .alert-strip,
    .control-metrics,
    .operation-metrics {
        grid-template-columns: 1fr;
    }
}

/* Global responsive guardrails: keep every module usable at 100% browser zoom. */
html,
body {
    width: 100%;
}

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

.app-shell,
.content-shell,
.page,
.product-dashboard,
.product-dashboard-v2,
.recruiter-dashboard,
.recruiter-workspace-page,
.drive-command-center,
.ai-evaluation-center,
.candidate-list-page {
    max-width: 100%;
    min-width: 0;
}

.content-shell,
.page {
    overflow-x: clip;
}

.dashboard-topbar,
.dashboard-controls,
.product-dashboard-header,
.product-dashboard-controls,
.recruiter-dashboard-header,
.recruiter-header-controls,
.kanban-header,
.kanban-header-actions,
.drive-command-header,
.drive-command-status,
.table-title-row,
.card-title-line {
    min-width: 0;
}

.dashboard-topbar,
.product-dashboard-header,
.recruiter-dashboard-header,
.kanban-header,
.drive-command-header {
    flex-wrap: wrap;
}

.dashboard-controls,
.product-dashboard-controls,
.recruiter-header-controls,
.kanban-header-actions,
.drive-command-status,
.operational-filter,
.compact-filter,
.filter-row {
    flex-wrap: wrap;
}

.dashboard-controls > *,
.product-dashboard-controls > *,
.recruiter-header-controls > *,
.kanban-header-actions > *,
.drive-command-status > *,
.operational-filter > *,
.compact-filter > *,
.filter-row > * {
    min-width: 0;
}

.dashboard-table-wrap,
.workbench-table-wrap,
.ai-table-wrap,
.table-panel,
.operational-table,
.latest-card,
.workbench-table-card {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dashboard-table,
.workbench-table,
.ai-evaluation-table,
.command-mini-table,
.operational-table table,
.table-panel table {
    width: 100%;
}

.dashboard-table th,
.dashboard-table td,
.workbench-table th,
.workbench-table td,
.ai-evaluation-table th,
.ai-evaluation-table td,
.operational-table th,
.operational-table td {
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .app-shell {
        grid-template-columns: clamp(168px, 12vw, 220px) minmax(0, 1fr);
    }
}

@media (max-width: 1600px) and (min-width: 901px) {
    .page {
        padding: 10px;
    }

    .product-metrics,
    .product-summary-strip,
    .kpi-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-panel-grid,
    .top-grid,
    .middle-grid,
    .product-chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kanban-layout {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    }

    .kanban-board {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .kanban-column {
        flex: 0 0 clamp(175px, 17vw, 220px);
        min-width: 0;
    }

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

    .drive-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .drive-operations-grid,
    .command-monitoring-grid,
    .drive-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .drive-pipeline {
        overflow-x: auto;
    }

    .pipeline-stage-track,
    .drive-timeline {
        min-width: 900px;
    }
}

@media (max-width: 1366px) and (min-width: 901px) {
    body {
        font-size: 12px;
    }

    .app-shell {
        grid-template-columns: 168px minmax(0, 1fr);
    }

    .colan-brand {
        font-size: 16px;
    }

    .brand-mark {
        height: 34px;
        width: 34px;
    }

    .brand-block h1 {
        font-size: 16px;
    }

    .side-nav a,
    .sidebar-footer a {
        font-size: 11px;
        padding: 7px 8px;
    }

    .dashboard-topbar,
    .product-dashboard-header,
    .recruiter-dashboard-header,
    .kanban-header,
    .drive-command-header,
    .page-title,
    .panel,
    .form-panel {
        padding: 10px 12px;
    }

    .dashboard-topbar h2,
    .product-dashboard-header h2,
    .recruiter-dashboard-header h2,
    .kanban-header h2,
    .drive-command-header h2,
    .page-title h2 {
        font-size: 22px;
    }

    .dashboard-controls select,
    .dashboard-controls input,
    .product-dashboard-controls select,
    .product-dashboard-controls input,
    .recruiter-header-controls select,
    .recruiter-header-controls input,
    .kanban-filter-bar select,
    .kanban-filter-bar input,
    .operational-filter select,
    .operational-filter input {
        min-height: 34px;
    }

    .dashboard-shell-grid,
    .kanban-layout {
        grid-template-columns: 1fr;
    }

    .candidate-insight-panel,
    .candidate-360-drawer {
        max-height: none;
        min-height: auto;
        position: static;
    }

    .candidate-360-drawer {
        border-radius: 14px;
    }

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

    .drive-info-bar,
    .drive-kpi-grid,
    .drive-operations-grid,
    .command-monitoring-grid,
    .drive-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-metrics,
    .product-summary-strip,
    .kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .dashboard-shell-grid,
    .dashboard-panel-grid,
    .top-grid,
    .middle-grid,
    .product-chart-grid,
    .kanban-layout,
    .drive-info-bar,
    .drive-kpi-grid,
    .drive-operations-grid,
    .command-monitoring-grid,
    .drive-bottom-grid {
        grid-template-columns: 1fr;
    }

    .drive-actions,
    .kanban-header-actions,
    .dashboard-controls,
    .product-dashboard-controls,
    .recruiter-header-controls {
        justify-content: stretch;
    }

    .drive-actions > *,
    .kanban-header-actions > *,
    .dashboard-controls > *,
    .product-dashboard-controls > *,
    .recruiter-header-controls > * {
        flex: 1 1 160px;
    }
}

/* Strict 100% browser responsive density layer
   Keeps the product usable at normal browser zoom without relying on browser scaling. */
@media (min-width: 901px) {
    :root {
        --ti-fit-gap: clamp(8px, 0.58vw, 12px);
        --ti-fit-pad: clamp(8px, 0.7vw, 12px);
        --ti-fit-radius: 9px;
    }

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        font-size: clamp(11px, 0.72vw, 13px);
        line-height: 1.35;
    }

    .app-shell {
        grid-template-columns: clamp(148px, 10.2vw, 190px) minmax(0, 1fr) !important;
        min-width: 0;
    }

    .sidebar {
        padding: 10px 8px;
        gap: 10px;
        min-width: 0;
    }

    .colan-brand {
        font-size: clamp(16px, 1.25vw, 22px);
        letter-spacing: 3px;
    }

    .brand-block {
        gap: 8px;
        padding: 4px 2px 10px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        flex: 0 0 34px;
    }

    .brand-block h1 {
        font-size: clamp(15px, 1.05vw, 18px);
        line-height: 1.05;
    }

    .brand-block p,
    .sidebar-footer p,
    .sidebar-footer small {
        font-size: 10.5px;
    }

    .side-nav {
        gap: 3px;
    }

    .side-nav a,
    .sidebar-footer a {
        min-height: 28px;
        padding: 6px 8px;
        border-radius: 7px;
        font-size: clamp(10.5px, 0.72vw, 12px);
        line-height: 1.1;
    }

    .sidebar-footer {
        padding: 9px 8px;
        border-radius: 10px;
    }

    .page,
    .product-dashboard,
    .product-dashboard-v2,
    .recruiter-dashboard,
    .recruiter-workspace-page,
    .drive-command-center,
    .ai-evaluation-center,
    .recruiter-workbench {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: var(--ti-fit-gap) !important;
        overflow-x: hidden;
    }

    .dashboard-topbar,
    .product-dashboard-header,
    .recruiter-dashboard-header,
    .kanban-header,
    .drive-command-header,
    .workbench-topbar,
    .page-title,
    .panel,
    .form-panel,
    .dashboard-card,
    .product-card,
    .product-panel,
    .candidate-insight-panel,
    .workbench-table-card,
    .command-card,
    .drive-info-bar,
    .drive-kpi,
    .ai-evaluation-card,
    .ai-evaluation-drawer,
    .candidate-360-drawer {
        border-radius: var(--ti-fit-radius);
        padding: var(--ti-fit-pad);
    }

    .dashboard-topbar,
    .product-dashboard-header,
    .recruiter-dashboard-header,
    .kanban-header,
    .drive-command-header,
    .workbench-topbar {
        gap: var(--ti-fit-gap);
        margin-bottom: var(--ti-fit-gap);
    }

    .dashboard-topbar h2,
    .product-dashboard-header h2,
    .recruiter-dashboard-header h2,
    .kanban-header h2,
    .drive-command-header h2,
    .workbench-topbar h2,
    .page-title h2 {
        font-size: clamp(19px, 1.45vw, 28px);
        line-height: 1.08;
    }

    .dashboard-topbar p,
    .product-dashboard-header p,
    .recruiter-dashboard-header p,
    .kanban-header p,
    .drive-command-header p,
    .workbench-topbar p,
    .page-title p {
        font-size: clamp(11px, 0.82vw, 15px);
        line-height: 1.25;
    }

    input,
    select,
    textarea,
    button,
    .button,
    .ghost-button,
    .icon-button {
        font-size: clamp(11px, 0.72vw, 13px);
    }

    .dashboard-controls select,
    .dashboard-controls input,
    .product-dashboard-controls select,
    .product-dashboard-controls input,
    .product-dashboard-controls button,
    .product-dashboard-controls .button,
    .recruiter-header-controls select,
    .recruiter-header-controls input,
    .recruiter-header-controls button,
    .recruiter-header-controls .button,
    .kanban-filter-bar select,
    .kanban-filter-bar input,
    .workbench-filters select,
    .workbench-filters input,
    .operational-filter select,
    .operational-filter input,
    .compact-filter select,
    .compact-filter input,
    .filter-row select,
    .filter-row input {
        min-height: 30px;
        padding: 6px 9px;
        border-radius: 7px;
    }

    .dashboard-controls,
    .product-dashboard-controls,
    .recruiter-header-controls,
    .kanban-header-actions,
    .operational-filter,
    .compact-filter,
    .filter-row,
    .workbench-filters {
        gap: 7px;
    }

    .product-metrics,
    .product-summary-strip,
    .kpi-row,
    .analytics-grid,
    .ai-analytics-strip,
    .workbench-kpis,
    .drive-kpi-grid {
        gap: var(--ti-fit-gap);
    }

    .product-metrics,
    .product-summary-strip,
    .kpi-row {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .workbench-kpis,
    .drive-kpi-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .kpi-card,
    .product-metric,
    .workbench-kpi,
    .drive-kpi {
        min-height: 72px;
        padding: 9px 10px;
        gap: 8px;
    }

    .kpi-icon,
    .metric-icon,
    .workbench-kpi-icon,
    .drive-kpi-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 10px;
    }

    .kpi-card strong,
    .product-metric strong,
    .workbench-kpi strong,
    .drive-kpi strong,
    .stat-value,
    .metric-value {
        font-size: clamp(20px, 1.55vw, 28px);
        line-height: 1.05;
    }

    .kpi-card span,
    .product-metric span,
    .workbench-kpi span,
    .drive-kpi span,
    .metric-label {
        font-size: clamp(10.5px, 0.7vw, 12px);
        line-height: 1.15;
    }

    .dashboard-grid,
    .dashboard-panel-grid,
    .top-grid,
    .middle-grid,
    .product-chart-grid,
    .drive-operations-grid,
    .command-monitoring-grid,
    .drive-bottom-grid {
        gap: var(--ti-fit-gap);
    }

    .dashboard-panel-grid,
    .top-grid,
    .middle-grid,
    .product-chart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .drive-info-bar {
        grid-template-columns: minmax(210px, 1.2fr) repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: var(--ti-fit-gap);
    }

    .drive-actions {
        grid-column: 1 / -1 !important;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .drive-operations-grid {
        grid-template-columns: 1.1fr 1.15fr 1fr !important;
    }

    .command-monitoring-grid,
    .drive-bottom-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .kanban-layout {
        grid-template-columns: minmax(0, 1fr) clamp(330px, 27vw, 430px) !important;
        gap: var(--ti-fit-gap);
    }

    .kanban-board,
    .recruiter-columns {
        gap: var(--ti-fit-gap);
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .kanban-column,
    .recruiter-column {
        min-width: clamp(150px, 13vw, 205px);
    }

    .candidate-card,
    .recruiter-card,
    .workbench-table tbody tr,
    .dashboard-table tbody tr,
    .ai-evaluation-table tbody tr {
        font-size: clamp(10.5px, 0.7vw, 12px);
    }

    .candidate-card,
    .recruiter-card {
        padding: 8px;
        border-radius: 8px;
    }

    .dashboard-table th,
    .dashboard-table td,
    .workbench-table th,
    .workbench-table td,
    .ai-evaluation-table th,
    .ai-evaluation-table td,
    .operational-table th,
    .operational-table td {
        padding: 7px 8px;
        font-size: clamp(10.5px, 0.68vw, 12px);
        line-height: 1.25;
    }

    .badge,
    .status-pill,
    .recommendation-badge,
    .score-badge,
    .chip {
        font-size: 10px;
        padding: 3px 7px;
        border-radius: 999px;
    }

    .chart-card,
    .funnel-card,
    .trend-card,
    .analytics-card {
        min-height: 220px;
    }

    .trend-svg,
    .line-chart,
    .chart-svg {
        max-height: 230px;
    }

    .table-card,
    .dashboard-table-wrap,
    .workbench-table-wrap,
    .ai-table-wrap,
    .operational-table {
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (min-width: 901px) and (max-width: 1440px) {
    .product-metrics,
    .product-summary-strip,
    .kpi-row,
    .workbench-kpis,
    .drive-kpi-grid {
        grid-template-columns: repeat(6, minmax(120px, 1fr)) !important;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .dashboard-shell-grid,
    .kanban-layout {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .candidate-insight-panel,
    .candidate-360-drawer,
    .ai-evaluation-drawer {
        position: static;
        max-height: none;
    }

    .drive-info-bar {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .drive-actions {
        grid-column: 1 / -1 !important;
    }

    .drive-operations-grid,
    .command-monitoring-grid,
    .drive-bottom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 901px) {
    /* Login responsive rules live in the dedicated login section above.
       Keep this block empty of login overrides to avoid conflicting breakpoints. */
}

@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    .app-shell {
        grid-template-columns: 1fr !important;
    }

    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .page,
    .product-dashboard,
    .product-dashboard-v2,
    .recruiter-dashboard,
    .recruiter-workspace-page,
    .drive-command-center,
    .ai-evaluation-center,
    .recruiter-workbench {
        padding: 10px !important;
        overflow-x: hidden;
    }

    .product-metrics,
    .product-summary-strip,
    .kpi-row,
    .workbench-kpis,
    .drive-kpi-grid,
    .dashboard-panel-grid,
    .top-grid,
    .middle-grid,
    .product-chart-grid,
    .drive-info-bar,
    .drive-operations-grid,
    .command-monitoring-grid,
    .drive-bottom-grid {
        grid-template-columns: 1fr !important;
    }

    .kanban-board,
    .recruiter-columns {
        display: flex;
        overflow-x: auto;
    }

    .kanban-column,
    .recruiter-column {
        min-width: 78vw;
    }
}

/* AI Evaluation Center polish */
.ai-center {
    gap: 14px;
    max-width: 100%;
    overflow-x: hidden;
}

.ai-center-header {
    border-color: #d7e2ef;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
    padding: clamp(16px, 1.35vw, 22px);
}

.ai-center-eyebrow {
    color: #2563eb;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.ai-header-actions .button {
    min-height: 36px;
    white-space: nowrap;
}

.refresh-status {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    font-size: 12px;
    padding: 8px 11px;
}

.ai-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.ai-kpi {
    min-height: 104px;
    overflow: hidden;
    padding: 15px 16px;
}

.ai-kpi span {
    max-width: 75%;
}

.ai-kpi strong {
    font-size: clamp(22px, 1.65vw, 28px);
    margin: 10px 0 6px;
}

.ai-analytics-strip {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.ai-analytics-card {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    padding: 14px;
}

.ai-analytics-card h3 {
    color: #0f172a;
    font-size: 15px;
    margin: 0 0 10px;
}

.ai-status-pills,
.ai-domain-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ai-status-pills span,
.ai-domain-pills span {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #94a3b8;
    border-radius: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 10px;
}

.ai-status-pills b,
.ai-domain-pills b {
    color: #0f172a;
    margin-left: 6px;
}

.ai-status-pills .status-strong { border-left-color: #16a34a; }
.ai-status-pills .status-recommended { border-left-color: #2563eb; }
.ai-status-pills .status-borderline { border-left-color: #f59e0b; }
.ai-status-pills .status-reject { border-left-color: #ef4444; }
.ai-status-pills .status-neutral { border-left-color: #94a3b8; }

.ai-workspace {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
}

.ai-workspace.has-open-drawer {
    grid-template-columns: minmax(0, 1fr) clamp(360px, 27vw, 430px);
}

.ai-main-panel {
    min-width: 0;
    overflow: hidden;
}

.ai-tabs {
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    gap: 8px;
    padding: 10px 14px 0;
}

.ai-tabs a {
    border: 1px solid transparent;
    border-bottom: 3px solid transparent;
    border-radius: 12px 12px 0 0;
    padding: 13px 14px 12px;
}

.ai-tabs a.active {
    background: #eaf2ff;
    border-color: #bfdbfe;
    border-bottom-color: #2563eb;
}

.ai-filter-bar {
    grid-template-columns: minmax(260px, 1.6fr) repeat(4, minmax(125px, 1fr));
    padding: 14px;
}

.ai-filter-bar input,
.ai-filter-bar select {
    min-height: 38px;
}

.ai-filter-bar .button {
    min-height: 38px;
}

.ai-table-wrap {
    border-top: 1px solid #edf2f7;
    max-width: 100%;
}

.ai-evaluation-table {
    min-width: 1120px;
}

.ai-evaluation-table th:first-child,
.ai-evaluation-table td:first-child {
    min-width: 44px;
    text-align: center;
    white-space: nowrap;
}

.ai-evaluation-table th {
    background: #f7faff;
    color: #42526a;
    font-size: 11px;
    padding: 10px;
}

.ai-evaluation-table td {
    background: #ffffff;
    padding: 11px 10px;
}

.ai-evaluation-table tbody tr:nth-child(even) td {
    background: #fbfdff;
}

.ai-evaluation-table tr.is-selected td,
.ai-evaluation-table tr:hover td {
    background: #f0f7ff;
}

.ai-evaluation-table td.score-red,
.ai-evaluation-table td.score-blue,
.ai-evaluation-table td.score-green,
.ai-evaluation-table td.score-orange,
.ai-evaluation-table td.score-muted {
    background: inherit;
    color: inherit;
}

.candidate-cell {
    min-width: 220px;
}

.candidate-cell strong {
    color: #0f172a;
    font-size: 13px;
    line-height: 1.2;
}

.candidate-cell small {
    max-width: 230px;
    overflow-wrap: anywhere;
}

.avatar-mini {
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.12);
    height: 32px;
    width: 32px;
}

.soft-pill {
    background: #f1f5f9;
    color: #475569;
    line-height: 1.15;
    max-width: 92px;
    text-align: center;
    white-space: normal;
}

.score-chip {
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    min-width: 54px;
    padding: 5px 9px;
}

.ai-evaluation-table td small {
    color: #64748b;
    font-size: 10px;
    line-height: 1.2;
}

.recommendation-badge {
    max-width: 150px;
    white-space: normal;
}

.eval-status {
    line-height: 1.1;
    white-space: normal;
}

.ai-actions {
    align-items: center;
    flex-wrap: wrap;
}

.ai-actions .icon-button {
    min-height: 32px;
    min-width: 0;
    padding: 7px 10px;
}

.table-pagination {
    background: #ffffff;
    gap: 10px;
}

.ai-evaluation-drawer {
    border-left: 4px solid #2563eb;
    display: none;
    max-height: calc(100vh - 92px);
    min-width: 0;
    overflow-y: auto;
    padding: 0 !important;
}

.ai-evaluation-drawer.is-open {
    display: block;
}

.empty-drawer-state {
    min-height: 420px;
    padding: 24px;
}

.empty-drawer-state strong {
    color: #0f172a;
    font-size: 18px;
}

.ai-drawer-panel {
    gap: 14px;
    padding: 18px;
}

.ai-drawer-header {
    padding-right: 34px;
}

.ai-drawer-header h3 {
    color: #0f172a;
    font-size: 19px;
    line-height: 1.25;
}

.drawer-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.drawer-score-grid article {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    padding: 12px;
}

.drawer-score-grid strong {
    color: #1d4ed8;
    font-size: 21px;
}

.drawer-tabs {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.drawer-tabs button,
.answer-filter-row span {
    font-size: 11px;
    padding: 7px 10px;
}

.question-review-card {
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.question-review-meta {
    gap: 6px;
}

.answer-review-grid {
    grid-template-columns: 1fr;
}

.answer-review-grid > div {
    padding: 10px;
}

.answer-review-grid pre {
    max-height: 160px;
}

.strength-improvement-grid {
    grid-template-columns: 1fr;
}

.positive-line,
.warning-line {
    margin: 7px 0;
}

.ai-drawer-actions {
    margin: 0 -18px -18px;
    padding: 14px 18px 18px;
}

.ai-drawer-actions .button {
    flex: 1 1 150px;
    justify-content: center;
}

@media (max-width: 1500px) and (min-width: 1201px) {
    .ai-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ai-workspace.has-open-drawer {
        grid-template-columns: minmax(0, 1fr) 380px;
    }

    .ai-filter-bar {
        grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(120px, 1fr));
    }
}

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

    .ai-workspace {
        grid-template-columns: 1fr;
    }

    .ai-evaluation-drawer {
        max-height: none;
        position: static;
    }

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

    .ai-filter-bar input[type="search"] {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .ai-center-header,
    .ai-header-actions,
    .table-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .ai-kpi-grid,
    .ai-filter-bar {
        grid-template-columns: 1fr;
    }
}

/* Assessment workbench polish */
.recruiter-workbench {
    gap: 14px;
    max-width: 100%;
    overflow-x: hidden;
}

.recruiter-workbench .hamburger-button {
    font-size: 0;
    height: 38px;
    width: 42px;
}

.recruiter-workbench .hamburger-button::before {
    content: "Menu";
    font-size: 11px;
    font-weight: 900;
}

.recruiter-workbench .notification-button > span[aria-hidden="true"] {
    font-size: 0;
}

.recruiter-workbench .notification-button > span[aria-hidden="true"]::before {
    content: "!";
    font-size: 14px;
    font-weight: 900;
}

.recruiter-workbench .kpi-symbol {
    border-radius: 16px;
    flex-basis: 50px;
    font-size: 0;
    height: 50px;
    width: 50px;
}

.recruiter-workbench .workbench-kpi:nth-child(1) .kpi-symbol::before { content: "L"; }
.recruiter-workbench .workbench-kpi:nth-child(2) .kpi-symbol::before { content: "OK"; }
.recruiter-workbench .workbench-kpi:nth-child(3) .kpi-symbol::before { content: "AI"; }
.recruiter-workbench .workbench-kpi:nth-child(4) .kpi-symbol::before { content: "*"; }
.recruiter-workbench .workbench-kpi:nth-child(5) .kpi-symbol::before { content: "O"; }

.recruiter-workbench .kpi-symbol::before {
    font-size: 16px;
    font-weight: 900;
}

.recruiter-workbench .workbench-kpis {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.recruiter-workbench .workbench-kpi {
    min-height: 96px;
    padding: 16px;
}

.recruiter-workbench .workbench-kpi span {
    font-size: 12px;
    line-height: 1.2;
}

.recruiter-workbench .workbench-kpi strong {
    font-size: 25px;
    margin: 7px 0 5px;
}

.recruiter-workbench .workbench-filters {
    gap: 10px;
    grid-template-columns: minmax(280px, 1.55fr) repeat(4, minmax(140px, 1fr));
    padding: 14px;
}

.recruiter-workbench .search-control,
.recruiter-workbench .date-filter,
.recruiter-workbench .workbench-filters input,
.recruiter-workbench .workbench-filters select,
.recruiter-workbench .workbench-filters .button {
    min-height: 38px;
}

.recruiter-workbench .search-control > span[aria-hidden="true"],
.recruiter-workbench .date-filter > span[aria-hidden="true"] {
    color: #64748b;
    font-size: 0;
    font-weight: 900;
    min-width: 34px;
}

.recruiter-workbench .search-control > span[aria-hidden="true"]::before {
    content: "Search";
    font-size: 11px;
}

.recruiter-workbench .date-filter > span[aria-hidden="true"]::before {
    content: "Date";
    font-size: 11px;
}

.recruiter-workbench .date-filter {
    grid-column: span 2;
}

.recruiter-workbench .workbench-table-card {
    border-color: #dbe4ef;
    box-shadow: 0 12px 28px rgba(16, 36, 64, 0.07);
}

.recruiter-workbench .workbench-table {
    min-width: 1280px;
    table-layout: fixed;
}

.recruiter-workbench .workbench-table th,
.recruiter-workbench .workbench-table td {
    font-size: 12px;
    line-height: 1.25;
    padding: 11px 10px;
}

.recruiter-workbench .workbench-table th {
    background: #f7faff;
    color: #42526a;
    font-size: 11px;
}

.recruiter-workbench .workbench-table tbody tr:nth-child(even) td {
    background: #fbfdff;
}

.recruiter-workbench .workbench-table tbody tr:hover td {
    background: #f0f7ff;
}

.recruiter-workbench .workbench-table th:nth-child(1),
.recruiter-workbench .workbench-table td:nth-child(1) {
    text-align: center;
    white-space: nowrap;
    width: 56px;
}
.recruiter-workbench .workbench-table th:nth-child(2),
.recruiter-workbench .workbench-table td:nth-child(2) { width: 112px; }
.recruiter-workbench .workbench-table th:nth-child(3),
.recruiter-workbench .workbench-table td:nth-child(3) { width: 190px; }
.recruiter-workbench .workbench-table th:nth-child(4),
.recruiter-workbench .workbench-table td:nth-child(4) { width: 190px; }
.recruiter-workbench .workbench-table th:nth-child(5),
.recruiter-workbench .workbench-table td:nth-child(5) { width: 120px; }
.recruiter-workbench .workbench-table th:nth-child(6),
.recruiter-workbench .workbench-table td:nth-child(6) { width: 110px; }
.recruiter-workbench .workbench-table th:nth-child(7),
.recruiter-workbench .workbench-table td:nth-child(7) { width: 82px; }
.recruiter-workbench .workbench-table th:nth-child(8),
.recruiter-workbench .workbench-table td:nth-child(8) { width: 70px; text-align: center; }
.recruiter-workbench .workbench-table th:nth-child(9),
.recruiter-workbench .workbench-table td:nth-child(9),
.recruiter-workbench .workbench-table th:nth-child(10),
.recruiter-workbench .workbench-table td:nth-child(10) { width: 92px; text-align: center; }
.recruiter-workbench .workbench-table th:nth-child(11),
.recruiter-workbench .workbench-table td:nth-child(11) { width: 132px; }
.recruiter-workbench .workbench-table th:nth-child(12),
.recruiter-workbench .workbench-table td:nth-child(12) { width: 124px; }
.recruiter-workbench .workbench-table th:nth-child(13),
.recruiter-workbench .workbench-table td:nth-child(13) { width: 118px; }
.recruiter-workbench .workbench-table th:nth-child(14),
.recruiter-workbench .workbench-table td:nth-child(14) { width: 190px; }

.recruiter-workbench .candidate-id-link {
    background: #eaf2ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 11px;
    justify-content: center;
    max-width: 100%;
    padding: 7px 9px;
}

.recruiter-workbench .candidate-identity {
    gap: 9px;
    min-width: 0;
}

.recruiter-workbench .candidate-identity > div {
    min-width: 0;
}

.recruiter-workbench .candidate-identity strong,
.recruiter-workbench .cell-title {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recruiter-workbench .candidate-identity small,
.recruiter-workbench .workbench-table td small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recruiter-workbench .candidate-avatar {
    flex-basis: 30px;
    height: 30px;
    width: 30px;
}

.recruiter-workbench .source-badge,
.recruiter-workbench .progress-badge,
.recruiter-workbench .recommendation-badge {
    border-radius: 999px;
    font-size: 10px;
    line-height: 1.15;
    max-width: 118px;
    overflow: hidden;
    padding: 5px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recruiter-workbench .resume-chip {
    font-size: 10px;
    height: 30px;
    width: 30px;
}

.recruiter-workbench .score-ring {
    height: 44px;
    width: 44px;
}

.recruiter-workbench .score-ring span {
    font-size: 11px;
}

.recruiter-workbench .score-state {
    display: block;
    font-size: 10px;
    margin-top: 4px;
}

.recruiter-workbench .icon-actions {
    flex-wrap: wrap;
    gap: 5px;
}

.recruiter-workbench .icon-button {
    border-radius: 7px;
    font-size: 10px;
    height: 29px;
    min-width: 42px;
    padding: 0 8px;
    width: auto;
}

.recruiter-workbench .retry-button,
.recruiter-workbench .retake-button {
    min-width: 54px;
}

.recruiter-workbench .workbench-pagination {
    align-items: center;
    gap: 10px;
}

.recruiter-workbench .rows-per-page {
    flex-wrap: wrap;
}

@media (max-width: 1500px) and (min-width: 901px) {
    .recruiter-workbench .workbench-kpis {
        grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    }

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

    .recruiter-workbench .search-control,
    .recruiter-workbench .date-filter {
        grid-column: span 2;
    }
}

@media (max-width: 1100px) {
    .recruiter-workbench .workbench-kpis,
    .recruiter-workbench .workbench-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .recruiter-workbench .search-control,
    .recruiter-workbench .date-filter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .recruiter-workbench .workbench-kpis,
    .recruiter-workbench .workbench-filters,
    .recruiter-workbench .workbench-pagination {
        grid-template-columns: 1fr !important;
    }

    .recruiter-workbench .workbench-pagination {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Candidate view */
.candidate-detail-page {
    display: grid;
    gap: 16px;
}

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

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

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

.candidate-detail-card {
    background: #ffffff;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    padding: 18px;
}

.candidate-detail-wide {
    grid-column: 1 / -1;
}

.candidate-detail-profile {
    align-items: center;
    display: flex;
    gap: 16px;
}

.candidate-detail-avatar {
    align-items: center;
    background: #eaf2ff;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    flex: 0 0 64px;
    font-size: 24px;
    font-weight: 900;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.candidate-detail-card h3 {
    color: #071936;
    margin: 0 0 12px;
}

.candidate-detail-card p {
    color: #52657c;
    margin: 5px 0;
}

.candidate-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.candidate-detail-list div {
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 8px;
}

.candidate-detail-list dt {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.candidate-detail-list dd {
    color: #0f172a;
    font-weight: 800;
    margin: 4px 0 0;
}

.candidate-detail-score-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.candidate-detail-score-grid div {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 12px;
}

.candidate-detail-score-grid strong {
    color: #1d4ed8;
    display: block;
    font-size: 22px;
}

.candidate-detail-score-grid span,
.candidate-detail-muted {
    color: #64748b;
    font-size: 12px;
}

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

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

.candidate-history-item {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    display: grid;
    gap: 12px;
    padding: 14px;
}

.candidate-history-item strong,
.candidate-history-item span,
.candidate-history-item p {
    display: block;
}

.candidate-history-item strong {
    color: #0f172a;
    font-size: 14px;
}

.candidate-history-item span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    margin-top: 3px;
}

.candidate-history-item p {
    color: #475569;
    font-size: 13px;
    margin: 8px 0 0;
}

.candidate-history-item dl {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0;
}

.candidate-history-item dl div {
    background: #ffffff;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    padding: 9px 10px;
}

.candidate-history-item dt {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.candidate-history-item dd {
    color: #102147;
    font-size: 13px;
    font-weight: 800;
    margin: 4px 0 0;
}

@media (max-width: 900px) {
    .candidate-detail-header {
        align-items: stretch;
        flex-direction: column;
    }

    .candidate-detail-grid,
    .candidate-detail-score-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-analytics-grid,
    .domain-ranking-row {
        grid-template-columns: 1fr;
    }

    .domain-ranking-row em {
        text-align: left;
    }
}

/* Keep assessment timer visible while candidates scroll through questions. */
body:has(.assessment-timer-header) {
    padding-top: 132px;
}

body:has(.assessment-timer-header)::before {
    content: "";
    position: fixed;
    inset: 0 0 auto 0;
    height: 148px;
    z-index: 2990;
    background: #f3f6fb;
    border-bottom: 1px solid #dfe7f3;
    pointer-events: none;
}

body.ignite-body:has(.assessment-timer-header) {
    padding-top: 0;
}

body.ignite-body:has(.assessment-timer-header)::before {
    height: 176px;
    background: linear-gradient(180deg, #eaf2fb 0%, #f3f6fb 78%, rgba(243, 246, 251, 0) 100%);
    z-index: 2990;
}

.clean-assessment {
    padding-top: 172px;
}

.ignite-body:has(.assessment-timer-header) {
    padding-top: 132px;
}

.assessment-timer-header {
    position: fixed;
    top: 12px;
    z-index: 3001;
    background: #ffffff;
    border: 1px solid #dfe7f3;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
    isolation: isolate;
}

.assessment-timer-header::before {
    content: none;
}

body:not(.ignite-body) .candidate-assessment-header {
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    width: min(calc(100vw - 24px), 1040px);
}

body:not(.ignite-body) .assessment-timer-header {
    left: clamp(232px, 17vw, 280px);
    right: clamp(12px, 2vw, 24px);
}

body.ignite-body .candidate-assessment-header.assessment-timer-header {
    left: 50%;
    right: auto;
    margin: 0;
    transform: translateX(-50%);
    width: min(calc(100vw - 32px), 1480px);
}

body.ignite-body .assessment-timer-header + .phase-nav,
body.ignite-body .assessment-timer-header + .phase-nav + .phase-note,
body.ignite-body .assessment-timer-header + .phase-note {
    margin-top: 0;
}

.assessment-timer-header + .phase-nav,
.assessment-timer-header + .phase-nav + .phase-note,
.assessment-timer-header + .phase-note,
.assessment-timer-header + .assessment-form {
    margin-top: 116px;
}

@media (max-width: 900px) {
    body:has(.assessment-timer-header) {
        padding-top: 176px;
    }

    body:has(.assessment-timer-header)::before {
        height: 190px;
    }

    body.ignite-body:has(.assessment-timer-header) {
        padding-top: 0;
    }

    body.ignite-body:has(.assessment-timer-header)::before {
        height: 214px;
    }

    .clean-assessment {
        padding-top: 206px;
    }

    .ignite-body:has(.assessment-timer-header) {
        padding-top: 176px;
    }

    body:not(.ignite-body) .candidate-assessment-header {
        align-items: stretch;
        top: 8px;
        width: calc(100vw - 16px);
    }

    .assessment-timer-header {
        left: 12px;
        right: 12px;
        top: 8px;
    }

    body.ignite-body .candidate-assessment-header.assessment-timer-header {
        left: 8px;
        right: 8px;
        transform: none;
        width: auto;
    }

    .assessment-timer-header::before {
        content: none;
    }

    .assessment-timer-header + .phase-nav,
    .assessment-timer-header + .phase-nav + .phase-note,
    .assessment-timer-header + .phase-note,
    .assessment-timer-header + .assessment-form {
        margin-top: 156px;
    }
}

/* Final Drive Command Center fit layer */
@media (min-width: 901px) {
    .drive-command-center {
        gap: 10px;
    }

    .drive-command-header {
        padding: 12px 14px !important;
    }

    .drive-command-header h2 {
        font-size: clamp(20px, 1.45vw, 28px);
    }

    .drive-command-status {
        gap: 9px;
    }

    .drive-command-status .button {
        min-height: 34px;
        padding: 8px 14px;
    }

    .drive-info-bar {
        gap: 8px !important;
        grid-template-columns: minmax(185px, 1.15fr) minmax(72px, 0.45fr) minmax(95px, 0.6fr) minmax(150px, 0.9fr) minmax(76px, 0.45fr) minmax(76px, 0.45fr) minmax(105px, 0.6fr) minmax(250px, auto) !important;
        padding: 10px 12px !important;
    }

    .drive-info-bar span,
    .drive-info-bar label,
    .drive-info-bar small {
        font-size: clamp(10px, 0.62vw, 12px);
    }

    .drive-info-bar strong {
        font-size: clamp(11px, 0.75vw, 14px);
    }

    .drive-selector {
        align-items: end;
    }

    .drive-selector select {
        min-height: 34px;
        width: min(100%, 190px);
    }

    .drive-actions {
        grid-column: auto !important;
        gap: 6px;
        justify-content: flex-end;
    }

    .drive-actions .button {
        min-height: 34px;
        padding: 8px 12px;
    }

    .drive-switchboard {
        gap: 8px;
    }

    .drive-switchboard a,
    .drive-switchboard button {
        flex-basis: clamp(190px, 17vw, 250px);
        min-height: 62px;
        padding: 10px;
    }

    .drive-kpi {
        min-height: 96px;
        padding: 12px !important;
    }

    .drive-kpi strong {
        font-size: clamp(21px, 1.65vw, 28px);
        margin: 5px 0;
    }
}

@media (min-width: 901px) and (max-width: 1280px) {
    .drive-info-bar {
        grid-template-columns: minmax(180px, 1.2fr) repeat(5, minmax(90px, 1fr)) !important;
    }

    .drive-actions {
        grid-column: 1 / -1 !important;
    }
}

/* Global viewport width containment
   Keeps Talent Ignite usable at 100% browser zoom like TalentIQ. */
@media (min-width: 901px) {
    :root {
        --ti-shell-sidebar: clamp(154px, 10.5vw, 188px);
        --ti-shell-gap: clamp(8px, 0.65vw, 12px);
    }

    html,
    body {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .app-shell {
        grid-template-columns: var(--ti-shell-sidebar) minmax(0, 1fr) !important;
        max-width: 100vw;
        min-width: 0;
        overflow: hidden;
        width: 100vw;
    }

    .sidebar {
        max-width: var(--ti-shell-sidebar);
        min-width: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .content-shell,
    main.page {
        max-width: calc(100vw - var(--ti-shell-sidebar));
        min-width: 0;
        overflow-x: hidden;
        width: 100%;
    }

    .content-shell > *,
    .page > *,
    .dashboard-main-area,
    .dashboard-shell-grid,
    .dashboard-panel-grid,
    .top-grid,
    .middle-grid,
    .product-dashboard,
    .product-dashboard-v2,
    .recruiter-dashboard,
    .recruiter-workspace-page,
    .recruiter-workspace,
    .drive-command-center,
    .ai-evaluation-center,
    .recruiter-workbench,
    .workbench-shell,
    .command-card,
    .dashboard-card,
    .product-card,
    .panel {
        max-width: 100%;
        min-width: 0;
    }

    .dashboard-table-wrap,
    .workbench-table-wrap,
    .ai-table-wrap,
    .table-card,
    .table-responsive,
    .operational-table,
    .qr-table-wrap,
    .candidate-table-wrap,
    .recruiter-table-wrap,
    .command-mini-table {
        max-width: 100%;
        overflow-x: auto;
    }

    .dashboard-table,
    .workbench-table,
    .ai-evaluation-table,
    .operational-table table,
    .candidate-table,
    .qr-table {
        width: max-content;
        max-width: none;
    }

    .dashboard-controls,
    .product-dashboard-controls,
    .recruiter-header-controls,
    .kanban-header-actions,
    .workbench-filters,
    .filter-row,
    .compact-filter {
        max-width: 100%;
        min-width: 0;
    }

    .dashboard-controls > *,
    .product-dashboard-controls > *,
    .recruiter-header-controls > *,
    .kanban-header-actions > *,
    .workbench-filters > *,
    .filter-row > *,
    .compact-filter > * {
        min-width: 0;
    }
}

@media (min-width: 901px) and (max-width: 1366px) {
    .content-shell,
    main.page {
        padding: var(--ti-shell-gap) !important;
    }

    .dashboard-table,
    .workbench-table,
    .ai-evaluation-table,
    .candidate-table,
    .qr-table {
        font-size: 11px;
    }
}

.manual-l2-card {
    display: grid;
    gap: 14px;
}

.manual-l2-summary p {
    margin: 6px 0 0;
}

.manual-l2-saved-text {
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    padding: 10px 12px;
}

.manual-l2-saved-text summary {
    color: #0056d6;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.manual-l2-saved-text pre {
    color: #0b1f39;
    font: inherit;
    margin: 10px 0 0;
    max-height: 240px;
    overflow: auto;
    white-space: pre-wrap;
}

.manual-l2-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.manual-l2-files > span,
.manual-l2-file-chip {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 999px;
    color: #0b1f39;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 8px;
    padding: 7px 10px;
}

.manual-l2-file-meta {
    display: grid;
    gap: 3px;
    max-width: 520px;
}

.manual-l2-file-chip a {
    color: #0b1f39;
    text-decoration: none;
}

.manual-l2-file-chip small {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    white-space: normal;
}

.manual-l2-file-chip form {
    margin: 0;
}

.manual-l2-file-chip button {
    background: #fee2e2;
    border: 1px solid #fecaca;
    border-radius: 999px;
    color: #b91c1c;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 8px;
}

.manual-l2-form {
    display: grid;
    gap: 12px;
}

.manual-l2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

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

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

.manual-l2-form label,
.manual-l2-answer-grid label {
    color: #334155;
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
}

.manual-l2-converted-text small {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.manual-l2-form input,
.manual-l2-form textarea {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    color: #0b1f39;
    font: inherit;
    min-height: 38px;
    padding: 8px 10px;
    width: 100%;
}

.manual-l2-form textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 900px) {
    .manual-l2-form-grid,
    .manual-l2-answer-grid {
        grid-template-columns: 1fr;
    }
}

.communication-page {
    display: grid;
    gap: 16px;
}

.communication-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.communication-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.communication-card {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    padding: 18px;
}

.communication-card h3 {
    color: #061f49;
    font-size: 18px;
    margin: 0 0 12px;
}

.communication-card p {
    color: #52647d;
    margin: 4px 0 0;
}

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

.communication-form label {
    color: #334155;
    display: grid;
    font-size: 12px;
    font-weight: 900;
    gap: 6px;
}

.communication-form input,
.communication-form select,
.communication-form textarea,
.communication-filter-form input,
.communication-filter-form select {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    color: #0b1f39;
    font: inherit;
    min-height: 40px;
    padding: 9px 10px;
    width: 100%;
}

.communication-form textarea {
    min-height: 110px;
    resize: vertical;
}

.communication-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(220px, 1fr);
}

.communication-token-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.communication-token-row button {
    background: #edf5ff;
    border: 1px solid #cfe1ff;
    border-radius: 999px;
    color: #0056d6;
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    padding: 6px 9px;
}

.communication-submit {
    justify-self: start;
}

.checkbox-row {
    align-items: center;
    display: flex !important;
    gap: 8px !important;
}

.checkbox-row input {
    min-height: auto;
    width: auto;
}

.communication-filter-form {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(240px, 1fr) 180px auto;
}

.communication-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: auto;
}

.communication-table {
    border-collapse: collapse;
    color: #0b1f39;
    min-width: 940px;
    width: 100%;
}

.communication-table th,
.communication-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 11px 12px;
    text-align: left;
    vertical-align: middle;
}

.communication-table th {
    background: #f7faff;
    color: #51627a;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.communication-table td strong,
.communication-table td small {
    display: block;
}

.communication-table td small {
    color: #64748b;
    margin-top: 3px;
}

.communication-table a {
    color: #0056d6;
    font-weight: 900;
    text-decoration: none;
}

.communication-template-list,
.communication-log-list {
    display: grid;
    gap: 10px;
}

.communication-template-list > div,
.communication-log-row {
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.communication-template-list span,
.communication-log-row span {
    color: #334155;
    font-weight: 800;
}

.communication-template-list small,
.communication-log-row small {
    color: #64748b;
    font-weight: 700;
}

.communication-log-row.failed {
    background: #fff5f5;
    border-color: #fecaca;
}

.communication-log-row.failed small {
    color: #b91c1c;
}

.communication-sender-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.communication-sender-list {
    display: grid;
    gap: 10px;
}

.communication-sender-row {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px;
}

.communication-sender-row strong,
.communication-sender-row span,
.communication-sender-row small {
    display: block;
}

.communication-sender-row span {
    color: #334155;
    font-weight: 800;
    margin-top: 3px;
}

.communication-sender-row small {
    color: #64748b;
    font-weight: 700;
    margin-top: 3px;
}

.communication-sender-actions {
    display: grid;
    gap: 8px;
    justify-items: end;
}

.communication-inline-test {
    display: flex;
    gap: 8px;
}

.communication-delete-sender {
    margin: 0;
}

.danger-button {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
}

.communication-inline-test input {
    border: 1px solid #cfdbea;
    border-radius: 8px;
    min-height: 36px;
    padding: 7px 9px;
}

.communication-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #c2410c;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

.communication-error {
    color: #b91c1c !important;
}

.communication-mailto-card {
    border-color: #bfdbfe;
}

.communication-mailto-list {
    display: grid;
    gap: 10px;
}

.communication-mailto-row {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 12px;
}

.communication-mailto-row strong,
.communication-mailto-row span,
.communication-mailto-row small {
    display: block;
}

.communication-mailto-row span {
    color: #334155;
    font-weight: 800;
    margin-top: 3px;
}

.communication-warning-text {
    color: #c2410c;
    font-weight: 800;
    margin-top: 4px;
}

.communication-local-note {
    background: #eef6ff;
    border: 1px solid #cfe1ff;
    border-radius: 999px;
    color: #0056d6;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

.form-errors {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 800;
    padding: 10px 12px;
}

@media (max-width: 1180px) {
    .communication-grid,
    .communication-form-grid {
        grid-template-columns: 1fr;
    }

    .communication-filter-form {
        grid-template-columns: 1fr;
    }

    .communication-sender-grid,
    .communication-sender-row,
    .communication-mailto-row {
        grid-template-columns: 1fr;
    }

    .communication-sender-actions {
        justify-items: stretch;
    }

    .communication-inline-test {
        flex-wrap: wrap;
    }
}

/* TalentIQ-inspired grouped sidebar */
@media (min-width: 901px) {
    :root {
        --ti-shell-sidebar: clamp(216px, 12.8vw, 252px);
    }

    .app-shell {
        grid-template-columns: var(--ti-shell-sidebar) minmax(0, 1fr) !important;
    }

    .content-shell,
    main.page {
        max-width: calc(100vw - var(--ti-shell-sidebar));
    }
}

.ti-sidebar {
    background: #1f2a3a !important;
    gap: 0 !important;
    padding: 0 !important;
}

.sidebar-logo-zone {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    gap: 7px;
    padding: 14px 14px 12px;
}

.sidebar-logo-frame {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    display: flex;
    justify-content: flex-start;
    min-height: 58px;
    overflow: hidden;
    padding: 8px;
}

.sidebar-logo-frame img {
    display: block;
    height: auto;
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
}

.sidebar-logo-zone small {
    color: #8da1ba;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.25;
}

.ti-brand-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
    gap: 9px !important;
    padding: 12px 14px !important;
}

.ti-brand-block .brand-mark {
    border-radius: 10px;
    height: 38px;
    min-width: 38px;
    width: 38px;
}

.ti-brand-block h1 {
    font-size: 18px;
}

.ti-brand-block p {
    font-size: 11.5px;
}

.grouped-side-nav {
    display: flex !important;
    flex: 1;
    flex-direction: column;
    gap: 6px !important;
    overflow-y: auto;
    padding: 12px 14px !important;
}

.nav-group {
    border-radius: 8px;
    color: #ffffff;
}

.nav-group summary {
    align-items: center;
    border-radius: 8px;
    color: #f8fbff;
    cursor: pointer;
    display: grid;
    font-size: 13.5px;
    font-weight: 700;
    gap: 9px;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    list-style: none;
    min-height: 40px;
    padding: 8px 10px;
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group summary::after {
    color: #d5deea;
    content: "v";
    font-size: 11px;
    font-weight: 800;
    transition: transform 0.18s ease;
}

.nav-group[open] summary {
    background: rgba(255, 255, 255, 0.09);
}

.nav-group[open] summary::after {
    transform: rotate(180deg);
}

.nav-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    color: #d9e7ff;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.grouped-side-nav a {
    background: transparent !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: #e7edf6 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 3px 0 0 33px;
    min-height: 35px;
    overflow: hidden;
    padding: 8px 10px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grouped-side-nav a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.grouped-side-nav a.active {
    background: rgba(255, 255, 255, 0.10) !important;
    border-left: 2px solid #5aa8ff;
    color: #ffffff !important;
    padding-left: 9px !important;
}

.grouped-side-nav .ignite-nav:not(.active) {
    background: #e58b26 !important;
    color: #ffffff !important;
}

.ti-sidebar .sidebar-footer {
    background: rgba(15, 23, 42, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    margin: auto 14px 14px !important;
    padding: 11px !important;
}

.ti-sidebar .sidebar-footer a {
    background: transparent !important;
    color: #edf4ff !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    padding: 7px 6px !important;
}

.ti-sidebar .sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.sidebar-account-links {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 2px;
    margin: 8px 0 4px;
    padding: 5px 0;
}

@media (max-width: 900px) {
    .sidebar-logo-zone {
        padding: 14px;
    }

    .sidebar-logo-frame {
        min-height: 58px;
    }

    .sidebar-logo-frame img {
        max-height: 46px;
    }

    .grouped-side-nav {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        padding: 12px !important;
    }

    .grouped-side-nav a {
        margin-left: 0;
    }

    .ti-sidebar .sidebar-footer {
        display: block;
        margin: 0 12px 12px !important;
    }
}

/* Recruiter dashboard density refresh */
.sidebar-logo-frame {
    display: grid;
    gap: 10px;
    grid-template-columns: 70px minmax(0, 1fr);
}

.sidebar-logo-frame img {
    max-height: 44px;
    max-width: 70px;
}

.sidebar-logo-copy h1 {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.1;
    margin: 0;
}

.sidebar-logo-copy p {
    color: #a9bdd2;
    font-size: 11px;
    margin: 3px 0 0;
}

.recruiter-dashboard {
    gap: 10px;
}

.recruiter-dashboard-header {
    align-items: flex-start;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr);
}

.recruiter-dashboard-header h2 {
    font-size: 22px;
}

.recruiter-dashboard-header p {
    font-size: 13px;
}

.dashboard-refresh-stamp {
    grid-column: 1 / -1;
}

.recruiter-header-controls {
    gap: 8px;
}

.recruiter-header-controls select,
.recruiter-header-controls input {
    min-height: 34px;
}

.recruiter-header-controls .ghost-button,
.recruiter-header-controls button {
    min-height: 34px;
    padding: 7px 12px;
}

.icon-button {
    height: 34px;
    width: 34px;
}

.kpi-row {
    gap: 9px;
    grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
}

.kpi-card {
    align-items: start;
    border-radius: 8px;
    border-top: 3px solid #dbeafe;
    display: block;
    min-height: 76px;
    padding: 10px 12px;
}

.kpi-card span {
    font-size: 11.5px;
    line-height: 1.2;
}

.kpi-card strong {
    font-size: 22px;
    margin: 4px 0 2px;
}

.kpi-card small {
    font-size: 11px;
    line-height: 1.2;
}

.kpi-card em {
    display: inline;
}

.kpi-green { border-top-color: #22c55e; }
.kpi-blue { border-top-color: #2563eb; }
.kpi-purple { border-top-color: #7c3aed; }
.kpi-orange { border-top-color: #f59e0b; }
.kpi-red { border-top-color: #ef4444; }
.kpi-teal { border-top-color: #14b8a6; }
.kpi-slate { border-top-color: #64748b; }

.dashboard-grid {
    gap: 10px;
}

.top-grid {
    grid-template-columns: minmax(360px, 0.88fr) minmax(460px, 1.12fr);
}

.middle-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(390px, 1.15fr) minmax(280px, 0.85fr);
}

.dashboard-analytics-grid {
    grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
}

.dashboard-card {
    border-radius: 8px;
    padding: 12px;
}

.dashboard-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.card-title-line small {
    color: #64748b;
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.funnel-content {
    display: block;
}

.pipeline-progress-chart {
    gap: 8px;
    min-height: 0;
}

.pipeline-progress-row {
    gap: 9px;
    grid-template-columns: minmax(120px, 1.1fr) minmax(80px, 1fr) 54px 42px;
}

.pipeline-progress-row span {
    font-size: 12px;
}

.pipeline-progress-row div {
    height: 10px;
}

.pipeline-progress-row b:not([class]) {
    color: #102147;
    font-size: 12px;
    font-weight: 900;
    text-align: right;
}

.trend-summary-strip {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 10px 0 8px;
}

.trend-summary-strip div {
    background: #f8fbff;
    border: 1px solid #e5eaf2;
    border-radius: 8px;
    padding: 8px;
}

.trend-summary-strip span,
.trend-summary-strip small {
    color: #64748b;
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trend-summary-strip strong {
    color: #102147;
    display: block;
    font-size: 18px;
    margin: 3px 0;
}

.trend-legend-bar {
    gap: 10px;
    justify-content: flex-start;
    margin: 6px 0;
}

.trend-svg {
    height: 160px;
}

.trend-svg polyline {
    stroke-width: 3;
}

.skill-layout {
    gap: 14px;
    grid-template-columns: 128px minmax(0, 1fr);
}

.skill-donut {
    box-shadow: inset 0 0 0 1px #e5eaf2;
    height: 128px;
    width: 128px;
}

.skill-donut span {
    font-size: 11px;
}

.skill-donut strong {
    font-size: 20px;
}

.skill-list {
    gap: 7px;
}

.skill-list div {
    gap: 8px;
}

.skill-list b small {
    color: #64748b;
    font-size: 10px;
    margin-left: 4px;
}

.recommended-card .card-title-line,
.trend-card .card-title-line {
    align-items: start;
}

.compact-filter-form select {
    min-height: 32px;
    width: 130px;
}

.recommended-list {
    gap: 7px;
}

.recommended-list a {
    border-radius: 8px;
    grid-template-columns: minmax(0, 1fr) 92px 58px;
    padding: 8px 9px;
}

.recommended-list .mini-avatar {
    display: none;
}

.recommended-list b {
    border-radius: 7px;
    font-size: 12px;
    padding: 5px 6px;
}

.insight-list {
    gap: 8px;
}

.insight-list div {
    border-radius: 8px;
    padding: 8px 10px;
}

.insight-list span,
.insight-list small {
    font-size: 11px;
}

.status-bucket-list,
.domain-ranking-list {
    gap: 7px;
}

.status-bucket-row,
.domain-ranking-row {
    border-radius: 8px;
    min-height: 42px;
    padding: 8px 10px;
}

.status-bucket-row span,
.domain-ranking-row strong {
    font-size: 12.5px;
}

.status-bucket-row b,
.domain-ranking-row span {
    font-size: 17px;
}

.domain-ranking-row {
    grid-template-columns: minmax(0, 1fr) 68px 98px;
}

.domain-ranking-row span {
    padding: 5px 7px;
}

.latest-card {
    padding: 12px;
}

.dashboard-table {
    table-layout: fixed;
}

.dashboard-table th,
.dashboard-table td {
    font-size: 11.5px;
    overflow: hidden;
    padding: 8px 10px;
    text-overflow: ellipsis;
}

.dashboard-table th:nth-child(1),
.dashboard-table td:nth-child(1) { width: 105px; }
.dashboard-table th:nth-child(2),
.dashboard-table td:nth-child(2) { width: 120px; }
.dashboard-table th:nth-child(4),
.dashboard-table td:nth-child(4) { width: 120px; }
.dashboard-table th:nth-child(5),
.dashboard-table td:nth-child(5) { width: 70px; }
.dashboard-table th:nth-child(6),
.dashboard-table td:nth-child(6) { width: 80px; }
.dashboard-table th:nth-child(7),
.dashboard-table td:nth-child(7) { width: 150px; }
.dashboard-table th:nth-child(8),
.dashboard-table td:nth-child(8) { width: 145px; }
.dashboard-table th:nth-child(9),
.dashboard-table td:nth-child(9) { width: 110px; }

@media (max-width: 1280px) {
    .top-grid,
    .middle-grid,
    .dashboard-analytics-grid {
        grid-template-columns: 1fr;
    }

    .trend-summary-strip {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

/* Dashboard grid alignment pass */
@media (min-width: 1181px) {
    .kpi-row {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.kpi-row,
.top-grid,
.middle-grid,
.dashboard-analytics-grid {
    align-items: stretch;
}

.kpi-card,
.dashboard-card {
    height: 100%;
}

.kpi-card {
    min-height: 68px;
    padding: 8px 10px;
}

.kpi-card span {
    min-height: 24px;
}

.kpi-card strong {
    font-size: 20px;
}

.kpi-card small {
    display: block;
    min-height: 14px;
}

.top-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.top-grid .dashboard-card {
    min-height: 220px;
}

.middle-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.skill-card,
.recommended-card {
    min-height: 170px;
}

.insights-card {
    grid-column: 1 / -1;
    min-height: auto;
}

.insights-card .insight-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insights-card .insight-list div {
    min-height: 58px;
}

.dashboard-analytics-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.final-status-card,
.domain-ranking-card {
    min-height: 245px;
}

.final-status-card .status-bucket-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.final-status-card .status-bucket-row {
    min-height: 48px;
}

.domain-ranking-row {
    min-height: 36px;
}

.domain-ranking-row strong,
.domain-ranking-row small {
    line-height: 1.2;
}

.latest-card {
    min-height: auto;
}

.latest-card .card-title-line {
    margin-bottom: 6px;
}

.dashboard-table-wrap {
    width: 100%;
}

.dashboard-table {
    min-width: 100%;
}

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

    .top-grid,
    .middle-grid,
    .dashboard-analytics-grid {
        grid-template-columns: 1fr;
    }

    .insights-card .insight-list,
    .final-status-card .status-bucket-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .kpi-row,
    .insights-card .insight-list,
    .final-status-card .status-bucket-list {
        grid-template-columns: 1fr;
    }
}

/* Draggable dashboard workspace */
.dashboard-sortable-grid {
    align-items: stretch;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-draggable-card {
    cursor: default;
    transition:
        box-shadow 0.16s ease,
        opacity 0.16s ease,
        transform 0.16s ease;
    user-select: text;
}

.dashboard-draggable-card:active {
    cursor: default;
}

.dashboard-draggable-card.dragging {
    box-shadow: 0 16px 34px rgba(16, 33, 71, 0.18);
    cursor: grabbing;
    opacity: 0.72;
    transform: scale(0.99);
    user-select: none;
}

.drag-card-title {
    align-items: start;
    margin-bottom: 8px;
}

.drag-card-title h3 {
    margin-bottom: 0;
}

.drag-card-handle {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #d7e6fb;
    border-radius: 10px;
    color: #1d4ed8;
    cursor: grab;
    display: inline-flex;
    font-size: 18px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    letter-spacing: -5px;
    line-height: 1;
    min-height: 28px;
    padding: 0;
    user-select: none;
    white-space: nowrap;
    width: 32px;
}

.dashboard-sortable-grid .trend-card,
.dashboard-sortable-grid .recommended-card {
    min-height: 225px;
}

.dashboard-sortable-grid .funnel-card,
.dashboard-sortable-grid .skill-card,
.dashboard-sortable-grid .insights-card,
.dashboard-sortable-grid .final-status-card {
    min-height: 180px;
}

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

.dashboard-sortable-grid .final-status-card .status-bucket-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.domain-ranking-card {
    display: none;
}

@media (min-width: 1500px) {
    .dashboard-sortable-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-sortable-grid .trend-card,
    .dashboard-sortable-grid .recommended-card {
        grid-column: span 2;
    }
}

@media (max-width: 1180px) {
    .dashboard-sortable-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sortable-grid .trend-card,
    .dashboard-sortable-grid .recommended-card {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .dashboard-sortable-grid .insights-card .insight-list,
    .dashboard-sortable-grid .final-status-card .status-bucket-list {
        grid-template-columns: 1fr;
    }
}

/* Talent Ignite Dashboard V1 - TailAdmin-inspired preview */
.tailadmin-dashboard-v1 {
    --v1-bg: #f5f7fb;
    --v1-card: #ffffff;
    --v1-border: #e5eaf2;
    --v1-text: #0f172a;
    --v1-muted: #64748b;
    --v1-primary: #2563eb;
    --v1-success: #16a34a;
    --v1-warning: #f59e0b;
    --v1-danger: #ef4444;
    gap: 14px;
    max-width: none;
    padding: 0;
}

.tailadmin-dashboard-v1 .recruiter-dashboard-header {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08)),
        var(--v1-card);
    border: 1px solid var(--v1-border);
    border-radius: 14px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
    gap: 12px;
    grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1fr);
    padding: 16px 18px;
}

.tailadmin-dashboard-v1 .dashboard-eyebrow {
    color: var(--v1-primary);
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.tailadmin-dashboard-v1 .recruiter-dashboard-header h2 {
    color: var(--v1-text);
    font-size: 24px;
    line-height: 1.15;
    margin: 0;
}

.tailadmin-dashboard-v1 .recruiter-dashboard-header p {
    color: var(--v1-muted);
    font-size: 13px;
    margin-top: 5px;
}

.tailadmin-dashboard-v1 .recruiter-header-controls {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns:
        minmax(190px, 1.1fr)
        minmax(180px, 1fr)
        minmax(145px, 0.75fr)
        minmax(145px, 0.75fr)
        auto
        auto
        38px
        38px;
}

.tailadmin-dashboard-v1 .recruiter-header-controls input,
.tailadmin-dashboard-v1 .recruiter-header-controls select {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 10px;
    color: var(--v1-text);
    font-size: 12px;
    min-height: 38px;
    padding: 8px 12px;
}

.tailadmin-dashboard-v1 .recruiter-header-controls button,
.tailadmin-dashboard-v1 .recruiter-header-controls .button {
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
    min-height: 38px;
    padding: 8px 13px;
}

.tailadmin-dashboard-v1 .icon-button {
    border-radius: 10px;
    height: 38px;
    width: 38px;
}

.tailadmin-dashboard-v1 .dashboard-refresh-stamp {
    color: var(--v1-muted);
    font-size: 11.5px;
    font-weight: 800;
}

.tailadmin-dashboard-v1 .kpi-row {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.tailadmin-dashboard-v1 .kpi-card {
    background: var(--v1-card);
    border: 1px solid var(--v1-border);
    border-radius: 12px;
    border-top: 3px solid #dbeafe;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    min-height: 92px;
    padding: 13px 14px;
}

.tailadmin-dashboard-v1 .kpi-card span {
    color: #334155;
    display: block;
    font-size: 11.5px;
    font-weight: 900;
    line-height: 1.25;
    min-height: 28px;
}

.tailadmin-dashboard-v1 .kpi-card strong {
    color: var(--v1-text);
    display: block;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1;
    margin: 6px 0 4px;
}

.tailadmin-dashboard-v1 .kpi-card small {
    color: var(--v1-success);
    display: block;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
}

.tailadmin-dashboard-v1 .dashboard-sortable-grid {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.tailadmin-dashboard-v1 .dashboard-card {
    background: var(--v1-card);
    border: 1px solid var(--v1-border);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    padding: 14px;
}

.tailadmin-dashboard-v1 .dashboard-card h3 {
    color: var(--v1-text);
    font-size: 16px;
    line-height: 1.2;
    margin: 0;
}

.tailadmin-dashboard-v1 .card-title-line {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin: -2px -2px 12px;
    padding: 0 0 10px;
}

.tailadmin-dashboard-v1 .card-title-line small {
    color: var(--v1-muted);
    font-size: 11px;
    font-weight: 800;
}

.tailadmin-dashboard-v1 .drag-card-handle {
    background: #f1f5f9;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    color: #2563eb;
    cursor: grab;
    font-size: 18px;
    height: 28px;
    justify-content: center;
    letter-spacing: -5px;
    line-height: 1;
    min-height: 28px;
    padding: 0;
    user-select: none;
    width: 32px;
}

.tailadmin-dashboard-v1 .funnel-card {
    grid-column: span 5;
    min-height: 250px;
}

.tailadmin-dashboard-v1 .trend-card {
    grid-column: span 7;
    min-height: 250px;
}

.tailadmin-dashboard-v1 .skill-card,
.tailadmin-dashboard-v1 .recommended-card,
.tailadmin-dashboard-v1 .insights-card,
.tailadmin-dashboard-v1 .final-status-card {
    grid-column: span 6;
    min-height: 245px;
}

.tailadmin-dashboard-v1 .pipeline-progress-chart {
    gap: 10px;
}

.tailadmin-dashboard-v1 .pipeline-progress-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(105px, 0.8fr) minmax(120px, 1fr) 52px 44px;
}

.tailadmin-dashboard-v1 .pipeline-progress-row span {
    color: var(--v1-text);
    font-size: 12px;
    font-weight: 900;
}

.tailadmin-dashboard-v1 .pipeline-progress-row div {
    background: #eef2f7;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.tailadmin-dashboard-v1 .pipeline-progress-row div b {
    border-radius: inherit;
    display: block;
    height: 100%;
}

.tailadmin-dashboard-v1 .pipeline-progress-row > b,
.tailadmin-dashboard-v1 .pipeline-progress-row strong {
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    text-align: right;
}

.tailadmin-dashboard-v1 .trend-summary-strip {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 4px 0 10px;
}

.tailadmin-dashboard-v1 .trend-summary-strip div,
.tailadmin-dashboard-v1 .insight-list div,
.tailadmin-dashboard-v1 .status-bucket-row {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
}

.tailadmin-dashboard-v1 .trend-summary-strip div {
    min-height: 62px;
    padding: 9px 10px;
}

.tailadmin-dashboard-v1 .trend-summary-strip span,
.tailadmin-dashboard-v1 .trend-summary-strip small {
    color: var(--v1-muted);
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tailadmin-dashboard-v1 .trend-summary-strip strong {
    color: var(--v1-text);
    display: block;
    font-size: 20px;
    line-height: 1;
    margin: 5px 0;
}

.tailadmin-dashboard-v1 .trend-legend-bar {
    gap: 12px;
    justify-content: flex-start;
    margin: 8px 0 2px;
}

.tailadmin-dashboard-v1 .trend-legend-bar span {
    color: #334155;
    font-size: 11px;
    font-weight: 900;
}

.tailadmin-dashboard-v1 .trend-svg {
    height: 145px;
    margin-top: 2px;
}

.tailadmin-dashboard-v1 .trend-svg line {
    stroke: #e2e8f0;
}

.tailadmin-dashboard-v1 .trend-svg polyline {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.tailadmin-dashboard-v1 .skill-layout {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 128px minmax(0, 1fr);
}

.tailadmin-dashboard-v1 .skill-donut {
    background: conic-gradient(var(--skill-gradient));
    border-radius: 50%;
    display: grid;
    height: 128px;
    place-items: center;
    position: relative;
    width: 128px;
}

.tailadmin-dashboard-v1 .skill-donut::after {
    background: #ffffff;
    border-radius: 50%;
    content: "";
    height: 76px;
    position: absolute;
    width: 76px;
}

.tailadmin-dashboard-v1 .skill-donut span,
.tailadmin-dashboard-v1 .skill-donut strong {
    position: relative;
    z-index: 1;
}

.tailadmin-dashboard-v1 .skill-donut span {
    align-self: end;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

.tailadmin-dashboard-v1 .skill-donut strong {
    align-self: start;
    color: var(--v1-text);
    font-size: 22px;
}

.tailadmin-dashboard-v1 .skill-list {
    display: grid;
    gap: 8px;
}

.tailadmin-dashboard-v1 .skill-list div {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.tailadmin-dashboard-v1 .skill-list span {
    align-items: center;
    color: #334155;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
    min-width: 0;
}

.tailadmin-dashboard-v1 .skill-list i {
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 auto;
    height: 9px;
    width: 9px;
}

.tailadmin-dashboard-v1 .skill-list b {
    color: var(--v1-text);
    font-size: 12px;
}

.tailadmin-dashboard-v1 .recommended-list {
    display: grid;
    gap: 9px;
}

.tailadmin-dashboard-v1 .recommended-list a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr) minmax(70px, auto) 64px;
    padding: 9px 10px;
    text-decoration: none;
}

.tailadmin-dashboard-v1 .recommended-list .mini-avatar {
    align-items: center;
    background: #eaf2ff;
    border-radius: 50%;
    color: var(--v1-primary);
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.tailadmin-dashboard-v1 .recommended-list strong {
    color: var(--v1-text);
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.tailadmin-dashboard-v1 .recommended-list small {
    color: var(--v1-muted);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tailadmin-dashboard-v1 .recommended-list em {
    color: #475569;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tailadmin-dashboard-v1 .recommended-list b {
    background: #dcfce7;
    border-radius: 8px;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 7px;
    text-align: center;
}

.tailadmin-dashboard-v1 .compact-filter-form select,
.tailadmin-dashboard-v1 .trend-card form select {
    border: 1px solid #d8e2f0;
    border-radius: 10px;
    color: var(--v1-text);
    font-size: 12px;
    min-height: 34px;
    padding: 7px 10px;
}

.tailadmin-dashboard-v1 .insight-list,
.tailadmin-dashboard-v1 .status-bucket-list {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tailadmin-dashboard-v1 .insight-list div,
.tailadmin-dashboard-v1 .status-bucket-row {
    min-height: 64px;
    padding: 11px 12px;
}

.tailadmin-dashboard-v1 .insight-list span,
.tailadmin-dashboard-v1 .status-bucket-row span {
    color: var(--v1-muted);
    display: block;
    font-size: 11px;
    font-weight: 900;
}

.tailadmin-dashboard-v1 .insight-list strong,
.tailadmin-dashboard-v1 .status-bucket-row b {
    color: var(--v1-text);
    display: block;
    font-size: 19px;
    line-height: 1.1;
    margin-top: 6px;
}

.tailadmin-dashboard-v1 .insight-list small,
.tailadmin-dashboard-v1 .status-bucket-row small {
    color: var(--v1-success);
    display: block;
    font-size: 10.5px;
    font-weight: 900;
    margin-top: 4px;
}

.tailadmin-dashboard-v1 .latest-card {
    border-radius: 14px;
    margin-top: 2px;
    padding: 14px;
}

.tailadmin-dashboard-v1 .dashboard-table {
    table-layout: fixed;
}

.tailadmin-dashboard-v1 .dashboard-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.tailadmin-dashboard-v1 .dashboard-table th,
.tailadmin-dashboard-v1 .dashboard-table td {
    border-bottom: 1px solid #e5eaf2;
    font-size: 11.5px;
    overflow: hidden;
    padding: 9px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tailadmin-dashboard-v1 .dash-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 10.5px;
    font-weight: 900;
    padding: 5px 8px;
}

.tailadmin-dashboard-v1 .dash-actions {
    display: flex;
    gap: 5px;
}

.tailadmin-dashboard-v1 .dash-actions a {
    align-items: center;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    color: var(--v1-primary);
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    text-decoration: none;
    width: 28px;
}

@media (max-width: 1400px) {
    .tailadmin-dashboard-v1 .kpi-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tailadmin-dashboard-v1 .funnel-card,
    .tailadmin-dashboard-v1 .trend-card,
    .tailadmin-dashboard-v1 .skill-card,
    .tailadmin-dashboard-v1 .recommended-card,
    .tailadmin-dashboard-v1 .insights-card,
    .tailadmin-dashboard-v1 .final-status-card {
        grid-column: span 6;
    }
}

@media (max-width: 1100px) {
    .tailadmin-dashboard-v1 .recruiter-dashboard-header,
    .tailadmin-dashboard-v1 .recruiter-header-controls {
        grid-template-columns: 1fr;
    }

    .tailadmin-dashboard-v1 .dashboard-sortable-grid {
        grid-template-columns: 1fr;
    }

    .tailadmin-dashboard-v1 .funnel-card,
    .tailadmin-dashboard-v1 .trend-card,
    .tailadmin-dashboard-v1 .skill-card,
    .tailadmin-dashboard-v1 .recommended-card,
    .tailadmin-dashboard-v1 .insights-card,
    .tailadmin-dashboard-v1 .final-status-card {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .tailadmin-dashboard-v1 .kpi-row,
    .tailadmin-dashboard-v1 .trend-summary-strip,
    .tailadmin-dashboard-v1 .skill-layout,
    .tailadmin-dashboard-v1 .insight-list,
    .tailadmin-dashboard-v1 .status-bucket-list {
        grid-template-columns: 1fr;
    }

    .tailadmin-dashboard-v1 .recommended-list a {
        grid-template-columns: 34px minmax(0, 1fr) 56px;
    }

    .tailadmin-dashboard-v1 .recommended-list em {
        display: none;
    }
}

/* Talent Ignite Design System V1 - translated from TalentIQ */
:root {
    --tiq-surface: #f8f9fb;
    --tiq-surface-dark: #1e293b;
    --tiq-surface-subtle: #f0f2f5;
    --tiq-content: #1f2937;
    --tiq-content-secondary: #6b7280;
    --tiq-content-muted: #a0aec0;
    --tiq-content-inverse: #ffffff;
    --tiq-primary: #334155;
    --tiq-primary-light: #475569;
    --tiq-border: #e5e7eb;
    --tiq-border-medium: #d1d5db;
    --tiq-blue: #4299e1;
    --tiq-purple: #9f7aea;
    --tiq-green: #34d399;
    --tiq-gold: #f59e0b;
    --tiq-pink: #ec4899;
    --tiq-orange: #d97706;
    --tiq-radius: 12px;
    --tiq-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
}

body {
    background: var(--tiq-surface);
    color: var(--tiq-content);
    font-family: Poppins, Inter, Arial, sans-serif;
    font-size: 13px;
}

.app-shell {
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
    overflow: hidden;
}

.content-shell {
    background: var(--tiq-surface);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.ti-sidebar {
    background: var(--tiq-surface-dark);
    gap: 14px;
    min-height: 100vh;
    overflow: hidden;
    padding: 12px;
}

.sidebar-logo-zone {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding-bottom: 10px;
}

.sidebar-logo-frame {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    display: flex;
    gap: 10px;
    min-height: 58px;
    padding: 8px;
}

.sidebar-logo-frame img {
    border-radius: 6px;
    height: 42px;
    object-fit: contain;
    width: 58px;
}

.sidebar-logo-copy {
    min-width: 0;
}

.sidebar-logo-copy h1 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
}

.sidebar-logo-copy p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    font-weight: 500;
    margin: 3px 0 0;
}

.grouped-side-nav {
    flex: 1;
    gap: 4px;
    min-height: 0;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: none;
}

.grouped-side-nav::-webkit-scrollbar {
    display: none;
}

.nav-group {
    margin: 0;
}

.nav-group summary {
    align-items: center;
    background: transparent;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 10px;
    list-style: none;
    min-height: 38px;
    padding: 8px 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-group summary::-webkit-details-marker {
    display: none;
}

.nav-group summary::after {
    color: rgba(255, 255, 255, 0.78);
    content: "⌄";
    font-size: 13px;
    margin-left: auto;
    transition: transform 0.15s ease;
}

.nav-group[open] summary {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.nav-group[open] summary::after {
    transform: rotate(180deg);
}

.nav-icon {
    align-items: center;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    color: #dbeafe;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.side-nav a,
.sidebar-footer a {
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
    min-height: 34px;
    padding: 8px 10px 8px 42px;
}

.side-nav a:hover,
.sidebar-footer a:hover,
.side-nav a.active {
    background: rgba(255, 255, 255, 0.10);
    box-shadow: none;
    color: #ffffff;
}

.side-nav a.active {
    box-shadow: inset 3px 0 0 #60a5fa;
}

.side-nav .ignite-nav {
    margin-top: 4px;
}

.side-nav .ignite-nav:not(.active),
.side-nav .ignite-nav.active {
    background: #e8891d;
    box-shadow: none;
    color: #ffffff;
    padding-left: 12px;
}

.sidebar-footer {
    background: rgba(15, 23, 42, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    padding: 12px;
}

.sidebar-user-avatar {
    background: #eaf2ff;
    color: #2563eb;
    font-size: 15px;
    height: 34px;
    margin-bottom: 8px;
    width: 34px;
}

.sidebar-footer strong {
    font-size: 12px;
    margin-bottom: 5px;
}

.sidebar-footer span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 10.5px;
}

.sidebar-account-links {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    margin-top: 8px;
    padding-top: 6px;
}

.sidebar-footer a {
    padding-left: 10px;
}

.ti-v1-dashboard {
    --card: #ffffff;
    --border: var(--tiq-border);
    --text: #0f172a;
    --muted: #64748b;
    --soft: #f8fafc;
    --soft-border: #e5eaf2;
    display: grid;
    gap: 14px;
    margin: 0 auto;
    max-width: 1580px;
    padding: clamp(14px, 1.4vw, 24px);
}

body.dashboard-v1-dark-mode .dashboard-v1-shell {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.14), transparent 30%),
        #0f172a;
}

.ti-v1-dashboard[data-theme="dark"] {
    --card: #111c2f;
    --border: rgba(148, 163, 184, 0.24);
    --text: #e5eefb;
    --muted: #94a3b8;
    --soft: rgba(15, 23, 42, 0.72);
    --soft-border: rgba(148, 163, 184, 0.20);
    color: var(--text);
}

.ti-v1-hero,
.ti-v1-panel,
.ti-v1-kpi {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--tiq-radius);
    box-shadow: var(--tiq-shadow);
}

.ti-v1-hero {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(66, 153, 225, 0.08), rgba(52, 211, 153, 0.08)),
        rgba(255, 255, 255, 0.92);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.65fr);
    padding: 16px 18px;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-hero {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(20, 184, 166, 0.16)),
        rgba(17, 28, 47, 0.94);
}

.ti-v1-title span {
    color: #2563eb;
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ti-v1-title h2 {
    color: var(--text);
    font-size: 24px;
    line-height: 1.1;
    margin: 0;
}

.ti-v1-title p {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0 10px;
}

.ti-v1-title small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.ti-v1-filters {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(170px, 1.1fr) minmax(165px, 1fr) minmax(150px, 0.8fr) auto auto 36px 36px auto;
}

.ti-v1-filters input,
.ti-v1-filters select,
.ti-v1-mini-form select {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 9px;
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    min-height: 36px;
    padding: 7px 10px;
    width: 100%;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-filters input,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-filters select,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-mini-form select,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-trigger,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-panel input {
    background: #0b1220;
    border-color: rgba(148, 163, 184, 0.30);
    color: var(--text);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-filters input::placeholder {
    color: #64748b;
}

.ti-v1-filters button,
.ti-v1-secondary-action,
.ti-v1-icon-action {
    align-items: center;
    border-radius: 9px;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.ti-v1-secondary-action {
    background: #ffffff;
    border: 1px solid #cfe0f5;
    color: #1559c7;
}

.ti-v1-icon-action {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    color: #2563eb;
    position: relative;
    width: 36px;
}

.ti-v1-theme-toggle {
    background: #0f172a;
    border: 1px solid #0f172a;
    color: #ffffff;
    cursor: pointer;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-secondary-action,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-icon-action {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.26);
    color: #93c5fd;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-theme-toggle {
    background: #e5eefb;
    border-color: #e5eefb;
    color: #0f172a;
}

.ti-v1-notify-action span {
    align-items: center;
    background: #ef4444;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 10px;
    height: 18px;
    justify-content: center;
    position: absolute;
    right: -6px;
    top: -6px;
    width: 18px;
}

.ti-v1-kpis {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ti-v1-kpi {
    border-top: 3px solid #dbeafe;
    min-height: 82px;
    padding: 11px 12px;
}

.ti-v1-kpi span {
    color: #334155;
    display: block;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.22;
    min-height: 27px;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-kpi span,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-skill-list span,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-recommended-list em,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-outcome-row span,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-outcome-row strong,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-outcome-row small,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-legend span {
    color: #cbd5e1;
}

.ti-v1-kpi strong {
    color: var(--text);
    display: block;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 6px 0 3px;
}

.ti-v1-kpi small {
    color: #059669;
    display: block;
    font-size: 10.5px;
    font-weight: 900;
}

.ti-v1-kpi.accent-green { border-top-color: #22c55e; }
.ti-v1-kpi.accent-blue { border-top-color: #2563eb; }
.ti-v1-kpi.accent-purple { border-top-color: #7c3aed; }
.ti-v1-kpi.accent-orange { border-top-color: #f59e0b; }
.ti-v1-kpi.accent-red { border-top-color: #ef4444; }
.ti-v1-kpi.accent-teal { border-top-color: #14b8a6; }
.ti-v1-kpi.accent-slate { border-top-color: #64748b; }

.ti-v1-kpi-shell {
    display: grid;
    gap: 8px;
    position: relative;
}

.ti-v1-kpi-toolbar {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    min-height: 32px;
    position: relative;
    z-index: 70;
}

.ti-v1-kpi-add {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 10px;
    color: #1559c7;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    gap: 6px;
    height: 32px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    padding: 0 9px;
    text-transform: uppercase;
    width: auto;
}

.ti-v1-kpi-add span,
.ti-v1-kpi-add b {
    pointer-events: none;
}

.ti-v1-kpi-add b {
    font-size: 16px;
    line-height: 1;
}

.ti-v1-kpi-add:hover {
    background: #eef5ff;
    border-color: #9fc2ff;
}

.ti-v1-kpi-chooser {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    color: #0b2348;
    display: grid;
    gap: 3px;
    min-width: 230px;
    padding: 9px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
}

.ti-v1-kpi-chooser[hidden] {
    display: none !important;
}

.ti-v1-kpi-chooser strong {
    font-size: 10.5px;
    margin: 2px 4px 5px;
    text-transform: uppercase;
}

.ti-v1-kpi-chooser label {
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    font-size: 11.5px;
    font-weight: 800;
    gap: 7px;
    line-height: 1.25;
    padding: 5px 6px;
}

.ti-v1-kpi-chooser input[type="checkbox"] {
    accent-color: #2563eb;
    flex: 0 0 auto;
    height: 14px;
    min-height: 0;
    padding: 0;
    width: 14px;
}

.ti-v1-kpi-chooser label:hover {
    background: #f3f7fd;
}

.ti-v1-kpi[hidden] {
    display: none !important;
}

.ti-v1-board {
    display: grid;
    gap: 12px;
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.ti-v1-panel {
    min-height: 236px;
    overflow: hidden;
    padding: 14px;
}

.ti-v1-journey {
    grid-column: span 5;
}

.ti-v1-trend {
    grid-column: span 7;
}

.ti-v1-board > .ti-v1-panel:not(.ti-v1-journey):not(.ti-v1-trend) {
    grid-column: span 6;
}

.ti-v1-panel-head {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.ti-v1-panel-head h3 {
    color: var(--text);
    font-size: 16px;
    line-height: 1.15;
    margin: 0;
}

.ti-v1-panel-head p {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    margin: 3px 0 0;
}

.drag-card-handle {
    background: #f1f5f9;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    color: #2563eb;
    cursor: grab;
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    letter-spacing: -5px;
    line-height: 1;
    padding: 0;
    user-select: none;
    width: 32px;
}

.drag-card-handle:active {
    cursor: grabbing;
}

.dashboard-draggable-card.dragging {
    cursor: grabbing;
    opacity: 0.55;
    user-select: none;
}

.ti-v1-progress-list {
    display: grid;
    gap: 10px;
}

.ti-v1-progress-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(120px, 0.9fr) minmax(130px, 1.5fr) 58px 42px;
}

.ti-v1-progress-row span,
.ti-v1-progress-row strong,
.ti-v1-progress-row small {
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
}

.ti-v1-progress-row small,
.ti-v1-progress-row strong {
    text-align: right;
}

.ti-v1-progress-track {
    background: #eef2f7;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.ti-v1-progress-track b {
    border-radius: inherit;
    display: block;
    height: 100%;
}

.ti-v1-trend-stats {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 10px;
}

.ti-v1-trend-stats div,
.ti-v1-insights div,
.ti-v1-status-grid div {
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    padding: 9px 10px;
}

.ti-v1-trend-stats span,
.ti-v1-trend-stats small,
.ti-v1-insights span,
.ti-v1-insights small,
.ti-v1-status-grid span,
.ti-v1-status-grid small {
    color: var(--muted);
    display: block;
    font-size: 10.5px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.2;
}

.ti-v1-trend-stats strong,
.ti-v1-insights strong,
.ti-v1-status-grid strong {
    color: var(--text);
    display: block;
    font-size: 18px;
    line-height: 1;
    margin: 6px 0 4px;
}

.ti-v1-outcome-chart {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.ti-v1-outcome-row {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(120px, 0.9fr) minmax(160px, 1.4fr) 54px 44px;
}

.ti-v1-outcome-row span {
    color: #0b2348;
    font-size: 12.5px;
    font-weight: 900;
    line-height: 1.25;
}

.ti-v1-outcome-row strong {
    color: #0b2348;
    font-size: 15px;
    font-weight: 900;
    text-align: right;
}

.ti-v1-outcome-row small {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
    text-align: right;
}

.ti-v1-outcome-track {
    background: #edf2f7;
    border-radius: 999px;
    height: 9px;
    overflow: hidden;
}

.ti-v1-outcome-track b {
    border-radius: inherit;
    display: block;
    height: 100%;
    min-width: 3px;
}

.outcome-blue { background: #2563eb; }
.outcome-green { background: #16a34a; }
.outcome-red { background: #ef4444; }
.outcome-purple { background: #7c3aed; }
.outcome-orange { background: #f59e0b; }

.ti-v1-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 4px 0;
}

.ti-v1-legend span {
    align-items: center;
    color: #334155;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    gap: 5px;
}

.ti-v1-legend i {
    border-radius: 999px;
    height: 9px;
    width: 9px;
}

.ti-v1-chart {
    height: 150px;
    margin-top: 2px;
    overflow: visible;
    width: 100%;
}

.ti-v1-chart line {
    stroke: #e8eef6;
    stroke-width: 1;
}

.ti-v1-chart polyline {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3.2;
    filter: drop-shadow(0 6px 8px rgba(37, 99, 235, 0.12));
}

.ti-v1-chart-area {
    opacity: 0.08;
}

.ti-v1-chart circle {
    stroke: #fff;
    stroke-width: 2;
}

.ti-v1-skill-layout {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: 126px minmax(0, 1fr);
}

.ti-v1-donut {
    background: conic-gradient(var(--skill-gradient));
    border-radius: 50%;
    display: grid;
    height: 126px;
    place-items: center;
    position: relative;
    width: 126px;
}

.ti-v1-donut::after {
    background: #ffffff;
    border-radius: 50%;
    content: "";
    height: 76px;
    position: absolute;
    width: 76px;
}

.ti-v1-donut span,
.ti-v1-donut strong {
    position: relative;
    z-index: 1;
}

.ti-v1-donut span {
    align-self: end;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

.ti-v1-donut strong {
    align-self: start;
    color: var(--text);
    font-size: 22px;
}

.ti-v1-skill-list,
.ti-v1-recommended-list,
.ti-v1-insights,
.ti-v1-status-grid {
    display: grid;
    gap: 8px;
}

.ti-v1-skill-list div {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.ti-v1-skill-list span {
    align-items: center;
    color: #334155;
    display: flex;
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
}

.ti-v1-skill-list i {
    border-radius: 50%;
    height: 9px;
    width: 9px;
}

.ti-v1-skill-list b {
    color: var(--text);
    font-size: 12px;
}

.ti-v1-recommended-list a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    color: var(--text);
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr) minmax(70px, auto) 66px;
    min-height: 52px;
    padding: 8px 10px;
    text-decoration: none;
}

.ti-v1-recommended-list a > span {
    align-items: center;
    background: #eaf2ff;
    border-radius: 50%;
    color: #2563eb;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.ti-v1-recommended-list strong,
.ti-v1-recommended-list small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ti-v1-recommended-list strong {
    color: var(--text);
    font-size: 13px;
    line-height: 1.15;
}

.ti-v1-recommended-list small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.ti-v1-recommended-list em {
    color: #475569;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ti-v1-recommended-list b {
    background: #dcfce7;
    border-radius: 8px;
    color: #047857;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 7px;
    text-align: center;
}

.ti-v1-insights,
.ti-v1-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ti-v1-status-grid div {
    border-left: 3px solid #94a3b8;
}

.ti-v1-status-grid .status-recommended { border-left-color: #2563eb; }
.ti-v1-status-grid .status-strong { border-left-color: #16a34a; }
.ti-v1-status-grid .status-borderline { border-left-color: #f59e0b; }
.ti-v1-status-grid .status-reject { border-left-color: #ef4444; }
.ti-v1-status-grid .status-neutral { border-left-color: #94a3b8; }

.ti-v1-latest {
    min-height: auto;
}

.ti-v1-table-wrap {
    overflow-x: auto;
    width: 100%;
}

.ti-v1-table {
    border-collapse: collapse;
    min-width: 1180px;
    table-layout: fixed;
    width: 100%;
}

.ti-v1-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
}

.ti-v1-table th,
.ti-v1-table td {
    border-bottom: 1px solid #e5eaf2;
    color: var(--text);
    font-size: 11.5px;
    font-weight: 700;
    overflow: hidden;
    padding: 9px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ti-v1-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 10.5px;
    font-weight: 900;
    padding: 5px 8px;
}

.ti-v1-status-pill.green { background: #dcfce7; color: #047857; }
.ti-v1-status-pill.blue { background: #dbeafe; color: #1d4ed8; }
.ti-v1-status-pill.orange { background: #fef3c7; color: #b45309; }
.ti-v1-status-pill.grey { background: #edf2f7; color: #475569; }

.ti-v1-actions {
    display: flex;
    gap: 5px;
}

.ti-v1-actions a {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 8px;
    color: #2563eb;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    height: 28px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 28px;
}

.ti-v1-actions .row-action-panel a {
    align-items: initial;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #0b2348;
    display: block;
    font-size: 13px;
    height: auto;
    justify-content: initial;
    padding: 8px 10px;
    width: 100%;
}

.ti-v1-actions .row-action-panel a:hover {
    background: #f3f7fd;
    color: #1559c7;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-kpi,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-panel {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-panel-head,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-table th,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-table td {
    border-color: rgba(148, 163, 184, 0.18);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-kpi-chooser,
.ti-v1-dashboard[data-theme="dark"] .row-action-panel {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
    color: var(--text);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-kpi-chooser label:hover,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-actions .row-action-panel a:hover {
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-trend-stats div,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-insights div,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-status-grid div,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-recommended-list a {
    background: var(--soft);
    border-color: var(--soft-border);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-progress-track,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-outcome-track {
    background: #1e293b;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-recommended-list a > span {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-donut::after {
    background: #111c2f;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-donut span {
    color: #94a3b8;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-recommended-list b,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-status-pill.green {
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-status-pill.blue {
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-status-pill.orange {
    background: rgba(245, 158, 11, 0.16);
    color: #fcd34d;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-status-pill.grey {
    background: rgba(148, 163, 184, 0.16);
    color: #cbd5e1;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-table th {
    background: rgba(15, 23, 42, 0.82);
    color: #94a3b8;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-table td,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-actions .row-action-panel a {
    color: var(--text);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-chart line {
    stroke: rgba(148, 163, 184, 0.20);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-chart circle {
    stroke: #111c2f;
}

.ti-v1-dashboard[data-theme="dark"] .drag-card-handle {
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(147, 197, 253, 0.24);
    color: #93c5fd;
}

@media (max-width: 1420px) {
    .app-shell {
        grid-template-columns: 232px minmax(0, 1fr);
    }

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

    .ti-v1-journey,
    .ti-v1-trend,
    .ti-v1-board > .ti-v1-panel:not(.ti-v1-journey):not(.ti-v1-trend) {
        grid-column: span 6;
    }
}

@media (max-width: 1120px) {
    .app-shell {
        display: block;
    }

    .ti-sidebar {
        min-height: auto;
        position: relative;
    }

    .ti-v1-hero,
    .ti-v1-filters,
    .ti-v1-board {
        grid-template-columns: 1fr;
    }

    .ti-v1-journey,
    .ti-v1-trend,
    .ti-v1-board > .ti-v1-panel:not(.ti-v1-journey):not(.ti-v1-trend) {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .ti-v1-kpis,
    .ti-v1-trend-stats,
    .ti-v1-skill-layout,
    .ti-v1-insights,
    .ti-v1-status-grid {
        grid-template-columns: 1fr;
    }

    .ti-v1-recommended-list a {
        grid-template-columns: 34px minmax(0, 1fr) 62px;
    }

    .ti-v1-recommended-list em {
        display: none;
    }
}

/* Dashboard V1 tight layout refinements */
.content-shell.dashboard-v1-shell {
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

.dashboard-v1-shell .ti-v1-dashboard {
    height: 100vh;
    margin: 0 auto;
    max-width: 1580px;
    overflow-y: auto;
    padding: clamp(12px, 1.2vw, 18px);
    scrollbar-width: thin;
}

.ti-v1-hero {
    gap: 14px;
    grid-template-columns: minmax(245px, 0.62fr) minmax(0, 1.72fr);
    overflow: visible;
    padding: 13px 16px;
}

.ti-v1-title h2 {
    font-size: 22px;
}

.ti-v1-title p {
    display: none;
}

.ti-v1-filters {
    grid-template-columns: minmax(165px, 1.1fr) minmax(150px, 0.9fr) minmax(160px, 0.9fr) auto auto 34px 34px auto;
    min-width: 0;
}

.ti-v1-filters input,
.ti-v1-filters select,
.ti-v1-mini-form select {
    min-height: 34px;
    padding: 6px 9px;
}

.ti-v1-filters button,
.ti-v1-secondary-action,
.ti-v1-icon-action,
.ti-v1-theme-toggle {
    min-height: 34px;
    padding: 7px 10px;
}

.ti-v1-icon-action {
    width: 34px;
}

.ti-v1-date-range {
    min-width: 0;
    position: relative;
}

.ti-v1-date-trigger {
    background: #ffffff !important;
    border: 1px solid #d8e2f0 !important;
    color: var(--text) !important;
    display: flex !important;
    gap: 8px;
    justify-content: space-between !important;
    min-width: 0;
    width: 100%;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-trigger {
    background: #0b1220 !important;
    border-color: rgba(148, 163, 184, 0.30) !important;
    color: var(--text) !important;
}

.ti-v1-date-trigger span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ti-v1-date-trigger b {
    color: #64748b;
    font-size: 12px;
}

.ti-v1-date-panel {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 10px;
    left: 0;
    min-width: 285px;
    padding: 12px;
    position: absolute;
    top: calc(100% + 6px);
    z-index: 50;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-panel {
    background: #111827;
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.34);
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-panel label span,
.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-trigger b {
    color: #94a3b8;
}

.ti-v1-date-panel[hidden] {
    display: none;
}

.ti-v1-date-panel label {
    display: grid;
    gap: 5px;
}

.ti-v1-date-panel label span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.ti-v1-date-panel input {
    min-height: 34px;
}

.ti-v1-date-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.ti-v1-date-actions button {
    min-height: 30px;
    padding: 6px 10px;
}

.ti-v1-date-clear {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.ti-v1-date-done {
    background: #334155 !important;
    color: #ffffff !important;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-clear {
    background: #1e293b !important;
    color: #cbd5e1 !important;
}

.ti-v1-dashboard[data-theme="dark"] .ti-v1-date-done {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.ti-v1-kpis {
    gap: 8px;
    grid-template-columns: repeat(7, minmax(104px, 1fr));
}

.ti-v1-kpi {
    min-height: 52px;
    padding: 7px 10px;
}

.ti-v1-kpi span {
    font-size: 10.2px;
    line-height: 1.15;
    min-height: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ti-v1-kpi strong {
    font-size: 18px;
    margin: 4px 0 2px;
}

.ti-v1-kpi small {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ti-v1-panel {
    min-height: 210px;
}

.ti-v1-table {
    min-width: 1040px;
}

.ti-v1-table th,
.ti-v1-table td {
    padding: 8px 9px;
}

.ti-v1-table th:nth-child(1),
.ti-v1-table td:nth-child(1) { width: 112px; }
.ti-v1-table th:nth-child(2),
.ti-v1-table td:nth-child(2) { width: 140px; }
.ti-v1-table th:nth-child(3),
.ti-v1-table td:nth-child(3) { width: 220px; }
.ti-v1-table th:nth-child(4),
.ti-v1-table td:nth-child(4) { width: 130px; }
.ti-v1-table th:nth-child(5),
.ti-v1-table td:nth-child(5) { width: 72px; }
.ti-v1-table th:nth-child(6),
.ti-v1-table td:nth-child(6) { width: 78px; }
.ti-v1-table th:nth-child(7),
.ti-v1-table td:nth-child(7) { width: 170px; }
.ti-v1-table th:nth-child(8),
.ti-v1-table td:nth-child(8) { width: 142px; }
.ti-v1-table th:nth-child(9),
.ti-v1-table td:nth-child(9) { width: 96px; }

@media (max-width: 1180px) {
    .ti-v1-kpis {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .content-shell.dashboard-v1-shell,
    .dashboard-v1-shell .ti-v1-dashboard {
        height: auto;
        overflow: visible;
    }

    .ti-v1-kpis {
        grid-template-columns: 1fr;
    }
}

/* Compact locked sidebar + top account menu */
.app-shell {
    --ti-shell-sidebar: clamp(206px, 11.4vw, 224px);
    grid-template-columns: var(--ti-shell-sidebar) minmax(0, 1fr) !important;
}

/* College registration framework */
.college-reg-page {
    display: grid;
    gap: 14px;
    margin: 0 auto;
    max-width: 1500px;
    padding: clamp(14px, 1.4vw, 24px);
}

.college-reg-hero,
.college-reg-card,
.college-reg-kpis article {
    background: #ffffff;
    border: 1px solid #dfe7f2;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.college-reg-hero {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08)),
        #ffffff;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.9fr);
    padding: 16px 18px;
}

.college-reg-hero span {
    color: #2563eb;
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.college-reg-hero h2 {
    color: #0f172a;
    font-size: 26px;
    line-height: 1.1;
    margin: 0;
}

.college-reg-hero p {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    margin: 6px 0 0;
}

.college-reg-filter {
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.college-reg-filter select,
.college-master-form input,
.college-master-form select,
.college-master-form textarea {
    background: #ffffff;
    border: 1px solid #d7e2f0;
    border-radius: 9px;
    color: #0f172a;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    min-height: 36px;
    padding: 7px 10px;
    width: 100%;
}

.college-reg-filter button,
.college-master-form button {
    background: #2563eb;
    border: 0;
    border-radius: 9px;
    color: #ffffff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    min-height: 36px;
    padding: 7px 14px;
}

.college-reg-kpis {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.college-reg-kpis article {
    border-top: 3px solid #2563eb;
    min-height: 76px;
    padding: 11px 12px;
}

.college-reg-kpis article:nth-child(2) { border-top-color: #16a34a; }
.college-reg-kpis article:nth-child(3) { border-top-color: #7c3aed; }
.college-reg-kpis article:nth-child(4) { border-top-color: #f59e0b; }
.college-reg-kpis article:nth-child(5) { border-top-color: #14b8a6; }

.college-reg-kpis span,
.college-reg-card-title small,
.college-reg-table small {
    color: #64748b;
    display: block;
    font-size: 11px;
    font-weight: 800;
}

.college-reg-kpis strong {
    color: #0f172a;
    display: block;
    font-size: 24px;
    line-height: 1;
    margin: 7px 0 4px;
}

.college-reg-kpis small {
    color: #059669;
    font-size: 10.5px;
    font-weight: 900;
}

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

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

.college-reg-card {
    overflow: hidden;
    padding: 14px;
}

.college-reg-card h3 {
    color: #0f172a;
    font-size: 17px;
    margin: 0 0 12px;
}

.college-reg-card-title {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    margin: -2px -2px 12px;
    padding: 0 0 10px;
}

.college-master-form {
    display: grid;
    gap: 9px;
}

.college-master-form p {
    display: grid;
    gap: 5px;
    margin: 0;
}

.college-master-form label {
    color: #475569;
    font-size: 11px;
    font-weight: 900;
}

.college-master-form .helptext,
.college-master-form ul.errorlist {
    font-size: 10.5px;
    margin: 0;
}

.college-master-form ul.errorlist {
    color: #dc2626;
    list-style: none;
    padding: 0;
}

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

.college-reg-table {
    border-collapse: collapse;
    min-width: 760px;
    table-layout: fixed;
    width: 100%;
}

.college-reg-table.student-table {
    min-width: 1040px;
}

.college-reg-table th {
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-align: left;
    text-transform: uppercase;
}

.college-reg-table th,
.college-reg-table td {
    border-bottom: 1px solid #e5eaf2;
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 700;
    overflow: hidden;
    padding: 9px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.college-reg-table td strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.college-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 10.5px;
    font-weight: 900;
    padding: 5px 8px;
}

.college-status.active,
.college-status.registered,
.college-status.shortlisted {
    background: #dcfce7;
    color: #047857;
}

.college-status.inactive,
.college-status.expected {
    background: #edf2f7;
    color: #475569;
}

.college-status.appeared {
    background: #dbeafe;
    color: #1d4ed8;
}

.college-status.outstation {
    background: #fef3c7;
    color: #b45309;
}

@media (max-width: 1180px) {
    .college-reg-hero,
    .college-reg-forms,
    .college-reg-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .college-reg-filter,
    .college-reg-kpis {
        grid-template-columns: 1fr;
    }
}

.ti-sidebar {
    height: 100vh;
    max-width: var(--ti-shell-sidebar);
    min-height: 100vh;
    padding: 10px;
    position: sticky;
    top: 0;
}

.sidebar-logo-zone {
    flex: 0 0 auto;
    padding-bottom: 9px;
}

.sidebar-logo-frame {
    min-height: 58px;
    padding: 8px;
}

.sidebar-logo-frame img {
    height: 39px;
    width: 54px;
}

.sidebar-logo-copy h1 {
    font-size: 15px;
}

.sidebar-logo-copy p {
    font-size: 10px;
}

.grouped-side-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 2px 0 8px;
}

.nav-group summary {
    font-size: 12.5px;
    gap: 9px;
    min-height: 35.75px;
    padding: 7px 9px;
}

.nav-icon {
    border-radius: 7px;
    font-size: 10.5px;
    height: 26px;
    width: 26px;
}

.side-nav a,
.sidebar-footer a {
    font-size: 12px;
    min-height: 35.75px;
    padding: 8px 9px 8px 40px;
}

.side-nav .ignite-nav:not(.active),
.side-nav .ignite-nav.active {
    padding-left: 12px;
}

.ti-sidebar .sidebar-footer {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    flex: 0 0 auto;
    margin: 0 -10px;
    padding: 10px;
}

.ti-sidebar .sidebar-account-links {
    border-top: 0;
    margin: 0;
    padding: 0;
}

.ti-sidebar .sidebar-footer a {
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.86);
    display: flex;
    font-size: 12px;
    font-weight: 800;
    min-height: 35.75px;
    padding: 8px 10px 8px 28px;
}

.ti-sidebar .sidebar-footer a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

.top-account-menu {
    position: fixed;
    right: 18px;
    top: 14px;
    z-index: 200;
}

.top-account-menu details {
    position: relative;
}

.top-account-menu summary {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.10);
    cursor: pointer;
    display: flex;
    height: 38px;
    justify-content: center;
    list-style: none;
    width: 38px;
}

.top-account-menu summary::-webkit-details-marker {
    display: none;
}

.top-account-avatar {
    align-items: center;
    background: #eaf2ff;
    border-radius: 999px;
    color: #2563eb;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.top-account-avatar.large {
    flex: 0 0 auto;
    font-size: 16px;
    height: 42px;
    width: 42px;
}

.top-account-card {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 14px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 6px;
    min-width: 245px;
    padding: 12px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
}

.top-account-row {
    align-items: center;
    border-bottom: 1px solid #e8eef6;
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    padding-bottom: 10px;
}

.top-account-row strong,
.top-account-row small,
.top-account-row em {
    display: block;
}

.top-account-row strong {
    color: #0f172a;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
}

.top-account-row small {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-account-row em {
    color: #059669;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    margin-top: 2px;
}

.top-account-card a {
    border-radius: 9px;
    color: #334155;
    font-size: 12px;
    font-weight: 850;
    padding: 9px 10px;
    text-decoration: none;
}

.top-account-card a:hover {
    background: #f1f5f9;
    color: #1559c7;
}

.ti-sidebar {
    height: 100vh;
}

.ti-sidebar .grouped-side-nav {
    flex: 1 1 auto;
    min-height: 0;
}

.ti-sidebar .sidebar-footer {
    background: transparent;
    border: 0;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
    flex: 0 0 auto;
    margin: auto 0 0;
    padding: 10px 0 0;
    position: static;
    width: 100%;
}

.ti-sidebar .sidebar-account-links {
    border-top: 0;
    margin: 0;
    padding: 0;
}

.ti-sidebar .sidebar-footer a {
    padding-left: 10px;
}

@media (max-width: 1120px) {
    .app-shell {
        display: block;
    }

    .ti-sidebar {
        height: auto;
        max-width: none;
        min-height: auto;
        position: relative;
    }

    .top-account-menu {
        right: 12px;
        top: 12px;
    }
}

.college-v2-page {
    color: #0b1f39;
    display: grid;
    gap: 18px;
    padding: 2px 4px 24px;
}

.college-v2-header {
    align-items: flex-start;
    background: #ffffff;
    border-bottom: 1px solid #e5edf6;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(260px, 1fr) auto;
    padding-bottom: 18px;
}

.college-v2-eyebrow {
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .06em;
    margin: 0 0 4px;
    text-transform: uppercase;
}

.college-v2-header h2 {
    font-size: 32px;
    line-height: 1.05;
    margin: 0;
}

.college-v2-header p {
    color: #64748b;
    font-size: 14px;
    margin: 6px 0 0;
}

.college-v2-header-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.college-v2-top-search {
    align-items: center;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    min-width: 340px;
    overflow: hidden;
}

.college-v2-top-search input {
    border: 0;
    min-height: 40px;
    padding: 0 14px;
}

.college-v2-top-search button {
    background: transparent;
    border: 0;
    border-left: 1px solid #e5edf6;
    color: #0b1f39;
    cursor: pointer;
    font-weight: 800;
    min-height: 40px;
    padding: 0 14px;
}

.college-v2-primary-button,
.college-v2-ghost-button {
    align-items: center;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    text-decoration: none;
}

.college-v2-primary-button {
    background: #1d6fe8;
    border: 1px solid #1d6fe8;
    color: #ffffff;
}

.college-v2-ghost-button {
    background: #ffffff;
    border: 1px solid #d8e3ef;
    color: #174ea6;
}

.college-v2-kpis {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
}

.college-v2-kpis article,
.college-v2-card {
    background: #ffffff;
    border: 1px solid #dfe8f4;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05);
}

.college-v2-kpis article {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px 1fr;
    min-height: 110px;
    padding: 16px;
}

.college-v2-kpi-icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-weight: 900;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.college-v2-kpi-icon.blue { background: #e8f1ff; color: #2563eb; }
.college-v2-kpi-icon.green { background: #dcfce7; color: #16a34a; }
.college-v2-kpi-icon.violet { background: #efe7ff; color: #7c3aed; }
.college-v2-kpi-icon.orange { background: #fff0dc; color: #f97316; }
.college-v2-kpi-icon.teal { background: #dcfdf4; color: #0f9f8f; }
.college-v2-kpi-icon.indigo { background: #ede9fe; color: #4f46e5; }

.college-v2-kpis small,
.college-v2-kpis em {
    color: #5f7189;
    display: block;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.college-v2-kpis strong {
    display: block;
    font-size: 28px;
    line-height: 1.1;
    margin: 6px 0;
}

.college-v2-kpis em {
    color: #008f45;
}

.college-v2-tabs {
    border-bottom: 1px solid #dfe8f4;
    display: flex;
    gap: 26px;
    overflow-x: auto;
}

.college-v2-tabs a {
    border-bottom: 3px solid transparent;
    color: #0b1f39;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    padding: 0 0 12px;
    text-decoration: none;
}

.college-v2-tabs a.active {
    border-bottom-color: #1d6fe8;
    color: #0f5fd7;
}

.college-v2-main-grid {
    align-items: start;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 280px;
}

.college-v2-main-column {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.college-v2-filter-bar {
    align-items: end;
    background: #ffffff;
    border: 1px solid #dfe8f4;
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(220px, 1.4fr) repeat(6, minmax(120px, 1fr)) auto auto;
    padding: 14px;
}

.college-v2-filter-bar label {
    color: #5f7189;
    display: grid;
    font-size: 11px;
    font-weight: 900;
    gap: 5px;
}

.college-v2-filter-bar input,
.college-v2-filter-bar select,
.college-v2-drawer-form input,
.college-v2-drawer-form select,
.college-v2-drawer-form textarea {
    background: #ffffff;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    color: #0b1f39;
    min-height: 38px;
    padding: 0 10px;
    width: 100%;
}

.college-v2-drawer-form textarea {
    min-height: 78px;
    padding: 10px;
}

.college-v2-analytics-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.college-v2-card {
    min-width: 0;
    padding: 16px;
}

.college-v2-card-title {
    align-items: center;
    border-bottom: 1px solid #eef3f8;
    display: flex;
    justify-content: space-between;
    margin: -2px 0 14px;
    padding-bottom: 12px;
}

.college-v2-card-title h3 {
    font-size: 16px;
    margin: 0;
}

.college-v2-card-title span,
.college-v2-card-title a,
.college-v2-muted {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.college-v2-card-title a {
    color: #1d6fe8;
    text-decoration: none;
}

.college-v2-funnel {
    display: grid;
    gap: 10px;
}

.college-v2-funnel-row {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 110px 1fr 28px;
}

.college-v2-funnel-row span,
.college-v2-funnel-row strong {
    font-size: 12px;
    font-weight: 900;
}

.college-v2-funnel-row div {
    background: #edf2f7;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.college-v2-funnel-row i {
    display: block;
    height: 100%;
}

.college-v2-funnel-row i.blue,
.college-v2-side-list .blue,
.college-v2-activity-list .blue { background: #2563eb; }
.college-v2-funnel-row i.sky,
.college-v2-side-list .sky { background: #0ea5e9; }
.college-v2-funnel-row i.orange,
.college-v2-side-list .orange { background: #f97316; }
.college-v2-funnel-row i.violet,
.college-v2-side-list .violet { background: #7c3aed; }
.college-v2-funnel-row i.amber,
.college-v2-side-list .amber { background: #f59e0b; }
.college-v2-funnel-row i.green,
.college-v2-side-list .green,
.college-v2-activity-list .green { background: #16a34a; }
.college-v2-funnel-row i.indigo,
.college-v2-side-list .indigo { background: #4f46e5; }

.college-v2-bars {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(12, 1fr);
    height: 160px;
    padding-top: 12px;
}

.college-v2-bars div {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
}

.college-v2-bars i {
    background: linear-gradient(180deg, #2563eb, #93c5fd);
    border-radius: 999px 999px 4px 4px;
    min-height: 8px;
    width: 100%;
}

.college-v2-bars.orange i {
    background: linear-gradient(180deg, #f97316, #fdba74);
}

.college-v2-bars span {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.college-v2-donut-layout {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 118px 1fr;
}

.college-v2-donut {
    align-items: center;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    height: 118px;
    justify-content: center;
    position: relative;
    width: 118px;
}

.college-v2-donut::after {
    background: #ffffff;
    border-radius: 50%;
    content: "";
    height: 72px;
    position: absolute;
    width: 72px;
}

.college-v2-donut strong,
.college-v2-donut span {
    position: relative;
    z-index: 1;
}

.college-v2-donut strong {
    font-size: 24px;
}

.college-v2-donut span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.college-v2-legend {
    display: grid;
    gap: 9px;
}

.college-v2-legend p {
    align-items: center;
    color: #0b1f39;
    display: grid;
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
    grid-template-columns: 10px 1fr auto;
    margin: 0;
}

.college-v2-legend i {
    border-radius: 50%;
    height: 10px;
    width: 10px;
}

.college-v2-table-card {
    padding-bottom: 10px;
}

.college-v2-table-tools {
    display: flex;
    gap: 8px;
}

.college-v2-table-wrap {
    overflow: auto;
}

.college-v2-table-wrap.compact {
    max-height: 360px;
}

.college-v2-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1080px;
    width: 100%;
}

.college-v2-table th {
    background: #f8fafc;
    color: #334155;
    font-size: 11px;
    font-weight: 900;
    position: sticky;
    text-align: left;
    text-transform: uppercase;
    top: 0;
    z-index: 1;
}

.college-v2-table th,
.college-v2-table td {
    border-bottom: 1px solid #e5edf6;
    padding: 13px 12px;
    vertical-align: middle;
}

.college-v2-table td {
    color: #0b1f39;
    font-size: 12px;
    font-weight: 700;
}

.college-v2-table td small {
    color: #64748b;
    display: block;
    font-size: 11px;
    font-weight: 800;
    margin-top: 3px;
}

.college-v2-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 9px;
}

.college-v2-status.active,
.college-v2-status.registered,
.college-v2-status.appeared,
.college-v2-status.shortlisted {
    background: #dcfce7;
    color: #067a38;
}

.college-v2-status.inactive,
.college-v2-status.outstation {
    background: #fee2e2;
    color: #b91c1c;
}

.college-v2-status.expected {
    background: #e8f1ff;
    color: #1d4ed8;
}

.college-v2-action-menu {
    position: relative;
}

.college-v2-action-menu summary {
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    color: #1d6fe8;
    cursor: pointer;
    font-weight: 900;
    list-style: none;
    padding: 7px 10px;
}

.college-v2-action-menu summary::-webkit-details-marker {
    display: none;
}

.college-v2-action-menu div {
    background: #ffffff;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
    display: grid;
    min-width: 190px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: 36px;
    z-index: 5;
}

.college-v2-action-menu a,
.college-v2-action-menu button {
    background: transparent;
    border: 0;
    color: #0b1f39;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    padding: 9px 10px;
    text-align: left;
    text-decoration: none;
}

.college-v2-action-menu a:hover,
.college-v2-action-menu button:hover {
    background: #f1f5f9;
    border-radius: 6px;
}

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

.college-v2-side-panel {
    display: grid;
    gap: 14px;
    position: sticky;
    top: 16px;
}

.college-v2-side-list,
.college-v2-drive-list,
.college-v2-activity-list {
    display: grid;
    gap: 12px;
}

.college-v2-side-list p {
    align-items: center;
    display: grid;
    font-size: 12px;
    font-weight: 800;
    gap: 10px;
    grid-template-columns: 26px 1fr auto;
    margin: 0;
}

.college-v2-side-list span {
    align-items: center;
    border-radius: 50%;
    color: #ffffff;
    display: inline-flex;
    font-size: 11px;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.college-v2-drive-list div {
    border: 1px solid #e5edf6;
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 11px;
}

.college-v2-drive-list strong,
.college-v2-activity-list {
    font-size: 12px;
}

.college-v2-drive-list span,
.college-v2-drive-list small,
.college-v2-activity-list small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.college-v2-activity-list p {
    display: grid;
    gap: 6px;
    grid-template-columns: 10px 1fr;
    margin: 0;
}

.college-v2-activity-list span {
    border-radius: 50%;
    height: 10px;
    margin-top: 3px;
    width: 10px;
}

.college-v2-activity-list small {
    display: block;
    margin-top: 3px;
}

.college-v2-drawer {
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: 1000;
}

.college-v2-drawer[aria-hidden="false"] {
    pointer-events: auto;
}

.college-v2-drawer-backdrop {
    background: rgba(15, 23, 42, .35);
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity .18s ease;
}

.college-v2-drawer[aria-hidden="false"] .college-v2-drawer-backdrop {
    opacity: 1;
}

.college-v2-drawer-panel {
    background: #ffffff;
    border-left: 1px solid #d8e3ef;
    box-shadow: -22px 0 55px rgba(15, 23, 42, .18);
    height: 100%;
    margin-left: auto;
    max-width: 620px;
    overflow: auto;
    padding: 24px;
    transform: translateX(100%);
    transition: transform .2s ease;
    width: min(620px, 100%);
}

.college-v2-drawer[aria-hidden="false"] .college-v2-drawer-panel {
    transform: translateX(0);
}

.college-v2-drawer-title {
    align-items: center;
    border-bottom: 1px solid #e5edf6;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.college-v2-drawer-title h3 {
    font-size: 22px;
    margin: 0;
}

.college-v2-drawer-title button {
    background: #f1f5f9;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    cursor: pointer;
    height: 36px;
    width: 36px;
}

.college-v2-drawer-form {
    display: grid;
    gap: 12px;
}

.college-v2-drawer-form h4 {
    font-size: 14px;
    margin: 6px 0 0;
}

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

.college-v2-drawer-form p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.college-v2-drawer-form label {
    color: #475569;
    font-size: 12px;
    font-weight: 900;
}

.college-v2-drawer-actions {
    border-top: 1px solid #e5edf6;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 16px;
}

.college-v2-import-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}

.college-v2-import-grid button {
    background: #f8fafc;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    color: #0b1f39;
    cursor: pointer;
    font-weight: 900;
    min-height: 74px;
}

@media (max-width: 1500px) {
    .college-v2-kpis {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

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

    .college-v2-filter-bar {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
    }
}

@media (max-width: 1100px) {
    .college-v2-header,
    .college-v2-main-grid,
    .college-v2-two-column {
        grid-template-columns: 1fr;
    }

    .college-v2-side-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .college-v2-kpis,
    .college-v2-analytics-grid,
    .college-v2-filter-bar {
        grid-template-columns: 1fr;
    }

    .college-v2-top-search {
        min-width: 0;
        width: 100%;
    }

    .college-v2-header-actions {
        justify-content: stretch;
    }

    .college-v2-form-grid {
        grid-template-columns: 1fr;
    }
}

/* College Registration V2 */
.content-shell.college-v2-shell {
    background: #f3f6fb;
    min-width: 0;
    overflow-x: hidden;
    padding: clamp(8px, 1vw, 14px);
}

.cr2-page {
    --cr2-blue: #1265d8;
    --cr2-navy: #0b1f39;
    --cr2-muted: #64748b;
    --cr2-border: #e4eaf2;
    --cr2-bg: #f7f9fc;
    --cr2-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at 8% 0%, rgba(18, 101, 216, 0.09), transparent 24%),
        radial-gradient(circle at 93% 3%, rgba(22, 163, 74, 0.08), transparent 22%),
        linear-gradient(180deg, #fbfdff 0%, #f6f8fb 100%);
    border: 1px solid #e3eaf3;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
    color: var(--cr2-navy);
    display: grid;
    gap: clamp(10px, 1vw, 16px);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: clamp(12px, 1.25vw, 20px);
    width: 100%;
}

.cr2-preview-ribbon {
    align-items: center;
    background: #061d3d;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(8, 47, 99, 0.18);
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
}

.cr2-preview-ribbon strong,
.cr2-preview-ribbon span {
    display: block;
}

.cr2-preview-ribbon strong {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cr2-preview-ribbon span {
    color: #c7d7ee;
    font-size: 12px;
    margin-top: 3px;
}

.cr2-preview-ribbon a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 9px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.cr2-hero {
    align-items: start;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.92)),
        linear-gradient(90deg, rgba(18, 101, 216, 0.08), rgba(249, 115, 22, 0.04));
    border: 1px solid var(--cr2-border);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(14px, 1.35vw, 20px);
}

.cr2-overline {
    color: var(--cr2-blue);
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.cr2-hero h2 {
    color: #0f172a;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.06;
    margin: 0 0 8px;
    max-width: 640px;
}

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

.cr2-hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    min-width: 0;
}

.cr2-global-search {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    display: flex;
    min-width: min(330px, 100%);
    overflow: hidden;
}

.cr2-global-search input {
    border: 0;
    color: var(--cr2-navy);
    flex: 1;
    font-size: 12px;
    height: 36px;
    outline: 0;
    padding: 0 12px;
}

.cr2-global-search button {
    background: transparent;
    border: 0;
    color: var(--cr2-blue);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
    padding: 0 12px;
}

.cr2-button {
    align-items: center;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 8px;
    height: 36px;
    justify-content: center;
    padding: 0 16px;
    text-decoration: none;
    white-space: nowrap;
}

.cr2-button-primary {
    background: var(--cr2-blue);
    border: 1px solid var(--cr2-blue);
    color: #fff;
}

.cr2-button-light {
    background: #fff;
    border: 1px solid #dbe3ef;
    color: var(--cr2-navy);
}

.cr2-kpi-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.cr2-kpi-card,
.cr2-card {
    background: #fff;
    border: 1px solid var(--cr2-border);
    border-radius: 8px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.cr2-kpi-card {
    align-items: center;
    display: flex;
    gap: 14px;
    min-height: 82px;
    padding: 12px;
    position: relative;
    overflow: hidden;
}

.cr2-kpi-card::before {
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.cr2-kpi-card:nth-child(1)::before { background: #1265d8; }
.cr2-kpi-card:nth-child(2)::before { background: #16a34a; }
.cr2-kpi-card:nth-child(3)::before { background: #7c3aed; }
.cr2-kpi-card:nth-child(4)::before { background: #f97316; }
.cr2-kpi-card:nth-child(5)::before { background: #0f9f8f; }
.cr2-kpi-card:nth-child(6)::before { background: #4f46e5; }

.cr2-kpi-icon {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 16px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
}

.cr2-kpi-icon.blue { background: #e8f1ff; color: #1265d8; }
.cr2-kpi-icon.green { background: #dcfce7; color: #16a34a; }
.cr2-kpi-icon.violet { background: #efe7ff; color: #7c3aed; }
.cr2-kpi-icon.orange { background: #fff0dc; color: #f97316; }
.cr2-kpi-icon.teal { background: #dcfdf4; color: #0f9f8f; }
.cr2-kpi-icon.indigo { background: #ede9fe; color: #4f46e5; }

.cr2-kpi-card small,
.cr2-kpi-card em {
    color: var(--cr2-muted);
    display: block;
    font-size: 11px;
    font-style: normal;
}

.cr2-kpi-card strong {
    color: #0f172a;
    display: block;
    font-size: 22px;
    line-height: 1.1;
    margin: 6px 0;
}

.cr2-tabs {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--cr2-border);
    border-radius: 10px;
    display: flex;
    gap: 4px;
    min-height: 42px;
    overflow-x: auto;
    padding: 4px;
}

.cr2-tabs a {
    background: transparent;
    border-bottom: 3px solid transparent;
    border-radius: 7px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
    padding: 10px 12px;
    text-decoration: none;
    white-space: nowrap;
}

.cr2-tabs a.active {
    background: #eef5ff;
    border-color: var(--cr2-blue);
    color: var(--cr2-blue);
}

.cr2-workspace {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) clamp(210px, 16vw, 250px);
}

.cr2-main {
    display: grid;
    gap: 16px;
}

.cr2-filter-card {
    align-items: end;
    background: #fff;
    border: 1px solid var(--cr2-border);
    border-radius: 8px;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(118px, 1fr)) auto auto;
    padding: 12px;
}

.cr2-filter-card label,
.cr2-form p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.cr2-filter-card span,
.cr2-form label {
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

.cr2-filter-card input,
.cr2-filter-card select,
.cr2-form input,
.cr2-form select,
.cr2-form textarea {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 7px;
    color: var(--cr2-navy);
    font-size: 12px;
    min-height: 36px;
    outline: 0;
    padding: 0 10px;
    width: 100%;
}

.cr2-tab-summary,
.cr2-status-grid,
.cr2-import-center {
    display: grid;
    gap: 10px;
}

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

.cr2-status-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cr2-tab-summary article,
.cr2-status-grid article {
    background: #fff;
    border: 1px solid var(--cr2-border);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);
    min-height: 62px;
    padding: 10px 12px;
}

.cr2-tab-summary span,
.cr2-status-grid span {
    color: var(--cr2-muted);
    display: block;
    font-size: 10px;
    font-weight: 900;
}

.cr2-tab-summary strong,
.cr2-status-grid strong {
    color: #0f172a;
    display: block;
    font-size: 22px;
    line-height: 1.15;
    margin-top: 7px;
}

.cr2-form textarea {
    min-height: 74px;
    padding-top: 10px;
}

.cr2-analytics-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.cr2-card {
    min-width: 0;
    padding: 12px;
}

.cr2-card-title {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cr2-card-title h3 {
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
}

.cr2-card-title span,
.cr2-card-title a {
    color: var(--cr2-muted);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.cr2-funnel-visual {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-height: 138px;
    justify-content: center;
}

.cr2-funnel-tier {
    align-items: center;
    clip-path: polygon(8% 0, 92% 0, 82% 100%, 18% 100%);
    color: #fff;
    display: flex;
    font-size: 10px;
    font-weight: 900;
    height: 19px;
    justify-content: center;
    min-width: 74px;
    padding: 0 18px;
}

.cr2-funnel-tier strong {
    margin-left: 8px;
}

.cr2-funnel-tier.blue { background: #2563eb; }
.cr2-funnel-tier.sky { background: #60a5fa; }
.cr2-funnel-tier.orange { background: #fb7185; }
.cr2-funnel-tier.violet { background: #8b5cf6; }
.cr2-funnel-tier.amber { background: #f59e0b; }
.cr2-funnel-tier.green { background: #22c55e; }
.cr2-funnel-tier.indigo { background: #14b8a6; }

.cr2-line-chart {
    align-items: end;
    background:
        linear-gradient(to top, #e8eef6 1px, transparent 1px) 0 0 / 100% 33.33%;
    border-bottom: 1px solid #e8eef6;
    border-left: 1px solid #e8eef6;
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(12, 1fr);
    height: 132px;
    padding: 14px 10px 0;
}

.cr2-line-chart i {
    background: linear-gradient(180deg, #1265d8, #60a5fa);
    border-radius: 999px 999px 0 0;
    min-height: 6px;
}

.cr2-line-chart.orange i {
    background: linear-gradient(180deg, #f97316, #fbbf24);
}

.cr2-months {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(12, 1fr);
    margin-top: 8px;
}

.cr2-months span {
    color: var(--cr2-muted);
    font-size: 9px;
    text-align: center;
}

.cr2-donut-row {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 96px 1fr;
    min-height: 132px;
}

.cr2-donut {
    align-items: center;
    border-radius: 999px;
    display: flex;
    flex-direction: column;
    height: 96px;
    justify-content: center;
    position: relative;
    width: 96px;
}

.cr2-donut::after {
    background: #fff;
    border-radius: inherit;
    content: "";
    inset: 24px;
    position: absolute;
}

.cr2-donut strong,
.cr2-donut span {
    position: relative;
    z-index: 1;
}

.cr2-donut strong {
    font-size: 24px;
}

.cr2-donut span,
.cr2-state-list p {
    color: var(--cr2-muted);
    font-size: 10px;
}

.cr2-state-list {
    display: grid;
    gap: 9px;
}

.cr2-state-list p {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    margin: 0;
}

.cr2-state-list i {
    border-radius: 999px;
    height: 8px;
    width: 8px;
}

.cr2-state-list strong {
    color: var(--cr2-navy);
}

.cr2-table-card {
    padding: 0;
}

.cr2-table-card .cr2-card-title {
    margin: 0;
    padding: 14px;
}

.cr2-table-tools {
    display: flex;
    gap: 8px;
}

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

.cr2-table {
    border-collapse: collapse;
    min-width: 1120px;
    width: 100%;
}

.cr2-table th {
    background: #fafbfd;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    position: sticky;
    text-transform: none;
    top: 0;
    z-index: 1;
}

.cr2-table th,
.cr2-table td {
    border: 1px solid #e8eef6;
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
}

.cr2-table td {
    color: #0f172a;
    font-size: 11px;
    line-height: 1.4;
}

.cr2-table td small {
    color: var(--cr2-muted);
    display: block;
    font-size: 10px;
}

.cr2-linked-candidate,
.cr2-sync-pending {
    border-radius: 6px;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 8px;
    text-decoration: none;
}

.cr2-linked-candidate {
    background: #dbeafe;
    color: #1d4ed8;
}

.cr2-linked-candidate:hover,
.cr2-linked-candidate:focus {
    background: #bfdbfe;
    color: #1e40af;
}

.cr2-sync-pending {
    background: #fef3c7;
    color: #92400e;
}

.cr2-status {
    border-radius: 6px;
    display: inline-flex;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 8px;
}

.cr2-status.active,
.cr2-status.registered,
.cr2-status.shortlisted {
    background: #dcfce7;
    color: #15803d;
}

.cr2-status.expected {
    background: #e2e8f0;
    color: #334155;
}

.cr2-status.appeared {
    background: #dbeafe;
    color: #1d4ed8;
}

.cr2-status.inactive,
.cr2-status.outstation {
    background: #fee2e2;
    color: #b91c1c;
}

.cr2-row-menu {
    position: relative;
}

.cr2-row-menu summary {
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    height: 28px;
    list-style: none;
    text-align: center;
    width: 28px;
}

.cr2-row-menu summary::-webkit-details-marker {
    display: none;
}

.cr2-row-menu div {
    background: #fff;
    border: 1px solid var(--cr2-border);
    border-radius: 8px;
    box-shadow: var(--cr2-shadow);
    display: grid;
    min-width: 190px;
    padding: 6px;
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 10;
}

.cr2-row-menu a,
.cr2-row-menu button {
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--cr2-navy);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    padding: 8px 10px;
    text-align: left;
    text-decoration: none;
}

.cr2-row-menu a:hover,
.cr2-row-menu button:hover {
    background: #f1f5f9;
}

.cr2-inline-form {
    display: inline;
    margin: 0;
}

.cr2-qr-chip {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1265d8;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    min-height: 28px;
    padding: 5px 10px;
    text-decoration: none;
    white-space: nowrap;
}

.cr2-qr-chip.active {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #047857;
}

.cr2-qr-chip:hover,
.cr2-qr-chip:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    outline: none;
}

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

.cr2-import-action {
    cursor: pointer;
    min-height: 118px;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.cr2-import-action:hover {
    border-color: var(--cr2-blue);
    box-shadow: 0 14px 30px rgba(18, 101, 216, 0.10);
    transform: translateY(-1px);
}

.cr2-import-action strong,
.cr2-import-action span {
    display: block;
}

.cr2-import-action strong {
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 8px;
}

.cr2-import-action span {
    color: var(--cr2-muted);
    font-size: 12px;
    line-height: 1.45;
}

.cr2-empty-state {
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #e8eef6;
    color: var(--cr2-muted);
    display: grid;
    gap: 6px;
    justify-items: center;
    min-height: 150px;
    padding: 24px;
    text-align: center;
}

.cr2-empty-state strong {
    color: #0f172a;
    font-size: 15px;
}

.cr2-empty-state span {
    max-width: 460px;
}

.cr2-table-footer {
    align-items: center;
    color: var(--cr2-muted);
    display: flex;
    font-size: 11px;
    justify-content: space-between;
    padding: 12px 14px;
}

.cr2-table-footer div {
    align-items: center;
    display: flex;
    gap: 8px;
}

.cr2-table-footer button,
.cr2-table-footer strong {
    align-items: center;
    border: 1px solid #dbe3ef;
    border-radius: 6px;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    min-width: 28px;
}

.cr2-table-footer strong {
    background: var(--cr2-blue);
    border-color: var(--cr2-blue);
    color: #fff;
}

.cr2-side {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 14px;
}

.cr2-side-list,
.cr2-drive-list,
.cr2-activity-list {
    display: grid;
    gap: 10px;
}

.cr2-side-list p {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 28px 1fr auto;
    margin: 0;
}

.cr2-side-list i,
.cr2-activity-list i {
    border-radius: 999px;
    height: 28px;
    width: 28px;
}

.cr2-side-list .blue,
.cr2-activity-list .blue { background: #dbeafe; }
.cr2-side-list .sky { background: #e0f2fe; }
.cr2-side-list .orange { background: #ffedd5; }
.cr2-side-list .violet { background: #ede9fe; }
.cr2-side-list .amber { background: #fef3c7; }
.cr2-side-list .green,
.cr2-activity-list .green { background: #dcfce7; }
.cr2-side-list .indigo { background: #e0e7ff; }

.cr2-side-list span,
.cr2-drive-list span,
.cr2-activity-list small {
    color: var(--cr2-muted);
    font-size: 11px;
}

.cr2-side-list strong,
.cr2-drive-list strong {
    color: #0f172a;
    font-size: 12px;
}

.cr2-drive-list div {
    border-bottom: 1px solid #edf2f7;
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
}

.cr2-drive-list em {
    align-self: start;
    background: #dcfce7;
    border-radius: 6px;
    color: #15803d;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    padding: 4px 8px;
    width: max-content;
}

.cr2-activity-list p {
    display: grid;
    gap: 8px;
    grid-template-columns: 26px 1fr;
    margin: 0;
}

.cr2-activity-list small {
    display: block;
    grid-column: 2;
}

.cr2-drawer {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .2s ease;
    z-index: 100;
}

.cr2-drawer[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.cr2-drawer-backdrop {
    background: rgba(15, 23, 42, 0.26);
    inset: 0;
    position: absolute;
}

.cr2-drawer-panel {
    background: #fff;
    box-shadow: -24px 0 50px rgba(15, 23, 42, 0.18);
    display: grid;
    gap: 16px;
    grid-template-rows: auto 1fr;
    height: 100%;
    max-width: 640px;
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    right: 0;
    transform: translateX(100%);
    transition: transform .2s ease;
    width: min(640px, 92vw);
}

.cr2-drawer[aria-hidden="false"] .cr2-drawer-panel {
    transform: translateX(0);
}

.cr2-drawer [hidden] {
    display: none !important;
}

.cr2-drawer-title,
.cr2-drawer-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.cr2-drawer-title h3 {
    font-size: 20px;
    margin: 4px 0 0;
}

.cr2-drawer-title small,
.cr2-muted {
    color: var(--cr2-muted);
    font-size: 11px;
    font-weight: 800;
}

.cr2-drawer-title button {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    cursor: pointer;
    height: 34px;
    width: 34px;
}

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

.cr2-form h4 {
    font-size: 13px;
    margin: 8px 0 0;
}

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

.cr2-import-grid button {
    background: #f8fafc;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    color: var(--cr2-navy);
    cursor: pointer;
    font-weight: 900;
    min-height: 76px;
}

.cr2-drawer-actions {
    border-top: 1px solid var(--cr2-border);
    gap: 10px;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 16px;
}

@media (max-width: 1700px) {
    .cr2-page {
        min-width: 0;
    }

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

    .cr2-filter-card .wide {
        grid-column: span 2;
    }

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

}

@media (max-width: 1450px) {
    .cr2-workspace {
        grid-template-columns: 1fr;
    }

    .cr2-side {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        position: static;
    }

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

    .cr2-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .ti-sidebar {
        position: relative;
        width: 100%;
        max-width: none;
        min-height: auto;
    }

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

    .cr2-filter-card .wide {
        grid-column: span 2;
    }

    .cr2-side {
        grid-template-columns: 1fr;
    }

    .cr2-tab-summary,
    .cr2-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .cr2-kpi-grid,
    .cr2-filter-card,
    .cr2-analytics-grid,
    .cr2-form-grid,
    .cr2-import-grid,
    .cr2-tab-summary,
    .cr2-status-grid,
    .cr2-import-center {
        grid-template-columns: 1fr;
    }

    .cr2-filter-card .wide {
        grid-column: auto;
    }

    .cr2-global-search {
        min-width: 100%;
    }

    .cr2-hero-actions {
        justify-content: stretch;
    }

    .cr2-preview-ribbon,
    .cr2-hero-actions,
    .cr2-table-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .cr2-button,
    .cr2-preview-ribbon a {
        width: 100%;
    }
}

/* College Registration V2 - one-time college QR and public completion page */
.cr2-button-danger {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.cr2-button-danger:hover {
    background: #fecaca;
}

.cr2-link-button {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    color: #0b63ce;
    cursor: pointer;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
}

.cr2-qr-card {
    margin-bottom: 14px;
}

.cr2-qr-layout {
    display: grid;
    gap: 14px;
    grid-template-columns: 128px minmax(0, 1fr);
}

.cr2-qr-layout img {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 14px;
    height: 128px;
    object-fit: contain;
    padding: 8px;
    width: 128px;
}

.cr2-qr-layout strong,
.cr2-qr-layout span {
    display: block;
}

.cr2-qr-layout span {
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

.cr2-qr-layout input {
    background: #f8fafc;
    border: 1px solid #dbe5f2;
    border-radius: 10px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    padding: 10px 12px;
    width: 100%;
}

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

.cr2-empty-state.small {
    margin-top: 10px;
    min-height: 96px;
    padding: 16px;
}

.cr2-recent-qr-list {
    display: grid;
    gap: 8px;
}

.cr2-recent-qr-list a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    display: flex;
    font-size: 13px;
    font-weight: 800;
    justify-content: space-between;
    padding: 10px 12px;
    text-decoration: none;
}

.cr2-recent-qr-list span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.public-college-body {
    background: #eef5ff;
    color: #12213a;
    font-family: Inter, Arial, sans-serif;
    margin: 0;
}

.public-college-shell {
    margin: 0 auto;
    max-width: 960px;
    padding: 32px 18px;
}

.public-college-card {
    background: #ffffff;
    border: 1px solid #dbe5f2;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
    padding: 28px;
}

.public-college-card header {
    align-items: center;
    border-bottom: 1px solid #e5eaf1;
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
}

.public-college-card header img,
.public-college-success img {
    background: #0b2447;
    border-radius: 12px;
    height: 58px;
    object-fit: contain;
    padding: 8px;
    width: 92px;
}

.public-college-brand-mark {
    align-items: center;
    background: linear-gradient(135deg, #0b2447 0%, #1265d8 100%);
    border-radius: 14px;
    color: #ffffff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 24px;
    font-weight: 900;
    height: 58px;
    justify-content: center;
    letter-spacing: 1px;
    width: 92px;
}

.public-college-brand-mark-large {
    height: 72px;
    margin: 0 auto 20px;
    width: 96px;
}

.public-college-card span {
    color: #1265d8;
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-college-card h1 {
    font-size: 30px;
    line-height: 1.1;
    margin: 4px 0;
}

.public-college-card p {
    color: #64748b;
    margin: 0;
}

.public-college-form h2 {
    border-top: 1px solid #edf2f7;
    font-size: 16px;
    margin: 22px 0 12px;
    padding-top: 18px;
}

.public-college-form h2:first-of-type {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

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

.public-college-form label {
    color: #475569;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 7px;
}

.public-college-form input,
.public-college-form select,
.public-college-form textarea {
    border: 1px solid #d7e1ee;
    border-radius: 12px;
    color: #0f172a;
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.public-college-form textarea {
    min-height: 96px;
}

.public-college-form .errorlist {
    color: #b91c1c;
    font-size: 12px;
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.public-college-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.public-college-actions button {
    background: #1265d8;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    min-height: 46px;
    padding: 0 22px;
}

.public-college-form > button[type="submit"] {
    background: #1265d8;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-left: auto;
    margin-top: 24px;
    min-height: 46px;
    padding: 0 22px;
}

.public-college-closed,
.public-college-error {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    color: #9a3412;
    padding: 16px;
}

.public-college-success {
    text-align: center;
}

.public-college-success img {
    margin: 0 auto 20px;
}

@media (max-width: 760px) {
    .cr2-qr-layout,
    .public-college-grid {
        grid-template-columns: 1fr;
    }

    .public-college-card {
        padding: 20px;
    }
}
