/* Page two is isolated from the established overview map and its UI. */
.middle-page[hidden],.middle-map-pane[hidden]{display:none!important}
.app.page-middle{background:linear-gradient(180deg,#d5efff 0%,#effaff 48%,#d9f2ff 100%)}
.app.page-middle>.topbar,.app.page-middle>.workspace{display:none}
.middle-page{flex:1;min-height:0;display:flex;flex-direction:column;color:#123c70;font-family:"Microsoft YaHei","PingFang SC",sans-serif}
.middle-header{height:82px;min-height:82px;display:flex;align-items:center;gap:32px;padding:8px 25px;background:linear-gradient(105deg,#effaffdb,#d5efffd9 55%,#f6fcffdb);border-bottom:1px solid #b9e1f8;box-shadow:0 3px 16px #2d90ce1b}
.middle-brand{display:flex;align-items:center;gap:10px;min-width:285px;font-size:20px;font-weight:900;color:#073371;letter-spacing:.04em}.middle-brand img{width:57px;height:55px;object-fit:contain}
.middle-header h2{margin:0;font-size:35px;line-height:1.1;letter-spacing:.075em;color:#063f8d;font-weight:900}.middle-header h2 span{color:#ed6e29;margin-left:5px}
.middle-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) clamp(330px,26vw,472px);gap:13px;padding:12px 16px 13px}
.lab-area{min-width:0;min-height:0;display:flex;flex-direction:column;gap:9px}
.lab-heading{height:34px;min-height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 4px;font-size:16px;font-weight:850;color:#14508b}.lab-heading button{height:31px;padding:0 15px;border-radius:999px;border:1px solid #8bc4ef;background:#f4fbff;color:#1164ac;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 2px 7px #4f9acb24}
.trial-grid{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.trial-card{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;border:1px solid #a7d5ee;background:linear-gradient(180deg,#f3fbff,#daeff9 71%,#e8f8ff);box-shadow:0 5px 18px #428dc72d,inset 0 1px #fff}
.trial-head{height:58px;min-height:58px;display:flex;align-items:center;gap:10px;padding:7px 14px;background:#ffffffb9;border-bottom:1px solid #b8def1}.trial-head strong,.trial-head small{display:block}.trial-head strong{font-size:15px;color:#163d6c}.trial-head small{font-size:12px;color:#5e7795;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}.trial-badge{display:grid;place-items:center;width:35px;height:35px;min-width:35px;border-radius:50%;font:900 18px Arial;color:white;box-shadow:0 3px 7px #22558b37}.group-a{background:#ff7d42}.group-b{background:#199be8}.group-c{background:#955af0}
.trial-caption{height:37px;min-height:37px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 13px;background:#f6fcffdf;font-size:11px;color:#5c7e9b}.trial-caption strong{color:#174c8a;font-size:11px;white-space:nowrap}
.middle-map-pane{position:absolute;z-index:5;inset:0;display:flex;align-items:flex-end;justify-content:flex-start;border-radius:20px;overflow:hidden;background:#f4f5e9;box-shadow:0 12px 32px #235c9370;opacity:0;pointer-events:none;transition:opacity .45s ease}.middle-map-pane.visible{opacity:1;pointer-events:auto}.middle-map-pane svg{position:absolute;inset:0;width:100%;height:100%;background:linear-gradient(130deg,#f9f4e8,#e9f2ed)}.map-pane-info{position:relative;display:grid;gap:4px;margin:0 0 18px 18px;padding:14px 17px;border:1px solid #b6d9ed;border-radius:16px;background:#f8fcfff0;box-shadow:0 7px 20px #1f688f36}.map-pane-info strong{font-size:17px}.map-pane-info span{font-size:12px;color:#51799b}.map-pane-info button{margin-top:6px;border:0;border-radius:11px;padding:9px 18px;background:linear-gradient(110deg,#22bded,#1683e4);color:#fff;font-size:14px;font-weight:800;cursor:pointer}
.experiment-timeline{min-height:91px;height:91px;display:flex;align-items:center;gap:12px;padding:10px 14px;border:1px solid #aed9ef;border-radius:19px;background:#f8fdfff2;box-shadow:0 5px 16px #338ecc26}.timeline-title{width:104px;min-width:104px;display:grid;gap:5px}.timeline-title strong{font-size:15px;white-space:nowrap}.timeline-title small{font-size:10px;color:#6389a8;white-space:nowrap}.timeline-control{flex:1;min-width:0;align-self:center}.timeline-control input{width:100%;height:27px;margin:0;accent-color:#ff902e;cursor:pointer;touch-action:none}.timeline-stages{display:flex;justify-content:space-between;font-size:10px;color:#5e81a5;white-space:nowrap}.timeline-play,.timeline-replay{width:54px;height:54px;min-width:54px;border:0;border-radius:50%;background:linear-gradient(135deg,#49bbff,#086beb);color:#fff;font-size:24px;cursor:pointer;box-shadow:0 4px 12px #0a86ed62}.timeline-replay{width:38px;height:38px;min-width:38px;background:#e8f4ff;color:#1769b6;font-size:26px;box-shadow:none;border:1px solid #bedbf4}.speed-control{display:grid;gap:2px;font-size:10px;font-weight:700;color:#6990ae;text-align:center}.speed-control select{border:1px solid #bfdef4;border-radius:9px;background:#fff;color:#184e8d;font-size:14px;font-weight:800;padding:5px;cursor:pointer}
.science-console{min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#abd5eb transparent;padding:13px 14px;background:linear-gradient(180deg,#fbfefff4,#f0f9ffed);border:1px solid #b9def4;border-radius:22px;box-shadow:0 5px 20px #3988bd2b}.science-console.running{filter:saturate(.82)}
.console-title{display:flex;align-items:center;gap:11px;padding:0 0 10px;border-bottom:1px solid #d4e9f6}.console-symbol{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#32c7f1,#0878e4);color:white;font-size:27px;box-shadow:0 3px 9px #108ee054}.console-title strong{display:block;font-size:20px;color:#10386f}.console-title small{display:block;font-size:10px;color:#6182a5;margin-top:2px}.middle-fullscreen{margin-left:auto;width:34px;height:34px;min-width:34px;border:1px solid #b6d9ef;border-radius:9px;background:#f7fcff;color:#3575b8;font-size:24px;line-height:1;cursor:pointer}
.console-section{padding:9px 0 10px;border-bottom:1px solid #dbeaf5}.console-section h3{margin:0 0 8px;display:flex;align-items:center;gap:7px;font-size:14px;color:#113b74}.console-section h3 b{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#168fe8;color:#fff;font:800 12px Arial}.console-section h3 small{margin-left:auto;font-size:10px;color:#6d8bad;font-weight:600}
.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.mode-button{min-width:0;min-height:76px;border:1px solid #d5e3ed;border-radius:13px;background:#f7f9fb;color:#16446f;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;cursor:pointer;transition:transform .18s,background .28s,box-shadow .28s,border-color .28s}.mode-button:hover,.theme-button:hover,.treatment-chip:hover{transform:translateY(-2px)}.mode-button span{font-size:23px;line-height:1}.mode-button strong{font-size:12px;white-space:nowrap}.mode-button small{font-size:9px;color:#6985a2;white-space:nowrap}.mode-button[data-mode=cause]{--accent:#ff893d;--pale:#fff2e9}.mode-button[data-mode=treat]{--accent:#22b985;--pale:#e7f9f0}.mode-button.selected{border-color:var(--accent);background:var(--pale);box-shadow:inset 0 0 0 1px var(--accent)}.mode-button.selected::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent)}
.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.theme-button{height:41px;padding:2px;border:1px solid #d0e1f0;border-radius:10px;background:#f1f7fc;color:#315d89;font-size:11px;font-weight:800;cursor:pointer;transition:transform .18s,background .3s}.theme-button.selected{border-color:#ec933e;background:#fff1dd;color:#ad5a0d;box-shadow:inset 0 0 0 1px #f3b75f}
.treatment-row{margin-top:6px}.treatment-row strong{font-size:11px;color:#345e84}.treatment-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:4px}.treatment-chip{min-height:31px;padding:2px;border:1px solid #d0e4eb;border-radius:8px;background:#f5fafb;color:#476c7f;font-size:9px;font-weight:800;cursor:pointer;transition:transform .18s,background .3s}.treatment-chip.selected{border-color:#47b992;background:#e9fbf1;color:#117452}
.condition-note{margin:8px 0 5px;font-size:11px;color:#547ba0;line-height:1.35}.condition-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.condition-summary span{min-height:30px;padding:5px 4px;background:#edf6fc;border-radius:8px;text-align:center;color:#315c80;font-size:10px;font-weight:700;line-height:1.35}.condition-summary b{font-weight:900}.condition-summary span:nth-child(1) b{color:#ee7339}.condition-summary span:nth-child(2) b{color:#128de0}.condition-summary span:nth-child(3) b{color:#8e58df}
.prediction-prompt{margin:5px 0 2px;padding:12px;border-radius:10px;background:#f0f7ff;color:#527598;font-size:12px;text-align:center}.result-readout{display:grid;grid-template-columns:1fr 1fr;gap:9px}.result-metric{padding:7px;background:#f4f9fc;border-radius:9px;border:1px solid #e0edf6}.result-metric>strong{font-size:11px}.metric-row{display:flex;align-items:center;gap:5px;margin-top:5px}.metric-row b{width:16px;font:800 11px Arial}.metric-row:nth-child(1) b{color:#ff7d42}.metric-row:nth-child(2) b{color:#199be8}.metric-row:nth-child(3) b{color:#955af0}.metric-track{flex:1;height:8px;background:#e3edf4;border-radius:8px;overflow:hidden}.metric-fill{height:100%;border-radius:8px;transition:width .09s linear}.metric-row:nth-child(1) .metric-fill{background:#ff904c}.metric-row:nth-child(2) .metric-fill{background:#2aa5eb}.metric-row:nth-child(3) .metric-fill{background:#a475ec}.metric-row em{min-width:24px;text-align:right;font-size:10px;font-style:normal;color:#355c7e}.result-conclusion{margin:8px 0 0;color:#275c83;font-size:11px;font-weight:700;line-height:1.4}.results-section.celebrate{animation:resultPulse .8s ease}@keyframes resultPulse{50%{background:#e9f8f6;border-radius:12px;box-shadow:0 0 0 5px #96e5d451}}
.display-section{border-bottom:0}.display-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.display-toggle{height:29px;border:1px solid #e0eaf1;border-radius:8px;background:#f5f8fa;color:#7190a7;font-size:10px;font-weight:750;cursor:pointer}.display-toggle.selected{background:#e8f5ff;border-color:#9cccef;color:#145c9c}.display-toggle.selected::after{content:" ●";color:#139afa}
.lab-status{margin:4px 0 0;font-size:10px;color:#6583a3;line-height:1.35;min-height:14px}.mode-button.flash,.theme-button.flash,.treatment-chip.flash,.display-toggle.flash{animation:controlFlash .5s ease}@keyframes controlFlash{45%{transform:scale(.97);filter:saturate(2);box-shadow:0 0 0 5px #ffc96570}}
.app.page-middle .footer-nav{min-height:76px;height:76px}.app.page-middle .nav-item[data-page=middle].selected .nav-title{font-size:18px}
.app .nav-item[data-page]{cursor:pointer}
@media(max-width:1500px){.middle-header{height:70px;min-height:70px}.middle-header h2{font-size:28px}.middle-brand{min-width:235px;font-size:16px}.middle-brand img{width:48px}.middle-content{grid-template-columns:minmax(0,1fr) 355px;padding:8px;gap:8px}.science-console{padding:10px}.mode-button{min-height:67px}.console-title strong{font-size:17px}.treatment-chip{font-size:8px}.timeline-stages{font-size:9px}}
@media(max-width:1050px){.middle-content{grid-template-columns:minmax(0,1fr) 300px}.middle-brand{min-width:190px}.middle-header h2{font-size:23px}.trial-grid{gap:5px}.trial-head{padding:5px}.trial-head small{font-size:10px}.trial-caption{font-size:9px;padding:0 6px}.science-console{padding:8px}.mode-button strong{font-size:10px}.mode-button small{display:none}.console-section h3 small{font-size:8px}.experiment-timeline{gap:5px;padding:7px}.timeline-title{width:72px;min-width:72px}.timeline-title strong{font-size:11px}.timeline-play{width:40px;min-width:40px;height:40px}.timeline-replay{width:30px;min-width:30px;height:30px}.timeline-stages{font-size:8px}}
@media(max-width:760px){.middle-page{min-height:840px}.middle-header{padding:6px 10px;gap:10px}.middle-brand{min-width:0;font-size:12px}.middle-brand img{width:36px;height:36px}.middle-header h2{font-size:18px}.middle-content{display:flex;flex-direction:column;overflow:auto}.lab-area{min-height:590px}.science-console{min-height:420px}.app.page-middle .footer-nav{position:sticky;bottom:0;z-index:10}}
@media(prefers-reduced-motion:reduce){.mode-button,.theme-button,.treatment-chip,.display-toggle,.middle-map-pane{transition:none!important;animation:none!important}}

/* Fixed-view 2D laboratory. The three equal SVG trays share one landscape. */
.app.page-middle{background:#d8f0fb}
.middle-page{background:linear-gradient(180deg,#c6eaff 0%,#e4f6ff 42%,#e0f2ee 100%)}
.middle-header{background:linear-gradient(90deg,#d9f3ffed 0%,#e9f9ffca 52%,#d2edffe8 100%),url("assets/header-panorama.png") center 56%/cover;border-bottom:2px solid #9dd5f2}
.middle-header h2{font-size:clamp(25px,2.4vw,43px);text-shadow:0 2px 0 #fff,0 3px 10px #579ed469}
.middle-header h2 span{color:#f06521}
.middle-content{gap:12px;padding:10px 14px 11px}
.lab-area{gap:8px}
.lab-heading{height:32px;min-height:32px;text-shadow:0 1px 0 #fff}
.trial-grid{gap:0;overflow:hidden;border-radius:19px;background:#d7eeed;box-shadow:inset 0 0 0 1px #a9d6e7,0 5px 18px #5088a93b;isolation:isolate}
.trial-grid::before{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(180deg,#e9f7ff12 0%,#ffffff00 52%,#d9b87a5e 100%),url("assets/header-panorama.png") center 58%/cover;filter:saturate(1.10) contrast(1.02)}
.trial-card{position:relative;z-index:1;min-width:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}
.trial-card+.trial-card::before{content:"";position:absolute;top:13%;bottom:7%;left:0;width:1px;background:linear-gradient(transparent,#fff9,#fff9,transparent);pointer-events:none}
.trial-head{position:absolute;z-index:3;left:6%;bottom:19%;height:auto;min-height:0;max-width:88%;display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#ffffffed;border:1px solid #ffffff;box-shadow:0 4px 9px #5f442b42}
.trial-head strong{font-size:12px}.trial-head small{font-size:11px;margin:0;max-width:240px;color:#2d4a6c}.trial-badge{width:29px;height:29px;min-width:29px;font-size:17px;box-shadow:0 2px 4px #2e4a5940}
.two-viewport{flex:1;min-height:0;position:relative;overflow:hidden;pointer-events:none}
.two-viewport .tray-svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 4px 2px #70513b30)}
.trial-caption{position:absolute;z-index:3;bottom:3px;left:5%;right:5%;height:25px;min-height:25px;padding:0 8px;border-radius:8px;background:#fffdf9b8;color:#365e78;font-size:10px}
.trial-caption strong{font-size:10px}
.experiment-timeline{min-height:83px;height:83px;background:#ffffffec;border-color:#b2ddf2;border-radius:17px}
.timeline-play{background:linear-gradient(140deg,#49b9ff,#0870e8)}
.science-console{background:linear-gradient(180deg,#ffffffed,#f1f9ffed);box-shadow:0 7px 20px #3c8bbb37}
.app.page-middle .nav-item[data-page=middle].selected{box-shadow:0 5px 14px #168be665,inset 0 1px 0 #fff}
@media(max-width:1500px){.middle-header h2{font-size:29px}.trial-head{bottom:18%;padding:4px 7px}.trial-head small{font-size:9px}.trial-badge{width:24px;height:24px;min-width:24px;font-size:14px}.trial-caption{font-size:9px}.lab-heading{height:29px;min-height:29px}}
@media(max-width:1050px){.trial-head{left:3%;bottom:17%;max-width:94%;gap:3px}.trial-head strong{font-size:10px}.trial-head small{font-size:8px}.trial-caption span{display:none}}

/* Photo-matched fixed viewpoint: only page two uses this laboratory layout. */
.app.page-middle{background:linear-gradient(180deg,#b9e4fb 0%,#e9f7fc 69%,#d4b275 100%)}
.middle-page{position:relative;background:none}
.middle-header{position:absolute;top:10px;left:18px;right:calc(31.8vw + 44px);height:104px;min-height:0;z-index:4;display:flex;align-items:flex-start;gap:36px;padding:0;background:none;border:0;box-shadow:none;pointer-events:none}
.middle-brand{flex:0 0 290px;min-width:290px;height:70px;display:flex;align-items:center;gap:8px;padding:5px 10px;background:#f6fbffdc;border:1px solid #d5f0ff;border-radius:0 0 24px 24px;box-shadow:0 3px 15px #2689c43b;color:#092e70}
.middle-brand img{width:76px;height:62px}
.middle-brand span{display:block;min-width:0}.middle-brand strong{display:block;font-size:22px;line-height:1.1;white-space:nowrap}.middle-brand small{display:block;margin-top:3px;color:#3166a7;font:700 9px Arial,sans-serif;letter-spacing:.1em;white-space:nowrap}
.middle-title{min-width:0;text-align:center;padding-top:4px;flex:1}.middle-header h2{margin:0;white-space:nowrap;font-size:clamp(32px,3.25vw,58px);letter-spacing:.025em;line-height:1.15;color:#073a88;text-shadow:0 2px 0 #fff,0 3px 9px #5b7f9b8a}
.middle-header h2 span{color:#ef6021;background:linear-gradient(90deg,#d72617,#f08a25,#ae5a1d);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.middle-title p{margin:4px 0 0;color:#064b8d;font-size:clamp(11px,1.1vw,18px);font-weight:800;white-space:nowrap;text-shadow:0 2px 3px #fff}
.middle-content{grid-template-columns:minmax(0,1fr) minmax(390px,31.8vw);gap:12px;padding:14px 10px 5px}
.lab-area{position:relative;gap:0}
.lab-heading{position:absolute;z-index:6;top:112px;right:9px;height:auto;min-height:0;padding:0;pointer-events:none}
.lab-heading span{display:none}.lab-heading button{pointer-events:auto;height:33px;border:1px solid #b7def4;background:#f7fcffeb;box-shadow:0 3px 9px #1856814d}
.trial-grid{flex:1;border:0;border-radius:0;overflow:hidden;background:linear-gradient(180deg,#a6d9f8 0%,#f4e6b9 65%,#d7b276 100%);box-shadow:none;isolation:isolate;container-type:inline-size}
.trial-grid::before{display:none}
.lab-photo{position:absolute;z-index:0;left:0;top:70px;width:100%;height:62.8319cqw;object-fit:fill;max-width:none;display:block;pointer-events:none;user-select:none}
.lab-photo.slope-photo{opacity:0;transition:opacity .28s ease}
.trial-grid.slope-comparison .lab-photo.slope-photo{opacity:1}
.trial-card{z-index:1;border:0;background:none;box-shadow:none;overflow:visible;min-width:0;min-height:0}
.trial-card+.trial-card::before{display:none}
.two-viewport{position:absolute;inset:0;overflow:visible}
.two-viewport .photo-overlay{position:absolute;top:70px;left:calc(-100% * var(--tray-index));width:300%;height:auto;max-width:none;display:block;overflow:visible;filter:none;pointer-events:none}
.trial-head{left:13%;top:calc(70px + 43cqw);bottom:auto;height:auto;min-height:0;max-width:82%;padding:5px 12px;border:1px solid #fff;border-radius:999px;background:#ffffffed;box-shadow:0 5px 12px #45301866}
.trial-head strong{font-size:15px}.trial-head small{font-size:12px;max-width:210px;color:#173d70}.trial-badge{width:33px;height:33px;min-width:33px;font-size:20px}
.trial-caption{display:none}
.experiment-timeline{height:100px;min-height:100px;z-index:7;padding:12px 17px;gap:15px;border:1px solid #e5f5ff;border-radius:18px;background:#ffffffef;box-shadow:0 5px 18px #454b4363}
.timeline-title{width:142px;min-width:142px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:10px 12px;border-radius:999px;background:#ecf6fc}.timeline-title strong{font-size:17px;color:#123b75}.timeline-title small{font-size:10px}
.timeline-control input{appearance:none;-webkit-appearance:none;height:20px;border:2px solid #bad2e1;border-radius:999px;background:linear-gradient(90deg,#ff9d28 0 var(--progress,0%),#d7e6ef var(--progress,0%) 100%);box-shadow:inset 0 1px 3px #7f97a94a}
.timeline-control input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:37px;height:37px;border:3px solid #fff;border-radius:50%;background:linear-gradient(135deg,#ffc05a,#ff7b10);box-shadow:0 2px 9px #d16b1d8c;cursor:grab}
.timeline-control input::-moz-range-thumb{width:31px;height:31px;border:3px solid #fff;border-radius:50%;background:linear-gradient(135deg,#ffc05a,#ff7b10);box-shadow:0 2px 9px #d16b1d8c;cursor:grab}
.timeline-stages{margin-top:7px;font-size:12px;color:#14457d;font-weight:750}
.timeline-play{width:64px;height:64px;min-width:64px;font-size:29px;background:linear-gradient(135deg,#42b5ff,#0674f1);box-shadow:0 4px 15px #117bd9ab}
.timeline-replay{width:45px;height:45px;min-width:45px}
.speed-control{font-size:11px}.speed-control select{padding:8px 9px;font-size:16px}
.science-console{position:relative;z-index:6;padding:14px 18px 12px;border:1px solid #ecf6fd;border-radius:20px;background:linear-gradient(145deg,#fbfdfff0,#f1f9fff2);box-shadow:0 8px 24px #3b6e9190;overflow-x:hidden}
.console-title{gap:14px;padding:0 0 13px}.console-symbol{width:56px;height:56px;border-radius:16px;font-size:34px}.console-title strong{font-size:26px}.console-title small{font-size:12px}.middle-fullscreen{width:42px;height:42px;min-width:42px;font-size:27px}
.console-section{padding:11px 0 12px}.console-section h3{font-size:16px;margin-bottom:9px}.console-section h3 b{width:24px;height:24px;font-size:13px}.console-section h3 small{font-size:11px}
.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mode-button{min-height:106px;border-radius:14px}.mode-button span{font-size:30px}.mode-button strong{font-size:15px}.mode-button small{font-size:10px}.mode-button.selected{box-shadow:inset 0 0 0 1px var(--accent),0 3px 10px #5c7d9538}
.theme-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.theme-button{height:53px;font-size:12px}.theme-button.selected{background:linear-gradient(160deg,#fff2d8,#ffad35);border-color:#ff9222;color:#9b4d00;box-shadow:0 3px 7px #d4812a59}
.condition-note{font-size:11px;margin:8px 0 5px}.condition-summary span{min-height:35px;font-size:11px;padding:7px 3px;background:#f8fbff;border:1px solid #e3edf6}
.prediction-prompt{font-size:13px}.result-metric{padding:9px}.result-metric>strong{font-size:13px}.metric-row b,.metric-row em{font-size:12px}.metric-track{height:10px}
.display-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.display-toggle{height:36px;font-size:12px}.lab-status{font-size:10px}
.app.page-middle .footer-nav{height:104px;min-height:104px;padding:10px 23px 14px;gap:17px;border:0;background:linear-gradient(180deg,#c79c5c16,#c4925080);box-shadow:none}
.app.page-middle .nav-context{display:none}
.app.page-middle .nav-item{height:70px;border:2px solid #fff;border-radius:16px;background:linear-gradient(105deg,#ffffffed,#e5f5ffdf 58%,#f9fdffdf);box-shadow:0 4px 16px #396b8c78;color:#17477e}
.app.page-middle .nav-item.selected{border-color:#0a89f5;box-shadow:0 0 0 2px #ffffffcb,0 5px 15px #156cbb91;background:linear-gradient(105deg,#f9feff,#cceeff 70%,#f8fcff);color:#0c3973}
.app.page-middle .nav-item .nav-title{font-size:19px}.app.page-middle .nav-index{font-size:27px}.app.page-middle .nav-illustration{width:65px;min-width:65px;height:50px}
.theme-button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px}.theme-button span{display:block;font-size:21px;line-height:1;color:#1488d5}.theme-button[data-theme=slope] span{color:#ec8a26}.theme-button[data-theme=vegetation] span{color:#13ab79}
.condition-summary span{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;overflow:hidden}.condition-summary span::before{content:"";display:block;width:100%;height:44px;border-radius:5px;background-image:url("assets/middle-lab-bare.png");background-repeat:no-repeat;background-size:300% auto;background-position:left 43%;box-shadow:inset 0 0 0 1px #ffffff9c}.condition-summary span:nth-child(2)::before{background-position:center 43%}.condition-summary span:nth-child(3)::before{background-position:right 43%}
.middle-page.slope-experiment .condition-summary span::before{background-image:url("assets/middle-lab-slopes.png")}
@media(max-width:1500px){.middle-header{right:calc(31.8vw + 34px);gap:13px}.middle-brand{flex-basis:246px;min-width:246px;height:61px}.middle-brand img{width:59px;height:55px}.middle-brand strong{font-size:18px}.middle-brand small{font-size:8px}.middle-header h2{font-size:clamp(30px,3.2vw,48px)}.middle-title p{font-size:11px}.middle-content{grid-template-columns:minmax(0,1fr) minmax(355px,31.8vw);gap:8px;padding:10px 8px 4px}.science-console{padding:10px 12px}.console-title strong{font-size:20px}.console-symbol{width:44px;height:44px;font-size:28px}.mode-button{min-height:80px}.mode-button strong{font-size:12px}.mode-button small{font-size:9px}.theme-button{height:45px;font-size:10px}.console-section{padding:8px 0}.console-section h3{font-size:14px}.condition-summary span{font-size:9px}.display-toggle{height:29px;font-size:10px}.experiment-timeline{height:86px;min-height:86px}.timeline-title{width:112px;min-width:112px}.timeline-title strong{font-size:13px}.timeline-stages{font-size:10px}.timeline-play{width:52px;min-width:52px;height:52px}.app.page-middle .footer-nav{height:85px;min-height:85px;padding:7px 13px 9px}.app.page-middle .nav-item{height:60px}.app.page-middle .nav-item .nav-title{font-size:14px}.trial-head{bottom:auto;padding:4px 8px}.trial-head strong{font-size:11px}.trial-head small{font-size:9px}.trial-badge{width:25px;height:25px;min-width:25px;font-size:15px}}
@media(max-width:1050px){.middle-content{grid-template-columns:minmax(0,1fr) 300px}.middle-header{right:320px}.middle-brand{flex:0 0 190px;min-width:190px}.middle-brand strong{font-size:14px}.middle-brand img{width:46px}.middle-title p{display:none}.middle-header h2{font-size:25px}.science-console{padding:8px}.mode-button small{display:none}.theme-button{font-size:9px}.app.page-middle .nav-item .nav-title{font-size:11px}.app.page-middle .nav-illustration{display:none}}

