/* Shared reading scale. Viewer-specific styles use the same size hierarchy. */
:root {
  --type-body: 18px;
  --type-control: 15px;
  --type-small: 14px;
  --type-caption: 13px;
  --reading-measure: 48rem;
  --muted: #54665c;
  --side: 264px;
  --chat: 384px;
  --top: 84px;
  font-size: var(--type-body);
  line-height: 1.85;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body { font-size: var(--type-body); line-height: 1.85; }
button, input, select, textarea { font-family: inherit; }
button, input, select, textarea, summary, a { -webkit-tap-highlight-color: #22584e20; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 3px solid #3e8678; outline-offset: 4px; }

/* Keep the reading measure separate from the width needed by 3D experiments. */
.reading-shell { padding: 42px clamp(24px, 3vw, 52px) 0; }
main { max-width: 1120px; min-width: 0; }
.prose, .article-head .lede, .equation-explain, .step > p,
.source-extra, .sources-note { max-width: var(--reading-measure); }
.prose { font-size: var(--type-body); line-height: 1.9; color: #304b40; }
.lede { font-size: 19px; line-height: 1.85; max-width: 48rem; color: var(--muted); margin-bottom: 30px; }
.content-block { margin: 26px 0; scroll-margin-top: calc(var(--top) + 24px); }
.content-block > .block-ask { right: -18px; width: 30px; height: 32px; font-size: 18px; }
.viewer-box > .block-ask { width: 34px; height: 34px; font-size: 18px; }
.callout { padding: 22px 24px; font-size: 17px; line-height: 1.85; color: #3c5846; }
.callout .prose { font-size: 17px; }
.callout p + p { margin-top: 16px; }
main h1 { font-size: clamp(34px, 3.1vw, 46px); line-height: 1.4; letter-spacing: -.025em; font-weight: 600; }
.article-head h1 { font-size: clamp(32px, 2.8vw, 40px); line-height: 1.45; }
:lang(zh-CN) main h1 { letter-spacing: 0; }
.hero h1.en { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.2; }
main h2 { font-size: 25px; line-height: 1.5; }
main h3 { font-size: 21px; line-height: 1.55; }
.hero-tag { font-size: 13px; line-height: 1.7; letter-spacing: 1px; color: #526f5d; margin-bottom: 18px; }
.breadcrumb { font-size: 14px; line-height: 1.7; flex-wrap: wrap; margin-bottom: 28px; }
.section-label { margin: 42px 0 24px; flex-wrap: wrap; }
.section-label h2 { font-size: 25px; line-height: 1.5; }
.section-label > span { font-size: 13px; color: var(--muted); }
.primary, .secondary { font-size: 16px; line-height: 1.5; min-height: 44px; padding: 12px 18px; }
.text-link { font-size: 15px; line-height: 1.7; }
.sandbox-controls { gap: 10px; margin-block: 20px 24px; }
.sandbox-controls button { font-size: 15px; line-height: 1.6; min-height: 44px; padding: 10px 14px; }
.visual-head { gap: 12px; flex-wrap: wrap; }
.visual-head strong { font-size: 17px; line-height: 1.6; }
.pill { font-size: 13px; line-height: 1.5; color: var(--muted); }
.caption { font-size: 15px; line-height: 1.85; color: var(--muted); margin-top: 18px; }
.hero-visual { padding: 24px; margin-bottom: 38px; }
.learning-tip { padding: 22px 24px; }
.learning-tip p { font-size: 16px; line-height: 1.85; color: #49604b; }
.part-grid { gap: 20px; }
.part-card { padding: 26px; }
.part-card .card-kicker, .part-card .card-foot { font-size: 13px; line-height: 1.7; color: var(--muted); gap: 12px; flex-wrap: wrap; }
.part-card h3 { font-size: 23px; line-height: 1.5; }
.part-card.foundation h3 { font-size: 26px; }
.part-card p { font-size: 16px; line-height: 1.85; color: var(--muted); }
.primer-card { padding: 25px; }
.primer-card h3 { font-size: 21px; line-height: 1.55; }
.primer-card p { font-size: 17px; line-height: 1.85; color: #405b4d; }
.topic-card { padding: 22px 0; }
.topic-card small { font-size: 14px; }
.topic-card h3 { font-size: 22px; line-height: 1.6; }
.topic-card p { font-size: 17px; line-height: 1.85; color: var(--muted); }
.article-meta { font-size: 14px; line-height: 1.7; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.article-meta button { font-size: 14px; min-height: 42px; padding: 9px 12px; margin-left: 0; }
.article-head { margin-bottom: 34px; }
.article-pagination { gap: 22px; margin-top: 46px; padding-top: 26px; }
.article-pagination a { font-size: 16px; line-height: 1.75; }
.article-pagination small { font-size: 13px; }

/* Equations stay native; long expressions scroll inside their own block. */
.math { font-size: 18px; line-height: 1.6; padding: 24px 20px; max-width: 100%; }
.math > .katex-display { margin: .65em 0; }
.equation-top { font-size: 14px; line-height: 1.6; letter-spacing: .3px; padding: 15px 18px; gap: 12px; }
.equation-top button { font-size: 14px; min-height: 36px; }
.equation-toggle-label { font-size: 13px; line-height: 1.6; color: var(--muted); }
.equation-copy { padding: 10px 18px 0; }
.equation-copy button, [data-copy-tex] { font-size: 14px; min-height: 38px; padding: 6px 10px; }
.equation-explain { font-size: 17px; line-height: 1.85; padding: 0 22px 22px; color: #405b4d; }
.derivation { margin: 26px 0; }
.derivation > summary { font-size: 17px; line-height: 1.7; padding: 20px 22px; }
.derivation summary small { font-size: 13px; }
.steps { padding: 0 24px 24px; }
.step { padding: 22px 0 6px; }
.step::before { font-size: 14px; color: #536f59; }
.step p { font-size: 17px; line-height: 1.9; color: #354e42; }
.step-label { font-size: 17px; line-height: 1.7; }
.katex { letter-spacing: normal; }
.table-scroll { position: relative; margin: 22px 0; }
.course-table table { font-size: 16px; line-height: 1.75; }
.course-table th, .course-table td { padding: 14px 16px; min-width: 115px; }
.course-table tbody th { min-width: 150px; }
.concept-preliminaries { padding: 0 22px; margin-bottom: 30px; }
.concept-preliminaries > summary { font-size: 17px; padding: 19px 0; }
.concept-preliminaries > summary small { font-size: 13px; color: var(--muted); }
.concept-preliminaries section { padding: 18px 0; }
.concept-preliminaries h3 { font-size: 18px; line-height: 1.6; }
.concept-preliminaries p { font-size: 17px; line-height: 1.85; color: #3e594b; }
.concept-preliminaries a { font-size: 15px; }

/* Navigation and toolbars are readable, while secondary labels stay quieter. */
.topbar { padding-inline: 24px; gap: 24px; }
.brand { width: 216px; }
.brand span { font-size: 14px; letter-spacing: 1px; }
.brand small { font-size: 11px; color: var(--muted); }
.top-tabs { gap: 22px; }
.top-tabs a { font-size: 15px; }
.top-actions { gap: 14px; }
.language, .chat-toggle { font-size: 15px; min-height: 44px; }
.language span { color: var(--muted); }
.icon-button { min-width: 36px; min-height: 36px; font-size: 22px; }
.sidebar { padding: 24px 18px 18px; }
.eyebrow { font-size: 13px; letter-spacing: 1px; }
.searchbox { padding: 12px; margin: 22px 0; }
.searchbox input { font-size: 15px; line-height: 1.6; }
.nav-link { font-size: 15px; line-height: 1.65; padding: 12px 10px; color: #405c4e; }
.nav-group summary { font-size: 15px; line-height: 1.65; padding: 12px 4px; }
.nav-group .nav-link { font-size: 14px; line-height: 1.75; padding: 10px 9px 10px 24px; }
.nav-num { font-size: 13px; color: #5f7567; min-width: 18px; }
.part-dot { width: 27px; height: 27px; font-size: 13px; }
.progress-label, .sidebar-bottom a { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* Three independent tabs share the available sidebar height. */
.chat-panel { width: var(--chat); min-width: 0; overflow: hidden; }
.chat-panel > .chat-header { position: relative; top: auto; flex: none; background: #fff; }
.assistant-pane { display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.assistant-symbols { overflow-y: auto; overflow-x: hidden; }
.assistant-pane .messages { flex: 1 1 0; min-height: 0; }
.assistant-symbols:has(.term-panel:not([hidden])) .symbols-empty { display: none; }
.symbols-empty { padding: 30px 22px; color: #52694d; }
.symbols-empty>span { font-size: 30px; color: #638669; }
.symbols-empty h3 { font-size: 19px; line-height: 1.6; font-weight: 550; }
.symbols-empty p { font-size: 16px; line-height: 1.85; }
.saved-empty { padding: 18px 0; color: #52694d; font-size: 16px; line-height: 1.85; }
.chat-header { padding: 18px 18px 15px; }
.chat-header strong { font-size: 18px; line-height: 1.5; }
.chat-tabs { display: grid; grid-template-columns: minmax(0,1.7fr) repeat(2,minmax(0,1fr)); flex: none; gap: 6px; padding-inline: 14px; }
.chat-tabs button { min-width: 0; font-size: 15px; line-height: 1.45; padding: 12px 3px; min-height: 52px; }
.chat-context { font-size: 15px; line-height: 1.65; color: #54665c; max-height: 100px; margin-inline: 18px; flex-shrink: 1; }
.chat-context strong { font-size: 13px; color: var(--muted); }
.messages { padding: 24px 20px; min-height: 100px; }
.chat-welcome { padding: 22px 2px; }
.chat-welcome h3 { font-size: 23px; line-height: 1.5; }
.chat-welcome p { font-size: 16px; line-height: 1.85; }
.suggestions button { font-size: 15px; line-height: 1.7; min-height: 44px; padding: 12px 14px; color: #415d49; }
.message { font-size: 16px; line-height: 1.85; margin-bottom: 24px; }
.message .role { font-size: 13px; letter-spacing: .3px; }
.message.user .message-body { padding: 16px 18px; }
.message-actions { gap: 10px; flex-wrap: wrap; }
.message-actions button { font-size: 14px; line-height: 1.5; min-height: 36px; padding: 5px 8px; color: #526a58; }
.chat-composer { padding: 14px 18px 16px; }
.ai-status { font-size: 13px; line-height: 1.65; color: #526b4b; }
.chat-composer textarea { font-size: 16px; line-height: 1.7; min-height: 80px; }
.composer-footer small { font-size: 13px; color: var(--muted); }
.composer-footer button { width: 40px; height: 40px; font-size: 22px; }
.storage-note { font-size: 13px; line-height: 1.65; color: var(--muted); }
.term-panel { padding: 14px 18px 12px; max-height: none; flex: 0 0 auto; overflow: visible; }
.term-list { overflow: visible; min-height: auto; }
.term-panel-heading strong { font-size: 16px; }
.term-fold { font-size: 14px; min-height: 32px; }
.term-scope { font-size: 14px; line-height: 1.6; white-space: normal; overflow: visible; margin: 8px 0 10px; }
.term-entry { grid-template-columns: minmax(0, 1fr) 26px; gap: 8px 10px; padding: 16px 0; }
.term-sign { grid-column: 1; grid-row: 1; min-width: 0; max-width: 100%; overflow: visible; font-size: 17px; }
.term-sign small { font-size: 14px; color: #4d6457; padding-top: 5px; }
.term-definition { grid-column: 1 / -1; min-width: 0; font-size: 15px; line-height: 1.75; color: #354f41; }
.term-ask { grid-column: 2; grid-row: 1; font-size: 18px; min-height: 32px; min-width: 26px; }
.term-panel-foot { font-size: 13px; color: var(--muted); margin-top: 10px; }

.proof-dependencies { font-size: 14px; gap: 8px; padding: 14px 18px; }
.proof-dependencies > span { font-size: 14px; }
.proof-dependencies button { font-size: 14px; line-height: 1.65; min-height: 40px; padding: 8px 12px; }
.proof-playback { flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.proof-playback button { font-size: 15px; line-height: 1.5; min-height: 42px; padding: 10px 14px; }
.proof-playback > span { font-size: 14px; line-height: 1.65; }
.return-proof { font-size: 15px !important; }
#proof-dialog { max-width: 1240px; padding: 28px; }
#proof-dialog h2 { font-size: 26px; line-height: 1.5; }
.proof-dialog-caption { font-size: 17px; line-height: 1.8; }
.proof-comparison { grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr); gap: 18px; }
.proof-origin-card { padding: 22px; }
.proof-card-label { font-size: 14px; color: #356f60; }
.proof-origin-card h3 { font-size: 21px; line-height: 1.6; }
.proof-origin-card p { font-size: 17px; line-height: 1.85; }
.proof-location { font-size: 14px !important; color: #52685a !important; }
.proof-flow-arrow small { font-size: 13px; color: #356f60; }
.proof-card-terms > summary { font-size: 16px; line-height: 1.7; }
.proof-open-original { font-size: 16px; line-height: 1.7; }

/* Source material, references and personal additions are part of the lesson. */
.source-details { font-size: 16px; line-height: 1.8; padding-block: 18px; }
.source-details summary { padding: 7px 0; }
.source-links { gap: 10px; }
.source-links a { font-size: 15px; line-height: 1.65; min-height: 40px; padding: 9px 12px; }
.sources-note, .source-row p { font-size: 17px; line-height: 1.85; color: #465e4f; }
.source-row h3 { font-size: 23px; line-height: 1.5; }
.source-extra { font-size: 17px; line-height: 1.85; padding: 20px 22px; color: #405b4b; }
.source-extra strong, .source-extra a { font-size: 14px; }
.section-license { font-size: 14px; line-height: 1.85; }
.resource-gallery > summary { font-size: 17px; line-height: 1.75; padding-block: 20px; }
.resource-gallery > summary > span { font-size: 14px; }
.media-block figcaption, .figure-gallery .media-block figcaption,
.figure-gallery .sentence { font-size: 15px; line-height: 1.8; color: #465f4e; }
.media-credit, .media-links, .media-ask, .figure-open > span { font-size: 13px; line-height: 1.7; color: #536b57; }
.media-ask { min-height: 36px; }
.user-note { padding: 22px; }
.user-note-head { font-size: 14px; line-height: 1.7; gap: 12px; flex-wrap: wrap; color: #4e6750; }
.user-note p { font-size: 17px; line-height: 1.85; }
.user-note button { font-size: 14px; min-height: 36px; color: #536d52; }
.note-tools { gap: 12px; }
.note-tools button, .note-tools label { font-size: 15px; min-height: 44px; padding: 11px 15px; }
.empty-state, .results-count, .loading { font-size: 17px; line-height: 1.85; }
footer { max-width: 1120px; font-size: 13px; line-height: 1.85; color: var(--muted); gap: 24px; padding-block: 26px; }

body .refs-page { --refs-muted: #54685e; --refs-ink: #233b37; }
body .refs-breadcrumb, body .refs-eyebrow { font-size: 14px; line-height: 1.7; }
body .refs-header > p:last-child { font-size: 18px; line-height: 1.85; }
body .refs-toolbar { padding: 22px; gap: 16px; }
body .refs-toolbar label { font-size: 15px; line-height: 1.7; color: #3d594b; }
body .refs-toolbar input, body .refs-toolbar select { font-size: 16px; min-height: 46px; padding: 11px 12px; }
body .refs-results, body .refs-tools button { font-size: 15px; line-height: 1.7; }
body .refs-tools button { min-height: 40px; padding-block: 8px; }
body .refs-group > summary { font-size: 20px; line-height: 1.65; padding-block: 18px; }
body .refs-group-count { font-size: 14px; color: #526b59; }
body .refs-group-note { font-size: 16px; line-height: 1.85; }
body .refs-entry { padding-block: 24px; }
body .refs-entry h3 { font-size: 20px; line-height: 1.6; }
body .refs-featured { font-size: 13px; line-height: 1.6; }
body .refs-meta { font-size: 15px; line-height: 1.8; color: #53675e; }
body .refs-use { font-size: 17px; line-height: 1.85; color: #3d594b; }
body .refs-parts, body .refs-parts a { font-size: 14px; line-height: 1.7; color: #506c5c; }
body .refs-link { font-size: 15px; line-height: 1.7; padding: 8px 10px; min-height: 40px; }
body .refs-ask { font-size: 15px !important; line-height: 1.6; min-height: 42px; padding: 9px 12px; color: #355f4f; }
body .refs-citation, body .refs-citation p { font-size: 15px; line-height: 1.85; color: #50695b; }
body .refs-empty, body .refs-footer { font-size: 16px; line-height: 1.85; }

/* Transient reading surfaces need the same scale and their own scroll space. */
.quick-ask { width: min(440px, calc(100vw - 32px)); padding: 22px; max-height: calc(100dvh - 108px); overflow-y: auto; }
.quick-header { font-size: 17px; line-height: 1.5; gap: 12px; }
.quick-ask blockquote { font-size: 16px; line-height: 1.75; max-height: 130px; margin-block: 16px; }
.quick-ask textarea { font-size: 16px; line-height: 1.75; padding: 13px; }
.quick-ask form > small { font-size: 14px; line-height: 1.7; }
.quick-ask form > div { flex-wrap: wrap; }
.quick-ask .primary, .quick-ask .secondary { font-size: 15px; min-height: 44px; padding: 10px 13px; }
.selection-menu { font-size: 15px; gap: 8px; padding: 9px; flex-wrap: wrap; }
.selection-menu > span { font-size: 13px; }
.selection-menu button { font-size: 15px; min-height: 40px; padding: 8px 10px; }
.translation { font-size: 17px; line-height: 1.85; max-width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 120px); overflow: auto; padding: 18px 22px; }
.translation::before { font-size: 13px; line-height: 1.6; }
.toast { font-size: 16px; line-height: 1.7; padding: 14px 22px; }
dialog { max-width: 760px; max-height: calc(100dvh - 48px); overflow: auto; padding: 28px; }
.dialog-header { gap: 16px; }
.dialog-header h2 { font-size: 26px; line-height: 1.5; }
dialog p, dialog label { font-size: 16px; line-height: 1.85; }
dialog textarea { font-size: 17px; line-height: 1.85; padding: 16px; }
.dialog-actions { gap: 14px; flex-wrap: wrap; }
.westlake-dialog { width: min(680px, calc(100vw - 32px)); }
.westlake-dialog ol { font-size: 16px; line-height: 1.85; padding-left: 26px; }
.westlake-dialog label { display: block; margin: 20px 0 8px; font-size: 17px; }
.westlake-dialog input, .westlake-dialog select { width: 100%; min-width: 0; padding: 12px 14px; min-height: 46px; border: 1px solid #c9d5c7; border-radius: 6px; background: white; color: var(--ink); font-size: 16px; }
.westlake-model-row { display: flex; align-items: stretch; gap: 12px; }
.westlake-model-row .secondary { flex-shrink: 0; }
.westlake-dialog .westlake-privacy, .westlake-dialog .westlake-help { font-size: 14px; line-height: 1.85; color: var(--muted); }
.westlake-feedback { font-size: 15px; line-height: 1.8; color: #875337; }
.westlake-dialog .dialog-actions { margin-top: 24px; }

@media (max-width: 1280px) {
  :root { --side: 240px; --chat: 360px; }
  .reading-shell { padding-inline: 28px; }
  .topbar { gap: 18px; padding-inline: 20px; }
  .brand { width: 196px; }
  .top-tabs { gap: 16px; }
}
@media (max-width: 1180px) {
  .reading-shell, .chat-closed .reading-shell { margin-right: 0; }
  .chat-panel { box-shadow: -10px 0 40px #233b3728; }
}
@media (max-width: 980px) { .top-tabs { display: none; } }
@media (max-width: 900px) {
  .proof-comparison { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .proof-flow-arrow { padding: 0; width: 100px; justify-self: center; }
  .proof-flow-arrow svg { height: 52px; transform: rotate(90deg); }
}
@media (max-height: 760px) {
  .chat-context { max-height: 76px; }
  .chat-composer { padding-block: 10px; }
  .chat-composer textarea { min-height: 65px; max-height: 85px; }
  .messages { min-height: 90px; }
}
@media (max-width: 720px) {
  :root { --side: 0px; --top: 72px; --chat: min(100vw, 400px); }
  .topbar { padding-inline: 12px; gap: 8px; }
  .brand { width: auto; min-width: 0; flex: 1; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 12px; letter-spacing: .7px; line-height: 1.35; min-width: 0; }
  .brand small { font-size: 10px; letter-spacing: .5px; margin-top: 3px; }
  .top-actions { gap: 6px; }
  .language { font-size: 14px; padding-inline: 3px; }
  .chat-toggle { padding: 8px 10px; font-size: 18px; }
  .mobile-menu { min-width: 32px; padding-inline: 4px; }
  .sidebar { width: min(320px, 88vw); padding: 22px 18px; }
  .reading-shell { margin-left: 0; padding: 28px 20px 0; }
  main h1, .article-head h1 { font-size: 32px; line-height: 1.45; }
  .hero h1.en { font-size: 39px; line-height: 1.2; }
  .lede { font-size: 18px; line-height: 1.85; }
  .hero-tag { font-size: 13px; }
  .breadcrumb { font-size: 14px; margin-bottom: 24px; }
  .section-label { margin: 34px 0 20px; }
  .section-label h2 { font-size: 23px; }
  .hero-visual, .viewer-box { padding: 14px; }
  .part-grid, .math-primer { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .part-card, .primer-card { padding: 22px; }
  .part-card.foundation h3 { font-size: 24px; }
  .prose { font-size: 18px; line-height: 1.9; }
  .callout { padding: 18px; }
  .derivation > summary { padding: 18px; font-size: 17px; }
  .steps { padding-inline: 18px; }
  .math { font-size: 18px; padding: 20px 14px; }
  .equation-explain { padding-inline: 18px; font-size: 17px; }
  .equation-top { flex-wrap: wrap; padding: 14px; }
  .article-meta { gap: 10px; }
  .article-pagination { flex-direction: column; gap: 22px; }
  .article-pagination a { max-width: 100%; font-size: 16px; }
  .source-links a { font-size: 15px; }
  .resource-gallery { padding-inline: 16px; }
  .course-table th, .course-table td { padding: 12px; min-width: 115px; }
  .term-panel { padding: 12px 16px; }
  .term-panel-heading strong { font-size: 16px; }
  .term-definition { font-size: 15px; }
  .term-entry { grid-template-columns: minmax(0, 1fr) 26px; }
  .messages { min-height: 100px; }
  .chat-header { padding: 14px 16px; }
  .chat-composer { padding: 12px 16px; }
  .chat-composer textarea { font-size: 16px; }
  #proof-dialog { padding: 20px; }
  .proof-origin-card { padding: 18px; }
  .proof-origin-card p { font-size: 17px; }
  .proof-dependencies { padding: 12px; }
  .proof-playback { gap: 10px; }
  .quick-ask { padding: 20px; }
  .quick-ask textarea, input, select, textarea { font-size: 16px; }
  dialog { padding: 22px; }
  .dialog-header h2 { font-size: 24px; }
  .media-links { flex-wrap: wrap; }
  footer { font-size: 13px; line-height: 1.85; }
}
@media (max-width: 420px) { .brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { .reading-shell { transition: none; } }

/* In-chapter learning stages retain the existing article and feedback IDs. */
.lesson-block-heading{font-size:clamp(23px,2.5vw,29px);line-height:1.55;font-weight:650;margin:2.4rem 0 .8rem;padding:.7rem 2.7rem .55rem 0;border-bottom:1px solid #d9e1d4;scroll-margin-top:105px}

/* Definition math uses complete TeX pieces at natural mathematical boundaries. */
.term-tex{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:.2em .3em;max-width:100%;min-width:0;vertical-align:middle;line-height:1.9;white-space:normal;overflow:visible}
.term-tex-piece{display:inline-block;min-width:0;max-width:100%;vertical-align:baseline}
.term-tex-break{flex-basis:100%;width:0;height:0}
.term-sign>span.term-tex,.term-sign small>span.term-tex{display:flex}
.proof-card-terms .term-entry{grid-template-columns:minmax(0,1fr)}
.proof-card-terms .term-sign,.proof-card-terms .term-definition{grid-column:1 / -1}

.qwork .qwork-dimension,.qwork .qwork-result-type{overflow:visible}
.qwork .qwork-dimension.term-tex{display:flex;width:100%;overflow:visible}
