/* Music trimming stays usable on narrow screens and in both themes. */
html body dialog.music-trim {box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:16px;color:#252730;background:#fff;border-color:#d6dbe4}
html body .music-trim form {min-width:0;width:100%;max-width:100%}
html body .music-trim .trim-track {min-width:0}
html body .music-trim .trim-track>div {min-width:0;overflow-wrap:anywhere}
html body .music-trim .trim-track>button {flex:0 0 36px}
html body .music-trim .trim-values {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
html body .music-trim .trim-values label {min-width:0;white-space:normal}
html body .music-trim .trim-values input {box-sizing:border-box;min-width:0;width:100%;height:40px;border:1px solid #8b94a5;border-radius:6px;padding:6px 8px}
html body .music-trim .trim-footer {display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
html body .music-trim .trim-footer>button {width:auto!important;height:auto!important;min-height:40px;max-width:100%;padding:8px 16px!important;border-radius:8px!important;font-size:14px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;color:#252730!important;background:#f2f4f8!important;border:1px solid #8b94a5!important}
html body .music-trim .trim-footer>button.accent {background:#d72e5a!important;color:#fff!important;border-color:#d72e5a!important}
html body .music-trim :is(.small-note,.trim-track p) {color:#5c6472;line-height:1.5}
html body .music-trim [role="status"] {color:#a82140;line-height:1.5}
html body .music-trim .trim-info {flex-wrap:wrap;gap:8px}
html body .music-trim [data-reset] {width:auto;height:auto;min-height:36px;padding:4px 8px;border-radius:6px;line-height:1.4}
html[data-theme="dark"] body dialog.music-trim {background:#23262f;color:#f1f3f8;border-color:#626b7b}
html[data-theme="dark"] body .music-trim .trim-track {background:#191c24;color:#f1f3f8;border-color:#626b7b}
html[data-theme="dark"] body .music-trim :is(.small-note,.trim-track p,.trim-values label,.trim-info) {color:#c3ccdb}
html[data-theme="dark"] body .music-trim [role="status"] {color:#ffb8c9}
html[data-theme="dark"] body .music-trim .trim-values input {background:#191c24;color:#f1f3f8;border-color:#8390a6}
html[data-theme="dark"] body .music-trim .trim-footer>button:not(.accent) {background:#333947!important;color:#f1f3f8!important;border-color:#8390a6!important}
html:is([lang="ar"],[lang="he"]) .music-trim {direction:rtl;text-align:start}
html:is([lang="ar"],[lang="he"]) .legal-main {direction:rtl;text-align:start}
.legal-main a[href^="mailto:"] {direction:ltr;unicode-bidi:isolate;display:inline-block}
html body .music-trim :is(.trim-range,.trim-info,.trim-values input) {direction:ltr}
html body dialog.animated-config {box-sizing:border-box;max-height:calc(100dvh - 32px);color:#252730;background:#fff}
html body .animated-config form>header h3 {min-width:0;overflow-wrap:anywhere}
html body .animated-config form>header [data-close] {flex:0 0 32px}
html body .animated-config small {color:#5c6472}
html body .animated-config :is(.animated-tabs,footer,.animated-live>header) {flex-wrap:wrap}
html body .animated-config footer button {height:auto;max-width:100%;white-space:normal;line-height:1.4}
html body .animated-config footer .accent {background:#d72e5a!important;color:#fff!important;border-color:#d72e5a!important}
html[data-theme="dark"] body dialog.animated-config {background:#23262f;color:#f1f3f8;border:1px solid #626b7b}
html[data-theme="dark"] body .animated-config small {color:#c3ccdb}
html[data-theme="dark"] body .animated-config .animated-live {background:#191c24;border-color:#626b7b}
html[data-theme="dark"] body .animated-config .animated-live>header {color:#f1f3f8}
html[data-theme="dark"] body .animated-config .animated-tabs {border-color:#626b7b}
html[data-theme="dark"] body .animated-config .animated-tabs [aria-pressed=true] {border-bottom-color:#ff91ac!important;color:#ffd0dd!important}
html:is([lang="ar"],[lang="he"]) .animated-config {direction:rtl;text-align:start}
/* Keep the approved navigation width when translated labels wrap. */
html:not([lang="vi"]) :is(.sidebar,.site-sidebar) nav {
  min-width:0;
  max-width:100%;
  grid-template-columns:minmax(0,1fr);
}
html:not([lang="vi"]) :is(.sidebar,.site-sidebar) nav :is(a,button) {
  min-width:0;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:start;
  height:auto;
  min-height:42px;
}
html:not([lang="vi"]) :is(.sidebar,.site-sidebar) nav :is(img,svg) {flex-shrink:0}
html:not([lang="vi"]) :is(.sidebar,.site-sidebar) nav a[href="/membership"]::after {flex-shrink:0;white-space:nowrap;overflow-wrap:normal}
html:is([lang="ar"],[lang="he"]) :is(.sidebar nav,.site-sidebar nav,.locale-dialog) {direction:rtl}
html:not([lang="vi"]) #categories .category {height:auto;min-height:76px;text-align:start}
html:not([lang="vi"]) #categories .category > span {min-width:0;flex:1}
html:not([lang="vi"]) #categories .category :is(strong,small) {white-space:normal;overflow-wrap:anywhere}
html:not([lang="vi"]) #categories .category > img {flex-shrink:0}
html:not([lang="vi"]) .hm-categories > button {min-width:0;height:auto;align-self:stretch}
html:not([lang="vi"]) .hm-categories > button > span {display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.45}
html:not([lang="vi"]) .hm-banner {height:auto;min-height:100px}
html:not([lang="vi"]) .hm-banner > span {position:relative;inset:auto;width:56%;height:auto;min-height:100px;padding-block:12px}
html:not([lang="vi"]) .hm-banner small {white-space:normal;overflow:visible;text-overflow:clip}
.lv-auth .lv-auth-password {position:relative;display:block}
.lv-auth .lv-auth-password input {padding-inline-end:48px;width:100%;box-sizing:border-box}
.lv-auth .lv-auth-password .lv-auth-eye {position:absolute;inset-inline-end:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:42px;height:42px;min-height:0;margin:0;padding:0;border:0;background:transparent;color:#515969;box-shadow:none;cursor:pointer}
.lv-auth .lv-auth-eye svg [hidden] {display:none}
.lv-auth .lv-auth-eye:focus-visible {outline:2px solid #ee426b;outline-offset:-3px;border-radius:6px}
.lv-auth :is(.lv-auth-policy,.lv-auth-divider) {color:#626977}
.lv-auth .lv-auth-policy {line-height:1.6;overflow-wrap:anywhere}
html:is([lang="ar"],[lang="he"]) .lv-auth-card {direction:rtl}
html:is([lang="ar"],[lang="he"]) :is(main:has(>#account-root),main:has(>#responses-root),main#dashboard){direction:rtl;text-align:start}
html:is([lang="ar"],[lang="he"]) :is(#account-root,#responses-root,#dashboard) :is(input[type="email"],input[type="url"],input[type="tel"],input[type="date"]){direction:ltr;text-align:start}
:is(#account-root,#responses-root,#dashboard) :is([data-user-content],input[type="text"],textarea){unicode-bidi:plaintext}
html:is([lang="ar"],[lang="he"]) .lv-auth label {text-align:start}
.lv-auth input[type="email"] {direction:ltr;text-align:start}
html[data-theme="dark"] .lv-auth .lv-auth-card {background:#23262f;color:#f1f3f8;border:1px solid #424857}
html[data-theme="dark"] .lv-auth :is(.lv-auth-slogan,.lv-auth-description,.lv-auth-policy,.lv-auth-divider) {color:#c3ccdb}
html[data-theme="dark"] .lv-auth .lv-auth-policy a {color:#ffd0dd}
html[data-theme="dark"] .lv-auth .lv-auth-logo {background:#fff;border-radius:8px}
html[data-theme="dark"] .lv-auth input {background:#191c24!important;color:#f1f3f8!important;border-color:#626b7b!important}
html[data-theme="dark"] .lv-auth input::placeholder {color:#b2bdce;opacity:1}
html[data-theme="dark"] .lv-auth .lv-auth-eye {background:transparent!important;color:#e7e9ef!important;border:0!important}
html[data-theme="dark"] .lv-auth .lv-primary {background:#d72e5a!important;color:#fff!important;border-color:#d72e5a!important}
/* Header logo sizing must not stretch language flags. */
html body .locale-controls img.locale-flag {width:25px!important;height:25px!important;aspect-ratio:1;object-fit:cover;flex:0 0 auto;border-radius:50%}
html:not([data-theme="dark"]) .member-comparison details p {color:#515d70}
html[data-theme="dark"] .member-comparison details p {color:#c3ccdb}
.member-comparison details {scroll-margin-top:110px}
html:is([lang="ar"],[lang="he"]) .lv-membership main {direction:rtl;text-align:start}
html:is([lang="ar"],[lang="he"]) .member-price {direction:ltr;unicode-bidi:isolate}
@media(max-width:600px){
 html body.site-layout :is(.member-nav,.lv-dash-header) nav.site-header-actions {width:auto!important;flex:1 1 0!important;min-width:0!important;gap:4px!important;flex-wrap:nowrap!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) {height:64px!important;min-height:64px;align-items:center;gap:4px!important;padding:8px 6px!important;box-sizing:border-box}
 html body.site-layout :is(.member-nav,.lv-dash-header) :is(.member-logo,.site-clean-brand) {flex:0 0 100px!important;width:100px!important;min-width:100px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-header-account {white-space:nowrap!important;overflow-wrap:normal;line-height:1.35;padding-inline:6px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .locale-controls {flex:0 0 auto;gap:0!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .locale-controls button {min-width:30px!important;padding-inline:3px!important}
}
@media(max-width:420px){
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-menu-toggle {flex-basis:28px!important;min-width:28px!important;width:28px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) :is(.member-logo,.site-clean-brand) {flex-basis:80px!important;width:80px!important;min-width:80px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-mobile-logo {transform:scale(.8);transform-origin:left center}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-header-vip {gap:3px!important;padding-inline:5px!important;font-size:11px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) nav.site-header-actions > button:not(.site-header-account) {flex-basis:28px!important;width:28px!important;padding-inline:4px!important}
}
@media(max-width:360px){
 html body.site-layout :is(.member-nav,.lv-dash-header) {gap:3px!important;padding-inline:5px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) nav.site-header-actions {gap:3px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) :is(.member-logo,.site-clean-brand) {flex-basis:60px!important;width:60px!important;min-width:60px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-mobile-logo {transform:scale(.6)}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-header-account {font-size:11px!important;padding-inline:4px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .locale-controls button {min-width:26px!important;padding-inline:1px!important;font-size:11px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .locale-flag {width:23px!important;height:23px!important}
}
@media(max-width:340px){
 html body.site-layout :is(.member-nav,.lv-dash-header) :is(.member-logo,.site-clean-brand) {flex-basis:50px!important;width:50px!important;min-width:50px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-mobile-logo {transform:scale(.5)}
 html body.site-layout :is(.member-nav,.lv-dash-header) nav.site-header-actions {gap:2px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-header-vip {gap:2px!important;padding-inline:3px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) .site-header-vip svg {width:12px!important;height:12px!important}
 html body.site-layout :is(.member-nav,.lv-dash-header) nav.site-header-actions > button:not(.site-header-account) {flex-basis:26px!important;width:26px!important}
}
/* Mirror reading direction in editor chrome only; invitation canvases keep their own layout. */
.lv-publication-form .lv-row{flex-wrap:wrap}
.lv-publication-form .lv-publication-fields{flex-basis:220px!important}
.lv-publication-form :is(input,select,textarea){max-width:100%;box-sizing:border-box}
.lv-publication-form input[name="slug"]{min-width:130px;direction:ltr}
html:is([lang="ar"],[lang="he"]) .lv-publication-form{direction:rtl;text-align:start}
.lv-publication-form :is(input[name="title"],textarea){unicode-bidi:plaintext}
html:is([lang="ar"],[lang="he"]) .lv-dialog{direction:rtl;text-align:start}
html:is([lang="ar"],[lang="he"]) :is(.sm-dialog,.sharing-page,.tips-dialog){direction:rtl;text-align:start}
html:is([lang="ar"],[lang="he"]) .sm-dialog>.sm-close{right:auto;left:0}
.sm-dialog :is([data-url],input[type="email"],input[type="url"]){direction:ltr;text-align:start}
:is(.sm-dialog,.sharing-page,.tips-dialog) :is(textarea,input[type="text"],[data-user-content]){unicode-bidi:plaintext}
.lv-dialog :is(textarea,input[type="text"],[data-user-content]){unicode-bidi:plaintext}
.lv-shortcuts kbd{direction:ltr;unicode-bidi:isolate}
html:is([lang="ar"],[lang="he"]) .lv-dialog input:is([type="number"],[type="email"],[type="url"],[type="color"]){direction:ltr}
html:is([lang="ar"],[lang="he"]) :is(#property-content,#library-content,#library-title,.media-folder-dialog,.opening-config,.envelope-config,.recipient127,.map-help-dialog,.bg112){direction:rtl;text-align:start}
html:is([lang="ar"],[lang="he"]) :is(.opening-preview,.envelope-config-preview){direction:ltr;text-align:initial}
html:is([lang="ar"],[lang="he"]) :is(.opening-config,.envelope-config,.recipient127) input{unicode-bidi:plaintext}
html:is([lang="ar"],[lang="he"]) :is(.opening-config,.envelope-config,.recipient127) input:is([type="number"],[type="date"],[inputmode="numeric"]){direction:ltr;text-align:start}
html:is([lang="ar"],[lang="he"]) :is(.opening-config,.recipient127) > .qr-close{right:auto;left:12px}
html:is([lang="ar"],[lang="he"]) :is(.opening-config,.recipient127) > h2{padding-inline-end:32px}
html:is([lang="ar"],[lang="he"]) :is(#property-content,#library-content,.media-folder-dialog) :is(input[type="number"],input[type="url"],input[type="email"],input[type="color"]){direction:ltr}
html:is([lang="ar"],[lang="he"]) :is(#property-content,#library-content,.media-folder-dialog) :is(textarea,input[type="text"],[data-user-content]){unicode-bidi:plaintext}
/* The preview language selector must not inherit a half-screen auto width. */
@media(max-width:600px){
 body #preview-actions:has(>select[data-template-language]){width:min(280px,calc(100% - 100px))!important;right:auto!important;margin:8px 0!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body #preview-actions>select[data-template-language]{white-space:nowrap!important;min-height:38px;line-height:normal!important}
}
.poster-button[data-i18n-preview]::after{content:attr(data-i18n-preview)}
/* Responsive sizing only: retain the existing editor tools, icons and actions. */
.em-sheet-header{display:contents}
/* Effect cards must use the same surface as the surrounding editor in both themes. */
html body #library :is(.effect-category,.motion-theme,.motion-choice,.effects-back,.effect-option){background:var(--lv-panel,#fff)!important;color:var(--lv-text,#253047)!important;border-color:var(--lv-border,#e2e5ec)!important}
html body #library :is(.effect-category,.motion-theme,.motion-choice) strong{color:var(--lv-text,#253047)!important}
html body #library :is(.effect-category,.motion-theme,.motion-choice)>span,html body #library .motion-choice div>span{color:var(--lv-muted,#748097)!important;line-height:1.5}
html body #library .effect-category{text-align:start;overflow-wrap:anywhere}
html body #library .motion-theme{min-width:0;overflow-wrap:anywhere}
html body #library .motion-theme.chosen{border-color:#f23873!important;box-shadow:0 0 0 1px #f23873}
html body #library .motion-actions button{min-height:44px;white-space:normal}
html body :is(.envelope-config,.opening-config,.animated-config){background:var(--lv-panel,#fff)!important;color:var(--lv-text,#253047)!important;border-color:var(--lv-border,#e2e5ec)!important}
html body :is(.envelope-config,.opening-config,.animated-config)>:is(header,h2),html body .envelope-config :is(header h3,section h4){color:var(--lv-text,#253047)!important}
html body .envelope-config .small-note{color:var(--lv-muted,#748097)!important}
html body :is(.envelope-config,.opening-config,.animated-config) form label{color:var(--lv-text,#253047)!important}
html body .envelope-config-grid>aside{background:var(--lv-panel,#fff)!important;color:var(--lv-text,#253047)!important}
html body :is(.envelope-config,.opening-config,.animated-config)>header{display:flex;align-items:flex-start;gap:12px}
html body :is(.envelope-config,.opening-config,.animated-config)>header h3{min-width:0;line-height:1.4;overflow-wrap:anywhere}
html body :is(.envelope-config,.opening-config,.animated-config)>header button{flex-shrink:0}
html body :is(.selection-toolbar,.canvas-context){background:var(--lv-panel,#fff)!important;color:var(--lv-text,#253047)!important;border-color:var(--lv-border,#e2e5ec)!important}
html body :is(.selection-toolbar,.canvas-context) button{color:inherit!important}
html body :is(.selection-toolbar,.canvas-context) svg{stroke:currentColor!important}
/* Account artwork is a full-colour image, not a monochrome toolbar glyph. */
html body .topbar .lv-account-avatar img{filter:none!important;width:34px!important;height:34px!important;object-fit:contain}
@media(max-width:700px){
 html body.em-responsive #library,html body.em-responsive #properties{height:60dvh!important;max-height:calc(100dvh - 160px)!important;padding:0 14px 18px!important;overflow-x:hidden!important;overscroll-behavior:contain;scroll-padding-top:60px}
 html body.em-responsive .em-sheet-header{display:flex;position:sticky;top:0;align-items:center;justify-content:space-between;gap:10px;min-height:54px;margin:0 -14px 12px;padding:8px 12px 8px 16px;z-index:5;background:var(--lv-panel,#fff);border-bottom:1px solid var(--lv-border,#e2e5ec)}
 html body.em-responsive .em-sheet-header h2{display:block!important;flex:1;min-width:0;margin:0!important;font-size:16px;overflow-wrap:anywhere}
 html body.em-responsive .em-close{position:static;flex-shrink:0;min-height:40px;max-width:50%;height:auto;white-space:normal}
 html body.em-responsive :is(#library,#properties) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){font-size:16px!important;min-height:42px;min-width:0;max-width:100%;box-sizing:border-box}
 html body.em-responsive :is(#library,#properties) summary{min-height:44px;display:flex;align-items:center}
 html body.em-responsive .canvas-toolbar>.lv-quick-tools{display:flex!important}
 html body.em-responsive .canvas-context{max-height:calc(100dvh - 150px);overflow:auto}
 html body.em-responsive .topbar{height:64px!important;min-height:64px!important;flex-wrap:nowrap!important;gap:4px!important;padding:6px!important;overflow-x:auto;scrollbar-width:none}
 html body.em-responsive .topbar #preview-btn{font-size:0!important;gap:0!important}
 html body.em-responsive .topbar #preview-btn :is(img,svg){width:20px;height:20px}
 html body.em-responsive .workspace{inset:64px 0 calc(114px + env(safe-area-inset-bottom,0px))!important}
 html body.em-responsive #tools{height:70px!important}
 html body.em-responsive #tools button{flex-basis:76px!important;width:76px!important;height:69px!important;min-height:69px!important;max-height:69px!important;justify-content:center;gap:5px!important}
 html body.em-responsive #tools button span{white-space:normal!important;line-height:14px!important;font-size:11px!important;overflow-wrap:anywhere}
 html body.em-responsive #library,html body.em-responsive #properties{bottom:var(--em-keyboard-inset,0px)!important;max-height:calc(var(--em-visible-height,100dvh) - 74px)!important;z-index:60!important;padding-bottom:max(18px,env(safe-area-inset-bottom,0px))!important}
 html body.em-responsive .canvas-toolbar{left:0;flex-wrap:nowrap!important;gap:6px;padding:5px 0!important;min-height:40px}
 html body.em-responsive .canvas-toolbar .lv-quick-tools{flex-shrink:0}
 html body.em-responsive .canvas-toolbar #zoom{max-width:130px}
 html body.em-responsive .canvas-toolbar .palette-toggle{display:none!important}
 html body.em-responsive #library .swatches{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
 html body.em-responsive #library .swatches button{width:100%;height:auto;aspect-ratio:1;min-width:0;padding:0}
 html body.em-responsive #library :is(.stock-grid,.utility-grid,.preset-grid,.studio-grid){grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.em-responsive .music-row{grid-template-columns:36px minmax(0,1fr) 30px minmax(52px,auto);gap:6px;min-width:0}
 html body.em-responsive .music-row>span{min-width:0}
 html body.em-responsive .music-row [data-song]{max-width:110px;white-space:normal;overflow-wrap:anywhere;font-size:12px;padding:6px}
 html body.em-responsive .music-categories{flex-wrap:wrap}
 html[data-theme=dark] body.em-responsive .music-current{background:var(--lv-panel,#242730);border:1px solid var(--lv-border,#454955)}
 html[data-theme=dark] body.em-responsive .music-panel svg{filter:none!important}
 html body.em-responsive.em-properties #properties{visibility:visible!important}
 html body.em-responsive .crop109{overflow-x:hidden!important;padding:12px!important}
 html body.em-responsive .crop109-layout{min-width:0}
 html body.em-responsive .crop109-layout>aside{min-width:0;padding:12px 0}
 html body.em-responsive .crop109-shapes{grid-template-columns:repeat(4,minmax(0,1fr))!important;min-width:0}
 html body.em-responsive .crop109>header{position:sticky;top:-12px;z-index:5;background:var(--lv-panel,#fff);padding:10px 0}
 html body.em-responsive .crop109>footer{position:sticky;bottom:-12px;z-index:5;background:var(--lv-panel,#fff);padding:10px 0;flex-wrap:wrap}
}

/* MOBILE APP PARITY */
/* The mobile app's spacing and surfaces, while desktop keeps its existing layout. */
.mobile-editor-header{display:none}
[data-mobile-editor-sidebar]{display:none!important}
.mobile-language-label,.mobile-app-preferences,.mobile-account-link{display:none}
.mobile-app-logout{display:none}
.mobile-brand-canvas{display:none}
.mobile-menu-close,.mobile-drawer-brand{display:none}
@media(max-width:600px){
html body.mobile-app-web #site-navigation#site-navigation{transition:transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear .22s!important}
html body.mobile-app-web #site-navigation#site-navigation>.mobile-menu-close{position:absolute!important;inset:10px 12px auto auto!important;display:flex!important;align-items:center;justify-content:center;width:40px;height:40px;padding:9px;border:1px solid var(--lv-border,#e6e9ef);border-radius:12px;color:var(--lv-text,#253047);background:var(--lv-panel,#fff);cursor:pointer}
html body.mobile-app-web .mobile-menu-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[dir=rtl] body.mobile-app-web #site-navigation#site-navigation>.mobile-menu-close{inset:10px auto auto 12px!important}
html[dir=rtl] body.mobile-app-web .mobile-menu-close svg{transform:rotate(180deg)}
}
@media(max-width:600px){html body.mobile-app-web.site-menu-open #site-navigation#site-navigation{transition:transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s!important}}
@media(prefers-reduced-motion:reduce){html body.mobile-app-web #site-navigation#site-navigation{transition:none!important}}
@media(max-width:600px){
html body.mobile-app-web #site-navigation#site-navigation{--menu-row:44px;padding:12px 12px max(12px,env(safe-area-inset-bottom,0px))!important}
html body.mobile-app-web #site-navigation#site-navigation>nav{gap:0!important;padding:0!important;margin:0!important}
html body.mobile-app-web #site-navigation#site-navigation nav :is(a,button){min-height:var(--menu-row)!important;padding:6px 10px!important;font-size:15px!important;font-weight:500!important;line-height:1.35!important;gap:10px!important}
html body.mobile-app-web #site-navigation#site-navigation nav :is(small,p,.nav-label,.site-nav-label,.sidebar-label){margin:6px 10px 3px!important;padding:0!important;font-size:10px!important;line-height:14px!important;min-height:0!important}
html body.mobile-app-web #site-navigation#site-navigation>.site-brand{height:40px!important;flex:0 0 40px!important;margin:0 0 8px!important}
html body.mobile-app-web #site-navigation#site-navigation .mobile-app-logout{min-height:var(--menu-row)!important;padding:6px 10px!important;font-size:13px!important}
html body.mobile-app-web #site-navigation#site-navigation .mobile-app-preferences{margin-top:8px!important;padding:8px 2px 0!important;gap:6px!important}
html body.mobile-app-web #site-navigation#site-navigation nav>div{margin-block:0!important}
}
@media(max-width:600px){
html body.mobile-app-web #template-modal.live-modal[open]{position:fixed!important;inset:0!important;width:100%!important;max-width:100%!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;background:var(--lv-panel,#fff)!important}
html body.mobile-app-web #template-modal.live-modal .review-switch{position:absolute!important;top:8px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;height:40px!important;max-width:calc(100% - 24px)!important;z-index:10!important}
html body.mobile-app-web #template-modal.live-modal .review-switch button{min-height:36px!important;font-size:12px!important;padding:8px 14px!important}
html body.mobile-app-web #template-modal.live-modal .modal-image{position:absolute!important;inset:56px 0 calc(68px + env(safe-area-inset-bottom,0px))!important;width:100%!important;height:auto!important;padding:0!important;margin:0!important;border-radius:0!important}
html body.mobile-app-web #template-modal.live-modal .live-template{display:block!important;width:100%!important;height:100%!important;max-height:none!important;border:0!important;margin:0!important;padding:0!important}
html body.mobile-app-web #template-modal .hm-preview-actions{box-sizing:border-box!important;height:calc(68px + env(safe-area-inset-bottom,0px))!important;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important;gap:10px!important;background:var(--lv-panel,#fff)!important;border-top:1px solid var(--lv-border,#e6e9ef)!important}
html body.mobile-app-web #template-modal .hm-preview-actions button{min-width:0!important;min-height:46px!important;padding:10px 12px!important;font:600 13px/1.3 Inter,system-ui,sans-serif!important;border-radius:12px!important}
}
@media(max-width:600px){
body.mobile-app-web [data-mobile-editor-sidebar]{display:block!important}
html body.mobile-app-web #site-navigation#site-navigation{position:fixed!important;left:0!important;z-index:110!important;background:var(--lv-panel,#fff)!important}
html body.mobile-app-web #site-navigation#site-navigation{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:0!important;overflow-y:auto!important}
html body.mobile-app-web #site-navigation#site-navigation>nav{position:static!important;flex:1 0 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important}
html body.mobile-app-web #site-navigation#site-navigation>:is(.mobile-app-logout,.mobile-app-preferences,.mobile-account-link){position:static!important;inset:auto!important;transform:none!important;flex:0 0 auto!important;order:initial!important;clear:both!important}
html body.mobile-app-web:not(.site-menu-open) #site-navigation#site-navigation{transform:translateX(-110%)!important;visibility:hidden!important}
html body.mobile-app-web.site-menu-open #site-navigation#site-navigation{transform:translateX(0)!important;visibility:visible!important}
html[dir=rtl] body.mobile-app-web #site-navigation#site-navigation{left:auto!important;right:0!important}
html[dir=rtl] body.mobile-app-web:not(.site-menu-open) #site-navigation#site-navigation{transform:translateX(110%)!important}
html body.mobile-app-web .hm-app.mobile-app-header{position:relative!important;inset:auto!important}
html body.mobile-app-web .hm-app.mobile-app-header>.locale-controls{margin-inline-start:auto!important}
html body.mobile-app-web .mobile-app-header .site-clean-brand.site-clean-brand>.mobile-brand-canvas,body.mobile-app-web .mobile-brand-canvas{display:block!important;width:112px!important;height:40px!important}
html body.mobile-app-web .mobile-app-header .site-clean-brand.site-clean-brand{display:block!important;width:112px!important;height:40px!important;min-width:112px!important;background:transparent!important;font-size:0!important;border:0!important;overflow:visible!important}
html body.mobile-app-web .mobile-app-header .site-clean-brand:before,html body.mobile-app-web .mobile-app-header .site-clean-brand:after{display:none!important}
body.mobile-app-web .lv-auth-logo{width:124px!important;height:44px!important;background:transparent!important;margin:0 auto 16px!important}
body.mobile-app-web .lv-auth-logo>.mobile-brand-canvas{width:124px!important;height:44px!important}
body.mobile-app-web .lv-auth-logo:has(.mobile-brand-canvas)>:not(canvas){display:none!important}
body.mobile-app-web :is(.site-brand,.site-clean-brand,.hm-brand,.mobile-app-brand):has(>.mobile-brand-canvas)>:not(.mobile-brand-canvas){display:none!important}
body.mobile-app-web .hm-app .hm-brand{order:1!important;flex:0 0 112px!important;width:112px!important;height:40px!important;margin:0!important;padding:0!important;transform:none!important}
body.mobile-app-web .hm-app .hm-menu{order:0;flex:0 0 44px;width:44px!important;height:44px!important;padding:10px!important}
body.mobile-app-web .hm-app>.locale-controls{order:2;margin-inline-start:auto!important}
body.mobile-app-web .hm-app>:is(.hm-create,#hm-theme),body.mobile-app-web .hm-app .lovia-currency-button{display:none!important}
body.mobile-app-web.lv-home>.header{display:none!important}
body.mobile-app-web .mobile-app-header>:is(.market-top-nav,#header-search-slot){display:none!important}
body.mobile-app-web{--mobile-app-header:64px;padding-top:64px!important;padding-inline-start:0!important}
body.mobile-app-web .mobile-app-header{position:fixed!important;inset:0 0 auto!important;height:64px!important;min-height:64px!important;padding:8px!important;display:flex!important;align-items:center!important;gap:4px!important;background:var(--lv-panel,#fff)!important;border-bottom:1px solid var(--lv-border,#e6e9ef)!important;box-sizing:border-box!important;z-index:75!important;box-shadow:none!important}
body.mobile-app-web .mobile-app-header>.site-menu-toggle{display:flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px!important;height:44px!important;border:0!important;background:transparent!important;padding:10px!important;color:var(--lv-text,#253047)}
body.mobile-app-web .mobile-app-header>.site-clean-brand,body.mobile-app-web .mobile-app-header>.mobile-app-brand{flex:0 0 112px!important;width:112px!important;height:40px!important;margin:0!important;padding:0!important}
body.mobile-app-web .mobile-app-header .site-mobile-logo{display:block!important;width:112px!important;height:40px!important}
body.mobile-app-web .mobile-app-header>.site-clean-brand>img,body.mobile-app-web .mobile-app-header>.site-clean-brand>svg{display:none!important}
body.mobile-app-web .mobile-app-header .site-header-actions{margin-inline-start:auto!important;display:flex!important;gap:0!important;width:auto!important;min-width:0!important}
body.mobile-app-web .mobile-app-header .site-header-actions>:not(.locale-controls){display:none!important}
body.mobile-app-web .mobile-app-header .locale-controls{display:flex!important;gap:0!important;margin:0!important}
body.mobile-app-web .mobile-language-label{display:inline!important;font-size:11px;line-height:1.3;font-weight:600;max-width:76px;white-space:normal;overflow-wrap:anywhere}
body.mobile-app-web .lovia-language-button{display:flex!important;gap:7px!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:44px!important;min-height:44px!important;border:0!important;border-radius:10px!important;padding:6px!important;color:var(--lv-text,#253047)!important;background:transparent!important}
body.mobile-app-web .lovia-language-button .locale-flag{width:26px!important;height:20px!important;min-width:26px!important;border-radius:0!important;object-fit:contain!important;box-shadow:none!important;flex-shrink:0}
body.mobile-app-web .mobile-app-preferences{display:flex;align-items:center;gap:8px;padding:16px 8px;border-top:1px solid var(--lv-border,#e6e9ef);margin-top:16px}
body.mobile-app-web .mobile-app-preferences>.lovia-language-button{margin-inline-end:auto}
body.mobile-app-web .mobile-app-preferences button{min-width:44px;min-height:44px;flex-shrink:0}
body.mobile-app-web .mobile-app-preferences [data-theme-toggle]{display:flex;align-items:center;justify-content:center;border:1px solid var(--lv-border,#e6e9ef);border-radius:10px;background:transparent;color:var(--lv-text,#253047)}
body.mobile-app-web .mobile-app-preferences [data-theme-toggle] svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
body.mobile-app-web .mobile-app-preferences .mobile-language-label{font-size:14px;max-width:130px}
body.mobile-app-web .mobile-account-link{display:flex;min-height:44px;align-items:center;padding:12px 16px;color:var(--lv-text,#253047);text-decoration:none;border-radius:10px}
body.mobile-app-web .mobile-app-logout{display:block;width:100%;min-height:48px;text-align:start;padding:12px 16px;border:0;border-radius:10px;background:transparent;color:var(--lv-text,#253047);font:600 15px/1.4 Inter,system-ui,sans-serif}
body.mobile-app-web #site-navigation{width:min(310px,calc(100vw - 36px))!important;padding:20px 16px!important;top:0!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:110!important;box-sizing:border-box}
body.mobile-app-web #site-navigation nav :is(a,button){min-height:46px!important;padding:12px!important;gap:12px!important;font-size:14px!important;line-height:1.4!important;border-radius:10px!important;box-sizing:border-box}
body.mobile-app-web .site-menu-shade{z-index:105!important}
html body.mobile-app-web .site-menu-shade{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(24,33,50,.4)!important}
html body.mobile-app-web .site-menu-shade[hidden]{display:none!important}
body.mobile-app-web #site-navigation nav{display:flex!important;flex-direction:column!important;gap:4px!important;height:auto!important;max-height:none!important;overflow:visible!important;flex-shrink:0!important}
body.mobile-app-web #site-navigation nav :is(a,button){display:flex!important;align-items:center!important;text-align:start!important;text-decoration:none!important;color:var(--lv-text,#253047)!important;background:transparent;border:0;width:100%}
body.mobile-app-web #site-navigation nav :is(a,button)>:is(svg,img){flex-shrink:0;width:20px!important;height:20px!important}
body.mobile-app-web #site-navigation nav svg{fill:none;stroke:currentColor;stroke-width:1.6}
body.mobile-app-web #site-navigation nav :is(small,p){font:600 11px/1.5 Inter,system-ui,sans-serif;color:var(--lv-muted,#748097);margin:20px 12px 8px}
body.mobile-app-web #site-navigation nav [aria-current=page]{color:#f23873!important;background:#fff0f5!important}
html[data-theme=dark] body.mobile-app-web #site-navigation nav [aria-current=page]{color:#ff8ab1!important;background:#3b2434!important}
body.mobile-app-web #site-navigation>.site-brand{display:block;width:112px;height:40px;margin-bottom:22px}
body.mobile-app-web #site-navigation>.site-sidebar-bottom{display:none!important}
body.mobile-app-web .mobile-app-header .search-form-slot{display:none!important}
body.mobile-app-web.lv-home .main{margin-inline-start:0!important;padding-top:0!important}
body.mobile-app-web.lv-home .home-scroll{padding-top:0!important}
body.mobile-app-web .hm-shell{font-family:Inter,system-ui,sans-serif}
body.mobile-app-web .hm-shell .hm-bottom{grid-template-columns:repeat(4,minmax(0,1fr))}
body.mobile-app-web .hm-categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px 4px;margin:20px 0 16px;padding:0 12px}
body.mobile-app-web .hm-categories button{width:100%;margin:0;min-height:66px;font-size:12px;line-height:1.35;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:auto;gap:8px}
body.mobile-app-web .hm-categories img{height:27px;max-width:32px}
body.mobile-app-web .hm-grid{padding:16px;gap:16px 12px}
body.mobile-app-web .hm-grid .hm-cover{border-radius:14px;background:var(--lv-bg,#f5f6f9);aspect-ratio:3/4}
body.mobile-app-web .hm-grid .hm-name{font-size:13px;line-height:1.4;padding:8px 0}
body.mobile-app-web .lv-dialog.lv-auth{width:calc(100% - 24px)!important;max-width:460px!important;max-height:calc(100dvh - 12px)!important;padding:42px 0 0!important;overscroll-behavior:contain}
body.mobile-app-web .lv-auth-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;padding:20px 18px!important;border-radius:20px!important;background:var(--lv-panel,#fff)!important;color:var(--lv-text,#253047)!important}
body.mobile-app-web :is(.lv-auth-rule,.lv-auth-slogan,.lv-auth-description){display:none!important}
body.mobile-app-web .lv-auth-card h2{font:600 20px/1.35 Inter,system-ui,sans-serif!important;margin:0 0 20px!important;color:inherit!important}
body.mobile-app-web .lv-auth-google{min-height:50px!important;white-space:normal!important;padding:12px!important}
body.mobile-app-web .lv-auth-email{margin-top:16px!important;text-align:start!important}
body.mobile-app-web .lv-auth-email .lv-form{margin-top:16px!important;gap:12px!important}
body.mobile-app-web .lv-auth-email input{min-height:48px;font-size:16px!important;box-sizing:border-box;max-width:100%}
body.mobile-app-web .lv-auth-email button[type=submit]{min-height:48px;white-space:normal}
body.mobile-app-web .lv-auth-email [role=status]:empty{display:none}
body.mobile-app-web .lv-auth-policy{margin-top:16px!important;line-height:1.6!important}
body.mobile-app-web :is(main#dashboard,main:has(>#account-root),main:has(>#responses-root)){width:100%!important;max-width:100%!important;margin:0!important;padding:20px 16px 28px!important;box-sizing:border-box}
body.mobile-app-web .lv-dash-title{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important;margin:0 0 18px!important}
body.mobile-app-web .lv-dash-title>div{min-width:0;width:100%}
body.mobile-app-web .lv-dash-title>.lv-button{align-self:flex-start;max-width:100%;white-space:normal}
body.mobile-app-web :is(#dashboard,main:has(>#account-root),main:has(>#responses-root)) h1{font-size:24px!important;line-height:1.3!important;overflow-wrap:anywhere}
body.mobile-app-web #account-root .profile-heading{padding:16px!important;gap:12px!important}
body.mobile-app-web #account-root .profile-heading>div{min-width:0;overflow-wrap:anywhere}
body.mobile-app-web #account-root .profile-heading h2{font-size:18px!important}
body.mobile-app-web #account-root .avatar-upload img{width:60px!important;height:60px!important}
body.mobile-app-web #account-root :is(form,.linked-card){padding:16px!important}
body.mobile-app-web #account-root .profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
body.mobile-app-web #account-root .profile-tabs{padding:10px 12px!important;gap:8px}
body.mobile-app-web #account-root .profile-tabs button{flex:1;min-height:44px}
body.mobile-app-web :is(#account-root,#responses-root) :is(input,select,textarea){font-size:16px!important;min-height:44px;min-width:0;max-width:100%;box-sizing:border-box}
body.mobile-app-web #responses-root .response-metrics{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important}
body.mobile-app-web #responses-root .response-metrics>div{padding:12px 14px!important;min-height:76px;min-width:0;font-size:12px;box-sizing:border-box}
body.mobile-app-web #responses-root .response-metrics strong{font-size:25px!important}
body.mobile-app-web #responses-root .response-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;padding:14px!important}
body.mobile-app-web #responses-root .response-filters label{min-width:0!important;font-size:12px!important}
body.mobile-app-web #responses-root .response-filters label:nth-of-type(-n+2),body.mobile-app-web #responses-root .response-filters label:has(#response-status){grid-column:1/-1}
body.mobile-app-web #responses-root .response-filters button{min-height:44px;white-space:normal}
body.mobile-app-web #responses-root .response-empty{padding:24px 14px!important;font-size:13px}
body.mobile-app-web #responses-root .response-pager{justify-content:center;gap:10px;flex-wrap:wrap}
body.mobile-app-web .topbar{position:fixed!important;inset:64px 0 auto!important;z-index:70!important}
body.mobile-app-web .topbar>:is(.brand,.lv-logo-clean,.lv-account-avatar,[data-account-panel="login"]),body.mobile-app-web .topbar>button.lv-icon-button:first-child{display:none!important}
body.mobile-app-web.em-responsive .workspace{top:124px!important}
body.mobile-app-web .mobile-editor-header .site-clean-brand>img{display:none!important}
}

/* APP EDITOR PARITY */
/* Compact, consistently sized editor actions within the native shell. */
@media(max-width:600px){
html body.mobile-app-web:has(.workspace){--native-editor-panel:#fff;--native-editor-ink:#253047;--native-editor-line:#e6e9ef;--native-editor-soft:#f4f6f9;}
html[data-theme=dark] body.mobile-app-web:has(.workspace){--native-editor-panel:#191d26;--native-editor-ink:#f0f2f7;--native-editor-line:#333a48;--native-editor-soft:#252b37;}
html body.mobile-app-web .topbar{box-sizing:border-box!important;height:60px!important;min-height:60px!important;padding:8px 12px!important;display:flex!important;flex-wrap:nowrap!important;gap:6px!important;background:var(--native-editor-panel)!important;border-bottom:1px solid var(--native-editor-line)!important;box-shadow:none!important;align-items:center!important;}
html body.mobile-app-web .topbar.topbar>button{box-sizing:border-box!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:10px!important;border:1px solid var(--native-editor-line)!important;border-radius:12px!important;background:var(--native-editor-soft)!important;color:var(--native-editor-ink)!important;box-shadow:none!important;}
html body.mobile-app-web .topbar.topbar>button svg,html body.mobile-app-web .topbar.topbar>button img{width:20px!important;height:20px!important;}
html body.mobile-app-web .topbar.topbar>#preview-btn{margin-inline-start:auto!important;}
html body.mobile-app-web .topbar.topbar>#publish-btn{flex:0 1 auto!important;width:auto!important;min-width:78px!important;max-width:116px!important;padding:8px 12px!important;border:1px solid #ec3971!important;background:#f23873!important;color:#fff!important;font:600 13px/1.2 Inter,system-ui,sans-serif!important;white-space:normal!important;}
html body.mobile-app-web .topbar.topbar>button:disabled{opacity:.35!important;}
html body.mobile-app-web .workspace{top:124px!important;}
html body.mobile-app-web .canvas-toolbar{box-sizing:border-box;min-height:48px!important;padding:6px 10px!important;gap:6px!important;align-items:center!important;background:var(--native-editor-panel)!important;border-bottom:1px solid var(--native-editor-line)!important;}
html body.mobile-app-web .canvas-toolbar button,html body.mobile-app-web .canvas-toolbar select{height:36px!important;min-height:36px!important;border:1px solid var(--native-editor-line)!important;border-radius:9px!important;background:var(--native-editor-soft)!important;color:var(--native-editor-ink)!important;font-size:12px!important;}
html body.mobile-app-web #tools{background:var(--native-editor-panel)!important;border-color:var(--native-editor-line)!important;}
html body.mobile-app-web .em-controls{background:var(--native-editor-panel)!important;border-color:var(--native-editor-line)!important;padding-inline:6px;box-sizing:border-box;}
html body.mobile-app-web .em-controls button{margin:4px 3px!important;border-radius:9px!important;font-size:12px!important;font-weight:600!important;}
html[data-theme=dark] body.mobile-app-web .em-controls button[aria-pressed=true]{background:#3b2434!important;color:#ff8ab1!important;}
html body.mobile-app-web #library,html body.mobile-app-web #properties{border:1px solid var(--native-editor-line)!important;box-sizing:border-box!important;overscroll-behavior:contain;}
html body.mobile-app-web .topbar.topbar>button:active,html body.mobile-app-web .em-controls button:active{opacity:.75!important;}
}

@media(max-width:600px){
html body.mobile-app-web .topbar.topbar>button img{filter:none!important;opacity:1!important;}
html[data-theme=dark] body.mobile-app-web .topbar.topbar>button img{filter:brightness(0) invert(1)!important;}
html body.mobile-app-web .topbar.topbar>button svg{color:inherit!important;stroke:currentColor!important;}
}






.mobile-preview-menu{display:none}
@media(max-width:600px){
html body.mobile-app-web #template-modal.live-modal[open]{box-sizing:border-box!important;height:100vh!important;height:100dvh!important;max-height:100dvh!important;max-width:none!important}
html body.mobile-app-web #template-modal.live-modal .mobile-preview-menu{display:flex;position:absolute;top:calc(6px + env(safe-area-inset-top,0px));right:8px;width:44px;height:44px;align-items:center;justify-content:center;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--lv-text,#253047);z-index:11;-webkit-appearance:none}
.mobile-preview-menu svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
html body.mobile-app-web #template-modal.live-modal .review-switch{top:calc(8px + env(safe-area-inset-top,0px))!important;left:12px!important;right:60px!important;transform:none!important;width:max-content!important;max-width:calc(100% - 72px)!important;margin-inline:auto!important;box-sizing:border-box!important}
html body.mobile-app-web #template-modal.live-modal .review-switch button{white-space:nowrap!important;padding:8px 10px!important}
html body.mobile-app-web #template-modal.live-modal .modal-image{top:calc(56px + env(safe-area-inset-top,0px))!important}
html body.mobile-app-web #template-modal .hm-preview-actions{position:absolute!important;bottom:0!important;box-sizing:border-box!important}
html body.mobile-app-web .mobile-preview-navigation[open]{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;box-sizing:border-box}
.mobile-preview-navigation::backdrop{background:transparent}
html body.mobile-app-web .mobile-preview-navigation #site-navigation{top:0!important;bottom:0!important;height:100%!important;max-height:100%!important;box-sizing:border-box!important}
}

.mobile-preview-back,.mobile-preview-count,.mobile-preview-share,.mobile-preview-favorite{display:none}
@media(max-width:600px){
html body.mobile-app-web #template-modal.live-modal .mobile-preview-back{display:flex;position:absolute;top:calc(6px + env(safe-area-inset-top,0px));left:4px;width:40px;height:44px;align-items:center;justify-content:center;padding:10px;border:0;border-radius:12px;background:transparent;color:var(--lv-text,#253047);z-index:11;-webkit-appearance:none}
.mobile-preview-back svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.mobile-app-web #template-modal.live-modal .review-switch{left:48px!important;right:52px!important;max-width:calc(100% - 100px)!important}
html body.mobile-app-web #template-modal .hm-preview-actions{height:calc(80px + env(safe-area-inset-bottom,0px))!important;align-items:center!important;gap:8px!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important}
html body.mobile-app-web #template-modal.live-modal .modal-image{bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}
html body.mobile-app-web #template-modal .hm-preview-actions .mobile-preview-old-back{display:none!important}
html body.mobile-app-web #template-modal .hm-preview-actions .mobile-preview-count{display:block;flex:1 1 auto;color:var(--lv-muted,#7c899e);font:400 12px/1.3 Inter,system-ui,sans-serif;white-space:nowrap}
html body.mobile-app-web #template-modal .hm-preview-actions :is(.mobile-preview-share,.mobile-preview-favorite){display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:4px!important;min-width:44px!important;min-height:56px!important;border:0;border-radius:8px!important;background:transparent!important;font:400 12px/1.3 Inter,system-ui,sans-serif!important}
html body.mobile-app-web #template-modal .hm-preview-actions svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body.mobile-app-web #template-modal .hm-preview-actions .mobile-preview-favorite svg{color:#f63880}
html body.mobile-app-web #template-modal .hm-preview-actions .mobile-preview-use{flex:0 1 46%;min-height:48px!important;padding:10px 14px!important;border-radius:28px!important;background:#f63880!important;color:white!important;font:600 14px/1.3 Inter,system-ui,sans-serif!important}
}

@media(max-width:600px){
html body.mobile-app-web #template-modal.live-modal .review-switch{display:flex!important;width:auto!important;max-width:none!important;box-shadow:none!important;background:var(--lv-bg,#f7f8fb)!important;border:0!important;border-radius:24px!important;padding:3px!important;height:42px!important}
html body.mobile-app-web #template-modal.live-modal .review-switch button{flex:1 1 50%!important;width:auto!important;min-width:0!important;min-height:36px!important;font-size:14px!important;line-height:1.2!important;padding:6px 8px!important;border-radius:22px!important}
}
@media(max-width:360px){html body.mobile-app-web #template-modal.live-modal .review-switch button{font-size:12px!important;padding-inline:4px!important}}

/* Keep shared navigation aligned inside the preview dialog as well as on pages. */
@media(max-width:600px){
html body.mobile-app-web #site-navigation#site-navigation{text-align:start!important}
html body.mobile-app-web #site-navigation#site-navigation nav :is(a,button){display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:start!important;width:100%!important;box-sizing:border-box!important;margin-inline:0!important}
html body.mobile-app-web #site-navigation#site-navigation nav :is(a,button)>:is(svg,img){flex:0 0 20px!important;width:20px!important;height:20px!important;margin:0!important}
html body.mobile-app-web #site-navigation#site-navigation nav :is(a,button)>span:not(.menu-vip-tag){text-align:start!important}
}

@media(max-width:600px){
html body.mobile-app-web :is(.mobile-app-header .site-menu-toggle,.mobile-app-header .hm-menu,#template-modal.live-modal .mobile-preview-menu){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;outline-offset:2px}
}

/* Unframed navigation icons, including pressed/focused states and drawer close. */
@media(max-width:900px){
html body :is(.site-menu-toggle,.hm-menu,.mobile-preview-menu,.mobile-menu-close),html body :is(.site-menu-toggle,.hm-menu,.mobile-preview-menu,.mobile-menu-close):is(:hover,:active,:focus){appearance:none!important;-webkit-appearance:none!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;outline:none!important;-webkit-tap-highlight-color:transparent!important}
html body :is(.site-menu-toggle,.hm-menu,.mobile-preview-menu,.mobile-menu-close)::before,html body :is(.site-menu-toggle,.hm-menu,.mobile-preview-menu,.mobile-menu-close)::after{display:none!important;box-shadow:none!important;background:none!important}
html body :is(.site-menu-toggle,.hm-menu,.mobile-preview-menu,.mobile-menu-close) svg{background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important}
html body :is(.site-menu-toggle,.hm-menu,.mobile-preview-menu,.mobile-menu-close):focus-visible{outline:2px solid currentColor!important;outline-offset:2px!important}
html body.mobile-app-web #site-navigation#site-navigation>.mobile-menu-close{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
}
