/* Trophy Labs skin for the MIT Magic UI dock; legacy lesson links share the same destinations. */
.trophy-header-header{position:relative;display:flex;align-items:center;gap:20px;min-height:76px;margin:0 0 20px;font-family:Arial,Helvetica,sans-serif;color:#171717}
.trophy-header-brand{display:flex;align-items:center;gap:12px;flex:none;text-decoration:none;color:inherit}
.trophy-header-brand img{width:39px;height:26px;object-fit:contain}.trophy-header-brand span{display:none}
.trophy-header-current{font-size:13px;color:#686b62;margin-right:auto}
.trophy-header-nav{display:flex;align-items:center;justify-content:center;gap:8px;background:#fafbf6;border:1px solid #e9e9e1;border-radius:18px;padding:4px}
.trophy-header-nav a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:10px 14px;border-radius:14px;font-size:12px;line-height:1.2;text-decoration:none;color:#686b62;white-space:nowrap;transition:background .18s,color .18s,scale .18s}
.trophy-header-nav a[aria-current=page]{background:#f5e642;color:#171717;font-weight:600}
.trophy-header-nav a:active{scale:.96}
@media(hover:hover){.trophy-header-nav a:not([aria-current=page]):hover{background:#f3f4ed;color:#171717}}
.trophy-header-nav a:focus-visible,.trophy-header-askAxis:focus-visible{outline:3px solid #ff8a26;outline-offset:3px}
.trophy-header-nav svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.trophy-dock{display:flex;align-items:center;justify-content:center;gap:4px;height:72px}
.trophy-dock-item{display:flex;align-items:center;justify-content:center;flex:none}
.trophy-dock-item>a{width:100%;height:100%;flex-direction:column;padding:8px 4px;border-radius:16px;font-size:11px}
.trophy-header-nav:has(.trophy-dock){padding:4px 8px;border:0;background:transparent}
:root [data-axis-chip]{display:inline-flex;align-items:center;gap:8px;min-height:46px;flex:none;border:0;border-radius:18px;padding:6px 12px;background:#fafbf6;color:#171717;font:400 13px Arial;text-decoration:none}
:root [data-axis-chip] img{width:28px;height:28px}.trophy-header-askAxis{display:flex;align-items:center;min-height:46px;padding:8px 14px;border-radius:18px;background:#fafbf6;color:#171717;text-decoration:none;font-size:13px}
.study-header-shell{max-width:var(--content-width,1200px);padding:0 var(--page-gutter,40px);margin:auto}.study-header-shell .trophy-header-header{margin-bottom:0}
@media(max-width:700px){
 .trophy-header-header{min-height:56px;margin-bottom:12px;gap:12px}.trophy-header-brand img{width:32px;height:24px}.trophy-header-current{font-size:12px}
 .trophy-header-nav,.trophy-header-nav:has(.trophy-dock){position:fixed;z-index:45;left:50%;right:auto;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);padding:4px 8px;border:1px solid #e9e9e1;border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 8px 28px #17171712;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .trophy-header-nav a{flex-direction:column;font-size:11px;min-height:52px;min-width:64px;padding:8px}
 .trophy-dock{height:64px;gap:8px}.trophy-header-nav a[aria-current=page]{background:#f5e642}
}
@media(prefers-reduced-motion:reduce){.trophy-header-nav *{transition:none!important}.trophy-header-nav a:active{scale:1}}

/* Shared TL shell: one header width, with utilities above the film. */
:root{--content-width:1240px}
.trophy-shell-header{width:100%;max-width:1240px;margin:0 auto 20px;min-height:72px;display:flex;align-items:center;gap:20px;border:0}
.trophy-shell-header .trophy-header-brand{margin:0;flex:none;font:700 18px Arial;letter-spacing:-.04em;color:#171717;display:flex;align-items:center;gap:10px;text-decoration:none}
.trophy-shell-links{margin-left:auto;display:flex;align-items:center;gap:20px}
.trophy-shell-record,.trophy-shell-menu summary{display:flex;align-items:center;gap:6px;min-height:46px;border:0;background:none;color:#686b62;font:13px Arial;text-decoration:none;padding:8px 0;cursor:pointer}
.trophy-shell-record i{width:6px;height:6px;border-radius:50%;background:#d1362b}.trophy-shell-menu{position:relative}.trophy-shell-menu summary{list-style:none}.trophy-shell-menu summary::-webkit-details-marker{display:none}.trophy-shell-menu summary b{display:none}.trophy-shell-menu nav{position:absolute;right:0;top:100%;z-index:70;min-width:160px;padding:8px;background:white;border:1px solid #e9e9e1;border-radius:16px;box-shadow:0 8px 24px #17171712}.trophy-shell-menu nav a{display:block;padding:14px;color:#171717;text-decoration:none;font:14px Arial;min-height:46px}
.trophy-shell-header [data-axis-chip]{padding:0!important;width:46px!important;min-width:46px;min-height:46px;background:transparent!important;border:0!important;border-radius:16px;margin:0!important;box-shadow:none!important;justify-content:center}
.trophy-shell-header :is(a,button,summary):focus-visible{outline:3px solid #ff8a26;outline-offset:3px}
@media(max-width:760px){.trophy-shell-header{gap:10px;min-height:64px}.trophy-shell-header .trophy-header-brand{font-size:17px;gap:6px}.trophy-shell-header .trophy-header-brand img{width:30px;height:24px}.trophy-shell-links{gap:10px}.trophy-shell-menu summary span{display:none}.trophy-shell-menu summary b{display:block;font-size:22px}.trophy-shell-menu summary{min-width:30px;justify-content:center}}
.trophy-shell-header .trophy-header-brand span{display:inline!important}.trophy-shell-header .trophy-shell-record{background:transparent;border:0;border-radius:0;box-shadow:none;color:#686b62;padding:8px 0;font:13px Arial}
