/* Sponsorova YouTube Intelligence v027. All selectors scoped; no public global resets. */
.yt-admin{width:min(1500px,calc(100% - 52px));margin:30px auto 68px;color:#162c54;min-width:0}
.yt-admin *,.yt-public *{box-sizing:border-box}
.yt-banner{display:flex;gap:35px;align-items:center;justify-content:space-between;background:radial-gradient(circle at 90% 20%,rgba(41,230,242,.18),transparent 45%),linear-gradient(110deg,#071e54,#12377f 70%,#0c559c);border-radius:26px;padding:36px 40px;color:#fff;box-shadow:0 18px 40px rgba(10,40,90,.15)}
.yt-overline{display:block;color:#54e5ec;font-size:12px;letter-spacing:.14em;font-weight:800;margin-bottom:13px}
.yt-banner h1{color:#fff;font-size:clamp(26px,2.7vw,40px);margin:0 0 9px;letter-spacing:-.03em}
.yt-banner p{color:#c8daf5;font-size:14px;max-width:590px;line-height:1.7;margin:0 0 15px}
.yt-banner .yt-link{color:#89f2fb;font-size:13px;text-decoration:none;font-weight:700}
.yt-banner-stats{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));gap:11px;flex:0 0 auto}
.yt-banner-stats>div{padding:20px 16px;border:1px solid rgba(255,255,255,.18);border-radius:17px;background:rgba(255,255,255,.09);text-align:center}
.yt-banner-stats strong{display:block;font-size:32px;line-height:1.15;font-weight:800}
.yt-banner-stats span{font-size:11px;color:#cadef6}
.yt-tip{display:flex;align-items:flex-start;gap:14px;padding:18px 22px;background:#ecf7ff;border:1px solid #cfe9f6;border-radius:16px;margin:18px 0 25px;font-size:13px;line-height:1.65;color:#425f85}
.yt-tip>i{color:#087d9f;margin-top:2px;font-size:20px}.yt-tip strong{color:#11396d}.yt-tip p{margin:3px 0 0}
.yt-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:22px;align-items:start;margin:20px 0}
.yt-surface{min-width:0;background:#fff;border:1px solid #e0e9f5;box-shadow:0 9px 27px rgba(23,62,112,.045);border-radius:22px;padding:24px}
.yt-section-title{display:flex;gap:14px;align-items:center;margin-bottom:20px}.yt-section-title h2{font-size:18px;line-height:1.3;margin:0 0 5px;color:#09255a;letter-spacing:-.02em}.yt-section-title p{margin:0;color:#7486a6;font-size:12px;line-height:1.5}
.yt-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;color:#1763e5;background:#edf4ff;flex:none;font-size:18px}
.yt-search-row{display:flex;gap:9px;min-width:0}.yt-search-row .input{flex:1;min-width:0;height:48px}.yt-search-row button{flex:none}
.yt-help{color:#7586a3;font-size:12px;line-height:1.65;margin:12px 0 0}
.yt-import>p{font-size:13px;color:#536889;line-height:1.7}.yt-upload{display:grid;gap:12px;padding:14px;border-radius:12px;border:1px dashed #aec6ee;background:#f8fbff}.yt-upload label{font-size:12px;color:#193c72;font-weight:700}.yt-upload input{min-width:0;max-width:100%;font-size:12px}.yt-upload .btn{justify-self:start}
.yt-guidance{margin-top:17px;padding:15px;background:#f1fbfa;border:1px solid #cff0eb;border-radius:13px}.yt-guidance strong{font-size:13px;color:#087a78}.yt-guidance p{font-size:12px;color:#487879;margin:6px 0 0;line-height:1.6}
.yt-candidates-form{border:1px solid #dce9fb;border-radius:14px;margin-top:16px;overflow:hidden;background:#fff}.yt-candidate-heading,.yt-candidate-bottom{padding:13px 16px;display:flex;align-items:center;gap:15px;justify-content:space-between;background:#f6f9fd}.yt-candidate-heading strong{color:#254a7a;font-size:13px}.yt-candidate-bottom>span{font-size:11px;color:#667a9b}
.yt-candidate-list{max-height:440px;overflow:auto}.yt-candidate{display:flex;gap:13px;align-items:center;padding:13px 16px;border-top:1px solid #edf2fa;cursor:pointer}.yt-candidate:hover{background:#f8fbff}.yt-candidate>input{flex:none;accent-color:#2462ec}.yt-candidate>img,.yt-img-placeholder{width:58px;height:58px;border-radius:50%;object-fit:cover;flex:none;background:#e9f1ff;color:#2965e4;display:grid;place-items:center}.yt-candidate-main{display:grid;gap:4px;min-width:0;flex:1}.yt-candidate-main strong{color:#132f60;font-size:13px}.yt-candidate-main small{font-size:11px;color:#7689a2;overflow-wrap:anywhere}.yt-candidate-main>span{font-size:11px;color:#4c6790}
.yt-status{display:inline-flex;width:max-content;align-items:center;gap:4px;border:1px solid #d9e5fb;border-radius:24px;background:#edf3fe;color:#4f6997;font-size:11px;padding:5px 9px;font-weight:750;white-space:nowrap}.yt-status.new{background:#e4fbf4;color:#087a6e;border-color:#c1eee3}.yt-status.warn{background:#fff2e5;color:#a85a13;border-color:#ffe4c8}
.yt-listing{margin-top:24px}.yt-filter{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.yt-filter input{flex:1;min-width:150px;max-width:490px}.yt-bulkbar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f4f8ff;padding:10px 13px;border-radius:12px;margin-bottom:14px;color:#426391;font-size:12px}.yt-bulkbar>span{display:flex;gap:8px;align-items:center}
.yt-table-scroll{overflow:auto;max-width:100%}.yt-table{border-collapse:collapse;min-width:850px;width:100%;font-size:12px}.yt-table th{text-align:left;white-space:nowrap;color:#8493b0;text-transform:uppercase;letter-spacing:.045em;font-size:10px;padding:14px 10px;border-bottom:1px solid #e5edfa;background:#f8faff}.yt-table td{padding:15px 10px;border-bottom:1px solid #edf2f9;color:#37547e}.yt-table td:first-child{width:26px}.yt-table tr:last-child td{border-bottom:0}.yt-channel-name{display:flex;gap:10px;align-items:center;min-width:195px;text-decoration:none}.yt-channel-name img,.yt-channel-name .yt-img-placeholder{width:45px;height:45px;border-radius:50%;object-fit:cover}.yt-channel-name strong{display:block;color:#173768;margin-bottom:4px}.yt-channel-name small{display:block;color:#8397ae;font-size:10px;word-break:break-all}.yt-pagination{margin-top:19px}
.yt-empty{display:grid;place-items:center;gap:10px;padding:46px 15px;text-align:center;color:#8493ac;font-size:13px;grid-column:1/-1}.yt-empty>i{font-size:36px;color:#a7c1ec}.yt-empty strong{color:#345580}
.yt-footnotes{font-size:12px;color:#8696aa;line-height:1.7;margin-top:18px}
.yt-breadcrumb{display:flex;align-items:center;gap:11px;font-size:13px;margin:0 0 17px;color:#7e8ca7}.yt-breadcrumb a{text-decoration:none;color:#275db8}
.yt-detail-header{display:flex;align-items:center;gap:21px;margin-bottom:22px}.yt-detail-avatar{height:95px;width:95px;object-fit:cover;border-radius:50%;flex:none}.yt-detail-title{min-width:0;flex:1}.yt-detail-title h1,.yt-detail-title h2{font-size:clamp(24px,2.3vw,34px);color:#08265b;margin:0 0 7px}.yt-detail-title p{color:#7589a7;font-size:12px;overflow-wrap:anywhere}.yt-detail-actions{display:grid;gap:9px}.yt-detail-actions form{margin:0}.yt-detail-actions .btn{width:100%}
.yt-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.yt-stat{background:linear-gradient(160deg,#fff,#f7faff);border:1px solid #e0e8f4;border-radius:17px;padding:22px;min-width:0}.yt-stat>span{font-size:12px;color:#6683a8;display:flex;gap:8px;align-items:center}.yt-stat>span i{color:#2365e8}.yt-stat>strong{display:block;font-size:clamp(20px,2vw,31px);color:#0a2a61;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yt-stat>small{font-size:11px;color:#96a4b8}.yt-stats-updated{font-size:12px;color:#7d8fa9;margin:11px 0 22px}.yt-detail-grid .form{display:grid;gap:14px}.yt-detail-grid .form label{font-size:12px;font-weight:700;color:#294e83}.yt-detail-grid .form label select{display:block;margin-top:7px}.yt-detail-grid .yt-checkline{display:flex;align-items:center;gap:8px}.yt-detail-grid .yt-checkline input{width:auto}.yt-info{line-height:1.65;color:#587092;font-size:12px;margin-top:14px}
.yt-history-grid{height:170px;display:flex;align-items:flex-end;gap:6px;border-bottom:1px solid #dce7f6;margin:20px 0 28px;overflow-x:auto}.yt-history-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;flex:1 0 18px;min-width:18px;height:100%;gap:5px}.yt-history-column{background:linear-gradient(180deg,#39d9df,#2b6bf3);width:100%;min-height:5px;border-radius:6px 6px 0 0}.yt-history-value{font-size:9px;white-space:nowrap;color:#325e96}.yt-history-item small{position:absolute;top:100%;white-space:nowrap;font-size:9px;color:#92a3b8}
.yt-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.yt-video-card{display:block;overflow:hidden;border:1px solid #e7edf8;border-radius:14px;text-decoration:none;background:#fdfefe;color:inherit}.yt-video-card>img,.yt-video-placeholder{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#dbeafd}.yt-video-card>div:last-child{padding:12px}.yt-video-card strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;color:#16396e;line-height:1.6;min-height:39px}.yt-video-card span,.yt-video-card small{display:block;font-size:11px;color:#7a8eaa;margin-top:6px}.yt-video-placeholder{display:grid;place-items:center;font-size:32px;color:#3887db}
.yt-public{padding-bottom:55px}.yt-public .yt-surface{margin-bottom:20px}.yt-public .yt-stats-grid{margin-bottom:10px}.yt-public .yt-grid{margin-top:0}.yt-public .yt-detail-title h2{margin:0}
.yt-is-loading{position:relative;opacity:.65;pointer-events:none}.yt-is-loading::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(100deg,transparent 18%,rgba(205,224,245,.75) 46%,transparent 70%);background-size:200% 100%;animation:sp-glare 1.25s ease-in-out infinite}
@keyframes sp-glare{from{background-position:180% 0}to{background-position:-180% 0}}
@media(max-width:1100px){.yt-banner{flex-wrap:wrap}.yt-banner-stats{width:100%}.yt-grid{grid-template-columns:1fr}.yt-admin{width:calc(100% - 38px)}}
@media(max-width:760px){.yt-admin{width:calc(100% - 24px);margin:14px auto 42px}.yt-banner{padding:22px 20px;border-radius:18px}.yt-banner-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.yt-banner-stats>div{padding:12px 7px}.yt-banner-stats strong{font-size:24px}.yt-surface{padding:16px;border-radius:17px}.yt-search-row{flex-direction:column}.yt-search-row .btn{width:100%}.yt-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.yt-stat{padding:15px}.yt-detail-header{flex-wrap:wrap}.yt-detail-actions{width:100%;grid-template-columns:1fr 1fr}.yt-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yt-candidate{flex-wrap:wrap}.yt-candidate-main{flex:1 1 55%}}
@media(max-width:500px){.yt-video-grid{grid-template-columns:1fr}.yt-detail-actions{grid-template-columns:1fr}.yt-banner-stats span{font-size:10px}.yt-bulkbar{flex-wrap:wrap}.yt-candidate-bottom{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.yt-is-loading::after{animation:none}}

/* v0.2.8.2: admin channel search workspace; scoped to library only */
.ad-body .yt-library-v0282,.yt-library-v0282{max-width:none;width:100%;margin:0 auto 56px;padding:clamp(12px,2vw,30px);min-width:0;overflow-x:clip}
.yt-library-v0282 .yt-banner{margin-top:0;align-items:center}
.yt-library-v0282 .yt-surface{margin-top:22px}
.yt-library-v0282 .yt-search-input{position:relative;display:flex;flex:1;min-width:0}
.yt-library-v0282 .yt-search-input .input{flex:1;width:100%;padding-left:44px;height:54px}
.yt-library-v0282 .yt-search-input>i{position:absolute;left:17px;top:18px;color:#7696c5;pointer-events:none}
.yt-library-v0282 .yt-search-row{gap:12px}
.yt-library-v0282 .yt-search-row>.btn{padding-left:25px;padding-right:25px}
.yt-library-v0282 .yt-advanced-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px;align-items:end}
.yt-library-v0282 .yt-advanced-fields>label,.yt-library-v0282 .yt-library-filters>label{min-width:0;display:grid;gap:6px;font-size:12px;color:#526b95;font-weight:700}
.yt-library-v0282 .yt-advanced-fields .input,.yt-library-v0282 .yt-library-filters .input{width:100%;height:43px;min-width:0}
.yt-library-v0282 .yt-filter-check{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;min-height:42px;color:#294575!important}
.yt-library-v0282 .yt-filter-check input{width:16px;height:16px;accent-color:#2565ed}
.yt-library-v0282 .yt-hero-empty{padding:44px 22px;background:linear-gradient(135deg,#f4f9ff,#f9fcff);border:1px dashed #bdd4f2;border-radius:16px;margin-top:20px;text-align:center;display:grid;justify-items:center;gap:9px}
.yt-library-v0282 .yt-hero-empty i{font-size:44px;color:#ef343b}
.yt-library-v0282 .yt-hero-empty strong{font-size:18px;color:#153875}
.yt-library-v0282 .yt-hero-empty p{max-width:540px;font-size:13px;color:#6a84a6;line-height:1.65;margin:0}
.yt-library-v0282 .yt-library-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;background:#f7faff;border:1px solid #e3ecf9;border-radius:16px;padding:17px;margin-bottom:16px}
.yt-library-v0282 .yt-filter-buttons{display:flex;gap:10px;align-items:end}
.yt-library-v0282 .yt-filter-buttons .btn{white-space:nowrap}
.yt-library-v0282 .yt-results-head{display:flex;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:12px 0 8px;font-size:12px;color:#8195b4}
.yt-library-v0282 .yt-results-head strong{font-size:13px;color:#19396d}
.yt-library-v0282 .yt-candidate-heading>div{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.yt-library-v0282 .yt-selected-counter{font-size:12px;color:#1662c9;border:1px solid #c8e0ff;background:#edf5ff;padding:5px 9px;border-radius:99px;font-weight:800}
.yt-library-v0282 .yt-api-pager{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:14px;margin-top:14px;background:#f6faff;border:1px solid #e0eafa;border-radius:12px;color:#6782a7;font-size:12px}
.yt-library-v0282 .yt-candidate-heading,.yt-library-v0282 .yt-candidate-bottom{flex-wrap:wrap}
.yt-library-v0282 .yt-csv-form{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.yt-library-v0282 .yt-csv-form>label{font-size:12px;color:#315a8c}
.yt-library-v0282 .yt-csv-form input[type=file]{max-width:100%;display:block;margin-top:6px}
.yt-library-v0282 .yt-bulkbar{position:sticky;top:8px;z-index:2;border:1px solid #dbe7fa;box-shadow:0 5px 15px rgba(27,79,141,.06)}
.yt-library-v0282 #yt-ajax-status:empty{display:none}
.yt-library-v0282 #yt-discovery-results{min-height:40px}
.yt-library-v0282 .yt-candidates-form{max-width:100%}
@media(max-width:1200px){.yt-library-v0282 .yt-library-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.yt-library-v0282 .yt-advanced-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.yt-library-v0282 .yt-library-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.yt-library-v0282 .yt-candidate-heading>div{width:100%}.yt-library-v0282 .yt-candidate-heading .btn{flex:1}.yt-library-v0282 .yt-api-pager{flex-wrap:wrap}}
@media(max-width:550px){.yt-library-v0282{padding:12px!important}.yt-library-v0282 .yt-library-filters,.yt-library-v0282 .yt-advanced-fields{grid-template-columns:1fr}.yt-library-v0282 .yt-bulk-actions{flex-wrap:wrap}.yt-library-v0282 .yt-search-row{flex-direction:column}.yt-library-v0282 .yt-surface{padding:16px}}
