/* Scoped approved Speak Bar; surrounding modules, feedback, and measured phone
   dock remain owned by their existing layout. No recorder behavior in CSS. */
:is(.word-studio-shell,.sentence-talk-shell) .minimal-word-stage>.guided-record-card.practice-speak-bar{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1.35fr)!important;grid-template-rows:auto!important;gap:24px!important;align-items:center;min-height:140px!important;height:auto!important;padding:24px 28px!important;background:var(--brand-panel-mint)!important;border:1px solid var(--brand-aqua);border-radius:20px;color:var(--brand-ink);box-shadow:none;isolation:isolate;
}
.practice-speak-bar::before,.practice-speak-bar::after{display:none!important}
.practice-speak-bar .practice-speak-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;grid-area:auto!important}
.practice-speak-bar .practice-speak-copy{min-width:0}
.practice-speak-bar .practice-speak-copy>:is(#word-record-state,#record-state){display:block!important;margin:0;font:700 24px/1.25 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.025em;color:var(--brand-ink);overflow-wrap:normal;text-transform:none}
.practice-speak-bar .practice-speak-copy>:is(#word-record-copy,#record-copy){display:flex;align-items:center;gap:7px;margin:6px 0 0;font-size:16px;font-weight:400;line-height:1.4;color:var(--brand-ink-soft);opacity:1}
.practice-speak-copy>p>img{width:20px;height:22px;flex:none}
.practice-speak-bar .practice-speak-slot{min-width:0;width:100%;grid-area:auto!important}
:is(.word-studio-shell,.sentence-talk-shell) .minimal-word-stage>.practice-speak-bar :is(.practice-speak-action,.sentence-done-button){
 position:relative!important;inset:auto!important;display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:12px;grid-area:auto!important;width:100%!important;height:auto!important;min-height:64px!important;max-width:none!important;min-width:0!important;margin:0!important;padding:12px 20px!important;border:0!important;border-radius:999px!important;background:var(--brand-emerald)!important;color:var(--brand-canvas)!important;box-shadow:none!important;transform:none!important;animation:none!important;font:650 24px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:normal;text-transform:none;white-space:normal;
}
.practice-speak-bar .practice-speak-action::before,.practice-speak-bar .practice-speak-action::after{display:none!important}
.practice-speak-bar .practice-speak-action>img{width:30px;height:32px;object-fit:contain;filter:brightness(0) invert(1);flex:none}
.practice-speak-bar .practice-speak-action>span{position:static;transform:none;font:inherit;line-height:inherit}
.practice-speak-bar :is(.practice-speak-action,.sentence-done-button):focus-visible{outline:3px solid var(--brand-emerald);outline-offset:4px}
.practice-speak-bar .practice-speak-action:disabled{opacity:.55;cursor:not-allowed}
.practice-speak-bar .practice-speak-wait{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:64px;border-radius:999px;padding:0 12px;background:var(--brand-aqua);color:var(--brand-ink);font-size:18px;line-height:1.2}
.practice-speak-wait>img{width:30px;height:32px;object-fit:contain}
.practice-speak-bar .practice-speak-wait:has(.practice-speak-connection){gap:0;padding-left:0}
.practice-speak-connection{display:block;width:112px;height:64px;flex:0 0 112px;object-fit:contain}
.practice-speak-bar .practice-speak-count{font-size:32px;font-weight:700;color:var(--brand-ink)}
.practice-speak-wait progress{width:32px;height:8px;accent-color:var(--brand-emerald)}
.practice-speak-bar .practice-speak-timer{position:relative;flex:none;width:60px;height:60px;font-variant-numeric:tabular-nums;color:var(--brand-ink)}
.practice-speak-timer canvas{position:absolute;inset:0;width:60px;height:60px}
.practice-speak-timer>div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.practice-speak-bar .practice-speak-timer strong{font-size:22px;font-weight:750;line-height:1;margin:0}
.practice-speak-timer span{font-size:11px;margin-top:2px;color:var(--brand-ink-soft)}
.practice-speak-legacy-meter{display:none!important}
.user-reduced-motion .practice-speak-wait progress{visibility:hidden}
@media(prefers-reduced-motion:reduce){.practice-speak-wait progress{visibility:hidden}}
@media(max-width:1180px){
 :is(.word-studio-shell,.sentence-talk-shell) .minimal-word-stage>.guided-record-card.practice-speak-bar{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;min-height:188px!important;padding:20px!important}
 .practice-speak-bar .practice-speak-heading{min-height:64px}
 .practice-speak-bar .practice-speak-copy>:is(#word-record-state,#record-state){font-size:20px;line-height:1.3}
 .practice-speak-bar .practice-speak-copy>:is(#word-record-copy,#record-copy){font-size:15px}
}
@media(max-width:600px){
 :is(.word-studio-shell,.sentence-talk-shell) .minimal-word-stage>.guided-record-card.practice-speak-bar[data-phone-dock]{padding:16px max(16px,env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))!important;min-height:176px!important}
 .practice-speak-bar .practice-speak-heading{min-height:56px}
 .practice-speak-bar:not(.recording):not(.error):not(.complete) .practice-speak-copy{width:100%;display:flex;align-items:start;justify-content:space-between;gap:12px}
 .practice-speak-bar:not(.recording):not(.error):not(.complete) .practice-speak-copy p{flex:none;margin:2px 0 0}
}
@media(max-width:360px){
 .practice-speak-bar .practice-speak-copy>:is(#word-record-state,#record-state){font-size:18px}
 .practice-speak-bar .practice-speak-copy>:is(#word-record-copy,#record-copy){font-size:14px}
 :is(.word-studio-shell,.sentence-talk-shell) .minimal-word-stage>.practice-speak-bar :is(.practice-speak-action,.sentence-done-button){font-size:22px}
}

/* When completed attempts use the phone feedback dock, its controls replace
   the recording bar. Preserve that existing rule against the Speak Bar grid. */
:is(.word-studio-shell,.sentence-talk-shell).phone-feedback-dock .minimal-word-stage>.guided-record-card.practice-speak-bar{display:none}
