body .cabinet-auth .auth-main {
  width: min(100%, 470px);
  margin-inline: auto;
  min-height: 100svh;
  display: block;
  padding: max(34px, env(safe-area-inset-top)) 22px max(28px, env(safe-area-inset-bottom));
  box-sizing: border-box;
}
body .cabinet-auth .auth-form {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: none;
  padding: clamp(14px, 7svh, 62px) 0 0;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}
body .cabinet-auth .cabinet-brand { gap: 10px; font-size: 14px; }
body .cabinet-auth .cabinet-brand img {
  width: clamp(88px, 26vw, 120px);
  height: auto;
  aspect-ratio: 1;
  display: block;
  border-radius: 50%;
  filter: none !important;
  opacity: 1;
}
body .cabinet-auth h1 {
  font-size: clamp(25px, 6vw, 33px);
  line-height: 1.13;
  margin: 25px 0 10px;
  text-wrap: balance;
}
body .cabinet-auth .auth-subtitle { margin: 0 auto 26px; text-align: center; }
body .cabinet-auth .cabinet-auth-actions { gap: 12px; }
body .cabinet-auth .cabinet-auth-actions p { margin: 10px 0 0; text-align: center; }
body .cabinet-auth form { text-align: center; }
body .cabinet-auth form :is(label, small, p) { text-align: center; }
body .cabinet-auth .cabinet-back { inset: 0 auto auto 0; min-width: 44px; min-height: 44px; }
body[data-role=""] .cabinet-auth button.btn {
  min-height: 52px;
  border-radius: 999px;
}
body[data-role=""] .cabinet-auth button.btn.cabinet-telegram,
body[data-role=""] .cabinet-auth button.btn.cabinet-whatsapp {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: white !important;
  border: 1px solid transparent;
  box-shadow: none;
}
body[data-role=""] .cabinet-auth button.btn.cabinet-telegram { background: #09688b !important; }
body[data-role=""] .cabinet-auth button.btn.cabinet-whatsapp { background: #087449 !important; }
.cabinet-auth :is(.cabinet-telegram,.cabinet-whatsapp) .ui-icon { width: 18px; height: 18px; flex: none; }
.cabinet-auth .client-auth-consent { justify-content: center; }
html body #welcome-screen img {
  width: clamp(96px, 29vw, 132px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: none;
  box-shadow: none;
}
html body #welcome-screen::before { display: none; }

body .cabinet-auth .auth-main { display:flex; flex-direction:column; }
body .cabinet-auth .auth-form { flex:0 0 auto; }
body .cabinet-auth .cabinet-brand img { width:clamp(92px, 27vw, 128px); }
body[data-role=""] .cabinet-auth button.btn {
  min-height:56px;
  font-size:16px;
  line-height:1.2;
}
body[data-role=""] .cabinet-auth :is(.cabinet-telegram,.cabinet-whatsapp) .ui-icon {
  width:20px; height:20px; color:#fff !important; fill:currentColor;
}
.cabinet-auth .cabinet-auth-legal {
  margin-top:auto; padding-top:40px;
  text-align:center; color:var(--text); font-size:12px; line-height:1.5;
}
.cabinet-auth-legal p { margin:0 0 5px; color:var(--muted); }
.cabinet-auth-legal div { display:flex; flex-wrap:wrap; justify-content:center; gap:0 12px; }
.cabinet-auth-legal a { display:inline-flex; align-items:center; min-height:32px; color:inherit; text-decoration:underline; text-underline-offset:2px; }

body[data-role=""] .cabinet-auth :is(.cabinet-telegram,.cabinet-whatsapp).btn {
  min-height:48px;
  width:min(100%, 350px);
  justify-self:center;
  display:inline-grid;
  grid-template-columns:18px auto 18px;
  column-gap:8px;
  font-size:15px;
  text-align:center;
}
body[data-role=""] .cabinet-auth :is(.cabinet-telegram,.cabinet-whatsapp) .ui-icon {
  width:18px; height:18px;
}
body .cabinet-auth .cabinet-auth-legal {
  align-self:center; width:100%; max-width:none;
  margin-inline:0; padding-inline:0; text-align:center;
}
body .cabinet-auth .cabinet-auth-legal > :is(p, div) {
  width:100%; margin-inline:auto; text-align:center;
}
body .cabinet-auth .cabinet-auth-legal > div {justify-content:center;}

.work-role .belek-work-menu { max-width:560px; margin:0 auto; padding:12px 0 24px; }
.work-role .belek-work-menu h1 { font-size:28px; margin:0 0 22px; }
.work-role .belek-work-menu h2 { font-size:14px; color:var(--muted); margin:18px 10px 7px; }
.work-role .belek-work-menu-list { display:grid; border:1px solid var(--line); background:var(--surface); border-radius:16px; overflow:hidden; }
.work-role .belek-work-menu-list button { width:100%; min-height:48px; display:flex; align-items:center; gap:10px; padding:10px 14px; border:0; border-radius:0; text-align:left; background:transparent; color:var(--text); }
.work-role .belek-work-menu-list button+button { border-top:1px solid var(--line); }
.work-role .belek-work-menu-list button:hover { background:var(--surface2); }
