/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: #1f2a2e;
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.5;
}

body.has-modal-open,
body.has-nav-open {
  overflow: hidden;
}

html {
  scrollbar-color: #2f6f73 #dfe9e6;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: #dfe9e6;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #2f6f73;
}

*::-webkit-scrollbar-thumb:hover {
  background: #25585c;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  outline: none;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
}

textarea {
  resize: vertical;
}

.container {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.site-alert {
  padding: 12px 24px;
  background: #fff4ec;
  color: #a9473b;
  font-size: 0.9375rem;
  text-align: center;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid #eef3f0;
  background: #fff;
}

.site-header .container.site-header__inner {
  width: 100%;
  max-width: none;
  padding: 0 24px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.site-header__signin {
  min-width: 150px;
  min-height: 40px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
}

.site-header__dashboard {
  min-width: 180px;
  min-height: 40px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #2f6f73;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-brand__logo {
  width: auto;
  height: 55px;
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.site-nav--desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.site-nav__link {
  color: #42515a;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.site-nav__button {
  padding: 0;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #2f6f73;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header-user__refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d7dfdc;
  border-radius: 8px;
  background: #ffffff;
  color: #53636b;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-header-user__refresh:hover,
.site-header-user__refresh:focus-visible {
  border-color: #2f6f73;
  color: #2f6f73;
}

.site-header-user__refresh.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.site-header-user__refresh-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.site-header-user__search {
  display: flex;
  align-items: center;
  min-width: 174px;
  height: 34px;
  border: 1px solid #d7dfdc;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.site-header-user__search-field {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 12px;
}

.site-header-user__search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header-user__search input {
  border: 0;
  background: transparent;
  color: #1f2a2e;
  font-size: 0.8125rem;
  line-height: 1;
}

.site-header-user__search input::placeholder {
  color: rgba(10, 10, 10, 0.5);
}

.site-header-user__search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #6f7b82;
  transition: color 0.2s ease;
}

.site-header-user__search-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.site-header-user__search-icon-lens {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
}

.site-header-user__search-icon-handle {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 4px;
  height: 4px;
}

.site-header-user__search-button:hover,
.site-header-user__search-button:focus-visible {
  color: #2f6f73;
}

.site-header-user__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #d7dfdc;
  color: #6f7b82;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
}

.site-header-user__avatar-icon {
  width: 100%;
    height: 100%;
  object-fit: cover;
}

.site-header-user__logout {
  gap: 5px;
  min-height: 32px;
  padding: 0 14px 0 10px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.site-header-user__logout-icon {
  width: 14px;
  height: 11px;
  flex: 0 0 14px;
}

.btn-primary {
  background: #2f6f73;
  color: #ffffff;
}

.btn-primary:hover {
  background: #25585c;
}

.btn-danger {
  background: #b5473c;
  color: #ffffff;
}

.btn-danger:hover {
  background: #a9473b;
}

.site-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  border: 1px solid #d7dfdc;
  border-radius: 12px;
  background: #ffffff;
}

.site-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 2px 0;
  border-radius: 999px;
  background: #1f2a2e;
}

.site-mobile-nav {
  border-top: 1px solid #e5ebe8;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(16, 24, 40, 0.08);
}

.site-mobile-nav__inner {
  padding: 20px 0 24px;
}

.site-mobile-nav__menu {
  display: grid;
  gap: 6px;
}

.site-mobile-nav__link {
  display: block;
  width: 100%;
  padding: 12px 0;
  color: #42515a;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
}

.site-mobile-nav__button {
  padding-left: 0;
}

.site-mobile-nav__link--accent {
  color: #2f6f73;
  font-weight: 600;
}

.main-content {
  padding: 48px 0 24px;
}

.main-content--home {
  padding: 0;
}

.budget-home__hero {
  position: relative;
  min-height: 692px;
  background: #f2f1e8;
}

.budget-home__hero-media,
.budget-home__hero-overlay {
  position: absolute;
  inset: 0;
}

.budget-home__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.budget-home__hero-overlay {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 96px;
}

.budget-home__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.budget-home__hero-title {
  max-width: 680px;
  color: #1f2a2e;
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.budget-home__hero-title span,
.budget-home__hero-subtitle p {
  display: block;
}

.budget-home__hero-subtitle {
  max-width: 660px;
  color: #1f2a2e;
  font-size: 1.25rem;
  line-height: 1.2;
}

.budget-home__cta {
  padding: 32px 0 0;
}

.budget-home__cta-inner {
  display: flex;
  justify-content: center;
}

.budget-home__cta-button {
  min-width: 205px;
  min-height: 48px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
}

.budget-home__section {
  padding: 56px 0 0;
}

.budget-home__section--specification {
  padding-bottom: 40px;
}

.budget-home__section-inner {
  width: min(100% - 48px, 1025px);
  margin: 0 auto;
}

.budget-home__section-title {
  margin-bottom: 40px;
  color: #1f2a2e;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.03em;
}

.budget-home__feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.budget-home__feature-card {
  min-height: 211px;
  padding: 20px;
  border: 1px solid #d7dfdc;
  border-radius: 16px;
  background: #ffffff;
}

.home-feature-icon {
  position: relative;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.home-feature-icon__piece {
  position: absolute;
  display: block;
  max-width: none;
}

.home-feature-icon__image {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.budget-home__feature-title {
  margin-bottom: 10px;
  color: #1f2a2e;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.125;
}

.budget-home__feature-description {
  color: #6f7b82;
  font-size: 1rem;
  line-height: 1.22;
}

.budget-home__spec-grid {
  display: flex;
  flex-direction: column;
}

.budget-home__spec-masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
  align-items: start;
  margin-bottom: 19px;
}

.budget-home__spec-masonry:empty {
  display: none;
  margin-bottom: 0;
}

.budget-home__spec-column {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.budget-home__spec-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 20px;
  border: 1px solid #d7dfdc;
  border-radius: 16px;
  background: #ffffff;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.budget-home__spec-card--full {
  display: block;
  margin: 0;
}

.budget-home__spec-title {
  margin-bottom: 20px;
  color: #1f2a2e;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.125;
}

.budget-home__spec-content,
.budget-home__spec-content p,
.budget-home__spec-content li {
  color: #6f7b82;
  font-size: 1rem;
  line-height: 1.22;
}

.budget-home__spec-content p,
.budget-home__spec-content ul {
  margin-bottom: 10px;
}

.budget-home__spec-content ul {
  padding-left: 24px;
}

.budget-home__spec-content p:last-child,
.budget-home__spec-content ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 72px 0 40px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.site-footer__copyright {
  color: #6f7b82;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: center;
}

.site-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.site-footer__link {
  color: #6f7b82;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__link--disabled {
  opacity: 0.5;
  cursor: default;
}

.site-footer__disclaimer {
  max-width: 920px;
  margin: 0;
  color: #87918f;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

.account-status-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  min-height: 28px;
  padding: 7px 20px 7px 16px;
  border-top: 1px solid #e5ebe8;
  background: #ffffff;
}

.account-status-footer__right {
  display: flex;
  align-items: center;
}

.account-status-footer__right {
  gap: 16px;
}

.account-status-footer__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6f7b82;
  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
}

.account-status-footer__item--secure {
  color: #4caf50;
  font-weight: 700;
}

.account-status-footer__icon {
  width: 10.6667px;
  height: 10.6667px;
  flex: 0 0 10.6667px;
}

.account-status-footer__icon--secure {
  width: 12px;
  height: 12px;
  flex-basis: 12px;
}

.account-status-footer__version {
  color: #a0aaa7;
  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.5;
  white-space: nowrap;
}

.account-shell {
  min-height: calc(100vh - 72px);
  background: #eef3f0;
}

.account-shell__layout {
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 72px);
}

.account-sidebar {
  flex: 0 0 72px;
  width: 72px;
  background: #ffffff;
  border-right: 1px solid #e5ebe8;
}

.account-sidebar__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 72px);
}

