.account-gate{position:fixed;inset:0;z-index:10000;display:grid;grid-template-columns:1fr 1fr;background:var(--ui-bg);color:var(--ui-text);overflow:auto;user-select:none}
.account-gate[hidden]{display:none}
.account-story{padding:44px 56px;display:flex;flex-direction:column;background:var(--ui-sidebar);border-right:1px solid var(--ui-border)}
.account-brand{display:flex;align-items:center;gap:12px;font-size:21px;letter-spacing:-.5px}.account-brand img{width:48px;height:48px;object-fit:contain;-webkit-user-drag:none}
.account-intro{margin:auto 0;padding:60px 0;max-width:520px}.account-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:var(--ui-accent)}
.account-intro h1{font-size:clamp(36px,4.3vw,68px);font-weight:550;line-height:1.12;letter-spacing:-2.5px;margin:22px 0}.account-intro p{font-size:16px;line-height:1.8;color:var(--ui-secondary)}
.account-local-note{font-size:12px;color:var(--ui-muted);margin:0}
.account-tree{display:flex;align-items:center;margin-top:48px;max-width:390px;font-size:12px}.account-tree span{display:block;padding:12px 22px;background:var(--ui-raised);border:1px solid var(--ui-border-strong);border-radius:7px;border-top:3px solid #c5a7df}.account-tree .account-tree-root{border-top-color:var(--ui-accent);white-space:nowrap}.account-tree i{width:45px;height:1px;background:var(--ui-border-strong)}.account-tree>div{display:grid;gap:16px;position:relative}.account-tree>div:before{content:"";position:absolute;left:-23px;top:21px;bottom:21px;width:22px;border:1px solid var(--ui-border-strong);border-right:0;border-radius:7px 0 0 7px}.account-tree>div span:nth-child(2){border-top-color:#e6cc8c}.account-tree>div span:nth-child(3){border-top-color:#9ed0a3}
.account-entry{display:flex;align-items:center;justify-content:center;padding:48px 36px}.account-card{width:100%;max-width:390px}.account-card h2{font-size:28px;line-height:1.25;font-weight:550;letter-spacing:-.7px;margin:15px 0 12px}.account-card>p{color:var(--ui-secondary);font-size:14px;line-height:1.6;margin-bottom:28px}
.account-provider{width:100%;height:46px;display:flex;justify-content:center;align-items:center;gap:12px;background:var(--ui-raised);border:1px solid var(--ui-border-strong);border-radius:7px;color:var(--ui-text);font-size:14px;font-weight:550;margin:10px 0;cursor:pointer}.account-provider:hover{background:var(--ui-hover)}.account-provider>span{font-size:19px;font-weight:700}.account-provider svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
.account-trial{display:flex;flex-direction:column;gap:7px;margin:26px 0;padding-bottom:26px;border-bottom:1px solid var(--ui-border)}.account-trial strong{font-size:13px;font-weight:550}.account-trial span{font-size:12px;line-height:1.7;color:var(--ui-muted)}
.account-preview-badge{font-size:9px;letter-spacing:1.4px;color:var(--ui-muted)}.account-preview p{font-size:12px;line-height:1.75;color:var(--ui-muted);margin:10px 0 18px}.account-preview button{width:100%;height:44px;border:0;border-radius:7px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:var(--ui-accent);color:var(--ui-on-accent);font-size:13px;font-weight:650;cursor:pointer}.account-preview button:hover{filter:brightness(1.06)}.account-card .account-message{min-height:38px;font-size:12px;color:var(--ui-accent);margin:14px 0 0}
/* Shared responsive frame; branding belongs to the introduction column. */
.account-gate{display:flex;align-items:center;justify-content:center;padding:clamp(24px,3vw,72px);isolation:isolate;background:#202323}
.account-gate::before{content:"";position:fixed;inset:0;z-index:-2;background:url('../assets/account-forest.png') center top/cover no-repeat;pointer-events:none}
.account-gate::after{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at center,#0008 10%,#0009 65%,#000b 100%);pointer-events:none}
.account-frame{width:100%;max-width:2400px;margin:auto}
.account-layout{display:grid;grid-template-columns:clamp(280px,19vw,460px) minmax(0,1fr) clamp(350px,23vw,500px);gap:clamp(24px,2.5vw,64px);align-items:center}
.account-story{display:contents}.account-left{align-self:start;display:flex;flex-direction:column;gap:clamp(20px,3vh,40px);min-width:0}
.account-brand{position:static;display:flex;gap:15px;margin:0;font-size:clamp(27px,1.5vw,34px)}
.account-brand img{width:clamp(78px,5vw,108px);height:auto;aspect-ratio:1;filter:drop-shadow(0 0 9px #b6d8c12b)}
.account-intro{margin:0;padding:0;max-width:none}
.account-intro h1{font-size:clamp(38px,2.6vw,64px);line-height:1.12;letter-spacing:-1.4px;margin:16px 0 24px}
.account-intro>p{font-size:clamp(15px,.95vw,20px);line-height:1.8;margin:0}
.account-benefits{display:grid;gap:clamp(18px,1.5vw,30px);margin-top:clamp(26px,2.3vw,44px)}
.account-benefit{display:flex;align-items:center;gap:14px}
.account-benefit-icon{display:grid;place-items:center;width:clamp(42px,2.8vw,60px);height:clamp(42px,2.8vw,60px);flex:none;border:1px solid color-mix(in srgb,var(--benefit-color) 25%,transparent);border-radius:8px;background:color-mix(in srgb,var(--benefit-color) 12%,transparent);color:var(--benefit-color)}
.account-benefit-icon svg{width:25px;height:25px;stroke-width:1.6}
.account-benefit>div{display:grid;gap:6px}.account-benefit strong{font-size:clamp(13px,.85vw,18px);font-weight:600}.account-benefit>div>span{font-size:clamp(13px,.8vw,16px);line-height:1.65;color:var(--ui-secondary)}
.account-entry{padding:clamp(26px,2vw,42px);background:#1d2022f2;border:1px solid #ffffff24;border-radius:12px;box-shadow:0 16px 48px #0004;min-width:0;backdrop-filter:blur(12px)}
.account-card{max-width:none}.account-card h2{font-size:clamp(25px,1.6vw,34px);line-height:1.25}.account-card>p{font-size:16px;line-height:1.65;margin-bottom:24px}
.account-card .account-eyebrow{font-size:10px;letter-spacing:1.3px}
.account-trial strong{font-size:15px}.account-trial span,.account-preview p{font-size:14px;line-height:1.75}
.account-provider{height:50px;font-size:15px}.account-preview button{height:50px;font-size:14px;box-shadow:none}
.account-local-note{position:static;margin:28px 0 0;font-size:12px;color:var(--ui-muted)}
.account-art{position:relative;width:100%;max-width:1100px;aspect-ratio:1176/768;min-width:0;justify-self:center;pointer-events:none;overflow:hidden}
.account-demo-stage{position:absolute;left:0;top:0;width:1176px;height:768px;transform-origin:0 0}
.account-demo-stage .account-demo-links{position:absolute;inset:0;width:1176px;height:768px;fill:none;stroke-width:3;opacity:1;overflow:visible}
.account-demo-links path{filter:drop-shadow(0 0 3.5px var(--connection-glow)) drop-shadow(0 0 7px color-mix(in srgb,var(--connection-glow) 50%,transparent))}
.account-demo-stage .node{content-visibility:visible;outline:none;filter:none;--node-stripe:var(--node-color);box-shadow:var(--ui-node-shadow)}
.account-demo-stage .node .node-header{background:var(--ui-node)}
.account-demo-stage .node .node-kind{background:linear-gradient(100deg,var(--node-color),color-mix(in srgb,var(--node-color) 65%,white),var(--node-color));box-shadow:0 0 10px color-mix(in srgb,var(--node-color) 55%,transparent)}
.account-demo-stage .node .node-icon{color:var(--node-color);filter:drop-shadow(0 0 4px var(--node-color))}
.account-demo-stage .node-size-small .node-title{font-size:19px}
.account-demo-stage .node-size-medium .node-title{font-size:22px}
.account-demo-stage .node-root .node-title{font-size:29px}
.account-provider{height:50px;font-size:15px}.account-preview button{height:50px;font-size:14px;box-shadow:0 4px 18px #b6d8c118}.account-entry{backdrop-filter:blur(12px)}
.account-art{overflow:hidden}
@media(max-width:1150px){
 .account-layout{grid-template-columns:minmax(0,1fr) 350px;gap:28px 40px;align-items:start;max-width:1120px;margin:auto}
 .account-left{grid-column:1;grid-row:1;gap:18px}.account-brand img{width:78px}.account-intro h1{font-size:36px;margin:12px 0 18px}
 .account-intro>p{font-size:15px}.account-benefits{gap:14px;margin-top:20px}.account-benefit-icon{width:40px;height:40px}
 .account-art{grid-column:1;grid-row:2;max-width:720px}.account-entry{grid-column:2;grid-row:1/3;padding:26px}.account-card h2{font-size:25px}
}
@media(max-width:720px){.account-gate{padding:24px 20px}.account-frame{max-width:430px}.account-layout{display:flex;flex-direction:column;gap:24px}.account-left{gap:0}.account-brand img{width:74px}.account-intro,.account-art,.account-local-note{display:none}.account-entry{width:100%;padding:28px 24px}}
@media(max-height:800px) and (min-width:1351px){.account-gate{padding:24px 32px}.account-left{gap:18px}.account-brand img{width:78px}.account-intro h1{font-size:40px;margin:12px 0 18px}.account-benefits{margin-top:24px;gap:18px}.account-trial{margin:18px 0;padding-bottom:18px}.account-card .account-message{min-height:20px}}@media(min-width:1151px) and (max-width:1500px){.account-layout{grid-template-columns:260px minmax(0,1fr) 340px;gap:24px}.account-intro h1{font-size:37px}.account-brand img{width:78px}.account-benefit strong{font-size:13px}.account-benefit>div>span{font-size:12px}}
@media(max-height:800px) and (min-width:1151px){.account-gate{padding:22px 28px}.account-entry{padding:20px}.account-card h2{font-size:24px}.account-card>p{font-size:14px;margin-bottom:16px}.account-trial{margin:16px 0;padding-bottom:16px}.account-trial span,.account-preview p{font-size:13px;line-height:1.6}.account-preview p{margin:10px 0 14px}.account-card .account-message{min-height:18px;margin-top:10px}.account-brand img{width:70px}.account-intro h1{font-size:35px;margin:12px 0 18px}.account-benefits{margin-top:20px;gap:16px}.account-local-note{margin-top:18px}}
@media(max-height:800px){.account-local-note{visibility:hidden}}

/* Keep the local-storage note anchored independently of the editable layout. */
.account-local-note{position:fixed;left:clamp(20px,2.5vw,48px);bottom:18px;margin:0;visibility:visible;display:block;z-index:18;pointer-events:none;font-size:12px;text-shadow:0 1px 4px #000}

@media(max-width:720px){.account-local-note{font-size:10px;bottom:18px;left:20px}}

/* Approved 2560×1369 client-area composition; dimensions flow with the viewport.
   Smaller windows retain the readable grid/breakpoints above. Reference JSON is
   stored alongside this stylesheet, independently of project/account data. */
@media(min-width:1700px){
 .account-gate{padding:5.5515vh 2.8125vw 6vh 3.125vw;align-items:flex-start}
 .account-frame{max-width:none;margin:0;width:100%}
 .account-layout{grid-template-columns:20.3125vw 47.734375vw minmax(0,1fr);gap:0;align-items:start}
 .account-left{width:23.359375vw;gap:clamp(26px,3.8vh,52px)}
 .account-brand{font-size:clamp(32px,1.727vw,44.2px);gap:20px}
 .account-brand img{width:clamp(104px,5.487vw,140.5px)}
 .account-intro h1{font-size:clamp(57px,3.252vw,83.25px);margin:21px 0 31px;letter-spacing:-1.8px}
 .account-intro>p{font-size:clamp(19px,1.016vw,26px)}
 .account-benefits{gap:clamp(24px,1.524vw,39px);margin-top:clamp(36px,2.236vw,57px)}
 .account-benefit{gap:18px}.account-benefit-icon{width:clamp(56px,3.048vw,78px);height:clamp(56px,3.048vw,78px)}
 .account-benefit-icon svg{width:32px;height:32px}
 .account-benefit strong{font-size:clamp(17px,.915vw,23.4px)}.account-benefit>div>span{font-size:clamp(16px,.813vw,20.8px)}
 .account-art{max-width:none;width:100%;margin-top:13.9518vh}
 .account-entry{margin-top:13.8787vh;margin-left:3.0859375vw;padding:clamp(34px,1.925vw,49.3px);width:calc(100% - 3.0859375vw)}
 .account-card h2{font-size:clamp(30px,1.558vw,39.9px)}.account-card>p{font-size:clamp(16px,.733vw,18.8px)}
 .account-trial strong{font-size:17.6px}.account-trial span,.account-preview p{font-size:16.4px}
 .account-provider,.account-preview button{height:58.6px;font-size:17px}
 .account-trial{margin:30px 0;padding-bottom:30px}.account-preview p{margin:12px 0 21px}
}

.account-auth-form{margin:18px 0}.account-auth-tabs{display:flex;gap:8px;margin-bottom:14px}.account-auth-tabs button,.account-auth-reset{border:0;background:transparent;color:var(--ui-accent,#80dfb5);padding:7px;font-size:12px}.account-auth-form form{display:grid;gap:8px}.account-auth-form label{font-size:12px;color:#c8cecb}.account-auth-form input{width:100%;padding:10px;border:1px solid #505653;border-radius:7px;background:#242727;color:#f2f4f3;user-select:text}.account-auth-form .account-auth-submit{margin-top:8px;padding:11px;border:0;border-radius:7px;background:var(--ui-accent,#80dfb5);color:#14251e;font-weight:650}.account-auth-submit:disabled{opacity:.4}.account-auth-form p{font-size:11px;line-height:1.5}.account-card{max-height:calc(100dvh - 70px);overflow:auto}
.account-auth-tabs button[aria-pressed="true"]{background:#72dfb018;border-radius:7px;color:#8cebc1;font-weight:650}
.account-auth-form .account-message{margin:12px 0;padding:12px;border:1px solid #e68c8c66;border-radius:8px;background:#b54d4d18;color:#ffb4b4;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.account-email-notice{text-align:center;padding:18px 0;outline:none}.account-email-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 18px;border-radius:18px;background:#72dfb018;color:#8cebc1;font-size:34px}.account-email-notice h3{font-size:22px;margin:12px 0}.account-email-notice p{font-size:14px;line-height:1.7;color:var(--ui-secondary)}.account-email-address{display:block;overflow-wrap:anywhere;font-size:14px;margin:14px 0;color:#e6f7ef}.account-email-notice button{display:block;width:100%}.account-auth-form .account-password-hint{margin:0;color:var(--ui-muted)}
.account-auth-form form[aria-busy="true"] .account-auth-submit{opacity:.8;cursor:progress}
.account-card:has(.account-email-notice) .account-provider,.account-card:has(.account-email-notice) .account-trial,.account-card:has(.account-email-notice) .account-preview{display:none}
#accountGate [hidden]{display:none!important}
.account-provider:disabled{opacity:.55;cursor:not-allowed}
