:root {
    --bg: #f5f9ff;
    --surface: #ffffff;
    --surface-alt: #eef6f6;
    --line: #d7e4ef;
    --text: #183153;
    --muted: #667085;
    --primary: #1565c0;
    --primary-soft: #e3eefc;
    --green: #43a047;
    --green-soft: #e9f6ea;
    --orange: #d97706;
    --shadow: 0 20px 54px rgba(21, 101, 192, 0.08);
    --radius: 22px;
}

body {
    font-family: 'Manrope', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(21, 101, 192, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(67, 160, 71, 0.14), transparent 24%),
        linear-gradient(180deg, #fbfdff 0%, #f1f7fb 52%, #eef7f0 100%);
    color: var(--text);
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.btn.is-loading,
.btn:disabled.is-loading {
    opacity: .9;
    cursor: wait;
}

.btn-loading-spinner {
    width: 1rem;
    height: 1rem;
    display: inline-block;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: btn-loading-spin .7s linear infinite;
}

.btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
}

.password-strength {
    margin-top: .75rem;
    padding: .85rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(21, 101, 192, 0.14);
    background: rgba(255, 255, 255, 0.76);
}

.password-strength-meter {
    --password-strength-value: 0;
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #d7e4ef;
    overflow: hidden;
}

.password-strength-meter::after {
    content: '';
    position: absolute;
    inset: 0;
    width: calc((var(--password-strength-value) / 5) * 100%);
    border-radius: inherit;
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 45%, #43a047 100%);
    transition: width .2s ease;
}

.password-strength-label {
    margin-top: .65rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
}

.password-strength-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem .85rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
}

.password-strength-item,
.password-match-status {
    color: var(--muted);
    font-size: .84rem;
}

.password-strength-item::before,
.password-match-status::before {
    content: '\25CF';
    display: inline-block;
    margin-right: .45rem;
    color: #b7c8d6;
}

.password-strength-item[data-password-check-state='ok'],
.password-match-status[data-password-match-state='ok'] {
    color: var(--green);
}

.password-strength-item[data-password-check-state='ok']::before,
.password-match-status[data-password-match-state='ok']::before {
    color: var(--green);
}

.password-match-status[data-password-match-state='error'] {
    color: #c62828;
}

.password-match-status[data-password-match-state='error']::before {
    color: #c62828;
}

@keyframes btn-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

.app-shell {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.82);
    border-right: 1px solid rgba(21, 101, 192, 0.1);
    backdrop-filter: blur(16px);
    z-index: 1030;
    transition: width .22s ease, padding .22s ease, transform .22s ease;
}

.sidebar-topbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.sidebar-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: center;
}

.sidebar-brand-copy {
    min-width: 0;
    text-align: center;
}

.sidebar-podcast-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(21, 101, 192, 0.12);
    box-shadow: 0 14px 28px rgba(21, 101, 192, 0.08);
    text-align: center;
}

.sidebar-logo,
.sidebar-mark {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.sidebar-logo {
    display: block;
    object-fit: contain;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.sidebar-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--green));
    color: #fff;
    font-weight: 800;
}

