/* Lead Manager shared admin system — canonical runtime stylesheet.
 * Structure, compact layouts, v6 data/forms, and the neutral admin palette.
 * Superseded source layers were removed during archive cleanup.
 * Customer design canvases and public website styles are separate.
 */

/* ===== workspace-consistency ===== */
:root{--wa-sidebar:#f7e5d8;--wa-sidebar-text:#253128;--wa-sidebar-active:#d9ebc6}
body .lm-app-sidebar{background:var(--wa-sidebar)!important;color:var(--wa-sidebar-text)!important}body .lm-app-sidebar :is(a,.wa-app-parent,.st-nav-label,.workspace-nav-section){color:var(--wa-sidebar-text)!important}body .lm-app-sidebar a:is(.is-active,.is-current){background:var(--wa-sidebar-active)!important;color:var(--wa-sidebar-text)!important}
body .wa-card{background:var(--wa-colour,#edf2e5)!important;color:var(--wa-card-ink,#18221a);transition:transform .22s ease,box-shadow .22s ease}body .wa-card :is(strong,small,.wa-card-icon,.wa-card-shortcuts a,.wa-card-instructions){color:inherit!important}.wa-card-main{position:relative;z-index:1;color:inherit!important}.wa-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #1b2b1920}.wa-card::before,.wa-card::after{transition:transform .65s ease,opacity .4s ease}.wa-card:hover::before{transform:rotate(50deg) scale(1.2)!important}.wa-card:hover::after{transform:translate(-18px,-8px) scale(1.25)!important}.wa-card:hover .wa-card-icon svg{transform:rotate(-10deg) scale(1.12)}.wa-card-icon svg{transition:transform .3s ease}
.wa-appearance{margin:20px 0;padding:22px;border:1px solid #d6ded2;background:#fff}.wa-appearance h3{margin-top:0}.wa-appearance p{font-size:13px;color:#566352}.wa-appearance details{border-top:1px solid #e1e6de;padding:15px 0}.wa-appearance summary{cursor:pointer;font-weight:700;font-size:13px}.wa-colour-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}.wa-colour-control{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px}.wa-colour-control>span{flex:1}.wa-colour-control>input[type=color]{width:42px!important;height:32px!important;padding:3px;border:1px solid #d4dccf}.wa-colour-control>label{display:flex;align-items:center;gap:5px;font-size:11px}.wa-colour-control input[type=checkbox]{width:14px;height:14px;min-height:0}.wa-appearance-preview{display:flex;max-width:420px;margin:20px 0;border:1px solid #d7ded1;min-height:90px}.wa-preview-sidebar{background:var(--wa-sidebar);color:var(--wa-sidebar-text);padding:20px}.wa-preview-card{padding:20px;flex:1}
body :is(.contacts-table,.ac-table,.st-table,.pc-table,.data-table,.contact-table) :is(td,th),body .contact-list-table :is(td,th),body #contact-app table :is(td,th){padding:7px 10px!important;line-height:1.35!important;height:auto!important;font-size:12px}body :is(.contacts-table,.ac-table,.st-table,.pc-table,.data-table) td :is(p,small){margin:2px 0!important;line-height:1.35!important}body :is(.contacts-table,.ac-table,.st-table,.pc-table,.data-table) td :is(button,.button,.st-button){min-height:28px!important;padding:4px 9px!important;font-size:11px!important}body :is(.contacts-table,.ac-table,.st-table,.pc-table,.data-table) td .contact-avatar{width:28px;height:28px}body :is(.contacts-table,.ac-table,.st-table,.pc-table,.data-table) td input[type=checkbox]{min-height:0;width:15px;height:15px}
.row-menu{position:relative;display:inline-block}.row-menu>summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:30px;height:28px;border:1px solid #d8dfd3;border-radius:4px;font-size:20px;line-height:1}.row-menu>summary::-webkit-details-marker{display:none}.row-menu[open]>div{position:absolute;right:0;top:100%;z-index:20;display:grid;gap:4px;min-width:135px;padding:6px;background:#fff;border:1px solid #d5ddcf;box-shadow:0 6px 16px #17241922}.row-menu[open]>div button{text-align:left;white-space:nowrap}.row-menu[open]{z-index:30}
.ac .ac-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.ac .ac-hero>div:first-child{min-width:140px}.ac .ac-hero h3{margin:0;font-size:18px}.ac .ac-hero>div>span,.ac .ac-hero>div>p{display:none}.ac .ac-hero .ac-actions{display:flex;align-items:center;flex-wrap:nowrap;overflow-x:auto;min-width:0;gap:6px;max-width:100%}.ac .ac-hero .ac-actions>*{white-space:nowrap;flex:0 0 auto;min-height:34px}.ac .ac-row-actions{gap:5px}.ac-template-edit-link{display:inline-flex;padding:8px 0;font-size:12px;font-weight:700;color:#345d2e}
@media(max-width:760px){.ac .ac-hero{display:block}.ac .ac-hero .ac-actions{margin-top:12px;padding-bottom:6px}.wa-appearance{padding:14px}}
@media(prefers-reduced-motion:reduce){.wa-card,.wa-card::before,.wa-card::after,.wa-card-icon svg{transition:none!important;animation:none!important}.wa-card:hover{transform:none}}
body #contacts-app .contact-table :is(td,th),body .pc-data-table :is(td,th){padding:6px 10px!important;font-size:12px!important;line-height:1.35!important;height:auto!important}body #contacts-app .contact-table td :is(button,.button){min-height:26px!important;font-size:11px!important;padding:4px 8px!important}body #contacts-app .contact-table td .contact-actions{display:grid!important;gap:3px!important}body #contacts-app .contact-table td :is(small,p){margin:1px 0!important;line-height:1.35!important}body #contacts-app .contact-table td input[type=checkbox]{width:14px;height:14px;min-height:0}body #contacts-app .contact-table .row-menu[open]>div{position:fixed;right:auto;top:auto;transform:translateX(-100%);max-height:240px;overflow:auto}.pc-record-row{padding-top:9px!important;padding-bottom:9px!important}.pc-example{margin-top:12px;border:1px dashed #bbc7b3;padding:12px;background:#fafbf7}.pc-example>small{display:block;color:#727b69;margin-bottom:8px}.pc-example table{width:100%;border-collapse:collapse}.pc-example td,.pc-example th{padding:8px;text-align:left;font-size:12px}
body.lm-admin-foundation .lm-app-sidebar,body.lm-admin-foundation .lm-app-sidebar :is(.sidebar-inner,.workspace-navigation,.wa-global-nav){background:var(--wa-sidebar)!important;color:var(--wa-sidebar-text)!important}body.lm-admin-foundation .lm-app-sidebar :is(a,.wa-app-parent,.st-nav-label,.workspace-nav-section){color:var(--wa-sidebar-text)!important}body.lm-admin-foundation .lm-app-sidebar a:is(.is-active,.is-current){background:var(--wa-sidebar-active)!important;color:var(--wa-sidebar-text)!important;border-radius:0!important}
body #pipeline-app .pipeline-board{grid-auto-columns:minmax(230px,1fr)!important;max-height:calc(100dvh - 420px)!important;min-height:320px;overflow:auto!important}body #pipeline-app .pipeline-column{padding:0!important;border:0!important;min-height:0!important}body #pipeline-app .pipeline-column>header{position:sticky!important;top:0!important;margin:0!important;z-index:3}body #pipeline-app .pipeline-column>div{padding:10px!important}.pipeline-scroll-top::-webkit-scrollbar{height:13px}.pipeline-scroll-top::-webkit-scrollbar-track{background:#e4ebdd}.pipeline-scroll-top::-webkit-scrollbar-thumb{background:#829578;border:2px solid #e4ebdd;border-radius:7px}
html body.lm-admin-foundation .app-sidebar.lm-app-sidebar,html body.lm-admin-foundation[data-studio-mode] .st-sidebar.lm-app-sidebar{background:var(--wa-sidebar)!important;color:var(--wa-sidebar-text)!important}html body.lm-admin-foundation .lm-app-sidebar nav :is(a,button,summary,.st-nav-label,.workspace-nav-section){color:var(--wa-sidebar-text)!important}html body.lm-admin-foundation .lm-app-sidebar nav :is(a.is-active,a.is-current,a[aria-current=page]){background:var(--wa-sidebar-active)!important;color:var(--wa-sidebar-text)!important}
html body .wa-card :is(strong,small,.wa-card-icon,.wa-card-shortcuts a,.wa-card-instructions){color:var(--wa-card-ink,#18221a)!important}.wa-card .wa-card-shortcuts a{border-color:currentColor}.wa-card .wa-card-icon{background:#ffffff55!important}.wa-card .wa-card-links{position:relative;z-index:1}
html body #pipeline-app .pipeline-board{min-width:0!important;width:100%;grid-template-columns:none!important;grid-auto-columns:minmax(200px,1fr)!important}.pipeline-card footer{flex-wrap:wrap}.pipeline-card footer span{white-space:nowrap}@media(max-width:760px){html body #pipeline-app .pipeline-board{max-height:60dvh!important}.pipeline-toolbar>div:last-child{display:flex;flex-wrap:wrap}.pipeline-toolbar>div:last-child .button{flex:1;white-space:nowrap;padding:8px!important;font-size:11px!important}}
/* Corner-only feedback: decoration must never intercept a card link. */
html body .wa-card{position:relative;isolation:isolate;transform:none!important;transition:box-shadow .2s ease,border-color .2s ease}
html body .wa-card:hover{transform:none!important;box-shadow:0 5px 16px #1b2b1914}
html body .wa-card::before{content:"";position:absolute;inset:auto -30px -36px auto;width:106px;height:106px;border:1px solid currentColor;border-radius:50%;background:transparent;opacity:.13;pointer-events:none;z-index:0;transform:none!important;transition:width .4s ease,height .4s ease,opacity .4s ease}
html body .wa-card::after{content:"";position:absolute;inset:auto -5px -12px auto;width:58px;height:58px;border:1px solid currentColor;border-radius:50%;background:transparent;opacity:.1;pointer-events:none;z-index:0;transform:none!important}
html body .wa-card:hover::before{width:132px;height:132px;opacity:.25;transform:none!important}html body .wa-card:hover::after,html body .wa-card:hover .wa-card-icon svg{transform:none!important}
html body .wa-card-main{position:static;z-index:auto;flex:1}html body .wa-card-main::after{content:"";position:absolute;inset:0;z-index:1}html body .wa-card.is-disabled .wa-card-main::after{display:none}
html body .wa-card .wa-card-links{position:relative;z-index:2}html body .wa-card .wa-app-switch{z-index:3}
html body .wa-card .wa-card-shortcuts a,html body .wa-card .wa-card-shortcuts a:hover{background:#171719!important;color:#fff!important;border:1px solid #171719!important;border-radius:6px;padding:5px 8px;text-decoration:none}
html body .wa-card .wa-card-instructions{background:transparent!important;color:var(--wa-card-ink,#18221a)!important}


/* ===== admin-unified ===== */
/* Shared application chrome. Never style content inside the design iframe. */
/* Padding hatching is editor chrome, not the user's actual spacing. */
body.visual-builder-page .bjs-ovl-padding{display:none!important}
.vb-content-dialog{width:min(840px,94vw)}.vb-content-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:15px}.vb-content-dialog header button{border:1px solid #d4dcd7;background:#fff;color:#263b30;border-radius:8px;width:30px;height:30px}.vb-content-body{padding:20px}.vb-content-body form{display:grid;gap:12px}.vb-content-body label{display:grid;gap:6px;font-size:12px;font-weight:600}.vb-content-body :is(input,select,textarea){width:100%;box-sizing:border-box;border:1px solid #cdd7d0;border-radius:8px;padding:9px;color:#24372c;background:#fff}.vb-content-body textarea{font:12px/1.5 Consolas,monospace;resize:vertical}.vb-content-body :is(p,a){font-size:12px;line-height:1.6}.vb-content-body button,#vb-content-tools button{cursor:pointer;border:1px solid #cbd5ce;border-radius:8px;padding:8px 12px}.vb-content-body [type=submit]{background:#171719;color:#fff}.vb-content-body [role=status]{color:#8b352a}.vb-content-body button:disabled{opacity:.5;cursor:not-allowed}#SettingsContainer .bbg-preview{cursor:pointer!important}
/* Title stays left; account/search/support controls stay at the far right. */
html body.lm-admin-foundation :is(.app-header,.st-topbar){display:flex!important;justify-content:flex-start!important;width:100%;box-sizing:border-box}
html body.lm-admin-foundation :is(.app-header .header-actions,.st-topbar .st-top-actions){margin-left:auto!important;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto}
html body.lm-admin-foundation .experience-support{background:#171719!important;color:#fff!important;border:1px solid #171719!important;border-radius:8px;padding:9px 14px}
html body.lm-admin-foundation .experience-support:hover{background:#192e25!important}
@media(max-width:760px){html body.lm-admin-foundation :is(.app-header,.st-topbar){flex-wrap:wrap}html body.lm-admin-foundation :is(.app-header .header-actions,.st-topbar .st-top-actions){max-width:100%;flex-wrap:wrap;gap:6px}}
html body.lm-admin-foundation .cms-page-workspace{grid-template-columns:220px minmax(0,1fr) 260px;min-width:0}
.cms-page-viewport{position:relative;flex-shrink:0;overflow:hidden;background:#fff}.cms-page-viewport iframe{display:block;max-width:none!important;border:0!important}
html body.lm-admin-foundation .cms-page-stage{padding:16px;min-width:0;overflow:hidden;justify-content:flex-start}
@media(max-width:1200px){html body.lm-admin-foundation .cms-page-workspace{grid-template-columns:180px minmax(0,1fr)}html body.lm-admin-foundation .cms-page-inspector{grid-column:1/-1}}
@media(max-width:780px){html body.lm-admin-foundation .cms-page-workspace{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){html body.lm-admin-foundation :is(.st-heading,.cms-heading){flex-wrap:wrap!important;max-width:100%}html body.lm-admin-foundation :is(.st-actions,.cms-heading>div:last-child){max-width:100%;flex:0 1 100%;min-width:0;box-sizing:border-box}}
html body.lm-admin-foundation .scheduler-summary{background:#eef2ef!important;border:1px solid #dce3df;border-radius:10px!important;color:#263b30}
@media(max-width:800px){html body.visual-builder-page .vb-statusbar>span:not(.vb-device-switcher):not(#vb-status):not(#vb-save-state){display:none!important}html body.visual-builder-page #vb-status{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
:root{--lm-ui-radius:10px;--lm-ui-control-radius:8px;--lm-ui-accent:#171719;--lm-ui-surface:#fff;--lm-ui-muted:#f1f3f2}
html body.lm-admin-foundation :is(.pc-dialog,.experience-dialog:not(.support-composer))>form{padding:0;box-sizing:border-box}html body.lm-admin-foundation dialog :is(button[type=submit],.primary,.button.primary,.button-primary){background:#171719!important;color:#fff!important;border:1px solid #171719!important;border-radius:8px!important;min-height:34px;padding:7px 12px}html body.lm-admin-foundation .pc-dialog :is(input,select,textarea){box-sizing:border-box;border-radius:8px!important}.pc-dialog>.pc-dialog-body{padding:20px}
html body.visual-builder-page .vb-site-chip{display:none!important}html body.visual-builder-page .vb-shell{width:100%;max-width:100vw;min-width:0}html body.visual-builder-page .vb-topbar{box-sizing:border-box;width:100%;min-width:0}html body.visual-builder-page .vb-project-fields label{min-width:0!important}.vb-project-fields label input{box-sizing:border-box}
html body.visual-builder-page .vb-statusbar .vb-save-state{display:inline!important;font-size:10px;flex:0 0 auto;color:#506359}
@media(max-width:800px){html body.visual-builder-page .vb-project-fields{display:block!important;flex:1 1 90px!important;width:90px!important;max-width:160px!important;min-width:70px!important}html body.visual-builder-page .vb-project-fields label{display:block;width:100%;min-width:0}html body.visual-builder-page .vb-topbar .vb-actions{flex:0 0 auto;min-width:0}html body.visual-builder-page .vb-statusbar .vb-save-state{display:none!important}html body.visual-builder-page .vb-panel>header>span{flex:0 0 auto}}
.website-connect-dialog{width:min(760px,94vw)}.website-connect-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.website-connect-dialog h2{margin:0}.website-connect-dialog header button{width:30px;height:30px;border:1px solid #d4ddd6;background:#fff;border-radius:8px}.website-connect-body{padding:20px}.website-connect-body p{font-size:13px;line-height:1.65;color:#54645b}.website-connect-tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid #dce3df;padding-bottom:10px;margin:18px 0}.website-connect-tabs button{border:1px solid #cdd7d0;border-radius:8px;min-height:34px;padding:7px 12px;white-space:nowrap;background:#fff;color:#2c4235}.website-connect-tabs button[aria-selected=true]{background:#171719;color:white}.website-connect-body label{display:grid;gap:7px;font-size:13px;font-weight:600}.website-connect-body input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:10px;border:1px solid #cdd7d0;border-radius:8px;background:#fff;color:#24352b}.website-connect-body .connect-permission{display:flex;align-items:flex-start;margin:20px 0;line-height:1.5}.connect-permission input{width:16px;height:16px;flex:0 0 auto}.website-connect-body [hidden]{display:none!important}.website-connect-body [data-connect-status]{white-space:pre-wrap}.website-connect-body .st-button{display:inline-flex;margin:4px 4px 4px 0;text-decoration:none}
html body.visual-builder-page .vb-canvas-wrap{min-width:0;overflow:auto!important;align-items:center}html body.visual-builder-page .vb-editor[data-device=tablet] :is(#MainContainer,.vb-browser-bar){width:768px!important;min-width:768px!important;max-width:none!important;flex-shrink:0}html body.visual-builder-page .vb-editor[data-device=mobile] :is(#MainContainer,.vb-browser-bar,.vb-email-envelope){width:390px!important;min-width:390px!important;max-width:none!important;flex-shrink:0}
html.lm-booting body::before{content:'';position:fixed;inset:0;z-index:99998;background:#f7e8dd}#lm-startup{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#171719;font:13px/1.5 'Instrument Sans',Arial,sans-serif;background:radial-gradient(ellipse at 50% 42%,#f7e8dd,#fffaf4 65%)}#lm-startup strong{font-size:22px;letter-spacing:-.04em;font-weight:650}#lm-startup>span:last-child{color:#625e58;font-size:12px}.lm-startup-mark{position:relative;display:grid;place-items:center;width:78px;height:78px;margin-bottom:6px}.lm-startup-mark img{display:block;width:48px;height:48px}.lm-startup-mark::after{content:'';position:absolute;inset:0;border:2px solid #e1d8cf;border-top-color:#171719;border-radius:50%;animation:lm-startup-spin 1.1s linear infinite}@keyframes lm-startup-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.lm-startup-mark::after{animation:none;border-color:#a5f252}}
.lm-dictation{display:flex;align-items:center;gap:7px;margin-top:4px;min-height:28px}.lm-dictation button{display:grid;place-items:center;width:28px!important;height:28px;min-height:28px!important;padding:5px!important;border:1px solid #d7dfd9;border-radius:8px;background:#fff;color:#364d3f}.lm-dictation button[aria-pressed=true]{background:#171719;color:#fff}.lm-dictation svg{width:16px;height:16px}.lm-dictation span{font-size:11px;color:#56655b}.lm-dictation button:disabled{opacity:.5;cursor:not-allowed}
html body.lm-admin-foundation .lm-app-sidebar .wa-global-nav>[data-shell-core]{display:flex!important;align-items:center;gap:10px}html body.lm-admin-foundation .lm-app-sidebar .experience-core-links{display:grid!important;gap:3px;margin-top:auto;border-top:1px solid #dce3df;padding-top:12px;background:transparent}html body.lm-admin-foundation .lm-app-sidebar>nav:not(.experience-rail){display:flex;flex-direction:column;min-height:0;flex:1;overflow:auto}.experience-core-links a{padding:9px 12px;font-size:12px;color:inherit;text-decoration:none}.wa-global-nav>[data-shell-core][hidden]{display:none!important}.wa-shell-section:empty{display:none}
html body.lm-admin-foundation .account-menu-trigger,html body.lm-admin-foundation .wa-account-menu,html body.lm-admin-foundation .account-menu-root{background:#fff!important}
html body.visual-builder-page .vb-panel{overflow:hidden;display:flex;flex-direction:column}.vb-panel>header{flex:0 0 auto}.vb-panel-body{min-height:0;flex:1;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin}.vb-panel .vb-layout-tools{flex-shrink:0}.vb-panel-sizer{width:10px!important;min-width:10px!important;padding:0!important;border:0!important;opacity:1;background:transparent!important}.vb-panel-sizer::after{content:'';position:absolute;top:45%;left:3px;height:44px;width:3px;border-radius:3px;background:#8b9e91}.vb-panel-toggle{margin-left:auto;width:28px;min-height:28px;border:1px solid #ccd7cf;border-radius:8px;background:#fff;color:#171719;cursor:pointer;padding:3px}.vb-panel.is-collapsed> :not(header){display:none!important}.vb-panel.is-collapsed>header{padding:10px 4px!important;display:flex;justify-content:center}.vb-panel.is-collapsed>header> :not(.vb-panel-toggle){display:none!important}.vb-panel.is-collapsed .vb-panel-toggle{margin:0}.vb-panel.is-collapsed{min-width:40px}
html body.lm-admin-foundation{--admin-bg:#f5f6f5;--admin-surface:#fff;--admin-ink:#222d29;--admin-muted:#64706a;--admin-border:#dce1de;--admin-accent:#171719;--st-accent:#171719;--st-bg:#f5f6f5;--st-text:#222d29;background:#f5f6f5;color:#222d29}
html body.lm-admin-foundation :is(.app-header,.st-topbar,.vb-topbar){background:#fff!important;color:#222d29!important;border-color:#dce1de!important;box-shadow:none!important;min-height:64px;gap:12px}
html body.lm-admin-foundation :is(.app-header h1,#studio-title){font-size:18px!important;line-height:1.3;letter-spacing:-.02em}
html body.lm-admin-foundation :is(.st-topbar .st-kicker,.app-header .eyebrow,.admin-public-link,.experience-history,.experience-local-title){display:none!important}
html body.lm-admin-foundation :is(.app-main,.st-shell,#studio-main){background:var(--ad-bg,#f5f6f5)!important}
html body.lm-admin-foundation .vb-canvas-wrap{background:#f5f6f5!important}
html body.lm-admin-foundation :is(.wa-app-group,.wa-app-children,.wa-app-destinations){border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body.lm-admin-foundation :is(.account-menu,.workspace-account-menu,.account-menu-trigger,.account-menu-summary,.workspace-account-menu>summary,.account-switcher,.sidebar-footer){background:#fff!important;color:#26332f!important}
html body.lm-admin-foundation :is(.st-button,.button,.ac-button,.pc-button,.vb-actions button,.vb-more-actions>summary){min-height:34px;border-radius:8px;border-color:#d4dcd7!important;background:#fff;color:#29362f;font-size:12px;line-height:1.3;padding:7px 12px;white-space:nowrap;box-shadow:none}
html body.lm-admin-foundation :is(.button.primary,.button-primary,.st-button.primary,.ac-button.primary,.vb-actions .vb-primary){background:#171719!important;border-color:#171719!important;color:#fff!important}
html body.lm-admin-foundation :is(.wa-card-icon,.cms-dashboard-icon,.st-tool-icon,.vb-panel-icon){background:#e4eae6!important;color:#30483b!important}
html body.lm-admin-foundation :is(.st-heading,.page-heading,.studio-platform-heading,.cms-heading,.ac-hero,.media-toolbar){display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap!important;min-width:0}
html body.lm-admin-foundation :is(.st-actions,#page-actions,.cms-heading>div:last-child,.ac-actions){display:flex;align-items:center;gap:7px;flex-wrap:nowrap!important;min-width:0;overflow:auto;padding:3px 0;scrollbar-width:thin}
html body.lm-admin-foundation :is(.st-heading h1,.page-heading h2,.studio-platform-heading h1,.cms-heading h1){font-size:22px!important;line-height:1.25;letter-spacing:-.025em}
html body.lm-admin-foundation :is(.st-table,.pc-data-table,.ac-table,.contact-table) :is(td,th){height:auto!important;padding:8px 10px!important;line-height:1.35!important;font-size:12px}
:where(html body.lm-admin-foundation) dialog{border:1px solid #d7ded9;border-radius:10px;box-shadow:0 24px 100px #15281c38;padding:0;max-height:88dvh;overflow:auto;scrollbar-width:thin;scrollbar-color:#b5beb8 transparent;background:#fff;color:#222d29}
:where(html body.lm-admin-foundation) dialog::backdrop{background:#17231c70;backdrop-filter:blur(4px)}
:where(html body.lm-admin-foundation dialog)>header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid #e1e6e2;padding:16px 20px;border-radius:10px 10px 0 0}
:where(html body.lm-admin-foundation dialog) :is(h1,h2){font-size:18px}html body.lm-admin-foundation :is(dialog,#SettingsContainer,#WidgetsContainer,.st-sidebar,.app-sidebar) *{scrollbar-width:thin;scrollbar-color:#bcc5bf transparent}
html body.lm-admin-foundation ::-webkit-scrollbar{width:7px;height:7px}html body.lm-admin-foundation ::-webkit-scrollbar-thumb{background:#b8c2bb;border-radius:8px}html body.lm-admin-foundation ::-webkit-scrollbar-track{background:transparent}
html body.lm-admin-foundation .wa-card-links summary{display:flex;gap:8px;align-items:center;justify-content:space-between;list-style:none;border-top:1px solid #0001;padding:10px 14px;cursor:pointer;font-size:12px}.wa-card-links summary::-webkit-details-marker{display:none}.wa-card-links summary::after{content:'⌄';font-size:16px;transition:transform .2s}.wa-card-links[open] summary::after{transform:rotate(180deg)}
html body.visual-builder-page :is(.vb-brand small,.vb-project-fields label span,.vb-site-chip){color:#52635a!important}html body.visual-builder-page .vb-project-fields input{background:#f7f9f7!important;border-color:#d5ded7!important;color:#25332b!important}
html body.visual-builder-page .vb-topbar{display:flex!important;flex-wrap:nowrap!important;padding:10px 14px;gap:12px;min-height:60px}html body.visual-builder-page .vb-brand{flex:0 0 auto}html body.visual-builder-page .vb-project-fields{flex:1;min-width:90px;max-width:430px}html body.visual-builder-page .vb-project-fields label>span{display:none}html body.visual-builder-page .vb-site-chip{display:none}html body.visual-builder-page .vb-actions{margin-left:auto;flex-wrap:nowrap;grid-column:auto}html body.visual-builder-page .vb-save-state{display:none}
html body.visual-builder-page .admin-shell-search-trigger{width:34px;min-width:34px;padding:8px}html body.visual-builder-page .admin-shell-search-trigger :is(span,kbd){display:none}
html body.visual-builder-page :is(.vb-panel-heading,.vb-email-envelope,.vb-browser-bar){background:#f7f9f7!important;border-color:#dce3dd!important;color:#25382d!important}html body.visual-builder-page :is(.vb-edge-handle,.vb-resize-handle){background:#314d3d!important}.vb-panel{position:relative;min-width:0}
.vb-panel-sizer{position:absolute;top:0;bottom:0;width:8px;background:transparent;border:0;z-index:20;cursor:col-resize;touch-action:none;padding:0}.vb-panel-sizer:hover,.vb-panel-sizer:focus{background:#314d3d44}.vb-panel--widgets .vb-panel-sizer{right:0}.vb-panel--settings .vb-panel-sizer{left:0}
html body.visual-builder-page .vb-editor{grid-template-columns:var(--vb-left,250px) minmax(0,1fr) var(--vb-right,300px)!important}
.vb-layout-tools{margin:12px;padding:14px;border:1px solid #dce3dd;border-radius:10px;background:#fff}.vb-layout-tools h3{font-size:13px;margin:0 0 10px}.vb-layout-tools label{display:grid;gap:4px;font-size:11px;margin:9px 0}.vb-layout-tools :is(input,select){width:100%;padding:6px;border:1px solid #cdd7cf;border-radius:5px}.vb-layout-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.vb-layout-presets button,.vb-layout-tools button{border:1px solid #d2dcd5;border-radius:5px;background:#f7f9f7;padding:6px;font-size:11px;color:#293e31;cursor:pointer}.vb-layout-tools img{max-width:100%;height:90px;object-fit:contain}.vb-layout-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.vb-layout-tools [role=status]{font-size:11px;line-height:1.5}.vb-design-chooser{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:40px}.vb-design-chooser a{padding:32px;background:#fff;border:1px solid #d7e0d9;border-radius:16px;color:#253b2d;text-decoration:none}.vb-design-chooser h2{font-size:24px}
@media(max-width:1000px){html body.visual-builder-page .vb-brand span{display:none}.vb-subject-field{display:none!important}html body.visual-builder-page .vb-actions{gap:4px}.vb-actions button{padding:7px!important}}
@media(max-width:800px){html body.visual-builder-page .vb-editor{grid-template-columns:1fr!important}.vb-panel-sizer{display:none}.vb-design-chooser{grid-template-columns:1fr;padding:18px}.vb-history-actions{display:none!important}html body.visual-builder-page .vb-actions .admin-shell-search-trigger{display:none}html body.visual-builder-page .vb-topbar{gap:6px;padding:8px}.vb-brand{display:none!important}.vb-project-fields{max-width:130px!important}.vb-actions button,.vb-more-actions>summary{font-size:11px!important;padding:7px!important}.st-heading>div:first-child{min-width:130px}}


/* ===== studio-layout ===== */
/* Final shared layout layer; intentionally scoped away from AR Workspace. */
html:has(body.studio-layout){scrollbar-gutter:auto}
html body.studio-layout [hidden]{display:none!important}
.studio-report-options{margin:0 0 12px;font-size:12px}.studio-report-options>summary{padding:8px 0;cursor:pointer;color:#48604d}.studio-report-options .workspace-report-toolbar{margin-top:8px!important}
html body.studio-layout .sc-filter{display:flex!important;align-items:center;gap:8px;margin:8px 0}.sc-filter input{width:16px!important;margin:0}
html body.studio-layout .sc-layout{margin-top:0!important}.sc-intro[hidden]{display:none!important}
html body.studio-layout .ac-dialog{width:min(1100px,96vw)!important;max-width:1100px!important}
html body.studio-layout .ac-dialog-content{padding:18px!important}.ac-draft-note{font-size:13px;color:#5c6e61;margin-top:0}.ac-quick-intro{padding:12px!important;background:#edf2ee;border-radius:8px;gap:14px}
html body.studio-layout .ac-lines{table-layout:fixed;width:100%}.ac-lines th:first-child{width:34%}.ac-lines th:last-child{width:42px}.ac-lines textarea{min-height:64px}.ac-lines :is(input,select,textarea){box-sizing:border-box;max-width:100%;width:100%}
html body.studio-layout #ac-totals{display:flex;justify-content:flex-end;gap:28px;padding:16px;background:#f0f4ef;border-radius:8px;margin:14px 0}
html body.studio-layout .ac-form-footer{position:sticky;bottom:0;background:#fff;padding:12px 0;border-top:1px solid #dae2dc}
html body.studio-layout :is(.app-main,.st-shell){min-width:0;max-width:none;width:auto}
html body.studio-layout .app-main{padding:0 20px 24px!important}
html body.studio-layout :is(.app-header,.st-topbar){width:auto!important;max-width:none!important;min-height:56px!important;padding:8px 20px!important;gap:12px;overflow:visible!important}
html body.studio-layout .app-header{margin:0 -20px 12px!important}
html body.studio-layout :is(.header-actions,.st-top-actions){min-width:0!important;flex:0 1 auto!important;gap:8px!important}
html body.studio-layout :is(.app-title-context,.admin-header-context){min-width:0;flex:1}
html body.studio-layout .workspace-switcher select{width:clamp(100px,13vw,200px);max-width:100%}
html body.studio-layout :is(.admin-foundation-kicker,.st-topbar .st-kicker){display:none!important}
html body.studio-layout :is(.workspace-tools,.st-content,.cms-content,.wa-launcher,#experience-page){max-width:none!important;width:100%;margin-top:0!important;padding-top:0!important;box-sizing:border-box}
html body.studio-layout #studio-main{padding:12px 20px 24px!important}
html body.studio-layout .st-content{padding:0!important}
html body.studio-layout :is(.studio-page-heading,.page-heading,.st-heading,.ac-hero,.acl-page-heading){display:flex;align-items:center;gap:14px;padding:0!important;min-height:42px;margin:0 0 12px!important;border:0;background:transparent!important}
html body.studio-layout .studio-page-heading>div:first-of-type{flex:1;min-width:0}
html body.studio-layout :is(.studio-page-heading h1,.studio-page-heading h2,.studio-page-heading h3){margin:0!important;font-size:19px!important}
html body.studio-layout :is(.studio-page-heading .st-kicker,.studio-page-heading>div>p){display:none}
html body.studio-layout :is(.app-content-back,.studio-page-back){display:inline-flex;align-items:center;flex:none;margin:0!important;padding:7px 10px!important;min-height:32px;font-size:12px;border:1px solid #d7ded9;border-radius:6px;color:#344b3d;text-decoration:none;white-space:nowrap}
html body.studio-layout .app-content-back{margin-bottom:10px!important}
html body.studio-layout .studio-page-heading .app-content-back{margin-bottom:0!important}
html body.studio-layout :is(.workspace-report-toolbar,.contact-toolbar,.template-filters){margin:0 0 12px!important;padding:10px!important;gap:10px}
html body.studio-layout .studio-banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:170px;padding:26px 32px;margin:0 0 18px;background:#e3ecde;border:1px solid #cfdcc8;border-radius:12px;color:#253d2f;box-sizing:border-box}
.studio-banner>div{position:relative;z-index:1;max-width:75%}.studio-banner span{font-size:10px;font-weight:700;letter-spacing:.14em}.studio-banner h2{font-size:clamp(25px,2.6vw,38px);line-height:1.15;letter-spacing:-.035em;margin:9px 0}.studio-banner p{font-size:13px;line-height:1.6;margin:0;max-width:620px}.studio-banner::after{content:'';position:absolute;width:260px;height:260px;border:36px double currentColor;border-radius:50%;right:-55px;top:-70px;opacity:.09;pointer-events:none}
html body.studio-layout .studio-banner[data-tone=accounting]{background:#f4e7cf;border-color:#e5d4b8;color:#584125}.studio-banner[data-tone=website]{background:#e0e9ed!important;color:#293f50!important}.studio-banner[data-tone=email]{background:#f2e0dd!important;color:#603c38!important}.studio-banner[data-tone=form]{background:#eae5f1!important;color:#483c60!important}.studio-banner[data-tone=automation]{background:#dceae7!important;color:#254942!important}.studio-banner[data-tone=content]{background:#f3e7da!important;color:#614630!important}.studio-banner[data-tone=projects]{background:#e6e8d7!important;color:#464d28!important}
html body.studio-layout :is(.wa-card-grid,.wa-core-grid){grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:14px}
html body.studio-layout .wa-card{min-height:155px!important;border-radius:10px!important;border:1px solid #00000014;box-shadow:none}
html body.studio-layout .wa-card-main{padding:22px!important;align-items:flex-start}.wa-card-main small{line-height:1.55}
html body.studio-layout .wa-group{margin:0 0 22px}.wa-group>h3{margin:0 0 12px}
html body.studio-layout #pipeline-app .pipeline-board{height:auto!important;max-height:none!important;min-height:60vh;overflow:visible!important;grid-auto-flow:row!important;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important;grid-auto-columns:auto!important;align-items:stretch;gap:10px;background:transparent!important}
html body.studio-layout #pipeline-app .pipeline-column{min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important}
html body.studio-layout #pipeline-app .pipeline-column>header{position:static!important}
html body.studio-layout .pipeline-scroll-top{display:none!important}
html body.studio-layout .pipeline-card{overflow-wrap:anywhere}.pipeline-card h3{line-height:1.4}
html body.studio-layout .cms-breadcrumb{display:none}
html body.studio-layout .cms-dashboard-card{padding:18px;border:1px solid #dce3dd;border-radius:10px;background:#fff;margin-bottom:14px}
html body.studio-layout.cms-reference-mode[data-studio-mode] #studio-main{background:var(--ad-bg,#f5f6f5)!important}
html body.studio-layout.cms-reference-mode[data-studio-mode] .st-sidebar.lm-app-sidebar{width:var(--af-sidebar,252px)!important;background:var(--wa-sidebar,#f0f3f1)!important}
html body.studio-layout.cms-reference-mode[data-studio-mode] .st-shell{margin-left:var(--af-sidebar,252px)!important}
html body.studio-layout.cms-reference-mode[data-studio-mode] .st-button.primary{background:#171719!important;border-color:#171719!important;color:#fff!important}
html body.studio-layout.cms-reference-mode[data-studio-mode] .st-sidebar nav :is(a,button)[aria-current=page]{background:var(--wa-sidebar-active,#dce5df)!important;box-shadow:inset 3px 0 #345d47!important}
html body.studio-layout .cms-site-summary{background:#edf2ee;border:1px solid #d6dfd8;border-radius:10px;padding:16px;margin-bottom:16px}
html body.studio-layout .cms-site-summary .st-button{padding:7px 12px;text-decoration:none;font:inherit;font-size:12px}
html body.studio-layout #page-actions [data-sc]{border:1px solid #d4dcd7;border-radius:8px;background:#fff;color:#29362f;font:inherit;font-size:12px;min-height:34px;padding:7px 12px;white-space:nowrap}
html body.studio-layout #page-actions .sc-primary{background:#171719;color:#fff}
@media(min-width:881px){html body.studio-layout.cms-reference-mode.st-compact[data-studio-mode] .st-sidebar.lm-app-sidebar{width:76px!important}html body.studio-layout.cms-reference-mode.st-compact[data-studio-mode] .st-shell{margin-left:76px!important}}
@media(max-width:880px){html body.studio-layout.cms-reference-mode[data-studio-mode] .st-shell{margin-left:0!important}html body.studio-layout.cms-reference-mode[data-studio-mode] .st-sidebar.lm-app-sidebar{width:min(282px,calc(100vw - 36px))!important}}
html body.studio-layout .cms-page-rule{margin:0;padding:8px 16px;display:flex;gap:12px}.cms-page-rule span{font-size:12px}
html body.studio-layout.studio-page-editor #studio-main{padding:10px 0 0!important}
html body.studio-layout.studio-page-editor .st-heading{padding:0 14px!important}
html body.studio-layout .cms-page-workspace{grid-template-columns:220px minmax(0,1fr) 240px!important;gap:0!important;border-radius:0}
html body.studio-layout .cms-page-stage{padding:8px!important;min-width:0}
html body.studio-layout .cms-page-toolbar{padding:8px 14px;margin:0}
html body.studio-layout .studio-page-heading>.cms-page-toolbar{padding:0;border:0;gap:8px;flex:none;background:transparent;min-width:0}
html body.studio-layout .studio-page-heading #cms-page-save-state{display:none}
.cms-page-help{font-size:11px;margin-top:12px}.cms-page-help summary{cursor:pointer;font-weight:600;line-height:1.5}
html body.studio-layout .cms-page-help .cms-page-rule{display:block;padding:10px;margin-top:8px}
.cms-page-help .cms-page-rule>*{display:block!important;margin:5px 0;font-size:11px!important;line-height:1.6}
@media(max-width:1200px){html body.studio-layout .studio-page-heading:has(.cms-page-toolbar){flex-wrap:wrap!important}html body.studio-layout .studio-page-heading>.cms-page-toolbar{flex:1 1 100%;justify-content:space-between}}
html body.studio-layout .cms-page-inspector,html body.studio-layout .cms-page-regions{padding:14px!important}
.cms-seo-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,1fr);gap:24px}.cms-seo-preview{background:#fff;padding:24px;border:1px solid #dce3dd;border-radius:10px;align-self:start}.cms-seo-preview h3{color:#244b9b;font-size:21px;overflow-wrap:anywhere}.cms-seo-preview p{line-height:1.6;overflow-wrap:anywhere}.cms-global-help{background:#eaf0e7;border:1px solid #d5dfce;padding:18px;border-radius:10px;margin-bottom:18px}.cms-global-help p{max-width:900px;line-height:1.6;font-size:13px}
.cms-full-preview{width:96vw;max-width:1600px!important}.cms-full-preview iframe{width:100%;height:78vh;border:0;background:#fff}
@media(max-width:1100px){html body.studio-layout .admin-role-chip{display:none!important}html body.studio-layout .cms-page-workspace{grid-template-columns:180px minmax(0,1fr)!important}.cms-page-inspector{grid-column:1/-1}html body.studio-layout #pipeline-app .pipeline-board{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))!important}}
@media(max-width:760px){html body.studio-layout .app-main{padding:0 12px 18px!important}html body.studio-layout .app-header{margin:0 -12px 10px!important;padding:8px 12px!important;flex-wrap:wrap}html body.studio-layout .header-actions{flex-wrap:wrap!important;max-width:100%}.studio-page-heading{flex-wrap:wrap!important}html body.studio-layout .studio-page-heading{flex-wrap:wrap!important;gap:8px}.studio-page-heading>div:last-child{max-width:100%}.studio-banner>div{max-width:100%}html body.studio-layout .studio-banner{padding:22px;min-height:150px}.studio-banner::after{opacity:.04}html body.studio-layout #studio-main{padding:10px 12px!important}html body.studio-layout .cms-page-workspace{grid-template-columns:1fr!important}.cms-page-regions{max-height:none!important}.cms-seo-layout{grid-template-columns:1fr}html body.studio-layout #pipeline-app .pipeline-board{grid-template-columns:1fr!important}.cms-page-rule span{display:none}}

html body.studio-layout .pipeline-column{background:#fff;border-radius:8px;border:1px solid #d6dfd6!important}
html body.studio-layout .pipeline-toolbar{position:relative;gap:10px}
html body.studio-layout .pipeline-toolbar .studio-report-options{flex:none;margin:0}
.pipeline-toolbar .studio-report-options>summary{border:1px solid #d7dfd9;background:#fff;border-radius:6px;padding:8px;white-space:nowrap}
.pipeline-toolbar .studio-report-options[open] .workspace-report-toolbar{position:absolute;right:0;top:100%;width:min(800px,100%);z-index:10;box-shadow:0 12px 30px #233b2926;background:#fff!important}
html body.studio-layout .pipeline-toolbar>div:first-of-type{display:flex;gap:8px;flex:1;min-width:0}
html body.studio-layout .pipeline-toolbar label{min-width:0;flex:1}
@media(max-width:760px){html body.studio-layout .pipeline-toolbar>div:first-of-type{flex-basis:100%}.pipeline-toolbar .studio-report-options[open] .workspace-report-toolbar{position:static;width:100%}}


/* ===== workspace-refinements ===== */
/* Shared workspace refinements, loaded after the canonical theme. */
html body.studio-layout :is(.wa-card-grid,.wa-core-grid){grid-template-columns:repeat(4,minmax(0,1fr))!important;justify-content:start}
html body .wa-app-switch{position:absolute!important;top:14px!important;right:14px!important;width:38px!important;min-width:38px!important;height:22px!important;min-height:22px!important;padding:2px!important;border-radius:999px!important;transition:background .18s,box-shadow .18s!important;transform:none!important;box-sizing:border-box}
html body .wa-app-switch:hover{box-shadow:0 3px 10px #203d3b30!important;transform:none!important}
html body .wa-app-switch:focus-visible{outline:3px solid #557dba;outline-offset:3px}
html body .wa-app-switch span{width:16px!important;height:16px!important;top:2px!important;left:2px!important;transition:transform .18s!important}
html body .wa-app-switch[aria-checked=true] span{transform:translateX(16px)!important}
.wa-card:has(.wa-app-switch) .wa-card-main{padding-right:60px!important}
html body .lm-voice-field{position:relative;display:block;width:100%;min-width:0}
html body .lm-voice-field textarea{padding-bottom:48px!important;margin-bottom:0!important;display:block;width:100%;box-sizing:border-box}
html body .lm-voice-input input{padding-right:50px!important;width:100%;box-sizing:border-box}
html body .lm-voice-field .lm-dictation{position:absolute;right:8px;bottom:8px;margin:0;padding:0;display:flex;align-items:center;gap:6px;pointer-events:none}
html body .lm-voice-input .lm-dictation{top:50%;bottom:auto;transform:translateY(-50%)}
html body .lm-dictation button{pointer-events:auto;width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;padding:7px!important;border:1px solid #b7c6ec!important;border-radius:9px!important;background:linear-gradient(135deg,#d7e8ff,#f6ddec)!important;color:#274a72!important;box-shadow:0 2px 5px #36517118;transition:box-shadow .18s,transform .18s}
html body .lm-dictation button:hover{box-shadow:0 3px 9px #36517140;transform:translateY(-1px)}
html body .lm-dictation button[aria-pressed=true]{background:#314f92!important;color:white!important;outline:3px solid #d7e8ff}
html body .lm-dictation span{position:absolute;right:40px;bottom:0;max-width:230px;padding:4px 7px;background:#fff;border-radius:5px;font-size:11px;color:#43535e;pointer-events:none}
html body .lm-dictation span:empty{display:none}
html body.studio-layout .sc-layout{display:block!important}
html body.studio-layout .sc-options{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;margin-bottom:12px;border:1px solid #dbe2dc;background:#fff;border-radius:9px}
.sc-options h3{font-size:11px;margin:0 5px;text-transform:uppercase;letter-spacing:.04em}.sc-options h3:nth-of-type(2){border-left:1px solid #dbe2dc;padding-left:12px}
.sc-options>button{font:inherit;font-size:12px;border:1px solid #d9e1da;background:#fff;border-radius:6px;padding:6px 9px;color:#334c3d}.sc-options>button[aria-pressed=true]{background:#e6eee4;border-color:#bccfba}
html body.studio-layout .sc-options .sc-filter{margin:0!important;font-size:11px!important;gap:5px}
.sc-options .sc-connections{flex-basis:100%;display:flex;align-items:center;gap:8px;border-top:1px solid #edf0ed;padding-top:7px;margin-top:2px}.sc-options .sc-connections :is(strong,p,small){display:none}
.sc-options .sc-connections button{font:inherit;font-size:11px;background:transparent;border:0;color:#42604c;cursor:pointer;padding:4px 6px}
html body.studio-layout .sc-calendar{width:100%;min-width:0}.sc-days{min-height:65vh}
html body.studio-layout .pc-hub{margin:0!important;padding:0!important;max-width:none}
html body.studio-layout .pc-heading{margin:0 0 12px!important;padding:0!important;min-height:42px;display:flex;align-items:center;gap:12px}
html body.studio-layout .pc-kicker{display:none}.pc-page-actions{display:flex;gap:8px;align-items:center}
html body.studio-files-page .workspace-files{margin:0 -20px -24px!important;width:calc(100% + 40px)!important;border-radius:0!important;max-width:none!important}
html body.studio-files-page .asset-layout{margin:0!important;min-height:calc(100vh - 150px);border-radius:0!important}.asset-preview{width:100%;max-height:50vh;object-fit:contain;border:1px solid #e0e5df;border-radius:8px;background:#f6f8f5;margin:12px 0}.asset-preview-text{white-space:pre-wrap;max-height:40vh;overflow:auto;font-size:12px;padding:14px}
html body :is(.pc-dialog,.asset-dialog,#editor-dialog,.lm-ui-dialog){font-family:inherit;border:1px solid #d7dfd7;border-radius:14px;box-shadow:0 24px 100px #17281f40;padding:24px;max-height:90vh}
html body :is(.pc-dialog,.asset-dialog,#editor-dialog,.lm-ui-dialog)::backdrop{background:#15271f66;backdrop-filter:blur(3px)}
html body :is(.pc-dialog,.asset-dialog,#editor-dialog) h2{font-size:21px;letter-spacing:-.025em;margin:0 0 12px}
html body #editor-dialog .form-stack{gap:16px}.dialog-subtitle{line-height:1.6;max-width:65ch}.form-actions{border-top:1px solid #e3e8e2;padding-top:16px;margin-top:12px}
.ai-release-banner{display:flex;align-items:center;justify-content:space-between;background:#e7eee4;border:1px solid #d2dfcd;border-radius:12px;overflow:hidden;margin:0 0 18px;min-height:160px}.ai-release-banner>div{padding:22px 28px;max-width:65%;z-index:1}.ai-release-banner h2{font-size:26px;margin:8px 0}.ai-release-banner p{font-size:13px;line-height:1.5;margin:0}.ai-release-banner small{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.ai-release-banner img{width:34%;max-height:210px;object-fit:cover;align-self:stretch}.ai-release-banner .release-pill{display:inline-block;padding:4px 8px;border:1px solid #b6cab0;border-radius:50px;font-size:10px;margin-bottom:6px;background:#f5f8f2}
.admin-arrange-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:12px 0;font-size:12px}.admin-arrange-actions{display:flex;gap:4px;padding:0 0 8px}.admin-arrange-actions button{font:inherit;font-size:11px;background:white;border:1px solid #cfdbcf;border-radius:5px;padding:5px 8px;cursor:pointer}.admin-move-item{min-width:0}.admin-move-item>.experience-card{height:100%;box-sizing:border-box}.is-arranging .admin-move-item>.experience-card{height:calc(100% - 37px)}.is-arranging .admin-move-item{outline:1px dashed #92aa92;outline-offset:3px;cursor:grab}.admin-move-item.dragging{opacity:.5}
.integration-brand{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#edf2f7;color:#335c80}.integration-brand svg{width:26px;height:26px}.integration-brand[data-brand=whatsapp]{background:#e4f6e9;color:#168848}.integration-brand[data-brand=twilio]{background:#fde9ed;color:#ed3153}.integration-brand[data-brand=facebook]{color:#1877f2;background:#e9f1ff}.integration-brand[data-brand=linkedin]{color:#0a66c2;background:#e6f0fc}.integration-brand[data-brand=youtube]{color:#f03;background:#ffe9ee}.integration-brand[data-brand=twitter]{background:#edf0f2;color:#15191c}
.integration-help{background:#f1f5ef;border:1px solid #d7e1d3;border-radius:9px;padding:14px;font-size:13px;line-height:1.6}.integration-help ol{padding-left:20px}.integration-help code{display:block;overflow-wrap:anywhere;font-size:12px}.integration-help a{color:#356349}
.workspace-mini-menu{position:relative}.workspace-mini-menu summary{cursor:pointer;font-size:12px;border:1px solid #d6dfd6;background:#fff;border-radius:7px;padding:8px 12px}.workspace-mini-menu[open]>div{position:absolute;right:0;z-index:20;min-width:180px;padding:6px;background:#fff;border:1px solid #d6dfd6;border-radius:8px;box-shadow:0 8px 25px #24372820}.workspace-mini-menu a{display:block;padding:9px;font-size:12px;text-decoration:none;color:#334a3c}
@media(max-width:1150px){html body.studio-layout :is(.wa-card-grid,.wa-core-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){html body.studio-layout :is(.wa-card-grid,.wa-core-grid){grid-template-columns:1fr!important}.ai-release-banner>div{padding:18px;max-width:67%}.ai-release-banner h2{font-size:20px}.ai-release-banner img{width:30%}.sc-options{gap:6px}.sc-options h3:nth-of-type(2){flex-basis:100%;border:0;padding:4px 0}html body.studio-files-page .workspace-files{margin-left:-12px!important;margin-right:-12px!important;width:calc(100% + 24px)!important}}
@media(prefers-reduced-motion:reduce){html body .wa-app-switch,html body .wa-app-switch span,html body .lm-dictation button{transition:none!important}}

html body.studio-layout .studio-banner.workspace-with-ai{padding-right:35%;min-height:205px}.workspace-with-ai>div{max-width:100%}.workspace-with-ai:after{display:none}.workspace-ai-art{position:absolute;right:0;top:0;bottom:0;width:34%;color:#284137;text-decoration:none}.workspace-ai-art img{width:100%;height:100%;object-fit:cover}.workspace-ai-art>span{position:absolute;left:12px;right:12px;bottom:12px;display:flex;flex-direction:column;gap:5px;background:#f5f9f0e8;border:1px solid #d3dece;border-radius:7px;padding:10px;letter-spacing:0;font-size:12px}.workspace-ai-art small{font-size:10px;font-weight:400}.settings-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px;border-bottom:1px solid #dce4da;padding-bottom:12px}.settings-shortcuts a{font-size:12px;text-decoration:none;color:#344f3d;background:white;border:1px solid #dce4da;border-radius:6px;padding:8px 12px}html body.studio-layout .wa-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:10px}
@media(max-width:600px){html body.studio-layout .studio-banner.workspace-with-ai{padding:18px;display:block}.workspace-ai-art{position:relative;display:block;width:100%;height:125px;margin-top:14px}.workspace-ai-art img{object-position:right center}}

.import-intro{padding:24px 28px;background:#e7eee2;border:1px solid #d4dfcd;border-radius:12px;margin-bottom:18px}.import-intro>span{font-size:10px;letter-spacing:.12em;font-weight:700}.import-intro h2{font-size:28px;margin:8px 0}.import-intro p{font-size:13px;line-height:1.6;max-width:700px;margin:0}.import-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:18px}.import-panel{background:white;border:1px solid #dce3d8;border-radius:10px;padding:20px;margin-bottom:18px;min-width:0}.import-panel h2{font-size:17px;margin:0 0 10px}.import-panel p,.import-panel small{font-size:12px;line-height:1.6;color:#59685c}.import-panel form{display:grid;gap:14px}.import-panel label{display:grid;gap:7px;font-size:12px;font-weight:600}.import-panel select,.import-panel input{box-sizing:border-box;width:100%;min-width:0;padding:9px;border:1px solid #ccd6c9;border-radius:6px;font:inherit}.import-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}.import-file-row{display:flex;gap:12px;align-items:end}.import-file-row label{flex:1;min-width:0}.import-destination{display:block;padding:13px 0;border-bottom:1px solid #e6ebe4;color:#314935;text-decoration:none}.import-destination strong,.import-destination span{display:block}.import-destination strong{font-size:13px}.import-destination span{font-size:11px;color:#647265;line-height:1.5;margin-top:5px}#import-output:not(:empty){border-top:1px solid #dce3d8;padding-top:20px;margin-top:20px}.import-preview details{border:1px solid #dce3d8;border-radius:6px;margin:8px 0;padding:10px}.import-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.import-table{overflow:auto}.import-table table{width:100%;text-align:left;border-collapse:collapse;font-size:12px}.import-table :is(th,td){padding:9px;border-bottom:1px solid #e4eae1}
@media(max-width:800px){.import-layout{grid-template-columns:1fr}.import-file-row{align-items:stretch;flex-direction:column}.import-map-grid{grid-template-columns:1fr}}

html body.studio-layout .sc-options .sc-connections{flex-basis:auto;margin:0 0 0 auto;padding:0;border:0;gap:6px}html body.studio-layout .sc-options .sc-connections button{width:auto;margin:0;padding:6px;font-size:11px}.sc-source-options{position:relative;font-size:12px}.sc-source-options summary{cursor:pointer;padding:8px 10px;border:1px solid #dce3d8;border-radius:6px}.sc-source-options[open]>div{position:absolute;right:0;top:100%;z-index:12;background:white;border:1px solid #dce3d8;border-radius:8px;padding:12px;min-width:190px;box-shadow:0 8px 25px #18351e20}html body.studio-layout .sc-source-options .sc-filter{padding:8px 0!important;white-space:nowrap}html body.studio-layout .sc-options{border:0;border-bottom:1px solid #dce3d8;border-radius:0;margin-bottom:0}.sc-options>h3{display:none}html body.studio-layout .sc-toolbar{padding:10px 12px}.sc-source-options .sc-filter input{height:15px!important;width:15px!important}
@media(min-width:601px) and (max-width:760px){html body.studio-files-page .workspace-files{margin-left:-12px!important;margin-right:-12px!important;width:calc(100% + 24px)!important}}


/* ===== admin-reference-v6 ===== */
/* Adapted from development/reference-resources/lead-studio/admin-design-system-v6.html.
   Data surfaces and form containers are shared; editor canvases retain their own styles. */
body.studio-layout{--v6-bg:#f6f7f4;--v6-soft:#fafbf8;--v6-line:#dfe4db;--v6-line-strong:#c9d0c5;--v6-muted:#687066;--v6-ink:#30352e;--v6-selected:#eef9e7}
html body.studio-layout .app-main{background:var(--v6-bg)!important}
html body.studio-layout :is(.pc-table-wrap,.contact-table-wrap,.cms-table-wrap,.table-wrap,.import-table){border:1px solid var(--v6-line)!important;border-radius:10px!important;background:white;box-shadow:0 1px 2px #0f120d05;overflow-x:auto;max-width:100%}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table){width:100%;border-collapse:separate!important;border-spacing:0!important;font-size:12px!important;color:var(--v6-ink)}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table) :is(th,td){height:46px;padding:9px 13px!important;vertical-align:middle;border:0;border-bottom:1px solid var(--v6-line)!important;box-sizing:border-box;line-height:1.45}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table) th{height:38px;font-size:10px!important;font-weight:650!important;letter-spacing:.055em;text-transform:uppercase;background:var(--v6-soft)!important;color:var(--v6-muted)!important;text-align:left;white-space:nowrap}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table) tbody tr{background:#fff;transition:background .12s}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table) tbody tr:hover{background:#f5faef!important}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table) tbody tr:has(input[type=checkbox]:checked){background:var(--v6-selected)!important}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-table table,.table-wrap table) tbody tr:last-child td{border-bottom:0!important}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.table-wrap table) td>small{display:block;font-size:11px;color:var(--v6-muted);margin-top:2px}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.table-wrap table) td:has(input[type=checkbox]){width:38px;text-align:center}
html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.table-wrap table) :is(td,th) input[type=checkbox]{width:15px!important;height:15px!important;accent-color:#315c40}
html body.studio-layout :is(.pc-status,.lm-state,.experience-badge,.status-badge){display:inline-flex;align-items:center;gap:5px;border-radius:999px!important;padding:3px 8px!important;font-size:10px!important;font-weight:600;line-height:1.5;border:1px solid #dbe3d7;background:#f3f6ef;color:#53614c;white-space:nowrap}
html body.studio-layout :is(.lm-state.success,.status-good,[data-status=active],[data-status=published],[data-status=configured]){background:#eaf7f0!important;color:#18764d!important;border-color:#c1e3cf!important}
html body.studio-layout :is(.lm-state.info,.status-neutral){background:#edf3ff!important;color:#3d64a5!important;border-color:#d2def5!important}
html body.studio-layout :is(.lm-state.danger,.status-danger,[data-status=failed]){background:#fff0f0!important;color:#b84046!important;border-color:#f0cecf!important}
html body.studio-layout :is(.status-warn,[data-status=draft],[data-status=pending]){background:#fff6e7!important;color:#92641a!important;border-color:#efd9b7!important}
html body.studio-layout :is(.pc-list-toolbar,.contact-toolbar,.contact-bulk,.template-filters){background:white!important;border:1px solid var(--v6-line)!important;border-radius:9px!important;padding:10px 12px!important;min-height:48px;display:flex;align-items:center;gap:8px}
html body.studio-layout .pc-list-toolbar input{max-width:360px;margin-right:0!important}.pc-list-toolbar>span{margin-left:auto}
html body.studio-layout :is(.pc-row-actions,.row-actions){gap:6px;align-items:center;justify-content:flex-end}
html body.studio-layout :is(.pc-panel,.panel,.experience-panel,.cms-panel,.import-panel){border:1px solid var(--v6-line)!important;border-radius:12px!important;background:white;box-shadow:0 1px 2px #0f120d04}
html body.studio-layout :is(.panel-heading,.experience-panel-heading){padding:14px 18px!important;border-bottom:1px solid var(--v6-line);background:var(--v6-soft);border-radius:11px 11px 0 0}
html body.studio-layout :is(.panel-heading,.experience-panel-heading) h2{font-size:15px!important;font-weight:650;margin:0;letter-spacing:-.015em}
html body.studio-layout :is(.panel-content,.dialog-content){padding:18px!important}
html body.studio-layout :is(.form-stack,.pc-dialog form,.asset-dialog form){gap:16px}
html body.studio-layout :is(.form-stack,.pc-dialog form,.asset-dialog form) label{font-size:12px;font-weight:600;line-height:1.45;color:var(--v6-ink)}
html body.studio-layout :is(.form-stack,.pc-dialog form,.asset-dialog form) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){font-family:inherit!important;font-size:13px!important;color:var(--v6-ink);border:1px solid var(--v6-line-strong)!important;border-radius:7px!important;background:#fff!important;box-shadow:0 1px 2px #0f120d03;min-height:40px;padding:9px 11px;box-sizing:border-box}
html body.studio-layout :is(.form-stack,.pc-dialog form,.asset-dialog form) :is(input,select,textarea):focus{outline:2px solid #a5c698!important;outline-offset:1px;border-color:#618d56!important}
html body.studio-layout :is(.form-stack,.pc-dialog form,.asset-dialog form) :is(small,.muted){font-size:11px;font-weight:400;color:var(--v6-muted);line-height:1.55}
html body.studio-layout :is(.form-stack,.pc-dialog form) fieldset{border:1px solid var(--v6-line);border-radius:9px;background:var(--v6-soft);padding:16px;margin:0;min-width:0}
html body.studio-layout fieldset legend{font-size:12px;font-weight:650;padding:0 6px;color:#3a4f34}
html body.studio-layout :is(.button,.st-button,.pc-button,.pc-row-actions button,.pc-page-actions button,.pc-heading>button,.pc-list-toolbar button){font-family:inherit!important;font-size:12px!important;font-weight:600!important;line-height:1.4!important;min-height:34px;border-radius:7px!important;padding:8px 12px!important;text-decoration:none;box-shadow:0 1px 2px #0f120d06;transition:background .15s,border-color .15s,box-shadow .15s;cursor:pointer}
html body.studio-layout :is(.button.secondary,.button-secondary,.st-button:not(.primary),.pc-button,.pc-row-actions button,.pc-list-toolbar button){background:#fff!important;color:#354631!important;border:1px solid #cbd5c6!important}
html body.studio-layout :is(.button.primary,.button-primary,.st-button.primary,.pc-page-actions>[data-pc-new],.pc-heading>[data-pc-new]){background:#294b38!important;border:1px solid #294b38!important;color:#fff!important}
html body.studio-layout :is(.button,.st-button,.pc-button,.pc-row-actions button,.pc-page-actions button):hover:not(:disabled){box-shadow:0 3px 9px #213b2920;border-color:#91a489!important;filter:brightness(.98);transform:none!important}
html body.studio-layout :is(.button,.st-button,.pc-button,.pc-row-actions button,.pc-page-actions button):focus-visible{outline:3px solid #a5c698!important;outline-offset:2px}
html body.studio-layout :is(button,a.button):disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
html body.studio-layout .pc-row-actions button[data-row-delete]{color:#a43840!important;background:#fff!important;border-color:#ebd7d7!important}
html body.studio-layout .pipeline-column{background:var(--v6-soft)!important;border:1px solid var(--v6-line)!important;border-radius:11px!important;padding:8px!important}
html body.studio-layout .pipeline-column>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 4px 10px!important;border:0;font-size:11px!important;text-transform:uppercase;letter-spacing:.05em}
.pipeline-stage-summary{text-align:right;font-size:10px;font-weight:500;color:var(--v6-muted);letter-spacing:0;text-transform:none}.pipeline-stage-summary b{font-weight:650}
html body.studio-layout .pipeline-card{background:#fff!important;border:1px solid var(--v6-line)!important;border-radius:9px!important;padding:13px!important;box-shadow:0 1px 2px #0f120d06;margin:8px 0!important;transition:border-color .15s,box-shadow .15s}
html body.studio-layout .pipeline-card:hover{border-color:#adb7aa!important;box-shadow:0 4px 12px #0f120d0d}
html body.studio-layout .pipeline-card h3{font-size:13px!important;line-height:1.45;letter-spacing:-.01em;margin:9px 0 4px!important}.pipeline-card>p{font-size:11px!important;color:var(--v6-muted)!important;margin:0 0 14px!important}
html body.studio-layout .pipeline-card footer{font-size:10px!important;gap:8px}.pipeline-card footer strong{font-size:13px!important;font-variant-numeric:tabular-nums}.pipeline-card footer span{color:var(--v6-muted)}
html body.studio-layout .pipeline-card>[data-pipe-action=edit]{background:transparent!important;border:0!important;border-top:1px solid #eef1e9!important;border-radius:0!important;margin-top:10px;padding:8px 0 0!important;font-size:11px;color:#406137!important;min-height:28px}
.pipeline-score{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:12px;font-size:10px;color:#66705f}.pipeline-score b{font-weight:600;color:#405436}.pipeline-score progress{grid-column:1/-1;width:100%;height:4px;accent-color:#73a74a;border:0;border-radius:5px;overflow:hidden}.pipeline-score progress::-webkit-progress-bar{background:#edf1e9}.pipeline-score progress::-webkit-progress-value{background:#73a74a;border-radius:5px}.pipeline-score progress::-moz-progress-bar{background:#73a74a}
.pipeline-view-options{display:inline-flex;background:#f0f3ed;border:1px solid #dce2d6;border-radius:7px;padding:3px;gap:2px}.pipeline-view-options button{border:0;background:transparent;color:#65705e;font:600 11px inherit;padding:6px 10px;border-radius:5px;cursor:pointer}.pipeline-view-options button[aria-pressed=true]{background:white;color:#293d23;box-shadow:0 1px 3px #15201015}
.pipeline-table-summary{padding:10px 13px;background:#fafbf8;border-top:1px solid #dfe4db;font-size:11px;color:#687066}
@media(prefers-reduced-motion:reduce){html body.studio-layout :is(.button,.st-button,.pipeline-card){transition:none}}

html body.studio-layout :is(.pc-data-table,.contact-table,.st-table,.data-table,.import-panel,.form-stack,.pc-dialog,.asset-dialog){font-family:"Instrument Sans",Inter,system-ui,sans-serif}


/* Admin colour/typography contract now lives in admin-design.css. */
/* Shared control size prevents input/button baseline mismatches in toolbars. */
html body.studio-layout :is(.pc-list-toolbar,.contact-filter-primary,.template-filters,.workspace-report-toolbar,.asset-search,.asset-new-folder,.sc-toolbar,.experience-filterbar,.cms-filterbar,.cms-seo-actions,.pipeline-toolbar) :is(input:not([type=checkbox]):not([type=radio]),select,button,.button,.st-button){height:38px!important;min-height:38px!important;box-sizing:border-box!important;margin-block:0!important;padding-block:8px!important;line-height:20px!important;vertical-align:middle}
html body.studio-layout :is(.pc-list-toolbar,.contact-filter-primary,.template-filters,.asset-new-folder,.experience-filterbar){align-items:end!important}
html body.studio-layout .pipeline-view-options button{height:30px!important;min-height:30px!important;padding:5px 10px!important;line-height:20px!important}.pipeline-view-options{align-self:end}
html body.studio-layout .import-file-row :is(input,button){height:40px!important;min-height:40px!important;box-sizing:border-box!important}
.integration-section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:18px 0 12px}.integration-section-heading h2{font-size:18px;margin:0}.integration-section-heading p{font-size:12px;margin:5px 0 0;color:#6b6b6b}
.additional-integrations{margin-top:22px;padding:24px;background:#f1f1f1;border:1px solid #ddd;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:24px}.additional-integrations h2{font-size:20px;margin:6px 0 10px}.additional-integrations p{font-size:13px;line-height:1.6;max-width:680px;color:#626262}.additional-integrations small{text-transform:uppercase;letter-spacing:.08em;font-size:10px}.additional-integrations nav{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}
@media(max-width:760px){.additional-integrations{align-items:flex-start;flex-direction:column;padding:18px}.integration-section-heading{align-items:flex-start;flex-direction:column}}


/* Workspace card shortcuts stay behind an accessible disclosure. */
html body.studio-layout .wa-card-grid{align-items:start}
html body.studio-layout .wa-card{min-height:0}
.wa-card-menu{position:relative;z-index:2;border-top:1px solid #ddd;margin-top:auto;background:#f7f7f7}
.wa-card-menu>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:12px 16px;font-size:12px;font-weight:650;color:#333}
.wa-card-menu>summary::-webkit-details-marker{display:none}.wa-card-menu>summary>svg{width:12px;height:16px;fill:currentColor}.wa-menu-chevron{margin-left:auto;font-size:18px;font-weight:400;transition:transform .18s}.wa-card-menu[open] .wa-menu-chevron{transform:rotate(45deg)}.wa-card-menu>summary:hover{background:#ededed}.wa-card-menu>summary:focus-visible{outline:2px solid #666;outline-offset:-3px}
html body.studio-layout .wa-card-menu .wa-card-links{display:block;min-height:0;padding:0 12px 12px;border:0;background:transparent}
html body.studio-layout .wa-card-menu .wa-card-shortcuts{display:grid;gap:4px}
html body.studio-layout .wa-card-menu :is(.wa-card-shortcuts a,.wa-card-instructions){display:block;width:100%;margin:0;padding:8px 10px!important;text-align:left;border:0!important;border-radius:5px;background:transparent!important;color:#333!important;font-size:12px;box-shadow:none}
html body.studio-layout .wa-card-menu :is(.wa-card-shortcuts a,.wa-card-instructions):hover{background:#e8e8e8!important}
html body.studio-layout .wa-card-menu .wa-card-instructions{margin-top:6px;border-top:1px solid #ddd!important;border-radius:0}

/* Reveal loaded content smoothly without an intermediate blank frame. */
#lm-startup{opacity:1;transition:opacity 420ms cubic-bezier(.16,1,.3,1)}
#lm-startup.is-leaving{opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){#lm-startup{transition:none}}

/* Dialog shell defaults yield to each component's own section layout. */
:where(body.lm-admin-foundation) dialog{box-sizing:border-box;max-width:calc(100vw - 24px);overscroll-behavior:contain}
:where(body.lm-admin-foundation dialog) :is(form,fieldset){min-width:0}
:where(body.lm-admin-foundation dialog) :is(input,select,textarea){box-sizing:border-box;max-width:100%}
:where(body.lm-admin-foundation) :is(.wr-dialog,.experience-dialog:not(.support-composer),.pc-dialog,.asset-dialog,.gd-dialog,.handoff-dialog)>header{position:static;padding:0 0 16px;margin:0 0 18px;border-radius:0;background:transparent;gap:12px}
:where(body.lm-admin-foundation dialog) :is(header,.dialog-heading)>h2{min-width:0;overflow-wrap:anywhere}
:where(body.lm-admin-foundation dialog) :is(header,.dialog-heading)>button{flex-shrink:0}
@media(max-width:600px){
 html body.lm-admin-foundation dialog :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea){font-size:16px!important}
 :where(body.lm-admin-foundation) :is(.wr-dialog,.experience-dialog,.pc-dialog,.asset-dialog,.gd-dialog,.lm-confirm,.wa-confirm,.export-confirm) :is(footer,.form-actions,.wa-confirm-actions){flex-wrap:wrap}
 :where(body.lm-admin-foundation) :is(.wr-dialog,.experience-dialog,.pc-dialog,.asset-dialog,.gd-dialog,.lm-confirm,.wa-confirm,.export-confirm) button{white-space:normal;min-height:44px}
}

