/* ===================================================================
   Podcast Clip & Transcript Studio.
   Scoped entirely under .podcast-studio; see podcast-studio-tokens.css
   for the --ps-* custom properties this file reads.
   =================================================================== */

.podcast-studio {
    background: var(--ps-page);
    color: var(--ps-text);
}

.podcast-studio .ps-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.podcast-studio .ps-narrow {
    max-width: 820px;
    margin: 0 auto;
}

.podcast-studio h1, .podcast-studio h2, .podcast-studio h3 {
    color: var(--ps-navy);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.podcast-studio a { color: var(--ps-blue); }
.podcast-studio a:focus-visible,
.podcast-studio button:focus-visible,
.podcast-studio input:focus-visible,
.podcast-studio select:focus-visible,
.podcast-studio [tabindex]:focus-visible {
    outline: 3px solid var(--ps-violet);
    outline-offset: 2px;
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.podcast-studio .ps-hero { padding: 48px 0 32px; }

.podcast-studio .ps-breadcrumb { font-size: 13px; color: var(--ps-text-muted); margin-bottom: 16px; }
.podcast-studio .ps-breadcrumb a { color: var(--ps-text-muted); text-decoration: none; }
.podcast-studio .ps-breadcrumb a:hover { color: var(--ps-blue); text-decoration: underline; }

.podcast-studio .ps-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--ps-violet); font-weight: 700; font-size: 12px;
    letter-spacing: 0.14em; text-transform: uppercase;
    background: var(--ps-violet-soft); border-radius: 999px;
    padding: 6px 14px; margin-bottom: 18px;
}

.podcast-studio .ps-hero h1 {
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.08;
    margin-bottom: 18px;
}

.podcast-studio .ps-hero-lead {
    font-size: 18px; color: var(--ps-text-secondary);
    max-width: 660px; margin-bottom: 24px;
}

.podcast-studio .ps-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

.podcast-studio .ps-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ps-surface); border: 1px solid var(--ps-border);
    border-radius: 999px; padding: 8px 14px; font-size: 13.5px;
    font-weight: 600; color: var(--ps-text-secondary);
}
.podcast-studio .ps-chip i { color: var(--ps-violet); }

/* ---------------------------------------------------------------
   Workbench
   --------------------------------------------------------------- */
.podcast-studio .ps-workbench {
    background: var(--ps-surface);
    border: 1px solid rgba(98, 87, 235, 0.16);
    border-radius: var(--ps-r-xl);
    box-shadow: var(--ps-shadow-lg);
    padding: 32px;
    margin-top: 8px;
    position: relative;
}
.podcast-studio .ps-workbench::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
    border-radius: var(--ps-r-xl) var(--ps-r-xl) 0 0;
    background: var(--ps-brand-gradient);
}

