/* Explicit light palette prevents OS dark form controls on light surfaces. */
:root { color-scheme: only light; }
html, body { color-scheme: only light; }
input, textarea, select, button { font-family: inherit; }
.auth-dialog, .head-auth-page, .support-centre { color-scheme: only light; }
.auth-dialog .auth-documents { margin: 10px 0 4px; gap: 16px; }
.auth-dialog .head-auth-check--document,
.head-auth-page .head-auth-check--document {
  display: grid !important; grid-template-columns: 20px minmax(0,1fr);
  align-items: start; gap: 12px !important; padding: 0 !important;
  border: 0 !important; background: transparent !important;
  font-size: 14px; line-height: 1.55; color: #555f70;
}
.auth-dialog .head-auth-check--document input,
.head-auth-page .head-auth-check--document input {
  appearance: auto; width: 20px !important; height: 20px !important;
  min-height: 20px !important; margin: 2px 0 0 !important;
  accent-color: #0969ff; border-radius: 5px;
}
.head-auth-check--document a { font-weight: 550; text-underline-offset: 3px; }
.auth-dialog .auth-submit { margin-top: 16px; }
.support-centre, .support-centre__chat, .support-centre__main { min-width: 0; }
.support-reply-form {
  display: grid !important; grid-template-columns: 40px minmax(0,1fr) 44px !important;
  align-items: end; gap: 10px; width: 100%; box-sizing: border-box;
  background: #fff; color: #161b25;
}
.support-reply-form textarea {
  width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box;
  margin: 0; background: #f5f7fa; color: #161b25; resize: vertical;
  border: 1px solid #e0e5ec; font-size: 15px; line-height: 1.45;
}
.support-reply-form textarea::placeholder { color: #707b8c; opacity: 1; }
.support-attach, .support-send { flex-shrink: 0; }
.support-reply-form .support-attach { align-self: center; justify-content: center; }
.site-header .wordmark { background: transparent !important; }
.site-header .wordmark__image { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 16px; background: transparent !important; }
.site-header .wordmark { width: 64px; min-width: 64px; flex: 0 0 64px; }
.site-header { margin-bottom: 20px; }
.email-confirm-screen { min-height: 70vh; display: grid; place-items: center; padding: 36px 20px 64px; }
body[data-route="email-confirm"] :is(.site-header,.site-footer,.mobile-bottom-nav,.mobile-nav,.bottom-nav){display:none!important}
body[data-route="email-confirm"] .email-confirm-screen{min-height:100dvh}
@media(min-width:981px){.site-header__inner{grid-template-columns:64px minmax(240px,1fr) auto!important;gap:24px!important}}
.email-confirm-card { max-width: 560px; width: 100%; text-align: center; background: #fff; color: #151a24; border-radius: 32px; padding: clamp(24px,5vw,48px); box-sizing: border-box; box-shadow: 0 18px 70px #132a5010; }
.email-confirm-card img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 22px; }
.email-confirm-card h1 { font-size: clamp(28px,4vw,40px); line-height: 1.15; margin: 0 0 20px; }
.email-confirm-card p { color: #697387; line-height: 1.6; font-size: 16px; }
.email-confirm-address { display: block; overflow-wrap: anywhere; color: #161b25; font-size: 18px; margin: 16px 0 22px; }
.email-confirm-card .button { margin-top: 14px; }
@media(max-width:700px) {
  .site-header .wordmark__image { width: 48px !important; height: 48px !important; border-radius: 12px; }
  .site-header .wordmark { width: 48px; min-width: 48px; flex-basis: 48px; }
  .site-header { margin-bottom: 12px; }
  .support-reply-form { padding: 12px !important; gap: 6px; grid-template-columns: 32px minmax(0,1fr) 40px !important; }
  .support-reply-form textarea { font-size: 16px; }
  .auth-dialog .head-auth-check--document { font-size: 13px; }
}
