.jt-action-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 70%, transparent);
    color: var(--mud-palette-text-secondary);
    font-size: 0.85rem;
}

.jt-company-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    flex: none;
}

.jt-company-mark-empty {
    background: #6b7280;
}

.jt-board-wrap,
.jt-board-container {
    min-width: 0;
    width: 100%;
}

.jt-board {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 2px 2px 12px;
    align-items: stretch;
}

.jt-board-column {
    --jt-stage-glow: #94a3b8;
    flex: 0 0 280px;
    min-width: 260px;
    max-width: 320px;
    background: #141826;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 18px;
    padding: 10px;
    overflow: visible;
}

.jt-board-column.status-saved { --jt-stage-glow: #f59e0b; }
.jt-board-column.status-applied { --jt-stage-glow: #3b82f6; }
.jt-board-column.status-interview { --jt-stage-glow: #8b5cf6; }
.jt-board-column.status-offer { --jt-stage-glow: #22c55e; }
.jt-board-column.status-rejected { --jt-stage-glow: #f43f5e; }
.jt-board-column.status-withdrawn { --jt-stage-glow: #94a3b8; }

.jt-board-column.is-focus {
    outline: 2px solid color-mix(in srgb, var(--mud-palette-primary) 55%, transparent);
    outline-offset: 1px;
}

.jt-board-column-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    width: 100%;
}

.jt-board-column-head.jt-stage {
    position: relative;
    min-height: 0;
    flex-direction: row;
    overflow: visible;
    padding: 10px 8px 8px 10px;
    margin-bottom: 10px;
    border: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--jt-stage-glow) 16%, #121826) !important;
    box-shadow: none;
    outline: none;
}

.jt-board-column-head.jt-stage::before {
    content: "";
    position: absolute;
    top: 0;
    right: 10px;
    left: 10px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--jt-stage-glow);
    box-shadow:
        0 0 10px var(--jt-stage-glow),
        0 0 18px color-mix(in srgb, var(--jt-stage-glow) 70%, transparent);
    pointer-events: none;
}

html[data-theme="dark"] .jt-board-column-head.jt-stage.is-on,
html[data-theme="dark"] .jt-board-column-head.jt-stage.status-saved.is-on,
html[data-theme="dark"] .jt-board-column-head.jt-stage.status-applied.is-on,
html[data-theme="dark"] .jt-board-column-head.jt-stage.status-interview.is-on,
html[data-theme="dark"] .jt-board-column-head.jt-stage.status-offer.is-on,
html[data-theme="dark"] .jt-board-column-head.jt-stage.status-rejected.is-on,
html[data-theme="dark"] .jt-board-column-head.jt-stage.status-withdrawn.is-on {
    background: color-mix(in srgb, var(--jt-stage-glow) 16%, #121826) !important;
}

html[data-theme="light"] .jt-board-column {
    background: #f8fafc;
    border-color: #e2e8f0;
}

html[data-theme="light"] .jt-board-column-head.jt-stage,
html[data-theme="light"] .jt-board-column-head.jt-stage.is-on,
html[data-theme="light"] .jt-board-column-head.jt-stage.status-saved.is-on,
html[data-theme="light"] .jt-board-column-head.jt-stage.status-applied.is-on,
html[data-theme="light"] .jt-board-column-head.jt-stage.status-interview.is-on,
html[data-theme="light"] .jt-board-column-head.jt-stage.status-offer.is-on,
html[data-theme="light"] .jt-board-column-head.jt-stage.status-rejected.is-on,
html[data-theme="light"] .jt-board-column-head.jt-stage.status-withdrawn.is-on {
    background: color-mix(in srgb, var(--jt-stage-glow) 14%, #fff) !important;
}

html[data-theme="light"] .jt-board-column-head.jt-stage::before {
    box-shadow: 0 0 8px color-mix(in srgb, var(--jt-stage-glow) 55%, transparent);
}

.jt-board-column-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 0.84rem;
    font-weight: 700;
}

.jt-board-column-title .mud-icon-root {
    font-size: 1.05rem;
}

.jt-board-column-head.jt-stage strong,
.jt-board-column-count {
    font-family: Inter, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    min-width: 1.45rem;
    height: 1.45rem;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: color-mix(in srgb, currentColor 16%, transparent);
}

.jt-board-column-menu {
    margin: 0 -4px 0 0;
}

.jt-board-empty {
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 7.5rem;
    padding: 18px 10px 12px;
    text-align: center;
    color: var(--mud-palette-text-secondary);
}

.jt-board-empty-icon {
    width: 1.6rem;
    height: 1.6rem;
    opacity: 0.55;
}

.jt-board-empty p {
    margin: 8px 0 0;
    color: var(--mud-palette-text-primary);
    font-size: 0.86rem;
    font-weight: 650;
}

.jt-board-empty span {
    max-width: 16rem;
    font-size: 0.75rem;
    line-height: 1.35;
}

.jt-board-zone {
    min-height: 80px;
    position: relative;
    overflow: visible;
}

.jt-board-column:has(.jt-board-dragging),
.jt-board-column:has(.jt-board-can-drop) {
    border-color: color-mix(in srgb, var(--jt-stage-glow) 55%, transparent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--jt-stage-glow) 55%, transparent);
}

.jt-board-zone .mud-drop-item {
    position: relative;
    overflow: visible;
    transition: transform 180ms cubic-bezier(.2, .8, .2, 1), opacity 160ms ease;
}

.jt-board-zone .mud-drop-item[index="-1"] {
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.jt-board-zone .mud-drop-item-preview-start {
    position: absolute !important;
    display: block !important;
    width: 100% !important;
    height: 28px !important;
    min-height: 28px !important;
    top: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 0 !important;
    z-index: 4 !important;
}

@keyframes jt-board-slot-pulse {
    from {
        filter: brightness(.9);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 55%, black),
            0 0 10px color-mix(in srgb, var(--mud-palette-primary) 70%, black),
            0 0 22px color-mix(in srgb, var(--mud-palette-primary) 48%, black);
    }
    to {
        filter: brightness(1.02);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 62%, black),
            0 0 14px color-mix(in srgb, var(--mud-palette-primary) 78%, black),
            0 0 28px color-mix(in srgb, var(--mud-palette-primary) 55%, black);
    }
}

@keyframes jt-board-slot-pulse-light {
    from {
        filter: brightness(.96);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 42%, transparent),
            0 0 8px color-mix(in srgb, var(--mud-palette-primary) 34%, transparent),
            0 0 18px color-mix(in srgb, var(--mud-palette-primary) 22%, transparent);
    }
    to {
        filter: brightness(1.06);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 55%, transparent),
            0 0 12px color-mix(in srgb, var(--mud-palette-primary) 42%, transparent),
            0 0 24px color-mix(in srgb, var(--mud-palette-primary) 28%, transparent);
    }
}

