.text-editor{--text-ink:#122044;box-sizing:border-box;width:min(1320px,96vw);max-width:none;max-height:94dvh;padding:0;border:1px solid #c6d6ee;border-radius:20px;background:#f7faff;color:var(--text-ink);overflow:auto}.text-editor::backdrop{background:#07122f99;backdrop-filter:blur(7px)}.text-editor .text-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;margin:0;padding:18px 28px;height:auto;border-bottom:1px solid #cbd8ee;background:#f7faff}.text-heading p{font:11px monospace;letter-spacing:.12em;margin:0 0 6px}.text-heading h2{font-size:26px;letter-spacing:-.7px;margin:0}.text-heading button{font-size:22px}.text-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:580px}.text-art{background:#14213f;padding:30px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;min-width:0}.text-stage{position:relative;max-width:100%;width:fit-content;line-height:0;box-shadow:0 15px 50px #0005}.text-stage canvas{display:block;width:auto;max-width:100%;height:auto;max-height:65dvh;touch-action:none;cursor:move}.text-outline{position:absolute;pointer-events:none;outline:2px dashed #e9ff57;outline-offset:3px;background:#e9ff5708}.text-art p{color:#c9d7f5;font-size:13px;line-height:1.5;margin:0;text-align:center}.text-inspector{padding:24px;min-width:0}.text-inspector h3{font-size:18px;margin:0}.text-layer-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.text-inspector button,.text-inspector input,.text-inspector select,.text-inspector textarea{font-size:14px}.text-inspector label{display:block;font-size:13px;margin:14px 0 5px}.text-inspector input,.text-inspector textarea,.text-inspector select{box-sizing:border-box;background:#fff;border:1px solid #b9cbe5;border-radius:7px;width:100%;color:#122044;padding:10px}.text-inspector input[type=color]{height:43px;padding:4px}.text-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.text-inspector .text-pair label input,.text-inspector .text-pair label select{margin-top:6px}.text-position,.text-export{border-top:1px solid #cbd8ee;margin-top:18px;padding-top:16px}.text-inspector summary{cursor:pointer;font-size:14px}.text-position .text-pair{margin-top:8px}.text-layers{display:flex;flex-direction:column;margin-top:16px;gap:5px}.text-layer{text-align:left;padding:10px 12px;border:1px solid transparent;border-radius:7px;background:#eaf0fa;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-layer[aria-pressed=true]{border-color:#1740ef;background:#e1e9ff}.text-inspector p{font-size:13px;line-height:1.55}.text-save{margin-top:20px;border-top:1px solid #cbd8ee;padding-top:20px}.text-save .primary{width:100%;background:#1944ef;color:white;border-color:#1944ef;border-radius:8px;font-weight:600}.text-save p{margin:9px 0 0;color:#516585}.text-downloads{display:flex;flex-direction:column;align-items:flex-start;margin-top:12px;gap:8px}.text-remove{margin-top:14px;color:#934222}.text-warning,.text-error{background:#fff0ce;border-left:3px solid #b87900;padding:12px}.text-load{padding:35px}.text-editor [hidden]{display:none!important}.text-editor button:disabled{opacity:.45;cursor:not-allowed}.text-editor :focus-visible{outline:3px solid #366aff;outline-offset:3px}@media(max-width:720px){.text-editor{width:96vw;max-height:96dvh;border-radius:14px}.text-editor .text-heading{padding:15px 18px}.text-heading h2{font-size:21px}.text-heading p{font-size:9px}.text-workspace{grid-template-columns:1fr}.text-art{padding:22px 26px}.text-stage canvas{max-height:43dvh}.text-inspector{padding:20px}.text-art p{font-size:12px}.text-pair{gap:14px}}
/* Keep artwork visible while the inspector scrolls, including on a phone. */
.text-editor{overflow:hidden}.text-workspace{height:calc(94dvh - 90px);min-height:0}.text-inspector{overflow-y:auto;overscroll-behavior:contain}.text-art{overflow:hidden}.text-editor button.plain:hover,.text-editor button.plain:focus{color:#1740ef;background:#e4ecff}.text-layer-heading{align-items:start}.text-art p{max-width:440px}@media(max-width:720px){.text-workspace{height:calc(96dvh - 82px);grid-template-rows:32dvh minmax(0,1fr)}.text-art{padding:10px 18px;gap:6px}.text-stage canvas{max-height:26dvh}.text-art p{font-size:11px}.text-inspector{padding:16px 20px}.text-heading{flex-shrink:0}}
.text-editor .text-layer{color:#122044}.text-layer-heading{flex-wrap:wrap}.text-layer-heading .feature-guide-trigger{margin:0;font-size:12px}.text-editor>.text-save{margin:0;padding:12px 26px;display:flex;align-items:center;justify-content:flex-end;gap:20px;background:#f7faff;min-height:60px;box-sizing:border-box}.text-editor>.text-save .primary{width:auto;min-width:210px;font-size:14px;background:#1944ef;border-color:#1944ef;color:white;border-radius:8px}.text-editor>.text-save p{font-size:13px}.text-workspace{height:calc(94dvh - 170px)}.text-stage canvas{max-height:calc(94dvh - 260px)}@media(max-width:720px){.text-workspace{height:calc(96dvh - 162px)}.text-stage canvas{max-height:26dvh}.text-editor>.text-save{padding:12px 18px;justify-content:space-between;gap:12px}.text-editor>.text-save .primary{min-width:145px}.text-editor>.text-save p{font-size:12px}}
