body[data-account-pending]>:not(#studio-account-gate){display:none!important}
#studio-account-gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f6f5f2}
#studio-account-gate form{width:min(100%,440px);padding:32px;border:1px solid #d9e4df;border-radius:20px;background:white;box-shadow:0 15px 50px #163d3212}
#studio-account-gate label{display:grid;gap:8px;margin:18px 0}#studio-account-gate label[hidden]{display:none}
#studio-account-gate input,#studio-account-gate select{padding:12px;border:1px solid #a7bcb3;border-radius:8px;font:inherit;width:100%}
#studio-account-gate button,.studio-account-bar button{padding:10px 16px;border-radius:8px;border:0;background:#175d4c;color:white;cursor:pointer}
.studio-account-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 24px;background:#eaf4ef;color:#164e40;font-size:14px}
.studio-account-bar span{flex:1}.studio-account-bar a{color:inherit}
.studio-demo #main::after{content:'ESVO STUDIO · DEMO';position:fixed;bottom:24px;right:24px;pointer-events:none;font-weight:700;color:#175d4c;background:#ffffffe8;padding:12px;border-radius:8px;z-index:50}
/* ESVO account flow and export dialog */
#studio-account-gate{background:radial-gradient(ellipse at top,#e5f1ec,#f4f7f6 65%);color:#183b35;font:15px/1.6 system-ui,sans-serif}
#studio-account-gate [hidden]{display:none!important}
#studio-account-gate h1{font-size:29px;line-height:1.2;letter-spacing:-.6px;margin:24px 0 14px}
#studio-account-gate form{width:min(100%,480px);padding:36px;box-sizing:border-box}
#studio-account-gate .account-language{font-size:12px;margin:0 0 20px;color:#536f66;display:flex;align-items:center;justify-content:space-between;gap:12px}
#studio-account-gate .account-language select{width:auto;padding:6px 10px;font-size:13px}
.account-links{display:flex;gap:10px 18px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid #e0e9e5;font-size:13px}
.account-actions{display:grid;gap:12px}.account-address{font-weight:600;overflow-wrap:anywhere}
#studio-account-gate button[type=submit],.account-primary{display:block;box-sizing:border-box;text-align:center;width:100%;padding:13px 18px;background:#146c58;color:#fff;border:0;border-radius:9px;text-decoration:none;font:600 15px system-ui;cursor:pointer}
#studio-account-gate .account-secondary{background:#eef5f1;color:#245a49}
#studio-account-gate button:disabled{opacity:.55;cursor:wait}
#studio-account-gate .account-error{padding:14px;background:#fff0ed;color:#982e25;border:1px solid #efbfb7;border-radius:8px}
#studio-account-gate #status:empty{display:none}
.studio-notice-dialog{width:440px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:32px;border:1px solid #cde0d8;border-radius:18px;box-shadow:0 24px 100px #082b3455;font:16px/1.6 system-ui;color:#183b35;background:white}
.studio-notice-dialog::backdrop{background:#102b37aa;backdrop-filter:blur(3px)}
.studio-notice-dialog h2{font-size:25px;line-height:1.3;margin:16px 0}
.studio-notice-dialog p{color:#4b655f;margin-bottom:24px}
.studio-notice-dialog button{width:100%;padding:12px;border:1px solid #d3e1db;border-radius:9px;background:#f4f8f6;color:#245a49;font:inherit;margin-top:12px;cursor:pointer}
.account-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#fff0ca;color:#835d0a;font-size:30px}
@media(max-width:520px){#studio-account-gate{padding:16px}#studio-account-gate form{padding:24px}.studio-notice-dialog{padding:24px}}

.account-legal{background:#f3f8f6;border:1px solid #d7e7df;border-radius:12px;padding:16px;margin:18px 0;font-size:14px;line-height:1.6}
#studio-account-gate .account-check{display:flex;align-items:flex-start;gap:10px}#studio-account-gate .account-check input{width:18px;height:18px;min-width:18px;margin:3px 0}
.account-legal-links{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;margin-top:22px;padding-top:16px;border-top:1px solid #d7e7df}
.legal-page{max-width:850px;margin:40px auto;padding:24px;font:16px/1.75 system-ui;color:#203b33}.legal-page h1{font-size:30px}.legal-page h2{font-size:20px;margin-top:32px}.legal-page section{white-space:pre-line}.legal-page header{padding-bottom:20px;border-bottom:1px solid #d7e7df}.legal-page a{color:#17624c}.legal-page .account-language{max-width:240px}