.sidebar-podcast-logo {
    width: 92px;
    height: 92px;
    display: block;
    object-fit: contain;
    border-radius: 0;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.sidebar-podcast-name {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    word-break: break-word;
}

.sidebar-brand-name {
    line-height: 1.2;
    font-size: 2.1rem;
}

.brand-wordmark {
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

.brand-wordmark-lg {
    font-size: clamp(2.1rem, 3vw, 3.25rem);
}

.brand-wordmark-pod {
    color: #183153;
}

.brand-wordmark-gestor {
    color: var(--green);
}

.brand-tagline {
    margin-top: 6px;
    color: var(--muted);
    font-size: .92rem;
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.brand-lockup-mark {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(21, 101, 192, 0.16));
}

.brand-lockup-mark-register {
    width: 132px;
    height: 132px;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 14px;
    color: var(--text);
    padding: 12px 14px;
    font-weight: 600;
    transition: background-color .18s ease, color .18s ease, padding .18s ease;
}

.sidebar-section-title {
    padding: 6px 10px 2px;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    background: linear-gradient(135deg, var(--primary), #1f78ce);
    color: #fff;
}

.sidebar-nav-icon {
    width: 18px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-nav-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-toggle {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.sidebar-collapse-hint {
    display: none;
    padding: 8px 4px 0;
    text-align: center;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-main {
    margin-left: 270px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-left .22s ease;
}

.app-content {
    flex: 1 1 auto;
    min-width: 0;
}

.app-footer {
    margin-top: auto;
}

.app-footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-top: 1px solid rgba(21, 101, 192, 0.08);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
}

.sidebar-collapsed .sidebar {
    width: 152px;
    padding: 24px 14px;
}

.sidebar-collapsed .app-main {
    margin-left: 152px;
}

.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    align-items: center;
}

.sidebar-collapsed .sidebar-brand-copy,
.sidebar-collapsed .sidebar-podcast-name,
.sidebar-collapsed .sidebar-nav-label,
.sidebar-collapsed .sidebar-section-title {
    display: none;
}

.sidebar-collapsed .sidebar .nav-link {
    justify-content: center;
    padding-inline: 10px;
}

.sidebar-collapsed .sidebar-topbar {
    flex-direction: column;
    align-items: center;
}

.sidebar-collapsed .sidebar-collapse-hint {
    display: block;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
    z-index: 1025;
}

html.sidebar-mobile-open,
html.sidebar-mobile-open body {
    overflow: hidden;
}

.topbar {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(21, 101, 192, 0.08);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.topbar-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.topbar-shell .min-w-0 {
    min-width: 0;
}

.topbar-heading {
    min-width: 0;
}

.topbar-heading h1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.topbar-logout-form {
    margin: 0;
}

.topbar-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mobile-nav-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0;
}

.panel-card,
.metric-card,
.card.shadow-soft {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(31, 42, 55, 0.06);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.panel-card {
    padding: 24px;
}

.dashboard-section-card-soft {
    background:
        radial-gradient(circle at top right, rgba(21, 101, 192, 0.05), transparent 30%),
        linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.94));
    border-color: rgba(21, 101, 192, 0.08);
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(67, 160, 71, 0.2), transparent 30%),
        radial-gradient(circle at left center, rgba(21, 101, 192, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(239, 247, 241, 0.98));
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: auto -48px -48px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    z-index: 0;
    pointer-events: none;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(21, 101, 192, 0.08);
    color: var(--primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(1.75rem, 2vw + 1rem, 2.7rem);
    line-height: 1.04;
    font-weight: 800;
    margin: 14px 0 10px;
    max-width: 32ch;
}

.hero-description {
    max-width: 62ch;
    color: var(--muted);
    margin-bottom: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hero-stat {
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(21, 101, 192, 0.08);
    backdrop-filter: blur(10px);
}

.hero-stat strong {
    display: block;
    font-size: 1.7rem;
    line-height: 1.1;
    font-weight: 800;
}

.hero-stat span {
    display: block;
    color: var(--muted);
    font-size: .84rem;
    margin-top: 6px;
}

.metric-card {
    padding: 24px;
    overflow: hidden;
    position: relative;
}

.metric-card::after {
    content: '';
    position: absolute;
    inset: auto -20px -30px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(21, 101, 192, 0.06);
}

.metric-label {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.metric-value {
    font-size: 2.4rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 10px 0 6px;
}

.accent-blue { background: linear-gradient(180deg, #edf5ff, #ffffff); }
.accent-green { background: linear-gradient(180deg, #edf8ef, #ffffff); }
.accent-orange { background: linear-gradient(180deg, #fff5ea, #ffffff); }

.pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.status-chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
}

.status-chip[data-status="suggestions"] {
    color: #5b4c2c;
    background: #f9f2df;
    border-color: #f0e2b1;
}

.status-chip[data-status="invited"] {
    color: #0f4c81;
    background: #e6f1fb;
    border-color: #c7ddf6;
}

.status-chip[data-status="accepted"] {
    color: #0d5c63;
    background: #e5f7f8;
    border-color: #bfe9ec;
}

.status-chip[data-status="scheduled"],
.status-chip[data-status="confirmed"] {
    color: #185c4b;
    background: #e9f8f1;
    border-color: #ccebdc;
}

.status-chip[data-status="recorded"] {
    color: #a95b05;
    background: #fff1de;
    border-color: #ffd7a8;
}

.status-chip[data-status="published"] {
    color: #226a2b;
    background: #edf8ef;
    border-color: #cde8d1;
}

.status-chip[data-status="canceled"] {
    color: #9f1f37;
    background: #fde8ee;
    border-color: #f8c9d6;
}

.auth-shell {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.auth-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 12%, rgba(21, 101, 192, .18), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(67, 160, 71, .2), transparent 24%),
        linear-gradient(145deg, #fbfdff 0%, #eef5fb 55%, #eef8ef 100%);
    z-index: -1;
}

.auth-copy {
    max-width: 31rem;
}

.auth-main-shell {
    padding-bottom: 5rem;
}

.auth-register-shell {
    min-height: calc(100vh - 6rem);
    padding-bottom: 4rem;
}

.auth-login-shell {
    width: 100vw;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-top: -3rem;
    margin-bottom: -3rem;
}

.auth-login-card {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    overflow: hidden;
}

.auth-login-media {
    position: relative;
    min-height: 100vh;
    padding: 56px;
    display: flex;
    align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(10, 25, 47, 0.12), rgba(10, 25, 47, 0.54)),
        url('../img/bg-login.webp') center center / cover no-repeat;
    color: #ffffff;
}

.auth-login-media-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(21, 101, 192, 0.22), transparent 36%),
        radial-gradient(circle at top right, rgba(67, 160, 71, 0.2), transparent 30%);
    pointer-events: none;
}

.auth-login-copy {
    position: relative;
    z-index: 1;
    max-width: 30rem;
}

.auth-login-copy .brand-tagline,
.auth-login-copy .lead {
    color: rgba(255, 255, 255, 0.88);
}

.auth-login-copy .pill {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.auth-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.auth-login-form-card {
    width: min(440px, 100%);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
}

.auth-separator {
    position: relative;
    margin: 20px 0 18px;
    text-align: center;
}

.auth-separator::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(24, 49, 83, 0.12);
}

.auth-separator span {
    position: relative;
    display: inline-block;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--muted);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.auth-google-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 16px;
    font-weight: 700;
    color: var(--text);
    background: rgba(255, 255, 255, 0.92);
}

.auth-google-btn:hover,
.auth-google-btn:focus {
    color: var(--text);
    background: #fff;
    border-color: rgba(21, 101, 192, 0.2);
}

.auth-google-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #fbbc05, #ea4335 48%, #4285f4 78%, #34a853);
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    flex-shrink: 0;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(21, 101, 192, 0.38);
    box-shadow: 0 0 0 .25rem rgba(21, 101, 192, 0.14);
}

.btn-dark {
    border-color: transparent;
    background: linear-gradient(135deg, var(--primary), #1a73d2);
}

.btn-dark:hover,
.btn-dark:focus {
    border-color: transparent;
    background: linear-gradient(135deg, #1258a7, #1767bc);
}

.btn-outline-dark {
    border-color: rgba(21, 101, 192, 0.18);
    color: var(--primary);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.kanban-board {
    display: grid;
    grid-template-columns: repeat(var(--kanban-columns, 4), minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 6px;
}

.kanban-column {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(31, 42, 55, 0.08);
    border-radius: 24px;
    padding: 16px;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.kanban-column::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(21, 101, 192, 0.25), rgba(21, 101, 192, 0.05));
}

.kanban-column[data-status="suggestions"]::before {
    background: linear-gradient(90deg, #c9a54a, rgba(201, 165, 74, 0.12));
}

.kanban-column[data-status="invited"]::before {
    background: linear-gradient(90deg, #2a6db3, rgba(42, 109, 179, 0.12));
}

.kanban-column[data-status="accepted"]::before {
    background: linear-gradient(90deg, #0d8a94, rgba(13, 138, 148, 0.12));
}

.kanban-column[data-status="scheduled"]::before {
    background: linear-gradient(90deg, #43a047, rgba(67, 160, 71, 0.12));
}

.kanban-column[data-status="recorded"]::before {
    background: linear-gradient(90deg, #d97706, rgba(217, 119, 6, 0.12));
}

.kanban-column[data-status="published"]::before {
    background: linear-gradient(90deg, #43a047, rgba(67, 160, 71, 0.12));
}

.kanban-column-header {
    margin-bottom: 14px;
}

.kanban-column-title {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.kanban-column-subtitle {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.4;
}

.kanban-column-count {
    min-width: 44px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(21, 101, 192, 0.08);
    color: var(--primary);
    font-weight: 800;
    font-size: .9rem;
}

.kanban-dropzone {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kanban-dropzone.drag-over {
    outline: 2px dashed var(--primary);
    outline-offset: 4px;
    border-radius: 20px;
}

.kanban-card {
    border: 1px solid rgba(31, 42, 55, 0.08);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 42, 55, 0.08);
    cursor: grab;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kanban-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 101, 192, 0.18);
    box-shadow: 0 14px 28px rgba(31, 42, 55, 0.12);
}

.kanban-card-empty {
    padding: 18px;
    border: 1px dashed rgba(21, 101, 192, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.45);
    color: var(--muted);
    text-align: center;
    font-size: .92rem;
}

.kanban-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.kanban-card-link {
    font-size: .82rem;
    font-weight: 700;
}

.progress-thin {
    height: 8px;
    border-radius: 999px;
    background: #dfeaf4;
}

.progress-thin .progress-bar {
    background: linear-gradient(90deg, var(--primary), var(--green));
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.timeline-item {
    padding-left: 18px;
    border-left: 3px solid var(--primary-soft);
}

.guest-episode-summary-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(21, 101, 192, 0.08);
    background: linear-gradient(180deg, rgba(243, 248, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.guest-photo-preview img {
    max-height: 280px;
    object-fit: cover;
}

.guest-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 170px;
    padding: 20px;
    border-radius: 20px;
    border: 1px dashed rgba(19, 49, 92, 0.24);
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.92), rgba(255, 255, 255, 0.98));
    text-align: center;
    cursor: pointer;
    transition: border-color .18s ease, transform .18s ease, background-color .18s ease;
}

.guest-upload-zone:hover,
.guest-upload-zone.is-dragover {
    border-color: rgba(19, 49, 92, 0.5);
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(235, 243, 252, 0.98), rgba(255, 255, 255, 0.98));
}

.guest-upload-zone-sm {
    min-height: 128px;
    padding: 16px;
    border-radius: 18px;
}

.guest-upload-zone-sm .guest-upload-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 1.2rem;
}

.guest-upload-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(19, 49, 92, 0.08);
    color: var(--primary);
    font-size: 1.4rem;
}

.guest-cropper-shell {
    min-height: 420px;
    border-radius: 22px;
    overflow: hidden;
    background: #0f172a;
}

.guest-cropper-shell img {
    display: block;
    max-width: 100%;
}

.podcast-logo-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(19, 49, 92, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.92));
}

.podcast-logo-panel .form-label,
.podcast-logo-panel .form-text,
.podcast-logo-panel .guest-upload-zone {
    width: 100%;
}

.podcast-logo-preview {
    width: min(220px, 100%);
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 14px 28px rgba(31, 42, 55, 0.12);
}

.host-card-grid {
    display: grid;
    gap: 18px;
}

.host-profile-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(19, 49, 92, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.92));
}

.host-profile-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 24px rgba(31, 42, 55, 0.12);
}

.host-profile-body {
    min-width: 0;
}

.episode-guest-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(31, 42, 55, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #faf8f2, #ffffff);
}

.episode-art-panel {
    overflow: hidden;
}

.episode-art-preview-shell {
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(248, 246, 241, 0.92), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(19, 49, 92, 0.08);
}

.episode-art-preview {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.guest-table-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    z-index: 2;
}

.data-table-card table thead th {
    background: transparent;
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom-width: 1px;
}

.data-table-card table tbody tr {
    transition: background-color .16s ease;
}

.data-table-card table tbody tr:hover {
    background: rgba(19, 49, 92, 0.02);
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.table-avatar {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 18px rgba(31, 42, 55, 0.12);
}

.guest-view-toggle .btn {
    min-width: 92px;
}

.guest-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.guest-card-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    min-height: 100%;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(19, 49, 92, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.92));
    box-shadow: 0 14px 32px rgba(31, 42, 55, 0.08);
}

.guest-card-media {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, rgba(19, 49, 92, 0.1), rgba(31, 122, 92, 0.08));
}

.guest-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.guest-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), transparent 34%);
}

.guest-card-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guest-card-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
}

.guest-card-description {
    margin: 0;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.6;
    min-height: 3rem;
}

.guest-card-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.guest-card-detail {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(19, 49, 92, 0.04);
    border: 1px solid rgba(19, 49, 92, 0.06);
}

.guest-card-detail span {
    display: block;
    color: var(--muted);
    font-size: .77rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}

.guest-card-detail strong {
    display: block;
    font-size: .96rem;
    line-height: 1.3;
}

.guest-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.guest-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.guest-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.guest-social-link,
.btn-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.guest-social-link {
    border: 1px solid rgba(19, 49, 92, 0.1);
    background: rgba(19, 49, 92, 0.04);
    color: var(--primary);
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.guest-social-link:hover {
    transform: translateY(-1px);
    background: rgba(19, 49, 92, 0.08);
    border-color: rgba(19, 49, 92, 0.18);
}

.btn-icon {
    padding: 0;
}

.spotlight-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.96), rgba(67, 160, 71, 0.9));
    color: #fff;
    box-shadow: 0 18px 48px rgba(21, 101, 192, 0.2);
}

