
.workspaceView .workspace-tab-pane-scroll.rc-pane {
    align-items: stretch;
    padding: 0 0.6rem 1.25rem;
}

.rc-tile-value.rc-tile-value--text {
    font-size: 1.05rem;
    white-space: normal;
    line-height: 1.3;
    padding-top: 0.2rem;
}

.rc-callout--best {
    background: #f1fbf4;
    border-color: #b7e4c7;
}

.rc-callout--best > .bi {
    color: #11753a;
}

.rc-callout--warning {
    background: #fff8ec;
    border-color: #f7d9a8;
}

.rc-callout--warning > .bi {
    color: #b45309;
}

.rc-footnote {
    font-size: 0.75rem;
    color: #6b7a8f;
    margin: 0.9rem 0 0;
}

.rc-panel {
    margin-top: 1.1rem;
}

.rc-panel:first-of-type {
    margin-top: 0.25rem;
}

.rc-panel h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #181c32;
}

.rc-panel-note {
    font-size: 0.8125rem;
    color: #5c6d82;
    margin: 0.25rem 0 0.5rem;
    line-height: 1.45;
}

.rc-two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.rc-two-col > .rc-panel {
    margin-top: 0.25rem;
}

.rc-table.rc-table--wrap-head th {
    white-space: normal;
    min-width: 4.5rem;
    line-height: 1.25;
}

.rc-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    font-size: 0.75rem;
    color: #3d4a5c;
    margin: 0.2rem 0 0.55rem;
}

.rc-key {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 0.35rem;
    vertical-align: -1px;
    box-sizing: border-box;
}

.rc-barlist,
.rc-ranges {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rc-barlist-row,
.rc-range-row {
    display: grid;
    grid-template-columns: minmax(130px, 36%) 1fr 78px;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.32rem 0.45rem;
    font: inherit;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.rc-barlist-row:hover,
.rc-range-row:hover {
    background: #f3f7fc;
}

.rc-barlist-row--selected,
.rc-barlist-row--selected:hover {
    background: #e8f3fb;
    border-color: #bcdcf2;
}

.rc-barlist-label {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rc-barlist-track {
    position: relative;
    height: 14px;
    background: #f1f3f7;
    border-radius: 4px;
}

.rc-barlist-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-radius: 0 4px 4px 0;
}

.rc-bar-gain {
    background: #2a78d6;
}

.rc-bar-loss {
    background: #e34948;
    border-radius: 4px 0 0 4px;
}

.rc-barlist-zero {
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 1px;
    background: #8a93a3;
}

.rc-barlist-value {
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.rc-range-track {
    position: relative;
    height: 18px;
}

.rc-range-whisker {
    position: absolute;
    top: 8px;
    height: 2px;
    background: #9aa3b2;
}

.rc-range-box {
    position: absolute;
    top: 2px;
    height: 14px;
    border: 2px solid #2a78d6;
    border-radius: 4px;
    background: rgba(42, 120, 214, 0.1);
    box-sizing: border-box;
}

.rc-range-median {
    position: absolute;
    top: 0;
    width: 2px;
    height: 18px;
    margin-left: -1px;
    background: #181c32;
}

.rc-range-axis {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: #6b7a8f;
    margin: 0.15rem calc(78px + 0.6rem + 0.45rem) 0 calc(36% + 0.6rem + 0.45rem);
}

.rc-range-key {
    display: inline-block;
    width: 16px;
    height: 10px;
    margin-right: 0.35rem;
    vertical-align: -1px;
    position: relative;
}

.rc-range-key--whisker::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    height: 2px;
    background: #9aa3b2;
}

.rc-range-key--box {
    border: 2px solid #2a78d6;
    border-radius: 3px;
    background: rgba(42, 120, 214, 0.1);
}

.rc-range-key--median::before {
    content: "";
    position: absolute;
    left: 7px;
    top: -2px;
    width: 2px;
    height: 14px;
    background: #181c32;
}

.rc-chart-frame {
    width: 100%;
    margin: 0.25rem 0 0.5rem;
    padding: 0.25rem;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    box-sizing: border-box;
}

.rc-table-wrap {
    overflow-x: auto;
}

.rc-table-wrap--tall {
    max-height: 560px;
    overflow: auto;
}

.rc-table {
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}

.rc-table th {
    white-space: nowrap;
    vertical-align: bottom;
}

.rc-table-wrap--tall .rc-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.rc-table td {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.rc-table--dense td,
.rc-table--dense th {
    padding: 0.2rem 0.45rem;
}

.rc-table--compact td,
.rc-table--compact th {
    padding: 0.22rem 0.35rem;
    font-size: 0.75rem;
}

.rc-table--narrow {
    width: auto;
    min-width: 360px;
}

.rc-table tbody tr[role=button] {
    cursor: pointer;
}

.rc-table tr.rc-row-selected > td {
    background: #e8f3fb;
}

.rc-table tr.rc-row-total > td {
    font-weight: 700;
    background: #f7f8fa;
}

.rc-notes ul {
    padding-left: 1.15rem;
    margin-bottom: 0.25rem;
}

.rc-notes li,
.rc-notes p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #3d4a5c;
}

.rc-notes li {
    margin-bottom: 0.4rem;
}

.rc-scenario-list {
    background: #f1f5f9;
}

.rc-scenarios-top {
    padding: 0.5rem 0.65rem 0.4rem;
    border-bottom: 1px solid #e4e8f0;
}

.rc-scenarios-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #181c32;
    margin-bottom: 0.1rem;
}

.scenario-list-view .list-group-item.rc-scenario-card {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0.6rem;
    margin: 4px 6px;
    background: #fff;
    cursor: pointer;
}

.scenario-list-view .list-group-item.rc-scenario-card.active {
    background: #cbe8f6;
    border-color: #70c0e7 !important;
}

.rc-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}

