:root {
  color-scheme: light;
  --uc-violet: #5b4dff;
  --uc-violet-strong: #4538e8;
  --uc-violet-soft: #efedff;
  --uc-page: #f7f7fb;
  --uc-surface: #ffffff;
  --uc-surface-alt: #f1f1f7;
  --uc-ink: #202033;
  --uc-muted: #6e7082;
  --uc-line: #e4e4ec;
  --uc-success: #13a66b;
  --uc-danger: #d7495e;
  --uc-shadow: 0 18px 50px rgb(29 26 63 / 9%);
  --uc-radius: 18px;
  --uc-font: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --uc-violet: #9087ff;
  --uc-violet-strong: #aba5ff;
  --uc-violet-soft: #2d2b56;
  --uc-page: #171720;
  --uc-surface: #20202b;
  --uc-surface-alt: #292936;
  --uc-ink: #f0f0f7;
  --uc-muted: #a9a9bb;
  --uc-line: #373745;
  --uc-success: #4bd49a;
  --uc-danger: #ff8292;
  --uc-shadow: 0 20px 54px rgb(0 0 0 / 28%);
}

* { box-sizing: border-box; }

html,
body { min-height: 100%; }

body.unitcalc-cabinet-body {
  min-width: 320px;
  margin: 0;
  background: var(--uc-page);
  color: var(--uc-ink);
  font: 14px/1.45 var(--uc-font);
}

button,
input { font: inherit; }

button { color: inherit; }

a { color: inherit; }

.uc-icon { display: block; flex: 0 0 auto; }

.uc-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--uc-ink);
  text-decoration: none;
}

.uc-logo-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 4px);
  align-items: end;
  width: 30px;
  height: 30px;
  gap: 3px;
  padding: 7px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--uc-violet), #9c68ff);
  box-shadow: 0 6px 16px rgb(91 77 255 / 28%);
}

.uc-logo-mark i { display: block; border-radius: 4px; background: #fff; }
.uc-logo-mark i:nth-child(1) { height: 9px; opacity: .72; }
.uc-logo-mark i:nth-child(2) { height: 15px; }
.uc-logo-mark i:nth-child(3) { height: 11px; opacity: .88; }

.uc-logo-text { font-size: 18px; font-weight: 800; letter-spacing: -.045em; }
.uc-logo-text span { color: var(--uc-violet); }

.uc-boot-screen {
  display: grid;
  min-height: 100vh;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: var(--uc-muted);
}

.uc-boot-brand { color: var(--uc-ink); }
.uc-spinner,
.uc-button-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: uc-spin .7s linear infinite;
}
.uc-button-spinner { width: 17px; height: 17px; }
@keyframes uc-spin { to { transform: rotate(360deg); } }

.uc-icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--uc-muted);
  cursor: pointer;
  transition: .18s ease;
}
.uc-icon-button:hover,
.uc-icon-button.is-selected { border-color: var(--uc-line); background: var(--uc-surface-alt); color: var(--uc-violet); }
.uc-icon-button:focus-visible,
.uc-button:focus-visible,
.uc-language-switch:focus-visible,
.uc-nav-item:focus-visible,
.uc-link-button:focus-visible,
.uc-field input:focus-visible { outline: 3px solid rgb(91 77 255 / 24%); outline-offset: 2px; }

.uc-theme-control {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--uc-line);
  border-radius: 12px;
  background: var(--uc-surface);
}
.uc-theme-control .uc-icon-button { width: 29px; height: 29px; border: 0; border-radius: 8px; }

.uc-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--uc-line);
  border-radius: 10px;
  background: var(--uc-surface);
  color: var(--uc-muted);
  cursor: pointer;
}
.uc-language-switch:hover { color: var(--uc-violet); border-color: color-mix(in srgb, var(--uc-violet) 35%, var(--uc-line)); }

