.tts-compose{grid-template-columns:minmax(0,1fr) 300px;display:grid;overflow:hidden;padding:0!important}.tts-editor{flex-direction:column;min-width:0;display:flex}.tts-editor-heading{justify-content:space-between;align-items:center;gap:1rem;padding:1.15rem 1.5rem;display:flex}.tts-editor-heading label{font-size:.88rem;font-weight:600}.tts-text-action{color:var(--accent,#168576);min-height:32px;padding:.35rem;font-size:.75rem}.tts-text-action:hover{text-underline-offset:3px;text-decoration:underline}.tts-text-action:disabled{opacity:.45;cursor:not-allowed}.tts-textarea{resize:vertical;width:100%;min-height:330px;color:var(--text-primary,#172520);font-family:var(--font-ukij-ekran),sans-serif;text-align:start;background:0 0;border:0;outline:none;flex:1;padding:1rem 1.5rem;font-size:1.3rem;line-height:2.1}.tts-textarea::placeholder{color:var(--text-muted,#78847e);opacity:.65}.tts-textarea:focus{box-shadow:inset 0 0 0 2px var(--accent,#168576)}.tts-editor-footer{border-top:1px solid var(--border,#e3e7e5);justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1.5rem;font-size:.73rem;display:flex}.tts-configuration{border-inline-start:1px solid var(--border,#e3e7e5);background:var(--surface-elevated,var(--surface,#fff));flex-direction:column;gap:1.3rem;padding:1.4rem;display:flex}.tts-configuration h2{font-size:.9rem;font-weight:650}.tts-configuration>p{font-size:.8rem;line-height:1.7}.tts-field{flex-direction:column;gap:.55rem;display:flex}.tts-field>span:first-child{font-size:.75rem;font-weight:600}.tts-field p{font-size:.72rem;line-height:1.7}.tts-field .ws-select{width:100%;min-width:0}.tts-voice{border:1px solid var(--border,#e3e7e5);background:var(--surface,#fff);border-radius:7px;align-items:center;gap:.65rem;padding:.85rem .75rem;font-size:.78rem;display:flex}.tts-voice svg{color:var(--accent,#168576);flex-shrink:0}.tts-format{flex-direction:column;gap:.35rem;font-size:.72rem;display:flex}.tts-advanced{border-top:1px solid var(--border,#e3e7e5);padding-top:1rem;font-size:.72rem}.tts-advanced summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.5rem;font-weight:550;list-style:none;display:flex}.tts-advanced summary::-webkit-details-marker{display:none}.tts-advanced summary svg{flex-shrink:0;transition:transform .15s}.tts-advanced[open] summary svg{transform:rotate(180deg)}.tts-advanced p{margin-top:.6rem;line-height:1.75}.tts-generate{justify-content:center;width:100%;min-height:44px;margin-top:auto;font-size:.8rem!important}.tts-processing{align-items:center;gap:1rem;margin-block:1.2rem;display:flex;padding:1.2rem!important}.tts-processing>div>p:first-child{font-size:.86rem;font-weight:600}.tts-processing>div>p:last-child{margin-top:.3rem;font-size:.78rem;line-height:1.7}.tts-processing-wave{flex-shrink:0;justify-content:center;align-items:center;gap:3px;width:40px;height:36px;display:flex}.tts-processing-wave i{background:var(--accent,#168576);border-radius:4px;width:3px;height:12px;animation:1s ease-in-out infinite alternate tts-process}.tts-output{margin-block:1.5rem;padding:1.5rem!important}.tts-output-heading{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;display:flex}.tts-output-heading h2{font-size:1rem;font-weight:650}.tts-output-heading p{margin-top:.3rem;font-size:.8rem;line-height:1.6}.tts-output-actions{margin-top:1rem}.tts-source{border-top:1px solid var(--border,#e3e7e5);margin-top:1.2rem;padding-top:1rem}.tts-source summary{cursor:pointer;color:var(--text-muted,#69716e);align-items:center;gap:.5rem;font-size:.75rem;display:flex}.tts-source p{white-space:pre-wrap;font-size:1rem;line-height:2;font-family:var(--font-ukij-ekran),sans-serif;margin-top:1rem}.tts-local-notice{margin-top:1rem;font-size:.7rem;line-height:1.7}.tts-saved{color:var(--accent,#168576);flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:1rem;font-size:.8rem;display:flex}.tts-saved a{text-underline-offset:3px;text-decoration:underline}.tts-empty{text-align:center;flex-direction:column;align-items:center;max-width:480px;margin:0 auto;display:flex;padding:3.5rem 1rem!important}.tts-empty>svg{color:var(--accent,#168576);opacity:.6;margin-bottom:1rem}.tts-empty h2{margin-bottom:.6rem;font-size:.95rem;font-weight:550}.tts-empty p{font-size:.82rem;line-height:1.8}.tts-workspace>.ws-error{margin-block:1rem}@keyframes tts-process{to{opacity:.45;height:29px}}@media (prefers-reduced-motion:reduce){.tts-processing-wave i{animation:none}.tts-advanced summary svg{transition:none}}@media (max-width:850px){.tts-compose{grid-template-columns:minmax(0,1fr) 260px}.tts-configuration,.tts-textarea{padding:1rem}}@media (max-width:650px){.tts-compose{grid-template-columns:1fr}.tts-configuration{border-inline-start:0;border-top:1px solid var(--border,#e3e7e5);gap:1rem}.tts-editor-heading,.tts-editor-footer{padding:.8rem 1rem}.tts-textarea{min-height:245px;font-size:1.15rem}.tts-output{padding:1rem!important}.tts-output-heading{flex-wrap:wrap}.tts-output-actions{gap:.6rem}.tts-output-actions .ws-button{flex:1;font-size:.73rem}.tts-generate{min-height:48px}.tts-empty{padding-block:2.5rem!important}}
