#teaching-content{
  --aantc-blue:#003366; --aantc-black:#000000; --aantc-white:#ffffff;
  --aantc-text-muted:#555555; --aantc-surface:#f4f4f4; --aantc-border:#d9d9d9;
  --font-sans:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --shell:1240px; --header-height:88px;
  --bg:var(--aantc-white); --ink:var(--aantc-black); --muted:var(--aantc-text-muted);
  --surface:var(--aantc-surface); --paper:var(--surface); --line:var(--aantc-border); --blue:var(--aantc-blue);
  --navy:var(--aantc-blue); --plot:var(--aantc-blue); --other:#777;
  --signal-blue:#0069aa; --orange:#a45325;
  color-scheme:light;
}
html:lang(zh-Hans) #teaching-content{
  --font-sans:"Helvetica Neue",Helvetica,Arial,"Source Han Sans SC","Noto Sans CJK SC","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
}
html[data-theme=dark] #teaching-content{
  --bg:#000000; --ink:#ffffff; --muted:#b8b8b8; --surface:#111111; --line:#383838;
  --blue:#ffffff; --navy:#ffffff; --plot:#ffffff; --other:#b8b8b8;
  color-scheme:dark;
}
#teaching-content *,#teaching-content *::before,#teaching-content *::after{box-sizing:border-box}
#teaching-content [hidden]{display:none!important}
html #teaching-content{background:var(--bg);scroll-padding-top:calc(var(--header-height) + 24px)}
#teaching-content{margin:0;background:var(--bg);color:var(--ink);font:400 19px/1.58 var(--font-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
#teaching-content a{color:var(--plot);text-underline-offset:4px;text-decoration-thickness:1px}
#teaching-content button,#teaching-content input,#teaching-content select,#teaching-content textarea{font-family:var(--font-sans)}
#teaching-content button,#teaching-content a{-webkit-tap-highlight-color:transparent}
#teaching-content button{font-size:16px;font-weight:600;border-radius:3px;background:var(--bg);color:var(--ink);border-color:var(--line)}
#teaching-content button:not(.rig-part):not(.rig-target){min-height:44px}
#teaching-content select,#teaching-content input[type=number],#teaching-content textarea{font-size:16px;border-radius:2px;background:var(--bg);color:var(--ink);border-color:var(--line)}
#teaching-content select{padding-right:36px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003366' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-size:18px;background-position:right 12px center;background-repeat:no-repeat}
html[data-theme=dark] #teaching-content select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
#teaching-content button.primary{background:var(--plot);border-color:var(--plot);color:var(--bg)}
#teaching-content button.primary:hover:enabled{background:var(--ink);border-color:var(--ink);color:var(--bg)}
#teaching-content :focus-visible{outline:3px solid var(--bg);outline-offset:3px;box-shadow:0 0 0 6px var(--plot)}
#teaching-content .skip{position:fixed;z-index:1000;left:16px;top:16px;padding:12px 16px;transform:translateY(-180%);background:var(--plot);color:var(--bg);font-size:16px;font-weight:600}
#teaching-content .skip:focus{top:16px;transform:translateY(0)}
#teaching-content main{width:min(calc(100% - 64px),var(--shell));max-width:none;margin-inline:auto;padding:0}
#teaching-content h1,#teaching-content h2,#teaching-content h3{text-align:left;font-family:var(--font-sans);font-weight:700;color:var(--ink);text-wrap:balance;letter-spacing:0}
#teaching-content .intro{padding:48px 0 32px;gap:24px;align-items:center}
#teaching-content .intro h1{font-size:clamp(40px,3.75vw,54px);line-height:1.16;letter-spacing:0;color:var(--ink);max-width:920px}
#teaching-content .intro p,#teaching-content .intro p:not(.eyebrow){font-size:19px;color:var(--muted);margin:12px 0 0}
#teaching-content .intro-meta .instrument-meta{font-size:14px;text-align:left;gap:12px}
#teaching-content .service-status,#teaching-content .model-label{font-size:14px!important;color:var(--muted)}
#teaching-content .workspace-nav{gap:32px;margin-bottom:32px;border-color:var(--line)}
#teaching-content .workspace-nav a{font-size:16px;font-weight:600;padding:12px 0;border-bottom-width:1px;color:var(--muted);min-height:44px}
#teaching-content .workspace-nav a[aria-current=page],#teaching-content .workspace-nav a:hover{color:var(--plot);border-color:var(--plot)}
#teaching-content [id]{scroll-margin-top:calc(var(--header-height) + 24px)}
#teaching-content .object-meta{font-size:14px;color:var(--muted);margin:0 0 8px}
#teaching-content .tool-page h2,#teaching-content #guide h2,#teaching-content #theory h2,#teaching-content #reference h2{font-size:clamp(30px,2.8vw,40px);line-height:1.16}
#teaching-content #reference .plot-heading h2{font-size:22px}
#teaching-content #reference p,#teaching-content .guide-grid p{font-size:19px;max-width:760px}
#teaching-content .formula,#teaching-content .equation{background:var(--surface);color:var(--ink)}
#teaching-content .task-panel,#teaching-content .controls-panel{border-radius:3px;background:var(--surface)}
#teaching-content summary{font-size:16px;min-height:44px;display:flex;align-items:center;gap:12px;list-style:none;cursor:pointer}
#teaching-content summary::-webkit-details-marker{display:none}
#teaching-content summary::after{content:"";width:18px;height:18px;flex-shrink:0;margin-left:auto;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform 160ms ease}
#teaching-content details[open]>summary::after{transform:rotate(180deg)}
#teaching-content .parameter-group{padding:8px 0}
#teaching-content .parameter-group summary span{float:none;margin-left:auto;font-size:14px}
#teaching-content .parameter-group summary::after{margin-left:0}
#teaching-content .compact-details p,#teaching-content .plot-notes p{max-width:760px;font-size:16px}
#teaching-content .metrics strong,#teaching-content .quality strong{color:var(--plot);font-weight:600}
#teaching-content #scene,#teaching-content #scan,#teaching-content #waves{background:#fafafa}
#teaching-content .physical-rig{border-color:var(--line)}
#teaching-content .rig-tools button,#teaching-content #steps button,#teaching-content .quality small,#teaching-content .instrument-settings dt,#teaching-content #rigStatus{font-size:14px}
#teaching-content .course-header{position:sticky;top:0;z-index:100;height:var(--header-height);background:rgba(255,255,255,.97);color:var(--aantc-blue);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}
#teaching-content .course-header-inner{width:min(calc(100% - 48px),1440px);height:100%;margin-inline:auto;display:flex;align-items:center;gap:24px}
#teaching-content .course-brands{display:flex;align-items:center;gap:18px;flex:0 0 auto}
#teaching-content .aantc-brand,#teaching-content .hkust-brand{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none}
#teaching-content .aantc-lockup{display:inline-flex;align-items:stretch;height:56px}
#teaching-content .aantc-mark{width:56px;height:56px;object-fit:contain}
#teaching-content .aantc-initials{display:grid;grid-template-rows:repeat(5,1fr);align-items:center;width:15px;height:56px;font-size:12px;font-style:italic;font-weight:700;letter-spacing:-.08em;line-height:.8;text-align:center}
#teaching-content .course-brand-divider{width:1px;align-self:stretch;background:var(--line)}
#teaching-content .hkust-brand img{display:block;width:176px;height:auto;max-height:52px;object-fit:contain}
#teaching-content .course-nav{display:flex;align-items:center;gap:24px;margin-left:auto;min-width:0}
#teaching-content .course-nav a{position:relative;display:inline-flex;align-items:center;min-height:44px;color:inherit;font-size:16px;font-weight:600;text-decoration:none;white-space:nowrap}
#teaching-content .course-nav a::after{position:absolute;right:0;bottom:6px;left:0;height:1px;background:currentColor;content:"";transform:scaleX(0);transform-origin:left;transition:transform 160ms ease}
#teaching-content .course-nav a:hover::after,#teaching-content .course-nav a:focus-visible::after,#teaching-content .course-nav a[aria-current=page]::after{transform:scaleX(1)}
#teaching-content .course-header-controls{display:flex;align-items:center;gap:12px}
#teaching-content .course-icon-button{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;background:transparent;color:inherit;border:1px solid currentColor;border-radius:3px}
#teaching-content .course-icon-button:hover:enabled{color:var(--bg);background:var(--plot);border-color:var(--plot)}
#teaching-content .course-icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#teaching-content .theme-sun,#teaching-content .course-menu-toggle,#teaching-content .menu-close-icon{display:none}
html[data-theme=dark] #teaching-content .course-header{color:#fff;background:rgba(0,0,0,.97)}
html[data-theme=dark] #teaching-content .aantc-mark{content:url('/assets/aantc-mark-white.png')}
html[data-theme=dark] #teaching-content .hkust-brand img{content:url('/assets/hkust-bilingual-stacked-white.png')}
html[data-theme=dark] #teaching-content .theme-moon{display:none}
html[data-theme=dark] #teaching-content .theme-sun{display:block}
#teaching-content .no-js .course-header-controls{display:none}
#teaching-content .course-home{padding:64px 0}
#teaching-content .course-home h1{font-size:clamp(60px,5.15vw,76px);line-height:1.16;margin:0 0 48px;max-width:920px}
#teaching-content .lab-links{border-top:1px solid var(--line)}
#teaching-content .lab-link{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.7fr);gap:48px;align-items:center;padding:32px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
#teaching-content .lab-entry-copy{display:flex;flex-direction:column;align-items:flex-start}
#teaching-content .lab-link h2{font-size:clamp(30px,2.8vw,40px);line-height:1.16;margin:0}
#teaching-content .lab-link p{color:var(--muted);font-size:19px;margin:12px 0 20px}
#teaching-content .lab-link .entry{display:inline-flex;align-items:center;gap:12px;color:var(--plot);font-size:16px;font-weight:600;min-height:44px}
#teaching-content .action-icon{display:inline-block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform 160ms ease}
#teaching-content .lab-link:hover .entry,#teaching-content .lab-link:focus-visible .entry{text-decoration:underline;text-underline-offset:4px}
#teaching-content .lab-link:hover .action-icon{transform:translateX(3px)}
#teaching-content .lab-illustration{width:100%;max-width:360px;height:140px;color:var(--plot);justify-self:center}
#teaching-content .course-footer{max-width:none;display:block;background:var(--aantc-blue);color:#fff;border:0;margin:64px 0 0;padding:48px 0;font-size:16px}
#teaching-content .course-footer-inner{width:min(calc(100% - 64px),var(--shell));margin-inline:auto;display:flex;justify-content:space-between;align-items:center;gap:32px}
#teaching-content .course-footer a{color:inherit}
#teaching-content .footer-course-title{font-size:24px;font-weight:600;text-decoration:none}
#teaching-content .course-footer p{font-size:16px;color:#fff;margin:8px 0 0}
#teaching-content .footer-institution img{display:block;width:200px;height:auto}
html[data-theme=dark] #teaching-content .course-footer{background:#000;border-top:1px solid var(--line)}
@media(max-width:1480px){#teaching-content{--header-height:76px}
#teaching-content .aantc-lockup,#teaching-content .aantc-mark,#teaching-content .aantc-initials{height:50px}
#teaching-content .aantc-mark{width:50px}
#teaching-content .aantc-initials{width:14px;font-size:11px}
}
@media(max-width:860px){#teaching-content .course-header-controls{margin-left:auto}
#teaching-content .course-menu-toggle{display:grid}
#teaching-content .js .course-nav{position:absolute;top:100%;left:0;right:0;display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;padding:16px 24px;background:var(--bg);color:var(--plot);border-bottom:1px solid var(--line);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity 160ms ease,transform 160ms ease,visibility 160ms;max-height:calc(100dvh - var(--header-height));overflow-y:auto}
#teaching-content .js .course-header[data-menu-open=true] .course-nav{opacity:1;visibility:visible;transform:none}
#teaching-content .course-header[data-menu-open=true] .menu-open-icon{display:none}
#teaching-content .course-header[data-menu-open=true] .menu-close-icon{display:block}
#teaching-content .no-js .course-header{height:auto;position:relative}
#teaching-content .no-js .course-header-inner{flex-wrap:wrap;padding:12px 0}
#teaching-content .no-js .course-nav{width:100%;margin:0;flex-wrap:wrap}
#teaching-content .intro{align-items:flex-start;flex-direction:column;gap:16px}
#teaching-content .intro-meta .header-actions{justify-content:flex-start}
#teaching-content .intro-meta .instrument-meta{flex-wrap:wrap}
#teaching-content .lab-link{gap:24px;grid-template-columns:minmax(0,1fr) minmax(160px,.7fr)}
}
@media(max-width:680px){#teaching-content{--header-height:72px}
#teaching-content{font-size:17px}
#teaching-content main,#teaching-content .course-footer-inner{width:calc(100% - 32px);padding-inline:0}
#teaching-content .course-header-inner{width:calc(100% - 32px);gap:12px}
#teaching-content .course-brands{gap:10px}
#teaching-content .course-header-controls{gap:8px}
#teaching-content .aantc-lockup,#teaching-content .aantc-mark,#teaching-content .aantc-initials{height:44px}
#teaching-content .aantc-mark{width:44px}
#teaching-content .aantc-initials{width:12px;font-size:9px}
#teaching-content .hkust-brand img{width:112px;max-height:40px}
#teaching-content .intro{padding:32px 0 24px}
#teaching-content .intro h1{font-size:40px}
#teaching-content .intro p,#teaching-content .intro p:not(.eyebrow){font-size:17px}
#teaching-content .workspace-nav{gap:24px;margin-bottom:24px}
#teaching-content .workspace-nav a{font-size:16px}
#teaching-content #reference p,#teaching-content .guide-grid p{font-size:17px}
#teaching-content .course-home{padding:40px 0}
#teaching-content .course-home h1{font-size:clamp(36px,11.3vw,44px);margin-bottom:32px}
#teaching-content .lab-link{grid-template-columns:1fr;gap:16px;padding:24px 0}
#teaching-content .lab-illustration{display:none}
#teaching-content .lab-link h2{font-size:30px}
#teaching-content .lab-link p{font-size:17px;margin-bottom:12px}
#teaching-content .course-footer{margin-top:48px;padding:32px 0}
#teaching-content .course-footer-inner{align-items:flex-start;flex-direction:column;gap:24px}
#teaching-content .footer-institution img{width:176px}
}
@media(max-width:420px){#teaching-content .hkust-brand img{width:82px}
#teaching-content .course-brand-divider{display:none}
#teaching-content .course-header-inner{gap:8px}
#teaching-content .course-brands{gap:8px}
#teaching-content .course-header-controls{gap:8px}
}
@media(prefers-reduced-motion:reduce){#teaching-content *,#teaching-content *::before,#teaching-content *::after{scroll-behavior:auto!important;transition:none!important}
}