/* Source tabs */
.podcast-studio .ps-source-tabs {
    display: inline-flex; gap: 4px; background: var(--ps-page-soft, #f6f4f1);
    border: 1px solid var(--ps-border-soft); border-radius: 14px;
    padding: 6px; margin-bottom: 20px;
}
.podcast-studio .ps-source-tab {
    border: 0; background: transparent; border-radius: 10px;
    padding: 10px 16px; font-weight: 700; font-size: 14px;
    color: var(--ps-text-secondary); cursor: pointer;
    min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
}
.podcast-studio .ps-source-tab[aria-selected="true"] {
    background: var(--ps-surface); color: var(--ps-navy);
    box-shadow: var(--ps-shadow-xs);
}
.podcast-studio .ps-source-tab .ps-badge { margin-left: 4px; }

.podcast-studio .ps-source-panel[hidden] { display: none; }

/* Drop zone */
.podcast-studio .ps-drop {
    border: 2px dashed rgba(98, 87, 235, 0.35);
    border-radius: var(--ps-r-lg);
    background: var(--ps-violet-soft);
    padding: 40px 24px; text-align: center; cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.podcast-studio .ps-drop:hover, .podcast-studio .ps-drop:focus-visible { border-color: var(--ps-violet); }
.podcast-studio .ps-drop.is-dragging {
    background: #e7e0ff; border-color: var(--ps-violet); border-style: solid;
}
.podcast-studio .ps-drop-icon {
    width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ps-surface); box-shadow: var(--ps-shadow-sm);
    font-size: 26px; color: var(--ps-violet);
    transition: transform 160ms ease;
}
.podcast-studio .ps-drop.is-dragging .ps-drop-icon { transform: translateY(-3px); }
.podcast-studio .ps-drop-title { font-size: 18px; font-weight: 700; color: var(--ps-navy); margin-bottom: 6px; }
.podcast-studio .ps-drop-sub { color: var(--ps-text-secondary); margin-bottom: 4px; }
.podcast-studio .ps-drop-types { font-size: 13px; color: var(--ps-text-muted); }

.podcast-studio .ps-file {
    display: flex; align-items: center; gap: 14px;
    background: var(--ps-surface); border: 1px solid var(--ps-border);
    border-radius: var(--ps-r); padding: 16px;
}
.podcast-studio .ps-file-icon {
    width: 44px; height: 44px; border-radius: 14px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: var(--ps-blue-soft); color: var(--ps-blue); font-size: 18px;
}
.podcast-studio .ps-file-info { flex: 1; min-width: 0; }
.podcast-studio .ps-file-name { font-weight: 700; color: var(--ps-navy); overflow-wrap: anywhere; }
.podcast-studio .ps-file-meta { font-size: 13px; color: var(--ps-text-muted); }
.podcast-studio .ps-file-clear {
    border: 1px solid var(--ps-border); background: var(--ps-surface);
    border-radius: 10px; width: 40px; height: 40px; font-size: 18px;
    color: var(--ps-text-secondary); cursor: pointer;
}
.podcast-studio .ps-file-clear:hover { border-color: var(--ps-coral); color: var(--ps-coral); }

.podcast-studio .ps-error {
    margin-top: 14px; background: var(--ps-error-soft); border: 1px solid rgba(194,58,58,.35);
    color: var(--ps-error); border-radius: var(--ps-r); padding: 12px 16px; font-weight: 600;
}

/* URL / RSS panels */
.podcast-studio .ps-field-label { display: block; font-weight: 700; color: var(--ps-navy); margin-bottom: 8px; }
.podcast-studio .ps-input {
    width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--ps-border);
    background: var(--ps-surface); color: var(--ps-navy); padding: 0 14px; font-size: 15px;
}
.podcast-studio .ps-input:focus-visible { border-color: var(--ps-violet); }
.podcast-studio .ps-field-hint { font-size: 13px; color: var(--ps-text-muted); margin-top: 8px; }
.podcast-studio .ps-field-hint strong { color: var(--ps-text-secondary); }

/* Options panel */
.podcast-studio .ps-options { margin-top: 24px; border-top: 1px solid var(--ps-border-soft); padding-top: 24px; }
.podcast-studio .ps-options-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.podcast-studio .ps-option label,
.podcast-studio .ps-option legend { display: block; font-weight: 700; font-size: 13.5px; color: var(--ps-navy); margin-bottom: 8px; }
.podcast-studio .ps-select {
    width: 100%; min-height: 46px; border-radius: 12px; border: 1px solid var(--ps-border);
    background: var(--ps-surface); color: var(--ps-navy); padding: 0 12px; font-size: 14.5px;
}
.podcast-studio .ps-pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.podcast-studio .ps-pill {
    border: 1px solid var(--ps-border); background: var(--ps-surface); border-radius: 999px;
    padding: 8px 14px; font-size: 13.5px; font-weight: 600; color: var(--ps-text-secondary);
    cursor: pointer; min-height: 44px;
}
.podcast-studio .ps-pill[aria-pressed="true"] {
    background: var(--ps-blue-soft); border-color: var(--ps-blue); color: var(--ps-navy);
}
.podcast-studio .ps-pill:disabled, .podcast-studio .ps-pill[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

.podcast-studio .ps-toggle-row { display: flex; align-items: center; gap: 10px; }
.podcast-studio .ps-toggle-row input[type="checkbox"] {
    width: 20px; height: 20px; accent-color: var(--ps-violet);
}

.podcast-studio .ps-consent {
    margin-top: 20px; display: flex; gap: 12px; align-items: flex-start;
    background: var(--ps-page); border: 1px solid var(--ps-border); border-radius: var(--ps-r);
    padding: 14px 16px;
}
.podcast-studio .ps-consent input[type="checkbox"] { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--ps-violet); }
.podcast-studio .ps-consent label { font-size: 14px; color: var(--ps-text-secondary); }