.account-menu {
  display: flex;
  flex-direction: column;
}

.account-menu--primary {
  padding-top: 8px;
}

.account-menu__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 52px;
  padding: 10px 6px;
  border-right: 2px solid transparent;
  background: transparent;
  color: #6f7b82;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.account-menu__link:hover,
.account-menu__link:focus-visible {
  background: #f7faf8;
  color: #25333a;
}

.account-menu__link.is-active {
  background: #edf6f2;
  border-color: #2f6f73;
  color: #2f6f73;
}

.account-menu__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.account-menu__label {
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
}

.account-menu__label--mobile {
  display: none;
}

.account-menu__asset {
  position: absolute;
  display: block;
  max-width: none;
  filter: brightness(0) saturate(100%) invert(47%) sepia(8%) saturate(588%) hue-rotate(180deg) brightness(93%) contrast(88%);
  transition: filter 0.2s ease;
}

.account-menu__icon i {
  color: #6f7b82;
  font-size: 16px;
  line-height: 20px;
  transition: color 0.2s ease;
}

.account-menu__link.is-active .account-menu__asset {
  filter: brightness(0) saturate(100%) invert(29%) sepia(93%) saturate(2928%) hue-rotate(216deg) brightness(100%) contrast(99%);
}

.account-menu__link.is-active .account-menu__icon i {
  color: #2f6f73;
}

.account-menu__asset--dashboard-1,
.account-menu__asset--dashboard-2,
.account-menu__asset--dashboard-3,
.account-menu__asset--dashboard-4 {
  width: 6.6667px;
  height: 6.6667px;
}

.account-menu__asset--dashboard-1 {
  top: 2.5px;
  left: 2.5px;
}

.account-menu__asset--dashboard-2 {
  top: 2.5px;
  left: 10.8333px;
}

.account-menu__asset--dashboard-3 {
  top: 10.8333px;
  left: 2.5px;
}

