/* Ideas › Watch list: filters beside the video grid, in the app's dark glass look. */
.wl { --wl-line: rgba(255,246,230,.14); --wl-ink: var(--ds-ink); --wl-mute: var(--ds-ink-3); --wl-soft: rgba(255,246,230,.07); --wl-on: rgba(255,246,230,.16); display: grid; gap: 16px; color: var(--wl-ink); font-size: 13px; }
.wl button { font: inherit; color: inherit; cursor: pointer; }
.wl-brands, .wl-win, .wl-plat { display: flex; gap: 4px; flex-wrap: wrap; }
.wl-brands button { padding: 8px 12px; border: 1px solid var(--wl-line); border-radius: 8px; background: rgba(255,246,230,.05); }
.wl-brands button[aria-pressed="true"] { background: var(--wl-on); font-weight: 600; }
.wl-body { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: start; }
.wl-filters, .wl-creators { border: 1px solid var(--wl-line); border-radius: 16px; padding: 14px; background: rgba(255,246,230,.04); }
.wl-filters { display: grid; gap: 12px; }
.wl-fhead { display: flex; justify-content: space-between; align-items: center; }
.wl-fhead button { padding: 5px 9px; border: 1px solid var(--wl-line); border-radius: 7px; background: rgba(255,246,230,.05); font-size: 12px; }
.wl-filters label, .wl-flabel { display: grid; gap: 6px; color: var(--wl-mute); font-size: 12px; }
.wl select, .wl input { width: 100%; box-sizing: border-box; min-width: 0; padding: 8px; border: 1px solid var(--wl-line); border-radius: 8px; background: rgba(255,246,230,.05); color: var(--wl-ink); font: inherit; }
.wl select option { background: #1a140e; }
.wl-plat { padding: 3px; border-radius: 8px; background: var(--wl-soft); flex-wrap: nowrap; }
.wl-plat button { flex: 1; padding: 6px 2px; border: 0; border-radius: 6px; background: none; }
.wl-plat button[aria-pressed="true"], .wl-win button[aria-pressed="true"] { background: var(--wl-on); font-weight: 600; }
.wl-range { display: flex; align-items: center; gap: 6px; color: var(--wl-mute); }
.wl-main { display: grid; gap: 14px; min-width: 0; }
.wl-chead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.wl-chead small, .wl-note { color: var(--wl-mute); }
.wl-note { margin: 8px 0 0; }
.wl-win { padding: 3px; border-radius: 8px; background: var(--wl-soft); }
.wl-win button { padding: 6px 10px; border: 0; border-radius: 6px; background: none; }
.wl-row { display: flex; gap: 6px; margin-top: 12px; overflow-x: auto; }
.wl-c { flex: 0 0 92px; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border: 1px solid transparent; border-radius: 10px; background: none; }
.wl-c[aria-pressed="true"] { border-color: var(--wl-ink); }
.wl-c b { max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; }
.wl-c small { color: var(--wl-mute); font-size: 11px; }
.wl-pic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--ds-accent-hi), #c98f2c); color: #1a140e; font-weight: 700; }
.wl-pic.add { background: var(--wl-soft); border: 1px dashed #b9bbc2; color: var(--wl-mute); }
.wl-pic em { position: absolute; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 2px; border-radius: 8px; font-size: 9px; font-style: normal; }
.wl-pos { top: -3px; left: -3px; background: var(--ds-accent-hi); color: #1a140e; }
.wl-num { right: -5px; bottom: -3px; background: #1a140e; color: var(--ds-ink); border: 1px solid var(--wl-line); }
.wl-gridhead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wl-gridhead input { max-width: 300px; }
.wl-gridhead b { color: var(--wl-mute); font-weight: 400; }
.wl-grid { display: grid; gap: 10px; }
.wl-none { grid-column: 1 / -1; color: var(--wl-mute); }
.wl-tile { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 12px; background: linear-gradient(160deg, #54606f, #1d2229); color: #fff; }
.wl-open { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; color: #fff !important; }
.wl-open img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wl-open::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.wl-play { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); padding: 8px; box-sizing: border-box; border-radius: 50%; background: rgba(0,0,0,.45); }
.wl-play svg { display: block; width: 100%; }
.wl-cap { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 36px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-align: left; font-size: 12px; font-weight: 600; }
.wl-x, .wl-rank { position: absolute; top: 8px; padding: 2px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.wl-x { left: 8px; background: #c9f5d8; color: #12532b; }
.wl-rank { left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.5); }
.wl-mark { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: rgba(0,0,0,.5); font-size: 12px !important; }
.wl-foot { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 4px; pointer-events: none; font-size: 11px; }
.wl-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-who i { margin-right: 3px; font-style: normal; font-weight: 700; }
.wl-views { flex: none; padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font-weight: 700; }
@media (max-width: 800px) { .wl-body { grid-template-columns: 1fr; } .wl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
/* The app styles every button, input and select, so these hold the panel's own look. */
body.lab .wl button, body.lab .wl select, body.lab .wl input { background: rgba(255,246,230,.05) !important; color: var(--wl-ink) !important; border-color: var(--wl-line) !important; box-shadow: none !important; }
body.lab .wl .wl-win button, body.lab .wl .wl-plat button, body.lab .wl .wl-c, body.lab .wl .wl-open { background: transparent !important; border-color: transparent !important; }
body.lab .wl .wl-win button[aria-pressed="true"], body.lab .wl .wl-plat button[aria-pressed="true"], body.lab .wl .wl-brands button[aria-pressed="true"] { background: var(--wl-on) !important; }
body.lab .wl .wl-c[aria-pressed="true"] { border-color: var(--ds-accent-hi) !important; }
body.lab .wl .wl-open { border: 0 !important; color: #fff !important; }
body.lab .wl .wl-mark { background: rgba(0,0,0,.5) !important; border: 0 !important; color: #fff !important; }
.wl-open img { color: transparent; font-size: 0; }

.wl-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wl-toggle { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--wl-line); border-radius: 8px; }
.wl-toggle i { position: relative; width: 28px; height: 16px; border-radius: 8px; background: var(--wl-on); }
.wl-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--ds-ink); }
.wl-toggle[aria-pressed="true"] i { background: #7BD89F; }
.wl-toggle[aria-pressed="true"] i::after { left: 14px; }
.wl-film { display: flex; gap: 6px; margin-left: auto; }
.wl-film button { padding: 8px 12px; border: 1px solid var(--wl-line); border-radius: 8px; }
.wl-plat svg { width: 16px; height: 16px; display: block; margin: auto; }
.wl-who i svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; }
body.lab .wl .wl-mark[aria-pressed="true"] { background: #7BD89F !important; color: #10140f !important; }

.wlm-add { display: flex; gap: 8px; } .wlm-add select { flex: 0 0 auto; width: auto !important; } .wlm-add input { flex: 1; min-width: 0; width: 100%; box-sizing: border-box; }
#trendCreators, #wlmCommunity { display: grid; gap: 8px; }
.wlm-row { display: flex; align-items: center; gap: 8px; }
.wlm-row > div { flex: 1; min-width: 0; display: grid; }
.wlm-row small { color: var(--ds-ink-3); }
.wlm-community { display: flex; justify-content: space-between; width: 100%; padding: 12px; border: 1px dashed rgba(255,246,230,.2); border-radius: 10px; background: none; color: inherit; font: inherit; cursor: pointer; }

/* Home › By campaign */
.lab-camps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lab-camps .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.lab-crow { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin-bottom: 12px; }
.lab-crow > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-cbar { grid-column: 1 / -1; display: block; height: 6px; border-radius: 3px; background: var(--ds-glass-3, rgba(127,127,127,.15)); }
.lab-cbar b { display: block; height: 100%; border-radius: 3px; background: var(--ds-accent-hi, #FFD84D); }
.lab-cstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.lab-cstats span { display: grid; }
@media (max-width: 800px) { .lab-camps-grid { grid-template-columns: 1fr; } }

/* Home › Posting heatmap */
.lab-posting .hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lab-posting .hd h2 { display: flex; align-items: center; gap: 6px; }
.lab-heat { overflow-x: auto; }
.lab-heat-months, .lab-heat-grid { display: grid; grid-template-columns: 34px repeat(52, 13px); column-gap: 3px; min-width: max-content; }
.lab-heat-months { margin-bottom: 4px; font-size: 11px; color: var(--ds-ink-3); }
.lab-heat-months span { white-space: nowrap; }
.lab-heat-grid { grid-template-rows: repeat(7, 13px); row-gap: 3px; }
.lab-heat-day { grid-column: 1; font-size: 11px; color: var(--ds-ink-3); line-height: 13px; }
.lab-heat i, .lab-heat-key i { display: block; width: 13px; height: 13px; border-radius: 3px; }
.lv0 { background: var(--ds-glass-3, #ebebed); } .lv1 { background: #FFF0B3; } .lv2 { background: #FFE070; } .lv3 { background: #F5C518; } .lv4 { background: #C99700; }
.lab-heat-key { display: flex; align-items: center; justify-content: flex-end; gap: 3px; margin-top: 8px; font-size: 11px; color: var(--ds-ink-3); }
.lab-heat-key span { margin: 0 4px; }

.lab-camps .hd h2 { display: flex; align-items: center; gap: 6px; }
.lab-cempty { display: grid; justify-items: center; gap: 10px; padding: 28px 0 12px; text-align: center; }
.lab-cempty span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ds-glass-3, #f1f2f4); color: var(--ds-ink-3); }
.lab-cempty svg { width: 20px; height: 20px; }

.lab-goalcard .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.lab-goalcard h2 { display: flex; align-items: center; gap: 6px; margin: 0; }
.lab-goalcard .hd > span { color: var(--ds-ink-3); } .lab-goalcard .hd > span b { color: var(--ds-ink); }
body.lab .lab-goalamt { border: 0 !important; background: none !important; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; color: var(--ds-ink-3) !important; font: inherit; cursor: pointer; text-decoration: underline dotted; }
.lab-goalbar { position: relative; display: block; height: 8px; border-radius: 4px; background: var(--ds-glass-3, #ebebed); }
.lab-goalbar b { display: block; height: 100%; border-radius: 4px; background: var(--ds-accent-hi, #FFD84D); }
.lab-goalbar em { position: absolute; top: -3px; width: 2px; height: 14px; background: var(--ds-ink-3); }

.lab-calh { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 18px; }
.lab-dvid { display: flex; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--ds-ink-3); line-height: 1; }
.lab-dvid svg { width: 12px; height: 12px; }

/* Home › day breakdown panel */
.lab-drawer-bg { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.35); }
.lab-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(380px, 92vw); overflow-y: auto; padding: 24px 22px; background: var(--ds-glass-solid, #fff); box-shadow: -10px 0 40px rgba(0,0,0,.2); display: grid; align-content: start; gap: 14px; }
.lab-drawer h2 { margin: 0; font-size: 20px; padding-right: 30px; } .lab-drawer > p { margin: -8px 0 0; }
body.lab .lab-drawer-x { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; min-height: 0 !important; border: 0 !important; border-radius: 50% !important; background: transparent !important; font-size: 22px; cursor: pointer; }
.lab-dtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lab-dtiles div { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--ds-stroke); border-radius: 12px; }
.lab-dtiles div:last-child { grid-column: 1 / -1; } .lab-dtiles b { font-size: 18px; font-variant-numeric: tabular-nums; }
.lab-dlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lab-dlist li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--ds-stroke); }
.lab-dlist li span { display: grid; min-width: 0; } .lab-dlist li span b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-dlink { font-weight: 600; color: var(--ds-accent-text, #B58900); text-decoration: none; }

/* Home layout like the reference: calendar beside goal, stats and campaigns */
.lab-hgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.lab-hside { display: grid; gap: 16px; }
.lab-hgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.lab-hside > section, .lab-hgrid2 > section { margin: 0 !important; }
.lab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.lab-stats div { display: grid; gap: 2px; } .lab-stats small { color: var(--ds-ink-3); } .lab-stats b { font-size: 20px; font-variant-numeric: tabular-nums; }
.lab-htiles { display: flex; align-items: center; gap: 10px; }
.lab-htiles > div { display: grid; gap: 2px; padding: 8px 14px; border: 1px solid var(--ds-stroke); border-radius: 12px; background: var(--ds-glass-1, #fff); min-width: 90px; }
.lab-htiles small { font-size: 12px; color: var(--ds-ink-3); } .lab-htiles b { font-size: 17px; }
@media (max-width: 1000px) { .lab-hgrid, .lab-hgrid2 { grid-template-columns: 1fr; } .lab-htiles { flex-wrap: wrap; } }

.lab-sethd { margin: 22px 0 8px; font-size: 14px; font-weight: 700; }

/* Sidebar item icon chips */
.lab-chip { display: inline-grid; place-items: center; flex: none; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.lab-chip svg { width: 12px; height: 12px; } .lab-chip-blank { background: transparent; }
body.lab #sidebar .lab-sub a { display: flex; align-items: center; }
body.lab #sidebar .lab-sub a .lab-chip { color: var(--c) !important; }
body.lab #sidebar .lab-chip svg, body.lab #sidebar .lab-chip { color: var(--c) !important; } body.lab #sidebar a:hover .lab-chip, body.lab #sidebar a.on .lab-chip { color: var(--c) !important; }

.ne-quick { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: #FFFBEA; border: 1px solid #F5E6A8; } .ne-quick p { margin: 0; } .ne-more summary { cursor: pointer; font-size: 13px; color: var(--ds-ink-3); margin: 6px 0; }
/* New campaign › brand suggestions */
.bl-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin-top: 4px; max-height: 260px; overflow-y: auto; padding: 4px; border-radius: 12px; background: var(--ds-glass-solid, #fff); border: 1px solid var(--ds-stroke, #e6e7ea); box-shadow: 0 10px 30px rgba(0,0,0,.15); }
body.lab .bl-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px !important; min-height: 0 !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--ds-ink) !important; text-align: left; cursor: pointer; box-shadow: none !important; }
body.lab .bl-item:hover, body.lab .bl-item.on { background: var(--ds-glass-3, #f1f2f4) !important; }
.bl-item span:last-child { display: grid; } .bl-item small { color: var(--ds-ink-3); font-size: 11px; }
.bl-logo { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; overflow: hidden; background: var(--ds-glass-3, #f1f2f4); font-weight: 700; font-size: 12px; } .bl-logo img, .bl-preview { width: 100%; height: 100%; object-fit: contain; }
.bl-preview { border-radius: 12px; }
.bl-preview { display: block; border-radius: 12px; object-fit: cover; }

/* Popups: solid background so the backdrop never shows below the form; tall forms scroll */
body.lab dialog#dialog[open] { overflow-x: hidden !important; overflow-y: auto !important; overscroll-behavior: contain; background: var(--ds-glass-solid, #fff) !important; }
.wl-pic .wl-avatar { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* Velocity-style polish: compact filters, crisp tile chrome, two-line captions, smooth hover. */
body.lab .wl { --wl-r: 12px; }
body.lab .wl-filters { font-size: 12px; padding: 14px !important; }
body.lab .wl-filters label, body.lab .wl-filters .wl-flabel { font-size: 12px; color: var(--ds-ink-3); font-weight: 500; }
body.lab .wl-filters select, body.lab .wl-filters input { height: 34px !important; min-height: 34px !important; padding: 0 10px !important; font-size: 12.5px !important; border-radius: 8px !important; }
body.lab .wl-filters .wl-fhead button { height: 26px; padding: 0 10px; font-size: 11.5px; border-radius: 7px; }
body.lab .wl-plat { padding: 3px; border-radius: 9px; }
body.lab .wl-plat button { height: 30px; border-radius: 7px; }
body.lab .wl-gridhead { gap: 12px; }
body.lab .wl-gridhead .wl-search { height: 34px !important; max-width: 290px; padding-left: 32px !important; border-radius: 9px !important; font-size: 12.5px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a4ab' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 10px center / 15px !important; }
body.lab .wl-gridhead #wlCount { font-weight: 500; font-size: 12.5px; color: var(--ds-ink-3); }
body.lab .wl-film button { height: 34px; font-size: 12.5px; border-radius: 9px; }
body.lab .wl-grid { gap: 10px; }
body.lab .wl-tile { border-radius: var(--wl-r); overflow: hidden; content-visibility: auto; contain-intrinsic-size: auto 280px; transition: transform .18s ease, box-shadow .18s ease; will-change: transform; }
body.lab .wl-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -10px rgba(20,22,28,.45); }
body.lab .wl-tile .wl-open img { transition: transform .35s ease; }
body.lab .wl-tile:hover .wl-open img { transform: scale(1.03); }
body.lab .wl-tile .wl-open::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.72)); pointer-events: none; }
body.lab .wl-play { width: 42px !important; height: 42px !important; border-radius: 50% !important; background: rgba(20,20,20,.45) !important; backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 1; }
body.lab .wl-cap { z-index: 1; white-space: normal !important; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 12px; line-height: 1.3; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
body.lab .wl-x { background: #d9f7e3 !important; color: #12805c !important; font-weight: 700; border-radius: 6px !important; }
body.lab .wl-rank { background: rgba(255,255,255,.92) !important; color: #1b1c20 !important; border-radius: 6px !important; font-weight: 700; }
body.lab .wl .wl-mark { width: 28px !important; height: 28px !important; border-radius: 50% !important; background: rgba(255,255,255,.95) !important; color: #1b1c20 !important; display: grid; place-items: center; padding: 0 !important; border: 0 !important; }
body.lab .wl .wl-mark svg { width: 14px; height: 14px; }
body.lab .wl .wl-mark[aria-pressed="true"] { background: var(--ds-accent-hi) !important; }
body.lab .wl-foot { z-index: 1; }
body.lab .wl-who { font-size: 11px; font-weight: 600; }
body.lab .wl-who i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #fff; color: #1b1c20; }
body.lab .wl-who i svg { width: 12px; height: 12px; }
body.lab .wl-views { display: inline-flex !important; align-items: center; gap: 4px; background: #eaf2ff !important; color: #2f6fdb !important; font-weight: 700; border-radius: 7px !important; padding: 3px 7px !important; font-size: 11px; }
body.lab .wl-views svg { width: 12px; height: 12px; }
body.lab .wl-pic { width: 48px; height: 48px; background: #f1f2f4; color: var(--ds-ink-2); }
body.lab .wl-pic em.wl-pos { top: -3px; left: -3px; background: #1b1c20 !important; color: #fff !important; border: 2px solid #fff; z-index: 2; }
body.lab .wl-pic em:not(.wl-pos) { bottom: -3px; right: -5px; background: #fff !important; color: var(--ds-ink-3) !important; box-shadow: 0 0 0 1px var(--ds-stroke); z-index: 2; }
body.lab .wl-c b { font-size: 12px; } body.lab .wl-c small { font-size: 11px; color: var(--ds-ink-3); }
body.lab .wl .wl-gridhead input.wl-search { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a2a4ab' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: 10px center !important; background-size: 15px !important; }
/* Brand picker like Velocity: logo, name and video count; the chosen brand is filled and outlined. */
body.lab .wl .wl-brands { gap: 8px; margin-bottom: 14px; }
body.lab .wl .wl-brands button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px !important; border-radius: 10px !important; background: #fff !important; border: 1px solid var(--ds-stroke) !important; color: var(--ds-ink) !important; font-size: 13px; font-weight: 600; box-shadow: none !important; transition: background .12s, border-color .12s; }
body.lab .wl .wl-brands button:hover { background: #f7f7f8 !important; }
body.lab .wl .wl-brands button small { font-weight: 500; color: var(--ds-ink-3); font-size: 12px; }
body.lab .wl .wl-brands button[aria-pressed="true"] { background: #f1f2f4 !important; border: 1.5px solid #1b1c20 !important; color: #1b1c20 !important; font-weight: 700; }
body.lab .wl .wl-blogo { display: inline-grid; width: 20px; height: 20px; border-radius: 6px; overflow: hidden; flex: none; }
body.lab .wl .wl-blogo img, body.lab .wl .wl-blogo > * { width: 20px !important; height: 20px !important; object-fit: cover; border-radius: 6px; font-size: 10px; }
/* Clean, compact Ideas header and watch list (Velocity-like): no saved-video search on the watch list, small neutral
   controls, the chosen brand and creator marked with a dark outline instead of yellow blocks. */
body.lab .vh:has(.wl) .vh-toolbar, body.lab .vh:has(.wl) .vh-head .eyebrow, body.lab .vh:has(.wl) .vh-head p { display: none !important; }
body.lab .vh:has(.wl) .vh-head { margin-bottom: 14px !important; padding: 0 !important; }
body.lab .vh:has(.wl) .vh-head h1 { font-size: 26px !important; letter-spacing: -.02em; margin: 0 !important; }
body.lab .vh:has(.wl) .vh-head .ds-btn-lg { height: 36px !important; padding: 0 14px !important; font-size: 13px !important; border-radius: 10px !important; }
body.lab .vh:has(.wl) .vh-tabs { display: inline-flex; padding: 3px !important; gap: 2px; border-radius: 10px !important; background: #eceef1 !important; margin-bottom: 12px; }
body.lab .vh:has(.wl) .vh-tabs button { height: 30px !important; padding: 0 12px !important; font-size: 12.5px !important; border-radius: 8px !important; }
body.lab .wl .wl-brands { gap: 6px !important; margin-bottom: 14px !important; }
body.lab .wl .wl-brands button { height: 32px !important; padding: 0 11px !important; font-size: 12.5px !important; font-weight: 600 !important; border-radius: 9px !important; gap: 7px !important; }
body.lab .wl .wl-brands button[aria-pressed="true"] { background: #fff !important; border: 1.5px solid #1b1c20 !important; color: #1b1c20 !important; box-shadow: 0 1px 2px rgba(20,22,28,.08) !important; }
body.lab .wl .wl-brands button[aria-pressed="true"] small { color: #1b1c20 !important; }
body.lab .wl .wl-blogo, body.lab .wl .wl-blogo > *, body.lab .wl .wl-blogo img { width: 18px !important; height: 18px !important; border-radius: 5px !important; }
body.lab .wl .wl-blogo > span { background: #eceef1 !important; color: #3a3c43 !important; font-size: 10px !important; display: grid; place-items: center; }
body.lab .wl-filters, body.lab .wl-creators, body.lab .wl .wl-panel { border-radius: 14px !important; box-shadow: none !important; }
body.lab .wl .wl-c { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 6px 4px !important; }
body.lab .wl .wl-c[aria-pressed="true"] .wl-pic { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1b1c20; }
body.lab .wl .wl-c[aria-pressed="true"] b { color: #1b1c20; }
body.lab .wl .wl-pic.add { background: #fff !important; border: 1px solid var(--ds-stroke) !important; color: #6b6e76 !important; font-size: 20px; font-weight: 400; }
body.lab .wl .wl-c:hover .wl-pic.add { border-color: #b9bbc2 !important; }
/* Velocity order and density: brands above the tabs, then filters and grid; smaller type and tighter panels. */
body.lab #viralResults:has(> .wl) { display: flex; flex-direction: column; align-items: flex-start; }
body.lab #viralResults > .wl { display: contents; }
body.lab #viralResults > .wl > .wl-brands { order: 1; }
body.lab #viralResults > .vh-tabs { order: 2; margin: 0 0 16px !important; }
body.lab #viralResults > .wl > :not(.wl-brands) { order: 3; align-self: stretch; }
body.lab .wl-body { grid-template-columns: 176px minmax(0, 1fr) !important; gap: 18px !important; }
body.lab .wl-creators { padding: 12px 14px !important; }
body.lab .wl-creators, body.lab .wl-gridhead, body.lab .wl-toggle, body.lab .wl-win button { font-size: 12px !important; }
body.lab .wl-win button, body.lab .wl-toggle { height: 28px !important; padding: 0 10px !important; }
body.lab .wl .wl-pic { width: 40px !important; height: 40px !important; }
body.lab .wl-c b { font-size: 11px !important; font-weight: 500 !important; } body.lab .wl-c small { font-size: 10px !important; }
body.lab .wl-filters label, body.lab .wl-filters .wl-flabel { font-size: 11.5px !important; }
body.lab .wl-filters select, body.lab .wl-filters input { height: 32px !important; min-height: 32px !important; font-size: 12px !important; }
body.lab .wl-gridhead .wl-search, body.lab .wl-film button { height: 32px !important; font-size: 12px !important; }
body.lab .wl-grid { gap: 8px !important; }
/* Popups whose form scrolls by itself (post, campaign and standard dialogs) keep the popup still: one scrollbar, not two. */
body.lab dialog#dialog[open]:has(> .ds-postform, > .ds-cf-form, > .ds-dform, > form.ds-postform, > form.ds-dform) { overflow: hidden !important; }
/* Self-scrolling popups: the form fills the popup exactly (the sticky Schedule bar is never cut off) and its
   scrollbar is a thin, quiet one instead of the large grey track. */
body.lab dialog#dialog[open]:has(> .ds-postform, > .ds-cf-form, > .ds-dform) { display: flex !important; flex-direction: column; }
body.lab dialog#dialog[open] > :is(.ds-postform, .ds-cf-form, .ds-dform) { flex: 1 1 auto; min-height: 0; max-height: none !important; }
body.lab :is(.ds-postform, .ds-cf-form, .ds-dform) { scrollbar-width: thin; scrollbar-color: rgba(127,127,135,.45) transparent; }
body.lab :is(.ds-postform, .ds-cf-form, .ds-dform)::-webkit-scrollbar { width: 8px; }
body.lab :is(.ds-postform, .ds-cf-form, .ds-dform)::-webkit-scrollbar-track { background: transparent; }
body.lab :is(.ds-postform, .ds-cf-form, .ds-dform)::-webkit-scrollbar-thumb { background: rgba(127,127,135,.45); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }
/* Hashtag suggestions under the caption. */
.ht-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0 4px; }
.ht-row[hidden] { display: none; }
.ht-lbl { font-size: 11.5px; color: var(--ds-ink-3, #8a8a92); margin-right: 2px; }
body.lab .ht-chip { height: 28px; padding: 0 10px !important; border-radius: 999px !important; border: 1px solid var(--ds-stroke, #2a2a2e) !important; background: transparent !important; color: var(--ds-ink-2, #d4d4d8) !important; font-size: 12.5px; font-weight: 600; cursor: pointer; }
body.lab .ht-chip:hover { border-color: #FFD84D !important; color: var(--ds-ink, #fff) !important; }
