/* Whitecote Learning Hub navigation. Scoped to avoid overriding legacy apps. */
#header-fixed.wc-global-nav {
  --wc-h-green:#006439;--wc-h-deep:#003f29;--wc-h-ink:#183f30;
  --wc-h-border:#dce8db;--wc-h-muted:#53705d;
  position:sticky;top:0;z-index:1300;width:100%;background:rgba(255,255,255,.98);
  border-bottom:1px solid var(--wc-h-border);box-shadow:0 2px 10px rgba(16,65,43,.06);
  color:var(--wc-h-ink);font:500 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;box-sizing:border-box;isolation:isolate
}
#header-fixed.wc-global-nav *,#header-fixed.wc-global-nav *::before,#header-fixed.wc-global-nav *::after{box-sizing:border-box}
#header-fixed.wc-global-nav a{text-decoration:none;color:inherit}
#header-fixed.wc-global-nav button{font:inherit}
#header-fixed.wc-global-nav :is(a,button):focus-visible{outline:3px solid #e9511b;outline-offset:3px}
#header-fixed .wc-head-inner{max-width:1460px;height:66px;padding:0 24px;margin:auto;display:flex;align-items:center;gap:16px}
#header-fixed .wc-head-brand{display:flex;align-items:center;gap:9px;flex-shrink:0;min-width:0}
#header-fixed .wc-head-brand img{display:block;width:42px;height:42px;object-fit:contain;border-radius:50%;background:#eff5ec}
#header-fixed .wc-head-brand span{display:grid;gap:1px;min-width:0}
#header-fixed .wc-head-brand strong{font-size:20px;letter-spacing:-.8px;font-weight:850;line-height:1.05}
#header-fixed .wc-head-brand small{font-size:8px;letter-spacing:1.8px;color:var(--wc-h-muted);font-weight:800}
#header-fixed .wc-head-nav{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;flex:1}
#header-fixed .wc-head-nav>a,#header-fixed .wc-head-category-trigger{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:42px;padding:9px 11px;border:0;border-radius:12px;background:transparent;color:#315b42;font-size:12px;font-weight:760;cursor:pointer;transition:background-color .2s ease,color .2s ease,transform .24s cubic-bezier(.2,.85,.2,1)}
#header-fixed .wc-head-nav>a:hover,#header-fixed .wc-head-category-trigger:hover,#header-fixed .wc-head-category-trigger[aria-expanded="true"]{background:#eaf3e8;color:#004b2e;transform:translateY(-1px)}
#header-fixed .wc-head-nav>a[aria-current="page"]{background:#ecf4e8;color:var(--wc-h-green)}
#header-fixed .wc-head-actions{display:flex;align-items:center;flex-shrink:0;margin-left:auto}
#header-fixed .wc-head-trigger{display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;border:0;white-space:nowrap;list-style:none}
#header-fixed .wc-head-chevron{font-size:18px;line-height:1;display:inline-block;transform-origin:center;transition:transform .3s cubic-bezier(.2,.85,.2,1)}
#header-fixed .wc-is-open .wc-head-chevron{transform:rotate(180deg)}
#header-fixed .wc-head-popover-anchor{position:relative}
#header-fixed .wc-head-account-trigger,#header-fixed .wc-head-signin{background:var(--wc-h-green);color:#fff!important;border:0;border-radius:999px;min-height:42px;padding:5px 13px;font-size:12px;font-weight:800;transition:background-color .2s ease,box-shadow .25s ease,transform .25s cubic-bezier(.2,.85,.2,1)}
#header-fixed .wc-head-account-trigger:hover,#header-fixed .wc-head-signin:hover{background:var(--wc-h-deep);box-shadow:0 7px 16px rgba(0,100,57,.16);transform:translateY(-1px)}
#header-fixed .wc-head-signin{display:inline-flex;align-items:center;gap:9px;padding:11px 17px}
#header-fixed .wc-head-account-label{display:block;min-width:0;max-width:185px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#header-fixed .wc-head-avatar{display:grid;place-items:center;width:32px;height:32px;border:2px solid white;border-radius:50%;flex:none;color:var(--wc-h-deep);background:#e2efdf;font-size:13px}
#header-fixed .wc-head-account-trigger{padding:4px 11px 4px 5px}
#header-fixed .wc-head-panel{position:absolute;z-index:1310;top:calc(100% + 11px);background:#fff;border:1px solid var(--wc-h-border);border-radius:19px;box-shadow:0 20px 55px rgba(20,63,38,.17);visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-9px) scale(.985);transform-origin:top right;transition:opacity .2s ease,transform .28s cubic-bezier(.19,1,.22,1),visibility 0s linear .28s}
#header-fixed .wc-is-open>.wc-head-panel{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0) scale(1);transition:opacity .22s ease,transform .3s cubic-bezier(.19,1,.22,1),visibility 0s}
#header-fixed .wc-head-category-panel{right:-140px;width:min(680px,calc(100vw - 30px));padding:15px;max-height:min(74vh,620px);overflow-y:auto;overscroll-behavior:contain}
#header-fixed .wc-head-panel-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 7px 12px;border-bottom:1px solid #e6eee4;margin-bottom:10px}
#header-fixed .wc-head-panel-top strong{color:#173f31;font-weight:820;font-size:15px}
#header-fixed .wc-head-panel-top span{font-size:11px;color:var(--wc-h-muted);font-weight:650}
#header-fixed .wc-head-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px}
#header-fixed .wc-head-tool{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;border-radius:12px;transition:background-color .2s ease,transform .22s cubic-bezier(.19,1,.22,1)}
#header-fixed .wc-head-tool-copy{display:grid;gap:3px;min-width:0}
#header-fixed .wc-head-tool-copy strong{font-weight:760;line-height:1.2;color:#1b4933;font-size:13px}
#header-fixed .wc-head-tool-copy small{font-size:11px;line-height:1.3;color:#607566;white-space:normal}
#header-fixed .wc-head-tool:hover,#header-fixed .wc-head-tool:focus-visible{background:#edf5e9;transform:translateX(3px)}
#header-fixed .wc-head-tool[aria-current="page"]{background:#edf4eb}
#header-fixed .wc-head-link-arrow{width:26px;height:26px;min-width:26px;display:grid;place-items:center;border-radius:50%;color:#1e6a43;background:#e6f0e2;font-size:16px;transition:transform .2s ease}
#header-fixed .wc-head-tool:hover .wc-head-link-arrow{transform:translate(2px,-2px)}
#header-fixed .wc-head-account-panel{right:0;width:min(268px,calc(100vw - 26px));padding:8px}
#header-fixed .wc-head-person{background:#f1f7ef;border-radius:12px;display:grid;gap:4px;margin-bottom:6px;padding:13px 12px;overflow-wrap:anywhere}
#header-fixed .wc-head-person small{font-size:9px;color:#617b68;letter-spacing:1px;font-weight:800}
#header-fixed .wc-head-person strong{font-size:13px;line-height:1.35}
#header-fixed .wc-head-account-panel>a{display:flex;align-items:center;justify-content:space-between;padding:11px 12px;gap:14px;border-radius:10px;font-size:13px;font-weight:740;transition:background-color .2s ease,transform .22s ease}
#header-fixed .wc-head-account-panel>a:hover{background:#edf5e9;transform:translateX(2px)}
#header-fixed .wc-head-account-panel>a.wc-head-logout{margin-top:5px;padding-top:13px;border-top:1px solid #e1e9de;color:#a34128;border-radius:0}
@media(max-width:1320px){#header-fixed .wc-head-shortcut:nth-of-type(n+4){display:none}#header-fixed .wc-head-category-panel{right:-110px}}
@media(max-width:1000px){#header-fixed .wc-head-shortcut{display:none}#header-fixed .wc-head-nav{justify-content:flex-end}#header-fixed .wc-head-category-panel{position:fixed;left:16px;right:16px;top:74px;width:auto;max-height:min(75vh,620px);transform-origin:top center}}
@media(max-width:650px){#header-fixed .wc-head-inner{height:60px;padding:0 13px;gap:10px}#header-fixed .wc-head-brand img{width:38px;height:38px}#header-fixed .wc-head-brand strong{font-size:18px}#header-fixed .wc-head-brand small{font-size:7px}#header-fixed .wc-head-nav>a{display:none}#header-fixed .wc-head-category-trigger{padding:8px 9px;font-size:12px}#header-fixed .wc-head-category-panel{position:fixed;left:12px;right:12px;top:68px;width:auto;max-height:min(72vh,630px);transform-origin:top center}#header-fixed .wc-head-account-label{max-width:94px}#header-fixed .wc-head-account-trigger{gap:4px;font-size:11px;padding-right:7px}#header-fixed .wc-head-avatar{width:29px;height:29px}#header-fixed .wc-head-actions{margin-left:0}}
@media(max-width:440px){#header-fixed .wc-head-inner{gap:5px;padding:0 8px}#header-fixed .wc-head-brand{gap:5px}#header-fixed .wc-head-brand img{width:34px;height:34px}#header-fixed .wc-head-brand strong{font-size:16px}#header-fixed .wc-head-brand small{font-size:6.7px;letter-spacing:1px}#header-fixed .wc-head-nav{flex:1}#header-fixed .wc-head-category-trigger{padding:8px 6px;font-size:11px}#header-fixed .wc-head-account-label{max-width:70px;font-size:10px}#header-fixed .wc-head-avatar{width:25px;height:25px;font-size:11px}#header-fixed .wc-head-chevron{font-size:15px}#header-fixed .wc-head-category-panel{left:8px;right:8px;top:66px;padding:10px;border-radius:15px}#header-fixed .wc-head-app-grid{grid-template-columns:1fr}#header-fixed .wc-head-tool{padding:9px 8px}#header-fixed .wc-head-tool-copy small{font-size:10px}}
@media(max-width:350px){#header-fixed .wc-head-brand small{display:none}#header-fixed .wc-head-brand strong{font-size:15px}#header-fixed .wc-head-category-trigger{font-size:10px}#header-fixed .wc-head-account-label{max-width:52px}}
@media(prefers-reduced-motion:reduce){#header-fixed.wc-global-nav *{transition:none!important;scroll-behavior:auto!important}#header-fixed .wc-head-panel,#header-fixed .wc-is-open>.wc-head-panel{transform:none!important}}
@media(prefers-contrast:more){#header-fixed.wc-global-nav{border-bottom-color:#31593f}#header-fixed .wc-head-panel{border-color:#31593f}#header-fixed .wc-head-tool-copy small{color:#365441}}

/* 15 October: category navigation, no All tools panel. */
#header-fixed.wc-global-nav{margin:0!important;padding:0!important;min-height:0!important;clear:both;}
#header-fixed .wc-head-inner{max-width:1500px;}
#header-fixed .wc-head-category-panel{width:288px;right:auto;left:0;padding:10px;max-height:min(74vh,590px);overflow:auto;transform-origin:top left;}
#header-fixed .wc-head-category-panel .wc-head-tool{display:flex;margin:3px 0;padding:10px 9px;}
#header-fixed .wc-head-category-panel .wc-head-tool>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0;}
#header-fixed .wc-head-category-panel .wc-head-tool strong{font-size:13px;color:#214b36;}
#header-fixed .wc-head-category-panel .wc-head-tool small{font-size:11px;color:#567361;}
#header-fixed .wc-head-nav{gap:9px;}
#header-fixed .wc-head-nav>a,#header-fixed .wc-head-category-trigger{font-size:13px;}
#header-fixed .wc-head-category-trigger[aria-expanded=true]{background:#edf5e9;color:#006439}
#header-fixed .wc-head-mobile-wrap{display:none;}
#header-fixed .wc-head-mobile-panel{right:-60px;left:auto;width:min(400px,calc(100vw - 16px));padding:14px;max-height:calc(100dvh - 78px);overflow-y:auto;overscroll-behavior:contain;}
#header-fixed .wc-head-mobile-home{display:block;padding:11px 10px;font-weight:800;border-radius:11px;}
#header-fixed .wc-head-mobile-section{padding:9px 0;border-top:1px solid #e4ece1;}
#header-fixed .wc-head-mobile-section>strong{display:block;margin:4px 9px 6px;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#537b61;}
#header-fixed .wc-head-mobile-section .wc-head-tool{padding:9px;border-radius:10px;}
#header-fixed .wc-head-mobile-section .wc-head-tool>span:first-child{display:grid;gap:2px;}
#header-fixed .wc-head-mobile-section .wc-head-tool strong{font-size:12px;color:#234a37;}
#header-fixed .wc-head-mobile-section .wc-head-tool small{font-size:10px;color:#65776b;}
@media(max-width:1000px){
 #header-fixed .wc-head-nav{display:none}
 #header-fixed .wc-head-mobile-wrap{display:block;margin-left:auto;}
 #header-fixed .wc-head-mobile-trigger{min-height:39px;padding:8px 13px;border-radius:12px;background:#eff5ec;color:#1c5438;font-size:13px;font-weight:800;transition:background .2s,transform .2s}
 #header-fixed .wc-head-mobile-trigger:hover{background:#e4f1de;transform:translateY(-1px)}
 #header-fixed .wc-head-mobile-panel{position:absolute;top:calc(100% + 14px);}
}
@media(max-width:650px){
 #header-fixed .wc-head-mobile-panel{position:fixed;top:67px;left:9px;right:9px;width:auto;max-height:calc(100dvh - 77px);transform-origin:top center;}
 #header-fixed .wc-head-inner{justify-content:space-between}
}
@media(max-width:410px){
 #header-fixed .wc-head-mobile-trigger{font-size:11px;padding:8px 9px}
 #header-fixed .wc-head-account-label{max-width:78px}
}

@media(max-width:365px){#header-fixed .wc-head-account-label{display:none}#header-fixed .wc-head-brand strong{font-size:14px}#header-fixed .wc-head-brand small{font-size:6px}#header-fixed .wc-head-inner{padding:0 7px;gap:4px}#header-fixed .wc-head-mobile-trigger{font-size:10px;padding:7px 6px}#header-fixed .wc-head-account-panel{right:0}}