.account-menu__asset--dashboard-4 {
  top: 10.8333px;
  left: 10.8333px;
}

.account-menu__asset--daily-outline {
  top: 3.3333px;
  left: 2.5px;
  width: 15px;
  height: 14.1667px;
}

.account-menu__asset--daily-divider {
  top: 7.5px;
  left: 2.5px;
  width: 15px;
  height: 1.5px;
}

.account-menu__asset--daily-pin-1,
.account-menu__asset--daily-pin-2 {
  top: 1.6667px;
  width: 1.5px;
  height: 4.8333px;
}

.account-menu__asset--daily-pin-1 {
  left: 6.6667px;
}

.account-menu__asset--daily-pin-2 {
  left: 13.3333px;
}

.account-menu__asset--daily-leg-1,
.account-menu__asset--daily-leg-2 {
  top: 10px;
  width: 2.5px;
  height: 2.5px;
}

.account-menu__asset--daily-leg-1 {
  left: 5.8333px;
}

.account-menu__asset--daily-leg-2 {
  left: 10px;
}

.account-menu__asset--goals-ring {
  top: 2.5px;
  left: 2.5px;
  width: 15px;
  height: 15px;
}

.account-menu__asset--goals-middle {
  top: 5.8333px;
  left: 5.8333px;
  width: 8.3333px;
  height: 8.3333px;
}

.account-menu__asset--goals-dot {
  top: 8.3333px;
  left: 8.3333px;
  width: 3.3333px;
  height: 3.3333px;
}

.account-menu__asset--full {
  inset: 0;
  width: 20px;
  height: 20px;
}

.account-main {
  flex: 1 1 auto;
  min-width: 0;
}

.account-main__header {
  padding: 24px 32px 20px;
}

.account-main__title {
  margin: 0;
  color: #25333a;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-main__body {
  min-height: 520px;
}

.account-main__container {
  width: 100%;
  max-width: none;
  padding: 0 0 40px;
}

.account-alert-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 35;
  display: grid;
  gap: 12px;
  width: min(calc(100vw - 32px), 360px);
}

.account-alert {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.14);
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  transition: opacity 0.28s ease, transform 0.28s ease;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.account-alert.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.account-alert.is-hiding {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
}

.account-alert--success {
  border-color: #b7ebc6;
  background: #effaf3;
  color: #106b34;
}

.account-alert--error {
  border-color: #e7c4bd;
  background: #fff4ec;
  color: #a9473b;
}

.account-dashboard__grid,
.account-section-grid,
.account-settings-grid,
.account-goals-grid,
.account-help-grid,
.account-category-columns {
  display: grid;
  gap: 20px;
}

.account-settings-page {
  display: grid;
  gap: 32px;
}

.account-dashboard__grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.account-section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.account-settings-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
}

.account-settings-stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.account-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.account-settings-actions .btn,
.account-settings-actions .account-danger-form {
  margin: 0;
}

.account-settings-actions .account-danger-form {
  flex: 0 0 auto;
}

.account-goals-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-help-grid,
.account-category-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-card {
  padding: 24px;
  border: 1px solid #e5ebe8;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.account-card--safe {
  grid-column: span 4;
}

.account-card--tracker {
  grid-column: span 5;
}

.account-card--forecasts {
  grid-column: span 3;
}

.account-card--wide {
  grid-column: span 1;
}

.account-dashboard__grid > .account-card:not(.account-card--safe):not(.account-card--tracker):not(.account-card--forecasts) {
  grid-column: span 4;
}

.account-card__header,
.account-goal-card__header,
.account-list__item,
.account-entity,
.account-goal-card__footer,
.account-goal-card__amounts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-card__header {
  margin-bottom: 18px;
}

.account-card__title,
.account-card__subtitle,
.account-goal-card__title,
.account-forecast__title,
.account-entity__title,
.account-list__name {
  margin: 0;
  color: #1f2a2e;
}

.account-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
}

.account-card__subtitle {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.account-card__subcard {
  padding: 18px;
  border-radius: 18px;
  background: #f7faf8;
}

.account-avatar-settings {
  display: grid;
  gap: 16px;
}

.account-danger-form {
  align-self: start;
}

.account-danger-form .btn {
  width: 100%;
}

.account-avatar-settings__preview {
  width: 64px;
  height: 64px;
}

.account-avatar-settings__preview .site-header-user__avatar-icon {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.account-card__action,
.account-primary-action,
.account-entity__delete {
  border: 0;
  background: transparent;
}

.account-card__action {
  padding: 0;
  color: #2f6f73;
  font-size: 0.875rem;
  font-weight: 700;
}

.account-safe {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
  cursor: pointer;
}

.account-safe__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 54%, transparent 54.5% 100%),
    conic-gradient(from 200deg, #22c55e 0deg, #4eb3a5 130deg, #2f6f73 240deg, #dce9e6 360deg);
}

.account-safe__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: min(100%, 240px);
  text-align: center;
}

