.text-controls .text-style-section{padding:22px;border-bottom:1px solid #e7ebe3}.text-section-label{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:14px}.app-page .text-section-label h3{font-size:13px;font-weight:650;letter-spacing:0}.text-section-label>span{font-size:10px;color:#879180}
.text-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.text-presets>button{display:flex;flex-direction:column;align-items:center;gap:9px;padding:12px 4px 9px;background:#f6f7f3;border:1px solid #e7e9e3;border-radius:9px;cursor:pointer;min-width:0}.text-presets>button>span:last-child{font-size:10px;color:#596353}.text-presets>button[aria-pressed=true]{background:#eef2ff;border-color:#9aafff;box-shadow:0 0 0 1px #9aafff}.text-presets>button:hover{border-color:#b6c4e8}.text-preset-sample{display:grid;place-items:center;min-width:42px;height:35px;padding:0 6px;border-radius:5px;font:var(--sample-weight) 23px/1 var(--sample-font);color:var(--sample-color);background:var(--sample-bg)}.text-preset-sample.classic{background:#000a}.text-preset-sample.outline{-webkit-text-stroke:2px #111;paint-order:stroke fill}.text-preset-sample.handwritten{text-shadow:0 1px 3px #000b}
.text-settings{border-bottom:1px solid #e7ebe3}.text-settings:last-child{border:0}.text-settings summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;font-size:13px;font-weight:600;padding:18px 22px}.text-settings summary::-webkit-details-marker{display:none}.text-settings summary>span{font-size:20px;font-weight:400;color:#8b9583;transition:transform .15s}.text-settings[open] summary>span{transform:rotate(45deg)}.text-settings-body{display:grid;gap:17px;padding:0 22px 23px}.text-settings-body .app-field{margin:0}.text-settings-body input[type=color]{display:block;height:40px;width:100%;padding:5px;background:#fff;border:1px solid #dce1d7;border-radius:7px;cursor:pointer}.text-settings-body input[type=number]{font-size:14px;min-width:0;width:100%;border:1px solid #dce1d7;border-radius:7px;padding:9px 30px 9px 10px;background:white}.text-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.text-number{position:relative}.text-number>span{position:absolute;right:24px;top:11px;color:#9ba391;font-size:10px;pointer-events:none}.text-alignment{border:0;padding:0;margin:0;display:flex;gap:5px}.text-alignment legend{font-size:12px;color:#465146;margin-bottom:8px}.text-alignment label{position:relative;flex:1;cursor:pointer}.text-alignment input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.text-alignment span{display:block;text-align:center;padding:8px;border-radius:6px;border:1px solid #e1e6dc;font-size:11px;color:#74806b}.text-alignment input:checked+span{background:#eef2ff;border-color:#bbcafd;color:#285be7}.text-range-label{display:block!important;position:relative}.text-range-label output{float:right;font-size:11px;color:#79846f}.text-range-label input{display:block;width:100%;margin-top:12px;accent-color:#285be7}.text-check{display:flex;align-items:center;gap:9px;font-size:12px;color:#54604b}.text-check input{accent-color:#285be7}
.text-preview-toolbar{justify-content:space-between}.text-preview-title{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.text-preview-title strong{font-size:13px;font-weight:600}.text-preview-title>span:last-child{font-size:10px;color:#7d8973;border-left:1px solid #dfe5d9;padding-left:10px}.text-ready-dot{width:6px;height:6px;border-radius:50%;background:#78a185;box-shadow:0 0 0 3px #eaf2e8}.text-edit-button{display:flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid #dce2d7;border-radius:7px;background:#fff;font-size:12px;color:#42573a;cursor:pointer}.text-edit-button:hover{background:#f0f4ec}.text-workspace[data-editing=true] .text-edit-button{background:#285be7;color:#fff;border-color:#285be7}
.text-stage{position:relative;border-left:1px solid #e1e5dd;border-right:1px solid #e1e5dd;display:flex;flex-direction:column;min-height:445px;padding:22px 28px 18px;transition:background-color .2s;background-color:#f5f5f2;background-image:linear-gradient(45deg,#e9eae5 25%,transparent 25%),linear-gradient(-45deg,#e9eae5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9eae5 75%),linear-gradient(-45deg,transparent 75%,#e9eae5 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}.text-stage[data-surface=light]{background:#e8ddce}.text-stage[data-surface=dark]{background:#24313b}.text-stage-hint{display:flex;justify-content:space-between;gap:16px;color:#74816b;font-size:11px}.text-stage[data-surface=dark] .text-stage-hint{color:#b0bdc4}.text-artboard-space{min-height:330px;display:flex;align-items:center;justify-content:center;flex:1;padding:30px 0}.text-artboard{position:relative;flex-shrink:0}.text-artboard-inner{position:relative;transform-origin:top left}.text-artboard [data-text-preview]{position:absolute;top:0}.text-artboard svg{display:block;width:100%;height:100%;overflow:visible}.text-hit{position:absolute;inset:0;border:1px dashed transparent;border-radius:8px;background:transparent;cursor:text}.text-hit:hover,.text-hit:focus-visible{border-color:#6a85e1;outline:0;background:#365be208}.text-artboard textarea{position:absolute;resize:none;overflow:hidden;border:0;outline:2px solid #7f9cef44;outline-offset:10px;padding:0;margin:0;border-radius:0;min-height:0;max-height:none;background:transparent;box-shadow:none;white-space:pre-wrap;overflow-wrap:break-word;word-break:normal;caret-color:#ff5076}.text-artboard textarea:focus{border:0;box-shadow:none}.text-workspace[data-editing=true] [data-overlay-lettering]{visibility:hidden}.text-workspace[data-empty=true] .text-hit:after{content:'Click to add your text';font:500 24px/1.4 Arial,sans-serif;color:#5e6a5b;white-space:nowrap}.text-workspace[data-empty=true] .text-hit{border-color:#c5cec0;padding:12px}.text-workspace[data-empty=true] [data-surface=dark] .text-hit:after{color:#dde3db}
.text-surface-controls{display:flex;align-items:center;justify-content:center;gap:8px;align-self:center;background:#ffffffeb;border:1px solid #dce2d7;border-radius:24px;padding:7px 11px;box-shadow:0 2px 10px #20262205}.text-surface-controls>span{font-size:10px;color:#62705a;padding:0 5px}.text-surface-controls button{padding:3px;border:1px solid transparent;border-radius:50%;background:transparent;cursor:pointer}.text-surface-controls button[aria-pressed=true]{border-color:#285be7}.text-surface-controls i{display:block;width:16px;height:16px;border-radius:50%;border:1px solid #2026221a}.text-surface-controls i.light{background:#e8ddce}.text-surface-controls i.dark{background:#24313b}.text-surface-controls i.checker{background:conic-gradient(#ddd 25%,white 0 50%,#ddd 0 75%,white 0);background-size:8px 8px}.text-surface-controls small{font-size:9px;color:#8c9585;border-left:1px solid #e1e6db;padding-left:9px;margin-left:3px}.text-workspace button:focus-visible,.text-controls input:focus-visible+span{outline:2px solid #285be7;outline-offset:3px}.text-workspace button:disabled{opacity:.5;cursor:wait}.text-overlay-page .app-platform-note a{color:#285be7;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1100px){.text-workspace .app-export-bar{gap:12px}.text-workspace .app-export-info{width:100%}.text-workspace .app-download-controls{width:100%}.text-preview-title>span:last-child{display:none}}
@media(max-width:800px){.text-stage{min-height:370px;padding:18px}.text-artboard-space{min-height:270px;padding:24px 0}.text-controls .text-presets{grid-template-columns:repeat(6,minmax(0,1fr))}.text-controls{margin-top:5px}.text-settings-body{grid-template-columns:1fr 1fr}.text-settings-body>.text-pair{grid-column:span 2}.text-controls .app-local-note{border-radius:0 0 16px 16px}}
@media(max-width:520px){.text-controls .text-presets{grid-template-columns:repeat(3,minmax(0,1fr))}.text-settings-body{grid-template-columns:1fr}.text-settings-body>.text-pair{grid-column:auto}.text-stage{padding:15px 14px}.text-stage-hint{font-size:10px;gap:8px}.text-preview-title{gap:7px}.text-preview-title strong{font-size:12px}.text-edit-button{padding:7px 9px}.text-artboard-space{min-height:230px}.text-stage{min-height:330px}}
@media(prefers-reduced-motion:reduce){.text-stage,.text-settings summary>span{transition:none}}
