:root{--page-wide:100rem;--page-form:70rem;--page-wizard:60rem;--page-field:45rem;--page-gutter:1.5rem;--section-gap:1.5rem;--card-gap:1rem;--card-padding:1.5rem;--control-height:2.625rem}.app-shell{grid-template-columns:var(--sidebar-width,14.75rem) minmax(0, 1fr);min-height:100dvh;display:grid}.app-shell .app-main{min-width:0;min-height:100dvh}.app-shell .app-main:not(.app-main-editor){background:var(--color-surface)}.app-shell .app-main-editor{grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:0;display:grid;overflow:hidden}.app-shell .page-content{width:100%;min-width:0;margin:0;padding:0}.app-shell .page-content:not([data-layout=editor]){background:var(--color-surface)}.workspace-page-frame{width:100%;max-width:calc(var(--page-wide) + var(--page-gutter) * 2);padding:var(--section-gap) var(--page-gutter) 3rem;margin-inline:auto}.workspace-page-body{min-width:0;container:workspace/inline-size}[data-layout=form] .workspace-page-body{max-width:var(--page-form)}[data-layout=wizard] .workspace-page-body{max-width:var(--page-wizard)}.app-shell .page-content[data-layout=editor]{min-height:0;overflow:hidden}[data-layout=editor]>.workspace-page-frame,[data-layout=editor]>.workspace-page-frame>.workspace-page-body{flex-direction:column;width:100%;max-width:none;height:100%;min-height:0;margin:0;padding:0;display:flex}.app-shell .workspace-page-header{width:100%;min-width:0;height:auto;margin:0;padding:0;display:block}.workspace-header-frame{width:100%;max-width:calc(var(--page-wide) + var(--page-gutter) * 2);min-height:4.5rem;padding:.875rem var(--page-gutter);flex-wrap:wrap;align-items:center;gap:.75rem 1rem;margin-inline:auto;display:flex}.workspace-header-frame .workspace-page-title{flex:12rem;min-width:0}.workspace-navigation-toggle{display:none}.app-shell .workspace-page-toolbar{margin:0 0 var(--section-gap);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1rem;padding:0;display:flex}.app-shell .workspace-page-toolbar>div{min-width:0}.app-shell .workspace-page-toolbar>div:first-child{flex:20rem}.workspace-page-body>:is(.settings-page,.deliverability-console,.analytics-v2,.shopify-page,.template-gallery),.settings-layout,.send-policies-content,.domain-index,.domain-wizard{width:100%;min-width:0}.settings-layout form,.settings-general-form,.asset-section form{max-width:var(--page-field)}.domain-wizard{max-width:var(--page-wizard)}.app-shell :is(.settings-page-heading,.domain-settings-page .deliverability-header){margin:0 0 var(--section-gap);padding:0}.app-shell :is(.settings-layout,.send-policies-content,.domain-index,.domain-wizard){margin:0;padding:0}.app-shell :is(.panel,.settings-card,.asset-section){padding:var(--card-padding)}.app-shell .asset-section{max-width:none}.app-shell :is(.table-panel,.profiles-table-card){min-width:0;padding:0}.app-shell :is(.table-wrap,.data-table-wrap,.report-table-wrap,.analytics-v2-table-wrap){width:100%;min-width:0;max-width:100%;overflow-x:auto}.app-shell :is(.profile-layout,.consent-layout,.audience-grid,.validation-grid,.import-map-grid,.message-trace-layout){gap:var(--card-gap);grid-template-columns:minmax(0,1fr) minmax(17.5rem,20rem);display:grid}.app-shell :is(.profile-layout,.consent-layout,.audience-grid,.validation-grid,.import-map-grid,.message-trace-layout)>*{min-width:0}.app-shell .import-map-grid{grid-template-columns:minmax(14rem,.7fr) minmax(0,1.3fr)}.app-shell :is(.message-trace,.rules-card,.upload-card,.content-assets-grid){max-width:none}.app-shell .profiles-modern>.workspace-page-toolbar{margin-bottom:var(--section-gap);padding:0}.app-shell .profiles-modern .profiles-list-toolbar{padding-inline:0}.app-shell :is(.content-tabs,.template-gallery-tabs,.asset-navigation){margin-block:0 var(--section-gap)}.template-gallery .template-gallery-grid{gap:var(--card-gap);grid-template-columns:repeat(auto-fill,minmax(min(100%,17.5rem),1fr));margin:0;display:grid}.template-gallery :is(.template-library-overview,.template-library-toolbar){margin-bottom:var(--section-gap)}.import-upload-layout{align-items:start;gap:var(--section-gap);grid-template-columns:minmax(0,45rem) minmax(16rem,1fr);display:grid}.import-upload-guide{padding:var(--card-padding);border:1px solid var(--color-line);background:var(--color-subtle);border-radius:.875rem}.import-upload-guide h2{font-size:var(--type-card-size);line-height:var(--type-card-line);margin:0 0 .75rem;font-weight:600}.import-upload-guide ul{margin:0;padding-left:1.25rem}.import-upload-guide li+li{margin-top:.75rem}.app-shell .import-history{margin-top:var(--section-gap)}.app-shell :is(.analytics-v2,.delivery-workspace,.deliverability-console){height:auto;min-height:0;padding:0;overflow:visible}.app-shell :is(.delivery-screen-content,.analytics-v2-content){min-height:0;overflow:visible}.app-shell :is(.delivery-toolbar,.analytics-controls){margin-bottom:var(--section-gap)}.app-shell .home-onboarding-layout{align-items:start;gap:var(--section-gap);grid-template-columns:minmax(0,2fr) minmax(0,1fr);width:100%;min-height:0;display:grid}.app-shell .home-onboarding-main{flex-direction:column;justify-content:flex-start;min-width:0;padding:0;display:flex}.app-shell .home-daily-layout{width:100%;max-width:none;margin:0}.home-onboarding-art{min-width:0}.template-editor-page{flex-direction:column;flex:1;min-width:0;height:100%;min-height:0;display:flex;overflow:auto}.template-editor-page .template-topbar{flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:.75rem 1rem;padding:.75rem 1rem;display:flex}.template-editor-page .template-topbar>*{min-width:0}.template-editor-page .template-top-actions{flex-wrap:wrap;gap:.5rem;display:flex;overflow:visible}.template-editor-workspace{flex:1;min-height:20rem;display:flex;overflow:hidden}.template-editor-page .builder-shell{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:17.5rem minmax(0,1fr) 20rem;min-width:0;min-height:0;display:grid;overflow:hidden}.template-editor-page .builder-shell[data-compact=true]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.builder-library-panel{min-width:0;min-height:0;overflow:auto}.template-editor-page .builder-library{height:auto;min-height:0;max-height:none;overflow:visible}.template-editor-page .builder-inspector{grid-area:auto;min-width:0;height:auto;min-height:0;max-height:none;overflow:auto}.canvas-zoom-control{font-size:var(--type-label-size);line-height:var(--type-label-line);color:var(--type-muted);align-items:center;gap:.5rem;display:inline-flex}.canvas-zoom-control select{min-width:4.5rem;min-height:2.625rem}.template-editor-page .stage-label{flex-wrap:wrap;align-items:center;gap:.5rem;width:100%;display:flex}.template-editor-page .builder-stage{align-items:safe center;min-width:0;height:auto;min-height:0;overflow:auto}.template-editor-page .email-canvas{flex-shrink:0}.template-editor-page .imported-html-workspace{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:17.5rem minmax(0,1fr);min-width:0;min-height:0;display:grid;overflow:hidden}.template-editor-page .imported-html-workspace[data-compact=true]{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.template-editor-page .source-element-library,.template-editor-page .imported-html-stage{min-width:0;min-height:0;max-height:none;overflow:auto}.editor-panel-toolbar{border-bottom:1px solid var(--color-line);background:var(--color-surface);flex-wrap:wrap;flex:none;align-items:center;gap:.5rem;padding:.5rem 1rem;display:flex}.template-editor-page :is(.approved-note,.preflight-notice){flex:none;max-height:25dvh;overflow:auto}.campaign-context-bar{flex:none}.layout-panel{min-width:0}.layout-drawer-backdrop{z-index:400;background:var(--color-backdrop);position:fixed;inset:0}.app-shell .layout-panel[data-drawer=true]{z-index:401;background:var(--color-surface);width:min(22.5rem,100vw - 2rem);max-width:none;height:100dvh;min-height:0;max-height:100dvh;box-shadow:var(--shadow-dialog);padding:1rem;display:block;position:fixed;inset:0 auto 0 0;overflow:auto}.app-shell .layout-panel[data-drawer=true][data-side=right]{inset-inline:auto 0}.app-shell .layout-panel[data-drawer=true][data-flush=true]{padding:0}.layout-drawer-heading{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.layout-drawer-heading h2{font-size:var(--type-card-size);line-height:var(--type-card-line);margin:0}.layout-drawer-heading button{border:1px solid var(--color-line);background:var(--color-surface);width:2.75rem;min-height:2.75rem;color:var(--color-ink);border-radius:.5rem;flex:none;padding:0}@container workspace (max-width:59.99rem){.app-shell .home-onboarding-layout{grid-template-columns:minmax(0,1fr)}.home-onboarding-art{display:none}.import-upload-layout{grid-template-columns:minmax(0,1fr)}}.marketing-site{--public-width:80rem;--public-space:5rem}.marketing-site :is(.marketing-header,.hero-section,.section-intro,.feature-grid,.roles-section,.proof-section,.pricing-section,.delivery-section,.journey-section,.insight-showcase,.faq-section,.growth-section,.marketing-footer){box-sizing:border-box;width:100%;max-width:calc(var(--public-width) + var(--page-gutter) * 2);padding-inline:var(--page-gutter);margin-inline:auto}.marketing-site .marketing-header{min-height:5rem;padding-block:1rem}.marketing-site :is(.hero-section,.roles-section,.proof-section,.pricing-section,.delivery-section,.journey-section,.insight-showcase,.faq-section,.growth-section){padding-block:calc(var(--public-space) / 2);height:auto;min-height:0;margin-block:0}.marketing-site .section-intro{padding-block:var(--public-space) 1.5rem}.marketing-site .section-intro>*{max-width:45rem;margin-inline:auto}.marketing-site .feature-grid{padding-block:0 calc(var(--public-space) / 2)}.marketing-site .marketing-footer{padding-block:calc(var(--public-space) / 2)}@media (max-width:74.99rem){.marketing-site{--public-space:4rem}}@media (max-width:47.99rem){.marketing-site{--public-space:3rem}}.app-shell :is(.modal-card,.modal.confirmation-dialog,.template-form-modal,.workspace-dialog,.content-create,.create-flow-modal,.flow-create-modal){width:min(40rem,100vw - 2rem);max-width:none;max-height:calc(100dvh - 2rem);padding:var(--card-padding);overflow:auto}.app-shell :is(.modal.confirmation-dialog,.profiles-segment-dialog){width:min(30rem,100vw - 2rem)}.app-shell :is(.workspace-dialog,.content-create),dialog.footer-dialog{width:min(65rem,100vw - 2rem)}.app-shell :is(.modal-card,.confirmation-dialog,.template-form-modal,.workspace-dialog,.content-create)>:is(header,.modal-head){top:calc(-1 * var(--card-padding));z-index:2;margin-inline:calc(-1 * var(--card-padding));padding:var(--card-padding);background:var(--color-surface);position:sticky}.app-shell :is(.modal-card,.confirmation-dialog,.template-form-modal,.workspace-dialog,.content-create)>:is(footer,.modal-actions){bottom:calc(-1 * var(--card-padding));z-index:2;margin-inline:calc(-1 * var(--card-padding));padding:var(--card-padding);background:var(--color-surface);border-top:1px solid var(--color-line);flex-wrap:wrap;position:sticky}.campaign-drawer-backdrop{z-index:500}@media (max-height:24rem){.app-shell :is(.modal-card,.confirmation-dialog,.template-form-modal,.workspace-dialog,.content-create)>:is(header,.modal-head,footer,.modal-actions){position:static}}.campaign-drawer{width:min(22.5rem,100vw - 2rem)}.layout-preview-controls{flex-wrap:wrap;gap:.75rem;display:flex}.layout-preview-controls label{gap:.25rem;display:grid}.layout-preview-checks{flex-wrap:wrap;flex:none;align-items:center;gap:1rem;padding-block:.5rem;display:flex}.layout-preview-form{margin-top:var(--section-gap);max-width:var(--page-field)}.layout-preview-form label{gap:.5rem;display:grid}.alignment-fixture{gap:var(--section-gap);display:grid}.alignment-fixture>section{min-width:0;padding:var(--card-padding);background:var(--color-surface);border:1px solid var(--color-line);border-radius:.875rem}.alignment-fixture .flow-list-card{grid-template-columns:minmax(0,1fr);max-width:20rem;min-height:0}.alignment-fixture .delivery-action-list{max-width:30rem}@container workspace (max-width:53.74rem){.app-shell :is(.profile-layout,.consent-layout,.audience-grid,.validation-grid,.import-map-grid,.message-trace-layout){grid-template-columns:minmax(0,1fr)}}@media (min-width:48rem) and (max-width:74.99rem){:root{--page-gutter:1.25rem}}@media (max-width:63.99rem){.app-shell .app-sidebar:not([data-drawer=true]){display:none}.app-shell,.app-shell.sidebar-compact{--sidebar-width:0rem;display:block}.app-shell .workspace-header-frame{gap:.5rem;min-height:4rem;padding-block:.625rem}.workspace-header-frame .workspace-page-title{flex:7rem}.workspace-navigation-toggle{background:var(--color-surface);width:2.75rem;min-height:2.75rem;color:var(--color-ink);border:1px solid var(--color-line);border-radius:.5rem;flex:none;place-items:center;padding:0;display:grid}.app-shell .app-sidebar .sidebar-collapse,.app-shell .app-sidebar .mobile-nav-toggle{display:none}.app-shell .app-sidebar .workspace-switcher{margin-block:1rem;display:block}.app-shell .app-sidebar .nav-item-label{display:inline}.app-shell.mobile-navigation-open .app-sidebar>nav{grid-template-columns:minmax(0,1fr);max-height:none;margin:0;display:grid}.app-shell .app-sidebar nav .sidebar-subnav{display:grid}.app-shell .workspace-header-controls{margin-left:auto}.app-shell .workspace-header-controls .top-actions{gap:.25rem;height:auto}.app-shell .workspace-header-controls :is(.search-wrap,.top-actions>.icon-button){width:2.75rem;height:2.75rem}.app-shell .workspace-header-controls .workspace-search-toggle{width:2.75rem;height:2.75rem;display:grid}.app-shell .search-wrap .global-search{display:none}.app-shell .search-wrap.search-expanded .global-search{z-index:70;background:var(--color-surface);width:auto;display:flex;position:fixed;top:4.5rem;left:1rem;right:1rem}.app-shell .search-results{width:auto;min-width:0;max-height:calc(100dvh - 8.5rem);position:fixed;top:7.5rem;left:1rem;right:1rem}}@media (max-width:47.99rem){:root{--page-gutter:1rem;--card-padding:1rem;--control-height:2.75rem}.workspace-page-frame{padding-bottom:2rem}.app-shell .workspace-page-toolbar>:not(:first-child){flex-basis:auto}.app-shell .page-content :is(button:not(.flow-metric-link),input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){min-block-size:2.75rem}.template-editor-page .template-topbar{gap:.5rem;padding:.5rem .75rem}.template-editor-page .template-top-actions{width:100%}}
