/* MathVision 5.4: readable typography, clearer controls, a connected learning desk.
   Layer after mathvision.css and feature-page styles. */
:root{--muted:#627084;--line:#e1e4e5;--primary:#2c54d1;--accent:#2c54d1;--shadow:0 8px 30px #2538590c}
body{font-size:15px;color:#202c3c}
button,input,textarea,select{font:inherit}
input::placeholder,textarea::placeholder{color:#7b8798}
.muted{color:#627084}.fine-print{font-size:13px;color:#68768a;line-height:1.8}.eyebrow{font-size:11px;color:#67788a;letter-spacing:.13em}
.mv-sidebar{background:#f3f3ef;padding-top:27px}.brand small{color:#647281;font-size:11px;letter-spacing:.06em}.mv-nav-label{font-size:11px;color:#75818e;letter-spacing:.07em}.mv-nav-item{min-height:43px;font-size:14px;color:#546376;gap:12px}.mv-nav-item.active{background:#fff;color:#264cc4;border-color:#dce2ed;box-shadow:0 2px 7px #18356605}.mv-nav-item.active svg{opacity:1}.mv-sidebar-bottom .mv-nav-item{font-size:13px}.mv-version{font-size:11px;color:#74808d}.mv-new{min-height:44px;font-size:14px;margin-top:27px;margin-bottom:18px}.mv-breadcrumb{font-size:13px;color:#738093}.mv-breadcrumb strong{font-weight:550;color:#435469}.header-actions button{font-size:13px}.mv-search-button{font-size:13px;color:#68788b;min-height:36px;height:36px}.header-actions .subtle-button{color:#53657a}.header-actions .primary-button.small{min-height:36px;height:36px;font-size:12px}.topbar{height:72px;background:#faf9f6f5}
.page{padding-top:30px}.hero-grid{min-height:310px;gap:32px;padding-bottom:24px}.hero-copy{padding-left:2px}.hero-copy .eyebrow{font-size:12px;color:#617387}.hero-copy h1{font-size:clamp(42px,3.8vw,56px);line-height:1.3;margin:18px 0 18px;letter-spacing:-.045em}.hero-description{font-size:14px;line-height:1.85;color:#5b6b80;margin-bottom:20px}.hero-footnotes{font-size:12px;gap:17px;color:#5d718b}.math-art{border-color:#dbe2eb;box-shadow:0 5px 24px #3159d807}.mv-art-heading{font-size:10px;color:#6b7d91;border-color:#edf0f4}.mv-art-heading>span:first-child{color:#4f647e}.floating-formula.formula-one{color:#617694}.math-art .art-note label,.math-art .art-note output{font-size:11px;color:#526783}.math-art .art-note{border-top-color:#e6ebf2}.math-art .art-note input{cursor:ew-resize}
.creation-box{padding:19px 22px 15px;border-color:#d4deec;border-radius:13px;box-shadow:0 3px 15px #3159d805}.creation-box:focus-within{border-color:#93aae7;box-shadow:0 0 0 3px #3159d809}.creation-heading strong{font-size:17px;font-weight:600;color:#243650}.creation-heading>span:last-child{font-size:11px;color:#708198}.creation-heading .sparkle{font-size:24px}#home-prompt{font-size:15px;min-height:62px;line-height:1.8;padding:9px 0}#home-prompt::placeholder{color:#7b8b9f}.creation-toolbar{padding-top:11px;border-top-color:#e9edf4}.segmented{background:#f0f3f8}.segmented button{min-height:32px;font-size:12px;color:#5c6e87;padding:5px 11px}.segmented button.selected{color:#2349bd;background:#fff}.creation-actions select{font-size:12px;color:#53677f;max-width:205px}.creation-actions .primary-button{min-height:39px;font-size:13px;padding:8px 17px}.input-methods{font-size:11px;padding-top:12px;color:#697a8d;gap:9px}.input-methods button{font-size:11px;color:#5d728a;min-height:29px;border-color:#e0e6ef;padding:4px 9px}.input-methods button:hover{border-color:#a5b7df;background:#f5f8fe}.suggestion-row{margin:11px 0 24px;gap:10px;font-size:11px;color:#77879a}.suggestion-row button{font-size:11px;min-height:28px;color:#526d92;padding:4px 6px}.generation-advanced>summary{font-size:11px;color:#657991}.generation-advanced .generation-options label{font-size:12px}.generation-advanced .generation-options p{font-size:11px}
.mv-pathway-heading{margin-top:25px;font-size:12px;color:#53697f}.mv-pathway-heading>span:last-child{font-size:11px;color:#728093}.mv-pathways{gap:14px;margin-bottom:28px}.mv-pathway{padding:18px;min-height:132px;position:relative;border-color:#dfe4e9;overflow:hidden;gap:7px}.mv-pathway:before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:2px;background:#9cb3e5}.mv-pathway:nth-child(2):before{background:#c4ac84}.mv-pathway:nth-child(3):before{background:#8cae9e}.mv-pathway:nth-child(4):before{background:#a79cca}.mv-pathway strong{font-size:14px;color:#2e415b;font-weight:600;line-height:1.55}.mv-pathway>span:last-child{font-size:12px;color:#65768c;line-height:1.75}.mv-pathway-top{margin-bottom:3px;color:#5874a5}.mv-pathway-top small{font-size:9px;color:#6c7e96}.mv-pathway-top>span{color:#6480aa}.section-heading .text-button{font-size:12px}.section-heading h2{font-size:27px;color:#283d57}.template-info h3{font-size:17px;color:#263d59}.template-info p{font-size:13px;line-height:1.85;color:#64758b}.template-category{font-size:11px;color:#5f7897}.form-tag{font-size:10px;color:#566d60;background:#eef3ed}.form-tag.animation{color:#4b6caa;background:#edf3fd}.card-actions button{font-size:12px;min-height:33px}.major-chip strong{font-size:13px;color:#30465f}.major-chip small{font-size:11px;color:#687a8f}.major-formula{color:#526fa2}.home-bottom{margin-top:30px;padding-top:24px}.home-bottom p{color:#526983}.home-bottom span{font-size:12px;color:#6b7c91}
.workspace-heading .button-row button{font-size:13px;min-height:39px}.title-input{font-size:27px;color:#243a56}.workbench-tools{gap:8px;padding-top:13px;padding-bottom:16px}.workbench-tools button{font-size:12px;min-height:36px;padding:7px 11px;color:#435b7a;border-color:#dce3ed}.workbench-tools button:hover{color:#254ec9;border-color:#9bb0df;background:#f6f9ff}.workbench-tools button.active{color:#254ec9;background:#edf3ff;border-color:#a7b9e5}.workspace-grid{gap:18px}.editor-panel{padding:17px}.object-card{border-color:#dce3ea}.object-card.selected{background:#f2f6ff;border-color:#8fa7dc}.object-card input[type=text]{font-size:13px}.parameter-control header span{font-size:13px}.plot-topline{font-size:11px;color:#60768f}.plot-topline button{font-size:12px;min-height:34px}.metric{background:#f4f7fb;border:1px solid #e2e8f1}.metric small{font-size:11px;color:#647894}.metric strong{font-size:18px;color:#294d82}.chapter{font-size:12px}.timeline-bottom{font-size:12px;color:#65768c}.assistant-panel h3{font-size:16px}.assistant-panel .muted{font-size:13px;color:#62748c}.export-grid button{font-size:12px;min-height:36px;color:#3f5878;border-color:#dce3ed}.export-grid button:hover{background:#eef4ff;border-color:#a3b6df}.canvas-tabs button{font-size:13px;min-height:38px}.canvas-layout .panel{font-size:14px}.connection-form label{font-size:13px;color:#435974}.notice{font-size:13px;color:#50667f;background:#f2f5fa}.model-layout input,.model-layout select{font-size:14px}.connection-card h3{color:#2b415e}.connection-card .fine-print{font-size:12px}
/* Detail-page metadata remains secondary but readable. */
#research-page{--research-muted:#64758a;--research-line:#dfe4e8}#research-page .mv-research-meta{font-size:12px;color:#63758d}#research-page .mv-research-provider{font-size:12px;color:#657a94}#research-page .mv-research-summary,#research-page .mv-research-summary summary{font-size:13px;color:#536c87}#research-page .mv-research-subjects span{font-size:11px;color:#5b718a;border-color:#dce4ed}#research-page .mv-research-kind{font-size:11px;color:#496995}#research-page .mv-research-card-bottom button,#research-page .mv-research-exports button{font-size:12px;color:#3d61ac;min-height:35px}#research-page .mv-research-consent{font-size:12px;color:#62738a}#research-page .mv-research-guide p{font-size:13px;color:#677a90}#research-page .mv-research-source-badge{font-size:11px;color:#356e56}#research-page .mv-research-source-badge.is-unavailable{color:#846022}#research-page .mv-research-source-error{font-size:12px;color:#8a6427}#research-page .mv-research-library-message{font-size:13px;color:#60758d}
:is(#modeling-page,#proof-page){--lab-muted:#62758c;--lab-border:#e0e5eb}.lab-help,.lab-list,.lab-details summary{font-size:13px;color:#60758d}.lab-field-label{font-size:13px;color:#455f7a}.lab-check{font-size:12px;color:#5f748e}.lab-model-tab small{font-size:12px;color:#60748d}.lab-card h4{font-size:13px;color:#405b78}.lab-metrics small{font-size:11px;color:#617b99}.lab-result-table th{font-size:11px;color:#536f91}.lab-result-table td{font-size:13px;color:#405d7b}.lab-coach>summary small{font-size:11px;color:#6d8098}.proof-principles span{font-size:13px;color:#60738c}.proof-quick button{font-size:11px;color:#566d8d}.lab-empty p{font-size:13px;color:#657b95}.lab-run-row>span{font-size:11px;color:#687c94}
#community-page .mv-community-card-body>p{font-size:13px;color:#62758c}#community-page .mv-community-card-footer>span{font-size:11px;color:#687e99}#community-page .mv-community-card-footer>button{font-size:12px}#community-page .mv-community-topic{color:#5575a1}#community-page .mv-community-note p{font-size:13px;color:#637991}.mv-community-dialog .fine-print{font-size:12px}
/* Editable lab inputs keep their labels legible without changing table layouts. */
:is(#modeling-page,#proof-page) .lab-field input:not([type=checkbox]),:is(#modeling-page,#proof-page) .lab-field select,:is(#modeling-page,#proof-page) .lab-field textarea{font-size:13px}.lab-button-row button{font-size:12px;min-height:35px}.lab-small-tag{font-size:11px;color:#5f7393}.lab-heading-note{color:#667f9b}.lab-empty h3{font-size:16px;color:#486481}.lab-empty-symbol{color:#5878ae}.proof-lean pre{font-size:12px;color:#4f678a}#research-page .mv-research-no-summary{font-size:13px;color:#77879a}
/* Quick return is a compact work shelf, not an activity leaderboard. */
.mv-return-shelf{margin:23px 0 29px;border:1px solid #dce3eb;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 3px 15px #273c6203}.mv-return-shelf[hidden]{display:none}.mv-return-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 23px 16px;border-bottom:1px solid #e9edf2}.mv-return-heading .eyebrow{font-size:9px;letter-spacing:.13em;color:#778aa2}.mv-return-heading h2{font-family:"Noto Serif CJK SC","Songti SC",Georgia,serif;font-weight:500;font-size:24px;line-height:1.5;margin:2px 0 0;color:#2b405e}.mv-return-heading p{font-size:12px;line-height:1.8;color:#6e8098;margin:0;max-width:280px}.mv-return-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.mv-return-projects,.mv-return-spaces{padding:17px 23px 20px;min-width:0}.mv-return-spaces{border-left:1px solid #e9edf2;background:#fcfcf9}.mv-return-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.mv-return-group-heading h3{font-size:12px;font-weight:600;color:#5c738f;line-height:1.6;margin:0}.mv-return-link{border:0;background:none;padding:3px 0;min-height:26px;font-size:11px;color:#4768a5;box-shadow:none;white-space:nowrap}.mv-return-link:hover{background:none;color:#204ac8;text-decoration:underline;border-color:transparent}.mv-return-project-list,.mv-return-space-list{display:flex;flex-direction:column;gap:3px}.mv-return-project,.mv-return-space{display:flex;align-items:center;gap:12px;min-width:0;width:100%;padding:10px 8px;border:1px solid transparent;background:none;text-align:left;border-radius:7px;box-shadow:none;min-height:61px}.mv-return-project:hover,.mv-return-space:hover{background:#f1f5fc;border-color:#dce6f6}.mv-return-project-icon{display:flex;align-items:center;justify-content:center;width:34px;height:37px;flex:none;border:1px solid #dfe6f1;border-radius:7px;background:#f3f6fc;color:#657fad;font:italic 23px Georgia,serif}.mv-return-project-copy,.mv-return-space-copy{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.mv-return-project-copy strong,.mv-return-space-copy strong{font-weight:550;font-size:13px;color:#2d4667;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mv-return-project-copy small,.mv-return-space-copy small{font-size:11px;line-height:1.7;color:#74869b}.mv-return-arrow{color:#8aa0c0;font-size:15px;flex:none}.mv-space-marker{height:30px;width:25px;flex:none;border:1px solid #b9c9e8;background:#e9effa;border-radius:3px 7px 7px 3px;box-shadow:inset 3px 0 #c2d2f0}.mv-return-space[data-color=sage] .mv-space-marker{background:#eef4ef;border-color:#b8d0c0;box-shadow:inset 3px 0 #bfd6c5}.mv-return-space[data-color=amber] .mv-space-marker{background:#faf4e8;border-color:#dfcdad;box-shadow:inset 3px 0 #e7d5b0}.mv-return-space[data-color=violet] .mv-space-marker{background:#f3eff9;border-color:#c9bddf;box-shadow:inset 3px 0 #d5c8eb}.mv-return-summary{font-size:11px;color:#738297;border-top:1px solid #e7ebe9;margin:11px 7px 0;padding-top:12px}.mv-return-empty{padding:22px 8px 15px;min-height:117px}.mv-return-empty p{font-size:13px;color:#657a95;line-height:1.8;margin:0 0 8px;max-width:300px}.mv-return-empty-mark{font-size:23px;font-weight:300;color:#8299ba;display:block;line-height:1.3;margin-bottom:6px}.mv-return-loading{font-size:13px;color:#6d829c;padding:24px;margin:0}.mv-return-unavailable{font-size:12px;color:#657991;padding:12px 8px}.mv-return-unavailable p{line-height:1.8;margin:0 0 6px}
.mv-return-shelf.is-visitor{display:grid;grid-template-columns:minmax(185px,.9fr) minmax(0,1.6fr) auto;gap:24px;align-items:center;padding:21px 23px;background:#f3f5f7;border-color:#e0e6ee;box-shadow:none}.mv-start-intro{position:relative;padding-left:31px}.mv-start-symbol{position:absolute;left:0;top:1px;color:#5176ba;font-size:24px}.mv-start-intro h2{font-size:15px;font-weight:600;color:#354f71;line-height:1.6;margin:0 0 5px}.mv-start-intro p{font-size:11px;color:#687e98;line-height:1.9;margin:0;max-width:235px}.mv-start-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;margin:0;padding:0}.mv-start-steps li{display:grid;grid-template-columns:21px minmax(0,1fr);gap:4px 6px;align-content:start}.mv-step-number{font-family:Georgia,serif;font-size:11px;color:#849ab8;padding-top:2px}.mv-start-steps strong{font-size:12px;font-weight:550;color:#4a6486;line-height:1.65}.mv-step-detail{grid-column:2;font-size:10px;line-height:1.8;color:#7387a2}.mv-start-action{font-size:12px;background:#fff;color:#365eaa;border-color:#d5dfef;white-space:nowrap;padding:8px 11px;min-height:37px}.mv-start-action:hover{background:#edf3ff;border-color:#a3b7e1}
footer{font-size:11px;color:#718097}dialog h2{line-height:1.5}.mv-command-result{font-size:14px}.mv-command-result span:last-child{font-size:11px;color:#687d98}.mv-command-foot{font-size:11px;color:#728298}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #6f91e0;outline-offset:3px}button:disabled{cursor:not-allowed}
@media(min-width:1650px){.hero-grid{min-height:340px}.hero-copy h1{font-size:58px}.hero-description{font-size:15px}.mv-return-shelf.is-visitor{gap:35px}.mv-step-detail{font-size:11px}}
@media(max-width:1270px){.hero-copy h1{font-size:43px}.hero-description{font-size:14px}.hero-footnotes{font-size:11px;gap:12px}.mv-pathway{padding:16px 14px}.mv-pathway strong{font-size:13px}.mv-pathway>span:last-child{font-size:12px}.mv-return-shelf.is-visitor{grid-template-columns:minmax(170px,.8fr) minmax(0,1.3fr);gap:18px}.mv-start-action{grid-column:1/-1;justify-self:end;margin-top:-4px}.mv-start-steps{gap:10px}.mv-step-detail{grid-column:1/-1}.template-info h3{font-size:16px}.template-info p{font-size:13px}.mv-return-heading p{font-size:11px;max-width:230px}}
@media(max-width:960px){.topbar{height:66px}.header-actions .primary-button.small{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-grid{gap:22px}.mv-return-shelf.is-visitor{grid-template-columns:1fr auto;gap:15px}.mv-start-steps{grid-column:1/-1;grid-row:2;border-top:1px solid #dfe5ed;padding-top:15px}.mv-start-action{grid-column:2;grid-row:1;margin:0}.mv-step-detail{grid-column:2}.mv-return-projects,.mv-return-spaces{padding-inline:18px}}
@media(max-width:680px){body{font-size:14px}.topbar{height:60px}.page{padding-top:23px}.mv-nav-item{font-size:14px;min-height:44px}.mv-breadcrumb strong{font-size:13px}.header-actions .primary-button.small{font-size:11px;max-width:150px}.hero-grid{gap:20px;padding-bottom:22px}.hero-copy h1{font-size:41px;line-height:1.32;margin:13px 0 15px}.hero-description{font-size:14px;line-height:1.8;max-width:340px}.hero-footnotes{font-size:11px;gap:15px}.hero-copy .eyebrow{font-size:11px}.mv-art-heading{font-size:9px}.math-art .art-note label,.math-art .art-note output{font-size:10px}.math-art .art-note output{min-width:81px}.creation-box{padding:17px 16px 14px}.creation-heading strong{font-size:16px}#home-prompt{font-size:14px;min-height:70px}.segmented button{font-size:12px;min-height:32px}.creation-actions select{font-size:12px;max-width:calc(100% - 120px)}.creation-actions .primary-button{font-size:12px;min-height:37px}.input-methods{gap:6px}.input-methods button{font-size:10px;min-height:29px;padding:4px 7px}.suggestion-row{margin:10px 0 19px;gap:3px}.suggestion-row button{font-size:10px;min-height:28px;padding:3px 5px}.mv-pathway-heading{font-size:12px}.mv-pathway-heading>span:last-child{font-size:10px}.mv-pathways{gap:11px}.mv-pathway{min-height:137px;padding:16px 14px}.mv-pathway strong{font-size:13px}.mv-pathway>span:last-child{font-size:12px}.section-heading h2{font-size:25px}.section-heading .text-button{font-size:11px}.section-heading .eyebrow{font-size:9px}.template-info h3{font-size:17px}.template-info p{font-size:13px}.template-category{font-size:11px}.major-chip strong{font-size:13px}.major-chip small{font-size:11px}.workspace-heading .button-row button{font-size:12px;min-height:36px}.title-input{font-size:25px}.workbench-tools{gap:6px}.workbench-tools button{font-size:11px;min-height:35px;padding:7px 9px}.plot-topline{font-size:10px}.plot-topline button{font-size:11px;min-height:31px}.timeline-bottom{font-size:11px}.export-grid button{font-size:12px;min-height:37px}.canvas-tabs button{font-size:12px;min-height:37px}.mv-return-shelf{margin:21px 0 27px;border-radius:11px}.mv-return-heading{padding:17px;align-items:flex-start;gap:12px}.mv-return-heading h2{font-size:23px}.mv-return-heading p{font-size:11px;max-width:155px;line-height:1.8;margin-top:7px}.mv-return-heading .eyebrow{font-size:8px}.mv-return-grid{grid-template-columns:1fr}.mv-return-projects,.mv-return-spaces{padding:15px 17px}.mv-return-spaces{border-left:0;border-top:1px solid #e9edf2}.mv-return-project,.mv-return-space{min-height:61px;padding:10px 3px}.mv-return-group-heading h3{font-size:12px}.mv-return-project-copy strong,.mv-return-space-copy strong{font-size:14px}.mv-return-shelf.is-visitor{padding:18px 16px;gap:14px}.mv-start-intro{padding-left:26px}.mv-start-intro h2{font-size:14px}.mv-start-intro p{font-size:11px;max-width:230px}.mv-start-symbol{font-size:21px}.mv-start-action{font-size:11px;padding:7px 9px;min-height:34px}.mv-start-steps{gap:10px}.mv-start-steps li{grid-template-columns:1fr;gap:3px}.mv-step-number{font-size:12px}.mv-start-steps strong{font-size:12px}.mv-step-detail{grid-column:1;font-size:10px;line-height:1.8}.lab-result-table td{font-size:12px}.mv-command-result{font-size:13px}.mv-command-result span:last-child{font-size:10px}footer{font-size:10px}.home-bottom span{font-size:11px}}
@media(max-width:390px){.mv-return-shelf.is-visitor{grid-template-columns:1fr}.mv-start-action{grid-row:3;grid-column:1;justify-self:start;margin-left:26px}.mv-start-steps{grid-row:2}.mv-return-heading p{display:none}.hero-copy h1{font-size:37px}.input-methods{flex-wrap:wrap}.mv-pathway{padding:14px 12px}.mv-pathway strong{font-size:12px}}
