.thr-portal {
    --thr-bg: #f8fafc;
    --thr-panel: #ffffff;
    --thr-text: #0f172a;
    --thr-muted: #64748b;
    --thr-soft: #f1f5f9;
    --thr-line: #e2e8f0;
    --thr-primary: #2563eb;
    --thr-secondary: #7c3aed;
    --thr-brand: #2f5f9b;
    --thr-brand-strong: #244e81;
    --thr-violet: #8b5cf6;
    --thr-cyan: #06b6d4;
    --thr-pink: #ec4899;
    --thr-amber: #f59e0b;
    --thr-success: #059669;
    --thr-warning: #f59e0b;
    --thr-danger: #dc2626;
    --thr-radius: 16px;
    --thr-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 18px 48px rgba(15, 23, 42, 0.08);
    background: var(--thr-bg);
    color: var(--thr-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    left: 50%;
    margin: 0 auto;
    max-width: none;
    min-height: 720px;
    padding: 32px;
    position: relative;
    transform: translateX(-50%);
    width: min(1920px, calc(100vw - 48px));
}

body.thr-frontend-page .entry-content,
body.thr-frontend-page .wp-block-post-content,
body.thr-frontend-page .wp-site-blocks,
body.thr-frontend-page main,
body.thr-frontend-page article,
body.thr-frontend-page .site-main,
body.thr-frontend-page .content-area {
    max-width: none !important;
}

body.thr-frontend-page .entry-content > *,
body.thr-frontend-page .wp-block-post-content > *,
body.thr-frontend-page main > .thr-portal,
body.thr-frontend-page article > .thr-portal {
    max-width: none !important;
}

.thr-portal * {
    box-sizing: border-box;
}

.thr-nav {
    align-items: center;
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    padding: 12px 14px;
}

.thr-phase-layout {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
}

.thr-evaluation-portal .thr-evaluation-header {
    display: none;
}

.thr-phase-hero {
    align-items: stretch;
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
    border: 1px solid var(--thr-line);
    border-radius: 22px;
    box-shadow: var(--thr-shadow);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    padding: 26px;
}

.thr-phase-hero h1 {
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: 0;
    line-height: 1.05;
    margin: 8px 0 10px;
}

.thr-phase-hero p {
    color: var(--thr-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    max-width: 760px;
}

.thr-phase-context-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #dbeafe;
    border-radius: 18px;
    display: grid;
    gap: 6px;
    padding: 18px;
}

.thr-phase-context-card strong {
    color: var(--thr-text);
    font-size: 14px;
    line-height: 1.25;
}

.thr-phase-meta-grid,
.thr-checkpoint-summary-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thr-checkpoint-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.thr-phase-meta-grid article,
.thr-checkpoint-summary-grid article {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 16px;
}

.thr-phase-meta-grid span,
.thr-checkpoint-summary-grid span {
    color: var(--thr-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.thr-phase-meta-grid strong,
.thr-checkpoint-summary-grid strong {
    color: var(--thr-text);
    font-size: 24px;
    line-height: 1.1;
}

.thr-phase-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    justify-content: center;
    justify-self: start;
    padding: 6px 10px;
}

.thr-phase-badge.is-active {
    background: #eff6ff;
    color: var(--thr-primary);
}

.thr-phase-badge.is-completed,
.thr-status-pill.is-completed {
    background: #ecfdf5;
    color: var(--thr-success);
}

.thr-phase-badge.is-pending {
    background: #f8fafc;
    color: var(--thr-muted);
}

.thr-phase-content-grid,
.thr-evaluation-grid,
.thr-capability-evaluation-grid {
    align-items: start;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 3fr);
}

.thr-phase-main,
.thr-phase-sidebar {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.thr-phase-sidebar {
    position: sticky;
    top: 24px;
}

.thr-phase-sidebar-card {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    display: grid;
    gap: 12px;
    padding: 18px;
}

.thr-phase-sidebar-card h2 {
    margin: 0;
}

.thr-phase-sidebar-progress {
    align-items: end;
    display: flex;
    justify-content: space-between;
}

.thr-phase-sidebar-progress strong {
    color: var(--thr-brand);
    font-size: 30px;
}

.thr-phase-sidebar-progress span {
    color: var(--thr-muted);
    font-weight: 800;
}

.thr-phase-sidebar-action .thr-button {
    width: 100%;
}

.thr-section-title-row {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.thr-goal-card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thr-objective-card {
    display: grid;
    gap: 14px;
    min-height: 260px;
}

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

.thr-button-ghost {
    background: #fff;
    border-color: #fecaca;
    color: var(--thr-danger);
}

.thr-phase-finish-inline {
    display: none;
}

.thr-executive-summary {
    background:
        radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.18), transparent 32%),
        linear-gradient(135deg, #123b68, #2563eb);
    color: #fff;
}

.thr-executive-summary .thr-eyebrow,
.thr-executive-summary p {
    color: rgba(255, 255, 255, 0.82);
}

.thr-donut-score {
    align-items: center;
    background: conic-gradient(#22c55e calc(var(--thr-score) * 1%), rgba(255, 255, 255, 0.18) 0);
    border-radius: 999px;
    display: flex;
    height: 190px;
    justify-content: center;
    width: 190px;
}

.thr-donut-score > div {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: var(--thr-text);
    display: grid;
    height: 132px;
    justify-items: center;
    padding: 18px;
    text-align: center;
    width: 132px;
}

.thr-donut-score strong {
    color: var(--thr-brand);
    font-size: 34px;
    line-height: 1;
}

.thr-donut-score span,
.thr-signature-panel small {
    color: var(--thr-muted);
    font-size: 12px;
    font-weight: 800;
}

.thr-signature-panel {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: grid;
    gap: 6px;
    margin-top: 18px;
    max-width: 420px;
    padding: 14px;
}

.thr-signature-panel label {
    align-items: center;
    display: flex;
    gap: 8px;
    font-weight: 800;
}

.thr-nav-brand {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 190px;
    padding: 6px 10px;
    text-decoration: none;
}

.thr-nav-left {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-right: 10px;
}

.thr-nav-mark,
.thr-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--thr-brand), var(--thr-violet));
    border-radius: var(--thr-radius);
    color: #fff;
    display: flex;
    font-weight: 800;
    justify-content: center;
}

