/* MyValidCV Custom Styles */

:root {
    --primary: #17233f;
    --primary-dark: #101a33;
    --validate-dark: #2f3337;
    --validate-dark-hover: #202428;
    --brand-soft: #8fbceb;
    --brand-soft-bg: #eff7ff;
    --logo-orange: #f59e0b;
    --logo-orange-dark: #d97706;
    --success: #7bc8b6;
    --info: #9fd2ff;
    --warning: #f6ad55;
    --danger: #f56565;
    --light: #f7fafc;
    --dark: #2d3748;
    --border-radius: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Global */
* {
    transition: color 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background-color: #fbfbfa;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
}

html {
    scroll-behavior: smooth;
}

/* Product design system: restrained, editorial and recruitment-focused. */
:root {
    --mvcv-brand-navy: #1f3374;
    --mvcv-action-blue: #315ead;
    --mvcv-slate-950: #172033;
    --mvcv-slate-700: #46536a;
    --mvcv-slate-500: #6b778c;
    --mvcv-slate-200: #dfe5ed;
    --mvcv-slate-100: #eef2f6;
    --mvcv-canvas: #f6f8fb;
    --mvcv-surface: #ffffff;
    --border-radius: 8px;
    --shadow: 0 2px 8px rgba(23, 32, 51, 0.05);
    --shadow-lg: 0 6px 18px rgba(23, 32, 51, 0.08);
}

body {
    background: var(--mvcv-canvas);
    color: var(--mvcv-slate-950);
    font-size: 15px;
    line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.018em;
}

.btn {
    border-radius: 7px;
    font-weight: 550;
    padding: 0.58rem 1rem;
}

.btn:hover {
    box-shadow: none;
    transform: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 650;
    line-height: 1.2;
}

.display-4, .display-5 {
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 8px 20px rgba(143, 188, 235, 0.25);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0 !important;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 1.5rem;
}

.card-header {
    background-color: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
}

.bg-gradient {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

/* Forms */
.form-control {
    border-radius: var(--border-radius);
    border: 1px solid #cbd5e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.form-control::placeholder {
    color: #a0aec0;
}

.input-group-text {
    border: 1px solid #cbd5e0 !important;
    border-radius: var(--border-radius) !important;
}

.input-group > .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
}

.input-group > .input-group-text {
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}

/* Navbar */
.navbar {
    box-shadow: var(--shadow);
    background-color: white !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0;
}

.navbar-brand:hover {
    opacity: 0.85;
}

.mvcv-brand-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--primary-dark) !important;
}

.mvcv-brand-mark-mini {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.92), transparent 18%),
        linear-gradient(135deg, var(--logo-orange), var(--logo-orange-dark));
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: #7bc8b6 !important;
}

.nav-link.btn-link {
    padding: 0;
    text-decoration: none;
}

.nav-link.btn-link:hover {
    text-decoration: underline;
}

/* Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 6px;
    font-size: 0.85rem;
}

.badge.bg-success {
    background-color: rgba(123, 200, 182, 0.48) !important;
    color: #245f55 !important;
}
.badge.bg-info { background-color: var(--info) !important; }
.badge.bg-warning { background-color: var(--warning) !important; color: white !important; }
.badge.bg-danger { background-color: var(--danger) !important; }
.badge.bg-primary {
    background-color: rgba(143, 188, 235, 0.42) !important;
    color: var(--primary-dark) !important;
}

.bg-primary {
    background-color: rgba(143, 188, 235, 0.42) !important;
    color: var(--primary-dark) !important;
}

.bg-success {
    background-color: rgba(123, 200, 182, 0.48) !important;
    color: #245f55 !important;
}

.text-white.bg-primary,
.text-white.bg-success,
.bg-primary.text-white,
.bg-success.text-white {
    color: var(--primary-dark) !important;
}

/* Alerts */
.alert {
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    padding: 1.25rem;
}

.alert-danger {
    background-color: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}

.alert-success {
    background-color: #f0fff4;
    border-color: #9ae6b4;
    color: #22543d;
}

.alert-info {
    background-color: #eff6ff;
    border-color: #90cdf4;
    color: #2c5aa0;
}

.alert-warning {
    background-color: #fffaf0;
    border-color: #fbd38d;
    color: #7c2d12;
}

/* Progress bars */
.progress {
    background-color: #e2e8f0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary);
}

.progress-bar.bg-success { background-color: rgba(123, 200, 182, 0.58) !important; }
.progress-bar.bg-primary { background-color: rgba(143, 188, 235, 0.58) !important; }
.progress-bar.bg-info { background-color: var(--info) !important; }
.progress-bar.bg-warning { background-color: var(--warning) !important; }
.progress-bar.bg-danger { background-color: var(--danger) !important; }

/* Tables */
.table {
    border-collapse: collapse;
}

.table thead th {
    background-color: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: #718096;
}

.table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.table tbody tr:hover {
    background-color: #f9fafb;
}

/* Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Utilities */
.fw-semibold {
    font-weight: 600;
}

.text-muted {
    color: #718096 !important;
}

.opacity-75 {
    opacity: 0.75;
}

.d-none {
    display: none !important;
}

.gap-2 {
    gap: 0.5rem;
}

.rounded-4 {
    border-radius: var(--border-radius);
}

.shadow-sm {
    box-shadow: var(--shadow) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .display-4, .display-5 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .total-score-panel {
        flex-direction: column;
        text-align: center;
    }

    .workflow-strip,
    .workflow-strip.compact {
        grid-template-columns: 1fr;
    }

    .workflow-line {
        width: 2px;
        height: 24px;
        min-width: 2px;
        justify-self: center;
    }
}

@media (max-width: 576px) {
    .display-4, .display-5 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* Score circles */
.score-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.score-circle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    filter: blur(8px);
    opacity: 0.4;
    z-index: -1;
}

.ats-showcase-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.score-ring {
    --score: 0;
    --ring-color: var(--primary);
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle closest-side, #ffffff 72%, transparent 73%),
        conic-gradient(var(--ring-color) calc(var(--score) * 1%), #e5e7eb 0);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.score-ring span {
    font-weight: 700;
    color: #1f2937;
}

.score-ring-blue { --ring-color: rgba(143, 188, 235, 0.72); }
.score-ring-info { --ring-color: rgba(159, 210, 255, 0.72); }
.score-ring-green { --ring-color: rgba(123, 200, 182, 0.72); }
.score-ring-warning { --ring-color: #f59e0b; }
.score-ring-total {
    --ring-color: rgba(123, 200, 182, 0.72);
    width: 112px;
    height: 112px;
}

.total-score-panel {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
}

.workflow-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 1rem;
}

.workflow-strip.compact {
    grid-template-columns: 1fr auto 1fr auto 1fr;
}

.workflow-step {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.workflow-step small {
    color: #718096;
}

.workflow-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.workflow-line {
    min-width: 28px;
    align-self: center;
    height: 2px;
    background: #cbd5e0;
}

.home-claude-shell {
    min-height: calc(100vh - 88px);
    padding: 4.5rem 0 3rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(217, 119, 87, 0.14), transparent 33%),
        radial-gradient(circle at 85% 12%, rgba(111, 75, 55, 0.09), transparent 30%),
        #faf7f2;
}

.home-hero {
    max-width: 960px;
    margin: 0 auto 2rem;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #fffaf5;
    color: #76513d;
    font-weight: 700;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1.25rem;
}

.home-hero h1 {
    max-width: 850px;
    margin: 0 auto;
    color: #2f241d;
    font-size: clamp(2.5rem, 6vw, 4.75rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.home-subtitle {
    max-width: 720px;
    margin: 1.25rem auto 0;
    color: #735846;
    font-size: 1.18rem;
}

.home-composer {
    max-width: 860px;
    margin-top: 2rem;
}

.home-composer-top,
.home-shortcuts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.home-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #eadfd3;
    color: #6f4b37;
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
}

.home-pill-plus {
    background: #f4e8dc;
}

.home-prompt-box {
    margin: 0.85rem 0;
    border: 1px solid #eadfd3;
    border-radius: 22px;
    background: #fffdf9;
    box-shadow: 0 22px 60px rgba(88, 61, 42, 0.13);
    padding: 1rem;
}

.home-prompt-box p {
    min-height: 88px;
    border-radius: 16px;
    background: #fff8f0;
    border: 1px solid #f0e2d5;
    color: #6f4b37;
    display: flex;
    align-items: center;
    padding: 1rem;
    text-align: left;
}

.home-claude-shell .btn-primary {
    background: #d97757;
    border-color: #d97757;
    color: #ffffff;
}

.home-claude-shell .btn-primary:hover {
    background: #bd6347;
    box-shadow: 0 10px 24px rgba(217, 119, 87, 0.24);
}

.home-claude-shell .btn-outline-primary {
    border: 1px solid #d8bda9;
    color: #6f4b37;
    background: #ffffff;
}

.home-claude-shell .btn-outline-primary:hover {
    background: #fff7ed;
    color: #2f241d;
}

.home-prompt-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.home-shortcuts a {
    text-decoration: none;
    color: #5f4536;
    background: #ffffff;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-weight: 700;
}

.home-shortcuts a:hover {
    color: #2f241d;
    border-color: #dfc8b5;
    background: #fff7ed;
}

.home-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1040px;
    margin: 2rem auto 0;
}

.home-proof-card {
    border: 1px solid #eadfd3;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    padding: 1rem;
}

.home-proof-card span,
.home-proof-card small {
    display: block;
    color: #7b5b49;
}

.home-proof-card strong {
    display: block;
    color: #2f241d;
    font-size: 1.15rem;
    margin: 0.25rem 0;
}

.home-merged-panel,
.home-report-preview {
    max-width: 1120px;
    margin: 2rem auto 0;
    border: 1px solid #eadfd3;
    border-radius: 24px;
    background: #fffdf9;
    padding: 1.5rem;
    box-shadow: 0 18px 50px rgba(88, 61, 42, 0.09);
}

.home-accordion .accordion-item {
    border-color: #eadfd3;
    background: transparent;
}

.home-accordion .accordion-button {
    color: #2f241d;
    background: #fffaf5;
    font-weight: 800;
}

.home-accordion .accordion-button:not(.collapsed) {
    color: #2f241d;
    background: #f4e8dc;
    box-shadow: none;
}

.home-accordion .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(217, 119, 87, 0.18);
}

