:root {
  --blue: #0a84ff;
  --blue-deep: #0066d6;
  --ink: #101d30;
  --muted: #6d7d93;
  --line: rgba(16, 29, 48, 0.09);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.auth-page,
.portal-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #dceaf8;
  background-image: url("fog.jpg");
  background-position: center;
  background-size: cover;
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 56px);
  overflow-x: hidden;
  overflow-y: auto;
}

.auth-page::before,
.portal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(243, 249, 255, 0.88) 0%, rgba(255, 255, 255, 0.42) 45%, rgba(213, 235, 255, 0.7) 100%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.78), transparent 42%);
}

.auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image: radial-gradient(rgba(18, 68, 125, 0.16) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.auth-ambient,
.portal-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
  animation: orbFloat 14s ease-in-out infinite;
}

.orb-blue {
  top: -10%;
  left: -6%;
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.35), rgba(0, 122, 255, 0) 70%);
}

.orb-cyan {
  right: -12%;
  bottom: -18%;
  width: 44vw;
  height: 44vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(83, 203, 255, 0.32), rgba(83, 203, 255, 0) 70%);
  animation-delay: -5s;
}

.orb-white {
  top: 28%;
  right: 26%;
  width: 22vw;
  height: 22vw;
  max-width: 320px;
  max-height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 70%);
  animation-delay: -8s;
}

.auth-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: min(1080px, 100%);
  min-height: 680px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 40px 90px rgba(16, 53, 96, 0.24),
    0 8px 28px rgba(16, 53, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(32px) saturate(155%);
  backdrop-filter: blur(32px) saturate(155%);
  animation: authRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-shell.is-register {
  min-height: 740px;
}

.brand-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 46px 44px 38px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 6%, rgba(157, 221, 255, 0.42), transparent 42%),
    linear-gradient(145deg, rgba(10, 132, 255, 0.97) 0%, rgba(0, 102, 214, 0.9) 62%, rgba(0, 82, 178, 0.94) 100%);
}

.brand-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(126, 213, 255, 0.24), transparent 48%);
}

.brand-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.7px, transparent 0.7px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.brand-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.brand-mark svg {
  width: 29px;
  height: 29px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name strong {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.brand-name small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.62);
}

.brand-copy {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 8vh, 82px);
  max-width: 390px;
}

.brand-kicker {
  margin: 0 0 14px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.62);
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(36px, 3.4vw, 47px);
  font-weight: 620;
  line-height: 1.14;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.brand-copy h1 span {
  color: rgba(221, 243, 255, 0.82);
}

.brand-desc {
  max-width: 330px;
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: rgba(239, 249, 255, 0.72);
}

.cloud-stage {
  position: absolute;
  right: 10px;
  bottom: 72px;
  width: min(32vw, 330px);
  height: min(26vw, 270px);
  pointer-events: none;
}

.cloud-glyph {
  position: absolute;
  right: 4%;
  bottom: 4%;
  width: 88%;
  filter: drop-shadow(0 28px 35px rgba(0, 54, 130, 0.28));
  animation: cloudFloat 7s ease-in-out infinite;
}

.cloud-glyph svg {
  display: block;
  width: 100%;
  height: auto;
}

.cloud-ring {
  position: absolute;
  right: 3%;
  bottom: -6%;
  width: 88%;
  aspect-ratio: 1;
  border: 1px solid rgba(210, 240, 255, 0.24);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-12deg);
  box-shadow: 0 0 30px rgba(128, 216, 255, 0.12);
}

.ring-two {
  right: 11%;
  bottom: -1%;
  width: 72%;
  border-color: rgba(210, 240, 255, 0.14);
}

.float-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #e8f8ff;
  box-shadow: 0 0 18px rgba(175, 231, 255, 0.9);
  animation: dotFloat 5.5s ease-in-out infinite;
}

.dot-a {
  top: 30%;
  left: 7%;
  width: 5px;
  height: 5px;
}

.dot-b {
  top: 17%;
  right: 14%;
  width: 3px;
  height: 3px;
  animation-delay: -2.2s;
}

.dot-c {
  right: 5%;
  bottom: 27%;
  width: 4px;
  height: 4px;
  animation-delay: -3.8s;
}

