@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
.preview-interior,.preview-detailer{font-family:'Google Sans','Inter',Manrope,system-ui,sans-serif;color:#202124;background:#ffffff}.preview-interior .topbar,.preview-detailer .topbar{background:#fff;border-color:#dadce0}.preview-interior .brand-mark,.preview-detailer .brand-symbol{background:#e8f0fe;color:#1a73e8;border-radius:8px;padding:3px 7px}.preview-interior .nav-cta,.preview-interior .button.primary,.preview-detailer .button.primary,.preview-detailer .nav-button{background:#1a73e8;color:#fff;border-radius:9999px}.preview-interior .button.primary:hover,.preview-interior .nav-cta:hover,.preview-detailer .button.primary:hover,.preview-detailer .nav-button:hover{background:#1557b0}.preview-interior .eyebrow,.preview-detailer .eyebrow{color:#5f6368}.preview-interior .lead,.preview-detailer .lead{color:#5f6368}.preview-interior .panel,.preview-interior .account-card,.preview-detailer .panel,.preview-detailer .auth-card{background:#fff;border-color:#dadce0}
.preview-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin:24px 0 40px}
.preview-offer{display:flex;flex-direction:column;gap:12px;padding:24px;background:#fff;border:1px solid #dbe4e4;border-radius:16px;color:#18252b}
.preview-offer-featured{border:2px solid #1e293b;background:#f8fafc}
.preview-offer.preview-offer-pending{border:2px solid #1a73e8;background:#f5f9ff}
.preview-interior .brand-symbol,.preview-detailer .brand-symbol{background:#e8f0fe;color:#1a73e8;border-radius:8px;padding:3px 7px;display:inline-flex;align-items:center;justify-content:center}
.preview-shared-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;width:min(1180px,calc(100% - 36px));margin:0 auto;padding:28px 0;border-top:1px solid #dadce0;color:#64748b;font-size:13px}.preview-shared-footer nav{display:flex;gap:18px;flex-wrap:wrap}.preview-shared-footer a{color:inherit;text-decoration:none}.preview-shared-footer a:hover{color:#1a73e8}
.preview-offer h3,.preview-offer p{margin:0}.preview-offer-tag{font-size:11px;letter-spacing:.08em;color:#607077;font-weight:700}
.preview-offer-price{font-size:24px;line-height:1.2}.preview-offer .button{margin-top:auto}
.preview-offer-consent{font-size:12px;line-height:1.5;color:#42545c}
.preview-inline-auth{margin-top:20px;padding:32px 24px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;text-align:center}
.preview-inline-auth[hidden]{display:none!important}
.preview-inline-auth label{display:block;margin:12px 0;font-size:14px}
.preview-inline-auth input:not([type=checkbox]){display:block;width:100%;max-width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#18252b;box-sizing:border-box}
.preview-purchase-bonus{display:flex;align-items:center;gap:16px;padding:20px 24px;margin:24px 0;background:#e6f4ea;border:1px solid #c9e8d1;border-radius:20px;color:#137333}
.preview-purchase-bonus>span{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#d0edda;font-size:24px}
.preview-purchase-bonus strong{display:block;font-size:20px}.preview-purchase-bonus p{margin:4px 0 0;color:#3f6b4a;font-size:14px}
.preview-pricing-advantage{display:flex;align-items:center;gap:16px;padding:18px 22px;margin:16px 0 24px;background:#e6f4ea;border:1px solid #c9e8d1;border-radius:20px;color:#137333}
.preview-pricing-advantage-icon{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:50%;background:#d0edda;font-size:20px}
.preview-pricing-advantage strong{display:block;font-size:17px;font-weight:700;color:#137333;margin-bottom:2px}
.preview-pricing-advantage p{margin:0;font-size:14px;line-height:1.45;color:#274d32}
.preview-offer-features{list-style:none;padding:0;margin:12px 0 16px;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.4;color:#475569}
.preview-offer-features li{display:flex;align-items:flex-start;gap:8px}
.preview-offer-features .feature-check{color:#16a34a;font-weight:800;flex-shrink:0}
.preview-offer-features .feature-highlight{color:#0f172a;font-weight:600}
.preview-purchase-badge{align-self:flex-start;padding:5px 10px;border-radius:999px;background:#e6f4ea;color:#137333;font-size:12px;font-weight:700}
.preview-pricing-terms{font-size:13px;line-height:1.55;color:#64748b;margin:16px 0}.preview-pricing-terms a{color:#1a73e8;text-decoration:underline}
.preview-paywall{margin:20px 0;padding:24px;border:1px solid #c9e8d1;border-radius:18px;background:#e6f4ea;color:#202124}.preview-paywall h3{margin:0 0 8px}.preview-paywall-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.preview-paywall-actions a{color:#1a73e8}
.preview-auth-dialog{width:min(460px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #dadce0;border-radius:24px;padding:0;background:#fff;color:#202124;box-shadow:0 20px 65px #1e293b33}
.preview-auth-dialog::backdrop{background:#0f172a88}
.preview-auth-card{position:relative;width:100%;max-width:440px;margin:0 auto;padding:32px;box-sizing:border-box;text-align:center}
.preview-inline-auth .preview-auth-card{padding:8px 0;max-width:440px;width:100%;margin:0 auto}
.preview-auth-card h1,.preview-auth-card h2,.preview-auth-title{margin:0 0 10px 0;font-size:24px;text-align:center;font-weight:700;color:#0f172a}
.preview-auth-intro{margin:0 0 20px 0;font-size:14px;line-height:1.5;color:#475569;text-align:center}
.preview-auth-card p{line-height:1.5}
.preview-auth-close{position:absolute;right:20px;top:16px;border:0;background:transparent;font-size:28px;cursor:pointer;color:#64748b}
.preview-auth-form{width:100%;max-width:440px;margin:0 auto;text-align:left;box-sizing:border-box}
.preview-auth-form label{display:block;margin:14px 0 6px;font-size:14px;color:#334155;font-weight:500;text-align:left}
.preview-auth-form input:not([type=checkbox]){display:block;width:100%;margin-top:6px;padding:12px 14px;border:1px solid #cbd5e1;border-radius:8px;box-sizing:border-box;font-size:15px;background:#fff;color:#18252b}
.preview-auth-terms{display:flex;align-items:center;justify-content:center;gap:8px;margin:16px 0;font-size:13px;line-height:1.4;color:#475569;text-align:center}
.preview-auth-terms input[type=checkbox]{margin:0;flex-shrink:0;cursor:pointer}
.preview-auth-promo-toggle{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin:12px 0 6px;font-size:13px;line-height:1.4;color:#475569;cursor:pointer;user-select:none}
.preview-auth-promo-toggle input[type=checkbox]{margin:0;flex-shrink:0;cursor:pointer}
.preview-auth-promo-wrap{margin:8px 0 14px}
.preview-auth-promo-wrap[hidden]{display:none!important}
.preview-auth-promo-row{display:flex;align-items:stretch;gap:8px}
.preview-auth-promo-row input{margin:0!important;flex:1;text-transform:uppercase}
.preview-auth-promo-btn{margin:0!important;width:auto!important;min-width:64px;padding:0 18px!important;border-radius:8px;font-size:14px;font-weight:700;cursor:pointer}
.preview-auth-promo-status{margin:6px 0 0;font-size:13px;line-height:1.4;min-height:18px}
.preview-auth-promo-status.success{color:#16a34a;font-weight:700}
.preview-auth-promo-status.error{color:#dc2626;font-weight:600}
.preview-auth-form .button,.preview-inline-auth .button{display:block;width:100%;margin-top:14px;padding:13px 20px;font-size:15px;font-weight:600;text-align:center;box-sizing:border-box;border-radius:8px}
.preview-auth-message{color:#475569;font-size:14px;text-align:center;margin:12px 0 4px}
.preview-auth-toggle,.preview-auth-resend{display:block;width:100%;text-align:center;border:0;background:transparent;color:#1a73e8;padding:10px 0;cursor:pointer;font-size:14px;font-weight:500;margin-top:10px}
.preview-auth-toggle:hover,.preview-auth-resend:hover{text-decoration:underline}
.preview-auth-reset{display:block;text-align:center;margin:8px auto 0;color:#1a73e8;font-size:14px;text-decoration:none}
.preview-auth-reset:hover{text-decoration:underline}
.preview-auth-hint{color:#64748b;font-size:13px;margin:16px 0;text-align:center}
.preview-account{max-width:1100px;margin:0 auto;padding:48px 20px 80px}.preview-account-heading h1{margin:0;font-size:32px}.preview-account-heading p{margin:8px 0 24px;color:#64748b}.preview-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.preview-account-panel{background:#fff;border:1px solid #dadce0;border-radius:24px;padding:24px;margin:0 0 20px}.preview-account-panel h2{margin:0 0 16px;font-size:20px}.preview-account-panel p{color:#64748b}.preview-account-panel .button{display:inline-flex;margin:8px 12px 0 0}.preview-account-count{display:block;margin:12px 0;color:#202124;font-size:32px;line-height:1.2}.preview-account-link{display:inline-block;margin:12px;color:#1a73e8}.preview-account-notice{padding:16px 20px;margin-bottom:20px;border-radius:16px;background:#e6f4ea;color:#137333}.preview-account-text-button{border:0;padding:8px;background:none;color:#1a73e8;cursor:pointer}.preview-account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e5e7eb;color:#475569}.preview-account-password{display:flex;gap:12px;flex-wrap:wrap}.preview-account-password input{padding:12px;border:1px solid #cbd5e1;border-radius:8px}.preview-account-message{color:#1a73e8}@media(max-width:700px){.preview-account-grid{grid-template-columns:1fr}.preview-account{padding:32px 16px 60px}.preview-account-row{flex-wrap:wrap}.preview-auth-card{padding:24px}}
.preview-lead-settings{display:grid;gap:16px;max-width:620px}.preview-lead-settings label:not(.preview-lead-check){display:grid;gap:6px}.preview-lead-settings input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.preview-lead-check{display:flex;align-items:center;gap:8px}.preview-lead-message{color:#1a73e8}
.preview-widget-page{max-width:1100px;margin:0 auto;padding:48px 20px 80px}.preview-site-add,.preview-site-address,.preview-site-actions{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.preview-site-add label{display:grid;gap:6px;flex:1;min-width:220px}.preview-site-add input,.preview-site-address input,.preview-site-settings input:not([type=checkbox]),.preview-site-settings select{box-sizing:border-box;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#202124}.preview-site-address input{flex:1;min-width:200px}.preview-sites-list{margin-top:24px}.preview-site-card{padding:24px;margin-top:16px;border:1px solid #dadce0;border-radius:18px}.preview-site-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.preview-site-heading h3{margin:0}.preview-site-connected{color:#137333}.preview-site-waiting{color:#64748b}.preview-site-code{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;padding:16px;border-radius:8px}.preview-site-actions{margin-bottom:16px}.preview-site-details summary{cursor:pointer;color:#1a73e8;font-weight:600}.preview-site-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.preview-site-settings label:not(.preview-site-checkbox){display:grid;gap:6px}.preview-site-checkbox{display:flex;align-items:center;gap:8px}.preview-site-preview{grid-column:1/-1;display:flex;gap:16px;align-items:center;padding:16px;background:#f8fafc;border-radius:12px;color:#64748b}.preview-site-preview-button{padding:10px 16px;border-radius:999px}.preview-site-settings>.button{justify-self:start}@media(max-width:700px){.preview-widget-page{padding:32px 16px 60px}.preview-site-settings{grid-template-columns:1fr}.preview-site-preview{grid-column:auto}.preview-site-card{padding:16px}}
.preview-banner{padding:16px;margin:16px 0;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:12px}
.preview-yandex{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:440px;margin:0 auto;box-sizing:border-box;padding:12px 16px;background:#000;border:1px solid #000;border-radius:30px;text-decoration:none;font-weight:700;color:#fff;transition:background-color .15s ease}
.preview-yandex:hover{background:#222;color:#fff}
.preview-yandex img{display:block;flex:none}
.preview-inline-auth .preview-yandex{max-width:100%;margin:0 auto}
.preview-auth-reset[hidden]{display:none}
.preview-studio{padding-top:48px;padding-bottom:56px}.preview-studio h1{max-width:680px;font-size:clamp(34px,4.4vw,52px);line-height:1.1;letter-spacing:-.05em;margin:0 0 14px}.preview-studio .lead{font-size:17px;line-height:1.6;color:#64748b;margin:0 0 24px;max-width:640px}.preview-studio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:28px 0}
.preview-upload-panel{background:#fff;border:1px solid #dce4e4;border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:14px;box-shadow:0 4px 20px rgba(30,41,59,.04);box-sizing:border-box;height:100%}
.preview-upload-head{display:flex;align-items:center;gap:14px;min-height:48px}
.preview-step-num{width:32px;height:32px;border-radius:9px;background:#f1f5f9;border:1px solid #cbd5e1;color:#1e293b;display:grid;place-items:center;font-size:13px;font-weight:800;flex-shrink:0}
.preview-upload-head strong{font-size:17px;font-weight:750;color:#18252b;display:block;letter-spacing:-.02em}
.preview-upload-head p{font-size:13px;color:#64748b;margin:2px 0 0;line-height:1.4}
.preview-studio .drop-zone{position:relative;min-height:240px;height:240px;border:2px dashed #cbd5e1;border-radius:14px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;gap:8px;cursor:pointer;overflow:hidden;transition:border-color .15s ease,background-color .15s ease;box-sizing:border-box;flex:1}
.preview-studio .drop-zone:hover,.preview-studio .drop-zone.dragover{border-color:#1e293b;background:#f1f5f9}
.preview-studio .drop-zone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2;margin:0}
.preview-studio .drop-zone .drop-icon{font-size:36px;line-height:1;color:#64748b;margin-bottom:4px}
.preview-studio .drop-zone strong{font-size:14px;font-weight:700;color:#18252b}
.preview-studio .drop-zone small{font-size:12px;color:#64748b}
.preview-studio .drop-zone img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#f8fafc;z-index:1;border-radius:12px}
.preview-studio .drop-zone:has(img:not([hidden])) .drop-icon,.preview-studio .drop-zone:has(img:not([hidden])) strong,.preview-studio .drop-zone:has(img:not([hidden])) small,.preview-studio .drop-zone.has-image .drop-icon,.preview-studio .drop-zone.has-image strong,.preview-studio .drop-zone.has-image small{display:none}
.preview-upload-foot{display:flex;align-items:center;min-height:24px;margin-top:2px}
.drop-subtle-link{border:0;background:transparent;color:#475569;font-size:13px;font-weight:600;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;font-family:inherit;transition:color .15s ease}
.drop-subtle-link:hover{color:#0f172a}
.drop-subtle-hint{font-size:12px;color:#94a3b8}
.preview-studio-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:36px;padding-top:24px;border-top:1px solid #e2e8f0}
.preview-studio-meta{display:flex;flex-direction:column;gap:6px;text-align:left}
.preview-studio-meta .preview-balance-status{margin:0;font-size:15px;font-weight:700;color:#1e293b}
.preview-studio-meta .preview-consent-note{margin:0;font-size:11px;color:#64748b;line-height:1.45;text-align:left}
.preview-studio-actions #studio-generate{margin-left:auto;min-height:48px;padding:13px 28px;font-size:14px;font-weight:750;white-space:nowrap}
@media(max-width:760px){.preview-studio-actions{flex-direction:column-reverse;align-items:stretch;gap:16px;margin-top:24px;padding-top:18px}.preview-studio-actions #studio-generate{width:100%;margin-left:0}.preview-studio-meta{text-align:center;align-items:center}.preview-studio-meta .preview-consent-note{text-align:center}}
.preview-consent-note{font-size:11px;color:#64748b;margin:0;line-height:1.45}.preview-consent-note a{color:inherit;text-decoration:underline}
.preview-balance-status{font-size:15px;font-weight:700;color:#1e293b;margin:0}
#studio-result{margin-top:36px;padding:24px;background:#fff;border:1px solid #dce4e4;border-radius:18px;box-shadow:0 4px 20px rgba(30,41,59,.04)}
#studio-result h2{margin:0 0 16px;font-size:22px;letter-spacing:-.03em}
#studio-result img{display:block;max-height:560px;max-width:100%;border-radius:14px;margin-bottom:16px;background:#f8fafc;object-fit:contain}
.preview-benefits{padding:40px 0}.preview-benefits p{max-width:680px}
@media(max-width:760px){.preview-studio-grid{grid-template-columns:1fr;gap:16px}.preview-studio .drop-zone{min-height:190px;height:190px}}
.preview-roi{padding:32px;margin-top:48px;margin-bottom:48px;border:1px solid #dbe4e4;border-radius:16px;background:#fff;color:#18252b}.preview-roi p{max-width:680px;color:#607077}.preview-roi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}.preview-roi-grid label{font-size:13px;font-weight:700}.preview-roi-grid input{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #c8d6d8;border-radius:8px}.preview-roi-grid .button{grid-column:1/-1;justify-self:start}.preview-roi-result{font-weight:700;color:#1e293b!important}
@media(max-width:700px){.preview-roi-grid{grid-template-columns:1fr 1fr}}@media(max-width:420px){.preview-roi-grid{grid-template-columns:1fr}}

/* Shared SEO Sections & FAQ for Preview Landing Pages */
.seo-section{padding:54px 0}
.seo-section>h2{font-size:clamp(26px,3.2vw,38px);line-height:1.15;letter-spacing:-.04em;margin:0 0 12px;color:#18252b}
.seo-section>p:not(.eyebrow){font-size:16px;line-height:1.6;color:#64748b;margin:0 0 24px;max-width:760px}
.seo-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
.seo-cards article{background:#fff;border:1px solid #dce4e4;border-radius:16px;padding:24px;box-sizing:border-box}
.seo-cards h3{font-size:17px;font-weight:750;color:#18252b;margin:0 0 8px;letter-spacing:-.02em}
.seo-cards p{font-size:13.5px;color:#64748b;margin:0;line-height:1.55}
.seo-badge{display:inline-block;padding:4px 10px;border-radius:6px;background:#f1f5f9;color:#1e293b;font-size:11px;font-weight:800;margin-bottom:12px;letter-spacing:.04em}
.seo-compare{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:24px}
.seo-compare-card{background:#fff;border:1px solid #dce4e4;border-radius:16px;padding:24px;box-sizing:border-box}
.seo-compare-card.highlight{border-color:#cbd5e1;background:linear-gradient(145deg,#f8fafc,#ffffff)}
.seo-compare-card h3{font-size:18px;font-weight:750;color:#18252b;margin:0 0 12px}
.seo-list{list-style:none;padding:0;margin:14px 0 0}
.seo-list li{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:#475569;margin-bottom:10px;line-height:1.5}
.seo-list li::before{content:"✓";color:#16a34a;font-weight:800;flex-shrink:0}
.seo-list.negative li::before{content:"✕";color:#dc2626;font-weight:800;flex-shrink:0}
.seo-compare-details{margin-top:12px}
.seo-compare-details summary{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#1e293b;cursor:pointer;user-select:none;list-style:none}
.seo-compare-details summary::-webkit-details-marker{display:none}
.seo-compare-details summary::after{content:"↓";font-size:13px;font-weight:800;transition:transform .2s ease}
.seo-compare-details[open] summary::after{transform:rotate(180deg)}
.seo-compare-details .details-open-label{display:none}
.seo-compare-details[open] .details-closed-label{display:none}
.seo-compare-details[open] .details-open-label{display:inline}
.seo-compare-details .seo-list{margin-top:12px}
.faq-list{max-width:860px;margin-top:24px}
.faq-list details{border-top:1px solid #dce4e4;padding:18px 0}
.faq-list details:last-child{border-bottom:1px solid #dce4e4}
.faq-list summary{font-size:17px;font-weight:750;color:#18252b;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font-size:20px;font-weight:700;color:#64748b;transition:transform .2s ease}
.faq-list details[open] summary::after{content:"−";color:#1e293b}
.faq-list details p{color:#64748b;font-size:14px;line-height:1.65;margin:12px 0 0}
@media(max-width:760px){.seo-cards,.seo-compare{grid-template-columns:1fr}}

/* Green Closing Banner for Landing Pages */
.closing-banner{border-radius:24px;background:linear-gradient(135deg,#e3eed7 0%,#edf5e6 100%);border:1px solid #c8d9be;padding:44px 48px;display:flex;justify-content:space-between;align-items:center;gap:36px;margin:36px auto 74px;color:#18252b;box-shadow:0 4px 24px rgba(30,41,59,.04);box-sizing:border-box}
.closing-banner-body{max-width:680px}
.closing-banner h2{font-size:clamp(26px,2.9vw,40px);line-height:1.2;letter-spacing:-.035em;margin:0 0 10px;color:#18252b;font-weight:800}
.closing-banner p{font-size:15px;line-height:1.55;color:#4c5f51;margin:0;max-width:620px}
.closing-banner .button{background:#1e293b;color:#fff;border-radius:12px;min-height:50px;padding:14px 28px;flex-shrink:0;font-size:14px;font-weight:750;text-decoration:none;box-shadow:0 4px 16px rgba(15,23,42,.14);transition:transform .15s ease,background .15s ease,box-shadow .15s ease;white-space:nowrap}
.closing-banner .button:hover{background:#0f172a;transform:translateY(-2px);box-shadow:0 6px 20px rgba(15,23,42,.2)}
/* Unified Sticky Topbar & Google-Style Navigation */
.preview-interior .topbar,
.preview-detailer .topbar {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #dadce0 !important;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  box-sizing: border-box !important;
}

.topbar-inner {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.topbar-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #3c4043;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.15s ease, color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.topbar-burger:hover {
  background: #f1f3f4;
  color: #202124;
}

.topbar-burger:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.burger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar-burger.is-active .burger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar-burger.is-active .burger-bar:nth-child(2) {
  opacity: 0;
}

.topbar-burger.is-active .burger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.topbar .brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #202124 !important;
  white-space: nowrap;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 12px;
}

.topbar-nav .nav-link {
  text-decoration: none;
  color: #5f6368;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.topbar-nav .nav-link:hover,
.topbar-nav .nav-link.active {
  color: #1a73e8;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.desktop-auth-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 9999px;
  background: #1a73e8 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.2);
}

.desktop-auth-btn:hover {
  background: #1557b0 !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(26, 115, 232, 0.3);
}

.desktop-auth-btn.is-auth {
  background: #f1f3f4 !important;
  color: #202124 !important;
  border: 1px solid #dadce0 !important;
  box-shadow: none;
}

.desktop-auth-btn.is-auth:hover {
  background: #e8eaed !important;
}

.mobile-auth-btn {
  display: none !important;
}

.account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8f0fe !important;
  color: #1a73e8 !important;
  border: 1px solid #d2e3fc !important;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  flex-shrink: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

.account-btn:hover {
  background: #d2e3fc !important;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
}

.account-btn:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.account-btn .account-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

.account-btn.is-auth::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1e8e3e;
  border: 2px solid #ffffff;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000 !important;
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile-nav-drawer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

body:has(.mobile-nav-drawer.is-open) .floating-widget-btn,
body:has(.mobile-nav-drawer.is-open) .floating-widget-panel,
body:has(.mobile-nav-drawer.is-open) #smith-floater {
  opacity: 0 !important;
  pointer-events: none !important;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 33, 36, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  width: min(320px, 84vw);
  background: #ffffff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.24s cubic-bezier(0.2, 0, 0, 1);
  padding: 20px 22px;
  box-sizing: border-box;
  z-index: 1;
  overflow-y: auto;
}

.mobile-nav-drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f3f4;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #5f6368;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.drawer-close:hover {
  background: #f1f3f4;
  color: #202124;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 0 auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #202124;
  transition: background-color 0.15s ease;
}

.drawer-link:hover,
.drawer-link:active {
  background: #f8fafc;
}

.drawer-link-icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.drawer-link-text {
  display: flex;
  flex-direction: column;
}

.drawer-link-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
}

.drawer-link-text small {
  font-size: 12px;
  color: #5f6368;
  margin-top: 1px;
}

.drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #f1f3f4;
  margin-top: auto;
  flex-shrink: 0;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.drawer-btn-signin {
  background: #f1f3f4;
  color: #202124;
}

.drawer-btn-signin:hover {
  background: #e8eaed;
}

.drawer-btn-signup {
  background: #1a73e8;
  color: #ffffff;
}

.drawer-btn-signup:hover {
  background: #1557b0;
}

@media (max-width: 850px) {
  .topbar-inner {
    height: 60px;
    width: calc(100% - 24px);
  }

  .topbar-burger {
    display: inline-flex !important;
  }

  .topbar-nav {
    display: none !important;
  }

  .desktop-auth-btn {
    display: none !important;
  }

  .mobile-auth-btn {
    display: inline-flex !important;
  }
}

/* Auth Help Widget: completely hidden on public pages, visible ONLY in account view */
.preview-interior .auth-help,
.preview-detailer .auth-help {
  display: none !important;
}

body.preview-interior:has(#account-view:not([hidden])) .auth-help,
body.preview-detailer:has(#account-view:not([hidden])) .auth-help,
.preview-interior #account-view:not([hidden]) ~ .auth-help,
.preview-detailer #account-view:not([hidden]) ~ .auth-help {
  display: block !important;
}

/* Shared Floating Widget Button & Panel (Detailer and Interior) */
.floating-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  border: 1.5px solid #334155;
  border-radius: 9999px;
  background: #1e293b;
  color: #ffffff;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 28px rgba(32, 49, 43, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.floating-widget-btn * {
  pointer-events: none;
}
.floating-widget-btn:hover {
  background: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(32, 49, 43, 0.36);
}
.floating-widget-panel {
  position: fixed;
  right: 24px;
  bottom: 84px;
  width: min(560px, calc(100vw - 32px));
  max-height: min(840px, calc(100vh - 100px));
  overflow-y: auto;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #cbd5e1;
  padding: 20px;
  z-index: 9999;
  box-sizing: border-box;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  animation: slidePanelUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.floating-widget-panel[hidden] {
  display: none !important;
}
.floating-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
}
.floating-panel-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.floating-panel-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
@media (max-width: 700px) {
  .floating-widget-panel {
    right: 12px !important;
    left: 12px !important;
    bottom: 74px !important;
    width: auto !important;
    max-height: calc(100vh - 90px) !important;
    padding: 16px !important;
  }
  .floating-widget-btn {
    padding: 10px 16px;
    font-size: 13px;
    bottom: 16px;
    right: 16px;
  }
}

/* Floating state for interior studio card */
.preview-studio.is-floating {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: none !important;
}
.preview-studio.is-floating .static-widget-header {
  display: none !important;
}
.preview-studio.is-floating .mobile-step-nav {
  display: none !important;
}
.preview-studio.is-floating .preview-studio-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  margin: 10px 0 !important;
}
.preview-studio.is-floating .preview-upload-panel {
  padding: 16px !important;
  border-radius: 14px !important;
}
.preview-studio.is-floating .drop-zone {
  min-height: 130px !important;
  height: 130px !important;
  padding: 12px !important;
}
.preview-studio.is-floating .drop-icon {
  font-size: 24px !important;
  margin-bottom: 2px !important;
}
.preview-studio.is-floating .preview-upload-head {
  margin-bottom: 8px !important;
}
.preview-studio.is-floating .preview-upload-head h2,
.preview-studio.is-floating .preview-upload-head strong {
  font-size: 15px !important;
}
.preview-studio.is-floating .preview-upload-head p {
  font-size: 12px !important;
}
.preview-studio.is-floating .mobile-step-action-row,
.preview-studio.is-floating .mobile-step-back-row {
  display: none !important;
}
.preview-studio.is-floating #interior-step-1-panel,
.preview-studio.is-floating #interior-step-2-panel {
  display: block !important;
}
.preview-studio.is-floating .preview-studio-actions,
.preview-studio.is-floating #interior-actions-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e2e8f0;
}
.preview-studio.is-floating .preview-studio-actions #studio-generate {
  width: 100% !important;
  margin-left: 0 !important;
}
.preview-studio.is-floating .preview-studio-meta {
  text-align: center;
}
.preview-studio.is-floating .result-panel {
  padding: 16px !important;
  margin-top: 14px !important;
}

/* Spacing between static widget section and process cards (like detailer) */
body.preview-interior #static-widget-section {
  padding-top: 36px;
  margin-bottom: 56px;
}
body.preview-interior .preview-studio:not(.is-floating) {
  padding-bottom: 24px;
}
body.preview-interior .how {
  margin-top: 24px;
  padding-bottom: 80px;
}

/* Hide floating widget button and panel on authenticated workspace / account */
body:has(#app-view:not([hidden])) .floating-widget-btn,
body:has(#account-view:not([hidden])) .floating-widget-btn,
body:has(#app-view:not([hidden])) .floating-widget-panel,
body:has(#account-view:not([hidden])) .floating-widget-panel {
  display: none !important;
}

#app-widget-mount .preview-studio {
  padding-top: 0;
  padding-bottom: 0;
}
#app-widget-mount .static-widget-header,
#app-view .static-widget-header {
  display: none !important;
}
#app-widget-mount > .shell {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.view.workspace {
  min-height: 70vh;
  padding-top: 24px;
  padding-bottom: 80px;
}
.view.workspace .page-intro,
.page-intro {
  padding: 48px 0 36px;
}
.page-intro h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
}
.page-intro p {
  font-size: 16px;
  line-height: 1.55;
  color: #64748b;
  max-width: 680px;
  margin: 0;
}
#app-view .closing-banner,
#app-view .app-closing-banner,
.view.workspace .closing-banner,
.view.workspace .app-closing-banner {
  margin-top: 72px !important;
  margin-bottom: 48px !important;
}
@media (max-width: 760px) {
  .view.workspace .page-intro,
  .page-intro {
    padding: 32px 0 24px;
  }
  #app-view .closing-banner,
  #app-view .app-closing-banner,
  .view.workspace .closing-banner,
  .view.workspace .app-closing-banner {
    margin-top: 48px !important;
    margin-bottom: 32px !important;
  }
}

/* Pricing Tabs & Custom Qty Stepper */
.pricing-tabs-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 28px;
}
.pricing-tabs {
  display: inline-flex;
  background: #f1f3f4;
  border-radius: 9999px;
  padding: 4px;
  gap: 4px;
}
.pricing-tabs button {
  border: 0;
  background: transparent;
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #5f6368;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.pricing-tabs button:hover {
  color: #202124;
}
.pricing-tabs button.active {
  background: #ffffff;
  color: #202124;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}
.preview-pricing-packs .preview-offers,
.preview-pricing-month .preview-offers {
  margin: 16px 0 0;
}
.custom-qty-card {
  margin-top: 24px;
  padding: 24px 28px;
  background: #ffffff;
  border: 1.5px solid #dadce0;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.custom-qty-info h2 {
  font-size: 20px;
  margin: 0 0 4px;
  color: #202124;
}
.custom-qty-sub {
  font-size: 13px;
  color: #5f6368;
  margin: 0;
}
.custom-qty-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stepper-wrap {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #dadce0;
  border-radius: 12px;
  background: #f8f9fa;
  overflow: hidden;
}
.stepper-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
  color: #202124;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
  user-select: none;
}
.stepper-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}
.stepper-btn:active {
  transform: scale(0.94);
}
.stepper-input {
  width: 60px;
  height: 42px;
  border: 0;
  border-inline: 1px solid #dadce0;
  background: #ffffff;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #202124;
  -moz-appearance: textfield;
}
.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.custom-qty-total {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 90px;
}
.custom-qty-price {
  font-size: 24px;
  font-weight: 800;
  color: #202124;
  line-height: 1.1;
}
.custom-qty-label {
  font-size: 11px;
  color: #5f6368;
  font-weight: 700;
}
.custom-qty-submit {
  min-height: 44px;
  padding: 10px 24px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .custom-qty-card {
    flex-direction: column;
    align-items: stretch;
  }
  .custom-qty-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .stepper-wrap {
    justify-content: center;
  }
  .custom-qty-total {
    align-items: center;
    text-align: center;
  }
}

/* ── Мои плёнки (Films Page) ── */
.preview-films-back-row { margin-bottom: 12px; }
.preview-films-back-row a { margin: 0; font-size: 14px; text-decoration: none; }
.preview-films-quick-links { display: flex; gap: 12px; margin-top: 16px; align-items: center; flex-wrap: wrap; }
.preview-films-quick-links .button { margin: 0; }
.preview-films-quick-links a.preview-account-link { margin: 0; }
.preview-films-options-row { margin-bottom: 16px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.preview-films-label { font-size: 14px; color: #475569; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.preview-films-select { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; font-size: 14px; color: #1e293b; }
.preview-films-drop-zone {
  border: 2px dashed #94a3b8;
  border-radius: 18px;
  background: #f8fafc;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  user-select: none;
}
.preview-films-drop-zone:hover,
.preview-films-drop-zone.is-dragover {
  border-color: #1a73e8;
  background: #eff6ff;
}
.preview-films-drop-icon { font-size: 38px; color: #1a73e8; line-height: 1; }
.preview-films-drop-title { font-size: 16px; color: #1e293b; }
.preview-films-drop-sub { font-size: 13px; color: #64748b; }
.preview-films-progress-wrap {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.preview-films-progress-bar {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.preview-films-progress-fill {
  height: 100%;
  background: #1a73e8;
  width: 0%;
  transition: width 0.25s ease;
}
.preview-films-progress-text {
  margin: 10px 0 0;
  font-size: 13px;
  color: #475569;
  text-align: center;
  font-weight: 500;
}
.preview-films-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.preview-films-catalog-header h2 { margin: 0; }
.preview-films-count-badge {
  background: #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
}
.preview-films-search-input {
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  min-width: 220px;
  background: #fff;
  color: #1e293b;
}
.preview-films-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.preview-films-empty {
  grid-column: 1 / -1;
  padding: 48px 20px;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}
.preview-films-empty p { margin: 0; font-size: 15px; }
.preview-film-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.preview-film-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.preview-film-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: #0f172a;
  overflow: hidden;
}
.preview-film-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-film-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15,23,42,0.85);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.preview-film-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.preview-film-name-input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  background: transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.preview-film-name-input:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.preview-film-name-input:focus {
  border-color: #1a73e8;
  background: #fff;
  outline: none;
}
.preview-film-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.preview-film-finish-select {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  color: #475569;
}
.preview-film-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}
.preview-film-try {
  font-size: 12px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  margin: 0 !important;
}
.preview-film-delete-btn {
  border: 0;
  background: none;
  color: #ef4444;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
.preview-film-delete-btn:hover {
  background: #fee2e2;
}
@media (max-width: 600px) {
  .preview-films-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .preview-films-search-input { width: 100%; min-width: 0; }
  .preview-films-catalog-header { flex-direction: column; align-items: stretch; }
}




.preview-site-settings input[type=color]{width:64px;height:40px;padding:3px;cursor:pointer}.preview-site-preview-button[hidden]{display:none}

.preview-site-code-wrap{position:relative}.preview-site-code-wrap .preview-site-code{padding-right:58px}.preview-site-copy{position:absolute;top:8px;right:8px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#52647d;cursor:pointer}.preview-site-copy:hover,.preview-site-copy:focus-visible{background:#e6eefb;color:#1a73e8}.preview-site-copy svg{width:20px;height:20px}.preview-site-copy-status{display:block;min-height:1em;font-size:13px;color:#52647d}.preview-site-mode{display:grid;gap:6px;max-width:400px;margin-top:18px}.preview-site-mode select{width:100%;box-sizing:border-box;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#202124}.preview-site-mode-status{font-size:13px;color:#52647d}.preview-sites-list>.preview-site-add-widget{margin-top:12px}

.preview-site-preview-static{align-items:flex-start;flex-direction:column}.preview-static-panel[hidden]{display:none}.preview-static-panel{box-sizing:border-box;max-width:100%;padding:20px;background:var(--pv-bg);color:var(--pv-text);border:var(--pv-border) solid #dce4d8;border-radius:var(--pv-radius);font:13px Arial,sans-serif}.preview-static-panel *{box-sizing:border-box}.preview-static-panel strong{font-size:18px}.preview-static-muted{opacity:.68;line-height:1.45;margin:1em 0}.preview-static-label{font-size:12px;font-weight:700;margin:14px 0 6px}.preview-static-row{display:flex;gap:7px}.preview-static-input{flex:1;min-width:0;padding:10px;border:1px solid #cdd8cb;border-radius:7px;color:#757575;background:#fff}.preview-static-find{display:grid;place-items:center;min-height:44px;padding:9px 12px;border-radius:7px;background:var(--pv-find);color:var(--pv-find-text);font-weight:700}.preview-static-upload{padding:13px;border:1px dashed var(--pv-upload);border-radius:10px;background:var(--pv-upload-bg);text-align:center}.preview-static-primary{margin-top:16px;padding:13px;border-radius:var(--pv-radius);background:var(--pv-button);color:var(--pv-button-text);text-align:center;font-weight:700}.preview-static-consent{margin-top:10px;font-size:11px;line-height:1.45;opacity:.65;text-align:center}

.preview-site-add-widget{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.preview-site-add-widget label{display:grid;gap:6px}.preview-site-add-widget select{padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#202124}

.preview-site-settings label[hidden]{display:none}

.preview-design-target{cursor:pointer;outline:2px solid transparent;outline-offset:3px}.preview-design-target:hover,.preview-design-target:focus-visible{outline-color:#1a73e8}.preview-design-editor{width:100%;box-sizing:border-box;padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#202124}.preview-design-editor[hidden]{display:none}.preview-design-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.preview-design-fields label{min-width:0}.preview-site-settings .preview-design-fields input,.preview-site-settings .preview-design-fields select{width:100%}@media(max-width:700px){.preview-design-fields{grid-template-columns:1fr 1fr}}@media(max-width:420px){.preview-design-fields{grid-template-columns:1fr}}

.preview-site-preview:has(.preview-design-editor:not([hidden])){flex-wrap:wrap}.preview-static-panel .preview-static-muted{color:inherit}

.preview-design-hint{font-size:13px;margin:6px 0 0}.preview-design-editor>.button{margin-top:14px}
.preview-static-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px;margin:18px 0}.preview-static-step{min-width:0;padding:16px;border:1px solid #dce4d8;border-radius:14px;background:var(--pv-bg)}.preview-static-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.preview-static-num{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--pv-upload-bg);font-weight:700}.preview-static-head .preview-static-label{margin:0;font-size:15px}.preview-static-head small{display:block;margin-top:4px;font-size:12px;opacity:.68}.preview-static-head-content{flex:1;min-width:0}.preview-static-step .preview-static-upload{min-height:128px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:16px;font-weight:700;line-height:1.35}.preview-static-step .preview-static-upload::before{content:"↥";font-size:24px;line-height:1;color:var(--pv-upload)}.preview-static-step .preview-static-upload::after{content:"или нажмите, чтобы выбрать файл · JPG, PNG, WebP";font-size:11px;font-weight:400;line-height:1.4;opacity:.7}.preview-static-search-toggle{width:44px;height:44px;flex:none;display:grid;place-items:center;padding:10px;border:0;border-radius:9px;background:var(--pv-find);color:var(--pv-find-text);cursor:pointer}.preview-static-search-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.preview-static-search[hidden]{display:none}

.preview-static-step{display:flex;flex-direction:column}.preview-static-head{min-height:44px}.preview-static-step .preview-static-upload{flex:1;min-height:240px;margin-top:0}