.home-step-list,
.home-plan-grid {
    display: grid;
    gap: 0.75rem;
}

.home-step-list span,
.home-plan-grid > div {
    border: 1px solid #eadfd3;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.8rem 0.9rem;
}

.home-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-plan-grid p {
    color: #7b5b49;
    margin: 0.35rem 0 0;
}

.home-report-preview {
    margin-bottom: 1rem;
}

.mvcv-entry-shell,
.mvcv-workspace {
    background: #f7f3ed;
    color: #2f241d;
}

.mvcv-simple-home {
    min-height: calc(100vh - 82px);
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
    background:
        radial-gradient(circle at 20% 0%, rgba(217, 119, 87, 0.12), transparent 34%),
        #faf7f2;
    color: #2f241d;
}

.mvcv-simple-wrap {
    width: min(860px, 100%);
}

.mvcv-simple-hero {
    text-align: center;
    margin-bottom: 1.25rem;
}

.mvcv-simple-badge {
    display: inline-flex;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #fffaf5;
    color: #76513d;
    font-weight: 800;
    padding: 0.42rem 0.8rem;
    margin-bottom: 1rem;
}

.mvcv-simple-hero h1 {
    font-size: clamp(2.4rem, 7vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
}

.mvcv-simple-hero p,
.mvcv-simple-footnote {
    color: #735846;
}

.mvcv-simple-composer {
    border: 1px solid #eadfd3;
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 22px 60px rgba(88, 61, 42, 0.13);
    padding: 0.9rem;
}

.mvcv-simple-cv-row {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 220px);
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 0.65rem;
}

.mvcv-simple-cv-row select,
.mvcv-simple-cv-row input,
.mvcv-simple-extra input {
    border-color: #eadfd3;
    border-radius: 999px;
}

.mvcv-simple-attach,
.mvcv-simple-cv-row button {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #ffffff;
    color: #5f4536;
    padding: 0.55rem 0.85rem;
    font-weight: 800;
    cursor: pointer;
}

.mvcv-simple-attach input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.mvcv-simple-composer textarea,
.mvcv-simple-placeholder {
    width: 100%;
    min-height: 104px;
    max-height: 210px;
    overflow: auto;
    border: 1px solid #f0e2d5;
    border-radius: 18px;
    background: #fff8f0;
    color: #2f241d;
    box-shadow: none;
    padding: 1rem;
}

.mvcv-simple-placeholder {
    color: #8a6c5a;
}

.mvcv-simple-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.mvcv-simple-actions button,
.mvcv-simple-actions a {
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #ffffff;
    color: #5f4536;
    padding: 0.58rem 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.mvcv-simple-actions .mvcv-simple-submit {
    background: #d97757;
    border-color: #d97757;
    color: #ffffff;
}

.mvcv-simple-extra {
    border-top: 1px solid #eadfd3;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
}

.mvcv-simple-footnote {
    text-align: center;
    margin-top: 1rem;
}

.mvcv-simple-footnote a {
    color: #6f4b37;
    font-weight: 800;
}

.mvcv-simple-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.85rem;
}

.mvcv-simple-links button {
    border: 0;
    background: transparent;
    color: #6f4b37;
    font-weight: 800;
    text-decoration: underline;
    padding: 0;
}

.mvcv-simple-copy {
    max-width: 680px;
    margin: 0.75rem auto 0;
    text-align: center;
    color: #735846;
}

.mvcv-simple-result {
    border: 1px solid #eadfd3;
    border-radius: 20px;
    background: #fffdf9;
    box-shadow: 0 16px 44px rgba(88, 61, 42, 0.1);
    margin-top: 1rem;
    padding: 1rem;
}

.mvcv-simple-result h2 {
    margin: 0.55rem 0 0.35rem;
    letter-spacing: -0.02em;
}

.mvcv-simple-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0.85rem;
}

.mvcv-simple-result-grid div {
    border: 1px solid #eadfd3;
    border-radius: 14px;
    background: #ffffff;
    padding: 0.8rem;
}

.mvcv-simple-result-grid strong,
.mvcv-simple-result-grid span {
    display: block;
}

.mvcv-simple-result-grid span {
    color: #735846;
}

.mvcv-simple-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.mvcv-simple-result-actions a {
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #ffffff;
    color: #5f4536;
    padding: 0.5rem 0.85rem;
    font-weight: 800;
    text-decoration: none;
}

.mvcv-ai-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 262px minmax(0, 1fr);
    background:
        radial-gradient(circle at 72% 10%, rgba(143, 188, 235, 0.1), transparent 32%),
        #fbfbfa;
    color: var(--primary-dark);
}

.mvcv-ai-sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
    border-right: 1px solid #e5e7eb;
    background: #f7f7f5;
    padding: 1rem 0.85rem;
}

.mvcv-ai-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--logo-orange-dark);
    font-size: 1.28rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.mvcv-ai-logo,
.mvcv-ai-avatar {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.92), transparent 18%),
        linear-gradient(135deg, var(--logo-orange), var(--logo-orange-dark));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.mvcv-ai-new,
.mvcv-ai-nav a,
.mvcv-ai-recent,
.mvcv-ai-account {
    border-radius: 12px;
}

.mvcv-ai-new {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--brand-soft-bg);
    color: var(--primary-dark);
    padding: 0.62rem 0.75rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.mvcv-ai-section {
    margin-top: 1.6rem;
}

.mvcv-ai-section-title {
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 0.55rem 0.45rem;
}

.mvcv-ai-recent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.58rem;
    align-items: center;
    padding: 0.54rem 0.62rem;
    color: #263245;
    text-decoration: none;
    font-size: 0.84rem;
}

.mvcv-ai-recent:hover,
.mvcv-ai-nav a:hover,
.mvcv-ai-nav a.active {
    background: var(--brand-soft-bg);
}

.mvcv-ai-recent strong,
.mvcv-ai-recent small {
    display: block;
}

.mvcv-ai-recent small,
.mvcv-ai-table-card small {
    color: #6b7280;
}

.mvcv-ai-recent-icon {
    color: #4b5563;
}

.mvcv-ai-recent em,
.mvcv-ai-table-card .good,
.mvcv-ai-table-card .warn,
.mvcv-ai-table-card .risk {
    font-style: normal;
    font-weight: 600;
}

.mvcv-ai-recent em.good,
.mvcv-ai-table-card .good {
    color: #5ab89f;
}

.mvcv-ai-recent em.warn,
.mvcv-ai-table-card .warn {
    color: #f59f00;
}

.mvcv-ai-recent em.risk,
.mvcv-ai-table-card .risk {
    color: #e03131;
}

.mvcv-ai-nav {
    display: grid;
    gap: 0.2rem;
    margin-top: 1.2rem;
}

.mvcv-ai-nav.compact {
    margin-top: 0;
}

