/* Production authentication: approved «Цветной контур», section-colors.html. */
#ds-auth-root{--contour:#4CA3DB;--tint:#EDF6FB;--action:#176798;--action-hover:#10527C;--paper:#fff;--ink:#18232b;--muted:#596671;--line:#DFE2E6;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5;color:var(--ink);text-transform:none;letter-spacing:normal}
#ds-auth-root[data-section=partners]{--contour:#519441;--tint:#F1F7EF;--action:#427E35;--action-hover:#386D2D}
#ds-auth-root *{box-sizing:border-box;font-family:inherit}
#ds-auth-root [hidden]{display:none!important}
#ds-auth-root button,#ds-auth-root input{font:inherit;text-transform:none;letter-spacing:normal;float:none;height:auto;margin:0;box-shadow:none}
#ds-auth-root button{cursor:pointer}
#ds-auth-root button:disabled{cursor:default;opacity:.65}
#ds-auth-root :focus-visible{outline:3px solid var(--contour)!important;outline-offset:3px!important}
#ds-auth-root dialog{position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);border:1px solid var(--contour);border-left:4px solid var(--contour);border-radius:6px;padding:0;background:#fff;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #16202b35;color:var(--ink)}
#ds-auth-root dialog:not([open]){display:none}
#ds-auth-root dialog::backdrop{background:#17243280}
body.ds-auth-modal-open{overflow:hidden!important}
#ds-auth-root .window-top{position:sticky;top:0;z-index:2;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 8px 28px}
#ds-auth-root .brand{font-size:18px;font-weight:600;letter-spacing:-.8px}
#ds-auth-root .close{display:grid;place-items:center;flex:none;width:44px;height:44px;font-size:25px;font-weight:400;line-height:1;color:var(--muted);background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:0}
#ds-auth-root .close:hover{background:var(--tint)}
#ds-auth-root .form-heading{padding:18px 28px 22px;background:linear-gradient(110deg,#fff 25%,var(--tint));border-bottom:1px solid var(--line)}
#ds-auth-root .eyebrow{display:block;border-left:2px solid var(--contour);padding-left:9px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;font-weight:500}
#ds-auth-root h2{text-transform:none!important;font-size:30px;line-height:1.13;letter-spacing:-.045em;font-weight:650;margin:0 0 10px;color:var(--ink)}
#ds-auth-root .form-heading p{font-size:14px;color:var(--muted);margin:0}
#ds-auth-root .form-content{padding:24px 28px 20px}
#ds-auth-root .field{margin:0 0 20px}
#ds-auth-root .field>label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}
#ds-auth-root .field input{width:100%;min-width:0;min-height:50px;border:1px solid #b8c7d1;border-radius:6px;padding:11px 13px;color:var(--ink);background:var(--paper);font-size:16px;box-shadow:none}
#ds-auth-root input::placeholder{color:#69747c}
#ds-auth-root .password{display:flex;align-items:center;border:1px solid #b8c7d1;border-radius:6px;background:var(--paper)}
#ds-auth-root .password input{border:0;background:transparent;min-height:48px}
#ds-auth-root .password button{border:0;background:transparent;padding:10px 12px;min-height:44px;color:var(--action);font-size:12px;flex:none}
#ds-auth-root .field-help,#ds-auth-root .field-error{font-size:12px;line-height:1.5;margin:8px 0 0;color:var(--muted)}
#ds-auth-root .field-error{color:#a51c30}
#ds-auth-root input[aria-invalid=true],#ds-auth-root .password:has(input[aria-invalid=true]){border-color:#bd3046}
#ds-auth-root .password input[aria-invalid=true]{box-shadow:none}
#ds-auth-root .auth-forgot{display:flex;justify-content:flex-end;margin:-14px 0 14px}
#ds-auth-root .text-action{border:0;background:transparent;padding:5px 0;min-height:36px;color:var(--action);font-size:14px;font-weight:500;text-decoration:none}
#ds-auth-root .text-action:hover,#ds-auth-root a:hover{text-decoration:underline;text-underline-offset:3px}
#ds-auth-root .primary{display:flex;align-items:center;justify-content:center;gap:15px;width:100%;min-height:50px;padding:12px 15px;background:var(--action);border:1px solid var(--action);border-radius:6px;color:#fff;font-size:15px;line-height:1.5;font-weight:500}
#ds-auth-root .primary:hover:not(:disabled){background:var(--action-hover)}
#ds-auth-root .consent{margin:0 0 20px}
#ds-auth-root .consent label{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.6;min-height:32px}
#ds-auth-root .consent input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--action);flex:none}
#ds-auth-root a{color:var(--action);text-decoration:underline;text-underline-offset:3px}
#ds-auth-root .service-note{font-size:12px;line-height:1.6;margin:14px 0 0;color:var(--muted)}
#ds-auth-root .form-footer{padding:14px 22px;background:var(--tint);border-top:1px solid var(--line);text-align:center;font-size:13px;color:var(--muted)}
#ds-auth-root .form-footer button{margin-left:4px}
#ds-auth-root .notice{padding:12px 14px;border:1px solid #e4a6b1;border-left:3px solid #bd3046;border-radius:6px;background:#fff4f5;color:#921c2d;font-size:13px;line-height:1.6;margin-bottom:20px}
#ds-auth-root .status{color:var(--action);font-size:12px;margin:12px 0 0}
#ds-auth-root .status:empty{display:none}
#ds-auth-root .body-copy{font-size:14px;line-height:1.7;color:var(--muted);margin:0 0 22px}
#ds-auth-root .recipient{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:0 0 22px;display:flex;flex-direction:column;align-items:flex-start}
#ds-auth-root .recipient>span{font-size:12px;color:var(--muted)}
#ds-auth-root .recipient strong{font-size:16px;font-weight:500;overflow-wrap:anywhere;max-width:100%;margin-top:4px}
#ds-auth-root .mail-sign{width:48px;height:48px;display:grid;place-items:center;background:var(--tint);border:1px solid var(--contour);border-radius:6px;font-size:26px;color:var(--action);margin-bottom:20px}
#ds-auth-root .pending-note{margin:18px 0 0;padding-left:10px;border-left:2px solid var(--contour);font-size:12px;color:var(--muted)}