.brand-features {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.brand-features span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: rgba(238, 250, 255, 0.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.form-pane {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 38px 48px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(34px) saturate(170%);
  backdrop-filter: blur(34px) saturate(170%);
}

.form-inner {
  width: 100%;
  max-width: 410px;
  margin: 0 auto;
}

.form-head h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 640;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.form-kicker {
  margin: 0 0 11px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue);
}

.form-sub {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.auth-form {
  margin-top: 24px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 13px;
}

.field-grid .field-group {
  margin-top: 0;
}

.field-group + .field-group,
.field-grid + .field-group {
  margin-top: 13px;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(16, 53, 96, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field:focus-within {
  border-color: rgba(10, 132, 255, 0.5);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 0 0 4px rgba(10, 132, 255, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.field.is-invalid {
  border-color: rgba(213, 63, 53, 0.46);
  background: rgba(255, 247, 246, 0.82);
}

.field input {
  min-width: 0;
  flex: 1;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  -webkit-appearance: none;
}

.field input::placeholder {
  color: #9aa9ba;
}

.field-icon {
  display: flex;
  flex: 0 0 auto;
  color: #8190a4;
}

.field-icon svg {
  width: 19px;
  height: 19px;
}

.field-count {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #a2afbe;
  font-variant-numeric: tabular-nums;
}

.field-action {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8190a4;
  cursor: pointer;
}

.field-action:active {
  background: rgba(10, 132, 255, 0.08);
}

.field-action svg {
  width: 18px;
  height: 18px;
}

.field-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.code-input {
  flex: 1;
  min-width: 0;
}

.captcha-box {
  display: grid;
  flex: 0 0 124px;
  width: 124px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.captcha-box:active {
  opacity: 0.82;
}

.captcha-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-error {
  margin: 12px 2px 0;
  padding: 9px 11px;
  border: 1px solid rgba(209, 67, 59, 0.14);
  border-radius: 12px;
  background: rgba(209, 67, 59, 0.07);
  color: #b23a32;
  font-size: 11px;
  line-height: 1.5;
}

.form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 15px 2px 17px;
}

.meta-hint {
  color: #9aa8b8;
  font-size: 10px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-size: 11.5px;
  cursor: pointer;
}

.text-button:active {
  opacity: 0.7;
}

.agreement-row {
  display: flex;
  align-items: center;
  gap: 1px;
  margin: 16px 2px 0;
  color: #718196;
  font-size: 11.5px;
}

.agreement-row .text-button {
  padding-left: 3px;
}

.ios-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #718196;
  font-size: 11.5px;
  cursor: pointer;
  user-select: none;
}

.ios-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check-box {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid rgba(16, 29, 48, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.55);
  color: transparent;
  transition: all 0.2s ease;
}

.check-box svg {
  width: 13px;
  height: 13px;
}

.ios-check input:checked + .check-box {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.ios-check input:focus-visible + .check-box {
  box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.14);
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin-top: 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a84ff 0%, #006bdf 100%);
  box-shadow:
    0 10px 24px rgba(0, 102, 214, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.primary-button:hover {
  box-shadow:
    0 14px 28px rgba(0, 102, 214, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.primary-button:active {
  transform: scale(0.994);
  opacity: 0.9;
}

.primary-button:disabled {
  cursor: default;
  opacity: 0.68;
  transform: none;
}

.loading-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 1.7px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.switch-line {
  margin: 18px 0 0;
  color: #7d8ca0;
  font-size: 12px;
  text-align: center;
}

.switch-line a {
  margin-left: 3px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.switch-line a:hover {
  text-decoration: underline;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 20px 0 0;
  color: #9aa8b8;
  font-size: 10.5px;
}

.secure-note svg {
  width: 13px;
  height: 13px;
}

.auth-footer {
  margin-top: 9px;
  color: #a9b4c1;
  font-size: 9.5px;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Customer portal */
.portal-page {
  padding: 22px;
  overflow-x: hidden;
}

.portal-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.portal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 40px rgba(16, 53, 96, 0.12);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.portal-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(10, 132, 255, 0.14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(10, 132, 255, 0.98), rgba(0, 102, 214, 0.9));
  color: #fff;
  box-shadow: 0 8px 18px rgba(10, 132, 255, 0.2);
}

.portal-mark svg {
  width: 25px;
  height: 25px;
}

.portal-brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portal-brand strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.portal-brand small {
  color: #8190a4;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.user-avatar {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.12);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 650;
}

.user-name {
  max-width: 140px;
  overflow: hidden;
  color: #506176;
  font-size: 11.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ghost-button {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 29, 48, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.52);
  color: #66768a;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.ghost-button:hover {
  color: var(--blue-deep);
  border-color: rgba(10, 132, 255, 0.24);
}

.portal-main {
  padding: 34px 0 26px;
}

.portal-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(151, 218, 255, 0.32), transparent 40%),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 55px rgba(16, 53, 96, 0.12);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
}

.portal-kicker,
.card-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.portal-hero h1 {
  margin: 0;
  font-size: clamp(29px, 3.4vw, 42px);
  font-weight: 640;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.portal-hero h1 span {
  color: var(--blue-deep);
}

.portal-lead {
  max-width: 540px;
  margin: 12px 0 0;
  color: #6d7d93;
  font-size: 12px;
  line-height: 1.8;
}

.glass-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  color: #506176;
  font-size: 11px;
  text-decoration: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.glass-link span {
  color: var(--blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  min-height: 140px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 40px rgba(16, 53, 96, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
}

.stat-label {
  color: #77879a;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.stat-value {
  margin-top: auto;
  color: #15253a;
  font-size: 39px;
  font-weight: 620;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-note {
  margin-top: 8px;
  color: #a0adbb;
  font-size: 9.5px;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-top: 14px;
}

.glass-card {
  padding: 26px 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 16px 40px rgba(16, 53, 96, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.glass-card h2 {
  margin: 0;
  color: #1a2b40;
  font-size: 20px;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.status-pill {
  padding: 5px 9px;
  border: 1px solid rgba(23, 166, 92, 0.18);
  border-radius: 999px;
  background: rgba(23, 166, 92, 0.08);
  color: #13804a;
  font-size: 9px;
}

.info-list {
  margin: 22px 0 0;
}

.info-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(16, 29, 48, 0.06);
}

.info-list > div:last-child {
  border-bottom: 0;
}

.info-list dt {
  color: #8795a7;
  font-size: 10.5px;
}

.info-list dd {
  margin: 0;
  color: #34475c;
  font-size: 11.5px;
  font-weight: 500;
  text-align: right;
}

.roadmap-card {
  background:
    radial-gradient(circle at 90% 0%, rgba(10, 132, 255, 0.08), transparent 45%),
    rgba(255, 255, 255, 0.56);
}

.roadmap-list {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.roadmap-list li > span {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.09);
  color: var(--blue-deep);
  font-size: 8px;
  font-weight: 650;
}

.roadmap-list div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.roadmap-list strong {
  color: #34475c;
  font-size: 11px;
  font-weight: 550;
}

.roadmap-list small {
  color: #97a4b3;
  font-size: 9.5px;
  line-height: 1.5;
}

.portal-footer {
  padding: 16px 0 4px;
  color: #9aa8b8;
  font-size: 9.5px;
  text-align: center;
}

/* Modal + toast */
.modal-mask {
  position: fixed;
  z-index: 40;
  display: grid;
  inset: 0;
  padding: 24px;
  place-items: center;
  background: rgba(10, 29, 53, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.glass-modal {
  width: min(400px, calc(100vw - 40px));
  padding: 30px 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 28px 70px rgba(8, 40, 83, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
}

.modal-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  place-items: center;
  border: 1px solid rgba(10, 132, 255, 0.16);
  border-radius: 16px;
  background: rgba(10, 132, 255, 0.09);
  color: var(--blue);
}

.modal-symbol svg {
  width: 24px;
  height: 24px;
}

.glass-modal h3 {
  margin: 15px 0 8px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.glass-modal p {
  margin: 0 0 22px;
  color: #718196;
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
}

.modal-button {
  height: 48px;
  margin-top: 0;
  border-radius: 14px;
  font-size: 13px;
}

.toast {
  position: fixed;
  z-index: 50;
  top: 22px;
  left: 50%;
  max-width: min(360px, calc(100vw - 40px));
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 13px;
  background: rgba(16, 29, 48, 0.88);
  box-shadow: 0 12px 30px rgba(8, 30, 58, 0.2);
  color: #fff;
  font-size: 11.5px;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes authRise {
  from { opacity: 0; transform: translateY(18px) scale(0.986); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes dotFloat {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-10px); }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(16px, -18px, 0) scale(1.04); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .auth-page {
    display: block;
    padding: 0;
    overflow-y: auto;
  }

  .auth-page::after {
    display: none;
  }

  .auth-shell {
    display: block;
    width: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .brand-pane {
    min-height: 266px;
    padding: 28px 24px 58px;
    border-radius: 0 0 34px 34px;
  }

  .brand-copy {
    max-width: 78%;
    margin-top: 30px;
  }

  .brand-copy h1 {
    font-size: 30px;
  }

  .brand-desc {
    display: none;
  }

  .brand-features {
    display: none;
  }

  .cloud-stage {
    right: -8px;
    bottom: -14px;
    width: 190px;
    height: 180px;
    opacity: 0.82;
  }

  .form-pane {
    position: relative;
    z-index: 2;
    min-height: calc(100dvh - 240px);
    margin-top: -26px;
    padding: 34px 22px 30px;
    border-radius: 30px 30px 0 0;
    background: rgba(255, 255, 255, 0.84);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    backdrop-filter: blur(28px) saturate(170%);
    box-shadow: 0 -20px 50px rgba(16, 53, 96, 0.08);
  }

  .form-inner {
    max-width: 440px;
  }

  .field input {
    font-size: 16px;
  }

  .form-head h2 {
    font-size: 29px;
  }

  .portal-page {
    padding: 14px;
  }

  .portal-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .field-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .portal-nav {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 12px 13px;
  }

  .portal-user {
    width: 100%;
    justify-content: flex-end;
  }

  .portal-main {
    padding-top: 18px;
  }

  .portal-hero h1 {
    font-size: 30px;
  }

  .glass-card,
  .stat-card {
    padding: 20px;
  }

  .glass-link {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand-pane {
    min-height: 236px;
    padding: 24px 20px 46px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand-mark svg {
    width: 26px;
    height: 26px;
  }

  .brand-copy {
    margin-top: 25px;
  }

  .brand-copy h1 {
    font-size: 27px;
  }

  .cloud-stage {
    right: -24px;
    bottom: -24px;
    width: 160px;
    height: 148px;
  }

  .form-pane {
    padding: 28px 18px 26px;
  }

  .field,
  .captcha-box {
    height: 52px;
  }

  .captcha-box {
    flex-basis: 112px;
    width: 112px;
  }

  .primary-button {
    height: 52px;
  }

  .form-head h2 {
    font-size: 27px;
  }

  .field-count {
    font-size: 10px;
  }

  .portal-page {
    padding: 10px;
  }

  .user-name {
    max-width: 100px;
  }

  .portal-brand small {
    display: none;
  }

  .portal-hero h1 {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-shell,
  .cloud-glyph,
  .float-dot,
  .orb {
    animation: none;
  }

  .primary-button {
    transition: none;
  }
}

/* IOS glass console */
.console-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  overflow-x: hidden;
  background-color: #dceaf8;
  background-image: url("fog.jpg");
  background-position: center;
  background-size: cover;
}

.console-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(243, 249, 255, 0.9) 0%, rgba(255, 255, 255, 0.5) 46%, rgba(211, 234, 255, 0.78) 100%),
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.78), transparent 42%);
}

.console-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.console-topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1320px, 100%);
  min-height: 66px;
  margin: 0 auto;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 20px;
  background:
    linear-gradient(114deg, rgba(69, 108, 246, 0.94) 0%, rgba(43, 139, 247, 0.92) 52%, rgba(74, 184, 248, 0.86) 100%);
  box-shadow:
    0 18px 42px rgba(46, 95, 183, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  color: #fff;
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-right {
  position: relative;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.18);
}

.icon-button:active {
  transform: scale(0.95);
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
}

.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.topbar-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
}

.topbar-mark svg {
  width: 24px;
  height: 24px;
}

.topbar-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.topbar-name strong {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.topbar-name small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.topbar-divider {
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.22);
}

.topbar-home {
  position: relative;
  padding: 6px 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  text-decoration: none;
}

.topbar-home::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: -3px;
  left: 1px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.topbar-tool {
  border-color: transparent;
  background: transparent;
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  margin-left: 4px;
  padding: 3px 7px 3px 4px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
}

.topbar-user .user-avatar {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
}

.topbar-user .user-name {
  max-width: 100px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 10.5px;
}

.topbar-user .chevron {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.58);
}

.user-popover {
  position: absolute;
  z-index: 90;
  top: calc(100% + 10px);
  right: 0;
  width: 232px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 50px rgba(12, 45, 88, 0.2);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
}

.popover-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px;
}

.popover-user .user-avatar.large {
  width: 35px;
  height: 35px;
  background: rgba(10, 132, 255, 0.11);
  color: var(--blue-deep);
  font-size: 13px;
}

.popover-user div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.popover-user strong {
  overflow: hidden;
  color: #26384d;
  font-size: 11.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-user small {
  overflow: hidden;
  color: #95a2b2;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.popover-line {
  height: 1px;
  margin: 10px 2px;
  background: rgba(16, 29, 48, 0.07);
}

.popover-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #52657a;
  font: inherit;
  font-size: 10.5px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.popover-item:hover {
  background: rgba(10, 132, 255, 0.07);
  color: var(--blue-deep);
}

.popover-item.danger {
  color: #b4463d;
}

.console-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  width: min(1320px, 100%);
  margin: 16px auto 0;
}

.console-sidebar {
  position: sticky;
  top: 16px;
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - 114px);
  padding: 18px 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 20px 50px rgba(16, 53, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
}

.sidebar-label {
  margin: 0 10px 8px;
  color: #9ca9b8;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sidebar-label.second {
  margin-top: 19px;
}

.side-nav {
  display: grid;
  gap: 3px;
}

.side-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 41px;
  gap: 9px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #5b6c80;
  font: inherit;
  font-size: 11.5px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.side-item:hover {
  background: rgba(10, 132, 255, 0.055);
  color: var(--blue-deep);
}

.side-item.is-active {
  border-color: rgba(10, 132, 255, 0.1);
  background: linear-gradient(135deg, rgba(10, 132, 255, 0.12), rgba(116, 177, 255, 0.08));
  color: var(--blue-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.side-icon {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
  color: #7990aa;
}

.side-item.is-active .side-icon {
  background: rgba(10, 132, 255, 0.13);
  color: var(--blue);
}

.side-icon svg {
  width: 16px;
  height: 16px;
}

.side-arrow {
  margin-left: auto;
  color: #acb8c5;
  font-size: 13px;
  line-height: 1;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 13px 9px 2px;
  border-top: 1px solid rgba(16, 29, 48, 0.06);
}

.sidebar-shield {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.08);
  color: var(--blue);
  font-size: 15px;
}

.sidebar-footer p {
  margin: 0;
  color: #74859a;
  font-size: 9px;
  line-height: 1.5;
}

.sidebar-footer small {
  color: #a3afbd;
  font-size: 8px;
}

.console-main {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.welcome-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 22px 55px rgba(16, 53, 96, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  backdrop-filter: blur(28px) saturate(165%);
}

.profile-block {
  display: flex;
  align-items: center;
  gap: 21px;
  min-width: 0;
  padding: 6px 4px;
}

.welcome-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(140deg, #8ed8ff 0%, #62b9fa 46%, #4aa9ec 100%);
  box-shadow:
    0 14px 30px rgba(63, 155, 218, 0.22),
    inset 0 1px 4px rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 38px;
  font-weight: 550;
  text-shadow: 0 2px 8px rgba(18, 88, 150, 0.16);
}

.welcome-copy {
  min-width: 0;
}

.hello-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid rgba(10, 132, 255, 0.08);
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.06);
  color: #4c7eae;
  font-size: 10px;
}

.hello-sun {
  color: #f2aa33;
  font-size: 14px;
  line-height: 1;
}

.welcome-copy h1 {
  overflow: hidden;
  max-width: 330px;
  margin: 9px 0 8px;
  color: #1e3b5e;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.date-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #93a1b1;
  font-size: 10px;
}

.date-line svg {
  width: 14px;
  height: 14px;
}

.balance-card {
  position: relative;
  display: flex;
  min-height: 192px;
  flex-direction: column;
  overflow: hidden;
  padding: 23px 22px 21px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 23px;
  background:
    radial-gradient(circle at 90% 8%, rgba(162, 255, 248, 0.36), transparent 36%),
    linear-gradient(135deg, #48aaf5 0%, #32bfe4 55%, #2bd4c3 100%);
  box-shadow:
    0 18px 34px rgba(42, 163, 206, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.balance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.18), transparent 38%);
  pointer-events: none;
}

.balance-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11.5px;
}

.verify-badge {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.92);
  font-size: 8px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.balance-value {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 22px;
  color: #fff;
  font-size: 37px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.balance-value .currency {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.86;
}

.balance-actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 9px;
  margin-top: auto;
}

.balance-button {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  height: 36px;
  gap: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}

.balance-button.light {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.88);
  color: #2278bb;
}

.balance-button:active {
  opacity: 0.75;
}

.balance-glow {
  position: absolute;
  right: -35px;
  bottom: -50px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.025), 0 0 0 44px rgba(255, 255, 255, 0.025);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-card,
.wide-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 103px;
  padding: 18px 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 14px 36px rgba(16, 53, 96, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: left;
  cursor: pointer;
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-card:hover,
.wide-card:hover {
  border-color: rgba(10, 132, 255, 0.2);
  box-shadow:
    0 20px 42px rgba(16, 53, 96, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.quick-card:active,
.wide-card:active {
  transform: scale(0.994);
}

.quick-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
}

.quick-icon svg {
  width: 21px;
  height: 21px;
}

.quick-icon.blue {
  background: rgba(10, 132, 255, 0.1);
  color: #2689ee;
}

.quick-icon.violet {
  background: rgba(121, 126, 244, 0.1);
  color: #7779e8;
}

.quick-icon.cyan {
  background: rgba(36, 184, 205, 0.1);
  color: #24a9bd;
}

.quick-icon.sky {
  background: rgba(73, 168, 238, 0.1);
  color: #359ddf;
}

.quick-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.quick-copy strong {
  color: #35495e;
  font-size: 12px;
  font-weight: 580;
}

.quick-copy small {
  overflow: hidden;
  color: #98a5b4;
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-arrow {
  margin-left: auto;
  color: #aab6c3;
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}

.lower-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.wide-card {
  min-height: 138px;
}

.status-card {
  min-height: 138px;
  padding: 20px 21px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(114, 206, 255, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    0 14px 36px rgba(16, 53, 96, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
}

.status-head {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6e8094;
  font-size: 10.5px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #32b76f;
  box-shadow: 0 0 0 4px rgba(50, 183, 111, 0.1);
}

.status-ok {
  margin-left: auto;
  color: #1f9b5c;
  font-size: 9px;
}

.status-rows {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.status-rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.status-rows span {
  color: #a0acba;
  font-size: 9px;
}

.status-rows strong {
  color: #60758b;
  font-size: 9px;
  font-weight: 500;
}

.sidebar-scrim {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(22, 52, 92, 0.18);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

@media (max-width: 1080px) {
  .welcome-card {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .console-body {
    grid-template-columns: 228px minmax(0, 1fr);
  }

  .quick-copy small {
    max-width: 130px;
  }
}

@media (max-width: 900px) {
  .console-page {
    padding: 10px;
  }

  .console-topbar {
    min-height: 60px;
    padding: 0 11px;
    border-radius: 17px;
  }

  .menu-toggle {
    display: grid;
  }

  .topbar-divider,
  .topbar-home,
  .topbar-refresh,
  .topbar-tool {
    display: none;
  }

  .topbar-name small {
    display: none;
  }

  .topbar-user .user-name,
  .topbar-user .chevron {
    display: none;
  }

  .topbar-user {
    padding: 3px;
  }

  .console-body {
    display: block;
    margin-top: 12px;
  }

  .console-sidebar {
    position: fixed;
    z-index: 70;
    top: 0;
    left: 0;
    width: 280px;
    height: 100dvh;
    min-height: 0;
    overflow-y: auto;
    padding: 25px 12px 18px;
    border-radius: 0 24px 24px 0;
    transform: translateX(-108%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .console-sidebar.is-open {
    transform: translateX(0);
  }

  .console-main {
    gap: 12px;
  }

  .welcome-card {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 24px;
  }

  .profile-block {
    gap: 16px;
  }

  .welcome-avatar {
    width: 74px;
    height: 74px;
    font-size: 31px;
  }

  .welcome-copy h1 {
    font-size: 30px;
  }

  .balance-card {
    min-height: 174px;
    padding: 20px;
  }

  .quick-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .quick-card,
  .wide-card {
    min-height: 82px;
    padding: 16px;
  }

  .status-card {
    min-height: 125px;
  }
}

@media (max-width: 520px) {
  .console-page {
    padding: 8px;
  }

  .console-topbar {
    min-height: 56px;
    padding: 0 9px;
    border-radius: 15px;
  }

  .topbar-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .topbar-mark svg {
    width: 21px;
    height: 21px;
  }

  .topbar-name strong {
    font-size: 12.5px;
  }

  .topbar-right {
    gap: 2px;
  }

  .welcome-card {
    gap: 17px;
    padding: 18px;
  }

  .profile-block {
    padding: 2px;
  }

  .welcome-avatar {
    width: 64px;
    height: 64px;
    font-size: 27px;
  }

  .welcome-copy h1 {
    font-size: 26px;
  }

  .date-line {
    font-size: 9.5px;
  }

  .balance-card {
    min-height: 160px;
    border-radius: 19px;
  }

  .balance-value {
    margin-top: 16px;
    font-size: 32px;
  }

  .quick-card {
    border-radius: 19px;
  }

  .user-popover {
    right: -2px;
    width: 218px;
  }
}
