.auth-shell.auth-stage{height:100dvh;min-height:0;padding:clamp(12px,3vh,32px) 24px;overflow:auto;overscroll-behavior:contain;align-items:safe center}.auth-shell .auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,440px);align-items:center;width:min(100%,1000px);gap:clamp(32px,7vw,100px);margin:auto}.auth-shell .auth-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;isolation:isolate;gap:18px}.auth-art>img{width:clamp(180px,25vw,300px);aspect-ratio:1;object-fit:contain;border-radius:27%;filter:drop-shadow(0 24px 45px #142d6f20);animation:float 8s ease-in-out infinite}.auth-art>span{font-size:clamp(25px,3vw,38px);font-weight:760;letter-spacing:-.055em}.auth-art-ring{position:absolute;z-index:-1;width:min(95%,390px);aspect-ratio:1;border-radius:50%;border:1px solid color-mix(in srgb,var(--accent) 14%,transparent);background:radial-gradient(circle,color-mix(in srgb,var(--accent) 9%,transparent),transparent 72%)}.auth-shell .auth-panel{width:100%;padding:24px 28px;border-radius:26px;background:color-mix(in srgb,var(--surface) 92%,transparent);box-shadow:0 22px 85px #152b5610;min-width:0}.auth-shell .auth-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-6px -8px 14px}.auth-shell .auth-back{position:static;width:36px;height:36px}.auth-shell .auth-wordmark{display:flex;align-items:center;gap:8px;font-size:.8rem;font-weight:700;letter-spacing:-.02em}.auth-shell .auth-logo{width:28px;height:28px;border-radius:8px;margin:0;object-fit:contain}.auth-shell .auth-topline-spacer{width:36px;flex-shrink:0}.auth-shell .auth-panel h1{font-size:clamp(23px,2.5vw,30px);line-height:1.15;letter-spacing:-.055em;margin:0 0 22px;text-align:left}.auth-shell .auth-form{gap:12px}.auth-progress{display:flex;align-items:center;gap:6px;margin:-6px 0 16px}.auth-progress i{height:3px;flex:1;border-radius:3px;background:var(--line)}.auth-progress i.complete{background:var(--accent)}.auth-progress small{font-size:.67rem;color:var(--muted);margin-left:4px;white-space:nowrap}.auth-shell .auth-form>label{gap:5px;font-size:.76rem;line-height:1.3}.auth-shell .auth-form input{height:44px;border-radius:11px;padding:10px 12px;font-size:16px}.auth-shell .password-input>.icon-button{width:38px;height:38px;top:3px;right:3px}.auth-shell .auth-form>.button{margin-top:3px;min-height:44px;border-radius:12px}.auth-shell .auth-form>.form-error{margin:0;font-size:.75rem;line-height:1.4}.auth-shell .forgot{margin:0;font-size:.76rem;padding:1px 0;min-height:24px}.auth-shell .auth-divider{margin:15px 0 12px;font-size:.7rem;gap:10px}.auth-shell .google-button{min-height:40px}.auth-shell .auth-switch{font-size:.75rem;line-height:1.5;margin:15px 0 0}.auth-shell .auth-switch button{min-height:28px}.auth-shell .auth-panel>.muted{font-size:.78rem;line-height:1.5;margin:0 0 14px}.auth-shell .mail-sent{padding-bottom:12px;font-size:.8rem}.auth-mode-welcome .auth-layout{display:block;max-width:390px}.auth-mode-welcome .welcome-card{background:none;box-shadow:none;border:0;text-align:center;padding:22px}.auth-mode-welcome .welcome-logo{width:min(52vw,220px,32dvh);height:auto;aspect-ratio:1;object-fit:contain;border-radius:25%;margin-bottom:18px}.auth-mode-welcome .auth-panel h1{text-align:center;font-size:clamp(28px,5vw,38px);margin:0 0 26px}.auth-mode-welcome .auth-switch{margin-top:14px}@media(min-width:620px){.auth-mode-signup .auth-panel{grid-column:2}.auth-mode-signup .auth-form{grid-template-columns:1fr 1fr;column-gap:12px}.auth-mode-signup .auth-form>.form-error,.auth-mode-signup .auth-form>button{grid-column:1/-1}.auth-mode-signup .auth-layout{grid-template-columns:minmax(0,1fr) minmax(400px,500px);gap:clamp(24px,5vw,70px)}}@media(max-width:780px){.auth-shell .auth-art{display:none}.auth-mode-signup .auth-layout,.auth-shell .auth-layout{display:block;max-width:440px}.auth-shell .auth-panel{padding:22px 24px}.auth-mode-signup .auth-layout{max-width:500px}}@media(max-width:619px){.auth-shell.auth-stage{padding:12px 18px}.auth-shell .auth-layout{max-width:380px}.auth-shell .auth-panel{padding:19px 21px;border-radius:24px}.auth-shell .auth-topline{margin-bottom:12px}.auth-shell .auth-panel h1{margin-bottom:18px;font-size:25px}.auth-shell .auth-form{gap:11px}.auth-mode-signup .auth-topline{margin-bottom:9px}.auth-mode-signup .auth-panel h1{margin-bottom:15px}.auth-mode-signup .auth-form{gap:10px}.auth-mode-signup .auth-divider{margin:12px 0 10px}.auth-mode-signup .auth-switch{margin-top:11px}}@media(max-height:660px){.auth-shell.auth-stage{padding-block:10px}.auth-shell .auth-panel{padding-block:15px}.auth-shell .auth-topline{margin-bottom:7px}.auth-shell .auth-panel h1{font-size:24px;margin-bottom:13px}.auth-shell .auth-form{gap:8px}.auth-shell .auth-form input{height:42px}.auth-shell .password-input>.icon-button{height:36px;width:36px}.auth-shell .auth-divider{margin:10px 0 9px}.auth-shell .auth-switch{margin-top:9px}.auth-mode-welcome .welcome-logo{width:min(45vw,200px,30dvh)}.auth-mode-welcome .auth-panel h1{margin-bottom:20px}}@media(max-height:480px) and (min-width:620px){.auth-shell .auth-art{display:none}.auth-shell .auth-layout{display:block;max-width:500px}.auth-mode-login .auth-form{grid-template-columns:1fr 1fr}.auth-mode-login .auth-form>.form-error,.auth-mode-login .auth-form>button{grid-column:1/-1}.auth-shell .auth-topline{margin-bottom:3px}.auth-shell .auth-panel h1{font-size:22px;margin-bottom:10px}.auth-shell .auth-divider{margin:8px 0}.auth-shell .auth-switch{margin-top:6px}}@media(max-height:480px) and (min-width:400px){.auth-shell .auth-layout{max-width:500px}.auth-mode-login .auth-form,.auth-mode-signup .auth-form{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-shell .auth-form>.form-error,.auth-shell .auth-form>button{grid-column:1/-1}.auth-shell .auth-form>label{min-width:0}}.auth-form>.registration-agreement{grid-column:1/-1}.auth-shell .agreement-choice{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:6px 0;font-size:12px;line-height:1.5;color:var(--text)}.auth-shell .agreement-choice input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:1px 0 0;padding:0;accent-color:#4379ed}.auth-shell .agreement-links{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding-left:28px;font-size:12px}.auth-shell .agreement-links a{text-decoration:underline;text-underline-offset:3px;color:var(--primary)}.auth-shell .registration-agreement>small{display:block;padding-left:28px;margin-top:5px;font-size:11px}.auth-shell .agreement-links a:focus-visible{outline:2px solid #4379ed;outline-offset:4px}.auth-form>.auth-agreement-target,.auth-form>.auth-cooldown{grid-column:1/-1}.auth-agreement-target{border-radius:12px;outline:2px solid transparent;outline-offset:5px}.auth-agreement-target.highlighted{outline-color:var(--accent)}.auth-cooldown{margin:0;padding:9px 12px;border-radius:10px;font-size:.8rem;font-variant-numeric:tabular-nums;background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--text)}.google-consent-button{display:flex;align-items:center;justify-content:center;gap:12px;width:min(100%,320px);min-height:40px;margin-inline:auto;border:1px solid #747775;border-radius:24px;background:#fff;color:#1f1f1f;font-size:14px;font-weight:500;padding:8px 16px;cursor:pointer}.google-consent-button img{width:20px;height:20px;object-fit:contain}.google-consent-button:disabled{opacity:.55;cursor:default}.google-consent-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.auth-consent-dialog{width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);box-shadow:0 24px 90px #0005}.auth-consent-dialog::backdrop{background:#080b1866;backdrop-filter:blur(5px)}.auth-consent-dialog header{display:flex;align-items:center;gap:12px}.auth-consent-dialog h2{flex:1;font-size:1.15rem;margin:0;letter-spacing:-.025em}.auth-consent-dialog p{font-size:.9rem;line-height:1.6;margin:16px 0 22px}.auth-consent-dialog .button{min-height:44px}.fullscreen-chat-dialog{--chat-action-color:color-mix(in srgb,var(--accent) 76%,#000);position:fixed;inset:var(--chat-dialog-top,0) 0 auto;width:100%;height:var(--chat-dialog-height,100dvh);max-width:none;max-height:none;margin:0;padding:0;border:0;overflow:hidden;background:var(--page-bg);color:var(--ink)}.fullscreen-chat-dialog[open]{display:flex;flex-direction:column}.fullscreen-chat-dialog::backdrop{background:var(--bg)}.fullscreen-chat-footer,.fullscreen-chat-header{flex-shrink:0;background:var(--surface);padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right))}.fullscreen-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:calc(7px + env(safe-area-inset-top));padding-bottom:7px;border-bottom:1px solid var(--line)}.fullscreen-chat-header h2{margin:0;font-size:1.2rem}.fullscreen-chat-footer{border-top:1px solid var(--line);padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.fullscreen-chat-footer>div{display:flex;justify-content:flex-end;gap:8px}.chat-editor-button,.chat-editor-icon,.editor-choice{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);font-weight:650}.chat-editor-icon{width:44px;height:44px;padding:0;flex-shrink:0}.chat-editor-button{min-height:46px;padding:8px 16px;font-size:.88rem}.chat-editor-button.primary{background:var(--chat-action-color);border-color:transparent;color:#fff}.chat-editor-button:hover:enabled,.chat-editor-icon:hover:enabled,.editor-choice:hover:enabled{filter:brightness(1.07)}.chat-editor-icon[aria-pressed=true],.editor-choice[aria-pressed=true]{background:color-mix(in srgb,var(--accent) 16%,var(--surface));border-color:var(--accent)}.poll-form{display:flex;flex:1;flex-direction:column;min-height:0}.poll-fields{flex:1;min-height:0;overflow-y:auto;padding:clamp(12px,3vw,30px) 0;overscroll-behavior:contain}.poll-fields>*,.poll-form .fullscreen-chat-footer>div{width:min(640px,calc(100% - 32px));margin-inline:auto}.poll-form .fullscreen-chat-footer>div{width:min(640px,100%)}.poll-panel{display:grid;gap:10px;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;margin-block:0 10px}.poll-options-heading,.poll-panel label{font-size:.9rem;font-weight:680}.poll-panel textarea{min-height:94px;resize:vertical}.poll-option{display:flex;align-items:center;gap:8px}.poll-options>legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.poll-options-heading{margin-bottom:3px}.poll-option>span{display:grid;place-items:center;flex-shrink:0;min-width:25px;min-height:25px;padding-inline:4px;border-radius:8px;background:var(--panel);color:var(--muted);font-size:.73rem;font-variant-numeric:tabular-nums}.poll-panel input{flex:1;min-width:0;min-height:44px;padding-block:8px}.poll-options>button{justify-self:start}.image-editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);flex:1;min-height:0;gap:10px;padding:10px max(10px,env(safe-area-inset-right)) 10px max(10px,env(safe-area-inset-left))}.editor-canvas{position:relative;min-height:0;min-width:0;display:grid;place-items:center;overflow:hidden;isolation:isolate;border:1px solid var(--line);border-radius:15px;background:color-mix(in srgb,var(--panel) 84%,var(--ink))}.editor-preview-frame{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.editor-preview-frame canvas{display:block;width:100%;height:100%;touch-action:none}.editor-mode-switcher{position:absolute;left:50%;translate:-50% 0;display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 4px 20px #0005}.editor-mode-switcher .chat-editor-icon{background:transparent;border-color:transparent}.editor-mode-switcher .chat-editor-icon[aria-pressed=true]{background:var(--chat-action-color);color:#fff}.editor-tools{display:flex;flex-direction:column;gap:10px;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:15px;padding:10px;background:var(--surface)}.editor-tools textarea{min-height:62px;resize:vertical}.editor-colors,.editor-control-row,.editor-ratios{display:flex;align-items:center;gap:6px}.editor-colors,.editor-ratios{flex-wrap:wrap}.editor-choice{min-height:42px;padding:5px 10px;font-size:.8rem}.editor-colors button{display:grid;place-items:center;width:40px;height:40px;padding:4px;border:1px solid var(--line);border-radius:12px}.editor-colors button[aria-pressed=true]{border:2px solid var(--accent)}.editor-colors span{display:block;width:100%;height:100%;border:1px solid var(--line);border-radius:7px}.editor-control-row{color:var(--muted)}.editor-control-row input{min-width:0;flex:1}.editor-control-row output{flex:1;font-size:.8rem;font-variant-numeric:tabular-nums}.editor-tools .form-error{margin:0}.editor-load-error{margin:12px;text-align:center}@media (max-width:760px){.fullscreen-chat-footer .chat-editor-button{flex:1}.image-editor-body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(56px,1fr) auto}.editor-tools{max-height:min(230px,calc(var(--chat-dialog-height, 100dvh) * .37))}}@media (max-height:480px) and (min-width:600px){.image-editor-body{grid-template-columns:minmax(0,1fr) minmax(220px,265px);grid-template-rows:minmax(0,1fr)}.editor-tools{max-height:none}}