.spotlight-card .muted-light {
    color: rgba(255, 255, 255, 0.72);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.spotlight-chip {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.spotlight-chip strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
}

.soft-list-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(31, 42, 55, 0.08);
}

.soft-list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dashboard-hero-card .btn-lg {
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.dashboard-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .95fr);
    gap: 24px;
    align-items: stretch;
}

.dashboard-hero-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
}

.dashboard-setup-alert {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(21, 101, 192, 0.12);
}

.dashboard-setup-alert strong,
.dashboard-setup-alert span {
    display: block;
}

.dashboard-setup-alert span {
    margin-top: 4px;
    color: var(--muted);
    font-size: .92rem;
}

.dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-hero-stats {
    margin-top: 4px;
}

.dashboard-hero-spotlight {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.dashboard-hero-spotlight-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 247, 252, 0.98));
    border: 1px solid rgba(19, 49, 92, 0.08);
    box-shadow: 0 18px 40px rgba(31, 42, 55, 0.08);
}

.dashboard-hero-spotlight-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.dashboard-hero-carousel {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0 42px;
}

.dashboard-hero-carousel .carousel-inner {
    flex: 1 1 auto;
}

.dashboard-hero-carousel .carousel-item {
    height: 100%;
}

.dashboard-hero-episode {
    display: grid;
    grid-template-columns: 144px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    height: 100%;
}

