.velnor-viewport {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--velnor-bg-canvas);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

@media (min-width: 960px) {
  .velnor-viewport {
    max-width: 100%;
    box-shadow: none;
    margin: 0;
  }
}

.velnor-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.velnor-logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background-color: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.velnor-pill-toggle {
  background-color: rgba(226, 232, 240, 0.8);
  padding: 0.125rem;
  border-radius: 9999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
}

.velnor-pill-toggle button,
.velnor-pill-toggle a {
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  transition: all 0.15s ease-in-out;
}

.velnor-pill-toggle button.active {
  background-color: #FFFFFF;
  color: var(--velnor-navy);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.velnor-hero-card {
  background: linear-gradient(135deg, #0F2537 0%, #173852 48%, #B8894F 95%, #F3C66E 100%);
  border-radius: 1.5rem;
  padding: 1.25rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-hero);
  position: relative;
  overflow: hidden;
}

.velnor-gauge-container {
  position: relative;
  width: 8rem;
  height: 4rem;
  margin: 0.25rem auto;
}

.velnor-card {
  background-color: #FFFFFF;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid #F1F5F9;
}

.velnor-progress-track {
  width: 100%;
  background-color: #F1F5F9;
  height: 0.5rem;
  border-radius: 9999px;
  overflow: hidden;
}

.velnor-progress-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease-out;
}

.velnor-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0.5rem calc(0.75rem + env(safe-area-inset-right, 0px)) calc(0.5rem + env(safe-area-inset-bottom, 0px)) calc(0.75rem + env(safe-area-inset-left, 0px));
  z-index: 40;
  box-shadow: 0 -4px 25px 0 rgba(15, 37, 55, 0.05);
}

@media (min-width: 960px) {
  .velnor-bottom-nav {
    display: none;
  }
}

.velnor-fab {
  position: fixed;
  bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  right: max(calc(1.25rem + env(safe-area-inset-right, 0px)), calc(50% - 200px));
  z-index: 45;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: var(--velnor-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-fab);
  border: 2px solid rgba(196, 154, 98, 0.35);
  transition: all 0.2s ease-in-out;
}

.velnor-fab:hover {
  background-color: var(--velnor-navy-dark);
  transform: scale(1.04);
}

.velnor-fab:active {
  transform: scale(0.94);
}

@media (min-width: 960px) {
  .velnor-fab {
    display: none;
  }
}

.velnor-sheet-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 27, 41, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1300;
  transition: opacity 0.25s ease-out;
}

.velnor-sheet-content {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background-color: #FFFFFF;
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
  box-shadow: var(--shadow-sheet);
  z-index: 1301;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 1px solid #E2E8F0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 960px) {
  .velnor-sheet-content {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 580px;
    border-radius: 1.5rem;
    border: 1px solid #E2E8F0;
    box-shadow: var(--shadow-floating);
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.vn-page-content {
  padding: 0.75rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 960px) {
  .vn-page-content {
    padding: 1.5rem 2rem 2.5rem;
    max-width: 1440px;
    margin: 0 auto;
  }
}

.vn-page-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F2537;
  letter-spacing: -0.02em;
  margin: 0;
}

.vn-page-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748B;
  margin: 0.125rem 0 0;
}

.vn-card {
  background-color: #FFFFFF;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 20px -2px rgba(15, 37, 55, 0.06), 0 2px 6px -1px rgba(15, 37, 55, 0.03);
  border: 1px solid #F1F5F9;
}

.vn-card--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vn-label-caps {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #475569;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.25rem;
}

.vn-label-micro {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.vn-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 41, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1300;
}

.vn-dialog {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
  box-shadow: 0 -12px 40px rgba(10, 27, 41, 0.25);
  z-index: 1301;
  max-height: 92vh;
  overflow-y: auto;
  padding: 0 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vn-dialog-handle {
  width: 3rem;
  height: 0.25rem;
  background: #CBD5E1;
  border-radius: 9999px;
  margin: 0.75rem auto 0;
  cursor: pointer;
  flex-shrink: 0;
}

.vn-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 960px) {
  .vn-dialog {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 540px;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 37, 55, 0.25);
    padding: 1.5rem 2rem 2rem;
    border: 1px solid #E2E8F0;
  }

  .vn-dialog-handle {
    display: none;
  }
}

.vn-cur-active,
.vn-cur-inactive {
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.15s;
}

.vn-cur-active {
  background: #0F2537;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(15, 37, 55, 0.15);
}

.vn-cur-inactive {
  background: #FFFFFF;
  color: #64748B;
  border: 1px solid #E2E8F0;
}

.vn-cur-inactive:hover {
  background: #F1F5F9;
  color: #0F2537;
}

.vn-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: #FFFFFF;
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
  box-shadow: 0 -12px 40px rgba(10, 27, 41, 0.22);
  z-index: 1301;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.75rem;
  border: 1px solid #E2E8F0;
  border-bottom: none;
}

.vn-sheet-handle {
  width: 3rem;
  height: 0.25rem;
  background: #CBD5E1;
  border-radius: 9999px;
  margin: 0 auto 1rem;
  cursor: pointer;
}