.mvcv-ai-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #263245;
    text-decoration: none;
    padding: 0.52rem 0.62rem;
    font-weight: 430;
    font-size: 0.88rem;
}

.mvcv-ai-account {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-top: 1px solid #eef2f1;
    margin-top: 2rem;
    padding: 1rem 0.4rem 0;
}

.mvcv-ai-account strong,
.mvcv-ai-account small {
    display: block;
}

.mvcv-ai-main {
    position: relative;
    min-width: 0;
    padding: 4rem 3rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.mvcv-ai-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 56px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0 1.6rem;
}

.mvcv-ai-top-icons {
    display: flex;
    gap: 0.9rem;
}

.mvcv-ai-top-icons a,
.mvcv-ai-user-menu {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
}

.mvcv-ai-user-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mvcv-ai-hero {
    text-align: center;
    margin: 1.2rem auto 1.1rem;
}

.mvcv-ai-hero h1 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    font-weight: 650;
    letter-spacing: -0.03em;
    margin-bottom: 0.45rem;
    color: var(--primary-dark);
}

.mvcv-ai-hero h1 span {
    color: var(--logo-orange-dark);
}

.mvcv-ai-hero p {
    color: #6b7280;
    font-size: 1.05rem;
    margin: 0;
}

.mvcv-ai-composer-card {
    max-width: 736px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 55px rgba(16, 24, 40, 0.08);
    padding: 1rem 1.15rem 1.15rem;
}

.mvcv-ai-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-bottom: 1px solid #edf0ef;
    margin-bottom: 1rem;
}

.mvcv-ai-tabs button {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.7rem 0.4rem 0.85rem;
}

.mvcv-ai-tabs button.active {
    color: var(--primary);
    box-shadow: inset 0 -2px var(--primary);
}

.mvcv-ai-upload-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 0.65rem;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.38rem;
}

.mvcv-ai-plus,
.mvcv-ai-mode,
.mvcv-ai-voice,
.mvcv-ai-actions a {
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.mvcv-ai-plus {
    position: relative;
    overflow: hidden;
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: var(--primary-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

.mvcv-ai-plus input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.mvcv-ai-selects {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
    gap: 0.5rem;
}

.mvcv-ai-selects select,
.mvcv-ai-selects input,
.mvcv-ai-extra input {
    border-color: transparent;
    border-radius: 999px;
    background: #f8faf9;
}

.mvcv-ai-mode {
    background: transparent;
    color: #374151;
    padding: 0.65rem 0.9rem;
    border: 1px solid transparent;
}

.mvcv-ai-mode-wrap {
    position: relative;
}

.mvcv-ai-mode-wrap:hover .mvcv-ai-mode,
.mvcv-ai-mode:focus {
    background: #f3f4f6;
    border-color: #e5e7eb;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

.mvcv-ai-mode-menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    z-index: 20;
    width: 230px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 38px rgba(17, 24, 39, 0.12);
    padding: 0.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
}

.mvcv-ai-mode-wrap:hover .mvcv-ai-mode-menu,
.mvcv-ai-mode-wrap:focus-within .mvcv-ai-mode-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mvcv-ai-mode-menu button,
.mvcv-ai-mode-menu a {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--primary-dark);
    text-align: left;
    text-decoration: none;
    padding: 0.55rem 0.65rem;
}

.mvcv-ai-mode-menu button:hover,
.mvcv-ai-mode-menu a:hover {
    background: #f7f7f5;
}

.mvcv-ai-mode-menu strong,
.mvcv-ai-mode-menu span {
    display: block;
}

.mvcv-ai-mode-menu strong {
    font-size: 0.86rem;
    font-weight: 600;
}

.mvcv-ai-mode-menu span {
    color: #6b7280;
    font-size: 0.76rem;
}

.mvcv-ai-voice {
    background: var(--validate-dark);
    color: #ffffff;
    padding: 0.65rem 1rem;
}

.mvcv-ai-voice:hover {
    background: var(--validate-dark-hover);
}

.mvcv-ai-form textarea,
.mvcv-ai-guest-box {
    width: 100%;
    min-height: 76px;
    max-height: 180px;
    overflow: auto;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fbfbfa;
    margin-top: 0.75rem;
    padding: 0.9rem;
    box-shadow: none;
}

.mvcv-ai-alert-toggle {
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.5rem 0.15rem 0;
}

.mvcv-ai-alert-toggle:hover {
    color: var(--primary);
    text-decoration: underline;
}

.mvcv-ai-alert-note {
    color: #6b7280;
    font-size: 0.84rem;
    margin-bottom: 0.75rem;
}

.mvcv-ai-guest-input {
    color: #6b7280;
}

.mvcv-ai-guest-box {
    color: #98a2b3;
}

.mvcv-ai-extra {
    border-top: 1px solid #edf0ef;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
}

.mvcv-ai-actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1rem 0 3.8rem;
}

.mvcv-ai-actions a {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    padding: 0.75rem 1.6rem;
    font-weight: 500;
}

.mvcv-ai-composer-card .mvcv-ai-tabs {
    display: none;
}

.mvcv-ai-composer-card {
    padding: 1rem;
}

.mvcv-ai-form {
    position: relative;
}

.mvcv-ai-upload-row {
    grid-template-columns: 42px minmax(170px, 1fr) auto 48px;
    min-height: 58px;
    background: #ffffff;
}

.mvcv-ai-plus:hover,
.mvcv-ai-mode:hover,
.mvcv-ai-voice:hover,
.mvcv-ai-actions a:hover {
    background: #eef2f6;
    color: #111827;
}

.mvcv-ai-selects {
    grid-template-columns: minmax(0, 1fr);
}

.mvcv-ai-selects input {
    display: none;
}

.mvcv-ai-selects select {
    min-height: 42px;
    padding-left: 1rem;
}

.mvcv-ai-mode {
    min-width: 172px;
    font-size: 0;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.mvcv-ai-mode::before {
    content: "Job responsibility";
    font-size: 0.9rem;
}

.mvcv-ai-mode[data-label]::before {
    content: attr(data-label);
}

.mvcv-ai-mode::after {
    content: " v";
    font-size: 0.82rem;
}

.mvcv-ai-mode-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 16px;
    height: 16px;
    border: 2px solid #d0d5dd;
    border-top-color: #667085;
    border-radius: 50%;
    transform: translateY(-50%);
}

.mvcv-ai-mode-wrap {
    margin-right: 1.7rem;
}

.mvcv-ai-mode-menu {
    right: -1.6rem;
}

.mvcv-ai-mode-menu button,
.mvcv-ai-mode-menu a {
    font-size: 0.9rem;
}

.mvcv-ai-voice {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    font-size: 0;
}

.mvcv-ai-voice::before {
    content: "↑";
    font-size: 1.35rem;
    line-height: 1;
}

.mvcv-ai-form textarea,
.mvcv-ai-guest-box {
    min-height: 61px;
    height: 112px;
    max-height: 145px;
    resize: vertical;
}

.mvcv-ai-actions a:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.mvcv-ai-result,
.mvcv-ai-feature-grid article,
.mvcv-ai-table-card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 14px 44px rgba(16, 24, 40, 0.06);
}

.mvcv-ai-result {
    max-width: 860px;
    margin: -2.4rem auto 1.6rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mvcv-ai-result strong,
.mvcv-ai-result span {
    display: block;
}

.mvcv-ai-result strong {
    font-size: 1.7rem;
    color: var(--primary-dark);
}

.mvcv-ai-result p {
    margin: 0.4rem 0 0;
    color: #6b7280;
}

.mvcv-ai-result-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mvcv-ai-result-actions a {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #374151;
    text-decoration: none;
    padding: 0.55rem 0.85rem;
    font-weight: 800;
}

.mvcv-ai-feature-grid {
    max-width: 840px;
    margin: 0 auto 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.mvcv-ai-feature-grid article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.8rem;
    padding: 0.9rem;
}

.mvcv-ai-feature-grid article span {
    grid-row: span 2;
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--brand-soft-bg);
    color: var(--primary-dark);
    font-weight: 700;
}

.mvcv-ai-feature-grid article p {
    color: #6b7280;
    margin: 0.3rem 0 0;
}

.mvcv-ai-table-card {
    max-width: 840px;
    margin: 0 auto;
    overflow: hidden;
}

.mvcv-ai-table-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #e5e7eb;
}

.mvcv-ai-table-head a,
.mvcv-ai-table-card td a {
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}

.mvcv-ai-table-card th {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.82rem;
}

.mvcv-ai-pill,
.mvcv-ai-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.mvcv-ai-pill {
    background: #eef2f6;
    color: #475467;
}

