/* Screenshot-matched Cawibble Profile + Career Map surfaces.
   Dialogs portal to body, so dialog rules and tokens stay global. */

html {
    --jt-cawi-line: rgba(167, 139, 250, 0.22);
    --jt-cawi-glow: rgba(139, 92, 246, 0.28);
    --jt-cawi-inset: rgba(12, 8, 20, 0.28);
    --jt-cawi-action-bg: rgba(12, 8, 20, 0.45);
    --jt-cawi-other-bg: rgba(12, 8, 20, 0.35);
    --jt-cawi-tab-bg: rgba(22, 16, 34, 0.55);
    --jt-cawi-tab-text: #ddd6fe;
    --jt-cawi-tab-border: rgba(167, 139, 250, 0.2);
    --jt-cawi-cat-bg: rgba(22, 16, 34, 0.7);
    --jt-cawi-identity-body: #ddd6fe;
    --jt-cawi-metric-fade: rgba(22, 16, 34, 0.4);
    --jt-cawi-panel-tint: #1e1533;
    --jt-cawi-metric-tint: #2e2150;
    --jt-cawi-table-line: rgba(46, 33, 80, 0.55);
}

.jt-page.jt-page-fill.jt-profile,
.jt-page.jt-page-fill.jt-career-map {
    max-width: none;
    width: 100%;
    margin-inline: 0;
    min-width: 0;
    align-self: stretch;
}

.jt-profile,
.jt-career-map {
    min-width: 0;
    max-width: none;
    width: 100%;
}

.jt-cawi-pagehead {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 12px;
}

