/* Factologist / accessible free article reader, isolated article-scoped component. */
.facto-voice{
  --fv-ink:#172b54;--fv-muted:#647895;--fv-border:#dae5f4;--fv-accent:#075dff;
  margin:18px 0 24px;padding:19px 20px 15px;
  border:1px solid var(--fv-border);border-radius:18px;
  background:linear-gradient(135deg,#f5f9ff 0%,#fff 73%);
  color:var(--fv-ink);box-shadow:0 10px 32px rgba(26,62,122,.055);
  font:inherit;max-width:100%;min-width:0;
}
.facto-voice *, .facto-voice *::before, .facto-voice *::after{box-sizing:border-box}
.facto-voice__head{display:flex;align-items:center;gap:12px;margin-bottom:15px}
.facto-voice__symbol{display:grid;place-items:center;flex:none;width:40px;height:40px;
  border-radius:12px;background:#e7f0ff;color:#075dff;font-size:24px;font-weight:800}
.facto-voice__head>div{flex:1;min-width:0}
.facto-voice h2{font:inherit;font-weight:800;font-size:18px;letter-spacing:-.02em;line-height:1.25;color:var(--fv-ink);margin:0 0 3px}
.facto-voice__head p{margin:0;color:var(--fv-muted);font-size:12px;line-height:1.4}
.facto-voice__tag{flex:none;white-space:nowrap;border:1px solid #cbdcf7;border-radius:30px;
  background:#fff;color:#3d639e;padding:6px 9px;font-size:10px;font-weight:800}
.facto-voice__controls{display:flex;flex-wrap:wrap;align-items:end;gap:8px 9px;min-width:0}
.facto-voice__controls button,.facto-voice__controls select{
  font:inherit;touch-action:manipulation;cursor:pointer}
.facto-voice__play{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-width:120px;min-height:42px;border:0;border-radius:11px;padding:10px 15px;
  background:var(--fv-accent);color:#fff;font-size:13px;font-weight:800;
  box-shadow:0 7px 17px rgba(7,93,255,.15)}
.facto-voice__play:hover{background:#004acf}
.facto-voice__icon{display:grid;place-items:center;width:42px;height:42px;min-height:42px;
  padding:0;border:1px solid #d6e3f6;border-radius:11px;
  background:#fff;color:#315d9a;font-size:20px}
.facto-voice__icon:hover:not(:disabled){border-color:#9ebff6;background:#eef5ff}
.facto-voice__icon:disabled,.facto-voice__play:disabled{opacity:.45;cursor:not-allowed}
.facto-voice__field{display:grid;gap:4px;color:var(--fv-muted);font-size:10px;
  font-weight:700;letter-spacing:.01em}
.facto-voice__field select{height:42px;max-width:100%;min-width:90px;
  border:1px solid #d6e3f6;border-radius:11px;padding:0 10px;
  background:#fff;color:var(--fv-ink);font-size:12px;font-weight:650}
.facto-voice__field--voice{min-width:155px;flex:1 1 155px;max-width:270px}
.facto-voice__field--voice select{width:100%}
.facto-voice button:focus-visible,.facto-voice select:focus-visible{
  outline:3px solid #ffb454;outline-offset:2px}
.facto-voice__progress{display:flex;align-items:center;gap:10px;margin-top:14px}
.facto-voice__progress progress{appearance:none;-webkit-appearance:none;flex:1;width:100%;height:6px;
  border:0;border-radius:12px;background:#e2ebf8;overflow:hidden}
.facto-voice__progress progress::-webkit-progress-bar{background:#e2ebf8;border-radius:12px}
.facto-voice__progress progress::-webkit-progress-value{background:#075dff;border-radius:12px}
.facto-voice__progress progress::-moz-progress-bar{background:#075dff;border-radius:12px}
.facto-voice__progress span{min-width:32px;text-align:right;font-size:11px;
  font-weight:800;color:var(--fv-muted)}
.facto-voice__status{margin:8px 0 0;color:#365886;font-size:12px;line-height:1.5}
.facto-voice__hint{margin:9px 0 0;color:#7488a5;font-size:11px;line-height:1.5}
.article-content [data-voice-current="true"]{
  border-radius:3px;background:linear-gradient(transparent 72%,rgba(7,93,255,.12) 72%);
}
@media(max-width:640px){
  .facto-voice{margin:14px 0 18px;padding:15px 12px;border-radius:14px}
  .facto-voice__head{gap:9px;margin-bottom:11px}
  .facto-voice__symbol{width:36px;height:36px;font-size:21px}
  .facto-voice h2{font-size:16px}
  .facto-voice__tag{display:none}
  .facto-voice__controls{gap:7px}
  .facto-voice__play{min-width:100px;flex:1}
  .facto-voice__field--voice{max-width:none;flex:1 1 100%;margin-top:3px}
}
@media(prefers-reduced-motion:reduce){
  .facto-voice *{scroll-behavior:auto!important;transition:none!important}
}