.mvcv-ai-status {
    background: #e8f7f4;
    color: #4c9b8c;
}

.mvcv-entry-shell {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 280px 1fr;
}

.mvcv-entry-sidebar,
.mvcv-sidebar {
    background: #f3eadf;
    border-right: 1px solid #e3d5c8;
}

.mvcv-entry-sidebar {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mvcv-entry-brand,
.mvcv-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #2f241d;
    text-decoration: none;
}

.mvcv-entry-brand span,
.mvcv-brand-mark span,
.mvcv-avatar {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #d97757;
    color: #ffffff;
    font-weight: 800;
}

.mvcv-entry-nav,
.mvcv-side-nav {
    display: grid;
    gap: 0.35rem;
}

.mvcv-entry-nav a,
.mvcv-side-nav a,
.mvcv-history-item,
.mvcv-sidebar-footer a {
    color: #574034;
    text-decoration: none;
}

.mvcv-entry-nav a,
.mvcv-side-nav a {
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    font-weight: 700;
}

.mvcv-entry-nav a:hover,
.mvcv-entry-nav a.active,
.mvcv-side-nav a:hover,
.mvcv-side-nav a.active {
    background: #fffaf5;
    color: #2f241d;
}

.mvcv-entry-account,
.mvcv-sidebar-footer {
    margin-top: auto;
    border: 1px solid #e3d5c8;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.56);
    padding: 0.85rem;
}

.mvcv-entry-account span,
.mvcv-entry-account small,
.mvcv-sidebar-footer small {
    display: block;
}

