
/* ══ Strength standards page (loaded after progressions.css) ══ */
/* ── The tool ──────────────────────────────────────── */
.tool {
    margin-bottom: 72px;
    scroll-margin-top: calc(var(--header-h) + 16px);
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tabs button {
    flex: 1 0 auto;
    min-height: 52px;
    padding: 0 16px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    color: #99a1aa;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.98rem;
    white-space: nowrap;
    cursor: pointer;
}

.tabs button[aria-selected="true"] {
    color: #fff;
    border-bottom-color: var(--gold);
}

.tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 26px;
}

@media (min-width: 760px) {
    .tool-grid {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        gap: 48px;
    }
}

.tool-form {
    display: grid;
    gap: 18px;
    align-content: start;
}

.num-row {
    display: flex;
    gap: 10px;
}

.num-row .seg {
    flex: 0 0 104px;
}

.tool [hidden] {
    display: none !important;
}

/* ── Result ────────────────────────────────────────── */
.out-level {
    margin-top: 6px;
    font-weight: 800;
    font-size: clamp(2rem, 7vw, 3.1rem);
    line-height: 1.12;
    letter-spacing: -1px;
    color: var(--gold);
}

.out-sub {
    margin-top: 8px;
    color: #e6e9eb;
    font-variant-numeric: tabular-nums;
}

.meter {
    position: relative;
    height: 8px;
    margin: 20px 0 8px;
    background: #252b32;
    border-radius: 0 4px 4px 0;
}

.meter-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--gold);
    border-radius: 0 4px 4px 0;
    transition: width 0.3s ease;
}

.meter-ends {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.out-next {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: #fff;
    font-weight: 500;
}

.out-src,
.out-est {
    margin-top: 8px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--muted);
}

.ranks {
    list-style: none;
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.ranks li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-soft);
    color: #8b939c;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.ranks li.is-done {
    color: #fff;
}

.ranks li.is-done span:first-child::before {
    content: '\2713\00a0\00a0';
    color: var(--gold);
}

.ranks li.is-next {
    color: var(--gold);
    font-weight: 600;
}

.tool-actions {
    margin-top: 18px;
}