.vn-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #F1F5F9;
}

@media (min-width: 960px) {
  .vn-sheet {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 520px;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 37, 55, 0.25);
    padding: 1.75rem 2rem 2rem;
    border: 1px solid #E2E8F0;
  }

  .vn-sheet-handle {
    display: none;
  }
}

.vn-filter-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.vn-filter-pills::-webkit-scrollbar {
  display: none;
}

.vn-pill {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.vn-pill--active {
  background: #0F2537;
  color: #FFFFFF;
  border: 1px solid rgba(243, 198, 110, 0.5);
}

.vn-pill--inactive {
  background: #FFFFFF;
  color: #475569;
  border: 1px solid #E2E8F0;
}

.vn-pill-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #F3C66E;
  display: inline-block;
}

.vn-tx-amount {
  font-size: 0.75rem;
  font-weight: 800;
  margin: 0;
}

.vn-tx-amount--income {
  color: #059669;
}

.vn-tx-amount--expense {
  color: #DC2626;
}

.vn-tx-amount--transfer {
  color: #9E743F;
}

.vn-tx-label--income {
  font-size: 0.625rem;
  font-weight: 700;
  color: #059669;
}

.vn-tx-label--expense {
  font-size: 0.625rem;
  font-weight: 700;
  color: #DC2626;
}

.vn-tx-label--transfer {
  font-size: 0.625rem;
  font-weight: 700;
  color: #9E743F;
}

.vn-tx-avatar {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0.75rem;
}

.vn-tx-avatar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #FFFFFF;
}

.vn-logo-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
}

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

.vn-logo-text {
  line-height: 1;
}

.vn-logo-velnor {
  display: block;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #0F2537;
  text-transform: uppercase;
}

.vn-logo-boveda {
  display: block;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9E743F;
  text-transform: uppercase;
}

.vn-swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.vn-swatch-btn {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
}

.vn-swatch-btn:hover {
  transform: scale(1.1);
}

.vn-swatch-btn--active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0F2537;
}

.vn-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(2.5rem, 1fr));
  gap: 0.375rem;
}

.vn-icon-pick-btn {
  height: 2.375rem;
  border-radius: 0.5rem;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}

.vn-icon-pick-btn:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
  color: #0F2537;
}

.vn-icon-pick-btn--active {
  border-color: currentColor;
  box-shadow: 0 2px 6px rgba(15, 37, 55, 0.12);
}

.vn-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 0.25rem;
}

.vn-actions-row__group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.vn-content-card {
  background: var(--velnor-surface-white);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #F1F5F9;
  box-shadow: 0 2px 8px rgba(15, 37, 55, 0.04);
}

.vn-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.875rem;
}

.vn-card-section-title {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--velnor-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.vn-form-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vn-form-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  background: var(--velnor-bg-canvas);
  border-radius: 0.75rem;
  border: 1px solid var(--velnor-border-light);
}

.vn-form-preview__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vn-form-preview__name {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vn-form-preview__sub {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748B;
}

.vn-dialog-footer {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.vn-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #F8FAFC;
}

.vn-list-row__cell {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
}

.vn-progress-bar-wrap {
  height: 0.5rem;
  background: #F1F5F9;
  border-radius: 9999px;
  overflow: hidden;
}

.vn-progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.4s ease-out;
}

.vn-account-option {
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: var(--velnor-bg-canvas);
  border: 1px solid var(--velnor-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.15s;
}

.vn-account-option--selected {
  background: #F0FDF4;
  border-color: #10B981;
}

.vn-account-option__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vn-account-option__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  display: inline-block;
  flex-shrink: 0;
}

.vn-account-option__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0F172A;
}

.vn-empty-state {
  padding: 2rem;
  text-align: center;
  background: var(--velnor-surface-white);
  border-radius: 1rem;
  border: 1px solid var(--velnor-border-light);
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 600;
}

.vn-dialog-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0F2537;
  margin: 0;
}

.vn-dialog-subtitle {
  font-size: 0.6875rem;
  color: #64748B;
}

.vn-confirm-message {
  font-size: 0.8125rem;
  color: #475569;
  margin: 0.5rem 0 1rem;
  line-height: 1.5;
}

.vn-mono-gold {
  color: #92400E;
  font-weight: 600;
}

.vn-text-muted-placeholder {
  color: #94a3b8;
}

.vn-logout-text {
  color: #b91c1c;
  font-weight: 600;
}

.vn-user-menu-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vn-user-menu-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
}

.vn-user-menu-info {
  min-width: 0;
  overflow: hidden;
}

.vn-header-btn-workspace {
  border-color: #E2E8F0;
  color: #0F2537;
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 0.75rem;
  height: 2.25rem;
  background: #FFFFFF;
  text-transform: none;
}

.vn-header-btn-new {
  background: #0F2537;
  color: #F3C66E;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid rgba(243, 198, 110, 0.4);
  height: 2.25rem;
}

.vn-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #065F46;
}

.vn-detail-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.vn-expected-label {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #334155;
}

