/* One action language across account, creation and samples. */
:root{--flow-blue:#0071e3;--flow-ink:#1d1d1f;--flow-line:#d8dfe8;--flow-muted:#647080;--flow-radius:12px}
[hidden]{display:none!important}
#app .flow-button,.try-shell .flow-button,.flow-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 18px;border:1px solid var(--flow-line);border-radius:var(--flow-radius);background:#fff;color:#27364a;font:inherit;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none;cursor:pointer;box-sizing:border-box;touch-action:manipulation;transition:background .15s,border-color .15s}
#app .flow-button:hover,.flow-button:hover{background:#f1f5f9;border-color:#b5c4d5;text-decoration:none}
#app .flow-button.primary,.flow-button.primary{background:var(--flow-blue);color:#fff;border-color:var(--flow-blue)}
#app .flow-button.primary:hover,.flow-button.primary:hover{background:#0064cc}
.flow-button:focus-visible{outline:3px solid #77baff;outline-offset:3px}.flow-button:disabled{opacity:.5;cursor:wait}
#app .ui-stage .flow-button,#app .ui-support-card .flow-button{margin-top:14px}
#app .ui-card-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid var(--flow-line);border-radius:10px;background:#fff;color:#165da2;font-weight:600}
#app .project-card:focus-visible{outline:3px solid #77baff;outline-offset:4px}
.flow-samples-entry{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px;margin-top:26px;padding:28px 30px;border:1px solid #e0e7f0;border-radius:22px;background:#fff}
.flow-kicker{display:block;color:#647080;font-size:11px;font-weight:600;letter-spacing:.04em}.flow-samples-entry h2{font-size:24px;margin:9px 0 10px;letter-spacing:-.03em}.flow-samples-entry p{font-size:13px!important;margin:0}.flow-samples-entry small{display:block;font-size:11px;color:#7b8592;margin-top:8px}.flow-samples-entry>div:last-child{display:grid;gap:10px;min-width:240px}
.flow-project-save{position:fixed;right:26px;bottom:24px;z-index:44;display:flex;align-items:center;gap:24px;width:min(520px,calc(100vw - 40px));padding:14px 16px;background:#fffffff7;border:1px solid #dce4ef;border-radius:16px;box-shadow:0 8px 32px #20355022;backdrop-filter:blur(16px)}
.flow-save-copy{flex:1;min-width:0}.flow-save-copy strong{display:block;font-size:13px;line-height:1.5}.flow-save-copy span{display:block;font-size:10px;color:#647080;line-height:1.5;margin-top:4px}.flow-result:not(:empty){padding:12px 14px;background:#f0f6ff;border-radius:10px;font-size:13px;line-height:1.7}.flow-preview-note{padding:12px 14px;border-radius:10px;background:#f0f6ff;color:#31557c;font-size:12px;line-height:1.8}
body:has(.flow-project-save:not([hidden])){padding-bottom:115px}
#ex-editor .ex-editor-head{position:sticky;top:0;z-index:6;background:#fff}#ex-editor .ex-editor-head button{min-height:44px;min-width:44px}#ex-editor .ex-editor-head #ex-save{padding:10px 18px;background:var(--flow-blue);border-color:var(--flow-blue);color:#fff}
.flow-editor-guide{padding:10px 20px;background:#f5f7fa;border-bottom:1px solid #e0e5ec}.flow-editor-guide>p{font-size:11px;margin:0;color:#647080}.flow-mobile-faces,.flow-editor-tabs,.flow-mobile-adjust{display:none}
.try-shell button,.try-shell .try-text-button{min-height:48px;border-radius:12px}.try-shell input:not([type=checkbox]):not([type=file]),.try-shell select{font-size:16px;min-height:48px}.try-progress li[aria-current=step]{font-weight:650;color:var(--flow-blue)}.try-shell .try-option .try-actions{align-items:stretch}.try-shell .try-option .try-actions>button{flex:1}
@media(max-width:760px){
 #app .flow-button,.flow-button{min-height:48px;font-size:13px;padding:12px 15px}
 .flow-samples-entry{grid-template-columns:1fr;gap:20px;padding:24px 22px;margin-top:20px;border-radius:18px}.flow-samples-entry h2{font-size:22px}.flow-samples-entry>div:last-child{min-width:0}
 #app .ui-stage .flow-button{margin-top:9px;font-size:12px;min-height:46px;padding:10px 13px}#app .ui-support-card .flow-button{font-size:13px}
 .flow-project-save{left:12px;right:12px;bottom:calc(78px + env(safe-area-inset-bottom,0px));width:auto;gap:10px;padding:11px 12px;border-radius:15px}.flow-project-save .flow-button{font-size:12px;padding:11px 14px;flex:none}.flow-save-copy strong{font-size:12px}.flow-save-copy span{font-size:10px}body:has(.flow-project-save:not([hidden])){padding-bottom:175px}
 #ex-editor{width:100vw;max-width:100vw;height:100svh;max-height:100svh;margin:0;padding:0;border-radius:0;overflow:auto}
 #ex-editor .ex-editor-head{padding:12px 14px;gap:10px;flex-wrap:wrap}#ex-editor .ex-editor-head>div:first-child{flex:1;min-width:100px}#ex-editor .ex-editor-head h2{font-size:20px}#ex-editor .ex-editor-head>div:last-child{display:flex;gap:6px;flex-wrap:wrap;align-items:center}#ex-editor .ex-editor-head #ex-backup{display:none}#ex-editor .ex-editor-head #ex-save{font-size:12px;padding:10px 13px}#ex-editor .ex-editor-head p{font-size:8px}
 .flow-editor-guide{position:sticky;top:var(--flow-head-height,108px);z-index:5;padding:10px 14px}.flow-editor-guide>p{font-size:10px}
 .flow-mobile-faces,.flow-editor-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:9px}.flow-mobile-faces .flow-button,.flow-editor-tabs .flow-button{font-size:11px;padding:10px 5px;min-width:0;min-height:44px}.flow-mobile-faces [aria-pressed=true],.flow-editor-tabs [aria-pressed=true]{background:#e7f1ff;color:#0063bc;border-color:#83b6ee}
 #ex-editor .ex-editor-body{display:block;min-height:0}#ex-editor .ex-editor-stage,#ex-editor .ex-layers,#ex-editor .ex-properties{width:100%;max-width:none;min-height:0;padding:18px 14px}
 #ex-editor[data-flow-panel=preview] .ex-layers,#ex-editor[data-flow-panel=preview] .ex-properties,#ex-editor[data-flow-panel=layers] .ex-properties,#ex-editor[data-flow-panel=properties] .ex-layers{display:none}
 #ex-editor .ex-properties input:not([type=color]),#ex-editor .ex-properties select,#ex-editor .ex-properties textarea{font-size:16px;min-height:46px}#ex-editor .ex-properties button,#ex-editor .ex-layer-tools button,#ex-editor .ex-layer-tools label,#ex-editor #ex-layer-list button{min-height:44px}
 #ex-editor .ex-layers .ex-face-tabs{display:none}.flow-mobile-adjust{display:flex;width:100%;margin-top:18px}#ex-editor #ex-layer-list{max-height:50svh;overflow:auto}
 .try-shell .try-option .try-actions{display:grid;grid-template-columns:1fr;gap:10px}.try-shell .try-actions>button{font-size:13px}.try-progress{gap:8px}.try-progress li{font-size:11px;line-height:1.6}
}
@media(prefers-reduced-motion:reduce){.flow-button{transition:none}}

body:has(#ex-editor[open]) .flow-trial-save{display:none!important}

@media(max-width:760px){
 #ex-editor[open]{display:flex;flex-direction:column;overflow:hidden}
 #ex-editor .ex-editor-head{flex:none;height:auto;position:relative}
 #ex-editor .flow-editor-guide{flex:none;position:relative;top:auto;padding:6px 12px}
 #ex-editor .flow-editor-guide>p{display:none}
 #ex-editor .flow-mobile-faces,#ex-editor .flow-editor-tabs{margin-top:5px}
 #ex-editor .ex-editor-body{display:flex;flex-direction:column;flex:1;height:auto;overflow:hidden;min-height:0}
 #ex-editor .ex-editor-stage{flex:none;width:100%;height:clamp(130px,32svh,290px);padding:6px 10px}
 #ex-editor .ex-editor-stage>p{font-size:9px;margin:0 0 4px}
 #ex-editor .ex-editor-stage .flow-mobile-adjust{display:none}
 #ex-editor[data-flow-panel=preview] .ex-editor-stage{flex:1;height:auto}
 #ex-editor .ex-properties,#ex-editor .ex-layers{flex:1;overflow:auto;overscroll-behavior:contain;min-height:0;padding:12px 14px max(18px,env(safe-area-inset-bottom))}
 #ex-editor .ex-editor-head h2{font-size:17px}
 #ex-editor .ex-editor-head .ex-eyebrow{display:none}
}

.saved-set-actions{display:flex;gap:8px;flex-wrap:wrap}.project-copy h3{overflow-wrap:anywhere}.project-card>.project-visual{display:flex;align-items:center;justify-content:center;text-decoration:none}.ui-projects>p{font-size:13px;line-height:1.8}

@media(max-width:760px){
 #ex-editor .ex-editor-stage{order:0;overflow:hidden}
 #ex-editor #ex-edit-wrap{height:auto;flex:1;min-height:0;max-width:none;overflow:hidden}
 #ex-editor .ex-layers,#ex-editor .ex-properties{order:1}
}