.dashboard-hero-episode-photo {
    width: 144px;
    height: 144px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(31, 42, 55, 0.16);
}

.dashboard-hero-episode-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.dashboard-hero-episode-caption {
    min-height: 2rem;
    line-height: 1.5;
}

.dashboard-hero-social-links {
    margin-top: 0;
    margin-bottom: 1rem;
}

.dashboard-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: .96rem;
}

.dashboard-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(21, 101, 192, 0.05);
    border: 1px solid rgba(21, 101, 192, 0.08);
}

.dashboard-hero-meta strong {
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 800;
    color: var(--text);
}

.dashboard-hero-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.dashboard-hero-carousel-control {
    width: 34px;
    opacity: 1;
}

.dashboard-hero-carousel-control.carousel-control-prev {
    left: -6px;
}

.dashboard-hero-carousel-control.carousel-control-next {
    right: -6px;
}

.dashboard-hero-carousel-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(21, 101, 192, 0.1);
    color: var(--primary);
    border: 1px solid rgba(21, 101, 192, 0.12);
    box-shadow: 0 10px 20px rgba(21, 101, 192, 0.1);
}

.dashboard-hero-empty {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.dashboard-hero-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: rgba(19, 49, 92, 0.08);
    color: var(--primary);
    font-size: 1.4rem;
}

