/* 云小帆 · 片场版视觉稿。保留现有页面结构和创作流程。 */
:root{--v2-ink:#24344a;--v2-deep:#25364d;--v2-coral:#ba553d;--v2-coral-bright:#ec9b75;--v2-paper:#f5f7f6;--v2-white:#fffefd;--v2-line:#dce4e4;--v2-muted:#586b75;--blue:#a9432d;--ink:#24344a;--muted:#586b75;--line:#dce4e4;--surface:#fffefd;--canvas:#f5f7f6;--home-ink:#24344a;--home-blue:#a9432d;--home-muted:#586b75;--home-gold:#a9432d;--home-line:#dce4e4;--home-canvas:#f5f7f6}
body{background:var(--v2-paper);color:var(--v2-ink);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
a{color:var(--v2-coral)}a:hover{color:#873924}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d87a5b;outline-offset:3px}
.primary,.mv-main .primary{background:var(--v2-coral);border-color:var(--v2-coral);color:#fff;border-radius:8px}
.primary:hover:not(:disabled),.mv-main .primary:hover:not(:disabled){background:#93402e;border-color:#93402e}
.panel,.mv-main .panel,.auth-card,.account-wrap .panel,.result-card{background:var(--v2-white);border:1px solid var(--v2-line);border-radius:12px;box-shadow:none}
.sidebar,.topbar,.mv-nav{background:var(--v2-white);border-color:var(--v2-line)}
.sidebar .nav{border-radius:8px;color:#526370}.sidebar .nav:hover{background:#f8eee9;color:var(--v2-coral)}.sidebar .nav.active{background:#f9e8df;color:#873924;box-shadow:inset 3px 0 var(--v2-coral)}
.badge,.tag,.template-tags span{background:#faeee8;color:#925340;border-color:#ead6cb}
.notice,.info,.mv-notice{background:#fff4ec;border-color:#e7c4b3;color:#784a38}
.eyebrow,.studio-brand-note,.mv-eyebrow{color:var(--v2-coral)!important}
.industry-heading{border-left-color:var(--v2-coral)}.industry-heading h1,.mv-hero h1,.growth-hero h1{color:var(--v2-ink)}
.scenario-card,.promo-direction,.promo-script-card,.promo-voice{background:var(--v2-white);border-color:var(--v2-line);border-radius:12px;box-shadow:none}
.scenario-card.selected,.scenario-card[aria-pressed="true"],.skill-function.selected,.choice.selected,.promo-direction.selected,.promo-script-card.selected{background:#fff2e9!important;border-color:#b95b40!important;box-shadow:inset 0 0 0 1px #b95b40!important}
.quick-upload{background:#f9f6f3;border-color:#dcb9a9}.quick-upload:hover,.quick-upload:focus-within{background:#fff4ec;border-color:var(--v2-coral)}
input:not([type=radio]):not([type=checkbox]),select,textarea{border-color:#cbd7d9;border-radius:8px;color:var(--v2-ink)}
input:not([type=radio]):not([type=checkbox]):focus,select:focus,textarea:focus{border-color:var(--v2-coral)}
input[type=radio],input[type=checkbox]{accent-color:var(--v2-coral)}
.works-header>button,.project-card-actions>button{background:#fff;border-color:#d7c8c0;color:#89513d}.project-card-actions{border-color:var(--v2-line)}
.growth-art{background:#f9e9df!important;color:var(--v2-coral)!important}.growth-music,.home-case{border-color:var(--v2-line)!important}
.auth-aside{background:var(--v2-deep)}.admin-table th{background:#f2f5f4}.admin-nav .nav.active{box-shadow:inset 3px 0 var(--v2-coral)}

/* 首页：从产品图到成片，用一条连续的剪辑带作为视觉主角。 */
.shell:has(.home-page){background:var(--v2-paper)}
.shell:has(.home-page) .sidebar{height:78px;background:var(--v2-white);border-bottom:1px solid var(--v2-line)}
.shell:has(.home-page) .sidebar .nav{color:var(--v2-ink);font-weight:650}.shell:has(.home-page) .sidebar .nav:hover{color:var(--v2-coral)}
.shell:has(.home-page) .sidebar .nav[href="/account"]{display:flex;align-items:center;justify-content:center;text-align:center;background:var(--v2-deep);color:#fff;border-radius:8px}.shell:has(.home-page) .sidebar .nav[href="/account"]:hover{background:#3a5068}
.home-page{max-width:none;background:var(--v2-paper)}
.home-hero{position:relative;isolation:isolate;grid-template-columns:minmax(0,.88fr) minmax(510px,1.12fr);gap:clamp(34px,5vw,84px);min-height:620px;padding:72px clamp(24px,6vw,96px) 82px;background:var(--v2-deep);border-bottom:0;overflow:hidden}
.home-hero:before{content:"";position:absolute;z-index:-1;right:-9%;top:-35%;width:55vw;height:55vw;border:1px solid #e0bb9861;border-radius:50%;box-shadow:0 0 0 95px #f1bb8a0d,0 0 0 190px #f1bb8a09;pointer-events:none}
.home-hero-copy{align-self:center}.home-kicker{color:var(--v2-coral);font-weight:750;letter-spacing:0}
.home-hero .home-kicker{color:#ffba95;font-size:15px}
.home-hero h1{color:#fff9f3;font-size:clamp(43px,4vw,67px);line-height:1.19;letter-spacing:-.055em;max-width:10.7em;margin:24px 0 25px}
.home-hero h1:after{width:91px;height:5px;background:var(--v2-coral-bright);margin-top:20px}
.home-lead{color:#d5e1e5!important;font-size:17px!important;line-height:1.85!important;max-width:33em}
.home-primary{background:#f3aa82;color:#25364d;border-radius:8px;box-shadow:0 5px 0 #a74f37;min-height:54px}.home-primary:hover{background:#ffbd98;color:#25364d}
.home-secondary{color:#e9d3c6;border-color:#bd9f90}.home-secondary:hover{color:#fff}
.home-trust{color:#b9c9d2!important}.home-continue{color:#ffc3a2}
.home-storyboard{position:relative;align-self:center;padding:21px 22px 19px;background:#f8f4ee;border:6px solid #f8f4ee;border-radius:13px;box-shadow:20px 20px 0 #17263788,0 32px 70px #101d2a75;transform:none}
.home-storyboard:before,.home-storyboard:after{content:"";position:absolute;left:0;right:0;height:10px;background:repeating-linear-gradient(90deg,#25364d 0 16px,transparent 16px 34px);background-size:34px 10px;mask-image:repeating-linear-gradient(90deg,#000 0 16px,transparent 16px 34px)}
.home-storyboard:before{top:-6px}.home-storyboard:after{bottom:-6px}
.home-storyboard-head{font-size:14px;margin-bottom:25px}.home-storyboard-head small{font-size:11px;color:#6b7e83}.home-live-dot{background:#c85f44;box-shadow:0 0 0 4px #f5d9ca}
.home-scene-grid{gap:7px;align-items:stretch}.home-scene,.home-scene:nth-child(2){transform:none;border-radius:2px;background:#d6e2df;box-shadow:0 0 0 1px #fff}
.home-art{height:clamp(190px,17vw,260px)}.home-scene-caption,.home-scene:nth-child(3) .home-scene-caption{background:#26394b;padding:13px 11px;min-height:75px}.home-scene-caption strong{font-size:14px}.home-scene-caption small{font-size:10px;line-height:1.4;white-space:normal}
.home-storyboard-foot{color:#596d73;padding-top:14px}.home-storyboard-foot svg{display:none}.home-storyboard-foot:before{content:"";display:block;height:13px;margin:0 0 12px;background:linear-gradient(90deg,#c65d43 0 31%,#e1a383 31% 62%,#d3ddd8 62%);border-radius:3px}
.home-process{padding:69px clamp(24px,6vw,96px) 76px;background:#fffefd}.home-section-heading h2{font-size:clamp(30px,3vw,43px);line-height:1.25;color:var(--v2-ink)}.home-section-heading p{color:var(--v2-muted)}
.home-process ol{margin-top:35px;gap:0;border-top:1px solid var(--v2-line);border-bottom:1px solid var(--v2-line)}.home-process li{position:relative;align-items:flex-start;gap:20px;background:transparent;border:0;border-radius:0;padding:28px 28px 29px 0}.home-process li+li{border-left:1px solid var(--v2-line);padding-left:28px}.home-process li>span{font-size:28px;font-weight:800;line-height:1;color:var(--v2-coral)}.home-process h3{font-size:18px}.home-process p{font-size:14px}.home-process li>i{display:none}
.home-directions{padding:72px clamp(24px,6vw,96px) 82px;background:#eaf0ef}.home-direction-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;margin-top:31px;background:#cfdbda;border:1px solid #cfdbda}.home-direction-grid>a{position:relative;min-height:210px;padding:27px 32px;background:#fffefd;border:0;border-radius:0;box-shadow:none;transition:background .18s ease}.home-direction-grid>a:hover{background:#fff5ee;transform:none;box-shadow:none}.home-direction-grid>a>span{font-size:13px;color:var(--v2-coral)}.home-direction-grid h3{font-size:23px;margin:13px 0 8px;line-height:1.35}.home-direction-grid p{font-size:14px}.home-direction-grid strong{font-size:14px;color:var(--v2-coral)}
.home-case{margin:0;padding:30px clamp(24px,6vw,96px);border-radius:0;background:#f7ded0}.home-case strong{font-size:24px;color:var(--v2-ink)}.home-case a{color:#873924}
.shell:has(.home-page) .brand-footer{max-width:none;padding:30px clamp(24px,6vw,96px);margin:0;border-color:var(--v2-line);background:#fffefd}
@media(max-width:1100px){.home-hero{grid-template-columns:1fr;gap:52px}.home-hero h1{max-width:14em}.home-storyboard{max-width:780px}}
@media(max-width:1100px){.home-direction-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.shell:has(.home-page) .sidebar{height:68px}.home-hero{padding:40px 20px 62px;gap:36px;min-height:0}.home-hero h1{font-size:clamp(37px,9.5vw,51px)}.home-lead{font-size:16px!important}.home-storyboard{padding:14px 10px;transform:none;box-shadow:10px 10px 0 #17263788}.home-storyboard-head{margin-bottom:17px}.home-art{height:clamp(110px,34vw,165px)}.home-scene-grid{gap:4px}.home-scene-caption,.home-scene:nth-child(3) .home-scene-caption{padding:8px 5px;min-height:66px}.home-scene-caption strong{font-size:11px}.home-scene-caption small{font-size:9px}.home-process,.home-directions{padding:46px 20px 51px}.home-process ol{grid-template-columns:1fr;gap:0}.home-process li,.home-process li+li{padding:19px 0;border-left:0}.home-process li+li{border-top:1px solid var(--v2-line)}.home-process li>span{min-width:42px}.home-direction-grid{grid-template-columns:1fr}.home-direction-grid>a{min-height:0;padding:23px 24px}.home-direction-grid h3{font-size:21px}.home-case{margin:0;padding:26px 20px}.shell:has(.home-page) .brand-footer{padding:27px 20px}}
@media(prefers-reduced-motion:reduce){.home-direction-grid>a{transition:none}}

/* Keep the production workspace, membership and music controls in the same palette. */
.workspace>aside .panel{background:#edf1f2;border-color:#d8e1e3;color:var(--v2-ink)}
.quick-upload .quick-plus,.quick-upload strong{color:var(--v2-coral)}
.home-return,.mv-nav-links .home-return{color:#88412f;border-color:#dfc8ba;background:#fff}
.home-return:hover{background:#fff2ea;color:#713421}
.mv-mode label:has(input:checked){background:#fff0e6;border-color:#ba654a}
.stat,.account-wrap .stat{border-top-color:#c56d50}
.industry-enter,.skill-function.selected .skill-tick,.scenario-card.selected>span,.step.current{color:#a9432d}
.mv-steps .active,.promo-steps .active span{background:#a9432d;color:#fff}
.mv-price{color:#a9432d}
.brand-footer small{margin-left:auto;color:#63747c;text-align:right}
.auth-main{position:relative;padding-bottom:72px}
.auth-corner{position:absolute;right:30px;bottom:20px;color:#63747c;font-size:13px;text-align:right}
@media(max-width:700px){.brand-footer small{align-self:flex-end;margin-left:auto}.auth-corner{right:18px;bottom:16px;font-size:12px}}

/* Video generation controls: clear tier, cost and action hierarchy */
.actions:has(.video-tier-select){display:grid;grid-template-columns:minmax(150px,.7fr) minmax(210px,1fr) minmax(210px,1fr);grid-template-areas:"hint tier button" "hint note note";align-items:center;gap:10px 18px;padding:18px 20px 16px;background:#f6fafc;border:1px solid #dce9ef;border-radius:14px;margin-top:22px}
.actions:has(.video-tier-select)>small:first-child{grid-area:hint;align-self:start;padding-top:8px;color:#6a7e8f;line-height:1.65}
.actions:has(.video-tier-select) .video-tier-select{grid-area:tier;margin:0;gap:7px}
.actions:has(.video-tier-select) .video-tier-select>span{font-size:13px;color:#2e5268;font-weight:700}
.actions:has(.video-tier-select) .video-tier-select select{height:52px;border:1px solid #a9c4d2;border-radius:10px;background:#fff;color:#183c53;font-weight:650;padding:0 14px;box-shadow:0 2px 8px #183c5310}
.actions:has(.video-tier-select) .video-tier-select small{font-size:12px;color:#6b8190;line-height:1.45}
.actions:has(.video-tier-select)>#advance{grid-area:button;width:100%;min-height:82px;border:0;border-radius:12px;background:linear-gradient(135deg,#17617a,#0f7890);box-shadow:0 8px 18px #17617a2b;color:#fff;font-size:17px;line-height:1.35;font-weight:750;padding:12px 18px;white-space:normal}
.actions:has(.video-tier-select)>#advance:hover{background:linear-gradient(135deg,#12536a,#0b687d);transform:translateY(-1px)}
.actions:has(.video-tier-select)>.video-line-note{grid-area:note;color:#6b8190;font-size:12px;line-height:1.5;margin:0}
@media(max-width:700px){.actions:has(.video-tier-select){grid-template-columns:1fr;grid-template-areas:"hint" "tier" "button" "note";gap:9px;padding:16px}.actions:has(.video-tier-select)>small:first-child{padding:0}.actions:has(.video-tier-select)>#advance{min-height:58px;font-size:16px}.actions:has(.video-tier-select) .video-tier-select select{height:48px}}
/* Video generation controls: compact two-column layout after helper copy removal */
.actions:has(.video-tier-select){grid-template-columns:minmax(260px,1fr) minmax(260px,1fr);grid-template-areas:"tier button"}
@media(max-width:700px){.actions:has(.video-tier-select){grid-template-columns:1fr;grid-template-areas:"tier" "button"}}
/* Compact shot editor: short metadata controls, generous copy areas */
.shot-editor{padding:14px 16px!important;margin-bottom:14px!important;background:#fbfcfd}
.shot-editor h3{margin-bottom:10px!important;font-size:14px}
.shot-editor .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 14px}
.shot-editor .field{gap:4px;font-size:13px}
.shot-editor .field>span{font-size:12px;color:#486273}
.shot-editor .form-grid .field:nth-child(-n+4) input{height:34px;padding:6px 9px;font-size:13px}
.shot-editor .form-grid .field:nth-child(n+5) textarea{height:68px;min-height:68px;padding:8px 9px;font-size:13px;line-height:1.55}
@media(max-width:700px){.shot-editor{padding:13px!important}.shot-editor .form-grid{gap:8px 10px}.shot-editor .form-grid .field:nth-child(-n+4) input{height:36px}.shot-editor .form-grid .field:nth-child(n+5) textarea{height:76px;min-height:76px}}
/* Script editor refresh: compact metadata, calm hierarchy, mobile-first cards. */
.analysis-intake #inline-analysis:has(.shot-editor){max-width:980px;margin:20px auto 0;padding:24px 26px 28px;background:rgba(255,255,255,.9);border:1px solid #d7e5eb;box-shadow:0 12px 34px rgba(25,67,91,.07)}
.analysis-intake #inline-analysis:has(.shot-editor)>.field{max-width:720px}
.analysis-intake #inline-analysis:has(.shot-editor)>#script-summary{max-width:760px;min-height:82px}
.analysis-intake .choice{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0;padding:15px 18px;border:1px solid #d9e5eb;background:#fbfdfe;color:#173f59;text-align:left;box-shadow:none}
.analysis-intake .choice:hover{transform:none;background:#f1f8fa;border-color:#83b6c2}.analysis-intake .choice.selected{background:#eaf5f6;border-color:#2e8490;box-shadow:inset 3px 0 #2e8490}
.analysis-intake .script-regenerate{display:grid;grid-template-columns:minmax(220px,300px) auto;align-items:end;gap:12px 16px;padding:16px 0 20px;margin:8px 0 20px;border-top:1px solid #e1ebef;border-bottom:1px solid #e1ebef}
.analysis-intake .script-regenerate small{grid-column:1/-1;margin-top:-4px}.analysis-intake .script-regenerate button{min-height:44px;background:#edf5f7;border-color:#b9d2da;color:#18516d}
.analysis-intake .shot-editor{padding:18px 20px!important;margin:14px 0!important;border:1px solid #d9e6eb!important;border-left:4px solid #78aebb!important;border-radius:14px!important;background:#f8fbfc!important}
.analysis-intake .shot-editor h3{display:flex;align-items:center;gap:8px;margin:0 0 12px!important;color:#174e6b;font-size:16px}.analysis-intake .shot-editor h3:before{content:"";width:8px;height:8px;border-radius:50%;background:#d87555;box-shadow:0 0 0 4px #fff0e9}
.analysis-intake .shot-editor .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 12px}.analysis-intake .shot-editor .field{gap:4px;min-width:0}.analysis-intake .shot-editor .field>span{font-size:12px;color:#587486;font-weight:650}
.analysis-intake .shot-editor input{height:38px;padding:7px 9px;font-size:13px}.analysis-intake .shot-editor .field:nth-child(5),.analysis-intake .shot-editor .field:nth-child(6){grid-column:span 2}.analysis-intake .shot-editor textarea{height:72px;min-height:72px;padding:8px 10px;font-size:13px;line-height:1.55}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions{position:sticky;bottom:12px;z-index:3;margin:22px -8px -4px;padding:12px 14px;background:rgba(255,255,255,.94);border:1px solid #d6e4ea;border-radius:14px;box-shadow:0 8px 26px rgba(21,64,88,.12);backdrop-filter:blur(10px)}.analysis-intake #inline-analysis:has(.shot-editor)>.actions #advance{min-height:50px;padding:12px 24px;border-radius:10px}
@media(max-width:700px){.analysis-intake #inline-analysis:has(.shot-editor){margin:12px 0 0;padding:16px 14px 20px;border-radius:16px}.analysis-intake #inline-analysis:has(.shot-editor)>.section-title{margin-bottom:14px}.analysis-intake .choice{margin:7px 0;padding:13px 14px;font-size:14px;min-height:48px}.analysis-intake .script-regenerate{grid-template-columns:1fr;gap:9px;padding:14px 0 16px}.analysis-intake .script-regenerate small{grid-column:auto;font-size:12px;line-height:1.55}.analysis-intake .shot-editor{padding:14px 12px!important;margin:11px 0!important;border-radius:12px!important}.analysis-intake .shot-editor h3{font-size:15px;margin-bottom:10px!important}.analysis-intake .shot-editor .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 9px}.analysis-intake .shot-editor .field:nth-child(5),.analysis-intake .shot-editor .field:nth-child(6){grid-column:1/-1}.analysis-intake .shot-editor input{height:38px;font-size:16px!important}.analysis-intake .shot-editor textarea{height:82px;min-height:82px;font-size:16px!important}.analysis-intake #inline-analysis:has(.shot-editor)>.actions{bottom:calc(70px + env(safe-area-inset-bottom));margin:18px -2px 0;padding:10px;border-radius:12px}.analysis-intake #inline-analysis:has(.shot-editor)>.actions #advance{width:100%;font-size:15px}}

/* Script editor polish: metadata reads as one compact strip, copy keeps the room. */
.analysis-intake .shot-editor .form-grid .field:nth-child(-n+4){
  background:#eef4f5;
  border:1px solid #dbe7e8;
  border-radius:9px;
  padding:6px 9px 7px;
  gap:2px;
}
.analysis-intake .shot-editor .form-grid .field:nth-child(-n+4)>span{font-size:11px;line-height:1.2;color:#66808a;font-weight:650}
.analysis-intake .shot-editor .form-grid .field:nth-child(-n+4) input{
  height:27px;
  min-height:27px;
  padding:1px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#173f4e;
  font-size:13px;
  font-weight:650;
}
.analysis-intake .shot-editor .form-grid .field:nth-child(-n+4) input:focus{outline:0;border-bottom:1px solid #2e8490}
.analysis-intake .shot-editor .form-grid .field:nth-child(n+5){gap:5px}
.analysis-intake .shot-editor .form-grid .field:nth-child(n+5)>span{font-size:12px;color:#486b78}
.analysis-intake .shot-editor .form-grid .field:nth-child(n+5) textarea{background:#fff;border-color:#d4e2e5}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions{
  grid-template-columns:minmax(0,1fr) minmax(180px,.72fr);
  grid-template-areas:"tier button";
  gap:12px;
  align-items:center;
  padding:11px 13px;
  background:#f1f7f8;
  border-color:#cfe1e3;
  border-radius:12px;
}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions .video-tier-select{padding:0;margin:0;gap:3px}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions .video-tier-select>span{font-size:11px;color:#55717b}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions .video-tier-select select{height:38px;padding:0 10px;border-color:#b9d0d4;border-radius:8px;font-size:13px;box-shadow:none}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions .video-tier-select small{display:none}
.analysis-intake #inline-analysis:has(.shot-editor)>.actions #advance{min-height:46px;border-radius:9px;padding:9px 14px;font-size:14px;box-shadow:0 5px 12px #17617a22}
@media(max-width:700px){
  .analysis-intake .shot-editor .form-grid .field:nth-child(-n+4){padding:6px 8px 7px}
  .analysis-intake .shot-editor .form-grid .field:nth-child(-n+4) input{height:25px;min-height:25px;font-size:14px!important}
  .analysis-intake #inline-analysis:has(.shot-editor)>.actions{grid-template-columns:minmax(0,1fr) 1.05fr;grid-template-areas:"tier button";gap:8px;padding:9px 10px}
  .analysis-intake #inline-analysis:has(.shot-editor)>.actions .video-tier-select select{height:42px;font-size:14px}
  .analysis-intake #inline-analysis:has(.shot-editor)>.actions #advance{min-height:48px;font-size:14px;padding:8px 10px}
}

/* The script stage is rendered outside .analysis-intake; keep the same compact language there. */
.shot-editor .form-grid .field:nth-child(-n+4){background:#eef4f5;border:1px solid #dbe7e8;border-radius:9px;padding:6px 9px 7px;gap:2px}
.shot-editor .form-grid .field:nth-child(-n+4)>span{font-size:11px;line-height:1.2;color:#66808a;font-weight:650}
.shot-editor .form-grid .field:nth-child(-n+4) input{height:27px;min-height:27px;padding:1px 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#173f4e;font-size:13px;font-weight:650}
.shot-editor .form-grid .field:nth-child(-n+4) input:focus{outline:0;border-bottom:1px solid #2e8490}
.shot-editor .form-grid .field:nth-child(n+5){gap:5px}
.shot-editor .form-grid .field:nth-child(n+5)>span{font-size:12px;color:#486b78}
.shot-editor .form-grid .field:nth-child(n+5) textarea{background:#fff;border-color:#d4e2e5}
.actions:has(.video-tier-select){grid-template-columns:minmax(0,1fr) minmax(180px,.72fr);grid-template-areas:"tier button";gap:12px;align-items:center;padding:11px 13px;background:#f1f7f8;border-color:#cfe1e3;border-radius:12px}
.actions:has(.video-tier-select) .video-tier-select{padding:0;margin:0;gap:3px}
.actions:has(.video-tier-select) .video-tier-select>span{font-size:11px;color:#55717b}
.actions:has(.video-tier-select) .video-tier-select select{height:38px;padding:0 10px;border-color:#b9d0d4;border-radius:8px;font-size:13px;box-shadow:none}
.actions:has(.video-tier-select) .video-tier-select small{display:none}
.actions:has(.video-tier-select)>#advance{min-height:46px;border-radius:9px;padding:9px 14px;font-size:14px;box-shadow:0 5px 12px #17617a22}
@media(max-width:700px){
  .shot-editor .form-grid .field:nth-child(-n+4){padding:6px 8px 7px}
  .shot-editor .form-grid .field:nth-child(-n+4) input{height:25px;min-height:25px;font-size:14px!important}
  .actions:has(.video-tier-select){grid-template-columns:minmax(0,1fr) 1.05fr;grid-template-areas:"tier button";gap:8px;padding:9px 10px}
  .actions:has(.video-tier-select) .video-tier-select select{height:42px;font-size:14px}
  .actions:has(.video-tier-select)>#advance{min-height:48px;font-size:14px;padding:8px 10px}
}
@media(max-width:430px){
  .actions:has(.video-tier-select){grid-template-columns:1fr;grid-template-areas:"tier" "button"}
  .actions:has(.video-tier-select)>#advance{width:100%}
}

/* Final mobile fix: keep generation tier and action readable in narrow embedded browsers. */
@media(max-width:700px){
  .actions:has(.video-tier-select){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"tier" "button"!important;width:100%;min-width:0;}
  .actions:has(.video-tier-select) .video-tier-select{display:flex!important;width:100%!important;min-width:0;}
  .actions:has(.video-tier-select) .video-tier-select>span{white-space:nowrap;}
  .actions:has(.video-tier-select) .video-tier-select select{width:100%;min-width:0;}
  .actions:has(.video-tier-select)>#advance{grid-area:button;width:100%!important;}
}
