/* AUTOTUBE_ADMIN_PHOTO_MODE_BETA_V1: only user #1's private static file. */
html #photosTab #visualVideoPane #videoConfigStatus,
html #photosTab #visualVideoPane #videoConfigStatus::after {
  display:none!important;
  content:none!important;
}
html #photosTab #visualVideoPane #videoManagedStatusCard {
  position:relative;
}
html #photosTab .at-admin-media-switch {
  display:flex!important;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  margin:12px auto 3px;
  padding:4px;
  border:1px solid #d2d4d5;
  border-radius:16px;
  background:rgba(255,255,255,.75);
}
html #photosTab .at-admin-media-switch .at-admin-media-button {
  min-width:155px;
  padding:10px 18px;
  border:0;
  border-radius:12px;
  background:transparent;
  color:#17191c;
  font:700 14px/1.1 Inter,system-ui,sans-serif;
  cursor:pointer;
}
html #photosTab .at-admin-media-switch .at-admin-media-button.active {
  background:#050607!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(0,0,0,.13);
}
html #photosTab .at-admin-media-switch .at-admin-media-button:focus-visible {
  outline:2px solid #f20b24;
  outline-offset:2px;
}
html #photosTab #photoManagedStatusCard .at-admin-media-switch {margin:2px auto 14px;}
html #photosTab #photoGroupSize {display:none!important;}
html #photosTab label[for="photoGroupSize"] {display:none!important;}
html #photosTab #photoGroupSize:has(option) {visibility:hidden!important;}
html #photosTab .at-admin-photo-planning-caption {
  text-align:center;
  font-size:12px;
  color:#727780;
  margin:4px 0 12px;
  line-height:1.4;
}
html[data-autotube-theme="dark"] #photosTab .at-admin-media-switch {
  background:rgba(17,18,20,.9);
  border-color:#393b42;
}
html[data-autotube-theme="dark"] #photosTab .at-admin-media-switch .at-admin-media-button:not(.active) {color:#eee;}
@media(max-width:630px){
 html #photosTab .at-admin-media-switch{width:100%;}
 html #photosTab .at-admin-media-switch .at-admin-media-button{min-width:0;flex:1;padding:10px 8px;}
}

/* Photo storyboard is semantic, so there is no sentences-per-frame UI.
   Keep the hidden select for the existing admin-only app.js dependency. */
html #photosTab #photoManagedStatusCard .photo-inline-grid > div:has(> #photoGroupSize){
  display:none!important;
}
html #photosTab #photoManagedStatusCard .photo-inline-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
}
html #photosTab #photoManagedStatusCard .photo-inline-grid > div:first-child{
  min-width:0;
}

/* AUTOTUBE_ADMIN_PHOTO_EXACT_VIDEO_CSS_V2_BEGIN */