.dashboard-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dashboard-guest-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-person-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(19, 49, 92, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.92));
    box-shadow: 0 14px 30px rgba(31, 42, 55, 0.08);
}

.dashboard-person-photo {
    width: 100%;
    height: 220px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(31, 42, 55, 0.12);
}

.dashboard-person-body {
    min-width: 0;
}

.dashboard-person-body .h6,
.dashboard-person-body .h5 {
    line-height: 1.3;
}

.dashboard-episode-card .status-chip {
    white-space: nowrap;
}

.dashboard-episode-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: .88rem;
}

.dashboard-episode-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.episode-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.episode-card-item {
    min-width: 0;
}

.episode-card-description {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.6;
    min-height: 4.5rem;
}

.episode-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.clip-form-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clip-form-row {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(19, 49, 92, 0.1);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.clip-processing-note {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(21, 101, 192, 0.12);
    background: rgba(227, 238, 252, 0.7);
    color: var(--text);
    font-size: 0.95rem;
}

.clip-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(140px, 1fr));
    gap: 14px;
}

.clip-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.clip-card-item {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(19, 49, 92, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.92));
    box-shadow: 0 14px 30px rgba(31, 42, 55, 0.08);
}

.clip-card-item[data-status="processing"] {
    border-color: rgba(217, 119, 6, 0.28);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.12);
    animation: clip-card-processing-glow 1.8s ease-in-out infinite;
}

.clip-card-item[data-status="done"] {
    border-color: rgba(67, 160, 71, 0.24);
}

.clip-card-item[data-status="failed"] {
    border-color: rgba(220, 53, 69, 0.24);
}

.clip-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: var(--muted);
    font-size: .9rem;
}

.clip-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(21, 101, 192, 0.05);
    border: 1px solid rgba(21, 101, 192, 0.08);
}

.clip-episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.clip-episode-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
}

.clip-episode-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    font-size: .95rem;
}

.clip-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.clip-stat-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.clip-stat-card {
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(21, 101, 192, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(227, 238, 252, 0.52));
}

.clip-stat-value {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.clip-stat-label {
    margin-top: 8px;
    color: var(--muted);
    font-size: .88rem;
}

.clip-workspace-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.clip-workspace-link {
    word-break: break-word;
}

.clip-inline-error {
    padding: 14px 16px;
    border-radius: 16px;
    color: #9f1f37;
    border: 1px solid rgba(220, 53, 69, 0.2);
    background: rgba(253, 232, 238, 0.9);
}

.clip-preview-video,
.clip-preview-placeholder,
.clip-preview-error {
    width: 100%;
    border-radius: 18px;
}

.clip-preview-video {
    display: block;
    max-height: 420px;
    background: #000;
}

.clip-preview-placeholder,
.clip-preview-error {
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(19, 49, 92, 0.16);
    background: rgba(248, 251, 255, 0.88);
}

.clip-preview-error {
    color: #9f1f37;
    border-style: solid;
    border-color: rgba(220, 53, 69, 0.2);
    background: rgba(253, 232, 238, 0.9);
}

.clip-status-chip[data-status="pending"] {
    color: #0f4c81;
    background: #e6f1fb;
    border-color: #c7ddf6;
}

.clip-status-chip[data-status="processing"] {
    color: #8a5400;
    background: #fff2dc;
    border-color: #ffd39b;
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.28);
    animation: clip-status-pulse 1.4s ease-out infinite;
}

.clip-status-chip[data-status="done"] {
    color: #1c6b2f;
    background: #eaf8ee;
    border-color: #c4e7cd;
}

.clip-status-chip[data-status="failed"] {
    color: #9f1f37;
    background: #fde8ee;
    border-color: #f8c9d6;
}

