/* Hub presentation only; no selectors target Google ad nodes or article content. */
body.hub-landing,body.tmeh:not(.tpa-page){--ink:#172348;--muted:#71809f;--line:#e1e6f5;--blue:#4860f5;background:radial-gradient(ellipse at 95% 0,#eae9ff,transparent 48%),#f6f7ff!important;color:#172348!important}
.hub-landing .hub-header{max-width:1160px!important;padding:25px 28px!important;background:transparent!important;border:0!important}
.hub-landing .brand{color:#172348!important;letter-spacing:.3px!important;font-size:16px!important}.hub-landing .brand strong{font-size:9px!important;color:#7b83a2!important;letter-spacing:3px!important}
.hub-landing .brand-mark{width:45px!important;height:46px!important;border-radius:14px!important;background:linear-gradient(145deg,#2767ff,#7943ed)!important;box-shadow:0 5px 14px #5562ed25!important;color:#fff!important;font-size:24px!important}
.hub-landing .hub-header nav a{font-size:12px!important;color:#7781a0!important;padding:9px 12px!important;border-radius:10px!important}.hub-landing .hub-header nav .nav-quiz{background:#eceeff!important;color:#6650d8!important}
.hub-landing .hub-main{max-width:1160px!important;padding:0 28px!important}
.hub-landing .welcome{display:block!important;padding:22px 0 19px!important;margin:0!important}.hub-landing .welcome .intro-pill,.hub-landing .learning-art{display:none!important}.hub-landing .welcome h1{font-size:31px!important;line-height:1.65!important;letter-spacing:-.3px!important;margin:0!important;color:#172348!important;max-width:none!important}.hub-landing .welcome p{font-size:13px!important;line-height:1.8!important;margin:6px 0 0!important;color:#7984a1!important}
.hub-landing .hub-search{background:#ffffffef!important;border:1px solid #dfe3f5!important;border-radius:15px!important;padding:7px 9px 7px 16px!important;box-shadow:none!important;margin:0 0 24px!important}.hub-landing .hub-search input{font-size:13px!important;height:43px!important;color:#172348!important}.hub-landing .hub-search button{background:linear-gradient(120deg,#396af4,#7b48e6)!important;width:42px!important;height:42px!important;border-radius:11px!important}
.hub-landing .paths{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:17px!important;margin:0 0 25px!important}
.hub-landing .path{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:17px!important;position:relative!important;grid-column:auto!important;min-height:195px!important;padding:23px!important;border-radius:20px!important;border:1px solid #e1e6f5!important;background:#fff!important;box-shadow:0 3px 11px #4855a506!important;color:#172348!important;transition:transform .2s,border-color .2s,box-shadow .2s!important;overflow:hidden!important}
.hub-landing .path:hover{transform:translateY(-3px)!important;box-shadow:0 12px 25px #6153c416!important;border-color:#b8b6f3!important}.hub-landing .path .path-copy{min-width:0!important;flex:1!important}.hub-landing .path .path-copy h2{font-size:19px!important;line-height:1.65!important;letter-spacing:0!important;margin:0 0 5px!important;color:inherit!important}.hub-landing .path .path-copy>span{font-size:11px!important;line-height:1.8!important;display:block!important;color:#7c86a4!important}
.hub-landing .path .path-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;background:#edf0ff!important;color:#6655d7!important;border-radius:14px!important;display:grid!important;place-items:center!important}.hub-landing .path-icon svg{width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.7!important}
.hub-landing .path-arrow{position:absolute!important;right:22px!important;top:29px!important;font-size:22px!important;color:#9ba5c0!important;background:none!important}.hub-landing .path.quiz{order:0!important;background:linear-gradient(125deg,#315cf0,#7648e2)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 9px 23px #6250db23!important}.hub-landing .path.quiz .path-icon{background:#ffffff24!important;color:#fff!important}.hub-landing .path.quiz .path-copy>span{color:#dfe4ff!important}.hub-landing .path.quiz .path-arrow{color:#fff!important}.hub-landing .quiz:after{display:none!important}.hub-landing .practice-button{display:none!important}
.hub-landing .path.box{order:1!important;background:linear-gradient(125deg,#edf2ff,#f2eaff)!important;border-color:#d5d8fc!important}.hub-landing .path.box .path-icon{background:linear-gradient(145deg,#8864f0,#6645cb)!important;color:#fff!important}.hub-landing .path.jobs{order:2!important}.hub-landing .path.jobs .path-icon{background:#e5f7ff!important;color:#2184bb!important}.hub-landing .path.notes{order:3!important}.hub-landing .path.notes .path-icon{background:#fff0f7!important;color:#c34e95!important}.hub-landing .path.syllabus{order:4!important}.hub-landing .path.syllabus .path-icon{background:#fff5dc!important;color:#b28312!important}.hub-landing .path.print{order:5!important}.hub-landing .path.print .path-icon{background:#e9f7f0!important;color:#3e9872!important}.hub-landing .path.print .path-copy>strong{font-size:10px!important;padding:3px 8px!important;border-radius:6px!important;background:#fff3ce!important;color:#8b701b!important;margin:0 0 5px!important}
.hub-landing #tme-app-card{border:1px solid #dfe4f4!important;background:#ffffffcc!important;border-radius:14px!important;padding:14px 18px!important;margin:0 0 32px!important;box-shadow:none!important;position:static!important;max-width:none!important;width:100%!important}.hub-landing #tme-app-card strong{font-size:13px!important;color:#4a4b7b!important}.hub-landing #tme-app-card small{font-size:11px!important;color:#8a92ae!important}.hub-landing #tme-app-install{border:1px solid #dddff6!important;background:#efedff!important;color:#6a54d7!important;border-radius:10px!important;font-size:11px!important;padding:9px 13px!important}
.hub-landing .section-heading h2{font-size:21px!important;border:0!important;padding-left:0!important;color:#172348!important}.hub-landing .section-heading .eyebrow{display:none!important}.hub-landing .section-heading>a{color:#6e59d6!important}.hub-landing .post-card{background:#fff!important;border:1px solid #e1e6f5!important;border-radius:17px!important;box-shadow:none!important}.hub-landing .post-card:hover{border-color:#bebcf0!important}.hub-landing .post-copy h3{color:#172348!important;line-height:1.75!important}.hub-landing .post-label{color:#7b6abf!important;background:#f1edff!important;border-radius:5px!important;font-size:9px!important}.hub-landing .post-meta{color:#929bb2!important}.hub-landing .post-art{border-radius:12px!important;background:#f0effb!important}.hub-landing .hub-footer{border-color:#e0e4f4!important;background:#f1f2fc!important;color:#7b83a0!important}.hub-landing .hub-footer a{color:#6b59cd!important}.hub-landing .mobile-dock{background:#fffffff5!important;border-color:#e2e6f5!important;box-shadow:0 -5px 24px #4b4da608!important}.hub-landing .mobile-dock .dock-box{background:linear-gradient(110deg,#8255df,#6545c8)!important;color:white!important}.hub-landing .mobile-dock .dock-pyq{background:linear-gradient(110deg,#3769f1,#5360df)!important;color:white!important}
.hub-landing .menu-links{border-color:#e1e6f5!important;background:#fff!important}.hub-landing .menu-links a{color:#6f72a0!important}.hub-landing .hub-menu summary{color:#6854d6!important}
body.tmeh:not(.hub-landing) .listing-head h1,body.tmeh:not(.hub-landing) .section-heading h2{color:#172348!important}body.tmeh:not(.hub-landing) .library-search button{background:linear-gradient(110deg,#3266f3,#7848e6)!important;border:0!important;border-radius:10px!important}body.tmeh:not(.hub-landing) .post-card{border-color:#e1e6f5!important;border-radius:16px!important;box-shadow:none!important}
@media(max-width:720px){.hub-landing .hub-header{padding:19px 20px!important;gap:12px!important}.hub-landing .brand{font-size:12px!important;letter-spacing:.2px!important}.hub-landing .brand strong{font-size:7px!important;letter-spacing:2.2px!important}.hub-landing .brand-mark{width:38px!important;height:39px!important;border-radius:12px!important;font-size:21px!important}.hub-landing .hub-header>nav{display:none!important}.hub-landing .hub-menu{display:block!important}.hub-landing .hub-main{padding:0 20px!important}.hub-landing .welcome{padding:19px 0 16px!important}.hub-landing .welcome h1{font-size:23px!important;line-height:1.7!important}.hub-landing .welcome p{font-size:10px!important;line-height:1.8!important;margin:5px 0 0!important}.hub-landing .hub-search{padding:5px 7px 5px 11px!important;border-radius:13px!important;margin-bottom:18px!important}.hub-landing .hub-search input{height:38px!important;font-size:11px!important}.hub-landing .hub-search button{width:37px!important;height:37px!important;border-radius:9px!important}.hub-landing .paths{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;margin-bottom:20px!important}.hub-landing .path{min-height:151px!important;padding:16px 13px!important;border-radius:16px!important;gap:13px!important}.hub-landing .path .path-icon{width:37px!important;height:37px!important;flex-basis:37px!important;border-radius:11px!important}.hub-landing .path-icon svg{width:21px!important;height:21px!important}.hub-landing .path .path-copy h2{font-size:14px!important;line-height:1.6!important;margin-bottom:5px!important}.hub-landing .path .path-copy>span{font-size:9px!important;line-height:1.8!important}.hub-landing .path-arrow{top:19px!important;right:13px!important;font-size:18px!important}.hub-landing .path.print .path-copy>strong{font-size:9px!important;padding:2px 6px!important}.hub-landing #tme-app-card{padding:12px!important;margin-bottom:26px!important;gap:8px!important}.hub-landing #tme-app-card img{width:30px!important;height:30px!important}.hub-landing #tme-app-card strong{font-size:10px!important;line-height:1.6!important}.hub-landing #tme-app-card small{font-size:8px!important;line-height:1.7!important}.hub-landing #tme-app-install{font-size:9px!important;padding:8px!important;white-space:nowrap!important}.hub-landing .section-heading h2{font-size:17px!important}.hub-landing .section-heading>a{font-size:10px!important}.hub-landing .post-copy h3{font-size:13px!important;line-height:1.75!important}.hub-landing .post-card{padding:13px!important}.hub-landing .post-label{font-size:8px!important}.hub-landing .feed{margin-bottom:28px!important}.hub-landing .mobile-dock a{font-size:10px!important;border-radius:11px!important;padding:12px 8px!important}.hub-landing .mobile-dock{padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;gap:10px!important}}
@media(prefers-reduced-motion:reduce){.hub-landing .path{transition:none!important}}

.hub-landing #tme-app-card{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}.hub-landing #tme-app-copy{flex:1!important;min-width:0!important}.hub-landing #tme-app-copy strong,.hub-landing #tme-app-copy small{display:block!important}

/* Match directory colours without changing their filters, dates or post content. */
body.tmj-page:not(.tpa-page){background:radial-gradient(ellipse at 95% 0,#eae9ff,transparent 48%),#f6f7ff!important;color:#172348!important}
.tmj-page:not(.tpa-page) .tmj-brand-mark{background:linear-gradient(145deg,#2767ff,#7943ed)!important;box-shadow:0 5px 14px #5562ed25!important}
.tmj-page:not(.tpa-page) .tmj-brand,.tmj-page:not(.tpa-page) .tmjobs,.tmj-page:not(.tpa-page) .tn-main{color:#172348!important}
.tmj-page:not(.tpa-page) .tmj-hero,.tmj-page:not(.tpa-page) .tn-hero{background:linear-gradient(125deg,#edf2ff,#f2eaff)!important;border:1px solid #d8dcf8!important;box-shadow:none!important}
.tmj-page:not(.tpa-page) .tmj-search-submit,.tmj-page:not(.tpa-page) .tmj-apply,.tmj-page:not(.tpa-page) .tn-search button,.tmj-page:not(.tpa-page) .tn-tabs a[aria-current]{background:linear-gradient(110deg,#3266f3,#7848e6)!important;color:#fff!important;border-color:transparent!important}
.tmj-page:not(.tpa-page) .tmj-card,.tmj-page:not(.tpa-page) .tn-card,.tmj-page:not(.tpa-page) .tmj-filters{border-color:#e1e6f5!important;box-shadow:none!important;background:#fff!important}
.tmj-page:not(.tpa-page) .tn-read{background:#eeebff!important;color:#6b52cc!important}
.tmj-page:not(.tpa-page) .tmj-menu summary{color:#6854d6!important}
.tmj-page:not(.tpa-page) .tmj-desktop-nav a[aria-current]{color:#6650d8!important;background:#eceeff!important}