/* FROM private-visual-v44.css */
html:not([data-autotube-theme="dark"]) body #photosTab .visual-tab-shell > #visualPhotoPane.active {

  min-height:0 !important;
  height:100% !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard > label[for="videoStyle"] {

  font-family:Inter,Arial,sans-serif !important;
  font-weight:900 !important;
  font-size:16px !important;
  letter-spacing:-.02em !important;
  line-height:1.25 !important;
  color:#101011 !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoStyleHint {

  display:none !important; /* Original provider copy stays in DOM for native logic. */

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoStyleHint + .at44-style-explanation,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .at44-style-explanation {

  display:block !important;
  margin:8px 0 1px !important;
  color:#727780 !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:13px !important;
  font-weight:500 !important;
  line-height:1.45 !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoConfigStatus[data-at44-connected="true"] {

  font-size:0 !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoConfigStatus[data-at44-connected="true"]::after {

  content:"Veo 3.1 Lite підключено · до 5 одночасних генерацій" !important;
  font-family:Inter,Arial,sans-serif !important;
  color:#101011 !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.4 !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters {

  justify-content:flex-start !important;
  gap:8px !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters > span {

  padding:7px 12px !important;
  border:1px solid #E0E2E5 !important;
  border-radius:999px !important;
  background:#FFFFFF !important;
  color:#3D4249 !important;
  font-family:Inter,Arial,sans-serif !important;
  font-size:12px !important;
  font-weight:700 !important;

}

/* FROM private-video-design-v46.css */
@media (min-width: 901px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-frame-grid {

    align-items: stretch !important;
    min-height: 0 !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-control-column {

    display: flex !important;
    flex-direction: column !important;
    gap: clamp(9px, 1.25vh, 14px) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: clamp(12px, 1.45vh, 18px) !important;
    background: #fff !important;
    border: 1px solid #e0e2e5 !important;
    border-radius: 19px !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.018) !important;
    overflow: auto !important;
    scrollbar-width: thin;
  
}

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading {

  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:3px!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0 3px!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading .card-kicker {

  margin:0!important;
  color:#ef001b!important;
  font-family:Inter,Arial,sans-serif!important;
  font-weight:900!important;
  font-size:clamp(12px,1vw,16px)!important;
  line-height:1.25!important;
  letter-spacing:.045em!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading h2 {

  margin:0!important;
  color:#0c0c0d!important;
  font-family:Inter,Arial,sans-serif!important;
  font-weight:900!important;
  font-size:clamp(26px,2.45vw,37px)!important;
  line-height:1.08!important;
  letter-spacing:-.04em!important;
  text-align:left!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard {

  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  flex:0 0 auto!important;
  gap:clamp(7px,.95vh,12px)!important;
  margin:0!important;
  padding:clamp(12px,1.35vh,17px)!important;
  border:1px solid #dfe1e5!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
  min-width:0!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard > label[for="videoStyle"] {

  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(17px,1.48vw,22px)!important;
  line-height:1.19!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
  color:#111!important;
  margin:0!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard > .local-style-picker-trigger,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard .local-style-picker-trigger {

  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  min-height:clamp(65px,8vh,91px)!important;
  width:100%!important;
  gap:clamp(10px,1.4vw,18px)!important;
  padding:8px 12px!important;
  border-radius:15px!important;
  border:1px solid #dadde2!important;
  background:#fff!important;
  box-shadow:none!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .local-style-picker-thumb {

  width:clamp(95px,11vw,138px)!important;
  height:clamp(53px,6.45vw,78px)!important;
  aspect-ratio:16/9!important;
  border-radius:12px!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .local-style-picker-current {

  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(15px,1.33vw,19px)!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
  color:#0e0e0e!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .local-style-picker-chevron {

  width:26px!important;
  color:#25262b!important;
  font-size:28px!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard > #photoStyle:not(.local-style-native-select-hidden) {

  min-height:63px!important;
  border:1px solid #dadddf!important;
  border-radius:14px!important;
  background-color:#fff!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:16px!important;
  font-weight:700!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .at44-style-explanation {

  display:block!important;
  color:#787f8c!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(12px,.96vw,14px)!important;
  line-height:1.4!important;
  font-weight:500!important;
  margin:0!important;
  letter-spacing:normal!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoConfigStatus[data-at44-connected="true"] {

  display:flex!important;
  align-items:center!important;
  min-height:42px!important;
  padding:10px 12px!important;
  gap:10px!important;
  margin:2px 0 0!important;
  border:none!important;
  border-radius:12px!important;
  background:#f5f5f6!important;
  text-align:left!important;
  color:#111!important;
  box-shadow:none!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoConfigStatus[data-at44-connected="true"]::before {

  content:""!important;
  flex:0 0 11px!important;
  width:11px!important;
  height:11px!important;
  border-radius:50%!important;
  background:#16bc63!important;
  box-shadow:0 0 0 2px rgba(22,188,99,.07)!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoConfigStatus[data-at44-connected="true"]::after {

  content:"Veo 3.1 Lite підключено · до 5 одночасних генерацій"!important;
  font-family:Inter,Arial,sans-serif!important;
  color:#151518!important;
  font-size:clamp(11px,1vw,14px)!important;
  line-height:1.3!important;
  font-weight:700!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-parameter-block {

  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  gap:clamp(8px,1vh,13px)!important;
  flex:0 0 auto!important;
  min-height:0!important;
  margin:0!important;
  padding:clamp(12px,1.35vh,17px)!important;
  background:#fff!important;
  border:1px solid #e0e2e5!important;
  border-radius:18px!important;
  box-shadow:none!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-parameter-title {

  margin:0!important;
  color:#101011!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(18px,1.55vw,24px)!important;
  font-weight:900!important;
  line-height:1.15!important;
  letter-spacing:-.03em!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters {

  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  width:100%!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters > span {

  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:100%!important;
  min-height:clamp(46px,5.5vh,57px)!important;
  gap:12px!important;
  margin:0!important;
  padding:7px 12px!important;
  background:#fff!important;
  border:1px solid #dce0e4!important;
  border-radius:13px!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(14px,1.15vw,18px)!important;
  font-weight:700!important;
  line-height:1.1!important;
  color:#121315!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters > span::before {

  content:"";
  display:block;
  width:24px;
  height:22px;
  flex:0 0 24px;
  background:#131416;
  -webkit-mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters > span:first-child::before {

  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='3' stroke='black' stroke-width='2' fill='none'/%3E%3Ccircle cx='5' cy='7' r='1.2' fill='black'/%3E%3Ccircle cx='19' cy='17' r='1.2' fill='black'/%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='16' rx='3' stroke='black' stroke-width='2' fill='none'/%3E%3Ccircle cx='5' cy='7' r='1.2' fill='black'/%3E%3Ccircle cx='19' cy='17' r='1.2' fill='black'/%3E%3C/svg%3E");

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters > span:nth-child(2)::before {

  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='3' width='20' height='18' rx='3' fill='none' stroke='black' stroke-width='2'/%3E%3Ctext x='12' y='16' text-anchor='middle' font-size='10' font-family='Arial' font-weight='bold' fill='black'%3EHD%3C/text%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='3' width='20' height='18' rx='3' fill='none' stroke='black' stroke-width='2'/%3E%3Ctext x='12' y='16' text-anchor='middle' font-size='10' font-family='Arial' font-weight='bold' fill='black'%3EHD%3C/text%3E%3C/svg%3E");

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-toggle-stack {

  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  margin:0!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle {

  position:relative!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  gap:12px!important;
  margin:0!important;
  padding:clamp(8px,1vh,13px) 62px clamp(8px,1vh,13px) 12px!important;
  min-height:clamp(64px,7.5vh,80px)!important;
  border:1px solid #e2d9cf!important;
  border-radius:13px!important;
  background:#fff!important;
  cursor:pointer!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle::before {

  content:"";
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:11px;
  background-color:#f7f7f7;
  background-repeat:no-repeat;
  background-position:center;
  background-size:25px;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle:has(#photoUseComponents)::before {

  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4.5 22v-2a7.5 7.5 0 0 1 15 0v2'/%3E%3C/svg%3E");

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle:has(#videoResumeLatest)::before {

  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.6 2'/%3E%3C/svg%3E");

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > span:last-child {

  display:flex!important;
  flex-direction:column!important;
  flex:1 1 auto!important;
  min-width:0!important;
  align-items:flex-start!important;
  justify-content:center!important;
  font-family:Inter,Arial,sans-serif!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > span:last-child strong {

  color:#101011!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(12px,1vw,15px)!important;
  font-weight:900!important;
  line-height:1.25!important;
  text-align:left!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .at46-toggle-help {

  display:block!important;
  margin:3px 0 0!important;
  color:#878a92!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:clamp(10px,.86vw,12px)!important;
  line-height:1.3!important;
  font-weight:500!important;
  letter-spacing:normal!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > input[type="checkbox"] {

  position:absolute!important;
  right:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  opacity:0!important;
  width:45px!important;
  height:25px!important;
  z-index:1!important;
  cursor:pointer!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > .toggle-visual {

  position:absolute!important;
  right:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:block!important;
  flex:0 0 46px!important;
  width:46px!important;
  height:27px!important;
  margin:0!important;
  border-radius:999px!important;
  background:#cfd0d1!important;
  border:1px solid #cfd0d1!important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.10)!important;
  pointer-events:none!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > .toggle-visual::before {

  content:""!important;
  position:absolute!important;
  left:3px!important;
  top:3px!important;
  display:block!important;
  width:19px!important;
  height:19px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(0,0,0,.14)!important;
  transition:transform .14s!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > input[type="checkbox"]:checked + .toggle-visual {

  background:#f00016!important;
  border-color:#f00016!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle > input[type="checkbox"]:checked + .toggle-visual::before {

  transform:translateX(19px)!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle:focus-within {

  outline:2px solid rgba(240,0,22,.2)!important;
  outline-offset:2px!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-generation-status {

  display:grid!important;
  order:5!important;
  flex:0 0 auto!important;
  min-height:0!important;
  margin:0!important;
  gap:6px!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-generation-status > .inline-message:empty {

  display:none!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-generation-actions {

  display:flex!important;
  order:6!important;
  flex:0 0 auto!important;
  width:100%!important;
  margin-top:auto!important;
  margin-bottom:0!important;
  padding:0!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-generation-actions > #generatePhotosButton {

  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px!important;
  width:100%!important;
  min-height:clamp(51px,6.5vh,68px)!important;
  padding:11px 18px!important;
  border:0!important;
  border-radius:14px!important;
  background:#f00016!important;
  color:#fff!important;
  box-shadow:0 10px 20px rgba(240,0,22,.13)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-weight:900!important;
  font-size:clamp(16px,1.4vw,21px)!important;
  letter-spacing:-.025em!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #generatePhotosButton::before {

  content:"";
  display:block;
  flex:0 0 25px;
  width:25px;
  height:25px;
  background-color:#fff;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.5 14.1 9.9 22.5 12l-8.4 2.1L12 22.5l-2.1-8.4L1.5 12l8.4-2.1L12 1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.5 14.1 9.9 22.5 12l-8.4 2.1L12 22.5l-2.1-8.4L1.5 12l8.4-2.1L12 1.5z'/%3E%3C/svg%3E") center/contain no-repeat;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #generatePhotosButton:disabled {

  opacity:1!important;
  cursor:not-allowed!important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #cancelPhotosButton:not(.hidden) {

  min-height:48px!important;

}
@media (max-width: 900px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-control-column {

    padding:14px!important;
    gap:12px!important;
    overflow:visible!important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading h2 {
font-size:28px!important;
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-parameter-block {
padding:15px!important;
}

}
@media (max-width: 470px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .local-style-picker-thumb {
width:78px!important;height:45px!important;
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-fixed-parameters > span {
gap:7px!important;padding:8px!important;
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle {
padding-left:8px!important;padding-right:53px!important;gap:7px!important;
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle::before {
width:32px;height:32px;flex-basis:32px;
}

}
@media (min-width:901px) and (max-height:875px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-control-column {

    gap:9px!important;
    padding:11px!important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-parameter-block {

    padding:10px!important;
    gap:7px!important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle {

    min-height:58px!important;
    padding-top:7px!important;
    padding-bottom:7px!important;
  
}

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane label.video-compact-toggle:has(#photoKeepSound)::before {

  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5Z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E");

}

/* FROM private-video-runtime-v48.css */
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-generation-actions,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-generation-status {

  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

  display: flex !important;
  flex-direction: column !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin-top: 0 !important;
  padding: 22px 0 26px !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-download {

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 78px !important;
  padding: 18px 28px !important;
  border: 0 !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #ff2341 0%, #ff1134 100%) !important;
  color: #fff !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 27px !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 10px 24px rgba(255, 26, 64, .18) !important;
  cursor: pointer !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start::before {

  content: '✦';
  margin-right: 18px;
  font-size: 30px;
  line-height: 1;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress[hidden],
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-success[hidden],
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start[hidden] {

  display: none !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-success {

  display: grid !important;
  gap: 12px !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-progress-text,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-success-text {

  margin: 0 !important;
  color: #111111 !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-progress-track {

  position: relative !important;
  width: 100% !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: #efd9dd !important;
  overflow: hidden !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-progress-fill {

  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 0;
  min-width: 0 !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #ff1437 0%, #ff2546 100%) !important;
  transition: width .24s ease !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress.at48-indeterminate .at48-progress-fill {

  width: 42% !important;
  animation: at48-slide 1.2s ease-in-out infinite !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-success {

  align-items: center !important;
  grid-template-columns: 1fr auto !important;
  column-gap: 14px !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-download {

  width: auto !important;
  min-height: 56px !important;
  padding: 14px 24px !important;
  border-radius: 16px !important;
  font-size: 18px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 8px 16px rgba(255, 26, 64, .14) !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-download::before {

  content: none !important;

}
@media (max-height: 860px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

    padding: 18px 0 22px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start {

    min-height: 72px !important;
    font-size: 24px !important;
  
}

}
#visualPhotoPane.at48-installed .at48-video-restart {
display:block;width:100%;min-height:52px;margin-top:10px;border:1px solid #dedee1;border-radius:14px;background:#fff;color:#101010;font:800 16px Inter,system-ui,sans-serif;cursor:pointer;
}

/* FROM private-video-button-v49.css */
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

  flex: 0 0 auto !important;
  min-height: 0 !important;
  margin: auto 0 0 !important;
  padding: 8px 0 12px !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start {

  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  max-height: 48px !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  background: #f00016 !important;
  background-image: none !important;
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em !important;
  box-shadow: 0 6px 14px rgba(240, 0, 22, 0.13) !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start:hover {

  background: #d90014 !important;
  background-image: none !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start::before {

  margin-right: 9px !important;
  font-size: 20px !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress,
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-success {

  min-height: 48px !important;
  padding: 0 !important;
  align-content: center !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-download {

  background: #f00016 !important;
  background-image: none !important;
  font-size: 15px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 14px rgba(240, 0, 22, 0.13) !important;

}
@media (max-height: 860px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

    padding: 6px 0 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start {

    min-height: 46px !important;
    height: 46px !important;
    max-height: 46px !important;
    font-size: 15px !important;
  
}

}
@media (min-width: 901px) and (max-height: 1000px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    gap: 8px !important;
    padding: 10px 12px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading h2 {

    font-size: 29px !important;
    line-height: 1.04 !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 10px !important;
    gap: 7px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    min-height: 66px !important;
    height: 66px !important;
    padding: 6px 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    height: 52px !important;
    width: 95px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: 42px !important;
    padding: 8px 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: 59px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
  
}

}
@media (min-width: 901px) and (max-height: 860px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    gap: 6px !important;
    padding: 8px 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading h2 {

    font-size: 26px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 8px !important;
    gap: 5px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    min-height: 56px !important;
    height: 56px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    height: 44px !important;
    width: 78px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: 49px !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: 36px !important;
    padding: 5px 8px !important;
  
}

}

/* FROM private-video-balance-v410.css */
@media (min-width: 901px) and (max-height: 1000px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    gap: 11px !important;
    padding: 12px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading h2 {

    font-size: 31px !important;
    line-height: 1.08 !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 13px !important;
    gap: 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    height: 80px !important;
    min-height: 80px !important;
    padding: 8px 12px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    width: 112px !important;
    height: 63px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: 48px !important;
    padding: 8px 12px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: 67px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    gap: 11px !important;
  
}

}
@media (min-width: 901px) and (max-height: 860px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    gap: 9px !important;
    padding: 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading h2 {

    font-size: 29px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 11px !important;
    gap: 8px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    height: 70px !important;
    min-height: 70px !important;
    padding: 7px 11px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    width: 98px !important;
    height: 55px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: 44px !important;
    padding: 7px 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: 60px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    gap: 9px !important;
  
}

}
@media (min-width: 901px) and (min-height: 780px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard {

    min-height: clamp(193px, 24vh, 240px) !important;
    justify-content: space-between !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    min-height: clamp(266px, 33vh, 340px) !important;
    justify-content: space-between !important;
  
}

}

/* FROM private-video-fixed-v416.css */
@media (min-width: 901px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-control-column {

    overflow-x: hidden !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    min-height: 0 !important;
    height: 100% !important;
    justify-content: flex-start !important;
    gap: clamp(5px, .75vh, 9px) !important;
    padding: clamp(8px, 1vh, 12px) !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-control-column::-webkit-scrollbar {

    display: none !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading {

    gap: 2px !important;
    margin: 0 !important;
    padding: 0 2px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading h2 {

    font-size: clamp(22px, 1.9vw, 29px) !important;
    line-height: 1.05 !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    min-height: 0 !important;
    height: auto !important;
    flex: 0 0 auto !important;
    gap: clamp(5px, .7vh, 8px) !important;
    padding: clamp(8px, 1.1vh, 11px) !important;
    justify-content: flex-start !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    min-height: clamp(51px, 6.9vh, 66px) !important;
    height: clamp(51px, 6.9vh, 66px) !important;
    padding: 5px 9px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    width: clamp(79px, 7.5vw, 98px) !important;
    height: clamp(44px, 5.5vh, 55px) !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: clamp(35px, 4.9vh, 43px) !important;
    padding: 5px 9px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: clamp(49px, 6.4vh, 59px) !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

    flex: 0 0 auto !important;
    min-height: 0 !important;
    margin: auto 0 0 !important;
    padding: 4px 0 0 !important;
    gap: 6px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start {

    min-height: 45px !important;
    height: 45px !important;
    max-height: 45px !important;
  
}

}
@media (min-width: 901px) and (max-height: 730px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .video-control-column {

    padding: 6px !important;
    gap: 4px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 6px 8px !important;
    gap: 4px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane .visual-control-heading h2 {

    font-size: 22px !important;
  
}

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-error[hidden] {

  display: none !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-error:not([hidden]) {

  display: block !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  border: 1px solid #f5bec6 !important;
  border-radius: 10px !important;
  background: #fff3f4 !important;
  color: #b60019 !important;
  font: 600 12px/1.35 Inter, system-ui, sans-serif !important;
  overflow-wrap: anywhere !important;
  max-height: 86px !important;
  overflow-y: auto !important;

}

/* FROM private-video-thin-progress-v417.css */
@media (min-width: 901px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

    gap: 6px !important;
  
}

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress {

  gap: 7px !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-progress-text {

  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.24 !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-progress-track {

  box-sizing: border-box !important;
  height: 6px !important;
  min-height: 6px !important;
  max-height: 6px !important;
  border-radius: 999px !important;
  background: #f2e4e6 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-progress-fill {

  height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  border-radius: inherit !important;
  background: #f00016 !important;
  box-shadow: none !important;
  transition: width .24s ease !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress.at48-indeterminate .at48-progress-fill {

  width: 42% !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime .at48-video-error {

  display: none !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress .at48-progress-fill {

  animation: none !important;
  transform: none !important;
  min-width: 0 !important;

}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-progress.at48-indeterminate .at48-progress-fill {

  width: 0 !important;
  animation: none !important;
  transform: none !important;

}

/* FROM private-video-balance-v419.css */
@media (min-width: 901px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: 100% !important;
    overflow-x: clip !important;
    overflow-y: clip !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    gap: 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading {

    flex: 0 0 auto !important;
    gap: 3px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading h2 {

    font-size: clamp(25px, 2.1vw, 31px) !important;
    line-height: 1.07 !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard {

    flex: 2 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px !important;
    gap: 9px !important;
    justify-content: space-between !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    flex: 3 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px !important;
    gap: 10px !important;
    justify-content: space-between !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    flex: 0 0 auto !important;
    height: clamp(68px, 7.8vh, 80px) !important;
    min-height: clamp(68px, 7.8vh, 80px) !important;
    padding: 7px 12px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    width: clamp(100px, 8.2vw, 116px) !important;
    height: clamp(56px, 6.25vh, 65px) !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: clamp(43px, 5vh, 49px) !important;
    padding: 8px 12px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-toggle-stack {

    gap: 9px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: clamp(57px, 6.35vh, 64px) !important;
    padding: 8px 12px !important;
    gap: 10px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

    flex: 0 0 48px !important;
    box-sizing: border-box !important;
    min-height: 48px !important;
    height: 48px !important;
    max-height: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    justify-content: center !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start {

    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime:has(.at48-video-error:not([hidden])) {

    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 48px !important;
  
}

}
@media (min-width: 901px) and (max-height: 860px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    padding: 8px 10px !important;
    gap: 8px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 9px 10px !important;
    gap: 7px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    min-height: 62px !important;
    height: 62px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    width: 96px !important;
    height: 53px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: 42px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: 55px !important;
    padding: 6px 10px !important;
  
}

}
@media (min-width: 901px) and (max-height: 740px) {
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-control-column {

    padding: 7px 9px !important;
    gap: 6px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .visual-control-heading h2 {

    font-size: 24px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed #photoManagedStatusCard,
  html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-parameter-block {

    padding: 7px !important;
    gap: 5px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-trigger {

    min-height: 54px !important;
    height: 54px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .local-style-picker-thumb {

    width: 80px !important;
    height: 44px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .video-fixed-parameters > span {

    min-height: 35px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed label.video-compact-toggle {

    min-height: 46px !important;
    padding: 4px 8px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-runtime {

    min-height: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  
}
html:not([data-autotube-theme="dark"]) body #visualPhotoPane.at48-installed .at48-video-start {

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  
}

}

/* Photo is not a Veo request: hide provider-status decoration and the
   native auxiliary controls; only the audio toggle is absent. */
html #photosTab #visualPhotoPane #photoConfigStatus{display:none!important}
html #photosTab #visualPhotoPane #photoConfigStatus::before,
html #photosTab #visualPhotoPane #photoConfigStatus::after{display:none!important;content:none!important}
html #photosTab #visualPhotoPane #photoStyle{display:none!important}
html #photosTab #visualPhotoPane #photoLocalStylePickerTrigger{display:flex!important}
html #photosTab #visualPhotoPane .photo-hidden-utility{display:none!important}
html #photosTab #visualPhotoPane #photoUseComponents{cursor:pointer}
html #photosTab #visualPhotoPane .video-toggle-stack{grid-template-columns:minmax(0,1fr)!important}
html #photosTab #visualPhotoPane #photoResultCard{max-width:100%}
html #photosTab #visualPhotoPane .at-admin-media-switch{margin:12px auto 3px}
html #photosTab #visualPhotoPane .video-control-column{height:100%}
html #photosTab #visualPhotoPane #photoLocalStylePickerTrigger .local-style-picker-thumb{flex-shrink:0}
html #photosTab #visualPhotoPane #generatePhotosButton::before{content:"✦";margin-right:10px;font-weight:900}
@media(max-width:850px){
html #photosTab #visualPhotoPane .video-control-column{overflow:visible!important}
}
/* AUTOTUBE_ADMIN_PHOTO_EXACT_VIDEO_CSS_V2_END */

/* Photo UI mirrors the V4.8 video runtime's large CTA and progress bar. */
html #photosTab #visualPhotoPane .at48-video-runtime{
  margin-top:auto!important;
}
html #photosTab #visualPhotoPane .at-admin-photo-cancel{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  margin-top:10px;
  min-height:42px;
  border-radius:12px;
  border:1px solid #e2a1aa;
  background:#fff;
  color:#be1932;
  font-weight:700;
  cursor:pointer;
}
html #photosTab #visualPhotoPane .at-admin-photo-cancel[hidden]{
  display:none!important;
}


/* AUTOTUBE_ADMIN_PHOTO_ORIGINAL_VISUAL_PARITY_FIX_20261123
   Keep exactly the photo tab layout matching the existing V4.8 video pane,
   without the video audio toggle. Native status/cancel/error nodes remain
   alive for app.js and the V4.8 mirror; never render them twice. */
html body #photosTab #visualPhotoPane.at48-installed
:is(.video-generation-actions, .video-generation-status) {
  display:none!important;
}
html body #photosTab #visualPhotoPane.at48-installed #photoError {
  display:none!important; /* still mirrored in .at48-video-error */
}
html body #photosTab #visualPhotoPane.at48-installed
.at48-video-runtime {
  flex:0 0 auto!important;
  height:auto!important;
  max-height:none!important;
  min-height:48px!important;
  width:100%!important;
  margin-top:auto!important;
  padding:0!important;
  gap:7px!important;
  overflow:visible!important;
}
html body #photosTab #visualPhotoPane.at48-installed
.at-admin-photo-cancel {
  display:none!important;
}
html body #photosTab #visualPhotoPane.at48-installed
.video-toggle-stack {
  min-width:0!important;
  width:100%!important;
  grid-template-columns:minmax(0,1fr)!important;
}
html body #photosTab #visualPhotoPane.at48-installed
label.video-compact-toggle {
  box-sizing:border-box!important;
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:70px!important;
  padding:10px 84px 10px 12px!important;
  gap:10px!important;
  align-items:center!important;
}
html body #photosTab #visualPhotoPane.at48-installed
label.video-compact-toggle > span:last-child {
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  max-width:100%!important;
  flex:1 1 0%!important;
  padding-right:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
html body #photosTab #visualPhotoPane.at48-installed
label.video-compact-toggle .at46-toggle-help {
  display:block!important;
  max-width:100%!important;
  white-space:normal!important;
  line-height:1.3!important;
}
html body #photosTab #visualPhotoPane.at48-installed
label.video-compact-toggle > .toggle-visual,
html body #photosTab #visualPhotoPane.at48-installed
label.video-compact-toggle > input[type="checkbox"] {
  right:14px!important;
  left:auto!important;
}
@media(max-width:530px) {
  html body #photosTab #visualPhotoPane.at48-installed label.video-compact-toggle {
    padding-right:74px!important;
    min-height:80px!important;
  }
}


/* AUTOTUBE_ADMIN_PHOTO_CLEAN_SCRIPT_ACTIONS_AND_WIDE_SWITCH_20261123
   Requested cleanup in admin photo/video choice UI ONLY.
   All native elements remain present so legacy event binding is not broken.
   No changes to the separate video pane's script import/clear controls. */
html body #photosTab #visualPhotoPane .visual-script-column > .video-script-actions,
html body #photosTab #visualPhotoPane .visual-script-column > .section-actions.video-script-actions {
  display: none !important;
}

/* Make the photo/video chooser fill the INNER width of its style card.
   Same proportions in both photo and video modes, including narrow screens. */
html body #photosTab #photoManagedStatusCard .at-admin-media-switch,
html body #photosTab #videoManagedStatusCard .at-admin-media-switch {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  margin: 8px 0 0 !important;
  gap: 5px !important;
}
html body #photosTab #photoManagedStatusCard .at-admin-media-switch > .at-admin-media-button,
html body #photosTab #videoManagedStatusCard .at-admin-media-switch > .at-admin-media-button {
  flex: 1 1 0% !important;
  width: 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 11px 8px !important;
  text-align: center !important;
  white-space: nowrap !important;
}
@media(max-width: 430px){
  html body #photosTab .at-admin-media-switch > .at-admin-media-button{
    padding: 10px 4px !important;
    font-size: 12px !important;
  }
}


/* ADMIN_MEDIA_PARITY_20261124: identical geometry for both modes */
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-control-column {
  box-sizing:border-box!important; height:100%!important; min-height:0!important;
  align-self:stretch!important; justify-content:flex-start!important;
  gap:10px!important; padding:12px!important; overflow:auto!important;
}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#photoManagedStatusCard,#videoManagedStatusCard,.video-parameter-block) {
  flex:0 0 auto!important; height:auto!important; min-height:0!important;
  justify-content:flex-start!important; align-content:start!important;
  gap:10px!important; padding:12px!important;
}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-parameter-title {display:none!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .visual-control-heading h2 {font-size:clamp(24px,2vw,30px)!important;line-height:1.1!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#photoManagedStatusCard,#videoManagedStatusCard) > label.field-label {font-size:16px!important;line-height:1.2!important;font-weight:700!important;margin:0!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at44-style-explanation {margin:0!important;line-height:1.4!important;font-size:14px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at-admin-media-switch {margin:0!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-fixed-parameters {margin:0!important;gap:8px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-fixed-parameters > span {min-height:42px!important;padding:8px 12px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-toggle-stack {margin:0!important;gap:8px!important;grid-template-columns:minmax(0,1fr)!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-trigger {height:60px!important;min-height:60px!important;padding:6px 10px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-thumb {width:90px!important;height:50px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle {box-sizing:border-box!important;min-height:64px!important;padding:8px 74px 8px 12px!important;gap:10px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle > span:last-child {min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-runtime {flex:0 0 auto!important;height:auto!important;min-height:48px!important;margin: auto 0 0!important;padding:0!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-start {height:48px!important;min-height:48px!important;max-height:48px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane) .visual-script-column {grid-template-rows:auto minmax(0,1fr)!important;gap:10px!important;padding:14px!important}
html body #photosTab :is(#visualPhotoPane,#visualVideoPane) .visual-script-column > .video-script-actions {display:none!important}
@media(min-width:901px){
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .visual-frame-grid {align-items:stretch!important;grid-template-columns:minmax(320px, 40%) minmax(0,1fr)!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .visual-script-column {align-self:stretch!important}
}
@media(max-width:900px){
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-control-column {height:auto!important}
}


/* ADMIN_MEDIA_FILL_20261124: restore full viewport panels; allocate surplus to controls, not margins */
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-runtime {
 margin:0!important; flex:0 0 auto!important;
}
@media(min-width:901px){
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .visual-frame-grid {
  grid-template-columns:minmax(330px,.82fr) minmax(0,1.18fr)!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-control-column {
  display:flex!important; height:100%!important; gap:10px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#photoManagedStatusCard,#videoManagedStatusCard) {
  display:flex!important;flex-direction:column!important;flex:1 0 auto!important;
  justify-content:flex-start!important;gap:10px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-trigger {
  flex:1 0 auto!important; height:auto!important;min-height:76px!important;
  display:flex!important;align-items:center!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-thumb {
  width:clamp(105px,9vw,145px)!important;height:auto!important;aspect-ratio:16/9;
  max-height:100px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-current {font-size:clamp(18px,1.45vw,23px)!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at-admin-media-switch {flex:0 0 auto!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at-admin-media-switch > .at-admin-media-button {min-height:44px!important;font-size:15px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-parameter-block {
  display:flex!important;flex-direction:column!important;flex:1 0 auto!important;
  justify-content:flex-start!important;gap:10px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-fixed-parameters > span {min-height:52px!important;font-size:19px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-toggle-stack {
  display:flex!important;flex-direction:column!important;flex:1 0 auto!important;gap:8px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle {
  flex:1 0 auto!important;min-height:66px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle strong {font-size:16px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle .at46-toggle-help {font-size:13px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-runtime {flex:0 0 auto!important;min-height:54px!important;margin:0!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-start {height:54px!important;min-height:54px!important;max-height:54px!important;font-size:17px!important}
}
@media(min-width:901px) and (max-height:740px){
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-control-column {gap:6px!important;padding:8px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#photoManagedStatusCard,#videoManagedStatusCard,.video-parameter-block) {gap:6px!important;padding:8px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-trigger {min-height:55px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-thumb {width:84px!important;max-height:47px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-fixed-parameters > span {min-height:36px!important;font-size:15px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle {min-height:48px!important;padding-top:5px!important;padding-bottom:5px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-runtime {min-height:44px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-start {height:44px!important;min-height:44px!important;max-height:44px!important}
}

/* ADMIN_MEDIA_FIT_20261124: sizing from actual available panel height */
html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#videoError,#photoError) {
 display:none!important; /* error is already mirrored in runtime */
}
@media(min-width:901px){
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-control-column {
  container-type:size; gap:8px!important;padding:10px!important;overflow:hidden!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#photoManagedStatusCard,#videoManagedStatusCard,.video-parameter-block) {
  flex:1 1 0!important; min-height:0!important;gap:8px!important;padding:10px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-parameter-block {flex:1.12 1 0!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-trigger {
  flex:1 1 0!important;min-height:42px!important;max-height:none!important;overflow:hidden!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-thumb {
  width:auto!important;height:100%!important;max-height:100%!important;max-width:34%!important;aspect-ratio:16/9;flex-shrink:0!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .local-style-picker-thumb img {width:100%!important;height:100%!important;object-fit:cover!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at44-style-explanation {flex:0 0 auto!important;font-size:clamp(11px,2.1cqh,14px)!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at-admin-media-switch > .at-admin-media-button {
  min-height:clamp(30px,6.7cqh,48px)!important;padding:5px 8px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-fixed-parameters {flex:0 0 auto!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-fixed-parameters > span {min-height:clamp(32px,8cqh,58px)!important;padding:4px 10px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-toggle-stack {flex:1 1 0!important;min-height:0!important;gap:7px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle {flex:1 1 0!important;min-height:0!important;padding-top:4px!important;padding-bottom:4px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle strong {font-size:clamp(12px,2.45cqh,16px)!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle .at46-toggle-help {font-size:clamp(10px,2cqh,13px)!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-runtime {
  flex:0 0 auto!important;min-height:0!important;margin:0!important;padding:0!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .at48-video-start {
  height:clamp(36px,8.3cqh,56px)!important;min-height:clamp(36px,8.3cqh,56px)!important;max-height:none!important;padding:5px 10px!important;
 }
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .video-control-column:has(.at48-video-error:not([hidden]),.at48-video-success:not([hidden])) {overflow:auto!important}
}
@container (max-height:520px){
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed .visual-control-heading h2 {font-size:23px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed label.video-compact-toggle::before {width:28px!important;height:28px!important;flex-basis:28px!important}
 html body #photosTab :is(#visualPhotoPane,#visualVideoPane).at48-installed :is(#photoManagedStatusCard,#videoManagedStatusCard,.video-parameter-block) {gap:5px!important;padding:7px!important}
}

/* ADMIN_PHOTO_DISABLED_SOUND_20261124: photo only, no generation option */
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable {
 cursor:not-allowed!important; background:#f7f7f8!important; border-color:#e2e3e5!important;
}
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable strong,
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable .at46-toggle-help {color:#96999f!important}
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable::before {
 background-color:#eceef0!important;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396999f' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4V5Z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7'/%3E%3Cpath d='M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E")!important;
}
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable > .toggle-visual {
 background:#c4c7cc!important; cursor:not-allowed!important; box-shadow:none!important;
}
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable > .toggle-visual::before {background:#f5f5f6!important}
html body #photosTab #visualPhotoPane.at48-installed label.photo-sound-unavailable > input:disabled {cursor:not-allowed!important}
