/* Build 303: styles live in external CSS for Bluehost content-security-policy. */
#voice-cache-panel{padding:20px;margin:18px 0;border:1px solid #d5dde6;border-radius:12px;background:var(--card,#fff);color:var(--text,#18212f)}
#voice-cache-panel h2{margin-top:0}
#voice-cache-panel button{margin:8px 8px 8px 0;padding:10px 14px;border-radius:8px;border:1px solid #607d91;cursor:pointer}
#prepare-voice{background:#136ac6;color:white;border:none!important}
#voice-cache-stats{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}
.voice-cache-stat{flex:1 1 140px;min-width:0;border-radius:8px;background:#e7eff7;color:#162e44;padding:13px}
.voice-cache-stat strong{display:block;font-size:24px}
.voice-cache-stat span{font-size:13px}
#voice-cache-status{min-height:1.3em}

/* Build 304: the system library is optional to expand; keep the daily editor compact. */
#system-voice-messages{margin:20px 0;border:1px solid #b9c8d3;border-radius:12px;overflow:hidden}
#system-voice-messages>summary{cursor:pointer;font-weight:700;font-size:1.13rem;padding:15px 18px;background:#e8f0f6;color:#172c3b}
#system-voice-messages>summary:focus-visible{outline:3px solid #348ad1;outline-offset:-3px}
#system-voice-messages article{margin:0;border:0;border-top:1px solid #b9c8d3;border-radius:0}

/* Build 306: individual playback/recording controls under each fixed phrase. */
.phrase-audio{margin-top:9px;padding:10px 12px;border:1px solid #c5d3dd;border-radius:9px;background:#f4f8fb;color:#183043}
.phrase-choice{display:inline-flex;align-items:center;gap:8px;font-weight:650;cursor:pointer}
.phrase-choice input{width:17px;height:17px;accent-color:#136ac6}
.phrase-buttons{display:inline-flex;gap:7px;flex-wrap:wrap;margin-left:12px;vertical-align:middle}
.phrase-buttons button{border:1px solid #7895a7;border-radius:7px;padding:7px 11px;background:#fff;color:#15466b;font:inherit;cursor:pointer}
.phrase-buttons button:hover:not(:disabled){background:#e0effa}
.phrase-buttons button:disabled{opacity:.55;cursor:not-allowed}
.phrase-status{display:block;margin-top:8px;color:#516573;font-size:13px}
.phrase-device-note{margin:7px 0;color:#5b6d79;font-size:13px}
.phrase-label strong{font-weight:650}
#regenerate-outdated{background:white;color:#164b71}
@media(max-width:620px){.phrase-buttons{display:flex;margin:8px 0 0}.phrase-audio{padding:10px}.phrase-buttons button{flex:1 1 auto}}
