/* Responsive flow of the converted Templates design. */
.flow.html-workspace .ly-anchor-canvas{max-width:1720px!important}
.flow.html-workspace #page-flow{padding:0 32px 32px!important}
.flow.html-workspace .html-workspace-grid{display:grid!important;grid-template-columns:268px minmax(0,1fr);gap:26px!important;width:100%!important}
.flow.html-workspace .app-nav{grid-column:1/-1;padding:20px 0!important;margin-bottom:4px!important}
.flow.html-workspace .html-sidebar{display:flex!important;flex-direction:column;gap:16px!important;min-width:0;align-self:start;padding-right:20px!important;border-right:1px solid var(--line)}
.flow.html-workspace .html-sidebar h1{font-size:30px!important;margin:0!important;line-height:1.25!important}
.flow.html-workspace .html-sidebar>p{font-size:13px!important;line-height:1.6!important}
.flow.html-workspace .html-brand-field{display:flex!important;flex-direction:column;gap:8px}
.flow.html-workspace #template-brand{max-width:none!important;min-width:0!important;width:100%!important}
.flow.html-workspace .html-new-row,.flow.html-workspace .html-new-row>div{display:block!important;width:100%!important}
.flow.html-workspace #new-template{width:100%!important}
.flow.html-workspace .template-library{display:block!important}
.flow.html-workspace .template-library>summary{cursor:pointer;display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);padding:9px 0!important;list-style:none}
.flow.html-workspace .template-library>summary::-webkit-details-marker{display:none}
.flow.html-workspace .template-library>summary small{font-size:11px;white-space:nowrap}
.flow.html-workspace #template-rows{display:flex!important;flex-direction:column;max-height:580px!important;overflow:auto!important;margin-top:6px!important}
.flow.html-workspace .html-template-row{display:flex!important;align-items:flex-start;gap:8px;padding:12px 0!important;border-bottom:1px solid var(--line);min-width:0}
.flow.html-workspace .template-open{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1;min-width:0;text-align:left;padding:9px;border-radius:6px;background:transparent;cursor:pointer;color:var(--ink)}
.flow.html-workspace .template-open strong{font-size:14px;font-weight:600}
.flow.html-workspace .template-open span{font-size:12px;line-height:1.6;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.flow.html-workspace .template-open small{font-size:11px;color:var(--green)}
.flow.html-workspace .template-open[aria-current=true]{background:#eaf3ee;box-shadow:inset 3px 0 var(--green)}
.flow.html-workspace .template-open:hover{background:#f0f5f0}
.flow.html-workspace input.rotation-switch{appearance:none!important;width:34px!important;height:20px!important;min-width:34px;flex:0 0 34px;border:0;border-radius:20px;background:#c4ccc7;position:relative!important;margin-top:12px!important;cursor:pointer}
.flow.html-workspace input.rotation-switch::after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:transform .15s}
.flow.html-workspace input.rotation-switch:checked{background:var(--green)}
.flow.html-workspace input.rotation-switch:checked::after{transform:translateX(14px)}
.flow.html-workspace input.rotation-switch:disabled{opacity:.45;cursor:default}
.flow.html-workspace .template-empty{padding:24px 10px!important;text-align:center;background:#f8faf7;border-radius:8px}
.flow.html-workspace .template-empty strong{font-size:14px}
.flow.html-workspace .template-empty p{font-size:12px!important;margin-top:8px!important}
.flow.html-workspace .html-starter-card{display:flex!important;flex-direction:column;align-items:center;gap:10px!important;text-align:center;padding:22px 16px!important;border:1px dashed #bccfc2;border-radius:8px;background:#fafcf9}
.flow.html-workspace .html-starter-card p{font-size:12px!important}
.flow.html-workspace .starter-symbol{font-size:24px;font-weight:600;color:var(--green)}
.flow.html-workspace .html-composer{display:flex!important;flex-direction:column;gap:18px!important;min-width:0}
.flow.html-workspace .html-composer-header{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px!important}
.flow.html-workspace #composer-title{font-size:25px!important;line-height:1.35!important;flex:1;min-width:160px;overflow-wrap:anywhere}
.flow.html-workspace #editor-state{font-size:12px!important;color:var(--muted);white-space:nowrap!important}
.flow.html-workspace #editor-state[data-dirty=true]{color:#966018}
.flow.html-workspace .html-fields{display:grid!important;grid-template-columns:1fr 1fr;gap:16px!important}
.flow.html-workspace .html-fields label{display:flex;flex-direction:column;gap:7px;min-width:0}
.flow.html-workspace .html-fields .inbox-field{grid-column:1/-1}
.flow.html-workspace #preheader-length{font-size:11px;color:var(--muted);align-self:flex-end}
.flow.html-workspace .inbox-field{position:relative}
.flow.html-workspace .html-rotation-row{display:flex!important;align-items:center;gap:10px!important;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:16px 0!important}
.flow.html-workspace .html-rotation-row>label{display:flex;align-items:center;gap:9px;white-space:nowrap}
.flow.html-workspace #editor-rotation{margin:0!important}
.flow.html-workspace #rotation-note{font-size:11px;color:var(--muted);flex:1;min-width:120px}
.flow.html-workspace #editor-version{font-size:11px!important;color:var(--muted)}
.flow.html-workspace #template-error{margin-top:12px!important;padding:12px 14px!important;border:1px solid #edc9c0;border-radius:7px;background:#fff3ef;color:#962f1a;font-size:13px!important;overflow-wrap:anywhere}
.flow.html-workspace .html-compose-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:18px!important}
.flow.html-workspace .html-code-card,.flow.html-workspace .html-preview-card{border:1px solid var(--line);border-radius:9px;background:white;display:flex!important;flex-direction:column;min-width:0;overflow:hidden!important}
.flow.html-workspace .html-editor-tabs{display:flex!important;align-items:center;gap:6px!important;padding:0 14px!important;border-bottom:1px solid var(--line)}
.flow.html-workspace .html-editor-tabs button{background:transparent;padding:16px 10px!important;cursor:pointer;color:var(--muted);font-size:13px!important;border-bottom:3px solid transparent}
.flow.html-workspace .html-editor-tabs button[aria-selected=true]{color:var(--green);border-bottom-color:var(--green);font-weight:600}
.flow.html-workspace .html-source-toolbar,.flow.html-workspace .html-link-tools{display:flex!important;gap:8px!important;align-items:center;flex-wrap:wrap;padding:12px 14px!important}
.flow.html-workspace .html-source-toolbar>div,.flow.html-workspace .html-link-tools>div{display:block!important}
.flow.html-workspace .html-source-scroll{display:flex!important;background:#f8f9fa;border-block:1px solid #e7ece9;overflow:hidden!important;min-width:0}
.flow.html-workspace #html-lines{flex:0 0 40px;width:40px!important;padding:14px 9px!important;text-align:right;color:#8a949a;font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace!important;white-space:pre!important;overflow:hidden!important;height:470px!important;background:#f0f3f2;user-select:none}
.flow.html-workspace #html-source{display:block;flex:1;min-width:0!important;width:100%!important;height:470px!important;resize:vertical;border:0;border-radius:0;outline:0;padding:14px!important;font:12px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace!important;color:#173c56;background:#f8f9fa;white-space:pre;overflow:auto!important;tab-size:2}
.flow.html-workspace #html-source:focus{box-shadow:inset 0 0 0 2px #24765a55}
.flow.html-workspace .html-source-help{font-size:11px!important;padding:0 14px 14px!important;line-height:1.7!important}
.flow.html-workspace #text-panel{padding:16px!important}
.flow.html-workspace #text-panel>p{font-size:12px!important;margin-bottom:16px!important}
.flow.html-workspace #text-fallback{height:510px!important;overflow:auto!important;white-space:pre-wrap!important;overflow-wrap:anywhere;font:13px/1.8 Roboto,system-ui,sans-serif!important;color:var(--ink)}
.flow.html-workspace .html-editor-bottom{border-top:1px solid var(--line);display:flex!important;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px!important}
.flow.html-workspace #html-size{font-size:11px!important;color:var(--muted)}
.flow.html-workspace .html-preview-toolbar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:13px 14px!important;border-bottom:1px solid var(--line)}
.flow.html-workspace .html-preview-toolbar h2{font-size:16px!important}
.flow.html-workspace .html-preview-devices{display:flex!important;gap:4px}
.flow.html-workspace [data-preview-device][aria-pressed=true]{background:#eaf3ee!important;border-color:#246650!important;color:#174835!important}
.flow.html-workspace .html-preview-content{display:flex!important;flex-direction:column;gap:10px!important}
.flow.html-workspace .html-preview-metadata{display:flex;flex-direction:column;gap:4px;padding:12px 14px!important;border-bottom:1px solid #edf1ed}
.flow.html-workspace .html-preview-metadata strong{font-size:12px;overflow-wrap:anywhere}
.flow.html-workspace .html-preview-metadata span{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.flow.html-workspace #preview-stage{display:flex!important;align-items:flex-start;justify-content:center;background:#eef1ef;padding:12px!important;overflow:auto!important}
.flow.html-workspace #email-frame{display:block;width:100%!important;height:640px!important;border:0;background:#fff;min-width:0!important}
.flow.html-workspace #preview-stage[data-device=mobile] #email-frame{width:320px!important;flex:0 0 320px;max-width:100%!important}
.flow.html-workspace #preview-placeholder{display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px!important;padding:40px 20px!important;height:500px!important;width:100%!important;background:white;border-radius:6px}
.flow.html-workspace #preview-placeholder>span{color:#719081;font-size:32px}
.flow.html-workspace #preview-placeholder>strong{font-size:16px}
.flow.html-workspace #preview-placeholder>p{font-size:12px!important}
.flow.html-workspace .html-preview-options{display:flex!important;justify-content:space-between;align-items:center;gap:10px;padding:0 14px!important}
.flow.html-workspace .html-preview-options label{display:flex;align-items:center;gap:7px;font-size:11px!important}
.flow.html-workspace #preview-status,.flow.html-workspace #rendered-size,.flow.html-workspace #preview-warning{font-size:11px!important;padding:0 14px!important;color:var(--muted)}
.flow.html-workspace #rendered-size{padding-bottom:14px!important}
.flow.html-workspace #preview-warning{color:#966018;padding-bottom:14px!important}
.flow.html-workspace .html-history-heading{display:flex!important;align-items:center;justify-content:space-between;gap:12px}
.flow.html-workspace #history-rows{margin-top:16px!important;display:flex!important;flex-direction:column;gap:12px}
.flow.html-workspace .history-row{display:flex!important;gap:12px;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:12px!important}
.flow.html-workspace .history-row p{font-size:12px!important;margin-top:5px!important}
.flow.html-workspace .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.flow.html-workspace :is(button,input,select,summary):focus-visible{outline:2px solid #24765a;outline-offset:3px}
.flow.html-workspace [hidden]{display:none!important}
.flow.html-workspace :is(#preview-placeholder,#email-frame,#source-panel,#text-panel,#template-error,#preview-warning,#html-file)[hidden]{display:none!important}
@media(max-width:1250px){.flow.html-workspace .html-workspace-grid{grid-template-columns:235px minmax(0,1fr);gap:20px!important}.flow.html-workspace .html-compose-grid{grid-template-columns:1fr}.flow.html-workspace #email-frame{height:620px!important}.flow.html-workspace #html-source,.flow.html-workspace #html-lines{height:360px!important}.flow.html-workspace #text-fallback{height:390px!important}.flow.html-workspace .html-sidebar{padding-right:14px!important}}
@media(max-width:720px){.flow.html-workspace #page-flow{padding:0 16px 24px!important}.flow.html-workspace .html-workspace-grid{grid-template-columns:minmax(0,1fr);gap:20px!important}.flow.html-workspace .html-sidebar{border:0;padding-right:0!important;gap:12px!important}.flow.html-workspace .html-starter-card{flex-direction:row!important;padding:12px!important;gap:10px!important}.flow.html-workspace .html-starter-card .starter-symbol,.flow.html-workspace .html-starter-card p{display:none!important}.flow.html-workspace .html-starter-card strong{flex:1;font-size:12px;text-align:left}.flow.html-workspace .html-sidebar h1{font-size:28px!important}.flow.html-workspace .html-composer-header{gap:10px!important}.flow.html-workspace #composer-title{font-size:21px!important;flex:1 1 100%}.flow.html-workspace #save-template{margin-left:auto!important}.flow.html-workspace .html-fields{grid-template-columns:1fr;gap:12px!important}.flow.html-workspace .html-fields .inbox-field{grid-column:1}.flow.html-workspace .html-rotation-row{gap:9px!important}.flow.html-workspace #rotation-note{flex:1 1 100%}.flow.html-workspace .html-preview-toolbar{gap:8px!important}.flow.html-workspace #template-rows{max-height:330px!important}.flow.html-workspace .template-library summary::after{content:'⌄';margin-left:auto;color:var(--green)}.flow.html-workspace .template-library[open] summary::after{content:'⌃'}.flow.html-workspace .html-compose-grid{gap:16px!important}.flow.html-workspace #preview-stage{padding:6px!important}.flow.html-workspace .history-row{align-items:flex-start;flex-direction:column}.flow.html-workspace #html-source,.flow.html-workspace #html-lines{height:330px!important}}
@media(prefers-reduced-motion:reduce){.flow.html-workspace input.rotation-switch::after{transition:none}}