.jt-cawi-pagehead .jt-page-title {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.jt-cawi-pagehead .jt-page-lead {
    margin-top: 2px;
    font-size: 0.88rem;
}

.jt-cawi-identity,
.jt-cawi-favorite,
.jt-cawi-motif {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 72% 120% at 92% 118%, rgba(109, 40, 217, 0.38), transparent 58%),
        radial-gradient(ellipse 42% 80% at 78% -10%, rgba(56, 189, 248, 0.12), transparent 52%),
        linear-gradient(180deg, #1b1430 0%, #120c1c 100%);
}

.jt-cawi-identity::after,
.jt-cawi-favorite::after,
.jt-cawi-motif::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(48%, 360px);
    height: 58%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    background:
        linear-gradient(180deg, transparent, rgba(12, 8, 20, 0.15)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 220' preserveAspectRatio='none'%3E%3Cpath fill='%2318122c' d='M0 220L0 128L90 86L170 138L250 62L360 118L450 42L540 108L640 58L730 126L800 78L800 220z'/%3E%3Cpath fill='%230e0a18' d='M0 220L0 158L130 116L230 168L340 96L470 148L590 88L700 146L800 108L800 220z'/%3E%3C/svg%3E")
            no-repeat right bottom / cover;
}

.jt-cawi-identity {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin-bottom: 14px;
    padding: 14px 18px;
    border: 1px solid var(--jt-cawi-line);
    border-radius: 18px;
}

.jt-cawi-identity .jt-create,
.jt-cawi-identity > .mud-button,
.jt-cawi-identity > .mud-button-root {
    flex: 0 0 auto;
    justify-self: end;
    white-space: nowrap;
}

.jt-cawi-identity > * {
    position: relative;
    z-index: 1;
}

.jt-cawi-identity-person {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.jt-profile-initials {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: none;
    font-family: Outfit, Inter, sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #f5f3ff;
    background: linear-gradient(160deg, #8b5cf6, #4c1d95);
    border: 1px solid rgba(196, 181, 253, 0.4);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.28);
}

.jt-cawi-identity-person h2 {
    margin: 0;
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.jt-cawi-identity-person p {
    margin: 2px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.86rem;
}

.jt-cawi-identity-summary {
    min-width: 0;
    padding-left: 18px;
    border-left: 1px solid rgba(167, 139, 250, 0.22);
}

.jt-cawi-identity-summary span {
    display: block;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.jt-cawi-identity-summary p {
    margin: 4px 0 0;
    max-width: none;
    color: var(--jt-cawi-identity-body);
    font-size: 0.86rem;
    line-height: 1.4;
}

.jt-profile > .jt-cawi-workspace.jt-card {
    padding: 8px 0 0 !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
}

.jt-profile-tabs,
.jt-career-tabs,
.jt-workspace-tabs,
.jt-profile .mud-tabs,
.jt-career-map .mud-tabs {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    width: 100%;
}

.jt-workspace-tabs .mud-tabs-toolbar,
.jt-profile-tabs .mud-tabs-toolbar,
.jt-career-tabs .mud-tabs-toolbar {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    min-height: 0 !important;
    overflow: visible;
    background: transparent !important;
    border: 0 !important;
}

.jt-workspace-tabs .mud-tabs-tabbar,
.jt-profile-tabs .mud-tabs-tabbar,
.jt-career-tabs .mud-tabs-tabbar {
    display: flex;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    border-bottom: 0 !important;
}

.jt-workspace-tabs .mud-tabs-tabbar > div,
.jt-profile-tabs .mud-tabs-tabbar > div,
.jt-career-tabs .mud-tabs-tabbar > div {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.jt-workspace-tabs .mud-tabs-scroll-button,
.jt-profile-tabs .mud-tabs-scroll-button,
.jt-career-tabs .mud-tabs-scroll-button {
    display: none !important;
}

.jt-workspace-tabs .mud-tabs-tabbar-wrapper,
.jt-profile-tabs .mud-tabs-tabbar-wrapper,
.jt-career-tabs .mud-tabs-tabbar-wrapper {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    gap: 6px;
    padding: 2px 0 10px;
    transform: none !important;
}

.jt-profile-tabs .mud-tab-slider,
.jt-career-tabs .mud-tab-slider,
.jt-workspace-tabs .mud-tab-slider {
    display: none !important;
}

.jt-profile-tabs .mud-tab,
.jt-career-tabs .mud-tab,
.jt-workspace-tabs .mud-tab {
    flex: 0 0 auto;
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    margin: 0;
    border: 1px solid var(--jt-cawi-tab-border);
    border-radius: 999px !important;
    background: var(--jt-cawi-tab-bg);
    color: var(--jt-cawi-tab-text) !important;
    text-transform: none;
    font-weight: 600;
    font-size: 0.84rem;
    letter-spacing: 0;
}

.jt-profile-tabs .mud-tab.mud-tab-active,
.jt-profile-tabs .mud-tab.active,
.jt-career-tabs .mud-tab.mud-tab-active,
.jt-career-tabs .mud-tab.active,
.jt-workspace-tabs .mud-tab.mud-tab-active,
.jt-workspace-tabs .mud-tab.active {
    background: #8b5cf6 !important;
    border-color: transparent;
    color: #fff !important;
    box-shadow: 0 8px 18px var(--jt-cawi-glow);
}

.jt-profile-tabs .mud-tabs-panels,
.jt-career-tabs .mud-tabs-panels {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    padding-top: 14px;
}

.jt-profile-tabs .mud-tabs-panels > *,
.jt-career-tabs .mud-tabs-panels > *,
.jt-profile-tabs [role="tabpanel"],
.jt-career-tabs [role="tabpanel"] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
}

.jt-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr));
    gap: 8px;
    width: 100%;
    margin-bottom: 14px;
}

.jt-metric-tile {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    min-width: 0;
    min-height: 70px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: color-mix(in srgb, var(--mud-palette-surface) 88%, var(--jt-cawi-metric-tint) 12%);
}

.jt-metric-icon {
    grid-row: 1 / span 2;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    align-self: center;
}

.jt-metric-tile > span:not(.jt-metric-icon) {
    display: block;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.jt-metric-tile strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.jt-metric-tile.is-violet { border-color: rgba(139, 92, 246, 0.42); background: linear-gradient(180deg, rgba(139, 92, 246, 0.18), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-violet .jt-metric-icon { color: #c4b5fd; background: rgba(139, 92, 246, 0.22); box-shadow: 0 0 12px rgba(139, 92, 246, 0.25); }
.jt-metric-tile.is-teal { border-color: rgba(45, 212, 191, 0.38); background: linear-gradient(180deg, rgba(20, 184, 166, 0.16), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-teal .jt-metric-icon { color: #5eead4; background: rgba(45, 212, 191, 0.16); }
.jt-metric-tile.is-blue { border-color: rgba(96, 165, 250, 0.4); background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-blue .jt-metric-icon { color: #93c5fd; background: rgba(59, 130, 246, 0.18); }
.jt-metric-tile.is-magenta { border-color: rgba(244, 114, 182, 0.4); background: linear-gradient(180deg, rgba(219, 39, 119, 0.16), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-magenta .jt-metric-icon { color: #f9a8d4; background: rgba(236, 72, 153, 0.18); }
.jt-metric-tile.is-indigo { border-color: rgba(129, 140, 248, 0.4); background: linear-gradient(180deg, rgba(79, 70, 229, 0.18), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-indigo .jt-metric-icon { color: #a5b4fc; background: rgba(99, 102, 241, 0.2); }
.jt-metric-tile.is-cyan { border-color: rgba(34, 211, 238, 0.38); background: linear-gradient(180deg, rgba(8, 145, 178, 0.16), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-cyan .jt-metric-icon { color: #67e8f9; background: rgba(6, 182, 212, 0.18); }
.jt-metric-tile.is-amber { border-color: rgba(251, 191, 36, 0.4); background: linear-gradient(180deg, rgba(217, 119, 6, 0.16), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-amber .jt-metric-icon { color: #fbbf24; background: rgba(245, 158, 11, 0.16); }
.jt-metric-tile.is-rose { border-color: rgba(248, 113, 113, 0.4); background: linear-gradient(180deg, rgba(220, 38, 38, 0.14), var(--jt-cawi-metric-fade)); }
.jt-metric-tile.is-rose .jt-metric-icon { color: #fca5a5; background: rgba(248, 113, 113, 0.16); }

.jt-metric-tile.is-stack {
    grid-template-rows: auto auto auto auto;
    min-height: 0;
}

.jt-metric-tile.is-stack .jt-proficiency-bar,
.jt-metric-tile.is-stack .jt-proficiency-dots,
.jt-metric-tile.is-stack .jt-metric-hint {
    grid-column: 2;
}

.jt-metric-hint {
    color: var(--mud-palette-text-secondary);
    font-size: 0.72rem;
    font-weight: 600;
}

.jt-metric-sub {
    grid-column: 2;
    color: var(--mud-palette-text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
}

.jt-metric-grid.is-compact .jt-metric-tile {
    grid-template-rows: auto auto auto;
}

.jt-metric-grid.is-compact .jt-metric-icon {
    grid-row: 1 / span 3;
}

.jt-skill-details-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
}

.jt-skill-details-head h2 {
    margin: 0 0 4px;
    color: var(--mud-palette-text-primary);
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.2;
}

.jt-cawi-drawer-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 16px;
    align-items: start;
}

.jt-skill-meta-row {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 0 12px;
    color: var(--mud-palette-text-secondary);
}

.jt-skill-meta-row.is-notes .mud-typography-body2 {
    white-space: pre-wrap;
}

.jt-inline-link {
    min-width: 0;
    padding-left: 0;
    justify-content: flex-start;
}

.jt-compare-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

.jt-compare-card {
    min-width: 0;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: color-mix(in srgb, var(--mud-palette-surface) 86%, #1e1b4b 14%);
}

.jt-compare-card.is-you {
    border-color: rgba(45, 212, 191, 0.36);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.12), color-mix(in srgb, var(--mud-palette-surface) 90%, transparent));
}

.jt-compare-card.is-target {
    border-color: rgba(139, 92, 246, 0.4);
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.14), color-mix(in srgb, var(--mud-palette-surface) 90%, transparent));
}

.jt-compare-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jt-compare-card strong {
    display: block;
    margin-bottom: 8px;
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
}

.jt-compare-card .jt-metric-hint {
    display: block;
    margin-top: 2px;
}

.jt-evidence-panel {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(45, 212, 191, 0.34);
    background: rgba(45, 212, 191, 0.08);
}

.jt-evidence-panel.is-limited {
    border-color: rgba(125, 211, 252, 0.32);
    background: rgba(14, 165, 233, 0.08);
}

.jt-evidence-panel.is-none {
    border-color: rgba(167, 139, 250, 0.22);
    background: color-mix(in srgb, var(--mud-palette-surface) 88%, #1e1b4b 12%);
}

.jt-evidence-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.jt-evidence-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #5eead4;
    font-size: 0.82rem;
    font-weight: 700;
}

.jt-evidence-panel.is-limited .jt-evidence-status { color: #7dd3fc; }
.jt-evidence-panel.is-none .jt-evidence-status { color: var(--mud-palette-text-secondary); }

.jt-evidence-found {
    margin: 6px 0 10px;
    padding: 0;
    list-style: none;
}

.jt-evidence-found li {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 8px;
    margin: 8px 0;
    color: #5eead4;
}

.jt-evidence-found strong,
.jt-evidence-found span {
    display: block;
}

.jt-evidence-found strong {
    color: var(--mud-palette-text-primary);
    font-size: 0.86rem;
}

.jt-evidence-found span {
    color: var(--mud-palette-text-secondary);
    font-size: 0.8rem;
}

.jt-evidence-doc {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    margin: 10px 0;
}

.jt-learning-block {
    margin-top: 14px;
}

.jt-learn-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.jt-metric-grid.is-compact {
    margin-bottom: 12px;
}

.jt-metric-grid.is-compact .jt-metric-tile {
    min-height: 0;
    padding: 8px 10px;
}

.jt-metric-grid.is-compact .jt-metric-tile strong {
    font-size: 1.05rem;
}

.jt-learn-list {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.jt-learn-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px 16px;
    align-items: start;
    min-width: 0;
    padding: 14px 16px;
    overflow-wrap: anywhere;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: color-mix(in srgb, var(--mud-palette-surface) 86%, #1e1b4b 14%);
}

.jt-learn-card.is-planned {
    border-color: rgba(129, 140, 248, 0.32);
}

.jt-learn-card.is-progress {
    border-color: rgba(139, 92, 246, 0.38);
}

.jt-learn-card.is-completed {
    border-color: rgba(45, 212, 191, 0.28);
}

.jt-learn-card-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
}

.jt-learn-card-main h4 {
    margin: 0 0 4px;
    color: var(--mud-palette-text-primary);
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}

.jt-learn-card-body {
    margin: 0 0 8px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
}

.jt-learn-link {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 0 0 8px;
    color: var(--mud-palette-text-primary);
    font-size: 0.86rem;
}

.jt-learn-link-label {
    color: var(--mud-palette-text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.jt-learn-link-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jt-learn-link-skills .jt-cawi-chip {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 650;
}

.jt-learn-link.is-general {
    flex-direction: column;
    gap: 2px;
    color: var(--mud-palette-text-secondary);
}

.jt-learn-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 0;
}

.jt-learn-meta dt {
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.jt-learn-meta dd {
    margin: 2px 0 0;
    color: var(--mud-palette-text-primary);
    font-size: 0.88rem;
}

.jt-learn-card-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.jt-learn-card-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.jt-progress-toolbar {
    align-items: end;
}

.jt-date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.jt-complete-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 4px auto 12px;
    border-radius: 50%;
    color: #5eead4;
    background: rgba(45, 212, 191, 0.16);
    box-shadow: 0 0 18px rgba(45, 212, 191, 0.18);
}

.jt-complete-mark.is-confirm {
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.16);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.18);
}

.jt-complete-dialog .mud-dialog-content {
    max-width: 420px;
}

.mud-dialog.jt-complete-dialog .mud-dialog-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.jt-info-callout {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 12px 0 4px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(96, 165, 250, 0.32);
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
    font-size: 0.86rem;
    line-height: 1.45;
}

.jt-recent-learning {
    display: block;
    margin-top: 4px;
    color: inherit;
}

.jt-skill-review-lead {
    margin: 4px 0 12px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.84rem;
    line-height: 1.45;
}

.jt-skill-review-list {
    display: grid;
    gap: 10px;
}

.jt-skill-review-row {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: color-mix(in srgb, var(--mud-palette-surface) 92%, var(--jt-cawi-panel-tint) 8%);
}

.jt-skill-review-row header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.jt-skill-review-row h3 {
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Outfit, Inter, sans-serif;
    font-size: 0.98rem;
    font-weight: 650;
}

.jt-skill-review-levels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.jt-skill-review-level {
    min-width: 0;
}

.jt-skill-review-level span {
    display: block;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jt-skill-review-level strong {
    display: block;
    margin: 2px 0 0;
    font-size: 0.9rem;
    font-weight: 650;
}

.mud-dialog.jt-skill-review-dialog .mud-dialog-content {
    max-height: min(70dvh, 640px);
    overflow: auto;
}

.jt-cawi-panel,
.jt-cawi-rail,
.jt-favorite-card,
.jt-empty-state {
    min-width: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 16px;
    background: color-mix(in srgb, var(--mud-palette-surface) 92%, var(--jt-cawi-panel-tint) 8%);
}

.jt-cawi-panel,
.jt-cawi-rail {
    padding: 14px 16px;
}

.jt-cawi-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    margin-bottom: 10px;
}

.jt-cawi-panel-head .mud-button,
.jt-cawi-panel-head .mud-button-root {
    flex: 0 0 auto;
}

.jt-cawi-panel-head h3,
.jt-cawi-section-title {
    margin: 0;
    font-family: Outfit, Inter, sans-serif;
    font-size: 0.98rem;
    font-weight: 650;
}

.jt-cawi-panel-head p,
.jt-cawi-muted {
    margin: 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.8rem;
}

.jt-cawi-overview-mid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 12px;
}

.jt-cawi-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.jt-cawi-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 78px;
    padding: 10px 8px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    border-radius: 14px;
    background: var(--jt-cawi-action-bg);
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.jt-cawi-action:hover {
    border-color: rgba(167, 139, 250, 0.55);
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.16);
}

.jt-cawi-action span {
    font-size: 0.8rem;
    font-weight: 600;
}

.jt-cawi-mapband {
    width: 100%;
    padding: 14px 16px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 18px;
    background: color-mix(in srgb, var(--mud-palette-surface) 92%, var(--jt-cawi-panel-tint) 8%);
}

.jt-cawi-mapband-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.jt-cawi-fav-row {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
}

.jt-cawi-favorite,
.jt-favorite-card {
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 16px;
}

.jt-cawi-favorite > *,
.jt-favorite-card > * {
    position: relative;
    z-index: 1;
}

.jt-cawi-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jt-cawi-favorite h3,
.jt-favorite-card h3 {
    margin: 0;
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.25rem;
}

.jt-cawi-favorite p,
.jt-favorite-card p {
    margin: 6px 0 12px;
    color: var(--mud-palette-text-secondary);
}

.jt-cawi-fav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jt-cawi-others {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 8px;
}

.jt-cawi-other {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    background: var(--jt-cawi-other-bg);
    color: inherit;
    text-align: left;
    text-decoration: none;
    font: inherit;
}

.jt-cawi-other a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.jt-cawi-other strong {
    font-size: 0.9rem;
}

.jt-cawi-other span {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.jt-cawi-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
}

.jt-cawi-split:has(.jt-cawi-rail) {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}

.jt-cawi-split > * {
    min-width: 0;
    width: 100%;
}

.jt-cawi-split > :first-child {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.jt-cawi-split .jt-empty-state,
.jt-cawi-split .jt-entity-grid,
.jt-cawi-split .jt-cawi-panel {
    flex: 1 1 auto;
}

.jt-history-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.jt-history-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

.jt-history-heading > :first-child {
    min-width: 0;
}

.jt-history-main > .jt-cawi-row-actions {
    justify-self: end;
    justify-content: flex-end;
}

.jt-history-main:not(:has(.jt-cawi-row-actions)) {
    grid-template-columns: minmax(0, 1fr);
}

.jt-suggestion-item,
.jt-history-row,
.jt-skill-card,
.jt-entity-card,
.jt-cawi-listcard {
    min-width: 0;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 14px;
    padding: 12px 14px;
    background: var(--jt-cawi-inset);
}

.jt-cawi-listcard {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    overflow-wrap: anywhere;
}

.jt-refjob-title {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    text-align: left;
    cursor: pointer;
    min-width: 0;
}

.jt-refjob-title:hover {
    color: #c4b5fd;
    text-decoration: underline;
}

.jt-cawi-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.16);
    color: #c4b5fd;
}

.jt-cawi-chiprow,
.jt-cawi-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.jt-cawi-chip,
.jt-cawi-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.72rem;
    font-weight: 650;
    line-height: 1;
}

button.jt-cawi-cat {
    cursor: pointer;
    background: var(--jt-cawi-cat-bg);
    border-color: rgba(167, 139, 250, 0.22);
    color: inherit;
}

button.jt-cawi-cat.is-on {
    background: #8b5cf6;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(139, 92, 246, 0.28);
}

.jt-cawi-chip.is-manual,
.jt-cawi-cat.is-blue { background: rgba(59, 130, 246, 0.16); color: #93c5fd; }
.jt-cawi-chip.is-import,
.jt-cawi-cat.is-teal { background: rgba(45, 212, 191, 0.14); color: #5eead4; }
.jt-cawi-chip.is-merge,
.jt-cawi-cat.is-violet { background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }
.jt-cawi-chip.is-current { background: rgba(45, 212, 191, 0.16); color: #5eead4; }
.jt-cawi-chip.is-warn { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.jt-cawi-chip.is-danger { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }
.jt-cawi-chip.is-progress { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }
.jt-cawi-chip.is-planned { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.jt-cawi-chip.is-core { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.jt-cawi-chip.is-common { background: rgba(96, 165, 250, 0.16); color: #93c5fd; }
.jt-cawi-chip.is-occasional { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
.jt-cawi-chip.is-skill { background: rgba(167, 139, 250, 0.16); color: #c4b5fd; }
.jt-cawi-chip.is-project { background: rgba(244, 114, 182, 0.16); color: #f9a8d4; }
.jt-cawi-chip.is-role { background: rgba(96, 165, 250, 0.16); color: #93c5fd; }
.jt-cawi-chip.is-edu { background: rgba(45, 212, 191, 0.14); color: #5eead4; }
.jt-cawi-chip.is-cert { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.jt-cawi-chip.is-resume { background: rgba(56, 189, 248, 0.16); color: #7dd3fc; }
.jt-cawi-cat.is-magenta { background: rgba(244, 114, 182, 0.16); color: #f9a8d4; }
.jt-cawi-cat.is-indigo { background: rgba(129, 140, 248, 0.16); color: #a5b4fc; }
.jt-cawi-cat.is-cyan { background: rgba(34, 211, 238, 0.16); color: #67e8f9; }
.jt-cawi-cat.is-amber { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.jt-cawi-cat.is-rose { background: rgba(248, 113, 113, 0.16); color: #fca5a5; }

button.jt-cawi-cat.is-on {
    background: #8b5cf6;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(139, 92, 246, 0.28);
}

.jt-empty-state {
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jt-empty-motif {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 30%, #8b5cf6, #2e1064),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Cpath fill='%23c4b5fd' d='M0 40L10 22L22 30L34 10L48 26L64 14V40z' opacity='.55'/%3E%3C/svg%3E")
            no-repeat bottom / contain;
}

.jt-entity-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.jt-proficiency-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    width: min(100%, 92px);
}

.jt-proficiency-bar i {
    height: 6px;
    border-radius: 99px;
    background: rgba(139, 92, 246, 0.16);
}

.jt-proficiency-bar i.is-on {
    background: #8b5cf6;
}

.jt-proficiency-bar.is-profile i.is-on {
    background: #60a5fa;
}

.jt-proficiency-bar.is-target i.is-on {
    background: #8b5cf6;
}

.jt-proficiency-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 2px 0 4px;
}

.jt-proficiency-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(148, 163, 184, 0.28);
}

.jt-proficiency-dots i.is-on {
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.4);
}

.jt-proficiency-dots.is-you i.is-on {
    background: #2dd4bf;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.4);
}

.jt-proficiency-dots.is-target i.is-on {
    background: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
}

.jt-proficiency-dots.is-interactive {
    gap: 10px;
    margin: 8px 0 6px;
}

.jt-proficiency-dots.is-compact {
    gap: 8px;
    margin: 6px 0 0;
}

.jt-proficiency-dots.is-compact .jt-proficiency-dot {
    width: 16px;
    height: 16px;
}

.jt-proficiency-dot {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: rgba(148, 163, 184, 0.28);
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.jt-proficiency-dot:hover,
.jt-proficiency-dot:focus-visible {
    transform: scale(1.22);
    outline: none;
}

.jt-proficiency-dot:disabled {
    cursor: default;
    opacity: 0.7;
    transform: none;
}

.jt-proficiency-dot.is-on {
    background: #60a5fa;
    box-shadow: 0 0 12px rgba(96, 165, 250, 0.5);
}

.jt-proficiency-dots.is-you .jt-proficiency-dot.is-on {
    background: #2dd4bf;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.5);
}

.jt-proficiency-dots.is-target .jt-proficiency-dot.is-on {
    background: #8b5cf6;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.jt-align-strong { color: #4ade80; }
.jt-align-developing { color: #fbbf24; }
.jt-align-gap { color: #f87171; }

.jt-align-chip.is-strong { background: rgba(74, 222, 128, 0.16); color: #4ade80; }
.jt-align-chip.is-developing { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.jt-align-chip.is-gap { background: rgba(248, 113, 113, 0.16); color: #f87171; }

.jt-cawi-table {
    width: 100%;
    border-collapse: collapse;
}

.jt-cawi-table,
.mud-simple-table.jt-cawi-table,
.mud-table.jt-cawi-table,
.jt-cawi-table .mud-table-container,
.jt-cawi-panel .mud-simple-table,
.jt-cawi-panel .mud-paper {
    background: transparent !important;
    color: inherit;
    box-shadow: none !important;
}

.jt-cawi-table th {
    padding: 8px 10px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: transparent;
}

.jt-cawi-table td {
    padding: 10px;
    border-bottom: 1px solid var(--jt-cawi-table-line);
    vertical-align: middle;
}

.jt-cawi-table tbody tr {
    cursor: pointer;
}

.jt-cawi-table tbody tr:hover td {
    background: rgba(139, 92, 246, 0.08);
}

.jt-cawi-table tbody tr.is-on td {
    background: rgba(139, 92, 246, 0.12);
    box-shadow: inset 3px 0 0 #8b5cf6;
}

.jt-cawi-timeline {
    position: relative;
    display: grid;
    gap: 10px;
    padding-left: 18px;
}

.jt-cawi-timeline::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.55), rgba(46, 33, 80, 0.2));
}

.jt-cawi-timeline-item {
    position: relative;
}

.jt-cawi-dot {
    position: absolute;
    left: -16px;
    top: 16px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.jt-cawi-dot.is-skill { background: #a78bfa; }
.jt-cawi-dot.is-project { background: #f472b6; }
.jt-cawi-dot.is-role { background: #60a5fa; }
.jt-cawi-dot.is-edu { background: #2dd4bf; }
.jt-cawi-dot.is-cert { background: #fbbf24; }
.jt-cawi-dot.is-resume { background: #38bdf8; }

.jt-career-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 14px;
    background: rgba(88, 28, 135, 0.28);
}

.jt-cawi-targetbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.jt-career-selector {
    flex: 1 1 180px;
    min-width: min(100%, 180px);
    max-width: 100%;
    font-family: Outfit, Inter, sans-serif;
}

.jt-career-selector.jt-ci-select-field .mud-input-label,
.jt-cawi-pagehead .jt-ci-select-field .mud-input-label,
.jt-progress-toolbar .jt-ci-select-field .mud-input-label,
.mud-dialog.jt-workspace-dialog .jt-ci-select-field .mud-input-label,
.mud-dialog.jt-learning-dialog .jt-ci-select-field .mud-input-label {
    font-size: 1rem !important;
}

.jt-cawi-map-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.jt-cawi-map-grid > .jt-cawi-panel {
    overflow: hidden;
    min-width: 0;
}

.jt-cawi-align {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 16px;
    min-width: 0;
    width: 100%;
}

.jt-career-donut {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
}

.jt-career-donut .mud-progress-circular,
.jt-career-donut-ring {
    width: 96px !important;
    height: 96px !important;
}

.jt-career-donut .mud-progress-circular-percentage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jt-career-donut-text {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.jt-career-donut-text strong {
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.jt-cawi-legend {
    display: grid;
    min-width: 0;
    flex: 1 1 140px;
    max-width: 100%;
}

.jt-cawi-legend-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(46, 33, 80, 0.5);
    font-size: 0.82rem;
}

.jt-cawi-legend-row:last-child {
    border-bottom: 0;
}

.jt-cawi-legend-row b {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.jt-cawi-legend-row span {
    min-width: 0;
}

.jt-cawi-legend-row strong {
    font-variant-numeric: tabular-nums;
}

.jt-cawi-legend-row.is-strong {
    color: #4ade80;
}

.jt-cawi-legend-row.is-strong b {
    background: #4ade80;
}

.jt-cawi-legend-row.is-developing {
    color: #fbbf24;
}

.jt-cawi-legend-row.is-developing b {
    background: #fbbf24;
}

.jt-cawi-legend-row.is-gap {
    color: #f87171;
}

.jt-cawi-legend-row.is-gap b {
    background: #f87171;
}

.jt-cawi-priority {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(46, 33, 80, 0.5);
}

.jt-cawi-priority b {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.16);
    font-size: 0.75rem;
}

.jt-desktop-table { display: block; width: 100%; overflow-x: auto; }
.jt-mobile-cards { display: none; }

.jt-workspace-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
    margin-bottom: 12px;
}

.jt-workspace-toolbar .mud-button,
.jt-workspace-toolbar .mud-button-root {
    flex: 0 0 auto;
}

.jt-workspace-toolbar .mud-input-control {
    flex: 1 1 160px;
    min-width: 0;
    max-width: 100% !important;
    width: min(100%, 280px) !important;
}

.jt-skill-drawer-section {
    margin-bottom: 14px;
}

.jt-cawi-drawer-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}

.jt-cawi-status-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--mud-palette-lines-default);
}

.jt-cawi-status-hero.is-strong { background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.3); }
.jt-cawi-status-hero.is-developing { background: rgba(251, 191, 36, 0.1); border-color: rgba(251, 191, 36, 0.3); }
.jt-cawi-status-hero.is-gap { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.3); }

.jt-cawi-progress {
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(139, 92, 246, 0.16);
}

.jt-cawi-progress > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #8b5cf6);
}

.jt-evidence-note {
    color: var(--mud-palette-text-secondary);
    font-size: 0.82rem;
}

.jt-import-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.jt-cawi-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.jt-cawi-steps li {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
    font-weight: 650;
}

.jt-cawi-steps li.is-on {
    background: #8b5cf6;
    border-color: transparent;
    color: #fff;
}

.jt-cawi-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.jt-sticky-actions {
    position: sticky;
    bottom: 0;
    padding-top: 8px;
    background: var(--mud-palette-surface);
}

.jt-resume-card {
    border: 1px solid var(--mud-palette-lines-default) !important;
    border-radius: 16px !important;
    background: var(--jt-cawi-inset) !important;
}

.jt-cawi-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.mud-dialog.jt-workspace-dialog .mud-dialog-title {
    padding: 14px 18px 12px;
    font-family: Outfit, Inter, sans-serif;
}

.mud-dialog.jt-workspace-dialog .mud-dialog-content {
    padding: 14px 18px 8px;
}

.mud-dialog.jt-workspace-dialog .mud-dialog-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 12px 16px 14px;
    gap: 8px;
    flex-wrap: wrap;
}

.mud-dialog.jt-cawi-drawer {
    width: min(440px, 100vw);
    height: 100dvh;
    max-height: 100dvh;
    margin: 0 0 0 auto;
    border-radius: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
}

.mud-dialog.jt-cawi-drawer .mud-dialog-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.mud-dialog.jt-cawi-drawer.is-wide {
    width: min(920px, 100vw);
}

.mud-dialog.jt-cawi-drawer:not(.is-wide) .mud-dialog-actions {
    justify-content: flex-start;
}

.mud-dialog.jt-cawi-drawer:not(.is-wide) .mud-dialog-actions .mud-button-filled {
    margin-left: auto;
}

.mud-dialog.jt-cawi-drawer.is-wide .mud-dialog-actions {
    justify-content: space-between;
}

.jt-career-map .jt-skill-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
}

.jt-career-map .jt-skill-card-hit {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    padding: 0;
    cursor: pointer;
    min-width: 0;
}

.mud-dialog.jt-learning-dialog {
    width: min(520px, 100vw);
}

.mud-dialog.jt-workspace-dialog .mud-input-control {
    margin-top: 4px;
}

html[data-theme="light"] {
    --jt-cawi-line: rgba(124, 58, 237, 0.16);
    --jt-cawi-glow: rgba(124, 58, 237, 0.2);
    --jt-cawi-inset: #f3f0fb;
    --jt-cawi-action-bg: #efeaf8;
    --jt-cawi-other-bg: #f1edf9;
    --jt-cawi-tab-bg: #eeeaf8;
    --jt-cawi-tab-text: #3730a3;
    --jt-cawi-tab-border: rgba(124, 58, 237, 0.18);
    --jt-cawi-cat-bg: #f5f3ff;
    --jt-cawi-identity-body: #1e1b4b;
    --jt-cawi-metric-fade: #f7f5ff;
    --jt-cawi-panel-tint: #ede9fe;
    --jt-cawi-metric-tint: #ddd6fe;
    --jt-cawi-table-line: rgba(124, 58, 237, 0.12);
}

html[data-theme="light"] .jt-cawi-identity,
html[data-theme="light"] .jt-cawi-favorite,
html[data-theme="light"] .jt-cawi-motif {
    background:
        radial-gradient(ellipse 70% 120% at 92% 120%, rgba(167, 139, 250, 0.28), transparent 55%),
        radial-gradient(ellipse 42% 80% at 12% -8%, rgba(56, 189, 248, 0.1), transparent 52%),
        linear-gradient(180deg, #f5f3ff, #ede9fe);
}

html[data-theme="light"] .jt-cawi-identity::after,
html[data-theme="light"] .jt-cawi-favorite::after,
html[data-theme="light"] .jt-cawi-motif::after {
    opacity: 0.32;
    background:
        linear-gradient(180deg, transparent, rgba(237, 233, 254, 0.35)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 220' preserveAspectRatio='none'%3E%3Cpath fill='%23ddd6fe' d='M0 220L0 128L90 86L170 138L250 62L360 118L450 42L540 108L640 58L730 126L800 78L800 220z'/%3E%3Cpath fill='%23c4b5fd' d='M0 220L0 158L130 116L230 168L340 96L470 148L590 88L700 146L800 108L800 220z'/%3E%3C/svg%3E")
            no-repeat right bottom / cover;
}

html[data-theme="light"] .jt-cawi-identity-summary p,
html[data-theme="light"] .jt-cawi-identity-person h2,
html[data-theme="light"] .jt-cawi-favorite h3,
html[data-theme="light"] .jt-favorite-card h3 {
    color: #1e1b4b;
}

html[data-theme="light"] .jt-profile-tabs .mud-tab.mud-tab-active,
html[data-theme="light"] .jt-profile-tabs .mud-tab.active,
html[data-theme="light"] .jt-career-tabs .mud-tab.mud-tab-active,
html[data-theme="light"] .jt-career-tabs .mud-tab.active,
html[data-theme="light"] .jt-workspace-tabs .mud-tab.mud-tab-active,
html[data-theme="light"] .jt-workspace-tabs .mud-tab.active {
    background: var(--mud-palette-primary) !important;
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.22);
}

html[data-theme="light"] .jt-cawi-panel,
html[data-theme="light"] .jt-cawi-rail,
html[data-theme="light"] .jt-favorite-card,
html[data-theme="light"] .jt-empty-state,
html[data-theme="light"] .jt-cawi-mapband {
    box-shadow: 0 1px 2px rgba(76, 29, 149, 0.05);
}

html[data-theme="light"] .jt-metric-tile {
    box-shadow: 0 1px 2px rgba(76, 29, 149, 0.05);
}

html[data-theme="light"] .jt-metric-tile.is-violet .jt-metric-icon { color: #6d28d9; }
html[data-theme="light"] .jt-metric-tile.is-teal .jt-metric-icon { color: #0f766e; }
html[data-theme="light"] .jt-metric-tile.is-blue .jt-metric-icon { color: #1d4ed8; }
html[data-theme="light"] .jt-metric-tile.is-magenta .jt-metric-icon { color: #be185d; }
html[data-theme="light"] .jt-metric-tile.is-indigo .jt-metric-icon { color: #4338ca; }
html[data-theme="light"] .jt-metric-tile.is-cyan .jt-metric-icon { color: #0e7490; }
html[data-theme="light"] .jt-metric-tile.is-amber .jt-metric-icon { color: #b45309; }
html[data-theme="light"] .jt-metric-tile.is-rose .jt-metric-icon { color: #b91c1c; }

html[data-theme="light"] .jt-cawi-chip.is-manual,
html[data-theme="light"] .jt-cawi-cat.is-blue { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
html[data-theme="light"] .jt-cawi-chip.is-import,
html[data-theme="light"] .jt-cawi-cat.is-teal { background: rgba(13, 148, 136, 0.12); color: #0f766e; }
html[data-theme="light"] .jt-cawi-chip.is-merge,
html[data-theme="light"] .jt-cawi-cat.is-violet { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
html[data-theme="light"] .jt-cawi-chip.is-current { background: rgba(13, 148, 136, 0.12); color: #0f766e; }
html[data-theme="light"] .jt-cawi-chip.is-warn { background: rgba(217, 119, 6, 0.14); color: #b45309; }
html[data-theme="light"] .jt-cawi-chip.is-danger { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }
html[data-theme="light"] .jt-cawi-chip.is-progress { background: rgba(2, 132, 199, 0.12); color: #0369a1; }
html[data-theme="light"] .jt-cawi-chip.is-planned { background: rgba(100, 116, 139, 0.14); color: #334155; }
html[data-theme="light"] .jt-cawi-chip.is-core { background: rgba(217, 119, 6, 0.14); color: #b45309; }
html[data-theme="light"] .jt-cawi-chip.is-common { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
html[data-theme="light"] .jt-cawi-chip.is-skill { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
html[data-theme="light"] .jt-cawi-chip.is-project { background: rgba(219, 39, 119, 0.12); color: #be185d; }
html[data-theme="light"] .jt-cawi-chip.is-role { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
html[data-theme="light"] .jt-cawi-chip.is-edu { background: rgba(13, 148, 136, 0.12); color: #0f766e; }
html[data-theme="light"] .jt-cawi-chip.is-cert { background: rgba(217, 119, 6, 0.14); color: #b45309; }
html[data-theme="light"] .jt-cawi-chip.is-resume { background: rgba(2, 132, 199, 0.12); color: #0369a1; }
html[data-theme="light"] .jt-cawi-cat.is-magenta { background: rgba(219, 39, 119, 0.12); color: #be185d; }
html[data-theme="light"] .jt-cawi-cat.is-indigo { background: rgba(79, 70, 229, 0.12); color: #4338ca; }
html[data-theme="light"] .jt-cawi-cat.is-cyan { background: rgba(8, 145, 178, 0.12); color: #0e7490; }
html[data-theme="light"] .jt-cawi-cat.is-amber { background: rgba(217, 119, 6, 0.14); color: #b45309; }
html[data-theme="light"] .jt-cawi-cat.is-rose { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }

html[data-theme="light"] button.jt-cawi-cat {
    color: #3730a3;
    border-color: rgba(124, 58, 237, 0.2);
}

html[data-theme="light"] button.jt-cawi-cat.is-on {
    background: var(--mud-palette-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.22);
}

html[data-theme="light"] .jt-cawi-mark {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.12);
}

html[data-theme="light"] .jt-align-strong { color: #15803d; }
html[data-theme="light"] .jt-align-developing { color: #b45309; }
html[data-theme="light"] .jt-align-gap { color: #b91c1c; }
html[data-theme="light"] .jt-cawi-legend-row {
    border-bottom-color: rgba(124, 58, 237, 0.12);
}
html[data-theme="light"] .jt-cawi-legend-row.is-strong { color: #15803d; }
html[data-theme="light"] .jt-cawi-legend-row.is-strong b { background: #15803d; }
html[data-theme="light"] .jt-cawi-legend-row.is-developing { color: #b45309; }
html[data-theme="light"] .jt-cawi-legend-row.is-developing b { background: #b45309; }
html[data-theme="light"] .jt-cawi-legend-row.is-gap { color: #b91c1c; }
html[data-theme="light"] .jt-cawi-legend-row.is-gap b { background: #b91c1c; }
html[data-theme="light"] .jt-align-chip.is-strong { background: rgba(22, 163, 74, 0.12); color: #15803d; }
html[data-theme="light"] .jt-align-chip.is-developing { background: rgba(217, 119, 6, 0.14); color: #b45309; }
html[data-theme="light"] .jt-align-chip.is-gap { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }

html[data-theme="light"] .jt-career-banner {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.22);
}

html[data-theme="light"] .jt-cawi-status-hero.is-strong { background: rgba(22, 163, 74, 0.08); border-color: rgba(22, 163, 74, 0.24); }
html[data-theme="light"] .jt-cawi-status-hero.is-developing { background: rgba(217, 119, 6, 0.1); border-color: rgba(217, 119, 6, 0.24); }
html[data-theme="light"] .jt-cawi-status-hero.is-gap { background: rgba(220, 38, 38, 0.08); border-color: rgba(220, 38, 38, 0.24); }

html[data-theme="light"] .jt-learn-card {
    background: #f5f3ff;
    border-color: rgba(124, 58, 237, 0.16);
}

html[data-theme="light"] .jt-learn-card.is-planned { border-color: rgba(79, 70, 229, 0.2); }
html[data-theme="light"] .jt-learn-card.is-progress { border-color: rgba(124, 58, 237, 0.24); }
html[data-theme="light"] .jt-learn-card.is-completed { border-color: rgba(13, 148, 136, 0.28); }

html[data-theme="light"] .jt-learn-card-icon {
    background: rgba(124, 58, 237, 0.12);
    color: #6d28d9;
}

html[data-theme="light"] .jt-compare-card {
    background: #f7f5ff;
}

html[data-theme="light"] .jt-compare-card.is-you {
    border-color: rgba(13, 148, 136, 0.28);
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), #f7f5ff);
}

html[data-theme="light"] .jt-compare-card.is-target {
    border-color: rgba(124, 58, 237, 0.24);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), #f7f5ff);
}

html[data-theme="light"] .jt-evidence-panel {
    background: rgba(13, 148, 136, 0.08);
    border-color: rgba(13, 148, 136, 0.28);
}

html[data-theme="light"] .jt-evidence-panel.is-none {
    background: #f5f3ff;
    border-color: rgba(124, 58, 237, 0.16);
}

html[data-theme="light"] .jt-evidence-status,
html[data-theme="light"] .jt-evidence-found li,
html[data-theme="light"] .jt-complete-mark {
    color: #0f766e;
}

html[data-theme="light"] .jt-complete-mark {
    background: rgba(13, 148, 136, 0.12);
    box-shadow: none;
}

html[data-theme="light"] .jt-complete-mark.is-confirm {
    color: #6d28d9;
    background: rgba(124, 58, 237, 0.12);
}

html[data-theme="light"] .jt-info-callout {
    border-color: rgba(37, 99, 235, 0.22);
    background: rgba(219, 234, 254, 0.9);
    color: #1e3a8a;
}

html[data-theme="light"] .jt-proficiency-dots i.is-on,
html[data-theme="light"] .jt-proficiency-dot.is-on {
    background: #2563eb;
    box-shadow: none;
}

html[data-theme="light"] .jt-proficiency-dots.is-you i.is-on,
html[data-theme="light"] .jt-proficiency-dots.is-you .jt-proficiency-dot.is-on {
    background: #0d9488;
}

html[data-theme="light"] .jt-proficiency-dots.is-target i.is-on,
html[data-theme="light"] .jt-proficiency-dots.is-target .jt-proficiency-dot.is-on {
    background: #7c3aed;
}

html[data-theme="light"] .mud-dialog.jt-workspace-dialog .mud-dialog-title,
html[data-theme="light"] .mud-dialog.jt-workspace-dialog .mud-dialog-actions {
    border-color: var(--jt-dialog-divider);
}

@media (max-width: 1100px) {
    .jt-cawi-overview-mid,
    .jt-cawi-fav-row,
    .jt-cawi-map-grid,
    .jt-cawi-split,
    .jt-cawi-split:has(.jt-cawi-rail) {
        grid-template-columns: 1fr;
    }

    .jt-workspace-tabs .mud-tabs-tabbar-wrapper,
    .jt-profile-tabs .mud-tabs-tabbar-wrapper,
    .jt-career-tabs .mud-tabs-tabbar-wrapper {
        flex-wrap: wrap;
    }
}

@media (max-width: 960px) {
    .jt-cawi-identity {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .jt-cawi-identity-summary {
        grid-column: 1 / -1;
        padding-left: 0;
        border-left: 0;
    }

    .jt-cawi-listcard {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .jt-cawi-listcard > .jt-cawi-row-actions {
        grid-column: 2;
        justify-content: flex-start;
    }

    .jt-history-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .jt-history-main > .jt-cawi-row-actions {
        justify-self: start;
    }

    .jt-cawi-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .jt-cawi-identity {
        grid-template-columns: 1fr;
        padding: 12px 14px;
    }

    .jt-cawi-identity-summary {
        padding-left: 0;
        border-left: 0;
    }

    .jt-cawi-identity::after,
    .jt-cawi-favorite::after {
        width: 70%;
        opacity: 0.28;
    }

    .jt-cawi-listcard,
    .jt-cawi-compare,
    .jt-cawi-drawer-split,
    .jt-compare-pair,
    .jt-date-row,
    .jt-history-main,
    .jt-skill-review-levels {
        grid-template-columns: 1fr;
    }

    .jt-cawi-align {
        flex-direction: column;
        justify-content: center;
    }

    .jt-cawi-legend {
        width: min(100%, 240px);
        flex: 0 1 auto;
    }

    .jt-learn-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .jt-learn-card-side {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .jt-history-main > .jt-cawi-row-actions {
        justify-self: start;
    }

    .jt-desktop-table { display: none; }
    .jt-mobile-cards { display: grid; gap: 10px; }

    .jt-profile-initials {
        width: 44px;
        height: 44px;
    }

    .mud-dialog.jt-workspace-dialog,
    .jt-workspace-dialog.mud-dialog,
    .mud-dialog.jt-cawi-drawer {
        max-width: 100vw !important;
        width: 100vw !important;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }
}