.jt-board-zone .mud-dropitem-placeholder {
    display: block;
    width: 100%;
    min-height: 10px !important;
    height: 10px !important;
    margin: 3px 0 5px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--mud-palette-primary) 72%, black) 18%,
        color-mix(in srgb, var(--mud-palette-primary) 88%, black) 50%,
        color-mix(in srgb, var(--mud-palette-primary) 72%, black) 82%,
        transparent 100%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 58%, black),
        0 0 12px color-mix(in srgb, var(--mud-palette-primary) 74%, black),
        0 0 24px color-mix(in srgb, var(--mud-palette-primary) 52%, black);
    color: transparent;
    animation: jt-board-slot-pulse 1.15s ease-in-out infinite alternate;
    pointer-events: none;
}

html[data-theme="light"] .jt-board-zone .mud-dropitem-placeholder {
    background: linear-gradient(
        90deg,
        transparent 0%,
        color-mix(in srgb, var(--mud-palette-primary) 78%, #1e1b4b) 16%,
        var(--mud-palette-primary) 50%,
        color-mix(in srgb, var(--mud-palette-primary) 78%, #1e1b4b) 84%,
        transparent 100%);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 48%, transparent),
        0 0 10px color-mix(in srgb, var(--mud-palette-primary) 36%, transparent),
        0 0 20px color-mix(in srgb, var(--mud-palette-primary) 24%, transparent);
    animation: jt-board-slot-pulse-light 1.15s ease-in-out infinite alternate;
}

.jt-board-zone:not(:has(.mud-drop-item:not(.mud-drop-item-preview-start):not([index="-1"]))) .mud-dropitem-placeholder {
    min-height: 72px !important;
    height: 72px !important;
    margin: 0 0 8px;
    border: 2px dashed var(--mud-palette-primary) !important;
    border-radius: 10px;
    background: color-mix(in srgb, var(--mud-palette-primary) 9%, var(--mud-palette-surface));
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--mud-palette-primary) 14%, transparent),
        0 0 22px color-mix(in srgb, var(--mud-palette-primary) 28%, transparent);
}

html[data-theme="light"] .jt-board-zone:not(:has(.mud-drop-item:not(.mud-drop-item-preview-start):not([index="-1"]))) .mud-dropitem-placeholder {
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, #fff);
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--mud-palette-primary) 18%, transparent),
        0 0 18px color-mix(in srgb, var(--mud-palette-primary) 20%, transparent);
}

.jt-board-zone .mud-dropitem-placeholder.d-none {
    display: none !important;
    width: 0;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none;
    animation: none;
}

.jt-board-zone:has(.mud-dropitem-placeholder:not(.d-none)) .jt-board-empty {
    display: none;
}

.jt-board-can-drop {
    outline: none;
    border-radius: 12px;
    background: color-mix(in srgb, var(--mud-palette-primary) 10%, transparent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--mud-palette-primary) 55%, transparent);
}