#ds-auth-root .form-footer{margin:22px -28px -20px}
#ds-auth-root .secondary{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;padding:12px 15px;background:#fff;border:1px solid #b8c7d1;border-radius:6px;color:var(--action);font-size:15px;font-weight:600;text-decoration:none;margin-top:10px}
#ds-auth-root .notice a{color:inherit}
#ds-auth-root .close{position:static;float:none}
#ds-auth-root .consent input{appearance:auto;opacity:1;position:static;display:inline-block}
#ds-auth-root input[aria-invalid=true]{background:#fff4f5;outline-color:#bd3046}
#ds-auth-root .native-frame{display:block;width:100%;height:410px;border:0;background:white}
#ds-auth-root .loading{min-height:100px;display:flex;align-items:center;justify-content:center;color:var(--muted)}
@media(max-width:540px){#ds-auth-root dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}#ds-auth-root .form-heading,#ds-auth-root .form-content{padding-left:24px;padding-right:24px}#ds-auth-root .form-footer{margin-left:-24px;margin-right:-24px}#ds-auth-root .text-action{min-height:44px}#ds-auth-root .consent label{min-height:44px}#ds-auth-root h2{text-transform:none!important;font-size:28px}}
html.ds-auth-native #header,html.ds-auth-native #footer,html.ds-auth-native #ds-auth-root,html.ds-auth-native .ds-ui-skip{display:none!important}
html.ds-auth-native #wrap,html.ds-auth-native #content,html.ds-auth-native .type_block{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important}
html.ds-auth-native .type_block h2{display:none!important}
html.ds-auth-native table,html.ds-auth-native tbody,html.ds-auth-native tr,html.ds-auth-native td{display:block!important;width:100%!important;border:0!important;padding:0!important;background:#fff!important}
html.ds-auth-native td{font:14px/1.5 Inter,Arial,sans-serif!important;color:#18232b!important}
html.ds-auth-native input:not([type=hidden]):not([type=checkbox]){width:100%!important;min-height:50px!important;padding:12px!important;margin:6px 0 14px!important;border:1px solid #b8c7d1!important;border-radius:6px!important;font:16px/1.5 Inter,Arial,sans-serif!important;background:#fff!important;color:#18232b!important}
html.ds-auth-native[data-ds-auth-section] input[type=submit]{background:#176798!important;color:white!important;cursor:pointer}
html.ds-auth-native[data-ds-auth-section=partners] input[type=submit]{background:#427E35!important}
html.ds-auth-native [hidden]{display:none!important}
html.ds-auth-native input[type=hidden]{display:none!important}
html.ds-auth-native img{max-width:100%}
html.ds-auth-native .overlay,html.ds-auth-native .modal-w{display:none!important}
.ds-auth-route-start{max-width:640px;margin:40px auto;padding:28px;border:1px solid #DFE2E6;border-top:4px solid #519441;background:#fff;border-radius:6px}
.ds-auth-route-start h1{font-size:28px!important}
.ds-auth-route-start p{margin:16px 0}

#ds-auth-root #ds-auth-title:focus{outline:none!important}
#ds-auth-root a.primary,#ds-auth-root a.secondary{text-decoration:none!important}
.ds-auth-route-start h1{text-transform:none!important}
