/* Compact segmented navigation, with a neutral selected surface. */
.hw nav.hw-tabs.learning-tabs[aria-label] {display:flex!important;align-items:center;gap:3px!important;width:264px!important;max-width:100%!important;min-height:44px!important;height:44px!important;padding:4px!important;margin:0 0 22px!important;border:0!important;border-radius:12px!important;background:color-mix(in srgb,var(--pv-ink,#1d1d1f) 8%,transparent)!important;box-sizing:border-box}
.hw nav.hw-tabs.learning-tabs[aria-label]>button {display:flex!important;align-items:center;justify-content:center;flex:1 1 0!important;width:auto!important;min-width:0!important;min-height:36px!important;height:36px!important;max-height:36px!important;padding:6px 22px!important;margin:0!important;border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;font:500 15px/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI','Microsoft YaHei',sans-serif!important;letter-spacing:0!important;color:var(--pv-muted,#6e7472)!important;transition:background .16s,color .16s,box-shadow .16s}
.hw nav.hw-tabs.learning-tabs[aria-label]>button[aria-pressed=true]{background:var(--pv-panel,#fff)!important;color:var(--pv-ink,#202522)!important;font-weight:600!important;box-shadow:0 1px 4px #00000020,0 0 0 1px #00000004!important}
.hw nav.hw-tabs.learning-tabs[aria-label]>button:focus-visible{outline:2px solid var(--pv-accent,#246753);outline-offset:2px}
.learning-back {display:inline-flex!important;align-items:center;gap:8px!important;min-height:40px!important;width:fit-content!important;padding:8px 12px!important;margin:0 0 18px!important;border:1px solid var(--pv-border,#dce5df)!important;border-radius:10px!important;background:var(--pv-panel,transparent)!important;color:var(--pv-accent,#246753)!important;font-size:15px!important;font-weight:600!important;line-height:1.4!important;text-decoration:none!important;box-sizing:border-box;max-width:100%}
.learning-back:hover{filter:brightness(.95)}
@media(max-width:600px){.hw nav.hw-tabs.learning-tabs[aria-label]{width:240px!important;margin-bottom:18px!important}.learning-back{font-size:14px!important;min-height:40px!important}}
@media(prefers-reduced-motion:reduce){.hw nav.hw-tabs.learning-tabs[aria-label]>button{transition:none}}

/* Align the segmented control with the workspace, at a more comfortable scale. */
.hw nav.hw-tabs.learning-tabs[aria-label]{width:360px!important;height:52px!important;min-height:52px!important;padding:4px!important;margin:24px 32px 26px!important;margin-left:max(32px,calc((100% - 1400px)/2 + 32px))!important;max-width:calc(100% - 64px)!important;border-radius:14px!important}
.hw nav.hw-tabs.learning-tabs[aria-label]>button{height:44px!important;min-height:44px!important;max-height:44px!important;font-size:17px!important;border-radius:11px!important}
.pv-legacy .core a.learning-back::before,.pv-legacy .core a.learning-back::after,a.learning-back::before,a.learning-back::after,.hw .hw-back::before,.hw .hw-back::after{content:none!important;display:none!important}
.hw .hw-compose-back{justify-self:start!important;min-height:44px!important;margin:0!important;padding:10px 14px!important;font-size:15px!important;display:inline-flex!important;align-items:center;gap:8px}
.hw .hw-compose-back span{display:inline!important}
@media(max-width:600px){.hw nav.hw-tabs.learning-tabs[aria-label]{width:320px!important;max-width:calc(100% - 32px)!important;margin:18px 16px 22px!important;height:50px!important;min-height:50px!important}.hw nav.hw-tabs.learning-tabs[aria-label]>button{height:42px!important;min-height:42px!important;max-height:42px!important;font-size:16px!important}}

/* Increase the switch a little and offset it gently toward the content center. */
.hw nav.hw-tabs.learning-tabs[aria-label]{width:420px!important;height:58px!important;min-height:58px!important;margin-left:max(48px,calc((100% - 1400px)/2 + 48px))!important;max-width:calc(100% - 80px)!important;border-radius:16px!important}
.hw nav.hw-tabs.learning-tabs[aria-label]>button{height:50px!important;min-height:50px!important;max-height:50px!important;font-size:18px!important;border-radius:12px!important}
@media(max-width:600px){.hw nav.hw-tabs.learning-tabs[aria-label]{width:360px!important;max-width:calc(100% - 48px)!important;margin-left:24px!important;height:54px!important;min-height:54px!important}.hw nav.hw-tabs.learning-tabs[aria-label]>button{height:46px!important;min-height:46px!important;max-height:46px!important;font-size:17px!important}}
