.voice-entry {display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:14px 0 18px;}
.voice-entry > span {color:var(--muted);font-size:13px;}
.voice-entry-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #bcded2;border-radius:14px;background:var(--green-light);color:var(--green-ink);font:inherit;font-weight:650;cursor:pointer;}
.voice-help,.voice-device-status {font-size:14px;line-height:1.65;color:var(--muted);margin:10px 0;}
.voice-setting-row {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:14px 0;border-bottom:1px solid var(--line);cursor:pointer;}
.voice-setting-row span {min-width:0;}
.voice-setting-row strong {display:block;font-size:16px;font-weight:600;}
.voice-setting-row small {display:block;color:var(--muted);font-size:13px;line-height:1.55;margin-top:5px;}
.voice-setting-row input {flex:0 0 44px;width:44px;height:44px;accent-color:var(--green);cursor:pointer;}
.voice-rate-row {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;}
.voice-rate-row select {min-width:150px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;}
.voice-panel {position:fixed;z-index:90;left:50%;bottom:var(--voice-panel-bottom, calc(82px + env(safe-area-inset-bottom)));transform:translateX(-50%);width:calc(100% - 24px);max-width:576px;background:var(--surface);border:1px solid #bcded2;border-radius:20px;box-shadow:0 12px 50px #17212c26;overflow:hidden;}
.voice-player-top {display:flex;gap:6px;align-items:center;padding:8px 10px;border-bottom:1px solid var(--line);}
.voice-player-summary {display:flex;align-items:center;gap:10px;min-width:0;flex:1;text-align:left;min-height:52px;padding:5px 8px;border:0;background:transparent;color:var(--ink);font:inherit;cursor:pointer;}
.voice-player-summary svg {flex-shrink:0;color:var(--green);}
.voice-player-summary span {min-width:0;}
.voice-player-summary strong {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:15px;font-weight:650;}
.voice-player-summary small {display:block;color:var(--muted);font-size:13px;line-height:1.5;margin-top:3px;}
.voice-collapse {min-width:52px;min-height:44px;border:0;background:transparent;color:var(--green);font:inherit;font-size:14px;cursor:pointer;}
.voice-close {min-width:44px;min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--muted);font:inherit;font-size:13px;cursor:pointer;}
.voice-panel.compact {bottom:var(--voice-panel-bottom, calc(82px + env(safe-area-inset-bottom)));}
.voice-player-content {max-height:max(100px, calc(100dvh - var(--voice-panel-bottom, 82px) - 112px - env(safe-area-inset-bottom)));overflow-y:auto;overscroll-behavior:contain;padding:0 16px 10px;}
.voice-snapshot {color:var(--muted);font-size:13px;margin:14px 0;}
.voice-brief-text {font-family:var(--reading-font,inherit);font-size:var(--reading-size,15px);line-height:var(--reading-line-height,1.75);overflow-wrap:anywhere;}
.voice-brief-text h3 {font-size:1.05em;margin:10px 0 14px;font-weight:650;}
.voice-brief-text p {margin:12px 0;white-space:pre-line;}
.voice-section-label {display:block;color:var(--green-ink);font-size:13px;font-weight:600;margin-bottom:4px;}
.voice-facts ul {padding-left:1.25em;margin:0 0 12px;}
.voice-facts li {margin:5px 0;}
.voice-suggestion {padding:12px;background:#f2f7f4;border-radius:12px;}
.voice-source {display:inline-flex;align-items:center;min-height:44px;color:var(--green);font-size:14px;text-decoration:none;}
.voice-progress {display:flex;gap:12px;align-items:center;margin:14px 0;}
.voice-progress progress {min-width:0;flex:1;height:7px;border:0;border-radius:6px;overflow:hidden;accent-color:var(--green);}
.voice-progress span {font-size:12px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap;}
.voice-controls {display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:8px;}
.voice-controls button,.voice-compact-controls button {min-height:44px;min-width:0;padding:8px 5px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;}
.voice-controls .voice-play {background:var(--green);color:white;border-color:var(--green);}
.voice-controls button:disabled,.voice-compact-controls button:disabled {opacity:.45;cursor:default;}
.voice-compact-controls {display:flex;gap:8px;padding:0 14px 10px;}
.voice-compact-controls button {flex:1;}
.voice-error {padding:12px;border-radius:12px;background:#fff3e4;color:#865009;font-size:14px;line-height:1.65;}
.voice-settings button.secondary,.voice-panel button.secondary {display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:10px 14px;border-radius:12px;background:var(--green-light);color:var(--green-ink);font:inherit;font-weight:600;}
.voice-settings [hidden] {display:none !important;}
.voice-boundary {font-size:12px;}
.voice-panel button:focus-visible,.voice-settings input:focus-visible,.voice-settings select:focus-visible,.voice-entry-button:focus-visible {outline:3px solid #087c7066;outline-offset:2px;}
@media (max-height:600px) {.voice-panel {bottom:var(--voice-panel-bottom, calc(66px + env(safe-area-inset-bottom)));}.voice-player-content {max-height:calc(100dvh - 176px - env(safe-area-inset-bottom));}}
