/* WR92 Course visual system · 2026-11-16
   Distributed unchanged to the student Spaces. No remote font or GPU dependency. */
:root {
  --wr-ink:#182941;
  --wr-muted:#607187;
  --wr-blue:#245eac;
  --wr-blue-strong:#19498b;
  --wr-line:#dce4ed;
  --wr-canvas:#f7f9fc;
  --wr-paper:#fff;
  --wr-soft:#edf4fc;
  --wr-radius:12px;
  --ink:var(--wr-ink);
  --muted:var(--wr-muted);
  --line:var(--wr-line);
  --accent:var(--wr-blue);
  --blue:var(--wr-blue);
  color-scheme:light;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
html { scroll-behavior:smooth; scroll-padding-top:92px; }
body { background:var(--wr-canvas); color:var(--wr-ink); }
[hidden] { display:none!important; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #8eafd8; outline-offset:3px;
}
html[lang="en"] .wr92-zh,html:not([lang^="zh"]) .wr92-zh { display:none!important; }
html[lang^="zh"] .wr92-en { display:none!important; }
.wr92-shell {
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--wr-line);
  width:100%; z-index:30; position:relative;
  color:var(--wr-ink); font-size:14px; line-height:1.35;
}
.wr92-shell-inner {
  width:min(1200px,calc(100% - 44px)); min-height:76px;
  margin:0 auto; display:flex; align-items:center; gap:23px;
}
.wr92-brand {
  flex-shrink:0; display:inline-flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:-.025em; font-size:15px;
  white-space:nowrap; text-decoration:none; color:var(--wr-ink);
}
.wr92-brand:hover {text-decoration:none;}
.wr92-brand-mark {
  display:grid; place-items:center; width:32px; height:32px;
  border-radius:8px; background:#1e497c; color:#fff; font-size:17px;
  font-weight:800; letter-spacing:-.07em;
}
.wr92-brand .wr92-brand-light { font-weight:500; letter-spacing:.12em; font-size:11px; }
.wr92-site-links { display:flex; align-items:center; gap:14px; flex:1; min-width:0; flex-wrap:nowrap; }
.wr92-nav-group {display:flex;flex-direction:column;gap:4px;padding-left:14px;border-left:1px solid #dfe7ef;flex-shrink:0;}
.wr92-nav-group:first-child {padding-left:0;border-left:0;}
.wr92-nav-label {font-size:9px;line-height:1.15;font-weight:850;letter-spacing:.12em;color:#8492a6;padding:0 9px;white-space:nowrap;}
.wr92-nav-items {display:flex;gap:1px;align-items:center;flex-wrap:nowrap;}
.wr92-site-links a {
  display:inline-flex;align-items:center;min-height:34px;
  color:#53647a; text-decoration:none; font-weight:650; font-size:12px;
  border:1px solid transparent; border-radius:7px; padding:8px 9px;
  white-space:nowrap; transition:background .14s,border-color .14s,color .14s;
}
.wr92-site-links a:hover,.wr92-site-links a:focus-visible { background:#eff5fc; color:var(--wr-blue-strong); }
.wr92-site-links a[aria-current="page"] { background:#edf4fc; color:#19508e; border-color:#dae6f5; }
.wr92-site-links .wr92-nav-project {border-left-color:#c4d5e7;}
.wr92-site-links a.wr92-feature-link { color:var(--wr-blue-strong);background:#edf4fc;border-color:#d6e3f3; }
.wr92-site-links a.wr92-feature-link:hover {background:#dfeafb;}
.wr92-site-links a.wr92-feature-link[aria-current="page"] {background:#245eac;color:#fff;border-color:#245eac;}
.wr92-shell .language,.wr92-shell .wr92-language-toolbar {
  margin:0 0 0 auto; max-width:none; padding:3px; display:inline-flex;
  gap:3px; flex-shrink:0; align-items:center; justify-content:flex-end;
  border:1px solid #dce4ed; border-radius:8px; background:#f8fafd;
}
.wr92-shell .language button,.wr92-shell .wr92-language-toolbar button {
  min-width:40px; min-height:31px; padding:6px 9px; font-size:12px; font-weight:750;
  border:0; border-radius:5px; background:transparent; color:#556983; cursor:pointer;
}
.wr92-shell .language button[aria-pressed="true"],.wr92-shell .wr92-language-toolbar button[aria-pressed="true"] {
  background:#1e497c; color:#fff;
}
.wr92-shell .wr92-language-toolbar button:disabled {cursor:default;}
.wr92-course-note {
  max-width:1160px; margin:12px auto 0; padding:10px 13px; border:1px solid #e0e8f1;
  border-radius:9px; background:#f0f5fa; color:#526581; font-size:12px; line-height:1.55;
}
.wr92-course-note a { color:#225c9d; font-weight:700; }
.wr92-subnav { display:flex; gap:18px; align-items:center; flex-wrap:wrap; padding:16px 0; color:#536681; font-size:12px; }
.wr92-subnav a {color:#4b6686;text-decoration:none;font-weight:650;}
.wr92-subnav a:hover {text-decoration:underline;}

/* The lesson pages keep their content and scientific charts, but share rhythm. */
body .page-shell { padding-top:42px; }
body .page-shell>.hero { max-width:900px; margin-bottom:35px; }
body .page-shell h1 { color:var(--wr-ink); font-size:clamp(2.65rem,4.9vw,4.5rem); line-height:1.08; }
body .page-shell .lede { color:var(--wr-muted); }
body .page-shell .card,body .page-shell .explain { border-color:var(--wr-line); border-radius:var(--wr-radius); box-shadow:0 5px 18px #193d6510; background:#fff; }
body .page-shell .step-number { background:#1e497c; }
body .page-shell .run-button { background:#245eac; border-radius:8px; }
body .page-shell .run-button:hover:not(:disabled) {background:#19498b;}
body .page-shell .file-input {border-radius:8px;}
body .page-shell .sample-card {border-radius:9px;}
body .page-shell .eyebrow,body .page-shell .section-kicker { color:#426b9a; letter-spacing:.11em; }

body .topline {height:0;}
body .masthead.wrap {min-height:0;justify-content:flex-start; padding-top:0;}
body .masthead .wordmark {display:none;}
body .masthead nav {padding:13px 0;color:#607187;font-size:12px;gap:20px;}
body .masthead nav a {color:#526e8c;}
body .wrap {width:min(1160px,calc(100% - 44px));}
body .hero.wrap {padding:42px 0 65px;}
body .hero h1 {font-size:clamp(2.65rem,4.9vw,4.65rem);}
body .hero-gallery,body .architecture-card,body .panel,body .real-sample,body .practice-grid article,
body .prompt-staircase-gallery figure,body .inference-status {border-color:var(--wr-line);border-radius:var(--wr-radius);box-shadow:0 5px 18px #193d650b;}
body .primary {background:#245eac;border-radius:8px;box-shadow:none;}
body .primary:hover {background:#19498b;}
body .model-area,body .inference-area {background:#f0f5fa;}
body .architecture-card p {line-height:1.66;}

/* Homepage uses real course examples and a compact first screen. */
body .site-shell {max-width:1250px;}
body .site-header {display:none;}
body .site-shell .hero {grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:42px;padding:65px 0 72px;}
body .site-shell .hero h1 {font-size:clamp(39px,4.25vw,61px);line-height:1.08;margin:18px 0 18px;}
body .site-shell .hero-intro {font-size:16px;line-height:1.65;}
body .site-shell .hero-ctas {margin-top:24px;}
body .site-shell .course-section {padding:45px 0 67px;}
body .site-shell .course-visual {border-radius:8px;}
body .site-shell .course-card,body .site-shell .demo-card {border-radius:var(--wr-radius);box-shadow:0 5px 18px #193d650b;}
body .site-shell .course-visual {height:176px;}
body .site-shell .course-content {padding:20px 24px 24px;}
body .site-shell .course-desc {min-height:0;}
body .site-shell .tech-list {margin:15px 0 19px;}
body .site-shell .section-top h2 {font-size:clamp(26px,2.8vw,36px);}
.wr92-proof-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0; }
.wr92-proof-grid figure { margin:0;min-width:0;background:#fff;border:1px solid var(--wr-line);border-radius:10px;overflow:hidden; }
.wr92-proof-grid img { display:block;width:100%;aspect-ratio:4/3;object-fit:cover; }
.wr92-proof-grid figcaption {display:grid;gap:4px;padding:11px 12px;font-size:12px;line-height:1.3;color:#556782;}
.wr92-proof-grid figcaption strong {font-size:12px;color:#243c5d;}
.wr92-visual-caption {font-size:11px;color:#718198;margin:9px 0 0;}
.wr92-workflow-highlight { padding:43px 0 62px; border-top:1px solid var(--wr-line); }
.wr92-workflow-highlight .flow-card {display:grid;grid-template-columns:1.05fr .95fr;gap:30px;padding:30px;border:1px solid #cbdceb;background:#eaf2f9;border-radius:12px;}
.wr92-workflow-highlight .flow-steps {display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0;}
.wr92-workflow-highlight .flow-steps span {font-size:12px;color:#375777;border-top:2px solid #95b6d9;padding-top:10px;}
.wr92-workflow-highlight h2 {font-size:32px;letter-spacing:-.035em;margin:12px 0;}
.wr92-workflow-highlight p {color:#536a85;line-height:1.7;font-size:14px;}
.wr92-workflow-highlight .flow-action {align-self:center;justify-self:end;}

/* New Detect → Create activity. Its image input stays in the verified detector. */
.wr92-flow-section {margin:35px 0;padding:30px;border:1px solid #cbdceb;border-radius:12px;background:linear-gradient(135deg,#eaf2fa,#f8fbfe);scroll-margin-top:20px;}
.wr92-flow-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:20px;}
.wr92-flow-heading h2 {font-size:clamp(1.65rem,2.8vw,2.35rem);line-height:1.2;margin:8px 0 10px;letter-spacing:-.035em;}
.wr92-flow-heading p {color:#536681;line-height:1.6;max-width:760px;margin:0 0 22px;}
.wr92-flow-kicker {font-size:11px;font-weight:800;letter-spacing:.12em;color:#37699d;}
.wr92-flow-grid {display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;}
.wr92-flow-panel {border:1px solid #dce6f0;border-radius:10px;background:#fff;padding:22px;min-width:0;}
.wr92-flow-panel h3 {font-size:17px;line-height:1.35;margin:0 0 14px;}
.wr92-flow-panel label {display:block;margin:16px 0 7px;font-size:13px;font-weight:750;}
.wr92-flow-panel textarea,.wr92-flow-panel select {width:100%;padding:11px 12px;border:1px solid #b9cadc;border-radius:8px;background:#fff;color:#203751;font:inherit;font-size:14px;}
.wr92-flow-panel textarea {resize:vertical;min-height:103px;}
.wr92-flow-panel button {border:0;border-radius:8px;background:#245eac;color:#fff;min-height:44px;padding:12px 16px;font-weight:750;cursor:pointer;}
.wr92-flow-panel button:disabled {opacity:.5;cursor:not-allowed;}
.wr92-flow-panel .flow-chips {display:flex;gap:7px;flex-wrap:wrap;min-height:25px;}
.wr92-flow-panel .flow-chips span {padding:6px 10px;border:1px solid #d9e5f0;border-radius:6px;background:#f5f8fc;color:#385c81;font-size:12px;font-weight:700;}
.wr92-flow-panel .flow-help {color:#697991;font-size:12px;line-height:1.55;margin:10px 0;}
.wr92-flow-panel .flow-status {font-size:13px;color:#365877;line-height:1.5;min-height:20px;}
.wr92-flow-panel .flow-output {display:block;width:100%;max-height:360px;aspect-ratio:1/1;object-fit:contain;background:#f1f5fa;border-radius:8px;border:1px solid #dce6f0;}
.wr92-flow-panel .flow-receipt {max-height:170px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f8fa;padding:10px;border-radius:7px;color:#526176;}
.wr92-flow-panel .flow-open-link {display:inline-flex;margin-top:12px;color:#245eac;text-decoration:underline;font-size:12px;font-weight:750;}
/* Lesson covers use the same two-column rhythm and authentic image evidence. */
body .page-shell>.wr92-detection-hero {display:grid;grid-template-columns:minmax(0,1.07fr) minmax(0,.93fr);align-items:center;gap:45px;max-width:1160px;margin:0 0 43px;}
.wr92-lesson-copy {min-width:0;}
body .page-shell .wr92-detection-hero h1 {font-size:clamp(2.6rem,4.8vw,4.6rem);line-height:1.1;}
.wr92-lesson-visual {margin:0;border:1px solid var(--wr-line);border-radius:var(--wr-radius);overflow:hidden;background:#fff;box-shadow:0 5px 18px #193d650b;}
.wr92-lesson-visual img {display:block;width:100%;height:330px;object-fit:cover;}
.wr92-lesson-visual figcaption {display:flex;justify-content:space-between;gap:14px;padding:13px 16px;color:#607187;font-size:11px;line-height:1.5;}
.wr92-lesson-visual figcaption strong {color:#406b9e;letter-spacing:.07em;font-size:10px;}
@media(max-width:850px){body .page-shell>.wr92-detection-hero{grid-template-columns:1fr;gap:26px}.wr92-lesson-visual img{height:280px;}}
/* Cross-page course map and genuinely connected student studio. */
.wr92-learning-path {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 28px;color:#70829b;font-size:12px;}
.wr92-learning-path>span {font-size:10px;font-weight:850;letter-spacing:.13em;margin-right:8px;}
.wr92-learning-path a,.wr92-learning-path strong {padding:7px 12px;border:1px solid #dce6f0;border-radius:7px;background:#fff;color:#4b6581;text-decoration:none;font-weight:700;}
.wr92-learning-path a:hover {border-color:#aac3dc;color:#245eac;}
.wr92-learning-path strong {background:#245eac;color:#fff;border-color:#245eac;}
.wr92-next-step {display:flex;align-items:center;justify-content:space-between;gap:35px;margin:34px 0;padding:27px 31px;border:1px solid #cbdceb;border-radius:var(--wr-radius);background:#eaf2f9;}
.wr92-next-step h2 {font-size:clamp(22px,2.5vw,29px);letter-spacing:-.035em;line-height:1.2;margin:10px 0;}
.wr92-next-step p:not(.wr92-flow-kicker) {color:#536681;font-size:14px;line-height:1.6;max-width:720px;margin:0;}
.wr92-next-link {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;flex-shrink:0;padding:12px 15px;border-radius:8px;background:#245eac;color:#fff!important;text-decoration:none;font-size:13px;font-weight:800;}
.wr92-next-link:hover {background:#19498b;}
body.wr92-capstone-page .page-shell {width:min(1200px,calc(100% - 44px));padding:30px 0 45px;}
.wr92-capstone-intro {display:grid;grid-template-columns:1.06fr 1fr;align-items:end;gap:44px;margin:0 0 34px;}
body.wr92-capstone-page .wr92-capstone-intro h1 {font-size:clamp(2.65rem,4.6vw,4.4rem);line-height:1.09;}
.wr92-capstone-lede {font-size:17px;line-height:1.55;letter-spacing:-.01em;color:#3d536f;margin:0 0 13px;}
.wr92-capstone-privacy {font-size:12px;line-height:1.65;color:#667b96;margin:0;}
.wr92-capstone-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 12px;}
.wr92-capstone-steps>span {display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:9px;background:#eaf2f9;border:1px solid #d3e2f1;color:#345677;font-size:12px;font-weight:800;}
.wr92-capstone-steps strong {display:grid;place-items:center;background:#245eac;color:#fff;width:24px;height:24px;border-radius:6px;font-size:11px;flex-shrink:0;}
body.wr92-capstone-page .workspace {grid-template-columns:minmax(0,1.01fr) minmax(0,1.14fr) minmax(0,.99fr);gap:14px;align-items:stretch;}
body.wr92-capstone-page .workspace>.controls,body.wr92-capstone-page .workspace>.result {padding:21px;min-width:0;}
body.wr92-capstone-page .wr92-panel-title {font-size:21px;line-height:1.2;letter-spacing:-.03em;margin:0 0 12px;}
body.wr92-capstone-page .wr92-flow-section {margin:0;padding:0;border:0;background:none;min-width:0;}
body.wr92-capstone-page .wr92-flow-panel {padding:21px;height:100%;border-radius:var(--wr-radius);box-shadow:0 5px 18px #193d6510;}
body.wr92-capstone-page .wr92-flow-panel label {margin-top:14px;}
body.wr92-capstone-page .wr92-flow-panel button {display:block;width:100%;margin-top:17px;}
body.wr92-capstone-page .wr92-flow-panel textarea {min-height:91px;}
body.wr92-capstone-page .sample-grid {gap:7px;}
body.wr92-capstone-page .sample-card span {font-size:11px;padding:7px 8px;}
body.wr92-capstone-page .sample-card small {font-size:10px;}
body.wr92-capstone-page .result .canvas-wrap {min-height:220px;}
body.wr92-capstone-page .result .summary {font-size:13px;line-height:1.5;}
body.wr92-capstone-page .result .table-wrap {overflow-x:auto;}
body.wr92-capstone-page .result table {font-size:11px;}
.wr92-workbench-hint {font-size:12px;line-height:1.6;color:#687d95;margin:16px 0 0;}
.wr92-output-block {margin-top:20px;padding-top:16px;border-top:1px solid #e0e7f0;}
.wr92-output-label {font-size:10px;letter-spacing:.12em;font-weight:850;color:#66809d;margin:0 0 12px;}
.wr92-output-empty {display:grid;min-height:115px;place-items:center;text-align:center;padding:15px;border:1px dashed #c9d8e9;border-radius:9px;background:#f7fafd;color:#8193a9;font-size:12px;line-height:1.6;}
.wr92-output-block:has(#flow-image:not([hidden])) .wr92-output-empty {display:none;}
.wr92-capstone-footer {display:flex;align-items:center;justify-content:space-between;gap:18px;margin:32px 0 0;padding:20px 0;border-top:1px solid #dce4ed;color:#62758d;font-size:12px;}
.wr92-capstone-footer a {color:#245eac;font-weight:800;text-decoration:none;}
@media(max-width:1090px){body.wr92-capstone-page .workspace {grid-template-columns:minmax(0,1fr) minmax(0,1fr);}body.wr92-capstone-page .wr92-flow-section {grid-column:1/-1;}body.wr92-capstone-page .wr92-flow-panel {display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;align-content:start;}body.wr92-capstone-page .wr92-flow-panel>* {grid-column:1;}body.wr92-capstone-page .wr92-output-block {grid-column:2;grid-row:1/10;margin-top:0;padding-top:0;padding-left:20px;border-top:0;border-left:1px solid #e0e7f0;}}
@media(max-width:710px){.wr92-capstone-intro {grid-template-columns:1fr;gap:10px;}body.wr92-capstone-page .workspace,.wr92-capstone-steps {grid-template-columns:1fr;}body.wr92-capstone-page .wr92-flow-section {grid-column:auto;}body.wr92-capstone-page .wr92-flow-panel {display:block;}body.wr92-capstone-page .wr92-output-block {padding:16px 0 0;border-top:1px solid #e0e7f0;border-left:0;margin-top:20px;}.wr92-next-step {align-items:flex-start;flex-direction:column;padding:22px;gap:18px;}.wr92-capstone-footer {flex-direction:column;align-items:flex-start;}}
/* Gradio exposes the same navigation and visual tokens without changing GPU callbacks. */
.gradio-container {
  width:100%!important;max-width:none!important;margin:0!important;
  padding-inline:max(16px,calc((100vw - 1160px)/2))!important;
  background:var(--wr-canvas)!important;color:var(--wr-ink)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
}
.gradio-container h1 {font-size:clamp(2.4rem,4vw,3.7rem);letter-spacing:-.04em;line-height:1.13;}
.gradio-container h2 {letter-spacing:-.025em;}
.gradio-container .prose {color:var(--wr-ink);line-height:1.68;}
.gradio-container .prose a {color:var(--wr-blue);}
.gradio-container .block,.gradio-container .form {border-color:var(--wr-line)!important;border-radius:var(--wr-radius)!important;}
.gradio-container button.primary {background:var(--wr-blue)!important;border-radius:8px!important;}
.gradio-container button.primary:hover {background:var(--wr-blue-strong)!important;}
.gradio-container .wr92-lang-row {justify-content:flex-end;margin-top:-3px;margin-bottom:8px;}
.gradio-container .wr92-lang-row button {border-radius:7px!important;font-weight:750;max-width:72px;}
#wr92-course-head {width:100%;}
#wr92-course-head .wr92-shell {border:1px solid var(--wr-line);border-radius:10px;}
#wr92-course-head .wr92-shell-inner {width:calc(100% - 28px);}
.gradio-container #wr92-course-head .wr92-brand,
.gradio-container #wr92-course-head .wr92-brand span {color:#182941!important;text-decoration:none!important;}
.gradio-container #wr92-course-head .wr92-brand-mark {color:#fff!important;}
.gradio-container #wr92-course-head .wr92-site-links a {
  color:#53647a!important;text-decoration:none!important;font-weight:650!important;font-size:12px!important;
}
.gradio-container #wr92-course-head .wr92-site-links a[aria-current="page"] {color:#19508e!important;}
.gradio-container #wr92-course-head .wr92-site-links a.wr92-feature-link {color:#19498b!important;}
@media(max-width:1110px){.wr92-shell-inner{flex-wrap:wrap;padding:13px 0;gap:8px 18px}.wr92-site-links{order:3;width:100%;flex-basis:100%;padding:4px 0 7px;overflow-x:auto;scrollbar-width:thin}.wr92-shell .language,.wr92-shell .wr92-language-toolbar{margin-left:auto}}
@media(max-width:760px){.wr92-shell-inner{width:calc(100% - 28px)}.wr92-site-links{gap:10px}.wr92-nav-group{padding-left:10px}.wr92-site-links a{padding:7px 8px;font-size:11px}.wr92-proof-grid{grid-template-columns:1fr 1fr}.wr92-workflow-highlight .flow-card,.wr92-flow-grid{grid-template-columns:1fr}.wr92-workflow-highlight .flow-action{justify-self:start}.wr92-workflow-highlight .flow-steps{gap:6px}.wr92-flow-section{padding:20px}.wr92-flow-panel{padding:17px}}
@media(prefers-reduced-motion:reduce){.wr92-site-links a{transition:none}html{scroll-behavior:auto}}
