.tool-tabs{flex-wrap:wrap;gap:8px}.tools-page>h2{margin:16px 0;font-size:25px;color:#614353}.fs-shell{border:2px solid #9c788c;border-radius:12px;overflow:hidden;background:#fffdf9}.fs-shell button,.fs-shell select,#fsHammerDialog button,#fsHammerDialog select,#fsHelpDialog button{font:inherit;color:#503643;border:1px solid #b89caa;border-radius:6px;background:#fffaf6;min-height:40px;padding:7px 11px;cursor:pointer}.fs-shell button:hover{background:#efdee5}.fs-shell button:focus-visible,.fs-shell select:focus-visible,.fs-board [tabindex]:focus-visible{outline:3px solid #32618b;outline-offset:2px}.fs-shell button:disabled{opacity:.4;cursor:default}.fs-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 10px;background:#986e84;color:white}.fs-top-actions{display:flex;gap:5px;flex-wrap:wrap}.fs-top-actions button{font-weight:700;min-width:40px}.fs-mode-label{margin:0;min-width:0}.fs-mode-label select{font-weight:700;max-width:100%;background:#fff9f4}.fs-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;background:#f1e5e3;padding:9px 10px;border-top:1px solid #d2bfc5}#fsBottomOptions,#fsTools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}#fsBottomOptions label{margin:0;display:flex;align-items:center;gap:7px}#fsTools button[aria-pressed=true]{background:#80576e;color:white;box-shadow:inset 0 0 0 1px #80576e}.fs-tool-icon{font-size:21px;display:inline-block;vertical-align:middle;margin-right:5px}.fs-tool-label{font-size:14px}.fs-shell input[type=color]{width:40px;height:40px;border:1px solid #b69aa7;border-radius:6px;padding:3px;cursor:pointer}#fsActivity{position:relative;min-height:540px;background:#fffefa}#fsWorkspace{min-height:540px;position:relative}svg.fs-board{display:block;width:100%;height:auto;aspect-ratio:1000/540;min-height:420px;touch-action:none;user-select:none}.fs-board .fs-object{cursor:grab}.fs-board .fs-object:active{cursor:grabbing}.fs-board text{font-family:inherit;pointer-events:none}.fs-palette{display:flex;gap:8px;align-items:center;background:#f7eeea;border:1px solid #cab3bf;border-radius:8px;padding:8px;z-index:3}.fs-model-palette{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px)}.fs-palette select{max-width:155px}.fs-palette button{padding:4px;display:flex;align-items:center;justify-content:center;min-width:54px}.fs-palette svg{width:54px;height:48px;overflow:visible;touch-action:none;cursor:grab}.fs-fraction{display:inline-flex;vertical-align:middle;flex-direction:column;align-items:center;font-weight:700;line-height:1.05;min-width:28px;font-size:24px;color:#5b4050;margin:0 5px}.fs-fraction span:first-child{padding:0 5px 3px;border-bottom:2px solid currentColor;min-width:100%}.fs-fraction span:last-child{padding-top:3px}.fs-value{font-size:21px;display:flex;align-items:center;justify-content:center;gap:4px;min-height:57px;background:#fffdfa;border:1px solid #d4c0ca;border-radius:6px;flex:1;text-align:center;padding:5px}.fs-display-row{display:flex;gap:8px;align-items:center;padding:9px 12px;background:#f6eeee;border-bottom:1px solid #d5c4cc}.fs-display-row input{width:19px;height:19px}.fs-display-row label{margin:0;display:flex;align-items:center;gap:5px}.fs-compare-row{min-height:260px;position:relative;border-bottom:2px solid #bb9cad}.fs-compare-models{display:flex;align-items:center;gap:12px;padding:16px 12px 22px;min-height:190px}.fs-compare-controls{display:flex;flex-direction:column;gap:6px;flex:0 0 126px}.fs-compare-controls select{width:126px;font-size:14px;padding:7px}.fs-compare-controls label{font-size:13px;line-height:1.3;margin:0}.fs-compare-shapes{flex:1;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.fs-small-model{width:150px;max-width:23%;height:auto;overflow:visible}.fs-part{cursor:pointer}.fs-part:focus-visible{outline:none;stroke:#244e81!important;stroke-width:4!important}.fs-equivalent{display:grid;grid-template-columns:minmax(0,1fr) 40px minmax(0,1fr);min-height:540px}.fs-eq-card{display:flex;flex-direction:column;position:relative;min-width:0}.fs-eq-model{width:min(95%,360px);height:auto;display:block;margin:32px auto 12px;overflow:visible}.fs-eq-card .fs-palette{margin:10px;align-self:flex-start;margin-top:auto}.fs-eq-symbol{align-self:center;font-size:34px;font-weight:700;color:#755468;text-align:center}.fs-set-palette{position:absolute;top:83px;left:0;bottom:0;display:flex;flex-direction:column;gap:5px;width:79px;padding:9px 6px;background:#f9f0eb;border-right:1px solid #d5bdc9;z-index:4}.fs-set-palette.collapsed{width:30px;padding-inline:3px}.fs-set-palette.collapsed .fs-object-source{display:none}.fs-set-palette button{padding:2px;min-height:46px}.fs-set-palette svg{width:44px;height:40px;touch-action:none}.fs-set-values{display:flex;align-items:center;gap:14px;flex-wrap:wrap;flex:1;min-height:58px;font-size:16px}.fs-set-values>span{display:inline-flex;gap:4px;align-items:center}.fs-set-values svg{width:26px;height:26px}.fs-set-values .fs-fraction{font-size:18px;min-width:20px}#fsStatus{min-height:38px;border-top:1px solid #decdd4;padding:8px 14px;font-size:14px;color:#705967;background:#fffcf8}.fs-page-hint{font-size:15px;line-height:1.6;color:#715b65;margin:14px 3px}#fsArrows{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}#fsNotes{position:absolute;inset:0;pointer-events:none;z-index:6}.fs-note{position:absolute;min-width:130px;min-height:90px;background:#fffdf2;border:1px solid #aa899a;border-radius:5px;box-shadow:0 3px 10px #48314420;pointer-events:auto;overflow:hidden;resize:both}.fs-note.empty{opacity:0}.fs-note.empty:focus-within,.fs-note.empty:hover{opacity:1}.fs-note-head{height:27px;background:#a67d92;display:flex;justify-content:space-between;align-items:center;color:white;padding-left:7px;font-size:13px;cursor:move;touch-action:none}.fs-note-head button{min-height:24px;height:24px;width:28px;padding:0;border:0;background:transparent;color:white;border-radius:0;font-size:19px}.fs-note textarea{display:block;width:100%;height:calc(100% - 27px);min-height:60px;border:0;resize:none;padding:9px;background:transparent;color:#503643;font:16px/1.4 inherit}#fsHammerDialog,#fsHelpDialog{width:min(560px,calc(100% - 30px));padding:24px;border:1px solid #9d7a8c;border-radius:12px;color:#503643;background:#fffaf5;max-height:85dvh;overflow:auto}#fsHammerDialog::backdrop,#fsHelpDialog::backdrop{background:#46333f66}#fsHammerDialog h3,#fsHelpDialog h2{margin:0 0 18px}#fsHammerDialog label{display:flex;align-items:center;justify-content:space-between;gap:15px}#fsHammerPreview svg{width:200px;height:200px;display:block;margin:20px auto}.fs-dialog-actions{display:flex;justify-content:flex-end;gap:10px}#fsHelpText li{margin-bottom:15px;line-height:1.55}#fsHelpClose{display:block;margin-left:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:650px){.fs-topbar{align-items:stretch;flex-direction:column}.fs-top-actions{justify-content:flex-end}.fs-top-actions button{min-width:38px;min-height:38px;padding:5px 9px}.fs-mode-label select{width:100%}.fs-tool-label{display:none}.fs-tool-icon{margin:0}.fs-compare-controls{flex-basis:90px}.fs-compare-controls select{width:90px}.fs-small-model{max-width:45%;width:125px}.fs-value{font-size:17px}.fs-display-row{padding:8px 6px;gap:5px}.fs-equivalent{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);min-height:480px}.fs-eq-card .fs-palette{flex-wrap:wrap;gap:4px;margin:6px}.fs-eq-card .fs-palette select{width:72px}.fs-eq-card .fs-palette svg{width:40px}.fs-eq-symbol{font-size:25px}.fs-fraction{font-size:22px}.fs-shell .fs-display-cycle{padding:6px;min-width:36px}.fs-set-values{gap:5px}.fs-model-palette{bottom:10px}.fs-board{min-height:420px}.fs-palette select{max-width:125px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.fs-bottom input[type=checkbox]{width:19px;min-width:19px;height:19px;margin:0}.fs-bottom label{white-space:nowrap}.fs-note textarea{font-family:inherit;font-size:16px;line-height:1.4}

.fs-palette .fs-shape-toggle{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;font-size:25px;line-height:1;background:#976c83;color:white;border:1px solid #80566d;box-shadow:inset 0 1px 2px #ffffff70}
.fs-shape-picker{position:absolute;left:0;bottom:calc(100% + 14px);width:246px;padding:20px 12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px 0;border:1px solid #cab8bf;border-radius:22px;background:#fffdfb;box-shadow:0 4px 20px #49333e40;z-index:20}
.fs-shape-picker[hidden]{display:none}
.fs-shape-picker::after{content:"";position:absolute;width:20px;height:20px;background:#fffdfb;border-right:1px solid #cab8bf;border-bottom:1px solid #cab8bf;transform:rotate(45deg);bottom:-11px;left:20px}
.fs-palette .fs-shape-choice{grid-column:span 2;min-width:0;width:100%;height:60px;min-height:60px;padding:5px;border:2px solid transparent;border-radius:10px;background:transparent;box-shadow:none}
.fs-shape-choice:nth-child(1),.fs-shape-choice:nth-child(6){grid-column:2/span 2}
.fs-shape-choice:nth-child(2),.fs-shape-choice:nth-child(7){grid-column:4/span 2}
.fs-shape-choice:nth-child(3){grid-column:1/span 2}.fs-shape-choice:nth-child(4){grid-column:3/span 2}.fs-shape-choice:nth-child(5){grid-column:5/span 2}
.fs-palette .fs-shape-choice:hover{background:#f6e7ec}.fs-palette .fs-shape-choice[aria-pressed=true]{background:#faedf0;border-color:#b790a4}
.fs-palette .fs-shape-choice svg{width:64px;height:52px;cursor:pointer;pointer-events:none}
.fs-palette .fs-shape-choice:focus-visible{outline:3px solid #32618b;outline-offset:0}
@media(max-width:450px){.fs-shape-picker{width:220px;padding:15px 10px;gap:8px 0}}
.fs-palette button.fs-shape-toggle:hover,.fs-palette button.fs-shape-toggle:focus-visible{background:#80566d;color:#fff}

.fs-compare-row{min-height:260px}
.fs-compare-row>.fs-display-row{gap:0;min-height:65px;background:linear-gradient(#ede2e5,#fffaf7);padding:6px 10px}
.fs-model-visible{flex:1;min-width:34px;font-size:0}
.fs-model-visible input{width:23px;height:23px;margin:0;flex:0 0 23px}
.fs-compare-row .fs-value{flex:0 1 48%;min-height:53px;border-radius:6px 0 0 6px;border-right:0}
.fs-compare-row .fs-display-cycle{border-radius:0 6px 6px 0;height:55px;width:42px;font-size:27px;color:#855e75;background:linear-gradient(#fffaf7,#e7d8df)}
.fs-compare-controls{flex:0 0 110px;align-items:center;gap:18px}
.fs-shell .fs-compare-shape-button{width:42px;min-height:42px;padding:0;font-size:29px;line-height:1;color:#8e657d;background:linear-gradient(#fffaf7,#ebdce2)}
.fs-parts-stepper{display:flex;align-items:center;justify-content:center;gap:4px}
.fs-shell .fs-parts-stepper button{width:27px;min-height:42px;padding:0;border:0;background:transparent;color:#855e75;font-size:39px;line-height:1;box-shadow:none}
.fs-parts-stepper output{display:grid;place-items:center;width:42px;height:44px;border:1px solid #a58a98;border-radius:8px;background:#fffdfa;box-shadow:inset 0 2px 6px #61414e20;font-size:20px;color:#523b46}
.fs-compare-models{min-height:194px;padding:12px 12px 16px}
.fs-hidden-model{height:194px}
.fs-choose-dialog{width:min(350px,calc(100% - 30px));padding:20px;background:#fffaf6;color:#503643;border:1px solid #a98298;border-radius:12px;box-shadow:0 10px 40px #53384630}
.fs-choose-dialog::backdrop{background:#46333f66}
.fs-choose-dialog h3{margin:0 0 16px;font-size:22px}
.fs-shape-carousel{display:flex;gap:8px;align-items:center}
.fs-shape-carousel button{background:transparent;border:0;font-size:48px;color:#8a6078;cursor:pointer;width:40px;flex-shrink:0}
.fs-carousel-art{flex:1;min-width:0}.fs-carousel-art svg{width:100%;height:180px;display:block}
.fs-carousel-caption{font-size:17px;text-align:center;margin:8px 0 22px}
.fs-choose-dialog .fs-dialog-actions button{font:inherit;padding:8px 16px;min-height:42px;background:#f6e9ed;border:1px solid #b398a8;border-radius:6px;color:#503643;cursor:pointer}
.fs-choose-dialog button:focus-visible{outline:3px solid #32618b;outline-offset:2px}
@media(max-width:650px){.fs-compare-controls{flex-basis:90px}.fs-compare-row .fs-value{flex-basis:55%}.fs-compare-row .fs-small-model{width:135px;max-width:44%}}

.fs-compare-shapes[data-count="1"] .fs-small-model{width:210px;max-width:100%}
.fs-compare-shapes[data-count="2"] .fs-small-model{width:200px;max-width:44%}
@media(max-width:650px){.fs-compare-shapes[data-count="1"] .fs-small-model{width:185px;max-width:100%}}

#fsWorkspace[data-mode=set]>.fs-display-row{position:absolute;top:10px;left:110px;right:35px;height:59px;z-index:2;background:transparent;border:0;padding:0;gap:0}
#fsWorkspace[data-mode=set] .fs-set-values{justify-content:center;border:1px solid #b7a4ae;border-radius:6px 0 0 6px;background:#fffdfb;padding:8px;min-height:59px;max-height:120px;overflow:auto;font-size:20px}
#fsWorkspace[data-mode=set]>.fs-display-row>button{height:59px;width:42px;min-width:42px;border-left:0;border-radius:0 6px 6px 0;font-size:29px;color:#8d657d;background:linear-gradient(#fffdf9,#e8dce1)}
#fsWorkspace[data-mode=set] .fs-set-palette{top:0;bottom:0;width:82px;padding:14px 8px;gap:8px;background:#fffdfb;box-shadow:4px 0 10px #60425115}
#fsWorkspace[data-mode=set] .fs-set-palette .fs-object-source{flex:1;min-height:45px;border:0;background:transparent;box-shadow:none}
#fsWorkspace[data-mode=set] .fs-set-palette .fs-object-source:hover{background:#f8e9ed}
#fsWorkspace[data-mode=set] .fs-set-palette svg{width:48px;height:48px}
#fsWorkspace[data-mode=set] .fs-set-palette .fs-palette-tab{position:absolute;top:calc(50% - 24px);right:-23px;width:24px;min-height:48px;padding:0;border:1px solid #c7adbb;border-left:0;background:#fffdfb;border-radius:0 10px 10px 0;font-size:30px;color:#8a6078}
#fsWorkspace[data-mode=set] .fs-set-palette.collapsed{width:0;padding:0;border:0;box-shadow:none}
.fs-theme-wrap{position:relative}.fs-theme-toggle{display:grid;place-items:center;width:44px;padding:6px!important}
.fs-theme-picker{position:absolute;bottom:calc(100% + 14px);left:0;background:#fffdfb;border:1px solid #c8b0bc;border-radius:16px;box-shadow:0 4px 20px #49333e35;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;width:260px;z-index:25}
.fs-theme-picker[hidden]{display:none}.fs-theme-picker button{display:flex;align-items:center;flex-direction:column;gap:4px;border:2px solid transparent;background:transparent;box-shadow:none;font-size:14px;min-height:80px;padding:5px}
.fs-theme-picker button[aria-pressed=true]{border-color:#b790a4;background:#f9eaf0}
.fs-theme-picker svg{width:42px;height:42px}.fs-theme-picker span{text-align:center;line-height:1.25}
@media(max-width:600px){#fsWorkspace[data-mode=set]>.fs-display-row{left:90px;right:12px}#fsWorkspace[data-mode=set] .fs-set-palette{width:65px;padding:12px 5px}#fsWorkspace[data-mode=set] .fs-set-palette svg{width:44px;height:44px}#fsWorkspace[data-mode=set] .fs-set-palette.collapsed{width:0;padding:0}}

#fsWorkspace[data-mode=set] .fs-set-palette svg{width:60px;height:60px}
#fsWorkspace[data-mode=set] .fs-set-palette .fs-object-source{min-height:61px;padding:0}
#fsWorkspace[data-mode=set] .fs-set-values>span{padding:0 9px;gap:5px;border-right:1px solid #d9c8d0;min-height:44px}
#fsWorkspace[data-mode=set] .fs-set-values>span:last-child{border-right:0}
#fsWorkspace[data-mode=set] .fs-set-values svg{width:36px;height:36px}
#fsWorkspace[data-mode=set] .fs-set-values .fs-fraction{font-size:22px}
@media(max-width:600px){#fsWorkspace[data-mode=set] .fs-set-palette svg{width:53px;height:53px}#fsWorkspace[data-mode=set] .fs-set-palette .fs-object-source{min-height:56px}}

.fs-theme-picker{display:flex;width:356px;max-width:calc(100vw - 50px);gap:5px;padding:12px;border-radius:22px}
.fs-theme-picker button{flex:1;min-width:0;min-height:64px;padding:3px;justify-content:center;border-radius:9px}
.fs-theme-picker svg{width:60px;height:60px;max-width:100%}
.fs-theme-picker::after{content:"";position:absolute;width:18px;height:18px;background:#fffdfb;border-right:1px solid #c8b0bc;border-bottom:1px solid #c8b0bc;transform:rotate(45deg);bottom:-10px;left:13px}
.fs-colour-wrap{position:relative;display:flex}
.fs-shell .fs-colour-toggle{width:44px;height:44px;padding:8px;display:grid;place-items:center}
.fs-colour-toggle>span{display:block;width:26px;height:26px;border-radius:7px;border:1.5px solid #6e5360;box-shadow:inset 0 3px 5px #ffffff80,inset 0 -2px 3px #00000018}
.fs-colour-picker{position:absolute;bottom:calc(100% + 14px);right:-22px;display:flex;gap:10px;padding:14px 17px;border:1px solid #c8b0bc;border-radius:22px;background:#fffdfb;box-shadow:0 4px 20px #49333e35;z-index:26}
.fs-colour-picker[hidden]{display:none}
.fs-colour-picker::after{content:"";position:absolute;width:18px;height:18px;background:#fffdfb;border-right:1px solid #c8b0bc;border-bottom:1px solid #c8b0bc;transform:rotate(45deg);bottom:-10px;right:34px}
#fsTools .fs-colour-choice{width:40px;height:42px;min-height:42px;padding:0;border:2px solid #514448;border-radius:10px;background:linear-gradient(to bottom,#ffffffaa 0%,#ffffff35 25%,transparent 48%),var(--swatch);box-shadow:inset 0 1px 2px #ffffff90,inset 0 -3px 4px #00000015;flex-shrink:0}
#fsTools .fs-colour-choice[aria-pressed=true]{outline:3px solid #32618b;outline-offset:3px}
@media(max-width:500px){.fs-colour-picker{gap:7px;padding:12px;right:-30px}#fsTools .fs-colour-choice{width:33px;height:38px;min-height:38px}.fs-theme-picker{width:300px;gap:3px;padding:10px}.fs-theme-picker svg{width:52px;height:52px}}

.fs-equivalent{position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.fs-eq-card:last-child{border-left:1px solid #bca7b2}
.fs-eq-symbol{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2;display:grid;place-items:center;min-width:48px;min-height:48px;padding:4px;border:2px solid #b29aa7;border-radius:5px;background:#fffdf9;font-size:32px;line-height:1}
.fs-eq-card>.fs-display-row{background:transparent;padding:7px 12px;gap:0;border-bottom:0}
.fs-eq-card>.fs-display-row .fs-value{border-radius:6px 0 0 6px;border-right:0}
.fs-eq-card>.fs-display-row button{min-height:57px;width:40px;padding:4px;border-radius:0 6px 6px 0;font-size:27px;color:#885e77;background:linear-gradient(#fffaf7,#e7d8df)}
.fs-eq-model{width:calc(100% - 14px);max-width:460px;margin:22px auto 14px}
.fs-eq-palette{position:relative;margin:8px 0 0!important;padding:8px 10px 8px 8px;border-radius:8px 8px 0 0;gap:7px;background:#fffaf6}
.fs-palette .fs-fraction-toggle{width:38px;min-width:38px;height:40px;min-height:40px;padding:0;font-size:25px;background:#956c83;color:#fff;border-color:#80566d}
.fs-palette .fs-fraction-toggle:hover{background:#80566d}
.fs-eq-palette>button:nth-child(2){background:transparent;box-shadow:none;border:0;padding:0}
.fs-eq-palette>button:nth-child(2) svg{width:70px;height:55px}
.fs-fraction-picker{position:absolute;bottom:calc(100% + 14px);left:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 5px;width:240px;padding:13px 10px;border:1px solid #c5adb9;border-radius:22px;background:#fffdfb;box-shadow:0 4px 20px #49333e40;z-index:20}
.fs-fraction-picker[hidden]{display:none}
.fs-fraction-picker::after{content:"";position:absolute;bottom:-10px;left:17px;width:18px;height:18px;background:#fffdfb;border-right:1px solid #c5adb9;border-bottom:1px solid #c5adb9;transform:rotate(45deg)}
.fs-palette .fs-fraction-choice{min-height:48px;display:flex;align-items:center;justify-content:center;gap:0;border:2px solid transparent;border-radius:8px;background:transparent;box-shadow:none;padding:2px;min-width:0}
.fs-fraction-choice:first-child{grid-column:1/-1;justify-self:center;width:135px}
.fs-palette .fs-fraction-choice[aria-pressed=true]{background:#faedf1;border-color:#b891a4}
.fs-palette .fs-fraction-choice:hover{background:#f6e6ed}
.fs-palette .fs-fraction-choice svg{width:65px;height:46px;flex-shrink:0;cursor:pointer}
.fs-fraction-choice .fs-fraction{font-size:20px;min-width:20px;margin:0 1px}
@media(max-width:650px){.fs-eq-model{width:calc(100% - 6px);margin-top:28px}.fs-eq-card>.fs-display-row{padding:7px 5px}.fs-eq-card>.fs-display-row button{width:32px;min-width:32px}.fs-eq-palette{padding:6px;gap:2px}.fs-eq-palette>button:nth-child(2) svg{width:46px;height:43px}.fs-eq-palette .fs-fraction{font-size:19px;min-width:20px;margin:0 2px}.fs-eq-symbol{min-width:34px;min-height:36px;font-size:26px}.fs-fraction-picker{width:218px;padding:10px 8px}.fs-eq-card:last-child .fs-fraction-picker{left:auto;right:0}.fs-eq-card:last-child .fs-fraction-picker::after{left:auto;right:23px}}
