.tools-voice{--tv-gold:#edc970;--tv-soft:#c0b9a9;--tv-line:rgba(237,201,112,.22);padding:clamp(16px,3vw,32px);border:1px solid var(--tv-line);border-radius:28px;background:#050607;color:#f8f4e9;max-width:100%;font:inherit}
.tools-voice *{box-sizing:border-box;min-width:0}.tools-voice h3,.tools-voice h4,.tools-voice h5{margin:0 0 14px;line-height:1.25;letter-spacing:-.02em}.tools-voice h3{font-size:clamp(1.5rem,3.4vw,2.5rem)}.tools-voice h4{font-size:1.2rem}.tools-voice h5{font-size:1rem}.tools-voice p{line-height:1.65;overflow-wrap:anywhere}.tools-voice li{line-height:1.65;overflow-wrap:anywhere}.tools-voice [hidden]{display:none!important}
.tv-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.tv-eyebrow{font-size:.68rem;letter-spacing:.16em;font-weight:700;color:var(--tv-gold);margin:0 0 12px;display:block}.tv-module{white-space:nowrap;border:1px solid var(--tv-line);border-radius:99px;padding:9px 12px;font-size:.67rem;letter-spacing:.1em;color:var(--tv-gold)}.tv-live{min-height:1.65em;color:#d5e9cc;font-size:.88rem;margin:10px 0 24px}.tv-error{color:#ffb8ad!important}
.tv-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}.tv-card{border:1px solid #2d2e2a;border-radius:22px;padding:24px;background:linear-gradient(145deg,rgba(237,201,112,.045),rgba(255,255,255,.018));overflow:hidden}.tv-card p:last-child{margin-bottom:0}.tv-muted{font-size:.81rem;color:var(--tv-soft);margin:12px 0}.tv-field{display:flex;flex-direction:column;gap:9px;font-size:.84rem;line-height:1.6;text-align:left}.tools-voice textarea{width:100%;padding:14px;border:1px solid #47443a;background:#0a0c0e;color:#f7f2e8;font:inherit;font-size:.93rem;line-height:1.65;border-radius:14px;resize:vertical;min-height:195px;max-height:700px}.tools-voice textarea::placeholder{color:#939085}.tv-check{flex-direction:row;align-items:flex-start;gap:12px;min-height:44px}.tv-check>span{order:2}.tv-check>input{order:1;accent-color:var(--tv-gold);width:20px;height:20px;margin:3px 0 0;flex:none}.tv-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.tv-button{min-height:44px;padding:11px 16px;border:1px solid rgba(237,201,112,.42);border-radius:13px;background:linear-gradient(140deg,rgba(237,201,112,.13),rgba(255,255,255,.035));color:#f8ebc5;font:inherit;font-size:.84rem;font-weight:600;cursor:pointer;text-align:center;line-height:1.45;transition:background .15s,border-color .15s;overflow-wrap:anywhere}.tv-button:hover:not([disabled]){background:rgba(237,201,112,.22);border-color:var(--tv-gold)}.tv-primary{background:#e1bf69;color:#171208;border-color:#f3d68f}.tv-primary:hover:not([disabled]){background:#f0d38d}.tv-small{min-height:36px;padding:7px 12px;font-size:.76rem}.tools-voice [disabled]{opacity:.45;cursor:not-allowed}.tools-voice :focus-visible{outline:3px solid var(--tv-gold);outline-offset:4px}.tv-record::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:9px;vertical-align:1px}.tv-record.is-recording{color:#ffcfba;border-color:#dc825e;background:rgba(209,100,60,.15)}.tv-record.is-recording::before{animation:tv-listen 1.2s ease-in-out infinite}
.tv-interim{color:#e7ca83;font-style:italic;font-size:.86rem;min-height:1.6em;margin:8px 0 0}.tv-count{text-align:right;margin-top:5px}.tv-approval{padding-top:12px;border-top:1px solid var(--tv-line);font-size:.84rem;color:var(--tv-soft)}.tv-approval.is-approved{color:#cbe5b9}.tv-connection{padding:14px;border:1px solid var(--tv-line);border-radius:14px;background:rgba(237,201,112,.07);font-size:.84rem;color:#e6d8b2}.tv-draft-actions{display:flex;flex-direction:column;gap:12px;margin:20px 0 24px}.tv-draft-row{display:flex;align-items:center;gap:12px}.tv-draft-row .tv-button{flex:1;text-align:left}.tv-step-number{font-variant-numeric:tabular-nums;font-size:.7rem;letter-spacing:.1em;color:#b5a16c;width:22px;flex:none}.tv-goal{padding:18px;border:1px solid var(--tv-line);border-radius:15px;margin:22px 0;background:#080a0c}.tv-goal p{font-size:.9rem;margin-bottom:0;white-space:pre-wrap}
.tv-preview{margin-top:26px;padding:26px;border:1px solid var(--tv-line);border-radius:22px;background:#090a0d;scroll-margin-top:24px}.tv-plan-goal{font-size:1.05rem;white-space:pre-wrap}.tv-plan-steps{margin:24px 0;padding-left:26px;display:flex;flex-direction:column;gap:16px}.tv-plan-step{border:1px solid #35352e;border-radius:16px;padding:20px;background:rgba(255,255,255,.025)}.tv-plan-step::marker{color:var(--tv-gold);font-weight:700}.tv-plan-step .tv-eyebrow{font-size:.63rem}.tv-plan-step .tv-muted{margin:8px 0 14px}.tv-criteria{padding-left:20px;font-size:.85rem}.tv-criteria li+li{margin-top:7px}.tv-ambiguities{border:1px solid rgba(224,173,83,.4);border-radius:16px;padding:18px;margin:22px 0;background:rgba(197,134,39,.065)}.tv-ambiguities ul{padding-left:20px;font-size:.85rem;margin-bottom:0}.tv-ambiguities li+li{margin-top:9px}.tv-preview .tv-check{margin-top:14px}.tv-preview .tv-actions{margin-bottom:8px}
@keyframes tv-listen{50%{opacity:.35;transform:scale(.75)}}
@media(max-width:850px){.tv-grid{grid-template-columns:1fr}.tv-header{flex-wrap:wrap;gap:10px}.tv-module{margin-bottom:12px}.tv-card{padding:20px}.tv-live{margin-top:6px}}
@media(max-width:520px){.tools-voice{border-radius:20px;padding:16px}.tv-card{border-radius:16px;padding:16px}.tv-preview{padding:16px;border-radius:16px}.tv-actions>.tv-button{flex:1 1 145px}.tv-preview .tv-actions>.tv-button{width:100%}.tv-plan-steps{padding-left:20px}.tv-plan-step{padding:14px}.tv-draft-row{gap:8px}.tv-step-number{width:18px}.tv-header h3{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){.tools-voice *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
