.newsletter-studio{--gjs-primary-color:var(--surface);--gjs-secondary-color:var(--ink);--gjs-tertiary-color:var(--cyan);--gjs-quaternary-color:var(--accent-text);--gjs-main-font:var(--font-body);container:newsletter-studio/inline-size;height:clamp(480px,calc(100dvh - 120px),780px);min-width:0;min-height:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);font-family:var(--font-body)}.newsletter-studio,.newsletter-studio.is-expanded{display:flex;flex-direction:column;overflow:auto;overscroll-behavior:auto}.newsletter-studio.is-expanded{position:fixed;inset:0;z-index:var(--layer-popup);height:100dvh;border:0;border-radius:0}.newsletter-studio-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;flex:none;gap:var(--space-2) var(--space-3);padding:var(--space-3);border-bottom:1px solid var(--line);background:var(--surface)}.newsletter-studio-title{display:flex;align-items:center;gap:var(--space-3);min-width:0}.newsletter-studio-title>svg{flex:none;color:var(--accent-text)}.newsletter-studio-title>div{display:grid;gap:var(--space-1);min-width:0}.newsletter-studio-title strong{font-size:16px;font-weight:var(--weight-heading)}.newsletter-studio-title small{color:var(--muted);font-size:var(--text-caption);line-height:1.5}.newsletter-studio-tools{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2)}.newsletter-studio .icon-button{flex:none;width:var(--control-height);min-height:var(--control-height);padding:var(--space-2);border-radius:var(--radius-control)}.newsletter-studio .icon-button[aria-pressed=true]{color:var(--accent-text);background:var(--accent-soft);border-color:var(--accent-border)}.newsletter-device-switch{max-width:100%}.newsletter-device-switch button{min-width:var(--control-height);min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2)}.newsletter-studio-layout{display:grid;flex:1 1;grid-template-columns:184px minmax(0,1fr) 280px;grid-template-rows:minmax(0,1fr);align-items:stretch;min-width:0;min-height:0;overflow:hidden}.newsletter-block-library{min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:auto;padding:var(--space-3);border-right:1px solid var(--line);background:var(--surface)}.newsletter-block-library>header{margin-bottom:var(--space-3)}.newsletter-block-library h3,.newsletter-inspector-empty h3{margin:0;font-size:15px;line-height:1.45;font-weight:var(--weight-heading)}.newsletter-block-library>header p,.newsletter-library-hint{color:var(--muted);font-size:var(--text-caption);line-height:1.6;margin:var(--space-1) 0 0}.newsletter-blocks .gjs-blocks-c{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2)}.newsletter-blocks .gjs-block{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-2);width:auto;min-width:0;min-height:84px;margin:0;padding:var(--space-3) var(--space-1);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);box-shadow:none;font:var(--weight-label) var(--text-caption)/1.4 var(--font-body);cursor:grab;transition:background-color .15s ease,border-color .15s ease}.newsletter-blocks .gjs-block:hover{background:var(--accent-soft);border-color:var(--accent-border)}.newsletter-blocks .gjs-block:active{cursor:grabbing}.newsletter-blocks .gjs-block__media{margin:0}.newsletter-blocks .gjs-block__media svg{width:24px;height:24px;color:var(--accent-text)}.newsletter-blocks .gjs-block svg,.newsletter-studio .gjs-toolbar-item svg{fill:none!important;stroke:currentColor}.newsletter-blocks .gjs-block-label{width:100%;font:inherit;overflow-wrap:anywhere}.newsletter-library-hint{display:flex;align-items:flex-start;gap:var(--space-2);margin-top:var(--space-3)}.newsletter-library-hint>svg{flex:none;margin-top:2px}.newsletter-document-settings{width:100%;margin-top:var(--space-3);justify-content:flex-start;white-space:normal;text-align:start;font-size:var(--text-caption)}.newsletter-studio-stage{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;overscroll-behavior:auto;background:var(--paper)}.newsletter-canvas-caption{display:flex;flex:none;flex-wrap:wrap;justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--muted);font-size:var(--text-caption);line-height:1.5}.newsletter-canvas-caption>span{display:inline-flex;align-items:center;gap:var(--space-1)}.newsletter-studio .newsletter-editor-canvas{flex:1 1;width:100%;height:auto!important;min-width:0;min-height:0;overscroll-behavior:auto}.newsletter-studio .gjs-editor{background:var(--paper);color:var(--ink);font-family:var(--font-body)}.newsletter-studio .gjs-pn-panels{display:none}.newsletter-studio .gjs-cv-canvas{top:0;left:0;width:100%;height:100%;background:var(--paper)}.newsletter-studio .gjs-frame-wrapper{border-radius:2px;box-shadow:var(--shadow-popup)}.newsletter-studio .gjs-toolbar{background:var(--action-background);color:var(--action-foreground);border-radius:var(--radius-control);padding:var(--space-1)}.newsletter-studio .gjs-toolbar-item{min-width:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center}.newsletter-studio .gjs-toolbar-item:hover{background:var(--action-hover)}.newsletter-studio .gjs-selected{outline-color:var(--focus-color)!important}.newsletter-studio .gjs-badge{background:var(--action-background);color:var(--action-foreground);font-family:var(--font-body)}.newsletter-studio .gjs-highlighter{outline-color:var(--accent-text)}.newsletter-studio .gjs-placeholder{border-color:var(--cyan)}.newsletter-studio .gjs-placeholder-int{background:var(--cyan)}.newsletter-inspector{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;border-left:1px solid var(--line);background:var(--surface)}.newsletter-inspector-heading{display:grid;flex:none;gap:var(--space-1);padding:var(--space-3)}.newsletter-inspector-heading strong{font-size:15px;line-height:1.4}.newsletter-inspector-heading small{color:var(--muted);font-size:var(--text-caption);line-height:1.5}.newsletter-inspector-tabs{display:flex;flex:none;margin:0 var(--space-3) var(--space-3)}.newsletter-inspector-tabs button{flex:1 1;min-width:0;min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2)}.newsletter-inspector>div:not(.newsletter-inspector-heading):not(.newsletter-inspector-tabs){flex:1 1;min-height:0;overflow-y:auto;overscroll-behavior:auto;scrollbar-gutter:stable}.newsletter-inspector-settings{min-width:0}.newsletter-inspector [hidden]{display:none!important}.newsletter-inspector-empty{display:grid;justify-items:start;gap:var(--space-3);padding:var(--space-3)}.newsletter-inspector-empty>svg{color:var(--accent-text)}.newsletter-inspector-empty p{margin:0;color:var(--muted);font-size:var(--text-small);line-height:1.6}.newsletter-inspector-section{display:grid;gap:var(--space-3);margin:0;padding:var(--space-3);min-width:0;border:0}.newsletter-inspector-group{border-top:1px solid var(--line)}.newsletter-inspector-group>summary{display:flex;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:var(--space-2) var(--space-3);color:var(--ink);font-size:var(--text-small);font-weight:var(--weight-heading);cursor:pointer;list-style:none}.newsletter-inspector-group>summary::-webkit-details-marker{display:none}.newsletter-inspector-group>summary>svg{flex:none;color:var(--muted)}.newsletter-inspector-group>summary>span{flex:1 1;min-width:0}.newsletter-inspector-group>summary:hover{background:var(--hover)}.newsletter-inspector-chevron{margin-left:auto;transition:transform .15s ease}.newsletter-inspector-group[open]>summary .newsletter-inspector-chevron{transform:rotate(180deg)}.newsletter-inspector-group-body{padding-top:0}.newsletter-inspector-section legend{float:left;width:100%;padding:0;margin-bottom:var(--space-3);font-size:var(--text-small);font-weight:var(--weight-heading)}.newsletter-color-control>label,.newsletter-inspector-section label{display:grid;gap:var(--space-2);min-width:0;margin:0;color:var(--muted);font-size:var(--text-caption);font-weight:var(--weight-label)}.newsletter-inspector-section :is(input:not([type=color]):not([type=checkbox]),select,textarea){width:100%;min-width:0;min-height:var(--control-height);color:var(--ink);background:var(--field);font:var(--weight-body) var(--text-small)/1.5 var(--font-body)}.newsletter-inspector-section textarea{min-height:104px;resize:vertical}.newsletter-inspector-section small{color:var(--muted);font-size:var(--text-caption);line-height:1.5}.newsletter-field-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);min-width:0}.newsletter-dimension-control{display:grid;gap:var(--space-2);min-width:0;color:var(--muted);font-size:var(--text-caption)}.newsletter-inspector-section input[type=range]{padding-inline:0;accent-color:var(--accent-text);cursor:ew-resize}.newsletter-align-options{display:flex;gap:var(--space-2)}.newsletter-align-options button{flex:1 1;min-width:0;min-height:var(--control-height);display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--control-border);border-radius:var(--radius-control);color:var(--ink);background:var(--field)}.newsletter-align-options button[aria-pressed=true]{color:var(--accent-text);background:var(--accent-soft);border-color:var(--accent-border)}.newsletter-color-control{display:grid;gap:var(--space-2);min-width:0}.newsletter-color-input{display:flex;align-items:center;gap:var(--space-2);min-width:0}.newsletter-color-input input[type=color]{flex:none;width:var(--control-height);min-width:var(--control-height);height:var(--control-height);padding:var(--space-1);cursor:pointer;background:var(--field)}.newsletter-color-input input[type=text]{flex:1 1;min-width:0}.newsletter-palette{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1)}.newsletter-color-palette-panel{display:grid;gap:var(--space-2);padding:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface-soft)}.newsletter-color-palette-toggle[aria-expanded=true]{color:var(--accent-text);border-color:var(--accent-border);background:var(--accent-soft)}.newsletter-color-swatch{position:relative;display:inline-flex;align-items:center;justify-content:center;width:var(--control-height);height:var(--control-height);flex:none;padding:0;border:0;border-radius:var(--radius-control);background:transparent;cursor:pointer}.newsletter-color-swatch:hover{background:var(--hover)}.newsletter-color-dot{display:block;width:24px;height:24px;border:1px solid var(--control-border);border-radius:50%}.newsletter-color-swatch.is-selected .newsletter-color-dot{outline:2px solid var(--focus-color);outline-offset:2px}.newsletter-color-control .text-button{justify-self:start;max-width:100%;min-height:var(--control-height);color:var(--accent-text);font-size:var(--text-caption)}.newsletter-block-actions{position:sticky;bottom:0;z-index:1;display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);padding:var(--space-3);border-top:1px solid var(--line);background:var(--surface)}.newsletter-layers{min-height:0;color:var(--ink)}.newsletter-layers .gjs-layers{color:var(--ink);font-family:var(--font-body)}.newsletter-layers .gjs-layer{background:var(--surface);color:var(--ink);border-color:var(--line)}.newsletter-layers .gjs-layer-title{min-height:var(--control-height);display:flex;align-items:center;border-color:var(--line);font-size:var(--text-small)}.newsletter-layers .gjs-layer.gjs-selected>.gjs-layer-title{background:var(--accent-soft)!important;color:var(--accent-text)}.newsletter-block-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-1);padding:var(--space-2) var(--space-4);border-top:1px solid var(--line);background:var(--surface)}.newsletter-block-breadcrumb button{min-height:var(--control-height);padding:var(--space-2);color:var(--muted);border:0;border-radius:var(--radius-control);background:transparent;font:inherit;font-size:var(--text-caption)}.newsletter-block-breadcrumb button:hover{background:var(--hover)}.newsletter-block-breadcrumb button[aria-current]{color:var(--accent-text);font-weight:var(--weight-heading)}.newsletter-studio-footer{display:flex;flex:none;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:var(--space-1) var(--space-3);padding:var(--space-2) var(--space-3);border-top:1px solid var(--line);color:var(--muted);background:var(--surface);font-size:var(--text-caption);line-height:1.5}.newsletter-studio-footer span{display:inline-flex;align-items:center;gap:var(--space-2)}.newsletter-editor-loading{padding:var(--space-4);color:var(--muted);font-size:var(--text-small)}.newsletter-studio :is(button,input,select,textarea,summary,[tabindex="0"]):focus-visible{outline:2px solid var(--focus-color);outline-offset:2px}.newsletter-studio .gjs-mdl-dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-dialog);box-shadow:var(--shadow-popup);font-family:var(--font-body)}.newsletter-studio .gjs-mdl-header{padding:var(--space-5);border-bottom:1px solid var(--line)}.newsletter-studio .gjs-mdl-title{font-size:var(--text-section);font-weight:var(--weight-heading)}.newsletter-studio .gjs-mdl-content{padding:var(--space-5);color:var(--ink)}.newsletter-studio :is(.gjs-am-assets-cont,.gjs-am-file-uploader,.gjs-am-assets){background:var(--surface);color:var(--ink)}.newsletter-studio :is(.gjs-am-add-field input,.gjs-am-add-asset button){min-height:var(--control-height);background:var(--field);color:var(--ink);border:1px solid var(--control-border);border-radius:var(--radius-control)}.newsletter-studio .gjs-am-asset{background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius-control);color:var(--ink)}@container newsletter-studio (max-width:1100px){.newsletter-studio-layout{grid-template-columns:minmax(0,1fr) 280px;grid-template-rows:auto minmax(0,1fr)}.newsletter-block-library{grid-column:1/-1;display:grid;grid-template-columns:150px minmax(0,1fr);gap:var(--space-2) var(--space-3);align-items:center;max-height:196px;padding:var(--space-3);border-right:0;border-bottom:1px solid var(--line)}.newsletter-block-library>header{margin:0}.newsletter-blocks .gjs-blocks-c{grid-template-columns:repeat(9,minmax(0,1fr))}.newsletter-blocks .gjs-block{min-height:72px;padding:var(--space-2) var(--space-1)}.newsletter-library-hint{grid-column:1/-1;margin:0}.newsletter-document-settings{grid-column:1/-1;width:auto;justify-self:start;margin:0}}@container newsletter-studio (max-width:760px){.newsletter-studio-toolbar{padding:var(--space-3)}.newsletter-studio-tools{width:100%;justify-content:space-between}.newsletter-studio-title small{display:none}.newsletter-studio-layout{display:block;overflow-y:auto;overscroll-behavior:auto}.newsletter-block-library{display:block;max-height:none;overflow:visible}.newsletter-block-library>header{margin-bottom:var(--space-3)}.newsletter-block-library>header p{display:none}.newsletter-blocks .gjs-blocks-c{grid-template-columns:repeat(4,minmax(0,1fr))}.newsletter-library-hint{margin-top:var(--space-3)}.newsletter-document-settings{margin-top:var(--space-2)}.newsletter-studio-stage{height:460px;min-height:360px}.newsletter-inspector{display:block;overflow:visible;border-left:0;border-top:1px solid var(--line)}.newsletter-inspector>div:not(.newsletter-inspector-heading):not(.newsletter-inspector-tabs){overflow:visible;scrollbar-gutter:auto}.newsletter-block-actions{position:static}.newsletter-inspector-section{grid-template-columns:minmax(0,1fr)}.newsletter-inspector-section>.newsletter-align-options,.newsletter-inspector-section>.newsletter-color-control,.newsletter-inspector-section>.newsletter-field-pair,.newsletter-inspector-section>legend,.newsletter-inspector-section>small{grid-column:1/-1}.newsletter-studio .newsletter-inspector-section :is(input:not([type=color]):not([type=checkbox]),select,textarea){font-size:16px}}@container newsletter-studio (max-width:400px){.newsletter-studio-tools{justify-content:flex-start}.newsletter-device-switch{width:100%}.newsletter-device-switch button{flex:1 1}.newsletter-inspector-section{grid-template-columns:minmax(0,1fr)}.newsletter-studio-footer{padding-inline:var(--space-3)}}@media (prefers-reduced-motion:reduce){.newsletter-studio *{transition:none!important}}.newsletter-social-network,.newsletter-social-networks{display:grid;gap:var(--space-2);min-width:0}.newsletter-social-network{grid-template-columns:28px minmax(0,1fr) 44px;align-items:center;min-height:44px}.newsletter-social-network-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#163846}.newsletter-social-network-icon img{display:block;width:20px;height:20px;object-fit:contain}.newsletter-social-network-name{color:var(--ink);font-size:var(--text-small)}.newsletter-inspector-section .newsletter-social-network-toggle{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;gap:0;margin:0;cursor:pointer;border-radius:var(--radius-control)}.newsletter-social-network-toggle:hover{background:var(--hover)}.newsletter-inspector-section .newsletter-social-network-toggle input[type=checkbox]{flex:none;width:16px;min-width:16px;height:16px;min-height:16px;margin:0;padding:0;accent-color:var(--cyan);cursor:pointer}.newsletter-social-network>label:not(.newsletter-social-network-toggle){gap:0}.newsletter-social-network>label:not(.newsletter-social-network-toggle) input{padding-inline:var(--space-2);font-size:var(--text-caption)}.newsletter-social-network small{grid-column:1/-1;overflow-wrap:anywhere}