:root {
  color: #1e1933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body { margin: 0; min-width: 320px; background: #f7f7fb; }

button, input { font: inherit; }

button { cursor: pointer; }

.income-app { min-height: 100vh; }

.income-login { display: grid; min-height: 100vh; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); }

.income-login__intro { position: relative; display: flex; min-height: 660px; flex-direction: column; justify-content: center; overflow: hidden; padding: 56px clamp(44px, 9vw, 150px); color: #fff; background: radial-gradient(circle at 82% 15%, rgba(255, 213, 228, .42), transparent 29%), linear-gradient(145deg, #743e92 0%, #b8669b 54%, #f2a1b8 100%); }

.income-login__intro::after { position: absolute; right: -110px; bottom: -155px; width: 450px; height: 450px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.06), 0 0 0 130px rgba(255,255,255,.04); content: ""; }

.income-brand { position: absolute; top: 44px; left: clamp(44px, 9vw, 150px); display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }

.income-brand__mark { display: grid; width: 34px; height: 34px; place-items: center; overflow: hidden; border-radius: 11px; color: #7c438f; background: #fff; font-size: 16px; line-height: 1; }

.income-login__copy { position: relative; z-index: 1; max-width: 510px; }

.income-login__eyebrow, .income-section-label { margin: 0 0 16px; color: #bd739d; font-size: 13px; font-weight: 700; letter-spacing: .14em; }

.income-login__eyebrow { color: rgba(255,255,255,.73); }

.income-login__copy h1 { margin: 0; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.16; letter-spacing: -.045em; }

.income-login__copy > p:last-child { margin: 28px 0 0; max-width: 390px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.9; }

.income-login__points { position: absolute; z-index: 1; right: clamp(56px, 9vw, 144px); bottom: 84px; display: flex; gap: 12px; }

.income-login__points span { width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.42); }
.income-login__points span:first-child { width: 28px; background: #fff; }

.income-login__panel { display: grid; place-items: center; padding: 42px; background: #fff; }

.income-login__form-wrap { width: min(100%, 385px); }

.income-login__form-wrap h2 { margin: 0; color: #211b35; font-size: 32px; letter-spacing: -.035em; }

.income-login__hint { margin: 12px 0 38px; color: #928c9f; font-size: 14px; }

.income-field { display: block; margin: 0 0 22px; }

.income-field span { display: block; margin-bottom: 10px; color: #5c5569; font-size: 14px; font-weight: 600; }

.income-field input { width: 100%; height: 52px; border: 1px solid #e8e4ec; border-radius: 13px; outline: 0; padding: 0 16px; color: #272035; background: #fcfbfd; transition: border-color .2s, box-shadow .2s; }

.income-field input::placeholder { color: #c4becc; }
.income-field input:focus { border-color: #ad6397; box-shadow: 0 0 0 4px rgba(173,99,151,.11); }

.income-primary-button, .income-secondary-button { width: 100%; min-height: 52px; border: 0; border-radius: 13px; font-weight: 700; transition: transform .2s, opacity .2s; }

.income-primary-button { margin-top: 8px; color: #fff; background: linear-gradient(100deg, #85449a, #d575a1); box-shadow: 0 11px 22px rgba(154,79,139,.23); }
.income-primary-button:hover { transform: translateY(-1px); }
.income-primary-button:disabled { cursor: wait; opacity: .65; transform: none; }

.income-error { margin: 0 0 16px; border-radius: 9px; padding: 10px 12px; color: #b33f55; background: #fff1f3; font-size: 13px; line-height: 1.5; }

.income-login__notice { margin: 22px 0 0; color: #aaa3b0; font-size: 12px; line-height: 1.8; text-align: center; }
.income-login__eyebrow--mobile { display: none; }

.income-dashboard { min-height: 100vh; background: linear-gradient(180deg, #fff8fb 0, #f7f7fb 380px); }

.income-header { display: flex; width: min(1120px, calc(100% - 48px)); height: 82px; align-items: center; justify-content: space-between; margin: auto; }
.income-brand--dark { position: static; color: #2a2137; font-size: 16px; }
.income-brand--dark .income-brand__mark { color: #fff; background: linear-gradient(135deg, #824697, #df84a6); }

.income-header__account { display: flex; align-items: center; gap: 18px; color: #766d7d; font-size: 14px; }
.income-header__account button { border: 0; padding: 0; color: #8b4d90; background: transparent; font-size: 14px; }

.income-dashboard__content { width: min(1120px, calc(100% - 48px)); margin: 34px auto 70px; }

.income-summary { display: flex; min-height: 186px; align-items: flex-end; justify-content: space-between; border-radius: 24px; padding: 34px 42px; color: #fff; background: radial-gradient(circle at 86% -44%, rgba(255,255,255,.41), transparent 43%), linear-gradient(112deg, #703f93, #c66899 72%, #e38ba6); box-shadow: 0 19px 42px rgba(154,89,148,.2); }
.income-summary > div > p { margin: 0 0 12px; color: rgba(255,255,255,.75); font-size: 14px; }
.income-summary strong { font-size: 48px; line-height: 1; letter-spacing: -.04em; }
.income-summary em { margin-left: 9px; font-size: 14px; font-style: normal; }
.income-summary__caption { margin: 0 0 6px; color: rgba(255,255,255,.72); font-size: 13px; }

.income-detail-card { margin-top: 26px; border: 1px solid #eeeaf0; border-radius: 24px; padding: 31px 34px 10px; background: #fff; box-shadow: 0 12px 38px rgba(62,39,75,.045); }
.income-detail-card__head { display: flex; align-items: flex-end; justify-content: space-between; }
.income-detail-card__head h1 { margin: 0; color: #2a2234; font-size: 25px; letter-spacing: -.03em; }
.income-detail-card__head .income-section-label { margin-bottom: 8px; }
.income-daily-total { margin: 0; color: #b55791; font-size: 18px; font-weight: 700; }

.income-date-tabs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; margin: 30px 0 22px; }
.income-date-tabs button { min-width: 0; border: 1px solid #eee9ef; border-radius: 11px; padding: 10px 4px; color: #817887; background: #fff; font-size: 13px; line-height: 1.25; }
.income-date-tabs button span { display: block; margin-top: 5px; color: #a69eaa; font-size: 11px; }
.income-date-tabs button.is-active { border-color: #b4649b; color: #fff; background: #b4649b; box-shadow: 0 7px 15px rgba(180,100,155,.2); }
.income-date-tabs button.is-active span { color: rgba(255,255,255,.75); }

.income-error--dashboard { margin-bottom: 18px; }
.income-loading, .income-list__empty { padding: 40px 12px 46px; color: #a59daa; font-size: 14px; text-align: center; }

.income-list { min-height: 95px; }
.income-list__item { display: flex; min-height: 76px; align-items: center; justify-content: space-between; border-top: 1px solid #f0edf2; padding: 14px 4px; gap: 22px; }
.income-list__meta { min-width: 0; }
.income-list__meta strong { display: block; overflow: hidden; color: #433a4c; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.income-list__meta p { margin: 7px 0 0; color: #a098a5; font-size: 12px; }
.income-list__amount { flex: 0 0 auto; color: #b45791; font-size: 17px; font-weight: 700; }

.income-blocked { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 18% 0, #fbe8f0, transparent 36%), #f8f8fb; }
.income-blocked__card { width: min(100%, 420px); border-radius: 24px; padding: 46px 38px 38px; text-align: center; background: #fff; box-shadow: 0 18px 44px rgba(61,36,76,.09); }
.income-blocked__icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 24px; border-radius: 50%; color: #bd5b91; background: #fae7f0; font-size: 26px; font-weight: 700; }
.income-blocked__card h1 { margin: 0; color: #2c2437; font-size: 26px; }
.income-blocked__card > p:last-of-type { margin: 16px 0 30px; color: #847b8b; font-size: 14px; line-height: 1.8; }
.income-secondary-button { color: #9f588c; background: #f9edf4; }

@media (max-width: 820px) {
  .income-login { display: block; }
  .income-login__intro { min-height: 280px; padding: 106px 28px 48px; }
  .income-brand { top: 28px; left: 28px; }
  .income-login__copy h1 { font-size: 34px; }
  .income-login__copy > p:last-child, .income-login__points { display: none; }
  .income-login__panel { display: block; padding: 44px 28px 52px; }
  .income-login__form-wrap { margin: auto; }
  .income-login__eyebrow--mobile { display: block; color: #be729d; }
  .income-dashboard__content, .income-header { width: min(100% - 32px, 1120px); }
  .income-dashboard__content { margin-top: 18px; }
  .income-summary { min-height: 168px; padding: 29px 25px; }
  .income-summary__caption { display: none; }
  .income-detail-card { padding: 25px 20px 8px; }
  .income-date-tabs { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 460px) {
  .income-login__intro { min-height: 246px; }
  .income-header { height: 68px; }
  .income-header__account { gap: 10px; font-size: 12px; }
  .income-summary strong { font-size: 39px; }
  .income-detail-card__head h1 { font-size: 22px; }
  .income-daily-total { font-size: 15px; }
  .income-date-tabs { grid-template-columns: repeat(3, 1fr); }
}
