/* Production workspace, scoped to Round 2 screens. Shared palette stays canonical. */
:is(.ci-studio-flow,.ci-studio-home,.ci-studio-gallery) { min-width:0; }
.ci-studio-flow .dash__stepper { display:none; }
.ci-credit-summary { padding-block:12px; border-bottom:1px solid var(--ci-line); }
.ci-credit-summary>summary { min-height:44px; align-content:center; font-size:.875rem; color:var(--ci-muted); cursor:pointer; }
.ci-credit-summary .dash__usage { margin-top:16px; }
.ci-studio-flow .dash__optcard-title,.ci-studio-flow .dash__optcard-text { text-align:left; width:100%; }
.ci-production-nav { margin:24px 0; }
.ci-production-nav ol { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; list-style:none; padding:0; margin:0; }
.ci-production-nav button { display:flex; align-items:center; gap:10px; width:100%; min-width:0; min-height:60px; text-align:left; border:0; border-bottom:2px solid var(--ci-line); background:transparent; color:var(--ci-muted); padding:8px 4px; font-size:.8rem; overflow-wrap:anywhere; cursor:pointer; }
.ci-production-nav button>span { display:grid; place-items:center; width:26px; height:26px; flex-shrink:0; background:var(--ci-raised); border-radius:50%; font-variant-numeric:tabular-nums; }
.ci-production-nav button[aria-current="step"] { border-color:var(--ci-cyan); color:var(--ci-text); font-weight:700; }
.ci-production-nav button[aria-current="step"]>span { background:var(--ci-action); color:var(--ci-on-action); }
.ci-production-nav button.is-done { color:var(--ci-success); }
.ci-production-nav button:disabled { cursor:default; }
.ci-production-status { display:flex; align-items:center; gap:16px; padding:20px 24px; border:1px solid var(--ci-line); border-radius:12px; background:var(--ci-surface); margin-bottom:32px; }
.ci-production-status>.msr { color:var(--ci-cyan); }
.ci-production-status>div { min-width:0; flex:1; }
.ci-production-status p { color:var(--ci-muted); font-size:.85rem; margin:4px 0 0; max-width:70ch; }
.ci-production-status[data-state="error"] { border-color:color-mix(in srgb, var(--ci-danger) 50%, var(--ci-line)); }
.ci-production-status[data-state="completed"] { border-color:color-mix(in srgb, var(--ci-success) 45%, var(--ci-line)); }
.ci-production-status[data-state="pending"] { border-color:color-mix(in srgb, var(--ci-warning) 45%, var(--ci-line)); }
.ci-processing-indicator { width:24px; height:24px; border:3px solid var(--ci-line); border-top-color:var(--ci-cyan); border-radius:50%; animation:ci-processing 1.2s linear infinite; }
@keyframes ci-processing { to { transform:rotate(360deg); } }
.ci-studio-flow .dash__usage { padding:18px 22px; }
.ci-studio-flow .dash__usage-bars { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.ci-studio-flow .dash__usage-title { font-size:.95rem; }
.ci-studio-flow .dash__optcards--carousel,.ci-studio-flow .dash__step1-carousel-inner { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; overflow:visible; }
.ci-studio-flow #dash-step-0 .dash__optcards { grid-template-columns:repeat(2,minmax(0,1fr)); }
.ci-studio-flow .dash__optcard { min-width:0; width:auto; flex:auto; }
.ci-studio-flow .dash__optcard-inner { min-height:190px; padding:24px; text-align:left; align-items:flex-start; }
.ci-studio-flow .dash__optcard-title { font-size:1rem; }
.ci-studio-flow .dash__optcard-desc { font-size:.85rem; color:var(--ci-muted); }
.ci-studio-flow .dash__step1-carousel { overflow:visible; }
.ci-studio-flow .dash__grid { grid-template-columns:minmax(0,1fr); max-width:800px; align-items:start; }
.ci-studio-flow .dash__grid>.dash__card:last-child { padding:0; background:transparent; border:0; }
.ci-studio-flow .dash__grid>.dash__card:last-child .dash__card-head { width:100%; padding:18px 24px; border:1px solid var(--ci-line); border-radius:12px; background:var(--ci-surface); }
.ci-studio-flow .dash__card { padding:24px; }
.ci-studio-flow .dash__drop { min-height:260px; background:var(--ci-space); border:1px dashed var(--ci-line); border-radius:12px; padding:24px; }
.ci-studio-flow .dash__drop-title { font-size:1rem; }
.ci-studio-flow .dash__preview-img { width:100%; max-height:320px; object-fit:contain; }
.ci-studio-flow .dash__selected-name { overflow-wrap:anywhere; }
.ci-studio-flow .dash__generating { min-height:260px; position:static; padding:24px; border-radius:12px; background:var(--ci-space); }
.ci-studio-flow .ci-review .dash__generating { min-height:160px; margin:20px 0; display:grid; justify-items:center; gap:8px; }
.ci-studio-flow .dash__generating-logo { width:48px; height:48px; }
.ci-studio-flow .dash__generating-logo img { width:48px; height:48px; object-fit:contain; }
.ci-studio-flow .dash__generating-bg { display:none; }
.ci-studio-flow .dash__generating-timer::before { content:'Tempo decorrido: '; font-size:.8rem; }
.ci-studio-flow .dash__generating-timer { font-variant-numeric:tabular-nums; }
.ci-review { padding:28px; background:var(--ci-surface); border:1px solid var(--ci-line); border-radius:14px; max-width:800px; }
.ci-review h2 { margin:0 0 10px; font-size:1.5rem; }
.ci-review p { color:var(--ci-muted); max-width:64ch; font-size:.9rem; }
.ci-review dl { display:grid; grid-template-columns:130px minmax(0,1fr); gap:0; margin:24px 0; }
.ci-review dt,.ci-review dd { margin:0; padding:14px 0; border-bottom:1px solid var(--ci-line); font-size:.875rem; overflow-wrap:anywhere; }
.ci-review dt { color:var(--ci-muted); }
.ci-review-actions { margin-bottom:12px; }
.ci-studio-flow .dash__history { margin-top:40px; padding:24px; background:var(--ci-surface); border-color:var(--ci-line); }
.ci-studio-flow .dash__history-title { font-size:1.2rem; }
:is(.ci-studio-flow,.ci-studio-gallery) [data-dash-clear-history] { color:var(--ci-danger); }
:is(.ci-studio-flow,.ci-studio-gallery) .dash__history-head { flex-wrap:wrap; gap:16px; }
:is(.ci-studio-flow,.ci-studio-gallery) .dash__history-actions { width:auto; min-width:0; flex:0 0 auto; }
:is(.ci-studio-flow,.ci-studio-gallery) .dash__history-search { min-width:0; flex:1; height:48px; }
.ci-video-direction { margin-top:24px; border-top:1px solid var(--ci-line); padding-top:16px; }
.ci-video-direction>summary { min-height:44px; align-content:center; cursor:pointer; color:var(--ci-muted); }
.ci-studio-flow [data-dash-video-result] { padding:24px; border:1px solid var(--ci-line); border-radius:14px; background:var(--ci-surface); }
.ci-studio-flow .dash__result-wrap { margin-top:32px; }
.ci-studio-flow .dash__result-title { font-size:1.6rem; }
.ci-studio-flow .dash__result-slider { padding:1px; background:var(--ci-line); animation:none; box-shadow:none; border-radius:12px; }
.ci-studio-flow .dash__result-slider-inner { border-radius:11px; }
.ci-studio-flow .dash__result-slider-img--after { clip-path:inset(0 0 0 var(--slider-pos,50%)); }
.ci-studio-flow .dash__result-slider-handle:focus-visible .msr { outline:3px solid var(--ci-focus); outline-offset:4px; }
.ci-studio-flow .dash__result-list { gap:24px; }
.ci-studio-flow .dash-toast { width:min(calc(100vw - 32px),420px); border-radius:12px; z-index:998; }
.ci-studio-flow .dash__history-search-input { min-width:0; }
:is(.ci-studio-flow,.ci-studio-gallery) .dash__gallery-tile { height:auto; aspect-ratio:auto; background:var(--ci-space); }
:is(.ci-studio-flow,.ci-studio-gallery) .dash__gallery-tile-thumb { height:auto; aspect-ratio:1; padding:0; border:0; background:var(--ci-space); cursor:pointer; border-radius:12px; }
.ci-history-name { margin:0; padding:12px; font-size:.75rem; color:var(--ci-muted); overflow-wrap:anywhere; line-height:1.5; }
.ci-video-next-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:16px; }
.ci-studio-flow .dash__captions-result>label { margin-top:24px; }
.ci-studio-flow [data-ci-next]:disabled { background:var(--ci-space); color:var(--ci-muted); opacity:1; border-color:var(--ci-line); }
.ci-studio-flow .dash__onboarding-hint { display:none; }
.ci-studio-section-head { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:24px; }
.ci-studio-section-head h2 { margin:0 0 10px; font-size:1.4rem; }
.ci-studio-section-head p { margin:0; color:var(--ci-muted); max-width:65ch; font-size:.9rem; }
.ci-studio-objective-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.ci-studio-objective { display:flex; flex-direction:column; align-items:flex-start; gap:20px; padding:28px; border:1px solid var(--ci-line); border-top:3px solid var(--ci-cyan); border-radius:14px; background:var(--ci-surface); color:var(--ci-text); }
.ci-studio-objective:hover { background:var(--ci-raised); border-color:var(--ci-cyan); }
.ci-studio-objective-icon { font-size:32px; color:var(--ci-cyan); }
.ci-studio-objective-body { display:grid; gap:12px; }
.ci-studio-objective-body strong { font-size:1.35rem; }
.ci-studio-objective-body>span,.ci-studio-objective-body small { color:var(--ci-muted); font-size:.9rem; }
.ci-studio-objective-body small { font-size:.8rem; }
.ci-studio-objective-action { display:flex; align-items:center; gap:8px; margin-top:auto; font-weight:700; font-size:.875rem; }
.ci-studio-journey { list-style:none; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; padding:0; margin:32px 0 20px; }
.ci-studio-journey li { border-top:1px solid var(--ci-line); padding-top:16px; }
.ci-studio-journey strong,.ci-studio-journey span { display:block; }
.ci-studio-journey span { color:var(--ci-muted); font-size:.8rem; margin-top:6px; }
.ci-studio-process-note { display:flex; align-items:center; gap:10px; color:var(--ci-muted); font-size:.85rem; }
.ci-studio-results { border-block:1px solid var(--ci-line); padding:32px 0; margin:32px 0; }
.ci-studio-recent { color:var(--ci-muted); font-size:.875rem; }
.ci-studio-secondary { margin-top:32px; border-top:1px solid var(--ci-line); padding-top:24px; }
.ci-studio-secondary>summary { cursor:pointer; font-weight:700; min-height:44px; }
.ci-studio-secondary-lead,.ci-studio-history-help { color:var(--ci-muted); font-size:.875rem; }
/* Criativos: creating and the library are two views of one destination (includes/studio-tabs.php). */
.ci-theme .ci-studio-tabs { display:inline-flex; gap:4px; max-width:100%; margin:0 0 24px; padding:4px; border:1px solid var(--ci-line); border-radius:12px; background:var(--ci-space); }
.ci-theme .ci-studio-tabs__tab { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:8px 18px; border-radius:9px; color:var(--ci-muted); font-size:.9rem; font-weight:700; text-decoration:none; touch-action:manipulation; }
.ci-theme .ci-studio-tabs__tab .msr { font-size:20px; }
.ci-theme .ci-studio-tabs__tab:hover { color:var(--ci-text); }
.ci-theme .ci-studio-tabs__tab.is-current { background:var(--ci-raised); color:var(--ci-text); box-shadow:inset 0 -2px 0 var(--ci-cyan); }
.ci-theme .ci-studio-tabs__tab.is-current .msr { color:var(--ci-cyan); font-variation-settings:'FILL' 1; }
.ci-studio-context-nav { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
.ci-studio-gallery-next { display:flex; justify-content:space-between; gap:24px; border-top:1px solid var(--ci-line); padding-top:24px; margin-top:32px; }
.ci-studio-gallery .dash__history { padding:24px; background:var(--ci-surface); border-color:var(--ci-line); }
@media(max-width:1100px) { .ci-studio-flow .dash__grid { grid-template-columns:1fr; } .ci-studio-flow .dash__step1-carousel-inner { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) {
 .ci-production-nav ol { gap:6px; }
 .ci-production-nav button { flex-direction:column; align-items:flex-start; gap:8px; font-size:.75rem; min-height:92px; }
 .ci-production-status { padding:18px; align-items:flex-start; }
 .ci-production-status>.msr { display:none; }
 .ci-studio-flow .dash__optcards--carousel,.ci-studio-flow #dash-step-0 .dash__optcards,.ci-studio-flow .dash__step1-carousel-inner { grid-template-columns:1fr; }
 .ci-studio-flow .dash__card,.ci-review,.ci-studio-flow .dash__history,.ci-studio-gallery .dash__history { padding:20px; }
 .ci-studio-flow .dash__optcard-inner { min-height:150px; }
 .ci-studio-flow .dash__drop { padding:16px; }
 .ci-review dl { grid-template-columns:1fr; }
 .ci-review dt { padding-bottom:4px; border-bottom:0; }
 .ci-review dd { padding-top:0; }
 .ci-studio-objective-grid { grid-template-columns:1fr; }
 .ci-studio-objective { padding:24px; }
 .ci-studio-journey { grid-template-columns:1fr 1fr; gap:16px; }
 .ci-studio-section-head,.ci-studio-gallery-next { flex-direction:column; align-items:flex-start; }
 .ci-studio-flow .dash__history-toolbar,.ci-studio-gallery .dash__history-toolbar { display:flex; flex-direction:column; align-items:stretch; }
 :is(.ci-studio-flow,.ci-studio-gallery) .dash__history-search { flex:0 0 auto; width:100%; }
 .ci-studio-flow .dash__usage-bars { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .ci-processing-indicator { animation:none; } }

/* PDF 2026-10-10: studio entry with two visual choices, five image types, no advanced panel or caption creator. */
.ci-theme [data-ci-retired] { display:none !important; }
.ci-step-eyebrow { display:inline-block; margin:0 0 8px; padding:4px 10px; border-radius:999px; background:var(--ci-raised); color:var(--ci-cyan); font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.ci-studio-hero { display:grid; gap:10px; margin-bottom:24px; }
.ci-studio-hero__eyebrow { margin:0; color:var(--ci-cyan); font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.ci-studio-hero h2 { margin:0; font-size:clamp(1.8rem,4vw,2.9rem); line-height:1.08; letter-spacing:-.03em; font-weight:800; color:var(--ci-text); }
.ci-studio-hero h2 span { color:var(--ci-cyan); }
.ci-studio-hero p:last-child { margin:0; color:var(--ci-muted); max-width:56ch; }
.ci-studio-choice { padding:0; overflow:hidden; gap:0; border-top-width:1px; transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; text-decoration:none; }
.ci-studio-choice:hover { transform:translateY(-3px); box-shadow:0 18px 40px rgb(0 0 0 / .28); }
.ci-studio-choice .ci-studio-objective-body { padding:22px 24px 0; }
.ci-studio-choice .ci-studio-objective-action { margin:18px 24px 24px; padding:11px 18px; border-radius:10px; background:var(--ci-action); color:var(--ci-on-action); }
.ci-studio-choice__media { position:relative; display:block; width:100%; aspect-ratio:16/9; overflow:hidden; background:var(--ci-raised); }
.ci-studio-choice__media img { width:100%; height:100%; object-fit:cover; display:block; }
/* Before/after the owner drags (assets/js/studio-compare.js): the "after" photo is cut at the line. */
.ci-studio-choice__link { display:flex; flex-direction:column; align-items:flex-start; width:100%; color:inherit; text-decoration:none; }
.ci-studio-choice__link:focus-visible { outline:2px solid var(--ci-focus); outline-offset:-4px; border-radius:12px; }
.ci-compare { --ci-compare:50%; user-select:none; -webkit-user-select:none; }
.ci-compare img,.ci-compare video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.ci-compare__after { clip-path:inset(0 0 0 var(--ci-compare)); }
.ci-compare__line { position:absolute; top:0; bottom:0; left:var(--ci-compare); z-index:2; width:2px; margin-left:-1px; background:#fff; box-shadow:0 0 0 1px rgb(0 0 0 / .22); pointer-events:none; }
.ci-compare__handle { position:absolute; top:50%; left:50%; width:40px; height:40px; margin:-20px 0 0 -20px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#0b2236; font-size:22px; box-shadow:0 6px 18px rgb(0 0 0 / .35); }
.ci-compare .ci-studio-choice__tag { z-index:3; pointer-events:none; }
.ci-compare__range { position:absolute; inset:0; z-index:4; width:100%; height:100%; margin:0; padding:0; opacity:0; cursor:ew-resize; touch-action:pan-y; -webkit-appearance:none; appearance:none; background:transparent; }
.ci-compare:has(.ci-compare__range:focus-visible) .ci-compare__handle { outline:3px solid var(--ci-focus); outline-offset:3px; }
.ci-compare:hover .ci-compare__handle { transform:scale(1.06); }
.ci-studio-choice__media--video video { width:100%; height:100%; object-fit:cover; display:block; }
.ci-studio-choice__stage { position:relative; display:block; width:100%; }
.ci-studio-choice__toggle { position:absolute; right:12px; top:12px; z-index:5; width:40px; height:40px; display:grid; place-items:center; padding:0; border:0; border-radius:50%; background:rgb(7 28 46 / .72); color:#fff; cursor:pointer; }
.ci-studio-choice__toggle .msr { font-size:22px; }
.ci-studio-choice__toggle:hover { background:rgb(7 28 46 / .9); }
.ci-studio-choice__toggle:focus-visible { outline:3px solid var(--ci-focus); outline-offset:2px; }
.ci-studio-choice__tag { position:absolute; left:12px; bottom:12px; padding:4px 10px; border-radius:999px; background:rgb(7 28 46 / .78); color:#fff; font-size:.7rem; font-weight:800; }
.ci-studio-choice__tag--after { left:auto; right:12px; background:var(--ci-action); }
.ci-studio-choice__media--motion img { animation:ci-kenburns 14s ease-in-out infinite alternate; transform-origin:60% 40%; }
.ci-studio-choice__play { position:absolute; inset:0; margin:auto; width:58px; height:58px; display:grid; place-items:center; border-radius:50%; background:rgb(7 28 46 / .7); color:#fff; font-size:34px; animation:ci-pulse 2.4s ease-in-out infinite; }
.ci-studio-choice__timeline { position:absolute; left:14px; right:14px; bottom:12px; height:4px; border-radius:4px; background:rgb(255 255 255 / .28); overflow:hidden; }
.ci-studio-choice__timeline i { display:block; height:100%; width:100%; background:#fff; transform-origin:left; animation:ci-timeline 7s linear infinite; }
@keyframes ci-kenburns { from { transform:scale(1.02) translate3d(0,0,0); } to { transform:scale(1.16) translate3d(-2.5%,-2%,0); } }
@keyframes ci-pulse { 50% { transform:scale(1.08); box-shadow:0 0 0 12px rgb(255 255 255 / .08); } }
@keyframes ci-timeline { from { transform:scaleX(0); } to { transform:scaleX(1); } }
.ci-video-source { margin:4px 0 22px; }
.ci-video-source h2 { margin:0 0 6px; font-size:1.25rem; color:var(--ci-text); }
.ci-video-source h2 span { color:var(--ci-cyan); }
.ci-video-source p { margin:0 0 14px; color:var(--ci-muted); font-size:.9rem; }
.ci-video-source__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.ci-video-source__item { display:flex; align-items:center; gap:12px; padding:16px; border:1px solid var(--ci-line); border-radius:14px; background:var(--ci-surface); color:var(--ci-text); text-decoration:none; min-height:44px; }
.ci-video-source__item:hover { border-color:var(--ci-cyan); background:var(--ci-raised); }
.ci-video-source__item .msr { font-size:24px; color:var(--ci-cyan); }
.ci-video-source__item strong { display:block; font-size:.92rem; }
.ci-video-source__item small { display:block; color:var(--ci-muted); font-size:.76rem; margin-top:2px; }
@media (max-width:760px) { .ci-video-source__grid { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { .ci-studio-choice,.ci-studio-choice__media--motion img,.ci-studio-choice__play,.ci-studio-choice__timeline i { animation:none; transition:none; } }
.ci-video-source__item.is-active { border-color:var(--ci-cyan); background:var(--ci-raised); }
.ci-video-source__status { margin:12px 0 0; font-size:.86rem; color:var(--ci-muted); }
.ci-video-source__status[data-kind="ok"] { color:var(--ci-success); }
.ci-video-source__status[data-kind="error"] { color:var(--ci-danger); }
.ci-video-library { margin-top:14px; padding:16px; border:1px solid var(--ci-line); border-radius:14px; background:var(--ci-surface); display:grid; gap:12px; }
.ci-video-library__state { margin:0; color:var(--ci-muted); font-size:.86rem; }
.ci-video-library__grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(110px,1fr)); gap:10px; }
.ci-video-library__item { padding:0; border:2px solid transparent; border-radius:12px; overflow:hidden; aspect-ratio:1/1; background:var(--ci-raised); cursor:pointer; display:grid; place-items:center; color:var(--ci-muted); }
.ci-video-library__item img { width:100%; height:100%; object-fit:cover; display:block; }
.ci-video-library__item:hover,.ci-video-library__item:focus-visible { border-color:var(--ci-cyan); outline:none; }

/* PDF 2026-10-10, item 3.1: the five image types as photo cards (picture, icon, title, text, arrow), two per row. */
.ci-studio-flow #dash-step-1 .dash__step-title span { color:var(--ci-cyan); }
.ci-studio-flow #dash-step-1 .dash__optcards--carousel { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ci-studio-flow #dash-step-1 .dash__optcard { min-height:0; height:auto; }
.ci-studio-flow #dash-step-1 .dash__optcard-inner { position:relative; display:grid; grid-template-columns:minmax(0,42%) minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:18px; row-gap:10px;
  min-height:0; padding:12px; align-items:start; border-radius:14px; }
.ci-studio-flow #dash-step-1 .dash__optcard-media { grid-row:1 / span 2; display:block; aspect-ratio:4/3; border-radius:10px; overflow:hidden; background:var(--ci-raised); }
.ci-studio-flow #dash-step-1 .dash__optcard-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease; }
.ci-studio-flow #dash-step-1 .dash__optcard:hover .dash__optcard-media img { transform:scale(1.04); }
.ci-studio-flow #dash-step-1 .dash__optcard-icon { width:34px; height:34px; margin:6px 0 0; border-radius:9px; }
.ci-studio-flow #dash-step-1 .dash__optcard-icon .msr { font-size:20px; }
.ci-studio-flow #dash-step-1 .dash__optcard-text { grid-column:2; padding:0 40px 8px 0; }
.ci-studio-flow #dash-step-1 .dash__optcard-how,.ci-studio-flow #dash-step-1 .dash__tooltip { display:none; }
.ci-studio-flow #dash-step-1 .dash__optcard-go { position:absolute; right:14px; bottom:14px; width:34px; height:34px; display:grid; place-items:center; border:1px solid var(--ci-line);
  border-radius:50%; color:var(--ci-cyan); font-size:20px; transition:background .18s ease, color .18s ease, border-color .18s ease; }
.ci-studio-flow #dash-step-1 .dash__optcard:hover .dash__optcard-go,.ci-studio-flow #dash-step-1 .dash__optcard input:checked ~ .dash__optcard-inner .dash__optcard-go { background:var(--ci-action); border-color:var(--ci-action); color:var(--ci-on-action); }
@media (max-width:760px) {
  .ci-studio-flow #dash-step-1 .dash__optcards--carousel { grid-template-columns:1fr; }
  .ci-studio-flow #dash-step-1 .dash__optcard-inner { grid-template-columns:minmax(0,38%) minmax(0,1fr); }
}

/* PDF item 4: the video page is a sequence: 1 · the picture that goes into the video, then 2 · the video. */
.ci-video-page #dash-step-0,.ci-video-page #dash-step-1,.ci-video-page #dash-step-2,.ci-video-page .dash__stepper,.ci-video-page [data-dash-templates],
.ci-video-page .dash__history { display:none !important; }
.ci-video-page[data-video-stage="source"] #dash-step-video,.ci-video-page[data-video-stage="source"] .ci-production-status { display:none !important; }
.ci-video-page[data-video-stage="setup"] .ci-video-source__grid,.ci-video-page[data-video-stage="setup"] .ci-video-library,
.ci-video-page[data-video-stage="setup"] .ci-video-source__next,.ci-video-page[data-video-stage="setup"] .ci-video-source__status,
.ci-video-page[data-video-stage="setup"] .ci-video-source>p:not(.ci-video-source__chosen):not(.ci-step-eyebrow) { display:none !important; }
.ci-video-page .dash__card-title span { color:var(--ci-cyan); }
.ci-video-source { padding:24px; border:1px solid var(--ci-line); border-radius:16px; background:var(--ci-surface); }
.ci-video-source .ci-step-eyebrow { margin-bottom:12px; }
.ci-video-source h2 { font-size:1.45rem; }
.ci-video-source__item { position:relative; cursor:pointer; }
.ci-video-source__item>span:nth-child(2) { flex:1; min-width:0; }
.ci-video-source__chev { margin-left:auto; color:var(--ci-muted) !important; font-size:22px !important; transition:transform .18s ease; }
.ci-video-source__item.is-active .ci-video-source__chev { transform:rotate(180deg); }
.ci-video-source__item:focus-visible { outline:2px solid var(--ci-focus); outline-offset:2px; }
.ci-video-source__next { margin-top:16px; }
.ci-video-source__next .btn { width:100%; justify-content:center; min-height:48px; }
.ci-video-source__next .btn:disabled { background:var(--ci-space); color:var(--ci-muted); border-color:var(--ci-line); opacity:1; cursor:not-allowed; }
.ci-video-source__chosen { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:6px 0 0; color:var(--ci-text); font-size:.9rem; }
.ci-video-source__chosen>.msr { color:var(--ci-success); }
.ci-video-source__chosen>span:nth-child(2) { flex:1; min-width:0; overflow-wrap:anywhere; }
.ci-video-page[data-video-stage="setup"] .ci-video-source { padding:16px 20px; }
.ci-video-page[data-video-stage="setup"] .ci-video-source h2 { font-size:1.05rem; margin:0; }

/* PDF item 2: the video card plays as a short reel - three frames, a slow camera move and the strip of takes. */
.ci-reel { isolation:isolate; }
.ci-reel__frames { position:absolute; inset:0; }
.ci-reel__frames img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; animation:ci-reel-frame 12s ease-in-out infinite, ci-kenburns 12s ease-in-out infinite alternate; }
.ci-reel__frames img:nth-child(2) { animation-delay:4s, 0s; }
.ci-reel__frames img:nth-child(3) { animation-delay:8s, 0s; }
.ci-reel__strip { position:absolute; top:12px; right:12px; bottom:28px; display:grid; grid-auto-rows:1fr; gap:6px; width:22%; z-index:2; }
.ci-reel__strip img { width:100%; height:100%; object-fit:cover; border-radius:6px; border:2px solid rgb(255 255 255 / .25); opacity:.55; animation:ci-reel-take 12s step-end infinite; }
.ci-reel__strip img:nth-child(2) { animation-delay:4s; }
.ci-reel__strip img:nth-child(3) { animation-delay:8s; }
.ci-reel .ci-studio-choice__play,.ci-reel .ci-studio-choice__timeline { z-index:3; }
.ci-reel .ci-studio-choice__timeline { right:calc(22% + 24px); }
.ci-reel .ci-studio-choice__timeline i { animation-duration:4s; }
@keyframes ci-reel-frame { 0% { opacity:0; } 4% { opacity:1; } 30% { opacity:1; } 36% { opacity:0; } 100% { opacity:0; } }
@keyframes ci-reel-take { 0% { opacity:1; border-color:#fff; } 33.3% { opacity:.55; border-color:rgb(255 255 255 / .25); } 100% { opacity:.55; border-color:rgb(255 255 255 / .25); } }
@media (prefers-reduced-motion:reduce) {
  .ci-reel__frames img,.ci-reel__strip img { animation:none; }
  .ci-reel__frames img:first-child { opacity:1; }
}

/* Publish modal: the "Em breve" tag sits after the channel name instead of on top of it. */
.ci-theme .dash-publish-channel { position:relative; flex-wrap:wrap; row-gap:6px; }
.ci-theme .dash-publish-channel .dash-tag-soon { position:static; margin-left:auto; }
.ci-theme .dash-publish-channel-name { flex:1 1 0; min-width:min-content; }
/* A heading that receives focus when a step opens is announced, not outlined like a control. */
.ci-studio-flow :is(h2,h3)[tabindex="-1"]:focus { outline:none; }
/* The label over a chosen picture stays readable on any photo. */
.ci-studio-flow .dash__preview-label { color:#fff; background:rgb(7 28 46 / .78); }

/* OT15 E6: the last results as pictures and the counts in one line; the library one grid from the newest, with each
   picture's name, type and day; the creation pages show only the last images; the review shows its picture. */
.ci-studio-section-head .ci-studio-counts { margin:0; font-variant-numeric:tabular-nums; }
.ci-studio-recent:has(.ci-studio-recent-item) { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.ci-studio-recent-item { display:grid; gap:8px; align-content:start; min-width:0; text-decoration:none; }
.ci-studio-recent-thumb { display:block; aspect-ratio:1; overflow:hidden; border:1px solid var(--ci-line); border-radius:12px; background:var(--ci-space); }
.ci-studio-recent-thumb img { display:block; width:100%; height:100%; object-fit:cover; }
.ci-studio-recent-name { color:var(--ci-muted); font-size:.84rem; line-height:1.4; overflow-wrap:anywhere; }
.ci-studio-recent-item:hover .ci-studio-recent-name { color:var(--ci-text); text-decoration:underline; }
.ci-studio-recent-item:focus-visible { outline:2px solid var(--ci-focus); outline-offset:4px; border-radius:12px; }
:is(.ci-studio-flow,.ci-studio-gallery) .dash__history-section-list { grid-template-columns:repeat(auto-fill,minmax(168px,1fr)); gap:16px; }
.ci-history-name { padding:10px 10px 0; color:var(--ci-text); font-size:.8rem; }
.ci-history-meta { margin:2px 0 0; padding:0 10px 10px; color:var(--ci-muted); font-size:.72rem; line-height:1.4; }
.ci-history-foot { display:flex; justify-content:flex-end; margin-top:24px; padding-top:16px; border-top:1px solid var(--ci-line); }
.ci-history-latest .dash__history-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ci-history-latest .dash__history-section-list { grid-template-columns:repeat(6,minmax(0,1fr)); }
.ci-history-all { display:inline-flex; align-items:center; gap:6px; min-height:44px; color:var(--ci-cyan); font-size:.875rem; font-weight:700; text-decoration:none; }
.ci-history-all .msr { font-size:18px; }
.ci-history-all:focus-visible { outline:2px solid var(--ci-focus); outline-offset:2px; border-radius:8px; }
.ci-studio-flow [data-dash-option-label] { display:none; }
.ci-review__body { display:grid; gap:20px; margin:24px 0; }
.ci-review__body:has(> .ci-review__photo:not([hidden])) { grid-template-columns:minmax(0,220px) minmax(0,1fr); align-items:start; }
.ci-review .ci-review__body dl { margin:0; }
.ci-review__photo { margin:0; overflow:hidden; border:1px solid var(--ci-line); border-radius:12px; background:var(--ci-space); }
.ci-review__photo img { display:block; width:100%; height:auto; max-height:260px; object-fit:contain; }
.ci-review-actions > button { width:100%; justify-content:center; }
@media(max-width:900px) { .ci-history-latest .dash__history-section-list { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:620px) {
 .ci-studio-recent:has(.ci-studio-recent-item), :is(.ci-studio-flow,.ci-studio-gallery) .dash__history-section-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .ci-review__body:has(> .ci-review__photo:not([hidden])) { grid-template-columns:1fr; }
 .ci-review__photo img { max-height:200px; }
 /* The search on its own line, the type and the favorites side by side under it. */
 .ci-studio-gallery .dash__history-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; }
 .ci-studio-gallery .dash__history-toolbar > .dash__history-search { grid-column:1 / -1; }
 .ci-studio-gallery .dash__history-filter { min-width:0; }
}