.clip-status-loader {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    flex: 0 0 12px;
    animation: clip-status-spin 0.8s linear infinite;
}

.clip-status-chip[data-status="processing"]::before {
    display: none;
}

@keyframes clip-status-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes clip-status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.28);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(217, 119, 6, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
    }
}

@keyframes clip-card-processing-glow {
    0%,
    100% {
        box-shadow: 0 14px 30px rgba(217, 119, 6, 0.10);
    }

    50% {
        box-shadow: 0 18px 36px rgba(217, 119, 6, 0.18);
    }
}

#calendar {
    min-height: 760px;
}

.calendar-shell {
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.92));
    border: 1px solid rgba(19, 49, 92, 0.08);
    padding: 18px;
}

.calendar-toolbar-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(19, 49, 92, 0.06);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
}

.fc .fc-toolbar-title {
    font-size: 1.2rem;
    font-weight: 800;
}

.fc .fc-button {
    border-radius: 12px;
    border: 0;
    box-shadow: none !important;
}

.fc .fc-button-primary {
    background: var(--primary);
}

.fc .fc-button-primary:hover,
.fc .fc-button-primary:focus {
    background: #0f58a9;
}

.fc .fc-daygrid-day.fc-day-today,
.fc .fc-timegrid-col.fc-day-today {
    background: rgba(67, 160, 71, 0.08) !important;
}

.fc-theme-standard td,
.fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
    border-color: rgba(21, 101, 192, 0.08);
}

.fc .fc-list-event:hover td {
    background: rgba(21, 101, 192, 0.04);
}

.fc-event-card {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 2px 0;
    cursor: grab;
}

.fc-event-card img {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.82);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.fc-event-card-text {
    min-width: 0;
    flex: 1 1 auto;
    padding: 6px 9px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.fc-event-card-title,
.fc-event-card-meta {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fc-event-card-title {
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

.fc-event-card-meta {
    margin-top: 1px;
    font-size: .74rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.15;
}

.fc .fc-daygrid-event,
.fc .fc-timegrid-event {
    border: 0;
    border-radius: 16px;
    padding: 6px 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), #3e85d5);
    box-shadow: 0 12px 22px rgba(21, 101, 192, 0.24);
}

.fc .fc-daygrid-event.fc-event-upcoming,
.fc .fc-timegrid-event.fc-event-upcoming {
    background: linear-gradient(135deg, var(--primary), #3e85d5);
    box-shadow: 0 12px 22px rgba(21, 101, 192, 0.24);
}

.fc .fc-daygrid-event.fc-event-past,
.fc .fc-timegrid-event.fc-event-past {
    background: linear-gradient(135deg, #43a047, #66bb6a);
    box-shadow: 0 12px 22px rgba(67, 160, 71, 0.28);
}

.fc .fc-event-dragging .fc-event-card,
.fc .fc-event:active .fc-event-card {
    cursor: grabbing;
}

.fc .fc-event-title,
.fc .fc-event-time {
    font-weight: 700;
}

.fc .fc-daygrid-event-harness {
    margin-top: 4px;
}

.fc .fc-daygrid-event {
    min-height: 60px;
}

.fc .fc-daygrid-dot-event .fc-event-title {
    font-weight: 700;
}

.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-summary {
    color: var(--muted);
    font-size: .92rem;
}

.admin-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.admin-card-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.admin-card-metrics > div {
    padding: 14px;
    border-radius: 18px;
    background: rgba(21, 101, 192, 0.05);
    border: 1px solid rgba(21, 101, 192, 0.08);
}

.admin-card-metrics strong,
.admin-inline-date {
    display: block;
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 800;
}

.admin-card-metrics span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .82rem;
}

.admin-entity-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--muted);
    font-size: .9rem;
}

.admin-list-stack {
    display: flex;
    flex-direction: column;
}

.admin-badge-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.admin-detail-hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-detail-cover {
    width: 132px;
    height: 132px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 14px 28px rgba(31, 42, 55, 0.16);
}

.sponsor-card-grid,
.sponsor-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.sponsor-banner-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 220px));
    justify-content: flex-start;
    gap: 16px;
}

.sponsor-card-list {
    grid-template-columns: 1fr;
}

.sponsor-card,
.sponsor-banner-card,
.display-item-row,
.sponsor-display-url,
.sponsor-display-list-item {
    border-radius: 20px;
    border: 1px solid rgba(21, 101, 192, 0.1);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.sponsor-card,
.sponsor-banner-card {
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.sponsor-banner-card {
    padding: 14px;
}

.sponsor-banner-image,
.sponsor-banner-video {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 18px;
    background: rgba(21, 101, 192, 0.06);
}

.sponsor-banner-preview-image,
.sponsor-banner-preview-video {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    background: rgba(21, 101, 192, 0.06);
}

.display-item-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.display-item-row {
    padding: 16px;
}

.sponsor-display-path,
.sponsor-display-url {
    word-break: break-word;
}

.sponsor-display-list-item {
    padding: 18px 20px;
    margin-top: 8px;
}

.sponsor-display-copy-block {
    min-width: 0;
    flex: 1 1 340px;
}

.sponsor-display-copy-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(21, 101, 192, 0.1);
    background: rgba(255, 255, 255, 0.74);
}

.sponsor-display-copy-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 14px;
    flex: 0 0 42px;
}

