/* AXIOVUM: mathematical content first. Shared light/dark presentation, native controls. */
.ax-public{
 --ax-reading:#f8fafc;--ax-page:#f8fafc;--ax-text:#17243a;--ax-graphite:#17243a;
 --ax-muted:#53637a;--ax-rule:#d7dfea;--ax-blue:#2455cf;--ax-blue-hover:#1941a5;
 --ax-link:#234cbb;--ax-selected:#e6edfc;--ax-field-border:#8d9bb1;--ax-tree:#eef2f8;
 --ax-welcome-paper:#f8fafc;--ax-welcome-ink:#17243a;--ax-welcome-muted:#53637a;
 --ax-welcome-line:#d7dfea;--ax-welcome-wash:#eef2f8;--ax-welcome-cobalt:#2455cf;
 --community-surface:#fff;--community-wash:#eef2f8;--community-strong:#12243d;
 --community-on-action:#fff;--community-shadow:rgba(23,36,58,.08);
 --site-width:1320px;--site-gutter:clamp(20px,4vw,64px);--site-section:clamp(48px,6vw,88px);
 background:var(--ax-reading);color:var(--ax-text);color-scheme:light;
 font-family:var(--ax-font-ui);font-size:17px;line-height:1.6;
}
html[data-site-theme=dark] .ax-public{
 --ax-reading:#101a2a;--ax-page:#101a2a;--ax-text:#e8edf7;--ax-graphite:#e8edf7;
 --ax-muted:#b6c3d7;--ax-rule:#34445d;--ax-blue:#a3bdff;--ax-blue-hover:#c2d3ff;
 --ax-link:#a3bdff;--ax-selected:#263b61;--ax-field-border:#8092ad;--ax-tree:#18263a;
 --ax-welcome-paper:#101a2a;--ax-welcome-ink:#e8edf7;--ax-welcome-muted:#b6c3d7;
 --ax-welcome-line:#34445d;--ax-welcome-wash:#18263a;--ax-welcome-cobalt:#a3bdff;
 --community-surface:#17253a;--community-wash:#1c2c45;--community-strong:#f0f4ff;
 --community-on-action:#102044;--community-shadow:rgba(0,8,24,.22);color-scheme:dark;
}
@media(prefers-color-scheme:dark){html:not([data-site-theme=light]) .ax-public{
 --ax-reading:#101a2a;--ax-page:#101a2a;--ax-text:#e8edf7;--ax-graphite:#e8edf7;
 --ax-muted:#b6c3d7;--ax-rule:#34445d;--ax-blue:#a3bdff;--ax-blue-hover:#c2d3ff;
 --ax-link:#a3bdff;--ax-selected:#263b61;--ax-field-border:#8092ad;--ax-tree:#18263a;
 --ax-welcome-paper:#101a2a;--ax-welcome-ink:#e8edf7;--ax-welcome-muted:#b6c3d7;
 --ax-welcome-line:#34445d;--ax-welcome-wash:#18263a;--ax-welcome-cobalt:#a3bdff;
 --community-surface:#17253a;--community-wash:#1c2c45;--community-strong:#f0f4ff;
 --community-on-action:#102044;--community-shadow:rgba(0,8,24,.22);color-scheme:dark;
}}
.ax-public :is(h1,h2,h3){color:var(--ax-text)}
.ax-public h1,.ax-public h2{font-family:'Source Sans 3','Microsoft YaHei',system-ui,sans-serif;font-weight:600;letter-spacing:-.025em}
.ax-public h1{font-size:clamp(36px,4.6vw,64px);line-height:1.12}
.ax-public h2{font-size:clamp(26px,2.8vw,38px);line-height:1.22}
.ax-public .ax-lead{font-size:clamp(18px,1.45vw,21px);line-height:1.65;color:var(--ax-muted)}
.ax-public :is(input,select,textarea){background:var(--community-surface);color:var(--ax-text);border-color:var(--ax-field-border);border-radius:6px}
.ax-public :is(input,textarea)::placeholder{color:var(--ax-muted);opacity:1}
.ax-public :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--ax-blue);outline-offset:4px}
.ax-public :is(button,a,summary){scroll-margin-block:88px 24px}
.ax-public .ax-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;border:1px solid transparent;border-radius:6px;padding:12px 22px;background:var(--ax-blue);color:var(--community-on-action);font-size:16px;font-weight:600;line-height:1.35;white-space:nowrap;text-decoration:none;box-shadow:none}
.ax-public .ax-button:hover{background:var(--ax-blue-hover);color:var(--community-on-action);text-decoration:none}
.ax-public .ax-button:active{transform:translateY(1px)}
.ax-public .ax-text-link{display:inline-flex;align-items:center;gap:14px;min-height:44px;font-size:16px;color:var(--ax-link);white-space:normal}
.ax-public .ax-site-header{min-height:72px;height:72px;gap:32px;padding:0 var(--site-gutter);background:var(--ax-reading);border-bottom:1px solid var(--ax-rule);color:var(--ax-text)}
.ax-public .ax-site-header .brand-logo-window{width:104px;height:62px}
.ax-public .ax-site-header .brand-logo-image{filter:none;mix-blend-mode:multiply}
html[data-site-theme=dark] .ax-public .brand-logo-image{filter:invert(1);mix-blend-mode:screen}
@media(prefers-color-scheme:dark){html:not([data-site-theme=light]) .ax-public .brand-logo-image{filter:invert(1);mix-blend-mode:screen}}
.ax-public .ax-site-header .desktop-nav{gap:24px;font-size:16px}
.ax-public .ax-site-header .desktop-nav a{min-height:44px;display:flex;align-items:center;padding-block:8px;color:var(--ax-text)}
.ax-public .ax-site-header .desktop-nav a[aria-current=page]{color:var(--ax-link)}
.ax-public .ax-site-header .header-actions{gap:16px}
.ax-public .ax-site-header .header-link,.ax-public .ax-register-link{min-height:44px;display:inline-flex;align-items:center;color:var(--ax-link);font-size:14px;white-space:nowrap}
.ax-public .ax-register-link{padding:7px 12px;border:1px solid var(--ax-rule);border-radius:6px}
.ax-public .ax-site-header .ax-languages{gap:6px;font-size:13px}
.ax-public .ax-languages a{min-width:32px;min-height:44px}
.ax-theme-label{display:flex;align-items:center;font-size:13px}
.ax-theme-label select{max-width:96px;min-height:40px;padding:6px 8px;font-size:13px;border:1px solid var(--ax-rule)}
.ax-public .ax-site-header .mobile-nav{background:var(--ax-reading);border-color:var(--ax-rule);box-shadow:0 10px 24px var(--community-shadow)}
.ax-public .ax-site-header .mobile-nav a{min-height:44px;display:flex;align-items:center;color:var(--ax-text)}
.ax-public .ax-site-header .menu-toggle{background:var(--community-surface);border-color:var(--ax-rule);color:var(--ax-text);border-radius:6px}
.ax-public .ax-focus-reading-control{font-size:13px;color:var(--ax-muted);border:0;min-height:44px}
.ax-public .ax-focus-reading-control input{accent-color:var(--ax-blue)}
.ax-public .ax-site-footer{border-color:var(--ax-rule);background:var(--community-wash);color:var(--ax-muted);gap:32px}
.ax-public .ax-site-footer a{color:var(--ax-text);min-height:36px}
.ax-public .ax-site-footer .ax-footer-brand{font-family:var(--ax-font-display);font-weight:600;letter-spacing:.02em}
.ax-public .ax-site-footer p{color:var(--ax-muted)}
.ax-community-hero{display:grid;grid-template-columns:1.12fr .88fr;align-items:center;gap:clamp(28px,4vw,64px);min-height:540px;padding-top:56px;padding-bottom:40px}
.ax-community-hero-copy h1{max-width:650px;margin:0 0 26px;line-height:1.1}
.ax-community-hero-copy .ax-lead{max-width:46ch;margin-bottom:28px}
.ax-public .ax-home-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;margin:0}
.ax-tutor-figure{margin:0;display:grid;justify-items:center;align-content:center;min-width:0}
.ax-tutor-figure img{display:block;width:min(100%,410px);height:auto;aspect-ratio:1;object-fit:contain}
.ax-tutor-figure figcaption{max-width:32ch;text-align:center;color:var(--ax-muted);font-size:14px;line-height:1.5;margin-top:8px}
.ax-entry-strip{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:0;padding-top:24px;padding-bottom:32px}
.ax-entry-strip>a{display:grid;grid-template-columns:1fr 24px;align-content:start;gap:6px 20px;padding:0 26px;color:var(--ax-text);border-left:1px solid var(--ax-rule)}
.ax-entry-strip>a:first-child{padding-left:0;border-left:0}
.ax-entry-strip>a:last-child{padding-right:0}
.ax-entry-strip strong{font-size:20px;font-weight:600;line-height:1.4}
.ax-entry-strip span{grid-column:1;font-size:15px;line-height:1.5;color:var(--ax-muted)}
.ax-entry-strip svg{grid-column:2;grid-row:1;color:var(--ax-link);width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6}
.ax-home-service-note.ax-section{padding-top:0;padding-bottom:24px;font-size:14px;line-height:1.5;color:var(--ax-muted)}
.ax-home-example{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.75fr);gap:40px;align-items:center;border-top:1px solid var(--ax-rule);border-bottom:1px solid var(--ax-rule)}
.ax-home-example-body{min-width:0}
.ax-public .ax-home-example .ax-example{margin:0;padding:28px;background:var(--community-surface);border:1px solid var(--ax-rule);border-radius:12px;box-shadow:none;min-width:0}
.ax-public .ax-home-example .ax-example h2{font-family:'Source Serif 4',Georgia,serif;font-size:27px;line-height:1.25}
.ax-public .ax-home-example .ax-example-heading{gap:12px}
.ax-public .ax-home-example .ax-example-heading>p{font-size:13px;line-height:1.4;color:var(--ax-muted)}
.ax-public .ax-home-example .ax-example-plot{min-height:0}
.ax-example-context>p{margin:18px 0 26px;color:var(--ax-muted)}
.ax-example-assumptions{margin-bottom:22px}
.ax-example-assumptions h3{font-size:15px;margin:0 0 8px}
.ax-example-assumptions p{font-size:15px;line-height:1.65;color:var(--ax-muted)}
.ax-community-section-heading{max-width:680px;margin-bottom:34px}
.ax-community-section-heading p{margin-top:16px;color:var(--ax-muted)}
.ax-home-course-list{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;margin-bottom:20px}
.ax-course-entry{display:grid;grid-template-columns:1fr auto;gap:8px 20px;padding:25px 0;border-top:1px solid var(--ax-rule);color:var(--ax-text)!important}
.ax-course-entry h3{grid-column:1/-1;font-size:24px}
.ax-course-entry p{font-size:16px;line-height:1.6;color:var(--ax-muted)}
.ax-course-entry>span{align-self:end;display:flex;align-items:center;gap:10px;font-size:14px;color:var(--ax-link);white-space:nowrap}
.ax-course-entry>span svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none}
.ax-community-invitation{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(36px,6vw,96px);background:var(--community-wash);border-radius:12px;width:calc(min(var(--site-width),100%) - 2 * var(--site-gutter));padding:48px}
.ax-community-invitation h2{max-width:16ch}
.ax-community-invitation p{margin:20px 0 24px;max-width:48ch;color:var(--ax-muted)}
.ax-community-invitation ul{margin:0;padding:0;list-style:none;display:grid;gap:24px}
.ax-community-invitation li{display:grid;gap:6px}
.ax-community-invitation li strong{font-size:18px;font-weight:600}
.ax-community-invitation li span{font-size:16px;color:var(--ax-muted);line-height:1.65}
.ax-home-reading{display:grid;grid-template-columns:.9fr 1.1fr;gap:48px;align-items:start}
.ax-home-reading>div{display:grid;gap:8px}
.ax-home-reading a{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0;font-size:18px;border-bottom:1px solid var(--ax-rule)}
.ax-community-page .ax-page-intro{max-width:1000px;margin-left:0;padding-bottom:30px}
.ax-community-page .ax-page-intro .ax-lead{margin-top:24px;max-width:60ch}
.ax-community-availability.ax-section{padding-top:0;padding-bottom:28px;color:var(--ax-muted);font-size:16px}
.ax-community-paths{display:grid;grid-template-columns:1fr 1fr;gap:64px;padding-top:20px}
.ax-community-paths>section{padding-top:28px;border-top:2px solid var(--ax-blue);scroll-margin-top:28px}
.ax-community-paths>section>p{margin:20px 0;color:var(--ax-muted);max-width:60ch}
.ax-community-paths dl{margin:0 0 28px;display:grid;gap:20px}
.ax-community-paths dt{font-size:16px;font-weight:600;margin:0 0 6px}
.ax-community-paths dd{font-size:16px;color:var(--ax-muted);margin:0;line-height:1.65}
.ax-sharing-principles{border-top:1px solid var(--ax-rule)}
.ax-sharing-principles ol{padding-left:24px;max-width:65ch;margin:24px 0}
.ax-sharing-principles li{padding-left:8px;margin:14px 0;color:var(--ax-muted)}
/* Existing discovery and reading pages use the same semantic surfaces. */
.ax-public .ax-question-search,.ax-public .ax-guide-search,.ax-public .ax-example,.ax-public .ax-availability-callout{background:var(--community-surface);color:var(--ax-text);border-color:var(--ax-rule)}
.ax-public .ax-question-list a,.ax-public .ax-question-list p,.ax-public .ax-example-observation,.ax-public .ax-readings dt{color:var(--ax-muted)}
.ax-public .ax-question-list a[aria-current=page]{background:var(--community-wash);color:var(--ax-text)}
.ax-public .ax-example :is(text, .ax-plot-label){fill:var(--ax-muted)}
.ax-public .ax-example-controls :is(button,select,input){color:var(--ax-text);background:var(--community-surface);border-color:var(--ax-field-border)}
.ax-public .ax-example-controls label,.ax-public .ax-example h2,.ax-public .ax-readings dd{color:var(--ax-text)}
.ax-public .ax-example a,.ax-public .ax-example-controls .ax-reset{color:var(--ax-link)}
.ax-public :is(.course-preview-availability,.course-summary,.catalogue-summary,.module-card,.course-prereqs,.course-learn,.course-section,.course-syllabus){background:transparent;color:var(--ax-text);border-color:var(--ax-rule)}
.ax-public .course-main,.ax-public .catalogue-main{color:var(--ax-text);background:var(--ax-reading)}
.ax-public .course-main :is(p,li),.ax-public .catalogue-main :is(p,li){color:var(--ax-muted)}
.ax-public .module-card h2,.ax-public .module-card h3,.ax-public .module-card a,.ax-public .catalogue-main a{color:var(--ax-text)}
.ax-public :is(.ax-page-intro,.catalogue-intro) h1{max-width:22ch}
@media(max-width:1190px){
 .ax-public .ax-site-header{gap:20px;padding-inline:28px}.ax-public .ax-site-header .desktop-nav{gap:18px}
 .ax-public .ax-site-header .header-actions{gap:10px}.ax-public .ax-site-header .ax-register-link{display:none}
 .ax-community-hero{min-height:480px}.ax-tutor-figure img{width:min(100%,360px)}
}
@media(max-width:900px){
 .ax-public .ax-site-header{padding-inline:20px;height:68px;min-height:68px;gap:14px}.ax-public .ax-site-header .desktop-nav{display:none}
 .ax-public .ax-site-header .menu-toggle{display:block}.ax-public .ax-site-header .header-actions{gap:12px}
 .ax-public .ax-site-header .brand-logo-window{width:92px;height:58px}
 .ax-community-hero{grid-template-columns:1.2fr .8fr;gap:18px;min-height:440px;padding-top:40px}
 .ax-community-hero h1{font-size:clamp(34px,5vw,48px)}.ax-tutor-figure figcaption{font-size:13px}
 .ax-entry-strip{grid-template-columns:1fr;gap:20px}.ax-entry-strip>a{padding:0 0 20px!important;border-left:0;border-bottom:1px solid var(--ax-rule)}
 .ax-entry-strip>a:last-child{border-bottom:0;padding-bottom:0!important}
 .ax-home-example{grid-template-columns:1fr;gap:30px}.ax-example-context{max-width:65ch}
 .ax-community-invitation{padding:32px;gap:32px}.ax-community-paths{gap:36px}
 .ax-home-course-list{gap:0 32px}
}
@media(max-width:640px){
 .ax-public .ax-site-header .header-actions{gap:8px}.ax-public .ax-site-header .header-link{display:none}
 .ax-theme-label select{width:68px;font-size:12px;padding-inline:4px}.ax-public .ax-site-header .ax-languages{gap:2px}
 .ax-public .ax-languages a{min-width:28px;font-size:12px}.ax-public .ax-site-header .menu-toggle{padding:8px;font-size:13px}
 .ax-community-hero{grid-template-columns:1fr;gap:18px;padding-top:32px;padding-bottom:20px;min-height:0}
 .ax-community-hero h1{font-size:clamp(32px,7.8vw,44px);margin-bottom:18px;line-height:1.15}
 .ax-community-hero-copy .ax-lead{font-size:18px;margin-bottom:24px}.ax-public .ax-home-actions{gap:12px 20px}
 .ax-tutor-figure{display:none}.ax-entry-strip{padding-top:28px;padding-bottom:24px}
 .ax-home-example .ax-example{padding:18px!important}.ax-public .ax-home-example .ax-example h2{font-size:25px}
 .ax-home-course-list,.ax-community-invitation,.ax-home-reading,.ax-community-paths{grid-template-columns:1fr}
 .ax-course-entry{grid-template-columns:1fr;gap:8px}.ax-course-entry>span{justify-self:start;margin-top:6px}
 .ax-community-invitation{width:calc(100% - 40px);padding:28px 22px;gap:28px}
 .ax-community-invitation h2{max-width:none}.ax-home-reading{gap:24px}
 .ax-community-paths{gap:40px}.ax-community-page .ax-page-intro{padding-top:36px}
 .ax-public .ax-site-footer{grid-template-columns:1fr 1fr;font-size:15px}.ax-footer-intro{grid-column:1/-1}
}
@media(prefers-reduced-motion:no-preference){.ax-public .ax-button{transition:background-color .16s ease,transform .16s ease}}
@media(prefers-reduced-motion:reduce){.ax-public *{scroll-behavior:auto!important}.ax-public .ax-button{transition:none;transform:none}}
@media(forced-colors:active){.ax-public .ax-button{border:1px solid ButtonText}.ax-tutor-figure img{forced-color-adjust:none}.ax-public .brand-logo-image{filter:none;mix-blend-mode:normal}}