.rc-card-swatch {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: 4px;
    border-radius: 50%;
    box-sizing: border-box;
}

.scenario-list-view .rc-scenario-card .scenario-name {
    flex: 1 1 auto;
    width: auto;
    font-size: 12px;
    line-height: 1.3;
}

.rc-best-badge {
    flex: 0 0 auto;
    font-size: 0.65rem;
    font-weight: 700;
    color: #11753a;
    background: #e6f6ec;
    border: 1px solid #b7e4c7;
    border-radius: 999px;
    padding: 0 0.4rem;
    line-height: 1.5;
}

.rc-card-value {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.rc-card-delta {
    font-size: 0.72rem;
    font-weight: 600;
}

.rc-card-delta--good { color: #11753a; }

.rc-card-delta--bad { color: #b42318; }

.rc-card-delta--neutral { color: #6b7a8f; }

.rc-mini-chart {
    display: block;
    width: 100%;
    height: 40px;
    margin-top: 0.4rem;
}

.rc-mini-baseline {
    stroke: #c9ced8;
    stroke-width: 1;
}

.rc-mini-caption {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.15rem;
    font-size: 0.62rem;
    color: #6b7a8f;
}

.rc-mini-caption .rc-key {
    width: 7px;
    height: 7px;
    margin-right: 0.2rem;
    vertical-align: 0;
}

.rc-mini-age {
    margin-left: auto;
}

.rc-scenarios-limit {
    font-size: 0.72rem;
    color: #6b7a8f;
    padding: 0.5rem 0.7rem 1rem;
}

.rc-subhead {
    font-size: 0.875rem;
    font-weight: 700;
    margin: 1rem 0 0.35rem;
    color: #181c32;
}

.rc-assumption-table td {
    white-space: normal;
}

.rc-assumption-table td:first-child {
    width: 26%;
    font-weight: 600;
    color: #3f4a5a;
}

.social-security-page {
    --ss-ink: #181c32;
    --ss-muted: #5c6d82;
    --ss-line: #e4e8f0;
    --ss-good: #11753a;
    --ss-good-bg: #e6f6ec;
}

.main-layout-comprehensive > .comprehensive-sidebar-host--scenarios.ss-scenarios-host {
    --scenarios-page-max-width: 258px;
}

.social-security-page .workspaceView .workspace-view-shell .tab-button {
    min-width: 4.75rem;
}

.ss-assumptions .ss-child-head th {
    background: #eef4fb;
    font-weight: 600;
}

.ss-icon-btn {
    border: none;
    background: transparent;
    color: #5c6d82;
    padding: 0 0.25rem;
    line-height: 1;
}

.ss-icon-btn:hover {
    color: #b42318;
}

.ss-card-with {
    font-size: 0.7rem;
    color: #5c6d82;
    margin: 0.05rem 0 0 0.85rem;
    line-height: 1.25;
}

.ss-scenario-list .rc-mini-caption {
    white-space: nowrap;
}

.ss-title-badge {
    font-size: 0.7rem;
    vertical-align: 0.2rem;
    margin-left: 0.35rem;
}

.rc-callout.ss-callout--family {
    background: #f6f4fd;
    border-color: #dcd6f3;
}

.rc-callout.ss-callout--family > .bi {
    color: #4a3aa7;
}

.ss-compare-table th.ss-col-head {
    cursor: pointer;
    white-space: nowrap;
    vertical-align: bottom;
}

.ss-compare-table th.ss-col-head small {
    display: block;
    font-weight: 400;
    color: #6b7a8f;
    font-size: 0.68rem;
    min-height: 0.9rem;
}

.ss-compare-table td.ss-row-label {
    white-space: normal;
    min-width: 10.5rem;
}

.rc-table td.ss-col-active,
.rc-table th.ss-col-active {
    background: #f0f7fc;
}

.rc-table td.ss-col-best {
    font-weight: 600;
}

.rc-table th.ss-col-best {
    box-shadow: inset 0 -2px 0 #1baf7a;
}

.rc-table tr.ss-group-row > td {
    background: #f7f9fc;
    color: #3d4a5c;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: none;
    padding-top: 0.45rem;
}

.rc-table tr.ss-row-muted > td {
    color: #6b7a8f;
}

.rc-table tr.ss-row-tie > td {
    background: #fff7e0;
    font-weight: 600;
}

.ss-meaning {
    margin: 0 0 0.25rem;
    padding-left: 1.2rem;
    line-height: 1.5;
}

.ss-meaning li + li {
    margin-top: 0.4rem;
}

.ss-steps {
    margin: 0 0 0.75rem;
    padding-left: 1.35rem;
    line-height: 1.5;
}

.ss-steps li + li {
    margin-top: 0.45rem;
}

.ss-steps b {
    color: #0b3a66;
}

.rc-table td.ss-cell-wrap {
    white-space: normal;
    min-width: 7rem;
}

.rc-table td.ss-cell-best {
    background: #e6f6ec;
    color: #11753a;
    font-weight: 700;
}

.ss-best-age {
    font-weight: 700;
}

.ss-matrix td {
    min-width: 6rem;
}

.rc-table.ss-matrix th {
    white-space: normal;
    min-width: 6rem;
    line-height: 1.25;
}

.ss-matrix td .rc-best-badge {
    display: block;
    width: fit-content;
    margin: 0.15rem 0 0 auto;
}

.ss-matrix th small,
.ss-matrix td small {
    display: block;
    font-weight: 400;
    color: #6b7a8f;
    font-size: 0.7rem;
}

.ss-matrix td.ss-matrix-best {
    outline: 2px solid #11753a;
    outline-offset: -2px;
    color: #11753a;
    font-weight: 700;
}

.ss-working {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #5c6d82;
    font-size: 0.9rem;
}

.ss-family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
}

.ss-fact {
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    background: #fbfcfe;
}

.ss-fact h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
}

.ss-fact p {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #3d4a5c;
    margin: 0;
}

.ss-check-list {
    list-style: none;
    padding: 0;
    margin: 0.35rem 0 0;
}

.ss-check-list li {
    font-size: 0.8125rem;
    line-height: 1.45;
    padding-left: 1.3rem;
    position: relative;
    color: #3d4a5c;
}

.ss-check-list li > .bi {
    position: absolute;
    left: 0;
    top: 0.05rem;
}

.ss-check-list li.ss-yes > .bi {
    color: #11753a;
}

.ss-check-list li.ss-no > .bi {
    color: #b42318;
}