.sponsor-display-link {
    min-width: 0;
    flex: 1 1 auto;
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .85rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.sponsor-display-link:hover,
.sponsor-display-link:focus {
    color: var(--primary);
}

.sponsor-display-url {
    padding: 16px 18px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text);
}

.sponsor-preview-stage {
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(21, 101, 192, 0.18), rgba(67, 160, 71, 0.16)),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.22) 0,
            rgba(255, 255, 255, 0.22) 16px,
            rgba(255, 255, 255, 0.1) 16px,
            rgba(255, 255, 255, 0.1) 32px
        );
}

.sponsor-player-body {
    margin: 0;
    min-height: 100vh;
    background: transparent;
}

.sponsor-player-page,
.sponsor-player-shell,
.sponsor-player-stage {
    width: 100%;
    height: 100%;
}

.sponsor-player-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.sponsor-player-page .sponsor-player-stage {
    width: min(100vw, 100vh);
    height: min(100vw, 100vh);
}

.sponsor-preview-stage .sponsor-player-stage {
    aspect-ratio: 1 / 1;
}

.sponsor-player-stage {
    position: relative;
    overflow: hidden;
    border-radius: inherit;
}

.sponsor-player-slide,
.sponsor-player-empty {
    position: absolute;
    inset: 0;
}

.sponsor-player-slide {
    opacity: 0;
    transition: opacity .65s ease;
}

.sponsor-player-slide.is-active {
    opacity: 1;
}

.sponsor-player-slide img,
.sponsor-player-slide video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.sponsor-player-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    color: rgba(24, 49, 83, 0.82);
    font-weight: 700;
}

