.tdm-auth-dialog { box-sizing:border-box; width:min(460px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow-y:auto; padding:36px; border:1px solid #e1e7e5; border-radius:14px; background:#fff; color:#142223; box-shadow:0 24px 80px #14222330; font:14px/1.5 Manrope,"Segoe UI",sans-serif; }
.tdm-auth-dialog::backdrop { background:#152e3373; backdrop-filter:blur(5px); }
.tdm-auth-dialog .tdm-auth-close { position:absolute; top:10px; right:12px; display:grid; place-items:center; width:36px; height:36px; padding:0; border:0; background:transparent; color:#576667; font:28px/1 Arial,sans-serif; cursor:pointer; }
.tdm-auth-eyebrow { color:#086169; font-size:12px; letter-spacing:1.5px; font-weight:700; }
.tdm-auth-dialog h2 { margin:10px 0; color:#142223; font:800 28px/1.25 Manrope,"Segoe UI",sans-serif; letter-spacing:-.6px; }
.tdm-auth-intro { margin:0 0 24px; color:#576667; }
.tdm-auth-form>label { display:block; margin:16px 0 7px; font-size:13px; font-weight:600; }
.tdm-auth-dialog .tdm-auth-form input:not([type=checkbox]) { box-sizing:border-box; display:block; width:100%; height:46px; min-width:0; padding:10px 13px; border:1px solid #ccd5d2; border-radius:7px; background:#fff; color:#142223; font:inherit; box-shadow:none; margin:0; }
.tdm-auth-dialog a { color:#086169; text-decoration:none; }
.tdm-auth-dialog a:hover { text-decoration:underline; }
.tdm-auth-password { position:relative; }
.tdm-auth-dialog .tdm-auth-password input { padding-right:48px!important; }
.tdm-auth-password button { position:absolute; inset:0 2px 0 auto; display:grid; place-items:center; width:42px; padding:0; border:0; background:transparent; color:#576667; cursor:pointer; }
.tdm-auth-password svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.5; }
.tdm-auth-options { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-top:16px; font-size:12px; }
.tdm-auth-options label { display:flex; align-items:center; gap:7px; margin:0; cursor:pointer; }
.tdm-auth-options input { width:16px; height:16px; margin:0; accent-color:#086169; }
.tdm-auth-dialog .tdm-auth-submit,.tdm-gate-main button { display:block; box-sizing:border-box; width:100%; min-height:46px; padding:12px 20px; border:1px solid #086169; border-radius:7px; background:#086169; color:white; font:600 14px/1.5 Manrope,"Segoe UI",sans-serif; cursor:pointer; }
.tdm-auth-dialog .tdm-auth-submit:disabled { opacity:.65; cursor:wait; }
.tdm-auth-status { margin:16px 0; color:#a13e29; font-size:13px; }
.tdm-auth-status:empty { margin:12px 0; }
.tdm-auth-register { margin:22px 0 0; padding-top:20px; border-top:1px solid #e1e7e5; color:#576667; font-size:13px; text-align:center; }
.tdm-auth-dialog :focus-visible,.tdm-auth-gate :focus-visible { outline:2px solid #086169; outline-offset:3px; }
.tdm-auth-gate { margin:0; background:#f7f9f8; color:#142223; font:15px/1.6 Manrope,"Segoe UI",sans-serif; }
.tdm-gate-header { display:flex; align-items:center; justify-content:space-between; gap:18px; max-width:1240px; margin:auto; padding:26px 24px; }
.tdm-gate-brand { display:flex; align-items:center; gap:9px; color:#142223; text-decoration:none; font-size:25px; letter-spacing:-1px; }
.tdm-gate-brand img { width:46px; height:48px; object-fit:contain; }
.tdm-gate-account { border:1px solid #086169; border-radius:6px; padding:9px 14px; color:#086169; text-decoration:none; font-size:13px; }
.tdm-gate-main { max-width:740px; margin:100px auto; padding:0 24px; text-align:center; }
.tdm-gate-main h1 { font-size:40px; line-height:1.2; letter-spacing:-1px; }
.tdm-gate-main p { color:#576667; }
.tdm-gate-main button { width:auto; margin:28px auto; }
@media(max-width:480px) {
  .tdm-auth-dialog { padding:28px 22px; }
  .tdm-gate-header { padding:20px 16px; }
  .tdm-gate-brand { font-size:20px; gap:6px; }
  .tdm-gate-brand img { width:35px; height:37px; }
  .tdm-gate-account { font-size:11px; padding:8px 10px; }
  .tdm-gate-main { margin:70px auto; }
  .tdm-gate-main h1 { font-size:30px; }
}
