.voice-hero{text-align:center;padding:24px 22px 20px;border:1px solid #dce2d5;border-radius:28px;background:radial-gradient(ellipse at 50% 35%,#e6eddd 0%,#f7f7ef 65%);margin-bottom:24px;color:#354832}
.voice-hero h2{font-size:clamp(23px,3vw,31px);font-weight:550;letter-spacing:-.7px;margin:0 0 6px}.voice-hint{color:#697463;font-size:14px;margin:0 0 14px}
.voice-face{display:block;position:relative;width:142px;height:142px;margin:16px auto 18px;border:1px solid #94a984;border-radius:50%;cursor:pointer;background:radial-gradient(circle at 35% 20%,#b8cb9e,#96b57d 60%,#83a36b);color:#314d2c;box-shadow:0 9px 22px #435d3222,inset 0 2px 3px #ffffff99;transition:transform .2s,box-shadow .2s;animation:voice-breathe 5s ease-in-out infinite}
.voice-face:hover{transform:translateY(-2px);box-shadow:0 12px 30px #435d3233}.voice-face:focus-visible{outline:3px solid #8f5946;outline-offset:7px}.voice-face:active{transform:scale(.96)}.voice-face svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:6;stroke-linecap:round}.face-wink{transform-origin:83px 50px;animation:voice-wink 7s infinite}.face-wave{display:none}.voice-status{font-size:15px;font-weight:600;margin:0 0 4px}.voice-clock{font-size:13px;font-variant-numeric:tabular-nums;color:#5a704f}.voice-limit,.voice-privacy{font-size:12px!important;line-height:1.5;color:#697363;margin:8px auto;max-width:430px}.voice-opt{font-size:13px;display:flex;align-items:center;justify-content:center;gap:6px;margin-top:10px}.voice-opt input{accent-color:#597847;width:16px;height:16px}.voice-transcript{max-height:100px;overflow:auto;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;background:#ffffffb3;padding:12px;border-radius:12px;margin:12px 0;font-size:16px}.voice-warning{font-size:13px;color:#875540}.voice-secondary button,.voice-secondary a{border:0;background:transparent;color:#675543;text-decoration:underline;padding:10px;cursor:pointer;font:inherit;font-size:13px}
.voice-hero [hidden]{display:none!important}.voice-face:disabled{cursor:wait}.voice-hero[data-phase=recording] .voice-face{background:#d8bda0;box-shadow:0 0 0 10px #d8bda033;animation:voice-breathe 1.8s ease-in-out infinite}.voice-hero[data-phase=recording] .face-eye,.voice-hero[data-phase=recording] .face-wink,.voice-hero[data-phase=recording] .face-smile{display:none}.voice-hero[data-phase=recording] .face-wave{display:block;animation:voice-wave .8s ease-in-out infinite;transform-origin:center}.voice-hero[data-phase=saved] .voice-face{background:#b7cda4}
@keyframes voice-breathe{50%{box-shadow:0 0 0 8px #91ac7415,0 8px 25px #435d3222}}@keyframes voice-wink{0%,91%,98%,100%{transform:scaleY(1)}94%,96%{transform:scaleY(.1)}}@keyframes voice-wave{50%{transform:scaleY(.65)}}
.messenger .voice-hero{flex:none;margin:0;padding:16px 12px;border-radius:24px}.messenger .voice-face{width:110px;height:110px;margin:10px auto}.messenger .voice-hero h2{font-size:24px}.messenger .voice-hint{margin-bottom:4px}.messenger .voice-privacy{max-width:340px}.messenger .voice-limit{margin:4px}.messenger .voice-opt{margin-top:6px}
@media(prefers-reduced-motion:reduce){.voice-face,.face-wink,.face-wave{animation:none!important;transition:none!important}}
.voice-mode{font-size:13px;color:#42643a;font-weight:600;margin:8px 0}.voice-hero [data-voice-review]{text-align:left;margin:16px 0}.voice-hero [data-voice-editor]{width:100%;min-height:120px;max-height:240px;font-size:16px;line-height:1.5;margin:8px 0;resize:vertical}.voice-hero[data-phase=review] .voice-face{width:80px;height:80px;animation:none}.voice-hero[data-phase=review] .voice-hint{display:none}.voice-hero [data-voice-review] button{margin-top:8px}

.voice-face svg{stroke-width:4}.voice-hero[data-phase=recording] .voice-microphone{display:none}
.voice-hero[data-phase=review] .voice-face,.voice-hero[data-phase=failed] .voice-face,.voice-hero[data-phase=review] .voice-clock,.voice-hero[data-phase=review] .voice-limit,.voice-hero[data-phase=review] .voice-mode{display:none}.voice-hero [data-voice-review]{animation:voice-review-in .25s ease-out}.voice-hero [data-voice-review] label{display:block;margin-top:12px}.voice-hero [data-voice-review] input,.voice-hero [data-voice-review] select{width:100%;min-width:0;font-size:16px}.voice-hero [data-voice-countdown]{font-variant-numeric:tabular-nums;color:#53694a;min-height:1.5em}.voice-flying-note{position:fixed;z-index:10000;pointer-events:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;background:#e9efdf;color:#304337;border:1px solid #b7c5a7;border-radius:18px;padding:16px;box-sizing:border-box;box-shadow:0 10px 25px #30433722;transform-origin:top left}.plan-fragment{background:#edf1e4!important;border-left:3px solid #82946c!important}.plan-entry-badge{background:#dce6ce;color:#3e5734;margin-right:8px}.plan-fragment .button{white-space:normal;text-align:left;overflow-wrap:anywhere}
@keyframes voice-review-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.voice-hero [data-voice-review]{animation:none}}
