.sc-board{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:8px 16px;box-sizing:border-box;font-size:17px;color:#2e4950}.sc-line{text-align:center;margin:0;line-height:1.4;font-size:16px}.sc-clock-layout{display:flex;align-items:center;justify-content:center;gap:50px}.sc-vertical{display:grid;grid-template-columns:auto 60px 60px;gap:6px 12px;align-items:center;text-align:right;font-size:25px;font-variant-numeric:tabular-nums}.sc-vertical b{font-size:16px;font-weight:400}.sc-sum{border-top:1.5px solid #7da59c;padding-top:4px}.sc-clock-note{font-size:19px;line-height:1.6}.sc-clock-note small{font-size:14px}.sc-two-cards{display:flex;justify-content:center;gap:25px}.sc-two-cards>span{border:1px solid #c6d6d0;border-radius:6px;padding:10px 30px;text-align:center;line-height:1.5}.sc-age-axis{position:relative;min-height:124px;margin:0 15px}.sc-age-rule{position:absolute;top:78px;left:0;width:100%;height:2px;background:repeating-linear-gradient(90deg,#86a99f 0%,#86a99f calc(33.333% - 1px),#437c70 calc(33.333% - 1px),#437c70 33.333%)}.sc-age-point{position:absolute;top:0;min-height:72px;text-align:center;font-size:16px;line-height:1.3;display:flex;flex-direction:column;justify-content:end}.sc-age-past{left:18%;width:25%}.sc-age-same{left:51%;width:25%}.sc-age-now{right:-3%;width:22%}.sc-age-units{position:absolute;top:90px;left:0;width:100%;display:flex;justify-content:space-between;font-size:13px}.sc-route{position:relative;margin:5px 37px;min-height:92px}.sc-route-line{position:absolute;top:42px;left:0;right:0;border-top:3px solid #8eb1a7}.sc-end{position:absolute;top:37px;background:#fff;padding:0 4px}.sc-a{left:-19px}.sc-b{right:-19px}.sc-runner{position:absolute;transform:translateX(-50%);white-space:nowrap;font-size:17px;border:1px solid #bdd2c9;background:#edf5f1;padding:3px 7px;border-radius:4px}.sc-runner-b{background:#fff2d4;border-color:#dfc78f}.sc-meet{position:absolute;top:0;transform:translateX(-50%);text-align:center;line-height:1.3;font-size:15px}.sc-meet:after{content:'';height:34px;position:absolute;left:50%;top:38px;border-left:1px dashed #7da59c}.sc-motion-info{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;font-size:15px;line-height:1.4}.sc-motion-info b{display:block;font-size:13px;color:#637d80;margin-bottom:2px}.sc-groups{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:100%;padding:4px 8px;box-sizing:border-box}.sc-groups button{min-height:83px;border:1px solid #b5cdc3;border-radius:6px;background:#f2f7f4;color:#34544e;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:17px}.sc-groups strong{font-size:24px}.sc-groups small{font-size:13px}#scene:has(.sc-board){overflow:auto;align-items:stretch}.simple-experience #scene:has(.pw-logic),.simple-experience #scene:has(.model-html){align-items:flex-start;overflow:auto}.simple-experience #scene .pw-tool:has(.pw-logic){height:auto;min-height:100%;overflow:visible}.simple-experience #scene .pw-logic{height:auto;min-height:0}.simple-experience #scene .pw-logic button{min-height:25px}.simple-experience #scene .model-html{width:100%;margin:0}.simple-experience .model-html table button{min-height:25px}
@container mathapp (max-height:520px){.sc-board{gap:6px;padding:3px 9px;font-size:13px}.sc-line{font-size:13px;line-height:1.35}.sc-clock-layout{gap:24px}.sc-vertical{font-size:20px;grid-template-columns:auto 45px 45px;gap:3px 8px}.sc-vertical b{font-size:13px}.sc-clock-note{font-size:14px;line-height:1.45}.sc-clock-note small{font-size:12px}.sc-two-cards{gap:14px}.sc-two-cards>span{padding:7px 20px}.sc-age-axis{min-height:98px;margin:0 8px}.sc-age-point{font-size:13px;min-height:52px}.sc-age-rule{top:58px}.sc-age-units{top:66px;font-size:12px}.sc-route{min-height:76px;margin:1px 25px}.sc-route-line{top:33px}.sc-end{top:28px}.sc-runner{font-size:13px;padding:2px 5px}.sc-runner-b{top:45px!important}.sc-motion-info{font-size:12px;gap:3px 12px}.sc-motion-info b{font-size:12px;margin:0}.sc-meet{font-size:12px}.sc-meet:after{top:30px;height:25px}.sc-groups{gap:6px;padding:2px 5px}.sc-groups button{min-height:64px;font-size:13px;gap:2px}.sc-groups strong{font-size:19px}.sc-groups small{font-size:12px}.simple-experience #scene .pw-logic{font-size:12px}.simple-experience #scene .pw-logic td{height:25px}.simple-experience #scene .pw-logic th{padding:1px 3px}.simple-experience #scene .pw-logic button{min-height:25px}.simple-experience .model-html td,.simple-experience .model-html th{padding:1px}.simple-experience .model-html table{font-size:12px}.simple-experience .model-html table button{min-height:25px;padding:2px 5px}}

.sc-grid-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:center}.sc-grid-area{position:relative;padding:24px 0 0 45px}.sc-grid-top{position:absolute;top:0;left:45px;right:0;text-align:center;font-size:16px}.sc-grid-left{position:absolute;left:0;top:50%;font-size:15px;width:40px;text-align:center}.sc-unit-grid{display:grid;gap:3px;aspect-ratio:1.5;max-height:190px;width:100%}.sc-unit-grid>span{border:1px solid #a5c2b6;border-radius:2px;background:#e3eee7}.sc-grid-legend{display:flex;flex-direction:column;gap:14px;font-size:19px;text-align:center}.sc-grid-legend b{font-size:16px;font-weight:400}.sc-grid-legend strong{font-weight:600}
@container mathapp (max-height:520px){.sc-grid-layout{gap:12px;grid-template-columns:1.1fr 1fr}.sc-grid-area{padding:19px 0 0 35px}.sc-grid-top{font-size:13px;left:35px}.sc-grid-left{font-size:13px;width:30px}.sc-unit-grid{max-height:119px;gap:2px}.sc-grid-legend{gap:8px;font-size:15px}.sc-grid-legend b{font-size:12px}}
.sc-partition-row{display:grid;grid-template-columns:105px 1fr;gap:8px;align-items:center}.sc-partition-row>b{font-size:15px;font-weight:400;text-align:right}.sc-partition{display:flex;min-height:38px;border:1px solid #9dbfb0;border-radius:4px;overflow:hidden}.sc-partition>span{display:flex;align-items:center;justify-content:center;border-right:1px solid #adc8bb;background:#edf5f1;font-size:16px;padding:5px 3px;min-width:0;line-height:1.3}.sc-accent{background:#fff0cc!important}.sc-table-wrap{height:100%;min-height:0;overflow:auto;width:100%}.sc-table{border-collapse:collapse;width:100%;font-size:16px;text-align:center;line-height:1.35}.sc-table th{position:sticky;top:0;background:#edf4f2;font-weight:500;z-index:1}.sc-table th,.sc-table td{padding:7px 5px;border:1px solid #d3dfd8}.sc-table .sc-current td,.sc-table .sc-current th{background:#fff0cf}.sc-pattern{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;font-size:28px}.sc-pattern small{display:block;font-size:13px;text-align:center}.sc-group-blocks{display:grid;grid-template-columns:repeat(13,1fr);gap:4px}.sc-group-blocks span{background:#edf4f0;border:1px solid #b3cabb;text-align:center;padding:6px 1px;border-radius:3px}.sc-remainder{display:flex;gap:14px;align-items:center;justify-content:center;font-size:24px}.sc-remainder>span:first-child,.sc-remainder>span:last-child{font-size:14px}.sc-target{background:#fff0cb;border:1px solid #d7b970;padding:2px 6px;border-radius:4px}.sc-chase{position:relative;padding-bottom:21px}.sc-chase-row{position:relative;padding-left:35px;margin-bottom:15px;display:flex;min-height:36px}.sc-chase-row>b{position:absolute;left:0;top:6px;font-weight:400}.sc-chase-full{display:flex;flex:1;border:1px solid #95b8ac;border-radius:3px;background:#edf4f0;min-height:35px}.sc-chase-full>span{display:flex;align-items:center;justify-content:center;flex:4;border-left:1px solid #a6c1b6}.sc-chase-full>.sc-first{flex:1;background:#fff0ca;border-left:0}.sc-chase-short{margin-left:33.333%;width:66.667%;background:#f8f1df;border:1px solid #cbbb91;display:flex;align-items:center;justify-content:center;border-radius:3px}.sc-chase-gap{position:absolute;left:23%;top:88px;font-size:14px;color:#8a651d}
@container mathapp (max-height:520px){.sc-partition-row{grid-template-columns:77px 1fr;gap:5px}.sc-partition-row>b{font-size:12px}.sc-partition{min-height:29px}.sc-partition>span{font-size:13px;padding:4px 2px}.sc-table{font-size:13px}.sc-table th,.sc-table td{padding:5px 3px}.sc-pattern{gap:6px;font-size:23px}.sc-pattern small{font-size:12px}.sc-group-blocks{gap:3px}.sc-group-blocks span{font-size:12px;padding:5px 1px}.sc-remainder{font-size:22px;gap:9px}.sc-remainder>span:first-child,.sc-remainder>span:last-child{font-size:12px}.sc-chase-row{min-height:29px;margin-bottom:11px;font-size:13px;padding-left:25px}.sc-chase-full{min-height:29px}.sc-chase-gap{top:72px;font-size:12px}.sc-chase{padding-bottom:17px}}
.sc-ratio-rows{display:flex;flex-direction:column;gap:13px;padding-right:35px}.sc-ratio-row{display:flex;align-items:center;gap:9px;position:relative;min-height:32px;padding-left:32px}.sc-ratio-row>b{position:absolute;left:0;font-weight:400}.sc-ratio-scale{display:flex;gap:2px;min-height:32px}.sc-ratio-scale>span{flex:1;border:1px solid #a9c3b7;border-radius:2px;background:#edf5f0}.sc-ratio-row>strong{font-weight:500;font-size:15px;white-space:nowrap;position:absolute;left:calc(100% + 8px)}.sc-three-start,.sc-gap-labels{display:flex;justify-content:space-between;gap:10px;font-size:16px;line-height:1.5}.sc-gap-labels{padding-left:113px}.sc-practice-rebase .sc-partition-row{display:block}.sc-practice-rebase .sc-partition-row>b{display:block;text-align:left;margin-bottom:3px}#scene .sc-table-wrap{flex:1;min-height:100px}#scene .sc-table-wrap~.sc-line{flex:none}
@container mathapp (max-height:520px){.sc-ratio-rows{gap:8px;padding-right:31px}.sc-ratio-row{min-height:27px;padding-left:25px;gap:6px}.sc-ratio-scale{min-height:27px;gap:2px}.sc-ratio-row>strong{font-size:12px;left:calc(100% + 5px)}.sc-three-start,.sc-gap-labels{font-size:13px}.sc-gap-labels{padding-left:82px}.sc-practice-rebase .sc-partition-row>b{font-size:12px}#scene .sc-table-wrap{min-height:100px}}
.sc-money-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:15px;align-items:center;height:100%;min-height:0}.sc-money-choices{display:flex;flex-direction:column;gap:10px}.sc-money-row{display:grid;grid-template-columns:68px 1fr 33px 33px;gap:5px;align-items:center;font-size:16px}.sc-note-value{border:1px solid #acbfaf;border-radius:3px;text-align:center;padding:5px 3px;background:#edf4e9}.sc-money-row button{padding:4px!important;min-height:33px;font-size:17px!important}.sc-money-choices>strong{font-size:18px;font-weight:600;text-align:center}.sc-stairs{display:flex;align-items:end;justify-content:center;height:150px;margin:0 14px}.sc-stair{flex:1;position:relative;border-top:3px solid #a7c6b9;border-right:2px solid #a7c6b9;height:calc(var(--level)*20px + 22px);max-width:100px}.sc-stair>span{position:absolute;top:7px;left:0;right:0;text-align:center;font-size:17px}.sc-stair-current{border-color:#ad872c;background:#fff2d2}.sc-stair-current:before{content:'现在';position:absolute;top:-26px;left:0;right:0;text-align:center;color:#816021;font-size:15px}.sc-stair-info{display:flex;justify-content:center;gap:23px;font-size:17px}.sc-stair-info b{font-weight:600}.sc-race{position:relative;max-width:460px;margin:auto;width:100%;height:160px}.sc-race-track{position:absolute;left:7%;top:14%;width:86%;height:72%;border:4px solid #bfd2c7;border-radius:50%}.sc-race-marker{position:absolute;transform:translate(-50%,-50%);background:#e3f0ec;border:1px solid #6c9e8d;border-radius:4px;padding:4px 8px;white-space:nowrap;font-size:17px}.sc-race-b{background:#fff0c9;border-color:#c6ac69}.sc-race-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:15px;text-align:center;line-height:1.5}#courseApp[data-lesson="37"] .table-person svg{display:none!important}#courseApp[data-lesson="37"] .table-person{display:inline!important}#courseApp[data-lesson="37"] .model-html td,#courseApp[data-lesson="37"] .model-html th{height:28px;padding:0 3px}#courseApp[data-lesson="37"] .model-html table button{height:26px;min-height:26px}
@container mathapp (max-height:520px){.sc-money-layout{gap:10px;grid-template-columns:1.15fr 1fr}.sc-money-choices{gap:6px}.sc-money-row{font-size:13px;grid-template-columns:49px 1fr 29px 29px;gap:3px}.sc-money-row button{min-height:29px;font-size:15px!important}.sc-note-value{padding:4px 2px}.sc-money-choices>strong{font-size:14px}.sc-stairs{height:120px;margin:0 6px}.sc-stair{height:calc(var(--level)*15px + 18px)}.sc-stair>span{font-size:14px;top:4px}.sc-stair-current:before{top:-22px;font-size:13px}.sc-stair-info{font-size:13px;gap:17px}.sc-race{height:135px;max-width:375px}.sc-race-marker{font-size:14px;padding:3px 7px}.sc-race-center{font-size:13px}}
.sc-schedule-labels{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;font-size:16px;text-align:center;line-height:1.4}.sc-schedule-axis{position:relative;min-height:138px;margin:0 18px 0 6px}.sc-schedule-main{position:absolute;top:10px;left:0;right:0;height:32px}.sc-schedule-main>span{position:absolute;top:0;height:32px;background:#e4f0ea;border:1px solid #a2c1b2;box-sizing:border-box;text-align:center;line-height:30px;font-size:16px;border-radius:3px;white-space:nowrap}.sc-schedule-main .sc-wash{background:#fff0cb;border-color:#ccb570}.sc-schedule-wait{position:absolute;top:51px;left:0;right:0;height:30px}.sc-schedule-wait>span,.sc-schedule-after{position:absolute;top:0;height:29px;box-sizing:border-box;background:#fff1cf;border:1px solid #ccb878;text-align:center;line-height:27px;font-size:15px;white-space:nowrap;border-radius:3px}.sc-schedule-after{top:11px;background:#ecf1f7;border-color:#b0c2cf;font-size:14px;overflow:visible}.sc-schedule-wait>.sc-invalid{background:#f8dddd;border-color:#c69b97}.sc-schedule-tick{position:absolute;top:94px;transform:translateX(-50%);font-size:14px;white-space:nowrap;line-height:1.3}.sc-schedule-tick:before{content:'';position:absolute;bottom:100%;left:50%;height:10px;border-left:1px solid #88a89a}.sc-schedule-tick small{display:block;font-size:13px;color:#6b7c72}.sc-schedule-tick.sc-tick-0{transform:none}.sc-schedule-tick.sc-tick-1{top:114px}.sc-schedule-tick.sc-tick-3{transform:translateX(-100%)}
@container mathapp (max-height:520px){.sc-schedule-labels{font-size:13px;gap:5px}.sc-schedule-axis{min-height:118px;margin:0 14px 0 3px}.sc-schedule-main{top:6px;height:27px}.sc-schedule-main>span{height:27px;line-height:25px;font-size:13px}.sc-schedule-wait{top:41px;height:25px}.sc-schedule-wait>span{height:25px;line-height:23px;font-size:13px}.sc-schedule-after{top:7px;font-size:12px;height:25px;line-height:23px}.sc-schedule-tick{top:80px;font-size:12px}.sc-schedule-tick small{font-size:12px}.sc-schedule-tick.sc-tick-1{top:99px}}

/* Equal units within each comparison: widths encode distance, never each row's own total. */
.sc-meter-diagram{display:flex;flex-direction:column;gap:13px;width:100%}.sc-meter-name{font-size:15px;line-height:1.35;margin-bottom:5px}.sc-meter-track{display:flex;width:100%;height:34px}.sc-meter-track>span{box-sizing:border-box;border:1px solid #a7c3b6;background:#edf5f1;display:flex;align-items:center;justify-content:center;font-size:15px;line-height:1.1;min-width:0}.sc-meter-track>.sc-detach{border-style:dashed;transform:translateY(5px)}
.sc-chase-row{display:grid;grid-template-columns:35px 1fr;padding-left:0;gap:0}.sc-chase-row>b{position:static;align-self:center}.sc-chase-track{position:relative;min-width:0;height:36px}.sc-chase-full{box-sizing:border-box;width:100%;height:100%;min-height:0}.sc-chase-full>span{box-sizing:border-box;flex:4;min-width:0}.sc-chase-full>.sc-first{flex:1}.sc-chase-short{position:absolute;box-sizing:border-box;left:33.333333%;right:0;top:0;height:100%;margin-left:0;width:auto}.sc-chase{padding-bottom:0}
@container mathapp (max-height:520px){.sc-meter-diagram{gap:10px}.sc-meter-name{font-size:12px;margin-bottom:4px}.sc-meter-track{height:29px}.sc-meter-track>span{font-size:12px}.sc-chase-row{grid-template-columns:25px 1fr;padding-left:0}.sc-chase-track{height:30px}.sc-chase{padding-bottom:0}}

.sc-pattern-rounds{display:flex;flex-direction:column;align-items:center;gap:12px}.sc-pattern-round{display:grid;grid-template-columns:repeat(9,32px);gap:8px;flex-wrap:nowrap;text-align:center}
#scene .sc-boats .sc-table-wrap{height:auto;min-height:0;flex:none;overflow:visible}.sc-boats{gap:6px;padding:5px 12px}.sc-boats .sc-table th,.sc-boats .sc-table td{padding:4px 3px}
@container mathapp (max-height:520px){.sc-pattern-round{grid-template-columns:repeat(9,29px);gap:7px}.sc-pattern-rounds{gap:10px}.sc-boats{gap:5px;padding:4px 12px}.sc-boats .sc-table th,.sc-boats .sc-table td{padding:3px}.sc-boats .sc-line{font-size:12px}}

.sc-rebase51{width:100%;display:flex;flex-direction:column;gap:7px}.sc-rebase-title{font-size:15px;line-height:1.3}.sc-rebase-track{display:flex;width:100%;height:36px}.sc-rebase-track>span,.sc-rebase-new>span{display:flex;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid #a8c4b8;background:#edf5f0;min-width:0;line-height:1.2;font-size:15px}.sc-rebase-new{display:flex;height:100%;box-sizing:border-box;border-top:1px dashed #90afa2}.sc-rebase51 .sc-rebase-title:nth-child(3){margin-top:6px}.sc-practice-days .sa-day{cursor:default}
@container mathapp (max-height:520px){.sc-rebase-title{font-size:12px}.sc-rebase-track{height:30px}.sc-rebase-track>span,.sc-rebase-new>span{font-size:13px}.sc-rebase51{gap:5px}.sc-rebase51 .sc-rebase-title:nth-child(3){margin-top:4px}}