.account-safe__label,
.account-safe__meta {
  color: #6f7b82;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-safe__amount {
  color: #1f2a2e;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.account-safe__meta--accent {
  color: #2f6f73;
}

.account-week-slider {
  display: grid;
  gap: 18px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: none;
}

.account-week-slider__viewport {
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.account-week-slider__track {
  display: flex;
  transition: transform 0.28s ease;
  will-change: transform;
  box-shadow: none;
}

.account-week-slider.is-dragging .account-week-slider__track {
  transition: none;
}

.account-week-slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  opacity: 0.68;
  transition: opacity 0.2s ease;
  box-shadow: none;
}

.account-week-slider__slide.is-active {
  opacity: 1;
}

.account-week-slider.is-dragging {
  cursor: grabbing;
}

.account-week-slider__range {
  margin-bottom: 14px;
  color: #6f7b82;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-week-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.account-week-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7dfdc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.account-week-slider__dot.is-active {
  background: #2f6f73;
  transform: scale(1.15);
}

.account-week-table {
  display: grid;
  gap: 8px;
}

.account-week-table__head,
.account-week-table__row {
  display: grid;
  grid-template-columns: 84px repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.account-week-table__head {
  padding: 0 14px;
  color: #a0aaa7;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.account-week-table__row {
  min-height: 54px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #f7faf8;
  color: #42515a;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-decoration: none;
}

.account-week-table__row.is-future {
  background: #edf6f2;
  color: #2f6f73;
}

.account-week-table__day {
  display: grid;
  gap: 2px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.account-week-table__day-name,
.account-week-table__day-date {
  display: block;
}

.account-week-table__day-date {
  color: #a0aaa7;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.account-week-table__forecast {
  grid-column: 2 / -1;
  color: #2f6f73;
  font-weight: 700;
}

.account-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 4px;
  padding: 0 20px;
  border-radius: 14px;
  background: #2f6f73;
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.account-forecast-list {
  display: grid;
  gap: 14px;
}

.account-forecast {
  padding: 18px;
  border-radius: 18px;
  background: #f7faf8;
}

.account-forecast--positive {
  background: #effaf3;
}

.account-forecast--warning {
  background: #fff5ee;
}

.account-forecast__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.account-forecast__subtitle,
.account-list__sub,
.account-entity__meta,
.account-goal-card__description {
  color: #6f7b82;
  font-size: 0.875rem;
  line-height: 1.6;
}

.account-list,
.account-entity-list {
  display: grid;
  gap: 12px;
}

.account-list {
  gap: 6px;
  padding-right: 8px;
  scrollbar-gutter: stable;
}

.account-list__item,
.account-entity {
  padding: 5px 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.account-entity__row,
.account-entity__side,
.account-list__side {
  display: flex;
  align-items: center;
  gap: 5px;
}

.account-entity__side,
.account-list__side {
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
}

.account-list__main,
.account-entity__main {
  min-width: 0;
}

.account-list__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.account-list__lead {
  gap: 6px;
}

.account-entity__main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-entity__main-copy {
  min-width: 0;
}

.account-entity__icon,
.account-category-preview,
.account-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eef3f0;
  font-size: 1rem;
  flex: 0 0 36px;
}

.account-list__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0.875rem;
  flex: 0 0 28px;
}

.account-entity__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.account-entity__action {
  border: 0;
  padding: 0;
  background: transparent;
  color: #2f6f73;
  font-size: 0.875rem;
  font-weight: 700;
}

.account-entity__action--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #edf6f2;
}

.account-entity__action--delete {
  color: #a9473b;
  background: #fff2ee;
}

.account-list__name,
.account-entity__title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.3;
}

.account-list__amount {
  flex: 0 0 auto;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.3;
}

.account-list__amount--expense {
  color: #a9473b;
}

.account-list__amount--income {
  color: #067647;
}

.account-trend {
  display: grid;
  gap: 14px;
}

.account-trend__svg {
  display: block;
  width: 100%;
  height: 210px;
  border-radius: 18px;
  background:
    linear-gradient(to top, rgba(21, 93, 252, 0.04), rgba(21, 93, 252, 0)),
    repeating-linear-gradient(to top, rgba(208, 213, 221, 0.6), rgba(208, 213, 221, 0.6) 1px, transparent 1px, transparent 52px);
}

.account-trend__line {
  fill: none;
  stroke: #2f6f73;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-trend__labels {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  color: #a0aaa7;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.account-donut {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.account-donut__chart {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
}

.account-donut__chart::after {
  content: '';
  position: absolute;
  inset: 25px;
  border-radius: 50%;
  background: #ffffff;
}

.account-donut__total {
  position: relative;
  z-index: 1;
  color: #1f2a2e;
  font-size: 1rem;
  font-weight: 900;
  text-align: center;
}

.account-donut__legend {
  display: grid;
  gap: 10px;
  width: 100%;
}

.account-donut__legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #53636b;
  font-size: 0.875rem;
  line-height: 1.45;
}

.account-donut__legend-color {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex: 0 0 10px;
}

