.shakes-voice-bar{padding:.5rem 0;max-width:70rem;margin:auto}.shakes-voice-bar button{font:inherit;font-size:1rem;min-height:44px;padding:.45rem .85rem;border:2px solid currentColor;border-radius:2rem;background:var(--surface,#fff);color:var(--ink,#18312b)}.shakes-voice-dialog{box-sizing:border-box;width:min(92vw,32rem);max-height:85dvh;overflow:auto;border:2px solid #18312b;border-radius:1.3rem;padding:1.3rem;background:#fffdf8;color:#18312b;font:1rem/1.5 system-ui;z-index:9999}.shakes-voice-dialog::backdrop{background:#102c28b3}.shakes-voice-dialog h2{font:700 1.5rem/1.2 system-ui;margin:0 0 1rem}.shakes-voice-dialog label{display:block;margin:1rem 0;font-weight:700}.shakes-voice-dialog select{display:block;box-sizing:border-box;width:100%;max-width:100%;font:inherit;min-height:48px;color:#18312b;background:white;border:1px solid #426259;border-radius:.5rem;padding:.5rem}.shakes-voice-actions{display:flex;flex-wrap:wrap;gap:.5rem}.shakes-voice-dialog button{font:inherit;min-height:44px;background:#18312b;color:white;border:0;border-radius:.7rem;padding:.6rem 1rem}.shakes-voice-dialog :focus-visible,.shakes-voice-bar :focus-visible{outline:3px solid #d45a00;outline-offset:3px}

.shakes-voice-bar{box-sizing:border-box;padding:1rem;line-height:1.5}.shakes-auto-read{display:flex;align-items:center;gap:.65rem;min-height:48px;margin-top:.65rem}.shakes-auto-read input{width:24px;height:24px;flex-shrink:0}.shakes-voice-bar [data-page-status]{font-size:1rem;margin:.4rem 0;max-width:65ch}

.shakes-voice-bar{position:static;background:var(--paper,#fffdf8);box-sizing:border-box;width:100%}@media(max-height:550px){.shakes-voice-bar{position:relative}}

/* Controls stay in normal flow: neither open nor closed panels cover the words. */
.shakes-voice-bar{padding:.35rem 1rem;overflow-wrap:anywhere}
.shakes-voice-bar>summary{box-sizing:border-box;cursor:pointer;min-height:48px;padding:.6rem 0;font-size:1rem;font-weight:700;line-height:1.5}
.shakes-voice-bar[open]>summary{margin-bottom:.5rem}
.shakes-voice-bar button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.shakes-voice-bar [data-access-close]{margin:.5rem 0}
@media print{.shakes-voice-bar,.shakes-voice-dialog{display:none}}
