.video-surface { background: #f7f8fb; color: #172033; }
.video-topbar { background: #fff; border-bottom: 1px solid #e7e9f0; }
.video-topbar-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.video-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; text-decoration: none; }
.video-brand-mark { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 10px; background: #ee4d2d; color: #fff; font-size: 14px; }
.video-nav { display: flex; align-items: center; gap: 18px; }
.video-nav a { text-decoration: none; color: #4c5870; }
.video-link-button { border: 0; background: transparent; color: #4c5870; font: inherit; cursor: pointer; }
.video-page { padding: 34px 0 48px; }
.video-hero { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, #1f2937 0%, #111827 62%, #2f1d19 100%); color: #fff; box-shadow: 0 18px 50px rgba(17,24,39,.13); }
.video-hero h1 { margin: 8px 0; font-size: clamp(30px, 5vw, 48px); letter-spacing: -.04em; max-width: 720px; }
.video-hero p { margin: 0; color: #d4d9e4; line-height: 1.6; max-width: 680px; }
.video-eyebrow { color: #ee4d2d; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.video-hero .video-eyebrow { color: #ffad9b; }
.video-hero-badge { min-width: 165px; display: grid; gap: 5px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(255,255,255,.07); }
.video-hero-badge span { color: #c9d0dc; font-size: 12px; }
.video-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.video-metric-card { min-height: 128px; display: grid; align-content: space-between; gap: 8px; padding: 18px; background: #fff; border: 1px solid #e7e9f0; border-radius: 16px; }
.video-metric-card > span, .video-metric-card small, .video-muted { color: #6b7280; }
.video-metric-card strong { font-size: 22px; }
.video-good { color: #16804a; }
.video-warn { color: #b66b00; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .75fr); gap: 16px; margin-bottom: 16px; }
.video-panel { background: #fff; border: 1px solid #e7e9f0; border-radius: 18px; padding: 22px; }
.video-panel h2 { margin: 6px 0 10px; }
.video-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.video-status-pill { border-radius: 999px; padding: 6px 9px; background: #fff3ef; color: #b63c23; font-size: 11px; font-weight: 800; }
.video-upload-zone { margin-top: 18px; min-height: 260px; display: grid; place-items: center; align-content: center; gap: 9px; text-align: center; border: 1.5px dashed #cfd5df; border-radius: 16px; background: #fafbfc; }
.video-upload-zone input[type="file"] { width: min(360px, 90%); opacity: .55; }
.video-upload-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #fff3ef; color: #ee4d2d; font-size: 25px; font-weight: 800; }
.video-upload-zone > span { color: #7b8497; font-size: 13px; }
.video-primary { border: 0; border-radius: 10px; padding: 11px 16px; font: inherit; font-weight: 800; background: #ee4d2d; color: #fff; }
.video-primary:disabled { cursor: not-allowed; opacity: .48; }
.video-connection-list { display: grid; gap: 0; margin: 14px 0 18px; }
.video-connection-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #edf0f5; }
.video-connection-list > div:first-child { border-top: 0; }
.video-connection-list span { color: #7b8497; font-size: 13px; }
.video-connection-list strong { text-align: right; font-size: 13px; }
.video-secondary-button { display: block; text-align: center; text-decoration: none; border: 1px solid #d9dee8; border-radius: 10px; padding: 10px 12px; font-weight: 750; background: #fff; }
.video-review-note { margin: 14px 0 0; padding: 12px; border-radius: 10px; background: #f7f8fb; color: #687386; font-size: 12px; line-height: 1.5; }
.video-history-panel { margin-bottom: 8px; }
.video-empty-state { display: grid; place-items: center; gap: 8px; min-height: 190px; text-align: center; padding: 24px; border-radius: 14px; background: #fafbfc; border: 1px solid #edf0f5; }
.video-empty-state p { max-width: 620px; margin: 0; color: #7b8497; line-height: 1.55; }
.video-empty-icon { font-size: 28px; color: #9aa3b3; }
.video-login-shell { min-height: calc(100vh - 150px); display: grid; place-items: center; }
.video-login-card { width: min(460px, 100%); padding: 30px; border: 1px solid #e7e9f0; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(17,24,39,.08); }
.video-login-card h1 { margin: 8px 0 8px; font-size: 29px; letter-spacing: -.025em; }
.video-login-card p { margin: 0 0 18px; color: #6b7280; line-height: 1.5; }
.video-login-card form { display: grid; gap: 10px; }
.video-login-card label { font-size: 13px; color: #4c5870; font-weight: 700; }
.video-login-card input { width: 100%; border: 1px solid #ccd2df; border-radius: 10px; padding: 11px 12px; font: inherit; }
.video-alert { margin-bottom: 14px; padding: 10px 12px; border: 1px solid #f2caca; border-radius: 10px; background: #fff2f2; color: #8d2d2d; }

@media (max-width: 900px) {
    .video-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .video-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
    .video-hero-badge { width: 100%; }
    .video-metric-grid { grid-template-columns: 1fr; }
    .video-topbar-inner { min-height: 62px; }
    .video-page { padding-top: 22px; }
}