.account-empty {
  padding: 18px;
  border-radius: 18px;
  background: #f7faf8;
  color: #6f7b82;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.account-form {
  display: grid;
  gap: 16px;
}

.account-receipt-upload {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px dashed #d7dfdc;
  border-radius: 14px;
  background: #f7faf8;
}

.account-receipt-upload__label {
  color: #1f2a2e;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
}

.account-receipt-upload__input {
  width: 100%;
}

.account-receipt-upload__status {
  min-height: 20px;
  color: #6f7b82;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.account-receipt-upload__status.is-loading {
  color: #2f6f73;
}

.account-receipt-upload__status.is-success {
  color: #067647;
}

.account-receipt-upload__status.is-error {
  color: #a9473b;
}

.account-receipt-preview {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #d7dfdc;
  border-radius: 14px;
  background: #ffffff;
}

.account-receipt-preview__item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7faf8;
}

.account-receipt-preview__title {
  color: #1f2a2e;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
}

.account-receipt-preview__meta,
.account-receipt-preview__notes {
  color: #6f7b82;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.account-form--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.account-form--grid > * {
  min-width: 0;
}

.account-form--compact {
  max-width: 420px;
}

.account-form__full {
  grid-column: 1 / -1;
}

.account-category-picker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-category-picker__input {
  width: 56px;
  height: 42px;
  padding: 0;
  border: 1px solid #d7dfdc;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.account-content {
  color: #53636b;
  font-size: 0.95rem;
  line-height: 1.8;
}

.account-content > *:first-child {
  margin-top: 0;
}

.account-content > *:last-child {
  margin-bottom: 0;
}

.account-content h1,
.account-content h2,
.account-content h3,
.account-content h4 {
  color: #1f2a2e;
  font-weight: 800;
  line-height: 1.3;
}

.account-content ul,
.account-content ol {
  padding-left: 20px;
}

.account-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  justify-self: flex-start;
  max-width: max-content;
  color: #53636b;
  font-size: 0.875rem;
  line-height: 1.5;
}

.account-check input {
  margin: 0;
}

.account-check span {
  flex: 0 1 auto;
}

.account-card__search-meta {
  color: #6f7b82;
  font-size: 0.875rem;
  line-height: 1.4;
}

.account-search-results {
  display: grid;
  gap: 14px;
}

.account-search-results__item {
  min-height: 92px;
}

.account-search-results__tag,
.account-entity__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f2ee;
  color: #2f6f73;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.account-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.account-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-pagination__link,
.account-pagination__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #d7dfdc;
  background: #ffffff;
  color: #42515a;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.account-pagination__link.is-active {
  border-color: #2f6f73;
  background: #edf6f2;
  color: #2f6f73;
}

.account-shell input[type="checkbox"],
.account-shell input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid #a0aaa7;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  flex: 0 0 18px;
}

.account-shell input[type="checkbox"] {
  border-radius: 6px;
}

.account-shell input[type="radio"] {
  border-radius: 999px;
}

.account-shell input[type="checkbox"]:checked,
.account-shell input[type="radio"]:checked {
  border-color: #2f6f73;
  background: #2f6f73;
}

.account-shell input[type="checkbox"]::after,
.account-shell input[type="radio"]::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.account-shell input[type="checkbox"]::after {
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translateY(-1px);
}

.account-shell input[type="radio"]::after {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

.account-shell input[type="checkbox"]:checked::after,
.account-shell input[type="radio"]:checked::after {
  opacity: 1;
}

.account-goal-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: #f7faf8;
}

.account-goal-list {
  gap: 14px;
}

.account-goal-list__item {
  align-items: stretch;
}

.account-goal-list__lead {
  align-items: flex-start;
  flex: 1 1 auto;
}

.account-goal-list__icon {
  background: #edf6f2;
}

.account-goal-list__main {
  display: grid;
  gap: 10px;
  width: 100%;
}

.account-goal-list__metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6f7b82;
  font-size: 0.875rem;
  line-height: 1.5;
}

.account-goal-history {
  display: grid;
  gap: 6px;
}

.account-goal-history__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6f7b82;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.account-goal-list__side {
  justify-content: space-between;
  min-width: 108px;
}

.account-goal-card__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.account-goal-card__amounts,
.account-goal-card__footer {
  color: #42515a;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.account-progress {
  height: 12px;
  border-radius: 999px;
  background: #dce9e6;
  overflow: hidden;
}

.account-progress__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f6f73 0%, #4eb3a5 100%);
}

.account-entity__delete {
  padding: 0;
  color: #a9473b;
  font-size: 0.875rem;
  font-weight: 700;
}

.account-entity__badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-entity__badge--manual {
  background: #e4f4f1;
  color: #0369a1;
}

.account-entity__badge--recurring_bill {
  background: #ecfdf3;
  color: #067647;
}

.account-entity__badge--search {
  background: #f2f4f7;
  color: #53636b;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(16, 24, 40, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-bg.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  border-radius: 10px;
  background: #ffffff;
  box-sizing: border-box;
}

