.tdc-account-tools{margin:24px 0 35px;padding:24px;background:#f3f6ed;border:1px solid #dce4cf;border-radius:16px}.tdc-account-tools h3,.tdc-recovery-panel h3{margin-top:0;font-size:24px}.tdc-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.tdc-tool-card{display:flex;flex-direction:column;gap:10px;min-height:130px;padding:20px;border:1px solid #cbd8bc;border-radius:12px;background:#fff;color:#2e4723;text-decoration:none}.tdc-tool-card strong{font-size:16px;line-height:1.4}.tdc-tool-card>span{font-size:13px;line-height:1.6;color:#5c6b52}.tdc-tool-card:hover{border-color:#769b57;background:#fffcf1}.tdc-tool-card:focus-visible{outline:3px solid #ad7130;outline-offset:3px}.tdc-recovery-panel{margin:32px 0;padding:24px;border:1px solid #dce4cf;border-radius:14px;background:#fffdf6}.tdc-recovery-panel form{max-width:620px}.tdc-recovery-panel input{width:100%;font:inherit;min-height:46px}.tdc-recovery-panel label{display:block;margin:15px 0}.tdc-recovery-panel .button{min-height:46px}.tdc-forgot-password{margin-top:25px;border:1px solid #ccd8bc;border-radius:12px;padding:18px}.tdc-forgot-password summary{cursor:pointer;font-weight:600;min-height:32px}.tdc-forgot-password .account-card{border:0;padding:18px 0 0;margin:0;max-width:600px}
@media(max-width:1000px){.tdc-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tdc-tools-grid{grid-template-columns:minmax(0,1fr)}.tdc-account-tools,.tdc-recovery-panel{padding:18px}.tdc-tool-card{min-height:110px;padding:17px}.tdc-recovery-panel input{font-size:16px}}

/* Login first on all screens. Separate server-rendered signup view works without JavaScript. */
.tdc-auth-shell{width:100%;max-width:640px;margin-inline:auto}.tdc-auth-shell .tdc-auth-single{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.tdc-auth-shell .account-card{min-width:0;width:100%;box-sizing:border-box}.tdc-auth-shell input{max-width:100%;box-sizing:border-box}.tdc-auth-switch{line-height:1.7;margin:20px 0}.tdc-auth-switch a{display:inline-block;min-height:44px;padding-block:8px;box-sizing:border-box}.tdc-auth-shell .tdc-forgot-password{box-sizing:border-box}.tdc-auth-shell .tdc-forgot-password .account-card{padding-inline:0}@media(max-width:520px){.tdc-auth-shell .account-card{padding:20px 16px}.tdc-auth-shell input{font-size:16px;min-height:46px}.tdc-auth-shell .button{min-height:46px}.tdc-auth-shell .tdc-forgot-password{padding:16px}}

.tdc-studio-back a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}

[data-recovery-email][hidden]{display:none!important}