.thr-nav-mark {
    height: 38px;
    width: 38px;
}

.thr-nav-title {
    color: var(--thr-text);
    display: block;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.1;
}

.thr-nav-subtitle {
    color: var(--thr-muted);
    display: block;
    font-size: 11px;
    margin-top: 2px;
}

.thr-nav-links {
    align-items: center;
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 8px;
}

.thr-nav a,
.thr-nav-dropdown summary,
.thr-tabs button,
.thr-pill {
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--thr-radius);
    color: var(--thr-muted);
    display: inline-flex;
    font-size: 13px;
    font-weight: 700;
    gap: 7px;
    line-height: 1.2;
    min-height: 36px;
    padding: 9px 11px;
    text-decoration: none;
}

.thr-nav-dropdown {
    position: relative;
}

.thr-nav-dropdown summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.thr-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.thr-nav-dropdown summary::after {
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    display: inline-block;
    height: 6px;
    margin-left: 4px;
    transform: rotate(45deg) translateY(-2px);
    width: 6px;
}

.thr-nav-dropdown[open] summary {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--thr-brand);
}

.thr-nav-menu {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 4px;
    left: 0;
    min-width: 230px;
    padding: 8px;
    position: absolute;
    top: calc(100% + 8px);
    z-index: 30;
}

.thr-nav-menu a {
    align-items: flex-start;
    border-radius: 7px;
    display: grid;
    min-height: 0;
    padding: 10px;
    white-space: nowrap;
}

.thr-nav-menu a strong {
    color: var(--thr-text);
    font-size: 13px;
}

.thr-nav-menu a span {
    color: var(--thr-muted);
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
    white-space: normal;
}