@media(max-width:900px){.ax-public .header-actions>.ax-focus-reading-control{display:none}}

.ax-public .ax-example-heading>p{color:var(--ax-muted)}

.ax-tutor-figure picture{display:block;width:min(100%,410px)}
.ax-tutor-figure picture img{width:100%}
html.no-js .ax-public .ax-site-header .menu-toggle,html.no-js .ax-theme-label{display:none}
@media(max-width:1190px){.ax-public .ax-site-header .ax-register-link:not([data-register-open]){display:inline-flex}}

/* Returning accounts use the ordinary header link and its existing menu counterpart. */
.ax-public .ax-site-header .mobile-nav [data-public-account-state]{white-space:normal;overflow-wrap:anywhere}
html.no-js .ax-public .ax-site-header [data-account-sign-in]{display:inline-flex}

.ax-public .ax-example{--plot-secondary:#087565}
html[data-site-theme=dark] .ax-public .ax-example{--plot-secondary:#72d5c0}
@media(prefers-color-scheme:dark){html:not([data-site-theme=light]) .ax-public .ax-example{--plot-secondary:#72d5c0}}
.ax-public .ax-example .ax-plot-overlay span{color:var(--ax-muted)}
.ax-public .ax-example .ax-plot-vector,.ax-public .ax-example .ax-plot-axis{stroke:var(--ax-muted)}
.ax-public .ax-example :is(.ax-plot-fit,.ax-plot-curve,.ax-plot-projection){stroke:var(--ax-blue)}
.ax-public .ax-example .ax-plot-residual{stroke:var(--plot-secondary)}
.ax-public .ax-example .ax-plot-point{fill:var(--plot-secondary);stroke:var(--community-surface)}
.ax-public .ax-example .ax-plot-point-alt{fill:var(--ax-blue);stroke:var(--community-surface)}

/* Native mobile UI text is immediately available on constrained connections. */
@media(max-width:640px){.ax-public{font-family:var(--ax-font-ui)}.ax-public :is(h1,h2,h3,.ax-lead,.desktop-nav,.header-actions){font-family:inherit}}
