#appDialog:has(.worker-flow),#appDialog:has(.wf-success){background:#fffbf5;color:#302625;border-radius:24px;max-width:min(34rem,96vw)}
#appDialog:has(.worker-flow) #dialogTitle,#appDialog:has(.wf-success) #dialogTitle{font-size:clamp(1.4rem,4vw,2rem);line-height:1.3}
.worker-flow{color:#302625}
.worker-flow [hidden]{display:none!important}
.wf-start{text-align:center;padding:1rem 0}
.wf-example{font-size:1.05rem;color:#5d4a42}
#appDialog .wf-mic{display:grid;place-items:center;background:#ffc6a8;color:#35241f;border:1px solid #e7a988;border-radius:50%;width:clamp(6.5rem,32vw,9rem);aspect-ratio:1;margin:1.5rem auto 1rem;cursor:pointer}
#appDialog .wf-mic.active{outline:4px solid #783d2d;outline-offset:4px}
.wf-mic svg{width:44%;height:44%}
.wf-hint{display:block;font-size:1.35rem}.wf-message{min-height:1.4em}
.wf-tools,.wf-success-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center;margin:.9rem 0}
.worker-flow .wf-tools button,.wf-success-actions button{min-height:44px;border-radius:16px;padding:.6rem .95rem;background:#fff4e9;color:#462d25;border:1px solid #c79d85;cursor:pointer;font:inherit}
.wf-fields{display:grid;gap:.8rem}
.wf-card{display:grid;gap:.3rem;border-radius:17px;padding:.8rem 1rem;border:1px solid #dec3ac;background:#fff0e4;font-weight:650}
.wf-card:nth-child(2){background:#f1f5e9;border-color:#c6d2b7}
#appDialog .wf-card input,#appDialog .wf-card textarea{font:inherit;font-size:1.15rem;width:100%;box-sizing:border-box;border:1px solid #b7a99b;border-radius:8px;padding:.45rem;background:white;color:#302625}
.wf-options details{margin:1rem 0}.wf-options summary{cursor:pointer;padding:.6rem 0}
.wf-agree>button{width:100%;min-height:48px;margin-top:.6rem}
.wf-success{text-align:center}.wf-success p{margin:.75rem}.wf-success .wf-tick{display:inline-grid;place-items:center;width:4rem;height:4rem;border-radius:50%;background:#d6ead0;color:#275336;font-size:2rem}
#appDialog .wf-success-actions button:first-child{background:#ffc6a8;color:#302625}