.modal-account .modal-content,
.modal-success .modal-content {
  width: min(100%, 460px);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-title,
.modal-text-success {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.btn-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #1f2a2e;
  background: #f7faf8;
}

.modal-text,
.description {
  color: #53636b;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.description p + p,
.description ul + p,
.description p + ul,
.description ul + ul {
  margin-top: 1em;
}

.description ul,
.description ol {
  padding-left: 1.25rem;
}

.description ul {
  list-style: disc;
}

.description ol {
  list-style: decimal;
}

.description a {
  color: #2f6f73;
  text-decoration: underline;
}

.login-form,
.js-form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 2px;
}

.form-group label {
  color: #42515a;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.form-group small {
  display: inline-block;
  margin-left: 4px;
  color: #6f7b82;
  font-size: 0.75rem;
}

.form-control {
  min-height: 32px;
  padding: 8px 12px;
  border: 1px solid #d7dfdc;
  border-radius: 8px;
  background: #ffffff;
}

textarea.form-control {
  height: 50px;
  resize: none;
}

.form-control[readonly] {
  opacity: 0.8;
  color: #53636b;
}

select.form-control.nice-select-source {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.nice-select {
  position: relative;
}

.nice-select__current {
  cursor: pointer;
  width: 100%;
  min-height: 32px;
  padding: 8px 40px 8px 12px;
  border: 1px solid #d7dfdc;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2a2e;
  font-size: 0.9375rem;
  line-height: 1.35;
  text-align: left;
  position: relative;
}

.nice-select.is-multiple .nice-select__current {
  min-height: 40px;
  white-space: normal;
  line-height: 1.45;
}

.nice-select__current::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #6f7b82;
  border-bottom: 1.5px solid #6f7b82;
  transform: translateY(-65%) rotate(45deg);
}

.nice-select.is-open .nice-select__current::after {
  transform: translateY(-35%) rotate(-135deg);
}

.nice-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  display: none;
  max-height: 240px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d7dfdc;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.nice-select.is-open .nice-select__menu {
  display: grid;
  gap: 4px;
}

.nice-select__option {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1f2a2e;
  text-align: left;
  position: relative;
}

.nice-select__option.is-selected,
.nice-select__option:hover,
.nice-select__option:focus-visible {
  background: #edf6f2;
  color: #2f6f73;
}

.nice-select.is-multiple .nice-select__option {
  padding-right: 36px;
}

.nice-select.is-multiple .nice-select__option.is-selected::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  width: 10px;
  height: 6px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-60%) rotate(-45deg);
}

.nice-select.is-disabled {
  opacity: 0.65;
}

.form-control.error {
  border-color: #b5473c;
}

.form-control.valide {
  border-color: #12b76a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
}

.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-block {
  width: 100%;
}

.modal-footer {
  margin-top: 24px;
}

.reg-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.forgotten {
  color: #2f6f73;
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: pointer;
}

.fer-r {
  color: #b5473c;
  font-size: 0.875rem;
  line-height: 1.4;
}

.site-info__inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.pricing-page {
  background: #f4f8f6;
}

.pricing-page__section {
  padding: 40px 0 96px;
}

.pricing-page__inner {
  width: min(100% - 64px, 1200px);
}

.pricing-page__title {
  margin-bottom: 40px;
  color: #25333a;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.pricing-page__title-accent {
  color: #c96f45;
}

.pricing-page__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 402px;
  padding: 20px 24px 24px;
  border: 2px solid #d7dfdc;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.pricing-card--plus {
  border-color: #3aa7a0;
}

.pricing-card--premium {
  border-color: #c96f45;
}

.pricing-card--ultimate {
  border-color: #6f78d8;
}

.pricing-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  width: 103.5px;
  height: 103.5px;
  pointer-events: none;
}

.pricing-card__ribbon-image {
  display: block;
  width: 100%;
  height: 100%;
}

.pricing-card__ribbon-text {
  position: absolute;
  top: 31px;
  right: 9px;
  color: #ffffff;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  transform: rotate(45deg);
  transform-origin: center;
}

.pricing-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border-radius: 8px;
  background: #c96f45;
}

/* Dashboard Figma parity */
.account-main__body {
  padding: 0 16px 40px;
}

.account-main__container {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.account-dashboard__top,
.account-dashboard__bottom {
  display: grid;
  gap: 12px;
  align-items: stretch;
}

.account-dashboard__top {
  grid-template-columns: 3.63fr 5.34fr 4.09fr;
  margin-bottom: 12px;
}

.account-dashboard__bottom {
  grid-template-columns: 3.63fr 2.92fr 2.3fr 4.09fr;
}

.account-dashboard .account-card--safe,
.account-dashboard .account-card--tracker,
.account-dashboard .account-card--forecasts,
.account-dashboard .account-card--transactions,
.account-dashboard .account-card--trend,
.account-dashboard .account-card--category,
.account-dashboard .account-card--bills {
  grid-column: auto;
}

.account-dashboard .account-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  border-radius: 10px;
  box-shadow: none;
}

