.text-designer{display:grid;gap:20px;min-width:0}.text-design-fields{display:flex;flex-direction:column;gap:14px}.text-design-fields>label{font-weight:600}.text-design-fields textarea{min-height:50px;font-size:20px;resize:vertical}.text-look-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.text-look-row label{display:grid;gap:7px;font-weight:600}.text-look-row .button{min-height:48px;padding:10px 14px}.text-palette{display:flex;gap:14px;align-items:center;margin:4px 0}.text-palette>span{font-weight:600;margin-right:10px}.text-color{display:block;width:42px;height:42px;border:1px solid #a8adb6;border-radius:50%;padding:3px;overflow:hidden;cursor:pointer;background:#fff}.text-color input{display:block;width:100%;height:100%;padding:0;border:0;border-radius:50%;cursor:pointer;background:none}.text-color input::-webkit-color-swatch-wrapper{padding:0}.text-color input::-webkit-color-swatch{border:0;border-radius:50%}.text-color:focus-within{outline:2px solid var(--orange,#b64d20);outline-offset:3px}.text-customize{border:1px solid var(--line,#d9dde5);border-radius:10px;background:#fff}.text-customize summary{padding:14px 16px;font-weight:600;cursor:pointer}.text-custom-fields{display:grid;gap:12px;padding:0 16px 16px}.text-custom-fields label{display:grid;gap:5px}.text-design-art{display:flex;flex-direction:column;gap:14px;min-width:0}.text-preview{background:#f6f4ed;border:1px solid #e3e1db;border-radius:16px;min-height:280px;display:grid;place-items:center;position:relative;padding:20px}.text-preview img{width:100%;height:100%;max-height:360px;min-width:0;object-fit:contain;filter:drop-shadow(0 6px 5px #00000012)}.text-preview-status{position:absolute;bottom:8px;font-size:12px;color:#637080;text-align:center}.text-error{margin:0}.text-intro{grid-column:1/-1;margin:0 0 4px}.text-match{display:flex;align-items:center;gap:10px;font-weight:500;margin:4px 0}.text-match input{width:20px;height:20px;accent-color:#b94f20}.add-sticker-dialog.text-open{width:min(820px,calc(100vw - 32px));max-width:820px}.text-open .text-designer{grid-template-columns:minmax(220px,.85fr) minmax(0,1.4fr);gap:24px;padding:8px 0 22px}.text-open .text-design-fields{border-right:1px solid #dde1e8;padding-right:24px}.text-open .text-error{grid-column:1/-1}.text-open .text-preview{min-height:310px}.text-open .text-preview img{max-height:310px}.text-open #add-sticker-submit{margin-left:auto;display:block;width:auto;min-width:200px}.text-open .text-match[hidden]{display:none}#text-format-field[hidden],.text-designer[hidden]{display:none}.qr-mode-tabs{display:flex;gap:8px}.qr-mode-tabs button{flex:1;min-width:0}.starter-art-text{background:#f6f4ed}.starter-art-text img{object-fit:contain;padding:20px}.text-design-fields input:disabled{cursor:wait}
@media(min-width:850px){#library-text{grid-template-columns:minmax(240px,.9fr) minmax(0,1.2fr);column-gap:28px}#library-text .text-preview{min-height:360px}#library-text .text-preview img{max-height:360px}}
@media(max-width:650px){.text-designer{gap:14px}.text-design-fields{gap:12px}.text-preview{min-height:250px;padding:18px}.text-preview img{max-height:280px}.text-open .text-designer{grid-template-columns:1fr;gap:18px}.text-open .text-design-fields{border-right:0;padding-right:0}.text-open .text-preview{min-height:230px}.text-open .text-preview img{max-height:250px}.text-open #add-sticker-submit{width:100%}.text-open .text-design-art{gap:12px}.text-look-row .button{font-size:13px}.qr-mode-tabs button{font-size:13px;padding:12px 6px}.add-sticker-dialog.text-open{max-height:92dvh}.text-preview-status{font-size:11px}}
.text-design-fields>label,.text-look-row label,.text-palette label{margin-bottom:0}
.text-designing #creation-steps{display:none}
.text-designing #library-text .text-intro{margin-bottom:0}
.text-starter-artwork{display:grid;gap:12px;min-width:0}
.text-starter-artwork[hidden],.text-artwork-layout[hidden],.text-customize[hidden]{display:none!important}
.text-starter-artwork>.check-label{margin:0;font-weight:600;min-height:36px}
.text-starter-artwork .reference-field{margin:0}
.text-designing .reference-field .upload-permission,.text-designing .reference-field #single-upload-permission,.text-designing .reference-field #upload-options,.text-designing .reference-field .batch-upload>details,.text-designing .reference-field .batch-upload>select{display:none!important}
.text-designing .reference-field .batch-upload{padding-bottom:12px}
@media(max-width:650px){.text-designing .controls{padding:18px 20px}.text-designing .panel-heading{margin-bottom:12px}.text-designing .panel-heading h1{font-size:28px}.text-designing #setup-back{margin-bottom:12px}.text-designing #library-text .text-design-fields{gap:8px}.text-designing #generate-button{position:sticky;bottom:12px;z-index:5;box-shadow:0 4px 14px #00000024}.text-designing #library-text .text-design-art{gap:10px}.text-designing #library-text .text-preview{min-height:235px}}
