@font-face{font-family:PuzzleOriginal;src:url('./fonts/soft.ttf?v=common-round-1') format('truetype');font-display:swap}
@font-face{font-family:PuzzleNunito;src:url('./fonts/nunito.ttf?v=common-round-1') format('truetype');font-display:swap}
@font-face{font-family:PuzzleFredoka;src:url('./fonts/fredoka.ttf?v=common-round-1') format('truetype');font-display:swap}
@font-face{font-family:PuzzleBalsamiq;src:url('./fonts/balsamiq.ttf?v=common-round-1') format('truetype');font-display:swap}
@font-face{font-family:PuzzleDynaPuff;src:url('./fonts/dynapuff.ttf?v=common-round-1') format('truetype');font-display:swap}
@font-face{font-family:Rubik;src:url('./fonts/ui.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Rubik;src:url('./fonts/soft.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:Classic;src:url('./fonts/classic.ttf') format('truetype');font-display:swap}
@font-face{font-family:Block;src:url('./fonts/block.ttf') format('truetype');font-display:swap}
:root{--bg:#f3f8ff;--ink:#183858;--muted:#586d85;--blue:#1d70ed;--mint:#21b49d;--pink:#f66b93;--purple:#9064d9;--line:#dce7f4;--shadow:0 12px 34px #285ba40c}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;color:var(--ink);background:radial-gradient(ellipse at 0 10%,#e6faf6 0,transparent 36%),radial-gradient(ellipse at 100% 37%,#f5edff 0,transparent 38%),var(--bg);font:var(--vms-text-body)/1.5 var(--vms-font);-webkit-font-smoothing:antialiased}
button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}
button,a,summary,input{touch-action:manipulation}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #155ecf;outline-offset:4px}
a{color:inherit;text-decoration:none}button{transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
.icon-library{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
main{max-width:1512px;padding:0 4%;margin:auto}
.intro{position:relative;display:grid;align-items:center;justify-content:space-between;gap:25px;min-height:298px;margin:27px 0 30px;padding:29px 38px 31px;background:linear-gradient(112deg,#fff 40%,#f1f7ff 72%,#ebfaf7);border:1px solid #fff;border-radius:28px;box-shadow:var(--shadow);overflow:hidden;grid-template-columns:minmax(0,1fr) minmax(0,.75fr)}
.intro-text{z-index:1}
.eyebrow{display:flex;align-items:center;gap:7px;background:#dff7ef;color:#1e6c65;border-radius:24px;width:max-content;max-width:100%;padding:7px 12px;margin:0 0 13px;font-size:var(--vms-text-compact);font-weight:700;letter-spacing:1px}
.eyebrow .icon{width:16px;height:16px}
h1{margin:0;color:#183858;font-weight:700;font-size:clamp(35px,3.7vw,49px);line-height:1.13;letter-spacing:-1.5px}
h1>span{color:#1c70eb}h1 em{font-style:normal;color:#ed7395}
.intro-copy{font-size:var(--vms-text-body);line-height:1.8;margin:14px 0 13px;color:#536b84}
.hero-tags{display:flex;gap:8px;flex-wrap:wrap}
.hero-tags span{font-size:var(--vms-text-compact);line-height:1.5;font-weight:700;padding:5px 9px;background:#edf4ff;border:1px solid #d9e7fc;border-radius:8px;color:#2c6cbb}
.hero-tags span:nth-child(2){background:#f3edff;border-color:#e6d9fc;color:#7955b1}
.hero-tags span:nth-child(3){background:#fff0f5;border-color:#fad9e4;color:#b14f74}
.intro-note{width:min(100%,390px);min-width:0;position:relative;align-self:center;display:flex;flex-direction:column;justify-content:center;align-items:center;justify-self:center}
.toy-letters{display:flex;align-items:center;gap:13px;position:relative;margin:0 0 18px}
.toy-letter{display:grid;place-items:center;width:82px;height:88px;border-radius:21px;font-weight:700;font-size:55px;line-height:1;background:#fff}
.tile-a{color:#fff;background:#ff7796;box-shadow:0 8px 0 #e85b7c,0 16px 23px #e5789930;transform:rotate(-12deg) translateY(8px)}
.tile-b{color:#976921;background:#ffd56a;box-shadow:0 8px 0 #efb542,0 16px 23px #deb96630;transform:rotate(7deg) translateY(-8px)}
.tile-c{color:#fff;background:#42c6b1;box-shadow:0 8px 0 #21aa95,0 16px 23px #60cbb630;transform:rotate(12deg) translateY(8px)}
.hero-note{font-size:var(--vms-text-compact);line-height:1.7;text-align:center;color:#627e96}.hero-note b{font-size:var(--vms-text-compact);color:#476785}
.hero-spark{position:absolute;line-height:1;pointer-events:none}.spark-one{top:5px;right:6%;color:#9c7ce7;font-size:40px;transform:rotate(16deg)}.spark-two{left:2%;top:48%;font-size:31px;color:#f5bb4b;transform:rotate(-10deg)}
.printer-tag{position:static;display:flex;align-items:center;gap:9px;border:1px solid #d2e2fc;background:#fff;border-radius:12px;padding:9px 13px;color:#3f75b2;font-size:var(--vms-text-compact);font-weight:700;box-shadow:0 4px 12px #275c9c05;grid-column:1/-1;justify-self:end;max-width:100%;flex-wrap:wrap}
.printer-tag>.icon{height:18px;width:18px}.printer-tag>b{padding-left:9px;border-left:1px solid #dae5f5;color:#168474;font-size:var(--vms-text-compact)}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px;scroll-margin-top:22px;flex-wrap:wrap}
.workspace-heading>div,.print-heading{display:flex;align-items:center;gap:12px}
.step-dot{width:35px;height:35px;border-radius:12px;background:#d9f4ec;color:#188d78;display:grid;place-items:center;flex-shrink:0;font-size:var(--vms-text-compact);font-weight:700}
.step-dot>.icon{width:20px;height:20px}
.workspace-heading h2,.print-heading h2{font-size:22px;font-weight:700;letter-spacing:-.5px;line-height:1.3;margin:0}
.text-button{display:flex;align-items:center;gap:7px;border:1px solid #dce7f4;border-radius:11px;background:#fff;color:#617b95;padding:10px 12px;font-size:var(--vms-text-body);white-space:normal;min-height:44px}
.text-button:hover{background:#eaf3ff;color:#146ce2;border-color:#a9c9f5}.text-button>.icon{width:15px;height:15px}
.studio{display:grid;grid-template-columns:370px minmax(0,1fr);overflow:hidden;border:2px solid #e0eaf8;border-radius:25px;background:#fff;box-shadow:var(--shadow)}
.controls{padding:18px;min-width:0;background:#fff;border-right:1px solid #e1eaf5}
.control-section{min-width:0;border:1px solid #dce6f6;border-radius:17px;background:#f0f6ff;padding:16px;margin:0 0 14px}
.control-section:nth-child(2){background:#edfaf6;border-color:#cceee3}
.control-section:nth-child(3){background:#f5f0ff;border-color:#e4d7f8}
.control-section:nth-child(4){background:#fff2f6;border-color:#f8dbe6}
.section-label{display:flex;align-items:center;gap:9px;font-size:var(--vms-text-body);line-height:1.5;font-weight:700;margin:0 0 12px;color:#244868}
.section-label>span:first-child{display:grid;place-items:center;flex-shrink:0;border-radius:8px;background:#1968da;color:white;width:25px;height:25px;font-size:var(--vms-text-compact);font-weight:700}
.control-section:nth-child(2) .section-label>span:first-child{background:#0f806d}
.control-section:nth-child(3) .section-label>span:first-child{background:#8050bf}
.control-section:nth-child(4) .section-label>span:first-child{background:#c04d77}
.name-input-wrap{display:grid;gap:6px}
.name-input-wrap input{width:100%;height:56px;border:2px solid #aecaef;border-radius:12px;background:white;color:#204c79;padding:12px;font-size:23px;font-weight:700;letter-spacing:.8px;box-shadow:0 3px 0 #dce9fb;outline-offset:3px}
.name-input-wrap input:focus{border-color:#3181f3;outline:3px solid #c6dcff}
.name-input-wrap>span{font-size:var(--vms-text-compact);color:#526f91;pointer-events:none;text-align:end}
.field-note{color:#5d7590;font-size:var(--vms-text-compact);line-height:1.7;margin:10px 0 0}
.examples{display:flex;align-items:center;gap:7px;margin-top:10px;flex-wrap:wrap}
.examples>span{font-size:var(--vms-text-compact);color:#536d8a}
.examples button{border:1px solid #d5e4f9;background:white;border-radius:7px;color:#4b73a2;font-weight:700;font-size:var(--vms-text-compact);padding:5px 7px}
.examples button:hover{background:#ddebff;border-color:#aacaf2}
.width-header{display:flex;align-items:center;justify-content:space-between;font-size:var(--vms-text-compact);color:#40756c;margin-bottom:14px}
.number-wrap{display:flex;align-items:center;gap:5px;background:white;border:1px solid #c8e4df;border-radius:9px;padding:6px 9px;font-size:var(--vms-text-compact);color:#59877c;min-height:33px}
.number-wrap input{appearance:textfield;-moz-appearance:textfield;width:46px;padding:0;border:0;background:transparent;color:#245b54;text-align:right;font-size:var(--vms-text-compact);font-weight:700;outline-offset:4px}
.number-wrap input::-webkit-inner-spin-button,.number-wrap input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
input:focus-visible{outline:3px solid #9fc8ff}
.range{appearance:none;height:7px;width:100%;margin:3px 0 11px;border-radius:12px;background:linear-gradient(to right,#22b59e 82.76%,#d8eee7 82.76%);cursor:pointer}
.range::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border:4px solid white;border-radius:50%;background:#16a48d;box-shadow:0 0 0 2px #7ed1be}
.range::-moz-range-thumb{width:12px;height:12px;border:4px solid white;border-radius:50%;background:#16a48d;box-shadow:0 0 0 2px #7ed1be}
.range-labels{display:flex;justify-content:space-between;color:#588279;font-size:var(--vms-text-compact)}
.size-presets{display:flex;gap:8px;margin-top:12px}
.size-presets button{flex:1;border:1px solid #bce1d7;border-radius:9px;padding:9px 3px;background:white;color:#437c6d;font-size:var(--vms-text-compact)}
.size-presets button b{font-size:var(--vms-text-compact);font-weight:700;margin-right:4px}
.size-presets button.selected{color:white;background:#0d806b;border-color:#0d806b;box-shadow:0 3px 0 #168e7a}
.size-presets button:not(.selected):hover{background:#dbf4eb}
.style-section legend{float:left;width:100%;padding:0}
.style-grid{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.style-choice{display:flex;flex-direction:column;align-items:center;position:relative;border:2px solid #e5dcf4;border-radius:12px;background:white;padding:12px 3px 11px;color:#594577;min-width:0}
.style-choice:hover{border-color:#b394e5;background:#fdfbff}
.style-choice.selected{border-color:#9b6cdf;background:#fff;box-shadow:0 4px 0 #dfc9fa}
.style-sample{font-size:31px;line-height:1.4;margin-bottom:4px}.soft{font-family:Rubik;font-weight:700;color:#3d83e8}.classic{font-family:Classic;color:#e47799}.block{font-family:Block;color:#24a990}
.style-choice b{font-size:var(--vms-text-compact);white-space:normal;font-weight:700;overflow-wrap:anywhere}
.style-choice small{font-size:var(--vms-text-compact);white-space:normal;color:#7d6a94;margin-top:4px;overflow-wrap:anywhere}
.style-tick{display:none;position:absolute;right:5px;top:5px;background:#8050bf;border-radius:50%;width:20px;height:20px;line-height:20px;font-size:var(--vms-text-compact);color:white}
.style-choice.selected .style-tick{display:block}
.palettes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.palette-choice{display:flex;align-items:center;flex-direction:column;gap:7px;background:#fff;border:2px solid transparent;border-radius:12px;padding:7px 4px 6px;min-width:0}
.palette-choice.selected{border-color:#e8799c;box-shadow:0 3px 0 #f8d3e1}
.palette-choice:not(.selected):hover{border-color:#f2bfd0}
.palette-swatches{display:flex;overflow:hidden;border-radius:20px}
.palette-swatches i{display:block;width:13px;height:20px;background:var(--c)}
.palette-choice b{color:#975570;font-size:var(--vms-text-compact);font-weight:700;line-height:1.4}
.palette-section .field-note{font-size:var(--vms-text-compact);line-height:1.7;color:#946478}
.advanced{background:#f6f9fe;border:1px solid #e3eaf4;border-radius:13px}
.advanced summary{display:flex;align-items:center;gap:8px;padding:13px 12px;list-style:none;cursor:pointer;color:#547495;font-size:var(--vms-text-compact);font-weight:700}
.advanced summary::-webkit-details-marker{display:none}
.advanced summary>.icon{width:17px;height:17px;color:#5d88bc}
.advanced summary>span{margin-left:auto;font-size:18px;color:#487eb8}
.advanced[open] summary>span{transform:rotate(45deg)}
.advanced-content{padding:0 13px 13px}
.advanced-content label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0;font-size:var(--vms-text-compact);color:#46627f}
.advanced-content .number-wrap{border-color:#d3e2f3}
.advanced-content .number-wrap input{color:#2c5b8c}
.advanced-content p{font-size:var(--vms-text-compact);color:#627a93;line-height:1.7;margin:7px 0 14px}
.preview-panel{display:flex;flex-direction:column;min-width:0;background:linear-gradient(150deg,#f9fcff,#edf5ff 74%,#f4eeff);scroll-margin-top:24px}
.preview-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 24px 0;z-index:1;flex-wrap:wrap}
.preview-label{display:flex;align-items:center;gap:9px;background:#fff;color:#4679ae;border:1px solid #d6e6fc;border-radius:22px;padding:8px 12px;line-height:1.4;font-size:var(--vms-text-compact);font-weight:700;letter-spacing:.5px;white-space:normal;box-shadow:0 3px 12px #3a75ba05}
.live-dot{width:7px;height:7px;background:#26b89e;border-radius:50%;box-shadow:0 0 0 4px #def8ef;flex-shrink:0}
.preview-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.view-tabs{display:flex;gap:3px;border:1px solid #d5e3f5;background:#e8f1ff;padding:4px;border-radius:12px;flex-wrap:wrap}
.view-tabs button{background:none;border:0;border-radius:8px;color:#5e7ca1;padding:8px 12px;font-size:var(--vms-text-compact);font-weight:700}
.view-tabs button.active{color:#fff;background:#1768de;box-shadow:0 3px 7px #216fdf20}
.icon-button{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;background:#fff;border:1px solid #d7e6f7;color:#6591c3;border-radius:10px}
.icon-button>.icon{width:17px;height:17px}.icon-button:hover{background:#e4f0ff;color:#2675df}
.viewer{position:relative;flex:1;min-height:430px;background-image:radial-gradient(#b4cce854 1px,transparent 1px);background-position:center;background-size:23px 23px;overflow:hidden}
.viewer canvas{display:block;position:absolute;inset:0;width:100%;height:100%;touch-action:none}
.dimension-badge{border:1px solid #cbdff8;border-radius:10px;padding:8px 15px;background:#ffffffdc;color:#4e7aa8;font-size:var(--vms-text-compact);font-weight:700;pointer-events:none}
.dimension-badge>span{color:#91afd5;margin-left:24px;font-size:16px}
.axis-mark{position:absolute;right:26px;bottom:25px;pointer-events:none;font-size:var(--vms-text-compact);color:#7f9bc0}
.axis-mark>span{font-size:22px;display:inline-block;color:#6e94c8;transform:rotate(-20deg);margin:0 3px}
.loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;color:#6287b6;background:#f2f8ff;z-index:2;font-size:var(--vms-text-compact)}
.loading>span{width:22px;height:22px;border:3px solid #d3e3fa;border-top-color:#2e7dea;border-radius:50%;animation:spin 1s linear infinite}
.loading[hidden]{display:none}@keyframes spin{to{transform:rotate(360deg)}}
.viewer-error{position:absolute;top:18px;left:18px;right:18px;z-index:2;border:1px solid #f2c78a;background:#fff9edee;color:#8c632b;padding:13px 16px;border-radius:13px;line-height:1.7;font-size:var(--vms-text-compact)}
.viewer-error[hidden]{display:none}
.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 24px 22px;flex-wrap:wrap}
.drag-hint{display:flex;align-items:center;gap:7px;color:#526d8c;font-size:var(--vms-text-compact);line-height:1.7}
.drag-hint>.icon{width:15px;height:15px}
.lift-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border:1px solid #ccdef6;background:#fff;color:#3b73b4;border-radius:12px;font-size:var(--vms-text-compact);font-weight:700;white-space:normal}
.lift-button:hover{border-color:#9bbfee;background:#f6faff}
.lift-button>.icon{width:17px;height:17px}
.switch{position:relative;width:32px;height:18px;background:#dbe6f3;border-radius:20px;flex-shrink:0}
.switch:after{position:absolute;top:3px;left:3px;content:'';width:12px;height:12px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #1d46621c;transition:transform .2s}
.lift-button[aria-pressed=true]{color:#168875;background:#f0fcf7;border-color:#b5e4d5}
.lift-button[aria-pressed=true] .switch{background:#25b79b}
.lift-button[aria-pressed=true] .switch:after{transform:translateX(14px)}
.model-stats{display:flex;align-items:center;gap:22px;padding:21px 24px;background:#ffffffd9;border-top:1px solid #dae6f6;flex-wrap:wrap}
.model-stats>div{display:flex;flex-direction:column;gap:7px}
.model-stats>div>span{font-size:var(--vms-text-compact);color:#587491;letter-spacing:.5px;font-weight:700}
.model-stats b{font-size:var(--vms-text-compact);line-height:1.5;color:#365e88;font-weight:700;white-space:normal;overflow-wrap:anywhere}
.fits{display:flex;align-items:center;gap:5px;margin-left:auto;color:#22836e;font-size:var(--vms-text-compact);font-weight:700;white-space:nowrap;padding:7px 9px;background:#e5f8f0;border:1px solid #cfece0;border-radius:9px}
.fits>.icon{width:15px;height:15px}
.error-banner{padding:14px 18px;background:#fff5ed;border:1px solid #f4c99d;border-radius:14px;margin:15px 0 0;color:#a16528;font-size:var(--vms-text-compact);line-height:1.7}
.error-banner[hidden]{display:none}
.detail-note{min-height:33px;padding:9px 4px;color:#6c7994;font-size:var(--vms-text-compact);line-height:1.6}
.detail-note:empty{min-height:22px;padding:0}
.download-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;border:2px solid #d8e7fc;border-radius:21px;padding:24px;background:linear-gradient(100deg,#fff,#f6faff);box-shadow:var(--shadow)}
.download-copy{display:flex;align-items:center;gap:15px}
.download-icon{display:grid;place-items:center;flex-shrink:0;border:1px solid #bcd6fc;width:49px;height:49px;border-radius:15px;color:#297ae9;background:#e7f1ff;box-shadow:0 4px 0 #d5e5fc}
.download-icon>.icon{width:24px;height:24px}
.download-copy h2{font-size:18px;font-weight:700;line-height:1.45;color:#25517d;letter-spacing:-.4px;margin:0 0 5px}
.download-copy p{font-size:var(--vms-text-compact);color:#65809e;line-height:1.7;margin:0}
.download-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.button{display:flex;align-items:center;justify-content:center;gap:7px;white-space:normal;padding:13px 15px;border:1px solid transparent;border-radius:12px;font-size:var(--vms-text-body);font-weight:700;min-height:46px}
.button>.icon{width:17px;height:17px}.button:hover:not(:disabled){transform:translateY(-2px)}
.button.secondary{border-color:#c7daf4;background:#fff;color:#4d78ac}
.button.secondary:hover:not(:disabled){background:#edf5ff;border-color:#9ec2f2}
#download-letters{color:#268f7b;border-color:#b4e2d3;background:#f2fcf7}
#download-letters:hover:not(:disabled){background:#e3f7ef}
.button.primary{color:#fff;background:#1768de;border-color:#1768de;box-shadow:0 5px 0 #165ccc,0 8px 16px #2073ef13}
.button.primary:hover:not(:disabled){background:#1167e4;border-color:#1167e4;box-shadow:0 5px 0 #0b52be,0 8px 16px #2073ef25}
.button.primary>span{border:1px solid #ffffff60;background:#ffffff1a;border-radius:5px;padding:3px 5px;font-size:var(--vms-text-compact);letter-spacing:.5px;margin-left:3px}
.print-section{margin:36px 0 0;padding-bottom:27px}
.print-heading{margin-bottom:18px}
.print-heading>.step-dot{background:#ffeed3;color:#c28c29}
.print-heading>span:last-child{font-size:var(--vms-text-compact);letter-spacing:.9px;color:#7b92ad;font-weight:700;margin-left:auto}
.print-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.print-card{display:flex;align-items:flex-start;gap:15px;padding:24px;border-radius:20px;background:#eaf3ff;border:1px solid #d3e4fc}
.print-card:nth-child(2){background:#eaf9f2;border-color:#cfeade}
.print-number{display:grid;place-items:center;flex-shrink:0;background:#286bc9;color:white;width:31px;height:31px;border-radius:11px;font-size:var(--vms-text-compact);font-weight:700;box-shadow:0 3px 0 #c6daf9}
.print-card:nth-child(2) .print-number{background:#13816b;box-shadow:0 3px 0 #bfe6d8}
.print-card h3{font-size:var(--vms-text-compact);font-weight:700;line-height:1.5;margin:2px 0 9px;color:#315c8d}
.print-card:nth-child(2) h3{color:#2b7662}
.print-card p{font-size:var(--vms-text-compact);line-height:1.85;color:#5a7596;margin:0 0 14px}
.print-card:nth-child(2) p{color:#567e6d}
.inline-link{border:0;background:none;padding:0;display:flex;align-items:center;gap:14px;font-size:var(--vms-text-compact);line-height:1.6;font-weight:700;color:#2874d6;text-align:left}
.inline-link:hover{color:#0b54b9}.inline-link>span{font-size:17px}
.print-tags{display:flex;gap:6px;flex-wrap:wrap}
.print-tags>span{border:1px solid #c7e3d5;background:#ffffffb0;color:#568471;padding:4px 7px;border-radius:6px;font-size:var(--vms-text-compact);font-weight:700}
.fine-print{display:flex;align-items:flex-start;gap:9px;margin-top:17px;color:#7d91ab}
.fine-print>.icon{width:15px;height:15px;margin-top:2px}
.fine-print p{font-size:var(--vms-text-compact);line-height:1.8;margin:0;color:#5c7290}
footer{display:flex;align-items:center;gap:25px;border-top:1px solid #dce6f3;padding:24px 0 30px;color:#5a738f;font-size:var(--vms-text-compact);flex-wrap:wrap}
.footer-brand{font-size:var(--vms-text-compact);font-weight:700;white-space:nowrap;color:#2c659d;letter-spacing:-.4px}.footer-brand>span{color:#e67a9c}
footer>span:last-child{margin-left:auto;font-size:var(--vms-text-compact)}
.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);max-width:90%;padding:15px 22px;background:#245995;color:white;border:1px solid #367ac2;border-radius:15px;box-shadow:0 7px 30px #183f6926;font-size:var(--vms-text-compact);line-height:1.7;z-index:10}
.toast[hidden]{display:none}
@media(min-width:1550px){.studio{grid-template-columns:390px minmax(0,1fr)}.controls{padding:21px}.control-section{padding:18px}.viewer{min-height:460px}}
@media(max-width:1200px){.intro{padding:28px 30px}.toy-letter{width:72px;height:77px;font-size:48px;border-radius:18px}.studio{grid-template-columns:345px minmax(0,1fr)}.controls{padding:15px}.control-section{padding:14px}.section-label{font-size:var(--vms-text-body)}.model-stats{gap:18px}.fits{margin-left:0}.download-panel{gap:20px;flex-wrap:wrap}.download-buttons{margin-left:auto}.preview-top{padding:19px 20px 0}.preview-bottom{padding-left:20px;padding-right:20px;flex-wrap:wrap;gap:13px}.preview-label{font-size:var(--vms-text-compact);padding:8px 10px}.preview-actions{gap:7px}.view-tabs button{padding:7px 10px}.hero-tags span{font-size:var(--vms-text-compact)}.print-heading>span:last-child{font-size:var(--vms-text-compact)}}
@media(max-width:960px){.intro{min-height:285px;gap:16px;padding:27px}.toy-letters{gap:9px}.toy-letter{height:65px;width:61px;border-radius:16px;font-size:41px}.hero-note{font-size:var(--vms-text-compact)}.hero-note b{font-size:var(--vms-text-compact)}.spark-one{font-size:32px;right:2%;top:7px}.spark-two{font-size:25px;left:0}.printer-tag{font-size:var(--vms-text-compact);padding:8px 10px}.eyebrow{font-size:var(--vms-text-compact);letter-spacing:.8px}.intro-copy{font-size:var(--vms-text-body)}.hero-tags{gap:5px}.hero-tags span{font-size:var(--vms-text-compact);padding:5px 7px}.studio{grid-template-columns:315px minmax(0,1fr)}.controls{padding:13px}.control-section{padding:13px}.style-grid{gap:6px}.style-choice{padding:11px 2px}.style-choice b{font-size:var(--vms-text-compact)}.style-choice small{font-size:var(--vms-text-compact)}.palette-swatches i{width:11px;height:18px}.name-input-wrap input{font-size:21px;padding-left:10px}.name-input-wrap>span{font-size:var(--vms-text-compact)}.examples{gap:5px}.examples>span{font-size:var(--vms-text-compact)}.examples button{font-size:var(--vms-text-compact);padding:5px}.preview-top{padding:17px 14px 0;gap:7px}.preview-label{font-size:var(--vms-text-compact);gap:7px;padding:8px 9px;letter-spacing:0}.view-tabs button{padding:7px 8px;font-size:var(--vms-text-compact)}.icon-button{width:30px;height:30px}.preview-actions{gap:5px}.preview-bottom{padding:0 17px 18px}.drag-hint{font-size:var(--vms-text-compact)}.lift-button{font-size:var(--vms-text-compact)}.model-stats{padding:18px;gap:17px}.model-stats b{font-size:var(--vms-text-compact)}.model-stats>div>span{font-size:var(--vms-text-compact)}.fits{font-size:var(--vms-text-compact)}.print-heading h2,.workspace-heading h2{font-size:20px}.print-heading>span:last-child{display:none}.download-copy h2{font-size:17px}.print-card{padding:20px}.print-card p{font-size:var(--vms-text-compact)}.print-card h3{font-size:var(--vms-text-compact)}footer{gap:18px}}
@media(max-width:760px){main{padding:0 5%}.intro{min-height:0;margin:21px 0 25px;padding:27px 25px 69px;gap:0;border-radius:24px}.intro-text{width:100%}.eyebrow{font-size:var(--vms-text-compact);margin-bottom:14px;padding:7px 10px}.eyebrow>.icon{width:14px;height:14px}h1{font-size:43px;letter-spacing:-1.6px;line-height:1.12}.intro-copy{font-size:var(--vms-text-body);line-height:1.8;margin-top:13px}.toy-letters{gap:5px;margin:0}.toy-letter{width:31px;height:33px;font-size:22px;border-radius:9px}.tile-a{box-shadow:0 4px 0 #e85b7c;transform:rotate(-12deg) translateY(2px)}.tile-b{box-shadow:0 4px 0 #efb542;transform:rotate(7deg) translateY(-4px)}.tile-c{box-shadow:0 4px 0 #21aa95;transform:rotate(12deg) translateY(2px)}.hero-note,.hero-spark{display:none}.hero-tags{margin-top:13px;gap:6px}.hero-tags span{font-size:var(--vms-text-compact);padding:5px 7px}.printer-tag{padding:7px 9px;font-size:var(--vms-text-compact);gap:6px;border-radius:9px}.printer-tag>.icon{width:14px;height:14px}.printer-tag>b{font-size:var(--vms-text-compact);padding-left:6px}.workspace-heading{gap:10px;margin-bottom:15px}.workspace-heading>div{gap:9px}.workspace-heading h2{font-size:19px;letter-spacing:-.4px}.step-dot{width:32px;height:32px;border-radius:11px}.step-dot>.icon{width:19px;height:19px}.text-button{width:36px;height:36px;justify-content:center;padding:8px;font-size:0;gap:0}.text-button>.icon{width:17px;height:17px}.studio{display:flex;flex-direction:column;border-radius:21px}.controls{padding:16px;border:0;background:#fff}.control-section{padding:16px;margin-bottom:14px;border-radius:16px}.section-label{font-size:var(--vms-text-body);margin-bottom:13px}.section-label>span:first-child{width:26px;height:26px;font-size:var(--vms-text-compact)}.name-input-wrap input{height:59px;font-size:25px;padding-left:13px}.name-input-wrap>span{font-size:var(--vms-text-compact)}.field-note{font-size:var(--vms-text-compact)}.examples{gap:8px;margin-top:11px}.examples>span{font-size:var(--vms-text-compact)}.examples button{font-size:var(--vms-text-compact);padding:5px 7px}.width-header{font-size:var(--vms-text-compact);margin-bottom:17px}.number-wrap{min-height:36px;padding:6px 10px}.number-wrap input{font-size:17px}.range{height:8px;margin-bottom:14px}.range::-webkit-slider-thumb{width:23px;height:23px}.range-labels{font-size:var(--vms-text-compact)}.size-presets button{padding:10px 5px;font-size:var(--vms-text-compact)}.style-grid{gap:8px}.style-choice{padding:13px 3px 12px}.style-sample{font-size:34px}.style-choice b{font-size:var(--vms-text-compact)}.style-choice small{font-size:var(--vms-text-compact)}.style-tick{top:5px;right:5px;font-size:var(--vms-text-compact)}.palettes{gap:9px}.palette-choice{padding:9px 5px 8px;gap:8px}.palette-swatches i{width:15px;height:22px}.palette-choice b{font-size:var(--vms-text-compact)}.palette-section .field-note{font-size:var(--vms-text-compact)}.advanced summary{padding:15px;font-size:var(--vms-text-compact)}.advanced-content{padding:0 15px 15px}.advanced-content label{font-size:var(--vms-text-compact)}.advanced-content p{font-size:var(--vms-text-compact)}.preview-panel{border-top:2px solid #dfebfa}.preview-top{padding:18px 16px 0;gap:8px}.preview-label{font-size:var(--vms-text-compact);padding:8px 10px}.preview-actions{gap:6px}.view-tabs button{padding:8px 10px;font-size:var(--vms-text-compact)}.icon-button{width:32px;height:32px}.viewer{min-height:300px;aspect-ratio:1.35;flex:auto}.preview-bottom{padding:0 16px 18px;flex-wrap:wrap;gap:12px}.drag-hint{font-size:var(--vms-text-compact);width:100%;justify-content:center;order:1}.lift-button{font-size:var(--vms-text-compact);width:100%;padding:12px}.lift-button>.icon{width:19px;height:19px}.switch{margin-left:4px}.model-stats{padding:18px 16px;gap:18px 20px;justify-content:flex-start}.model-stats b{font-size:var(--vms-text-compact)}.model-stats>div>span{font-size:var(--vms-text-compact)}.fits{font-size:var(--vms-text-compact);padding:7px 10px}.dimension-badge{font-size:var(--vms-text-compact)}.axis-mark{right:18px;bottom:24px}.detail-note{font-size:var(--vms-text-compact);padding-left:3px;padding-right:3px}.download-panel{padding:20px;border-radius:19px;gap:20px}.download-copy{gap:12px}.download-copy h2{font-size:16px;line-height:1.45}.download-copy p{font-size:var(--vms-text-compact)}.download-icon{width:44px;height:44px;border-radius:13px}.download-buttons{display:grid;grid-template-columns:1fr 1fr;margin:0;width:100%;gap:10px}.button{font-size:var(--vms-text-body);padding:13px 8px}.download-buttons>.primary{grid-column:1/-1;font-size:var(--vms-text-compact);min-height:51px}.button.primary>span{font-size:var(--vms-text-compact)}.print-section{margin-top:29px}.print-heading{gap:9px;margin-bottom:16px}.print-heading h2{font-size:18px}.print-grid{grid-template-columns:1fr;gap:14px}.print-card{padding:21px;gap:13px;border-radius:18px}.print-card h3{font-size:var(--vms-text-compact)}.print-card p{font-size:var(--vms-text-compact);line-height:1.85}.inline-link{font-size:var(--vms-text-compact)}.print-tags>span{font-size:var(--vms-text-compact)}.fine-print p{font-size:var(--vms-text-compact)}.fine-print>.icon{width:15px;height:15px}footer{flex-wrap:wrap;gap:10px 16px;padding:22px 0 27px;font-size:var(--vms-text-compact)}.footer-brand{font-size:var(--vms-text-compact)}footer>span:last-child{margin:0;flex-basis:100%;font-size:var(--vms-text-compact)}.toast{font-size:var(--vms-text-compact);padding:14px 18px;width:max-content}}
@media(max-width:390px){.intro{padding:25px 21px 67px}h1{font-size:38px}.eyebrow{font-size:var(--vms-text-compact);letter-spacing:.6px}.intro-copy{font-size:var(--vms-text-body)}.hero-tags span{font-size:var(--vms-text-compact)}.toy-letters{gap:4px}.toy-letter{width:27px;height:29px;font-size:19px}.workspace-heading h2{font-size:17px}.controls{padding:13px}.control-section{padding:13px}.section-label{font-size:var(--vms-text-body)}.style-choice b{font-size:var(--vms-text-compact)}.style-choice small{font-size:var(--vms-text-compact)}.palette-swatches i{width:13px}.preview-label{font-size:var(--vms-text-compact);gap:7px;padding:8px}.preview-top{padding-left:13px;padding-right:13px}.view-tabs button{padding:7px 8px}.preview-actions{gap:5px}.icon-button{width:29px;height:29px}.print-heading h2{font-size:16px}.download-copy h2{font-size:var(--vms-text-compact)}.download-copy p{font-size:var(--vms-text-compact)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Alphabet and illustrated word workshops */
.mode-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 12px}
.mode-card{display:flex;align-items:center;gap:13px;padding:17px 20px;border:2px solid #dce7f8;border-radius:19px;background:#fff;color:#31577d;text-align:left;box-shadow:0 4px 14px #2860a305}
.mode-card:hover{border-color:#9bc3f5;transform:translateY(-1px)}
.mode-card.selected{border-color:#337fee;background:#edf5ff;box-shadow:0 4px 0 #c8dcfa}
.mode-card:nth-child(2).selected{border-color:#9864d8;background:#f7f0ff;box-shadow:0 4px 0 #e7d6fa}
.mode-card:nth-child(3).selected{border-color:#eb779a;background:#fff1f6;box-shadow:0 4px 0 #f8d2e0}
.mode-card>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
.mode-card b{font-size:var(--vms-text-body);font-weight:700}.mode-card small{font-size:var(--vms-text-compact);color:#6a7f98}
.mode-emoji{width:42px;height:42px;border-radius:13px;background:#edf4ff;display:grid;place-items:center;font-size:27px;flex-shrink:0;font-weight:700;color:#9260ce}
.mode-card:nth-child(2) .mode-emoji{background:#f2e9ff;font-size:24px}.mode-card:nth-child(3) .mode-emoji{background:#ffedf3}
.mode-description{font-size:var(--vms-text-body);line-height:1.8;color:#5c7593;margin:13px 3px 24px}
#name-panel,.alphabet-panel{background:#f0f6ff!important;border-color:#dce6f6!important}
.size-panel{background:#edfaf6!important;border-color:#cceee3!important}
.style-section{background:#f5f0ff!important;border-color:#e4d7f8!important}
.palette-section{background:#fff2f6!important;border-color:#f8dbe6!important}
#name-panel .section-label>span,.alphabet-panel .section-label>span{background:#1968da!important}
.size-panel .section-label>span{background:#0f806d!important}
.style-section .section-label>span{background:#8050bf!important}
.palette-section .section-label>span{background:#c04d77!important}
#name-label{font-weight:700}
.controls select,.controls textarea,.controls #custom-language-name{width:100%;padding:10px 11px;border:1px solid #bbd1ef;border-radius:10px;background:#fff;color:#315d87;font:var(--vms-text-body)/1.5 var(--vms-font);min-height:46px;line-height:1.5}
.controls textarea{resize:vertical;font-size:19px;letter-spacing:2px;min-height:95px}
.small-label{display:block;font-size:var(--vms-text-body);font-weight:700;color:#4f6c8e;line-height:1.6;margin:13px 0 6px}
.inline-control{display:flex;justify-content:space-between;align-items:center;gap:12px}
.inline-control select{width:112px;flex-shrink:0}
.inline-control .number-wrap{width:auto}
.alphabet-sizing{margin-top:16px}
.alphabet-sizing>label{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;font-size:var(--vms-text-body);font-weight:700;color:#4e6e91}
.alphabet-sizing>label>select{width:90px;min-height:35px;padding:5px 10px;font-size:var(--vms-text-compact)}
.alphabet-summary{font-size:var(--vms-text-compact);line-height:1.8;color:#446b98;border:1px solid #cddff5;background:#fff;border-radius:10px;margin:13px 0 0;padding:10px}
.letter-options{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4daf6;background:#faf6ff;border-radius:13px;padding:12px;margin-bottom:14px}
.letter-options>label{font-size:var(--vms-text-body);font-weight:700;line-height:1.5;color:#665082}
.letter-options>select{width:145px;flex-shrink:0;min-height:36px;font-size:var(--vms-text-compact);padding:7px;border-color:#d6c8ee}
.font-upload-panel{border:1px solid #dfd6f3;background:#faf7ff;border-radius:13px;margin-bottom:12px;padding:0 12px 12px}
.font-upload-panel summary{padding:12px 0 0;font-size:var(--vms-text-compact);font-weight:700;color:#795a9b;cursor:pointer}
.font-upload-label{display:block;font-size:var(--vms-text-compact);font-weight:700;color:#675585;margin:13px 0 5px}
.font-upload-label input{display:block;max-width:100%;margin-top:8px;font-size:var(--vms-text-compact)}
.font-upload-panel .inline-link{margin-top:10px;font-size:var(--vms-text-compact);color:#8259b5}
.illustration-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,5.1rem),1fr));gap:7px;margin:11px 0}
.illustration-gallery>button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 2px;background:#fff;border:2px solid #dfebfa;border-radius:12px;min-width:0;color:#54789d}
.illustration-gallery svg{display:block;width:44px;height:44px}
.illustration-gallery span{font-size:var(--vms-text-compact);font-weight:700;line-height:1.5;max-width:100%;overflow:visible;white-space:normal;overflow-wrap:anywhere}
.illustration-gallery button.selected{border-color:#e9769b;background:#fff9fc;box-shadow:0 3px 0 #f7d9e5}
.illustration-gallery button:hover{border-color:#b8cced}
.page-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin:17px 20px 0;font-size:var(--vms-text-compact);font-weight:700;color:#5b68a1;z-index:1;flex-wrap:wrap}
.page-controls>button{width:34px;height:31px;border:1px solid #d4dff2;border-radius:9px;background:#fff;color:#5676ad;font-size:18px;font-weight:700}
.page-controls>button:disabled{opacity:.35}
.word-pair{margin:16px 24px 0;padding:9px 13px;align-self:flex-start;max-width:calc(100% - 48px);border:1px solid #c3e8e1;border-radius:12px;background:#effbf8;color:#167c70;font-size:var(--vms-text-compact);font-weight:700;overflow-wrap:anywhere;z-index:1}
.word-pair[hidden]{display:none}
.word-language-options{padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #d7e5f6}
.word-language-options>select{background:#fff;border-color:#b4d9cf}
#custom-word-language-fields{margin-top:10px}
#custom-word-language-fields .small-label{margin-bottom:6px}
.word-language-options[hidden],#custom-word-language-fields[hidden]{display:none!important}
.brand-note{margin:14px 24px 0;color:#795f35;font-size:var(--vms-text-compact);line-height:1.7;z-index:1}
.brand-note[hidden]{display:none}
#download-label{font-weight:700}
.alphabet-panel[hidden],#name-panel[hidden],#word-options[hidden],#custom-alphabet-fields[hidden],.letter-options[hidden],.font-upload-panel[hidden],.page-controls[hidden],#clear-font[hidden]{display:none!important}
@media(max-width:960px){.mode-card{padding:13px;gap:9px}.mode-card b{font-size:var(--vms-text-body)}.mode-card small{font-size:var(--vms-text-compact)}.mode-emoji{width:35px;height:35px;font-size:24px}.letter-options{flex-wrap:wrap}.letter-options>select{width:100%}.illustration-gallery svg{width:40px;height:40px}}
@media(max-width:760px){.mode-selector{gap:8px}.mode-card{flex-direction:column;justify-content:center;text-align:center;gap:7px;padding:12px 4px;border-radius:15px}.mode-card b{font-size:var(--vms-text-body)}.mode-card small{font-size:var(--vms-text-compact);line-height:1.6}.mode-emoji{width:35px;height:35px;font-size:24px}.mode-card:nth-child(2) .mode-emoji{font-size:21px}.mode-description{font-size:var(--vms-text-body);margin-bottom:20px}.controls select{font-size:var(--vms-text-body);min-height:43px}.small-label{font-size:var(--vms-text-body)}.alphabet-sizing>label{font-size:var(--vms-text-body)}.alphabet-summary{font-size:var(--vms-text-compact)}.letter-options{flex-wrap:nowrap;padding:13px}.letter-options>select{width:160px;font-size:var(--vms-text-compact)}.illustration-gallery svg{width:48px;height:48px}.illustration-gallery span{font-size:var(--vms-text-compact)}.font-upload-panel summary{font-size:var(--vms-text-compact)}.font-upload-label{font-size:var(--vms-text-compact)}.page-controls{font-size:var(--vms-text-compact);gap:15px}.page-controls>button{width:38px;height:36px}}
@media(max-width:390px){.mode-card b{font-size:var(--vms-text-body)}.mode-card small{font-size:var(--vms-text-compact)}.letter-options{flex-wrap:wrap}.letter-options>select{width:100%}.illustration-gallery svg{width:42px;height:42px}}
@media(min-width:761px){.studio{overflow:clip}.preview-panel{position:sticky;top:18px;align-self:start;border-radius:0 22px 22px 0}.viewer{min-height:360px}}
.jump-to-preview{display:none}
@media(max-width:760px){.jump-to-preview{display:flex;margin-top:12px;font-size:var(--vms-text-compact)}.preview-panel{position:static}}

.picture-maker{background:linear-gradient(135deg,#fff3fa,#f4f0ff);border:2px solid #e3cffb;border-radius:20px;padding:17px;margin:20px 0}.picture-maker-heading{display:flex;gap:10px;align-items:center;color:#8352c6}.picture-maker-heading>span{font-size:28px}.picture-maker h3{margin:0;font-size:18px}.optional{font-weight:400;font-size:var(--vms-text-compact);color:#7c7495}.generate-picture{display:block;width:100%;min-height:48px;margin-top:15px;border:0;border-radius:13px;background:#8454ce;color:white;font:inherit;cursor:pointer}.generate-picture:disabled{opacity:.55;cursor:default}.picture-service-status{font-size:var(--vms-text-compact);line-height:1.5;color:#74628c}.picture-upload{border-top:1px solid #e2d3ef;padding-top:14px;margin-top:14px}.picture-upload label{display:block;font-weight:800;margin-bottom:9px}.picture-upload input{max-width:100%;font-size:var(--vms-text-compact)}.picture-upload small{display:block;font-size:var(--vms-text-compact);line-height:1.5;margin-top:8px;color:#677fa2}.custom-picture-preview{padding:10px;margin-top:10px;border-radius:14px;background:white;text-align:center}.custom-picture-preview svg{width:112px;height:112px}.custom-picture-preview p{font-size:var(--vms-text-compact);margin:2px 0;color:#5d7493}
[hidden]{display:none!important}
.controls #picture-details,.controls #custom-name-language{display:block;width:100%;min-width:0;min-height:44px;border:1px solid #c8b7e3;border-radius:11px;background:#fff;color:#315d87;padding:10px 12px;font:var(--vms-text-body)/1.5 var(--vms-font);line-height:1.5}.generate-picture{font:inherit;font-size:var(--vms-text-body);font-weight:700}.picture-upload input::file-selector-button{border:1px solid #c5b4e2;border-radius:8px;padding:7px 9px;background:#fff;color:#70459c;font:inherit;cursor:pointer}

.palettes{grid-template-columns:repeat(2,minmax(0,1fr))}.solid-swatch{height:25px;width:76px;max-width:100%;border-radius:20px;background:#4082f5}.letter-color-control{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;padding:12px;border:1px solid #efd2df;border-radius:12px;background:#fff;flex-wrap:wrap}.letter-color-control label{font-size:var(--vms-text-compact);font-weight:700}.letter-color-control input{width:48px;height:36px;padding:2px;border:1px solid #d5deef;border-radius:8px;background:#fff;cursor:pointer}.letter-color-control>span{font-size:var(--vms-text-compact);font-weight:700;color:#547197}

.puzzle-account-link{border:1px solid #bed5f5;background:#fff;padding:9px 13px;border-radius:12px;color:#2568b4;font-size:var(--vms-text-compact);font-weight:700;text-decoration:none;white-space:nowrap}.generated-picture-source{background:#fff;padding:12px;border-radius:13px;margin:12px 0}.generated-picture-source img{display:block;width:120px;max-width:100%;height:120px;object-fit:contain;margin:0 auto 8px}.generated-picture-source a{display:block;color:#7044ad;font-size:var(--vms-text-compact);text-align:center;font-weight:700}

/* VMS-25-v1 keeps every removable letter compatible across workshops. */
.standard-card{margin:0 0 18px;padding:18px;border:2px solid #a7dcd0;border-radius:19px;background:linear-gradient(135deg,#e7faf3,#eff5ff);color:#214c67}.standard-tag{display:block;color:#147b68;font-size:var(--vms-text-compact);font-weight:700;letter-spacing:.65px}.standard-card h3{margin:9px 0 12px;font-size:20px;line-height:1.25}.standard-card p{margin:12px 0 0;font-size:var(--vms-text-compact);line-height:1.65;color:#52718a}.standard-metrics{display:flex;gap:10px}.standard-metrics strong{display:block;flex:1;padding:10px;border:1px solid #cce4df;border-radius:12px;background:#fff;font-size:23px;line-height:1.2;color:#246456}.standard-metrics small{display:block;margin-top:4px;color:#55718a;font-size:var(--vms-text-compact);font-weight:400}.number-wrap:has(input:disabled){background:#f5faf8;border-color:#d4e6df}.number-wrap input:disabled{opacity:1;color:#2f6d5c;-webkit-text-fill-color:#2f6d5c}.base-shape{display:grid;place-items:center;width:60px;height:35px;margin:8px auto 11px;border:2px solid #d6c38e;border-radius:9px;background:#fff2cf;color:#3172c4;font:700 17px var(--vms-font);letter-spacing:1px}.base-shape-classic{border-radius:18px}.base-shape-block{border-radius:3px}.bulk-panel{padding:24px;margin-top:24px;border:2px solid #d7e5f8;border-radius:24px;background:#fff;box-shadow:var(--shadow)}.bulk-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:21px;font-weight:700;color:#244d75}.bulk-panel>summary>b{padding:6px 10px;border:1px solid #b7dfd1;border-radius:9px;background:#e9f9f3;color:#23745f;font-size:var(--vms-text-compact)}.bulk-panel>p{color:#58738f;font-size:var(--vms-text-compact);line-height:1.6}.bulk-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;gap:16px;align-items:end;margin-top:18px}.bulk-fields label{display:flex;flex-direction:column;gap:7px;font-size:var(--vms-text-compact);font-weight:700;color:#345c7f}.bulk-fields input,.bulk-fields select{display:block;min-width:0;width:100%;min-height:48px;border:1px solid #bed1e9;border-radius:11px;padding:10px;background:#f9fcff;color:#315d84;font:inherit}.bulk-fields button{min-height:48px}.bulk-panel .bulk-summary{padding:12px;border:1px solid #cce8de;border-radius:11px;background:#f0fbf6;color:#24725c;font-size:var(--vms-text-compact);font-weight:700}.bulk-panel .field-note{font-size:var(--vms-text-compact)}.bulk-panel:not([open])>summary{padding:0}.bulk-panel[open]>summary{padding-bottom:5px}
@media(max-width:760px){.standard-card{padding:16px}.standard-card h3{font-size:19px}.bulk-panel{padding:18px;border-radius:19px}.bulk-panel>summary{font-size:18px}.bulk-fields{grid-template-columns:1fr 1fr}.bulk-fields button{grid-column:1/-1}.bulk-panel>p{font-size:var(--vms-text-compact)}}
@media(max-width:390px){.bulk-fields{grid-template-columns:1fr}.bulk-fields button{grid-column:auto}}

.build-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 24px 0;z-index:3}.build-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:11px 17px;border:0;border-radius:12px;background:#196be1;box-shadow:0 3px 0 #c3dbff;color:#fff;font:700 var(--vms-text-body) var(--vms-font)}.build-controls button:hover{background:#105bbf}.build-controls button:disabled{opacity:.65}.build-controls>span{flex:1;min-width:150px;color:#50708b;font-size:var(--vms-text-compact);line-height:1.5}.viewer.invalid-model canvas{visibility:hidden}.viewer.invalid-model .dimension-badge{display:none}.picture-next-step{padding:11px;border:1px solid #c7dfd1;border-radius:12px;background:#effbf4;color:#2b725f;font-size:var(--vms-text-compact);line-height:1.65}.generated-picture-source img[hidden]{display:none!important}
@media(max-width:760px){.build-controls{padding:13px 16px 0;gap:10px}.build-controls button{width:100%;min-height:45px}.build-controls>span{font-size:var(--vms-text-compact)}.picture-next-step{font-size:var(--vms-text-compact)}}

.small-parts-note{margin:18px 0;padding:16px 20px;border:1px solid #efd299;border-radius:16px;background:#fff8e9;color:#785622;font-size:var(--vms-text-compact);line-height:1.7}.small-parts-note strong{font-size:var(--vms-text-compact)}.small-parts-note p{margin:6px 0 0}.small-parts-note a{color:#5b469b;text-decoration:underline}

.large-name-card{background:linear-gradient(130deg,#e6f8ef,#edf3ff);border-color:#93d6c1}#name-format-options{padding:14px 0;margin-bottom:14px;border-bottom:1px solid #d7e7fa}#name-format-options .field-note{margin-bottom:0}

.grip-options{background:#effbf6;border:1px solid #bde7d7}.grip-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;color:#225b4e}.grip-toggle>span{display:flex;flex-direction:column;gap:5px}.grip-toggle b{font-size:16px}.grip-toggle small{font-size:var(--vms-text-compact);font-weight:500;color:#547b70}.grip-toggle input{width:42px;height:26px;flex-shrink:0;accent-color:#16a28b;cursor:pointer}.grip-options .field-note:last-child{margin-bottom:0}

.grip-toggle input{appearance:none;-webkit-appearance:none;position:relative;margin:0;border:2px solid transparent;border-radius:16px;background:#d5e5df;transition:background .15s}.grip-toggle input::before{content:"";position:absolute;top:1px;left:1px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 3px #28664f24;transition:transform .15s}.grip-toggle input:checked{background:#16a28b}.grip-toggle input:checked::before{transform:translateX(16px)}.grip-toggle input:focus-visible{outline:3px solid #407df5;outline-offset:4px}

/* The added constructor shares the studio typography and controls. */
.mode-selector{grid-template-columns:repeat(4,minmax(0,1fr))}
.paired-mode-card.selected{border-color:#22ac99;background:#eafaf5;box-shadow:0 4px 0 #bfeadd}
.paired-mode-card .mode-emoji{background:#e5f9f0;color:#169981;font-size:30px}
.paired-name-card{background:linear-gradient(140deg,#e9faf2,#fff2f7);border-color:#a2dccc}
.paired-name-card select{background:#fff;margin-bottom:12px}.paired-name-card .small-label{margin-top:16px}
.paired-color-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:700;font-size:var(--vms-text-compact);color:#366c68;margin-top:6px}
.paired-color-label input{width:58px;height:38px;border:1px solid #c1ddd7;border-radius:10px;background:#fff;padding:3px;cursor:pointer}
@media(max-width:760px){.mode-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-card{flex-direction:row;justify-content:flex-start;text-align:left;padding:12px;gap:10px}.mode-card b{font-size:var(--vms-text-body)}.mode-card small{font-size:var(--vms-text-compact)}}

.mode-selector{grid-template-columns:repeat(5,minmax(0,1fr))}.sequence-mode-card.selected{border-color:#dfaa43;background:#fff9e9;box-shadow:0 4px 0 #f3e2b8}.sequence-mode-card .mode-emoji{background:#fff3ce;color:#b7811f;font-size:28px}.sequence-card{background:linear-gradient(140deg,#fff9e6,#eafaf5);border-color:#e2d39f}.sequence-layers{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0}.sequence-layers span{padding:6px 8px;border-radius:8px;background:#fff;font-size:var(--vms-text-compact);font-weight:700;color:#537267}.sequence-card select{margin-bottom:10px}.sequence-card .small-label{margin-top:12px}#sequence-explode{font-size:var(--vms-text-compact);padding:9px 12px;width:auto}#sequence-explode[aria-pressed="true"]{background:#e1f6ec;border-color:#62baa2}
@media(max-width:1100px) and (min-width:761px){.mode-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.mode-selector{grid-template-columns:repeat(2,minmax(0,1fr))}#sequence-constructor{grid-column:1/-1}.sequence-card .small-label{font-size:var(--vms-text-compact)}}

/* Universal tiles are a separate, fixed-face construction. */
.mode-selector{grid-template-columns:repeat(3,minmax(0,1fr))}.universal-mode-card.selected{background:#edf6ff;border-color:#4288df;box-shadow:0 4px 0 #c9e2ff}.universal-mode-card .mode-emoji{color:#2469b0;background:#e1efff;font-size:30px}.universal-card{background:linear-gradient(140deg,#ebf6ff,#fff9dc);border-color:#abcfe8}.universal-card .small-label{margin-top:16px}.universal-card input[type=text],#universal-text,.universal-card textarea{width:100%;padding:12px;border:1px solid #b7d3e9;border-radius:11px;background:#fff;color:#285582;font:inherit}.universal-card textarea{resize:vertical}.universal-card .illustration-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:310px;overflow:auto;padding:4px 3px 7px}.universal-card .illustration-gallery svg{width:45px;height:45px}.universal-card .illustration-gallery button{min-height:83px}.universal-picture-actions{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.universal-picture-actions button{font-size:var(--vms-text-compact)}.universal-card .standard-metrics strong{font-size:20px}
@media(max-width:760px){.mode-selector{grid-template-columns:repeat(2,minmax(0,1fr))}#sequence-constructor{grid-column:auto}.universal-card .illustration-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}

.mix-blank-control{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0;padding:12px;background:#fff9e9;border:1px dashed #dcbd66;border-radius:14px}.mix-blank-control button{font-size:var(--vms-text-compact);padding:8px 10px}.mix-blank-control label{font-size:var(--vms-text-compact);color:#547292}.mix-blank-control input{width:50px;margin-left:4px;padding:6px;border:1px solid #b7d3e9;border-radius:8px;font:inherit;background:white}.mix-sentence-examples{display:flex;gap:7px;flex-wrap:wrap}.mix-sentence-examples button{padding:8px 10px;border:1px solid #c6d9f2;border-radius:9px;background:white;color:#285582;font:inherit;font-size:var(--vms-text-compact);cursor:pointer}.mix-sentence-examples button[aria-pressed=true]{border-color:#9261dc;background:#f4edff}.universal-card [data-word-caption]{display:block;color:#216a81;font-size:var(--vms-text-compact);line-height:1.3;margin-top:3px;overflow-wrap:anywhere}.universal-card [data-word-caption][hidden]{display:none}#universal-custom-translations{margin-top:12px}.universal-card .illustration-gallery button{padding:7px 3px;min-height:103px}

.mix-alphabet-shortcut{display:block;width:100%;margin:12px 0 18px;padding:12px 14px;border:1px solid #cbb5ee;border-radius:12px;background:#f3eaff;color:#7144ad;font:inherit;font-weight:800;cursor:pointer;text-align:left}.mix-alphabet-shortcut:hover{background:#eadefa}.mix-blank-control[hidden],#universal-alphabet-options[hidden]{display:none}

@media(min-width:761px){.studio{overflow:clip}.studio .preview-panel{align-self:start;position:sticky;top:16px}.studio .viewer{min-height:320px}}
.letter-measurements{padding:14px 18px;margin:12px 0;border:1px solid #cfe2f2;border-radius:14px;background:#fff}.letter-measurements summary{cursor:pointer;font-weight:700;color:#315d87}.letter-measurements p{font-size:var(--vms-text-compact);color:#547292}.letter-measurements table{border-collapse:collapse;font-size:var(--vms-text-compact);width:min(100%,420px)}.letter-measurements th,.letter-measurements td{text-align:left;padding:6px 12px;border-bottom:1px solid #e5edf8}.letter-measurements[hidden]{display:none}

/* Keep the dimension label below the model, including the last alphabet row. */
.dimension-badge{padding:6px 12px;align-self:center;max-width:calc(100% - 24px);margin:6px 12px 12px;text-align:center;overflow-wrap:anywhere}.axis-mark{bottom:10px}

.puzzle-font-section{background:#eef5ff;border-color:#d9e6fa}
.puzzle-font-label{display:block;color:#204b70;font-size:var(--vms-text-body);font-weight:800;margin:0 0 8px}
.puzzle-font-sample{display:block;padding:7px 2px 0;color:#235fa7;font-family:PuzzleNunito,PuzzleOriginal,sans-serif;font-size:clamp(22px,2.5vw,32px);line-height:1.2;letter-spacing:.025em}

.hero-puzzle-letters{display:block;width:min(100%,320px);height:auto;margin:auto}
.hero-example-name{margin:3px 0 0;color:#294064;font-size:clamp(24px,4vw,34px);line-height:1.15}
.hero-example-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;padding:8px 14px;border-radius:12px;border:1px solid #c9dcf3;background:#fff;color:#2358a4;font-size:var(--vms-text-compact);font-weight:800;text-decoration:none}
.hero-example-link:focus-visible{outline:3px solid #4e88df;outline-offset:3px}

.mode-catalog{align-items:start}
.mode-catalog > details{min-width:0;scroll-margin-top:24px}
.puzzle-group-toggle{min-height:80px;list-style:none;cursor:pointer}
.puzzle-group-toggle::-webkit-details-marker{display:none}
.puzzle-group-toggle::after{
  content:"";flex:0 0 8px;width:8px;height:8px;margin-left:auto;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)
}
.mode-catalog > details[open] > summary::after{transform:rotate(225deg)}
.puzzle-group-options.mode-selector{grid-template-columns:minmax(0,1fr);gap:8px;margin:8px 0 0}
.puzzle-group-options .mode-card[data-puzzle-option]{padding-block:12px}
.puzzle-group-options [data-puzzle-option] b{font-size:var(--vms-text-body)}
@media(max-width:760px){
  .puzzle-group-toggle{min-height:63px}
  .puzzle-group-toggle,.puzzle-group-options .mode-card{padding-inline:9px;gap:7px}
  .puzzle-group-options [data-puzzle-option] b{font-size:var(--vms-text-body)}
}
.preview-site-name{margin:0;padding:8px 16px;border-top:1px solid #dae6f6;background:#ffffffd9;text-align:center;font-size:var(--vms-text-compact);font-weight:700;color:#365e88}
.preview-site-name a{color:inherit}
.preview-site-name a:hover{text-decoration:underline}
/* Give large labels room to wrap while keeping the model clear. */
@media (max-width: 920px) {
  .studio { display: flex; flex-direction: column; }
  .controls { border-inline-end: 0; }
  .studio .preview-panel { position: static; align-self: stretch; border-top: 2px solid #dfebfa; }
  .jump-to-preview { display: flex; margin-top: 12px; }
}
@media (max-width: 760px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 24px; }
  .intro-note { width: min(68%, 240px); }
  .intro-note .toy-letters { margin-bottom: 6px; }
  .intro-note .hero-note { display: block; }
  .printer-tag { justify-self: start; }
  .name-input-wrap input { padding-inline: 12px; }
}
@media (max-width: 540px) {
  .mode-catalog { grid-template-columns: minmax(0, 1fr); }
  .download-buttons { grid-template-columns: minmax(0, 1fr); }
}
