/* Installer68: dedicated saved-podcast MP3 replacement and recovery controls. */
.radio-studio-attached-audio{display:flex;align-items:center;flex-wrap:wrap;gap:9px 12px;margin:0 0 12px;padding:12px 13px;border:1px solid #a578c16b;border-radius:9px;background:#111620;color:#eee1f6;font:500 11px/1.5 Manrope,'Segoe UI',sans-serif}
.radio-studio-attached-audio>strong{font-size:12px;color:#eebc7c;min-width:95px}
.radio-studio-attached-audio>small{flex-basis:100%;color:#bcb4c6;overflow-wrap:anywhere}
.radio-studio-replace-audio-button{position:relative;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #9c7ab5;border-radius:7px;padding:8px 12px;color:#eee1f6;background:#212536;font:700 11px/1.4 Manrope,'Segoe UI',sans-serif}
.radio-studio-replace-audio-button:hover{border-color:#eebc7c}
.radio-studio-replace-audio-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.radio-studio-replace-audio-button:focus-within{outline:2px solid #eebc7c;outline-offset:2px}
.radio-studio-attached-audio button{font:700 11px/1.4 Manrope,'Segoe UI',sans-serif}
.radio-studio-reference-save .radio-studio-delete-podcast{border:1px solid #b75e56;color:#ffb5ab;background:#2b1719;border-radius:7px;padding:7px 11px;cursor:pointer;font:700 11px/1.4 Manrope,'Segoe UI',sans-serif}
.radio-studio-reference-save .radio-studio-delete-podcast:hover,.radio-studio-reference-save .radio-studio-delete-podcast:focus-visible{border-color:#ef8a7e;color:#ffe8e3;background:#3b2022}
.radio-studio-reference-save .radio-studio-delete-podcast[hidden]{display:none!important}
.radio-studio-reference-save .radio-studio-delete-podcast:disabled{opacity:.45;cursor:wait}
@media(max-width:650px){.radio-studio-attached-audio{align-items:stretch}.radio-studio-attached-audio>strong{flex-basis:100%}}

/* Installer70: scoped transcript/MP3 source choice, without altering approved global typography. */
.radio-podcast-narration-settings{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:10px 12px;margin:4px 0 12px;padding:12px 13px;background:#111620;color:#f2e5f5;border:1px solid #9b7baf77;border-radius:9px;font:400 11px/1.45 Manrope,'Segoe UI',sans-serif}
.radio-podcast-narration-settings label{display:flex;flex-direction:column;gap:5px;min-width:0;color:#eebc7c;font:600 11px/1.45 Manrope,'Segoe UI',sans-serif}
.radio-podcast-narration-settings select{min-height:35px;width:100%;background:#222535;border:1px solid #9176a6;border-radius:6px;color:#fff;padding:6px 9px;font:400 11px/1.5 Manrope,'Segoe UI',sans-serif}
.radio-podcast-narration-settings button{min-height:35px;border:1px solid #a17eb7;border-radius:6px;background:#28243b;color:#f5e9f7;padding:5px 12px;cursor:pointer;font:600 11px/1.4 Manrope,'Segoe UI',sans-serif}
.radio-podcast-narration-settings button:hover{border-color:#eebc7c}
.radio-podcast-narration-settings small{grid-column:1/-1;color:#d0bfd3;font:400 10px/1.65 Manrope,'Segoe UI',sans-serif;overflow-wrap:anywhere}
@media(max-width:720px){.radio-podcast-narration-settings{grid-template-columns:minmax(0,1fr)}.radio-podcast-narration-settings button{justify-self:start}}

.radio-studio-reference-create{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:2px 0 12px;font:400 11px/1.5 Manrope,'Segoe UI',sans-serif;color:#d7c4d8}
.radio-studio-reference-create>button{font:600 11px/1.4 Manrope,'Segoe UI',sans-serif;padding:8px 12px;border-radius:6px;background:#28243b;border:1px solid #b78a58;color:#f5d29b;cursor:pointer}
.radio-studio-reference-create>button:hover{border-color:#eebc7c}

/* Installer73: the re-transcribe action uses the same native dialog/top layer and
   violet/amber visual language as the rest of Radio Studio. It is not a JS alert. */
.radio-studio-retranscribe-modal{box-sizing:border-box;width:min(510px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #a578c18c;border-radius:12px;background:radial-gradient(ellipse at 100% 0,#61407b40,transparent 62%),linear-gradient(145deg,#20222b,#101319 70%);color:#e9e2ef;box-shadow:0 22px 70px #000b;overflow:auto}
.radio-studio-retranscribe-modal::backdrop{background:rgba(5,6,9,.76);backdrop-filter:blur(4px)}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-form{margin:0;padding:0}
.radio-studio-retranscribe-modal .radio-studio-youtube-head{justify-content:space-between}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-content{padding:16px 18px 18px;font:400 11px/1.7 Manrope,"Segoe UI",Arial,sans-serif}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-content p{margin:0 0 12px;color:#d7cbdc;font:400 11px/1.7 Manrope,"Segoe UI",Arial,sans-serif}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-content strong{color:#f3e5f5;font-weight:650}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-warning{border-left:2px solid #d18432;padding:7px 10px;background:#d1843214;color:#eacda9!important}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px;flex-wrap:wrap}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-actions button{min-height:35px;padding:8px 13px;border:1px solid #a578c17c;border-radius:7px;background:#252432;color:#ede4f2;cursor:pointer;font:600 11px/1.4 Manrope,"Segoe UI",Arial,sans-serif}
.radio-studio-retranscribe-modal .radio-studio-retranscribe-actions button[value="retranscribe"]{border-color:#d18432;background:#432c20;color:#ffdaa5}
.radio-studio-retranscribe-modal button:hover,.radio-studio-retranscribe-modal button:focus-visible{border-color:#f5b567;outline-offset:2px}
/* Installer73: reduce editable transcript and summary content from the earlier
   oversized style. Headings are regular-weight; content remains fully editable. */
.radio-studio-mp3-modal .radio-studio-reference-columns textarea[data-studio="transcript-text"],.radio-studio-mp3-modal .radio-studio-reference-columns textarea[data-studio="transcript-summary"]{font-family:Manrope,"Segoe UI",Arial,sans-serif!important;font-size:10.5px!important;font-weight:400!important;line-height:1.6!important;letter-spacing:normal!important;text-transform:none!important}
.radio-studio-mp3-modal .radio-studio-reference-columns .radio-studio-reference-heading,.radio-studio-mp3-modal .radio-studio-reference-columns .radio-studio-reference-heading strong{font-family:Manrope,"Segoe UI",Arial,sans-serif;font-size:10.5px;font-weight:500;line-height:1.5}

/* Installer92: on-demand summary generation is always available in the
   new/saved transcript editor; align the action next to its label. */
.radio-studio-mp3-modal .radio-studio-summary-heading{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px}
.radio-studio-mp3-modal .radio-studio-summary-heading small{text-align:right;white-space:nowrap}
.radio-studio-mp3-modal .radio-studio-summary-generate{justify-self:center;min-height:29px;padding:5px 12px;border:1px solid #b78a58;border-radius:6px;background:#28243b;color:#f5d29b;font:600 10.5px/1.35 Manrope,"Segoe UI",Arial,sans-serif;cursor:pointer}
.radio-studio-mp3-modal .radio-studio-summary-generate:hover,.radio-studio-mp3-modal .radio-studio-summary-generate:focus-visible{border-color:#eebc7c;background:#363044;color:#ffe3b7}
.radio-studio-mp3-modal .radio-studio-summary-generate:focus-visible{outline:2px solid #eebc7c;outline-offset:2px}
.radio-studio-mp3-modal .radio-studio-summary-generate:disabled{opacity:.5;cursor:not-allowed}

/* Installer93: compact narrator controls + Radio-owned Real Voice workflow. */
.radio-podcast-narration-settings{grid-template-columns:minmax(155px,1.45fr) minmax(120px,1fr) auto auto;column-gap:8px}
.radio-podcast-narration-settings button{white-space:nowrap;padding-inline:10px}
.radio-podcast-narration-settings .radio-studio-real-voice-trigger{color:#dbf4e7;border-color:#5cae8b;background:linear-gradient(140deg,#244a3c,#18362f)}
.radio-podcast-narration-settings .radio-studio-real-voice-trigger:hover{border-color:#97e1b8}
.radio-podcast-narration-settings .radio-studio-real-voice-preview{grid-column:1/-1;width:100%;height:35px}
.radio-podcast-narration-settings .radio-studio-real-voice-preview[hidden]{display:none!important}
@media(max-width:850px){.radio-podcast-narration-settings{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.radio-podcast-narration-settings>label{min-width:0}.radio-podcast-narration-settings button{justify-self:stretch}}
.radio-studio-real-voice-modal{box-sizing:border-box;width:min(570px,calc(100vw - 22px));max-height:calc(100dvh - 22px);overflow:auto;border:1px solid #a578c18c;border-radius:13px;background:radial-gradient(ellipse at 98% 0,#61407b40,transparent 60%),linear-gradient(145deg,#20222b,#101319 70%);color:#f0e6f2;box-shadow:0 24px 74px #000b}
.radio-studio-real-voice-modal::backdrop{background:rgba(5,6,9,.79)}
.radio-real-voice-body{padding:16px 18px 18px;font:400 12px/1.6 Manrope,'Segoe UI',sans-serif}
.radio-real-voice-body p{margin:0 0 12px;color:#dfd4e4}
.radio-real-voice-body>label:not(.radio-real-voice-consent){display:flex;flex-direction:column;gap:6px;color:#efc586;font-weight:600}
.radio-real-voice-body input[type=text]{box-sizing:border-box;width:100%;min-height:38px;padding:8px 10px;border:1px solid #927baa;border-radius:7px;background:#222535;color:#fff;font:400 12px Manrope,'Segoe UI',sans-serif}
.radio-real-voice-body button{min-height:36px;padding:7px 12px;border:1px solid #9d80b6;border-radius:7px;background:#282438;color:#f2e5f5;font:600 12px Manrope,'Segoe UI',sans-serif;cursor:pointer}
.radio-real-voice-body button:hover{border-color:#eebc7c}
.radio-real-voice-body button:disabled{opacity:.42;cursor:not-allowed}
.radio-real-voice-buttons,.radio-real-voice-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-block:12px}
.radio-real-voice-buttons span{font-size:11px;color:#eecb97}
.radio-real-voice-actions{justify-content:flex-end}
.radio-real-voice-actions [data-studio="real-voice-save"]{background:#244a3c;border-color:#5cae8b;color:#e3ffe8}
.radio-real-voice-body audio{width:100%;height:38px;margin-bottom:12px}
.radio-real-voice-body audio[hidden]{display:none!important}
.radio-real-voice-consent{display:flex;gap:9px;align-items:flex-start;margin-block:12px;color:#e9ddeb}
.radio-real-voice-consent input{margin-top:4px}
.radio-real-voice-status{min-height:21px;font-size:11px}
.radio-real-voice-status.is-error{color:#ffb3ac}
.radio-real-voice-body>small{display:block;color:#bcaeca;font-size:10px;line-height:1.65}

/* Installer 94: shared Studio-style, true microphone dBFS monitor for Real Voice. */
.radio-real-voice-input{min-width:0;margin:14px 0 9px;padding:12px 13px 11px;border:1px solid #494354;border-radius:9px;background:linear-gradient(180deg,#161721,#12141c)}
.radio-real-voice-input .radio-studio-meter-label{align-items:baseline;font-size:10px;letter-spacing:.065em;font-weight:800;color:#d1c1d9}
.radio-real-voice-input .radio-studio-meter-label strong{font-variant-numeric:tabular-nums;font-size:12px;color:#f0dde9}
.radio-real-voice-input .radio-studio-meter{margin:9px 0 5px;height:15px;border-color:#080b0e}
.radio-real-voice-input .radio-studio-meter-scale{font-size:9px;color:#a8a1ad;font-variant-numeric:tabular-nums}
.radio-real-voice-input-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:7px;margin-top:8px;font-size:10px;line-height:1.45;color:#b9b0c3}
.radio-real-voice-input-foot [data-studio="real-voice-input-clips"]{white-space:nowrap;color:#b7d5bf}
.radio-real-voice-input-foot .is-clipping{color:#ff9b8c!important;font-weight:750}
@media(max-width:480px){.radio-real-voice-input{padding:10px}.radio-real-voice-input-foot{flex-wrap:wrap}}

/* Installer 95 — private Real Voice narrator management; no public styles altered. */
.radio-real-voice-library{margin-top:18px;padding-top:13px;border-top:1px solid #685879}
.radio-real-voice-library-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px}
.radio-real-voice-library-heading h4{margin:0;font:700 13px Manrope,'Segoe UI',sans-serif;color:#f1deec}
.radio-real-voice-library-heading span{font-size:11px;color:#cfbed8}
.radio-real-voice-library-list{display:grid;gap:7px;max-height:220px;overflow:auto;scrollbar-width:thin}
.radio-real-voice-library-row{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:50px;padding:7px 9px;border:1px solid #514a5b;border-radius:8px;background:#181b25}
.radio-real-voice-library-description{min-width:0;display:grid;gap:2px}
.radio-real-voice-library-description strong{overflow-wrap:anywhere;color:#f4eaf3;font-weight:700;font-size:12px}
.radio-real-voice-library-description span{color:#bcb3c7;font-size:10px}
.radio-real-voice-body .radio-real-voice-remove{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;min-height:35px;padding:0;border:1px solid #845158;border-radius:7px;background:#3b2228;color:#ffbbc0}
.radio-real-voice-body .radio-real-voice-remove:hover{border-color:#ffadb8;background:#54272e;color:#fff}
.radio-real-voice-body .radio-real-voice-remove:focus-visible,.radio-real-voice-body .radio-real-voice-delete-confirm:focus-visible{outline:2px solid #fff;outline-offset:2px}
.radio-real-voice-library-empty{padding:9px 0;color:#c5bccc;font-size:11px}
.radio-real-voice-library-help{margin:9px 0 0!important;color:#bfb5c9!important;font-size:10px;line-height:1.5}
.radio-real-voice-delete-modal{width:min(490px,calc(100vw - 22px))}
.radio-real-voice-delete-target strong{color:#fbe1e2;font-size:14px;overflow-wrap:anywhere}
.radio-real-voice-delete-warning{padding:10px 12px;border:1px solid #8a545c;border-radius:8px;background:#43262e;color:#ffd1d5!important}
.radio-real-voice-delete-modal .radio-real-voice-delete-confirm{border-color:#bb6972;background:#87383f;color:#fff}
.radio-real-voice-delete-modal .radio-real-voice-delete-confirm:hover{border-color:#ffd0d4;background:#9e3e49}

/* Installer97: visible saved narrator management and monitored Real Voice previews. */
.radio-podcast-narrator-choice{display:flex;align-items:end;min-width:0;gap:6px}
.radio-podcast-narrator-choice label{flex:1;min-width:0}
.radio-podcast-narration-settings .radio-podcast-narrator-delete{flex:0 0 36px;width:36px;min-width:36px;padding:6px;display:grid;place-items:center;color:#ffd0d6;border-color:#a35763;background:#3b242a}
.radio-podcast-narration-settings .radio-podcast-narrator-delete:hover{border-color:#ffc4cb;background:#542932}
.radio-podcast-narration-settings .radio-podcast-narrator-delete[hidden],
.radio-podcast-narration-settings .radio-real-voice-preview-cancel[hidden],
.radio-podcast-narration-settings .radio-real-voice-preview-status[hidden]{display:none!important}
.radio-podcast-narration-settings .radio-real-voice-preview-cancel{color:#ffdbce;border-color:#b46a65;background:#3b2525}
.radio-podcast-narration-settings .radio-real-voice-preview-status{grid-column:1/-1;margin:0;padding:8px 10px;line-height:1.5;border:1px solid #6c5b7b;border-radius:6px;color:#e9dfe9;background:#201e2c;font-size:11px}
.radio-podcast-narration-settings .radio-real-voice-preview-status.is-error{color:#ffc2b9;border-color:#bd6a65}
.radio-real-voice-body>.radio-real-voice-library{margin:10px 0 15px;padding:12px;border:1px solid #695d75;border-radius:9px;background:#1b1c27}
.radio-real-voice-body>.radio-real-voice-library .radio-real-voice-library-list{max-height:160px}
.radio-real-voice-library-row .radio-real-voice-remove svg{pointer-events:none}
@media(max-width:850px){.radio-podcast-narration-settings .radio-podcast-narrator-delete{justify-self:end}}


/* Installer 98: compact Saved Podcasts rows — leading icon, never a text Delete button. */
.radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-delete{
  flex:0 0 38px;display:inline-flex;align-items:center;justify-content:center;
  width:38px;min-width:38px;min-height:38px;margin:0;padding:0;
  border:1px solid rgba(226,108,112,.44);border-radius:8px;
  background:rgba(174,45,58,.11);color:#f3b0b1;cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
.radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-delete svg{
  display:block;width:19px;height:19px;fill:none;stroke:currentColor;
  stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
.radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-delete:hover{
  background:rgba(191,50,65,.25);border-color:#f38f93;color:#fff0f0;
}
.radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-delete:focus-visible{
  outline:2px solid #ffb2b4;outline-offset:2px;
}
.radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-delete:disabled{
  opacity:.5;cursor:progress;
}
.radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-open{
  flex:1;min-width:0;text-align:left;
}
@media(pointer:coarse){
  .radio-studio-reference-browser .radio-studio-reference-library li>button.radio-saved-podcast-delete{
    flex-basis:42px;width:42px;min-width:42px;min-height:42px;
  }
}

/* Installer99: adjustable transcript retention for generated summaries. */
.radio-studio-mp3-modal .radio-studio-summary-length{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:7px 0 9px;font:500 11px/1.4 Manrope,"Segoe UI",Arial,sans-serif;color:#dfd8e8}
.radio-studio-mp3-modal .radio-studio-summary-length label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.radio-studio-mp3-modal .radio-studio-summary-length input{box-sizing:border-box;width:64px;min-height:30px;padding:4px 6px;border:1px solid #776884;border-radius:6px;background:#211d30;color:#fff;font:600 12px/1.3 Manrope,"Segoe UI",Arial,sans-serif;text-align:center}
.radio-studio-mp3-modal .radio-studio-summary-length input:focus-visible{outline:2px solid #eebc7c;outline-offset:2px}
.radio-studio-mp3-modal .radio-studio-summary-length small{font:400 10px/1.4 Manrope,"Segoe UI",Arial,sans-serif;color:#c8becf;flex:1 1 220px}