.jt-board-card {
    --jt-stage-glow: #94a3b8;
    background: #1a2033;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    padding: 12px 12px 10px;
    margin-bottom: 8px;
    min-width: 0;
    position: relative;
    cursor: grab;
    overflow: visible;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.jt-board-card.status-saved { --jt-stage-glow: #f59e0b; }
.jt-board-card.status-applied { --jt-stage-glow: #3b82f6; }
.jt-board-card.status-interview { --jt-stage-glow: #8b5cf6; }
.jt-board-card.status-offer { --jt-stage-glow: #22c55e; }
.jt-board-card.status-rejected { --jt-stage-glow: #f43f5e; }
.jt-board-card.status-withdrawn { --jt-stage-glow: #94a3b8; }

.jt-board-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 10px;
    left: 10px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: var(--jt-stage-glow);
    box-shadow:
        0 0 10px var(--jt-stage-glow),
        0 0 20px color-mix(in srgb, var(--jt-stage-glow) 72%, transparent);
    pointer-events: none;
    z-index: 2;
}

.jt-board-reorder-hit {
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.jt-board-reorder-hit.is-before {
    top: -12px;
    height: 36px;
    bottom: auto;
    z-index: 5;
}

.jt-board-reorder-hit.is-after {
    top: auto;
    height: 36px;
    bottom: -8px;
    z-index: 4;
}

.jt-board-zone.jt-board-dragging .jt-board-reorder-hit,
.jt-board-zone.jt-board-can-drop .jt-board-reorder-hit,
.jt-board-container:has(.jt-board-item-dragging) .jt-board-reorder-hit {
    pointer-events: auto;
}

.jt-board-card:active { cursor: grabbing; }

.jt-board-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--jt-stage-glow) 38%, #e5e7eb);
    box-shadow: 0 10px 22px rgb(15 23 42 / 8%);
}

.jt-board-card:hover::after {
    box-shadow:
        0 0 14px var(--jt-stage-glow),
        0 0 28px color-mix(in srgb, var(--jt-stage-glow) 82%, transparent);
}

.jt-board-item-dragging {
    opacity: .9 !important;
    transform: scale(1.015) !important;
}

.jt-board-item-dragging .jt-board-card {
    box-shadow: 0 16px 28px rgb(15 23 42 / 18%);
}

.jt-board-dragging {
    border-radius: 12px;
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent);
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    .jt-board-zone .mud-dropitem-placeholder {
        animation: none;
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 58%, black),
            0 0 12px color-mix(in srgb, var(--mud-palette-primary) 74%, black),
            0 0 24px color-mix(in srgb, var(--mud-palette-primary) 52%, black);
    }

    html[data-theme="light"] .jt-board-zone .mud-dropitem-placeholder {
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--mud-palette-primary) 48%, transparent),
            0 0 10px color-mix(in srgb, var(--mud-palette-primary) 36%, transparent),
            0 0 20px color-mix(in srgb, var(--mud-palette-primary) 24%, transparent);
    }

    .jt-board-card {
        transition: border-color 120ms ease, box-shadow 120ms ease;
    }
}

.jt-board-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.jt-board-card-company {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
    font-weight: 650;
    color: var(--mud-palette-text-secondary);
}

.jt-board-card-title,
.jt-board-card-meta,
.jt-board-card-salary,
.jt-board-card-date,
.jt-board-card-next,
.jt-board-card-match {
    margin: 6px 0 0;
    overflow-wrap: anywhere;
    min-width: 0;
}

.jt-board-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.jt-board-match-inline {
    cursor: pointer;
    height: 22px;
}

.jt-match-chip.is-excellent {
    background: color-mix(in srgb, #0d9488 16%, #fff) !important;
    color: #0f766e !important;
    border-color: color-mix(in srgb, #0d9488 28%, transparent) !important;
}

.jt-match-chip.is-good {
    background: color-mix(in srgb, #2563eb 16%, #fff) !important;
    color: #1d4ed8 !important;
    border-color: color-mix(in srgb, #2563eb 28%, transparent) !important;
}

.jt-match-chip.is-fair {
    background: color-mix(in srgb, #d97706 16%, #fff) !important;
    color: #b45309 !important;
    border-color: color-mix(in srgb, #d97706 28%, transparent) !important;
}

.jt-match-chip.is-stretch {
    background: color-mix(in srgb, #64748b 12%, #fff) !important;
    color: #475569 !important;
    border-color: color-mix(in srgb, #64748b 24%, transparent) !important;
}

.jt-board-card-title {
    font-weight: 700;
    font-size: 0.94rem;
    line-height: 1.3;
    color: var(--mud-palette-text-primary);
}

.jt-board-card-fields {
    display: grid;
    gap: 7px;
    margin: 8px 0 0;
}

.jt-board-card-fields div {
    min-width: 0;
}

.jt-board-card-fields dt {
    color: var(--mud-palette-text-secondary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jt-board-card-fields dd {
    margin: 1px 0 0;
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.jt-board-card-meta,
.jt-board-card-date,
.jt-board-card-next,
.jt-board-card-salary {
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
}

.jt-details-dl {
    display: grid;
    gap: 8px 24px;
    margin: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jt-details-dl div {
    min-width: 0;
}

.jt-details-dl dt {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
}

.jt-details-dl dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.jt-details-title,
.jt-details-title .mud-typography {
    overflow-wrap: anywhere;
    min-width: 0;
}

.jt-details-html {
    overflow-wrap: anywhere;
    white-space: normal;
    min-width: 0;
    line-height: 1.45;
}

.jt-details-html p,
.jt-details-html ul,
.jt-details-html ol,
.jt-details-html h1,
.jt-details-html h2,
.jt-details-html h3 {
    margin: 0 0 0.4em;
}

.jt-details-html p:last-child,
.jt-details-html ul:last-child,
.jt-details-html ol:last-child {
    margin-bottom: 0;
}

.jt-details-html br + br {
    display: none;
}

.jt-details-notes {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    min-width: 0;
    margin: 0;
}

.jt-details-notes-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}

.jt-board-card-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin-top: 6px;
    min-width: 0;
}

.jt-board-card-pin {
    margin-left: 0;
}

.jt-board-match { margin-left: auto; cursor: pointer; }

.jt-follow-up {
    display: block;
    width: fit-content;
    margin-top: 5px;
    padding: 3px 8px;
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: .75rem;
    cursor: pointer;
}

.jt-interview-date {
    display: block;
    width: fit-content;
    margin-top: 5px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.jt-interview-date:hover,
.jt-interview-date:focus-visible {
    text-decoration: underline;
    outline: none;
}

.jt-details-date {
    max-width: 220px;
}

.jt-follow-up.is-due {
    border-color: color-mix(in srgb, #ef4444 55%, transparent);
    background: color-mix(in srgb, #ef4444 14%, transparent);
    color: #dc2626;
    font-weight: 700;
    animation: jt-due-in 400ms ease-out both;
}

.jt-follow-up.is-done {
    border-color: color-mix(in srgb, #16a34a 55%, transparent);
    background: color-mix(in srgb, #16a34a 14%, transparent);
    color: #15803d;
    font-weight: 700;
}

.jt-follow-up.is-no-response {
    border-color: color-mix(in srgb, #f59e0b 62%, transparent);
    background: color-mix(in srgb, #f59e0b 16%, transparent);
    color: #b45309;
    font-weight: 700;
}

.jt-follow-up-table {
    width: 100%;
    max-width: 138px;
    margin-top: 7px;
    padding: 5px 7px 5px 9px;
    border: 0;
    border-left: 2px solid color-mix(in srgb, var(--mud-palette-primary) 72%, transparent);
    border-radius: 5px;
    background: linear-gradient(90deg,
        color-mix(in srgb, var(--mud-palette-primary) 12%, transparent),
        color-mix(in srgb, var(--mud-palette-primary) 3%, transparent));
    line-height: 1.35;
    text-align: left;
    text-wrap: balance;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.jt-follow-up-table:hover,
.jt-follow-up-table:focus-visible {
    border-left-color: var(--mud-palette-primary);
    background: color-mix(in srgb, var(--mud-palette-primary) 15%, transparent);
    outline: none;
}

.jt-follow-up-table.is-due {
    border: 0;
    border-left: 2px solid #ef4444;
    border-radius: 5px;
    background: linear-gradient(90deg,
        color-mix(in srgb, #ef4444 15%, transparent),
        color-mix(in srgb, #ef4444 4%, transparent));
}

.jt-follow-up-table.is-done {
    border: 0;
    border-left: 2px solid #16a34a;
    border-radius: 5px;
    background: linear-gradient(90deg,
        color-mix(in srgb, #16a34a 15%, transparent),
        color-mix(in srgb, #16a34a 4%, transparent));
}

.jt-follow-up-table.is-done:hover,
.jt-follow-up-table.is-done:focus-visible {
    border-left-color: #15803d;
    background: color-mix(in srgb, #16a34a 18%, transparent);
}

.jt-follow-up-table.is-no-response {
    border: 0;
    border-left: 2px solid #f59e0b;
    border-radius: 5px;
    background: linear-gradient(90deg,
        color-mix(in srgb, #f59e0b 18%, transparent),
        color-mix(in srgb, #f59e0b 5%, transparent));
}

.jt-follow-up-table.is-no-response:hover,
.jt-follow-up-table.is-no-response:focus-visible {
    border-left-color: #d97706;
    background: color-mix(in srgb, #f59e0b 21%, transparent);
}

.mud-dialog:has(.jt-follow-up-shell) {
    width: min(720px, calc(100vw - 32px)) !important;
    max-width: min(720px, calc(100vw - 32px)) !important;
}

.jt-follow-up-shell {
    min-width: 0;
}

.jt-follow-up-date {
    width: min(360px, 100%);
}

.jt-follow-up-options {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.jt-follow-up-options > .mud-button-root {
    flex: 1 1 0;
    min-width: 0;
    min-height: 36px;
    padding-inline: 10px;
    border-radius: 9px;
    white-space: nowrap;
}

.jt-follow-up-options .mud-button-label {
    gap: 5px;
    font-size: .78rem;
}

.jt-follow-up-lead {
    max-width: 620px;
    margin: 0 0 14px;
    color: var(--mud-palette-text-secondary);
    line-height: 1.45;
}

@media (max-width: 640px) {
    .jt-follow-up-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jt-follow-up-options > .mud-button-root {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .jt-follow-up-options {
        grid-template-columns: minmax(0, 1fr);
    }
}

.jt-follow-up-set { display: flex; margin-top: 4px; padding-left: 0; font-size: .75rem; }
@keyframes jt-due-in { from { opacity: .35; transform: translateY(3px); } }

.jt-notes-editor,
.jt-notes-field,
.jt-notes-dialog .mud-dialog-content {
    min-width: 0;
    width: 100%;
}

.jt-notes-status {
    min-height: 1.2em;
    margin: 6px 0 0;
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
}

.jt-notes-timeline {
    margin-top: 12px;
    min-width: 0;
}

.jt-notes-timeline p {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    font-size: 0.82rem;
    color: var(--mud-palette-text-secondary);
}

.jt-details-dialog.mud-dialog,
.mud-dialog.jt-details-dialog {
    width: min(1180px, calc(100vw - 32px)) !important;
    max-width: min(1180px, calc(100vw - 32px)) !important;
    max-height: min(92dvh, 980px);
}

.jt-details-dialog .mud-dialog-content {
    padding-inline: 20px !important;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

.jt-details-action-card {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    background: color-mix(in srgb, var(--mud-palette-primary) 3%, var(--mud-palette-surface));
}

.jt-outcome-tabs,
.jt-outcome-workspace {
    min-width: 0;
    max-width: 100%;
}

.jt-outcome-workspace {
    padding-block: 16px 8px;
}

@media (max-width: 720px) {
    .jt-details-dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .jt-details-dialog.mud-dialog,
    .mud-dialog.jt-details-dialog {
        width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
        max-height: calc(100dvh - 12px);
        margin: 6px;
    }

    .jt-details-dialog .mud-dialog-content {
        padding-inline: 12px !important;
    }
}

.jt-insights-section,
.jt-career-hero,
.jt-career-band {
    padding: 16px;
    margin-bottom: 16px;
    min-width: 0;
}

.jt-insights-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: 0;
    padding: 0 0 12px;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
    color: inherit;
}

.jt-insights-guidance,
.jt-insights-skills,
.jt-career-evidence,
.jt-career-chips {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.jt-insights-guide h2,
.jt-insights-h,
.jt-career-band h2,
.jt-career-chips h2,
.jt-career-evidence h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.jt-insights-caption {
    margin: 8px 0 0;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-insights-expand {
    cursor: pointer;
}

.jt-insights-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    margin-top: 6px;
}

.jt-insights-bar span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #7c3aed;
}

.jt-career-hero {
    display: grid;
    gap: 16px;
}

.jt-career-align {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.jt-career-align strong {
    display: block;
    font-size: 1.5rem;
}

.jt-career-align em {
    color: var(--mud-palette-text-secondary);
    font-style: normal;
    font-size: 0.85rem;
}

.jt-career-caption {
    font-family: Outfit, Inter, sans-serif;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
    text-align: center;
    margin: 0;
}

.jt-career-caption,
.jt-career-focus p {
    overflow-wrap: anywhere;
    min-width: 0;
}

.jt-career-skills {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
    container-type: inline-size;
}

.jt-career-skill {
    display: grid;
    grid-template-columns: 36px minmax(120px, 1fr) minmax(0, 1fr) minmax(0, 1fr) 36px;
    grid-template-areas: "ring name prof exp remove";
    gap: 8px;
    align-items: center;
}

.jt-career-skill strong {
    grid-area: name;
    min-width: 0;
    overflow-wrap: anywhere;
}

.jt-career-skill .jt-skill-ring {
    grid-area: ring;
    width: 36px;
    height: 36px;
}

.jt-career-skill .jt-skill-select {
    width: 100%;
    min-width: 0;
}

.jt-career-skill .jt-skill-select .mud-input-control {
    margin: 0;
}

.jt-career-skill .jt-skill-prof {
    grid-area: prof;
}

.jt-career-skill .jt-skill-exp {
    grid-area: exp;
}

.jt-career-skill .mud-icon-button {
    grid-area: remove;
}

@container (max-width: 560px) {
    .jt-career-skill {
        grid-template-columns: 36px 1fr 1fr 36px;
        grid-template-areas:
            "ring name name remove"
            "prof prof exp exp";
    }
}

.jt-career-skills-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.jt-career-skills-head h2 {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.jt-career-skills-context {
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-insights-bands,
.jt-insights-roles,
.jt-insights-companies {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.jt-signal-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: var(--mud-palette-surface);
}

.jt-signal-card h3 {
    margin: 0 0 6px;
    font-size: 0.85rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.jt-signal-card p {
    display: block;
    overflow-wrap: anywhere;
}

.jt-signal-card.is-best {
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.35);
}

.jt-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jt-insights-range {
    max-width: 10.5rem;
    width: 100%;
    min-width: 0;
    pointer-events: auto;
}

.jt-page.jt-insights {
    overflow: visible;
}

.jt-insights .jt-page-header {
    overflow: visible;
    position: relative;
    z-index: 20;
}

.jt-insights-range-popover {
    z-index: 2000 !important;
    margin-top: 4px;
    min-width: 10rem;
}

.jt-insights-mudchart {
    min-width: 0;
    max-width: 100%;
}

.match-tabs .mud-table-row {
    cursor: pointer;
}

.jt-career-add-gaps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

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

.jt-career-focus-label {
    font-family: Outfit, Inter, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
}

.jt-career-focus-reason {
    font-family: Outfit, Inter, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.jt-stat-line {
    display: block;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-insights-guide-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-bottom: 8px;
}

.jt-insights-guide-head h2 {
    margin: 0;
    overflow-wrap: anywhere;
}

.jt-insights-members,
.jt-company-members {
    display: grid;
    gap: 6px;
    margin-top: 8px;
    max-height: 220px;
    overflow-y: auto;
}

.jt-member-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    justify-content: space-between;
    font-size: 0.78rem;
    min-width: 0;
}

button.jt-member-row.is-clickable {
    width: 100%;
    margin: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

button.jt-member-row.is-clickable:hover {
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
}

.jt-member-row.is-clickable {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.jt-member-main {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: center;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.jt-member-main:hover {
    background: color-mix(in srgb, var(--mud-palette-primary) 8%, transparent);
}

.jt-member-action {
    margin-left: auto;
    color: var(--mud-palette-primary);
    font-weight: 600;
}

.jt-role-title-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.jt-member-title {
    font-weight: 600;
    overflow-wrap: anywhere;
    min-width: 0;
}

.jt-member-sub,
.jt-member-status,
.jt-member-date {
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-company-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jt-company-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.jt-company-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.9rem;
}

.jt-company-count {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.jt-company-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: var(--mud-palette-text-secondary);
    margin-top: auto;
}

.jt-implied-card {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
    border-left: 4px solid var(--mud-palette-primary);
    border-radius: 12px;
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent);
    min-width: 0;
}

.jt-implied-body {
    flex: 1 1 auto;
    min-width: 0;
}

.jt-implied-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--mud-palette-text-secondary);
}

.jt-implied-body strong {
    display: block;
    overflow-wrap: anywhere;
}

.jt-implied-body p {
    margin: 2px 0 0;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-target-select {
    max-width: 320px;
    width: 100%;
}

.jt-career-pathslide {
    min-width: 0;
}

.jt-career-pathslide-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.jt-career-pathslide-head h2 {
    margin: 0;
    font-size: 1rem;
}

.jt-career-pathslide-count {
    font-size: 0.75rem;
    color: var(--mud-palette-text-secondary);
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 2px 10px;
    white-space: nowrap;
}

.jt-career-pathslide-sub {
    margin: 4px 0 12px;
    font-size: 0.85rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-career-steps {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
}

.jt-career-step {
    flex: 1 1 0;
    min-width: 140px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 4px 8px;
    font: inherit;
    color: inherit;
    cursor: pointer;
    position: relative;
    text-align: center;
    min-width: 0;
}

.jt-career-step::before {
    content: "";
    position: absolute;
    top: 24px;
    left: calc(-50% + 20px);
    right: calc(50% + 20px);
    height: 2px;
    background: #e5e7eb;
}

.jt-career-step:first-child::before {
    display: none;
}

.jt-career-step.is-active::before {
    background: var(--mud-palette-primary);
}

.jt-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
    position: relative;
    z-index: 1;
    flex: none;
}

.jt-career-step.is-done .jt-step-circle {
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: #fff;
}

.jt-career-step.is-active .jt-step-circle {
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary);
}

.jt-career-step.is-selected .jt-step-circle {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary) 35%, transparent);
}

.jt-step-name {
    font-size: 0.8rem;
    font-weight: 600;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.jt-step-badge {
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 1px 8px;
    white-space: nowrap;
}

.jt-career-step.is-done .jt-step-badge,
.jt-career-step.is-active .jt-step-badge {
    color: var(--mud-palette-primary);
    border-color: color-mix(in srgb, var(--mud-palette-primary) 40%, transparent);
}

.jt-career-step-detail {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    min-width: 0;
}

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

.jt-step-detail-head strong {
    overflow-wrap: anywhere;
    min-width: 0;
}

.jt-step-detail-note {
    margin: 0 0 8px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.jt-role-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.jt-role-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: var(--mud-palette-surface);
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.jt-role-card h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.jt-branch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.jt-evidence-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.jt-evidence-name {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.jt-evidence-value {
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.jt-evidence-bar {
    flex: 0 0 80px;
    height: 6px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.12);
    overflow: hidden;
}

.jt-evidence-bar span {
    display: block;
    height: 6px;
    border-radius: 999px;
    background: var(--mud-palette-primary);
}

.jt-chip-count {
    font-weight: 700;
    margin-left: 4px;
}

.jt-stat-num {
    font-weight: 700;
}

.jt-stat-num.is-applied {
    color: #2563eb;
}

.jt-stat-num.is-interview {
    color: var(--mud-palette-primary);
}

.jt-stat-num.is-offer {
    color: var(--mud-palette-success);
}

.jt-role-rings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.jt-role-ring {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
    min-width: 0;
}

.jt-insights-custom-range {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
}

.jt-range-field {
    max-width: 10.5rem;
    width: 100%;
    min-width: 0;
}

@media (max-width: 700px) {
    .jt-career-skill {
        grid-template-columns: 36px 1fr 1fr 36px;
        grid-template-areas:
            "ring name name remove"
            "prof prof exp exp";
    }

    .jt-insights-range,
    .jt-insights-search,
    .jt-target-select {
        max-width: none;
        width: 100%;
    }

    .jt-company-head,
    .jt-company-foot {
        flex-wrap: wrap;
    }
}

html[data-theme="dark"] .jt-board-column {
    background: #141826;
    border-color: rgba(148, 163, 184, 0.14);
}

html[data-theme="dark"] .jt-board-card {
    background: #1a2033;
    border-color: rgba(148, 163, 184, 0.12);
}

html[data-theme="dark"] .jt-board-card::after {
    box-shadow:
        0 0 12px var(--jt-stage-glow),
        0 0 24px color-mix(in srgb, var(--jt-stage-glow) 78%, transparent);
}

html[data-theme="light"] .jt-board-card {
    background: #fff;
    border-color: #e5e7eb;
}

html[data-theme="light"] .jt-board-card::after {
    box-shadow:
        0 0 8px var(--jt-stage-glow),
        0 0 16px color-mix(in srgb, var(--jt-stage-glow) 48%, transparent);
}

html[data-theme="dark"] .jt-board-card:hover {
    border-color: color-mix(in srgb, var(--jt-stage-glow) 46%, #1a2033);
    box-shadow: 0 12px 26px rgb(0 0 0 / 28%);
}

html[data-theme="dark"] .jt-match-chip.is-excellent {
    background: color-mix(in srgb, #14b8a6 22%, #1a2033) !important;
    color: #5eead4 !important;
}

html[data-theme="dark"] .jt-match-chip.is-good {
    background: color-mix(in srgb, #3b82f6 22%, #1a2033) !important;
    color: #93c5fd !important;
}

html[data-theme="dark"] .jt-match-chip.is-fair {
    background: color-mix(in srgb, #f59e0b 22%, #1a2033) !important;
    color: #fcd34d !important;
}

html[data-theme="dark"] .jt-match-chip.is-stretch {
    background: color-mix(in srgb, #94a3b8 18%, #1a2033) !important;
    color: #cbd5e1 !important;
}

html[data-theme="dark"] .jt-signal-card,
html[data-theme="dark"] .jt-company-card,
html[data-theme="dark"] .jt-role-card,
html[data-theme="dark"] .jt-career-step-detail {
    border-color: #3f3355;
}

html[data-theme="dark"] .jt-step-circle,
html[data-theme="dark"] .jt-step-badge,
html[data-theme="dark"] .jt-career-pathslide-count {
    border-color: #3f3355;
}

html[data-theme="dark"] .jt-career-step::before {
    background: #3f3355;
}

.jt-analysis-copy-list {
    margin-top: 8px;
    border: 1px solid #d9dce5;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.jt-analysis-copy-list .mud-list {
    padding: 0;
}

.jt-analysis-copy-list .jt-analysis-copy-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 48px;
    margin: 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid #d9dce5;
    background: transparent;
    line-height: 1.6;
    transition: background-color 140ms ease, box-shadow 140ms ease;
}

.jt-analysis-copy-list .jt-analysis-copy-row:last-child {
    border-bottom: 0;
}

.jt-analysis-copy-list .jt-analysis-copy-row:hover {
    background-color: #eee7fc;
    box-shadow: inset 3px 0 #8454d8;
}

.jt-analysis-copy-list .jt-analysis-copy-row,
.jt-analysis-copy-list .jt-analysis-copy-row * {
    cursor: text;
    -webkit-user-select: text;
    user-select: text;
}

.jt-analysis-copy-icon {
    flex: 0 0 auto;
    margin-top: 3px;
}

.jt-analysis-copy-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

html[data-theme="dark"] .jt-analysis-copy-list {
    background: #211d2b;
    border-color: #51465f;
}

html[data-theme="dark"] .jt-analysis-copy-list .jt-analysis-copy-row {
    border-bottom-color: #51465f;
}

html[data-theme="dark"] .jt-analysis-copy-list .jt-analysis-copy-row:hover {
    background-color: #3d2e55;
    box-shadow: inset 3px 0 #b995ff;
}

@media (prefers-reduced-motion: reduce) {
    .jt-analysis-copy-list .jt-analysis-copy-row { transition: none; }
}

html[data-theme="dark"] .jt-career-step.is-active::before {
    background: var(--mud-palette-primary);
}

.jt-page.jt-insights {
    overflow: visible;
    position: relative;
    width: 100%;
    min-width: 0;
    container-type: inline-size;
    container-name: insights;
}

html[data-theme="dark"] .jt-page.jt-insights {
    background:
        radial-gradient(1200px 420px at 12% -8%, rgba(124, 58, 237, 0.18), transparent 58%),
        radial-gradient(900px 380px at 92% 6%, rgba(59, 130, 246, 0.1), transparent 52%);
}

.jt-insights .jt-page-header {
    overflow: visible;
    position: relative;
    z-index: 20;
    margin-bottom: 22px;
}

.jt-insights .jt-page-title {
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
    letter-spacing: -0.04em;
}

.jt-insights .jt-page-lead {
    max-width: 40rem;
    color: color-mix(in srgb, var(--mud-palette-text-secondary) 92%, white);
}

.jt-insights-head {
    align-items: flex-start;
}

.jt-insights-head-copy {
    min-width: 0;
}

.jt-insights-head-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px 12px;
    min-width: 0;
    position: relative;
    padding-top: 0.4rem;
}

.jt-insights-head-controls {
    display: grid;
    justify-items: end;
    gap: 8px;
    min-width: 0;
}

.jt-insights-motif {
    position: absolute;
    top: -1.35rem;
    right: 0;
    color: color-mix(in srgb, var(--mud-palette-primary) 78%, white);
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: 0.82rem;
    opacity: 0.78;
    pointer-events: none;
    white-space: nowrap;
}

.jt-insights-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
}

.jt-insights-live {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
}

.jt-insights-search {
    width: min(100%, 16rem);
    min-width: 0;
}

.jt-insights-back {
    margin: 0 0 4px -8px;
}

.jt-insights .jt-card.jt-insights-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 80%, transparent);
    background: color-mix(in srgb, var(--mud-palette-surface) 94%, transparent);
    box-shadow: 0 10px 30px rgba(17, 12, 32, 0.08);
    overflow: visible;
    box-sizing: border-box;
}

html[data-theme="dark"] .jt-insights .jt-card.jt-insights-panel {
    background: rgba(24, 18, 40, 0.92);
    border-color: rgba(102, 78, 148, 0.42);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .jt-insights-actions {
    box-shadow:
        0 0 0 1px rgba(139, 92, 246, 0.22),
        0 0 42px rgba(109, 40, 217, 0.12),
        0 16px 40px rgba(0, 0, 0, 0.22);
}

.jt-insights-kpis {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 16px;
}

.jt-kpi-card {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 80%, transparent);
    border-radius: 18px;
    background: color-mix(in srgb, var(--mud-palette-surface) 94%, transparent);
}

html[data-theme="dark"] .jt-kpi-card {
    background: rgba(28, 20, 46, 0.94);
    border-color: rgba(102, 78, 148, 0.42);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.05), 0 12px 28px rgba(0, 0, 0, 0.18);
}

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

.jt-kpi-icon.is-teal { color: #5eead4; background: rgba(45, 212, 191, 0.14); }
.jt-kpi-icon.is-blue { color: #93c5fd; background: rgba(59, 130, 246, 0.16); }
.jt-kpi-icon.is-magenta { color: #f0abfc; background: rgba(217, 70, 239, 0.14); }

.jt-kpi-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.jt-kpi-label,
.jt-kpi-sub {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.jt-kpi-sub.is-hint {
    cursor: help;
}

.jt-kpi-value {
    font-family: Outfit, Inter, sans-serif;
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.jt-kpi-aside {
    display: grid;
    justify-items: end;
    gap: 8px;
    min-width: 0;
}

.jt-kpi-chip,
.jt-kpi-delta {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    white-space: nowrap;
}

.jt-kpi-chip.is-up,
.jt-kpi-delta.is-up {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

.jt-kpi-chip.is-down,
.jt-kpi-delta.is-down {
    color: #fb7185;
    background: rgba(251, 113, 133, 0.12);
}

.jt-kpi-chip.is-flat,
.jt-kpi-delta.is-flat {
    color: var(--mud-palette-text-secondary);
    background: color-mix(in srgb, var(--mud-palette-text-secondary) 12%, transparent);
}

.jt-kpi-spark {
    width: min(76px, 100%);
    height: 28px;
}

.jt-kpi-spark polyline {
    fill: none;
    stroke: #a78bfa;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.45));
}

.jt-kpi-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 28px;
}

.jt-kpi-bars i {
    display: block;
    width: 5px;
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.55);
}

.jt-kpi-bars i:nth-child(1) { height: 38%; }
.jt-kpi-bars i:nth-child(2) { height: 62%; }
.jt-kpi-bars i:nth-child(3) { height: 48%; }
.jt-kpi-bars i:nth-child(4) { height: 82%; }
.jt-kpi-bars i:nth-child(5) { height: 58%; }
.jt-kpi-bars.is-time i { background: rgba(96, 165, 250, 0.7); }

.jt-kpi-meter {
    display: block;
    width: 72px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.16);
}

.jt-kpi-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #c4b5fd);
}

.jt-insights-split {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    margin: 16px 0;
    align-items: start;
}

.jt-insights-role-full {
    min-width: 0;
    max-width: 100%;
    margin: 0 0 16px;
}

.jt-insights-mid {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    margin: 0 0 16px;
    align-items: stretch;
}

.jt-insights-mid > .jt-insights-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.jt-insights-mid .jt-insights-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: auto;
}

.jt-insights-mid-stack {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.jt-insights-panel {
    min-width: 0;
}

.jt-insights-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    min-width: 0;
}

.jt-insights-panel-title {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.jt-insights-panel-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 10px;
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.16);
}

.jt-insights-panel-head h2,
.jt-insights-radar h3,
.jt-insights-skill-grid h3,
.jt-skill-heading {
    margin: 0;
    font-family: Outfit, Inter, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.jt-skill-heading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jt-skill-heading .mud-icon-root {
    color: #fbbf24;
}

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

.jt-action-after {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
}

.jt-action-after.is-compact {
    margin: -4px 0 12px;
}

.jt-insights-mid .jt-insights-actions .jt-action-row {
    padding: 10px 4px;
    gap: 10px;
}

.jt-insights-mid .jt-insights-actions .jt-action-icon {
    width: 32px;
    height: 32px;
}

.jt-action-after-unit {
    flex: none;
}

.jt-action-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.jt-action-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto 18px;
    gap: 12px 14px;
    align-items: center;
    padding: 14px 6px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 70%, transparent);
    color: inherit;
    text-decoration: none;
    min-width: 0;
    background: transparent;
}

.jt-action-list li:last-child .jt-action-row {
    border-bottom: 0;
    padding-bottom: 4px;
}

.jt-action-row:hover {
    border-color: color-mix(in srgb, var(--mud-palette-lines-default) 70%, transparent);
    background: color-mix(in srgb, var(--mud-palette-primary) 7%, transparent);
    border-radius: 14px;
}

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

.jt-action-row.is-high .jt-action-icon { color: #fb7185; background: rgba(251, 113, 133, 0.16); }
.jt-action-row.is-soon .jt-action-icon { color: #6ee7b7; background: rgba(52, 211, 153, 0.14); }
.jt-action-row.is-wait .jt-action-icon { color: #93c5fd; background: rgba(59, 130, 246, 0.16); }
.jt-action-row.is-stale .jt-action-icon { color: #fbbf24; background: rgba(251, 191, 36, 0.14); }

.jt-action-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mud-palette-primary);
}

.jt-action-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.jt-action-headline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.jt-action-pill {
    justify-self: start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(251, 113, 133, 0.14);
    color: #fb7185;
}

.jt-action-row.is-soon .jt-action-pill { background: rgba(52, 211, 153, 0.14); color: #34d399; }
.jt-action-row.is-wait .jt-action-pill { background: rgba(96, 165, 250, 0.16); color: #93c5fd; }
.jt-action-row.is-stale .jt-action-pill { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }

.jt-action-copy strong {
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.jt-action-copy span:not(.jt-action-pill):not(.jt-action-headline) {
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.jt-action-copy em {
    color: var(--mud-palette-text-secondary);
    font-size: 0.74rem;
    font-style: normal;
    overflow-wrap: anywhere;
}

.jt-action-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-text-secondary) 12%, transparent);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.jt-action-row.is-high .jt-action-badge { color: #fb7185; background: rgba(251, 113, 133, 0.12); }
.jt-action-row.is-soon .jt-action-badge { color: #cbd5e1; background: rgba(148, 163, 184, 0.12); }
.jt-action-row.is-wait .jt-action-badge { color: #fbbf24; background: rgba(251, 191, 36, 0.14); }
.jt-action-row.is-stale .jt-action-badge { color: #fb7185; background: rgba(251, 113, 133, 0.12); }

.jt-action-cta {
    display: none;
}

.jt-action-chevron {
    color: var(--mud-palette-text-secondary);
}

.jt-insights-table-wrap {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

.jt-insights-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    font-size: 0.8rem;
}

.jt-insights-table th {
    text-align: left;
    color: var(--mud-palette-text-secondary);
    font-weight: 600;
    padding: 8px 10px;
    white-space: nowrap;
}

.jt-insights-table th.is-num,
.jt-insights-table td.is-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    min-width: 3.5rem;
}

.jt-insights-table td {
    padding: 10px;
    border-top: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 55%, transparent);
    vertical-align: middle;
    overflow-wrap: normal;
    word-break: normal;
}

.jt-insights-table th:first-child,
.jt-insights-table td:first-child {
    min-width: 12rem;
}

.jt-insights-table td:not(:first-child) {
    white-space: nowrap;
}

.jt-insights-table-row {
    cursor: pointer;
}

.jt-insights-table-row:hover td {
    background: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent);
}

.jt-insights-company {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: max-content;
}

.jt-insights-company > :first-child {
    flex: none;
}

.jt-insights-company strong,
.jt-insights-table .jt-role-title-cell strong {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    flex: none;
}

.jt-insights-table .jt-role-title-cell {
    flex-wrap: nowrap;
    min-width: max-content;
}

.jt-insights-table .jt-mini-chip {
    overflow-wrap: break-word;
    word-break: normal;
}

.jt-insights-rate {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.jt-insights-rate-bar {
    display: block;
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary) 14%, transparent);
    overflow: hidden;
    flex: none;
}

.jt-insights-rate-bar span {
    display: block;
    height: 100%;
    background: var(--mud-palette-primary);
    border-radius: inherit;
}

.jt-match-pill {
    display: inline-flex;
    min-width: 2.6rem;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.jt-match-pill.is-high { color: #93c5fd; background: rgba(59, 130, 246, 0.16); }
.jt-match-pill.is-mid { color: #c4b5fd; background: rgba(139, 92, 246, 0.16); }
.jt-match-pill.is-low { color: #fbbf24; background: rgba(251, 191, 36, 0.14); }
.jt-match-pill.is-none { color: var(--mud-palette-text-secondary); background: color-mix(in srgb, var(--mud-palette-text-secondary) 12%, transparent); }

.jt-insights-inline-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
}

.jt-role-skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.jt-mini-chip {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 999px;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.jt-mini-chip.is-match {
    background: color-mix(in srgb, #34d399 18%, transparent);
    color: #059669;
}

.jt-mini-chip.is-gap {
    background: color-mix(in srgb, #fb7185 16%, transparent);
    color: #e11d48;
}

.jt-mini-chip.is-none {
    background: color-mix(in srgb, var(--mud-palette-text-secondary) 16%, transparent);
    color: var(--mud-palette-text-secondary);
}

.jt-insights-radar {
    min-width: 0;
    max-width: 100%;
    overflow: visible;
}

.jt-insights-skill-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
    align-items: start;
}

.jt-insights-skill-grid > * {
    min-width: 0;
}

.jt-skill-radar-frame {
    width: min(100%, 21.25rem);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.6rem, 5vw, 2.8rem) 1rem;
    box-sizing: border-box;
    overflow: visible;
}

.jt-insights-mudchart,
.jt-insights-mudchart .mud-chart,
.jt-skill-radar-frame .mud-chart {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    overflow: visible !important;
}

.jt-insights-mudchart svg,
.jt-skill-radar-frame svg.mud-chart-radar {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    overflow: visible !important;
    display: block;
}

.jt-insights-radar .mud-chart-legend,
.jt-insights-mudchart .mud-chart-legend,
.jt-skill-radar-frame .mud-chart-legend {
    display: none !important;
}

.jt-skill-radar-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: 4px 0 0;
    color: var(--mud-palette-text-secondary);
    font-size: 0.78rem;
}

.jt-skill-radar-legend > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jt-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    flex: none;
}

.jt-legend-your-skills {
    background: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, 0.55);
}

.jt-legend-target-skills {
    background: #60a5fa;
    box-shadow: 0 0 8px rgba(96, 165, 250, 0.45);
}

.jt-skill-bars {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.jt-skill-bars li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(48px, 1.2fr) auto;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
}

.jt-skill-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.jt-skill-bar {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
    overflow: hidden;
    min-width: 0;
}

.jt-skill-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.jt-skill-bar.is-match span {
    background: #7c3aed;
}

.jt-skill-bar.is-gap span {
    background: #f59e0b;
}

.jt-chip-count {
    font-weight: 700;
    color: #c4b5fd;
}

.jt-chip-count.is-gap {
    color: #fbbf24;
}

@media (max-width: 1279px) {
    .jt-insights-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .jt-insights-radar {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1023px) {
    .jt-insights-split,
    .jt-insights-mid {
        grid-template-columns: 1fr;
    }

    .jt-action-row {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        grid-template-areas:
            "icon copy chevron"
            "icon badge badge";
    }

    .jt-action-icon { grid-area: icon; }
    .jt-action-copy { grid-area: copy; }
    .jt-action-badge { grid-area: badge; justify-self: start; }
    .jt-action-chevron { grid-area: chevron; }
}

@media (max-width: 767px) {
    .jt-insights-kpis,
    .jt-insights-skill-grid {
        grid-template-columns: 1fr;
    }

    .jt-insights-radar {
        grid-column: auto;
    }

    .jt-insights-table thead {
        display: none;
    }

    .jt-insights-table,
    .jt-insights-table tbody,
    .jt-insights-table tr.jt-insights-table-row,
    .jt-insights-table tr.jt-insights-table-detail {
        display: block;
        width: 100%;
    }

    .jt-insights-table tr.jt-insights-table-row {
        padding: 10px 0 12px;
        border-top: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 55%, transparent);
    }

    .jt-insights-table tr.jt-insights-table-row td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        padding: 4px 0;
        text-align: right;
    }

    .jt-insights-table tr.jt-insights-table-row td::before {
        content: attr(data-label);
        color: var(--mud-palette-text-secondary);
        font-weight: 600;
        text-align: left;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child {
        display: block;
        text-align: left;
        padding-bottom: 8px;
        min-width: 0;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child::before {
        content: none;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child .jt-insights-company,
    .jt-insights-table tr.jt-insights-table-row td:first-child .jt-role-title-cell {
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child strong {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .jt-insights-table tr.jt-insights-table-detail td {
        display: block;
        width: 100%;
        border: 0;
    }

    .jt-insights-rate-bar {
        display: none;
    }

    .jt-skill-bars li {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "name count"
            "bar bar";
    }

    .jt-skill-name { grid-area: name; }
    .jt-skill-bar { grid-area: bar; }
    .jt-chip-count { grid-area: count; }
}

@container insights (max-width: 980px) {
    .jt-insights-split,
    .jt-insights-mid {
        grid-template-columns: 1fr;
    }
}

@container insights (max-width: 1100px) {
    .jt-insights-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .jt-insights-radar {
        grid-column: 1 / -1;
    }
}

@container insights (max-width: 760px) {
    .jt-insights-kpis,
    .jt-insights-skill-grid {
        grid-template-columns: 1fr;
    }

    .jt-insights-radar {
        grid-column: auto;
    }

    .jt-insights-table thead {
        display: none;
    }

    .jt-insights-table,
    .jt-insights-table tbody,
    .jt-insights-table tr.jt-insights-table-row,
    .jt-insights-table tr.jt-insights-table-detail {
        display: block;
        width: 100%;
    }

    .jt-insights-table tr.jt-insights-table-row {
        padding: 10px 0 12px;
        border-top: 1px solid color-mix(in srgb, var(--mud-palette-lines-default) 55%, transparent);
    }

    .jt-insights-table tr.jt-insights-table-row td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        padding: 4px 0;
        text-align: right;
    }

    .jt-insights-table tr.jt-insights-table-row td::before {
        content: attr(data-label);
        color: var(--mud-palette-text-secondary);
        font-weight: 600;
        text-align: left;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child {
        display: block;
        text-align: left;
        padding-bottom: 8px;
        min-width: 0;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child::before {
        content: none;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child .jt-insights-company,
    .jt-insights-table tr.jt-insights-table-row td:first-child .jt-role-title-cell {
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .jt-insights-table tr.jt-insights-table-row td:first-child strong {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .jt-insights-table tr.jt-insights-table-detail td {
        display: block;
        width: 100%;
        border: 0;
    }

    .jt-insights-rate-bar {
        display: none;
    }

    .jt-skill-bars li {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "name count"
            "bar bar";
    }

    .jt-skill-name { grid-area: name; }
    .jt-skill-bar { grid-area: bar; }
    .jt-chip-count { grid-area: count; }

    .jt-action-row {
        grid-template-columns: 36px minmax(0, 1fr) auto;
        grid-template-areas:
            "icon copy chevron"
            "icon badge badge";
    }

    .jt-action-icon { grid-area: icon; }
    .jt-action-copy { grid-area: copy; }
    .jt-action-badge { grid-area: badge; justify-self: start; }
    .jt-action-chevron { grid-area: chevron; }
}

@container insights (max-width: 520px) {
    .jt-insights-kpis {
        grid-template-columns: 1fr;
    }
}

html[data-theme="dark"] .jt-kpi-card,
html[data-theme="dark"] .jt-action-row {
    border-color: #3f3355;
}

html[data-theme="dark"] .jt-mini-chip.is-match {
    color: #6ee7b7;
}

html[data-theme="dark"] .jt-mini-chip.is-gap {
    color: #fda4af;
}

html[data-theme="dark"] .jt-mini-chip.is-none {
    color: #c4b5d6;
}

