/* Channel List 1.3 - client and admin refinements */
.cl-shell{max-width:1180px;margin:0 auto}.cl-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px}.cl-hero h1{margin:0 0 5px;font-size:28px;font-weight:700}.cl-subtitle{margin:0;color:#6b7280}.cl-back{display:inline-flex;align-items:center;gap:7px;margin-bottom:16px;text-decoration:none!important}.cl-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cl-list-card{display:flex;align-items:center;gap:14px;min-height:104px;padding:18px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;text-decoration:none!important;transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease}.cl-list-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(15,23,42,.08);border-color:#cbd5e1}.cl-list-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:#f3f4f6;font-size:28px;flex:0 0 52px}.cl-list-title{font-size:18px;font-weight:700;color:#111827}.cl-list-meta{font-size:13px;color:#6b7280;margin-top:3px}.cl-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:start}.cl-panel{border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:hidden}.cl-panel-head{padding:15px 16px;border-bottom:1px solid #eef0f3;background:#fafafa}.cl-panel-head h3{font-size:16px;margin:0;font-weight:700}.cl-search-wrap{position:relative;margin-top:12px}.cl-search-wrap .fa{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#9ca3af}.cl-search{width:100%;height:40px;padding:8px 12px 8px 35px;border:1px solid #d1d5db;border-radius:8px;background:#fff;outline:none}.cl-search:focus{border-color:#9ca3af;box-shadow:0 0 0 3px rgba(107,114,128,.08)}.cl-category-list{max-height:650px;overflow:auto;padding:8px}.cl-category{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:11px 12px;border:0;border-radius:8px;background:transparent;text-align:left;cursor:pointer;color:#374151}.cl-category:hover{background:#f6f7f9}.cl-category.active{background:#eef2f7;color:#111827;font-weight:700}.cl-category-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 7px;border-radius:999px;background:#e5e7eb;color:#4b5563;font-size:12px;font-weight:700}.cl-category.active .cl-count{background:#fff}.cl-content-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid #eef0f3}.cl-content-title{margin:0;font-size:19px;font-weight:700}.cl-results{color:#6b7280;font-size:13px;margin-top:3px}.cl-content-search{width:320px;max-width:45%}.cl-content-body{padding:16px;min-height:250px}.cl-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cl-channel-card{display:flex;align-items:center;gap:12px;min-height:86px;padding:12px;border:1px solid #e7e9ed;border-radius:10px;background:#fff}.cl-channel-logo{display:flex;align-items:center;justify-content:center;width:62px;height:62px;border-radius:9px;background:#f8fafc;overflow:hidden;flex:0 0 62px}.cl-channel-logo img{max-width:56px;max-height:56px;width:auto;height:auto;object-fit:contain}.cl-channel-info{min-width:0}.cl-channel-name{font-size:14px;font-weight:700;color:#1f2937;line-height:1.35;word-break:break-word}.cl-channel-number{display:inline-block;margin-top:6px;font-size:11px;color:#9ca3af}.cl-loader,.cl-empty{text-align:center;padding:60px 20px;color:#6b7280}.cl-loader .fa{font-size:28px}.cl-empty .fa{font-size:30px;color:#9ca3af}.cl-empty h4{margin:12px 0 5px;color:#374151}.cl-empty p{margin:0}.cl-pagination{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 16px 17px}.cl-pagination .btn{min-width:92px}.cl-page-status{font-size:13px;color:#6b7280;min-width:110px;text-align:center}.cl-admin-card{border:1px solid #ddd;border-radius:8px;background:#fff;padding:16px;margin-bottom:14px}.cl-admin-actions{display:flex;gap:8px;align-items:flex-end;height:100%}.cl-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#16a34a;margin-right:6px}.cl-sync-message{padding:12px 0;font-weight:600}.cus-anchor{text-decoration:underline}
@media(max-width:991px){.cl-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cl-layout{grid-template-columns:270px minmax(0,1fr)}.cl-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.cl-list-grid{grid-template-columns:1fr}.cl-layout{grid-template-columns:1fr}.cl-category-list{max-height:330px}.cl-content-head{display:block}.cl-content-search{width:100%;max-width:none;margin-top:12px}.cl-channel-grid{grid-template-columns:1fr}.cl-hero{display:block}.cl-hero .btn{margin-top:12px}.cl-channel-logo{width:56px;height:56px;flex-basis:56px}}

/* v1.3.3 category -> subcategory navigation */
.cl-step{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:7px;border-radius:999px;background:#e5e7eb;color:#374151;font-size:12px;font-weight:800;vertical-align:1px}.cl-has-sub{display:inline-flex;align-items:center;margin-left:5px;color:#9ca3af}.cl-subcategory-panel{padding:15px 16px 16px;border-bottom:1px solid #eef0f3;background:#f8fafc}.cl-subcategory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.cl-subcategory-head h4{margin:0;font-size:15px;font-weight:700}.cl-subcategory-context{margin-top:3px;color:#6b7280;font-size:12px}.cl-subcategory-list{display:flex;flex-wrap:wrap;gap:9px}.cl-subcategory{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:155px;max-width:100%;padding:9px 11px;border:1px solid #dfe3e8;border-radius:9px;background:#fff;color:#374151;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.cl-subcategory:hover{border-color:#c5cbd3;background:#fff;box-shadow:0 3px 10px rgba(15,23,42,.05)}.cl-subcategory.active{border-color:#aeb7c2;background:#eef2f7;color:#111827;font-weight:700}.cl-subcategory-all{border-style:dashed}.cl-subcategory-name{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cl-subcategory .cl-count{flex:0 0 auto}.cl-subcategory.active .cl-count{background:#fff}.cl-subcategory-sources{display:none!important}
@media(max-width:767px){.cl-subcategory-list{display:grid;grid-template-columns:1fr}.cl-subcategory{width:100%;min-width:0}}


/* v1.10.0 client display controls */
.cl-shell .cl-channel-grid{grid-template-columns:repeat(var(--cl-grid-columns,3),minmax(0,1fr))}
.cl-shell .cl-channel-logo{width:calc(var(--cl-logo-size,56px) + 8px);height:calc(var(--cl-logo-size,56px) + 8px);flex-basis:calc(var(--cl-logo-size,56px) + 8px)}
.cl-shell .cl-channel-logo img{max-width:var(--cl-logo-size,56px);max-height:var(--cl-logo-size,56px)}
.cl-card-size-compact .cl-channel-card{min-height:68px;padding:8px;gap:9px}.cl-card-size-compact .cl-channel-name{font-size:13px}.cl-card-size-compact .cl-channel-meta{margin-top:4px}
.cl-card-size-standard .cl-channel-card{min-height:86px;padding:12px;gap:12px}
.cl-card-size-large .cl-channel-card{min-height:104px;padding:16px;gap:14px}.cl-card-size-large .cl-channel-name{font-size:15px}
.cl-channel-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:6px;font-size:11px;color:#6b7280}.cl-channel-flag{font-size:16px;line-height:1}.cl-channel-id{color:#9ca3af}
.cl-global-search-panel{border:1px solid #dfe4ea;border-radius:12px;background:#fff;padding:16px;margin:0 0 20px;box-shadow:0 2px 10px rgba(15,23,42,.03)}
.cl-global-search-copy{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.cl-global-search-copy strong{font-size:16px;color:#1f2937}.cl-global-search-copy span{font-size:12px;color:#6b7280}.cl-global-search-controls{max-width:620px}.cl-global-search-controls .cl-search-wrap{margin-top:10px}.cl-global-search-results{border-top:1px solid #eef0f3;margin-top:14px;padding-top:14px}.cl-global-search-status{font-size:13px;color:#6b7280;margin:0 0 12px}.cl-global-search-results .cl-pagination{padding:14px 0 0}
@media(max-width:991px){.cl-shell .cl-channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.cl-shell .cl-channel-grid{grid-template-columns:1fr}.cl-shell .cl-channel-logo{width:calc(var(--cl-logo-size,56px) + 8px);height:calc(var(--cl-logo-size,56px) + 8px);flex-basis:calc(var(--cl-logo-size,56px) + 8px)}}