.account-dashboard .account-card--safe,
.account-dashboard .account-card--forecasts {
  min-height: 332px;
}

.account-dashboard .account-card--tracker {
  min-height: 215px;
  padding-right: 8px;
}

.account-dashboard .account-card__header {
  margin-bottom: 14px;
}

.account-dashboard .account-card__title {
  color: #25333a;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-dashboard .account-card__action,
.account-dashboard .account-primary-action {
  display: none;
}

.account-dashboard .account-card__icon-button,
.account-dashboard .account-card__icon-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  padding: 0;
}

.account-dashboard .account-card__icon-button {
  border: 0;
  background: transparent;
}

.account-dashboard .account-card__icon {
  display: block;
  width: 14px;
  height: 14px;
}

.account-dashboard .account-card__view-all {
  color: #2f6f73;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-dashboard .account-safe {
  min-height: 300px;
}

.account-dashboard .account-safe__ring {
  width: 300px;
  height: 300px;
  aspect-ratio: auto;
  background: conic-gradient(
    from -74deg,
    #c96f45 0 calc(var(--safe-rolled) * 1%),
    #4eb3a5 calc(var(--safe-rolled) * 1%) calc((var(--safe-rolled) + var(--safe-starting)) * 1%),
    #2f6f73 calc((var(--safe-rolled) + var(--safe-starting)) * 1%) 100%
  );
}

.account-dashboard .account-safe__ring::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: #ffffff;
}

.account-dashboard .account-safe__content {
  gap: 5px;
  width: 139px;
}

.account-dashboard .account-safe__button {
  margin-top: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-dashboard .account-safe__label {
  color: #53636b;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
}

.account-dashboard .account-safe__amount {
  color: #2f6f73;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}

.account-dashboard .account-safe__meta {
  color: #6f7b82;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.account-dashboard .account-safe__meta--accent {
  color: #c96f45;
}

.account-dashboard__tracker-stack {
  display: grid;
  height: 100%;
}

.account-dashboard__safe-stack {
  display: grid;
  gap: 12px;
  height: 100%;
}

.account-dashboard__panel-stack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  height: 100%;
}

.account-dashboard__panel-action,
.account-dashboard__add-button,
.account-dashboard__safe-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  border: 1px dashed #3f8f86;
  border-radius: 8px;
  background: #ffffff;
  color: #3f8f86;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 16.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-dashboard__safe-action {
  display: none;
}

.account-dashboard__add-icon {
  font-size: 18px;
  line-height: 1;
}

.account-dashboard .account-empty {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.account-dashboard .account-week-table {
  max-height: 300px;
  overflow: auto;
  padding-right: 6px;
  scrollbar-gutter: stable;
  gap: 1px;
}

.account-dashboard .account-week-table__head,
.account-dashboard .account-week-table__row {
  grid-template-columns: 51px 171.55px auto 100px;
  gap: 0;
}

.account-dashboard .account-week-table__head {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0 0 4px;
  background: #ffffff;
  color: #87918f;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 13.5px;
  text-transform: none;
  text-align: center;
}

.account-dashboard .account-week-table__row {
  min-height: 18px;
  padding: 2px 0;
  border-radius: 4px;
  background: #f3f7f4;
  color: #25333a;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  line-height: 13.5px;
}

.account-dashboard .account-week-table__row:nth-child(even) {
  background: #edf4f1;
}

.account-dashboard .account-week-table__row.is-current {
  background: #e7f2ee;
}

.account-dashboard .account-week-table__row.is-future {
  background: transparent;
  color: #a0aaa7;
}

.account-dashboard .account-week-table__row:hover,
.account-week-table--history .account-week-table__row:hover {
  background: rgba(21, 115, 151, 0.08);
}

.account-week-table__row--static {
  cursor: default;
}

.account-week-table__row--static:hover {
  background: inherit;
}

.account-dashboard .account-week-table__row--static:hover {
  background: inherit;
}

.account-dashboard .account-week-table__row--static:nth-child(even):hover {
  background: #edf4f1;
}

.account-dashboard .account-week-table__day {
  padding-left: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.account-dashboard .account-week-table__day-date {
  font-family: Arial, sans-serif;
  font-size: 8px;
  line-height: 11px;
}

.account-week-table--history .account-week-table__head,
.account-week-table--history .account-week-table__row {
  grid-template-columns: 180px repeat(3, minmax(0, 1fr));
}

.account-dashboard .account-week-table__row > *:not(.account-week-table__day):not(.account-week-table__forecast) {
  text-align: center;
}

.account-dashboard .account-week-table__row > *:nth-child(2) {
  color: #4caf50;
}

.account-dashboard .account-week-table__row > *:nth-child(3) {
  color: #c85f52;
}

.account-dashboard .account-week-table__row > *:nth-child(4) {
  color: #25333a;
}

.account-dashboard .account-week-table__forecast {
  color: #a0aaa7;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 13.5px;
  text-align: center;
}

.account-day-card {
  display: grid;
  gap: 20px;
}

.account-day-card__header {
  align-items: flex-start;
}

.account-day-card__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-day-card__subtitle {
  margin-top: 6px;
  color: #6f7b82;
  font-size: 0.9rem;
  line-height: 1.5;
}

.account-day-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-day-summary__item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7faf8;
}

.account-day-summary__label {
  color: #6f7b82;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-day-summary__value {
  color: #25333a;
  font-size: 1.1rem;
  font-weight: 800;
}

.account-day-summary__value--expense {
  color: #c85f52;
}

.account-day-summary__value--income {
  color: #2e9f6b;
}

.account-dashboard .account-forecast-list {
  gap: 8px;
}

.account-dashboard .account-card--transactions .account-list,
.account-dashboard .account-card--bills .account-list {
  max-height: 300px;
  overflow: auto;
}

.account-dashboard .account-forecast {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 47px;
  padding: 10px;
  border-radius: 8px;
}

.account-dashboard .account-forecast--positive {
  background: #2e7d32;
}

.account-dashboard .account-forecast--warning {
  background: #c96f45;
}

.account-dashboard .account-forecast__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  flex: 0 0 20px;
}

