:root{color:#000;--muted:#222;--ext-ink:#000;--ext-muted:#222}body{background:#fff;color:#000;font-size:20px;font-weight:550}.app{padding:0 14px}header{min-height:54px;height:auto;padding:6px 0}.brand{font-size:23px;color:#164b39}.top-meta button{font-size:18px;min-height:44px}.top-meta{gap:6px}main{grid-template-columns:minmax(0,1fr) 380px;gap:14px;padding:8px 0}.intro{min-height:44px;margin-bottom:7px!important;gap:8px;flex-wrap:wrap}h1{font-size:25px}.mode-tabs{margin:0}.mode-tabs button{font-size:18px;min-height:44px}.workspace{display:flex;flex-direction:column;min-width:0}.stage,body.division-mode .stage,body.coiling-mode .stage{height:auto;min-height:260px;flex:1}.workspace{height:calc(100dvh - 80px)}.stage-actions{top:7px;right:7px;left:7px;display:flex;justify-content:flex-end;width:auto;gap:4px;flex-wrap:wrap}.stage-actions button{font-size:17px;min-height:44px;padding:5px 8px}.stage-tag{top:62px;left:14px;font-size:18px;max-width:90%}.legend{font-size:17px;bottom:12px;left:14px}.label{font-size:18px;background:#10292f;color:#fff}#stage-note{display:none}.interaction-help{font-size:18px;line-height:1.4;margin-top:6px}.interaction-help[open]{background:#fff;z-index:5}.interaction-help-body{font-size:18px}aside{padding:0;gap:8px}.observation,body.division-mode .observation{padding:12px}.observation h2,body.division-mode h2{font-size:23px;margin-bottom:7px}#card-body,body.division-mode #card-body{font-size:19px;color:#000;line-height:1.5;margin-bottom:8px}.subtle,#count-note{font-size:18px;line-height:1.4;color:#000;margin:7px 0}.structure-list button{font-size:20px;padding:10px 3px;min-height:44px}.structure-list span{font-size:18px;color:#222}.wide,.cell-type button{font-size:19px;min-height:44px}.toggles{font-size:18px;gap:4px 10px}.metric-heading{font-size:18px;margin-top:8px}.metrics span{font-size:18px;color:#000}.metrics strong{font-size:30px}.chromosome-picker{font-size:18px}.transport{margin-top:7px;padding:7px 10px}.timeline-head,#time-label{font-size:18px}.timeline-head>span:last-child{font-size:16px}.play-actions button{font-size:18px;min-height:42px;padding:6px 10px}.speed-label{font-size:18px}.phases{margin-top:6px;grid-template-columns:repeat(4,1fr)}.phases button{font-size:17px;min-height:36px;padding:4px}.transport-row{gap:6px}.coil-copy{font-size:20px}.coil-metric span{font-size:18px}.coil-metric{padding:10px 0}.packing-legend{font-size:18px}dialog{color:#000;overflow:auto}dialog p{font-size:19px}.eyebrow{font-size:17px;color:#222}
body.study-active main{grid-template-columns:minmax(0,.95fr) minmax(560px,1.05fr)}.lab-extension{padding:10px;margin:0;align-self:start;border-radius:12px;min-width:0}.ext-head{display:block;position:relative}.ext-head-text{display:none}#close-lab{font-size:18px;min-height:40px;padding:4px 10px;margin-bottom:7px}.ext-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}.ext-tabs button{font-size:18px;min-height:44px;padding:5px}.ext-panel{margin-top:10px}.ext-note,.ext-score,.ext-toolbar .ext-score{font-size:18px;color:#000;line-height:1.4}.ext-toolbar{margin-top:8px;gap:6px}.ext-toolbar button{font-size:18px;min-height:42px;padding:5px 8px}.ext-toggle{font-size:17px}.sort-pool{gap:5px;padding:6px;min-height:72px}.sort-slots{gap:5px;margin-top:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.sort-card{width:auto;min-width:0;flex:1 1 23%;padding:6px}.sort-card h3,.sort-card .name{font-size:18px}.sort-card p,.sort-card .desc{display:none}.sort-card svg{height:48px;max-width:100%}.sort-slot{min-height:90px;padding:5px}.sort-slot .slot-no{font-size:18px}.sort-slot .sort-card{width:100%;margin:0}.sort-card small,.sort-card .counts{font-size:16px}.study-detail{font-size:18px;margin-top:8px;color:#000}.study-detail summary{cursor:pointer;min-height:36px}.study-detail .turning{display:block}.study-detail p{font-size:18px;line-height:1.5}.count-grid{display:block}.count-figure{overflow:visible}.count-figure svg{width:100%;min-width:0;height:auto}.count-side{display:flex;align-items:center;gap:10px;margin-top:8px}.count-readout{flex:1;padding:8px;font-size:18px}.count-readout h3{font-size:20px}.count-readout p,.count-readout span{font-size:18px}.count-actions{display:flex;gap:5px;flex-wrap:wrap;max-width:210px}.count-actions button{font-size:18px;min-height:40px;padding:5px 9px}.chart-legend{font-size:18px;gap:10px}.count-main>.ext-note{font-size:18px;margin:5px 0}.swipe-hint{display:none}.cycle-grid{grid-template-columns:minmax(230px,1fr) minmax(230px,1fr);gap:10px}.cycle-figure svg{width:100%;height:auto}.cycle-card{padding:9px}.cycle-card h3{font-size:21px;margin:0 0 7px}.cycle-card p,.cycle-legend,.opt-list button,.ext-feedback,.ext-info{font-size:18px;line-height:1.45;color:#000}.opt-list button{padding:7px;min-height:44px}.cycle-card+.cycle-card{margin-top:8px}.judge-wrap{display:block}.judge-card{padding:12px}.judge-q{font-size:23px;line-height:1.6}.judge-actions button{font-size:20px;min-height:46px}.judge-fb,.judge-nav,.judge-result{font-size:19px;line-height:1.5;color:#000}.judge-side{display:flex;gap:8px;margin-top:10px}.judge-side .cycle-card{flex:1;margin:0}.judge-idx,.judge-tag{font-size:18px}.ext-banner{font-size:18px;line-height:1.4}
@media(max-width:1100px){main{grid-template-columns:minmax(0,1fr) 350px;gap:10px}body.study-active main{grid-template-columns:minmax(0,.8fr) minmax(500px,1fr)}.intro h1{font-size:23px}.mode-tabs button{font-size:17px}.cycle-grid{display:block}.cycle-figure{max-width:280px;margin:auto}.cycle-side{display:flex;gap:8px}.cycle-side>.cycle-card{flex:1}.cycle-side>.cycle-card+.cycle-card{margin:0}.cycle-grid>.ext-note{display:none}}
@media(max-width:850px),(max-height:560px){.app{padding:0 9px}main,body.study-active main{display:flex;flex-direction:column}.workspace{height:auto}.stage,body.division-mode .stage,body.coiling-mode .stage{height:400px;flex:none;min-height:360px}.stage-actions{top:7px;left:7px;right:7px;flex-wrap:wrap}.stage-actions button{flex:initial;width:auto;min-width:44px;font-size:17px}.stage-tag{top:110px}.top-meta{flex-wrap:wrap}.top-meta button{font-size:18px}.brand{font-size:22px}.phases{grid-template-columns:repeat(4,1fr)}.transport-row{flex-wrap:wrap}.lab-extension{width:100%}.cycle-grid{display:block}.cycle-side{display:block}.cycle-side>.cycle-card+.cycle-card{margin-top:8px}.count-side{display:block}.count-actions{max-width:none}.sort-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.sort-card{flex-basis:30%}.ext-tabs{grid-template-columns:repeat(2,1fr)}.observation,body.division-mode .observation{padding:12px}.label{font-size:18px}}

.stage-actions{flex-direction:row!important}.stage-actions button{width:auto;flex:0 0 auto}.stage-actions button span{display:inline}.sort-pool{min-height:70px}.sort-pool .stage-card{width:calc(25% - 5px);padding:5px;min-height:85px}.stage-card .sc-name{font-size:18px;line-height:1.3;color:#000}.stage-card .sc-meta{font-size:16px;color:#000}.stage-card svg{height:50px;max-height:50px}.sort-slot{min-height:100px}.sort-slot .stage-card{padding:4px}.sort-pool.is-empty{min-height:45px}.sort-pool.is-empty::after{font-size:18px;color:#000}.sort-slot .slot-no{color:#222}.count-side{flex-direction:row;align-items:stretch}.count-readout{min-width:0;padding:8px;flex:1}.count-readout .cr-cell,.count-readout .cr-kicker,.count-readout .cr-group{display:none}.count-nums{gap:6px;padding:0}.count-nums>div{padding:6px}.count-nums b{font-size:25px}.count-nums span{font-size:17px!important}.count-readout .cr-mech{font-size:18px;line-height:1.35;margin-top:5px}.count-actions{max-width:150px;align-content:start}.chart-legend{font-size:18px!important}.count-figure .ax{font-size:25px;fill:#000}.count-figure .xt{font-size:24px;fill:#000}.count-figure .grp{font-size:24px;fill:#000;letter-spacing:0}.count-figure svg{overflow:visible}.count-main>.ext-note{margin:5px 0;font-size:18px}
@media(max-width:850px){.sort-pool .stage-card{width:calc(33% - 5px)}.count-side{display:block}.count-actions{max-width:none}.count-figure .xt{font-size:22px}.stage-actions button{font-size:17px}}


#close-lab{display:none}.stage-actions button:not(:disabled){color:#fff!important;background:#143a42!important;border-color:#72949a}.stage-tag,.legend{color:#fff}.chart-legend button{font-size:18px!important;min-height:40px;color:#000}.count-readout .cr-mech,.count-nums span{color:#000!important}.count-actions{max-width:148px}.study-detail{display:inline-block;vertical-align:top;margin-right:12px}.study-detail[open]{display:block}.cycle-view-tabs{display:flex;gap:8px;margin-bottom:8px}.cycle-view-tabs button{font:inherit;font-size:18px;min-height:42px;padding:5px 12px;background:white;color:#000;border:1px solid #8b9f8e;border-radius:8px}.cycle-view-tabs button[aria-pressed=true]{background:#17593f;color:#fff}.cycle-grid{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(280px,1.1fr);gap:10px}.cycle-side{display:block}.cycle-card[hidden]{display:none!important}.cycle-side>.cycle-card{margin:0}.cycle-card p{margin:6px 0;font-size:18px;line-height:1.4}.cycle-legend{display:grid;grid-template-columns:1fr 1fr;gap:4px}.cycle-legend button{font-size:18px!important;min-height:44px;padding:5px;color:#000!important;gap:4px}.cycle-legend button span{font-size:18px!important;color:#000!important}.cycle-legend button .pct{font-size:17px!important}.cycle-figure{max-width:none}.cycle-figure svg text{font-weight:700;fill:#000}.cycle-figure .cy-label{font-size:23px}.cycle-grid>.ext-note{font-size:18px}.opt-list button{font-size:18px;color:#000;line-height:1.4;min-height:48px}.ext-feedback{font-size:18px;color:#000}.cycle-grid .ext-note{font-size:18px;line-height:1.4}.sort-pool .stage-card{min-height:80px}.sort-slot{min-height:90px}
@media(max-width:850px){.cycle-grid{display:block}.cycle-figure{max-width:340px;margin:auto}.cycle-legend button{min-height:48px}.study-detail{display:block}.stage-actions button{font-size:17px}}


.review-open{font:650 18px/1.3 "Microsoft YaHei",sans-serif;min-height:42px;padding:6px 10px;border:1px solid #8ca79d;border-radius:8px;background:#fff;color:#000;cursor:pointer;white-space:nowrap}.review-heading-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.review-dialog{box-sizing:border-box;width:min(800px,calc(100vw - 28px));max-height:calc(100dvh - 40px);padding:20px;background:#fff;color:#000;border:1px solid #777;border-radius:12px;font:550 20px/1.55 "Microsoft YaHei",sans-serif;overflow:auto}.review-dialog::backdrop{background:#102a29aa}.review-dialog p,.review-dialog li,.review-dialog a{font-size:20px;line-height:1.55;color:#000;overflow-wrap:anywhere}.review-dialog a{text-decoration:underline;color:#004b82}.review-dialog button{font-size:20px;min-height:44px}.review-dialog h2{font-size:26px}.review-dialog h3{font-size:22px}.review-dialog [hidden]{display:none}#review-site-tools{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){.review-heading-row{flex-wrap:wrap}.review-heading-row h1{flex-basis:100%}.review-dialog{padding:14px}}

.play-actions{flex-wrap:wrap}.play-actions button{white-space:nowrap;flex:0 0 auto}.speed-label{white-space:nowrap}.cycle-legend button{display:flex;flex-wrap:wrap;justify-content:flex-start;align-content:center;column-gap:6px;row-gap:0}.cycle-legend button span:not(.pct){white-space:nowrap}.cycle-legend button .pct{margin-left:0;white-space:nowrap}.cycle-legend button span:nth-child(2){white-space:normal}.cycle-figure svg text{font-size:23px}.cycle-figure svg text.cy-center{font-size:25px}
@media(min-width:600px) and (max-width:850px){.cycle-grid{display:grid;grid-template-columns:1fr 1fr}.cycle-figure{max-width:none}.cycle-legend{grid-template-columns:1fr 1fr}.stage,body.division-mode .stage{height:300px;min-height:300px}}

html.review-large-text,html.review-large-text body{height:auto;overflow:auto}.review-large-text main,.review-large-text body.study-active main{display:flex;flex-direction:column}.review-large-text .workspace{height:auto}.review-large-text .stage,.review-large-text body.division-mode .stage{height:600px;min-height:600px;flex:none}.review-large-text .lab-extension{width:100%}.review-large-text .top-meta,.review-large-text .transport-row,.review-large-text .play-actions{flex-wrap:wrap}.review-large-text .cycle-grid{grid-template-columns:1fr 1fr}.review-large-text .cycle-legend button{flex-wrap:wrap}.review-large-text .sort-pool .stage-card{width:calc(25% - 6px);height:auto}.review-large-text .sort-slots{grid-template-columns:repeat(4,1fr)}.review-large-text .stage-tag{top:120px}.review-large-text .stage-actions button{white-space:normal}

.review-large-text body{overflow:visible}button{touch-action:manipulation}

.cycle-figure svg text{font-size:45px;opacity:1}.cycle-figure svg text.cy-center{font-size:40px}.cycle-legend button span:nth-child(2){white-space:nowrap}