.podcast-studio .ps-cta-row { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }

.podcast-studio .ps-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    color: #fff; background: var(--ps-navy); border: 0; border-radius: 12px;
    min-height: 52px; padding: 0 26px; font-weight: 700; font-size: 16px;
    box-shadow: 0 8px 20px rgba(16,22,43,.18); cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.podcast-studio .ps-btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(16,22,43,.22); }
.podcast-studio .ps-btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.podcast-studio .ps-btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ps-surface); color: var(--ps-navy); border: 1px solid var(--ps-border);
    border-radius: 12px; min-height: 44px; padding: 0 18px; font-weight: 700; font-size: 14px;
    cursor: pointer;
}
.podcast-studio .ps-btn-secondary:hover { border-color: var(--ps-violet); }

.podcast-studio .ps-microcopy { font-size: 13px; color: var(--ps-text-muted); }
.podcast-studio .ps-microcopy i { color: var(--ps-green); margin-right: 6px; }

/* Progress */
.podcast-studio .ps-progress { margin-top: 24px; border: 1px solid var(--ps-border); border-radius: var(--ps-r); padding: 20px; background: var(--ps-page); }
.podcast-studio .ps-progress-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.podcast-studio .ps-progress-stage { font-weight: 700; color: var(--ps-navy); }
.podcast-studio .ps-progress-elapsed { font-size: 12.5px; color: var(--ps-text-muted); }
.podcast-studio .ps-progress-percent { font-weight: 800; color: var(--ps-violet); }
.podcast-studio .ps-progress-track { height: 10px; border-radius: 999px; background: var(--ps-border-soft); overflow: hidden; }
.podcast-studio .ps-progress-bar { height: 100%; background: var(--ps-brand-gradient); width: 0%; transition: width 220ms ease; }
.podcast-studio .ps-progress-note { font-size: 13px; color: var(--ps-text-muted); margin: 10px 0 0; }

@media (prefers-reduced-motion: reduce) {
    .podcast-studio .ps-progress-bar, .podcast-studio .ps-drop, .podcast-studio .ps-drop-icon, .podcast-studio .ps-btn-primary { transition: none; }
}

/* ---------------------------------------------------------------
   Results workspace
   --------------------------------------------------------------- */
.podcast-studio .ps-results { margin-top: 28px; }

.podcast-studio .ps-tabs {
    display: flex; gap: 4px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    background: var(--ps-page); border: 1px solid var(--ps-border-soft); border-radius: 14px;
    padding: 6px; scrollbar-width: thin;
}
.podcast-studio .ps-tab {
    flex: none; border: 0; background: transparent; border-radius: 10px;
    padding: 10px 16px; font-weight: 700; font-size: 13.5px; color: var(--ps-text-secondary);
    cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
    white-space: nowrap;
}
.podcast-studio .ps-tab[aria-selected="true"] { background: var(--ps-surface); color: var(--ps-navy); box-shadow: var(--ps-shadow-xs); }
.podcast-studio .ps-tab .ps-dot { width: 8px; height: 8px; border-radius: 50%; }
.podcast-studio .ps-tab--coral .ps-dot { background: var(--ps-coral); }
.podcast-studio .ps-tab--blue .ps-dot { background: var(--ps-blue); }
.podcast-studio .ps-tab--violet .ps-dot { background: var(--ps-violet); }
.podcast-studio .ps-tab--cyan .ps-dot { background: var(--ps-cyan); }
.podcast-studio .ps-tab--green .ps-dot { background: var(--ps-green); }
.podcast-studio .ps-tab--amber .ps-dot { background: var(--ps-amber); }

