#content:has(> .video-workbench) {
  width: min(1050px,100%);
  padding: 48px 16px 80px;
}
.video-workbench {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 20px;
  border: 1px solid #f1e5ff12;
  border-radius: 30px;
  background: #e9d8ff0b;
}
.video-workbench h1, .video-workbench h2, .video-workbench h3, .video-admin h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.018em;
}
.video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 8px 16px 8px 24px;
  border-radius: 24px;
  background: #e9d8ff0c;
}
.video-header > div, .video-providers {
  display: flex;
  align-items: center;
  gap: 4px;
}
.video-header .video-primary { width: 164px; padding-inline: 10px; }
.video-back {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #f7edff;
  border-radius: 12px;
  background: #e9d8ff12;
  font-size: 25px;
}
.video-panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e9d8ff19;
  border-radius: 24px;
  background: #e9d8ff0d;
}
.video-rules {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 363px;
  background: radial-gradient(ellipse at 58% 68%,#55446366,transparent 77%),linear-gradient(180deg,#242229,#2c2930 60%,#242229);
  border-color: #cab7d230;
}
.video-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
}
.video-section-head p, .video-channels > p, .video-empty > p, .video-guest > p {
  margin: 4px 0 0;
  color: #b9adbf;
  font-size: 14px;
}
.video-section-head > small { align-self: end; color: #b0a3b7; font-size: 12px; }
.video-rules .video-section-head { min-height: 39px; }
.video-rules .video-section-head h2 { line-height: 21px; }
.video-rules .video-section-head p { margin-top: 2px; line-height: 16px; }
.video-rules .video-section-head > small { line-height: 14px; }
.video-rates { display: grid; gap: 16px; min-width: 0; }
.video-rates > p { margin: 0; color: #b9adbf; }
.video-rates > .video-secondary { justify-self: start; }
.video-rule-list, .video-rule-tags, .video-applications, .video-history ol, .video-choice {
  margin: 0;
  padding: 0;
  list-style: none;
}
.video-rule-list {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 4px;
}
.video-rule-list li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 182px;
  padding: 16px;
  border: 1px solid #e9d8ff13;
  border-radius: 16px;
  background: linear-gradient(150deg,#36323b,#493952);
}
.video-rule-list li:nth-child(2) { background: linear-gradient(150deg,#3b3740,#40394c); }
.video-rule-list li:nth-child(3) { background: linear-gradient(150deg,#39353f,#493a48); }
.video-rule-list li:nth-child(4) { background: linear-gradient(150deg,#36333c,#473850); }
.video-rate-info { display: grid; min-width: 0; gap: 2px; }
.video-rate-info strong { color: #f6f2fa; font-size: 24px; font-weight: 650; line-height: 29px; overflow-wrap: anywhere; }
.video-rate-info p { margin: 0; color: #c8bccd; font-size: 14px; line-height: 16px; }
.video-rate-clip {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) fit-content(55%);
  align-items: center;
  gap: 4px;
  min-width: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f3dccc1e;
  color: #ffccab;
}
.video-rate-clip > span { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #ca7e4f4d; }
.video-rate-clip svg { width: 14px; height: 14px; }
.video-rate-clip p { margin: 0; overflow: hidden; color: #d7c1cc; font-size: 11px; line-height: 14px; text-overflow: ellipsis; white-space: nowrap; }
.video-rate-clip b { justify-self: end; overflow-wrap: anywhere; text-align: end; font-size: 13px; line-height: 19px; }
.video-rule-mark, .video-platform-mark, .video-empty-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #f6e6ff;
  background: linear-gradient(145deg,#8456b7,#442a69);
}
.video-rule-list li:nth-child(1) .video-rule-mark { background: linear-gradient(103deg,#f5ad25 0 42%,#384493 66%); }
.video-rule-list li:nth-child(2) .video-rule-mark { background: linear-gradient(135deg,#91544a,#601b1a); }
.video-rule-list li:nth-child(3) .video-rule-mark { background: linear-gradient(135deg,#e75e36,#993922); }
.video-rule-list li:nth-child(4) .video-rule-mark { background: linear-gradient(135deg,#523069,#2a2038); }
.video-rule-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.video-rule-tags li, .video-status-pill {
  padding: 5px 11px;
  border: 1px solid #e9d8ff0d;
  border-radius: 16px;
  background: #e9d8ff0e;
  color: #d4c6dc;
  font-size: 13px;
}
.video-rule-tags li { padding: 7px 12px; border-radius: 999px; line-height: 16px; white-space: nowrap; }
.video-primary, .video-secondary, .video-provider-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #e9d8ff19;
  border-radius: 12px;
  background: #e9d8ff0d;
  color: #f9f0ff;
  font-size: 14px;
  font-weight: 650;
}
.video-primary { background: linear-gradient(150deg,#5d3da9,#794dc4); }
.video-primary:hover:not(:disabled) { background: linear-gradient(150deg,#7450c2,#9561de); }
.video-secondary:hover:not(:disabled), .video-provider-button:hover:not(:disabled) { background: #e9d8ff22; }
.video-primary svg { width: 19px; height: 19px; }
.video-provider-button { min-height: 36px; padding-inline: 12px; }
.video-platform-mark { width: 32px; height: 32px; border-radius: 9px; }
.video-platform-mark[data-platform=youtube] { background: linear-gradient(145deg,#b54c61,#672c40); }
.video-platform-mark[data-platform=tiktok] { background: linear-gradient(145deg,#396770,#24444e); }
.video-provider-button .video-platform-mark { width: 18px; height: 18px; border-radius: 5px; }
.video-provider-button .video-platform-mark svg { width: 12px; height: 12px; }
.video-dashboard { display: grid; gap: 32px; min-width: 0; }
.video-dashboard > section + section { margin-top: 0; }
.video-channels { min-height: 110px; }
.video-channels > p { margin-top: 8px; padding-inline: 4px; }
.video-status-refresh { margin-top: 12px; }
.video-library { display: grid; gap: 16px; min-width: 0; }
.video-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 302px;
  gap: 8px;
  text-align: center;
}
.video-empty-mark {
  width: 72px;
  height: 72px;
  border-radius: 23px;
  background: radial-gradient(ellipse at 55% 32%,#b583f455,#604282 70%,#3c2c52);
  box-shadow: 0 14px 38px #7b4bb642,inset 0 1px #e2c9fe4a;
}
.video-empty-mark svg { width: 36px; height: 36px; }
.video-empty h3 { margin-top: 9px; }
.video-empty .video-primary { margin-top: 10px; min-height: 52px; padding-inline: 26px; border-radius: 20px; text-transform: uppercase; }
.video-guest .button { margin-top: 15px; }
.video-feedback {
  margin: 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: #b488e825;
}
.video-feedback.error, [data-video-error] { color: #ffc6ce; background: #bd55642a; padding: 8px 11px; border-radius: 10px; }
.video-feedback[hidden], [data-video-error][hidden] { display: none; }
.video-applications { display: grid; gap: 7px; min-width: 0; }
.video-channels .video-applications { margin-top: 14px; }
.video-applications > li {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid #ede2ff18;
  border-radius: 17px;
  background: #e9d8ff0c;
}
.video-entry {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
}
.video-entry-address { display: grid; gap: 2px; min-width: 0; }
.video-entry-address strong { font-size: 15px; overflow-wrap: anywhere; }
.video-external { color: #dfc4ff; text-decoration: underline; font-size: 13px; overflow-wrap: anywhere; }
.video-status-pill { justify-self: start; white-space: nowrap; }
.video-status-pill[data-state=approved] { background: #53977135; color: #aeeac7; }
.video-status-pill[data-state=pending] { background: #b58a4335; color: #f4d6a3; }
.video-status-pill[data-state=rejected] { background: #ba516041; color: #ffc7cd; }
.video-review-note { margin: 0; color: #d6bdd7; white-space: pre-wrap; overflow-wrap: anywhere; }
.video-history { border-top: 1px solid #e9d8ff23; color: #d9c8e0; font-size: 13px; }
.video-history summary { width: fit-content; padding: 7px 0; cursor: pointer; }
.video-history ol { display: grid; gap: 5px; }
.video-history time { margin-inline-start: 7px; color: #dac4e1; white-space: normal; }
.video-history li p { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.video-applications li > .video-secondary { justify-self: start; }
.video-admin { display: grid; gap: 15px; min-width: 0; }
.video-admin .video-section-head { align-items: end; }
.video-admin .video-section-head label { display: grid; gap: 4px; }
.video-admin-actions { display: flex; align-items: end; gap: 8px; flex-wrap: wrap; }
.video-admin-actions button { min-height: 44px; }
.video-admin .video-section-head select, .video-submit-form input, .video-review-form input,
.video-policy-form input, .video-assessment-form select, .video-assessment-form input:not([type=checkbox]) {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #e9d8ff26;
  border-radius: 13px;
  color: #f6edff;
  background: #1b1722;
}
.video-review-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 9px; }
.video-review-form > div, .video-pages { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.video-pages { justify-content: center; }
.video-review-form label, .video-submit-form label { display: grid; gap: 5px; min-width: 0; }
.video-review-form [data-video-error] { grid-column: 1/-1; margin: 0; }
.video-admin-empty { color: #bdaec5; }
.video-admin-reward { display: grid; gap: 8px; justify-items: start; }
.video-admin-reward > div { width: 100%; }
.video-reward-summary {
  display: grid;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #e9d8ff20;
  border-radius: 13px;
  background: #d6b5ff0e;
}
.video-reward-summary[data-reward-status=eligible], .video-reward-summary[data-reward-status=credited] {
  border-color: #83cfa54d;
  background: #76b98a18;
}
.video-reward-summary[data-reward-status=credited] > strong { color: #b8f1cb; }
.video-reward-summary time, .video-reward-summary ul { margin: 0; color: #cbbbd1; font-size: 13px; }
.video-reward-summary ul { padding-inline-start: 17px; }
.video-reward-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 14px; margin: 0; }
.video-reward-details dt { color: #cebfd5; font-size: 13px; }
.video-reward-details dd { margin: 0; color: #faecff; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.video-policy-form, .video-assessment-form, .video-assessment-result { display: grid; min-width: 0; gap: 12px; }
.video-policy-form p, .video-assessment-form p { margin: 0; }
.video-policy-form label, .video-assessment-form label:not(.check) { display: grid; gap: 4px; min-width: 0; }
.video-policy-form fieldset { min-width: 0; margin: 0; padding: 10px; border: 1px solid #e9d8ff22; border-radius: 15px; }
.video-policy-form legend { padding-inline: 5px; font-weight: 650; }
.video-policy-rates, .video-policy-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.video-policy-rates > section { display: grid; align-content: start; gap: 6px; padding: 7px; border-radius: 10px; background: #eeccff0c; }
.video-policy-rates h3 { margin: 0; font-size: 15px; }
.video-assessment-checks { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.video-assessment-checks label { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.video-assessment-checks input { accent-color: #9b6de6; }
.video-assessment-result [data-video-draft-note] { color: #dbc2e9; font-size: 13px; }
.video-policy-form > .video-primary, .video-assessment-form > .video-secondary, .video-assessment-result > .video-primary { justify-self: end; }
dialog.video-dialog {
  width: min(600px,100%);
  max-width: 100%;
  max-height: min(770px,calc(100dvh - 12px));
  padding: 16px 23px 23px;
  border: 1px solid #e9d8ff23;
  border-radius: 32px;
  background: #121015;
}
.video-dialog-head {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) 28px;
  min-height: 28px;
  align-items: center;
  margin-bottom: 20px;
}
.video-dialog-head h2 { grid-column: 2; text-align: center; }
.video-close {
  grid-column: 3;
  width: 28px;
  height: 28px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #eaddf2;
  background: #e9d8ff12;
  font-size: 20px;
  line-height: 1;
}
.video-close:hover { background: #e9d8ff24; }
.video-dialog-empty {
  display: grid;
  justify-items: center;
  align-content: end;
  min-height: 277px;
  gap: 8px;
  text-align: center;
}
.video-dialog-empty h3 { margin-top: 9px; }
.video-dialog-empty p { max-width: 33ch; margin: 0; color: #bfadc8; }
.video-dialog-empty .video-providers { width: 100%; margin-top: 18px; }
.video-dialog-empty .video-provider-button { flex: 1; min-height: 52px; border-radius: 20px; }
.video-choice, .video-submit-form { display: grid; gap: 10px; }
.video-choice button { width: 100%; min-height: 46px; justify-content: start; white-space: normal; overflow-wrap: anywhere; }
.video-submit-form p { margin: 0; }
.video-form-hint { color: #bcadc5; }
.video-submit-form > .video-primary { justify-self: end; margin-top: 8px; min-height: 44px; }

@media (max-width: 768px) {
  #content:has(> .video-workbench) { padding: 20px 16px 60px; }
  .surface:has(> #content > .video-workbench) > #live-strip { display: none; }
  .video-workbench { padding: 0; border: 0; background: transparent; }
  .video-header { display: grid; grid-template-columns: minmax(0,1fr); align-content: space-between; min-height: 128px; padding: 0; background: transparent; }
  .video-header > div { min-height: 56px; gap: 8px; }
  .video-back { display: grid; }
  .video-header .video-primary { width: 100%; }
  .video-rules { min-height: 405px; gap: 16px; padding: 16px; }
  .video-rules .video-section-head { display: grid; min-height: 73px; align-content: space-between; gap: 4px; }
  .video-rule-list { grid-template-columns: 1fr; gap: 2px; }
  .video-rule-list li {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr) fit-content(48%);
    align-content: center;
    align-items: center;
    gap: 2px 12px;
    min-height: 56px;
    padding: 7px 15px 7px 7px;
    border-radius: 8px;
  }
  .video-rule-list li:first-child { border-radius: 16px 16px 8px 8px; }
  .video-rule-list li:last-child { border-radius: 8px 8px 16px 16px; }
  .video-rate-info { display: contents; }
  .video-rule-mark { grid-column: 1; grid-row: 1 / span 2; }
  .video-rule-mark svg { width: 21px; height: 21px; }
  .video-rate-info p { grid-column: 2; min-width: 0; }
  .video-rate-info strong { grid-column: 3; grid-row: 1 / span 2; font-size: 20px; line-height: 24px; text-align: end; }
  .video-rate-clip { display: flex; grid-column: 2; grid-row: 2; gap: 3px; margin: 0; padding: 0; border: 0; }
  .video-rate-clip > span { width: 14px; height: 14px; border-radius: 4px; }
  .video-rate-clip svg { width: 11px; height: 11px; }
  .video-rate-clip p { color: inherit; font-size: 12px; }
  .video-clip-detail { display: none; }
  .video-rate-clip b { margin: 0; font-size: 12px; font-weight: 500; line-height: 14px; }
  .video-rule-tags { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
  .video-channels { min-height: 139px; padding: 16px; }
  .video-channels .video-section-head { display: grid; gap: 13px; }
  .video-provider-prefix { display: none; }
  .video-channels .video-provider-button { flex: 1; }
  .video-empty { min-height: 278px; }
  .video-admin .video-section-head, .video-review-form { align-items: stretch; grid-template-columns: 1fr; }
  .video-admin .video-section-head { display: grid; }
  .video-entry { grid-template-columns: auto minmax(0,1fr); }
  .video-entry > .video-status-pill { grid-column: 2; }
  .video-policy-rates { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .video-rule-list li { gap: 2px 7px; padding-inline: 7px; }
  .video-rate-info p { font-size: 12px; }
  .video-rate-info strong { font-size: 17px; }
  .video-rate-clip p, .video-rate-clip b { font-size: 11px; }
  .video-rate-clip > span { display: none; }
  .video-policy-grid { grid-template-columns: 1fr; }
}

html:not([data-ludik-theme="stencil"]) #content[data-route="account"] > .video-workbench:is([data-video-public], [data-video-workbench]) {
  .video-header { border: 1px solid var(--line); }
  .video-header > div { gap: 12px; min-width: 0; }

  h2 {
    color: var(--platform-paper);
    font: 900 clamp(1.25rem, 2vw, 1.5rem)/1.15 var(--platform-display);
    letter-spacing: .015em;
    text-transform: uppercase;
  }

  h3, :is(.video-entry-address strong, .video-reward-details dd) { color: var(--platform-paper); }
  :is(.video-section-head p, .video-section-head small, .video-panel > p, .video-rates > p:not([role="status"]),
      .video-rate-info p, .video-rate-clip p, .video-dialog-empty p, .video-form-hint, .video-review-note,
      .video-history, .video-history time, .video-reward-details dt, .video-reward-summary time, .video-reward-summary ul) {
    color: var(--muted);
  }

  :is(.video-rule-list li, .video-applications > li, .video-reward-summary) {
    border-color: var(--line);
    border-radius: var(--platform-card-radius);
    background: var(--well);
  }

  :is(.video-rule-mark, .video-platform-mark, .video-rate-clip > span) { border-radius: var(--platform-control-radius); }
  .video-rules { min-height: 0; }
  .video-rule-list { gap: 8px; }
  :is(.video-rate-info strong, .video-rate-clip b) { color: var(--lime); font-variant-numeric: tabular-nums; }
  .video-rate-clip { border-color: var(--line); }
  .video-rate-clip p { white-space: normal; }

  .video-rule-tags li {
    border-color: var(--line);
    border-radius: var(--platform-control-radius);
    color: var(--muted);
    background: var(--well);
  }

  .video-guest { margin-top: 0; }
  .video-dashboard { gap: 16px; }
  .video-history { border-color: var(--line); }
  :is(.video-external, .video-history summary) { color: var(--lime); }
  :is(.video-external, .video-history summary):hover { color: var(--platform-paper); }
  .video-empty-mark {
    border: 1px solid var(--bright-line);
    border-radius: var(--platform-card-radius);
    color: var(--lime);
    background: var(--well);
    box-shadow: 2px 3px var(--inverse);
  }

  :is(.video-back, .video-close) {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--bright-line);
    border-radius: var(--platform-control-radius);
    color: var(--platform-paper);
    background: var(--panel);
    line-height: 1;
  }

  :is(.video-back, .video-close):is(:hover, :focus-visible) { color: var(--inverse); background: var(--platform-paper); }
  :is(.video-secondary, .video-provider-button, .video-header .video-primary, .video-guest .button) { min-height: 44px; }
  :is(.video-rule-tags, .video-history summary):focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

  :is(.video-status-pill, .video-feedback, [data-video-error]) {
    --video-state-color: var(--mint);
    border: 1px solid color-mix(in srgb, var(--video-state-color) 50%, var(--well));
    border-radius: var(--platform-control-radius);
    color: var(--video-state-color);
    background: color-mix(in srgb, var(--video-state-color) 12%, var(--well));
  }

  .video-status-pill[data-state="pending"] { --video-state-color: var(--lime); }
  :is(.video-status-pill[data-state="rejected"], .video-feedback.error, [data-video-error]) { --video-state-color: var(--error); }
  .video-rates > p[role="status"] { color: var(--error); }
  .video-reward-summary:is([data-reward-status="eligible"], [data-reward-status="credited"]) {
    border-color: color-mix(in srgb, var(--mint) 48%, var(--well));
    background: color-mix(in srgb, var(--mint) 8%, var(--well));
  }
  .video-reward-summary:is([data-reward-status="eligible"], [data-reward-status="credited"]) > strong { color: var(--mint); }

  .video-dialog {
    width: min(600px, calc(100% - 24px));
    padding: clamp(14px, 3vw, 24px);
    border-color: var(--bright-line);
    border-radius: var(--platform-card-radius);
    background: var(--panel);
  }

  .video-dialog-head { grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 8px; }
  .video-dialog-empty { min-height: 0; align-content: center; padding-block: 12px; }
  .video-submit-form label { color: var(--platform-paper); }
  .video-submit-form input::placeholder { color: var(--muted); opacity: 1; }

  @media (max-width: 768px) {
    & { background: transparent; }
    .video-header { min-height: 0; padding: 10px; }
    .video-header > div { min-height: 44px; }
    .video-rules .video-section-head { min-height: 0; gap: 8px; }
    .video-channels .video-section-head { grid-template-columns: minmax(0, 1fr); }
    .video-rule-list { gap: 4px; }
    .video-rule-tags { scrollbar-width: thin; scrollbar-color: var(--bright-line) transparent; }
    .video-empty { min-height: 216px; }
  }
}
