/* Test-site theme: light neutral surfaces with the UGC Lab yellow accent. Loaded after every other stylesheet. */
body.lab, body.lab[data-page], body.lab.light {
  --ds-glass-1: #fff; --ds-glass-2: #fff; --ds-glass-3: #f1f2f4; --ds-glass-solid: #fff; --ds-well: #f7f7f8;
  --ds-stroke: #e6e7ea; --ds-stroke-hi: #e6e7ea; --ds-ink: #1b1c20; --ds-ink-2: #3a3c43; --ds-ink-3: #6b6e76; --ds-ink-4: #a2a4ab;
  --ds-accent-hi: #FFD84D; --ds-accent-text: #B58900; --ds-on-accent: #14120E; --ds-amber: #b7791f; --ds-up: #12805c; --ds-down: #d43f55; --ds-ready: #2f6fdb;
  --ds-shadow: 0 1px 2px rgba(20, 22, 28, .05); --ds-r-lg: 14px; --ds-r-md: 10px;
  background: #f5f5f6 !important; color: var(--ds-ink) !important; font-family: Inter, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body.lab::before, body.lab::after, .ds-glass::before, .ds-glass::after { display: none !important; }
body.lab .ds-glass { background: #fff !important; border: 1px solid var(--ds-stroke); box-shadow: none; }
body.lab #sidebar, body.lab[data-page] #sidebar, body.lab.light #sidebar { background: #f5f5f6 !important; border-right: 0 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.lab #sidebar a, body.lab #sidebar button, body.lab #sidebar span, body.lab #sidebar b, body.lab #sidebar small { color: var(--ds-ink-2) !important; }
body.lab h1, body.lab h2, body.lab h3, body.lab h4, body.lab b, body.lab strong, body.lab label { color: var(--ds-ink); }
body.lab p, body.lab small { color: var(--ds-ink-3); }
body.lab input, body.lab select, body.lab textarea { background: #fff !important; color: var(--ds-ink) !important; border: 1px solid var(--ds-stroke) !important; box-shadow: none !important; }
body.lab input::placeholder, body.lab textarea::placeholder { color: var(--ds-ink-4) !important; }
body.lab .ds-btn { background: #fff !important; color: var(--ds-ink) !important; border: 1px solid var(--ds-stroke) !important; box-shadow: none !important; }
body.lab .ds-btn-primary { background: var(--ds-accent-hi) !important; color: #14120E !important; border-color: transparent !important; }
body.lab .ds-seg { background: #f1f2f4 !important; box-shadow: none !important; border: 0 !important; }
body.lab .ds-seg button { color: var(--ds-ink-3) !important; background: transparent !important; box-shadow: none !important; }
body.lab .ds-seg button[aria-pressed="true"] { background: #fff !important; color: var(--ds-ink) !important; box-shadow: 0 1px 2px rgba(20,22,28,.14) !important; }
body.lab dialog, body.lab dialog form, body.lab .ds-vmenu, body.lab .ds-bubble { background: #fff !important; color: var(--ds-ink) !important; }
/* Video tiles keep light text over dark covers. */
body.lab .wl { --wl-line: #e6e7ea; --wl-ink: #1b1c20; --wl-mute: #6b6e76; --wl-soft: #f1f2f4; --wl-on: #fff; }
body.lab .wl-filters, body.lab .wl-creators { background: #fff; }
body.lab .wl button, body.lab .wl select, body.lab .wl input { background: #fff !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; }
body.lab .wl .wl-win button[aria-pressed="true"], body.lab .wl .wl-plat button[aria-pressed="true"] { background: #fff !important; box-shadow: 0 1px 2px rgba(20,22,28,.14) !important; }
body.lab .wl-pic { background: #FFF3C4; color: #6B5300; }
body.lab .wl-tile .wl-cap, body.lab .wl-tile .wl-who { color: #fff; }
body.lab .wl .wl-mark { background: rgba(255,255,255,.92) !important; color: #1b1c20 !important; }
body.lab .wl .wl-views { background: #e9efff; color: #2747a8; }
/* Shell */
body.lab #topbar, body.lab[data-page] #topbar, body.lab.light #topbar { background: #fff !important; border-bottom: 1px solid var(--ds-stroke) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
body.lab #topbar a, body.lab #topbar span, body.lab #topbar b, body.lab #topbar i, body.lab #topbar button { color: var(--ds-ink-2) !important; }
body.lab #topbar, body.lab #topbar * { border-color: var(--ds-stroke) !important; }
body.lab #sidebar *, body.lab .lab-navbottom { border-color: var(--ds-stroke) !important; }
body.lab #sidebar svg { color: var(--ds-ink-3) !important; }
body.lab #sidebar i { color: var(--ds-ink-3) !important; }
body.lab #sidebar .on, body.lab #sidebar [aria-current] { background: #e9eaec !important; box-shadow: none !important; }
body.lab #sidebar .on::before, body.lab #sidebar [aria-current]::before { background: var(--ds-accent-hi) !important; }
/* Lines inside pages were written for dark surfaces. */
body.lab #main hr, body.lab main hr { background: var(--ds-stroke) !important; border-color: var(--ds-stroke) !important; }
body.lab .r, body.lab .ds-glass > *, body.lab .ds-glass li, body.lab [class*="-row"], body.lab [class*="row-"] { border-color: var(--ds-stroke) !important; }
/* Accent: yellow becomes teal. */
body.lab .pl-newmain, body.lab .pl-newcaret { background: var(--ds-accent-hi) !important; color: #14120E !important; box-shadow: none !important; }
body.lab .pl-newcaret { border-left: 1px solid rgba(20,18,14,.2) !important; }
body.lab .pl-scroll { background: #fff !important; }
body.lab em, body.lab h1 em { background: none !important; -webkit-text-fill-color: currentColor; color: var(--ds-accent-text) !important; }
body.lab .dc-link, body.lab .cmp-warn { color: var(--ds-amber) !important; }
body.lab .gd-tip-ic { color: var(--ds-accent-text) !important; }
body.lab .gd-mark { background: #FFF3C4 !important; color: #6B5300 !important; }
body.lab .ds-review-sec.ds-brands, body.lab .ds-review-sec.ds-fromeditor { background: #fff !important; }
/* Former dark panels */
body.lab .vh-transcript, body.lab .vh-evidence, body.lab .ds-lsel { background: #f7f7f8 !important; color: var(--ds-ink) !important; border: 1px solid var(--ds-stroke) !important; }
body.lab .vh-transcript-help, body.lab .vh-transcript p, body.lab .vh-evidence p { color: var(--ds-ink-3) !important; }
body.lab .vh-transcript h2, body.lab .vh-transcript h3, body.lab .vh-transcript b { color: var(--ds-ink) !important; }
body.lab .ds-btn-sm { color: var(--ds-ink) !important; }
body.lab .ds-btn-primary, body.lab a.ds-btn-primary { color: #14120E !important; background: var(--ds-accent-hi) !important; }
body.lab .eyebrow, body.lab .ds-ititle, body.lab summary, body.lab li { color: var(--ds-ink-2); }
body.lab .ds-ititle { color: var(--ds-ink) !important; }
body.lab .ds-ico, body.lab .vh-edit { background: rgba(255,255,255,.92) !important; color: var(--ds-ink) !important; }
/* Calendar: days outside the month */
body.lab [class*="pl-"][class*="out"], body.lab [class*="cal-"][class*="out"], body.lab [class*="pl-"][class*="other"], body.lab [class*="cal-"][class*="other"] { background: #f7f7f8 !important; }
/* Search fields had a darker well. */
body.lab #viralRoot input, body.lab [class*="search"] input { background: #fff !important; color: var(--ds-ink) !important; }
/* Calendar today, New button, progress and headings */
body.lab .pl-dn { background: transparent !important; color: var(--ds-ink-3) !important; box-shadow: none !important; }
body.lab .today .pl-dn, body.lab .is-today .pl-dn, body.lab .pl-today .pl-dn { background: var(--ds-accent-hi) !important; color: #14120E !important; }
body.lab .today, body.lab .is-today, body.lab .pl-today { background: #FFFBEA !important; border-color: var(--ds-accent-hi) !important; box-shadow: none !important; }
body.lab button.pl-newmain, body.lab button.pl-newcaret, body.lab #plRoot .pl-newmain, body.lab #plRoot .pl-newcaret { background: var(--ds-accent-hi) !important; background-image: none !important; color: #14120E !important; }
body.lab h1, body.lab h2, body.lab h3 { font-family: inherit !important; font-weight: 600 !important; letter-spacing: -.01em !important; }
body.lab h1 em { font-style: normal !important; }
body.lab .ds-chip, body.lab [class*="-chip"][aria-pressed="true"] { background: #f1f2f4; }
/* Every sidebar row, in any state, stays light with dark text. */
body.lab #sidebar a, body.lab #sidebar button, body.lab #sidebar summary, body.lab #sidebar [class*="nav"] { background-color: transparent !important; background-image: none !important; box-shadow: none !important; }
body.lab #sidebar a:hover, body.lab #sidebar button:hover, body.lab #sidebar summary:hover, body.lab #sidebar a:focus-visible, body.lab #sidebar button:focus-visible, body.lab #sidebar a.on, body.lab #sidebar button.on, body.lab #sidebar [aria-current], body.lab #sidebar [aria-expanded="true"]:hover { background-color: #e9eaec !important; }
body.lab #sidebar a:hover *, body.lab #sidebar button:hover *, body.lab #sidebar a:hover, body.lab #sidebar button:hover { color: var(--ds-ink) !important; }
body.lab .wl-toggle i { background: #d5d6da !important; } body.lab .wl-toggle i::after { background: #fff !important; } body.lab .wl-toggle[aria-pressed="true"] i { background: var(--ds-accent-hi) !important; }
body.lab .wl .wl-c[aria-pressed="true"] { border-color: var(--ds-accent-hi) !important; }
/* The older stylesheets read these for hover states and panels. */
body.lab, body.lab.light, body.lab[data-page], body.lab[data-page].light { --lab-hover: #e9eaec !important; --text: #1b1c20 !important; }
body.lab #sidebar button.lab-group:hover, body.lab #sidebar button.lab-group:focus-visible, body.lab #sidebar button.lab-navcollapse:hover { background: #e9eaec !important; color: #1b1c20 !important; }
/* The older stylesheets' colour settings, so every state and popup they style turns light. */
body.lab, body.lab.light, body.lab[data-page], body.lab[data-page].light {
  --bg: #f5f5f6 !important; --panel: #fff !important; --panel2: #f1f2f4 !important; --border: #e6e7ea !important; --muted: #6b6e76 !important;
  --lab-sidebar: #f5f5f6; --lab-inner: #fff; --lab-line: #e6e7ea; --lab-row: #f1f2f4; --lab-sub: #3a3c43; --lab-dim: #6b6e76; --lab-faint: #a2a4ab;
  color-scheme: light !important;
}
body.lab a:hover { color: inherit; }
/* Inputs in every state */
body.lab input:hover, body.lab input:focus, body.lab input:active, body.lab textarea:hover, body.lab textarea:focus, body.lab select:hover, body.lab select:focus { background: #fff !important; color: #1b1c20 !important; border-color: #FFD84D !important; }
/* Popups: every bar and plain button inside */
body.lab dialog > *, body.lab dialog form > *, body.lab dialog footer, body.lab dialog header, body.lab dialog menu, body.lab dialog [class*="foot"], body.lab dialog [class*="actions"] { background: #fff !important; color: #1b1c20 !important; border-color: #e6e7ea !important; }
body.lab .wlm-community, body.lab .wlm-community:hover { background: #fff !important; color: #1b1c20 !important; border: 1px dashed #d5d6da !important; box-shadow: none !important; }
body.lab .wlm-community:hover { background: #f7f7f8 !important; }
body.lab .wlm-community span { color: #1b1c20 !important; }
/* Form fields inside popups have a very specific dark rule; these match it. */
body.lab .ds-dform input:not([type=radio]):not([type=checkbox]):not([type=file]), body.lab .ds-dform select, body.lab .ds-dform textarea, body.lab #dialog input:not([type=radio]):not([type=checkbox]):not([type=file]), body.lab #dialog select, body.lab #dialog textarea { background: #fff !important; color: #1b1c20 !important; border: 1px solid #e6e7ea !important; box-shadow: none !important; }
body.lab .ds-dform input:not([type=radio]):not([type=checkbox]):not([type=file]):focus, body.lab #dialog input:not([type=radio]):not([type=checkbox]):not([type=file]):focus, body.lab #dialog textarea:focus, body.lab #dialog select:focus { border-color: #FFD84D !important; box-shadow: 0 0 0 3px rgba(255,216,77,.3) !important; }
body.lab .ds-setnav { background: #f1f2f4 !important; box-shadow: none !important; }
body.lab .ds-pill.ds-on { background: #FFF3C4 !important; color: #6B5300 !important; }
body.lab .wl select, body.lab .ds-iwork select, body.lab select { background-color: #fff !important; color: #1b1c20 !important; }
body.lab #toast, body.lab .toast, body.lab #toast *, body.lab .toast * { color: #fff !important; }
/* Calendar hover popup: white card with dark text, like other popups in the light theme. */
body.lab .ds-caltip { background: #fff !important; color: #1b1c20 !important; border: 1px solid #e6e7ea !important; box-shadow: 0 8px 24px rgba(0,0,0,.12) !important; }
body.lab .ds-caltip, body.lab .ds-caltip * { color: #1b1c20 !important; }
body.lab .ds-caltip .ds-up-t { color: #12805c !important; } body.lab .ds-caltip .ds-down-t { color: #d43f55 !important; } body.lab .ds-caltip .ds-plan-t { color: #B58900 !important; }
/* Dropdowns and date/time pickers (ds-controls): white menu, dark text, soft grey for the hovered or chosen row. */
body.lab .ds-pop { background: #fff !important; color: #1b1c20 !important; box-shadow: 0 16px 40px -12px rgba(20,22,28,.25), inset 0 0 0 1px #e6e7ea !important; }
body.lab .ds-pop .ds-pop-opt, body.lab .ds-pop button, body.lab .ds-pop b, body.lab .ds-pop span { color: #1b1c20 !important; }
body.lab .ds-pop .ds-pop-opt.active, body.lab .ds-pop .ds-pop-opt:hover { background: #f1f2f4 !important; }
body.lab .ds-pop .ds-pop-opt.on { background: #FFF6D1 !important; }
body.lab .ds-pop .ds-pop-gl, body.lab .ds-pop .ds-pop-none, body.lab .ds-pop .ds-pop-week span, body.lab .ds-pop .ds-pop-day.out { color: #8b8e96 !important; }
body.lab .ds-pop .ds-pop-group + .ds-pop-group, body.lab .ds-pop .ds-pop-opt + .ds-pop-group, body.lab .ds-pop .ds-pop-foot { border-color: #ececef !important; }
body.lab .ds-pop .ds-pop-search input { background: #f4f4f5 !important; color: #1b1c20 !important; }
body.lab .ds-pop .ds-pop-nav, body.lab .ds-pop .ds-pop-day:hover:not(:disabled):not(.on) { background: #f1f2f4 !important; }
body.lab .ds-pop .ds-pop-day.on { background: #FFD84D !important; color: #14120E !important; }
body.lab .ds-pop .ds-pop-foot button { color: #1b1c20 !important; border: 1px solid #e6e7ea !important; }

/* Sweep: every remaining dark panel, menu and dialog gets a light surface. Generated from a scan of all stylesheets. */
body.lab #dialog.lc-builder-dialog,
body.lab #dialog.lc-builder-dialog .actions,
body.lab #dialog.lc-builder-dialog .lc-account-choice,
body.lab #dialog.lc-builder-dialog button,
body.lab #dialog.lc-builder-dialog input,
body.lab #dialog.lc-builder-dialog select,
body.lab #dialog.lc-builder-dialog textarea,
body.lab .ap,
body.lab .ap-f,
body.lab .ap-th,
body.lab .cc-campaign-card,
body.lab .cc-campaign-money,
body.lab .cc-day,
body.lab .cc-header-stats>div,
body.lab .cc-new-campaign,
body.lab .cc-view-row>div,
body.lab .course-card,
body.lab .course-lessons,
body.lab .course-search,
body.lab .creator-tour.ct-centred,
body.lab .ds-bk,
body.lab .ds-bk .sc-bkf2,
body.lab .ds-caltip,
body.lab .ds-cf-form .actions,
body.lab .ds-dform .actions,
body.lab .ds-earn .lab-prow2.th,
body.lab .ds-ico,
body.lab .ds-lib .ds-lsel,
body.lab .ds-mmcamp-f,
body.lab .ds-mmt-menu,
body.lab .ds-mmt-more > .ds-ico,
body.lab .ds-pop,
body.lab .ds-postform .actions,
body.lab .ds-vmenu,
body.lab .ds-wz-foot,
body.lab .ds-wz-vf,
body.lab .ds-wz-vn,
body.lab .ds-wz-vsp,
body.lab .edit-batch-row,
body.lab .edit-head-actions .button,
body.lab .edit-head-actions button,
body.lab .edit-tabs button,
body.lab .edit-version,
body.lab .hm-menu,
body.lab .lab-dash .lab-tip,
body.lab .lab-day,
body.lab .lab-mpost,
body.lab .lab-ref,
body.lab .lab-slot.pub,
body.lab .lc-account-icon,
body.lab .lc-step,
body.lab .notice,
body.lab .pk,
body.lab .pl-card.pl-ghost,
body.lab .pl-ci.none,
body.lab .pl-mfoot,
body.lab .pl-modal,
body.lab .pl-submenu,
body.lab .portfolio-photo,
body.lab .post,
body.lab .review-public,
body.lab .review-public .review-download,
body.lab .review-public .review-status,
body.lab .review-public article,
body.lab .review-public button,
body.lab .review-public input,
body.lab .review-public textarea,
body.lab .sc-bulk,
body.lab .sc-cb.none,
body.lab .sc-menu,
body.lab .sc-th,
body.lab .si-invite input,
body.lab .tag,
body.lab .tb-card,
body.lab .ticket-brand-grid > a,
body.lab .ticket-brand-grid > button,
body.lab .ticket-simple .new-ticket-head,
body.lab .ticket-sticky-footer,
body.lab .timeline,
body.lab .tk-content-update,
body.lab .tk-ownedit-f,
body.lab .tk-watch,
body.lab .tkm-view-card,
body.lab .transcribe-command select,
body.lab .transcribe-segments,
body.lab .transcribe-status,
body.lab .transcribe-text-panel textarea,
body.lab .transcribe-upload,
body.lab .upload,
body.lab .var-delete,
body.lab .var-output-card > .var-missing,
body.lab .var-wizard > aside,
body.lab .var-wizard > aside button.var-add-kind,
body.lab .var-wizard > footer,
body.lab .vx-ed,
body.lab .vx-pick,
body.lab .week>div,
body.lab .wl select option,
body.lab dialog,
body.lab dialog.ca-dialog,
body.lab dialog.ds-cf-dialog,
body.lab dialog.ds-dialog,
body.lab dialog.ds-post-dialog,
body.lab input,
body.lab select,
body.lab select optgroup,
body.lab select option,
body.lab textarea,
body:not(.light) .slot-card,
body[data-page="campaigns"] .card,
body[data-page="campaigns"].light .card,
body[data-page="dashboard"] .card,
body[data-page="dashboard"].light .card { background: #fff !important; color: var(--ds-ink) !important; border-color: var(--ds-stroke) !important; }
body.lab .cc-campaign-card:hover,
body.lab .cc-day:hover,
body.lab .ds-ico:hover,
body.lab .edit-batch-row:hover,
body.lab .navlink:hover,
body.lab .pl-card:hover,
body.lab .tb-card:hover,
body.lab button.ticket-campaign-choice:hover,
body:not(.light) .slot-card:hover { background: #f1f2f4 !important; color: var(--ds-ink) !important; }

/* Sweep: light text colours that disappear on white. */
body.lab .plan b, body.lab .lc-empty-icon { color: var(--ds-accent-text) !important; }
body.lab .green-t { color: #12805c !important; }
body.lab .cp-due .ds-stat-val, body.lab .cp-owed { color: #b25e09 !important; }
body.lab .ds-vtop .ds-ichip { color: #fff !important; }
body.lab .pl-pill.cal-s-posted { color: var(--ds-ink-3) !important; }
body.lab .transcribe-empty { background: #fff !important; color: var(--ds-ink) !important; }
body.lab .dc-mark { color: #4b55c9 !important; }
body.lab .wn-row-t small { color: #c2364d !important; }
/* Staff sidebars match the creator one: no stray guide line, footer labels fit. */
body.lab #sidebar .lab-sub { border-left: 0 !important; }
body.lab #sidebar .lab-ftile span { font-size: 11px !important; letter-spacing: -.01em; white-space: nowrap; overflow: visible !important; text-overflow: clip !important; }
.pd-platres { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.pd-platres li.ok { color: #12805c; } .pd-platres li.bad { color: #c2364d; } .pd-platres a { text-decoration: underline; }
/* Error toasts: readable light red card with dark red text. */
body.lab #toast.ds-toast-error { background: #FDECEE !important; color: #8E1B2C !important; box-shadow: inset 0 0 0 1px #F3B5BF, 0 10px 28px -12px rgba(20,22,28,.25) !important; }
body.lab #toast.ds-toast-error * { color: #8E1B2C !important; }
body.lab dialog input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 1px solid var(--ds-stroke); border-radius: 10px; background: #fff; color: var(--ds-ink); font-weight: 600; cursor: pointer; }
body.lab dialog input[type=checkbox] { accent-color: #1b1c20; width: 16px; height: 16px; }
