/* Sept 30 review: shared typography and layout; cursor rules intentionally absent. */
.studio .search-field,.studio .script-search-field{position:relative;display:flex;align-items:center;gap:12px;min-width:0}
.studio .search-field>svg,.studio .script-search-field>svg{position:absolute;left:16px;width:18px;height:18px;pointer-events:none;color:var(--soft)}
.studio .search-field>input,.studio .script-search-field>input{padding-left:46px;width:100%;box-sizing:border-box}
.studio .script-search-field{flex:1}
.studio .library-block{display:flex;align-items:center;gap:4px}
.studio .library-block>span:first-child{flex:none}
.studio .hero-panel h1{margin-bottom:0;white-space:pre-line}
.studio .hero-panel h1+p{margin-top:0}
.studio .script-card .script-card-head{align-items:center}
.studio .script-card-dates{background:none;padding:0;align-self:center}
.studio .pro-payment-options+button{margin-top:24px}
.studio #proEligibility{margin:24px 0}
.studio #passwordRequirements{margin-top:8px!important;margin-bottom:24px}
.studio .company-heading,.studio .result-card-head{gap:12px 16px}
.studio .company-header-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.studio .result-card-head>div:nth-child(2){flex:1;min-width:0}
.studio .company-title-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}
.studio .company-title-line h2{min-width:0}
.studio .company-header-badges{max-width:320px;justify-content:flex-end}
.studio .company-quality-line:empty{display:none}
.studio .result-quality-line:empty{display:none}
.studio .result-card-body>div>p{margin:0 0 24px}
.studio .result-card-body .company-reason,.studio .company-overview .company-reason{margin-block:24px!important}
.studio .result-card-body .requisites{margin-top:24px}
.studio .company-city{margin-top:24px!important}
.studio .quality-confirmed{background:#e0efdf;color:#315c35}
.studio .quality-rejected{background:#f7dcdd;color:#792f37}
.studio .quality-review{background:#f6e4d5;color:#754925}
.studio .quality-unverified{background:#dbe9fa;color:#263f65}
.studio .badge[data-status=fit]{background:#e0efdf;color:#315c35}
.studio .badge[data-status=maybe],.studio .company-state-badge.state-info,.studio .current-plan-badge{background:#dbe9fa;color:#263f65}
html[data-theme=dark] .studio .quality-confirmed{background:#25412b;color:#c4e6c3}
html[data-theme=dark] .studio .quality-rejected{background:#4b2b31;color:#f5c4ca}
html[data-theme=dark] .studio .quality-review{background:#493324;color:#f7d1ae}
html[data-theme=dark] .studio .quality-unverified{background:#223248;color:#c5defc}
html[data-theme=dark] .studio .badge[data-status=fit]{background:#25412b;color:#c4e6c3}
html[data-theme=dark] .studio .badge[data-status=maybe],html[data-theme=dark] .studio .company-state-badge.state-info,html[data-theme=dark] .studio .current-plan-badge{background:#223248;color:#c5defc}
.studio .badge[data-status=lost],.studio .badge[data-status=no_fit],.studio .badge[data-status=rejected],.studio .badge[data-status=refused]{background:#f7dcdd;color:#792f37;border-color:#e8b4b9}
.studio .company-state-badge.state-negative{background:#f7dcdd;color:#792f37;border-color:#e8b4b9}
html[data-theme=dark] .studio .company-state-badge.state-negative{background:#4b2b31;color:#f5c4ca;border-color:#79414a}
.studio .badge[data-status=error]{background:#f6e4d5;color:#754925;border-color:#e8c5a6}
html[data-theme=dark] .studio .badge[data-status=lost],html[data-theme=dark] .studio .badge[data-status=no_fit],html[data-theme=dark] .studio .badge[data-status=rejected],html[data-theme=dark] .studio .badge[data-status=refused]{background:#4b2b31;color:#f5c4ca;border-color:#79414a}
html[data-theme=dark] .studio .badge[data-status=error]{background:#493324;color:#f7d1ae;border-color:#745035}
.studio .tariff-art-unified img,.studio .team-art{transform:perspective(700px) rotateX(var(--art-y,0deg)) rotateY(var(--art-x,0deg));transition:transform .2s ease}
.studio .tariff-art-unified{animation:revision30-float 7s ease-in-out infinite}
@keyframes revision30-float{50%{translate:0 -6px}}
/* Header buttons align with the title line, not the subtitle baseline. */
.seo-heading{align-items:center!important}
.seo-heading-copy{min-width:0;flex:1}
.seo-heading-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.seo-workspace h1,.seo-workspace h2,.seo-workspace h3,.seo-project-card strong{overflow-wrap:anywhere}
.seo-workspace .seo-panel,.seo-workspace .seo-brief,.seo-project-card{min-width:0;max-width:100%;box-sizing:border-box}
.seo-stage-strip{grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr))}
.seo-project-card small,.seo-workspace code{overflow-wrap:anywhere;white-space:normal}
.seo-project-card .badge{justify-self:start}
.seo-panel-heading>div{min-width:0}
.seo-panel-heading .seo-count{white-space:normal;text-align:right}
.seo-brief-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.seo-brief-head>span:first-child{min-width:0;overflow-wrap:anywhere}
.seo-brief-head>span:last-child{flex:none}
.seo-workspace .seo-project-dialog{width:min(520px,calc(100vw - 32px));box-sizing:border-box}
.seo-audit-plan li::before{content:counter(audit)}
.seo-first-project img{width:180px;height:180px;object-fit:contain}
.seo-completed-setup>summary{font-weight:700;font-size:16px}
.seo-completed-setup[open]>summary{margin-bottom:24px}
.seo-workspace .seo-approved,.seo-workspace .seo-launch-date{color:#315c35!important}
.seo-workspace .seo-audit-error,.seo-workspace .seo-form-error{color:#754925}
html[data-theme=dark] .seo-workspace .seo-approved,html[data-theme=dark] .seo-workspace .seo-launch-date{color:#c4e6c3!important}
html[data-theme=dark] .seo-workspace .seo-audit-error,html[data-theme=dark] .seo-workspace .seo-form-error{color:#f7d1ae}
.seo-workspace .seo-completed-setup>.seo-panel{padding:20px 0;border-radius:0;background:none}
.seo-heading.is-stuck .seo-heading-actions{gap:16px}
@media(max-width:700px){.seo-heading-actions{flex-wrap:wrap;width:100%;justify-content:flex-start}.seo-heading-actions .btn{flex:0 1 auto}.seo-brief-head{flex-wrap:wrap}.seo-workspace .seo-panel{padding:20px}}
@media(max-width:650px){.studio .company-title-line{grid-template-columns:minmax(0,1fr);gap:8px}.studio .company-header-badges{justify-content:flex-start;max-width:100%}}
@media(prefers-reduced-motion:reduce){.studio .tariff-art-unified{animation:none}.studio .tariff-art-unified img,.studio .team-art{transition:none;transform:none}}