/* Authentication */
.uc-auth-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(440px, 45%) minmax(0, 55%);
  background: var(--uc-surface);
}
.uc-auth-panel { position: relative; display: flex; min-height: 100vh; flex-direction: column; padding: 30px clamp(32px, 7vw, 116px) 34px; background: var(--uc-surface); }
.uc-auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.uc-auth-preferences,
.uc-topbar__actions { display: flex; align-items: center; gap: 10px; }
.uc-auth-panel__content { width: min(100%, 408px); margin: auto 0; padding: 64px 0; }
.uc-auth-kicker { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 20px; color: var(--uc-violet); font-size: 12px; font-weight: 760; letter-spacing: .03em; }
.uc-auth-form h1 { margin: 0 0 10px; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.11; letter-spacing: -.052em; }
.uc-auth-lead { max-width: 370px; margin: 0 0 28px; color: var(--uc-muted); line-height: 1.55; }
.uc-auth-email-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; margin: 0 0 14px; padding: 6px 9px; overflow: hidden; border-radius: 8px; background: var(--uc-surface-alt); color: var(--uc-muted); font-size: 12px; }
.uc-auth-email-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-auth-cover { position: relative; min-width: 0; overflow: hidden; background: #221c39; }
.uc-auth-cover > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.uc-auth-cover__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(22 15 45 / 15%) 0%, rgb(21 13 49 / 24%) 42%, rgb(18 12 42 / 84%) 100%); }
.uc-auth-cover__copy { position: absolute; right: clamp(32px, 7vw, 105px); bottom: clamp(36px, 8vh, 88px); left: clamp(32px, 7vw, 105px); max-width: 530px; color: #fff; }
.uc-auth-cover__copy p { margin: 0 0 13px; color: rgb(255 255 255 / 68%); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.uc-auth-cover__copy h2 { max-width: 500px; margin: 0 0 16px; font-size: clamp(29px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -.055em; }
.uc-auth-cover__copy span { display: block; max-width: 470px; color: rgb(255 255 255 / 78%); line-height: 1.6; }

.uc-field { display: grid; gap: 7px; margin: 0 0 17px; color: var(--uc-ink); font-weight: 650; font-size: 13px; }
.uc-field input {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid var(--uc-line);
  border-radius: 10px;
  background: var(--uc-surface);
  color: var(--uc-ink);
  font-weight: 500;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.uc-field input::placeholder { color: color-mix(in srgb, var(--uc-muted) 70%, transparent); }
.uc-field input:hover { border-color: color-mix(in srgb, var(--uc-violet) 35%, var(--uc-line)); }
.uc-field input:focus { border-color: var(--uc-violet); box-shadow: 0 0 0 3px rgb(91 77 255 / 14%); outline: none; }
.uc-input-with-icon { position: relative; color: var(--uc-muted); }
.uc-input-with-icon .uc-icon { position: absolute; top: 13px; left: 13px; pointer-events: none; }
.uc-input-with-icon input { padding-left: 42px; }

.uc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 720;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.uc-button:hover:not(:disabled) { transform: translateY(-1px); }
.uc-button:disabled { cursor: wait; opacity: .68; }
.uc-button--primary { background: var(--uc-violet); color: #fff; box-shadow: 0 8px 18px rgb(91 77 255 / 25%); }
.uc-button--primary:hover:not(:disabled) { background: var(--uc-violet-strong); box-shadow: 0 10px 22px rgb(91 77 255 / 31%); }
.uc-button--secondary { border-color: color-mix(in srgb, var(--uc-violet) 30%, var(--uc-line)); background: var(--uc-violet-soft); color: var(--uc-violet); }
.uc-button--ghost { background: transparent; color: var(--uc-muted); }
.uc-button--ghost:hover { background: var(--uc-surface-alt); color: var(--uc-ink); }
.uc-button--block { width: 100%; }
.uc-form-error { margin: -5px 0 12px; color: var(--uc-danger); font-size: 12px; font-weight: 600; }
.uc-auth-note { display: flex; align-items: flex-start; gap: 7px; margin: 17px 0 0; color: var(--uc-muted); font-size: 12px; line-height: 1.45; }
.uc-auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--uc-muted); font-size: 11px; }
.uc-auth-divider::before,
.uc-auth-divider::after { height: 1px; flex: 1; background: var(--uc-line); content: ""; }
.uc-auth-future-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.uc-auth-method { display: grid; min-height: 48px; grid-template-columns: 27px minmax(0, 1fr); column-gap: 8px; align-items: center; padding: 7px 9px; border: 1px solid var(--uc-line); border-radius: 10px; background: var(--uc-surface); color: var(--uc-muted); text-align: left; opacity: .62; cursor: not-allowed; }
.uc-auth-method > span:not(.uc-auth-method__mark) { overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.uc-auth-method small { grid-column: 2; color: var(--uc-muted); font-size: 10px; }
.uc-auth-method__mark { display: grid; width: 27px; height: 27px; grid-row: span 2; place-items: center; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 850; }
.uc-auth-method__mark--wechat { background: #20a76e; }
.uc-auth-method__mark--alipay { background: #1688e8; }
.uc-expiry { margin: -5px 0 15px; color: var(--uc-muted); font-size: 12px; }
.uc-expiry strong { color: var(--uc-ink); }
.uc-auth-actions { display: flex; justify-content: space-between; margin-top: 16px; }
.uc-link-button { padding: 3px 0; border: 0; background: transparent; color: var(--uc-violet); font-size: 13px; font-weight: 650; cursor: pointer; }
.uc-link-button:hover { color: var(--uc-violet-strong); text-decoration: underline; }

/* Application shell */
.uc-app-shell { display: grid; min-height: 100vh; grid-template-columns: 262px minmax(0, 1fr); background: var(--uc-page); transition: grid-template-columns .2s ease; }
.uc-app-shell.has-collapsed-sidebar { grid-template-columns: 78px minmax(0, 1fr); }
.uc-sidebar { position: sticky; z-index: 20; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 16px 12px; overflow: hidden; border-right: 1px solid var(--uc-line); background: var(--uc-surface); }
.uc-sidebar__top { display: flex; align-items: center; justify-content: space-between; min-width: 238px; min-height: 42px; padding: 0 4px 22px; }
.uc-sidebar__collapse { transform: rotate(180deg); }
.uc-sidebar.is-collapsed .uc-sidebar__collapse { transform: rotate(0); }
.uc-nav { display: grid; gap: 3px; }
.uc-nav-section { margin: 18px 9px 7px; color: var(--uc-muted); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.uc-nav-item { display: flex; align-items: center; width: 100%; min-width: 238px; min-height: 43px; gap: 12px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--uc-muted); text-align: left; cursor: pointer; transition: background .17s ease, color .17s ease; }
.uc-nav-item:hover:not(.is-disabled) { background: var(--uc-surface-alt); color: var(--uc-ink); }
.uc-nav-item.is-active { background: var(--uc-violet-soft); color: var(--uc-violet); font-weight: 720; }
.uc-nav-item.is-disabled { cursor: default; opacity: .58; }
.uc-nav-item__icon { display: grid; width: 22px; place-items: center; }
.uc-nav-item__label { white-space: nowrap; }
.uc-nav-item__badge { margin-left: auto; padding: 2px 6px; border-radius: 5px; background: var(--uc-surface-alt); color: var(--uc-muted); font-size: 10px; }
.uc-sidebar__bottom { display: grid; gap: 5px; margin-top: auto; min-width: 238px; }
.uc-account-card { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px; border-top: 1px solid var(--uc-line); }
.uc-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: linear-gradient(145deg, var(--uc-violet), #9c68ff); color: #fff; font-weight: 800; }
.uc-account-card__meta { display: grid; min-width: 0; gap: 1px; }
.uc-account-card__meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.uc-account-card__meta small { overflow: hidden; color: var(--uc-muted); text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.uc-sidebar.is-collapsed .uc-logo-text,
.uc-sidebar.is-collapsed .uc-sidebar__collapse,
.uc-sidebar.is-collapsed .uc-nav-section,
.uc-sidebar.is-collapsed .uc-nav-item__label,
.uc-sidebar.is-collapsed .uc-nav-item__badge,
.uc-sidebar.is-collapsed .uc-account-card__meta { opacity: 0; pointer-events: none; }
.uc-sidebar.is-collapsed .uc-sidebar__top { justify-content: center; min-width: 0; padding-right: 0; padding-left: 0; }
.uc-sidebar.is-collapsed .uc-nav-item { min-width: 0; justify-content: center; padding: 0; }
.uc-sidebar.is-collapsed .uc-sidebar__bottom { min-width: 0; }
.uc-sidebar.is-collapsed .uc-account-card { justify-content: center; padding: 10px 0; }

.uc-app-main { min-width: 0; }
.uc-topbar { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 14px; padding: 0 30px; border-bottom: 1px solid var(--uc-line); background: color-mix(in srgb, var(--uc-surface) 92%, transparent); }
.uc-topbar__crumb { display: flex; align-items: center; gap: 9px; color: var(--uc-muted); font-size: 13px; }
.uc-topbar__crumb strong { color: var(--uc-ink); font-weight: 680; }
.uc-topbar__divider { color: var(--uc-line); }
.uc-mobile-menu { display: none; }
.uc-signout { margin-left: 2px; }

.uc-page { width: min(1320px, 100%); margin: 0 auto; padding: 34px 30px 52px; }
.uc-hero { position: relative; display: flex; align-items: flex-end; justify-content: space-between; min-height: 166px; margin-bottom: 22px; padding: 30px 32px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--uc-violet) 16%, var(--uc-line)); border-radius: var(--uc-radius); background: linear-gradient(110deg, var(--uc-surface), color-mix(in srgb, var(--uc-violet-soft) 72%, var(--uc-surface))); }
.uc-hero__copy { position: relative; z-index: 1; max-width: 690px; }
.uc-eyebrow { margin: 0 0 8px; color: var(--uc-violet); font-size: 11px; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.uc-hero h1 { margin: 0 0 9px; font-size: clamp(27px, 4vw, 38px); line-height: 1.1; letter-spacing: -.045em; }
.uc-hero__copy > p:last-child { max-width: 670px; margin: 0; color: var(--uc-muted); font-size: 15px; }
.uc-hero__accent { position: absolute; right: 43px; bottom: -42px; display: flex; align-items: end; gap: 13px; height: 146px; opacity: .36; transform: rotate(12deg); }
.uc-hero__accent span { width: 23px; border-radius: 99px 99px 5px 5px; background: var(--uc-violet); }
.uc-hero__accent span:nth-child(1) { height: 65px; }
.uc-hero__accent span:nth-child(2) { height: 120px; }
.uc-hero__accent span:nth-child(3) { height: 86px; }
.uc-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; }
.uc-dashboard-grid__primary { display: grid; gap: 22px; }

.uc-empty-connection,
.uc-connections-summary,
.uc-next-steps,
.uc-safety-panel { border: 1px solid var(--uc-line); border-radius: var(--uc-radius); background: var(--uc-surface); box-shadow: 0 2px 8px rgb(25 23 54 / 2%); }
.uc-empty-connection { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: center; gap: 20px; min-height: 258px; padding: 30px; }
.uc-empty-connection__graphic { position: relative; width: 132px; height: 132px; justify-self: center; }
.uc-empty-ring { position: absolute; inset: 14px; border: 1px dashed color-mix(in srgb, var(--uc-violet) 42%, var(--uc-line)); border-radius: 50%; }
.uc-empty-plug { position: absolute; inset: 39px; display: grid; place-items: center; border-radius: 18px; background: var(--uc-violet-soft); color: var(--uc-violet); }
.uc-empty-node { position: absolute; width: 11px; height: 11px; border: 3px solid var(--uc-surface); border-radius: 99px; background: var(--uc-violet); box-shadow: 0 0 0 1px rgb(91 77 255 / 24%); }
.uc-empty-node--one { top: 16px; right: 19px; }
.uc-empty-node--two { bottom: 15px; left: 18px; }
.uc-empty-connection h2,
.uc-connections-summary h2,
.uc-next-steps h2,
.uc-safety-panel h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.025em; }
.uc-empty-connection__content > p:not(.uc-eyebrow),
.uc-section-heading p:not(.uc-eyebrow) { max-width: 570px; margin: 0 0 19px; color: var(--uc-muted); }

.uc-connections-summary { padding: 27px; }
.uc-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.uc-connections-list { display: grid; gap: 10px; }
.uc-connection-card { display: flex; min-height: 76px; align-items: center; gap: 13px; padding: 12px; border: 1px solid var(--uc-line); border-radius: 13px; background: var(--uc-surface-alt); }
.uc-market-logo { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #fff; font-size: 20px; font-weight: 850; }
.uc-market-logo--ozon { background: linear-gradient(150deg, #0458f7, #2b94ff); }
.uc-connection-card__body { min-width: 0; }
.uc-connection-card__body h3 { margin: 0; font-size: 14px; }
.uc-connection-card__body p { margin: 2px 0 0; color: var(--uc-muted); font-size: 12px; }
.uc-connection-card__status { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--uc-muted); font-size: 12px; white-space: nowrap; }
.uc-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #d4a840; }
.uc-status-dot.is-verified { background: var(--uc-success); }

.uc-next-steps { padding: 27px; }
.uc-next-steps ol { display: grid; gap: 13px; margin: 20px 0 0; padding: 0; list-style: none; }
.uc-next-steps li { display: flex; align-items: center; gap: 11px; }
.uc-next-steps li > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: var(--uc-violet-soft); color: var(--uc-violet); font-size: 12px; font-weight: 800; }
.uc-next-steps li p { margin: 0; color: var(--uc-muted); }

.uc-safety-panel { align-self: start; padding: 23px; }
.uc-safety-panel__icon { display: grid; width: 43px; height: 43px; margin-bottom: 18px; place-items: center; border-radius: 13px; background: var(--uc-violet-soft); color: var(--uc-violet); }
.uc-safety-panel h2 { font-size: 17px; }
.uc-safety-panel ul { display: grid; gap: 12px; margin: 15px 0 0; padding: 0; list-style: none; color: var(--uc-muted); font-size: 13px; }
.uc-safety-panel li { position: relative; padding-left: 16px; }
.uc-safety-panel li::before { position: absolute; top: .52em; left: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--uc-violet); content: ""; }
.uc-safety-panel__divider { height: 1px; margin: 20px 0 15px; background: var(--uc-line); }
.uc-inline-link { display: inline-flex; align-items: center; gap: 7px; color: var(--uc-violet); font-size: 13px; font-weight: 700; text-decoration: none; }
.uc-inline-link:hover { color: var(--uc-violet-strong); }

/* Dialog and notifications */
.uc-dialog { width: min(100% - 32px, 510px); padding: 0; border: 1px solid var(--uc-line); border-radius: 20px; background: var(--uc-surface); color: var(--uc-ink); box-shadow: 0 26px 90px rgb(0 0 0 / 26%); }
.uc-dialog::backdrop { background: rgb(19 18 31 / 48%); backdrop-filter: blur(2px); }
.uc-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; margin: 0; padding: 23px 24px 18px; border-bottom: 1px solid var(--uc-line); }
.uc-dialog__header > div { display: flex; align-items: center; gap: 11px; }
.uc-dialog__header .uc-market-logo { width: 38px; height: 38px; }
.uc-dialog__header .uc-eyebrow { margin-bottom: 2px; font-size: 9px; }
.uc-dialog__header h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.uc-dialog__form { padding: 22px 24px 24px; }
.uc-dialog__lead { margin: 0 0 20px; color: var(--uc-muted); font-size: 13px; line-height: 1.55; }
.uc-dialog__security { display: flex; gap: 8px; margin: 1px 0 17px; padding: 10px; border-radius: 9px; background: var(--uc-surface-alt); color: var(--uc-muted); font-size: 12px; }
.uc-dialog__security .uc-icon { color: var(--uc-violet); }
.uc-dialog__actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.uc-toast { position: fixed; z-index: 50; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; width: min(calc(100% - 32px), 410px); padding: 11px 10px 11px 14px; border: 1px solid var(--uc-line); border-radius: 13px; background: var(--uc-surface); box-shadow: var(--uc-shadow); animation: uc-toast-in .22s ease-out; }
.uc-toast > .uc-icon { color: var(--uc-success); }
.uc-toast--error > .uc-icon { color: var(--uc-danger); }
.uc-toast span { flex: 1; font-size: 13px; font-weight: 600; }
.uc-toast .uc-icon-button { width: 28px; height: 28px; }
@keyframes uc-toast-in { from { opacity: 0; transform: translateY(9px); } }

.uc-sidebar-scrim { display: none; }

@media (max-width: 1080px) {
  .uc-dashboard-grid { grid-template-columns: 1fr; }
  .uc-safety-panel { display: grid; grid-template-columns: 43px 1fr; column-gap: 14px; }
  .uc-safety-panel__icon { margin: 0; }
  .uc-safety-panel__divider,
  .uc-inline-link { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .uc-auth-page { display: block; }
  .uc-auth-panel { min-height: 100svh; padding-right: clamp(32px, 14vw, 150px); padding-left: clamp(32px, 14vw, 150px); }
  .uc-auth-cover { display: none; }
}

@media (max-width: 780px) {
  .uc-app-shell,
  .uc-app-shell.has-collapsed-sidebar { display: block; }
  .uc-sidebar { position: fixed; width: 273px; max-width: calc(100vw - 45px); transform: translateX(-105%); box-shadow: var(--uc-shadow); transition: transform .22s ease; }
  body.uc-mobile-sidebar-open { overflow: hidden; }
  body.uc-mobile-sidebar-open .uc-sidebar { transform: translateX(0); }
  .uc-sidebar-scrim { position: fixed; z-index: 19; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgb(15 14 25 / 38%); opacity: 0; pointer-events: none; transition: opacity .22s ease; }
  body.uc-mobile-sidebar-open .uc-sidebar-scrim { display: block; opacity: 1; pointer-events: auto; }
  .uc-sidebar.is-collapsed .uc-logo-text,
  .uc-sidebar.is-collapsed .uc-sidebar__collapse,
  .uc-sidebar.is-collapsed .uc-nav-section,
  .uc-sidebar.is-collapsed .uc-nav-item__label,
  .uc-sidebar.is-collapsed .uc-nav-item__badge,
  .uc-sidebar.is-collapsed .uc-account-card__meta { opacity: 1; pointer-events: auto; }
  .uc-sidebar.is-collapsed .uc-sidebar__top { justify-content: space-between; min-width: 238px; padding-right: 4px; padding-left: 4px; }
  .uc-sidebar.is-collapsed .uc-nav-item { min-width: 238px; justify-content: flex-start; padding: 0 10px; }
  .uc-sidebar.is-collapsed .uc-sidebar__bottom { min-width: 238px; }
  .uc-sidebar.is-collapsed .uc-account-card { justify-content: flex-start; padding: 10px; }
  .uc-topbar { min-height: 61px; padding: 0 16px; }
  .uc-mobile-menu { display: inline-grid; }
  .uc-topbar__crumb { display: none; }
  .uc-topbar__actions { margin-left: auto; gap: 7px; }
  .uc-topbar__actions .uc-theme-control { display: none; }
  .uc-signout { display: none; }
  .uc-page { padding: 18px 16px 36px; }
  .uc-hero { min-height: 0; padding: 25px 22px; }
  .uc-hero__accent { right: -20px; bottom: -68px; opacity: .18; }
  .uc-empty-connection { grid-template-columns: 1fr; padding: 26px 22px; text-align: center; }
  .uc-empty-connection__content .uc-button { width: 100%; }
  .uc-section-heading { display: grid; }
  .uc-section-heading .uc-button { width: 100%; }
}

@media (max-width: 600px) {
  .uc-auth-page { display: block; }
  .uc-auth-panel { min-height: 100svh; padding: 20px 22px 28px; }
  .uc-auth-preferences .uc-theme-control { display: none; }
  .uc-auth-panel__content { margin: auto 0; padding: 52px 0; }
  .uc-auth-form h1 { font-size: 32px; }
  .uc-auth-cover { display: none; }
  .uc-auth-future-methods { grid-template-columns: 1fr; }
  .uc-dashboard-grid { gap: 16px; }
  .uc-safety-panel { display: block; }
  .uc-safety-panel__icon { margin-bottom: 16px; }
  .uc-connection-card__status { display: none; }
  .uc-dialog__header,
  .uc-dialog__form { padding-right: 18px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