@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(86vw, 320px);
        height: 100vh;
        flex-direction: column;
        border-right: 1px solid rgba(19, 49, 92, 0.08);
        border-bottom: 0;
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
        transform: translateX(-100%);
        overflow-y: auto;
    }

    .app-main {
        margin-left: 0;
    }

    .sidebar-mobile-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-mobile-open .sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar .nav {
        overflow-y: auto;
        padding-right: 4px;
    }

    .app-footer-shell {
        flex-direction: column;
        align-items: flex-start;
    }

    .sidebar-collapsed .sidebar {
        width: min(86vw, 320px);
        padding: 28px 20px;
    }

    .sidebar-collapsed .sidebar-brand-copy,
    .sidebar-collapsed .sidebar-podcast-name,
    .sidebar-collapsed .sidebar-nav-label {
        display: block;
    }

    .sidebar-collapsed .sidebar .nav-link {
        justify-content: flex-start;
        padding-inline: 14px;
    }

    .sidebar-collapsed .sidebar-topbar {
        flex-direction: column;
        align-items: center;
    }

    .sidebar-collapsed .sidebar-collapse-hint {
        display: none;
    }

    .topbar-shell,
    .filter-toolbar {
        align-items: flex-start;
    }

    .filter-toolbar {
        flex-direction: column;
    }

    .filter-toolbar > div:last-child,
    .filter-toolbar > .btn,
    .filter-toolbar > .d-flex {
        width: 100%;
    }

    .filter-toolbar > .d-flex {
        flex-wrap: wrap;
    }

    .filter-toolbar .btn {
        justify-content: center;
    }

    .kanban-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guest-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .guest-card-details {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-layout {
        grid-template-columns: 1fr;
    }

    .host-profile-card {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .podcast-logo-preview {
        width: min(180px, 100%);
    }

    .hero-stats,
    .spotlight-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-feature-list {
        grid-template-columns: 1fr;
    }

    .dashboard-guest-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .episode-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clip-form-grid,
    .clip-card-grid,
    .clip-stat-grid {
        grid-template-columns: 1fr;
    }

    .clip-episode-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-card-grid,
    .sponsor-banner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .panel-card,
    .metric-card {
        padding: 18px;
    }

    .topbar {
        top: 0;
    }

    .topbar-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .topbar-shell > .d-flex.min-w-0 {
        gap: 10px !important;
    }

    .topbar-heading h1 {
        font-size: 1.05rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .topbar-user-actions {
        width: auto;
        justify-content: flex-end;
        gap: 0;
    }

    .topbar-heading .text-muted.small {
        font-size: .68rem;
        line-height: 1.1;
    }

    .mobile-nav-toggle,
    .topbar-logout-btn {
        width: 40px;
        height: 40px;
        justify-content: center;
        padding: 0;
        border-radius: 12px;
    }

    .topbar-logout-btn span {
        display: none;
    }

    .app-content {
        padding-top: 1rem !important;
        padding-right: 1rem !important;
        padding-bottom: 1rem !important;
        padding-left: 1rem !important;
    }

    .app-footer-shell {
        padding: 16px;
    }

    .hero-title {
        max-width: none;
    }

    .dashboard-hero-actions {
        flex-direction: column;
    }

    .dashboard-hero-spotlight-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-hero-episode {
        grid-template-columns: 1fr;
    }

    .dashboard-hero-episode-photo {
        width: 100%;
        height: 220px;
    }

    .dashboard-hero-meta {
        gap: 14px;
    }

    .dashboard-hero-meta span {
        flex: 1 1 100%;
    }

    .dashboard-hero-carousel {
        padding: 0 24px;
    }

    .dashboard-hero-carousel-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .calendar-shell {
        padding: 12px;
    }

    .fc .fc-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .fc .fc-toolbar-chunk {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-start;
    }

    .fc .fc-button-group {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .fc .fc-toolbar-title {
        font-size: 1rem;
    }

    .fc-event-card-text {
        padding: 6px 8px;
    }

    .kanban-board {
        grid-template-columns: 1fr;
    }

    .kanban-column {
        min-height: auto;
    }

    .guest-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guest-card-item {
        padding: 14px;
    }

    .dashboard-person-photo {
        width: 100%;
        height: 200px;
    }

    .dashboard-guest-list {
        grid-template-columns: 1fr;
    }

    .admin-summary-grid,
    .admin-card-grid,
    .admin-card-metrics {
        grid-template-columns: 1fr;
    }

    .admin-avatar-row {
        align-items: flex-start;
    }

    .admin-detail-cover {
        width: 96px;
        height: 96px;
    }

    .episode-card-grid {
        grid-template-columns: 1fr;
    }

    .clip-form-row {
        padding: 16px;
    }

    .host-profile-card {
        grid-template-columns: 1fr;
    }

    .podcast-logo-preview {
        width: 100%;
    }

    .guest-upload-zone,
    .guest-upload-zone-sm {
        min-height: 120px;
    }

    .episode-guest-preview {
        align-items: flex-start;
    }

    .auth-shell {
        overflow: auto;
    }

    .auth-shell main.container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .auth-copy {
        max-width: none;
        text-align: center;
    }

    .brand-lockup {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .auth-login-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .auth-login-media {
        min-height: 340px;
        padding: 28px 24px;
        align-items: flex-end;
    }

    .auth-login-form-panel {
        padding: 20px;
    }

    .auth-login-form-card {
        width: 100%;
    }

    .modal-dialog.modal-xl {
        max-width: none;
        margin: 0;
    }

    .modal-dialog.modal-xl .modal-content {
        min-height: 100vh;
        border-radius: 0;
    }

    .modal-dialog.modal-xl .modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .modal-dialog.modal-xl .modal-footer .d-flex {
        width: 100%;
    }

    .modal-dialog.modal-xl .modal-footer .d-flex .btn {
        flex: 1 1 0;
    }

    .table-mobile-stack thead {
        display: none;
    }

    .table-mobile-stack,
    .table-mobile-stack tbody,
    .table-mobile-stack tr,
    .table-mobile-stack td {
        display: block;
        width: 100%;
    }

    .table-mobile-stack tbody {
        display: grid;
        gap: 12px;
    }

    .table-mobile-stack tr {
        padding: 14px;
        border: 1px solid rgba(19, 49, 92, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 10px 24px rgba(31, 42, 55, 0.08);
    }

    .table-mobile-stack td {
        border: 0;
        padding: .45rem 0;
        text-align: left !important;
    }

    .table-mobile-stack td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        color: var(--muted);
        font-size: .74rem;
        font-weight: 800;
        letter-spacing: .05em;
        text-transform: uppercase;
    }

    .table-mobile-stack td[data-label="Convidado"],
    .table-mobile-stack td[data-label="Título"] {
        padding-top: 0;
    }

    .table-mobile-stack td[data-label="Ações"]::before,
    .table-mobile-stack td[data-label="Ação"]::before {
        margin-bottom: 10px;
    }

    .table-mobile-stack .guest-table-actions {
        justify-content: flex-start !important;
    }

    .table-mobile-stack .guest-table-actions,
    .table-mobile-stack .guest-table-actions form,
    .table-mobile-stack td .btn {
        width: 100%;
    }

    .table-mobile-stack .guest-table-actions {
        display: grid !important;
        gap: 8px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .sponsor-card-grid,
    .sponsor-banner-grid {
        grid-template-columns: 1fr;
    }

    .sponsor-preview-stage {
        min-height: 260px;
    }

    .sponsor-display-copy-row {
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .guest-card-grid {
        grid-template-columns: 1fr;
    }
}
