/* LATV EPG admin visual system v2 — presentation only */
:root{--nav:#102a31;--nav-deep:#0b2026;--nav-hover:#193941;--brand:#167b75;--brand-dark:#0d625e;--brand-soft:#e9f5f3;--canvas:#f5f7f8;--surface:#fff;--surface-soft:#f9fbfb;--ink:#17292d;--muted:#6c7e82;--line:#dce5e6;--line-strong:#cbd8da;--success:#27835d;--success-soft:#e8f5ee;--warning:#a96f12;--warning-soft:#fff5df;--danger:#b24b50;--danger-soft:#fff0f1;--blue:#3978ad;--blue-soft:#ebf3fa;--violet:#7659a8;--violet-soft:#f1edfa;--shadow-sm:0 2px 8px rgba(22,45,49,.05);--shadow-md:0 10px 30px rgba(22,45,49,.09);--radius-sm:8px;--radius:12px;--radius-lg:18px;--sidebar:264px}
html{background:var(--canvas)}body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;color:var(--ink);background:var(--canvas)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(22,123,117,.24)!important;outline-offset:2px}.ui-icon{width:20px;height:20px;flex:0 0 auto}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.app{grid-template-columns:var(--sidebar) minmax(0,1fr)!important;min-height:100dvh}.app>aside{position:sticky;top:0;height:100dvh;z-index:40;padding:24px 16px 18px!important;gap:0!important;background:linear-gradient(165deg,var(--nav),var(--nav-deep))!important;border-right:1px solid rgba(255,255,255,.06);overflow-y:auto}.sidebar-brand{display:flex;align-items:center;justify-content:space-between}.logo{display:flex;align-items:center;gap:10px;font-size:16px!important;letter-spacing:.01em}.logo span{width:38px;height:38px;margin:0!important;border-radius:11px!important;background:linear-gradient(145deg,#299d95,#126d68)!important;box-shadow:0 6px 16px rgba(0,0,0,.18)}.logo b{font-weight:780}.sidebar-caption{margin:15px 11px 23px;color:#769097;font-size:10px;font-weight:750;letter-spacing:.13em;text-transform:uppercase}.sidebar-close,.sidebar-toggle,.sidebar-overlay{display:none}.app>aside nav{gap:4px!important}.app>aside nav a{display:flex;align-items:center;gap:12px;min-height:42px;padding:10px 12px!important;border-radius:9px!important;color:#b8c9cd!important;font-weight:600;transition:.15s ease}.app>aside nav a:hover{background:var(--nav-hover)!important;color:#fff!important}.app>aside nav a.is-active{position:relative;background:rgba(38,144,135,.2)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(74,181,172,.15)}.app>aside nav a.is-active:before{content:"";position:absolute;left:-16px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:#42b5ac}.nav-section{margin:24px 12px 8px!important;color:#69868d!important;font-size:9px!important;font-weight:800!important;letter-spacing:.13em!important}.sidebar-footer{display:grid;gap:12px;margin-top:auto;padding-top:24px}.system-indicator{display:flex;align-items:center;gap:8px;padding:0 12px;color:#8fa5aa;font-size:11px}.system-indicator i,.health-pill>i{width:8px;height:8px;border-radius:50%;background:#48b982;box-shadow:0 0 0 4px rgba(72,185,130,.12)}.sidebar-footer form{margin:0!important}.sidebar-footer .quiet{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px!important;background:transparent!important;color:#9eb1b5}.sidebar-footer .quiet:hover{background:var(--nav-hover)!important;color:#fff}
.content{width:100%!important;justify-self:stretch;padding:30px 38px 52px!important}.content-wide{width:100%!important;max-width:none!important}.content header{position:relative;display:flex;align-items:center;gap:18px;margin-bottom:26px!important;padding-bottom:22px;border-bottom:1px solid var(--line)}.page-heading{margin-right:auto}.page-heading .eyebrow{margin-bottom:5px}.page-heading .eyebrow span{margin:0 5px;color:#a7b4b6}.content header h1{margin:0!important;font-size:27px!important;font-weight:760;letter-spacing:-.035em!important}.header-back{order:2;display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#526a6e;text-decoration:none;font-size:12px;font-weight:700}.user{order:3;display:flex!important;align-items:center;gap:10px;min-width:0!important;text-align:left!important}.user-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--brand-soft);color:var(--brand-dark);font-size:11px;font-weight:850}.user-copy{display:grid}.user-copy>span{color:var(--muted);font-size:11px;text-transform:capitalize}
.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:18px;padding:26px 28px;border:1px solid #cfe1e0;border-radius:var(--radius-lg);background:linear-gradient(118deg,#fff 20%,#eef8f6);box-shadow:var(--shadow-sm)}.dashboard-welcome h2{margin:3px 0 4px;font-size:24px;letter-spacing:-.025em}.dashboard-welcome p:not(.eyebrow){margin:0;color:var(--muted)}.health-pill{display:flex;align-items:center;gap:13px;min-width:205px;padding:13px 16px;border:1px solid #cce4d8;border-radius:12px;background:rgba(255,255,255,.82)}.health-pill>span{display:grid}.health-pill small{color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase}.health-pill strong{font-size:13px}.dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.kpi-card{display:flex;align-items:flex-start;gap:14px;min-width:0;padding:19px!important;border-color:var(--line)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)!important}.kpi-card>div{min-width:0}.kpi-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:10px;background:var(--brand-soft);color:var(--brand)}.kpi-card.is-blue .kpi-icon{background:var(--blue-soft);color:var(--blue)}.kpi-card.is-warning .kpi-icon{background:var(--warning-soft);color:var(--warning)}.kpi-card.is-violet .kpi-icon{background:var(--violet-soft);color:var(--violet)}.kpi-card strong{margin:3px 0!important;font-size:24px!important;line-height:1.2}.kpi-card p{font-size:11px;font-weight:760;text-transform:uppercase;letter-spacing:.035em}.kpi-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr);gap:14px}.dashboard-grid.lower{grid-template-columns:minmax(300px,.65fr) minmax(0,1.35fr)}.dashboard-grid>.panel{margin-top:14px}.panel,.filters,.empty,.notice{border-color:var(--line)!important;border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)!important}.panel{padding:20px!important}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.section-heading h2{margin:2px 0 0!important}.section-heading>a{font-size:12px;font-weight:750;text-decoration:none}.source-health-row{display:flex;align-items:center;gap:12px;margin:0 -7px;padding:11px 7px;border-top:1px solid #edf1f2;color:inherit;text-decoration:none}.source-health-row:hover{background:var(--surface-soft)}.source-monogram{display:grid;place-items:center;flex:0 0 38px;height:38px;border:1px solid #d6e5e3;border-radius:10px;background:var(--brand-soft);color:var(--brand-dark);font-size:10px;font-weight:850}.source-health-copy{display:grid;flex:1;min-width:0}.source-health-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.source-health-copy small,.source-health-meta small{color:var(--muted);font-size:10px}.coverage-bar{height:4px;margin-top:6px;overflow:hidden;border-radius:999px;background:#e7eded}.coverage-bar i{display:block;height:100%;border-radius:inherit;background:var(--brand)}.source-health-meta{display:grid;justify-items:end;gap:4px;text-align:right}.source-health-meta .local-date{white-space:nowrap}.activity-list{display:grid}.activity-item{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:10px;align-items:start;padding:12px 0;border-top:1px solid #edf1f2}.activity-dot{width:8px;height:8px;margin-top:5px;border-radius:50%;background:var(--brand)}.activity-item p{margin:2px 0 0;color:var(--muted);font-size:11px}.activity-item time{max-width:100px;color:var(--muted);font-size:10px;text-align:right}.empty-state{display:grid;place-items:center;padding:30px 18px;text-align:center}.empty-state>span{display:grid;place-items:center;width:42px;height:42px;margin-bottom:9px;border-radius:12px;background:var(--brand-soft);color:var(--brand)}.empty-state p{margin:3px 0 0;color:var(--muted);font-size:12px}.empty-state.compact{padding:20px}
.sources-hero{margin-bottom:16px!important;padding:25px 28px!important;border-radius:var(--radius-lg)!important;background:linear-gradient(125deg,#12373e,#197d76)!important}.sources-hero-copy{font-size:14px}.sources-summary div{min-width:112px}.filters{margin-bottom:14px;background:var(--surface)!important}.source-list,.channel-list{margin-top:0!important}.table-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.table-wrap{border:1px solid #e5ebec;border-radius:10px}table{font-size:12px!important}thead{background:#f6f9f9}th{padding:11px 12px!important;color:#63777a!important;font-size:9px!important;font-weight:800!important}td{padding:12px!important;border-bottom-color:#e8eeee!important;vertical-align:middle!important}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfd}.status-badge{display:inline-flex!important;align-items:center;gap:6px;padding:5px 8px!important;border-radius:999px!important;background:var(--warning-soft);color:var(--warning);font-size:10px!important;font-weight:800!important;white-space:nowrap}.status-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-badge.is-positive{background:var(--success-soft)!important;color:var(--success)!important}.status-badge.is-muted{background:#eff2f2!important;color:#758488!important}.action-link{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 10px;border:1px solid #c9dcda;border-radius:8px;background:#fff;color:var(--brand-dark);font-size:11px;font-weight:750;text-decoration:none}.action-link:hover{background:var(--brand-soft)}button{background:var(--brand)!important;border-radius:8px!important}button:hover:not(:disabled){background:var(--brand-dark)!important}.secondary,.quiet{background:#536b70!important}.pager a{display:inline-flex;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:#fff;text-decoration:none}.source-row-actions{gap:5px!important}.source-row-actions .action-link{padding:5px 7px}
input,select,textarea{border-color:var(--line-strong)!important;border-radius:8px!important}input:focus,select:focus,textarea:focus{border-color:var(--brand)!important;box-shadow:0 0 0 3px rgba(22,123,117,.12)!important}.epg-toolbar{border-radius:var(--radius)!important;box-shadow:var(--shadow-sm)}.epg-guide{border-radius:var(--radius);background:#fff;box-shadow:var(--shadow-sm)}.epg-axis{background:var(--nav)!important}.epg-block{background:#26827c!important;border-radius:6px!important}.epg-block.is-current{background:#126862!important}.login-card{border:0!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(14,41,46,.16)!important}.login-card .brand-mark{background:linear-gradient(145deg,#299d95,#126d68)!important}.auth{background:radial-gradient(circle at 20% 0,#d9efec,#f5f7f8 48%,#e9eff0)!important}
@media(max-width:1180px){.content{padding:26px 26px 44px!important}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dashboard-grid,.dashboard-grid.lower{grid-template-columns:1fr}.global-channel-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sources-hero{align-items:flex-start!important;flex-direction:column}.sources-hero-side{width:100%}.sources-summary{width:100%}}
@media(max-width:820px){.app{display:block!important}.app>aside{position:fixed;left:0;top:0;width:min(300px,88vw);transform:translateX(-105%);transition:transform .2s ease;box-shadow:18px 0 55px rgba(4,20,24,.28)}body.sidebar-open{overflow:hidden}body.sidebar-open .app>aside{transform:translateX(0)}.sidebar-close{display:inline-grid;place-items:center;width:34px;height:34px;padding:0!important;background:rgba(255,255,255,.08)!important;font-size:22px}.sidebar-overlay{position:fixed;inset:0;z-index:35;width:100%;height:100%;padding:0;border-radius:0!important;background:rgba(7,25,30,.55)!important;opacity:0;pointer-events:none;transition:opacity .2s}body.sidebar-open .sidebar-overlay{display:block;opacity:1;pointer-events:auto}.content{width:100%!important;padding:20px 18px 40px!important}.sidebar-toggle{display:inline-grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0!important}.content header{gap:12px}.user-copy{display:none}.header-back{margin-left:auto}.dashboard-welcome{align-items:flex-start;flex-direction:column;padding:22px}.health-pill{width:100%}.global-channel-filters{grid-template-columns:1fr!important}.global-channel-filters label:first-of-type{grid-column:auto!important}.table-wrap{overflow-x:auto}.source-list table,.global-channel-list table{min-width:850px!important}}
@media(max-width:560px){.content{padding:16px 12px 34px!important}.content header{margin-bottom:18px!important;padding-bottom:16px}.content header h1{font-size:22px!important}.page-heading .eyebrow{font-size:9px}.user{display:none!important}.header-back{position:absolute;right:0;top:48px;z-index:2}.dashboard-welcome{padding:18px}.dashboard-welcome h2{font-size:21px}.dashboard-kpis{grid-template-columns:1fr!important}.kpi-card{padding:16px!important}.sources-summary{grid-template-columns:1fr!important}.sources-hero{padding:20px!important}.panel{padding:15px!important}.source-health-meta small{display:none}.source-health-row{align-items:flex-start}.source-health-meta{margin-left:auto}.filters{display:grid!important;grid-template-columns:1fr!important;align-items:stretch!important}.filters button,.filters .action-link{width:100%!important}.pager{align-items:center;flex-wrap:wrap}.pager span{width:100%}.epg-toolbar-actions{grid-template-columns:1fr!important}.epg-days{grid-template-columns:30px repeat(3,minmax(48px,1fr)) 30px!important;overflow:auto}.epg-day:nth-of-type(n+5):not(:last-child){display:none}}
.channel-name-trigger,.logo-preview-trigger{background:#fff!important;color:var(--brand)!important}.channel-name-trigger:hover,.logo-preview-trigger:hover{background:var(--brand-soft)!important}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* v2.1 — restrained operations-console refinement */
:root{--nav:#172326;--nav-deep:#172326;--nav-hover:#223236;--brand:#176b67;--brand-dark:#105854;--brand-soft:#edf5f4;--canvas:#f7f8f8;--surface-soft:#fafbfb;--ink:#182326;--muted:#68777a;--line:#dfe4e5;--line-strong:#cdd5d6;--shadow-sm:none;--shadow-md:0 2px 8px rgba(22,35,38,.06);--radius-sm:5px;--radius:7px;--radius-lg:9px;--sidebar:244px}
.app>aside{padding:22px 14px 16px!important;background:var(--nav)!important;border-right:1px solid #2b3a3d}.logo{gap:9px;font-size:15px!important}.logo span{width:32px;height:32px;border-radius:6px!important;background:#217d77!important;box-shadow:none}.sidebar-caption{margin:12px 10px 20px;color:#75888c;font-size:9px}.app>aside nav{gap:2px!important}.app>aside nav a{min-height:38px;padding:8px 10px!important;border-radius:5px!important;font-size:12px!important;font-weight:570}.app>aside nav a.is-active{background:#243b3e!important;box-shadow:none}.app>aside nav a.is-active:before{left:-14px;top:8px;bottom:8px;width:2px;background:#54a7a1}.nav-section{margin:21px 10px 7px!important}.system-indicator{font-size:10px}.sidebar-footer{gap:9px}.sidebar-footer .quiet{font-size:12px}
.content{width:100%!important;padding:28px 34px 48px!important}.content header{min-height:54px;margin-bottom:22px!important;padding-bottom:18px}.content header h1{font-size:24px!important;font-weight:690;letter-spacing:-.025em!important}.page-heading .eyebrow{margin-bottom:3px;color:#607174;font-size:9px;letter-spacing:.1em}.page-heading .eyebrow span{color:#a9b2b4}.user-avatar{width:32px;height:32px;border-radius:6px;background:#e9eeee;color:#586a6d}.user-copy strong{font-size:12px}.header-back{min-height:32px;padding:5px 10px;border-radius:5px}
.dashboard-welcome{min-height:auto;margin-bottom:12px;padding:18px 20px;border-color:var(--line);border-radius:var(--radius);background:#fff;box-shadow:none}.dashboard-welcome h2{margin:2px 0;font-size:19px;font-weight:650}.dashboard-welcome p:not(.eyebrow){font-size:12px}.health-pill{min-width:190px;padding:9px 12px;border-color:var(--line);border-radius:5px;background:#fafbfb}.health-pill>i{width:7px;height:7px;box-shadow:none}.health-pill small{font-size:9px}.health-pill strong{font-size:12px;font-weight:650}.dashboard-kpis{gap:10px!important}.kpi-card{gap:11px;padding:15px 16px!important;border-radius:var(--radius)!important;box-shadow:none!important}.kpi-icon,.kpi-card.is-blue .kpi-icon,.kpi-card.is-warning .kpi-icon,.kpi-card.is-violet .kpi-icon{display:block;flex:0 0 18px;width:18px;height:18px;margin-top:1px;border-radius:0;background:transparent;color:#6e7e81}.kpi-icon .ui-icon{width:17px;height:17px}.kpi-card p{font-size:9px;font-weight:720;letter-spacing:.055em}.kpi-card strong{margin:2px 0!important;font-size:21px!important;font-weight:680}.kpi-card small{font-size:10px}.dashboard-grid{gap:10px}.dashboard-grid>.panel{margin-top:10px}.panel{padding:17px!important;border-radius:var(--radius)!important;box-shadow:none!important}.section-heading{margin-bottom:10px}.section-heading h2{font-size:15px;font-weight:660}.section-heading .eyebrow{color:#788689;font-size:8px;letter-spacing:.1em}.section-heading>a{color:#466d6a;font-size:11px}.source-health-row{gap:10px;padding:9px 6px}.source-monogram{flex-basis:30px;height:30px;border-radius:5px;background:#f2f5f5;color:#557174}.source-health-copy strong{font-size:12px}.coverage-bar{height:3px;margin-top:5px}.source-health-meta .status-badge{padding:3px 7px!important}.activity-item{padding:10px 0}.activity-dot{width:6px;height:6px}.activity-item strong{font-size:12px}.empty-state{padding:24px 16px}.empty-state>span{width:34px;height:34px;border-radius:6px;background:#f1f5f4;color:#537c79}
.sources-hero{align-items:center!important;flex-direction:row!important;margin-bottom:12px!important;padding:17px 20px!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;background:#fff!important;color:var(--ink)!important;box-shadow:none!important}.sources-hero .eyebrow{color:#778689!important;font-size:8px}.sources-hero p:not(.eyebrow){color:var(--muted)!important;font-size:12px}.sources-hero-side{width:auto!important}.sources-summary{gap:0;border-left:1px solid var(--line)}.sources-summary div{min-width:112px;padding:4px 18px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}.sources-summary div:last-child{border-right:0}.sources-summary span{color:#748386;font-size:8px}.sources-summary strong{margin-top:1px;color:var(--ink);font-size:19px;font-weight:670}.filters{padding:12px!important;border-radius:var(--radius)!important;box-shadow:none!important}.source-search{margin-bottom:12px}.table-heading{margin-bottom:7px}.table-wrap{border-radius:5px}thead{background:#f7f9f9}th{padding:9px 10px!important;font-size:8px!important}td{padding:10px!important}.status-badge{padding:3px 7px!important;border-radius:4px!important;font-size:9px!important}.status-badge:before{width:5px;height:5px}.action-link{min-height:28px;padding:4px 8px;border-radius:5px;font-size:10px}.source-row-actions{gap:4px!important}button{border-radius:5px!important;font-size:12px}.pager a{border-radius:5px}.epg-toolbar{border-radius:var(--radius)!important;box-shadow:none}.epg-guide{border-radius:5px;box-shadow:none}.epg-day,.epg-arrow,.epg-today{border-radius:5px!important}.epg-block{border-radius:3px!important}.login-card{border-radius:9px!important;box-shadow:0 12px 36px rgba(14,35,39,.12)!important}.login-card .brand-mark{border-radius:6px!important;background:#217d77!important}.auth{background:#f2f5f5!important}
@media(max-width:1180px){.sources-hero{align-items:flex-start!important;flex-direction:column!important}.sources-hero-side{width:100%!important}.sources-summary{width:100%;border-top:1px solid var(--line);border-left:0;padding-top:12px}}
@media(max-width:820px){.content{padding:19px 17px 38px!important}.sidebar-toggle{border-radius:5px!important}.dashboard-welcome{padding:16px 17px}.app>aside{box-shadow:8px 0 28px rgba(4,20,24,.22)}}
@media(max-width:560px){.content{padding:14px 11px 30px!important}.dashboard-kpis{gap:8px!important}.kpi-card{padding:14px!important}.sources-summary div{padding:8px 0;border-right:0;border-bottom:1px solid var(--line)}.sources-summary div:last-child{border-bottom:0}}

/* Dense views: contain scrolling and preserve the application viewport. */
.channel-logo-control{display:flex;align-items:center;gap:5px}.channel-logo-edit-trigger{display:grid;place-items:center;width:26px;height:26px;padding:0!important;border:1px solid var(--line)!important;background:#fff!important;color:var(--brand)!important}.channel-logo-edit-dialog{width:min(520px,calc(100% - 32px));padding:0;border:0;border-radius:14px;background:transparent}.channel-logo-edit-dialog::backdrop{background:#08141acc}.channel-logo-edit-card{position:relative;padding:24px;background:#fff;border-radius:14px;box-shadow:0 22px 70px #0007}.channel-logo-edit-card h2{margin:0 35px 4px 0}.channel-logo-edit-card p{margin:0 0 14px}.channel-logo-edit-card form{display:grid;gap:9px}.channel-logo-edit-card label{margin:0}.channel-logo-edit-card small{color:var(--muted)}.channel-logo-edit-close{position:absolute;right:12px;top:9px;padding:3px 10px!important;background:transparent!important;color:var(--ink)!important;font-size:25px;line-height:1}
.epg-toolbar{grid-template-columns:minmax(0,1fr)!important;max-width:100%;overflow:hidden}.epg-toolbar-actions{grid-template-columns:minmax(260px,.8fr) minmax(360px,1.2fr)!important}.epg-sort{min-width:0!important;flex-wrap:wrap}.epg-guide{width:100%;min-width:0!important;max-width:100%;overflow:auto;overscroll-behavior-inline:contain}.epg-guide-grid{min-width:900px}.epg-days{min-width:0;overflow-x:auto;scrollbar-width:thin}.table-wrap{max-width:100%;overscroll-behavior-inline:contain}.epg-scroll-hint{display:none;margin:10px 0 -5px;color:var(--muted);font-size:10px}
@media(max-width:1050px){.epg-toolbar-actions{grid-template-columns:1fr!important}.epg-sort{justify-content:flex-start!important}}
@media(max-width:620px){.source-list .table-wrap,.global-channel-list .table-wrap{overflow:visible;border:0}.source-list table,.global-channel-list table{display:block;min-width:0!important}.source-list thead,.global-channel-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.source-list tbody,.global-channel-list tbody{display:grid;gap:9px}.source-list tr,.global-channel-list tr{display:grid;padding:11px;border:1px solid var(--line);border-radius:6px;background:#fff}.source-list td,.global-channel-list td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;align-items:start;max-width:none!important;padding:7px 0!important;border-bottom:1px solid #edf0f0!important}.source-list td:last-child,.global-channel-list td:last-child{border-bottom:0!important}.source-list td:before,.global-channel-list td:before{content:attr(data-label);color:#718083;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.source-list .source-row-actions,.global-channel-list .source-row-actions{width:100%;min-width:0!important;flex-wrap:wrap!important}.source-list .source-row-actions .action-link{min-width:0;width:auto}.epg-guide-grid{min-width:760px}.epg-axis,.epg-row{grid-template-columns:175px minmax(585px,1fr)}.epg-sort{gap:6px;font-size:10px}.epg-scroll-hint{display:block}}
@media(max-width:620px){.api-client-list .table-heading{align-items:flex-start;gap:12px}.api-client-list .table-wrap{overflow:visible;border:0}.api-client-list table{display:block}.api-client-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.api-client-list tbody{display:grid;gap:9px}.api-client-list tr{display:grid;padding:11px;border:1px solid var(--line);border-radius:6px}.api-client-list td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;max-width:none;padding:7px 0!important;border-bottom:1px solid #edf0f0!important;overflow-wrap:anywhere}.api-client-list td:last-child{border-bottom:0!important}.api-client-list td:before{content:attr(data-label);color:#718083;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.api-client-list td[data-label="Acciones"]{display:flex;flex-wrap:wrap}.api-client-list td[data-label="Acciones"]:before{flex:0 0 95px}.api-client-list .table-heading .action-link{flex:0 0 auto}}

/* Source-channel management toolbar */
.web-channel-tools{padding:0!important;overflow:hidden}.web-channel-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 19px 14px;border-bottom:1px solid var(--line)}.web-channel-tools-heading h2{margin:2px 0 2px;font-size:16px}.web-channel-tools-heading p:not(.eyebrow){margin:0;color:var(--muted);font-size:11px}.web-channel-result-count{display:grid;justify-items:end;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.05em}.web-channel-result-count strong{color:var(--ink);font-size:17px;line-height:1.2;letter-spacing:0}.web-channel-tools-grid{grid-template-columns:minmax(0,1fr) 330px!important;gap:0!important;align-items:stretch!important}.web-channel-search-block{display:flex;align-items:center;padding:15px 19px}.web-channel-filters{width:100%;grid-template-columns:minmax(260px,1fr) minmax(190px,240px) auto auto!important;gap:8px!important;align-items:end}.web-channel-filters label{font-size:10px!important;color:#526366}.web-channel-filters input,.web-channel-filters select{height:38px;padding:7px 10px!important}.web-channel-filters button,.web-channel-filters .action-link{min-height:38px}.web-add-channel{border-left:1px solid var(--line);background:#fafbfb}.web-add-channel summary{display:flex;align-items:center;justify-content:space-between;gap:14px;height:100%;min-height:74px;padding:15px 18px;cursor:pointer;list-style:none}.web-add-channel summary::-webkit-details-marker{display:none}.web-add-channel summary span{display:grid;gap:2px}.web-add-channel summary strong{font-size:12px}.web-add-channel summary small{color:var(--muted);font-size:10px;font-weight:500;line-height:1.35}.web-add-channel summary b{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid var(--line-strong);border-radius:5px;background:#fff;color:var(--brand);font-size:18px;font-weight:500;transition:transform .15s}.web-add-channel[open] summary b{transform:rotate(45deg)}.web-add-channel[open] summary{height:auto;min-height:0;border-bottom:1px solid var(--line)}.web-add-channel-body{padding:14px 18px;background:#fff}.web-add-form{grid-template-columns:1fr!important}.web-add-form label{font-size:10px}.web-add-form input{height:38px;padding:7px 10px!important}.web-add-form button{width:100%!important;min-height:36px}.web-channel-results{padding:15px!important}.web-channel-results>.table-heading{align-items:flex-start;margin-bottom:11px}.web-channel-results>.table-heading h2{margin:0 0 2px;font-size:15px}.web-channel-results>.table-heading p{margin:0}.web-channel-results>.table-heading .pager{margin:0;padding:0}
@media(max-width:1120px){.web-channel-tools-grid{grid-template-columns:1fr!important}.web-add-channel{border-top:1px solid var(--line);border-left:0}.web-add-channel summary{min-height:62px}.web-channel-filters{grid-template-columns:minmax(220px,1fr) minmax(170px,220px) auto auto!important}}
@media(max-width:700px){.web-channel-tools-heading{align-items:flex-start;padding:15px}.web-channel-search-block{padding:14px}.web-channel-filters{grid-template-columns:1fr!important}.web-channel-filters button,.web-channel-filters .action-link{width:100%}.web-channel-result-count{flex:0 0 auto}.web-channel-results{padding:11px!important}.web-channel-results>.table-heading{display:grid;gap:10px}.web-channel-results>.table-heading .pager{width:100%}}
@media(max-width:620px){.content header{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start}.content header .header-back{position:static!important;grid-column:2;justify-self:start;margin:4px 0 0!important}.web-channel-results .table-wrap{overflow:visible;border:0}.web-channel-results table{display:block;min-width:0!important}.web-channel-results thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.web-channel-results tbody{display:grid;gap:9px}.web-channel-results tr{display:grid;padding:11px;border:1px solid var(--line);border-radius:6px;background:#fff}.web-channel-results td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;align-items:start;max-width:none!important;padding:7px 0!important;border-bottom:1px solid #edf0f0!important}.web-channel-results td:last-child{border-bottom:0!important}.web-channel-results td:before{content:attr(data-label);color:#718083;font-size:8px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.web-channel-results .source-row-actions{width:100%;min-width:0!important;grid-template-columns:1fr!important}.web-channel-results .source-row-actions button{width:100%}}

/* Reportv channel administration: keep dense identifiers out of the main row. */
.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:minmax(0,1fr) minmax(360px,440px)!important;min-height:82px}.web-channel-tools-simple .web-add-channel.is-always-open{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:end;padding:13px 16px}.web-channel-tools-simple .web-add-channel-heading small{display:block;margin-top:3px;color:var(--muted);font-size:9px;font-weight:600}.web-channel-tools-simple .web-add-channel.is-always-open .web-add-channel-body{padding:0}.web-channel-tools-simple .web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(160px,1fr) auto!important}.reportv-channel-results table{table-layout:fixed}.reportv-channel-results th:nth-child(1){width:5%}.reportv-channel-results th:nth-child(2){width:9%}.reportv-channel-results th:nth-child(3){width:31%}.reportv-channel-results th:nth-child(4){width:9%}.reportv-channel-results th:nth-child(5){width:12%}.reportv-channel-results th:nth-child(6){width:12%}.reportv-channel-results th:nth-child(7){width:22%}.reportv-channel-results .web-channel-identity{gap:5px}.reportv-identifier-editor{margin-top:5px;max-width:270px}.reportv-identifier-editor summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;color:var(--muted);font-size:10px}.reportv-identifier-editor summary::-webkit-details-marker{display:none}.reportv-identifier-editor summary span{font-weight:700}.reportv-identifier-editor summary code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#435b66;font-size:11px}.reportv-identifier-editor summary b{margin-left:auto;color:var(--brand);font-size:10px}.reportv-identifier-editor[open]{padding:8px;border:1px solid var(--line);border-radius:7px;background:#fff}.reportv-identifier-editor[open] summary{margin-bottom:7px}.reportv-identifier-editor form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.reportv-identifier-editor input{width:100%;min-width:0;height:31px;padding:5px 7px!important;font-size:11px}.reportv-identifier-editor button{min-height:31px;padding:5px 8px;font-size:10px;white-space:nowrap}.reportv-channel-results .channel-row-actions{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.reportv-channel-results .channel-row-actions button{min-height:34px;padding:6px 7px;font-size:11px;white-space:nowrap}@media(max-width:1180px){.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-channel.is-always-open{border-top:1px solid var(--line);border-left:0}}@media(max-width:700px){.web-channel-tools-simple .web-add-channel.is-always-open{grid-template-columns:1fr}.web-channel-tools-simple .web-add-channel.is-always-open .web-add-form{grid-template-columns:1fr!important}.reportv-identifier-editor{max-width:none}.reportv-channel-results .channel-row-actions{grid-template-columns:1fr}}

/* Source 77 correction: one clear action per edit type, no toolbar overflow. */
.reportv-channel-results .channel-name-trigger{font-size:0!important}.reportv-channel-results .channel-name-trigger:after{content:'Editar canal'!important;margin:0!important;font-size:10px!important}.reportv-channel-results .channel-logo-edit-trigger{opacity:0;pointer-events:none}.reportv-channel-results .channel-logo-control:hover .channel-logo-edit-trigger,.reportv-channel-results .channel-logo-edit-trigger:focus-visible{opacity:1;pointer-events:auto}.reportv-identifier-editor summary b{font-size:0!important;border:0!important}.reportv-identifier-editor summary b:after{content:'Editar ID';font-size:10px}.reportv-identifier-editor[open] form:after{display:none!important;content:none!important}.reportv-identifier-editor[open] form{grid-template-columns:minmax(0,170px) auto auto!important}.reportv-id-cancel{background:transparent!important;color:var(--muted)!important}.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:minmax(0,1fr) minmax(370px,470px)!important;gap:14px!important}.web-channel-tools-simple .web-add-channel{grid-template-columns:105px minmax(0,1fr)!important;min-width:0}.web-channel-tools-simple .web-add-form{grid-template-columns:minmax(160px,210px) max-content!important}.web-channel-tools-simple .web-add-form input{width:100%;max-width:210px!important}.web-channel-tools-simple .web-add-form button{width:auto!important;white-space:nowrap}@media(max-width:1050px){.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-channel{grid-template-columns:105px minmax(0,1fr)!important}}@media(max-width:700px){.reportv-channel-results .channel-logo-edit-trigger{opacity:1;pointer-events:auto}.web-channel-tools-simple .web-add-channel{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form input,.web-channel-tools-simple .web-add-form button{max-width:none!important;width:100%!important}}

/* Single operational header card for source channels. */
.web-channel-header-card{display:grid!important;grid-template-columns:210px minmax(0,1fr) minmax(250px,310px);gap:16px;align-items:end;padding:14px 16px!important}.web-channel-header-card .source-channel-context{display:grid!important;gap:2px;margin:0!important;padding:0 14px 0 0!important;border-right:1px solid var(--line)}.web-channel-header-card .source-channel-context strong{font-size:15px!important}.web-channel-header-card .source-channel-context small:before{content:'· '!important}.web-channel-header-card .web-channel-tools-grid{display:contents!important}.web-channel-header-card .web-channel-search-block{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:10px;padding:0!important;border:0!important}.web-channel-header-card .web-channel-block-title{align-self:end}.web-channel-header-card .web-channel-block-title h2,.web-channel-header-card .web-add-channel-heading strong{font-size:11px!important}.web-channel-header-card .web-channel-filters{grid-template-columns:minmax(150px,1fr) minmax(130px,170px) auto!important;gap:7px!important}.web-channel-header-card .web-add-channel{display:grid!important;grid-template-columns:1fr!important;gap:5px;padding:0!important;background:transparent!important;min-width:0!important}.web-channel-header-card .web-add-channel-heading{display:block!important}.web-channel-header-card .web-add-channel-heading small{display:none!important}.web-channel-header-card .web-add-form{grid-template-columns:minmax(145px,1fr) auto!important;gap:7px!important}.web-channel-header-card .web-add-form input{width:100%;max-width:210px!important}.web-channel-header-card .web-add-form button{width:auto!important;white-space:nowrap}@media(max-width:1180px){.web-channel-header-card{grid-template-columns:190px minmax(0,1fr)!important}.web-channel-header-card .web-add-channel{grid-column:2}.web-channel-header-card .web-channel-search-block{grid-template-columns:1fr!important}.web-channel-header-card .web-channel-block-title{align-self:auto}}@media(max-width:760px){.web-channel-header-card{grid-template-columns:1fr!important;gap:12px}.web-channel-header-card .source-channel-context{border:0;padding:0!important}.web-channel-header-card .web-add-channel{grid-column:auto}.web-channel-header-card .web-channel-search-block,.web-channel-header-card .web-add-form,.web-channel-header-card .web-channel-filters{grid-template-columns:1fr!important}.web-channel-header-card .web-add-form button{width:100%!important}}

/* Table-only refinement: grouped editing and semantic operational actions. */
.reportv-channel-results .web-channel-identity{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important}.reportv-channel-results .web-channel-identity>span{grid-column:1/-1!important;grid-row:1!important}.reportv-channel-results .reportv-identifier-editor{grid-column:1!important;grid-row:2!important;align-self:center}.reportv-channel-results .channel-name-trigger{grid-column:2!important;grid-row:2!important;align-self:center}.reportv-channel-results .channel-logo-control{position:relative;min-width:46px;min-height:46px;justify-content:center}.reportv-channel-results .channel-logo-control.has-broken-logo:before{content:'Sin logo';display:grid;place-items:center;width:42px;height:42px;border:1px dashed var(--line-strong);border-radius:7px;background:#f7f9fa;color:var(--muted);font-size:8px;font-weight:700}.reportv-channel-results .source-logo.is-broken{display:none}.reportv-channel-results .channel-row-actions{display:grid!important;grid-template-columns:1.15fr 1fr 1fr!important;gap:6px}.reportv-channel-results .channel-row-actions form:nth-child(2) button{background:#fff!important;border:1px solid var(--line-strong)!important;color:#4d6267!important}.reportv-channel-results .channel-row-actions .channel-remove-action{background:#fff!important;border:1px solid #e5b8b8!important;color:#a33e3e!important}.reportv-channel-results .channel-row-actions .channel-remove-action:hover{background:#fff4f4!important}@media(max-width:700px){.reportv-channel-results .web-channel-identity{grid-template-columns:minmax(0,1fr) auto!important}.reportv-channel-results .channel-row-actions{grid-template-columns:1fr!important}}

/* The add form is persistent; the search input stays at an operational width. */
.web-channel-tools-grid{grid-template-columns:minmax(0,1fr) 380px!important}.web-channel-search-block{align-items:flex-start}.web-channel-filters{grid-template-columns:minmax(220px,430px) minmax(180px,230px) auto auto!important;justify-content:start}.web-add-channel.is-always-open{display:grid;grid-template-columns:135px minmax(0,1fr);align-items:end;padding:14px 16px;border-left:1px solid var(--line);background:#fafbfb}.web-add-channel-heading{align-self:center}.web-add-channel-heading span{display:grid;gap:3px}.web-add-channel-heading strong{font-size:12px}.web-add-channel-heading small{color:var(--muted);font-size:9px;line-height:1.35}.web-add-channel.is-always-open .web-add-channel-body{padding:0 0 0 12px;background:transparent}.web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(160px,1fr) auto!important}.web-add-channel.is-always-open .web-add-form label{min-width:0}.web-add-channel.is-always-open .web-add-form button{width:auto!important;min-height:38px}
@media(max-width:1250px){.web-channel-tools-grid{grid-template-columns:1fr!important}.web-add-channel.is-always-open{grid-template-columns:180px minmax(0,1fr);border-top:1px solid var(--line);border-left:0}.web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(220px,1fr) auto!important}.web-channel-filters{grid-template-columns:minmax(220px,430px) minmax(180px,230px) auto auto!important}}
@media(max-width:700px){.web-add-channel.is-always-open{grid-template-columns:1fr;gap:10px;padding:14px}.web-add-channel.is-always-open .web-add-channel-body{padding:0}.web-add-channel.is-always-open .web-add-form{grid-template-columns:1fr!important}.web-add-channel.is-always-open .web-add-form button{width:100%!important}}
.web-channel-tools-grid{grid-template-columns:minmax(0,1fr) 500px!important}.web-add-channel.is-always-open{display:block;padding:13px 16px}.web-add-channel-heading{margin-bottom:8px}.web-add-channel.is-always-open .web-add-channel-body{padding:0}.web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(190px,1fr) auto!important}
@media(max-width:1600px){.web-channel-tools-grid{grid-template-columns:1fr!important}.web-add-channel.is-always-open{border-top:1px solid var(--line);border-left:0}.web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(220px,430px) auto!important}}
@media(max-width:700px){.web-add-channel.is-always-open .web-add-form{grid-template-columns:1fr!important}}
@media(min-width:701px) and (max-width:1600px){.web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(220px,430px) max-content!important;justify-content:start}}
@media(max-width:700px){.web-channel-filters{grid-template-columns:1fr!important}.web-channel-filters button,.web-channel-filters .action-link{display:flex!important;width:100%!important}.web-channel-search-block{overflow:hidden}.web-add-channel.is-always-open .web-add-form{width:100%}}

/* Consistent typography and simplified channel controls. */
button,input,select,textarea{font-family:inherit!important;font-size:inherit}.web-channel-tools-simple .web-channel-tools-grid{min-height:104px}.web-channel-tools-simple .web-channel-search-block{display:grid;grid-template-columns:135px minmax(0,1fr);gap:12px;align-items:end;padding:14px 16px}.web-channel-block-title{align-self:center}.web-channel-block-title h2{margin:0;font-size:13px}.web-channel-tools-simple .web-channel-filters{align-self:end}.web-channel-tools-simple .web-add-channel-heading{align-self:center;margin:0}.web-channel-results>.table-heading h2{font-size:16px}.web-channel-results>.table-heading p{font-size:11px}.web-channel-results th{font-weight:700;letter-spacing:.025em}.web-channel-results td{font-weight:500}.web-channel-results td .local-date{font-weight:600}
@media(max-width:1600px){.web-channel-tools-simple .web-channel-search-block{grid-template-columns:135px minmax(0,1fr)}}
@media(max-width:700px){.web-channel-tools-simple .web-channel-search-block{grid-template-columns:1fr;gap:10px}.web-channel-block-title h2{font-size:14px}}

/* Individual channel schedule */
.epg-channel-link{color:var(--ink);text-decoration:none}.epg-channel-link:hover{background:var(--brand-soft)}
.channel-breadcrumb{display:flex;align-items:center;gap:8px;margin:-6px 0 12px;color:var(--muted);font-size:11px}.channel-breadcrumb a{text-decoration:none}.channel-profile{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:20px;align-items:start;padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.channel-profile-logo{display:grid;place-items:center;width:92px;height:92px;border:1px solid var(--line);border-radius:8px;background:#fafbfb}.channel-profile-logo .source-logo{width:76px;height:76px;border:0}.channel-profile-copy h2{display:inline;margin:1px 10px 10px 0;font-size:24px;letter-spacing:-.025em}.channel-profile-copy>.status-badge{vertical-align:4px}.channel-profile-copy dl{display:flex;flex-wrap:wrap;gap:7px 22px;margin:11px 0 0}.channel-profile-copy dl div{display:flex;gap:6px;padding:0;border:0;font-size:11px}.channel-profile-copy dt{font-weight:650}.channel-profile-copy dd{font-weight:750;text-align:left}.channel-coverage{margin:9px 0 0;color:var(--muted);font-size:10px}.channel-source-switch{display:flex;align-items:end;gap:7px;min-width:245px}.channel-source-switch label{margin:0;font-size:10px}.channel-source-switch select{height:36px;padding:6px 9px}.channel-source-switch button{min-height:36px;padding:7px 10px}.channel-switcher{position:relative;margin-top:10px;padding:11px 13px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.channel-switcher form{display:flex;align-items:end;gap:8px;max-width:600px}.channel-switcher label{margin:0;flex:1;font-size:10px}.channel-switcher input{height:36px;padding:7px 10px}.channel-switcher button{min-height:36px;padding:7px 14px}.channel-search-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.channel-search-results a{display:grid;padding:8px 10px;border-radius:5px;color:var(--ink);text-decoration:none}.channel-search-results a:hover{background:var(--brand-soft)}.channel-search-results strong{font-size:11px}.channel-search-results small{color:var(--muted);font-size:9px}.channel-now{display:grid;grid-template-columns:72px minmax(0,1fr) minmax(220px,.55fr);gap:17px;align-items:center;margin-top:10px;padding:15px 18px;border:1px solid #b8d9d5;border-left:3px solid var(--brand);border-radius:var(--radius);background:#f3f8f7}.channel-now .eyebrow{margin:0}.channel-now h3{margin:0;font-size:16px}.channel-now p:not(.eyebrow){margin:2px 0;color:var(--muted);font-size:11px}.channel-now span{color:var(--muted);font-size:10px;font-weight:650}.channel-progress{display:grid;gap:5px}.channel-progress progress{width:100%;height:5px;accent-color:var(--brand)}.channel-progress small{text-align:right}.channel-now.is-empty{grid-template-columns:72px 1fr;background:#fafbfb;border-color:var(--line);border-left-color:var(--line-strong)}.channel-context{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.channel-context span{display:grid;padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.channel-context small{color:var(--muted);font-size:8px;font-weight:750;letter-spacing:.07em;text-transform:uppercase}.channel-context strong{margin-top:2px;font-size:11px}.channel-schedule-panel{margin-top:10px;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.channel-schedule-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--line)}.channel-schedule-heading h2{margin:2px 0 0;font-size:17px}.channel-day-nav{display:flex;gap:5px}.channel-day{display:grid;place-items:center;min-width:46px;padding:5px 7px;border:1px solid var(--line);border-radius:5px;color:var(--ink);text-decoration:none}.channel-day small{color:var(--muted);font-size:8px;font-weight:700;text-transform:uppercase}.channel-day strong{font-size:13px}.channel-day:hover,.channel-day.is-active{border-color:#8bbdb8;background:var(--brand-soft)}.channel-day.is-unavailable{border-style:dashed;color:#a6b0b2;background:#fafbfb}.channel-day.is-unavailable small{color:#a6b0b2}.channel-timeline{max-width:900px;margin:0 auto;padding:9px 0}.schedule-item{display:grid;grid-template-columns:60px 12px minmax(0,1fr) auto;gap:11px;align-items:start;min-height:63px;padding:10px 8px;color:var(--ink);text-decoration:none}.schedule-item>time{padding-top:2px;color:var(--muted);font-size:11px;font-weight:700;text-align:right}.schedule-item>i{position:relative;width:8px;height:8px;margin-top:5px;border:2px solid #9dacad;border-radius:50%;background:#fff}.schedule-item>i:after{content:"";position:absolute;top:9px;left:1px;width:2px;height:49px;background:#e2e7e8}.schedule-item:last-child>i:after{display:none}.schedule-item>div{display:grid;gap:1px}.schedule-item strong{font-size:12px}.schedule-item span,.schedule-item small{color:var(--muted);font-size:10px}.schedule-item>b{margin-top:1px;padding:3px 6px;border-radius:4px;background:var(--brand);color:#fff;font-size:8px;letter-spacing:.06em}.schedule-item.is-past{opacity:.52}.schedule-item.is-current{margin:2px 0;padding:12px 10px;border:1px solid #b8d9d5;border-radius:6px;background:#f1f8f7}.schedule-item.is-current>i{border-color:var(--brand);background:var(--brand)}.schedule-item.is-current strong{font-size:14px}.schedule-item:hover:not(.is-current){background:#fafbfb}.schedule-gap{display:flex;justify-content:space-between;margin:1px 30px 1px 92px;padding:6px 9px;border-radius:4px;background:#f7f8f8;color:#849093;font-size:9px}.channel-schedule-empty{display:grid;justify-items:center;padding:42px 20px;color:var(--muted);text-align:center}.channel-schedule-empty>span{font-size:30px}.channel-schedule-empty h3{margin:6px 0 1px;color:var(--ink);font-size:14px}.channel-schedule-empty p{margin:0;font-size:11px}
@media(max-width:900px){.channel-profile{grid-template-columns:72px 1fr}.channel-profile-logo{width:72px;height:72px}.channel-profile-logo .source-logo{width:58px;height:58px}.channel-source-switch{grid-column:1/-1}.channel-now{grid-template-columns:62px 1fr}.channel-progress{grid-column:2}.channel-schedule-heading{align-items:flex-start;flex-direction:column}.channel-day-nav{width:100%;overflow-x:auto}}
@media(max-width:560px){.channel-profile{grid-template-columns:56px 1fr;gap:13px;padding:15px}.channel-profile-logo{width:56px;height:56px}.channel-profile-logo .source-logo{width:46px;height:46px}.channel-profile-copy h2{font-size:19px}.channel-profile-copy dl{display:grid;gap:5px}.channel-source-switch{display:grid;grid-template-columns:1fr auto;width:100%;min-width:0}.channel-switcher form{display:grid;grid-template-columns:1fr}.channel-switcher button{width:100%}.channel-now{grid-template-columns:1fr;padding:14px}.channel-progress{grid-column:1}.channel-now.is-empty{grid-template-columns:1fr}.channel-context{grid-template-columns:1fr}.channel-schedule-panel{padding:13px}.channel-day-nav{gap:4px}.channel-day{min-width:42px}.schedule-item{grid-template-columns:46px 10px minmax(0,1fr);gap:8px;padding-inline:2px}.schedule-item>b{grid-column:3;width:max-content}.schedule-gap{margin-left:64px;margin-right:2px}}

.channel-now.has-artwork{grid-template-columns:72px 112px minmax(0,1fr) minmax(200px,.5fr)}.channel-now>img{width:112px;height:74px;object-fit:cover;border-radius:6px}.channel-now-description{display:-webkit-box!important;max-width:680px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.45}.channel-day-arrow{min-width:34px;font-size:18px}.channel-day-today{min-width:52px}.channel-history-control{padding:8px 0 8px 91px}.channel-history-control .action-link{min-height:30px;font-size:10px}
@media(max-width:900px){.channel-now.has-artwork{grid-template-columns:62px 96px 1fr}.channel-now.has-artwork .channel-progress{grid-column:3}.channel-now>img{width:96px;height:66px}}
@media(max-width:560px){.channel-now.has-artwork{grid-template-columns:1fr}.channel-now>img{width:100%;height:130px}.channel-now.has-artwork .channel-progress{grid-column:1}.channel-history-control{padding-left:64px}}

/* Individual schedule v2.2 — integrated broadcast workspace */
.content-channel-schedule{width:min(100%,1600px)!important;padding-top:20px!important}.content-channel-schedule>header{min-height:44px;margin-bottom:10px!important;padding-bottom:11px}.content-channel-schedule>header h1{font-size:21px!important}.content-channel-schedule .page-heading .eyebrow{margin-bottom:1px}.content-channel-schedule .header-back{min-height:30px;padding:4px 9px}.content-channel-schedule .channel-breadcrumb{margin:0 0 7px;font-size:10px}
.content-channel-schedule .channel-profile{grid-template-columns:62px minmax(260px,1fr) minmax(280px,440px);gap:14px;align-items:center;padding:13px 15px;border-radius:6px;box-shadow:none}.content-channel-schedule .channel-profile-logo{width:62px;height:62px;border:0;background:#f6f8f8}.content-channel-schedule .channel-profile-logo .source-logo{width:52px;height:52px}.channel-profile-title{display:flex;align-items:center;gap:8px;min-width:0}.channel-profile-title h2{display:block!important;margin:0!important;font-size:21px!important;line-height:1.2}.channel-profile-title>span:not(.status-badge){padding-top:2px;color:var(--muted);font-size:10px;font-weight:700}.channel-profile-title .status-badge{margin-left:2px}.channel-profile-meta{margin:4px 0 0;color:#4f6265;font-size:11px;font-weight:650}.content-channel-schedule .channel-coverage{margin:2px 0 0}.channel-profile-tools{display:flex;justify-content:flex-end;gap:7px;align-items:center;position:relative}.content-channel-schedule .channel-switcher{flex:1;min-width:230px;margin:0;padding:0;border:0;background:transparent}.content-channel-schedule .channel-switcher form{display:grid;grid-template-columns:minmax(160px,1fr) auto;gap:5px;max-width:none}.content-channel-schedule .channel-switcher input{height:34px;padding:6px 9px}.content-channel-schedule .channel-switcher button{min-height:34px;padding:6px 10px;font-size:10px}.content-channel-schedule .channel-search-results{position:absolute;z-index:12;top:40px;right:0;width:min(560px,calc(100vw - 40px));max-height:330px;overflow:auto;margin:0;padding:7px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 12px 30px rgba(18,35,38,.14)}.content-channel-schedule .channel-source-switch{min-width:145px}.content-channel-schedule .channel-source-switch select{height:34px;padding:5px 8px;font-size:10px}
.content-channel-schedule .channel-now{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:8px;padding:17px 19px;border:1px solid #bdd7d4;border-left:3px solid var(--brand);border-radius:6px;background:linear-gradient(100deg,#f2f8f7,#f8fbfa)}.content-channel-schedule .channel-now.has-artwork{grid-template-columns:168px minmax(0,1fr);gap:18px}.content-channel-schedule .channel-now-label{grid-column:1/-1;display:flex;align-items:center;gap:7px;margin-bottom:9px}.channel-now-label span{color:var(--brand-dark)!important;font-size:9px!important;font-weight:820!important;letter-spacing:.1em}.channel-now-label b{padding:3px 6px;border-radius:3px;background:var(--brand);color:#fff;font-size:8px;letter-spacing:.07em}.content-channel-schedule .channel-now>img{width:168px;height:104px;border-radius:5px}.channel-now-body{min-width:0}.channel-now-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px}.content-channel-schedule .channel-now h3{font-size:20px;letter-spacing:-.015em}.channel-now-heading time{flex:0 0 auto;color:#33484a;font-size:12px;font-weight:750}.channel-now-subtitle{color:#43585b!important;font-weight:650}.content-channel-schedule .channel-now-description{max-width:940px;margin-top:5px!important;font-size:11px!important;-webkit-line-clamp:3}.content-channel-schedule .channel-progress{grid-template-columns:minmax(160px,600px) auto;align-items:center;gap:10px;margin-top:10px}.content-channel-schedule .channel-progress progress{height:6px}.content-channel-schedule .channel-progress small{text-align:left;white-space:nowrap}.content-channel-schedule .channel-now.is-empty{grid-template-columns:minmax(0,1fr);padding:15px 18px}.content-channel-schedule .channel-now.is-empty .channel-now-label{margin-bottom:5px}
.content-channel-schedule .channel-context{gap:0;margin-top:2px;border-bottom:1px solid var(--line)}.channel-context-item{display:grid;gap:1px;padding:9px 14px;color:var(--ink);text-decoration:none}.channel-context-item+ .channel-context-item{border-left:1px solid var(--line)}.channel-context-item.is-siguiente{text-align:right}.channel-context-item small{color:var(--muted);font-size:8px;font-weight:760;letter-spacing:.045em;text-transform:uppercase}.channel-context-item strong{font-size:10px}.channel-context-item:hover{background:#f5f8f8}.channel-context-item:focus-visible,.schedule-item:focus-visible,.channel-day:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.content-channel-schedule .channel-schedule-panel{margin-top:0;padding:0;border:0;border-radius:0;background:transparent}.content-channel-schedule .channel-schedule-heading{position:sticky;top:0;z-index:7;gap:16px;padding:12px 0 10px;border-bottom:1px solid var(--line);background:rgba(247,248,248,.96);backdrop-filter:blur(8px)}.content-channel-schedule .channel-schedule-heading .eyebrow{color:#55686b;font-size:8px}.content-channel-schedule .channel-schedule-heading h2{font-size:16px}.content-channel-schedule .channel-day-nav{gap:4px;max-width:72%;padding:2px}.content-channel-schedule .channel-day{min-width:48px;height:42px;padding:4px 7px;border-color:#d5ddde;background:#fff}.content-channel-schedule .channel-day small{font-size:8px}.content-channel-schedule .channel-day strong{font-size:13px}.content-channel-schedule .channel-day:hover{border-color:#79aaa6;background:#edf5f4}.content-channel-schedule .channel-day.is-active{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 1px 3px rgba(16,88,84,.16)}.content-channel-schedule .channel-day.is-active small{color:#d9eeec}.content-channel-schedule .channel-day.is-unavailable{border-color:#e2e6e7;background:#f3f5f5;color:#a0aaac}.content-channel-schedule .channel-day-today:not(.is-active){border-color:#abc7c4;color:var(--brand-dark)}.content-channel-schedule .channel-day-arrow{min-width:34px}.content-channel-schedule .channel-timeline{width:100%;max-width:none;margin:0;padding:5px 0 24px}.content-channel-schedule .schedule-item{grid-template-columns:58px 12px minmax(0,1fr) auto;gap:10px;min-height:61px;padding:9px 10px 9px 2px;border-radius:4px}.content-channel-schedule .schedule-item>time{font-size:11px}.content-channel-schedule .schedule-item>i:after{height:49px}.content-channel-schedule .schedule-item>div{gap:1px}.content-channel-schedule .schedule-item strong{font-size:12px}.content-channel-schedule .schedule-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.content-channel-schedule .schedule-item small{font-size:9px}.content-channel-schedule .schedule-item.is-past{opacity:.48}.content-channel-schedule .schedule-item.is-current{margin:1px 0;padding:10px 10px 10px 2px;border:0;border-radius:4px;background:#e9f4f2;box-shadow:inset 3px 0 0 var(--brand)}.content-channel-schedule .schedule-item.is-current strong{font-size:13px}.content-channel-schedule .schedule-item.is-future:hover{background:#f1f5f4}.content-channel-schedule .schedule-item>b{align-self:center;margin-right:4px}.content-channel-schedule .schedule-gap{margin-left:80px;margin-right:0}.content-channel-schedule .channel-history-control{padding:7px 0 5px 80px}.content-channel-schedule .channel-history-control a{color:#557370;font-size:10px;font-weight:700;text-decoration:none}.content-channel-schedule .channel-history-control a:hover{text-decoration:underline}
@media(max-width:1050px){.content-channel-schedule .channel-profile{grid-template-columns:62px minmax(0,1fr)}.channel-profile-tools{grid-column:1/-1;justify-content:flex-start}.content-channel-schedule .channel-switcher{max-width:520px}.content-channel-schedule .channel-day-nav{max-width:100%;overflow-x:auto}.content-channel-schedule .channel-schedule-heading{align-items:flex-start;flex-direction:column}.content-channel-schedule .channel-now.has-artwork{grid-template-columns:140px minmax(0,1fr)}.content-channel-schedule .channel-now>img{width:140px;height:94px}}
@media(max-width:700px){.content-channel-schedule{padding-top:12px!important}.content-channel-schedule>header{margin-bottom:7px!important}.content-channel-schedule .channel-breadcrumb{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content-channel-schedule .channel-profile{grid-template-columns:52px minmax(0,1fr);gap:10px;padding:11px}.content-channel-schedule .channel-profile-logo{width:52px;height:52px}.content-channel-schedule .channel-profile-logo .source-logo{width:44px;height:44px}.channel-profile-title{align-items:flex-start;flex-wrap:wrap;gap:4px 7px}.channel-profile-title h2{font-size:18px!important}.channel-profile-title .status-badge{order:3}.channel-profile-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}.content-channel-schedule .channel-switcher{min-width:0}.content-channel-schedule .channel-switcher form{grid-template-columns:minmax(0,1fr) auto}.content-channel-schedule .channel-now,.content-channel-schedule .channel-now.has-artwork{grid-template-columns:1fr;padding:14px}.content-channel-schedule .channel-now>img{width:100%;height:150px;margin-bottom:10px}.channel-now-heading{align-items:flex-start;flex-direction:column;gap:2px}.content-channel-schedule .channel-now h3{font-size:18px}.content-channel-schedule .channel-progress{grid-template-columns:1fr}.content-channel-schedule .channel-progress small{text-align:right}.content-channel-schedule .channel-context{grid-template-columns:1fr}.channel-context-item+ .channel-context-item{border-top:1px solid var(--line);border-left:0}.channel-context-item.is-siguiente{text-align:left}.content-channel-schedule .channel-schedule-heading{position:static;padding-top:11px}.content-channel-schedule .channel-day-nav{width:100%;flex-wrap:nowrap}.content-channel-schedule .channel-day{flex:0 0 46px}.content-channel-schedule .schedule-item{grid-template-columns:48px 10px minmax(0,1fr);gap:7px}.content-channel-schedule .schedule-item>b{grid-column:3;width:max-content}.content-channel-schedule .schedule-gap{margin-left:61px}.content-channel-schedule .channel-history-control{padding-left:61px}}
.content-channel-schedule .schedule-item.is-past{opacity:.68}

/* Global channels — balanced columns and permanently visible actions. */
.global-channel-filters{grid-template-columns:minmax(260px,1.35fr) minmax(170px,.55fr) minmax(190px,.7fr) auto auto!important;align-items:end;padding:13px 15px!important}.global-channel-filters label{font-size:10px}.global-channel-filters input,.global-channel-filters select{height:38px;padding:7px 10px!important}.global-channel-filters button,.global-channel-filters>.action-link{min-height:38px!important;padding:7px 12px}
.global-channel-list{padding:15px 17px 17px!important}.global-channel-list .channel-list-heading{align-items:center;margin:0;padding:1px 2px 13px}.channel-list-heading .eyebrow{margin:0 0 2px;font-size:8px}.channel-list-heading h2{margin:0;font-size:16px;letter-spacing:-.015em}.channel-list-heading .muted{margin-top:2px!important;font-size:10px}.channel-result-count{display:grid;justify-items:end;min-width:78px}.channel-result-count strong{font-size:20px;line-height:1}.channel-result-count span{margin-top:2px;color:var(--muted);font-size:8px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.global-channel-list table{min-width:1040px!important;table-layout:fixed}.global-channel-list th:nth-child(1){width:8%}.global-channel-list th:nth-child(2){width:30%}.global-channel-list th:nth-child(3){width:16%}.global-channel-list th:nth-child(4){width:11%}.global-channel-list th:nth-child(5){width:9%}.global-channel-list th:nth-child(6){width:26%}.global-channel-list th:nth-child(n+7){width:auto}.global-channel-list td[data-label="Acciones"]{overflow:visible!important}.global-channel-list .channel-row-actions{display:grid!important;grid-template-columns:minmax(112px,1fr) minmax(84px,.78fr);gap:6px!important;width:100%;min-width:202px!important}.global-channel-list .channel-row-actions form{display:block;min-width:0}.global-channel-list .channel-row-actions .action-link,.global-channel-list .channel-row-actions button{width:100%;min-height:31px;padding:5px 8px;font-size:10px;line-height:1.2;white-space:nowrap}.global-channel-list .channel-schedule-action{border-color:#9ec7c3;background:#edf6f5;color:#155f59}.global-channel-list .channel-schedule-action:hover{background:#dfeeed}.global-channel-list .channel-state-action.is-disable{border:1px solid #d5dfe0!important;background:#fff!important;color:#53676a}.global-channel-list .channel-state-action.is-disable:hover{border-color:#bdcbcd!important;background:#f1f4f4!important}.global-channel-list .channel-state-action.is-enable{border:1px solid var(--brand)!important;background:var(--brand)!important;color:#fff}.global-channel-list .channel-identity strong{font-size:11px}.global-channel-list .channel-identity small{font-size:9px}.global-channel-list .source-logo{width:42px;height:42px}
@media(max-width:1180px){.global-channel-filters{grid-template-columns:minmax(250px,1fr) minmax(160px,.55fr) minmax(180px,.7fr) auto auto!important}.global-channel-list table{min-width:680px!important}.global-channel-list th:nth-child(1){width:8%}.global-channel-list th:nth-child(2){width:30%}.global-channel-list th:nth-child(3){width:16%}.global-channel-list th:nth-child(4){width:11%}.global-channel-list th:nth-child(5),.global-channel-list td:nth-child(5){display:none}.global-channel-list th:nth-child(6){width:35%}}
@media(max-width:920px){.global-channel-filters{grid-template-columns:1fr 1fr!important}.global-channel-filters label:first-of-type{grid-column:1/-1}.global-channel-filters button,.global-channel-filters>.action-link{width:100%!important}.global-channel-list table{min-width:620px!important}}
@media(max-width:620px){.global-channel-list{padding:12px!important}.global-channel-list .channel-list-heading{align-items:flex-start}.global-channel-list table{min-width:0!important}.global-channel-list td:nth-child(5){display:grid}.global-channel-list td[data-label="Acciones"]{display:block;padding-top:10px!important}.global-channel-list td[data-label="Acciones"]:before{display:block;margin-bottom:7px}.global-channel-list .channel-row-actions{grid-template-columns:1fr 1fr!important;min-width:0!important}.global-channel-list .channel-row-actions .action-link,.global-channel-list .channel-row-actions button{min-height:36px}.channel-result-count strong{font-size:18px}}
@media(max-width:430px){.global-channel-filters{grid-template-columns:1fr!important}.global-channel-filters label:first-of-type{grid-column:auto}.global-channel-list .channel-row-actions{grid-template-columns:1fr!important}}

/* Schedule grid v3 — compact controls and broadcast-first hierarchy. */
.content-schedule-grid{width:100%!important;max-width:none!important;padding:17px 20px 28px!important;overflow-x:hidden}.content-schedule-grid>header{min-height:44px;margin-bottom:8px!important;padding-bottom:10px}.content-schedule-grid>header h1{font-size:22px!important}.content-schedule-grid .page-heading .eyebrow{margin-bottom:1px}
.content-schedule-grid .epg-toolbar-v3{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important;padding:9px 10px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:#fff;box-shadow:none!important}.content-schedule-grid .epg-days{display:flex!important;grid-template-columns:none!important;gap:4px;align-items:stretch;width:100%;overflow-x:auto;padding:1px;scrollbar-width:thin}.content-schedule-grid .epg-days .epg-arrow{flex:0 0 32px}.content-schedule-grid .epg-day{display:grid;place-items:center;flex:1 0 50px;min-width:46px;height:39px;padding:3px 7px;border:1px solid #d6dfe0;border-radius:4px;background:#fff;color:var(--ink);text-decoration:none}.content-schedule-grid .epg-day small{font-size:7px;font-weight:780;letter-spacing:.05em;text-transform:uppercase}.content-schedule-grid .epg-day strong{font-size:12px;line-height:1.05}.content-schedule-grid .epg-day:hover{border-color:#8fb9b6;background:#f0f7f6}.content-schedule-grid .epg-day.is-today:not(.is-active){border-color:#a8c8c5;color:var(--brand-dark)}.content-schedule-grid .epg-day.is-active{border-color:var(--brand);background:var(--brand)!important;color:#fff;box-shadow:0 1px 2px rgba(16,88,84,.16)}.content-schedule-grid .epg-day.is-active small{color:#d9efed}.content-schedule-grid .epg-day.is-unavailable{border-style:solid;border-color:#e4e8e9;background:#f6f7f7;color:#a5adaf;opacity:.72}.content-schedule-grid .epg-day.is-unavailable small{color:#a5adaf}
.content-schedule-grid .epg-control-row{display:grid;grid-template-columns:minmax(390px,.95fr) minmax(430px,1.05fr);gap:10px;align-items:center;padding-top:7px;border-top:1px solid #edf1f1}.content-schedule-grid .epg-window{display:flex;align-items:center;gap:10px;min-width:0}.content-schedule-grid .epg-window>strong{overflow:hidden;max-width:210px;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.content-schedule-grid .epg-time-nav{display:flex;align-items:center;justify-content:flex-start;gap:4px;color:var(--ink)}.content-schedule-grid .epg-time-nav>span{display:grid;place-items:center;min-width:92px;height:31px;border-block:1px solid var(--line);background:#fafbfb;font-size:11px;font-weight:760}.content-schedule-grid .epg-arrow,.content-schedule-grid .epg-today{min-width:31px;height:31px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--ink);text-decoration:none}.content-schedule-grid .epg-arrow{font-size:17px}.content-schedule-grid .epg-today{padding:0 9px;font-size:10px}.content-schedule-grid .epg-local-clock{margin-left:auto;color:var(--muted);font-size:9px;white-space:nowrap}.content-schedule-grid .epg-filter-tools{display:grid;grid-template-columns:minmax(250px,1fr) auto;gap:6px;align-items:center}.content-schedule-grid .epg-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;align-items:center}.content-schedule-grid .epg-search label{margin:0}.content-schedule-grid .epg-search input{height:32px;padding:6px 9px;font-size:10px}.content-schedule-grid .epg-search button{min-height:32px;padding:6px 11px;font-size:10px}.content-schedule-grid .epg-sort{position:relative}.content-schedule-grid .epg-sort summary{display:flex;align-items:center;gap:4px;min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--muted);font-size:10px;cursor:pointer;list-style:none;white-space:nowrap}.content-schedule-grid .epg-sort summary::-webkit-details-marker{display:none}.content-schedule-grid .epg-sort summary:after{content:"⌄";margin-left:3px}.content-schedule-grid .epg-sort summary strong{color:var(--ink)}.content-schedule-grid .epg-sort[open] summary{border-color:#8db6b3}.content-schedule-grid .epg-sort>div{position:absolute;z-index:20;top:36px;right:0;display:grid;min-width:145px;padding:5px;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:0 10px 25px rgba(18,35,38,.13)}.content-schedule-grid .epg-sort>div a{padding:7px 8px;border-radius:3px;color:var(--ink);font-size:10px;text-decoration:none}.content-schedule-grid .epg-sort>div a:hover,.content-schedule-grid .epg-sort>div a.is-active{background:var(--brand-soft);color:var(--brand-dark);font-weight:750}
.content-schedule-grid .epg-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 1px 5px;padding:0;color:var(--muted);font-size:10px}.content-schedule-grid .epg-pager>span strong{color:var(--ink);font-size:11px}.content-schedule-grid .epg-pager>div{display:flex;align-items:center;gap:4px}.content-schedule-grid .epg-pager a,.content-schedule-grid .epg-pager .is-disabled{display:inline-flex;align-items:center;min-height:27px;padding:4px 8px;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--brand-dark);font-weight:700;text-decoration:none}.content-schedule-grid .epg-pager .is-disabled{color:#a5adaf;background:#f5f6f6}.content-schedule-grid .epg-pager b{padding:0 7px;color:#526467;font-size:9px}.content-schedule-grid .epg-scroll-hint{display:none;margin:4px 2px;color:var(--muted);font-size:9px}
.content-schedule-grid .epg-guide{position:relative;min-width:0!important;max-height:max(360px,calc(100dvh - 246px));margin-top:0!important;overflow:auto;overscroll-behavior:contain;border:1px solid #d7e0e1;border-radius:5px;background:#fff;box-shadow:none;scrollbar-color:#9caeb0 #edf1f1;scrollbar-width:thin}.content-schedule-grid .epg-guide-grid{min-width:1160px}.content-schedule-grid .epg-axis,.content-schedule-grid .epg-row{display:grid;grid-template-columns:240px minmax(920px,1fr)}.content-schedule-grid .epg-axis{position:sticky;top:0;z-index:8;min-height:40px;background:#223336!important;color:#fff;border-bottom:1px solid #17272a}.content-schedule-grid .epg-axis>span:first-child{position:sticky;left:0;z-index:10;display:flex;align-items:flex-end;padding:0 12px 6px;background:#223336;color:#c8d4d6;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.content-schedule-grid .epg-axis-times{position:relative;display:flex!important;align-items:flex-end;justify-content:space-between;padding:0 8px 5px!important;background:#223336}.content-schedule-grid .epg-axis-times>span{position:relative;z-index:2;font-size:9px;font-weight:720}.content-schedule-grid .epg-axis-now{position:absolute;z-index:1;top:0;bottom:0;width:1px;background:#e17373;pointer-events:none}.content-schedule-grid .epg-axis-now span{position:absolute;top:2px;left:4px;padding:2px 4px;border-radius:3px;background:#f4dddd;color:#843d42;font-size:7px;font-style:normal;font-weight:800;white-space:nowrap}.content-schedule-grid .epg-row{min-height:56px;border-bottom:1px solid #e5ebec}.content-schedule-grid .epg-row:last-child{border-bottom:0}.content-schedule-grid .epg-channel{position:sticky;left:0;z-index:5;display:flex;align-items:center;gap:9px;min-width:0;padding:6px 9px;border-right:1px solid #d9e1e2;background:#fff;color:var(--ink);line-height:1.2;text-decoration:none}.content-schedule-grid .epg-row:nth-child(even) .epg-channel{background:#fbfcfc}.content-schedule-grid .epg-channel:hover{background:#eef6f5}.content-schedule-grid .epg-channel-logo{position:relative;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;overflow:hidden;border:1px solid #dde5e6;border-radius:5px;background:#f5f7f7}.content-schedule-grid .epg-channel-logo .source-logo{position:absolute;inset:2px;width:34px;height:34px;border:0;border-radius:3px;object-fit:contain;background:#fff}.content-schedule-grid .epg-channel-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#6e8285;font-size:9px;font-weight:820;letter-spacing:.02em}.content-schedule-grid .epg-channel>span:last-child{display:grid;min-width:0;gap:3px}.content-schedule-grid .epg-channel strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.content-schedule-grid .epg-channel small{overflow:hidden;color:#738386;font-size:8px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.content-schedule-grid .epg-track{position:relative;overflow:hidden;background-color:#fbfcfc;background-image:linear-gradient(to right,rgba(89,111,114,.07) 1px,transparent 1px),linear-gradient(to right,rgba(65,88,91,.12) 1px,transparent 1px);background-size:8.333333% 100%,16.666667% 100%}.content-schedule-grid .epg-row:nth-child(even) .epg-track{background-color:#f8fafa}.content-schedule-grid .epg-now{position:absolute;z-index:6;top:0;bottom:0;width:1px;background:#d45f65;pointer-events:none}.content-schedule-grid .epg-no-schedule{position:absolute;inset:0;display:flex;align-items:center;padding-left:13px;color:#96a2a4;font-size:9px;font-style:italic}
.content-schedule-grid .epg-block{position:absolute;top:6px;display:grid;align-content:center;gap:1px;height:44px;min-width:2px;overflow:hidden;padding:5px 7px;border:1px solid rgba(12,91,86,.13);border-radius:4px!important;background:#dcecea!important;color:#173d3a!important;text-align:left;text-decoration:none;white-space:normal;box-shadow:none!important;transition:background .12s,border-color .12s}.content-schedule-grid .epg-block strong,.content-schedule-grid .epg-block small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content-schedule-grid .epg-block strong{font-size:9px;font-weight:760;line-height:1.25}.content-schedule-grid .epg-block small{color:#587471;font-size:7px;line-height:1.2}.content-schedule-grid .epg-block.is-future{background:#dcecea!important;color:#173d3a!important}.content-schedule-grid .epg-block.is-complete{border-color:#e0e5e6;background:#eef1f1!important;color:#667477!important;opacity:1!important;filter:none!important}.content-schedule-grid .epg-block.is-complete small{color:#889496}.content-schedule-grid .epg-block.is-current{z-index:4;border-color:#0e5d58;border-left:3px solid #0e5d58;background:#bcded9!important;color:#103d39!important;box-shadow:none!important}.content-schedule-grid .epg-block.is-current small{color:#365f5b}.content-schedule-grid .epg-block:hover,.content-schedule-grid .epg-block:focus-visible{z-index:7;border-color:#4d918c;background:#cce4e1!important;filter:none}.content-schedule-grid .epg-block.is-narrow{padding-inline:3px}.content-schedule-grid .epg-block.is-narrow small{display:none}.content-schedule-grid .epg-block.is-narrow strong{font-size:8px}.content-schedule-grid .epg-guide-empty{position:sticky;left:0;z-index:12;display:grid;justify-items:center;gap:2px;width:100%;padding:28px;color:var(--muted);text-align:center}.content-schedule-grid .epg-guide-empty strong{color:var(--ink);font-size:12px}.content-schedule-grid .epg-guide-empty span{font-size:10px}
.content-schedule-grid .epg-modal-card{border-radius:7px;padding:20px}.content-schedule-grid .epg-modal-card h2{font-size:18px}.content-schedule-grid .epg-modal-card dl{clear:none}.content-schedule-grid .epg-modal-card dl div{padding:8px 0}.content-schedule-grid .epg-modal-card dt{font-size:9px}.content-schedule-grid .epg-modal-card dd{font-size:11px}.content-schedule-grid .epg-programme-image{border-radius:5px}
@media(max-width:1180px){.content-schedule-grid .epg-control-row{grid-template-columns:1fr}.content-schedule-grid .epg-window>strong{max-width:none}.content-schedule-grid .epg-local-clock{margin-left:0}.content-schedule-grid .epg-guide{max-height:max(360px,calc(100dvh - 296px))}}
@media(max-width:820px){.content-schedule-grid{padding:12px 12px 24px!important}.content-schedule-grid>header{margin-bottom:7px!important}.content-schedule-grid .epg-control-row{gap:7px}.content-schedule-grid .epg-window{flex-wrap:wrap}.content-schedule-grid .epg-filter-tools{grid-template-columns:minmax(0,1fr) auto}.content-schedule-grid .epg-guide-grid{min-width:950px}.content-schedule-grid .epg-axis,.content-schedule-grid .epg-row{grid-template-columns:190px minmax(760px,1fr)}.content-schedule-grid .epg-channel-logo{flex-basis:36px;width:36px;height:36px}.content-schedule-grid .epg-channel-logo .source-logo{width:30px;height:30px}.content-schedule-grid .epg-scroll-hint{display:block}.content-schedule-grid .epg-guide{max-height:max(360px,calc(100dvh - 315px))}}
@media(max-width:560px){.content-schedule-grid .epg-toolbar-v3{padding:8px!important}.content-schedule-grid .epg-day:nth-of-type(n+5):not(:last-child){display:grid!important}.content-schedule-grid .epg-day{flex-basis:44px}.content-schedule-grid .epg-window>strong{width:100%;font-size:10px}.content-schedule-grid .epg-time-nav{flex:1}.content-schedule-grid .epg-local-clock{width:100%}.content-schedule-grid .epg-filter-tools{grid-template-columns:1fr}.content-schedule-grid .epg-search{width:100%}.content-schedule-grid .epg-sort{justify-self:stretch}.content-schedule-grid .epg-sort summary{justify-content:center}.content-schedule-grid .epg-sort>div{left:0;right:0}.content-schedule-grid .epg-pager>div{gap:3px}.content-schedule-grid .epg-pager a span,.content-schedule-grid .epg-pager .is-disabled span{display:none}.content-schedule-grid .epg-pager b{padding-inline:3px;white-space:nowrap}.content-schedule-grid .epg-guide{max-height:max(330px,calc(100dvh - 390px))}}

/* Schedule final pass — readable density and one consistent live-state language. */
:root{--epg-past-bg:#eef1f1;--epg-past-ink:#536467;--epg-future-bg:#f2f7f6;--epg-future-ink:#244744;--epg-current-bg:#c8e3df;--epg-current-ink:#103f3b;--epg-current-accent:#176b67}
.content-schedule-grid .epg-toolbar-v3{gap:8px!important;padding:10px 11px!important}.content-schedule-grid .epg-day{height:42px;min-width:49px;padding:4px 8px}.content-schedule-grid .epg-day small{font-size:9px}.content-schedule-grid .epg-day strong{font-size:14px}.content-schedule-grid .epg-control-row{padding-top:8px}.content-schedule-grid .epg-window>strong{font-size:12px}.content-schedule-grid .epg-time-nav>span{min-width:100px;height:33px;font-size:12px}.content-schedule-grid .epg-arrow,.content-schedule-grid .epg-today{height:33px}.content-schedule-grid .epg-today,.content-schedule-grid .epg-local-clock,.content-schedule-grid .epg-search input,.content-schedule-grid .epg-search button,.content-schedule-grid .epg-sort summary{font-size:11px}.content-schedule-grid .epg-search input{height:33px}.content-schedule-grid .epg-search button,.content-schedule-grid .epg-sort summary{min-height:33px}.content-schedule-grid .epg-pager{font-size:11px}.content-schedule-grid .epg-pager>span strong{font-size:12px}.content-schedule-grid .epg-pager b{font-size:10px;white-space:nowrap}
.content-schedule-grid .epg-guide-grid{min-width:1260px}.content-schedule-grid .epg-axis,.content-schedule-grid .epg-row{grid-template-columns:260px minmax(1000px,1fr)}.content-schedule-grid .epg-axis{min-height:42px}.content-schedule-grid .epg-axis>span:first-child{font-size:10px}.content-schedule-grid .epg-axis-times>span{font-size:11px}.content-schedule-grid .epg-axis-now{width:1px;background:var(--epg-current-accent)}.content-schedule-grid .epg-axis-now span{top:2px;padding:2px 5px;background:#dcecea;color:#285c58;font-size:8px}.content-schedule-grid .epg-row{min-height:64px;border-bottom-color:#edf1f1}.content-schedule-grid .epg-channel{gap:10px;padding:7px 10px;border-right-color:#e5eaea}.content-schedule-grid .epg-channel-logo{flex-basis:46px;width:46px;height:46px;border-color:#e3e8e9;background:#f7f9f9}.content-schedule-grid .epg-channel-logo .source-logo{inset:3px;width:38px;height:38px}.content-schedule-grid .epg-channel strong{font-size:13px;line-height:1.25}.content-schedule-grid .epg-channel small{font-size:10px;line-height:1.2}.content-schedule-grid .epg-channel:hover strong{color:var(--brand-dark)}
.content-schedule-grid .epg-track{background-color:#fff;background-image:linear-gradient(to right,rgba(73,98,101,.025) 1px,transparent 1px),linear-gradient(to right,rgba(59,83,86,.065) 1px,transparent 1px);background-size:8.333333% 100%,16.666667% 100%}.content-schedule-grid .epg-row:nth-child(even) .epg-track{background-color:#fcfdfd}.content-schedule-grid .epg-now{width:1px;background:var(--epg-current-accent);opacity:.78}.content-schedule-grid .epg-no-schedule{font-size:11px}.content-schedule-grid .epg-block{top:7px;height:50px;padding:6px 8px;border-color:#e0e8e7;background:var(--epg-future-bg)!important;color:var(--epg-future-ink)!important}.content-schedule-grid .epg-block strong{font-size:13px;line-height:1.25}.content-schedule-grid .epg-block small{color:#627b78;font-size:10px;line-height:1.2}.content-schedule-grid .epg-block.is-future{border-color:#e0e8e7;background:var(--epg-future-bg)!important;color:var(--epg-future-ink)!important}.content-schedule-grid .epg-block.is-complete{border-color:#e1e6e7;background:var(--epg-past-bg)!important;color:var(--epg-past-ink)!important}.content-schedule-grid .epg-block.is-complete small{color:#728083}.content-schedule-grid .epg-block.is-current{border-color:#8fbab6;border-left:3px solid var(--epg-current-accent);background:var(--epg-current-bg)!important;color:var(--epg-current-ink)!important}.content-schedule-grid .epg-block.is-current small{color:#3c625f}.content-schedule-grid .epg-block:hover,.content-schedule-grid .epg-block:focus-visible{border-color:#9bbfbc;background:#e2efed!important}.content-schedule-grid .epg-block.is-current:hover{background:#bddbd6!important}.content-schedule-grid .epg-block.is-narrow strong{font-size:11px}
.content-channel-schedule .schedule-item.is-current{background:var(--epg-current-bg)!important;box-shadow:inset 3px 0 0 var(--epg-current-accent)!important}.content-channel-schedule .schedule-item.is-current>i{border-color:var(--epg-current-accent);background:var(--epg-current-accent)}.content-channel-schedule .schedule-item.is-past{color:var(--epg-past-ink)}
@media(max-width:820px){.content-schedule-grid .epg-guide-grid{min-width:1060px}.content-schedule-grid .epg-axis,.content-schedule-grid .epg-row{grid-template-columns:220px minmax(840px,1fr)}.content-schedule-grid .epg-channel strong{font-size:12px}.content-schedule-grid .epg-channel small{font-size:10px}.content-schedule-grid .epg-block strong{font-size:12px}.content-schedule-grid .epg-block small{font-size:9px}}
@media(max-width:560px){.content-schedule-grid .epg-day{flex-basis:47px}.content-schedule-grid .epg-window>strong{font-size:12px}.content-schedule-grid .epg-local-clock{font-size:10px}}

/* Reversible channel availability directly from administrative guides. */
.content-schedule-grid .epg-channel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.content-schedule-grid .epg-channel-link{display:flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none}
.content-schedule-grid .epg-channel-link>span:last-child{display:grid;min-width:0;gap:3px}
.content-schedule-grid .epg-channel-toggle{margin:0}
.content-schedule-grid .epg-channel-toggle button{display:inline-flex;align-items:center;gap:4px;min-height:23px;padding:3px 6px;border:1px solid #cbd7d7;border-radius:999px;background:#fff;color:#526669;font-size:8px;font-weight:800;line-height:1;white-space:nowrap}
.content-schedule-grid .epg-channel-toggle button i{width:6px;height:6px;border-radius:50%;background:#869496}
.content-schedule-grid .epg-channel-toggle button.is-active{border-color:#b8d7d2;background:#edf7f5;color:#17645d}
.content-schedule-grid .epg-channel-toggle button.is-active i{background:#258274}
.content-schedule-grid .epg-channel-toggle button:hover,.content-schedule-grid .epg-channel-toggle button:focus-visible{border-color:#6f9995;box-shadow:0 0 0 2px #dcecea}
.content-schedule-grid .epg-row.is-channel-disabled .epg-channel-link,.content-schedule-grid .epg-row.is-channel-disabled .epg-track{opacity:.56}
.content-schedule-grid .epg-row.is-channel-disabled .epg-block{filter:saturate(.25)!important}
@media(max-width:820px){.content-schedule-grid .epg-channel-toggle button span{display:none}.content-schedule-grid .epg-channel-toggle button{padding:5px}}

/* Local XMLTV mirror control. */
.xui-mirror-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:24px;align-items:center;padding:24px 28px;margin-bottom:18px;background:linear-gradient(135deg,#fff 0%,#f6faf9 100%)}
.xui-mirror-copy h2{margin:2px 0 6px}.xui-mirror-copy p:not(.client-eyebrow){margin:0 0 12px;color:var(--muted)}.xui-mirror-copy code{display:inline-block;max-width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);overflow-wrap:anywhere}
.xui-mirror-state{display:grid;justify-items:end;gap:5px;min-width:170px}.xui-mirror-state strong{font-size:20px}.xui-mirror-state small{color:var(--muted);white-space:nowrap}.xui-mirror-card form{margin:0}.xui-mirror-card button{white-space:nowrap}.mirror-feedback{grid-column:1/-1;margin:-6px 0 0;padding:10px 12px;border-radius:8px;background:#edf3f5;color:#344b56}.mirror-feedback.is-success{background:#e8f4ef;color:#285f4d}
@media(max-width:850px){.xui-mirror-card{grid-template-columns:1fr}.xui-mirror-state{justify-items:start}.xui-mirror-card button{width:100%}}

/* Manual EPG agenda */
.manual-channel-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.manual-channel-header h2{margin:2px 0 4px}.manual-channel-header p{margin:0;color:var(--muted)}.manual-day-nav{display:flex;justify-content:center;align-items:center;gap:8px;margin:12px 0}.manual-day-nav>a{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--brand-dark);font-size:20px;text-decoration:none}.manual-day-nav form{margin:0}.manual-day-nav input{height:38px}.manual-agenda{display:grid;gap:8px;margin:12px 0}.manual-agenda>h2{margin:0 0 2px}.manual-agenda-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;margin:0!important;padding:14px 18px!important;border-left:3px solid var(--brand)!important}.manual-agenda-item time{color:var(--brand-dark);font-size:12px;font-weight:800}.manual-agenda-item h3{margin:3px 0;font-size:16px}.manual-agenda-item p{margin:2px 0;color:var(--muted);white-space:pre-wrap}.manual-agenda-item form{margin:0}.manual-tools{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.manual-tools>details{padding:14px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.manual-tools summary{cursor:pointer;font-weight:750}.manual-tools form{margin-top:12px}.manual-tools textarea{font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.source-form textarea{width:100%}.status.active{color:#176b54}.status.disabled{color:#8a4b4b}.manual-agenda-item .source-row-actions{align-content:start}
@media(max-width:700px){.manual-channel-header,.manual-agenda-item{grid-template-columns:1fr;display:grid}.manual-tools{grid-template-columns:1fr}.manual-agenda-item .source-row-actions{justify-content:start}}

/* Final compact pass for source-channel administration. */
.reportv-channel-results .channel-name-trigger{font-size:0!important}.reportv-channel-results .channel-name-trigger:after{content:'Editar canal'!important;margin:0!important;font-size:10px!important}.reportv-channel-results .channel-logo-edit-trigger{opacity:0;pointer-events:none;transition:opacity .15s}.reportv-channel-results .channel-logo-control:hover .channel-logo-edit-trigger,.reportv-channel-results .channel-logo-edit-trigger:focus-visible{opacity:1;pointer-events:auto}.reportv-identifier-editor summary b{font-size:0!important;border:0!important}.reportv-identifier-editor summary b:after{content:'Editar ID';font-size:10px}.reportv-identifier-editor[open] form:after{display:none!important;content:none!important}.reportv-identifier-editor[open] form{grid-template-columns:minmax(0,170px) auto auto!important;align-items:center}.reportv-id-cancel{background:transparent!important;color:var(--muted)!important;padding-left:3px!important;padding-right:3px!important}.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:minmax(0,1fr) minmax(370px,470px)!important;gap:14px!important}.web-channel-tools-simple .web-channel-search-block{border-bottom:0!important}.web-channel-tools-simple .web-add-channel{grid-template-columns:105px minmax(0,1fr)!important;min-width:0}.web-channel-tools-simple .web-add-form{grid-template-columns:minmax(160px,210px) max-content!important}.web-channel-tools-simple .web-add-form input{width:100%;max-width:210px!important}.web-channel-tools-simple .web-add-form button{width:auto!important;white-space:nowrap}@media(max-width:1050px){.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:1fr!important}.web-channel-tools-simple .web-channel-search-block{border-bottom:1px solid var(--line)!important}.web-channel-tools-simple .web-add-channel{grid-template-columns:105px minmax(0,1fr)!important}}@media(max-width:700px){.reportv-channel-results .channel-logo-edit-trigger{opacity:1;pointer-events:auto}.web-channel-tools-simple .web-add-channel{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form input,.web-channel-tools-simple .web-add-form button{max-width:none!important;width:100%!important}}
.source-channel-context{margin:0 0 8px!important;padding:0 2px!important}.source-channel-context>div{display:flex!important;align-items:baseline;gap:7px}.source-channel-context strong{font-size:16px!important}.source-channel-context small:before{content:'· ';color:var(--muted)}.web-channel-tools-simple{padding:0!important}.web-channel-tools-simple .web-channel-search-block{padding:12px 16px!important}.web-channel-tools-simple .web-add-channel{padding:10px 16px!important;grid-template-columns:112px minmax(0,1fr)!important}.web-channel-tools-simple .web-add-channel-heading strong{font-size:12px!important}.web-channel-tools-simple .web-add-channel-heading small{font-size:9px!important}.web-channel-tools-simple .web-add-form{grid-template-columns:210px auto!important}.web-channel-tools-simple .web-add-form input{max-width:210px!important}.web-channel-tools-simple .web-add-form button{min-height:38px!important}.reportv-channel-results .web-channel-identity{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:7px;row-gap:4px}.reportv-channel-results .web-channel-identity>span{grid-column:1;grid-row:1}.reportv-channel-results .channel-name-trigger{grid-column:2;grid-row:1;align-self:start;width:auto;height:24px;padding:2px 7px;font-size:11px}.reportv-channel-results .channel-name-trigger:after{content:'Editar';margin-left:3px;font-size:10px}.reportv-channel-results .reportv-identifier-editor{grid-column:1/-1;grid-row:2;margin-top:0}.reportv-identifier-editor[open]{padding:5px 0;border:0;border-radius:0;background:transparent}.reportv-identifier-editor input{max-width:170px}.reportv-identifier-editor button{min-height:29px}@media(max-width:700px){.source-channel-context>div{display:grid!important;gap:1px}.source-channel-context small:before{content:''}.web-channel-tools-simple .web-add-channel{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form input{max-width:none!important}}

/* Compact source-channel toolbar and contextual source header. */
.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:1fr!important;gap:0!important}.web-channel-tools-simple .web-channel-search-block{border-bottom:1px solid var(--line)}.web-channel-tools-simple .web-add-channel{display:grid!important;grid-template-columns:150px minmax(0,1fr);gap:14px;align-items:end;padding:14px 16px;border:0!important;background:#fafbfb}.web-channel-tools-simple .web-add-channel-heading{display:grid;gap:3px;align-self:center}.web-channel-tools-simple .web-add-channel-heading strong{font-size:13px}.web-channel-tools-simple .web-add-channel-heading small{display:block;color:var(--muted);font-size:10px;font-weight:600}.web-channel-tools-simple .web-add-channel-body{padding:0!important}.web-channel-tools-simple .web-add-form{grid-template-columns:minmax(240px,430px) auto!important;justify-content:start}.web-channel-tools-simple .web-add-form input{height:38px}.reportv-identifier-editor summary b{padding:2px 0;border-bottom:1px solid currentColor}.reportv-identifier-editor[open]{max-width:310px}.reportv-identifier-editor[open] form{grid-template-columns:minmax(0,1fr) auto auto}.reportv-identifier-editor[open] form:after{content:'Cancelar';display:inline-flex;align-items:center;min-height:31px;color:var(--muted);font-size:10px;cursor:pointer}@media(max-width:700px){.web-channel-tools-simple .web-add-channel{grid-template-columns:1fr}.web-channel-tools-simple .web-add-form{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-form button{width:100%!important}.web-channel-tools-simple .web-channel-search-block{padding-bottom:14px}}
.web-add-channel-trigger{width:100%;min-height:38px}.web-add-channel-dialog{width:min(440px,calc(100% - 32px));padding:0;border:0;border-radius:14px;background:transparent}.web-add-channel-dialog::backdrop{background:#08141a99}.web-add-channel-card{position:relative;display:grid;gap:12px;padding:24px;background:#fff;border-radius:14px;box-shadow:0 22px 70px #0007}.web-add-channel-card h2{margin:0 32px 0 0;font-size:19px}.web-add-channel-card p{margin:-5px 0 0}.web-add-channel-card .web-add-form{max-width:none;grid-template-columns:minmax(0,1fr) auto}.web-add-channel-card .secondary{justify-self:start}.web-add-channel-close{position:absolute;right:12px;top:9px;padding:3px 10px;background:transparent;color:var(--ink);font-size:25px;line-height:1}
.source-channel-context{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 14px;padding:2px}.source-channel-context>div{display:grid;gap:2px}.source-channel-context .eyebrow{margin:0;font-size:9px}.source-channel-context strong{font-size:17px}.source-channel-context small{color:var(--muted);font-size:11px;font-weight:650}.web-add-channel-disclosure{width:100%}.web-add-channel-disclosure summary{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 10px;border:1px solid var(--brand);border-radius:8px;background:var(--brand);color:#fff;cursor:pointer;font-size:12px;font-weight:750;list-style:none}.web-add-channel-disclosure summary::-webkit-details-marker{display:none}.web-add-channel-disclosure[open] summary{margin-bottom:9px;background:#fff;color:var(--brand)}.web-add-channel-disclosure[open] .web-add-channel-body{padding:0}@media(max-width:700px){.source-channel-context{align-items:flex-start;flex-direction:column}.source-channel-context .action-link{width:100%}}

/* Reportv channel administration: keep dense identifiers out of the main row. */
.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:minmax(0,1fr) minmax(360px,440px)!important;min-height:82px}.web-channel-tools-simple .web-add-channel.is-always-open{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:end;padding:13px 16px}.web-channel-tools-simple .web-add-channel-heading small{display:block;margin-top:3px;color:var(--muted);font-size:9px;font-weight:600}.web-channel-tools-simple .web-add-channel.is-always-open .web-add-channel-body{padding:0}.web-channel-tools-simple .web-add-channel.is-always-open .web-add-form{grid-template-columns:minmax(160px,1fr) auto!important}.reportv-channel-results table{table-layout:fixed}.reportv-channel-results th:nth-child(1){width:5%}.reportv-channel-results th:nth-child(2){width:9%}.reportv-channel-results th:nth-child(3){width:31%}.reportv-channel-results th:nth-child(4){width:9%}.reportv-channel-results th:nth-child(5){width:12%}.reportv-channel-results th:nth-child(6){width:12%}.reportv-channel-results th:nth-child(7){width:22%}.reportv-channel-results .web-channel-identity{gap:5px}.reportv-identifier-editor{margin-top:5px;max-width:270px}.reportv-identifier-editor summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;color:var(--muted);font-size:10px}.reportv-identifier-editor summary::-webkit-details-marker{display:none}.reportv-identifier-editor summary span{font-weight:700}.reportv-identifier-editor summary code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#435b66;font-size:11px}.reportv-identifier-editor summary b{margin-left:auto;color:var(--brand);font-size:10px}.reportv-identifier-editor[open]{padding:8px;border:1px solid var(--line);border-radius:7px;background:#fff}.reportv-identifier-editor[open] summary{margin-bottom:7px}.reportv-identifier-editor form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.reportv-identifier-editor input{width:100%;min-width:0;height:31px;padding:5px 7px!important;font-size:11px}.reportv-identifier-editor button{min-height:31px;padding:5px 8px;font-size:10px;white-space:nowrap}.reportv-channel-results .channel-row-actions{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0}.reportv-channel-results .channel-row-actions button{min-height:34px;padding:6px 7px;font-size:11px;white-space:nowrap}@media(max-width:1180px){.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:1fr!important}.web-channel-tools-simple .web-add-channel.is-always-open{border-top:1px solid var(--line);border-left:0}}@media(max-width:700px){.web-channel-tools-simple .web-add-channel.is-always-open{grid-template-columns:1fr}.web-channel-tools-simple .web-add-channel.is-always-open .web-add-form{grid-template-columns:1fr!important}.reportv-identifier-editor{max-width:none}.reportv-channel-results .channel-row-actions{grid-template-columns:1fr}}
/* Reportv source header: one compact operational bar, including a mandatory scope. */
.web-channel-header-card.web-channel-tools-simple{padding:0!important;overflow:hidden}.web-channel-header-card.web-channel-tools-simple .source-channel-context{display:flex!important;align-items:baseline!important;gap:8px!important;margin:0!important;padding:13px 18px!important;border-bottom:1px solid var(--line)!important}.web-channel-header-card.web-channel-tools-simple .source-channel-context strong{font-size:16px!important}.web-channel-header-card.web-channel-tools-simple .source-channel-context small{font-size:11px!important}.web-channel-header-card.web-channel-tools-simple .source-channel-context small:before{content:'· '!important}.web-channel-header-card.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:minmax(0,1fr) minmax(450px,530px)!important;min-height:0!important;gap:0!important}.web-channel-header-card.web-channel-tools-simple .web-channel-search-block{padding:13px 18px!important;border-bottom:0!important}.web-channel-header-card.web-channel-tools-simple .web-channel-block-title h2{margin:0 0 7px!important;font-size:12px!important}.web-channel-header-card.web-channel-tools-simple .web-channel-filters{display:grid!important;grid-template-columns:minmax(180px,1fr) 170px auto!important;gap:8px!important;align-items:end}.web-channel-header-card.web-channel-tools-simple .web-channel-filters label{margin:0!important}.web-channel-header-card.web-channel-tools-simple .web-channel-filters input,.web-channel-header-card.web-channel-tools-simple .web-channel-filters select,.web-channel-header-card.web-channel-tools-simple .web-channel-filters button{height:38px!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel{border-left:1px solid var(--line)!important;background:#fafcfc!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-heading{display:none!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-body{padding:13px 18px!important}.web-channel-header-card.web-channel-tools-simple .reportv-add-form{display:grid!important;grid-template-columns:minmax(150px,1fr) 155px auto!important;gap:8px!important;align-items:end}.web-channel-header-card.web-channel-tools-simple .reportv-add-form label{margin:0!important}.web-channel-header-card.web-channel-tools-simple .reportv-add-form input,.web-channel-header-card.web-channel-tools-simple .reportv-add-form select,.web-channel-header-card.web-channel-tools-simple .reportv-add-form button{height:38px!important;min-height:38px!important}.web-channel-header-card.web-channel-tools-simple .reportv-add-form button{white-space:nowrap!important}@media(max-width:1180px){.web-channel-header-card.web-channel-tools-simple .web-channel-tools-grid{grid-template-columns:1fr!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel{border-top:1px solid var(--line)!important;border-left:0!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-body{padding-top:11px!important}}@media(max-width:700px){.web-channel-header-card.web-channel-tools-simple .source-channel-context{align-items:flex-start!important;flex-direction:column!important;gap:2px!important}.web-channel-header-card.web-channel-tools-simple .source-channel-context small:before{content:''!important}.web-channel-header-card.web-channel-tools-simple .web-channel-filters,.web-channel-header-card.web-channel-tools-simple .reportv-add-form{grid-template-columns:1fr!important}.web-channel-header-card.web-channel-tools-simple .web-channel-filters button,.web-channel-header-card.web-channel-tools-simple .reportv-add-form button{width:100%!important}}
.web-channel-header-card.web-channel-tools-simple .reportv-add-form{grid-template-columns:minmax(0,1fr) auto!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-body{min-width:0!important}.web-channel-header-card.web-channel-tools-simple .reportv-add-form input{min-width:0!important;width:100%!important}.web-channel-header-card.web-channel-tools-simple .reportv-add-form button{width:auto!important;min-width:142px!important}
.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form>label{display:block!important;flex:1 1 auto!important;min-width:220px!important;width:auto!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form input{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;padding:9px 12px!important;background:#fff!important;border:1px solid var(--line-strong)!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form button{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-width:150px!important;height:42px!important;margin:0!important}@media(max-width:700px){.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form{align-items:stretch!important;flex-direction:column!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form>label{min-width:0!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form button{width:100%!important}}

/* Reportv add field: the hidden heading must not reserve a grid column. */
.web-channel-header-card.web-channel-tools-simple .web-add-channel.is-always-open{display:block!important;grid-template-columns:1fr!important;min-width:0!important;overflow:visible!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel.is-always-open .web-add-channel-body{width:100%!important;min-width:0!important;padding:13px 18px!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel.is-always-open .reportv-add-form{width:100%!important;min-width:0!important}

/* The Reportv add panel is not a disclosure: render its actual markup directly. */
.web-channel-header-card.web-channel-tools-simple .web-add-channel{display:block!important;grid-template-columns:none!important;min-width:0!important;padding:0!important;overflow:hidden!important;border-left:1px solid var(--line)!important;background:#fafcfc!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-heading{display:block!important;margin:0!important;padding:12px 18px 0!important;font-size:12px!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-heading small{display:block!important;margin-top:2px!important;color:var(--muted)!important;font-size:9px!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel-body{display:block!important;width:auto!important;min-width:0!important;padding:9px 18px 14px!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form{display:flex!important;width:100%!important;min-width:0!important;gap:9px!important;align-items:center!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form>label{display:block!important;flex:1 1 0!important;min-width:0!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form input{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form button{flex:0 0 auto!important;min-width:142px!important;max-width:142px!important;white-space:nowrap!important}@media(max-width:700px){.web-channel-header-card.web-channel-tools-simple .web-add-channel{border-top:1px solid var(--line)!important;border-left:0!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form{align-items:stretch!important;flex-direction:column!important}.web-channel-header-card.web-channel-tools-simple .web-add-channel .reportv-add-form button{width:100%!important;max-width:none!important}}
/* Unified Web channel editor */
.channel-edit-trigger{white-space:nowrap;background:transparent!important;color:var(--teal,#326f70)!important;border:1px solid var(--border,#d8dee5)!important;padding:.48rem .72rem!important}
.web-channel-edit-dialog{width:min(760px,calc(100vw - 32px));max-height:90vh;border:0;border-radius:16px;padding:0;background:transparent;overflow:visible}
.web-channel-edit-dialog::backdrop{background:rgba(13,29,36,.58);backdrop-filter:blur(2px)}
.web-channel-edit-card{position:relative;max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:28px;box-shadow:0 28px 90px rgba(12,30,38,.28)}
.web-channel-edit-card>h2{margin:.2rem 2.5rem 1.25rem 0}
.web-channel-edit-close{position:absolute;right:18px;top:18px;width:36px;height:36px;border-radius:50%;padding:0!important;font-size:24px;line-height:1;background:#f3f5f7!important;color:#52616a!important}
.web-channel-edit-sections{display:grid;gap:16px}
.web-channel-edit-section{border:1px solid var(--border,#dce2e7);border-radius:12px;padding:18px;background:#fbfcfd}
.web-channel-edit-section h3{margin:0 0 14px;font-size:1rem}
.web-channel-edit-section form{display:grid;gap:10px;margin-top:10px}
.web-channel-edit-section label{display:grid;gap:6px;font-weight:700}
.web-channel-edit-section input{width:100%;min-height:44px;border:1px solid #cbd4dc;border-radius:9px;padding:0 12px;background:#fff}
.web-channel-edit-section small{display:block;color:#697983;line-height:1.45}
.web-channel-edit-section .source-logo{width:84px;height:64px;object-fit:contain;border:1px solid #e0e5e9;border-radius:9px;background:#fff;padding:6px}
.web-channel-edit-section button[type=submit]{justify-self:start;margin-top:4px}
@media(max-width:700px){.web-channel-edit-card{padding:22px 16px}.web-channel-edit-dialog{width:calc(100vw - 18px)}.web-channel-identity{align-items:flex-start}.channel-edit-trigger{margin-top:4px}}
.timezone-profile{display:grid!important;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr);align-items:center;gap:18px}
.timezone-profile>label:last-child{display:grid;gap:6px;font-weight:700}
.timezone-profile input[list]{min-height:42px;border:1px solid #cbd4dc;border-radius:8px;padding:0 11px;background:#fff}
@media(max-width:700px){.timezone-profile{grid-template-columns:1fr}}

/* Reportv channel editor: operator-first layout */
.web-channel-edit-card{padding:26px 28px 28px}
.web-channel-edit-card>h2{margin:0 42px 2px 0;font-size:1.35rem}
.web-channel-edit-name{margin:0 42px 20px 0;color:#65747c;font-size:.9rem}
.web-channel-edit-section{padding:18px 20px;background:#fff}
.web-channel-edit-primary form{grid-template-columns:1fr 1fr;column-gap:18px;align-items:start}
.web-channel-edit-primary form>label,.web-channel-edit-primary form>small{grid-column:span 1}
.web-channel-edit-primary form>button{grid-column:1/-1}
.web-channel-edit-section input,.web-channel-edit-section select,.web-channel-provider-settings input{width:100%;min-height:44px;border:1px solid #cbd4dc;border-radius:9px;padding:0 12px;background:#fff}
.web-channel-logo-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.web-channel-logo-heading h3{margin:0 0 3px}
.web-channel-current-logo{display:grid;place-items:center;flex:0 0 78px;width:78px;height:64px;border:1px solid #e0e5e9;border-radius:10px;background:#fff}
.web-channel-current-logo .source-logo{max-width:66px;max-height:52px;width:auto;height:auto;border:0;padding:0}
.web-channel-logo-section form{grid-template-columns:1fr auto 1fr;align-items:end;column-gap:12px}
.web-channel-logo-section form>small,.web-channel-logo-section form>button{grid-column:1/-1}
.web-channel-logo-divider{align-self:center;color:#87939a;font-size:.8rem;font-weight:700;text-transform:uppercase}
.web-channel-provider-settings{border:1px solid #e0e5e9;border-radius:10px;background:#f8fafb;padding:0 16px}
.web-channel-provider-settings summary{padding:14px 0;cursor:pointer;font-weight:700;color:#536971}
.web-channel-provider-settings[open]{padding-bottom:16px}
.web-channel-provider-settings form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.web-channel-provider-settings label{display:grid;gap:6px;font-weight:700}
.native-channel-provider-settings dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}.native-channel-provider-settings dl>div{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff}.native-channel-provider-settings dt{color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase}.native-channel-provider-settings dd{margin:0;font-weight:750;overflow-wrap:anywhere}.native-channel-provider-settings>small{display:block;color:var(--muted);line-height:1.45}
.reportv-timezone-coverage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 24px}
.reportv-timezone-card{display:grid;grid-template-columns:auto 1fr;gap:2px 9px;padding:11px 12px;border:1px solid #e0e5e9;border-radius:9px;background:#fafbfc}
.reportv-timezone-card>span{grid-row:1/3;align-self:center;padding:4px 6px;border-radius:5px;background:#eaf3f2;color:#356c68;font-size:.7rem;font-weight:800}
.reportv-timezone-card strong{font-size:.78rem}
.reportv-timezone-card small{overflow:hidden;color:#74828a;font-size:.66rem;text-overflow:ellipsis;white-space:nowrap}
.timezone-defaults-title{margin:4px 0 12px;font-size:1rem}
.timezone-profile select{min-height:42px;border:1px solid #cbd4dc;border-radius:8px;padding:0 11px;background:#fff}
@media(max-width:900px){.reportv-timezone-coverage{grid-template-columns:1fr}}
@media(max-width:700px){.web-channel-edit-primary form,.web-channel-logo-section form,.web-channel-provider-settings form,.native-channel-provider-settings dl{grid-template-columns:1fr}.web-channel-edit-primary form>label,.web-channel-edit-primary form>small,.web-channel-logo-section form>small,.web-channel-logo-section form>button{grid-column:1}.web-channel-logo-divider{display:none}.reportv-timezone-coverage{grid-template-columns:1fr}}

/* The schedule sort menu exposes both directions for every criterion. */
.content-schedule-grid .epg-sort>div{min-width:205px}

/* Admin control system — final authoritative layer. The legacy stylesheet has
   broad important rules, so stateful controls are normalized here explicitly. */
.admin button{border:1px solid transparent!important;background:var(--brand)!important;color:#fff!important;box-shadow:none;transition:background-color .14s,border-color .14s,color .14s,box-shadow .14s,opacity .14s}
.admin button:hover:not(:disabled){border-color:var(--brand-dark)!important;background:var(--brand-dark)!important}
.admin button:active:not(:disabled){transform:translateY(1px)}
.admin button:disabled{border-color:#dce3e4!important;background:#edf0f1!important;color:#899598!important;opacity:1;cursor:not-allowed}
.admin .action-link{border-color:#b9cecc;background:#fff;color:var(--brand-dark)}
.admin .action-link:hover{border-color:#88afac;background:var(--brand-soft);color:#0b5753}
.admin .action-link.is-primary{border-color:var(--brand);background:var(--brand);color:#fff}
.admin .action-link.is-primary:hover{border-color:var(--brand-dark);background:var(--brand-dark)}
.admin .secondary{border-color:#536b70!important;background:#536b70!important;color:#fff!important}
.admin .quiet{border-color:transparent!important;background:transparent!important;color:inherit!important}
.admin .channel-edit-trigger,.admin .channel-name-trigger,.admin .channel-logo-edit-trigger{border-color:#b9cecc!important;background:#fff!important;color:var(--brand-dark)!important}
.admin .channel-edit-trigger:hover,.admin .channel-name-trigger:hover,.admin .channel-logo-edit-trigger:hover{border-color:#7ba7a3!important;background:var(--brand-soft)!important}
.admin .channel-edit-trigger{border-width:1px!important;background:#f6fbfa!important;color:#174f4d!important;font-weight:800!important}
.admin .channel-edit-trigger>span,.admin .channel-edit-trigger>strong{display:inline-block!important;color:inherit!important;font:inherit!important;opacity:1!important;visibility:visible!important}
.admin .channel-edit-trigger:hover,.admin .channel-edit-trigger:focus,.admin .channel-edit-trigger:focus-visible,.admin .channel-edit-trigger.is-open,.admin .channel-edit-trigger[aria-expanded="true"]{border-color:var(--brand-dark)!important;background:var(--brand-dark)!important;color:#fff!important}
.admin .channel-remove-action{border-color:#d9a7aa!important;background:#fff!important;color:#9c383e!important}
.admin .channel-remove-action:hover{border-color:#c8787e!important;background:var(--danger-soft)!important;color:#852d33!important}
.admin .channel-state-action.is-enable{border-color:var(--brand)!important;background:var(--brand)!important;color:#fff!important}
.admin .channel-state-action.is-disable{border-color:#cbd5d6!important;background:#fff!important;color:#536669!important}
.admin .channel-state-action.is-disable:hover{border-color:#aebdbf!important;background:#f1f4f4!important}
.admin .epg-channel-toggle button{border-color:#c4d0d1!important;background:#fff!important;color:#5c6b6e!important}
.admin .epg-channel-toggle button i{background:#8a9799!important}
.admin .epg-channel-toggle button.is-active{border-color:#87bbb3!important;background:#dff1ed!important;color:#0c625a!important}
.admin .epg-channel-toggle button.is-active i{background:#167b70!important;box-shadow:0 0 0 2px #bfe2dc}
.admin .epg-channel-toggle button.is-inactive{border-style:dashed!important;background:#f5f7f7!important;color:#6f7d80!important}
.admin .epg-channel-toggle button:hover,.admin .epg-channel-toggle button:focus-visible{border-color:#4e8d87!important;background:#edf7f5!important;box-shadow:0 0 0 3px rgba(22,123,117,.14)!important}
.admin .epg-sort summary{border-color:#aebfc0!important;background:#fff!important;color:#526467!important}
.admin .epg-toolbar-v3{position:relative;z-index:12;overflow:visible!important}

/* Global channel catalogue: five compact columns keep both actions visible. */
.global-channel-list .table-wrap{overflow-x:visible}
.global-channel-list table{width:100%;min-width:0!important;table-layout:fixed}
.global-channel-list th:nth-child(1){width:80px}.global-channel-list th:nth-child(2){width:auto}.global-channel-list th:nth-child(3){width:200px}.global-channel-list th:nth-child(4){width:120px}.global-channel-list th:nth-child(5){width:300px}
.global-channel-list th:nth-child(n+6){width:auto}
.global-channel-list td{vertical-align:middle;overflow:visible!important}
@media(min-width:701px){.admin .global-channel-list table{min-width:900px!important}.admin .global-channel-list th:nth-child(1){width:80px}.admin .global-channel-list th:nth-child(2){width:auto}.admin .global-channel-list th:nth-child(3){width:190px}.admin .global-channel-list th:nth-child(4){width:120px}.admin .global-channel-list th:nth-child(5){display:table-cell!important;width:300px}.admin .global-channel-list td:nth-child(5){display:table-cell!important}}
/* Wide channel catalog: distribute columns rather than giving all surplus
   width to the name. Keep actions grouped at their natural reading width. */
@media(min-width:1600px){
 .admin .global-channel-list th:nth-child(1){width:6%}
 .admin .global-channel-list th:nth-child(2){width:36%}
 .admin .global-channel-list th:nth-child(3){width:24%}
 .admin .global-channel-list th:nth-child(4){width:12%}
 .admin .global-channel-list th:nth-child(5){width:22%}
 .admin .global-channel-list .global-channel-actions{width:100%;max-width:280px;grid-template-columns:minmax(0,1fr) 88px}
 .admin .global-channel-list .global-channel-main{grid-template-columns:48px minmax(0,1fr);gap:14px}
 .admin .global-channel-list .global-channel-logo{width:48px;height:48px}
 .admin .global-channel-list .logo-preview-trigger{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;padding:5px!important}
 .admin .global-channel-list .logo-preview-trigger .source-logo{width:36px!important;height:36px!important}
 .admin .global-channel-list .table-wrap td{padding:9px 16px!important}
 .admin .global-channel-list .signal-reference{margin-top:2px}
 .admin .global-channel-list .signal-reference summary{min-height:22px}
 .admin .global-channel-list .channel-list-heading{margin-bottom:12px;padding-bottom:4px}
}
.global-channel-main{display:grid;grid-template-columns:60px minmax(0,1fr);align-items:center;gap:16px;min-width:0}
.global-channel-logo{display:grid;place-items:center;width:60px;height:60px;min-width:0}
.admin .logo-preview-trigger{box-sizing:border-box;display:grid;place-items:center;width:56px!important;height:56px!important;min-width:56px!important;min-height:56px!important;max-width:56px!important;padding:5px!important;border:1px solid #dce5ed!important;border-radius:10px!important;background:#fff!important;color:var(--ink)!important}
.admin .logo-preview-trigger:hover:not(:disabled){border-color:var(--brand)!important;background:#f2f8f7!important}
.admin .logo-preview-trigger .source-logo{display:block;width:44px!important;height:44px!important;min-width:0!important;max-width:100%!important;object-fit:contain;border:0;background:transparent}
.global-channel-list .source-logo{width:46px;height:46px}
.global-channel-origin{display:grid;gap:2px;min-width:0}.global-channel-origin strong,.global-channel-origin small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-channel-origin small{color:var(--muted)}
.global-channel-state{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.global-channel-state>span{display:grid;justify-items:start;gap:3px}.global-channel-state small{color:var(--muted);font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.global-channel-quick-form{display:block;margin:0}.global-channel-quick-control{display:inline-flex!important;align-items:center;gap:6px;min-height:29px!important;padding:5px 9px!important;border:1px solid transparent!important;border-radius:999px!important;background:#eef1f3!important;color:#5c6972!important;font-size:11px!important;font-weight:800!important;line-height:1!important;white-space:nowrap}.global-channel-quick-control i{display:block;width:7px;height:7px;border-radius:50%;background:currentColor}.global-channel-quick-control.is-on{background:#e2f2ef!important;color:#25765e!important}.admin .global-channel-quick-control:hover:not(:disabled),.admin .global-channel-quick-control:focus-visible{border-color:#438476!important;background:#d3ebe6!important;color:#185d4d!important;filter:none;box-shadow:0 0 0 3px #326f7018!important}.admin .global-channel-quick-control.is-off:hover:not(:disabled),.admin .global-channel-quick-control.is-off:focus-visible{border-color:#829094!important;background:#e4e9ea!important;color:#38474b!important}.global-channel-quick-control:active{transform:translateY(1px)}
.global-channel-actions{display:grid;grid-template-columns:minmax(112px,1fr) minmax(92px,.8fr);gap:7px;min-width:0}.global-channel-actions>.action-link,.global-channel-actions>.channel-edit-trigger{width:100%;min-height:38px;padding:7px 10px;justify-content:center}
.global-channel-edit-dialog{width:min(760px,calc(100% - 32px));padding:0;border:0;border-radius:16px;background:transparent}.global-channel-edit-dialog::backdrop{background:#08141acc}
.global-channel-edit-card{position:relative;max-height:min(88vh,850px);overflow:auto;padding:24px;background:#fff;border-radius:16px;box-shadow:0 22px 70px #0007}.global-channel-edit-card>h2{margin:0 42px 2px 0}.global-channel-edit-name{margin:0 0 17px;color:var(--muted);font-weight:700}.global-channel-edit-close{position:absolute;right:13px;top:11px;width:36px;height:36px;padding:0!important;background:transparent!important;color:var(--ink)!important;font-size:26px;line-height:1}
.global-channel-edit-sections{display:grid;gap:13px}.global-channel-edit-section{padding:16px;border:1px solid var(--line);border-radius:11px;background:#fbfcfc}.global-channel-edit-section h3{margin:0 0 3px;font-size:14px}.global-channel-edit-section>p{margin:0 0 10px}.global-channel-edit-section form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:9px}.global-channel-edit-section form label{margin:0}.global-channel-edit-section form>small{grid-column:1/-1;color:var(--muted)}.global-channel-edit-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:11px}.global-channel-current-logo{display:grid;place-items:center;width:56px;height:56px;border:1px solid var(--line);border-radius:9px;background:#fff}.global-channel-current-logo .source-logo{width:48px;height:48px}.global-channel-edit-state{display:grid;grid-template-columns:1fr 1fr;gap:10px}.global-channel-edit-state>div{display:grid;grid-template-columns:minmax(80px,1fr) auto auto;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.global-channel-edit-state>div>span:first-child{font-weight:750}.global-channel-edit-state form{display:block}.global-channel-edit-state button{min-height:34px;padding:6px 10px;white-space:nowrap}
@media(max-width:960px){.global-channel-list th:nth-child(1){width:9%}.global-channel-list th:nth-child(2){width:39%}.global-channel-list th:nth-child(3){width:17%}.global-channel-list th:nth-child(4){width:16%}.global-channel-list th:nth-child(5){width:19%}.global-channel-state{display:grid}.global-channel-state small{display:none}.global-channel-actions{grid-template-columns:1fr}.global-channel-actions>.action-link,.global-channel-actions>.channel-edit-trigger{min-height:34px}}
@media(max-width:620px){.global-channel-list .table-wrap{overflow:visible}.global-channel-list table{display:block;min-width:0!important}.global-channel-list td[data-label="Acciones"]{display:block}.global-channel-actions{grid-template-columns:1fr 1fr}.global-channel-edit-section form,.global-channel-edit-state{grid-template-columns:1fr}.global-channel-edit-section form>small{grid-column:1}.global-channel-edit-state>div{grid-template-columns:1fr auto auto}}
@media(max-width:430px){.global-channel-actions,.global-channel-edit-state>div{grid-template-columns:1fr}.global-channel-edit-state>div>*{width:100%}}

/* Native source channels use the same compact administration language. */
.native-channel-header-card{display:grid;grid-template-columns:minmax(190px,250px) minmax(360px,1fr) auto;align-items:center;gap:0;padding:0!important;overflow:hidden}.native-channel-header-card .source-channel-context{display:grid;align-content:center;gap:3px;align-self:stretch;margin:0!important;padding:15px 18px!important;border-right:1px solid var(--line);background:#f8fbfa}.native-channel-header-card .source-channel-context strong{font-size:18px}.native-channel-header-card .source-channel-context small{color:var(--muted);font-size:12px;font-weight:650}.native-channel-search{padding:12px 18px}.native-channel-filters{display:grid!important;grid-template-columns:minmax(220px,1fr) auto auto!important;gap:8px!important;padding:0!important;border:0!important;background:transparent!important}.native-channel-filters label{margin:0!important}.native-channel-filters input,.native-channel-filters button,.native-channel-filters .action-link{min-height:38px}.native-station-catalog{margin-right:18px}.native-channel-results table{min-width:1120px;table-layout:fixed}.native-channel-results th:nth-child(1){width:8%}.native-channel-results th:nth-child(2){width:7%}.native-channel-results th:nth-child(3){width:24%}.native-channel-results th:nth-child(4){width:7%}.native-channel-results th:nth-child(5){width:12%}.native-channel-results th:nth-child(6){width:13%}.native-channel-results th:nth-child(7){width:13%}.native-channel-results th:nth-child(8){width:16%}.native-channel-results td{vertical-align:middle}.native-channel-results .web-channel-identity{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px}.native-channel-results .channel-edit-trigger{min-width:88px}.native-channel-status{display:grid;justify-items:start;gap:5px}.native-channel-results .channel-row-actions{grid-template-columns:1fr 1fr!important;min-width:0!important}.native-channel-results .channel-row-actions .action-link,.native-channel-results .channel-row-actions button{width:100%;min-height:36px;padding:7px 8px;font-size:11px}
@media(max-width:1100px){.native-channel-header-card{grid-template-columns:minmax(180px,220px) minmax(0,1fr)}.native-station-catalog{grid-column:2;justify-self:start;margin:0 18px 12px}.native-channel-results table{min-width:940px}.native-channel-results th:nth-child(6),.native-channel-results td:nth-child(6){display:none}.native-channel-results th:nth-child(3){width:29%}}
@media(max-width:760px){.native-channel-header-card{grid-template-columns:1fr}.native-channel-header-card .source-channel-context{border-right:0;border-bottom:1px solid var(--line)}.native-channel-filters{grid-template-columns:1fr!important}.native-channel-filters button,.native-channel-filters .action-link,.native-station-catalog{width:100%}.native-station-catalog{grid-column:auto;margin:0 18px 14px}.native-channel-results .web-channel-identity{grid-template-columns:1fr}.native-channel-results .channel-edit-trigger{width:100%}}
.admin .epg-filter-tools,.admin .epg-sort{overflow:visible!important}
.admin .epg-sort summary:hover{border-color:#6f9995!important;background:#f7fbfa!important}
.admin .epg-sort[open] summary{border-color:var(--brand)!important;box-shadow:0 0 0 2px rgba(22,123,117,.12)}
.admin .epg-sort>div{overflow:hidden;border-color:#bcc9ca!important;background:#fff!important;box-shadow:0 12px 28px rgba(18,35,38,.18)!important}
.admin .epg-sort>div a{position:relative;border-left:3px solid transparent!important;background:#fff!important;color:#35494d!important;font-weight:620!important}
.admin .epg-sort>div a+a{border-top:1px solid #edf1f1}
.admin .epg-sort>div a:hover{border-left-color:#91b8b4!important;background:#f0f7f6!important;color:#0d5d58!important}
.admin .epg-sort>div a.is-active{border-left-color:var(--brand)!important;background:#dff1ed!important;color:#0b5b55!important;font-weight:800!important}
.admin .epg-sort>div a.is-active:after{content:'✓';position:absolute;right:9px;color:var(--brand);font-weight:900}
.admin :is(button,.action-link,summary,a,input,select,textarea):focus-visible{outline:3px solid rgba(22,123,117,.22)!important;outline-offset:2px}
@media(max-width:820px){.admin .epg-channel-toggle button span{display:inline!important}.admin .epg-channel-toggle button{min-width:52px;justify-content:center}}

/* Shared source-channel administration: one layout for every Web adapter. */
.admin .web-channel-header-card.web-channel-tools-simple{display:block!important;padding:0!important;overflow:visible!important}
.admin .web-channel-header-card .source-channel-context{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:3px!important;min-width:0!important;padding:14px 18px!important;border:0!important;border-right:1px solid var(--line)!important;background:#f8fbfa!important}
.admin .web-channel-header-card .source-channel-context strong{font-size:18px!important;line-height:1.25!important;color:var(--ink)!important}
.admin .web-channel-header-card .source-channel-context small{font-size:13px!important;font-weight:650!important;color:var(--muted)!important}
.admin .web-channel-header-card .source-channel-context small:before{content:none!important}
.admin .web-channel-header-card .web-channel-tools-grid{display:grid!important;grid-template-columns:minmax(170px,220px) minmax(540px,1fr) minmax(360px,430px)!important;min-height:76px!important;gap:0!important;align-items:stretch!important}
.admin .web-channel-header-card .web-channel-search-block{display:flex!important;align-items:center!important;min-width:0!important;padding:12px 18px!important;border:0!important;background:#fff!important}
.admin .web-channel-header-card .web-channel-block-title{display:none!important}
.admin .web-channel-header-card .web-channel-filters{display:grid!important;grid-template-columns:minmax(180px,2.4fr) minmax(120px,1.15fr) minmax(82px,.8fr) minmax(82px,.8fr) minmax(96px,.95fr) max-content max-content!important;align-items:end!important;gap:7px!important;min-width:0!important;margin:0!important}
.admin .web-channel-header-card .web-channel-filters label{min-width:0!important;margin:0!important}
.admin .web-channel-header-card .web-channel-filters :is(input,select){width:100%!important;min-width:0!important}
.admin .web-channel-header-card .web-channel-filters :is(button,.action-link){width:auto!important;min-width:108px!important;min-height:44px!important;margin:0!important;align-self:end!important}
.admin .web-channel-header-card .web-add-channel{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:center!important;gap:0!important;min-width:0!important;padding:12px 18px!important;border:0!important;border-left:1px solid var(--line)!important;background:#fbfcfc!important}
.admin .web-channel-header-card .web-add-channel-heading{display:none!important}
.admin .web-channel-header-card .web-add-channel-heading strong{font-size:15px!important;white-space:nowrap!important}
.admin .web-channel-header-card .web-add-channel-heading small{display:none!important}
.admin .web-channel-header-card .web-add-channel-body{display:flex!important;align-items:center!important;min-width:0!important}
.admin .web-channel-header-card .web-add-form,.admin .web-channel-header-card .reportv-add-form{display:flex!important;align-items:end!important;justify-content:flex-end!important;gap:10px!important;width:100%!important;max-width:none!important;margin:0!important}
.admin .web-channel-header-card .web-add-form label{display:block!important;flex:1 1 180px!important;min-width:0!important;margin:0!important}
.admin .web-channel-header-card .web-add-form input{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
.admin .web-channel-header-card .web-add-form button{width:auto!important;min-width:138px!important;min-height:44px!important;margin:0!important;white-space:nowrap!important}
.admin .web-channel-results{overflow:visible!important}
.admin .web-channel-results .table-heading{align-items:center!important;gap:16px!important}
.admin .web-channel-results .table-wrap{overflow-x:auto!important}
.admin .web-channel-results table{width:100%!important;min-width:1000px!important;table-layout:fixed!important}
.admin .web-channel-results th:nth-child(1){width:5%!important}
.admin .web-channel-results th:nth-child(2){width:7%!important}
.admin .web-channel-results th:nth-child(3){width:28%!important}
.admin .web-channel-results th:nth-child(4){width:9%!important}
.admin .web-channel-results th:nth-child(5){width:14%!important}
.admin .web-channel-results th:nth-child(6){width:14%!important}
.admin .web-channel-results th:nth-child(7){width:23%!important}
.admin .web-channel-results .channel-row-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;gap:6px!important;min-width:0!important}
.admin .web-channel-results .channel-row-actions form{display:block!important;min-width:0!important;margin:0!important}
.admin .web-channel-results .channel-row-actions button{width:100%!important;min-width:0!important;min-height:42px!important;padding:8px 9px!important;white-space:nowrap!important}
.admin .web-channel-results td:nth-child(5),.admin .web-channel-results td:nth-child(6){white-space:normal!important;line-height:1.3!important}
.admin .web-channel-results td:nth-child(5) time,.admin .web-channel-results td:nth-child(6) time{white-space:normal!important}
.admin .web-channel-results .channel-refresh-action{border-color:var(--brand)!important;background:var(--brand)!important;color:#fff!important}
.admin .web-channel-results .channel-refresh-action:hover:not(:disabled){border-color:var(--brand-dark)!important;background:var(--brand-dark)!important}
.admin .web-channel-results .web-channel-identity{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}
.admin .web-channel-results .web-channel-identity>span{min-width:0!important}
.admin .web-channel-results .web-channel-identity .channel-edit-trigger{display:inline-flex!important;grid-column:auto!important;align-items:center!important;justify-content:center!important;justify-self:end!important;gap:6px!important;width:auto!important;min-width:86px!important;min-height:36px!important;padding:7px 12px!important;border-radius:8px!important;white-space:nowrap!important}
.admin .source-unavailable-state{display:flex;align-items:flex-start;gap:16px;max-width:760px;margin:24px auto;padding:24px}
.admin .source-unavailable-state>span{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#fff2d8;color:#8a5b00;font-size:20px;font-weight:900}
.admin .source-unavailable-state h2{margin:0 0 5px}.admin .source-unavailable-state p{margin:0 0 16px;color:var(--muted)}
@media(max-width:1500px){.admin .web-channel-header-card .web-channel-tools-grid{grid-template-columns:minmax(170px,220px) minmax(0,1fr)!important}.admin .web-channel-header-card .source-channel-context{grid-row:1/3!important}.admin .web-channel-header-card .web-add-channel{grid-column:2!important;border-left:1px solid var(--line)!important;border-top:1px solid var(--line)!important}.admin .web-channel-header-card .web-add-channel-body{justify-content:flex-end!important}.admin .web-channel-header-card .web-add-form label{flex:0 1 340px!important}.admin .web-channel-header-card .web-channel-search-block{min-width:0!important}}
@media(max-width:760px){.admin .web-channel-header-card .web-channel-tools-grid{grid-template-columns:1fr!important}.admin .web-channel-header-card .source-channel-context{grid-row:auto!important;border-right:0!important;border-bottom:1px solid var(--line)!important}.admin .web-channel-header-card .web-add-channel{grid-column:auto!important;border-left:0!important;grid-template-columns:1fr!important}.admin .web-channel-header-card .web-channel-filters{grid-template-columns:1fr!important}.admin .web-channel-header-card .web-add-form,.admin .web-channel-header-card .reportv-add-form{align-items:stretch!important;flex-direction:column!important}.admin .web-channel-header-card .web-add-form label{flex:1 1 auto!important;max-width:none!important}.admin .web-channel-header-card .web-channel-filters :is(button,.action-link),.admin .web-channel-header-card .web-add-form button{width:100%!important}.admin .web-channel-results .web-channel-identity{grid-template-columns:1fr!important}.admin .web-channel-results .web-channel-identity .channel-edit-trigger{justify-self:stretch!important;width:100%!important}}

/* Native must override the shared seven-column Web geometry above. */
.admin .native-channel-results table{width:100%!important;min-width:980px!important;table-layout:fixed!important}
.admin .native-channel-results th:nth-child(1){width:7%!important}.admin .native-channel-results th:nth-child(2){width:32%!important}.admin .native-channel-results th:nth-child(3){width:10%!important}.admin .native-channel-results th:nth-child(4){width:13%!important}.admin .native-channel-results th:nth-child(5){width:18%!important}.admin .native-channel-results th:nth-child(6){width:20%!important}.admin .native-channel-results th:nth-child(n+7){width:auto!important}
.admin .native-channel-results td{vertical-align:middle!important;overflow:visible!important}.admin .native-channel-results td:nth-child(5),.admin .native-channel-results td:nth-child(6){white-space:normal!important}
.admin .native-channel-results .channel-row-actions{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr)!important;gap:7px!important;width:100%!important;min-width:0!important}.admin .native-channel-results .channel-row-actions .action-link,.admin .native-channel-results .channel-row-actions button{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:38px!important;padding:7px 9px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important;overflow:visible!important}
.native-channel-signal{display:grid;gap:2px}.native-channel-signal strong{font-size:13px}.native-channel-signal small{color:var(--muted);font-size:10px;font-weight:650}.native-channel-sync{display:grid;gap:6px}.native-channel-sync>span{display:grid;gap:1px}.native-channel-sync small{color:var(--muted);font-size:8px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.native-channel-sync .local-date{font-size:10px!important;white-space:normal!important}.native-channel-sync .muted{font-size:10px}
@media(max-width:1100px){.admin .native-channel-results table{min-width:900px!important}.admin .native-channel-results th:nth-child(2){width:31%!important}.admin .native-channel-results th:nth-child(5){width:17%!important}.admin .native-channel-results th:nth-child(6){width:22%!important}}
@media(max-width:620px){.admin .native-channel-results table{display:block!important;min-width:0!important}.admin .native-channel-results td:nth-child(5),.admin .native-channel-results td:nth-child(6){display:grid!important}.admin .native-channel-results .channel-row-actions{grid-template-columns:1fr 1fr!important}}

/* Channel classification editor */
.admin .channel-classification-form{display:block!important;margin:14px 0 0!important}
.admin .channel-classification-form [hidden]{display:none!important}
.admin .classification-layout{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(300px,1.1fr);gap:18px;align-items:stretch}
.admin .classification-groups,.admin .classification-location{min-width:0;margin:0;padding:16px;border:1px solid #dce5e4;border-radius:12px;background:#fff}
.admin .classification-groups legend{float:none;width:auto;margin:0 0 11px;padding:0;color:var(--ink);font-size:13px;font-weight:800}
.admin .classification-group-list{display:grid;gap:8px}
.admin .classification-group-option{display:flex!important;align-items:center;gap:11px;min-height:58px;margin:0!important;padding:10px 12px;border:1px solid #d5dfde;border-radius:10px;background:#fbfdfd;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.admin .classification-group-option:hover{border-color:#8bb2ae;background:#f5faf9}
.admin .classification-group-option:has(input:checked){border-color:var(--brand);background:#eaf5f3;box-shadow:0 0 0 2px rgba(22,123,117,.1)}
.admin .classification-group-option input{flex:0 0 auto;width:18px!important;height:18px!important;min-height:0!important;margin:0;accent-color:var(--brand)}
.admin .classification-group-option span{display:grid;gap:2px;min-width:0}.admin .classification-group-option strong{font-size:13px}.admin .classification-group-option small{font-size:11px;font-weight:550;color:var(--muted)}
.admin .classification-group-option.is-inactive{opacity:.64;cursor:not-allowed}
.admin .classification-groups>small{display:block;margin-top:10px;color:var(--muted);font-size:11px;line-height:1.4}
.admin .classification-location{display:grid;align-content:start;grid-template-columns:1fr 1fr;gap:12px}
.admin .classification-location-heading{grid-column:1/-1;display:grid;gap:2px;padding-bottom:10px;border-bottom:1px solid #edf1f1}.admin .classification-location-heading strong{font-size:13px}.admin .classification-location-heading small{color:var(--muted);font-size:11px}
.admin .classification-location label{display:grid!important;align-content:start;gap:6px;margin:0!important}.admin .classification-location label>span{font-size:12px;font-weight:800}.admin .classification-location select{width:100%;min-height:46px;border:1px solid #c9d5d4;border-radius:9px;background:#fff}.admin .classification-location label>small{font-size:10px;color:var(--muted)}
.admin .classification-location-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:12px;min-height:126px;padding:18px;border:1px dashed #c8d6d4;border-radius:10px;background:#f8fbfa;color:var(--muted)}.admin .classification-location-empty>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#dcecea;color:var(--brand-dark);font-weight:900}.admin .classification-location-empty p{max-width:220px;margin:0;font-size:12px;line-height:1.45}
.admin .classification-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding-top:14px;border-top:1px solid #dfe7e6}.admin .classification-actions>span{max-width:420px;color:var(--muted);font-size:11px;line-height:1.4}.admin .classification-actions button{flex:0 0 auto;margin:0!important}
@media(max-width:720px){.admin .classification-layout{grid-template-columns:1fr}.admin .classification-location{grid-template-columns:1fr}.admin .classification-location-heading,.admin .classification-location-empty{grid-column:1}.admin .classification-actions{align-items:stretch;flex-direction:column}.admin .classification-actions button{width:100%}}

/* Classification workflow v2: compact steps with searchable country. */
.admin .channel-classification-form{margin-top:12px!important;padding:0!important}
.admin .classification-step{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.admin .classification-step+.classification-step{margin-top:18px!important;padding-top:18px!important;border-top:1px solid #dfe7e6!important}
.admin .classification-step-heading{display:flex;align-items:center;gap:10px;margin-bottom:11px}
.admin .classification-step-heading>span{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#dcecea;color:#115f5a;font-size:12px;font-weight:900}
.admin .classification-step-heading>div{display:grid;gap:1px}.admin .classification-step-heading strong{font-size:13px}.admin .classification-step-heading small{color:var(--muted);font-size:10px}
.admin .classification-group-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.admin .classification-group-option{min-height:52px!important;padding:9px 11px!important;border-radius:9px!important;background:#fff!important}
.admin .classification-group-option:has(input:checked){background:#eaf5f3!important}
.admin .classification-group-option strong{font-size:12px!important}.admin .classification-group-option small{font-size:9px!important}
.admin .classification-location-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px}
.admin .classification-location-fields label{display:grid!important;gap:6px;margin:0!important}.admin .classification-location-fields label>span{font-size:11px;font-weight:800}.admin .classification-location-fields :is(input[type=search],select){width:100%;min-height:46px;border:1px solid #c9d5d4;border-radius:9px;background:#fff;padding:0 12px}.admin .classification-location-fields label>small{color:var(--muted);font-size:9px}
.admin .classification-location-empty{grid-column:1/-1;display:block;min-height:0;padding:11px 13px;border:1px dashed #c8d6d4;border-radius:9px;background:#f8fbfa;text-align:left}.admin .classification-location-empty p{max-width:none;margin:0;font-size:11px}
.admin .classification-actions{margin-top:18px!important;padding-top:14px!important}.admin .classification-actions>span{font-size:10px}
@media(max-width:680px){.admin .classification-group-list{grid-template-columns:1fr}.admin .classification-location-fields{grid-template-columns:1fr}.admin .classification-location-empty{grid-column:1}}

/* Web channel modal workspace v2 */
.web-channel-workspace-dialog{width:min(1080px,calc(100vw - 40px));max-height:94vh;padding:0;border:0;border-radius:20px;background:#f6f8f8;box-shadow:0 28px 80px rgba(15,39,42,.24)}
.web-channel-workspace-dialog .web-channel-edit-card{padding:0;max-height:94vh;overflow:auto;background:#f6f8f8}
.web-channel-workspace-dialog .web-channel-edit-header{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 26px;background:rgba(255,255,255,.96);border-bottom:1px solid #d9e2e4;backdrop-filter:blur(10px)}
.web-channel-workspace-dialog .web-channel-edit-eyebrow,.web-channel-workspace-dialog .web-channel-section-kicker{display:block;margin-bottom:3px;color:#397477;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.web-channel-workspace-dialog .web-channel-edit-header h2{margin:0;font-size:25px;line-height:1.15}
.web-channel-workspace-dialog .web-channel-edit-name{margin:5px 0 0;color:#64717d;font-size:15px;font-weight:650}
.web-channel-workspace-dialog .web-channel-edit-close{position:static;flex:0 0 auto;width:42px;height:42px;border-radius:12px;font-size:27px;line-height:1}
.web-channel-workspace-dialog .web-channel-edit-sections{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;padding:20px 24px 24px}
.web-channel-workspace-dialog .web-channel-edit-section{min-width:0;margin:0;padding:20px;border:1px solid #d8e1e3;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(32,59,63,.035)}
.web-channel-workspace-dialog .channel-classification-section{grid-column:1/-1}
.web-channel-workspace-dialog .web-channel-edit-primary{grid-column:span 5}
.web-channel-workspace-dialog .web-channel-logo-section{grid-column:span 7}
.web-channel-workspace-dialog .web-channel-provider-settings{grid-column:1/-1}
.web-channel-workspace-dialog .web-channel-section-heading{margin-bottom:16px}
.web-channel-workspace-dialog .web-channel-section-heading h3{margin:0;color:#142528;font-size:20px;line-height:1.25}
.web-channel-workspace-dialog .web-channel-section-heading p{margin:5px 0 0;color:#66747e;font-size:13px}
.web-channel-workspace-dialog .channel-classification-section>.channel-classification-form{margin-top:0;padding:0;border:0;background:transparent}
.web-channel-workspace-dialog .channel-classification-section>.channel-classification-form>h3,.web-channel-workspace-dialog .channel-classification-section>.channel-classification-form>.classification-intro{display:none}
.web-channel-workspace-dialog .web-channel-profile-form{display:grid;grid-template-columns:1fr;gap:16px;margin:0}
.web-channel-workspace-dialog .web-channel-profile-form label{display:grid;grid-template-columns:1fr;gap:7px;margin:0;color:#17272a;font-weight:750}
.web-channel-workspace-dialog .web-channel-profile-form label>span{font-size:14px}
.web-channel-workspace-dialog .web-channel-profile-form label small{display:block;min-height:34px;color:#707d87;font-size:12px;font-weight:550;line-height:1.4}
.web-channel-workspace-dialog .web-channel-profile-form input,.web-channel-workspace-dialog .web-channel-profile-form select{width:100%;min-width:0}
.web-channel-workspace-dialog .web-channel-profile-form>button{justify-self:start;margin-top:2px}
.web-channel-workspace-dialog .web-channel-logo-section .web-channel-logo-heading{margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e4e9ea}
.web-channel-workspace-dialog .web-channel-logo-section form{display:grid;grid-template-columns:1fr 24px 1fr;gap:12px;align-items:start;margin-top:0}
.web-channel-workspace-dialog .web-channel-logo-section form label{display:grid;gap:7px;margin:0;font-weight:750}
.web-channel-workspace-dialog .web-channel-logo-section form input{width:100%;min-width:0}
.web-channel-workspace-dialog .web-channel-logo-section form small{grid-column:1/-1;margin:0;color:#707d87;line-height:1.4}
.web-channel-workspace-dialog .web-channel-logo-section form>button{grid-column:1/-1;justify-self:start}
@media(max-width:900px){.web-channel-workspace-dialog{width:min(720px,calc(100vw - 24px))}.web-channel-workspace-dialog .web-channel-edit-primary,.web-channel-workspace-dialog .web-channel-logo-section{grid-column:1/-1}}
@media(max-width:620px){.web-channel-workspace-dialog{width:calc(100vw - 12px);max-height:97vh;border-radius:14px}.web-channel-workspace-dialog .web-channel-edit-card{max-height:97vh}.web-channel-workspace-dialog .web-channel-edit-header{padding:16px}.web-channel-workspace-dialog .web-channel-edit-header h2{font-size:21px}.web-channel-workspace-dialog .web-channel-edit-sections{grid-template-columns:1fr;padding:12px;gap:12px}.web-channel-workspace-dialog .web-channel-edit-section{grid-column:1;padding:15px;border-radius:13px}.web-channel-workspace-dialog .web-channel-logo-section form{grid-template-columns:1fr}.web-channel-workspace-dialog .web-channel-logo-divider,.web-channel-workspace-dialog .web-channel-logo-section form small,.web-channel-workspace-dialog .web-channel-logo-section form>button{grid-column:1}.web-channel-workspace-dialog .web-channel-logo-divider{text-align:center}}

/* Compact classification for experienced operators */
.web-channel-workspace-dialog .channel-classification-section{padding:16px 18px}
.web-channel-workspace-dialog .channel-classification-section .web-channel-section-heading{margin-bottom:10px}
.web-channel-workspace-dialog .channel-classification-section .web-channel-section-heading h3{font-size:18px}
.web-channel-workspace-dialog .channel-classification-section .classification-step-heading>span,
.web-channel-workspace-dialog .channel-classification-section .classification-step-heading small,
.web-channel-workspace-dialog .channel-classification-section .classification-group-option small,
.web-channel-workspace-dialog .channel-classification-section .classification-location-fields label>small,
.web-channel-workspace-dialog .channel-classification-section .classification-actions>span{display:none!important}
.web-channel-workspace-dialog .channel-classification-section .classification-step-heading{margin-bottom:8px}
.web-channel-workspace-dialog .channel-classification-section .classification-step-heading strong{font-size:12px}
.web-channel-workspace-dialog .channel-classification-section .classification-step+.classification-step{margin-top:12px!important;padding-top:12px!important}
.web-channel-workspace-dialog .channel-classification-section .classification-group-option{min-height:44px!important;padding:8px 11px!important}
.web-channel-workspace-dialog .channel-classification-section .classification-location-fields :is(input[type=search],select){min-height:42px}
.web-channel-workspace-dialog .channel-classification-section .classification-actions{justify-content:flex-end;margin-top:12px!important;padding-top:12px!important}

/* Ordered classification layout */
.web-channel-workspace-dialog .channel-classification-section .classification-step+.classification-step{display:grid!important;grid-template-columns:minmax(150px,200px) minmax(0,1fr)!important;column-gap:24px;align-items:center}
.web-channel-workspace-dialog .channel-classification-section .classification-step+.classification-step .classification-step-heading{align-self:center;margin:0!important}
.web-channel-workspace-dialog .channel-classification-section .classification-step+.classification-step .classification-location-fields{grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;width:100%}
.web-channel-workspace-dialog .channel-classification-section .classification-location-fields label{gap:5px}
.web-channel-workspace-dialog .channel-classification-section .classification-actions>button{min-width:210px}
@media(max-width:800px){.web-channel-workspace-dialog .channel-classification-section .classification-step+.classification-step{grid-template-columns:1fr!important;row-gap:9px}.web-channel-workspace-dialog .channel-classification-section .classification-step+.classification-step .classification-location-fields{grid-template-columns:1fr}.web-channel-workspace-dialog .channel-classification-section .classification-actions>button{width:100%;min-width:0}}

/* Unified web channel editor */
.web-channel-workspace-dialog .web-channel-unified-form{display:block;margin:0}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-edit-sections{align-items:start;gap:14px;padding:16px 20px}
.web-channel-workspace-dialog .web-channel-unified-form .classification-group-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.web-channel-workspace-dialog .web-channel-unified-form .classification-location-fields [hidden]{display:none!important}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-edit-primary{grid-column:span 5;align-self:start;padding:18px}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section{grid-column:span 7;align-self:start;display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);gap:11px 12px;padding:18px}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-heading{grid-column:1/-1;margin:0 0 2px!important;padding-bottom:12px!important}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section>label:not(.checkbox){display:grid;gap:6px;margin:0;font-weight:750}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section>label:not(.checkbox) input{width:100%;min-width:0}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-divider{align-self:end;padding-bottom:13px;text-align:center}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section>label.checkbox{grid-column:1/-1;display:flex!important;align-items:center;gap:9px;margin:2px 0 0;padding:10px 12px;border-radius:9px;background:#f5f8f8;font-size:12px;font-weight:700}
.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section>label.checkbox input{flex:0 0 18px!important;width:18px!important;height:18px!important;min-height:0!important;margin:0!important}
.web-channel-workspace-dialog .web-channel-provider-settings{margin:0 20px 16px}
.web-channel-workspace-dialog .web-channel-save-actions{position:sticky;bottom:0;z-index:9;display:flex;justify-content:flex-end;padding:12px 20px;background:rgba(255,255,255,.97);border-top:1px solid #d9e2e4;box-shadow:0 -8px 24px rgba(24,48,52,.06);backdrop-filter:blur(10px)}
.web-channel-workspace-dialog .web-channel-save-actions button{min-width:170px}
@media(max-width:900px){.web-channel-workspace-dialog .web-channel-unified-form .classification-group-list{grid-template-columns:repeat(2,minmax(0,1fr))}.web-channel-workspace-dialog .web-channel-unified-form .web-channel-edit-primary,.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section{grid-column:1/-1}}
@media(max-width:620px){.web-channel-workspace-dialog .web-channel-unified-form .classification-group-list,.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section{grid-template-columns:1fr}.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-heading,.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-section>label.checkbox{grid-column:1}.web-channel-workspace-dialog .web-channel-unified-form .web-channel-logo-divider{padding:0}.web-channel-workspace-dialog .web-channel-provider-settings{margin:0 12px 12px}.web-channel-workspace-dialog .web-channel-save-actions{padding:10px 12px}.web-channel-workspace-dialog .web-channel-save-actions button{width:100%}}

.web-channel-workspace-dialog section.web-channel-provider-settings{padding:18px 20px;border:1px solid #d8e1e3;border-radius:16px;background:#fff}
.web-channel-workspace-dialog section.web-channel-provider-settings h3{margin:0 0 14px;font-size:18px}
.web-channel-workspace-dialog section.web-channel-provider-settings form{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:end}
.web-channel-workspace-dialog section.web-channel-provider-settings label{display:grid;gap:6px;margin:0;font-weight:750}
@media(max-width:620px){.web-channel-workspace-dialog section.web-channel-provider-settings form{grid-template-columns:1fr}.web-channel-workspace-dialog section.web-channel-provider-settings button{width:100%}}

/* Global channel editor workspace */
.global-channel-workspace{width:min(1060px,calc(100vw - 32px));max-height:94vh;padding:0;border:0;border-radius:18px;background:#f5f7f7;box-shadow:0 28px 80px rgba(15,39,42,.25)}
.global-channel-workspace .global-channel-edit-card{max-height:94vh;padding:0;overflow:auto;background:#f5f7f7}
.global-channel-workspace .global-channel-edit-header{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid #d9e2e3;background:rgba(255,255,255,.97);backdrop-filter:blur(9px)}
.global-channel-workspace .global-channel-edit-header>div>span{color:#397477;font-size:10px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.global-channel-workspace .global-channel-edit-header h2{margin:2px 0 0;font-size:24px}.global-channel-workspace .global-channel-edit-name{margin:3px 0 0;color:#68747f;font-size:14px;font-weight:650}
.global-channel-workspace .global-channel-edit-close{position:static;width:42px;height:42px;border-radius:11px;font-size:26px}
.global-channel-workspace .global-channel-edit-sections{display:block;padding:16px 20px 12px}.global-channel-workspace .global-channel-edit-section{margin:0;padding:17px;border:1px solid #d8e1e2;border-radius:14px;background:#fff}
.global-channel-workspace .global-channel-section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.global-channel-workspace .global-channel-section-title h3{margin:0;font-size:17px}.global-channel-workspace .global-channel-section-title span{color:#6c7882;font-size:11px}
.global-channel-workspace .global-channel-classification .classification-group-list{grid-template-columns:repeat(4,minmax(0,1fr))}.global-channel-workspace .global-channel-classification .classification-step+.classification-step{display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;align-items:center;gap:18px;margin-top:12px!important;padding-top:12px!important}.global-channel-workspace .global-channel-classification .classification-step-heading{margin:0}.global-channel-workspace .global-channel-classification .classification-location-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.global-channel-workspace .global-channel-edit-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(420px,1.2fr);gap:12px;margin-top:12px}.global-channel-workspace .global-channel-main-data label,.global-channel-workspace .global-channel-logo-data>label:not(.checkbox){display:grid;gap:6px;margin:0;font-weight:750}.global-channel-workspace :is(input,select){min-width:0}
.global-channel-workspace .global-channel-logo-data{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:end;gap:10px}.global-channel-workspace .global-channel-edit-section-heading{grid-column:1/-1;margin:0 0 2px}.global-channel-workspace .global-channel-logo-or{text-align:center;padding-bottom:14px;color:#87929a;font-weight:800}.global-channel-workspace .global-channel-logo-restore{grid-column:1/-1;margin:2px 0 0!important;padding:9px 11px;border-radius:9px;background:#f4f7f7}
.global-channel-workspace .global-channel-save-bar{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:space-between;padding:11px 20px;border-top:1px solid #d9e2e3;background:rgba(255,255,255,.97);box-shadow:0 -7px 22px rgba(24,48,52,.06)}.global-channel-workspace .global-channel-save-bar span{color:#6c7882;font-size:11px}.global-channel-workspace .global-channel-save-bar button{min-width:170px}
.global-channel-workspace .global-channel-secondary{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);gap:12px;padding:0 20px 18px}.global-channel-workspace .global-channel-status{display:flex;align-items:center;justify-content:space-between}.global-channel-workspace .global-channel-status h3{margin:0 0 3px;font-size:16px}.global-channel-workspace .global-channel-status p{margin:0;color:#6c7882;font-size:11px}.global-channel-workspace .global-channel-status form{margin:0}.global-channel-workspace .global-channel-provider form{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:10px}.global-channel-workspace .global-channel-provider label{display:grid;gap:5px;margin:0;font-weight:750}.global-channel-workspace .global-channel-provider button{min-height:44px}
@media(max-width:780px){.global-channel-workspace{width:calc(100vw - 12px);max-height:97vh}.global-channel-workspace .global-channel-edit-card{max-height:97vh}.global-channel-workspace .global-channel-classification .classification-group-list{grid-template-columns:repeat(2,minmax(0,1fr))}.global-channel-workspace .global-channel-classification .classification-step+.classification-step,.global-channel-workspace .global-channel-edit-grid,.global-channel-workspace .global-channel-secondary{grid-template-columns:1fr!important}.global-channel-workspace .global-channel-logo-data{grid-template-columns:1fr}.global-channel-workspace .global-channel-logo-data>*{grid-column:1!important}.global-channel-workspace .global-channel-logo-or{padding:0}.global-channel-workspace .global-channel-provider form{grid-template-columns:1fr}.global-channel-workspace .global-channel-save-bar span{display:none}.global-channel-workspace .global-channel-save-bar button{width:100%}}

/* Native channel editor aligned with the web workspace */
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-edit-primary>.native-channel-original-name{margin:-7px 0 14px;color:#6c7882;font-size:12px}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-edit-primary>.source-form{display:grid;grid-template-columns:1fr;gap:14px;margin:0}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-edit-primary>.source-form label{display:grid;gap:7px;margin:0;font-weight:750}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-edit-primary>.source-form input{width:100%;min-width:0}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-edit-primary>.source-form button{justify-self:start}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-provider-settings dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-provider-settings dl>div{padding:12px 14px;border:1px solid #e1e7e8;border-radius:11px;background:#f7faf9}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-provider-settings dt{margin-bottom:4px;color:#6b7780;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-provider-settings dd{margin:0;color:#17272a;font-weight:750}
@media(max-width:620px){.web-channel-workspace-dialog.native-channel-edit-dialog .native-channel-provider-settings dl{grid-template-columns:1fr}}

/* Source channel identifiers remain fully readable and easy to copy. */
.admin .web-channel-results .channel-signal-id,.admin .channel-list .channel-signal-id{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:5px;align-items:start;max-width:100%;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;color:#66757b;font-size:9px;font-weight:800}
.admin .channel-signal-id>span{padding-top:1px;color:#66757b;letter-spacing:.04em}
.admin .channel-signal-id>code{display:block;min-width:0;max-width:100%;overflow:visible;text-overflow:clip;white-space:normal;overflow-wrap:anywhere;word-break:break-all;color:#a83c75;font-size:10px;line-height:1.35;user-select:all;-webkit-user-select:all}
.channel-profile-signal{display:flex;align-items:center;gap:5px;min-width:0}.channel-profile-signal>span{color:var(--muted);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.channel-profile-signal>code{max-width:100%;overflow:hidden;color:#325f61;font-size:11px;text-overflow:ellipsis;white-space:nowrap;cursor:text;user-select:text}.channel-profile-signal>code:focus-visible{outline:2px solid rgba(55,111,112,.35);outline-offset:3px;border-radius:2px}

/* September 2026: shared, accessible panel presentation.
   Keep the schedule timeline geometry; ordinary tables become cards on phones. */
:root{--nav:#102a43;--nav-deep:#0b1f33;--nav-hover:#1b3b55;--brand:#11776e;--brand-dark:#075b54;--brand-soft:#e6f4f0;--accent:#11776e;--canvas:#f2f6fa;--bg:#f2f6fa;--ink:#19324a;--muted:#526779;--line:#dce5ed;--line-strong:#bccbd8;--radius:14px;--radius-lg:20px;--sidebar:252px;--shadow-sm:0 3px 16px #16334b06}
body.admin,body.auth{font-size:14px;line-height:1.6}
.admin .content{width:100%!important;max-width:none!important;justify-self:stretch;min-width:0;padding:28px 32px 48px!important}
.admin .content>header{gap:16px;padding-bottom:20px;margin-bottom:24px!important}
.admin .content>header h1{font-size:clamp(23px,2.2vw,32px)!important;line-height:1.2;letter-spacing:-.025em!important}
.admin .page-heading{min-width:0}.admin .page-heading .eyebrow{font-size:10px;letter-spacing:.12em;color:var(--muted)}
.admin .app>aside{padding:24px 16px!important}.admin .app>aside nav a{min-height:44px;font-size:14px!important;border-radius:10px!important}
.admin .app>aside nav a.is-active{background:#214c63!important;box-shadow:inset 0 0 0 1px #4b7189}
.admin .sidebar-caption,.admin .nav-section{color:#a7becd!important;font-size:10px!important;letter-spacing:.09em!important}
.admin .nav-section{margin-top:20px!important}.admin .system-indicator{color:#b7cad7;font-size:11px}
.admin .sidebar-footer .quiet{color:#d1dee7;font-size:13px}
.admin .panel,.admin .filters,.admin .empty,.admin .notice{border-radius:14px!important}
.admin .panel{padding:22px!important}.admin .panel h2{font-size:19px;line-height:1.35}.admin .panel h3{font-size:16px}
.admin .muted{color:var(--muted);font-size:13px!important;line-height:1.6}
.admin .eyebrow{font-size:10px;letter-spacing:.1em}.admin small{font-size:12px;line-height:1.5}
.admin .filters{display:flex!important;flex-wrap:wrap;align-items:flex-end;gap:14px;padding:18px!important}
.admin .filters>label{flex:1 1 170px;min-width:0;margin:0;font-size:13px}
.admin .filters>label:first-of-type{flex-grow:2}.admin .filters>button,.admin .filters>.action-link{flex:0 0 auto}
.admin label,.auth label{font-size:13px;line-height:1.5;color:var(--ink)}
.admin input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin select,.admin textarea,.auth input{max-width:100%;min-width:0;min-height:44px;height:auto;font-size:14px!important;padding:10px 12px!important;border-radius:9px!important;background:#fff;color:var(--ink)}
.admin input[type=checkbox],.admin input[type=radio]{accent-color:var(--brand);width:18px;height:18px;min-height:0}
.admin :is(button,.action-link,.header-back),.auth button{min-height:42px;border-radius:9px!important;font-size:13px;line-height:1.3;padding:10px 14px}
.admin button:disabled{cursor:not-allowed;opacity:.6}
.admin :is(button,.action-link,summary,a,input,select,textarea):focus-visible,.auth :is(button,a,input):focus-visible{outline:3px solid #247bb7!important;outline-offset:3px}
.admin .table-wrap{max-width:100%;border:1px solid var(--line);border-radius:12px;overflow:auto}
.admin .table-wrap th{padding:13px 14px!important;background:#f0f5f9;color:#4d6274;font-size:11px!important;line-height:1.4;letter-spacing:.035em}
.admin .table-wrap td{padding:14px 16px!important;font-size:14px;line-height:1.5;overflow-wrap:break-word}
.admin .table-wrap tbody tr:hover{background:#f4f9fc}
.admin .table-wrap td small{font-size:12px!important;color:var(--muted)}
.admin .table-wrap td strong,.admin .channel-identity strong{font-size:15px!important;line-height:1.45}
.admin .status-badge{min-height:27px;padding:4px 9px!important;border-radius:999px!important;font-size:11px!important;line-height:1.4}
.admin .status-badge.is-positive{background:#e5f4ed;color:#155c40}.admin .status-badge.is-warning{background:#fff2d9;color:#805200}.admin .status-badge.is-danger{background:#feeaed;color:#a42c43}
.admin .source-row-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
.admin .global-channel-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 88px;gap:8px;min-width:0}
.admin .client-list-actions{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;min-width:218px!important}
.admin .source-row-actions :is(button,.action-link),.admin .global-channel-actions :is(button,.action-link),.admin .client-list-actions .action-link{min-height:40px;font-size:12px!important;white-space:normal}
.admin .source-row-actions form{margin:0}.admin .channel-remove-action{color:#a42c43!important;background:#fff2f4!important;border-color:#edc5cd!important}
.admin .global-channel-quick-control,.admin .channel-edit-trigger{min-height:40px!important;font-size:12px!important}
.admin .global-channel-state>span>small{display:none}
.admin .global-channel-actions .channel-edit-trigger strong{font-size:13px!important}
.admin .source-list table{min-width:850px!important}.admin .source-list th:first-child{width:23%}
.admin .sources-hero{gap:24px;padding:26px!important;margin-bottom:20px!important;border:1px solid #c8dce7!important;border-radius:18px!important;background:linear-gradient(115deg,#eaf3fb,#eaf6f2)!important;color:var(--ink)!important}
.admin .sources-hero .eyebrow{color:#37677c!important;font-size:10px!important}.admin .sources-hero p:not(.eyebrow){font-size:15px!important;color:#395a6c!important}
.admin .sources-summary{border:0;gap:12px}.admin .sources-summary div{min-width:98px;padding:4px 16px;border-color:#c5dbe4}
.admin .sources-summary strong{font-size:30px;color:#174c62}.admin .sources-summary span{font-size:10px;color:#456073}
.admin .dashboard-welcome{padding:26px;border-radius:18px;background:linear-gradient(115deg,#eaf3fb,#eaf6f2)}
.admin .kpi-card{padding:20px!important;border-radius:14px!important}.admin .kpi-card p{font-size:12px}.admin .kpi-card strong{font-size:30px!important}.admin .kpi-card small{white-space:normal;font-size:12px}
.admin .source-health-copy strong{font-size:14px}.admin .source-health-copy small,.admin .source-health-meta small{font-size:12px}
.admin .pager,.admin .pagination{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;padding-top:16px}
.admin .pager a,.admin .pagination a{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--brand-dark)}
.admin .table-heading,.admin .section-heading{gap:16px;flex-wrap:wrap;margin-bottom:16px}
.admin .signal-reference{margin-top:5px;max-width:100%;font-size:11px;color:var(--muted)}
.admin .signal-reference summary{min-height:28px;font-size:11px;cursor:pointer;white-space:normal}
.admin .signal-reference .channel-signal-id{display:block!important;white-space:normal!important;overflow-wrap:anywhere}
.admin details.technical-details{padding:14px;border:1px solid var(--line);border-radius:10px;background:#f8fafc}
.admin summary{cursor:pointer;line-height:1.5}.admin code{overflow-wrap:anywhere;white-space:normal}
.admin .source-form,.admin .form-grid,.admin .decision-card{min-width:0}.admin .source-form label{margin-bottom:14px}
.admin .form-grid{gap:16px}.admin .source-form details{background:#f8fafc;border-radius:12px}
.admin dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
.admin dialog::backdrop{background:#102a4380;backdrop-filter:blur(3px)}
.admin .epg-toolbar-v3 label,.admin .epg-toolbar-v3 summary{font-size:12px!important}.admin .epg-scroll-hint{font-size:12px}
.admin .epg-guide{overscroll-behavior-x:contain}.admin .channel-profile-title h2{line-height:1.3}
.admin .schedule-item strong{font-size:14px}.admin .schedule-item :is(small,span){font-size:12px}.admin .channel-now-description{font-size:13px!important}
.skip-link{position:fixed;left:16px;top:-100px;z-index:1000;background:#fff;color:#102a43;padding:12px 18px;border-radius:8px}.skip-link:focus{top:12px}
body.auth{background:radial-gradient(ellipse at top left,#d7eee9,transparent 55%),linear-gradient(135deg,#edf4fb,#f6f9fc)!important}
.auth .login-shell{min-height:100dvh;padding:28px 20px;display:grid;place-items:center}
.auth .login-card{width:min(100%,440px);padding:38px!important;border:1px solid #d8e5ed!important;border-radius:24px!important;box-shadow:0 24px 70px #18395314!important;background:#fff}
.auth .login-card .brand-mark{width:52px;height:52px;margin-bottom:24px;border-radius:14px!important;background:linear-gradient(135deg,#175a78,#118476)!important;color:#fff;font-weight:800;font-size:20px}
.auth .login-card .eyebrow{color:#437084;font-size:11px;letter-spacing:.15em}.auth .login-card h1{margin:8px 0 12px;font-size:29px;line-height:1.2;color:#18364b;letter-spacing:-.025em}
.auth .login-card .muted{font-size:14px;color:#536c7e;margin-bottom:28px}.auth .login-card form{display:grid;gap:18px}.auth .login-card label{display:grid;gap:7px;margin:0}
.auth .login-card button{width:100%;min-height:48px;margin-top:6px;font-weight:700;background:#11776e;color:#fff}.auth .login-card button:hover{background:#075b54}
.auth .alert{font-size:14px;border-radius:10px;background:#fff0f2;color:#9b243c}
@media(min-width:821px) and (max-width:1150px){:root{--sidebar:220px}.admin .content{padding:24px 20px!important}.admin .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin .dashboard-grid,.admin .dashboard-grid.lower{grid-template-columns:1fr}.admin .sources-hero{flex-wrap:wrap!important}.admin .sources-summary{width:100%}}
@media(max-width:820px){
 .admin .content{padding:20px 16px 36px!important}.admin .content>header{gap:10px;flex-wrap:wrap;padding-bottom:16px}.admin .page-heading{flex:1}.admin .content>header h1{font-size:24px!important}
 .admin .sidebar-toggle,.admin .sidebar-close{width:44px;height:44px;min-height:44px;flex-basis:44px}.admin .header-back{order:4;margin-left:54px;min-height:38px}.admin .user{margin-left:auto}
 .admin .app>aside{height:100dvh}.admin .sources-hero{flex-direction:column!important;align-items:stretch!important;padding:22px!important;gap:18px}
 .admin .sources-summary{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:0}.admin .sources-summary div{min-width:0;padding:0 12px}.admin .sources-summary div:first-child{padding-left:0}.admin .sources-summary strong{font-size:28px}
 .admin .dashboard-grid,.admin .dashboard-grid.lower,.admin .split,.admin .evidence-grid,.admin .decisions{grid-template-columns:minmax(0,1fr)!important}
 .admin .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin .kpi-card{padding:16px!important;gap:10px;flex-wrap:wrap}
 .admin .form-grid{grid-template-columns:minmax(0,1fr)!important}.admin .panel{padding:18px!important}
}
@media(max-width:700px){
 .admin .filter-options{width:100%;flex-basis:100%;border:1px solid var(--line);border-radius:9px;background:#f7fafc}.admin .filter-options>summary{min-height:44px;padding:11px 12px;font-size:14px;font-weight:650;color:var(--ink)}.admin .filter-options>div{display:grid;gap:14px;padding:4px 12px 14px}.admin .filter-options label{display:grid;gap:6px;width:100%;margin:0}.admin .filter-options select{width:100%}.admin .global-channel-list .channel-list-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}.admin .global-channel-list .channel-result-count{min-width:40px}
 .admin .filters>label,.admin .filters>button,.admin .filters>.action-link{flex-basis:100%;width:100%}
 .admin .table-wrap{border:0;background:transparent;overflow:visible}
 .admin .table-wrap table{display:block;width:100%!important;min-width:0!important;table-layout:auto}
 .admin .table-wrap thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .admin .table-wrap table.has-sort thead{position:static;width:auto;height:auto;clip-path:none;overflow:auto;display:block;margin-bottom:10px;border-radius:9px}
 .admin .table-wrap table.has-sort thead tr{display:flex;gap:0;padding:0;border:0;background:#edf3f8;box-shadow:none}
 .admin .table-wrap table.has-sort th{display:none!important;flex:0 0 auto;width:auto!important}
 .admin .table-wrap table.has-sort th:has(a){display:block!important}.admin .sort-link{display:inline-flex;min-height:28px;align-items:center}
 .admin .table-wrap tbody{display:grid;gap:14px}.admin .table-wrap tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:17px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 3px 12px #173a5206}
 .admin .table-wrap tbody td{display:block!important;width:auto!important;min-width:0;max-width:none;padding:0!important;border:0!important;white-space:normal!important;text-align:left!important;overflow:visible!important}
 .admin .table-wrap tbody td::before{content:attr(data-label);display:block;margin-bottom:5px;color:#536d80;font-size:10px;line-height:1.3;font-weight:750;letter-spacing:.025em}
 .admin .table-wrap td:first-child,.admin .table-wrap td[data-label="Canal"],.admin .table-wrap td[data-label="Acciones"],.admin .table-wrap td[colspan]{grid-column:1/-1}
 .admin .table-wrap td[colspan]::before{display:none}.admin .table-wrap td[data-label="Acciones"]{padding-top:12px!important;border-top:1px solid var(--line)!important}
 .admin .source-row-actions,.admin .global-channel-actions,.admin .client-list-actions{width:100%}.admin .source-row-actions>*{flex:1 1 auto}
 .admin .source-row-actions :is(button,.action-link),.admin .global-channel-actions :is(button,.action-link),.admin .client-list-actions .action-link{min-height:44px!important;padding:10px 12px!important}
 .admin .source-row-actions form button{width:100%}.admin .global-channel-main{gap:12px}.admin .channel-identity strong{white-space:normal!important}
 .admin .table-heading{align-items:flex-start}.admin .table-heading>.action-link{width:100%}.admin .pager>span{flex-basis:100%}
 .admin .manual-agenda-item,.admin .manual-channel-header{display:flex;flex-direction:column;align-items:stretch;gap:14px}.admin .manual-tools{grid-template-columns:1fr}.admin .manual-day-nav input{width:100%}
 .admin .xui-mirror-card{grid-template-columns:minmax(0,1fr)!important}.admin .xui-mirror-summary{flex-wrap:wrap}.admin .xui-mirror-copy{min-width:0}
 .admin .source-operation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin .source-operation-actions{flex-wrap:wrap}.admin .source-operation-actions form{width:100%}
 .auth .login-card{padding:28px!important}.auth .login-card h1{font-size:26px}
}
@media(prefers-reduced-motion:reduce){.admin *,.auth *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Source actions stay compact while retaining comfortable touch targets. */
.admin .source-list .source-row-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}
.admin .source-list .source-row-actions .action-link{width:100%;padding:8px!important}
.admin .sources-summary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex-direction:row!important}
@media(max-width:700px){.admin .sources-summary div{border:0!important;border-left:1px solid #c5dbe4!important;padding:0 10px!important;min-width:0}.admin .sources-summary div:first-child{border:0!important;padding-left:0!important}.admin .sources-summary span{font-size:10px!important}.admin .sources-summary strong{font-size:25px!important}.admin .sources-hero{padding:20px!important}.admin .sources-hero p:not(.eyebrow){font-size:14px!important}}
@media(max-width:700px){.admin .source-form{grid-template-columns:minmax(0,1fr)!important;max-width:100%}.admin .source-form>*{min-width:0;max-width:100%;grid-column:1!important}.admin .source-form button{width:100%}.admin .source-form input,.admin .source-form select,.admin .source-form textarea{width:100%}.admin .source-form input[type=checkbox],.admin .source-form input[type=radio]{width:18px}.admin .source-form details label{max-width:100%}.admin .decision-card{padding:18px}.admin .review-heading{flex-wrap:wrap}}
.admin .content .web-channel-header-card .web-channel-filters{display:flex!important;flex-wrap:wrap;gap:12px!important;width:100%}
.admin .content .web-channel-header-card .web-channel-filters label{flex:1 1 140px!important;font-size:13px!important}
.admin .content .web-channel-header-card .web-channel-filters label:first-child{flex-basis:240px!important}
.admin .content .web-channel-header-card .web-channel-filters :is(button,.action-link){min-width:0!important}
.admin .client-profile-main .client-eyebrow{color:#496779!important}
@media(max-width:700px){
 .admin .content .web-channel-header-card .web-channel-tools-grid{grid-template-columns:minmax(0,1fr)!important}
 .admin .content .web-channel-header-card .web-channel-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 .admin .content .web-channel-header-card .web-channel-filters>*{grid-column:1!important;width:100%!important;max-width:100%!important}
 .admin .content .web-channel-header-card .web-channel-search-block,.admin .content .web-channel-header-card .web-add-channel,.admin .content .web-channel-header-card .source-channel-context{padding:16px!important}
 .admin .content .web-channel-header-card .web-add-form{padding:0!important}.admin .content .web-channel-header-card .web-add-form label{width:100%}
}
@media(max-width:700px){.admin input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.admin select,.admin textarea,.auth input{font-size:16px!important}}
.admin .content .web-channel-header-card.source-channel-workspace{padding:0!important;overflow:visible!important}
.admin .content .web-channel-header-card.source-channel-workspace .web-channel-filters{display:flex!important;flex-wrap:wrap;gap:12px!important}
.admin .content .web-channel-header-card.source-channel-workspace .source-channel-topbar{height:auto!important;min-height:68px;flex-wrap:wrap}
@media(max-width:700px){
 .admin .content .web-channel-header-card.source-channel-workspace .source-channel-topbar{gap:12px!important;padding:16px!important}
 .admin .content .web-channel-header-card.source-channel-workspace .source-channel-context,.admin .content .web-channel-header-card.source-channel-workspace .web-add-channel{padding:0!important;border:0!important;background:transparent!important}
 .admin .content .web-channel-header-card.source-channel-workspace .web-channel-filters{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 .admin .content .web-channel-header-card.source-channel-workspace .web-channel-filters label:nth-of-type(n),.admin .content .web-channel-header-card.source-channel-workspace .web-channel-filters button{grid-column:1!important;grid-row:auto!important;width:100%!important}
 .admin .content .web-channel-header-card.source-channel-workspace .web-channel-filters :is(input,select){width:100%!important;max-width:100%!important}
}
.admin .channel-breadcrumb a{color:#38637a}.admin .channel-breadcrumb a:hover{color:#0b504a}
@media(max-width:700px){
 .admin .content .epg-toolbar-v3 .epg-guide-filters,.admin .content .epg-toolbar-v3 .epg-guide-filters.is-source{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}
 .admin .content .epg-toolbar-v3 .epg-guide-filters>*{grid-column:1!important;grid-row:auto!important;width:100%!important;min-width:0!important}
 .admin .content .epg-toolbar-v3 .epg-filter-tools{grid-template-columns:minmax(0,1fr)!important;min-width:0}
 .admin .content .epg-toolbar-v3 .epg-guide-filters :is(input,select,button){max-width:100%!important;min-width:0!important}
}

/* Channel catalog: classification and guide coverage are first-class columns. */
.admin .global-channel-list .channel-list-heading{padding:0 0 12px;margin-bottom:8px;align-items:center}
.admin .global-channel-list .channel-list-heading h2{font-size:16px;margin:0}
.admin .global-channel-list .channel-list-heading p{margin:4px 0 0}
.admin .global-channel-list .channel-result-count{display:flex;align-items:baseline;gap:7px}
.admin .global-channel-list .channel-result-count span{font-size:12px;text-transform:none;letter-spacing:0}
.admin .global-channel-list .channel-group-tags{display:flex;flex-wrap:wrap;gap:4px}
.admin .global-channel-list .channel-group-tags>span{display:inline-block;padding:3px 8px;border-radius:5px;background:#edf2fa;color:#3d5375;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.admin .global-channel-list .channel-location,.admin .global-channel-list .channel-coverage{display:grid;gap:4px}
.admin .global-channel-list .channel-location small,.admin .global-channel-list .channel-coverage small{font-size:12px;color:#607287;line-height:1.4}
.admin .global-channel-list .coverage-available{color:#24665a;font-weight:600}
.admin .global-channel-list .global-channel-origin strong{font-weight:500;white-space:normal;overflow-wrap:anywhere}
.admin .global-channel-list .global-channel-main{grid-template-columns:44px minmax(0,1fr);gap:10px}
.admin .global-channel-list .global-channel-logo{width:44px;height:44px}
.admin .global-channel-list .logo-preview-trigger{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;padding:4px!important;background:#e9eef3!important}
.admin .global-channel-list .logo-preview-trigger .source-logo{width:34px!important;height:34px!important}
@media(min-width:701px){
 .admin .global-channel-list .table-wrap{overflow-x:auto}
 .admin .global-channel-list table{min-width:1320px!important;table-layout:fixed}
 .admin .global-channel-list th:nth-child(1){width:6%}
 .admin .global-channel-list th:nth-child(2){width:24%}
 .admin .global-channel-list th:nth-child(3){width:12%}
 .admin .global-channel-list th:nth-child(4){width:11%}
 .admin .global-channel-list th:nth-child(5){width:12%}
 .admin .global-channel-list th:nth-child(6){width:12%}
 .admin .global-channel-list th:nth-child(7){width:8%}
 .admin .global-channel-list th:nth-child(8){width:15%}
 .admin .global-channel-list th,.admin .global-channel-list td{display:table-cell!important}
 .admin .global-channel-list .table-wrap td{padding:10px 12px!important;vertical-align:middle}
 .admin .global-channel-list .global-channel-actions{grid-template-columns:minmax(0,1fr) 72px;max-width:260px;width:100%;gap:6px}
 .admin .global-channel-list .global-channel-actions>.action-link,.admin .global-channel-list .global-channel-actions>.channel-edit-trigger{padding:8px 6px!important;font-size:12px!important;white-space:nowrap}
}
@media(max-width:700px){
 .admin .global-channel-list td[data-label="País"]{display:block!important}
 .admin .global-channel-list .channel-list-heading p{display:none}
 .admin .global-channel-list .channel-result-count{display:grid;gap:0}
}

/* Keep the support identifier visible and selectable without widening the row. */
.admin .global-channel-list .channel-visible-id{display:flex;align-items:baseline;gap:5px;margin-top:5px;min-width:0;color:#65758a;font-size:11px;font-weight:400;line-height:1.5}
.admin .global-channel-list .channel-visible-id code{min-width:0;color:inherit;background:none;padding:0;font-size:11px;white-space:normal;overflow-wrap:anywhere;word-break:normal;user-select:all;cursor:text}

/* Shared catalog treatment for sources, providers and internal workspaces. */
.admin .record-id,.admin .channel-signal-id{display:flex!important;align-items:baseline;gap:5px;min-width:0;max-width:100%;margin-top:5px;font-weight:400!important;font-size:11px!important;line-height:1.5;color:#65758a!important}
.admin .record-id code,.admin .channel-signal-id>code{min-width:0;font-size:11px!important;font-weight:400;color:inherit!important;background:none;padding:0;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;user-select:all}
.admin .record-id>span,.admin .channel-signal-id>span{flex-shrink:0;font-weight:400;letter-spacing:0}
.admin .channel-profile-signal{flex-wrap:wrap}
.admin .channel-profile-signal>code{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
.admin .table-heading{gap:16px;align-items:center;margin-bottom:14px}
.admin .table-heading h2{margin:0;font-size:17px}
.admin .table-heading p{margin:4px 0 0}
.admin .table-wrap tbody tr:hover{background:#f6fafc}
.admin .table-wrap td{vertical-align:middle}
.admin .source-row-actions{align-items:center;gap:8px}
.admin .provider-list .source-row-actions{display:flex;flex-wrap:wrap}
.admin .provider-list .source-row-actions a{min-width:92px;text-align:center}
.admin .manual-channel-workspace,.admin .manual-schedule-workspace{display:grid;gap:20px;align-items:start;min-width:0}
.admin .manual-channel-workspace>*,.admin .manual-schedule-workspace>*{min-width:0}
.admin .manual-channel-editor .source-form,.admin .manual-event-editor .source-form{max-width:none}
.admin .manual-channel-editor h2,.admin .manual-event-editor h2{font-size:19px}
.admin .manual-day-nav{display:flex;gap:10px;align-items:center;margin:18px 0}
.admin .manual-day-nav>a{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line-strong);background:white;border-radius:8px;text-decoration:none;font-size:22px}
.admin .channel-groups-page{align-items:start}
.admin .channel-group-card>header{margin:0!important}
.admin .content>.panel>.source-form{max-width:1160px}
@media(min-width:701px){
 .admin :is(.source-list,.provider-list,.country-admin-list,.subdivision-admin,.manual-channel-list) .table-wrap{overflow-x:auto}
 .admin .source-list table{table-layout:fixed;min-width:1320px!important;width:100%}
 .admin .source-list th:nth-child(1){width:24%}.admin .source-list th:nth-child(2){width:12%}.admin .source-list th:nth-child(3){width:8%}.admin .source-list th:nth-child(4){width:10%}.admin .source-list th:nth-child(5){width:14%}.admin .source-list th:nth-child(6){width:14%}.admin .source-list th:nth-child(7){width:18%}
 .admin .source-list .source-row-actions{display:grid!important;grid-template-columns:1fr 1fr;max-width:280px;min-width:0!important;width:100%}
 .admin .source-list .source-row-actions a{padding:8px!important;font-size:12px;white-space:nowrap}
 .admin .source-list td{padding:12px!important}
 .admin .provider-list table{table-layout:fixed;min-width:880px;width:100%}
 .admin .provider-list th:nth-child(1){width:30%}.admin .provider-list th:nth-child(2){width:18%}.admin .provider-list th:nth-child(3){width:14%}.admin .provider-list th:nth-child(4),.admin .provider-list th:nth-child(5){width:8%}.admin .provider-list th:nth-child(6){width:22%}
 .admin .manual-channel-list table{min-width:900px}
 .admin .country-admin-list table,.admin .subdivision-admin table{table-layout:fixed;min-width:1100px}
 .admin .country-admin-list th:nth-child(1){width:23%}.admin .country-admin-list th:nth-child(2){width:10%}.admin .country-admin-list th:nth-child(3){width:15%}.admin .country-admin-list th:nth-child(4){width:10%}.admin .country-admin-list th:nth-child(5){width:42%}
 .admin .country-row-action,.admin .subdivision-row-action{min-width:0;max-width:720px}
 .admin .country-row-action{grid-template-columns:minmax(140px,1fr) 76px auto}
 .admin .content[data-page$="audit"] table{table-layout:fixed;min-width:1000px}
 .admin .content[data-page$="audit"] td{overflow-wrap:anywhere}
 .admin .content[data-page$="audit"] .technical-details dl{display:grid;gap:8px}
}
@media(min-width:1600px){
 .admin .manual-channel-workspace{grid-template-columns:minmax(0,1fr) 400px}
 .admin .manual-schedule-workspace{grid-template-columns:minmax(0,1fr) 460px}
 .admin .manual-channel-editor .form-grid,.admin .manual-event-editor .form-grid{grid-template-columns:1fr 1fr}
 .admin .channel-groups-page{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin .channel-group-create,.admin .channel-groups-empty{grid-column:1/-1}
 .admin .sources-hero{padding:20px 24px!important}
 .admin .web-channel-results td,.admin .native-channel-list td{padding-top:10px!important;padding-bottom:10px!important}
}
@media(max-width:700px){
 .admin .source-list td,.admin .provider-list td,.admin .manual-channel-list td{min-width:0;overflow-wrap:anywhere}
 .admin .source-list td[data-label="Territorios"]{display:block!important}
 .admin .source-list td[data-label="Acciones"],.admin .provider-list td[data-label="Acciones"],.admin .manual-channel-list td[data-label="Acciones"]{grid-column:1/-1!important}
 .admin .manual-channel-list td:first-child,.admin .provider-list td:first-child{grid-column:1/-1!important}
 .admin .country-row-action,.admin .subdivision-row-action{min-width:0!important;width:100%;max-width:100%}
 .admin .country-row-buttons,.admin .subdivision-row-buttons{flex-wrap:wrap}
 .admin .source-list .source-row-actions{display:grid!important;grid-template-columns:1fr 1fr;min-width:0!important;width:100%}
 .admin .source-list .source-row-actions a{min-width:0!important;width:100%;padding:9px!important}
}
.admin :is(.manual-channel-editor,.manual-event-editor) .source-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0;gap:14px}
.admin :is(.manual-channel-editor,.manual-event-editor) .source-form>*{min-width:0;max-width:100%;grid-column:1!important}
.admin :is(.manual-channel-editor,.manual-event-editor) .source-form label{display:grid;gap:6px}
.admin :is(.manual-channel-editor,.manual-event-editor) .source-form input,.admin :is(.manual-channel-editor,.manual-event-editor) .source-form select{width:100%}
.admin :is(.manual-channel-editor,.manual-event-editor) .form-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;min-width:0}
@media(min-width:701px){
 .admin .subdivision-admin th:nth-child(1){width:23%}.admin .subdivision-admin th:nth-child(2){width:10%}.admin .subdivision-admin th:nth-child(3){width:15%}.admin .subdivision-admin th:nth-child(4){width:10%}.admin .subdivision-admin th:nth-child(5){width:42%}
}
.admin :is(.manual-channel-editor,.manual-event-editor) .source-form label{margin:0!important}
.admin :is(.manual-channel-editor,.manual-event-editor) .form-grid{gap:14px;margin:0}
@media(max-width:700px){
 .admin .country-admin-list td[data-label="Administrar"],.admin .subdivision-admin td[data-label="Administrar"]{grid-column:1/-1!important;border-top:1px solid var(--line);padding-top:12px!important}
}
@media(min-width:701px){
 .admin .station-catalog .table-wrap{overflow-x:auto}
 .admin .station-catalog table{table-layout:fixed;min-width:1320px}
 .admin .station-catalog th:nth-child(1){width:5%}.admin .station-catalog th:nth-child(2){width:22%}.admin .station-catalog th:nth-child(3){width:10%}.admin .station-catalog th:nth-child(4){width:12%}.admin .station-catalog th:nth-child(5){width:6%}.admin .station-catalog th:nth-child(6){width:10%}.admin .station-catalog th:nth-child(7),.admin .station-catalog th:nth-child(8){width:12%}.admin .station-catalog th:nth-child(9){width:11%}
}
@media(max-width:700px){.admin .station-catalog td[data-label="Canal"],.admin .station-catalog td[data-label="Acción"]{grid-column:1/-1!important}}

/* Put the source search and useful totals in one compact toolbar. */
.admin .source-list-toolbar{display:flex;align-items:center;gap:24px;padding:14px 18px;margin-bottom:16px;border:1px solid var(--line);border-radius:12px;background:#fff}
.admin .source-list-toolbar .source-search{flex:1;min-width:0;margin:0!important;padding:0!important;border:0;background:none;box-shadow:none}
.admin .source-list-toolbar .source-search label{flex-basis:240px}
.admin .source-toolbar-counts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;max-width:520px;color:var(--muted);font-size:12px}
.admin .source-toolbar-counts span{white-space:nowrap}
.admin .source-toolbar-counts strong{color:var(--ink);font-size:16px;margin-right:4px}
.admin .source-list>.table-heading{display:none}
.admin .content[data-page="/admin/sources"]>header,.admin .content[data-page="/admin/sources/channels"]>header{margin-bottom:16px!important;padding-bottom:14px}
.admin .web-channel-header-card.source-channel-workspace .source-channel-topbar{height:auto!important;min-height:0!important;padding:8px 16px!important}
.admin .web-channel-header-card.source-channel-workspace .web-channel-search-block{padding:12px 16px!important}
.admin .web-channel-header-card.source-channel-workspace .source-channel-context small{display:none}
.admin .web-channel-header-card.source-channel-workspace .source-channel-context>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px}
@media(max-width:1000px){.admin .source-list-toolbar{flex-wrap:wrap;gap:10px}.admin .source-list-toolbar .source-search{flex-basis:100%}.admin .source-toolbar-counts{max-width:none;gap:6px 16px}}
@media(max-width:700px){.admin .source-list-toolbar{padding:14px}.admin .source-toolbar-counts{font-size:11px}.admin .source-toolbar-counts strong{font-size:14px}}
