:root{color:#202123;font-synthesis:none;background:#f7f7f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button{font:inherit}.shell{background:#f7f7f5;grid-template-columns:216px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#202123;flex-direction:column;gap:20px;padding:24px 16px 20px;display:flex}.brand{align-items:center;gap:10px;font-weight:650;line-height:1.25;display:flex}.brand em{color:#8fc1b1;font-style:normal}.brand-mark{color:#78a789;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px;flex:none;width:29px;height:29px}.audience{color:#d3d4d2;border:1px solid #4b4c4f;border-radius:999px;align-self:flex-start;padding:6px 10px;font-size:14px}.tagline{color:#a9aaa6;margin:auto 6px 0;font-size:13px;line-height:1.5}main{min-width:0}.workspace-bar{color:#6b6b66;background:#fff;border-bottom:1px solid #e3e3de;justify-content:space-between;align-items:center;height:62px;padding:0 28px;font-size:15px;display:flex}.orientation{display:none}.home-content{max-width:1040px;margin:0 auto;padding:clamp(48px,8vw,104px) clamp(24px,6vw,72px)}.eyebrow{color:#0f6b56;margin:0 0 14px;font-size:15px;font-weight:700}h1{letter-spacing:-.035em;margin:0;font-size:clamp(34px,4vw,54px);line-height:1.06}.lede{color:#6b6b66;max-width:720px;margin:20px 0 42px;font-size:clamp(18px,2vw,21px);line-height:1.55}.tool-rows{border-top:1px solid #e3e3de}.tool-row{text-align:left;cursor:pointer;color:#202123;background:0 0;border:0;border-bottom:1px solid #e3e3de;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:22px;width:100%;min-height:116px;padding:18px 16px;display:grid}.tool-row:hover,.tool-row:focus-visible{background:#fff}.tool-row:focus-visible,button:focus-visible{outline-offset:3px;outline:3px solid #0f6b56}.tool-row strong{margin-bottom:7px;font-size:22px;display:block}.tool-row small{color:#6b6b66;font-size:16px;line-height:1.45}.tool-row>b{color:#0f6b56;white-space:nowrap;font-size:17px}.tool-icon{background:#fff;border:2px solid #202123;border-radius:8px;width:64px;height:64px;position:relative}.tool-icon.base10:before{content:"";background:repeating-linear-gradient(90deg,#e6efe7 0 8px,#0f6b56 8px 9px);border:2px solid #0f6b56;width:38px;height:11px;position:absolute;top:13px;left:11px}.tool-icon.base10:after{content:"";background:repeating-linear-gradient(90deg,#0000 0 5px,#0f6b56 5px 6px),repeating-linear-gradient(0deg,#e6efe7 0 5px,#0f6b56 5px 6px);border:2px solid #0f6b56;width:18px;height:18px;position:absolute;bottom:10px;left:21px}.tool-icon.numicon{background:radial-gradient(circle at 21px 20px,#fff 0 5px,#c87855 6px 11px,#0000 12px),radial-gradient(circle at 43px 20px,#fff 0 5px,#c87855 6px 11px,#0000 12px),radial-gradient(circle at 21px 43px,#fff 0 5px,#c87855 6px 11px,#0000 12px),radial-gradient(circle at 43px 43px,#fff 0 5px,#c87855 6px 11px,#0000 12px)}.tool-icon.multilink:before{content:"";background:repeating-linear-gradient(90deg,#e6efe7 0 11px,#0f6b56 11px 13px),repeating-linear-gradient(0deg,#0000 0 11px,#0f6b56 11px 13px);border:2px solid #0f6b56;position:absolute;inset:13px}.recover-row{color:#202123;text-align:left;cursor:pointer;background:#eef4ef;border:1px solid #c9d8ce;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:78px;margin:-12px 0 28px;padding:14px 18px;display:flex}.recover-row strong,.recover-row small{display:block}.recover-row strong{font-size:18px}.recover-row small{color:#5e655f;margin-top:5px}.recover-row b{color:#0f6b56}.sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.app-workspace{background:#f7f7f5;grid-template-rows:72px auto minmax(0,1fr);height:100vh;min-height:640px;display:grid;overflow:hidden}.active-bar{z-index:20;background:#fff;border-bottom:1px solid #e3e3de;align-items:center;gap:18px;min-width:0;padding:7px 16px 7px 22px;display:flex;position:relative}.compact-brand{color:#202123;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;max-width:285px;min-height:56px;font-weight:700;display:flex}.compact-brand em{color:#0f6b56;font-style:normal}.compact-brand .brand-mark{color:#0f6b56}.mode-label{color:#5f605b;white-space:nowrap;background:#f7f7f5;border:1px solid #e3e3de;border-radius:999px;padding:6px 10px;font-size:14px}.permanent-controls{gap:7px;min-width:0;margin-left:auto;display:flex}.permanent-controls button{color:#343533;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;gap:1px;min-width:68px;min-height:56px;font-size:13px;display:grid}.permanent-controls button:hover,.permanent-controls button[aria-expanded=true]{background:#f1f4f1;border-color:#d4ded7}.permanent-controls button:disabled{opacity:.38;cursor:not-allowed}.button-icon{font-size:21px;font-weight:600;line-height:1}.equation-strip{letter-spacing:.025em;background:#fff;border-bottom:1px solid #e3e3de;justify-content:center;align-items:center;min-height:88px;padding:8px 20px;font-size:clamp(44px,4vw,68px);font-weight:650;display:flex}.equation-strip span{color:#9a9a94;font-weight:450}.workspace-stage{min-height:0;padding:12px 12px 126px;position:relative;overflow:hidden}.board-wrap{background:#fbfbf9;border:1px solid #d8d8d2;border-radius:8px;height:100%;min-height:300px;overflow:hidden}.board{touch-action:none;-webkit-user-select:none;user-select:none;background:#fbfbf9;width:100%;height:100%;display:block}.empty-board text:first-child{fill:#6b6b66;font-size:25px;font-weight:650}.empty-board text:last-child{fill:#85857f;font-size:17px}.place-mat rect{fill:#f4f5f1;stroke:#cdd7cf;stroke-width:2px}.place-mat text{fill:#496257;font-size:24px;font-weight:700}.lattice circle{fill:#bfc5c0}.board-object{cursor:grab;outline:none}.board-object:active{cursor:grabbing}.board-object:focus-visible .selection-outline{stroke:#0f6b56;stroke-dasharray:0}.hit-area{fill:#0000;pointer-events:all}.base-fill{stroke-width:2px}.base-value-1 .base-fill{fill:#f2c94c;stroke:#6e550d}.base-value-10 .base-fill{fill:#5fae70;stroke:#285b35}.base-value-100 .base-fill{fill:#69a5d8;stroke:#2a567d}.base-detail{fill:none;stroke:#285b35;stroke-width:1.5px}.base-grid-line{stroke:#2a567d;stroke-width:1px}.object-label{fill:#172b23;paint-order:stroke;stroke:#fff;stroke-width:4px;font-size:19px;font-weight:800}.unit-label{stroke-width:3px;font-size:17px}.rod-label{stroke-width:3px;font-size:14px}.base-value-10 .object-label,.base-value-100 .object-label{fill:#fff;stroke:#23452c}.base-value-100 .object-label{stroke:#234968}.hundred-label{font-size:25px}.selection-outline{fill:none;stroke:#202123;stroke-width:4px;stroke-dasharray:8 5;pointer-events:none}.exchange-selected .selection-outline{stroke:#0f6b56;stroke-dasharray:0}.exchange-marker circle{fill:#0f6b56;stroke:#fff;stroke-width:2px}.exchange-marker text{fill:#fff;font-size:16px;font-weight:900}.numicon-label circle{fill:#fff;stroke:#202123;stroke-width:2px}.numicon-label text{fill:#202123;font-size:15px;font-weight:900}.join-ghost{fill:#e6efe7;fill-opacity:.72;stroke:#0f6b56;stroke-width:3px;stroke-dasharray:9 6}.resource-tray{z-index:12;background:#fffffff7;border:1px solid #d6d6d0;border-radius:9px;align-items:center;gap:10px;height:106px;padding:8px 10px;display:flex;position:absolute;bottom:10px;left:12px;right:12px;box-shadow:0 5px 18px #20212314}.tray-label{color:#6b6b66;align-self:flex-start;padding:8px 2px;font-size:13px;font-weight:700}.tray-scroll{scrollbar-width:thin;flex:1;gap:10px;padding:2px 4px 4px;display:flex;overflow:auto hidden}.tray-scroll>button,.tray-pair>button:first-child{color:#202123;cursor:pointer;background:#fff;border:1px solid #e3e3de;border-radius:8px;place-items:center;gap:3px;min-width:72px;min-height:82px;padding:5px 8px;display:grid}.tray-scroll button span:last-child{font-size:13px;font-weight:700}.tray-scroll button:hover{background:#f5f8f5;border-color:#8ca99a}.tray-pair{grid-template-columns:auto 38px;gap:4px;display:grid}.tray-pair .add-several{color:#0f6b56;cursor:pointer;background:#e6efe7;border:1px solid #d3ddd6;border-radius:8px;width:38px;min-height:82px;font-weight:800}.tray-base{border:2px solid;display:block}.tray-base.value-1{background:#f2c94c;border-color:#6e550d;width:24px;height:24px}.tray-base.value-10{background-color:#5fae70;background-image:linear-gradient(#285b35 1px,#0000 1px);background-size:100% 10%;border-color:#285b35;width:15px;height:45px}.tray-base.value-100{background-color:#69a5d8;background-image:linear-gradient(90deg,#2a567d 1px,#0000 1px),linear-gradient(#2a567d 1px,#0000 1px);background-size:10% 10%;border-color:#2a567d;width:45px;height:45px}.tray-numicon{color:#202123;border:2px solid #202123;border-radius:9px;place-items:center;width:38px;height:38px;font-weight:900;display:grid!important}.tray-cube{border:3px solid #202123;border-radius:5px;width:38px;height:38px}.action-hint,.action-dock{z-index:14;background:#fffffffa;border:1px solid #d5d5cf;border-radius:9px;min-height:50px;position:absolute;bottom:126px;left:50%;transform:translate(-50%);box-shadow:0 5px 18px #20212317}.action-hint{color:#5d5e59;align-items:center;padding:0 20px;font-size:15px;display:flex}.action-dock{align-items:center;gap:7px;width:max-content;max-width:calc(100% - 34px);padding:7px;display:flex;overflow-x:auto}.action-dock>span{min-width:175px;padding:3px 10px}.action-dock strong,.action-dock small{display:block}.action-dock small{color:#6b6b66;margin-top:2px}.action-dock button{color:#202123;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #d7d7d1;border-radius:7px;min-height:48px;padding:0 15px}.action-dock button.primary,.panel-list button.primary{color:#fff;background:#0f6b56;border-color:#0f6b56}.action-dock button:disabled{opacity:.45;cursor:not-allowed}.exchange-dock{border-color:#8db2a3}.panel-sheet{z-index:18;background:#fff;border:1px solid #d8d8d2;border-radius:9px;width:min(420px,100% - 28px);max-height:calc(100% - 144px);padding:16px;position:absolute;top:10px;right:14px;overflow:auto;box-shadow:0 10px 30px #20212324}.panel-title{border-bottom:1px solid #e3e3de;justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:10px;display:flex}.panel-title h2{margin:0;font-size:21px}.panel-title>button{cursor:pointer;background:0 0;border:0;border-radius:8px;width:48px;height:48px;font-size:28px}.panel-list{gap:10px;display:grid}.panel-list>button,.field-row{color:#202123;text-align:left;cursor:pointer;background:#fff;border:1px solid #e3e3de;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:54px;padding:10px 13px;font-weight:650;display:flex}.panel-list fieldset{border:0;margin:0 0 6px;padding:0}.panel-list legend{margin-bottom:8px;font-size:15px;font-weight:700}.panel-note{color:#6b6b66;margin:0 0 6px;line-height:1.5}.danger-text{color:#9b3f32!important}.switch-row{border:1px solid #e3e3de;border-radius:8px;align-items:center;gap:13px;min-height:54px;padding:8px 12px;font-weight:650;display:flex}.switch-row input{accent-color:#0f6b56;width:24px;height:24px}.field-row select{min-height:42px;font:inherit;background:#fff;border:1px solid #cfcfca;border-radius:7px;padding:0 8px}.segmented{background:#f1f1ee;border-radius:8px;gap:5px;padding:4px;display:flex}.segmented button{color:#4e4f4b;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;flex:1;min-height:46px}.segmented button.active{color:#0f6b56;background:#fff;border-color:#cbd9d0;font-weight:750}.snapshot-panel-switch{display:none}.equation-preview{color:#6b6b66;background:#f7f7f5;border:1px solid #e3e3de;border-radius:8px;justify-content:center;align-items:center;min-height:68px;margin:10px 0;font-size:32px;font-weight:650;display:flex}.keypad{grid-template-columns:repeat(4,1fr);gap:7px;display:grid}.keypad button{cursor:pointer;background:#fff;border:1px solid #d8d8d2;border-radius:7px;min-height:52px;font-size:21px}.keypad .wide{grid-column:span 2;font-size:16px}.modal-backdrop{z-index:50;background:#2021237a;justify-content:center;align-items:flex-end;padding:24px;display:flex;position:fixed;inset:0}.confirm-sheet{background:#fff;border-radius:10px;width:min(580px,100%);padding:28px;box-shadow:0 15px 40px #0003}.confirm-sheet h2{margin:0 0 10px;font-size:26px}.confirm-sheet p{color:#5d5e59;font-size:17px;line-height:1.5}.confirm-sheet>div{justify-content:flex-end;gap:12px;margin-top:22px;display:flex}.confirm-sheet button{cursor:pointer;background:#fff;border:1px solid #d2d2cc;border-radius:8px;min-height:54px;padding:0 20px;font-weight:700}.confirm-sheet .danger{color:#fff;background:#9b3f32;border-color:#9b3f32}.compare-layout{grid-template-columns:1fr 1fr;gap:10px;height:100%;display:grid}.compare-pane{grid-template-rows:36px minmax(0,1fr);min-width:0;display:grid;position:relative}.compare-pane h2{color:#5c5d58;justify-content:center;align-items:center;margin:0;font-size:16px;display:flex}.snapshot-switch{display:none}.compare-pane .board-wrap{min-height:0}.exit-classroom{z-index:40;color:#fff;cursor:pointer;background:#202123;border:1px solid #fff;border-radius:8px;min-height:52px;padding:0 16px;font-weight:700;position:fixed;bottom:130px;right:18px}.classroom .active-bar{height:52px;padding-block:2px}.classroom.app-workspace{grid-template-rows:52px auto minmax(0,1fr)}.classroom .compact-brand span,.classroom .mode-label,.classroom .permanent-controls button span:last-child{display:none}.classroom .compact-brand{width:48px}.classroom .permanent-controls button{min-width:56px}.classroom .workspace-stage{padding-top:6px}@media (width<=1020px){.active-bar{padding-left:12px}.compact-brand{width:52px;overflow:hidden}.compact-brand>span,.mode-label{display:none}.permanent-controls{justify-content:flex-end;width:100%}.permanent-controls button{min-width:56px}.permanent-controls button>span:last-child{display:none}.workspace-stage{padding-inline:8px}.resource-tray{left:8px;right:8px}.compare-layout{display:block}.compare-pane{height:100%}.compare-layout.showing-before .now-pane,.compare-layout.showing-now .before-pane{display:none}.snapshot-switch{z-index:10;background:#eee;border-radius:8px;padding:3px;display:flex;position:absolute;top:8px;left:50%;transform:translate(-50%)}.snapshot-switch button{background:0 0;border:0;border-radius:6px;min-height:44px;padding:0 18px}.snapshot-switch button.active{color:#0f6b56;background:#fff;font-weight:700}.snapshot-panel-switch{display:flex}}@media (width<=720px){.app-workspace{grid-template-rows:64px auto minmax(0,1fr);min-height:600px}.permanent-controls{justify-content:flex-start;overflow-x:auto}.active-bar{gap:2px}.compact-brand{flex:0 0 45px;min-height:52px;padding:0}.compact-brand .brand-mark{transform:scale(.85)}.permanent-controls button{flex:0 0 54px;min-width:54px;min-height:52px;font-size:10px}.permanent-controls button>span:last-child{display:block}.button-icon{font-size:18px}.workspace-stage{padding-bottom:116px}.resource-tray{height:96px}.tray-scroll>button,.tray-pair>button:first-child,.tray-pair .add-several{min-height:72px}.action-hint{display:none}.action-dock{width:auto;bottom:112px;left:8px;right:8px;transform:none}.action-dock>span{min-width:140px}.panel-sheet{width:calc(100% - 16px);max-height:calc(100% - 118px);right:8px}.equation-strip{min-height:72px;font-size:38px}.tool-row{grid-template-columns:56px minmax(0,1fr)}.tool-icon{width:52px;height:52px}.tool-row>b{grid-column:2}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width>=721px) and (width<=800px){.permanent-controls button{flex:0 0 54px;min-width:54px;min-height:52px;font-size:10px}.permanent-controls button>span:last-child{display:block}.button-icon{font-size:18px}}@media (width<=720px){.shell{display:block}.sidebar{flex-direction:row;align-items:center;min-height:auto;padding:12px 16px}.audience,.tagline{display:none}.brand{margin-right:auto;font-size:14px}.workspace-bar{height:48px;padding:0 18px}.orientation{display:block}.home-content{padding-top:40px}.tool-row{grid-template-columns:56px minmax(0,1fr)}.tool-icon{width:52px;height:52px}.tool-row>b{grid-column:2}}