.podcast-studio .ps-tabpanel { margin-top: 18px; }
.podcast-studio .ps-tabpanel[hidden] { display: none; }

/* Transcript */
.podcast-studio .ps-transcript-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.podcast-studio .ps-transcript-facts { display: flex; gap: 16px; font-size: 13.5px; color: var(--ps-text-secondary); margin-left: auto; }
.podcast-studio .ps-segments { max-height: 460px; overflow-y: auto; border: 1px solid var(--ps-border); border-radius: var(--ps-r); }
.podcast-studio .ps-segment { display: flex; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--ps-border-soft); }
.podcast-studio .ps-segment:last-child { border-bottom: 0; }
.podcast-studio .ps-segment.is-playing { background: var(--ps-blue-soft); }
.podcast-studio .ps-segment-time {
    border: 0; background: var(--ps-blue-soft); color: var(--ps-blue); font-weight: 700;
    border-radius: 8px; padding: 4px 10px; font-size: 13px; cursor: pointer; flex: none; height: fit-content;
}
.podcast-studio .ps-segment-text { margin: 0; color: var(--ps-text); line-height: 1.5; }
.podcast-studio .ps-empty { padding: 24px; color: var(--ps-text-muted); text-align: center; }

/* Coming-soon panel (used inside disabled result tabs) */
.podcast-studio .ps-coming-soon {
    border: 1px dashed var(--ps-border-strong, #d7d9e1); border-radius: var(--ps-r-lg);
    background: var(--ps-page); padding: 36px 24px; text-align: center;
}
.podcast-studio .ps-coming-soon .ps-icon-tile { margin: 0 auto 16px; }
.podcast-studio .ps-coming-soon h3 { margin-bottom: 6px; }
.podcast-studio .ps-coming-soon p { color: var(--ps-text-secondary); max-width: 480px; margin: 0 auto; }

/* ---------------------------------------------------------------
   Icon tiles / badges
   --------------------------------------------------------------- */
.podcast-studio .ps-icon-tile {
    width: 44px; height: 44px; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.podcast-studio .ps-icon-tile--coral  { background: var(--ps-coral-soft);  color: var(--ps-coral); }
.podcast-studio .ps-icon-tile--blue   { background: var(--ps-blue-soft);   color: var(--ps-blue); }
.podcast-studio .ps-icon-tile--violet { background: var(--ps-violet-soft); color: var(--ps-violet); }
.podcast-studio .ps-icon-tile--amber  { background: var(--ps-amber-soft);  color: var(--ps-amber); }
.podcast-studio .ps-icon-tile--green  { background: var(--ps-green-soft);  color: var(--ps-green); }
.podcast-studio .ps-icon-tile--cyan   { background: var(--ps-cyan-soft);   color: var(--ps-cyan); }

.podcast-studio .ps-badge {
    display: inline-flex; align-items: center; border-radius: 999px;
    padding: 4px 10px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.02em;
}
.podcast-studio .ps-badge--green  { background: var(--ps-green-soft);  color: #157a4d; }
.podcast-studio .ps-badge--amber  { background: var(--ps-amber-soft);  color: var(--ps-warning); }
.podcast-studio .ps-badge--blue   { background: var(--ps-blue-soft);   color: var(--ps-blue); }

/* Visually hidden but announced by screen readers - gives the amber "Preview"
   badge a real meaning for assistive tech instead of just a color/word that
   sighted users have to infer "not available yet" from. */
.podcast-studio .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------
   Mode grid
   --------------------------------------------------------------- */
.podcast-studio .ps-mode-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px; margin: 0; padding: 0; list-style: none;
}
.podcast-studio .ps-mode-card {
    border: 1px solid transparent; border-radius: 20px; padding: 22px;
    min-height: 190px; position: relative; overflow: hidden;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.podcast-studio .ps-mode-card--coral  { background: var(--ps-coral-soft); }
.podcast-studio .ps-mode-card--blue   { background: var(--ps-blue-soft); }
.podcast-studio .ps-mode-card--violet { background: var(--ps-violet-soft); }
.podcast-studio .ps-mode-card--amber  { background: var(--ps-amber-soft); }
.podcast-studio .ps-mode-card--green  { background: var(--ps-green-soft); }
.podcast-studio .ps-mode-card--cyan   { background: var(--ps-cyan-soft); }
.podcast-studio .ps-mode-card.is-enabled:hover { transform: translateY(-2px); box-shadow: var(--ps-shadow-sm); }
.podcast-studio .ps-mode-card-title { font-size: 17px; margin: 12px 0 6px; }
.podcast-studio .ps-mode-card-desc { font-size: 13.5px; color: var(--ps-text-secondary); margin-bottom: 12px; }

@media (prefers-reduced-motion: reduce) {
    .podcast-studio .ps-mode-card { transition: none; }
}

/* ---------------------------------------------------------------
   Generic sections
   --------------------------------------------------------------- */
.podcast-studio .ps-section { padding: 64px 0; }
.podcast-studio .ps-section--soft { background: var(--ps-page-soft, #f8f8fb); }
.podcast-studio .ps-section--tint-blue { background: var(--ps-blue-soft); }
.podcast-studio .ps-section--tint-green { background: var(--ps-green-soft); }
.podcast-studio .ps-section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.podcast-studio .ps-section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.podcast-studio .ps-section-head p { color: var(--ps-text-secondary); }

.podcast-studio .ps-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.podcast-studio .ps-feature-card {
    background: var(--ps-surface); border: 1px solid var(--ps-border); border-radius: 16px;
    padding: 24px; box-shadow: var(--ps-shadow-xs);
}
.podcast-studio .ps-feature-card h3 { font-size: 16.5px; margin: 12px 0 6px; }
.podcast-studio .ps-feature-card p { font-size: 14px; color: var(--ps-text-secondary); margin: 0; }

.podcast-studio .ps-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.podcast-studio .ps-step-num {
    width: 36px; height: 36px; border-radius: 50%; background: var(--ps-brand-gradient);
    color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}
.podcast-studio .ps-step h3 { font-size: 17px; margin-bottom: 6px; }
.podcast-studio .ps-step p { color: var(--ps-text-secondary); font-size: 14.5px; }

.podcast-studio .ps-usecase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.podcast-studio .ps-usecase {
    background: var(--ps-surface); border: 1px solid var(--ps-border); border-radius: 14px; padding: 18px;
}
.podcast-studio .ps-usecase h4 { font-size: 15px; margin: 0 0 6px; color: var(--ps-navy); }
.podcast-studio .ps-usecase p { font-size: 13.5px; color: var(--ps-text-secondary); margin: 0; }

.podcast-studio .ps-compare-wrap { overflow-x: auto; }
.podcast-studio .ps-compare {
    width: 100%; border-collapse: collapse; background: var(--ps-surface); border-radius: 14px; overflow: hidden;
    min-width: 560px;
}
.podcast-studio .ps-compare th, .podcast-studio .ps-compare td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--ps-border-soft); font-size: 14px; }
.podcast-studio .ps-compare th { background: var(--ps-page); color: var(--ps-navy); font-weight: 700; }
.podcast-studio .ps-compare td.ps-yes { color: #157a4d; font-weight: 700; }
.podcast-studio .ps-compare td.ps-no { color: var(--ps-text-muted); }

.podcast-studio .ps-limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .ps-limits-grid { grid-template-columns: 1fr; } }
.podcast-studio .ps-limits-card { background: var(--ps-surface); border: 1px solid var(--ps-border); border-radius: 16px; padding: 22px; }
.podcast-studio .ps-limits-card h3 { font-size: 16px; margin-bottom: 12px; }
.podcast-studio .ps-limits-card ul { margin: 0; padding-left: 20px; color: var(--ps-text-secondary); font-size: 14px; }
.podcast-studio .ps-limits-card li { margin-bottom: 8px; }

.podcast-studio .ps-faq-grid { display: grid; gap: 12px; }
.podcast-studio .ps-faq-item {
    background: var(--ps-surface); border: 1px solid var(--ps-border); border-radius: 14px; padding: 4px 18px;
}
.podcast-studio .ps-faq-item summary { padding: 14px 0; font-weight: 700; color: var(--ps-navy); cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.podcast-studio .ps-faq-item p { color: var(--ps-text-secondary); margin: 0 0 16px; font-size: 14.5px; }

.podcast-studio .ps-final-cta {
    background: var(--ps-brand-gradient); border-radius: var(--ps-r-xl); padding: 48px 32px; text-align: center; color: #fff;
}
.podcast-studio .ps-final-cta h2 { color: #fff; }
.podcast-studio .ps-final-cta p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 20px; }
.podcast-studio .ps-final-cta .ps-btn-primary { background: #fff; color: var(--ps-navy); }

.podcast-studio .ps-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.podcast-studio .ps-related-card {
    display: block; background: var(--ps-surface); border: 1px solid var(--ps-border); border-radius: 14px;
    padding: 16px; text-decoration: none; transition: transform 140ms ease, border-color 140ms ease;
}
.podcast-studio .ps-related-card:hover { transform: translateY(-2px); border-color: var(--ps-violet); }
.podcast-studio .ps-related-card h4 { font-size: 14.5px; color: var(--ps-navy); margin: 8px 0 4px; }
.podcast-studio .ps-related-card p { font-size: 12.5px; color: var(--ps-text-muted); margin: 0; }

/* ---------------------------------------------------------------
   Reel preview mockup (podcast-to-reels.cshtml)

   A static illustration, not a working editor - it exists so a visitor
   can see what a rendered Reel will look like (captions, active-word
   highlight, waveform, safe zone) before that renderer exists.
   --------------------------------------------------------------- */
.podcast-studio .ps-reel-wrap { display: flex; justify-content: center; }
.podcast-studio .ps-reel-canvas {
    width: 100%; max-width: 300px; aspect-ratio: 9 / 16;
    background: linear-gradient(165deg, #10162b 0%, #241a4d 100%);
    border-radius: 22px; position: relative; overflow: hidden;
    box-shadow: var(--ps-shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.podcast-studio .ps-reel-safezone {
    position: absolute; inset: 10% 6%; border: 1px dashed rgba(255,255,255,.25); border-radius: 12px;
}
.podcast-studio .ps-reel-cover {
    position: absolute; inset: 0; opacity: .35;
    background: radial-gradient(circle at 50% 35%, rgba(123,91,240,.55), transparent 60%);
}
.podcast-studio .ps-reel-logo {
    position: absolute; top: 16px; left: 16px; color: #fff; font-weight: 800; font-size: 13px;
    letter-spacing: .04em; opacity: .85;
}
.podcast-studio .ps-reel-speaker {
    position: absolute; top: 16px; right: 16px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700;
}
.podcast-studio .ps-reel-caption {
    position: absolute; left: 8%; right: 8%; bottom: 22%;
    background: rgba(7,20,47,.55); border-radius: 10px; padding: 10px 12px;
    color: #fff; font-weight: 700; font-size: 15px; text-align: center; line-height: 1.35;
}
.podcast-studio .ps-reel-caption mark {
    background: var(--ps-coral); color: #fff; border-radius: 4px; padding: 0 3px;
}
.podcast-studio .ps-reel-progress { position: absolute; left: 8%; right: 8%; bottom: 15%; height: 3px; background: rgba(255,255,255,.25); border-radius: 999px; }
.podcast-studio .ps-reel-progress::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 42%; background: var(--ps-brand-gradient); border-radius: 999px; }
.podcast-studio .ps-reel-waveform {
    position: absolute; left: 8%; right: 8%; bottom: 8%; height: 24px;
    display: flex; align-items: flex-end; gap: 2px;
}
.podcast-studio .ps-reel-waveform span {
    flex: 1; background: rgba(255,255,255,.5); border-radius: 2px; min-height: 3px;
}
.podcast-studio .ps-reel-aspect-note { text-align: center; font-size: 12.5px; color: var(--ps-text-muted); margin-top: 12px; }

/* ---------------------------------------------------------------
   Highlight timeline mockup (audio-highlight-extractor.cshtml)
   --------------------------------------------------------------- */
.podcast-studio .ps-timeline {
    position: relative; height: 64px; border-radius: 12px; background: var(--ps-page);
    border: 1px solid var(--ps-border); overflow: hidden;
}
.podcast-studio .ps-timeline-track { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 4px; }
.podcast-studio .ps-timeline-track::before {
    content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px;
    background: var(--ps-border-strong, #d7d9e1); transform: translateY(-50%);
}
.podcast-studio .ps-timeline-region {
    position: relative; height: 28px; border-radius: 8px; margin-right: 2px;
}
.podcast-studio .ps-timeline-region--coral { background: var(--ps-coral); }
.podcast-studio .ps-timeline-region--blue { background: var(--ps-blue); }
.podcast-studio .ps-timeline-region--violet { background: var(--ps-violet); }
.podcast-studio .ps-timeline-region--amber { background: var(--ps-amber); }
.podcast-studio .ps-timeline-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ps-text-muted); margin-top: 6px; }

/* ---------------------------------------------------------------
   Audiogram preview mockup (podcast-audiogram-maker.cshtml)

   A static illustration, not a working renderer - waveform is the
   primary visual (cover art behind it, captions optional), unlike the
   Reel mockup above where the video frame is primary.
   --------------------------------------------------------------- */
.podcast-studio .ps-audiogram-wrap { display: flex; justify-content: center; }
.podcast-studio .ps-audiogram-canvas {
    width: 100%; max-width: 380px; aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, #1a2140 0%, #2c1f52 100%);
    border-radius: 18px; position: relative; overflow: hidden;
    box-shadow: var(--ps-shadow-lg); border: 1px solid rgba(255,255,255,.08);
}
.podcast-studio .ps-audiogram-cover { position: absolute; inset: 0; opacity: .3; background: radial-gradient(circle at 50% 30%, rgba(79,120,255,.6), transparent 60%); }
.podcast-studio .ps-audiogram-meta { position: absolute; top: 18px; left: 18px; right: 18px; color: #fff; }
.podcast-studio .ps-audiogram-meta .title { font-weight: 800; font-size: 15px; }
.podcast-studio .ps-audiogram-meta .speaker { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 2px; }
.podcast-studio .ps-audiogram-waveform-big {
    position: absolute; left: 10%; right: 10%; top: 50%; transform: translateY(-50%);
    height: 90px; display: flex; align-items: center; gap: 3px;
}
.podcast-studio .ps-audiogram-waveform-big span { flex: 1; background: var(--ps-brand-gradient); border-radius: 3px; min-height: 6px; }
.podcast-studio .ps-audiogram-caption {
    position: absolute; left: 10%; right: 10%; bottom: 20%;
    color: #fff; font-weight: 700; font-size: 14px; text-align: center;
}
.podcast-studio .ps-audiogram-progress { position: absolute; left: 10%; right: 10%; bottom: 14%; height: 3px; background: rgba(255,255,255,.25); border-radius: 999px; }
.podcast-studio .ps-audiogram-progress::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34%; background: var(--ps-brand-gradient); border-radius: 999px; }
.podcast-studio .ps-audiogram-note { text-align: center; font-size: 12.5px; color: var(--ps-text-muted); margin-top: 12px; }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 768px) {
    .podcast-studio .ps-workbench { padding: 20px; border-radius: 18px; }
    .podcast-studio .ps-shell { padding: 0 16px; }
    .podcast-studio .ps-options-grid { grid-template-columns: 1fr; }
    .podcast-studio .ps-cta-row .ps-btn-primary { width: 100%; justify-content: center; }
}
