.ts-career-page {
    display: grid;
    gap: 32px;
}

.ts-career-page *,
.ts-career-page *::before,
.ts-career-page *::after {
    box-sizing: border-box;
}

.ts-career-hero,
.ts-career-score-shell,
.ts-career-group-card,
.ts-career-spotlight-card,
.ts-career-tool-card,
.ts-career-school-panel,
.ts-career-compare-panel,
.ts-career-question-card,
.ts-career-interest-shell {
    border: 1px solid var(--ts-border);
    border-radius: 28px;
    background: #fff;
}

.ts-career-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 26px;
    padding: 30px;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 30%),
        radial-gradient(circle at 85% 18%, rgba(249, 115, 22, 0.18), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 45%, #fff7ed 100%);
}

.ts-career-hero__content,
.ts-career-hero__visual,
.ts-career-hero__scene,
.ts-career-hero__stats,
.ts-career-question-grid,
.ts-career-score-result__grid,
.ts-career-group-grid,
.ts-career-spotlight-grid,
.ts-career-tool-grid,
.ts-career-pill-row,
.ts-career-interest-output,
.ts-career-interest-grid {
    display: grid;
}

.ts-career-hero__content {
    gap: 20px;
}

.ts-career-hero__content h1,
.ts-career-question-card strong,
.ts-career-tool-card h3,
.ts-career-group-card h3,
.ts-career-spotlight-card h3 {
    margin: 0;
}

.ts-career-hero__lead,
.ts-career-question-card span,
.ts-career-tool-card p,
.ts-career-group-card p,
.ts-career-school-summary,
.ts-career-score-result__head p,
.ts-career-interest-copy p,
.ts-career-spotlight-card p {
    color: #475569;
}

.ts-career-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ts-career-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ts-career-stat {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ts-career-stat strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: #0f172a;
}

.ts-career-stat span {
    display: block;
    margin-top: 8px;
    color: #475569;
}

.ts-career-hero__scene {
    gap: 14px;
    align-content: center;
    min-height: 100%;
}

.ts-career-figure {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border-radius: 24px;
    color: #0f172a;
}

.ts-career-figure strong,
.ts-career-figure span {
    position: relative;
    z-index: 1;
    display: block;
}

.ts-career-figure strong {
    font-size: 1.125rem;
}

.ts-career-figure span {
    margin-top: 8px;
    color: #1e293b;
}

.ts-career-figure::after {
    content: "";
    position: absolute;
    inset: auto -16px -28px auto;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    opacity: 0.4;
}

.ts-career-figure--student {
    background: linear-gradient(135deg, #dbeafe 0%, #f8fbff 100%);
}

.ts-career-figure--student::after {
    background: #60a5fa;
}

.ts-career-figure--campus {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.ts-career-figure--campus::after {
    background: #34d399;
}

.ts-career-figure--career {
    background: linear-gradient(135deg, #ffedd5 0%, #fff7ed 100%);
}

.ts-career-figure--career::after {
    background: #fb923c;
}

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

.ts-career-question-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ts-career-question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.ts-career-score-shell,
.ts-career-interest-shell,
.ts-career-compare-panel,
.ts-career-school-panel {
    padding: 24px;
}

.ts-career-score-shell,
.ts-career-interest-output {
    display: grid;
    gap: 20px;
}

.ts-career-score-form {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.ts-career-score-form input,
.ts-career-score-form select,
.ts-career-school-toolbar select,
.ts-career-compare-toolbar select {
    width: 100%;
    border: 1px solid #dbe4f0;
    border-radius: 16px;
    padding: 14px 15px;
    font: inherit;
}

.ts-career-score-form input:focus,
.ts-career-score-form select:focus,
.ts-career-school-toolbar select:focus,
.ts-career-compare-toolbar select:focus {
    border-color: #0f766e;
    outline: none;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.ts-career-score-form button {
    align-self: end;
}

.ts-career-score-result {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.ts-career-score-result__head strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.125rem;
}

.ts-career-score-result__grid,
.ts-career-group-grid,
.ts-career-spotlight-grid,
.ts-career-tool-grid,
.ts-career-interest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ts-career-result-card,
.ts-career-interest-card {
    padding: 18px;
    border: 1px solid var(--ts-border);
    border-radius: 22px;
    background: #fff;
}

.ts-career-result-card h3,
.ts-career-interest-card h3 {
    margin: 0 0 8px;
}

.ts-career-result-card p,
.ts-career-interest-card p {
    margin: 0;
    color: #475569;
}

.ts-career-pill-row {
    grid-template-columns: repeat(auto-fit, minmax(120px, max-content));
    gap: 12px;
}

.ts-career-pill {
    border: 1px solid var(--ts-border);
    border-radius: 999px;
    background: #fff;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.ts-career-pill.is-active {
    border-color: #0f766e;
    background: #0f766e;
    color: #fff;
}

.ts-career-interest-copy {
    display: grid;
    gap: 6px;
}

.ts-career-group-card,
.ts-career-spotlight-card,
.ts-career-tool-card {
    display: grid;
    gap: 14px;
    padding: 22px;
}

.ts-career-group-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.ts-career-group-card__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.ts-career-group-card__stats dt {
    font-size: 0.8rem;
    color: #64748b;
}

.ts-career-group-card__stats dd {
    margin: 6px 0 0;
    font-size: 1rem;
    font-weight: 800;
}

.ts-career-spotlight-card {
    position: relative;
    overflow: hidden;
}

.ts-career-spotlight-card__badge,
.ts-career-tool-card__tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.8rem;
    font-weight: 800;
}

.ts-career-spotlight-card__badge {
    background: #eff6ff;
    color: #1d4ed8;
}

.ts-career-spotlight-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #475569;
    font-size: 0.925rem;
}

.ts-career-spotlight-card--salary .ts-career-spotlight-card__badge {
    background: #fff7ed;
    color: #c2410c;
}

.ts-career-spotlight-card--future .ts-career-spotlight-card__badge {
    background: #ecfeff;
    color: #0f766e;
}

.ts-career-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ts-career-tool-card {
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 30%),
        #fff;
}

.ts-career-tool-card__tag {
    background: #f8fafc;
    color: #0f172a;
}

.ts-career-compare-toolbar,
.ts-career-school-toolbar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.ts-career-school-summary {
    margin: 0;
    align-self: end;
}

.ts-career-empty {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    color: #475569;
}

@media (max-width: 1080px) {
    .ts-career-question-grid,
    .ts-career-score-result__grid,
    .ts-career-group-grid,
    .ts-career-spotlight-grid,
    .ts-career-tool-grid,
    .ts-career-interest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ts-career-score-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .ts-career-hero,
    .ts-career-question-grid,
    .ts-career-score-form,
    .ts-career-score-result__grid,
    .ts-career-group-grid,
    .ts-career-spotlight-grid,
    .ts-career-tool-grid,
    .ts-career-interest-grid,
    .ts-career-compare-toolbar,
    .ts-career-school-toolbar,
    .ts-career-hero__stats,
    .ts-career-group-card__stats {
        grid-template-columns: 1fr;
    }
}