.thr-nav-menu a.is-active {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.thr-experience-menu summary {
    background: var(--thr-soft);
    border-color: var(--thr-line);
}

.thr-experience-menu summary span {
    color: var(--thr-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.thr-experience-menu summary strong {
    color: var(--thr-brand);
}

.thr-nav-badge {
    align-items: center;
    background: #ef4444;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    height: 18px;
    justify-content: center;
    min-width: 18px;
    padding: 0 5px;
}

.thr-card.is-unread {
    border-color: #93c5fd;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.thr-nav a:hover,
.thr-nav-dropdown summary:hover,
.thr-tabs button.is-active,
.thr-rating-link.is-active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--thr-brand);
}

.thr-hero,
.thr-profile-header {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    margin-bottom: 24px;
    padding: 28px;
}

.thr-hero {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.thr-hero.is-gradient,
.thr-card.is-gradient {
    background: linear-gradient(135deg, var(--thr-brand), var(--thr-violet));
    border-color: transparent;
    color: #fff;
}

.thr-hero h1,
.thr-page-header h1,
.thr-profile-header h1 {
    color: var(--thr-text);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 5px 0 8px;
}

.thr-hero.is-gradient h1,
.thr-hero.is-gradient p,
.thr-card.is-gradient h2,
.thr-card.is-gradient p,
.thr-card.is-gradient .thr-label {
    color: #fff;
}

.thr-hero.is-gradient .thr-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.thr-hero.is-gradient .thr-pill {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.thr-hero p,
.thr-card p,
.thr-profile-header p,
.thr-page-header p {
    color: var(--thr-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.thr-eyebrow,
.thr-label {
    color: var(--thr-brand);
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.thr-dashboard-welcome {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.thr-dashboard-welcome h1 {
    color: var(--thr-text);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.thr-user-chip {
    align-items: center;
    display: flex;
    gap: 10px;
}

.thr-user-chip strong {
    display: block;
    font-size: 14px;
}

.thr-user-chip span {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
}

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

.thr-two-column,
.thr-three-column,
.thr-four-column,
.thr-split-layout {
    display: grid;
    gap: 18px;
    width: 100%;
}

.thr-two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thr-three-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thr-four-column {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thr-split-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
}

.thr-stat-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 24px;
}

.thr-list {
    display: grid;
    gap: 14px;
}

.thr-card {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    padding: 20px;
}

.thr-card h2 {
    color: var(--thr-text);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    margin: 6px 0 8px;
}

.thr-stat-card {
    min-height: 132px;
}

.thr-stat-card h2 {
    font-size: 36px;
    line-height: 1;
    margin-top: 12px;
}

.thr-stat-icon {
    align-items: center;
    background: #eff6ff;
    border-radius: var(--thr-radius);
    color: var(--thr-brand);
    display: inline-flex;
    font-size: 15px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    margin-right: 8px;
    width: 34px;
}

.thr-card-row {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.thr-cycle-card {
    display: grid;
    gap: 18px;
}

.thr-cycle-title-link {
    color: inherit;
    text-decoration: none;
}

.thr-cycle-title-link:hover {
    color: var(--thr-brand);
}

.thr-pill.is-primary {
    background: var(--thr-brand);
    border-color: var(--thr-brand);
    color: #fff;
}

.thr-cycle-detail-hero {
    align-items: stretch;
    background: linear-gradient(135deg, #2f5f9b, #7c3aed);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    color: #fff;
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) 180px;
    margin-bottom: 18px;
    padding: 28px;
}

.thr-cycle-detail-hero .thr-eyebrow,
.thr-cycle-detail-hero p {
    color: rgba(255, 255, 255, 0.82);
}

.thr-cycle-detail-hero h1 {
    color: #fff;
    font-size: 34px;
    line-height: 1.08;
    margin: 6px 0 8px;
}

.thr-back-link {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 16px;
    text-decoration: none;
}

.thr-cycle-detail-status {
    align-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--thr-radius);
    display: grid;
    justify-items: start;
    padding: 18px;
}

.thr-cycle-detail-status span,
.thr-cycle-detail-status small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.thr-cycle-detail-status strong {
    color: #fff;
    font-size: 38px;
    line-height: 1.1;
}

.thr-section-head {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.thr-section-head h2 {
    font-size: 21px;
    margin: 2px 0 0;
}

.thr-count-pill {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: var(--thr-brand);
    font-size: 12px;
    font-weight: 900;
    padding: 7px 10px;
}

.thr-cycle-detail-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr);
    margin: 18px 0;
}

.thr-cycle-phase-list,
.thr-cycle-participant-list {
    display: grid;
}

.thr-cycle-phase-row,
.thr-cycle-participant-row {
    align-items: center;
    border-top: 1px solid var(--thr-line);
    display: grid;
    gap: 14px;
    padding: 14px 0;
}

.thr-cycle-phase-row {
    grid-template-columns: 34px minmax(220px, 1fr) 120px minmax(220px, 0.7fr);
}

.thr-cycle-phase-row > div:first-of-type,
.thr-cycle-participant-main {
    display: grid;
    gap: 3px;
}

.thr-cycle-phase-row small,
.thr-cycle-participant-main span,
.thr-cycle-participant-main small,
.thr-cycle-actions-panel p {
    color: var(--thr-muted);
}

.thr-cycle-phase-progress {
    display: grid;
    gap: 6px;
}

.thr-cycle-phase-progress strong {
    color: var(--thr-brand);
    font-size: 20px;
}

.thr-cycle-participant-row {
    grid-template-columns: 44px minmax(260px, 1fr) 100px auto;
}

.thr-cycle-participant-main strong {
    font-size: 15px;
}

.thr-phase-step.is-pending:not(.is-locked):hover {
    border-color: #bfdbfe;
    background: #f8fafc;
}

.thr-phase-step.is-disabled,
.thr-phase-step.is-locked,
.thr-cycle-phase-row.is-disabled {
    opacity: 0.58;
}

.thr-score {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    min-width: 132px;
    padding: 16px;
    text-align: center;
}

.thr-score span {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
    font-weight: 700;
}

.thr-score strong {
    color: var(--thr-brand);
    display: block;
    font-size: 30px;
    font-weight: 900;
    margin-top: 4px;
}

.thr-progress {
    background: #e2e8f0;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    width: 100%;
}

.thr-progress span {
    background: linear-gradient(90deg, var(--thr-success), var(--thr-cyan));
    display: block;
    height: 100%;
}

.thr-page-header {
    margin-bottom: 20px;
}

.thr-profile-header {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
}

.thr-profile-main {
    align-items: flex-start;
    display: flex;
    gap: 20px;
}

.thr-avatar {
    flex: 0 0 86px;
    font-size: 32px;
    height: 86px;
    width: 86px;
}

.thr-profile-stats {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thr-profile-stat {
    border-left: 1px solid var(--thr-line);
    padding-left: 18px;
    text-align: left;
}

.thr-profile-stat strong {
    color: var(--thr-brand);
    display: block;
    font-size: 28px;
    font-weight: 900;
}

.thr-profile-stat span {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

.thr-badges,
.thr-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.thr-badges span {
    background: var(--thr-soft);
    border: 1px solid var(--thr-line);
    border-radius: 999px;
    color: var(--thr-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.thr-badge-success {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #047857 !important;
}

.thr-badge-warning {
    background: #fffbeb !important;
    border-color: #fde68a !important;
    color: #b45309 !important;
}

.thr-tabs {
    border-bottom: 1px solid var(--thr-line);
    margin-bottom: 22px;
}

.thr-tabs button {
    background: transparent;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    cursor: default;
    padding: 13px 4px;
}

.thr-tabs button.is-active {
    background: transparent;
    border-color: transparent transparent var(--thr-brand);
}

.thr-alert {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-left: 4px solid var(--thr-brand);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    margin-bottom: 16px;
    padding: 16px 18px;
}

.thr-alert-success {
    border-left-color: var(--thr-success);
}

.thr-card-description {
    margin: 12px 0 14px;
}

.thr-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.thr-full-width {
    flex: 1 0 100%;
}

.thr-meta-row {
    color: var(--thr-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 10px;
    margin: 12px 0;
}

.thr-context-strip {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
    padding: 16px;
}

.thr-context-strip strong {
    display: block;
    margin-top: 4px;
}

.thr-section {
    margin-top: 24px;
}

.thr-section-header {
    margin-bottom: 12px;
}

.thr-section-header h2 {
    color: var(--thr-text);
    font-size: 21px;
    font-weight: 800;
    margin: 0;
}

.thr-button {
    background: var(--thr-brand);
    border: 1px solid var(--thr-brand);
    border-radius: var(--thr-radius);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    padding: 10px 13px;
}

.thr-button:hover {
    background: var(--thr-brand-strong);
}

.thr-button-small {
    font-size: 12px;
    margin-left: 12px;
    min-height: 30px;
    padding: 7px 10px;
}

.thr-button-secondary {
    background: var(--thr-panel);
    border-color: var(--thr-line);
    color: var(--thr-text);
}

.thr-evaluation-header {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.thr-evaluation-grid,
.thr-dashboard-grid,
.thr-profile-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.85fr);
}

.thr-evaluation-title {
    align-items: flex-start;
    margin-bottom: 18px;
}

.thr-capability-evaluation-shell {
    display: grid;
    gap: 18px;
    margin: 22px 0;
}

.thr-capability-evaluation-head {
    align-items: flex-end;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.thr-capability-evaluation-head h2 {
    margin: 4px 0;
}

.thr-progress-chip {
    background: #eff6ff;
    border-radius: 999px;
    color: var(--thr-brand);
    font-size: 12px;
    font-weight: 800;
    padding: 7px 10px;
    white-space: nowrap;
}

.thr-evaluation-progressbar {
    background: #dbe3ef;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.thr-evaluation-progressbar span {
    background: var(--thr-brand);
    display: block;
    height: 100%;
}

.thr-capability-evaluation-grid {
    display: grid !important;
    align-items: start;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) 420px !important;
    width: 100%;
}

.thr-capability-evaluation-grid > .thr-evaluation-sidebar {
    align-self: start;
    display: grid !important;
    gap: 14px;
    min-width: 0;
    position: sticky;
    top: 18px;
}

.thr-capability-evaluation-card {
    overflow: visible;
    min-width: 0;
}

.thr-capability-rating-form .thr-evaluation-form-actions {
    background: transparent;
    border-top: 0;
    margin: 0;
    padding: 0;
    position: static;
}

.thr-capability-rating-form .thr-evaluation-quick-actions {
    margin: 2px 0;
}

.thr-capability-action-bar {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.thr-capability-action-bar-secondary {
    margin-top: 0;
}

.thr-capability-evaluation-layout {
    align-items: start;
    display: grid !important;
    gap: 20px;
    grid-template-areas: "main side";
    grid-template-columns: minmax(0, 3fr) minmax(340px, 1fr) !important;
    width: 100%;
}

.thr-capability-evaluation-layout > .thr-capability-evaluation-card,
.thr-capability-evaluation-layout > .thr-evaluation-side-panel {
    min-width: 0;
}

.thr-capability-evaluation-layout > .thr-capability-evaluation-card {
    grid-area: main;
}

.thr-evaluation-side-panel {
    align-self: start;
    display: grid !important;
    gap: 16px;
    grid-area: side;
    min-height: 240px;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0;
    position: sticky;
    top: 18px;
    visibility: visible !important;
    width: 100%;
}

.thr-evaluation-side-section {
    border-bottom: 1px solid var(--thr-line);
    display: grid;
    gap: 10px;
    padding: 18px;
}

.thr-evaluation-sidebar .thr-evaluation-side-section {
    border-bottom: 1px solid var(--thr-line);
    padding: 20px;
}

.thr-evaluation-side-section:last-child {
    border-bottom: 0;
}

.thr-evaluation-side-section h2 {
    margin: 0;
}

.thr-expected {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--thr-radius);
    flex: 0 0 180px;
    padding: 14px;
}

.thr-expected span {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.thr-expected strong {
    color: var(--thr-brand);
    display: block;
    font-size: 20px;
    margin-top: 4px;
}

.thr-expected p {
    color: var(--thr-text);
    font-size: 12px;
    line-height: 1.4;
    margin: 8px 0 0;
}

.thr-rating-scale {
    border: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
}

.thr-rating-scale legend {
    color: var(--thr-text);
    font-size: 14px;
    font-weight: 800;
    grid-column: 1 / -1;
    margin-bottom: 4px;
}

.thr-rating-scale label,
.thr-indicators p,
.thr-rating-link,
.thr-mini-panel {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
}

.thr-mini-panel {
    padding: 12px;
}

.thr-mini-panel strong,
.thr-mini-panel span {
    display: block;
}

.thr-mini-panel span {
    color: var(--thr-muted);
    font-size: 12px;
    margin-top: 3px;
}

.thr-rating-scale label {
    cursor: pointer;
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    position: relative;
    text-align: left;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.thr-rating-scale label::before {
    align-items: center;
    background: #eff6ff;
    border-radius: 12px;
    color: var(--thr-primary);
    content: "◇";
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.thr-rating-scale label.is-selected {
    background: #eff6ff;
    border-color: var(--thr-brand);
    box-shadow: inset 0 0 0 1px var(--thr-brand), 0 14px 28px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.thr-rating-scale label.is-selected::before {
    background: var(--thr-primary);
    color: #fff;
    content: "✓";
}

.thr-rating-scale input {
    height: 1px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
}

.thr-rating-scale strong {
    font-size: 28px;
    line-height: 1;
}

.thr-rating-scale span,
.thr-rating-link strong {
    color: var(--thr-muted);
    font-size: 13px;
    font-weight: 800;
}

.thr-indicators {
    background: var(--thr-soft);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    display: grid;
    gap: 8px;
    padding: 14px;
}

.thr-indicators p {
    color: var(--thr-text);
    margin: 0;
    padding: 10px;
}

.thr-indicator-level {
    animation: thrFadeUp 180ms ease;
    display: grid;
    gap: 8px;
}

.thr-indicator-level[hidden] {
    display: none !important;
}

.thr-indicator-level.is-empty p {
    color: var(--thr-muted);
}

.thr-indicator-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.thr-indicator-card {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    display: grid;
    gap: 8px;
    padding: 12px;
}

.thr-indicator-card.is-selected {
    background: #eff6ff;
    border-color: var(--thr-brand);
    box-shadow: inset 0 0 0 1px var(--thr-brand);
}

.thr-indicator-card strong {
    color: var(--thr-brand);
    font-size: 13px;
}

.thr-indicator-card span {
    color: var(--thr-text);
    font-size: 13px;
    font-weight: 800;
}

.thr-indicator-card p {
    background: transparent;
    color: var(--thr-muted);
    font-size: 12px;
    line-height: 1.45;
    padding: 0;
}

.thr-level-dictionary {
    display: grid;
    gap: 10px;
}

.thr-level-dictionary-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.thr-level-dictionary article {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    display: grid;
    gap: 6px;
    min-height: 150px;
    padding: 12px;
}

.thr-level-dictionary article.is-expected {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.thr-level-dictionary article.is-selected {
    box-shadow: inset 0 0 0 1px var(--thr-brand);
}

.thr-level-dictionary strong {
    align-items: center;
    background: #e2e8f0;
    border-radius: 999px;
    color: var(--thr-brand);
    display: inline-flex;
    font-size: 13px;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.thr-level-dictionary span {
    color: var(--thr-text);
    font-size: 13px;
    font-weight: 800;
}

.thr-level-dictionary p {
    color: var(--thr-muted);
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
}

@keyframes thrFadeUp {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.thr-rating-link {
    align-items: center;
    color: var(--thr-text);
    display: grid;
    gap: 10px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 10px;
    text-decoration: none;
}

.thr-rating-link b {
    align-items: center;
    background: #e2e8f0;
    border-radius: 999px;
    color: var(--thr-brand);
    display: inline-flex;
    font-size: 12px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.thr-rating-link span {
    min-width: 0;
}

.thr-rating-link.is-rated {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.thr-rating-link.is-rated b {
    background: #10b981;
    color: #fff;
}

.thr-rating-link.is-active {
    box-shadow: inset 0 0 0 1px var(--thr-brand);
}

.thr-level-gap {
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    font-size: 13px;
    font-weight: 800;
    padding: 12px;
}

.thr-level-gap.is-below {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.thr-level-gap.is-above,
.thr-level-gap.is-on-track {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.thr-selected-level-summary,
.thr-selected-level-description {
    background: #f8fafc;
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    display: grid;
    gap: 8px;
    padding: 14px;
}

.thr-selected-level-copy {
    animation: thrFadeUp 180ms ease;
    display: grid;
    gap: 6px;
}

.thr-selected-level-copy[hidden] {
    display: none !important;
}

.thr-selected-level-copy strong {
    color: var(--thr-text);
}

.thr-selected-level-copy p {
    margin: 0;
}

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

.thr-capability-rating-form input,
.thr-capability-rating-form textarea,
.thr-capability-rating-form select {
    max-width: none;
}

.thr-evaluation-summary-card {
    gap: 14px;
}

.thr-evaluation-finish-card form {
    margin: 12px 0 0;
}

.thr-evaluation-finish-card .thr-button {
    width: 100%;
}

.thr-evaluation-summary-strip {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(260px, 1.2fr) minmax(360px, 1fr) auto;
}

.thr-evaluation-summary-strip h2 {
    margin: 4px 0;
}

.thr-evaluation-summary-strip p {
    color: var(--thr-muted);
    margin: 0;
}

.thr-evaluation-summary-detail {
    align-items: stretch;
    grid-template-columns: 1fr;
}

.thr-summary-finish {
    margin: 0;
}

.thr-summary-finish .thr-button {
    white-space: nowrap;
}

.thr-summary-metrics {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.thr-summary-metrics div,
.thr-evaluation-summary-list div {
    background: var(--thr-soft);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    padding: 10px;
}

.thr-summary-metrics strong {
    color: var(--thr-brand);
    display: block;
    font-size: 20px;
}

.thr-summary-metrics span,
.thr-evaluation-summary-list strong {
    color: var(--thr-muted);
    font-size: 12px;
    font-weight: 800;
}

.thr-evaluation-summary-list {
    gap: 8px;
}

.thr-evaluation-summary-list div {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.thr-evaluation-summary-list span {
    min-width: 0;
}

.thr-capability-evaluation-shell {
    gap: 18px;
}

.thr-capability-evaluation-head {
    align-items: end;
    background: transparent;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.thr-capability-evaluation-grid {
    align-items: start;
    display: grid !important;
    gap: 18px;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 3fr) !important;
    max-width: 100% !important;
    overflow: visible !important;
    width: 100%;
}

.thr-capability-evaluation-grid > .thr-evaluation-sidebar,
.thr-capability-evaluation-sidebar {
    align-self: start;
    display: grid !important;
    gap: 14px;
    height: auto !important;
    max-width: none !important;
    min-width: 0;
    opacity: 1 !important;
    overflow: visible !important;
    position: sticky;
    top: 18px;
    visibility: visible !important;
    width: 100% !important;
    z-index: 2;
}

.thr-capability-evaluation-card {
    border-radius: 16px;
    display: grid;
    gap: 18px;
    min-width: 0;
    overflow: visible;
    padding: 22px;
}

.thr-competency-card-header {
    align-items: start;
    border-bottom: 1px solid var(--thr-line);
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 210px);
    padding-bottom: 18px;
}

.thr-competency-card-header h2 {
    font-size: 26px;
    margin: 8px 0;
}

.thr-competency-card-header p {
    color: var(--thr-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.thr-capability-level-scale {
    gap: 10px;
}

.thr-capability-level-scale label {
    align-content: start;
    justify-items: center;
    min-height: 220px;
    padding: 14px 12px;
    text-align: center;
}

.thr-capability-level-scale label::before {
    content: none;
}

.thr-capability-level-scale label em {
    align-items: center;
    background: #e8eef6;
    border-radius: 12px;
    color: var(--thr-brand);
    display: inline-flex;
    font-size: 20px;
    font-style: normal;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.thr-capability-level-scale label small {
    background: #fef3c7;
    border: 1px solid #fde68a;
    border-radius: 999px;
    color: #92400e;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
}

.thr-capability-level-scale label strong {
    color: var(--thr-text);
    font-size: 28px;
}

.thr-capability-level-scale label span {
    color: var(--thr-text);
    font-size: 13px;
}

.thr-capability-level-scale label p {
    color: var(--thr-muted);
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
}

.thr-capability-level-scale label.is-selected {
    background: #eff6ff;
    border-color: var(--thr-brand);
    box-shadow: inset 0 0 0 1px var(--thr-brand), 0 18px 34px rgba(37, 99, 235, 0.13);
}

.thr-capability-level-scale label.is-selected em {
    background: #dbeafe;
}

.thr-capability-action-bar {
    background: #fff;
    border: 1px solid var(--thr-line);
    border-radius: 14px;
    display: grid !important;
    gap: 10px;
    grid-template-columns: minmax(110px, auto) minmax(180px, 1fr) minmax(110px, auto) !important;
    margin-top: 0;
    padding: 10px;
}

.thr-capability-action-bar .thr-button {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.thr-capability-action-bar-secondary,
.thr-capability-rating-form > .thr-evaluation-form-actions {
    display: none !important;
}

.thr-selected-level-description {
    background: #f8fafc;
}

.thr-evaluation-sidebar .thr-card {
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.thr-evaluation-sidebar .thr-evaluation-side-section {
    padding: 18px;
}

.thr-capability-evaluation-sidebar .thr-evaluation-finish-card {
    border-color: #bfdbfe;
    order: -10;
}

.thr-capability-evaluation-sidebar .thr-evaluation-finish-card .thr-button {
    width: 100%;
}

.thr-capability-evaluation-sidebar .thr-evaluation-finish-card-secondary {
    display: none !important;
}

.thr-evaluation-step-actions,
.thr-evaluation-quick-actions,
.thr-evaluation-form-actions {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(110px, auto) minmax(180px, 1fr) minmax(110px, auto);
}

.thr-evaluation-step-actions-top {
    background: #f8fafc;
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    padding: 10px;
}

.thr-evaluation-quick-actions .thr-button,
.thr-evaluation-form-actions .thr-button,
.thr-evaluation-step-actions .thr-button {
    justify-content: center;
    text-align: center;
}

.thr-evaluation-form-actions {
    background: rgba(248, 250, 252, 0.96);
    border-top: 1px solid var(--thr-line);
    margin: 2px -20px -20px;
    padding: 14px 20px;
}

.thr-capability-progress-list {
    gap: 8px;
}

.thr-gap {
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    min-width: 84px;
    padding: 12px;
    text-align: center;
}

.thr-gap span {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.thr-gap strong {
    display: block;
    font-size: 28px;
    margin-top: 3px;
}

.thr-stars,
.thr-level-readout {
    color: var(--thr-brand);
    display: grid;
    gap: 4px;
    text-align: right;
}

.thr-stars {
    text-align: left;
}

.thr-stars strong,
.thr-level-readout strong {
    color: var(--thr-text);
    font-size: 13px;
}

.thr-stars small,
.thr-level-readout span {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 1px;
}

.thr-key-results {
    background: var(--thr-soft);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    margin-top: 12px;
    padding: 12px;
}

.thr-key-results ul {
    display: grid;
    gap: 6px;
    margin: 8px 0 0 18px;
    padding: 0;
}

.thr-key-results li {
    color: var(--thr-text);
    font-size: 14px;
}

.thr-gap.is-negative {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.thr-gap.is-positive {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.thr-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.thr-form label {
    display: grid;
    gap: 6px;
}

.thr-form label span {
    color: var(--thr-muted);
    font-size: 13px;
    font-weight: 800;
}

.thr-form input,
.thr-form textarea,
.thr-form select {
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    color: var(--thr-text);
    font: inherit;
    max-width: 100%;
    padding: 10px 12px;
    width: 100%;
}

.thr-goal-update-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.35fr) minmax(180px, 0.45fr) minmax(180px, 0.45fr);
}

.thr-goal-update-grid + .thr-goal-update-grid {
    border-top: 1px solid var(--thr-line);
    padding-top: 14px;
}

.thr-timeline {
    display: grid;
    gap: 10px;
}

.thr-timeline-item {
    background: var(--thr-soft);
    border: 1px solid var(--thr-line);
    border-left: 4px solid var(--thr-brand);
    border-radius: var(--thr-radius);
    color: var(--thr-text);
    font-size: 13px;
    font-weight: 700;
    padding-left: 12px;
    padding: 10px 12px;
}

.thr-quick-actions {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thr-quick-action {
    align-items: flex-start;
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    color: var(--thr-text);
    display: grid;
    min-height: 98px;
    padding: 16px;
    text-decoration: none;
}

.thr-quick-action strong {
    display: block;
    font-size: 14px;
}

.thr-quick-action span {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
    margin-top: 4px;
}

.thr-dashboard-grid .thr-quick-actions {
    grid-template-columns: 1fr;
}

.thr-team-status-head {
    align-items: center;
    border-bottom: 1px solid var(--thr-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin: -4px -4px 8px;
    padding: 0 0 14px;
}

.thr-team-status-head h2 {
    font-size: 18px;
    margin: 0;
}

.thr-team-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.thr-team-legend span {
    color: var(--thr-muted);
    font-size: 12px;
    font-weight: 700;
    position: relative;
    padding-left: 14px;
}

.thr-team-legend span::before {
    border-radius: 999px;
    content: "";
    height: 8px;
    left: 0;
    position: absolute;
    top: 4px;
    width: 8px;
}

.thr-team-legend .is-completed::before {
    background: #10b981;
}

.thr-team-legend .is-progress::before {
    background: #3b82f6;
}

.thr-team-legend .is-pending::before {
    background: #f59e0b;
}

.thr-team-status-list {
    display: grid;
}

.thr-team-status-row {
    align-items: center;
    border-bottom: 1px solid var(--thr-line);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(220px, 1.3fr) minmax(120px, 0.7fr) minmax(76px, 0.4fr) minmax(90px, 0.4fr) minmax(110px, 0.5fr) minmax(190px, 0.8fr);
    min-height: 78px;
    padding: 14px 0;
}

.thr-team-status-row:last-child {
    border-bottom: 0;
}

.thr-team-person {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.thr-team-avatar {
    align-items: center;
    background: var(--thr-brand);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 13px;
    font-weight: 900;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.thr-team-person strong,
.thr-team-person span,
.thr-team-metric strong,
.thr-team-metric span {
    display: block;
}

.thr-team-person strong {
    color: var(--thr-text);
    font-size: 14px;
}

.thr-team-person span,
.thr-team-metric span {
    color: var(--thr-muted);
    font-size: 12px;
    margin-top: 3px;
}

.thr-team-position-link {
    color: var(--thr-brand);
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 4px;
    text-decoration: none;
}

.thr-team-position-link:hover {
    text-decoration: underline;
}

.thr-team-profile-meta {
    color: var(--thr-muted);
    display: block;
    font-size: 11px;
    line-height: 1.35;
    margin-top: 3px;
}

.thr-cycle-switcher-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 12px;
}

.thr-cycle-switcher-card {
    background: var(--thr-soft);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    color: var(--thr-text);
    display: grid;
    gap: 6px;
    padding: 14px;
    text-decoration: none;
}

.thr-cycle-switcher-card strong {
    color: var(--thr-text);
    font-size: 15px;
}

.thr-cycle-switcher-card small,
.thr-cycle-switcher-card span:not(.thr-label) {
    color: var(--thr-muted);
    font-size: 12px;
}

.thr-cycle-switcher-card.is-active,
.thr-cycle-switcher-card:hover {
    background: #eff6ff;
    border-color: #93c5fd;
}

.thr-phase-roadmap {
    background: var(--thr-panel);
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    box-shadow: var(--thr-shadow);
    display: grid;
    gap: 14px;
    margin: 18px 0;
    padding: 16px;
}

.thr-phase-roadmap-head {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.thr-phase-roadmap-head h2 {
    margin: 2px 0 0;
}

.thr-phase-roadmap-head > span {
    color: var(--thr-muted);
    font-size: 12px;
}

.thr-phase-roadmap-track {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.thr-phase-step {
    border: 1px solid var(--thr-line);
    border-radius: var(--thr-radius);
    color: var(--thr-text);
    display: grid;
    gap: 5px;
    min-height: 104px;
    padding: 12px;
    position: relative;
    text-decoration: none;
}

.thr-phase-step-index {
    align-items: center;
    background: #eef2ff;
    border-radius: 999px;
    color: var(--thr-brand);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.thr-phase-step strong {
    font-size: 14px;
}

.thr-phase-step small,
.thr-phase-step em {
    color: var(--thr-muted);
    font-size: 12px;
    font-style: normal;
}

.thr-phase-step.is-current {
    background: #eff6ff;
    border-color: #93c5fd;
    box-shadow: inset 0 0 0 1px #93c5fd;
}

.thr-phase-step.is-completed {
    background: #f8fafc;
    border-color: var(--thr-line);
}

.thr-phase-step.is-completed .thr-phase-step-index {
    background: #e2e8f0;
    color: var(--thr-muted);
}

.thr-phase-step.is-locked {
    background: #f8fafc;
    color: var(--thr-muted);
    cursor: not-allowed;
    pointer-events: none;
}

.thr-phase-step.is-locked .thr-phase-step-index {
    background: #e2e8f0;
    color: var(--thr-muted);
}

.thr-team-metric strong {
    color: var(--thr-text);
    font-size: 15px;
    margin-top: 3px;
}

.thr-status-pill {
    border-radius: 999px;
    display: inline-flex !important;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1;
    padding: 6px 9px;
    width: max-content;
}

.thr-status-pill.is-completed {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.thr-status-pill.is-in_progress {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2563eb;
}

.thr-status-pill.is-pending {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

.thr-impersonation-banner {
    align-items: center;
    background: linear-gradient(90deg, #102a43, #2563eb);
    bottom: auto;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    gap: 12px;
    justify-content: space-between;
    left: 0;
    padding: 12px 24px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999999;
}

.thr-impersonation-copy {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thr-impersonation-badge {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
    text-transform: uppercase;
}

.thr-impersonation-banner button {
    background: #fff;
    border: 0;
    border-radius: 6px;
    color: #1d4ed8;
    cursor: pointer;
    font-weight: 800;
    padding: 8px 12px;
}

@media (max-width: 900px) {
    .thr-stat-grid,
    .thr-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thr-profile-header,
    .thr-dashboard-grid,
    .thr-profile-grid,
    .thr-evaluation-grid,
    .thr-capability-evaluation-layout,
    .thr-cycle-detail-grid,
    .thr-split-layout,
    .thr-phase-hero,
    .thr-phase-content-grid,
    .thr-capability-evaluation-grid {
        grid-template-columns: 1fr;
    }

    .thr-phase-sidebar {
        position: static;
    }

    .thr-phase-meta-grid,
    .thr-checkpoint-summary-grid,
    .thr-goal-card-grid {
        grid-template-columns: 1fr;
    }

    .thr-capability-evaluation-layout {
        grid-template-areas:
            "main"
            "side";
    }

    .thr-capability-evaluation-grid > .thr-evaluation-sidebar,
    .thr-evaluation-side-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .thr-portal {
        padding: 18px;
    }

    .thr-hero,
    .thr-card-row,
    .thr-cycle-detail-hero,
    .thr-dashboard-welcome,
    .thr-profile-main {
        align-items: flex-start;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .thr-grid,
    .thr-stat-grid,
    .thr-quick-actions,
    .thr-two-column,
    .thr-three-column,
    .thr-four-column {
        grid-template-columns: 1fr;
    }

    .thr-evaluation-header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .thr-capability-evaluation-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .thr-rating-scale {
        grid-template-columns: 1fr;
    }

    .thr-level-dictionary-grid {
        grid-template-columns: 1fr;
    }

    .thr-indicator-grid {
        grid-template-columns: 1fr;
    }

    .thr-evaluation-quick-actions,
    .thr-evaluation-step-actions,
    .thr-evaluation-form-actions,
    .thr-evaluation-notes-grid,
    .thr-evaluation-summary-strip,
    .thr-capability-evaluation-layout {
        grid-template-columns: 1fr;
    }

    .thr-context-strip,
    .thr-profile-stats,
    .thr-goal-update-grid,
    .thr-team-status-row,
    .thr-cycle-phase-row,
    .thr-cycle-participant-row {
        grid-template-columns: 1fr;
    }

    .thr-team-status-head,
    .thr-section-head,
    .thr-phase-roadmap-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .thr-profile-stat {
        border-left: 0;
        border-top: 1px solid var(--thr-line);
        padding-left: 0;
        padding-top: 12px;
    }

    .thr-hero h1,
    .thr-page-header h1,
    .thr-profile-header h1,
    .thr-dashboard-welcome h1 {
        font-size: 26px;
    }
}

.thr-checkpoint-labels {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.thr-field-title {
    color: var(--thr-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    grid-column: 1 / -1;
    text-transform: uppercase;
}

.thr-checkpoint-label-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--thr-line);
    border-radius: 12px;
    cursor: pointer;
    display: grid;
    gap: 6px;
    grid-template-columns: auto 1fr auto;
    padding: 12px;
}

.thr-checkpoint-label-card input {
    accent-color: var(--thr-primary);
}

.thr-checkpoint-label-card > span {
    background: var(--thr-label-color, var(--thr-primary));
    border-radius: 999px;
    height: 10px;
    width: 10px;
}

.thr-checkpoint-label-card:has(input:checked) {
    background: #eef6ff;
    border-color: var(--thr-primary);
    box-shadow: 0 0 0 1px rgba(47, 102, 164, 0.18);
}

.thr-progress-compare {
    margin-top: 10px;
}
