.sidebar-footer .resume-download { flex: 0 0 44px; }
.top-right-controls .theme-toggle-card { gap: 4px !important; }
.top-right-controls .theme-toggle-label { display: flex !important; flex: 0 0 42px; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.02; text-align: left; white-space: nowrap; }
.top-right-controls .theme-toggle-label > span { display: block; }
.resume-download .resume-icon { width: 22px; height: 22px; object-fit: contain; position: relative; z-index: 2; }
.resume-icon-light { display: none !important; }
[data-theme="white"] .resume-icon-dark { display: none !important; }
[data-theme="white"] .resume-icon-light { display: block !important; }
@media (max-width: 980px) {
    body.nav-open .sidebar-footer .resume-download .resume-icon { filter: none !important; }
    body.nav-open .sidebar-footer .resume-download .resume-icon-dark { filter: drop-shadow(0 0 4px var(--accent)) !important; }
    [data-theme="white"] body.nav-open .sidebar-footer .resume-download .resume-icon-light { filter: drop-shadow(0 0 3px var(--accent)) !important; }
}

.experience-impact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.experience-impact span { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel-2); color: var(--muted); font-size: .73rem; line-height: 1.3; }
.experience-impact strong { color: var(--accent); font-size: 1.4rem; line-height: 1; }

.credentials-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.credentials-strip p { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.credentials-strip strong { color: var(--text); font-size: .84rem; line-height: 1.25; }
.credentials-strip span { color: var(--muted); font-size: .75rem; }

@media (max-width: 980px) {
    html body .top-right-controls .theme-toggle-label,
    html body.mobile-brand-away .top-right-controls .theme-toggle-label {
        display: flex !important;
        flex: 0 0 42px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 42px !important;
        min-width: 42px !important;
        margin: 0 !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1.02 !important;
        letter-spacing: 0 !important;
        text-align: left !important;
        white-space: nowrap !important;
    }
    html body .top-right-controls .theme-toggle-label > span { display: block; width: 100%; }
    html body .top-right-controls .theme-toggle-card,
    html body.mobile-brand-away .top-right-controls .theme-toggle-card { padding-inline: 8px !important; gap: 3px !important; }
    .experience-impact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    html body .top-right-controls .theme-toggle-label,
    html body.mobile-brand-away .top-right-controls .theme-toggle-label { flex-basis: 36px !important; width: 36px !important; min-width: 36px !important; font-size: 10.5px !important; }
    html body .top-right-controls .theme-toggle-pill,
    html body.mobile-brand-away .top-right-controls .theme-toggle-pill { width: 56px !important; min-width: 56px !important; max-width: 56px !important; flex-basis: 56px !important; height: 30px !important; min-height: 30px !important; padding: 3px !important; gap: 2px !important; }
    html body .top-right-controls .theme-toggle-knob,
    html body .top-right-controls .theme-toggle-moon,
    html body.mobile-brand-away .top-right-controls .theme-toggle-knob,
    html body.mobile-brand-away .top-right-controls .theme-toggle-moon { width: 24px !important; min-width: 24px !important; max-width: 24px !important; height: 24px !important; min-height: 24px !important; max-height: 24px !important; flex-basis: 24px !important; }
    html[data-theme="white"] body .top-right-controls .theme-toggle-knob,
    html[data-theme="white"] body.mobile-brand-away .top-right-controls .theme-toggle-knob { transform: translateX(26px) !important; }
    html[data-theme="white"] body .top-right-controls .theme-toggle-moon,
    html[data-theme="white"] body.mobile-brand-away .top-right-controls .theme-toggle-moon { transform: translateX(-26px) !important; }
    .experience-impact { grid-template-columns: 1fr; }
    .experience-impact span { flex-direction: row; align-items: baseline; gap: 8px; }
    .credentials-strip { grid-template-columns: 1fr; }
}

@media (min-width: 561px) and (max-width: 980px) { .credentials-strip { grid-template-columns: 1fr 1fr; } }