.mvcv-entry-main {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.mvcv-entry-center {
    width: min(780px, 100%);
    text-align: center;
}

.mvcv-mini-label {
    color: #7a5b48;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.mvcv-entry-center h1 {
    font-size: clamp(2.35rem, 7vw, 4.9rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.mvcv-entry-copy {
    max-width: 580px;
    margin: 0 auto 1.5rem;
    color: #735846;
    font-size: 1.1rem;
}

.mvcv-home-composer {
    border: 1px solid #e3d5c8;
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 22px 60px rgba(88, 61, 42, 0.13);
    padding: 0.9rem;
    text-align: left;
}

.mvcv-home-input {
    min-height: 112px;
    border: 1px solid #f0e2d5;
    border-radius: 18px;
    background: #fff8f0;
    color: #8a6c5a;
    padding: 1rem;
}

.mvcv-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.8rem;
}

.mvcv-home-actions span,
.mvcv-home-actions a {
    border: 1px solid #eadfd3;
    border-radius: 999px;
    padding: 0.55rem 0.85rem;
    color: #5f4536;
    background: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.mvcv-home-actions a {
    margin-left: auto;
    background: #d97757;
    border-color: #d97757;
    color: #ffffff;
}

.mvcv-simulator-note {
    margin: 1rem auto 0;
    max-width: 680px;
    color: #735846;
}

.mvcv-workspace {
    min-height: calc(100vh - 82px);
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
}

.mvcv-sidebar {
    height: calc(100vh - 82px);
    position: sticky;
    top: 82px;
    display: flex;
    flex-direction: column;
    padding: 0.9rem;
    overflow: auto;
}

.mvcv-sidebar-top {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.mvcv-new-action {
    display: block;
    border-radius: 14px;
    background: var(--primary);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem;
}

.mvcv-sidebar-section {
    margin-top: 1rem;
}

.mvcv-sidebar-heading {
    color: #6b7280;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0.5rem 0.35rem;
}

.mvcv-history-item {
    display: block;
    border-radius: 12px;
    padding: 0.62rem 0.7rem;
}

.mvcv-history-item:hover {
    background: var(--brand-soft-bg);
}

.mvcv-history-item span,
.mvcv-history-item small,
.mvcv-empty-small {
    display: block;
}

.mvcv-history-item small,
.mvcv-empty-small {
    color: #6b7280;
    font-size: 0.8rem;
}

.mvcv-chat-main {
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    height: calc(100vh - 82px);
}

.mvcv-chat-topbar {
    min-height: 60px;
    border-bottom: 1px solid #eadfd3;
    background: rgba(255, 253, 249, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
}

.mvcv-chat-topbar span {
    display: block;
    color: #7b5b49;
    font-size: 0.86rem;
}

.mvcv-mobile-menu {
    display: none;
    border: 1px solid #eadfd3;
    border-radius: 10px;
    background: #ffffff;
    color: #5f4536;
    padding: 0.45rem 0.7rem;
    font-weight: 800;
}

.mvcv-account-select {
    width: auto;
    min-width: 245px;
    border-color: #eadfd3;
    border-radius: 999px;
    background-color: #fffaf5;
    color: #5f4536;
    font-weight: 700;
}

.mvcv-top-cta {
    white-space: nowrap;
}

.mvcv-mobile-collapse {
    border-bottom: 1px solid #eadfd3;
    background: #fffdf9;
    padding: 0.75rem 1rem;
}

.mvcv-mobile-collapse a {
    display: inline-block;
    margin: 0.2rem;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    color: #5f4536;
    text-decoration: none;
    font-weight: 700;
}

.mvcv-chat-scroll {
    overflow: auto;
    padding: 1.5rem 1rem;
}

.mvcv-message {
    max-width: 980px;
    margin: 0 auto 1.1rem;
    display: flex;
    gap: 0.75rem;
}

.mvcv-user-message {
    justify-content: flex-end;
}

.mvcv-user-message .mvcv-bubble {
    max-width: 520px;
    background: #fffaf5;
}

.mvcv-user-message .mvcv-bubble span {
    display: block;
    color: #856855;
}

.mvcv-bubble {
    border: 1px solid #eadfd3;
    border-radius: 18px;
    background: #fffdf9;
    padding: 1rem;
    box-shadow: 0 10px 28px rgba(88, 61, 42, 0.06);
}

.mvcv-bubble h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.85rem, 4vw, 3.2rem);
    letter-spacing: -0.03em;
}

.mvcv-hero-bubble {
    max-width: 820px;
}

.mvcv-trend-label {
    display: inline-flex;
    align-items: center;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #fff7ed;
    color: #7b5b49;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.35rem 0.7rem;
    margin-bottom: 0.75rem;
}

.mvcv-bubble p {
    color: #735846;
}

.mvcv-quick-row,
.mvcv-composer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.mvcv-chip,
.mvcv-composer-actions button {
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #ffffff;
    color: #5f4536;
    padding: 0.55rem 0.85rem;
    font-weight: 800;
}

.mvcv-chip:hover,
.mvcv-composer-actions button:hover {
    background: #fff7ed;
}

/* Global customer-service assistant */
.mvcv-assistant {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 1080;
    font-family: inherit;
}

.mvcv-assistant-button {
    border: 1px solid rgba(31, 51, 116, 0.18);
    border-radius: 999px;
    background: var(--mvcv-brand-primary, #1f3374);
    color: var(--mvcv-brand-on-primary, #ffffff);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.22);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    padding: 0.78rem 1rem;
}

.mvcv-assistant-button:hover,
.mvcv-assistant-button:focus {
    background: var(--mvcv-brand-hover, #17275f);
    color: var(--mvcv-brand-on-primary, #ffffff);
}

.mvcv-assistant-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18);
}

.mvcv-assistant-panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 3.9rem;
    width: min(430px, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid #dce4f2;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.24);
}

.mvcv-assistant.open .mvcv-assistant-panel {
    display: block;
}

.mvcv-assistant-header {
    background: linear-gradient(135deg, #1f3374, #4f46e5);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
}

.mvcv-assistant-header strong,
.mvcv-assistant-header span {
    display: block;
}

.mvcv-assistant-header span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
}

.mvcv-assistant-header span i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.25rem;
    border-radius: 999px;
    background: #7ee2b8;
}

.mvcv-assistant-header-actions {
    display: flex;
    gap: 0.35rem;
}

.mvcv-assistant-header button {
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    line-height: 1;
}

.mvcv-assistant-body {
    max-height: 430px;
    overflow: auto;
    padding: 0.9rem;
    background: #f8fafc;
}

.mvcv-assistant-messages {
    max-height: 255px;
    overflow-y: auto;
    padding-right: 0.2rem;
    scroll-behavior: smooth;
}

.mvcv-assistant-route {
    border-top: 1px solid #e2e8f0;
    margin-top: 0.35rem;
    padding-top: 0.75rem;
}

.mvcv-assistant-route > strong {
    color: #334155;
    font-size: 0.78rem;
}

.mvcv-assistant-message {
    border-radius: 15px;
    margin-bottom: 0.65rem;
    padding: 0.72rem 0.82rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mvcv-assistant-message.bot {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
}

.mvcv-assistant-message.user {
    background: var(--mvcv-brand-primary, #1f3374);
    color: var(--mvcv-brand-on-primary, #ffffff);
    margin-left: 2.4rem;
}

.mvcv-assistant-message.bot + .mvcv-assistant-message.bot {
    margin-top: -0.25rem;
}

.mvcv-assistant-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.mvcv-assistant-prompts button {
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    color: #1f3374;
    font-size: 0.78rem;
    font-weight: 760;
    padding: 0.42rem 0.62rem;
}

.mvcv-assistant-prompts button:hover,
.mvcv-assistant-prompts button:focus {
    background: #eef3ff;
}

.mvcv-assistant-privacy {
    color: #475569;
    font-size: 0.76rem;
    line-height: 1.4;
    margin: 0.8rem 0 0;
}

.mvcv-assistant-support {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.mvcv-assistant-support a {
    color: #1f3374;
    font-size: 0.75rem;
    font-weight: 700;
}

.mvcv-assistant-form button:disabled,
.mvcv-assistant-prompts button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.mvcv-assistant-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem;
    border-top: 1px solid #e2e8f0;
    padding: 0.75rem;
    background: #ffffff;
}

.mvcv-assistant-form input {
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    min-width: 0;
    padding: 0.65rem 0.82rem;
}

.mvcv-assistant-form button {
    border: 0;
    border-radius: 999px;
    background: #1f3374;
    color: #ffffff;
    font-weight: 800;
    padding: 0.65rem 0.85rem;
}

/* Reusable experience feedback */
.mvcv-feedback {
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff, #f7f8ff);
    box-shadow: 0 14px 34px rgba(31, 51, 116, 0.08);
    color: #0f172a;
    overflow: hidden;
}

.mvcv-feedback-visible {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    padding: 0.55rem 0.7rem;
}

.mvcv-feedback > summary {
    align-items: center;
    color: #1f3374;
    cursor: pointer;
    display: flex;
    font-weight: 800;
    gap: 0.55rem;
    list-style: none;
    padding: 0.9rem 1rem;
}

.mvcv-feedback > summary::-webkit-details-marker { display: none; }
.mvcv-feedback-summary-icon { color: #d69e2e; font-size: 1.15rem; }
.mvcv-feedback[open] > summary { border-bottom: 1px solid #e2e8f0; }

.mvcv-feedback-header {
    align-items: center;
    border: 0;
    display: flex;
    flex: 0 1 17rem;
    padding: 0 0.7rem 0 0;
}

.mvcv-feedback-header h2 {
    color: #1f3374;
    font-size: 0.88rem;
    font-weight: 800;
    margin: 0.08rem 0 0;
}

.mvcv-feedback-header p {
    color: #64748b;
    font-size: 0.68rem;
    margin: 0;
}

.mvcv-feedback-kicker {
    color: #4f46e5;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mvcv-feedback-recognition {
    align-items: center;
    color: #334155;
    display: flex;
    font-size: 0.74rem;
    gap: 0.35rem;
    margin: 0 0 0 auto;
    max-width: 30rem;
}

.mvcv-feedback-recognition > span {
    color: #4f46e5;
    font-size: 1rem;
    line-height: 1;
}

.mvcv-feedback-form {
    align-items: center;
    display: flex;
    flex: 1 1 24rem;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    padding: 0;
}

.mvcv-feedback-quick {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
}

.mvcv-feedback-quick legend {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
}

.mvcv-feedback fieldset {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.mvcv-feedback legend,
.mvcv-feedback-comment > span {
    color: #1f3374;
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.mvcv-feedback legend span,
.mvcv-feedback-comment small {
    color: #64748b;
    font-weight: 500;
}

.mvcv-star-rating {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.mvcv-star-rating input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.mvcv-star-rating label {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
    padding: 0.12rem;
    transition: color 150ms ease, transform 150ms ease;
}

.mvcv-star-rating label:hover,
.mvcv-star-rating label:hover ~ label,
.mvcv-star-rating input:checked ~ label {
    color: #d69e2e;
}

.mvcv-star-rating input:focus-visible + label {
    border-radius: 5px;
    outline: 3px solid rgba(79, 70, 229, 0.3);
}

.mvcv-star-rating label:hover { transform: translateY(-2px); }

.mvcv-feedback-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mvcv-feedback-more {
    border: 0;
    margin: 0;
}

.mvcv-feedback-more[open] {
    flex-basis: 100%;
}

.mvcv-feedback-more > summary {
    color: #475569;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 750;
    list-style: none;
    padding: 0.3rem 0;
}

.mvcv-feedback-more > summary::-webkit-details-marker { display: none; }
.mvcv-feedback-more > summary::before { content: ""; }
.mvcv-feedback-more[open] > summary::before { content: ""; }
.mvcv-feedback-more > summary span { color: #64748b; font-weight: 500; }

.mvcv-feedback-more-body {
    background: var(--mvcv-surface, #ffffff);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: grid;
    flex-basis: 100%;
    gap: 0.75rem;
    margin-top: 0.5rem;
    padding: 0.7rem;
}

.mvcv-feedback-categories legend { flex-basis: 100%; }
.mvcv-feedback-categories label {
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.76rem;
    padding: 0.35rem 0.58rem;
}

.mvcv-feedback-categories label:has(input:checked) {
    background: #eef3ff;
    border-color: #4f46e5;
    color: #1f3374;
}

.mvcv-feedback-categories input {
    accent-color: #4f46e5;
    margin-right: 0.25rem;
}

.mvcv-feedback-comment textarea {
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    color: #0f172a;
    padding: 0.65rem;
    width: 100%;
}

.mvcv-testimonial-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: grid;
    font-size: 0.8rem;
    gap: 0.55rem;
    padding: 0.75rem;
}

.mvcv-testimonial-option[hidden] { display: none; }
.mvcv-identity-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.mvcv-identity-options legend {
    flex-basis: 100%;
    font-size: 0.76rem;
    margin-bottom: 0.1rem;
}

.mvcv-identity-options label {
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    cursor: pointer;
    padding: 0.3rem 0.55rem;
}

.mvcv-identity-options label:has(input:checked) {
    background: #eef3ff;
    border-color: #4f46e5;
    color: #1f3374;
}

.mvcv-identity-options input {
    accent-color: #4f46e5;
    margin-right: 0.2rem;
}

.mvcv-feedback-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 0.65rem; }
.mvcv-feedback-actions button {
    background: var(--mvcv-brand-primary, #1f3374);
    border: 0;
    border-radius: 999px;
    color: var(--mvcv-brand-on-primary, #ffffff);
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.42rem 0.68rem;
}

.mvcv-feedback-actions [role="status"] { color: #15803d; font-size: 0.78rem; }
.mvcv-feedback.compact { box-shadow: none; margin-top: 0.75rem; }
.mvcv-feedback.compact > summary { font-size: 0.82rem; padding: 0.65rem 0.75rem; }
.mvcv-feedback.compact .mvcv-feedback-form { padding: 0.75rem; }
.mvcv-feedback.compact .mvcv-star-rating label { font-size: 1.5rem; }

html[data-bs-theme="dark"] .mvcv-assistant-panel,
html[data-bs-theme="dark"] .mvcv-assistant-form,
html[data-bs-theme="dark"] .mvcv-assistant-message.bot,
html[data-bs-theme="dark"] .mvcv-assistant-prompts button {
    background: #111c33;
    color: #f8fafc;
    border-color: #273449;
}

html[data-bs-theme="dark"] .mvcv-feedback,
html[data-bs-theme="dark"] .mvcv-testimonial-option {
    background: #111c33;
    border-color: #273449;
    color: #f8fafc;
}

html[data-bs-theme="dark"] .mvcv-feedback legend,
html[data-bs-theme="dark"] .mvcv-feedback-comment > span,
html[data-bs-theme="dark"] .mvcv-feedback > summary,
html[data-bs-theme="dark"] .mvcv-feedback-header h2 {
    color: #c7d2fe;
}

html[data-bs-theme="dark"] .mvcv-feedback-header p,
html[data-bs-theme="dark"] .mvcv-feedback-recognition {
    color: #cbd5e1;
}

html[data-bs-theme="dark"] .mvcv-feedback-recognition {
    color: #cbd5e1;
}

html[data-bs-theme="dark"] .mvcv-feedback-more {
    border-color: #273449;
}

html[data-bs-theme="dark"] .mvcv-feedback-more > summary {
    color: #cbd5e1;
}

@media (max-width: 640px) {
    .mvcv-feedback-visible {
        align-items: flex-start;
        padding: 0.6rem 0.7rem;
    }

    .mvcv-feedback-header {
        flex-basis: 100%;
        padding: 0 0 0.4rem;
    }

    .mvcv-feedback-header p {
        display: inline;
    }

    .mvcv-feedback-quick {
        align-items: center;
    }

    .mvcv-feedback-form {
        gap: 0.25rem 0.55rem;
    }
}

html[data-bs-theme="dark"] .mvcv-feedback-comment textarea {
    background: #0b1224;
    border-color: #334155;
    color: #f8fafc;
}

html[data-bs-theme="dark"] .mvcv-assistant-body {
    background: #0f172a;
}

html[data-bs-theme="dark"] .mvcv-assistant-form input {
    background: #0b1224;
    color: #f8fafc;
    border-color: #273449;
}

@media (prefers-color-scheme: dark) {
    html:not([data-bs-theme="light"]) .mvcv-assistant-panel,
    html:not([data-bs-theme="light"]) .mvcv-assistant-form,
    html:not([data-bs-theme="light"]) .mvcv-assistant-message.bot,
    html:not([data-bs-theme="light"]) .mvcv-assistant-prompts button {
        background: #111c33;
        color: #f8fafc;
        border-color: #273449;
    }

    html:not([data-bs-theme="light"]) .mvcv-assistant-body {
        background: #0f172a;
    }

    html:not([data-bs-theme="light"]) .mvcv-assistant-form input {
        background: #0b1224;
        color: #f8fafc;
        border-color: #273449;
    }
}

@media (max-width: 575px) {
    .mvcv-assistant {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .mvcv-assistant-panel {
        position: fixed;
        inset: 0.75rem 0.75rem 4.6rem;
        width: auto;
        max-height: none;
    }

    .mvcv-assistant-body {
        max-height: calc(100vh - 12.5rem);
    }
}

.mvcv-chip.paid-action::after {
    content: "Plus";
    margin-left: 0.45rem;
    border-radius: 999px;
    background: #f4e8dc;
    padding: 0.1rem 0.4rem;
    color: #6f4b37;
    font-size: 0.72rem;
}

.mvcv-chip.disabled {
    opacity: 0.55;
}

.mvcv-empty-state {
    max-width: 980px;
    margin: 1rem auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.mvcv-empty-card {
    border: 1px solid #eadfd3;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    padding: 1rem;
}

.mvcv-empty-card strong,
.mvcv-empty-card span {
    display: block;
}

.mvcv-empty-card span {
    color: #735846;
}

.mvcv-result-bubble {
    width: 100%;
}

.mvcv-result-header,
.mvcv-draft-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.mvcv-result-header h2 {
    margin: 0.45rem 0 0.2rem;
}

.mvcv-score-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
    text-align: center;
    margin: 1rem 0;
}

.mvcv-score-grid small {
    display: block;
    color: #735846;
    margin-top: 0.4rem;
}

.mvcv-total-score {
    border-left: 1px solid #eadfd3;
}

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

.mvcv-insight-card,
.mvcv-recommendation,
.mvcv-draft-panel {
    border: 1px solid #eadfd3;
    border-radius: 16px;
    background: #ffffff;
    padding: 1rem;
}

.mvcv-insight-card.good {
    border-left: 4px solid rgba(123, 200, 182, 0.72);
}

.mvcv-insight-card.risk {
    border-left: 4px solid #f56565;
}

.mvcv-recommendation,
.mvcv-draft-panel {
    margin-top: 0.85rem;
}

.mvcv-draft-head small {
    display: block;
    color: #735846;
}

.mvcv-draft-panel pre {
    white-space: pre-wrap;
    max-height: 420px;
    overflow: auto;
    margin: 0.85rem 0 0;
    border: 1px solid #eadfd3;
    border-radius: 12px;
    background: #fff8f0;
    padding: 1rem;
}

.mvcv-composer {
    width: min(980px, calc(100% - 2rem));
    margin: 0 auto 1rem;
    border: 1px solid #e3d5c8;
    border-radius: 22px;
    background: #fffdf9;
    padding: 0.85rem;
    box-shadow: 0 20px 55px rgba(88, 61, 42, 0.13);
}

.mvcv-composer-top {
    margin-bottom: 0.65rem;
}

.mvcv-field-row {
    display: grid;
    grid-template-columns: auto minmax(160px, 1fr) auto minmax(140px, 210px);
    gap: 0.55rem;
    align-items: center;
}

.mvcv-field-row > span {
    border-radius: 999px;
    background: #f4e8dc;
    color: #6f4b37;
    padding: 0.45rem 0.7rem;
    font-weight: 800;
}

.mvcv-field-row select,
.mvcv-field-row input,
.mvcv-extra-panel input,
.mvcv-extra-panel select {
    border-radius: 999px;
    border-color: #eadfd3;
}

.mvcv-attach {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    background: #ffffff;
    color: #5f4536;
    padding: 0.55rem 0.85rem;
    font-weight: 800;
    cursor: pointer;
}

.mvcv-attach input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.mvcv-composer textarea {
    min-height: 92px;
    max-height: 230px;
    resize: vertical;
    border: 1px solid #f0e2d5;
    border-radius: 16px;
    background: #fff8f0;
    color: #2f241d;
    box-shadow: none;
}

.mvcv-guest-composer {
    display: grid;
    gap: 0.7rem;
}

.mvcv-guest-input {
    min-height: 92px;
    border: 1px solid #f0e2d5;
    border-radius: 16px;
    background: #fff8f0;
    color: #8a6c5a;
    padding: 1rem;
}

.mvcv-composer-actions {
    justify-content: flex-end;
    margin-top: 0.65rem;
}

.mvcv-composer-actions .mvcv-send {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    text-decoration: none;
}

.mvcv-extra-panel {
    border-top: 1px solid #eadfd3;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
}

.validate-page {
    background:
        radial-gradient(circle at top left, rgba(66, 133, 244, 0.08), transparent 34%),
        radial-gradient(circle at top right, rgba(52, 168, 83, 0.08), transparent 30%),
        #f8fafc;
}

.claude-validate-page {
    background:
        radial-gradient(circle at 20% 0%, rgba(216, 119, 87, 0.12), transparent 34%),
        radial-gradient(circle at 80% 8%, rgba(139, 92, 59, 0.09), transparent 30%),
        #faf7f2;
}

.validate-hero h1 {
    color: #2f241d;
}

.user-type-select {
    width: auto;
    min-width: 210px;
    border-radius: 999px;
    border-color: #e7d8ca;
    background-color: #fffaf5;
    color: #4a3428;
    font-weight: 600;
}

.usage-chip {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    border: 1px solid #eadfd3;
    background: #ffffff;
    color: #7b5b49;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.validate-console {
    max-width: 960px;
    margin: 0 auto;
}

.validate-input-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.chat-composer-card {
    border-color: #eadfd3;
    background: #fffdf9;
    box-shadow: 0 18px 48px rgba(88, 61, 42, 0.12);
}

.composer-topbar {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(160px, 220px);
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.85rem;
}

.composer-cv-select {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.composer-label {
    display: inline-flex;
    align-items: center;
    height: 36px;
    border-radius: 999px;
    padding: 0 0.7rem;
    background: #f4e8dc;
    color: #6f4b37;
    font-weight: 700;
    font-size: 0.85rem;
}

.composer-cv-select select,
.composer-title-field input {
    border-radius: 999px;
    background: #ffffff;
    border-color: #eadfd3;
}

.clip-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid #eadfd3;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #ffffff;
    color: #5f4536;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
}

.clip-button::before {
    content: '+';
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 0.4rem;
    background: #d97757;
    color: #ffffff;
    font-weight: 800;
    line-height: 1;
}

.clip-button input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.validate-input-card textarea {
    min-height: 160px;
    resize: vertical;
    border: 0;
    box-shadow: none;
    background: #f8fafc;
    border-radius: 14px;
}

.chat-composer-card textarea {
    background: #fff8f0;
    border: 1px solid #f0e2d5;
    color: #2f241d;
}

.validate-input-card textarea:focus {
    box-shadow: inset 0 0 0 2px rgba(102, 126, 234, 0.25);
}

.composer-help {
    display: block;
    color: #8a6c5a;
    margin-top: 0.35rem;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.quick-action {
    border: 1px solid #eadfd3;
    background: #ffffff;
    color: #5f4536;
    border-radius: 999px;
    padding: 0.58rem 0.95rem;
    font-weight: 700;
}

.quick-action:hover {
    background: #fff7ed;
    border-color: #dfc8b5;
}

.quick-action.primary-action {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.quick-action.paid-action::after {
    content: 'Plus';
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #f4e8dc;
    color: #6f4b37;
    font-size: 0.72rem;
}

.quick-action.disabled {
    opacity: 0.55;
}

@media (max-width: 768px) {
    .mvcv-ai-app {
        grid-template-columns: 1fr;
    }

    .mvcv-ai-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid #e7ecea;
    }

    .mvcv-ai-section,
    .mvcv-ai-account {
        display: none;
    }

    .mvcv-ai-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.2rem;
    }

    .mvcv-ai-nav a {
        white-space: nowrap;
    }

    .mvcv-ai-main {
        padding: 2rem 1rem;
    }

    .mvcv-ai-top-icons {
        display: none;
    }

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

    .mvcv-ai-upload-row,
    .mvcv-ai-selects,
    .mvcv-ai-feature-grid,
    .mvcv-ai-result {
        grid-template-columns: 1fr;
    }

    .mvcv-ai-result {
        display: block;
    }

    .mvcv-ai-result-actions {
        margin-top: 0.85rem;
    }

    .mvcv-ai-actions a,
    .mvcv-ai-result-actions a {
        width: 100%;
        text-align: center;
    }

    .mvcv-simple-home {
        align-items: start;
        padding-top: 2rem;
    }

    .mvcv-simple-cv-row {
        grid-template-columns: 1fr;
    }

    .mvcv-simple-actions button,
    .mvcv-simple-actions a,
    .mvcv-simple-result-actions a {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .mvcv-simple-result-grid {
        grid-template-columns: 1fr;
    }

    .mvcv-entry-shell,
    .mvcv-workspace {
        display: block;
    }

    .mvcv-entry-sidebar,
    .mvcv-sidebar {
        display: none;
    }

    .mvcv-entry-main {
        min-height: calc(100vh - 82px);
        padding: 1.25rem;
    }

    .mvcv-home-actions a {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .mvcv-chat-main {
        height: auto;
        min-height: calc(100vh - 82px);
    }

    .mvcv-mobile-menu {
        display: inline-flex;
    }

    .mvcv-account-select {
        display: none;
    }

    .mvcv-empty-state,
    .mvcv-score-grid,
    .mvcv-insight-grid {
        grid-template-columns: 1fr;
    }

    .mvcv-total-score {
        border-left: 0;
        border-top: 1px solid #eadfd3;
        padding-top: 0.8rem;
    }

    .mvcv-message {
        align-items: flex-start;
    }

    .mvcv-avatar {
        flex: 0 0 auto;
    }

    .mvcv-field-row {
        grid-template-columns: 1fr;
    }

    .mvcv-composer {
        width: calc(100% - 1rem);
    }

    .mvcv-composer-actions button {
        width: 100%;
    }

    .home-claude-shell {
        padding-top: 3rem;
    }

    .home-hero h1 {
        font-size: 2.8rem;
    }

    .home-prompt-actions,
    .home-prompt-actions .btn {
        width: 100%;
    }

    .home-proof-grid,
    .home-plan-grid {
        grid-template-columns: 1fr;
    }

    .home-merged-panel,
    .home-report-preview {
        border-radius: 18px;
        padding: 1rem;
    }

    .composer-topbar {
        grid-template-columns: 1fr;
    }

    .composer-cv-select {
        align-items: stretch;
        flex-direction: column;
    }

    .clip-button,
    .quick-action,
    .quick-action.primary-action {
        width: 100%;
    }
}

.validate-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tool-pill {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-weight: 600;
}

.tool-pill:hover {
    border-color: #cbd5e0;
    background: #f8fafc;
}

.validate-button {
    border-radius: 999px;
    min-width: 132px;
}

.usage-hint {
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
}

.result-console {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.insight-card {
    border: 1px solid #e5e7eb;
    border-left-width: 4px;
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
    height: 100%;
}

.suggested-cv-panel {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem;
    background: #f8fafc;
}

.suggested-cv-panel pre {
    white-space: pre-wrap;
    margin: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    max-height: 520px;
    overflow: auto;
}

/* Icon boxes */
.icon-box {
    display: inline-block;
}

/* Loading state */
.btn.loading {
    opacity: 0.8;
    pointer-events: none;
}

/* Admin health report */
.health-card {
    border-radius: 12px;
}

.metric-tile {
    border: 1px solid #edf1f7;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    background: rgba(248, 250, 252, 0.72);
}

.metric-tile span,
.provider-row span {
    display: block;
    color: #667085;
    font-size: 0.82rem;
}

.metric-tile strong {
    display: block;
    color: #18223a;
    font-size: 1.35rem;
    line-height: 1.2;
    margin-top: 0.15rem;
}

.provider-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid #edf1f7;
}

.provider-row:last-of-type {
    border-bottom: 0;
}

.admin-control-tile {
    display: block;
    height: 100%;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    background: rgba(248, 250, 252, 0.74);
    color: #18223a;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.admin-control-tile:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    background: #ffffff;
    color: #111827;
}

.admin-control-tile span,
.admin-control-tile small {
    display: block;
    color: #667085;
}

.admin-control-tile strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.1;
    margin: 0.25rem 0;
}

.ats-fix-list {
    padding-left: 1.25rem;
}

.ats-fix-list li {
    margin-bottom: 0.7rem;
}

.ats-signal-card {
    border: 1px solid #edf1f7;
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    background: #ffffff;
}

.ats-signal-card span {
    display: block;
    color: #667085;
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
}

.ats-signal-card p {
    margin: 0;
    color: #18223a;
    font-weight: 600;
}

.ats-signal-card.positive {
    border-left: 4px solid rgba(34, 197, 94, 0.55);
}

.ats-signal-card.risk {
    border-left: 4px solid rgba(245, 158, 11, 0.65);
}

.suggested-cv-output {
    white-space: pre-wrap;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    padding: 1rem;
    background: #f8fafc;
    max-height: 620px;
    overflow: auto;
}

html[data-bs-theme="dark"] .mvcv-ai-app {
    background: #111827;
    color: #eef2ff;
}

html[data-bs-theme="dark"] .mvcv-ai-sidebar,
html[data-bs-theme="dark"] .mvcv-ai-composer-card,
html[data-bs-theme="dark"] .mvcv-ai-feature-grid article,
html[data-bs-theme="dark"] .mvcv-ai-table-card,
html[data-bs-theme="dark"] .mvcv-ai-result {
    background: #172033;
    border-color: #293247;
}

html[data-bs-theme="dark"] .mvcv-ai-brand,
html[data-bs-theme="dark"] .mvcv-ai-hero h1,
html[data-bs-theme="dark"] .mvcv-ai-hero h1 span,
html[data-bs-theme="dark"] .mvcv-ai-nav a,
html[data-bs-theme="dark"] .mvcv-ai-recent,
html[data-bs-theme="dark"] .mvcv-ai-top-icons a,
html[data-bs-theme="dark"] .mvcv-ai-user-menu {
    color: #f8fafc;
}

html[data-bs-theme="dark"] .mvcv-ai-new,
html[data-bs-theme="dark"] .mvcv-ai-nav a:hover,
html[data-bs-theme="dark"] .mvcv-ai-nav a.active,
html[data-bs-theme="dark"] .mvcv-ai-feature-grid article span {
    background: rgba(143, 188, 235, 0.14);
}

html[data-bs-theme="dark"] .mvcv-ai-logo,
html[data-bs-theme="dark"] .mvcv-ai-avatar {
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html[data-bs-theme="dark"] .mvcv-ai-form textarea,
html[data-bs-theme="dark"] .mvcv-ai-guest-box,
html[data-bs-theme="dark"] .mvcv-ai-selects select,
html[data-bs-theme="dark"] .mvcv-ai-selects input,
html[data-bs-theme="dark"] .mvcv-ai-extra input,
html[data-bs-theme="dark"] .mvcv-ai-mode-menu {
    background: #111827;
    border-color: #293247;
    color: #f8fafc;
}

@media (prefers-color-scheme: dark) {
    html:not([data-bs-theme="light"]) .mvcv-ai-app {
        background: #111827;
        color: #eef2ff;
    }

    html:not([data-bs-theme="light"]) .mvcv-ai-sidebar,
    html:not([data-bs-theme="light"]) .mvcv-ai-composer-card,
    html:not([data-bs-theme="light"]) .mvcv-ai-feature-grid article,
    html:not([data-bs-theme="light"]) .mvcv-ai-table-card,
    html:not([data-bs-theme="light"]) .mvcv-ai-result {
        background: #172033;
        border-color: #293247;
    }

    html:not([data-bs-theme="light"]) .mvcv-ai-brand,
    html:not([data-bs-theme="light"]) .mvcv-ai-hero h1,
    html:not([data-bs-theme="light"]) .mvcv-ai-hero h1 span,
    html:not([data-bs-theme="light"]) .mvcv-ai-nav a,
    html:not([data-bs-theme="light"]) .mvcv-ai-recent,
    html:not([data-bs-theme="light"]) .mvcv-ai-top-icons a,
    html:not([data-bs-theme="light"]) .mvcv-ai-user-menu {
        color: #f8fafc;
    }

    html:not([data-bs-theme="light"]) .mvcv-ai-new,
    html:not([data-bs-theme="light"]) .mvcv-ai-nav a:hover,
    html:not([data-bs-theme="light"]) .mvcv-ai-nav a.active,
    html:not([data-bs-theme="light"]) .mvcv-ai-feature-grid article span {
        background: rgba(143, 188, 235, 0.14);
    }

    html:not([data-bs-theme="light"]) .mvcv-ai-logo,
    html:not([data-bs-theme="light"]) .mvcv-ai-avatar {
        box-shadow: 0 8px 28px rgba(245, 158, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }

    html:not([data-bs-theme="light"]) .mvcv-ai-form textarea,
    html:not([data-bs-theme="light"]) .mvcv-ai-guest-box,
    html:not([data-bs-theme="light"]) .mvcv-ai-selects select,
    html:not([data-bs-theme="light"]) .mvcv-ai-selects input,
    html:not([data-bs-theme="light"]) .mvcv-ai-extra input,
    html:not([data-bs-theme="light"]) .mvcv-ai-mode-menu {
        background: #111827;
        border-color: #293247;
        color: #f8fafc;
    }
}

/* Print styles */
@media print {
    .btn, nav, footer {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}

/* Theme toggle (future) */
.theme-toggle {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}
.mvcv-processing {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, .62);
    backdrop-filter: blur(5px);
}
.mvcv-processing[hidden] { display: none; }
.mvcv-processing-card {
    width: min(520px, 100%);
    padding: 2rem;
    border: 1px solid var(--mvcv-card-border, #e2e8f0);
    border-radius: 22px;
    background: var(--mvcv-card-bg, #fff);
    color: var(--mvcv-body-text, #0f172a);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    text-align: center;
}
.mvcv-processing-shield {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: #e8efff;
    color: #1f3374;
    font-size: 1.5rem;
    font-weight: 800;
    animation: mvcv-processing-pulse 1.2s ease-in-out infinite;
}
.mvcv-processing-card h2 { margin-bottom: .5rem; font-size: 1.35rem; }
.mvcv-processing-card p { min-height: 1.5rem; color: var(--mvcv-muted, #475569); }
.mvcv-processing-track { height: 8px; overflow: hidden; border-radius: 999px; background: #e2e8f0; }
.mvcv-processing-track span { display: block; width: 12%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f3374, #6d5bd0); transition: width .45s ease; }
.mvcv-processing-steps { display: grid; gap: .45rem; margin: 1.25rem 0; padding: 0; list-style: none; text-align: left; }
.mvcv-processing-steps li { color: #64748b; }
.mvcv-processing-steps li::before { content: "\25CB"; display: inline-block; width: 1.5rem; color: #94a3b8; }
.mvcv-processing-steps li.active { color: #1f3374; font-weight: 700; }
.mvcv-processing-steps li.active::before { content: "\25CF"; color: #5269a3; }
.mvcv-processing-steps li.complete::before { content: "\2713"; color: #15803d; font-weight: 800; }
@keyframes mvcv-processing-pulse { 50% { transform: scale(1.07); box-shadow: 0 0 0 10px rgba(82, 105, 163, .10); } }
@media (prefers-reduced-motion: reduce) { .mvcv-processing-shield { animation: none; } }

/* Workspace and sidebar refinement. Keep navigation quiet; reserve colour for action/status. */
.mvcv-entry-shell,
.mvcv-workspace {
    background: var(--mvcv-canvas);
}

.mvcv-entry-sidebar,
.mvcv-sidebar {
    background: #ffffff;
    border-right: 1px solid var(--mvcv-slate-200);
}

.mvcv-entry-brand,
.mvcv-brand-mark,
.mvcv-entry-nav a,
.mvcv-side-nav a,
.mvcv-history-item,
.mvcv-sidebar-footer a {
    color: var(--mvcv-slate-700);
}

.mvcv-entry-brand span,
.mvcv-brand-mark span,
.mvcv-avatar {
    background: var(--mvcv-brand-navy);
    border-radius: 7px;
    font-weight: 600;
}

.mvcv-entry-nav a,
.mvcv-side-nav a {
    border-left: 3px solid transparent;
    border-radius: 4px;
    font-size: 0.91rem;
    font-weight: 450;
    padding: 0.58rem 0.7rem;
}

.mvcv-entry-nav a:hover,
.mvcv-side-nav a:hover {
    background: var(--mvcv-slate-100);
    color: var(--mvcv-slate-950);
}

.mvcv-entry-nav a.active,
.mvcv-side-nav a.active {
    background: #eef3ff;
    border-left-color: var(--mvcv-brand-navy);
    color: var(--mvcv-brand-navy);
    font-weight: 600;
}

.mvcv-sidebar-heading {
    color: var(--mvcv-slate-500);
    font-size: 0.7rem;
    font-weight: 550;
    letter-spacing: 0.075em;
}

.mvcv-new-action {
    background: var(--mvcv-brand-navy);
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 550;
    padding: 0.65rem 0.75rem;
}

.mvcv-history-item {
    border-radius: 5px;
    font-size: 0.88rem;
    font-weight: 450;
    padding: 0.55rem 0.65rem;
}

.mvcv-history-item:hover {
    background: var(--mvcv-slate-100);
}

.mvcv-entry-account,
.mvcv-sidebar-footer {
    background: #f8fafc;
    border-color: var(--mvcv-slate-200);
    border-radius: 7px;
}

.mvcv-mini-label,
.mvcv-mobile-menu,
.mvcv-account-select,
.mvcv-mobile-collapse a {
    font-weight: 550;
}

.mvcv-chat-topbar,
.mvcv-mobile-collapse {
    background: #ffffff;
    border-color: var(--mvcv-slate-200);
}

.mvcv-account-select {
    background-color: #ffffff;
    border-color: var(--mvcv-slate-200);
    border-radius: 7px;
    color: var(--mvcv-slate-700);
}

.mvcv-bubble,
.mvcv-home-composer {
    border-color: var(--mvcv-slate-200);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Cross-product UI audit: neutral hierarchy for forms and operational pages. */
.card {
    border: 1px solid var(--mvcv-card-border, var(--mvcv-slate-200)) !important;
    border-radius: 8px;
    box-shadow: 0 2px 9px rgba(15, 23, 42, 0.045) !important;
}

.card-header,
.card-footer {
    background: transparent;
    border-color: var(--mvcv-card-border, var(--mvcv-slate-200));
}

.fw-bold,
.fw-semibold {
    font-weight: 600 !important;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 600 !important;
    letter-spacing: -0.032em;
}

.display-4 { font-size: clamp(2rem, 5vw, 3.25rem); }
.display-5 { font-size: clamp(1.85rem, 4.5vw, 2.8rem); }
.display-6 { font-size: clamp(1.65rem, 4vw, 2.35rem); }

.badge {
    border-radius: 5px;
    font-weight: 550;
    letter-spacing: 0;
    padding: 0.35em 0.58em;
}

.text-uppercase {
    letter-spacing: 0.065em;
}

label,
.form-label {
    color: var(--mvcv-slate-700);
    font-size: 0.88rem;
    font-weight: 550;
    margin-bottom: 0.4rem;
}

.form-control,
.form-select,
.input-group-text {
    border-color: var(--mvcv-card-border, var(--mvcv-slate-200));
    border-radius: 7px;
    min-height: 42px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--mvcv-action-blue);
    box-shadow: 0 0 0 3px rgba(49, 94, 173, 0.12);
}

.form-text,
.text-muted,
.text-body-secondary {
    color: var(--mvcv-muted, var(--mvcv-slate-500)) !important;
}

.alert {
    border-radius: 7px;
    box-shadow: none;
}

.table > :not(caption) > * > * {
    border-color: var(--mvcv-card-border, var(--mvcv-slate-200));
    padding-block: 0.72rem;
}

.table thead th {
    color: var(--mvcv-muted, var(--mvcv-slate-500));
    font-size: 0.76rem;
    font-weight: 550;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

@media (max-width: 575px) {
    .card-body.p-4,
    .card-body.p-md-5 {
        padding: 1.15rem !important;
    }
}
