/* YouTube Studio: native Content OS tokens and project-owned editing. */
.yp-root.view:not(.active) {
  display: none;
}
.yp-root {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  max-width: none;
  min-width: 0;
  color: var(--text);
  font: 14px/1.5 var(--font-sans);
  min-height: calc(100dvh - 66px);
}
.yp-root *,
.yp-root *::before,
.yp-root *::after {
  box-sizing: border-box;
}
.yp-root [hidden] {
  display: none !important;
}
.yp-root h1,
.yp-root h2,
.yp-root h3,
.yp-root p {
  margin: 0;
}
.yp-root h2 {
  font-size: 18px;
  font-weight: 600;
}
.yp-root h3 {
  font-size: 14px;
  font-weight: 600;
}
.yp-root p {
  overflow-wrap: anywhere;
}
.yp-root button,
.yp-root input,
.yp-root select,
.yp-root textarea {
  font: inherit;
}
.yp-root button,
.yp-root select {
  cursor: pointer;
}
.yp-root button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.yp-root :is(button, input, select, textarea, a, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.yp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 9px 13px;
  min-height: 42px;
  text-decoration: none;
  text-align: left;
  font-weight: 500;
}
.yp-button:hover {
  background: var(--surface2);
}
.yp-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.yp-primary:hover {
  background: var(--accent-hover);
}
.yp-sidebar {
  position: sticky;
  top: var(--yp-topbar,66px);
  height: calc(100dvh - var(--yp-topbar,66px));
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  background: var(--surface);
  align-self: start;
}
.yp-sidebar > .yp-button {
  justify-content: flex-start;
  background: none;
  border: 0;
  width: 100%;
  font-size: 13px;
  padding-inline: 12px;
  margin-bottom: 5px;
}
.yp-stages {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yp-step {
  justify-content: flex-start;
  gap: 13px;
  background: none;
  border: 0;
  padding: 9px 12px;
  min-height: 54px;
  width: 100%;
}
.yp-step > span:last-child {
  font-size: 14px;
}
.yp-step small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text3);
  margin-top: 2px;
}
.yp-step-number {
  width: 25px;
  height: 25px;
  border: 1px solid var(--text3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
}
.yp-step[aria-current=step] {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}
.yp-step[aria-current=step] small {
  color: var(--accent);
}
.yp-step[aria-current=step] .yp-step-number {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}
.yp-complete {
  background: var(--success-soft);
  color: var(--green);
  border-color: var(--success-border);
}
.yp-workspace {
  min-width: 0;
  padding: 22px 24px 124px;
  position: relative;
}
.yp-studio-heading {
  margin-bottom: 18px;
}
.yp-studio-heading h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.yp-studio-heading p {
  font-size: 15px;
  color: var(--text2);
  margin-top: 3px;
}
.yp-head {
  margin-bottom: 16px;
}
.yp-project-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 16px 18px;
  background: var(--surface);
}
.yp-project-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}
.yp-project-copy {
  flex: 1;
  min-width: 0;
}
.yp-project-thumb {
  width: 98px;
  height: 76px;
  display: grid;
  place-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  color: var(--text3);
  font-size: 12px;
}
.yp-project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yp-kicker {
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 4px !important;
}
.yp-title {
  border: 0;
  background: none;
  color: var(--text);
  font-size: 20px !important;
  font-weight: 600 !important;
  letter-spacing: -.018em;
  width: 100%;
  padding: 0 0 3px;
  min-width: 0;
  resize: none;
  field-sizing: content;
  overflow: hidden;
  line-height: 1.3;
  display: block;
  white-space: pre-wrap;
}
.yp-title:hover {
  box-shadow: 0 1px var(--border);
}
.yp-meta {
  color: var(--text3);
  font-size: 12px;
}
.yp-output-type,
.yp-runtime,
.yp-format {
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-left: 1px solid var(--border);
  padding-left: 22px;
  flex-shrink: 0;
}
.yp-output-type small,
.yp-runtime small,
.yp-format > small {
  color: var(--text3);
  font-size: 11px;
}
.yp-output-type > span {
  white-space: nowrap;
  font-size: 13px;
}
.yp-runtime {
  font-size: 13px;
}
.yp-ratios {
  display: flex;
  gap: 9px;
}
.yp-ratios .yp-button {
  white-space: nowrap;
  background: var(--surface2);
  font-size: 12px;
  padding: 8px 11px;
  min-height: 40px;
}
.yp-ratios [aria-pressed=true] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}
.yp-content {
  min-width: 0;
  min-height: 300px;
}
.yp-content > .yp-card {
  max-width: 760px;
  margin-bottom: 20px;
}
.yp-notice {
  padding: 10px 13px;
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 13px;
}
.yp-notice.yp-error {
  background: var(--danger-soft);
  border-color: var(--danger-border);
  color: var(--red);
}
.yp-notice.yp-saved {
  position: absolute;
  right: 24px;
  top: 27px;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  font-size: 12px;
  color: var(--green);
}
.yp-plan {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr);
  gap: 16px;
  align-items: start;
}
.yp-preview-column {
  min-width: 0;
}
.yp-preview {
  position: relative;
  background: var(--surface3);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yp-preview video {
  display: block;
  width: 100%;
  max-height: 61vh;
  object-fit: contain;
  background: #090909;
}
.yp-preview-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px;
  background: var(--surface2);
  text-align: center;
}
.yp-timeline {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-top: 15px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  background: var(--surface);
  scrollbar-width: thin;
}
.yp-timeline-track {
  position: relative;
  min-width: 100%;
  padding-top: 8px;
}
.yp-time-ruler {
  position: relative;
  height: 48px;
  color: var(--text3);
  font: 11px var(--mono);
  margin-inline: 6px;
}
.yp-time-ruler span {
  position: absolute;
  top: 4px;
  white-space: nowrap;
}
.yp-time-ruler span::after {
  content: "";
  display: block;
  height: 6px;
  width: 1px;
  background: var(--border-strong);
  margin: 8px 5px;
}
.yp-filmstrip {
  display: flex;
  gap: 0;
  width: 100%;
  height: 88px;
  overflow: hidden;
}
.yp-film {
  display: block;
  flex-shrink: 0;
  flex-grow: 0;
  border: 0;
  border-right: 1px solid var(--surface);
  background: none;
  padding: 0;
  height: 88px;
  min-width: 0;
  position: relative;
}
.yp-film-image {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  background: var(--surface2);
  overflow: hidden;
  color: var(--text3);
  font-size: 11px;
}
.yp-film-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.yp-film > span,
.yp-film > small {
  display: none;
}
.yp-film[aria-pressed=true] {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  z-index: 1;
}
.yp-film.yp-playing {
  box-shadow: inset 0 -3px var(--green);
}
.yp-waveform {
  display: block;
  width: 100%;
  height: 48px;
  background: var(--accent-light);
  border-top: 7px solid var(--surface);
  border-bottom: 7px solid var(--surface);
}
.yp-waveform-status {
  font-size: 11px;
  color: var(--text3);
  padding: 5px 8px;
}
.yp-playhead {
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 8px;
  width: 1px;
  background: var(--accent);
  pointer-events: none;
  z-index: 2;
}
.yp-review {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  overflow: hidden;
  min-width: 0;
}
.yp-review-head {
  padding: 14px 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.yp-review-head h2 {
  font-size: 19px;
}
.yp-beat-nav {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
}
.yp-beat-nav .yp-button {
  min-height: 29px;
  min-width: 29px;
  padding: 0;
  font-size: 20px;
}
.yp-beat-nav span {
  font-size: 11px;
  color: var(--text3);
  white-space: nowrap;
}
.yp-beat-choices {
  padding: 10px 16px 14px;
}
.yp-beat-picker {
  margin-bottom: 12px;
}
.yp-beat-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.yp-beat-range {
  font-size: 12px;
  color: var(--text3);
}
.yp-narration-label {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: -7px !important;
}
.yp-narration {
  font-size: 14px;
  line-height: 1.5;
}
.yp-beat-form > .yp-meta {
  font-size: 11px;
}
.yp-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 370px;
  overflow: auto;
}
.yp-assets:empty {
  display: none;
}
.yp-assets .yp-button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 7px;
  background: none;
  border: 0;
  border-radius: 4px;
  font-size: 12px;
  overflow: hidden;
  min-width: 0;
  overflow-wrap: anywhere;
  gap: 5px;
}
.yp-assets img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
}
.yp-assets strong,
.yp-assets small,
.yp-assets span {
  padding-inline: 4px;
}
.yp-assets small {
  font-size: 10px;
  color: var(--text3);
}
.yp-assets .yp-button:hover img {
  border-color: var(--accent);
}
.yp-keep-host {
  justify-content: flex-start;
  min-height: 80px;
  border-width: 1px 0 0;
  border-radius: 0;
  background: none;
  padding: 14px 0 0;
  gap: 15px;
}
.yp-keep-host > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.yp-keep-host strong {
  font-size: 13px;
  font-weight: 500;
}
.yp-keep-host small {
  font-size: 12px;
  color: var(--text3);
  font-weight: 400;
}
.yp-host-thumb {
  width: 45%;
  height: 83px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.yp-stock {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yp-stock-controls > summary {
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
}
.yp-stock-controls[open] > .yp-inline {
  margin-top: 10px;
}
.yp-stock-controls > .yp-field,
.yp-stock-controls > .yp-button {
  margin-top: 9px;
}
.yp-stock-controls > .yp-button {
  width: 100%;
}
.yp-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.yp-inline > .yp-field {
  flex: 1;
  min-width: 120px;
}
.yp-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  min-width: 0;
}
.yp-field > span {
  color: var(--text2);
}
.yp-field input:not([type=checkbox]),
.yp-field select,
.yp-field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  min-height: 39px;
  padding: 7px 9px;
}
.yp-field input[type=color] {
  padding: 3px;
}
.yp-field input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: var(--accent);
}
.yp-field input[type=file] {
  font-size: 12px;
}
.yp-card {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.yp-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.yp-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  padding: 10px;
  min-width: 0;
}
.yp-highlights .yp-field {
  flex-direction: row;
  align-items: center;
}
.yp-highlights legend {
  font-size: 12px;
  color: var(--text2);
}
.yp-beat-advanced {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.yp-beat-advanced summary {
  cursor: pointer;
  color: var(--text3);
  font-size: 12px;
}
.yp-beat-advanced .yp-field,
.yp-beat-advanced fieldset,
.yp-beat-advanced > .yp-button {
  margin-top: 10px;
}
.yp-beat-advanced > .yp-button {
  width: 100%;
}
.yp-host-controls {
  border-top: 1px solid var(--border);
  margin: 0 16px;
  padding: 13px 0;
}
.yp-host-controls > .yp-button {
  padding: 0;
  min-height: 26px;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 500;
}
.yp-host-controls > .yp-meta {
  margin-top: 2px;
}
.yp-setup > summary {
  display: none;
}
.yp-setup .yp-form {
  margin-top: 12px;
  padding: 12px;
}
.yp-project-tools {
  margin: 0 16px;
  border-top: 1px solid var(--border);
  padding: 10px 0;
}
.yp-project-tools > summary {
  cursor: pointer;
  color: var(--text3);
  font-size: 12px;
}
.yp-panel-disclosure > summary {
  padding: 11px 0;
  cursor: pointer;
  color: var(--text2);
  font-size: 12px;
}
.yp-panel-disclosure .yp-card {
  padding: 12px;
}
.yp-build,
.yp-inventory {
  background: var(--surface2);
}
.yp-attention {
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  gap: 8px;
  color: var(--orange);
  font-size: 12px;
}
.yp-attention > .yp-button {
  border: 0;
  background: none;
  color: var(--accent);
  padding: 0;
  min-height: 29px;
  font-size: 12px;
}
.yp-footer {
  position: fixed;
  bottom: 0;
  left: 222px;
  right: 0;
  z-index: 30;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  min-height: 85px;
}
.yp-footer > div {
  text-align: right;
}
.yp-footer strong {
  font-size: 12px;
  font-weight: 400;
}
.yp-footer p {
  font-size: 11px;
  color: var(--text3);
  margin-top: 3px;
}
.yp-footer > .yp-primary {
  font-weight: 600;
  min-width: 190px;
}
.yp-busy .yp-footer .yp-primary {
  pointer-events: none;
  opacity: .6;
}
.yp-empty {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.yp-project-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: 32px;
  max-width: 1100px;
}
.yp-project-list h2 {
  margin-bottom: 16px;
}
.yp-project-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 12px;
  gap: 5px;
  overflow-wrap: anywhere;
}
.yp-create h2 {
  margin: 0;
}
.yp-listing {
  display: block;
}
.yp-listing .yp-workspace {
  max-width: 1250px;
  margin: auto;
}
.yp-listing .yp-head h1 {
  font-size: 22px;
}
.yp-listing .yp-footer {
  display: none;
}
.yp-breadcrumb {
  margin-bottom: 15px;
}
.yp-credits {
  font: 11px/1.6 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.yp-inventory-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yp-inventory-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.yp-inventory-item > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.yp-inventory-item .yp-button {
  font-size: 11px;
  flex-shrink: 0;
}
.yp-rough {
  min-height: 650px;
  margin-top: 16px;
}
.yp-rough .ve-frame {
  width: 100%;
  height: 780px;
  border: 1px solid var(--border);
  border-radius: 7px;
}
.yp-embedded {
  display: block !important;
  min-width: 0;
  max-width: 100%;
}
.yp-embedded .sd-side,
.yp-embedded .ea-flow-steps,
.yp-embedded .ea-flow-top {
  display: none !important;
}
.yp-root .yp-script.yp-embedded .sd-app {
  grid-template-columns: minmax(0, 1fr);
  min-height: 650px;
}
.yp-root .yp-final.yp-embedded .ea-heading {
  display: none;
}
.yp-root .yp-final.yp-embedded {
  min-height: 650px;
}
.yp-root .yp-final.yp-embedded .ea-main {
  overflow: visible;
}
.yp-embedded .sd-main {
  padding: 0;
}
.yp-embedded .ea-app {
  padding: 0;
}
.yp-embedded .rc-bar {
  padding-inline: 0;
}
.yp-link-run {
  margin-bottom: 16px;
}
.yp-link-run summary {
  cursor: pointer;
  color: var(--text2);
  font-size: 12px;
}
.yp-unsaved {
  border-color: var(--accent);
}
@media (max-width: 1250px) {
  .yp-root {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .yp-sidebar {
    padding-inline: 6px;
  }
  .yp-step {
    padding-inline: 8px;
    gap: 10px;
  }
  .yp-workspace {
    padding: 20px 18px 125px;
  }
  .yp-project-summary {
    gap: 14px;
    padding: 14px;
  }
  .yp-project-thumb {
    width: 76px;
    height: 68px;
  }
  .yp-output-type,
  .yp-runtime,
  .yp-format {
    padding-left: 14px;
  }
  .yp-output-type {
    display: none;
  }
  .yp-plan {
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 1fr);
  }
  .yp-footer {
    left: 180px;
    padding-inline: 18px;
  }
  .yp-title {
    font-size: 18px !important;
  }
}
@media (max-width: 1000px) {
  .yp-root {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .yp-sidebar > .yp-button {
    font-size: 11px;
    padding-inline: 8px;
  }
  .yp-step > span:last-child {
    font-size: 12px;
  }
  .yp-step small {
    font-size: 10px;
  }
  .yp-step {
    gap: 8px;
  }
  .yp-workspace {
    padding: 18px 16px 125px;
  }
  .yp-project-summary {
    flex-wrap: wrap;
  }
  .yp-project-identity {
    min-width: 100%;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
  }
  .yp-runtime {
    border: 0;
    padding: 0;
  }
  .yp-format {
    margin-left: auto;
    border: 0;
  }
  .yp-plan {
    grid-template-columns: minmax(0, 1fr);
  }
  .yp-preview video {
    max-height: 55vh;
  }
  .yp-footer {
    left: 160px;
    gap: 12px;
    padding-inline: 16px;
  }
  .yp-footer > div {
    text-align: left;
  }
  .yp-footer > .yp-primary {
    min-width: 160px;
  }
  .yp-review-head h2 {
    font-size: 18px;
  }
  .yp-assets img {
    height: 180px;
  }
}
@media (max-width: 760px) {
  .yp-root {
    display: flex;
    flex-direction: column;
  }
  .yp-sidebar {
    position: static;
    width: 100%;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 10px;
  }
  .yp-sidebar > .yp-button {
    margin-bottom: 5px;
    min-height: 30px;
    font-size: 12px;
    width: auto;
  }
  .yp-stages {
    flex-direction: row;
    overflow: auto;
    gap: 7px;
    overscroll-behavior-x: contain;
  }
  .yp-step {
    flex: 0 0 138px;
    min-height: 48px;
    width: auto;
  }
  .yp-step > span:last-child {
    font-size: 12px;
  }
  .yp-step small {
    font-size: 10px;
  }
  .yp-workspace {
    padding: 16px 14px 151px;
    width: 100%;
    min-width: 0;
  }
  .yp-studio-heading h1 {
    font-size: 27px;
  }
  .yp-studio-heading p {
    font-size: 13px;
  }
  .yp-project-summary {
    padding: 12px;
    gap: 11px;
  }
  .yp-project-identity {
    gap: 12px;
  }
  .yp-project-thumb {
    width: 67px;
    height: 65px;
  }
  .yp-title {
    font-size: 17px !important;
  }
  .yp-runtime {
    font-size: 12px;
  }
  .yp-ratios {
    gap: 5px;
  }
  .yp-ratios .yp-button {
    font-size: 11px;
    padding: 6px 8px;
    min-height: 38px;
  }
  .yp-format {
    padding: 0;
  }
  .yp-project-summary small {
    font-size: 10px;
  }
  .yp-plan,
  .yp-project-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .yp-preview-column,
  .yp-review,
  .yp-project-list > section,
  .yp-create {
    width: 100%;
  }
  .yp-preview {
    min-height: 170px;
  }
  .yp-preview video {
    max-height: 55vh;
  }
  .yp-assets img {
    height: 140px;
  }
  .yp-footer {
    left: 0;
    padding: 12px 14px;
    gap: 10px;
    grid-template-columns: auto 1fr;
    min-height: 108px;
  }
  .yp-footer > div {
    grid-column: 1/-1;
    grid-row: 1;
    text-align: left;
  }
  .yp-footer > .yp-primary {
    justify-self: end;
    width: auto;
    min-width: 190px;
  }
  .yp-footer strong {
    font-size: 11px;
  }
  .yp-footer p {
    font-size: 10px;
  }
  .yp-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .yp-notice.yp-saved {
    top: 22px;
    right: 14px;
  }
  .yp-rough .ve-frame {
    height: 1350px;
  }
  .yp-button {
    min-height: 44px;
  }
  .yp-embedded .sd-head {
    flex-wrap: wrap;
  }
  .yp-timeline {
    margin-top: 10px;
  }
  .yp-review-head {
    padding-top: 13px;
  }
  .yp-beat-nav .yp-button {
    min-height: 35px;
    min-width: 35px;
  }
  .yp-attention {
    padding-block: 12px;
  }
}
.yp-root.view.active {
  display: grid;
}
.yp-root.yp-listing.view.active {
  display: block;
}
@media (max-width: 760px) {
  .yp-root.view.active {
    display: flex;
  }
  .yp-root.yp-listing.view.active {
    display: block;
  }
}
.yp-preview-column > .yp-project-tools {
  margin: 12px 0 0;
  padding: 10px 0;
  border-top: 0;
}
.yp-preview-column > .yp-project-tools > summary {
  font-size: 12px;
}
.yp-visual-choice {
  position: relative;
}
.yp-choice-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--text3);
  border-radius: 50%;
  background: var(--surface);
  padding: 0 !important;
  flex-shrink: 0;
}
.yp-visual-choice[aria-pressed=true] .yp-choice-dot {
  border: 2px solid var(--accent);
}
.yp-visual-choice[aria-pressed=true] .yp-choice-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.yp-visual-choice[aria-pressed=true] img {
  border: 2px solid var(--accent);
}
.yp-keep-host > .yp-choice-dot {
  position: relative;
  top: auto;
  right: auto;
}
.yp-assets .yp-choice-dot {
  z-index: 2;
}
@font-face {
  font-family: ContentOSDejaVuSans;
  src: url(/app/vendor/youtube-preview/DejaVuSans.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
.yp-preview video.yp-approved-reader {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
  max-height: none !important;
}
.yp-preview:has(.yp-composed-canvas) {
  display: block;
  aspect-ratio: 16/9;
  background: #000;
  max-height: none;
}
.yp-composed-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 61vh;
}
.yp-preview-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font-size: 11px;
  z-index: 5;
}
.yp-player-button {
  border: 0;
  background: none;
  color: #fff;
  min-height: 29px;
  padding: 2px;
  font-size: 11px !important;
  white-space: nowrap;
}
.yp-player-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.yp-player-seek {
  min-width: 30px;
  flex: 1;
  accent-color: var(--accent);
  height: 24px;
}
.yp-composition-status {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  padding: 7px 9px;
  border-radius: 4px;
  font-size: 11px;
  z-index: 4;
  pointer-events: none;
}
.yp-preview-readers {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.yp-asset-reader {
  width: 1px;
  height: 1px;
}
.yp-preview-caption-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.yp-preview:fullscreen {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
}
.yp-preview:fullscreen .yp-composed-canvas {
  max-height: none;
  height: 100%;
}
@media (max-width: 760px) {
  .yp-composed-canvas {
    max-height: 55vh;
  }
  .yp-preview-controls {
    gap: 6px;
    padding: 6px 8px;
  }
  .yp-player-button {
    font-size: 10px !important;
  }
  .yp-player-button:last-child {
    max-width: 36px;
    white-space: normal;
    line-height: 1.1;
  }
  .yp-player-time {
    font-size: 10px;
  }
}
.yp-preview:has(.yp-composed-canvas) {
  max-height: 61vh;
}
.yp-preview:has(.yp-composed-canvas) .yp-composed-canvas {
  max-height: none;
}
@media (max-width: 760px) {
  .yp-preview:has(.yp-composed-canvas) {
    max-height: 55vh;
  }
}
.yp-preview video.yp-approved-reader {
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 1;
  object-fit: contain;
  z-index: 0;
}
.yp-composed-canvas {
  position: relative;
  z-index: 1;
}
.yp-composition-status {
  pointer-events: auto;
}
.yp-composition-status .yp-player-button {
  font-size: 11px !important;
  text-decoration: underline;
}

/* Glen's desktop short-form tool and the compact project list. */
.yp-root.yp-glen.view.active{display:block}
.yp-glen .yp-sidebar,.yp-glen .yp-footer,.yp-glen .yp-head:empty{display:none}
.yp-glen .yp-workspace{max-width:1440px;margin:auto;padding:28px 32px 48px}
.yg-list-toolbar,.yg-heading,.yg-actions,.yg-dialog-head,.yg-timeline-tools{display:flex;align-items:center;gap:12px}
.yg-list-toolbar{justify-content:space-between;width:100%}
.yg-project-table{width:100%;border-collapse:collapse;text-align:left}
.yg-project-table th{font-size:12px;color:var(--text3);font-weight:500}
.yg-project-table th,.yg-project-table td{padding:14px 12px;border-bottom:1px solid var(--border)}
.yg-project-table td:first-child{width:40%}.yg-project-table td:last-child{text-align:right}
.yg-project-table small{display:block;padding-top:3px}
.yg-project-title{background:none;border:0;padding:0;min-height:0;font-weight:600;justify-content:flex-start}
.yg-project-title:hover{background:none;text-decoration:underline}
.yg-empty{padding:48px 0;border-top:1px solid var(--border)}
.yp-root .yg-dialog{position:fixed;inset:0;margin:auto;width:560px;max-width:calc(100vw - 64px);max-height:calc(100vh - 64px);padding:26px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);color:var(--text);overflow:auto}
.yg-dialog::backdrop{background:rgb(0 0 0 / .65)}
.yg-dialog form{display:grid;gap:16px}.yg-dialog-head{justify-content:space-between}.yg-dialog .yg-actions{justify-content:flex-end}
.yg-format{padding:10px 12px;background:var(--surface2);border-radius:6px}
.yp-glen:not(.yp-listing) .yp-studio-heading{display:none}
.yg-header{margin-bottom:16px}.yg-heading{flex-wrap:wrap}.yg-project-name{flex:1;min-width:150px}.yg-project-name h2{margin-bottom:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yg-header [data-glen-progress]{margin-top:12px;color:var(--text2);font-size:13px}
.yg-header progress{width:100%;height:5px;accent-color:var(--accent)}
.yg-screens{display:flex;align-items:center;gap:8px;margin-top:12px;color:var(--text3)}.yg-screens .yp-button{min-height:30px;padding:4px 12px;font-size:13px;background:none;border-color:transparent}.yg-screens [aria-current=step]{background:var(--accent-muted,var(--surface2));color:var(--text);border-color:var(--border-strong)}
.yg-notice{padding:0 0 10px;border:0;background:none;margin:0;font-size:12px}
.yg-editor{--yg-side-width:clamp(220px,22vw,280px);display:grid;grid-template-columns:var(--yg-side-width) minmax(280px,1fr) var(--yg-side-width);gap:14px;height:calc(100dvh - 287px);min-height:500px;align-items:start}
.yg-editor.script-panel-collapsed{grid-template-columns:var(--yg-side-width) minmax(280px,1fr) 44px}
.yg-script-panel{display:flex;flex-direction:column;gap:12px;min-width:0;height:100%;min-height:0;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow:hidden;box-sizing:border-box}
.yg-script-head{display:flex;align-items:center;gap:8px}.yg-script-head h3{flex:1}.yg-script-head .yp-button{min-height:28px;padding:4px 8px;font-size:11px}.yg-script-panel .yp-meta{font-size:12px;overflow-wrap:anywhere}.yg-script-status:empty{display:none}
.yg-script-content{display:flex;flex:1;flex-direction:column;gap:12px;min-height:0;overflow:hidden}.yg-script-content[hidden]{display:none}
.yg-script-head .yg-script-toggle{flex-shrink:0;min-width:28px;padding:2px 6px}.yg-script-chevron{font-size:22px;line-height:1}.yg-script-label{display:none}.yg-script-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.yg-script-panel.is-collapsed{padding:6px;gap:0}.yg-script-panel.is-collapsed .yg-script-head{flex:1;min-height:0}.yg-script-panel.is-collapsed h3,.yg-script-panel.is-collapsed [data-script-reload]{display:none}.yg-script-panel.is-collapsed .yg-script-toggle{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;width:100%;height:100%;padding:8px 0;border-color:transparent;background:none}.yg-script-panel.is-collapsed .yg-script-toggle:hover{background:var(--surface2)}.yg-script-panel.is-collapsed .yg-script-label{display:block;writing-mode:vertical-rl;font-size:12px}
.yg-script-text{flex:1;min-height:0;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;scrollbar-width:thin}.yg-script-text:empty{display:none}.yg-script-content>a{font-size:12px;align-self:flex-start}.yg-script-content>a[hidden]{display:none}
.yg-main{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;min-height:0;height:100%;gap:14px}
.yg-viewer{display:grid;grid-template-rows:auto minmax(0,1fr);min-height:0;height:100%;border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden}
.yg-canvas-head,.yg-line-nav{display:flex;align-items:center;gap:8px}.yg-canvas-head{justify-content:space-between;align-items:flex-start;padding:12px 16px;border-bottom:1px solid var(--border)}
.yg-canvas-title{flex:1;min-width:0}.yg-canvas-head>span{white-space:nowrap}.yg-playback-status p{position:static;background:none;color:var(--text2);margin:4px 0 0;padding:0;font-size:12px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.yg-playback-status .yp-player-button{color:var(--text);text-decoration:underline}
.yg-canvas{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;contain:size;padding:16px 16px 70px;background:var(--bg)}
.yg-inspector{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;padding:16px;background:var(--surface);border:1px solid var(--border);border-radius:8px;max-height:100%;overflow-y:auto;overflow-x:hidden;min-width:0;scrollbar-gutter:stable}
.yg-inspector>*{min-width:0;max-width:100%}.yg-inspector :is(section,form,details,.yp-field){min-width:0}.yg-inspector :is(input,select){min-width:0;max-width:100%;box-sizing:border-box}.yg-inspector :is(p,small,a){overflow-wrap:anywhere}
.yg-inspector>select{width:100%;min-width:0}.yg-line-nav h3{flex:1}.yg-line-nav .yp-button{font-size:0;width:28px;min-height:28px;padding:0}
.yg-line-nav .yp-button::before,.yg-carousel-nav .yp-button::before{content:'';width:14px;height:14px;background:currentColor;mask:url(/app/icons/chevron-down.svg) center/contain no-repeat}
.yg-line-nav .yp-button:nth-last-child(2)::before,.yg-carousel-nav .yp-button:first-child::before{transform:rotate(90deg)}.yg-line-nav .yp-button:last-child::before,.yg-carousel-nav .yp-button:last-child::before{transform:rotate(-90deg)}
.yg-line-nav .yp-meta{font-size:12px;white-space:nowrap}
.yg-settings{border-bottom:1px solid var(--border);padding-bottom:14px}.yg-settings summary{cursor:pointer;font-weight:600}.yg-settings[open]>summary{margin-bottom:16px}
.yg-source,.yg-zoom{display:grid;gap:12px}.yg-source{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--border)}.yg-source p,.yg-zoom p,.yg-inspector .yp-meta{font-size:12px}
.yg-zoom label:has([type=radio]){display:flex;align-items:center;flex-direction:row-reverse;justify-content:flex-end;gap:9px}
.yg-zoom .yp-field input[type=radio]{width:auto;min-height:0}
.yg-zoom .yp-field input[type=range]{padding:0}.yg-zoom input[type=number]{max-width:140px}
.yg-line{border-bottom:1px solid var(--border);padding-bottom:14px}.yg-line-copy{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-bottom:12px}.yg-line-copy p{font-size:15px}
.yg-skip{width:100%;min-height:34px;margin-bottom:10px}
.yg-carousel{min-width:0}.yg-carousel-tools,.yg-carousel-nav{display:flex;align-items:center;gap:6px}.yg-carousel-tools{justify-content:space-between;margin-bottom:6px}.yg-carousel-nav .yp-button{width:28px;min-height:28px;padding:0;font-size:0}
.yg-choices{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:2px 1px 8px;min-width:0}
.yg-choices .yp-button{flex:0 0 calc((100% - 8px)/2);display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;scroll-snap-align:start;font-size:12px;min-width:0;min-height:140px;padding:7px}
.yg-choices [aria-pressed=true],.yg-skip[aria-pressed=true]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.yg-choices img{width:100%;height:84px;object-fit:cover;border-radius:3px}.yg-choices .yp-button>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:32px}.yg-choices small{color:var(--text3)}
.yg-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:10px}.yg-search input{min-width:0}.yg-search select{grid-column:1/-1;width:100%}
.yg-body input:not([type=range],[type=radio],[type=checkbox]),.yg-body select,.yg-dialog input,.yg-dialog select{background:var(--surface2);color:var(--text);border:1px solid var(--border-strong);border-radius:6px;padding:10px 12px;min-height:42px;font:inherit}
.yg-body .yg-actions{margin:12px 0;flex-wrap:wrap}.yg-busy .yg-body{pointer-events:none;opacity:.7}
.yg-body .yg-card-actions{flex-wrap:nowrap;align-items:stretch;gap:8px}.yg-card-actions .yp-button{flex:1;min-width:0;justify-content:center;text-align:center;white-space:normal;font-size:12px;padding:8px;line-height:1.4}
.yg-properties{display:grid;gap:12px}.yg-property-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.yg-properties input{width:100%;min-width:0}.yg-properties input[type=range]{accent-color:var(--accent)}
.yg-captions{display:grid;gap:10px;border-bottom:1px solid var(--border);padding-bottom:14px}.yg-caption-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.yg-caption-heading .yp-field{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:12px;cursor:pointer}.yg-caption-heading input[type=checkbox]{appearance:none;position:relative;width:32px;height:18px;border:1px solid var(--border-strong);border-radius:20px;background:var(--surface2);cursor:pointer}.yg-caption-heading input::before{content:'';position:absolute;left:2px;top:2px;width:12px;height:12px;border-radius:50%;background:var(--text2)}.yg-caption-heading input:checked{background:var(--accent);border-color:var(--accent)}.yg-caption-heading input:checked::before{left:16px;background:var(--on-accent,#fff)}.yg-caption-heading input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.yg-caption-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.yg-caption-fields .yp-field>span{display:flex;justify-content:space-between;gap:6px;font-size:12px}.yg-caption-fields output{color:var(--text2);font-variant-numeric:tabular-nums}.yg-caption-fields input[type=range]{width:100%;min-width:0;min-height:24px;padding:0;accent-color:var(--accent)}.yg-caption-fields input:disabled{opacity:.45}
.yg-apply{display:grid;gap:10px}.yg-apply .yp-button{width:100%}
.yg-stage.yp-preview{position:relative;width:auto;height:100%;min-height:0;max-width:100%;aspect-ratio:9/16;overflow:visible;margin:0;flex:none}
.yg-stage.yp-preview:has(.yp-composed-canvas){height:100%;aspect-ratio:9/16;max-height:none}
.yg-stage .yp-composed-canvas{height:100%;max-height:none;aspect-ratio:9/16}
.yg-stage .yp-preview-controls{bottom:-64px;left:50%;right:auto;transform:translateX(-50%);width:280px;background:var(--surface);color:var(--text);z-index:5;display:grid;grid-template-columns:minmax(0,1fr) 36px minmax(0,1fr);gap:2px 8px;padding:4px 8px;border:1px solid var(--border);border-radius:6px}
.yg-stage .yp-player-button{color:var(--text);display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:4px}.yg-stage .yp-player-button:hover{background:var(--surface2)}.yg-stage .yp-player-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.yg-stage .yp-player-play{grid-column:2;grid-row:1;justify-self:center}.yg-stage .yp-player-mute,.yg-stage .yp-player-fullscreen{grid-column:3;grid-row:1;justify-self:end}.yg-stage .yp-player-mute{margin-right:32px}.yg-stage .yp-player-time{grid-column:1;grid-row:1;text-align:left;font-size:10px}.yg-stage .yp-player-seek{grid-column:1/-1;grid-row:2;width:100%;height:18px}
.yg-stage.yp-preview:fullscreen{width:100%;height:100%;aspect-ratio:auto!important;max-width:none}.yg-stage:fullscreen .yp-preview-controls{bottom:0}
.yg-timeline{padding:14px 16px;background:var(--surface2);border:1px solid var(--border);border-radius:8px}.yg-timeline-tools{margin-bottom:10px}.yg-timeline-tools strong{margin-right:auto}.yg-timeline-tools .yp-button{min-height:28px;padding:3px 10px}
.yg-caption-length{grid-column:1/-1}.yg-caption-length small{font-size:11px;line-height:1.5}
.yg-timeline-scroll{width:100%;overflow-x:auto;overflow-y:hidden}.yg-timeline-content{position:relative;min-width:100%;height:131px;display:grid;grid-template-rows:28px 47px 40px;gap:8px}.yg-blocks{position:relative;width:100%;height:47px;border:1px solid var(--border-strong);border-radius:4px;background:var(--bg);box-sizing:border-box}
.yg-ruler{position:relative;min-width:0;height:28px;border-bottom:1px solid var(--border-strong);box-sizing:border-box;cursor:crosshair;user-select:none}.yg-ruler-tick{position:absolute;bottom:0;height:5px;border-left:1px solid var(--border-strong)}.yg-ruler-major{height:9px;border-color:var(--text2)}.yg-ruler-label{position:absolute;bottom:11px;left:0;transform:translateX(-50%);white-space:nowrap;font-size:10px;font-variant-numeric:tabular-nums;color:var(--text2);line-height:12px}.yg-ruler-start .yg-ruler-label{transform:none}.yg-ruler-end .yg-ruler-label{transform:translateX(-100%)}
.yg-block{position:absolute;top:2px;height:39px;min-height:0;overflow:hidden;white-space:nowrap;display:block;padding:4px 10px;font-size:11px;background:var(--accent-muted,var(--surface));cursor:grab;touch-action:none}
.yg-block{background:var(--accent);color:var(--on-accent)}.yg-block.yg-pending{background:var(--surface);color:var(--text2);border-style:dashed;border-color:var(--accent)}
.yg-block.selected{border-color:var(--text);box-shadow:inset 0 0 0 1px var(--text)}.yg-duration{position:absolute;right:0;top:0;bottom:0;width:8px;background:rgb(255 255 255 / .4);cursor:ew-resize}
.yg-wave{display:block;width:100%;height:40px;cursor:crosshair;border:1px solid var(--border-strong);border-radius:4px;background:var(--bg);box-sizing:border-box}.yg-playhead{position:absolute;top:0;bottom:0;left:0;width:16px;transform:translateX(-50%);z-index:2;cursor:ew-resize;touch-action:none;outline:none}.yg-playhead::before{content:"";position:absolute;top:0;bottom:0;left:7px;width:2px;background:var(--accent)}.yg-playhead::after{content:"";position:absolute;top:0;left:3px;width:10px;height:10px;border-radius:50%;background:var(--accent)}.yg-playhead:focus-visible::after{outline:2px solid var(--text);outline-offset:2px}.yg-wave{touch-action:none}
.yg-render{border:1px solid var(--border);border-radius:8px;padding:20px;background:var(--surface);max-width:1000px;margin:0 auto}.yg-render:empty{display:none}.yg-render video{display:block;max-width:100%;width:100%;max-height:calc(100dvh - 390px);min-height:240px;background:#000;margin:16px auto;object-fit:contain}.yg-render .yg-actions{justify-content:center}.yg-render .yg-open-drive{display:flex;width:max-content;margin:12px auto 0}

/* YouTube thumbnails */
.yg-project-table td:first-child{width:144px}.yg-project-table td:nth-child(2){width:32%}
.yt-thumb-create{position:relative;width:128px;aspect-ratio:16/9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:var(--surface2);border:1px dashed var(--border-strong);border-radius:6px;color:var(--text2);font:inherit;font-size:12px;cursor:pointer;overflow:hidden}
.yt-thumb-create:hover{border-color:var(--accent);color:var(--text)}.yt-thumb-plus{font-size:20px;line-height:1}
.yt-thumb-create img{width:100%;height:100%;object-fit:cover}.yt-thumb-has-image{border-style:solid}.yt-thumb-has-image span{position:absolute;inset:auto 0 0;background:rgb(0 0 0 / .75);color:white;font-size:11px;padding:2px;opacity:0}.yt-thumb-has-image:hover span,.yt-thumb-has-image:focus-visible span{opacity:1}
.yp-root .yt-thumb-dialog{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:1000px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:28px;border:1px solid var(--border-strong);border-radius:14px;background:var(--surface);color:var(--text);overflow:auto;box-shadow:0 24px 80px #0006}
.yt-thumb-dialog::backdrop{background:rgb(0 0 0 / .7)}
.yt-thumb-heading,.yt-thumb-toolbar,.yt-thumb-preview-bar{display:flex;justify-content:space-between;align-items:center;gap:16px}.yt-thumb-heading{align-items:flex-start}
.yt-thumb-heading h2{margin:4px 0;font-size:23px;line-height:1.25}.yt-thumb-eyebrow{margin:0;font-size:10px;letter-spacing:.13em;color:var(--text3)}
.yt-thumb-intro{margin:12px 0 24px;color:var(--text2)}.yt-thumb-toolbar{padding-bottom:16px;border-bottom:1px solid var(--border)}
.yt-thumb-toolbar select,.yt-thumb-preview-bar select{font:inherit;font-size:13px;color:var(--text);background:var(--surface2);border:1px solid var(--border-strong);border-radius:6px;padding:9px}
.yt-thumb-status{font-size:13px;margin:16px 0 5px}.yt-thumb-error{padding:12px;border:1px solid var(--border-strong);border-radius:6px;color:var(--error,#e57575);font-size:13px}
.yt-thumb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.yt-thumb-card{border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--surface2);min-width:0}.yt-thumb-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.yt-thumb-image{display:block;border:0;padding:0;width:100%;aspect-ratio:16/9;background:var(--surface2);cursor:zoom-in}.yt-thumb-image img{display:block;width:100%;height:100%;object-fit:contain}
.yt-thumb-card-info{padding:12px;display:grid;grid-template-columns:1fr auto;column-gap:10px}.yt-thumb-card h3{font-size:13px;margin:0;line-height:1.5}.yt-thumb-card-info p{font-size:12px;color:var(--text3);margin:2px 0 0;grid-column:1}.yt-thumb-card-info button{grid-column:2;grid-row:1/3;align-self:center;font-size:12px;padding:7px 10px;min-height:36px}
.yt-thumb-skeleton{aspect-ratio:16/9;display:grid;place-content:center;color:var(--text3);background:linear-gradient(135deg,var(--surface2),var(--surface));font-size:13px}.yt-thumb-card>p{padding:0 12px}
.yt-thumb-inspect{border-top:1px solid var(--border);padding-top:20px;margin-top:24px}.yt-thumb-inspect>img{display:block;width:100%;max-width:1280px;aspect-ratio:16/9;object-fit:contain;margin:16px auto}.yt-thumb-feed>img{width:320px;max-width:100%}.yt-thumb-inspect>p{font-size:13px;line-height:1.6}.yt-thumb-preview-bar h3{font-size:14px;margin:0}.yt-thumb-footnote{margin:24px 0 0;line-height:1.6}
.yp-root .yt-thumb-dialog [hidden]{display:none}
@media(max-width:640px){.yp-root .yt-thumb-dialog{padding:16px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.yt-thumb-grid{grid-template-columns:1fr}.yt-thumb-heading h2{font-size:18px}.yt-thumb-preview-bar{flex-wrap:wrap}.yt-thumb-create{width:96px}.yt-thumb-dialog .yp-button{min-height:42px}}

.yt-thumb-card-info .yt-thumb-card-actions{grid-column:2;grid-row:1/4;display:flex;flex-direction:column;gap:6px}.yt-thumb-card-info .yt-thumb-card-actions button{align-self:stretch}.yt-thumb-direction{grid-column:1;color:var(--text3);font-size:10px;letter-spacing:.04em;text-transform:uppercase;margin-top:6px}

.yg-table-scroll{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
.yg-project-table{min-width:940px;table-layout:fixed}
.yg-project-table th:first-child{width:144px}.yg-project-table th:nth-child(2){width:32%}.yg-project-table th:last-child{width:90px}
.yg-project-table :is(th,td){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yg-project-table .yg-project-title{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-align:left}
