:where(.fraction-visual-root) .fl-shell{position:relative;width:100%;height:100vh;height:100dvh;overflow:hidden;background:#1e3a5f;font-family:system-ui,-apple-system,"Segoe UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
:where(.fraction-visual-root) .fl-shell,:where(.fraction-visual-root) .fl-shell *{box-sizing:border-box}
:where(.fraction-visual-root) .fl-panel{position:absolute;inset:0;min-height:0;overflow:hidden}
:where(.fraction-visual-root) .fl-panel[hidden]{display:none}
:where(.fraction-visual-root) .fl-shell .fm-root{height:100%;min-height:0}
body.admin-bar :where(.fraction-visual-root) .fl-shell{height:calc(100vh - 32px);height:calc(100dvh - 32px)}
@media(max-width:782px){body.admin-bar :where(.fraction-visual-root) .fl-shell{height:calc(100vh - 46px);height:calc(100dvh - 46px)}
}
:where(.fraction-visual-root) .fm-root{--navy:#1e3a5f;--navy-dark:#0f1e3a;--gold:#d4af37;--gold-light:#f4cf5f;--ink:#263746;--teal:#24aaa5;--teal-light:#5bc7c3;--line:#d8e4ed;--empty:#f8fafc;position:relative;width:100%;height:100vh;height:100dvh;overflow:hidden;background:linear-gradient(135deg,#0ea5e9,#6366f1,#8b5cf6);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif}
:where(.fraction-visual-root) .fm-root,:where(.fraction-visual-root) .fm-root *{box-sizing:border-box}
:where(.fraction-visual-root) .fm-root button{font:inherit;touch-action:manipulation}
:where(.fraction-visual-root) .fm-app{height:100%;display:flex;flex-direction:column;overflow:hidden}
:where(.fraction-visual-root) .fm-workspace{flex:1;min-height:0;padding:14px 90px 14px 14px;overflow:hidden}
:where(.fraction-visual-root) .fm-board{width:100%;height:100%;min-height:0;max-width:1600px;margin:0 auto;display:block;overflow:hidden;background:#fff;border-radius:18px;border-top:5px solid var(--teal);box-shadow:0 10px 28px #0004}
:where(.fraction-visual-root) .fm-controls{position:absolute;left:28px;top:28px;z-index:40;padding:0 12px 10px;display:flex;flex-direction:column;align-items:center;background:#fff;border:2px solid #c9d9e5;border-radius:16px;box-shadow:0 8px 24px #0004;user-select:none}
:where(.fraction-visual-root) .fm-drag-handle{width:100%;height:30px;display:flex;align-items:center;justify-content:center;gap:6px;color:#718397;font-size:14px;font-weight:900;cursor:grab;touch-action:none}
:where(.fraction-visual-root) .fm-drag-handle:active{cursor:grabbing}
:where(.fraction-visual-root) .fm-fraction-editor{display:grid;grid-template-columns:auto 50px 72px 50px;grid-template-rows:43px 4px 43px;align-items:center;column-gap:7px}
:where(.fraction-visual-root) .fm-editor-label{font-size:20px;font-weight:900;color:var(--navy);text-align:right;padding-right:6px}
:where(.fraction-visual-root) .fm-label-num{grid-column:1;grid-row:1}
:where(.fraction-visual-root) .fm-label-den{grid-column:1;grid-row:3}
:where(.fraction-visual-root) .fm-minus-num{grid-column:2;grid-row:1}
:where(.fraction-visual-root) .fm-plus-num{grid-column:4;grid-row:1}
:where(.fraction-visual-root) .fm-minus-den{grid-column:2;grid-row:3}
:where(.fraction-visual-root) .fm-plus-den{grid-column:4;grid-row:3}
:where(.fraction-visual-root) .fm-value{display:grid;place-items:center;font-size:38px;font-weight:900;line-height:1;color:var(--ink)}
:where(.fraction-visual-root) .fm-num{grid-column:3;grid-row:1}
:where(.fraction-visual-root) .fm-den{grid-column:3;grid-row:3}
:where(.fraction-visual-root) .fm-frac-line{grid-column:3;grid-row:2;height:4px;border-radius:4px;background:var(--ink)}
:where(.fraction-visual-root) .fm-step{width:50px;height:44px;border:0;border-radius:13px;display:grid;place-items:center;background:#e8f0f6;color:var(--navy);font-size:29px;font-weight:900;cursor:pointer;box-shadow:0 2px 5px #0002}
:where(.fraction-visual-root) .fm-step.plus{background:var(--gold);color:var(--navy-dark)}
:where(.fraction-visual-root) .fm-step:disabled{opacity:.28;cursor:not-allowed;box-shadow:none}
:where(.fraction-visual-root) .fm-model-stage{width:100%;height:100%;min-height:0;position:relative;display:grid;place-items:center;padding:14px;overflow:hidden}
:where(.fraction-visual-root) .fm-comparison{width:100%;height:100%;min-width:0;min-height:0;display:grid;grid-template-columns:repeat(var(--items,1),minmax(0,1fr));gap:12px;overflow:hidden}
:where(.fraction-visual-root) .fm-comparison-item{position:relative;min-width:0;min-height:0;overflow:hidden;display:grid;place-items:center;border:3px solid var(--line);border-radius:16px;background:#fbfdff;cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s}
:where(.fraction-visual-root) .fm-comparison-item.is-selected{border-color:var(--gold);background:#fff;box-shadow:inset 0 0 0 3px #f4cf5f55}
:where(.fraction-visual-root) .fm-comparison-item:focus-visible{outline:4px solid var(--gold-light);outline-offset:-6px}
:where(.fraction-visual-root) .fm-item-fraction{position:absolute;left:12px;top:10px;z-index:3;width:58px;display:grid;grid-template-rows:auto 3px auto;text-align:center;font-size:28px;font-weight:900;line-height:1;color:var(--navy);pointer-events:none}
:where(.fraction-visual-root) .fm-item-fraction-line{height:3px;margin:4px 0;border-radius:4px;background:var(--navy)}
:where(.fraction-visual-root) .fm-item-number{position:absolute;right:12px;top:10px;z-index:3;padding:5px 9px;border-radius:999px;background:#e8f0f6;color:var(--navy);font-size:13px;font-weight:900;pointer-events:none}
:where(.fraction-visual-root) .fm-comparison-item.is-selected .fm-item-number{background:var(--gold);color:var(--navy-dark)}
:where(.fraction-visual-root) .fm-models{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center;align-content:center;flex-wrap:wrap;gap:clamp(12px,2.4vw,34px);overflow:hidden}
:where(.fraction-visual-root) .fm-model{flex:0 0 auto;display:grid;place-items:center;animation:fm-in .25s ease-out}
:where(.fraction-visual-root) .fm-models[data-count="1"] .fm-circle{width:min(64vh,55vw,610px);height:min(64vh,55vw,610px)}
:where(.fraction-visual-root) .fm-models[data-count="2"] .fm-circle{width:min(55vh,40vw,470px);height:min(55vh,40vw,470px)}
:where(.fraction-visual-root) .fm-models[data-count="3"] .fm-circle,:where(.fraction-visual-root) .fm-models[data-count="4"] .fm-circle{width:min(43vh,27vw,350px);height:min(43vh,27vw,350px)}
:where(.fraction-visual-root) .fm-circle svg{display:block;width:100%;height:100%;filter:drop-shadow(0 5px 8px #0002)}
:where(.fraction-visual-root) .fm-models[data-count="1"] .fm-beaker{width:min(43vh,34vw,360px);height:min(72vh,58vw,600px)}
:where(.fraction-visual-root) .fm-models[data-count="2"] .fm-beaker{width:min(36vh,27vw,300px);height:min(61vh,46vw,510px)}
:where(.fraction-visual-root) .fm-models[data-count="3"] .fm-beaker,:where(.fraction-visual-root) .fm-models[data-count="4"] .fm-beaker{width:min(27vh,19vw,230px);height:min(46vh,34vw,390px)}
:where(.fraction-visual-root) .fm-beaker svg{display:block;width:100%;height:100%;filter:drop-shadow(0 5px 8px #0002)}
:where(.fraction-visual-root) .fm-models.is-tape{flex-direction:column;flex-wrap:nowrap;gap:clamp(8px,1.5vh,16px);padding:2% 3%}
:where(.fraction-visual-root) .fm-tape-row{width:min(96%,1380px);display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:18px}
:where(.fraction-visual-root) .fm-tape-fraction{display:grid;grid-template-rows:auto 4px auto;justify-self:end;width:62px;text-align:center;font-size:34px;font-weight:900;line-height:1}
:where(.fraction-visual-root) .fm-tape-fraction-line{height:4px;border-radius:4px;background:var(--ink);margin:4px 0}
:where(.fraction-visual-root) .fm-tape{width:100%;height:clamp(78px,14vh,130px);display:grid;border:4px solid var(--navy);border-radius:8px;overflow:hidden;background:var(--empty);box-shadow:0 5px 10px #0002}
:where(.fraction-visual-root) .fm-tape-cell{border-right:2px solid #7890a5;background:#fff}
:where(.fraction-visual-root) .fm-tape-cell:last-child{border-right:0}
:where(.fraction-visual-root) .fm-tape-cell.is-filled{background:var(--teal-light)}
:where(.fraction-visual-root) .fm-tape.no-divisions .fm-tape-cell{border-right-color:transparent}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-models[data-count="1"] .fm-circle{width:min(56vh,36vw,480px);height:min(56vh,36vw,480px)}
:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-models[data-count="1"] .fm-circle{width:min(48vh,25vw,360px);height:min(48vh,25vw,360px)}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-models[data-count="1"] .fm-beaker{width:min(35vh,24vw,300px);height:min(60vh,42vw,500px)}
:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-models[data-count="1"] .fm-beaker{width:min(30vh,18vw,240px);height:min(52vh,31vw,420px)}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-models[data-count]:not([data-count="1"]) .fm-circle,:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-models[data-count]:not([data-count="1"]) .fm-circle{width:min(31vh,17vw,250px);height:min(31vh,17vw,250px)}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-models[data-count]:not([data-count="1"]) .fm-beaker,:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-models[data-count]:not([data-count="1"]) .fm-beaker{width:min(22vh,13vw,175px);height:min(38vh,23vw,300px)}
:where(.fraction-visual-root) .fm-comparison .fm-models.is-tape{padding:54px 12px 12px}
:where(.fraction-visual-root) .fm-comparison .fm-tape-row{grid-template-columns:58px minmax(0,1fr);gap:8px;width:98%}
:where(.fraction-visual-root) .fm-comparison .fm-tape-fraction{width:46px;font-size:25px}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-tape,:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-tape{height:clamp(54px,11vh,96px)}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"] .fm-item-fraction{color:var(--item-color)}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"] .fm-item-fraction-line{background:var(--item-color)}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"] .fm-item-number{border-left:7px solid var(--item-color)}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"]{display:flex;flex-direction:column;justify-content:center;gap:0}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-comparison-item{flex:0 0 auto;width:100%;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-item-number{display:none}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-item-fraction{left:10px;top:50%;transform:translateY(-50%)}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-comparison-item.is-selected .fm-item-fraction{padding:5px;border-radius:8px;background:#fff;box-shadow:0 0 0 4px #f4cf5f99}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-models.is-tape{height:auto;padding:0 10px 0 82px;gap:0}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-tape-row{width:100%;grid-template-columns:minmax(0,1fr);gap:0}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-tape-fraction{display:none}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-tape{height:clamp(66px,11vh,100px);border-radius:0;box-shadow:none}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-comparison-item+.fm-comparison-item .fm-tape{margin-top:-4px}
:where(.fraction-visual-root) .fm-aligned-circle-card{grid-column:1/-1;position:relative;width:100%;height:100%;min-height:0;overflow:hidden}
:where(.fraction-visual-root) .fm-aligned-circle-body{width:100%;height:100%;min-height:0;padding:86px 3% 2%;display:flex;align-items:center;justify-content:center;gap:clamp(20px,5vw,70px);overflow:hidden}
:where(.fraction-visual-root) .fm-circle-overlay{position:relative;flex:0 1 auto;width:min(66vh,48vw,610px);height:min(66vh,48vw,610px);aspect-ratio:1}
:where(.fraction-visual-root) .fm-circle-overlay .fm-circle{position:absolute;inset:0;width:100%;height:100%}
:where(.fraction-visual-root) .fm-circle-extras{flex:0 1 46%;min-width:0;max-height:100%;display:flex;align-items:center;justify-content:center;align-content:center;flex-wrap:wrap;gap:clamp(12px,2vw,26px);overflow:hidden}
:where(.fraction-visual-root) .fm-circle-extra{position:relative;flex:0 1 auto;width:min(31vh,20vw,280px);height:min(31vh,20vw,280px);aspect-ratio:1;padding-bottom:32px;color:var(--item-color)}
:where(.fraction-visual-root) .fm-circle-extra .fm-circle{width:100%;height:100%}
:where(.fraction-visual-root) .fm-circle-extra-fraction{position:absolute;left:50%;bottom:0;width:42px;display:grid;grid-template-rows:auto 3px auto;justify-items:center;transform:translateX(-50%);font-size:20px;font-weight:900;line-height:1;color:var(--item-color)}
:where(.fraction-visual-root) .fm-circle-extra-line{width:34px;height:3px;margin:2px 0;border-radius:3px;background:currentColor}
:where(.fraction-visual-root) .fm-controls[hidden],:where(.fraction-visual-root) .fm-tool[hidden]{display:none}
:where(.fraction-visual-root) .fm-comparison[data-layout="numberline"]{display:block;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
:where(.fraction-visual-root) .fm-numberline-card{width:100%;height:auto;min-height:100%;padding:6px 24px 4px;overflow:visible}
:where(.fraction-visual-root) .fm-numberline-rows{width:100%;height:auto;min-height:100%;display:grid;grid-template-rows:none;grid-auto-rows:clamp(58px,7.5vh,76px);gap:0}
:where(.fraction-visual-root) .fm-numberline-rows.is-filtered{margin:auto}
:where(.fraction-visual-root) .fm-numberline-row{position:relative;width:100%;min-width:0;min-height:0;padding:0 30px;color:var(--navy)}
:where(.fraction-visual-root) .fm-numberline-track{position:relative;width:100%;height:100%;min-height:48px;display:block}
:where(.fraction-visual-root) .fm-numberline-axis{position:absolute;left:0;right:0;bottom:8px;height:3px;background:var(--navy)}
:where(.fraction-visual-root) .fm-numberline-fill{position:absolute;left:0;bottom:11px;height:clamp(8px,1.3vh,13px);border:2px solid #bd8200;border-bottom:0;background:#f3bd1d;border-radius:3px 3px 0 0;transition:width .18s ease-out}
:where(.fraction-visual-root) .fm-numberline-tick{position:absolute;bottom:0;width:44px;height:100%;padding:0;border:0;transform:translateX(-50%);background:transparent;color:var(--navy);cursor:pointer}
:where(.fraction-visual-root) .fm-numberline-tick::before{content:"";position:absolute;left:50%;bottom:3px;width:2px;height:18px;transform:translateX(-50%);background:var(--navy)}
:where(.fraction-visual-root) .fm-numberline-tick.is-major::before{bottom:0;width:3px;height:25px}
:where(.fraction-visual-root) .fm-numberline-tick.is-target::before{z-index:2;width:4px;background:#ef7b25}
:where(.fraction-visual-root) .fm-numberline-tick.is-target::after{content:"";position:absolute;z-index:3;left:50%;bottom:5px;width:13px;height:13px;border:3px solid #fff;border-radius:50%;transform:translateX(-50%);background:#ef7b25;box-shadow:0 1px 5px #0004}
:where(.fraction-visual-root) .fm-numberline-tick>span{position:absolute;left:50%;bottom:25px;transform:translateX(-50%);white-space:nowrap;background:#fff;padding:1px 3px;border-radius:5px}
:where(.fraction-visual-root) .fm-numberline-tick:hover>span,:where(.fraction-visual-root) .fm-numberline-tick:focus-visible>span,:where(.fraction-visual-root) .fm-numberline-tick.is-target>span{color:#c75512;font-weight:900;box-shadow:0 0 0 2px #f4cf5f99}
:where(.fraction-visual-root) .fm-numberline-tick:focus-visible{outline:3px solid var(--gold-light);outline-offset:-3px;border-radius:8px}
:where(.fraction-visual-root) .fm-numberline-integer{font-size:19px;font-weight:800;line-height:1}
:where(.fraction-visual-root) .fm-numberline-label-fraction{width:30px;display:grid;grid-template-rows:auto 2px auto;justify-items:center;font-size:15px;font-weight:800;line-height:1}
:where(.fraction-visual-root) .fm-numberline-label-line{width:25px;height:2px;margin:1px 0;border-radius:3px;background:currentColor}
:where(.fraction-visual-root) .fm-combined-beaker-card{grid-column:1/-1;position:relative;width:100%;height:100%;min-height:0;display:grid;place-items:center;overflow:hidden}
:where(.fraction-visual-root) .fm-combined-beaker{width:min(47vh,38vw,410px);height:min(76vh,62vw,650px);margin-top:42px;filter:drop-shadow(0 5px 8px #0002)}
:where(.fraction-visual-root) .fm-combined-labels{position:absolute;left:50%;top:12px;z-index:4;width:min(72%,560px);display:grid;gap:12px;transform:translateX(-50%)}
:where(.fraction-visual-root) .fm-combined-choice{min-width:0;padding:6px 10px;border:3px solid var(--item-color);border-radius:12px;display:grid;grid-template-rows:auto 3px auto;justify-items:center;background:#fff;color:var(--item-color);font-size:24px;font-weight:900;line-height:1;cursor:pointer;box-shadow:0 3px 9px #0002}
:where(.fraction-visual-root) .fm-combined-choice[aria-pressed="true"]{box-shadow:0 0 0 4px #f4cf5f99,0 3px 9px #0002}
:where(.fraction-visual-root) .fm-combined-choice-line{width:38px;height:3px;margin:3px 0;border-radius:3px;background:currentColor}
:where(.fraction-visual-root) .fm-toolbar{position:absolute;right:20px;bottom:20px;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:11px}
:where(.fraction-visual-root) .fm-tool{position:relative;width:56px;height:56px;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy);box-shadow:0 4px 14px #0005;font-size:18px;font-weight:900;cursor:pointer}
:where(.fraction-visual-root) .fm-tool:disabled{opacity:.35;cursor:not-allowed;box-shadow:0 2px 7px #0003}
:where(.fraction-visual-root) .fm-tool[aria-pressed="true"]{background:var(--gold);color:var(--navy-dark);box-shadow:0 0 0 4px #f4cf5f66,0 4px 14px #0005}
:where(.fraction-visual-root) .fm-tool::after{content:attr(data-tip);position:absolute;right:66px;padding:6px 9px;border-radius:7px;background:var(--navy-dark);color:#fff;font-size:13px;font-weight:800;white-space:nowrap;opacity:0;pointer-events:none;transition:.15s opacity}
:where(.fraction-visual-root) .fm-tool:hover::after,:where(.fraction-visual-root) .fm-tool:focus-visible::after{opacity:1}
:where(.fraction-visual-root) .fm-tool-symbol{font-size:25px;line-height:1}:where(.fraction-visual-root) .fm-mini-tool[hidden]{display:none}
:where(.fraction-visual-root) .fm-mini-tool{position:relative;width:46px;height:46px;flex:0 0 46px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--navy);box-shadow:0 2px 7px #0004;font-size:19px;font-weight:900;cursor:pointer;touch-action:manipulation}
:where(.fraction-visual-root) .fm-mini-tool:hover,:where(.fraction-visual-root) .fm-mini-tool:focus-visible{outline:4px solid var(--gold-light);outline-offset:1px}
:where(.fraction-visual-root) .fm-mini-tool[aria-pressed="true"]{background:var(--gold);color:var(--navy-dark)}
:where(.fraction-visual-root) .fm-mini-tool:disabled{opacity:.35;cursor:not-allowed}
:where(.fraction-visual-root) .fm-mini-tool::after{content:attr(data-tip);position:absolute;left:50%;bottom:55px;padding:5px 8px;border-radius:6px;transform:translateX(-50%);background:var(--navy-dark);color:#fff;font-size:12px;font-weight:800;white-space:nowrap;opacity:0;pointer-events:none}
:where(.fraction-visual-root) .fm-mini-tool[data-tip]:hover::after,:where(.fraction-visual-root) .fm-mini-tool[data-tip]:focus-visible::after{opacity:1}
:where(.fraction-visual-root) #fractionCountBtn{font-size:29px;line-height:1}
:where(.fraction-visual-root) #moreToolsBtn[aria-expanded="true"]{background:var(--gold);color:var(--navy-dark)}
:where(.fraction-visual-root) .fm-mode-icon{display:block;width:31px;height:31px}
:where(.fraction-visual-root) .fm-filter-icon{display:block;width:30px;height:30px}
:where(.fraction-visual-root) .fm-tool:focus-visible,:where(.fraction-visual-root) .fm-step:focus-visible{outline:4px solid var(--gold-light);outline-offset:2px}
@keyframes fm-in{from{opacity:.3;transform:scale(.96)}to{opacity:1;transform:none}}
@media(max-width:720px){:where(.fraction-visual-root) .fm-workspace{padding:8px 70px 8px 8px}
:where(.fraction-visual-root) .fm-board{border-radius:14px}
:where(.fraction-visual-root) .fm-controls{left:10px;top:10px;padding:0 8px 7px}
:where(.fraction-visual-root) .fm-drag-handle{height:26px}
:where(.fraction-visual-root) .fm-fraction-editor{grid-template-columns:auto 42px 58px 42px;grid-template-rows:38px 3px 38px;column-gap:5px}
:where(.fraction-visual-root) .fm-editor-label{font-size:15px}
:where(.fraction-visual-root) .fm-value{font-size:29px}
:where(.fraction-visual-root) .fm-step{width:38px;height:35px;font-size:23px}
:where(.fraction-visual-root) .fm-model-stage{padding:7px}
:where(.fraction-visual-root) .fm-comparison{gap:7px}
:where(.fraction-visual-root) .fm-comparison-item{border-radius:12px}
:where(.fraction-visual-root) .fm-item-fraction{left:7px;top:7px;width:42px;font-size:21px}
:where(.fraction-visual-root) .fm-item-number{right:7px;top:7px;font-size:11px;padding:4px 7px}
:where(.fraction-visual-root) .fm-models[data-count="1"] .fm-circle{width:min(62vh,68vw,390px);height:min(62vh,68vw,390px)}
:where(.fraction-visual-root) .fm-models[data-count="2"] .fm-circle{width:min(43vh,38vw,240px);height:min(43vh,38vw,240px)}
:where(.fraction-visual-root) .fm-models[data-count="3"] .fm-circle,:where(.fraction-visual-root) .fm-models[data-count="4"] .fm-circle{width:min(32vh,34vw,190px);height:min(32vh,34vw,190px)}
:where(.fraction-visual-root) .fm-models[data-count="1"] .fm-beaker{width:min(37vh,43vw,240px);height:min(63vh,73vw,430px)}
:where(.fraction-visual-root) .fm-models[data-count="2"] .fm-beaker{width:min(29vh,31vw,180px);height:min(50vh,53vw,330px)}
:where(.fraction-visual-root) .fm-models[data-count="3"] .fm-beaker,:where(.fraction-visual-root) .fm-models[data-count="4"] .fm-beaker{width:min(21vh,24vw,135px);height:min(36vh,43vw,240px)}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-models[data-count="1"] .fm-circle,:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-models[data-count="1"] .fm-circle{width:min(42vh,30vw,230px);height:min(42vh,30vw,230px)}
:where(.fraction-visual-root) .fm-comparison[data-items="2"] .fm-models[data-count="1"] .fm-beaker,:where(.fraction-visual-root) .fm-comparison[data-items="3"] .fm-models[data-count="1"] .fm-beaker{width:min(25vh,21vw,150px);height:min(44vh,36vw,270px)}
:where(.fraction-visual-root) .fm-aligned-circle-body{padding:72px 1% 1%;gap:10px}
:where(.fraction-visual-root) .fm-circle-overlay{width:min(52vh,54vw,380px);height:min(52vh,54vw,380px)}
:where(.fraction-visual-root) .fm-circle-extras{flex-basis:42%;gap:7px}
:where(.fraction-visual-root) .fm-circle-extra{width:min(23vh,20vw,150px);height:min(23vh,20vw,150px);padding-bottom:25px}
:where(.fraction-visual-root) .fm-circle-extra-fraction{font-size:16px}
:where(.fraction-visual-root) .fm-numberline-card{padding:3px}
:where(.fraction-visual-root) .fm-numberline-row{padding:0 18px}
:where(.fraction-visual-root) .fm-numberline-track{min-height:46px}
:where(.fraction-visual-root) .fm-numberline-tick{width:30px}
:where(.fraction-visual-root) .fm-numberline-integer{font-size:14px}
:where(.fraction-visual-root) .fm-numberline-label-fraction{width:23px;font-size:12px}
:where(.fraction-visual-root) .fm-numberline-label-line{width:20px}
:where(.fraction-visual-root) .fm-models.is-tape{padding:1%}
:where(.fraction-visual-root) .fm-comparison .fm-models.is-tape{padding:45px 6px 6px}
:where(.fraction-visual-root) .fm-tape-row{width:98%;grid-template-columns:66px minmax(0,1fr);gap:8px}
:where(.fraction-visual-root) .fm-comparison .fm-tape-row{grid-template-columns:42px minmax(0,1fr);gap:5px}
:where(.fraction-visual-root) .fm-tape-fraction{width:48px;font-size:25px;grid-template-rows:auto 3px auto}
:where(.fraction-visual-root) .fm-comparison .fm-tape-fraction{width:36px;font-size:19px}
:where(.fraction-visual-root) .fm-tape-fraction-line{height:3px;margin:3px 0}
:where(.fraction-visual-root) .fm-tape{height:clamp(56px,11vh,88px)}
:where(.fraction-visual-root) .fm-toolbar{right:11px;bottom:11px;gap:8px}
:where(.fraction-visual-root) .fm-tool{width:50px;height:50px;font-size:16px}
:where(.fraction-visual-root) .fm-mini-tool{width:42px;height:42px;flex-basis:42px}
}
@media(max-width:720px){:where(.fraction-visual-root) .fm-combined-beaker{width:min(38vh,42vw,250px);height:min(65vh,72vw,440px);margin-top:34px}
:where(.fraction-visual-root) .fm-combined-labels{top:7px;width:min(78%,390px);gap:6px}
:where(.fraction-visual-root) .fm-combined-choice{padding:4px 6px;font-size:19px}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-models.is-tape{padding-left:61px}
:where(.fraction-visual-root) .fm-comparison[data-layout="aligned"][data-mode="tape"] .fm-item-fraction{left:6px}
}
@media(max-height:690px){:where(.fraction-visual-root) .fm-controls{top:9px}
:where(.fraction-visual-root) .fm-fraction-editor{grid-template-rows:37px 3px 37px}
:where(.fraction-visual-root) .fm-step{height:34px}
:where(.fraction-visual-root) .fm-value{font-size:28px}
:where(.fraction-visual-root) .fm-model-stage{padding-top:8px;padding-bottom:8px}
:where(.fraction-visual-root) .fm-tape{height:clamp(50px,12vh,78px)}
}
body.admin-bar :where(.fraction-visual-root) .fm-root{height:calc(100vh - 32px);height:calc(100dvh - 32px)}
@media(max-width:782px){body.admin-bar :where(.fraction-visual-root) .fm-root{height:calc(100vh - 46px);height:calc(100dvh - 46px)}
}
@media(prefers-reduced-motion:reduce){:where(.fraction-visual-root) .fm-root *{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
:where(.fraction-visual-root) .flx-editor{
  --flx-color: #1e3a5f;
  position: absolute;
  left: 28px;
  top: 28px;
  z-index: 45;
  box-sizing: border-box;
  padding: 0 12px 10px;
  background: #fff;
  border: 2px solid #c9d9e5;
  border-top: 6px solid var(--flx-color);
  border-radius: 16px;
  box-shadow: 0 8px 24px #0004;
  color: #26384a;
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
:where(.fraction-visual-root) .flx-editor[hidden]{ display: none; }
:where(.fraction-visual-root) .flx-editor *{ box-sizing: border-box; }
:where(.fraction-visual-root) .flx-head{ display: flex; align-items: center; gap: 6px; }
:where(.fraction-visual-root) .flx-handle{
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #718397;
  font-size: 15px;
  font-weight: 900;
  cursor: grab;
  touch-action: none;
}
:where(.fraction-visual-root) .flx-handle:active{ cursor: grabbing; }
:where(.fraction-visual-root) .flx-title{ color: var(--flx-color); font-size: 17px; }
:where(.fraction-visual-root) .flx-body{
  display: grid;
  grid-template-columns: auto 50px 72px 50px;
  grid-template-rows: 44px 4px 44px;
  align-items: center;
  column-gap: 7px;
  row-gap: 6px;
}
:where(.fraction-visual-root) .flx-label{ font-size: 18px; font-weight: 900; color: #1e3a5f; text-align: right; padding-right: 4px; }
:where(.fraction-visual-root) .flx-label-num{ grid-column: 1; grid-row: 1; }
:where(.fraction-visual-root) .flx-num-minus{ grid-column: 2; grid-row: 1; }
:where(.fraction-visual-root) .flx-num{ grid-column: 3; grid-row: 1; }
:where(.fraction-visual-root) .flx-num-plus{ grid-column: 4; grid-row: 1; }
:where(.fraction-visual-root) .flx-line{ grid-column: 3; grid-row: 2; height: 4px; border-radius: 4px; background: #26384a; }
:where(.fraction-visual-root) .flx-label-den{ grid-column: 1; grid-row: 3; }
:where(.fraction-visual-root) .flx-den-minus{ grid-column: 2; grid-row: 3; }
:where(.fraction-visual-root) .flx-den{ grid-column: 3; grid-row: 3; }
:where(.fraction-visual-root) .flx-den-plus{ grid-column: 4; grid-row: 3; }
:where(.fraction-visual-root) .flx-value{ display: grid; place-items: center; font-size: 38px; font-weight: 900; line-height: 1; color: #26384a; font-variant-numeric: tabular-nums; }
:where(.fraction-visual-root) .flx-editor .flx-step{
  width: 50px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #e8f0f6;
  color: #1e3a5f;
  font-family: inherit; font-size: 29px; font-weight: 900; line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 5px #0002;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
:where(.fraction-visual-root) .flx-editor .flx-step.flx-plus{ background: #d4af37; color: #0f1e3a; }
:where(.fraction-visual-root) .flx-editor .flx-step:active:not(:disabled){ transform: translateY(1px); box-shadow: none; }
:where(.fraction-visual-root) .flx-editor .flx-step:disabled{ opacity: .28; cursor: not-allowed; box-shadow: none; }
:where(.fraction-visual-root) .flx-editor .flx-step:focus-visible{ outline: 4px solid #f4cf5f; outline-offset: 2px; }
@media (max-width: 820px){:where(.fraction-visual-root) .flx-editor{ padding: 0 8px 8px; }
:where(.fraction-visual-root) .flx-handle{ height: 28px; }
:where(.fraction-visual-root) .flx-body{ grid-template-columns: auto 42px 58px 42px; grid-template-rows: 38px 3px 38px; column-gap: 5px; }
:where(.fraction-visual-root) .flx-label{ font-size: 15px; }
:where(.fraction-visual-root) .flx-value{ font-size: 29px; }
:where(.fraction-visual-root) .flx-editor .flx-step{ width: 42px; height: 38px; font-size: 23px; }
}
:where(.fraction-visual-root) .vtb-host .atb-toolbox{display:flex;position:fixed;right:16px;bottom:84px;width:244px;height:380px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 64px);padding:0;gap:0;align-items:stretch;flex-direction:column;background:#f5f7fc;border:2px solid #c8d3e3;border-radius:16px;box-shadow:0 6px 24px #13274240;overflow:hidden;z-index:1000;box-sizing:border-box;container-type:inline-size}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-head{display:flex;flex-shrink:0;height:44px;background:var(--navy,#1e3a5f);color:white;align-items:center}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-head button{border:0;background:transparent;color:white;height:44px;margin:0;padding:0 12px;font-family:inherit;font-size:16px;font-weight:bold;box-shadow:none;border-radius:0}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-grip{flex:1;text-align:left;cursor:move;touch-action:none;user-select:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-fold{width:40px;font-size:24px!important;cursor:pointer}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(94px,1fr));align-content:start;gap:8px;padding:10px 10px 24px;overflow:auto;min-height:0;flex:1}
:where(.fraction-visual-root) .vtb-host .atb-toolbox .atb-toolbar-group{display:contents;border-radius:0;box-shadow:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:68px;min-height:48px;margin:0;padding:6px;border:1px solid #d7dfeb;border-radius:12px;background:white;color:var(--navy,#1e3a5f);box-shadow:0 2px 4px #13274212;cursor:pointer;font-family:inherit}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button:disabled{opacity:.35;cursor:default}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body .atb-tool-icon{width:26px;height:26px;flex-shrink:0}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body .atb-tool-label{font-size:13px;font-weight:bold;line-height:1.2;white-space:normal;text-align:center}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-resize{position:absolute;right:0;bottom:0;width:26px;height:24px;border:0;background:#e4eaf4;color:var(--navy,#1e3a5f);font-size:20px;cursor:nwse-resize;touch-action:none;padding:0;margin:0}
:where(.fraction-visual-root) .vtb-host .atb-toolbox.atb-toolbox-compact .atb-toolbox-body{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));padding:6px 6px 24px}
:where(.fraction-visual-root) .vtb-host .atb-toolbox.atb-toolbox-compact .atb-toolbox-body button{width:44px;height:44px;min-height:44px;border-radius:50%;justify-self:center;gap:0}
:where(.fraction-visual-root) .vtb-host .atb-toolbox.atb-toolbox-compact .atb-tool-label{display:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox.atb-toolbox-compact button:has(img[hidden]) .atb-tool-label{display:block;font-size:10px}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-closed{height:44px!important;min-height:44px}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-closed .atb-toolbox-body,:where(.fraction-visual-root) .vtb-host .atb-toolbox-closed .atb-toolbox-resize{display:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox button:focus-visible{outline:3px solid #4d97ff;outline-offset:-3px}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-layouts{display:flex;flex-shrink:0;gap:4px;padding:5px;background:#e7edf6}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-layouts button{flex:1;min-width:0;height:32px;margin:0;padding:2px;border:1px solid #c7d2e3;border-radius:7px;background:white;color:var(--navy,#1e3a5f);font-family:inherit;font-size:12px;font-weight:bold;cursor:pointer}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-layouts button[aria-pressed="true"]{background:var(--gold,#d4af37);border-color:var(--gold,#d4af37)}
:where(.fraction-visual-root) .vtb-host .atb-toolbox[data-layout] .atb-toolbox-body{grid-template-columns:repeat(var(--atb-tool-columns),minmax(0,1fr))}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-closed .atb-toolbox-layouts{display:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button{--tool-bg:#eef1f5;--tool-border:#cbd2dc;--tool-ink:#394657;--tool-active:#465568;background:var(--tool-bg);border-color:var(--tool-border);color:var(--tool-ink)}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button[data-color="blue"]{--tool-bg:#e0edff;--tool-border:#9abce9;--tool-ink:#184d91;--tool-active:#245fa8}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button[data-color="orange"]{--tool-bg:#ffead4;--tool-border:#e6b07a;--tool-ink:#8b420c;--tool-active:#a64c10}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button[data-color="green"]{--tool-bg:#dcf2e5;--tool-border:#91c7a8;--tool-ink:#1d6342;--tool-active:#24734d}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button[data-color="purple"]{--tool-bg:#ede4fb;--tool-border:#bda2df;--tool-ink:#654091;--tool-active:#7045a1}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button[data-color="navy"]{--tool-bg:#e3eaf4;--tool-border:#9eafc7;--tool-ink:#1e3a5f;--tool-active:#1e3a5f}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button:hover:not(:disabled){box-shadow:0 0 0 2px var(--tool-border)}
:where(.fraction-visual-root) .vtb-host .atb-tool-icon{width:26px;height:26px;display:block;fill:currentColor}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-settings svg{fill:currentColor}
:where(.fraction-visual-root) .vtb-host .atb-toolbox [hidden]{display:none!important}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-grip{font-size:15px!important;line-height:1.2!important;min-width:0;white-space:normal}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body>label,:where(.fraction-visual-root) .vtb-host .atb-toolbox-body>select{grid-column:1/-1;min-width:0;margin:0;padding:6px;position:static;transform:none;background:transparent;box-shadow:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;color:#1e3a5f}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body select{min-width:0;max-width:100%;width:100%;height:44px;background:white;color:#1e3a5f;border:1px solid #c7d2e3;border-radius:8px;font-size:14px}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body :is(.atb-toolbar-group,nav){display:contents;position:static;transform:none;padding:0;background:none;box-shadow:none}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body button{border-radius:12px!important;font-size:14px;line-height:1.3!important}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body img.atb-tool-icon,:where(.fraction-visual-root) .vtb-host .atb-toolbox-body svg.atb-tool-icon{width:26px!important;height:26px!important;fill:currentColor;stroke:none;touch-action:auto}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-head svg{width:24px!important;height:24px!important;fill:currentColor}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-compact .atb-toolbox-body button{border-radius:50%!important}
:where(.fraction-visual-root) .vtb-host .atb-toolbox-body [aria-pressed=true]{background:var(--tool-active,#245fa8);color:white}
@media print{:where(.fraction-visual-root) .vtb-host .atb-toolbox{display:none!important}
}
:where(.fraction-visual-root) .fl-shell .atb-toolbox{pointer-events:auto;transform:none;gap:0;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-body .fm-tool-symbol{font-size:24px;line-height:1;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-body button::before,:where(.fraction-visual-root) .fl-shell .atb-toolbox-body button::after{display:none!important;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-body svg.atb-tool-icon:has([stroke]){fill:none;stroke:currentColor;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-body [hidden]{display:none!important;}
:where(.fraction-visual-root) .fl-shell .fl-tool-settings{border:0;border-radius:18px;padding:24px;background:#fff;color:#1e3a5f;min-width:240px;max-width:calc(100vw - 48px);}
:where(.fraction-visual-root) .fl-shell .fl-tool-settings::backdrop{background:#142b4d88;}
:where(.fraction-visual-root) .fl-shell .fl-tool-settings button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;margin:8px 0;padding:8px 16px;border:1px solid #b9cce5;border-radius:10px;background:#edf4ff;color:#1e3a5f;cursor:pointer;position:static;transform:none;}
:where(.fraction-visual-root) .fl-shell .fl-tool-settings svg{width:26px;height:26px;fill:currentColor;}
:where(.fraction-visual-root) .fl-shell .fl-tool-settings .fm-tool-symbol{font-size:24px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input{grid-column:1/-1;position:static!important;left:auto!important;top:auto!important;width:100%;min-width:0;max-width:none;transform:none!important;margin:0 0 4px;padding:6px;border:1px solid #bccde2;border-top:4px solid var(--flx-color,#2878c8);border-radius:12px;background:white;box-shadow:none;display:block;overflow:auto;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input[hidden]{display:none!important;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-drag-handle,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-handle{height:28px;min-height:28px;justify-content:center;touch-action:auto;cursor:default;font-size:15px;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-head{justify-content:center;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-fraction-editor,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-body{display:grid;grid-template-columns:34px 36px minmax(42px,1fr) 36px;grid-template-rows:42px 3px 42px;gap:4px;min-width:160px;width:100%;margin:0;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-editor-label,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-label{font-size:13px;padding:0;align-self:center;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-value,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-value{font-size:30px;line-height:1;text-align:center;min-width:0;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input button{display:flex;flex-direction:row;width:36px!important;height:40px!important;min-height:40px!important;border-radius:9px!important;margin:0;padding:0;font-size:24px;line-height:1;background:#e8f0fb;color:#1e3a5f;justify-self:center;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input button.plus,:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input button.flx-plus{background:#dceee3;color:#1d6342;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input button[hidden]{display:none!important;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-frac-line,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-line{margin:0;align-self:center;width:100%;height:3px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox{min-width:220px;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-fraction-editor,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-body{grid-template-columns:30px 34px minmax(54px,1fr) 34px;column-gap:3px;min-width:161px;}
:where(.fraction-visual-root) .fl-shell .fl-tool-input .fm-value,:where(.fraction-visual-root) .fl-shell .fl-tool-input .flx-value{font-size:28px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input button{width:34px!important;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox .fl-tool-input img.atb-tool-icon{width:22px!important;height:22px!important;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-head .atb-toolbox-grip{font-size:13px!important;padding:0 7px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-fold img,:where(.fraction-visual-root) .fl-shell .atb-toolbox-resize img{width:22px;height:22px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-resize{display:grid;place-items:center;}
:where(.fraction-visual-root) .fl-shell .fl-tool-settings img.atb-tool-icon{width:24px;height:24px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-compact .atb-toolbox .fl-tool-input{padding:6px;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-body button[aria-pressed=true] img.atb-tool-icon{filter:brightness(0) invert(1);}
:where(.fraction-visual-root) .fl-shell .atb-toolbox.fl-has-input > .fl-tool-input{flex:0 0 auto;width:calc(100% - 12px);margin:6px;box-sizing:border-box;overflow:hidden;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox.fl-has-input > .fl-tool-input .fm-fraction-editor,:where(.fraction-visual-root) .fl-shell .atb-toolbox.fl-has-input > .fl-tool-input .flx-body{box-sizing:border-box;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox.fl-has-input .atb-toolbox-body{flex:1 1 auto;min-height:0;overflow:auto;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox.fl-has-input.atb-toolbox-closed{height:208px!important;min-height:208px!important;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-head img.atb-tool-icon{filter:brightness(0) invert(1);}
:where(.fraction-visual-root) .fl-shell .atb-toolbox-head svg{color:white!important;fill:white!important;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox.fl-has-input.atb-toolbox-closed{height:44px!important;min-height:44px!important;}
:where(.fraction-visual-root) .fl-shell .atb-toolbox.atb-toolbox-closed > .fl-tool-input{display:none!important;}
:where(.fraction-visual-root) .fl-shell{background:linear-gradient(135deg,#0ea5e9,#6366f1,#8b5cf6);}
:where(.fraction-visual-root) .fl-panel{position:relative;inset:auto;height:100%;overflow:hidden;}
:where(.fraction-visual-root) .atb-toolbox-body>button{min-width:0!important;transform:none!important;}
:where(.fraction-visual-root) .atb-toolbox-head img{filter:brightness(0) invert(1);}
:where(.fraction-visual-root) .atb-toolbox-head{display:grid;grid-template-columns:minmax(0,1fr) 32px 32px;gap:4px;padding:0 6px;}
:where(.fraction-visual-root) .atb-toolbox-head .atb-toolbox-grip{font-size:13px!important;padding:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
:where(.fraction-visual-root) .atb-toolbox-head :is(.atb-toolbox-settings,.atb-toolbox-fold){display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;border-radius:50%;background:#ffffff12;}
:where(.fraction-visual-root) .atb-toolbox-head :is(img,svg){width:24px!important;height:24px!important;}

/* 一覧に戻る：最小化しても使えるヘッダー左端 */
:where(.fraction-visual-root) .atb-toolbox-head{display:grid;grid-template-columns:32px minmax(0,1fr) repeat(2,32px);gap:4px;align-items:center;padding:0 6px;}
:where(.fraction-visual-root) .atb-toolbox-head .fraction-list-back{display:grid;place-items:center;width:32px;height:32px;min-width:32px;margin:0;padding:0;background:#ffffff12;border:0;border-radius:50%;color:white;cursor:pointer;}
:where(.fraction-visual-root) .fraction-list-back .atb-tool-label{display:none;}
:where(.fraction-visual-root) .fraction-list-back svg{width:24px!important;height:24px!important;fill:white!important;color:white!important;}