.account-dashboard .account-forecast--positive .account-forecast__icon-wrap {
  background: #1b5e20;
}

.account-dashboard .account-forecast--warning .account-forecast__icon-wrap {
  background: #a8552f;
}

.account-dashboard .account-forecast__cash-icon {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  line-height: 15px;
}

.account-dashboard .account-forecast__warning-icon {
  display: block;
  width: 12px;
  height: 12px;
}

.account-dashboard .account-forecast__content {
  display: grid;
  gap: 0;
}

.account-dashboard .account-forecast__title {
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  line-height: 13.5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-dashboard .account-forecast__subtitle {
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  line-height: 13.5px;
}

.account-dashboard .account-forecast--positive .account-forecast__subtitle {
  color: #b9f8cf;
}

.account-dashboard .account-forecast--warning .account-forecast__subtitle {
  color: #f0c7ab;
}

.account-forecast-goals {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.account-forecast-goals__title {
  color: #1f2a2e;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.account-dashboard .account-goal-list--forecast {
  gap: 8px;
}

.account-dashboard .account-goal-list--forecast .account-list__item {
  padding: 10px 12px;
  background: #f7faf8;
}

.account-dashboard .account-goal-list--forecast .account-goal-list__main {
  gap: 8px;
}

.account-dashboard .account-goal-list--forecast .account-goal-list__metrics {
  font-size: 0.8125rem;
  line-height: 1.35;
}

.account-dashboard .account-goal-list--forecast .account-progress {
  height: 10px;
}

.pricing-card__badge-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.pricing-card__name {
  margin-bottom: 12px;
  color: #1f2a2e;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.pricing-card--plus .pricing-card__name {
  color: #3aa7a0;
}

.pricing-card--premium .pricing-card__name {
  color: #c96f45;
}

.pricing-card--ultimate .pricing-card__name {
  color: #6f78d8;
}

.pricing-card__price-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-bottom: 18px;
}

.pricing-card__price {
  color: #25333a;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
}

.pricing-card__suffix {
  padding-bottom: 5px;
  color: #6f7b82;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pricing-card__features {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.pricing-card__feature {
  position: relative;
  padding-left: 13px;
  color: #42515a;
  font-size: 1rem;
  line-height: 1.22;
}

.pricing-card__feature::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 5px;
  color: #a0aaa7;
  font-size: 0.5rem;
  line-height: 1;
}

.pricing-card--plus .pricing-card__feature::before {
  color: #3aa7a0;
}

.pricing-card--premium .pricing-card__feature::before {
  color: #c96f45;
}

.pricing-card--ultimate .pricing-card__feature::before {
  color: #6f78d8;
}

.pricing-card__feature--strong {
  font-weight: 700;
}

.pricing-card__button {
  width: 100%;
  min-height: 45px;
  border-radius: 10px;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.pricing-card__button--light {
  background: #d7dfdc;
  color: #42515a;
}

.pricing-card__button--plus {
  background: #3aa7a0;
  color: #ffffff;
}

.pricing-card__button--premium {
  background: #c96f45;
  color: #ffffff;
}

.pricing-card__button--ultimate {
  background: #6f78d8;
  color: #ffffff;
}

.pricing-page__disclaimer {
  margin-top: 20px;
  color: #6f7b82;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
}

.pricing-page__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pricing-page__payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #d7dfdc;
  border-radius: 999px;
  background: #ffffff;
  color: #25333a;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-page__payment-icon {
  display: block;
  width: auto;
  max-width: 100%;
  height: 22px;
}

.pricing-page__payment-icon--mastercard {
  height: 34px;
}

.pricing-page__payment-icon--paypal {
  height: 36px;
}
