@import "https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap";:root{--bg:#0f0f0f;--surface:#1a1a1a;--accent:#e8b84b;--text:#e5e5e5;--text-muted:#888;--border:#2a2a2a;--danger:#e85b4b;font-family:DM Sans,system-ui,sans-serif}*,:before,:after{box-sizing:border-box}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.5}#root{min-height:100vh}.app-layout{min-height:100vh;display:flex}.app-main{flex-direction:column;flex:1;min-width:0;display:flex}.app-content{flex:1;padding:24px}.sidebar{background:var(--surface);border-right:1px solid var(--border);width:200px}.sidebar-nav{flex-direction:column;gap:4px;padding:16px 0;display:flex}.sidebar-link{color:var(--text-muted);justify-content:space-between;align-items:center;gap:8px;padding:10px 20px;text-decoration:none;transition:color .15s,background .15s;display:flex}.sidebar-link:hover{color:var(--text)}.sidebar-link.active{color:var(--accent);background:#e8b84b14}.sidebar-badge{background:var(--accent);color:var(--bg);border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:600;display:inline-flex}.header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.header-title{margin:0;font-size:18px;font-weight:600}.header-logout{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;padding:8px 16px;font-size:14px;transition:color .15s,border-color .15s}.header-logout:hover{color:var(--text);border-color:var(--text-muted)}.page{max-width:1000px}.page-title{margin:0 0 20px;font-size:24px;font-weight:600}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.login-page{justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;width:100%;max-width:360px;padding:40px}.login-logo{color:var(--accent);text-align:center;margin:0 0 24px;font-size:32px;font-weight:700}.login-form{flex-direction:column;gap:16px;display:flex}.login-input{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:8px;padding:12px 16px;font-size:15px}.login-input:focus{border-color:var(--accent);outline:none}.login-button{background:var(--accent);color:var(--bg);cursor:pointer;border:none;border-radius:8px;padding:12px 16px;font-size:15px;font-weight:600;transition:opacity .15s}.login-button:hover{opacity:.9}.login-error{color:var(--danger);margin:0;font-size:14px}.button{cursor:pointer;border-radius:8px;padding:10px 20px;font-size:14px;font-weight:500;transition:opacity .15s}.button:disabled{opacity:.6;cursor:not-allowed}.button.primary{background:var(--accent);color:var(--bg);border:none}.button.primary:hover:not(:disabled){opacity:.9}.button.secondary{color:var(--text-muted);border:1px solid var(--border);background:0 0}.button.secondary:hover{color:var(--text);border-color:var(--text-muted)}.button-link{color:var(--accent);cursor:pointer;background:0 0;border:none;padding:0;font-size:14px}.button-link:hover{text-decoration:underline}.button-link.danger{color:var(--danger)}.form{flex-direction:column;gap:20px;max-width:500px;display:flex}.form-group{flex-direction:column;gap:6px;display:flex}.form-group label{color:var(--text-muted);font-size:13px;font-weight:500}.form-group input,.form-group textarea,.form-group select{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:8px;padding:10px 14px;font-family:inherit;font-size:15px}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--accent);outline:none}.form-select{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:8px;min-width:200px;padding:10px 14px;font-size:14px}.hosts-list{flex-direction:column;gap:12px;display:flex}.hosts-list-item{background:var(--surface);border:1px solid var(--border);border-radius:8px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.hosts-list-info{flex-direction:column;gap:2px;display:flex}.hosts-list-name{font-weight:500}.hosts-list-email{color:var(--text-muted);font-size:13px}.form-section-title{color:var(--text);border-top:1px solid var(--border);margin:8px 0 4px;padding-top:16px;font-size:16px;font-weight:600}.form-actions{gap:12px;display:flex}.table-wrap{border:1px solid var(--border);border-radius:8px;overflow:hidden}.table{border-collapse:collapse;width:100%}.table th,.table td{text-align:left;border-bottom:1px solid var(--border);padding:12px 16px}.table th{background:var(--surface);color:var(--text-muted);font-size:13px;font-weight:600}.table tbody tr:last-child td{border-bottom:none}.table tbody tr:hover{background:#ffffff05}.table-divider{color:var(--border);margin:0 8px}.col-thumbnail{vertical-align:middle;width:80px}.show-thumbnail-img{object-fit:cover;border:1px solid var(--border);border-radius:4px;width:64px;height:48px;display:block}.show-thumbnail-placeholder{color:var(--text-muted)}.dashboard-cards{flex-wrap:wrap;gap:20px;margin-bottom:24px;display:flex}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;min-width:140px;padding:20px}.stat-value{color:var(--accent);font-size:28px;font-weight:700;display:block}.stat-label{color:var(--text-muted);font-size:13px}.dashboard-publish{flex-direction:column;gap:12px;display:flex}.episodes-toolbar{align-items:center;gap:12px;display:flex}.upcoming-section{margin-top:32px}.section-title{margin:0 0 12px;font-size:18px;font-weight:600}.upcoming-list{border:1px solid var(--border);border-radius:8px;margin:0;padding:0;list-style:none}.upcoming-item{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.upcoming-item:last-child{border-bottom:none}.upcoming-main{flex-direction:column;display:flex}.upcoming-title{font-size:14px}.upcoming-show{color:var(--text-muted);font-size:13px}.upcoming-meta{color:var(--text-muted);flex-direction:column;align-items:flex-end;font-size:13px;display:flex}.status-badge{text-transform:uppercase;border-radius:999px;align-items:center;padding:2px 8px;font-size:11px;display:inline-flex}.status-scheduled{color:var(--accent);background:#e8b84b26}.status-live{color:#81c784;background:#4caf5026}.status-archived{color:#9ca3af;background:#6b728033}.toast{border-radius:8px;margin:0;padding:10px 14px;font-size:14px}.toast.success{color:#81c784;background:#4caf5026}.toast.error{color:var(--danger);background:#e85b4b26}.loading,.empty-state,.error{color:var(--text-muted)}.video-url-current{color:var(--text-muted);margin:0 0 8px;font-size:13px}.video-url-current a{color:var(--accent);word-break:break-all}.video-upload-section{margin-bottom:12px}.video-upload-option{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.file-picker-label{cursor:pointer;display:inline-block}.file-picker-button{cursor:pointer;margin:0}.file-picker-input{opacity:0;z-index:-1;width:.1px;height:.1px;position:absolute;overflow:hidden}.video-filename{color:var(--text-muted);font-size:13px}.upload-progress-wrap{background:var(--surface);border:1px solid var(--border);border-radius:8px;width:100%;height:24px;margin-top:8px;position:relative;overflow:hidden}.upload-progress-bar{background:var(--accent);transition:width .2s;position:absolute;top:0;bottom:0;left:0}.upload-progress-text{color:var(--bg);z-index:1;text-shadow:0 0 1px var(--bg);font-size:12px;font-weight:500;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.upload-message{border-radius:6px;margin:8px 0 0;padding:8px 12px;font-size:14px}.upload-message.success{color:#81c784;background:#4caf5026}.upload-message.error{color:var(--danger);background:#e85b4b26}.video-url-manual-label{margin-top:12px;display:block}.helper-text{color:var(--text-muted);margin:6px 0 0;font-size:13px}.thumbnail-preview{margin-top:12px}.thumbnail-preview-label{color:var(--text-muted);margin-bottom:8px;font-size:13px;font-weight:500}.thumbnail-preview-image{object-fit:cover;border:1px solid var(--border);border-radius:8px;width:auto;max-width:200px;height:auto;max-height:120px;display:block}.dimension-helper-text{color:#888;margin:6px 0 0;font-size:13px}.dimension-warning{color:#1b1b1b;background:#e8b84b2e;border-radius:8px;margin:8px 0 0;padding:10px 12px;font-size:13px}.dimension-success{color:#fff;background:#4caf5038;border-radius:8px;margin:8px 0 0;padding:10px 12px;font-size:13px}.va-badge{color:var(--accent);background:#e8b84b14;border:1px solid #e8b84b59;border-radius:999px;margin-left:10px;padding:2px 10px;font-size:12px}.upcoming-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.va-queue-section{margin-bottom:32px}.va-queue-section-title{color:var(--text);margin:0 0 16px;font-size:18px;font-weight:600}.va-queue-cards{flex-direction:column;gap:16px;display:flex}.va-queue-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:20px}.va-queue-card-at-risk{border-color:var(--danger);background:#e85b4b14}.va-queue-card-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.va-queue-show-name{font-size:16px;font-weight:600}.va-queue-status-badge{background:var(--border);color:var(--text-muted);border-radius:999px;padding:4px 10px;font-size:12px}.va-queue-card-body{flex-direction:column;gap:6px;margin-bottom:16px;display:flex}.va-queue-row{font-size:14px}.va-queue-label{color:var(--text-muted);margin-right:8px}.va-queue-mono{font-family:ui-monospace,monospace;font-size:13px}.va-queue-links a{color:var(--accent);text-decoration:none}.va-queue-links a:hover{text-decoration:underline}.va-queue-days{color:var(--text-muted)}.va-queue-admin-notes{margin-top:8px}.va-queue-notes-display{cursor:pointer;min-height:24px;padding:4px 0;display:inline-block}.va-queue-notes-display:hover{color:var(--accent)}.va-queue-notes-edit textarea{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);resize:vertical;border-radius:6px;padding:8px 12px;font-family:inherit;font-size:14px}.va-queue-notes-actions{gap:8px;margin-top:8px;display:flex}.va-queue-card-actions{border-top:1px solid var(--border);padding-top:12px}.host-portal{--host-bg:#1a1a1a;--host-accent:#c9a84c;background:var(--host-bg);color:#e5e5e5;flex-direction:column;min-height:100vh;display:flex}.host-header{border-bottom:1px solid #2a2a2a;justify-content:space-between;align-items:center;padding:16px 24px;display:flex}.host-logo{color:var(--host-accent);letter-spacing:.05em;font-size:24px;font-weight:700}.host-signout{color:#888;cursor:pointer;background:0 0;border:1px solid #2a2a2a;border-radius:6px;padding:8px 16px;font-size:14px;transition:color .15s,border-color .15s}.host-signout:hover{color:#e5e5e5;border-color:#888}.host-main{flex:1;width:100%;max-width:800px;margin:0 auto;padding:24px}.host-footer{color:#888;text-align:center;border-top:1px solid #2a2a2a;padding:16px 24px;font-size:13px}.host-loading,.host-error{text-align:center;color:#888;padding:48px 24px}.host-error{color:var(--danger)}.host-portal.host-portal-login{background-color:#0000;background-image:url(/host-login-bg.jpg);background-position:50%;background-size:cover;width:100vw;min-height:100vh;position:relative}.host-portal.host-portal-login:before{content:"";background:#00000026;width:100%;height:100%;position:absolute;top:0;left:0}.host-portal.host-portal-login .host-header,.host-portal.host-portal-login .host-main,.host-portal.host-portal-login .host-footer{z-index:1;position:relative}.host-login{justify-content:center;align-items:center;min-height:60vh;padding:24px;display:flex}.host-login-card{background:#222;border:1px solid #2a2a2a;border-radius:12px;width:100%;max-width:400px;padding:32px}.host-login-title{color:#e5e5e5;margin:0 0 8px;font-size:24px;font-weight:600}.host-login-subtitle{color:#888;margin:0 0 24px;font-size:14px}.host-login-form{flex-direction:column;gap:16px;display:flex}.host-login-form input{color:#e5e5e5;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:8px;padding:12px 16px;font-family:inherit;font-size:15px}.host-login-form input:focus{border-color:var(--host-accent);outline:none}.host-login-error{color:var(--danger);margin:0;font-size:14px}.host-login-success{color:#6cce6c;margin:0 0 16px;font-size:14px}.host-link{color:var(--host-accent);cursor:pointer;background:0 0;border:none;margin-top:16px;padding:0;font-size:14px;display:block}.host-link:hover{text-decoration:underline}.host-button{cursor:pointer;border-radius:8px;padding:12px 24px;font-family:inherit;font-size:15px;font-weight:500;transition:opacity .15s}.host-button:disabled{opacity:.6;cursor:not-allowed}.host-button.primary{background:var(--host-accent);color:#1a1a1a;border:none}.host-button.primary:hover:not(:disabled){opacity:.9}.host-button.secondary{color:#888;background:0 0;border:1px solid #2a2a2a}.host-button.secondary:hover:not(:disabled){color:#e5e5e5;border-color:#888}.host-page{padding:0}.host-page-title{margin:0 0 8px;font-size:24px;font-weight:600}.host-dashboard-header{margin-bottom:24px}.host-show-name{color:#888;margin:0;font-size:16px}.host-dashboard-summary{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px;display:grid}.host-summary-card{background:#222;border:1px solid #2a2a2a;border-radius:8px;padding:20px}.host-summary-label{color:#888;margin-bottom:8px;font-size:13px;display:block}.host-summary-value{font-size:18px;font-weight:600}.host-submission-status.host-submission-green{background:#6cce6c14;border-color:#6cce6c}.host-submission-status.host-submission-green .host-summary-value{color:#6cce6c}.host-submission-status.host-submission-yellow{border-color:var(--host-accent);background:#c9a84c14}.host-submission-status.host-submission-yellow .host-summary-value{color:var(--host-accent)}.host-submission-status.host-submission-red{border-color:var(--danger);background:#e85b4b14}.host-submission-status.host-submission-red .host-summary-value{color:var(--danger)}.host-deadline-all-set{background:#6cce6c14;border-color:#6cce6c}.host-deadline-all-set .host-summary-value{color:#6cce6c}.host-deadline-overdue{border-color:var(--danger);background:#e85b4b14}.host-deadline-overdue .host-summary-value{color:var(--danger)}.host-dashboard-actions{margin-bottom:32px}.host-dashboard-episodes{margin-top:24px}.host-section-title{margin:0 0 16px;font-size:18px;font-weight:600}.host-empty{color:#888;margin:0}.host-table-wrap{border:1px solid #2a2a2a;border-radius:8px;overflow:hidden}.host-table{border-collapse:collapse;width:100%}.host-table th,.host-table td{text-align:left;border-bottom:1px solid #2a2a2a;padding:12px 16px}.host-table th{color:#888;background:#222;font-size:13px;font-weight:600}.host-table tbody tr:last-child td{border-bottom:none}.host-status-badge{color:#888;background:#2a2a2a;border-radius:999px;padding:4px 10px;font-size:12px;display:inline-block}.host-status-badge.host-status-approved{color:#6cce6c;background:#6cce6c33}.host-toast.success{color:#6cce6c;background:#6cce6c26;border:1px solid #6cce6c;border-radius:8px;margin:0 0 20px;padding:12px 16px}.host-form{flex-direction:column;gap:20px;max-width:560px;display:flex}.host-form-group{flex-direction:column;gap:8px;display:flex}.host-form-group label{color:#888;font-size:14px;font-weight:500}.host-form-group input,.host-form-group textarea{color:#e5e5e5;background:#222;border:1px solid #2a2a2a;border-radius:8px;padding:12px 16px;font-family:inherit;font-size:15px}.host-form-group input:focus,.host-form-group textarea:focus{border-color:var(--host-accent);outline:none}.host-form-group textarea{resize:vertical;min-height:100px}.host-form-error{color:var(--danger);margin:0;font-size:14px}.host-form-actions{gap:12px;display:flex}.performance-page{max-width:1200px}.perf-summary-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin-bottom:32px;display:grid}.perf-summary-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:8px;flex-direction:column;gap:8px;padding:24px;display:flex}.perf-summary-value{color:var(--accent);font-size:28px;font-weight:700}.perf-summary-label{color:var(--text-muted);font-size:13px}.perf-section{margin-bottom:32px}.perf-section-title{margin:0 0 8px;font-size:18px;font-weight:600}.perf-section-desc{color:var(--text-muted);margin:0 0 16px;font-size:14px}.perf-status-breakdown{flex-wrap:wrap;gap:12px;display:flex}.perf-status-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;flex-direction:column;gap:4px;min-width:140px;padding:16px 20px;display:flex}.perf-status-count{color:var(--text);font-size:22px;font-weight:600}.perf-status-label{color:var(--text-muted);font-size:13px}.perf-table .perf-row-danger{border-left:4px solid var(--danger);background:#e85b4b14}.perf-table .perf-row-warning{border-left:4px solid var(--accent);background:#e8b84b14}.perf-table-footer-label{color:var(--text-muted);font-weight:600;border-top:2px solid var(--border)!important}.perf-table-footer-value{color:var(--accent);font-weight:600;border-top:2px solid var(--border)!important}
