:root {
  --red: #f00016;
  --red-dark: #c50012;
  --ink: #1b1e25;
  --muted: #a7a9b1;
  --line: #e2e3e8;
  --panel: #ffffff;
  --shadow: 0 18px 45px rgba(34, 38, 51, 0.1);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 15% 4%, rgba(0, 0, 0, 0.035), transparent 24rem),
    linear-gradient(135deg, #fafafa 0%, #ffffff 48%, #f6f7f9 100%);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

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

button[data-loading="true"] {
  opacity: 0.72;
  pointer-events: none;
}

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

.app-shell {
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  display: block;
  padding: 0;
  background: #ffffff;
}

.phone-screen {
  width: 100%;
  max-width: none;
  height: 100svh;
  min-height: 100svh;
  max-height: none;
  position: relative;
  overflow-x: hidden;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 0, 0, 0.035), transparent 16rem),
    #ffffff;
}

.app-toast {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 20;
  min-height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(20, 23, 31, 0.94);
  box-shadow: 0 14px 30px rgba(20, 23, 31, 0.18);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.app-toast[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

body[data-route="home"] .app-toast {
  bottom: calc(86px + env(safe-area-inset-bottom));
}

body .app-view {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: none;
}

body[data-route="login"] .app-view[data-view="login"],
body[data-route="signup"] .app-view[data-view="signup"],
body[data-route="verify"] .app-view[data-view="verify"],
body[data-route="face-intro"] .app-view[data-view="face-intro"],
body[data-route="face-capture"] .app-view[data-view="face-capture"],
body[data-route="policies"] .app-view[data-view="policies"],
body[data-route="account-rejected"] .app-view[data-view="account-rejected"],
body[data-route="home"] .app-view[data-view="home"],
body[data-route="notifications"] .app-view[data-view="notifications"],
body[data-route="extract"] .app-view[data-view="extract"],
body[data-route="free-trial"] .app-view[data-view="free-trial"],
body[data-route="boali-go"] .app-view[data-view="boali-go"],
body[data-route="chat"] .app-view[data-view="chat"],
body[data-route="new-sale"] .app-view[data-view="new-sale"],
body[data-route="customer-sale"] .app-view[data-view="customer-sale"],
body[data-route="sale-pix"] .app-view[data-view="sale-pix"],
body[data-route="sale-approved"] .app-view[data-view="sale-approved"],
body[data-route="orders"] .app-view[data-view="orders"],
body[data-route="clients"] .app-view[data-view="clients"],
body[data-route="affiliate-profile"] .app-view[data-view="affiliate-profile"],
body[data-route="privacy"] .app-view[data-view="privacy"],
body[data-route="terms"] .app-view[data-view="terms"],
body[data-route="my-data"] .app-view[data-view="my-data"] {
  display: flex;
}

body[data-route="signup"] .phone-screen,
body[data-route="verify"] .phone-screen,
body[data-route="face-intro"] .phone-screen,
body[data-route="face-capture"] .phone-screen,
body[data-route="policies"] .phone-screen,
body[data-route="account-rejected"] .phone-screen,
body[data-route="privacy"] .phone-screen,
body[data-route="terms"] .phone-screen,
body[data-route="my-data"] .phone-screen {
  overflow: hidden;
  scrollbar-width: none;
  background:
    radial-gradient(circle at 10% 9%, rgba(240, 0, 22, 0.07), transparent 14rem),
    #ffffff;
}

body[data-route="home"] .phone-screen {
  overflow: hidden;
  background: #ffffff;
}

body[data-route="notifications"] .phone-screen {
  overflow: hidden;
  background: #f7f8fb;
}

body[data-route="extract"] .phone-screen {
  overflow: hidden;
  background: #ffffff;
}

body[data-route="free-trial"] .phone-screen {
  overflow: hidden;
  background: #f7f8fb;
}

body[data-route="boali-go"] .phone-screen {
  overflow: hidden;
  background: #f7f8fb;
}

body[data-route="chat"] .phone-screen {
  overflow: hidden;
  background: #ffffff;
}

body[data-route="new-sale"] .phone-screen {
  overflow: hidden;
  background: #ffffff;
}

body[data-route="customer-sale"] .phone-screen {
  overflow-y: auto;
  background: #f7f8fb;
}

body[data-route="customer-sale"] .signup-top-wave,
body[data-route="customer-sale"] .bottom-wave,
body[data-route="sale-pix"] .signup-top-wave,
body[data-route="sale-pix"] .bottom-wave,
body[data-route="sale-approved"] .signup-top-wave,
body[data-route="sale-approved"] .bottom-wave,
body[data-route="orders"] .signup-top-wave,
body[data-route="orders"] .bottom-wave,
body[data-route="boali-go"] .signup-top-wave,
body[data-route="boali-go"] .bottom-wave,
body[data-route="clients"] .signup-top-wave,
body[data-route="clients"] .bottom-wave,
body[data-route="affiliate-profile"] .signup-top-wave,
body[data-route="affiliate-profile"] .bottom-wave {
  display: none;
}

body[data-route="sale-pix"] .phone-screen,
body[data-route="sale-approved"] .phone-screen,
body[data-route="orders"] .phone-screen,
body[data-route="clients"] .phone-screen,
body[data-route="affiliate-profile"] .phone-screen {
  overflow: hidden;
  background: #ffffff;
}

body[data-route="signup"] .phone-screen::-webkit-scrollbar,
body[data-route="verify"] .phone-screen::-webkit-scrollbar,
body[data-route="face-intro"] .phone-screen::-webkit-scrollbar,
body[data-route="face-capture"] .phone-screen::-webkit-scrollbar,
body[data-route="policies"] .phone-screen::-webkit-scrollbar {
  display: none;
}

.status-bar {
  height: 54px;
  padding: 16px 33px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #050507;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
}

body[data-route="signup"] .status-time {
  color: #ffffff;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 2px;
}

.signal-icon {
  width: 19px;
  height: 14px;
  display: inline-block;
  background:
    linear-gradient(to top, #08090c 0 100%) 0 9px / 4px 5px no-repeat,
    linear-gradient(to top, #08090c 0 100%) 5px 6px / 4px 8px no-repeat,
    linear-gradient(to top, #08090c 0 100%) 10px 3px / 4px 11px no-repeat,
    linear-gradient(to top, #08090c 0 100%) 15px 0 / 4px 14px no-repeat;
  border-radius: 1px;
}

.wifi-icon {
  width: 19px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.wifi-icon::before,
.wifi-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  border: 3px solid #08090c;
  border-bottom: 0;
  border-left-color: transparent;
  border-right-color: transparent;
  transform: translateX(-50%);
}

.wifi-icon::before {
  width: 18px;
  height: 11px;
  top: 0;
  border-radius: 16px 16px 0 0;
}

.wifi-icon::after {
  width: 8px;
  height: 5px;
  top: 7px;
  border-radius: 8px 8px 0 0;
}

.battery-icon {
  width: 27px;
  height: 13px;
  border: 2px solid #08090c;
  border-radius: 3px;
  position: relative;
  display: inline-block;
}

.battery-icon::before {
  content: "";
  width: 3px;
  height: 7px;
  background: #08090c;
  border-radius: 0 2px 2px 0;
  position: absolute;
  right: -5px;
  top: 1px;
}

.battery-icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #08090c;
  border-radius: 1px;
}

.login-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(112px, 14svh, 138px) 32px 150px;
}

.brand-logo {
  width: min(315px, 82vw);
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.welcome-copy {
  text-align: center;
  margin-bottom: 31px;
}

.welcome-copy h1 {
  margin: 0 0 5px;
  font-size: 25px;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0;
}

.welcome-copy p {
  margin: 0;
  color: #aaaab2;
  font-size: 16px;
  font-weight: 500;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.fields-card {
  width: 100%;
  padding: 24px 20px 23px;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group + .field-group {
  margin-top: 22px;
}

.field-label {
  color: #222530;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 800;
}

.field-control {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 15px;
  color: #707380;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.field-control:focus-within {
  border-color: rgba(240, 0, 22, 0.42);
  box-shadow: 0 0 0 4px rgba(240, 0, 22, 0.08);
  background: #ffffff;
}

.field-group[data-validation-state="valid"] .field-control {
  border-color: rgba(4, 167, 103, 0.5);
  box-shadow: 0 0 0 4px rgba(4, 167, 103, 0.08);
}

.field-group[data-validation-state="invalid"] .field-control {
  border-color: rgba(240, 0, 22, 0.58);
  box-shadow: 0 0 0 4px rgba(240, 0, 22, 0.08);
}

.field-validation-message {
  display: none;
  margin-top: -2px;
  color: #737b89;
  font-size: 11.5px;
  line-height: 1.25;
  font-weight: 750;
}

.field-validation-message[data-visible="true"] {
  display: block;
}

.field-validation-message[data-state="valid"] {
  color: #048c59;
}

.field-validation-message[data-state="invalid"] {
  color: var(--red);
}

.field-control > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #5e6472;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-control input,
.field-control select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.field-control input::placeholder {
  color: #c7c9d0;
  opacity: 1;
}

.field-control select {
  appearance: none;
  cursor: pointer;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-right: -6px;
}

.icon-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #8d909a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.primary-button,
.secondary-button {
  min-height: 51px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: 0;
}

.primary-button {
  border: 0;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(240, 0, 22, 0.2);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.primary-button:active,
.secondary-button:active,
.forgot-button:active,
.icon-button:active {
  transform: scale(0.98);
}

.primary-button:hover {
  background: var(--red-dark);
  box-shadow: 0 12px 26px rgba(240, 0, 22, 0.25);
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 31px 0 24px;
  color: #b8bac1;
}

.divider span {
  height: 1px;
  background: #dedfe5;
}

.divider strong {
  color: #b6b8c0;
  font-size: 14px;
  font-weight: 750;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1.5px solid var(--red);
  background: rgba(255, 255, 255, 0.65);
  color: var(--red);
  transition:
    transform 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.secondary-button:hover {
  background: rgba(240, 0, 22, 0.045);
  box-shadow: 0 10px 22px rgba(240, 0, 22, 0.08);
}

.secondary-button svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.forgot-button {
  width: fit-content;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  align-self: center;
  margin-top: 22px;
  padding: 0 12px;
}

.bottom-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -50px;
  height: clamp(116px, 16svh, 156px);
  z-index: 1;
  pointer-events: none;
}

.bottom-wave::before,
.bottom-wave::after {
  content: "";
  position: absolute;
  border-radius: 50% 50% 0 0 / 70% 68% 0 0;
}

.bottom-wave::before {
  left: -22%;
  width: 145%;
  height: 132px;
  bottom: -35px;
  background: var(--red);
  transform: rotate(-5deg);
  border-top: 1px solid rgba(240, 0, 22, 0.22);
}

.bottom-wave::after {
  right: -25%;
  width: 92%;
  height: 124px;
  bottom: -48px;
  background:
    radial-gradient(circle at 88% 4%, rgba(240, 0, 22, 0.32), transparent 20rem),
    #202225;
  transform: rotate(6deg);
}

.signup-top-wave {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 96px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

body[data-route="signup"] .signup-top-wave,
body[data-route="verify"] .signup-top-wave,
body[data-route="face-intro"] .signup-top-wave,
body[data-route="face-capture"] .signup-top-wave {
  display: block;
}

.signup-top-wave::before,
.signup-top-wave::after {
  content: "";
  position: absolute;
  top: -78px;
  height: 138px;
  border-radius: 0 0 62% 58%;
}

.signup-top-wave::before {
  left: -27%;
  width: 88%;
  background: var(--red);
  transform: rotate(-8deg);
}

.signup-top-wave::after {
  right: 18%;
  width: 62%;
  top: -105px;
  height: 138px;
  background:
    radial-gradient(circle at 82% 120%, rgba(240, 0, 22, 0.24), transparent 7rem),
    #202225;
  transform: rotate(8deg);
}

.signup-content {
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  padding: 30px 30px 0;
}

.signup-content::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -20%;
  width: 140%;
  height: 126px;
  background: #ffffff;
  border-radius: 0 0 50% 50% / 0 0 30% 30%;
  z-index: -1;
}

.signup-logo {
  width: min(218px, 57vw);
  margin-bottom: 2px;
}

.signup-copy {
  text-align: center;
  margin-bottom: 8px;
}

.signup-copy h1 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.signup-copy p {
  width: min(100%, 365px);
  margin: 0 auto;
  color: #858895;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
}

.signup-form {
  width: 100%;
}

.signup-card {
  width: 100%;
  padding: 15px 20px 13px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 17px;
  box-shadow: 0 18px 50px rgba(31, 35, 48, 0.11);
}

.signup-card .field-group + .field-group {
  margin-top: 6px;
}

.signup-card .field-group {
  gap: 4px;
}

.signup-card .field-label {
  font-size: 12.5px;
  font-weight: 750;
}

.signup-card .field-control {
  min-height: 35px;
  border-radius: 8px;
  gap: 11px;
  padding: 0 12px;
}

.signup-card .field-control > svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  stroke-width: 2;
}

.signup-card .field-control input,
.signup-card .field-control select {
  font-size: 12.5px;
  font-weight: 650;
}

.signup-card .icon-button {
  width: 28px;
  height: 28px;
}

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

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 12px;
  color: #232633;
  font-size: 11.2px;
  line-height: 1.4;
  font-weight: 650;
}

.terms-row input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--red);
}

.terms-row button {
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 800;
  padding: 0;
}

.create-account-button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: 12.8px;
  text-transform: uppercase;
}

.create-account-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.signin-row {
  margin: 10px 0 10px;
  color: #252934;
  font-size: 12.5px;
  font-weight: 650;
  text-align: center;
}

.signin-row button {
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  font-weight: 850;
  margin-left: 12px;
  padding: 6px 0;
}

.benefits-card {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(31, 35, 48, 0.12);
  padding: 8px 7px 8px;
}

.benefit-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 5px;
  padding: 0 7px;
  color: #171a22;
  text-align: center;
  font-size: 8.3px;
  line-height: 1.23;
  font-weight: 800;
}

.benefit-item + .benefit-item {
  border-left: 1px solid #d9dbe2;
}

.benefit-item svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 13px 0 0;
}

.security-note > span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(240, 0, 22, 0.1);
  color: var(--red);
}

.security-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-note strong,
.security-note small {
  display: block;
  letter-spacing: 0;
}

.security-note strong {
  color: #20232c;
  font-size: 12.5px;
  font-weight: 800;
}

.security-note small {
  margin-top: 3px;
  color: #898c99;
  font-size: 11.5px;
  font-weight: 650;
}

.signup-bottom-wave {
  width: calc(100% + 60px);
  height: 82px;
  position: relative;
  overflow: hidden;
  margin: 4px -30px 0;
  pointer-events: none;
}

.signup-bottom-wave::before,
.signup-bottom-wave::after {
  content: "";
  position: absolute;
  left: -13%;
  right: -13%;
  border-radius: 50% 50% 0 0 / 68% 68% 0 0;
}

.signup-bottom-wave::before {
  height: 92px;
  bottom: -31px;
  background: var(--red);
  transform: rotate(-3deg);
  border-top: 1px solid rgba(240, 0, 22, 0.22);
}

.signup-bottom-wave::after {
  left: 28%;
  right: -23%;
  height: 78px;
  bottom: -44px;
  background: #202225;
  transform: rotate(5deg);
}

body[data-route="signup"] .signup-bottom-wave {
  display: none;
}

body[data-route="signup"] .bottom-wave {
  display: block;
  height: 96px;
  bottom: -8px;
  z-index: 1;
}

body[data-route="signup"] .bottom-wave::before {
  left: -24%;
  width: 150%;
  height: 96px;
  bottom: -36px;
  background: var(--red);
  transform: rotate(-4deg);
}

body[data-route="signup"] .bottom-wave::after {
  right: -23%;
  width: 96%;
  height: 82px;
  bottom: -46px;
  background: #202225;
  transform: rotate(5deg);
}

body[data-route="verify"] .bottom-wave {
  display: block;
  height: 96px;
  bottom: -10px;
  z-index: 1;
}

body[data-route="verify"] .bottom-wave::before {
  left: -26%;
  width: 152%;
  height: 94px;
  bottom: -34px;
  background: var(--red);
  transform: rotate(-4deg);
}

body[data-route="verify"] .bottom-wave::after {
  right: -24%;
  width: 98%;
  height: 80px;
  bottom: -44px;
  background: #202225;
  transform: rotate(5deg);
}

.verification-content {
  --verify-top: clamp(30px, 5.6svh, 47px);
  --verify-logo-width: min(clamp(260px, 75vw, 292px), 78vw);
  --verify-logo-gap: clamp(8px, 1.9svh, 16px);
  --verify-icon-size: clamp(46px, 6.8svh, 58px);
  --verify-icon-gap: clamp(8px, 1.6svh, 13px);
  --verify-title-size: clamp(21px, 3svh, 24px);
  --verify-text-size: clamp(11.2px, 1.5svh, 12.7px);
  --verify-code-height: clamp(39px, 5.7svh, 48px);
  --verify-code-gap: clamp(7px, 2.3vw, 9px);
  --verify-section-gap: clamp(9px, 1.8svh, 15px);
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  padding: var(--verify-top) 31px 0;
  text-align: center;
}

.verification-content::before {
  content: "";
  position: absolute;
  top: 19px;
  left: -20%;
  width: 140%;
  height: 128px;
  background: #ffffff;
  border-radius: 0 0 50% 50% / 0 0 30% 30%;
  z-index: -1;
}

.verification-logo {
  width: var(--verify-logo-width);
  margin-bottom: var(--verify-logo-gap);
}

.verification-icon {
  width: var(--verify-icon-size);
  height: var(--verify-icon-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--verify-icon-gap);
  background: radial-gradient(circle, rgba(240, 0, 22, 0.16), rgba(240, 0, 22, 0.06));
  color: var(--red);
}

.verification-icon svg {
  width: calc(var(--verify-icon-size) * 0.57);
  height: calc(var(--verify-icon-size) * 0.57);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verification-copy h1 {
  margin: 0 0 10px;
  color: #171b25;
  font-size: var(--verify-title-size);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.verification-copy p,
.resend-row,
.verification-security span,
.whatsapp-help-card small {
  color: #7d8190;
}

.verification-copy p {
  margin: 0 auto 5px;
  max-width: 336px;
  font-size: var(--verify-text-size);
  line-height: 1.35;
  font-weight: 650;
}

.verification-copy strong {
  display: block;
  margin-bottom: 6px;
  color: #151923;
  font-size: 16px;
  font-weight: 850;
}

.verification-form {
  width: 100%;
}

.code-fields {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--verify-code-gap);
  border: 0;
  padding: var(--verify-section-gap) 0 calc(var(--verify-section-gap) - 1px);
  margin: 0;
}

.code-fields input {
  width: 100%;
  height: var(--verify-code-height);
  border: 1px solid #d9dbe4;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  color: #171b25;
  text-align: center;
  font-size: 23px;
  font-weight: 850;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.code-fields input:focus {
  border-color: rgba(240, 0, 22, 0.45);
  box-shadow: 0 0 0 4px rgba(240, 0, 22, 0.08);
}

.code-fields[data-state="invalid"] input {
  border-color: rgba(240, 0, 22, 0.8);
  box-shadow: 0 0 0 3px rgba(240, 0, 22, 0.1);
}

.verification-error-message {
  min-height: 18px;
  margin: -4px 0 2px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
}

.verification-error-message:empty {
  display: none;
}

.verification-security {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(247, 247, 250, 0.96);
  box-shadow: 0 12px 34px rgba(32, 36, 48, 0.07);
  text-align: left;
}

.verification-security svg {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verification-security strong {
  display: block;
  color: #171b25;
  font-size: 12.8px;
  font-weight: 850;
}

.verification-security span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 650;
}

.confirm-code-button {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 14px;
  font-size: 13.8px;
}

.confirm-code-button svg,
.edit-phone-button svg,
.whatsapp-help-card > svg:last-child {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.confirm-code-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.6;
}

.resend-row {
  min-height: 28px;
  margin: 11px 0 0;
  font-size: 12px;
  font-weight: 700;
}

.resend-row button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
}

.resend-row button:not(:disabled) {
  color: var(--red);
  font-weight: 850;
}

.resend-row strong {
  color: var(--red);
  font-weight: 850;
}

.verification-divider {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 8px 0 11px;
}

.verification-divider span {
  height: 1px;
  background: #dedfe5;
}

.verification-divider strong {
  color: #8d909c;
  font-size: 12px;
  font-weight: 850;
}

.edit-phone-button {
  width: min(100%, 250px);
  min-height: 41px;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 12.5px;
  font-weight: 850;
}

.edit-phone-button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.whatsapp-help-card {
  width: 100%;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 11px;
  margin-top: 15px;
  padding: 11px 14px;
  background: linear-gradient(90deg, rgba(240, 0, 22, 0.08), rgba(255, 255, 255, 0.92));
  color: var(--red);
  text-align: left;
}

.whatsapp-help-card > svg:first-child {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-help-card > svg:last-child {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.whatsapp-help-card strong {
  display: block;
  color: #171b25;
  font-size: 12.8px;
  font-weight: 850;
}

.whatsapp-help-card small {
  display: block;
  margin-top: 3px;
  font-size: 11.3px;
  line-height: 1.35;
  font-weight: 650;
}

body[data-route="face-intro"] .bottom-wave,
body[data-route="face-capture"] .bottom-wave,
body[data-route="policies"] .bottom-wave,
body[data-route="account-rejected"] .bottom-wave {
  display: block;
  height: 96px;
  bottom: -10px;
  z-index: 1;
}

body[data-route="face-intro"] .bottom-wave::before,
body[data-route="face-capture"] .bottom-wave::before,
body[data-route="policies"] .bottom-wave::before,
body[data-route="account-rejected"] .bottom-wave::before {
  left: -26%;
  width: 152%;
  height: 94px;
  bottom: -34px;
  background: var(--red);
  transform: rotate(-4deg);
}

body[data-route="face-intro"] .bottom-wave::after,
body[data-route="face-capture"] .bottom-wave::after,
body[data-route="policies"] .bottom-wave::after,
body[data-route="account-rejected"] .bottom-wave::after {
  right: -24%;
  width: 98%;
  height: 80px;
  bottom: -44px;
  background: #202225;
  transform: rotate(5deg);
}

.screen-back-button {
  position: absolute;
  top: clamp(42px, 6svh, 58px);
  left: 23px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.64);
  color: #555b68;
  display: grid;
  place-items: center;
}

.screen-back-button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.face-intro-content,
.face-capture-content {
  --face-top: clamp(34px, 5.6svh, 48px);
  --face-logo-width: min(clamp(258px, 76vw, 302px), 80vw);
  --face-logo-gap: clamp(8px, 1.5svh, 14px);
  --face-icon-size: clamp(52px, 7svh, 64px);
  --face-title-size: clamp(22px, 3.1svh, 25px);
  --face-text-size: clamp(11.5px, 1.55svh, 13px);
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  padding: var(--face-top) 30px 0;
  text-align: center;
}

.face-intro-content::before,
.face-capture-content::before {
  content: "";
  position: absolute;
  top: 18px;
  left: -20%;
  width: 140%;
  height: 126px;
  background: #ffffff;
  border-radius: 0 0 50% 50% / 0 0 30% 30%;
  z-index: -1;
}

.face-logo,
.face-capture-logo {
  width: var(--face-logo-width);
  margin-bottom: var(--face-logo-gap);
}

.face-icon {
  width: var(--face-icon-size);
  height: var(--face-icon-size);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: clamp(9px, 1.4svh, 13px);
  background: radial-gradient(circle, rgba(240, 0, 22, 0.15), rgba(240, 0, 22, 0.06));
  color: var(--red);
}

.face-icon svg {
  width: calc(var(--face-icon-size) * 0.58);
  height: calc(var(--face-icon-size) * 0.58);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.face-copy h1,
.face-capture-copy h1 {
  margin: 0 0 6px;
  color: #171b25;
  font-size: var(--face-title-size);
  line-height: 1.12;
  font-weight: 850;
  letter-spacing: 0;
}

.face-copy p,
.face-capture-copy p {
  margin: 0;
  color: #7d8190;
  font-size: var(--face-text-size);
  line-height: 1.35;
  font-weight: 650;
}

.face-benefits-card {
  width: 100%;
  margin-top: clamp(15px, 2.1svh, 22px);
  padding: clamp(13px, 1.9svh, 18px) 17px;
  border: 1px solid rgba(219, 221, 229, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(31, 35, 48, 0.06);
  display: grid;
  gap: clamp(10px, 1.55svh, 17px);
  text-align: left;
}

.face-benefits-card article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
}

.face-benefits-card article > span,
.capture-tips span {
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(240, 0, 22, 0.08);
  color: var(--red);
}

.face-benefits-card article > span {
  width: clamp(39px, 5.5svh, 48px);
  height: clamp(39px, 5.5svh, 48px);
}

.face-benefits-card svg,
.capture-tips svg,
.biometric-note svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.face-benefits-card svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}

.face-benefits-card strong {
  display: block;
  color: #171b25;
  font-size: clamp(11.5px, 1.55svh, 13px);
  font-weight: 850;
}

.face-benefits-card p {
  margin: 3px 0 0;
  color: #626777;
  font-size: clamp(10.3px, 1.38svh, 11.8px);
  line-height: 1.35;
  font-weight: 650;
}

.capture-tips {
  width: 100%;
  margin-top: clamp(14px, 2svh, 22px);
}

.capture-tips h2 {
  margin: 0 0 clamp(10px, 1.5svh, 14px);
  color: #171b25;
  font-size: clamp(15px, 2svh, 17px);
  line-height: 1.15;
  font-weight: 850;
}

.capture-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.capture-tips article {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
}

.capture-tips span {
  width: clamp(42px, 5.9svh, 54px);
  height: clamp(42px, 5.9svh, 54px);
}

.capture-tips svg {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

.capture-tips p {
  margin: 0;
  color: #171b25;
  font-size: clamp(9.1px, 1.22svh, 10.6px);
  line-height: 1.25;
  font-weight: 750;
}

.biometric-consent {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: clamp(10px, 1.6svh, 15px);
  color: #4f5463;
  text-align: left;
  font-size: clamp(9.5px, 1.25svh, 10.8px);
  line-height: 1.3;
  font-weight: 650;
}

.biometric-consent input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--red);
}

.start-face-button,
.capture-face-button {
  width: 100%;
  min-height: clamp(42px, 5.8svh, 51px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 7vw, 48px);
  margin-top: clamp(10px, 1.6svh, 15px);
  font-size: clamp(12px, 1.55svh, 14px);
}

.start-face-button:disabled {
  opacity: 0.56;
  cursor: not-allowed;
  box-shadow: none;
}

.start-face-button svg,
.capture-face-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.biometric-note,
.capture-privacy-note {
  color: #808491;
  font-size: clamp(10px, 1.33svh, 11.5px);
  line-height: 1.35;
  font-weight: 650;
}

.biometric-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: min(100%, 310px);
  margin: clamp(9px, 1.4svh, 14px) 0 0;
}

.biometric-note svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
  flex: 0 0 auto;
}

.face-capture-copy {
  margin-top: clamp(4px, 0.7svh, 8px);
}

.face-capture-copy p {
  max-width: 322px;
}

.camera-frame {
  width: 100%;
  margin-top: clamp(15px, 2.1svh, 21px);
}

.camera-preview {
  position: relative;
  width: min(100%, 294px);
  aspect-ratio: 0.78;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.16), transparent 7rem),
    linear-gradient(160deg, #252a33, #111317);
  box-shadow: 0 18px 44px rgba(14, 18, 28, 0.2);
}

.camera-preview::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  z-index: 2;
}

.camera-preview video,
.camera-preview > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transform: scaleX(-1);
}

.camera-preview > img {
  opacity: 0.9;
}

.camera-preview > img[hidden] {
  display: none;
}

.face-outline {
  position: relative;
  z-index: 3;
  width: 54%;
  height: 58%;
  border: 2px dashed rgba(255, 255, 255, 0.72);
  border-radius: 48% 48% 45% 45%;
}

.face-outline span {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--red);
  border-style: solid;
}

.face-outline span:nth-child(1) {
  top: -15px;
  left: -15px;
  border-width: 3px 0 0 3px;
  border-radius: 10px 0 0 0;
}

.face-outline span:nth-child(2) {
  top: -15px;
  right: -15px;
  border-width: 3px 3px 0 0;
  border-radius: 0 10px 0 0;
}

.face-outline span:nth-child(3) {
  bottom: -15px;
  left: -15px;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 10px;
}

.face-outline span:nth-child(4) {
  right: -15px;
  bottom: -15px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 10px 0;
}

.scan-line {
  position: absolute;
  z-index: 4;
  left: 23%;
  right: 23%;
  top: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 0, 22, 0.95), transparent);
  box-shadow: 0 0 16px rgba(240, 0, 22, 0.6);
  animation: scanFace 2.5s ease-in-out infinite;
}

@keyframes scanFace {
  0%,
  100% {
    transform: translateY(-38px);
  }

  50% {
    transform: translateY(98px);
  }
}

.camera-preview p {
  position: absolute;
  z-index: 5;
  left: 18px;
  right: 18px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 750;
}

.capture-analysis-state {
  position: absolute;
  z-index: 6;
  inset: 24px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 18px;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 8rem),
    rgba(15, 18, 24, 0.5);
  text-align: center;
}

.capture-analysis-state span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #3ee47d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.capture-analysis-state svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capture-analysis-state strong {
  max-width: 100%;
  font-size: clamp(15.5px, 2.05svh, 18px);
  line-height: 1.12;
  font-weight: 850;
  white-space: nowrap;
}

.capture-analysis-state small {
  max-width: 210px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10.6px;
  line-height: 1.35;
  font-weight: 700;
}

.capture-checks {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: clamp(10px, 1.5svh, 14px);
}

.capture-checks span {
  min-height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(240, 0, 22, 0.07);
  color: var(--red);
  font-size: 9.4px;
  line-height: 1.15;
  font-weight: 800;
}

.retry-capture-button {
  border: 0;
  background: transparent;
  color: var(--red);
  min-height: 32px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 850;
}

#openNativeCameraButton {
  border: 1px solid rgba(240, 0, 22, 0.22);
  border-radius: 10px;
  padding: 0 16px;
  background: #fff5f6;
}

#openNativeCameraButton[hidden] {
  display: none;
}

.capture-privacy-note {
  width: min(100%, 300px);
  margin: 3px 0 0;
  text-align: center;
}

body[data-capture-state="captured"] .face-outline {
  border-color: rgba(46, 204, 113, 0.85);
}

body[data-capture-state="captured"] .camera-preview {
  width: min(100%, 270px);
  aspect-ratio: 1.08;
  background:
    radial-gradient(circle at 50% 15%, rgba(46, 204, 113, 0.18), transparent 7rem),
    linear-gradient(160deg, #252a33, #111317);
}

body[data-capture-state="captured"] .camera-preview video,
body[data-capture-state="captured"] .face-outline,
body[data-capture-state="captured"] .scan-line,
body[data-capture-state="captured"] .camera-preview > p {
  opacity: 0;
}

body[data-capture-state="captured"] .face-capture-content > .screen-back-button {
  display: none;
}

body[data-capture-state="captured"] .capture-analysis-state {
  display: grid;
}

body[data-capture-state="captured"] .scan-line {
  animation: none;
  background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.95), transparent);
}

body[data-capture-state="captured"] .capture-checks,
body[data-capture-state="captured"] .retry-capture-button {
  display: none;
}

body[data-capture-state="captured"] .capture-face-button {
  margin-top: clamp(14px, 2.1svh, 18px);
}

.policies-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  padding: clamp(22px, 3.2svh, 30px) clamp(22px, 5.5vw, 30px) clamp(14px, 2svh, 18px);
  background:
    radial-gradient(circle at 92% 4%, rgba(240, 0, 22, 0.08), transparent 11rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%);
  color: #171b25;
}

.policies-header {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
}

.policies-logo {
  width: min(178px, 48vw);
  height: auto;
  display: block;
  margin-bottom: clamp(8px, 1.3svh, 12px);
}

.policies-header span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--red);
  background: rgba(240, 0, 22, 0.08);
  font-size: clamp(9px, 1.2svh, 10.5px);
  line-height: 1;
  font-weight: 850;
}

.policies-header h1 {
  margin: clamp(8px, 1.2svh, 11px) 0 4px;
  color: #171b25;
  font-size: clamp(21px, 2.9svh, 25px);
  line-height: 1.08;
  font-weight: 850;
}

.policies-header p {
  width: min(100%, 320px);
  margin: 0;
  color: #737987;
  font-size: clamp(10.5px, 1.42svh, 12.2px);
  line-height: 1.32;
  font-weight: 650;
}

.policies-card {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin-top: clamp(12px, 1.8svh, 16px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 38px rgba(30, 34, 46, 0.1);
  overflow: hidden;
}

.policies-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(15px, 2svh, 18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(240, 0, 22, 0.45) transparent;
}

.policies-scroll h2,
.policies-scroll h3,
.policies-scroll p {
  margin: 0;
}

.policies-scroll h2 {
  color: #151923;
  font-size: clamp(14px, 1.9svh, 16px);
  line-height: 1.22;
  font-weight: 850;
}

.policies-scroll h3 {
  margin-top: 14px;
  color: var(--red);
  font-size: clamp(11.5px, 1.55svh, 13px);
  line-height: 1.25;
  font-weight: 850;
}

.policies-scroll p {
  margin-top: 7px;
  color: #4f5666;
  font-size: clamp(10.3px, 1.36svh, 11.8px);
  line-height: 1.48;
  font-weight: 620;
}

.policies-actions {
  flex: 0 0 auto;
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: clamp(11px, 1.6svh, 14px);
}

.policy-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4f5666;
  font-size: clamp(10px, 1.34svh, 11.6px);
  line-height: 1.32;
  font-weight: 650;
}

.policy-acceptance input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--red);
}

.policy-continue-button {
  width: 100%;
  min-height: clamp(42px, 5.8svh, 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 7vw, 44px);
  font-size: clamp(12px, 1.55svh, 14px);
}

.policy-continue-button:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
}

.policy-continue-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  padding: clamp(22px, 4svh, 34px) 20px 20px;
}

.legal-card {
  max-height: none;
}

.data-summary {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.data-summary div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(218, 222, 231, 0.96);
  border-radius: 8px;
  background: #ffffff;
}

.data-summary dt {
  color: #717783;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.data-summary dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.privacy-actions {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.privacy-actions .primary-button,
.privacy-actions .secondary-button {
  min-height: 40px;
  font-size: 12px;
}

.audit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-list li {
  padding: 9px 10px;
  border-radius: 8px;
  background: rgba(245, 246, 249, 0.96);
  color: #434957;
  font-size: 12px;
  font-weight: 700;
}

.account-rejected-content {
  position: relative;
  z-index: 2;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4svh, 38px) 30px clamp(86px, 12svh, 104px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 8%, rgba(240, 0, 22, 0.08), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.account-rejected-logo {
  width: min(232px, 68vw);
  margin-bottom: clamp(18px, 3svh, 26px);
}

.account-rejected-panel {
  width: 100%;
  max-width: 340px;
  display: grid;
  justify-items: center;
  gap: clamp(13px, 2svh, 18px);
}

.account-rejected-icon {
  width: clamp(72px, 10svh, 88px);
  height: clamp(72px, 10svh, 88px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  background:
    radial-gradient(circle, rgba(240, 0, 22, 0.16), rgba(240, 0, 22, 0.07));
  box-shadow: 0 18px 38px rgba(240, 0, 22, 0.12);
}

.account-rejected-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-rejected-panel header {
  display: grid;
  justify-items: center;
}

.account-rejected-panel header span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--red);
  background: rgba(240, 0, 22, 0.08);
  font-size: clamp(9px, 1.25svh, 10.5px);
  line-height: 1;
  font-weight: 850;
}

.account-rejected-panel h1 {
  margin: 12px 0 7px;
  color: #171b25;
  font-size: clamp(25px, 3.5svh, 31px);
  line-height: 1.05;
  font-weight: 850;
}

.account-rejected-panel p {
  max-width: 310px;
  margin: 0;
  color: #6f7584;
  font-size: clamp(12px, 1.65svh, 14px);
  line-height: 1.42;
  font-weight: 650;
}

.account-rejected-card {
  width: 100%;
  border: 1px solid rgba(225, 227, 234, 0.86);
  border-radius: 16px;
  padding: clamp(15px, 2.2svh, 20px);
  display: grid;
  gap: 6px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(30, 34, 46, 0.08);
}

.account-rejected-card strong {
  color: #171b25;
  font-size: clamp(14px, 1.9svh, 16px);
  line-height: 1.28;
  font-weight: 850;
}

.account-rejected-card small {
  color: #858b99;
  font-size: clamp(10.5px, 1.4svh, 12px);
  line-height: 1.35;
  font-weight: 650;
}

.account-rejected-button {
  width: 100%;
  min-height: clamp(44px, 6.1svh, 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 6vw, 34px);
  font-size: clamp(11.5px, 1.55svh, 13px);
}

.account-rejected-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-route="home"] .bottom-wave,
body[data-route="new-sale"] .bottom-wave {
  display: none;
}

.banking-content {
  position: relative;
  z-index: 2;
  height: 100%;
  flex-direction: column;
  padding: clamp(11px, 1.55svh, 16px) clamp(18px, 4.5vw, 22px) 86px;
  background:
    radial-gradient(circle at 94% 5%, rgba(240, 0, 22, 0.08), transparent 11rem),
    radial-gradient(circle at 0% 0%, rgba(18, 23, 35, 0.04), transparent 10rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%);
  color: #151923;
}

.bank-header {
  flex: 0 0 auto;
}

.bank-topbar {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 44px;
}

.bank-logo {
  width: min(145px, 40vw);
  height: auto;
  justify-self: center;
  display: block;
}

.bank-icon-button,
.bank-avatar {
  border: 0;
  display: grid;
  place-items: center;
  color: #151923;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(30, 34, 46, 0.08);
}

.bank-icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 14px;
}

.bank-icon-button svg,
.bank-avatar svg,
.bank-balance-card svg,
.bank-action svg,
.bank-extract-card svg,
.bank-bottom-nav svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bank-bottom-nav img {
  width: clamp(25px, 3.5svh, 31px);
  height: clamp(25px, 3.5svh, 31px);
  border-radius: 50%;
  object-fit: contain;
}

.bank-icon-button svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.3;
}

.notification-unread-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  color: #ffffff;
  background: var(--red);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.notification-unread-badge[hidden] {
  display: none;
}

.bank-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: clamp(10px, 1.35svh, 13px);
}

.bank-user-row p,
.bank-user-row span {
  margin: 0;
}

.bank-user-row p {
  color: #151923;
  font-size: clamp(19px, 2.55svh, 23px);
  line-height: 1.12;
  font-weight: 850;
}

.bank-user-row strong {
  font-weight: 900;
}

.bank-user-row span {
  display: block;
  margin-top: 4px;
  color: #787d89;
  font-size: clamp(11.5px, 1.52svh, 13.5px);
  font-weight: 650;
}

.bank-avatar {
  width: clamp(38px, 5.5svh, 46px);
  height: clamp(38px, 5.5svh, 46px);
  border-radius: 50%;
  color: #ef0017;
  background: #fff4f5;
}

.bank-avatar svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

.bank-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.18svh, 11px);
  overflow: hidden;
  padding-top: clamp(11px, 1.42svh, 14px);
}

.bank-main > * {
  flex: 0 0 auto;
}

.bank-balance-card {
  height: clamp(154px, 20svh, 172px);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 29%);
  grid-template-rows: 1fr auto;
  column-gap: clamp(12px, 3vw, 18px);
  row-gap: clamp(7px, 1svh, 9px);
  padding: clamp(13px, 1.7svh, 16px);
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.19), transparent 6rem),
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.12), transparent 8rem),
    linear-gradient(135deg, #ef0017 0%, #920010 44%, #111217 100%);
  box-shadow: 0 18px 38px rgba(116, 0, 16, 0.22);
}

.bank-balance-card::after {
  content: "B";
  position: absolute;
  right: 21%;
  top: 24%;
  color: rgba(255, 255, 255, 0.07);
  font-size: 116px;
  line-height: 1;
  font-weight: 950;
}

.bank-balance-info,
.bank-account-box,
.bank-balance-actions,
.bank-primary-action,
.bank-secondary-action,
.balance-visibility-button {
  position: relative;
  z-index: 1;
}

.bank-balance-info {
  min-width: 0;
  align-self: center;
}

.balance-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.balance-heading > span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: clamp(12px, 1.62svh, 14.5px);
}

.bank-balance-info > strong {
  display: block;
  margin-top: clamp(8px, 1.1svh, 10px);
  color: #ffffff;
  font-size: clamp(26px, 3.25svh, 31px);
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
}

.balance-visibility-button {
  width: 28px;
  height: 28px;
  min-height: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.balance-visibility-button::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: rotate(-35deg);
  transition: opacity 0.18s ease;
}

.balance-visibility-button[data-visible="false"]::after {
  opacity: 1;
}

.balance-visibility-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.balance-pending-pill {
  width: fit-content;
  max-width: 100%;
  min-height: 23px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(7px, 0.92svh, 8px);
  padding: 0 9px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.balance-pending-pill span,
.balance-pending-pill strong {
  color: #ffffff;
  font-size: clamp(8.5px, 1.14svh, 9.8px);
  line-height: 1;
  font-weight: 750;
}

.balance-pending-pill strong {
  font-weight: 850;
}

.balance-pending-pill svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.2;
}

.bank-account-box {
  min-width: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  display: grid;
  align-content: center;
  align-content: center;
  gap: 6px;
  padding-left: clamp(9px, 2.2vw, 12px);
}

.wallet-detail {
  display: grid;
  gap: 1px;
}

.wallet-detail > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(7px, 0.92svh, 8px);
  line-height: 1.08;
  font-weight: 650;
}

.wallet-detail > strong {
  color: #ffffff;
  font-size: clamp(8.4px, 1.1svh, 9.6px);
  line-height: 1.08;
  font-weight: 850;
}

.bank-account-box .wallet-status {
  width: fit-content;
  border-radius: 999px;
  padding: 2px 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.bank-balance-actions {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(9px, 2.6vw, 13px);
}

.bank-primary-action,
.bank-secondary-action {
  width: 100%;
  min-height: clamp(30px, 4svh, 35px);
  border: 0;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  font-size: clamp(10px, 1.34svh, 11.8px);
  font-weight: 850;
}

.bank-primary-action {
  color: #ffffff;
  background: linear-gradient(135deg, #ff0719, #e10016);
  box-shadow: 0 12px 24px rgba(130, 0, 14, 0.23);
}

.bank-secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.bank-primary-action svg,
.bank-secondary-action svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.2;
}

.bank-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: clamp(82px, 10.7svh, 96px);
  border-radius: 18px;
  padding: clamp(8px, 1.12svh, 10px) 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(30, 34, 46, 0.1);
}

.bank-action {
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 0 8px;
  background: transparent;
  color: #171a22;
  box-shadow: none;
  font-size: clamp(8.7px, 1.18svh, 10.2px);
  line-height: 1.12;
  font-weight: 850;
  text-align: center;
}

.bank-action + .bank-action {
  border-left: 1px solid rgba(218, 222, 231, 0.92);
}

.bank-action span {
  width: clamp(31px, 4.4svh, 38px);
  height: clamp(31px, 4.4svh, 38px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  background: transparent;
}

.bank-action svg {
  width: clamp(26px, 3.75svh, 32px);
  height: clamp(26px, 3.75svh, 32px);
  stroke-width: 1.9;
}

.bank-action .boali-go-icon {
  width: clamp(54px, 7.5svh, 64px);
  height: clamp(38px, 5.3svh, 46px);
  border-radius: 0;
}

.bank-action .boali-go-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(18, 21, 30, 0.08));
}

.bank-indicators {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 3vw, 14px);
}

.bank-indicator-card {
  position: relative;
  min-width: 0;
  min-height: clamp(78px, 10.1svh, 90px);
  border: 0;
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
  gap: clamp(8px, 2.1vw, 12px);
  padding: clamp(10px, 1.45svh, 13px) 24px clamp(10px, 1.45svh, 13px) clamp(10px, 1.45svh, 13px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(30, 34, 46, 0.09);
}

.bank-indicator-card > span {
  width: clamp(36px, 4.9svh, 43px);
  height: clamp(36px, 4.9svh, 43px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(240, 0, 22, 0.09);
}

.bank-indicator-card > span svg {
  width: clamp(21px, 3svh, 26px);
  height: clamp(21px, 3svh, 26px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bank-indicator-card div {
  min-width: 0;
}

.bank-indicator-card small,
.bank-indicator-card em {
  display: block;
  color: #7a7f8d;
  font-size: clamp(8.5px, 1.12svh, 10px);
  line-height: 1.22;
  font-weight: 750;
  font-style: normal;
}

.bank-indicator-card strong {
  display: block;
  margin: 4px 0;
  color: var(--red);
  font-size: clamp(16px, 2.18svh, 20px);
  line-height: 1;
  font-weight: 780;
}

.bank-indicator-arrow {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 18px;
  height: 18px;
  color: #858a96;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
}

.bank-extract-section {
  min-height: 0;
}

.bank-extract-panel {
  min-height: clamp(132px, 16.8svh, 154px);
  border-radius: 18px;
  padding: clamp(13px, 1.72svh, 16px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(30, 34, 46, 0.09);
}

.bank-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bank-section-title h2 {
  margin: 0;
  color: #151923;
  font-size: clamp(14.5px, 2svh, 18px);
  line-height: 1.1;
  font-weight: 900;
}

.bank-section-title button {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 0;
  font-size: clamp(11px, 1.5svh, 13px);
  font-weight: 850;
}

.bank-extract-card {
  min-height: clamp(88px, 11svh, 104px);
  border-radius: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: clamp(8px, 1.1svh, 10px) 14px 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.bank-extract-card > * {
  min-width: 0;
}

.bank-extract-card > span {
  grid-row: auto;
  width: clamp(40px, 5.5svh, 49px);
  height: clamp(40px, 5.5svh, 49px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6d7280;
  background: #f1f2f6;
}

.bank-extract-card svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.9;
}

.bank-extract-card strong,
.bank-extract-card small {
  display: block;
}

.bank-extract-card strong {
  color: #171a22;
  font-size: clamp(12.5px, 1.7svh, 15px);
  line-height: 1.15;
  font-weight: 900;
}

.bank-extract-card small {
  grid-column: auto;
  width: min(100%, 250px);
  margin-top: 0;
  color: #858a96;
  font-size: clamp(9.8px, 1.32svh, 11.5px);
  line-height: 1.32;
  font-weight: 650;
}

.bank-bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(clamp(70px, 9.4svh, 82px) + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  padding: 10px clamp(16px, 4.5vw, 24px) calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 28px rgba(28, 32, 44, 0.11);
}

.bank-bottom-nav button {
  position: relative;
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  color: #8c919d;
  background: transparent;
  font-size: clamp(8.2px, 1.12svh, 10px);
  font-weight: 850;
}

.bank-bottom-nav button.active {
  color: var(--red);
  background: transparent;
}

.bank-bottom-nav button.active::before {
  content: "";
  position: absolute;
  top: -10px;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: var(--red);
}

.bank-bottom-nav svg {
  width: clamp(22px, 3.2svh, 28px);
  height: clamp(22px, 3.2svh, 28px);
  stroke-width: 2.1;
}

.extract-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(16px, 2.4svh, 22px) clamp(18px, 4.8vw, 24px) 0;
  color: #121722;
  background:
    radial-gradient(circle at 90% 0%, rgba(240, 0, 22, 0.07), transparent 12rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.extract-content svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.extract-header {
  flex: 0 0 auto;
}

.extract-topbar {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  min-height: 52px;
}

.extract-back-button,
.extract-refresh-button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #111722;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(26, 32, 44, 0.08);
}

.extract-refresh-button {
  justify-self: end;
  color: var(--red);
}

.extract-back-button svg,
.extract-refresh-button svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.4;
}

.extract-logo {
  width: 86px;
  height: 58px;
  justify-self: center;
  object-fit: contain;
}

.extract-heading {
  margin-top: clamp(12px, 1.8svh, 18px);
}

.extract-heading span,
.extract-heading h1,
.extract-heading p {
  margin: 0;
}

.extract-heading span {
  display: block;
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.extract-heading h1 {
  margin-top: 8px;
  color: #111722;
  font-size: clamp(30px, 4.5svh, 39px);
  line-height: 1;
  font-weight: 950;
}

.extract-heading p {
  margin-top: 8px;
  color: #6b7280;
  font-size: clamp(13px, 1.8svh, 15.5px);
  line-height: 1.3;
  font-weight: 700;
}

.extract-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(16px, 2.3svh, 22px) 0 calc(100px + env(safe-area-inset-bottom));
  scrollbar-width: none;
}

.extract-main::-webkit-scrollbar {
  display: none;
}

.extract-balance-card {
  position: relative;
  overflow: hidden;
  min-height: 148px;
  border-radius: 22px;
  padding: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.16), transparent 7rem),
    linear-gradient(135deg, #f40018 0%, #a90012 50%, #161219 100%);
  box-shadow: 0 20px 42px rgba(128, 0, 16, 0.2);
}

.extract-balance-card::after {
  content: "B";
  position: absolute;
  right: 18px;
  bottom: -22px;
  color: rgba(255, 255, 255, 0.07);
  font-size: 128px;
  line-height: 1;
  font-weight: 950;
}

.extract-balance-card span,
.extract-balance-card strong,
.extract-balance-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.extract-balance-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
}

.extract-balance-card strong {
  margin-top: 18px;
  color: #ffffff;
  font-size: clamp(36px, 9.5vw, 48px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.extract-balance-card small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 700;
}

.extract-summary-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.extract-summary-cards article {
  min-width: 0;
  min-height: 86px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(26, 32, 44, 0.08);
}

.extract-summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.extract-summary-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.5;
}

.extract-summary-icon.positive {
  color: #04a767;
  background: #dff8ec;
}

.extract-summary-icon.negative {
  color: var(--red);
  background: #ffe6ea;
}

.extract-summary-cards small,
.extract-summary-cards strong {
  display: block;
}

.extract-summary-cards small {
  color: #6b7280;
  font-size: 11.5px;
  line-height: 1.2;
  font-weight: 800;
}

.extract-summary-cards strong {
  margin-top: 7px;
  color: #111722;
  font-size: clamp(15px, 4vw, 18px);
  line-height: 1;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.extract-ledger {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.extract-ledger-section {
  border-radius: 20px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(26, 32, 44, 0.08);
}

.extract-ledger-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.extract-ledger-section header span,
.extract-ledger-section header h2 {
  margin: 0;
}

.extract-ledger-section header span {
  display: block;
  color: #8a91a0;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.extract-ledger-section header h2 {
  margin-top: 5px;
  color: #111722;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}

.extract-ledger-section header > strong {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--red);
  font-size: 14px;
  font-weight: 950;
}

.extract-movement-list {
  display: grid;
  gap: 10px;
}

.extract-movement-item {
  min-width: 0;
  border: 1px solid #eef0f5;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px;
  background: #fbfcfe;
}

.extract-movement-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.extract-movement-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5;
}

.extract-movement-item.sale .extract-movement-icon {
  color: #04a767;
  background: #dff8ec;
}

.extract-movement-item.withdrawal .extract-movement-icon {
  color: var(--red);
  background: #ffe6ea;
}

.extract-movement-copy,
.extract-movement-value {
  min-width: 0;
}

.extract-movement-copy strong,
.extract-movement-copy small,
.extract-movement-value strong,
.extract-movement-value time {
  display: block;
}

.extract-movement-copy strong {
  color: #111722;
  font-size: 14.5px;
  line-height: 1.1;
  font-weight: 900;
}

.extract-movement-copy small {
  margin-top: 5px;
  color: #737b89;
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 700;
}

.extract-movement-value {
  text-align: right;
}

.extract-movement-value strong {
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.extract-movement-item.sale .extract-movement-value strong {
  color: #04a767;
}

.extract-movement-item.withdrawal .extract-movement-value strong {
  color: var(--red);
}

.extract-movement-value time {
  margin-top: 7px;
  color: #737b89;
  font-size: 12px;
  line-height: 1;
  font-weight: 750;
  white-space: nowrap;
}

.extract-empty-state {
  min-height: 82px;
  border: 1px dashed #dfe3ea;
  border-radius: 16px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #7a8290;
  background: #fbfcfe;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.extract-bottom-nav {
  border-radius: 24px 24px 0 0;
}

@media (max-width: 410px) {
  .extract-content {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .extract-summary-cards {
    gap: 10px;
  }

  .extract-summary-cards article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    padding: 12px;
  }

  .extract-summary-icon {
    width: 36px;
    height: 36px;
  }

  .extract-movement-item {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .extract-movement-value {
    grid-column: 2;
    text-align: left;
  }

  .extract-movement-value time {
    display: inline-block;
    margin-left: 8px;
  }
}

.chat-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
}

.chat-header {
  flex: 0 0 auto;
  min-height: 92px;
  padding: calc(14px + env(safe-area-inset-top)) 14px 13px;
  border-bottom: 1px solid rgba(240, 0, 22, 0.82);
  display: grid;
  grid-template-columns: 34px 50px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  background: #ffffff;
}

.chat-back-button,
.chat-menu-button,
.chat-attach-button,
.chat-send-button {
  border: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.chat-back-button {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.chat-back-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.chat-support-avatar,
.chat-message-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.chat-title h1,
.chat-title p {
  margin: 0;
}

.chat-title h1 {
  color: #11131a;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.chat-title p {
  margin-top: 3px;
  color: #666a74;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 650;
}

.chat-menu-button {
  width: 30px;
  height: 34px;
  color: var(--red);
}

.chat-menu-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.chat-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 12px;
  overflow: hidden;
}

.chat-day-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 2px 0 18px;
}

.chat-day-divider span {
  height: 1px;
  background: #e7e8ec;
}

.chat-day-divider strong {
  min-width: 60px;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--red);
  background: rgba(240, 0, 22, 0.08);
  text-align: center;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
}

.chat-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 0 0 18px;
  scrollbar-width: none;
}

.chat-messages::-webkit-scrollbar {
  display: none;
}

.chat-message-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 13px;
}

.chat-message-row.affiliate {
  justify-content: flex-end;
}

.chat-message-avatar {
  width: 34px;
  height: 34px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 14px;
}

.chat-bubble {
  max-width: min(76%, 270px);
  border-radius: 16px;
  padding: 11px 13px 10px;
  box-shadow: 0 10px 24px rgba(28, 32, 44, 0.07);
}

.chat-message-row.admin .chat-bubble {
  border-top-left-radius: 8px;
  color: #11131a;
  background: #f4f4f6;
}

.chat-message-row.affiliate .chat-bubble {
  border-bottom-right-radius: 8px;
  color: #ffffff;
  background: var(--red);
}

.chat-bubble p {
  margin: 0;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 650;
}

.chat-message-time {
  display: block;
  margin-top: 7px;
  color: #777b86;
  font-size: 11px;
  line-height: 1;
  font-weight: 650;
}

.chat-message-row.affiliate .chat-message-time {
  color: rgba(255, 255, 255, 0.92);
  text-align: right;
}

.chat-compose {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 8px;
  margin: 0 10px calc(12px + env(safe-area-inset-bottom));
  padding: 7px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 34px rgba(28, 32, 44, 0.12);
  border: 1px solid #ececf0;
}

.chat-attach-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--red);
  background: rgba(240, 0, 22, 0.07);
}

.chat-attach-button svg,
.chat-send-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-input-label {
  display: block;
  min-width: 0;
}

.chat-input-label textarea {
  width: 100%;
  max-height: 80px;
  min-height: 24px;
  border: 0;
  outline: 0;
  resize: none;
  color: #151821;
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 650;
}

.chat-input-label textarea::placeholder {
  color: #a7aab3;
}

.chat-send-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 10px 22px rgba(240, 0, 22, 0.22);
}

.new-sale-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(6px, 1svh, 10px) 0 clamp(8px, 1.2svh, 12px);
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 0, 22, 0.08), transparent 11rem),
    linear-gradient(180deg, #ffffff 0%, #f6f7fa 100%);
  color: #151923;
}

.new-sale-header {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  padding: 0 clamp(20px, 5vw, 26px);
  text-align: center;
}

.sale-back-button {
  top: 8px;
  left: clamp(16px, 4vw, 22px);
  color: #151923;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(30, 34, 46, 0.09);
}

.new-sale-logo {
  width: min(96px, 27vw);
  height: auto;
  display: block;
  margin-bottom: clamp(3px, 0.5svh, 5px);
}

.new-sale-copy {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.new-sale-copy span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--red);
  background: rgba(240, 0, 22, 0.08);
  font-size: clamp(9px, 1.2svh, 10.5px);
  line-height: 1;
  font-weight: 850;
}

.new-sale-copy h1 {
  margin: 0;
  color: #151923;
  font-size: clamp(18px, 2.42svh, 22px);
  line-height: 1.08;
  font-weight: 850;
}

.new-sale-copy p {
  width: min(100%, 318px);
  margin: 0;
  color: #737987;
  font-size: clamp(10.5px, 1.42svh, 12.5px);
  line-height: 1.3;
  font-weight: 650;
}

.streaming-strip {
  flex: 0 0 auto;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: clamp(12px, 1.7svh, 15px) clamp(18px, 4.5vw, 22px) clamp(8px, 1.1svh, 10px);
  scroll-snap-type: x proximity;
}

.streaming-logo {
  position: relative;
  flex: 0 0 62px;
  width: 62px;
  height: 40px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 3px;
  box-sizing: border-box;
  border: 1px solid rgba(18, 26, 42, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(20, 28, 43, 0.1);
  scroll-snap-align: start;
}

.streaming-logo img {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  display: block;
  object-fit: contain;
  border-radius: 5px;
}

.streaming-logo img[src*="netflix"],
.streaming-logo img[src*="apple-tv"] {
  background: #090909;
}

.streaming-logo img[src*="hbo-max"] {
  background: #5b17d6;
}

.streaming-logo img[src*="prime-video"] {
  background: #2196eb;
}

.streaming-logo img[src*="globoplay"] {
  background: #ff1821;
}

.streaming-logo img[src*="disney-plus"] {
  background: #063242;
}

.streaming-logo img[src*="paramount-plus"] {
  background: #1260ed;
}

.streaming-logo img[src*="star-plus"] {
  background: #272044;
}

.streaming-strip::-webkit-scrollbar,
.plan-carousel::-webkit-scrollbar {
  display: none;
}

.streaming-badge {
  min-width: 52px;
  height: 38px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(20, 24, 34, 0.13);
  font-size: 9px;
  line-height: 1.05;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
  scroll-snap-align: start;
}

.streaming-badge.disney {
  background: linear-gradient(135deg, #07182c, #009a9a);
  font-family: Georgia, serif;
}

.streaming-badge.prime {
  min-width: 70px;
  background: linear-gradient(135deg, #0778ff, #003a91);
}

.streaming-badge.netflix {
  min-width: 46px;
  color: #e50914;
  background: #111111;
  font-size: 22px;
  font-weight: 950;
}

.streaming-badge.hbo {
  min-width: 66px;
  background: linear-gradient(135deg, #080220, #371492);
}

.streaming-badge.apple {
  min-width: 62px;
  background: linear-gradient(135deg, #282828, #050505);
}

.streaming-badge.globoplay {
  min-width: 70px;
  background: linear-gradient(135deg, #ff1744, #c60035);
}

.streaming-badge.paramount {
  min-width: 78px;
  background: linear-gradient(135deg, #0067e6, #0144a7);
}

.streaming-badge.star {
  background: linear-gradient(135deg, #250036, #4b006a);
}

.streaming-badge.telecine {
  background: linear-gradient(135deg, #101010, #22262c);
}

.streaming-badge.discovery {
  min-width: 76px;
  background:
    radial-gradient(circle at 74% 30%, #ffcc00, transparent 19px),
    linear-gradient(135deg, #181818, #28323f);
}

.plan-carousel-section {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  margin-top: clamp(7px, 1svh, 10px);
}

.plan-carousel {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 3.3vw, 16px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 8px 2px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.plan-card {
  position: relative;
  flex: 0 0 calc(100% - 18px);
  min-width: 0;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.3svh, 12px);
  padding: clamp(16px, 2.2svh, 20px);
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 16%, rgba(255, 255, 255, 0.16), transparent 6rem),
    linear-gradient(160deg, #ee0017 0%, #a5000f 46%, #450006 100%);
  box-shadow: 0 18px 38px rgba(118, 0, 16, 0.22);
  scroll-snap-align: center;
}

.plan-card::after {
  content: "B";
  position: absolute;
  right: -18px;
  bottom: -32px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 128px;
  line-height: 1;
  font-weight: 950;
}

.plan-card.annual {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.17), transparent 6rem),
    linear-gradient(160deg, #111217 0%, #85000f 50%, #ef0017 100%);
}

.plan-card.definitive {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.17), transparent 6rem),
    linear-gradient(160deg, #17191f 0%, #66000c 48%, #d90016 100%);
}

.plan-ribbon {
  position: relative;
  z-index: 1;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 11px;
  color: #7a0010;
  background: #ffd335;
  font-size: clamp(9.2px, 1.25svh, 10.6px);
  line-height: 1;
  font-weight: 850;
}

.plan-card-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.plan-duration {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(9.2px, 1.25svh, 10.8px);
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.plan-card h2 {
  margin: 5px 0 0;
  color: #ffffff;
  font-size: clamp(17px, 2.32svh, 21px);
  line-height: 1.05;
  font-weight: 850;
}

.plan-price {
  color: #ffffff;
  font-size: clamp(24px, 3.28svh, 31px);
  line-height: 1;
  font-weight: 820;
}

.plan-card .plan-commission {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(10px, 1.35svh, 11.5px);
  line-height: 1.15;
  font-weight: 700;
}

.plan-card .plan-commission strong {
  color: #ffffff;
  font-size: 1.08em;
  font-weight: 900;
}

.plan-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(9.5px, 1.28svh, 11px);
  line-height: 1.35;
  font-weight: 650;
}

.plan-platforms {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 1px 0 3px;
}

.plan-platforms .streaming-logo {
  width: 100%;
  height: 42px;
  padding: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

.plan-platforms .streaming-logo img {
  width: auto;
  height: auto;
  max-width: 48px;
  max-height: 30px;
  border-radius: 5px;
  object-fit: contain;
}

.plan-platforms .streaming-logo img[src*="netflix"] {
  max-width: 29px;
  max-height: 29px;
}

.plan-platforms .streaming-logo img[src*="hbo-max"] {
  max-width: 44px;
  max-height: 29px;
}

.plan-platforms .streaming-logo img[src*="prime-video"],
.plan-platforms .streaming-logo img[src*="disney-plus"],
.plan-platforms .streaming-logo img[src*="paramount-plus"],
.plan-platforms .streaming-logo img[src*="apple-tv"] {
  max-width: 30px;
  max-height: 30px;
}

.plan-platforms .streaming-logo img[src*="globoplay"],
.plan-platforms .streaming-logo img[src*="star-plus"] {
  max-width: 36px;
  max-height: 30px;
}

.plan-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(7px, 1svh, 9px);
  margin: 0;
  padding: clamp(8px, 1.15svh, 10px) 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.plan-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(9.2px, 1.25svh, 10.8px);
  line-height: 1.28;
  font-weight: 650;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 2px;
  width: 12px;
  height: 7px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.plan-card button {
  position: relative;
  z-index: 1;
  min-height: clamp(35px, 4.7svh, 40px);
  border: 0;
  border-radius: 12px;
  margin-top: auto;
  color: #ffffff;
  background: linear-gradient(135deg, #2ebd2e, #16a316);
  box-shadow: 0 12px 26px rgba(0, 90, 20, 0.25);
  font-size: clamp(11px, 1.48svh, 12.8px);
  font-weight: 850;
}

/* Plano em formato de vitrine, inspirado na referencia enviada. */
body[data-route="new-sale"] .new-sale-content {
  padding-top: 4px;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 96% 0%, rgba(240, 0, 22, 0.08), transparent 12rem),
    #ffffff;
}

body[data-route="new-sale"] .new-sale-header {
  padding-bottom: 8px;
}

body[data-route="new-sale"] .new-sale-logo {
  width: min(132px, 36vw);
  margin-top: 2px;
  margin-bottom: 3px;
}

body[data-route="new-sale"] .new-sale-copy h1 {
  font-size: clamp(21px, 3svh, 27px);
  line-height: 1;
  font-weight: 950;
}

body[data-route="new-sale"] .plan-carousel-section {
  margin-top: 5px;
}

body[data-route="new-sale"] .plan-carousel {
  gap: 10px;
  padding: 0;
}

body[data-route="new-sale"] .plan-card {
  flex-basis: calc(100% - 24px);
  height: 100%;
  gap: 12px;
  padding: 17px 16px 16px;
  border-radius: 22px 22px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 78% 9%, rgba(255, 28, 40, 0.5), transparent 10rem),
    linear-gradient(150deg, #e30017 0%, #8b000d 43%, #260004 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.22);
  scrollbar-width: none;
}

body[data-route="new-sale"] .plan-card::-webkit-scrollbar {
  display: none;
}

body[data-route="new-sale"] .plan-card::after {
  display: none;
}

body[data-route="new-sale"] .plan-ribbon {
  padding: 7px 14px;
  border-radius: 9px;
  color: #171100;
  background: #ffd600;
  font-size: 11px;
  box-shadow: 0 5px 14px rgba(78, 22, 0, 0.25);
}

.plan-overview {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: 14px;
}

.plan-main-info {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.plan-overview > p {
  min-height: 92px;
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 80, 90, 0.75);
  padding-left: 14px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 780;
}

body[data-route="new-sale"] .plan-card-header {
  gap: 7px;
}

body[data-route="new-sale"] .plan-duration {
  font-size: 10px;
  letter-spacing: 0;
}

body[data-route="new-sale"] .plan-card h2 {
  margin-top: 5px;
  font-size: 22px;
}

body[data-route="new-sale"] .plan-price {
  font-size: clamp(31px, 4.7svh, 39px);
}

body[data-route="new-sale"] .plan-card .plan-commission {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border-color: rgba(255, 45, 58, 0.9);
  border-radius: 8px;
  background: rgba(60, 0, 5, 0.25);
  font-size: 10px;
}

body[data-route="new-sale"] .plan-card .plan-commission strong {
  color: #ffe000;
}

body[data-route="new-sale"] .plan-platforms {
  gap: 7px;
}

body[data-route="new-sale"] .plan-platforms .streaming-logo {
  height: 48px;
  padding: 6px;
  border: 0;
  border-radius: 9px;
  box-shadow: 0 5px 13px rgba(22, 0, 3, 0.28);
}

body[data-route="new-sale"] .plan-platforms .streaming-logo img {
  display: block;
  image-rendering: auto;
  max-height: 34px;
}

body[data-route="new-sale"] .plan-card ul {
  gap: 9px;
  padding-top: 4px;
  border-top: 0;
}

body[data-route="new-sale"] .plan-card li {
  padding-left: 26px;
  color: #ffffff;
  font-size: 11.5px;
  line-height: 1.3;
}

body[data-route="new-sale"] .plan-card li::before {
  top: -1px;
  width: 15px;
  height: 15px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  transform: none;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}

body[data-route="new-sale"] .plan-card li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.plan-extras {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
}

.plan-extra {
  min-height: 48px;
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  border: 1px solid rgba(255, 40, 54, 0.9);
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(55, 0, 5, 0.34);
  box-shadow:
    inset 0 0 16px rgba(255, 0, 22, 0.1),
    0 0 9px rgba(255, 0, 22, 0.12);
}

.plan-extra-icon {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(255, 110, 120, 0.5);
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.65);
}

.plan-extra-dolby {
  font-size: 11px;
  letter-spacing: 0.08em;
}

.plan-extra-boali {
  color: #ef0017;
  font-size: 29px;
  font-style: italic;
}

.plan-extra span {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding-left: 12px;
}

.plan-extra b {
  color: #ffffff;
  font-size: 12px;
}

.plan-extra small {
  color: rgba(255, 255, 255, 0.77);
  font-size: 9.5px;
  line-height: 1.25;
}

body[data-route="new-sale"] .plan-card button {
  flex: 0 0 auto;
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 0;
  padding: 0 16px 0 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #28d51d, #13ad16);
  box-shadow: 0 0 15px rgba(54, 255, 45, 0.42);
  font-size: 15px;
}

.plan-button-arrow {
  font-size: 25px;
  line-height: 1;
  font-weight: 500;
}

.customer-sale-content {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  padding: 20px 16px 28px;
  background:
    radial-gradient(circle at 95% 0%, rgba(240, 0, 22, 0.08), transparent 13rem),
    #f7f8fb;
}

.customer-sale-back {
  top: 18px;
  left: 16px;
  color: #151923;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(30, 34, 46, 0.1);
}

.customer-sale-header {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 0 45px 14px;
  text-align: center;
}

.customer-sale-header img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.customer-sale-header h1 {
  margin: 0;
  color: #10131b;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
}

.customer-sale-header p {
  margin: 2px 0 0;
  border-radius: 7px;
  padding: 6px 11px;
  color: #626874;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(22, 29, 45, 0.07);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

.customer-sale-header p strong {
  color: #e60018;
  font-size: 11px;
}

.customer-sale-form {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  border-radius: 18px;
  padding: 18px 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(22, 29, 45, 0.09);
}

.customer-sale-form > label,
.sale-summary > label {
  display: grid;
  gap: 6px;
  color: #171a22;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
}

.customer-sale-form input,
.customer-sale-form select {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #d8dbe3;
  border-radius: 8px;
  outline: 0;
  padding: 0 12px;
  color: #171a22;
  background: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
}

.customer-sale-form input:focus,
.customer-sale-form select:focus {
  border-color: #ef0017;
  box-shadow: 0 0 0 3px rgba(239, 0, 23, 0.08);
}

.customer-sale-form input[readonly] {
  color: #5c616e;
  background: #f5f6f8;
}

.sale-summary {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  gap: 0;
  border-radius: 12px;
  padding: 5px 12px;
  background: #f7f7f9;
}

.sale-summary > div,
.sale-summary > label {
  min-width: 0;
  min-height: 43px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #dedfe4;
}

.sale-summary > label {
  font-weight: 650;
}

.sale-summary select {
  width: 125px;
  height: 34px;
  padding: 0 8px;
  background: #ffffff;
}

.sale-summary > div:last-child {
  border-bottom: 0;
}

.sale-summary span {
  color: #4e535e;
  font-size: 11.5px;
}

.sale-summary strong {
  min-width: 0;
  color: #151923;
  font-size: 12.5px;
  overflow-wrap: anywhere;
  text-align: right;
}

.sale-final-value strong {
  color: #e60018;
  font-size: 15px;
}

.customer-sale-submit {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 0 18px 0 42px;
  color: #ffffff;
  background: linear-gradient(135deg, #ef0017, #d90016);
  box-shadow: 0 12px 24px rgba(239, 0, 23, 0.22);
  font-size: 14px;
  font-weight: 900;
}

.customer-sale-submit span {
  font-size: 24px;
}

.sale-pix-content {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  gap: 18px;
  padding: 24px 18px;
  background:
    radial-gradient(circle at 88% 2%, rgba(239, 0, 23, 0.09), transparent 14rem),
    linear-gradient(180deg, #ffffff, #f6f7f9);
}

.sale-pix-back {
  top: 20px;
  left: 16px;
  background: #ffffff;
  color: #151923;
  box-shadow: 0 8px 20px rgba(22, 29, 45, 0.1);
}

.sale-payment-header {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 34px;
  text-align: center;
}

.sale-payment-header img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.sale-payment-header span {
  border-radius: 999px;
  padding: 5px 10px;
  color: #008d49;
  background: #e7f8ef;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.sale-payment-header h1 {
  margin: 2px 0 0;
  color: #10131b;
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
}

.sale-payment-header p {
  max-width: 100%;
  margin: 0;
  color: #717785;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 650;
}

.sale-pix-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  gap: 13px;
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(22, 29, 45, 0.1);
}

.sale-pix-value {
  display: grid;
  justify-items: center;
  gap: 3px;
  border-radius: 12px;
  padding: 12px;
  background: #f4f5f7;
}

.sale-pix-value span,
.sale-pix-card label {
  color: #747a87;
  font-size: 10px;
  font-weight: 750;
}

.sale-pix-value strong {
  color: #10131b;
  font-size: 25px;
}

.sale-pix-qr {
  width: 170px;
  height: 170px;
  display: block;
  justify-self: center;
  border-radius: 10px;
  object-fit: contain;
  image-rendering: pixelated;
}

.sale-pix-qr[hidden] {
  display: none;
}

.sale-pix-card textarea {
  width: 100%;
  min-height: 94px;
  box-sizing: border-box;
  resize: none;
  border: 1px dashed #cfd3dc;
  border-radius: 10px;
  padding: 11px;
  color: #4e5562;
  background: #fafafa;
  font-size: 10px;
  line-height: 1.45;
  word-break: break-all;
}

.sale-pix-card > button {
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  background: #ef0017;
  box-shadow: 0 10px 22px rgba(239, 0, 23, 0.2);
  font-size: 12px;
  font-weight: 900;
}

.sale-payment-waiting {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 10px;
  background: #fff8e5;
}

.sale-payment-waiting > span,
.sale-approved-loader {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 3px solid rgba(239, 0, 23, 0.18);
  border-top-color: #ef0017;
  border-radius: 50%;
  animation: sale-payment-spin 900ms linear infinite;
}

.sale-payment-waiting div {
  display: grid;
  gap: 2px;
}

.sale-payment-waiting strong {
  color: #5c4700;
  font-size: 10.5px;
}

.sale-payment-waiting small {
  color: #8a792f;
  font-size: 8.5px;
  line-height: 1.3;
}

.sale-approved-content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(155deg, #16b867, #057741);
}

.sale-approved-mark {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.07);
}

.sale-approved-mark svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.8;
}

.sale-approved-content > span {
  margin-top: 18px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.sale-approved-content h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.sale-approved-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 650;
}

.sale-approved-loader {
  margin-top: 12px;
  border-color: rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
}

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

.orders-content {
  width: 100%;
  min-width: 0;
  height: 100%;
  box-sizing: border-box;
  flex-direction: column;
  padding: 18px 14px 20px;
  background: #f6f7f9;
}

.orders-header {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 45px 15px;
  text-align: center;
}

.orders-back {
  top: 2px;
  left: 2px;
  color: #151923;
  background: #ffffff;
}

.orders-header img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.orders-header h1 {
  margin: 0;
  color: #10131b;
  font-size: 23px;
  font-weight: 950;
}

.orders-header p {
  margin: 0;
  color: #747a87;
  font-size: 10px;
  line-height: 1.35;
}

.orders-list {
  width: 100%;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: none;
}

.orders-list::-webkit-scrollbar {
  display: none;
}

.orders-state {
  border-radius: 12px;
  padding: 24px 14px;
  color: #747a87;
  background: #ffffff;
  text-align: center;
  font-size: 11px;
  box-shadow: 0 8px 22px rgba(22, 29, 45, 0.07);
}

.clients-content {
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 18px 14px 20px;
  background: #f6f7f9;
}

.clients-header {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 45px 15px;
  text-align: center;
}

.clients-back {
  top: 2px;
  left: 2px;
  color: #151923;
  background: #ffffff;
}

.clients-header img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.clients-header h1 {
  margin: 0;
  color: #10131b;
  font-size: 23px;
  font-weight: 950;
}

.clients-header p {
  margin: 0;
  color: #747a87;
  font-size: 10px;
}

.clients-list {
  width: 100%;
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 11px;
  overflow-y: auto;
  padding: 2px;
  scrollbar-width: none;
}

.clients-list::-webkit-scrollbar {
  display: none;
}

.clients-state {
  border-radius: 12px;
  padding: 24px 14px;
  color: #747a87;
  background: #ffffff;
  text-align: center;
  font-size: 11px;
  box-shadow: 0 8px 22px rgba(22, 29, 45, 0.07);
}

.client-card {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 12px;
  border: 1px solid #eceef2;
  border-radius: 14px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 9px 24px rgba(22, 29, 45, 0.07);
}

.client-card > header {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.client-card > header div {
  min-width: 0;
}

.client-card h2,
.client-card p {
  margin: 0;
}

.client-card h2 {
  overflow: hidden;
  color: #151923;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-card p {
  margin-top: 3px;
  color: #777e8b;
  font-size: 9px;
}

.client-card > header > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  color: #08743f;
  background: #dcf7e9;
  font-size: 8px;
  font-weight: 900;
}

.client-details {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid #eceef2;
  border-radius: 10px;
  overflow: hidden;
}

.client-details div {
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 9px;
  border-bottom: 1px solid #eceef2;
}

.client-details div:nth-child(odd) {
  border-right: 1px solid #eceef2;
}

.client-details div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.client-details span {
  color: #858b97;
  font-size: 8px;
}

.client-details strong {
  min-width: 0;
  color: #20242d;
  font-size: 9px;
  overflow-wrap: anywhere;
}

.client-edit-button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #ef0017;
  font-size: 10px;
  font-weight: 850;
}

.client-edit-modal {
  position: absolute;
  inset: 0;
  z-index: 105;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 20, 27, 0.5);
  backdrop-filter: blur(4px);
}

.client-edit-modal[hidden] {
  display: none;
}

.client-edit-dialog {
  width: 100%;
  max-width: 350px;
  min-width: 0;
  display: grid;
  gap: 13px;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 20, 27, 0.25);
}

.client-edit-dialog header {
  text-align: center;
}

.client-edit-dialog header span {
  color: #ef0017;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.client-edit-dialog h2 {
  margin: 4px 0;
  font-size: 18px;
}

.client-edit-dialog p {
  margin: 0;
  color: #777e8b;
  font-size: 9px;
}

.client-edit-dialog label {
  min-width: 0;
  display: grid;
  gap: 6px;
  color: #20242d;
  font-size: 10px;
  font-weight: 800;
}

.client-edit-dialog input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid #dfe2e8;
  border-radius: 9px;
  padding: 0 12px;
  color: #20242d;
  background: #ffffff;
  font-size: 11px;
  outline: 0;
}

.client-edit-dialog input:focus {
  border-color: #ef0017;
  box-shadow: 0 0 0 3px rgba(239, 0, 23, 0.1);
}

.client-edit-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.client-edit-actions button {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: #5e6470;
  background: #eef0f4;
  font-size: 9px;
  font-weight: 900;
}

.client-edit-actions button:last-child {
  color: #ffffff;
  background: #ef0017;
}

.affiliate-profile-content {
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 18px 14px 20px;
  background: #f6f7f9;
}

.affiliate-profile-header {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0 45px 17px;
  text-align: center;
}

.affiliate-profile-back {
  top: 2px;
  left: 2px;
  color: #151923;
  background: #ffffff;
}

.affiliate-profile-header img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.affiliate-profile-header h1 {
  margin: 0;
  color: #10131b;
  font-size: 22px;
  font-weight: 950;
}

.affiliate-profile-header p {
  margin: 0;
  color: #747a87;
  font-size: 10px;
}

.affiliate-profile-main {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}

.affiliate-profile-main::-webkit-scrollbar {
  display: none;
}

.affiliate-profile-card {
  display: grid;
  gap: 14px;
  border: 1px solid #eceef2;
  border-radius: 15px;
  padding: 15px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(22, 29, 45, 0.08);
}

.affiliate-profile-card dl {
  margin: 0;
  overflow: hidden;
  border: 1px solid #eceef2;
  border-radius: 11px;
}

.affiliate-profile-card dl div {
  display: grid;
  grid-template-columns: minmax(105px, 38%) minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid #eceef2;
}

.affiliate-profile-card dl div:last-child {
  border-bottom: 0;
}

.affiliate-profile-card dt {
  color: #858b97;
  font-size: 9px;
  font-weight: 700;
}

.affiliate-profile-card dd {
  min-width: 0;
  margin: 0;
  color: #20242d;
  font-size: 10px;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-align: right;
}

.affiliate-profile-card > button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #ef0017;
  font-size: 10px;
  font-weight: 900;
}

.affiliate-profile-modal {
  position: absolute;
  inset: 0;
  z-index: 106;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 20, 27, 0.5);
  backdrop-filter: blur(4px);
}

.affiliate-profile-modal[hidden] {
  display: none;
}

.affiliate-profile-dialog {
  width: 100%;
  max-width: 350px;
  display: grid;
  gap: 13px;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 20, 27, 0.25);
}

.affiliate-profile-dialog header {
  text-align: center;
}

.affiliate-profile-dialog header span {
  color: #ef0017;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.affiliate-profile-dialog h2 {
  margin: 4px 0;
  color: #151923;
  font-size: 18px;
}

.affiliate-profile-dialog p {
  margin: 0;
  color: #777e8b;
  font-size: 9px;
  line-height: 1.4;
}

.affiliate-profile-dialog label {
  display: grid;
  gap: 6px;
  color: #20242d;
  font-size: 10px;
  font-weight: 800;
}

.affiliate-profile-dialog input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid #dfe2e8;
  border-radius: 9px;
  padding: 0 12px;
  color: #20242d;
  background: #ffffff;
  font-size: 11px;
  outline: 0;
}

.affiliate-profile-dialog input:focus {
  border-color: #ef0017;
  box-shadow: 0 0 0 3px rgba(239, 0, 23, 0.1);
}

.affiliate-profile-dialog > div {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
}

.affiliate-profile-dialog button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: #5e6470;
  background: #eef0f4;
  font-size: 9px;
  font-weight: 900;
}

.affiliate-profile-dialog button:last-child {
  color: #ffffff;
  background: #ef0017;
}

.order-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  border: 1px solid #eceef2;
  border-radius: 14px;
  padding: 13px;
  background: #ffffff;
  box-shadow: 0 9px 24px rgba(22, 29, 45, 0.07);
}

.order-card-head,
.order-card-row {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-card-head div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-card-head strong {
  overflow: hidden;
  color: #151923;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card-head small,
.order-card-row span {
  color: #7a808d;
  font-size: 9px;
}

.order-status {
  max-width: 48%;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
  color: #9a6800;
  background: #fff3cf;
  font-size: 8px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.order-status.paid {
  color: #08743f;
  background: #dcf7e9;
}

.order-card-row strong {
  min-width: 0;
  color: #e60018;
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: right;
}

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

.order-actions button,
.order-actions a {
  min-width: 0;
  min-height: 36px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  border: 0;
  border-radius: 8px;
  padding: 5px 8px;
  color: #ffffff;
  background: #ef0017;
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.order-actions .order-cancel {
  color: #c30016;
  background: #ffe8eb;
}

.order-actions .order-receipt {
  grid-column: 1 / -1;
  background: #0e9b59;
}

.sale-cancel-modal {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(18, 20, 27, 0.48);
  backdrop-filter: blur(4px);
}

.sale-cancel-modal[hidden] {
  display: none;
}

.sale-cancel-dialog {
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  gap: 11px;
  border-radius: 17px;
  padding: 22px 18px 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(18, 20, 27, 0.24);
  text-align: center;
}

.sale-cancel-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #ef0017;
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
}

.sale-cancel-dialog h2 {
  margin: 2px 0 0;
  color: #151923;
  font-size: 16px;
  line-height: 1.2;
}

.sale-cancel-dialog p {
  margin: 0;
  color: #747a87;
  font-size: 10px;
  line-height: 1.4;
}

.sale-cancel-dialog > div {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 5px;
}

.sale-cancel-dialog button {
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  background: #ef0017;
  font-size: 11px;
  font-weight: 900;
}

.sale-cancel-dialog button:last-child {
  color: #5e6470;
  background: #eef0f4;
}

.dashboard-content {
  position: relative;
  z-index: 2;
  height: 100%;
  flex-direction: column;
  padding: clamp(8px, 1.55svh, 14px) clamp(14px, 4vw, 18px) 82px;
  color: #171a22;
  background:
    radial-gradient(circle at 92% 6%, rgba(240, 0, 22, 0.05), transparent 9rem),
    #ffffff;
}

.dashboard-header {
  flex: 0 0 auto;
}

.dashboard-topbar {
  display: grid;
  grid-template-columns: 38px 1fr 78px;
  align-items: center;
  min-height: 38px;
}

.dashboard-logo {
  width: min(158px, 45vw);
  height: auto;
  justify-self: center;
  display: block;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.dashboard-icon-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #11141a;
  background: transparent;
  position: relative;
}

.dashboard-icon-button svg,
.section-heading svg,
.statement-link svg,
.withdraw-button svg,
.sale-row > svg,
.bottom-nav svg,
.quick-action svg,
.promo-card button svg,
.rocket-icon,
.hello-wave {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-icon-button svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.3;
}

.notification-button span {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #ffffff;
  font-size: 9px;
  font-weight: 850;
  border: 2px solid #ffffff;
}

.dashboard-greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: clamp(2px, 0.7svh, 6px);
}

.dashboard-greeting h1 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #171a22;
  font-size: clamp(22px, 3svh, 26px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hello-wave {
  width: clamp(19px, 2.9svh, 24px);
  height: clamp(19px, 2.9svh, 24px);
  color: #f4b042;
  stroke-width: 2;
  flex: 0 0 auto;
}

.dashboard-greeting p {
  margin: 5px 0 0;
  color: #6d717e;
  font-size: clamp(11px, 1.55svh, 13px);
  font-weight: 650;
}

.profile-avatar {
  width: clamp(44px, 6.6svh, 52px);
  height: clamp(44px, 6.6svh, 52px);
  border: 0;
  border-radius: 50%;
  padding: 0;
  position: relative;
  background: #eef0f4;
  box-shadow: 0 8px 20px rgba(31, 35, 48, 0.1);
}

.avatar-face {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #171a22;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(222, 226, 232, 0.95)),
    #eef0f4;
}

.avatar-face svg {
  width: 80%;
  height: 80%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.online-dot {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #20d245;
  border: 3px solid #ffffff;
}

.dashboard-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1svh, 9px);
  overflow: hidden;
  padding-top: clamp(7px, 1.1svh, 10px);
}

.dashboard-main > * {
  flex: 0 0 auto;
}

.balance-card {
  position: relative;
  min-height: clamp(126px, 17.5svh, 140px);
  border-radius: 13px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: clamp(12px, 1.7svh, 15px) clamp(14px, 3.8vw, 18px);
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.18), transparent 6rem),
    linear-gradient(135deg, #bd0011 0%, #560007 48%, #08090d 100%);
  box-shadow: 0 12px 26px rgba(20, 23, 32, 0.15);
}

.balance-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 48%, rgba(255, 255, 255, 0.06) 49%, transparent 50%),
    linear-gradient(120deg, transparent 54%, rgba(255, 255, 255, 0.05) 55%, transparent 56%);
}

.balance-watermark {
  position: absolute;
  right: -56px;
  top: 10px;
  width: 210px;
  opacity: 0.16;
  filter: saturate(1.2);
}

.balance-copy,
.statement-link {
  position: relative;
  z-index: 1;
}

.balance-copy {
  display: grid;
  justify-items: start;
}

.balance-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 1.62svh, 14px);
  line-height: 1.1;
  font-weight: 800;
}

.balance-label svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.balance-copy > strong {
  margin-top: 3px;
  font-size: clamp(28px, 4.25svh, 33px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.balance-copy > small {
  margin-top: 3px;
  font-size: clamp(9.5px, 1.35svh, 11.5px);
  font-weight: 650;
}

.withdraw-button {
  min-height: clamp(29px, 4.05svh, 34px);
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(7px, 1svh, 10px);
  padding: 0 clamp(12px, 3.6vw, 18px);
  color: #171a22;
  background: #ffffff;
  font-size: clamp(10.8px, 1.45svh, 12.5px);
  font-weight: 850;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.18);
}

.withdraw-button svg:first-child {
  width: 18px;
  height: 18px;
  color: var(--red);
  stroke-width: 2;
}

.withdraw-button svg:last-child,
.statement-link svg,
.section-heading svg,
.sale-row > svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.statement-link {
  border: 0;
  background: transparent;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  font-size: clamp(10px, 1.55svh, 13px);
  font-weight: 750;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 9px);
}

.metric-card {
  min-width: 0;
  min-height: clamp(68px, 9.3svh, 78px);
  border-radius: 9px;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: clamp(6px, 1svh, 8px) 5px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(30, 34, 46, 0.11);
}

.metric-icon {
  width: clamp(27px, 4.1svh, 32px);
  height: clamp(27px, 4.1svh, 32px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(240, 0, 22, 0.09);
}

.metric-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.metric-card p,
.metric-card strong,
.metric-card small {
  min-width: 0;
  margin: 0;
}

.metric-card p {
  color: #171a22;
  font-size: clamp(7.8px, 1.06svh, 9px);
  line-height: 1.16;
  font-weight: 800;
}

.metric-card strong {
  color: #171a22;
  font-size: clamp(12px, 1.75svh, 15px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.metric-card small {
  width: fit-content;
  max-width: 100%;
  min-height: 15px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
  font-size: clamp(6.8px, 0.94svh, 8px);
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.positive {
  color: #20a846;
  background: rgba(32, 168, 70, 0.1);
}

.waiting {
  color: #d59816;
  background: rgba(229, 173, 43, 0.13);
}

.dashboard-section {
  display: grid;
  gap: clamp(5px, 0.8svh, 7px);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-heading h2 {
  margin: 0;
  color: #171a22;
  font-size: clamp(15px, 1.95svh, 18px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading button {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  font-size: clamp(9.8px, 1.45svh, 12px);
  font-weight: 850;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(7px, 2vw, 10px);
}

.quick-action {
  min-width: 0;
  min-height: clamp(50px, 7.1svh, 60px);
  border: 0;
  border-radius: 8px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 5px 3px;
  color: #171a22;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(30, 34, 46, 0.1);
  font-size: clamp(7.8px, 1.05svh, 9px);
  line-height: 1.14;
  font-weight: 850;
  text-align: center;
}

.quick-action span {
  width: clamp(24px, 3.7svh, 29px);
  height: clamp(24px, 3.7svh, 29px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #ffffff;
}

.quick-action svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

.sales-section {
  min-height: 0;
}

.sales-card {
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 9px 24px rgba(30, 34, 46, 0.1);
}

.sale-row {
  width: 100%;
  min-height: clamp(36px, 5svh, 42px);
  border: 0;
  border-bottom: 1px solid #eceef3;
  display: grid;
  grid-template-columns: clamp(31px, 4.8svh, 39px) minmax(0, 1fr) auto auto 12px;
  align-items: center;
  gap: clamp(5px, 1.8vw, 8px);
  padding: clamp(4px, 0.62svh, 6px) clamp(7px, 2.4vw, 10px);
  background: #ffffff;
  color: #171a22;
  text-align: left;
}

.sale-row:last-child {
  border-bottom: 0;
}

.sale-initials {
  width: clamp(31px, 4.8svh, 39px);
  height: clamp(31px, 4.8svh, 39px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(240, 0, 22, 0.1);
  color: #ba0011;
  font-size: clamp(10px, 1.45svh, 12px);
  font-weight: 900;
}

.sale-info,
.sale-value {
  min-width: 0;
  display: grid;
}

.sale-info strong {
  color: #171a22;
  font-size: clamp(9.5px, 1.32svh, 11px);
  line-height: 1.08;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sale-info small,
.sale-info em,
.sale-value small {
  color: #8b8f9a;
  font-style: normal;
  font-weight: 650;
}

.sale-info small {
  margin-top: 2px;
  font-size: clamp(7.8px, 1.08svh, 9px);
}

.sale-info em {
  margin-top: 1px;
  font-size: clamp(7px, 0.95svh, 8px);
}

.sale-value {
  justify-items: start;
  width: clamp(48px, 14vw, 58px);
}

.sale-value strong {
  color: #21a84a;
  font-size: clamp(9.5px, 1.32svh, 11px);
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
}

.sale-value small {
  margin-top: 2px;
  font-size: clamp(7px, 0.95svh, 8px);
}

.sale-status {
  min-width: clamp(39px, 11vw, 48px);
  min-height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  font-size: clamp(7px, 0.95svh, 8px);
  font-weight: 850;
  white-space: nowrap;
}

.sale-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
  display: inline-block;
}

.sale-status.active {
  color: #20a846;
  background: rgba(32, 168, 70, 0.11);
}

.sale-status.active::before {
  background: #20c34b;
}

.sale-status.pending {
  color: #d59816;
  background: rgba(229, 173, 43, 0.13);
}

.sale-status.pending::before {
  background: #f5b82d;
}

.sale-row > svg {
  color: #9a9da6;
}

.promo-card {
  position: relative;
  min-height: clamp(50px, 6.8svh, 55px);
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 8px clamp(12px, 3vw, 16px);
  color: #ffffff;
  background:
    radial-gradient(circle at 96% 50%, rgba(240, 0, 22, 0.55), transparent 5.5rem),
    linear-gradient(135deg, #090b13, #141823 55%, #08090d);
  box-shadow: 0 10px 24px rgba(17, 20, 30, 0.14);
}

.promo-card div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}

.promo-card strong {
  font-size: clamp(13px, 1.9svh, 16px);
  line-height: 1;
  font-weight: 900;
}

.promo-card span {
  font-size: clamp(9px, 1.25svh, 10.5px);
  line-height: 1.12;
  font-weight: 650;
}

.promo-card button {
  position: relative;
  z-index: 2;
  min-height: 28px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  color: #ffffff;
  background: var(--red);
  font-size: clamp(8.5px, 1.16svh, 10px);
  font-weight: 850;
}

.promo-card button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.rocket-icon {
  position: absolute;
  right: -12px;
  bottom: -11px;
  width: 66px;
  height: 66px;
  color: #ffffff;
  fill: #ffffff;
  stroke: var(--red);
  stroke-width: 2.5;
  transform: rotate(16deg);
  opacity: 0.96;
}

.bottom-nav {
  position: absolute;
  left: clamp(12px, 4vw, 18px);
  right: clamp(12px, 4vw, 18px);
  bottom: calc(8px + env(safe-area-inset-bottom));
  height: clamp(58px, 8svh, 66px);
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(28, 32, 44, 0.13);
}

.bottom-nav button {
  min-width: 0;
  height: 100%;
  border: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  color: #8d929d;
  background: transparent;
  font-size: clamp(9px, 1.35svh, 11.5px);
  font-weight: 800;
  position: relative;
}

.bottom-nav button.active {
  color: var(--red);
}

.bottom-nav button.active::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 999px;
  background: var(--red);
}

.bottom-nav svg {
  width: clamp(22px, 3.8svh, 30px);
  height: clamp(22px, 3.8svh, 30px);
  stroke-width: 2;
}

@media (min-width: 560px) {
  .app-shell {
    padding: 0;
    background: #ffffff;
  }

  .phone-screen {
    width: 100%;
    max-width: none;
    height: 100svh;
    min-height: 100svh;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-height: 760px) {
  body[data-route="new-sale"] .new-sale-content {
    padding-top: 4px;
    padding-bottom: 7px;
  }

  body[data-route="new-sale"] .new-sale-logo {
    width: min(84px, 25vw);
    margin-bottom: 2px;
  }

  body[data-route="new-sale"] .sale-back-button {
    top: 7px;
    width: 32px;
    height: 32px;
  }

  body[data-route="new-sale"] .new-sale-copy {
    gap: 3px;
  }

  body[data-route="new-sale"] .new-sale-copy span {
    padding: 3px 9px;
    font-size: 8.2px;
  }

  body[data-route="new-sale"] .new-sale-copy h1 {
    font-size: 18px;
  }

  body[data-route="new-sale"] .new-sale-copy p {
    width: min(100%, 284px);
    font-size: 9.5px;
  }

  body[data-route="new-sale"] .streaming-strip {
    gap: 7px;
    padding: 8px 14px 6px;
  }

  body[data-route="new-sale"] .streaming-logo {
    flex-basis: 54px;
    width: 54px;
    height: 36px;
    border-radius: 7px;
  }

  body[data-route="new-sale"] .streaming-badge {
    min-width: 48px;
    height: 31px;
    border-radius: 8px;
    font-size: 7.6px;
  }

  body[data-route="new-sale"] .streaming-badge.prime,
  body[data-route="new-sale"] .streaming-badge.globoplay {
    min-width: 62px;
  }

  body[data-route="new-sale"] .streaming-badge.hbo,
  body[data-route="new-sale"] .streaming-badge.apple {
    min-width: 56px;
  }

  body[data-route="new-sale"] .streaming-badge.paramount,
  body[data-route="new-sale"] .streaming-badge.discovery {
    min-width: 66px;
  }

  body[data-route="new-sale"] .streaming-badge.netflix {
    min-width: 39px;
    font-size: 18px;
  }

  body[data-route="new-sale"] .plan-carousel {
    gap: 11px;
    padding: 0 7px 2px;
  }

  body[data-route="new-sale"] .plan-card {
    flex-basis: calc(100% - 16px);
    height: 100%;
    min-height: 0;
    border-radius: 16px;
    gap: 7px;
    padding: 13px;
  }

  body[data-route="new-sale"] .plan-ribbon {
    padding: 4px 10px;
    font-size: 8.6px;
  }

  body[data-route="new-sale"] .plan-duration {
    font-size: 8.2px;
  }

  body[data-route="new-sale"] .plan-card h2 {
    margin-top: 3px;
    font-size: 17px;
  }

  body[data-route="new-sale"] .plan-price {
    font-size: 25px;
  }

  body[data-route="new-sale"] .plan-card p {
    font-size: 9px;
    line-height: 1.28;
  }

  body[data-route="new-sale"] .plan-card .plan-commission {
    padding: 6px 9px;
    font-size: 9.4px;
    line-height: 1.15;
  }

  body[data-route="new-sale"] .plan-platforms {
    gap: 5px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-logo {
    width: 100%;
    height: 37px;
    padding: 4px;
    border-radius: 6px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-logo img {
    max-height: 27px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="netflix"] {
    max-width: 26px;
    max-height: 26px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="hbo-max"] {
    max-width: 40px;
    max-height: 26px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="prime-video"],
  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="disney-plus"],
  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="paramount-plus"],
  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="apple-tv"] {
    max-width: 27px;
    max-height: 27px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="globoplay"],
  body[data-route="new-sale"] .plan-platforms .streaming-logo img[src*="star-plus"] {
    max-width: 33px;
    max-height: 27px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-badge {
    min-width: 38px;
    height: 28px;
    border-radius: 8px;
    font-size: 6.8px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-badge.prime,
  body[data-route="new-sale"] .plan-platforms .streaming-badge.globoplay {
    min-width: 42px;
    font-size: 0;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-badge.paramount,
  body[data-route="new-sale"] .plan-platforms .streaming-badge.discovery {
    min-width: 47px;
    font-size: 0;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-badge.prime::after,
  body[data-route="new-sale"] .plan-platforms .streaming-badge.globoplay::after,
  body[data-route="new-sale"] .plan-platforms .streaming-badge.paramount::after,
  body[data-route="new-sale"] .plan-platforms .streaming-badge.discovery::after {
    font-size: 6.8px;
  }

  body[data-route="new-sale"] .plan-platforms .streaming-badge.netflix {
    min-width: 34px;
    font-size: 16px;
  }

  body[data-route="new-sale"] .plan-card ul {
    gap: 6px;
    padding-top: 7px;
  }

  body[data-route="new-sale"] .plan-card li {
    padding-left: 19px;
    font-size: 8.8px;
  }

  body[data-route="new-sale"] .plan-card li::before {
    width: 10px;
    height: 6px;
  }

  body[data-route="new-sale"] .plan-card button {
    min-height: 34px;
    border-radius: 10px;
    font-size: 10.5px;
  }

  body[data-route="home"] .banking-content {
    padding: 8px 16px 76px;
  }

  body[data-route="home"] .bank-topbar {
    min-height: 36px;
    grid-template-columns: 36px 1fr 36px;
  }

  body[data-route="home"] .bank-logo {
    width: min(132px, 39vw);
  }

  body[data-route="home"] .bank-icon-button {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }

  body[data-route="home"] .bank-user-row {
    margin-top: 7px;
  }

  body[data-route="home"] .bank-user-row p {
    font-size: 19px;
  }

  body[data-route="home"] .bank-user-row span {
    margin-top: 2px;
    font-size: 11.5px;
  }

  body[data-route="home"] .bank-avatar {
    width: 38px;
    height: 38px;
  }

  body[data-route="home"] .bank-main {
    gap: 7px;
    padding-top: 8px;
  }

  body[data-route="home"] .bank-balance-card {
    min-height: 143px;
    border-radius: 15px;
    row-gap: 7px;
    padding: 13px;
  }

  body[data-route="home"] .balance-heading > span {
    font-size: 11px;
  }

  body[data-route="home"] .balance-visibility-button {
    width: 24px;
    height: 24px;
  }

  body[data-route="home"] .bank-balance-info > strong {
    margin-top: 8px;
    font-size: 26px;
  }

  body[data-route="home"] .balance-pending-pill {
    min-height: 22px;
    margin-top: 7px;
    padding: 0 8px;
  }

  body[data-route="home"] .balance-pending-pill span,
  body[data-route="home"] .balance-pending-pill strong {
    font-size: 7.8px;
  }

  body[data-route="home"] .bank-account-box {
    gap: 4px;
    padding-left: 8px;
  }

  body[data-route="home"] .wallet-detail > span {
    font-size: 6.5px;
  }

  body[data-route="home"] .wallet-detail > strong {
    font-size: 7.8px;
  }

  body[data-route="home"] .bank-primary-action,
  body[data-route="home"] .bank-secondary-action {
    min-height: 31px;
    border-radius: 10px;
    font-size: 10px;
  }

  body[data-route="home"] .bank-actions {
    min-height: 70px;
    border-radius: 15px;
    padding: 6px 0;
  }

  body[data-route="home"] .bank-action {
    gap: 4px;
    padding: 0 6px;
    font-size: 7.8px;
  }

  body[data-route="home"] .bank-action svg {
    width: 23px;
    height: 23px;
  }

  body[data-route="home"] .bank-indicators {
    gap: 8px;
  }

  body[data-route="home"] .bank-indicator-card {
    min-height: 66px;
    border-radius: 14px;
    gap: 7px;
    padding: 9px 20px 9px 9px;
  }

  body[data-route="home"] .bank-indicator-card > span {
    width: 32px;
    height: 32px;
  }

  body[data-route="home"] .bank-indicator-card small,
  body[data-route="home"] .bank-indicator-card em {
    font-size: 7.4px;
  }

  body[data-route="home"] .bank-indicator-card strong {
    margin: 3px 0;
    font-size: 14px;
  }

  body[data-route="home"] .bank-extract-panel {
    min-height: 112px;
    border-radius: 15px;
    padding: 11px;
  }

  body[data-route="home"] .bank-section-title h2 {
    font-size: 13px;
  }

  body[data-route="home"] .bank-section-title button {
    font-size: 10px;
  }

  body[data-route="home"] .bank-extract-card {
    min-height: 75px;
    gap: 4px;
    padding-top: 5px;
  }

  body[data-route="home"] .bank-extract-card > span {
    width: 34px;
    height: 34px;
  }

  body[data-route="home"] .bank-extract-card strong {
    font-size: 11.2px;
  }

  body[data-route="home"] .bank-extract-card small {
    font-size: 8.8px;
  }

  body[data-route="home"] .bank-bottom-nav {
    height: calc(62px + env(safe-area-inset-bottom));
    padding-top: 8px;
  }

  body[data-route="home"] .bank-bottom-nav button {
    gap: 3px;
    font-size: 7.8px;
  }

  body[data-route="home"] .bank-bottom-nav svg {
    width: 21px;
    height: 21px;
  }

  .login-content {
    padding-top: 84px;
    padding-bottom: 142px;
  }

  .brand-logo {
    width: min(285px, 78vw);
    margin-bottom: 22px;
  }

  .welcome-copy {
    margin-bottom: 22px;
  }

  .fields-card {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .divider {
    margin: 24px 0 19px;
  }

  .forgot-button {
    margin-top: 16px;
  }

  body[data-route="verify"] .verification-content {
    padding: 30px 31px 0;
  }

  body[data-route="verify"] .verification-content::before {
    top: 14px;
    height: 112px;
  }

  body[data-route="verify"] .verification-logo {
    width: min(260px, 76vw);
    margin-bottom: 8px;
  }

  body[data-route="verify"] .verification-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 8px;
  }

  body[data-route="verify"] .verification-icon svg {
    width: 27px;
    height: 27px;
  }

  body[data-route="verify"] .verification-copy h1 {
    margin-bottom: 7px;
    font-size: 21px;
  }

  body[data-route="verify"] .verification-copy p {
    margin-bottom: 3px;
    font-size: 11.2px;
    line-height: 1.28;
  }

  body[data-route="verify"] .verification-copy strong {
    margin-bottom: 4px;
    font-size: 14px;
  }

  body[data-route="verify"] .code-fields {
    gap: 7px;
    padding: 10px 0 10px;
  }

  body[data-route="verify"] .code-fields input {
    height: 39px;
    border-radius: 8px;
    font-size: 20px;
  }

  body[data-route="verify"] .verification-security {
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
  }

  body[data-route="verify"] .verification-security svg {
    width: 27px;
    height: 27px;
  }

  body[data-route="verify"] .verification-security strong {
    font-size: 11.8px;
  }

  body[data-route="verify"] .verification-security span {
    font-size: 10.4px;
  }

  body[data-route="verify"] .confirm-code-button {
    min-height: 42px;
    margin-top: 9px;
    font-size: 12.4px;
  }

  body[data-route="verify"] .resend-row {
    min-height: 22px;
    margin-top: 8px;
    font-size: 10.8px;
  }

  body[data-route="verify"] .verification-divider {
    gap: 12px;
    margin: 5px 0 8px;
  }

  body[data-route="verify"] .edit-phone-button {
    min-height: 36px;
    font-size: 11.2px;
  }

  body[data-route="verify"] .edit-phone-button svg {
    width: 17px;
    height: 17px;
  }

  body[data-route="verify"] .whatsapp-help-card {
    min-height: 52px;
    gap: 10px;
    margin-top: 10px;
    padding: 9px 12px;
  }

  body[data-route="verify"] .whatsapp-help-card > svg:first-child {
    width: 28px;
    height: 28px;
  }

  body[data-route="verify"] .whatsapp-help-card strong {
    font-size: 11.5px;
  }

  body[data-route="verify"] .whatsapp-help-card small {
    font-size: 10.2px;
  }

  .face-intro-content,
  .face-capture-content {
    --face-top: 26px;
    --face-logo-width: min(245px, 72vw);
    --face-logo-gap: 6px;
    --face-icon-size: 42px;
    --face-title-size: 20px;
    --face-text-size: 10.8px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .face-intro-content::before,
  .face-capture-content::before {
    top: 12px;
    height: 108px;
  }

  .screen-back-button {
    top: 36px;
    left: 18px;
    width: 30px;
    height: 30px;
  }

  .face-benefits-card {
    margin-top: 10px;
    padding: 10px 15px;
    gap: 8px;
  }

  .face-benefits-card article {
    gap: 11px;
  }

  .face-benefits-card article > span {
    width: 34px;
    height: 34px;
  }

  .face-benefits-card svg {
    width: 19px;
    height: 19px;
  }

  .face-benefits-card strong {
    font-size: 10.6px;
  }

  .face-benefits-card p {
    font-size: 9.1px;
    line-height: 1.28;
  }

  .capture-tips {
    margin-top: 9px;
  }

  .capture-tips h2 {
    margin-bottom: 8px;
    font-size: 13.5px;
  }

  .capture-tips-grid {
    gap: 7px;
  }

  .capture-tips article {
    gap: 4px;
  }

  .capture-tips span {
    width: 37px;
    height: 37px;
  }

  .capture-tips svg {
    width: 21px;
    height: 21px;
  }

  .capture-tips p {
    font-size: 8px;
  }

  .biometric-consent {
    gap: 8px;
    margin-top: 7px;
    font-size: 8.4px;
    line-height: 1.25;
  }

  .biometric-consent input {
    width: 14px;
    height: 14px;
  }

  .start-face-button,
  .capture-face-button {
    min-height: 36px;
    margin-top: 7px;
    font-size: 10.8px;
  }

  .biometric-note,
  .capture-privacy-note {
    font-size: 8.8px;
    line-height: 1.25;
  }

  .biometric-note {
    margin-top: 6px;
  }

  .camera-frame {
    margin-top: 11px;
  }

  .camera-preview {
    width: min(100%, 246px);
    border-radius: 23px;
  }

  .face-outline span {
    width: 22px;
    height: 22px;
  }

  .camera-preview p {
    bottom: 13px;
    font-size: 10.5px;
  }

  .capture-checks {
    gap: 6px;
    margin-top: 9px;
  }

  .capture-checks span {
    min-height: 27px;
    font-size: 8.2px;
  }

  .retry-capture-button {
    min-height: 25px;
    margin-top: 3px;
    font-size: 10.5px;
  }

  body[data-route="face-intro"] .bottom-wave,
  body[data-route="face-capture"] .bottom-wave {
    height: 76px;
    bottom: -16px;
  }
}

@media (max-height: 870px) and (max-width: 420px) {
  body[data-route="signup"] .signup-content {
    padding-top: 24px;
  }

  body[data-route="signup"] .signup-logo {
    width: min(196px, 51vw);
    margin-bottom: 0;
  }

  body[data-route="signup"] .signup-copy {
    margin-bottom: 6px;
  }

  body[data-route="signup"] .signup-copy h1 {
    margin-bottom: 2px;
    font-size: 19px;
  }

  body[data-route="signup"] .signup-copy p {
    font-size: 10.5px;
    line-height: 1.25;
  }

  body[data-route="signup"] .signup-card {
    padding: 11px 18px 11px;
    border-radius: 15px;
  }

  body[data-route="signup"] .signup-card .field-group {
    gap: 3px;
  }

  body[data-route="signup"] .signup-card .field-group + .field-group {
    margin-top: 4px;
  }

  body[data-route="signup"] .signup-card .field-label {
    font-size: 11.2px;
  }

  body[data-route="signup"] .signup-card .field-control {
    min-height: 31px;
    gap: 10px;
    padding: 0 10px;
  }

  body[data-route="signup"] .signup-card .field-control > svg {
    width: 16px;
    height: 16px;
  }

  body[data-route="signup"] .signup-card .field-control input {
    font-size: 11px;
  }

  body[data-route="signup"] .signup-card .icon-button {
    width: 24px;
    height: 24px;
  }

  body[data-route="signup"] .signup-card .icon-button svg {
    width: 16px;
    height: 16px;
  }

  body[data-route="signup"] .terms-row {
    gap: 8px;
    margin: 8px 0 9px;
    font-size: 9.8px;
  }

  body[data-route="signup"] .terms-row input {
    width: 15px;
    height: 15px;
  }

  body[data-route="signup"] .create-account-button {
    min-height: 34px;
    font-size: 11.5px;
  }

  body[data-route="signup"] .signin-row {
    margin: 8px 0 7px;
    font-size: 11px;
  }

  body[data-route="signup"] .benefits-card {
    padding: 6px 5px;
    border-radius: 10px;
  }

  body[data-route="signup"] .benefit-item {
    gap: 4px;
    padding: 0 5px;
    font-size: 7.3px;
  }

  body[data-route="signup"] .benefit-item svg {
    width: 17px;
    height: 17px;
  }

  body[data-route="signup"] .security-note {
    gap: 9px;
    margin-top: 45px;
  }

  body[data-route="signup"] .security-note > span {
    width: 30px;
    height: 30px;
  }

  body[data-route="signup"] .security-note svg {
    width: 15px;
    height: 15px;
  }

  body[data-route="signup"] .security-note strong {
    font-size: 11px;
  }

  body[data-route="signup"] .security-note small {
    margin-top: 1px;
    font-size: 10px;
  }

  body[data-route="signup"] .signup-bottom-wave {
    height: 70px;
    margin-top: 0;
  }

  body[data-route="signup"] .signup-bottom-wave::before {
    height: 80px;
    bottom: -28px;
  }

  body[data-route="signup"] .signup-bottom-wave::after {
    height: 68px;
    bottom: -39px;
  }
}

@media (max-width: 360px) {
  .status-bar {
    padding-left: 24px;
    padding-right: 24px;
  }

  .login-content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .primary-button,
  .secondary-button {
    font-size: 16px;
  }

  body[data-route="home"] .banking-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  body[data-route="home"] .bank-balance-card {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  body[data-route="home"] .bank-balance-info > strong {
    font-size: 25px;
  }

  body[data-route="home"] .balance-pending-pill span,
  body[data-route="home"] .balance-pending-pill strong {
    font-size: 7.4px;
  }

  body[data-route="home"] .wallet-detail > span {
    font-size: 6.2px;
  }

  body[data-route="home"] .wallet-detail > strong {
    font-size: 7.2px;
  }

  body[data-route="home"] .bank-actions {
    min-height: 68px;
  }

  body[data-route="home"] .bank-action {
    font-size: 7.4px;
  }

  body[data-route="home"] .bank-indicator-card {
    gap: 6px;
    padding-right: 18px;
  }

  body[data-route="home"] .bank-indicator-card strong {
    font-size: 13.2px;
  }

  body[data-route="home"] .bank-bottom-nav {
    padding-left: 11px;
    padding-right: 11px;
  }
}

.brand-logo,
.signup-logo,
.verification-logo,
.face-logo,
.face-capture-logo,
.account-rejected-logo {
  width: min(210px, 54vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.policies-logo,
.new-sale-logo,
.dashboard-logo {
  width: min(132px, 36vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.bank-logo {
  width: min(82px, 22vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

body[data-route="login"] .login-content {
  padding-top: clamp(20px, 3svh, 30px);
  padding-bottom: 72px;
}

body[data-route="login"] .brand-logo {
  width: min(188px, 50vw);
  margin-bottom: 8px;
}

body[data-route="login"] .welcome-copy {
  margin-bottom: 12px;
}

body[data-route="login"] .welcome-copy h1 {
  font-size: 24px;
}

body[data-route="login"] .welcome-copy p {
  font-size: 14px;
}

body[data-route="login"] .fields-card {
  padding: 16px 20px;
  margin-bottom: 12px;
}

body[data-route="login"] .field-group + .field-group {
  margin-top: 14px;
}

body[data-route="login"] .field-label {
  font-size: 15px;
}

body[data-route="login"] .field-control {
  min-height: 48px;
}

body[data-route="login"] .primary-button,
body[data-route="login"] .secondary-button {
  min-height: 46px;
}

body[data-route="login"] .divider {
  margin: 8px 0;
}

body[data-route="login"] #signupButton {
  margin-top: 0;
}

body[data-route="login"] .forgot-button {
  margin-top: 8px;
  min-height: 32px;
}

body[data-route="signup"] .phone-screen {
  overflow-y: auto;
  scrollbar-width: none;
}

body[data-route="signup"] .phone-screen::-webkit-scrollbar {
  display: none;
}

body[data-route="signup"] .signup-content {
  padding-top: 12px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 22px;
}

body[data-route="signup"] .signup-content::before {
  top: 0;
  height: 104px;
}

body[data-route="signup"] .signup-logo {
  width: min(142px, 38vw);
  margin-bottom: 0;
}

body[data-route="signup"] .signup-copy {
  margin-bottom: 6px;
}

body[data-route="signup"] .signup-copy h1 {
  margin-bottom: 2px;
  font-size: 20px;
}

body[data-route="signup"] .signup-copy p {
  font-size: 10.6px;
  line-height: 1.22;
}

body[data-route="signup"] .signup-card {
  padding: 10px 18px 11px;
  border-radius: 15px;
}

body[data-route="signup"] .signup-card .field-group {
  gap: 2px;
}

body[data-route="signup"] .signup-card .field-group + .field-group {
  margin-top: 4px;
}

body[data-route="signup"] .signup-card .field-label {
  font-size: 11px;
  line-height: 1.05;
}

body[data-route="signup"] .signup-card .field-control {
  min-height: 31px;
  border-radius: 8px;
  gap: 9px;
  padding: 0 10px;
}

body[data-route="signup"] .signup-card .field-control > svg {
  width: 15px;
  height: 15px;
}

body[data-route="signup"] .signup-card .field-control input,
body[data-route="signup"] .signup-card .field-control select {
  font-size: 11px;
}

body[data-route="signup"] .field-validation-message {
  margin-top: 1px;
  font-size: 10px;
  line-height: 1.05;
}

body[data-route="signup"] .terms-row {
  margin: 7px 0 8px;
  gap: 7px;
  font-size: 9.4px;
  line-height: 1.25;
}

body[data-route="signup"] .terms-row input {
  width: 14px;
  height: 14px;
}

body[data-route="signup"] .create-account-button {
  min-height: 34px;
  font-size: 11px;
}

body[data-route="signup"] .signin-row,
body[data-route="signup"] .benefits-card,
body[data-route="signup"] .security-note {
  display: none;
}

body[data-route="signup"] .signup-bottom-wave {
  height: 42px;
  margin-top: -4px;
}

.notifications-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: calc(22px + env(safe-area-inset-top)) 20px 24px;
  color: #121722;
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 0, 22, 0.055), transparent 12rem),
    #f7f8fb;
}

.notifications-content svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notifications-header {
  min-height: 58px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 12px;
}

.notifications-header h1 {
  margin: 0;
  color: #111722;
  font-size: 23px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}

.notifications-back-button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #111722;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(26, 32, 44, 0.07);
}

.notifications-back-button svg {
  width: 29px;
  height: 29px;
  stroke-width: 2.5;
}

.notifications-read-all {
  min-height: 42px;
  border: 0;
  padding: 0;
  color: var(--red);
  background: transparent;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 850;
  text-align: right;
}

.notifications-tabs {
  min-height: 70px;
  border-radius: 19px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 26px;
  padding: 7px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(26, 32, 44, 0.07);
}

.notifications-tabs button {
  min-width: 0;
  border: 0;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #9096a3;
  background: transparent;
  font-size: 15px;
  font-weight: 800;
}

.notifications-tabs button.active {
  color: var(--red);
  background: #fff0f2;
}

.notifications-tabs svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.notifications-tabs span {
  min-width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.notifications-list {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 24px;
  overflow-y: auto;
  scrollbar-width: none;
}

.notifications-list::-webkit-scrollbar {
  display: none;
}

.notifications-state {
  min-height: 180px;
  border: 1px dashed #dce1ea;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #747d8c;
  background: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.notifications-state[hidden] {
  display: none;
}

.notifications-items {
  display: grid;
  gap: 12px;
}

.notification-card {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 8px;
  align-items: start;
  gap: 13px;
  padding: 16px;
  color: #151a25;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(27, 33, 45, 0.065);
  text-align: left;
}

.notification-card.unread {
  border-color: rgba(240, 0, 22, 0.14);
  background: #fff7f8;
}

.notification-category-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.notification-category-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.2;
}

.notification-card[data-category="info"] .notification-category-icon {
  color: #1976d2;
  background: #e8f3ff;
}

.notification-card[data-category="update"] .notification-category-icon {
  color: #6f42c1;
  background: #f1eaff;
}

.notification-card[data-category="promotion"] .notification-category-icon {
  color: #b56a00;
  background: #fff4d9;
}

.notification-card[data-category="warning"] .notification-category-icon {
  color: #d84b00;
  background: #fff0e8;
}

.notification-card[data-category="success"] .notification-category-icon {
  color: #009d61;
  background: #e4f8ef;
}

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

.notification-copy strong,
.notification-copy p {
  margin: 0;
}

.notification-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.notification-copy p {
  margin-top: 5px;
  color: #626b79;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.notification-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 9px;
  color: #89909d;
  font-size: 10.5px;
  line-height: 1.2;
  font-weight: 800;
}

.notification-meta span:first-child {
  color: var(--red);
  text-transform: uppercase;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 8px;
  background: transparent;
}

.notification-card.unread .notification-unread-dot {
  background: var(--red);
}

.notifications-load-more {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(240, 0, 22, 0.2);
  border-radius: 14px;
  margin-top: 14px;
  color: var(--red);
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.notifications-load-more[hidden] {
  display: none;
}

.notifications-read-all:disabled,
.notifications-load-more:disabled {
  opacity: 0.5;
}

.free-trial-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  color: #141923;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 0, 22, 0.07), transparent 14rem),
    #f7f8fb;
}

.free-trial-content svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.free-trial-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  padding: calc(16px + env(safe-area-inset-top)) 20px 10px;
}

.free-trial-back-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #161b25;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(26, 32, 44, 0.08);
}

.free-trial-back-button svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.5;
}

.free-trial-logo {
  width: 66px;
  height: 54px;
  justify-self: center;
  object-fit: contain;
}

.free-trial-main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 34px 22px calc(26px + env(safe-area-inset-bottom));
  overflow-y: auto;
  scrollbar-width: none;
}

.free-trial-main::-webkit-scrollbar {
  display: none;
}

.free-trial-selection-step,
.free-trial-app-step {
  width: 100%;
}

.free-trial-selection-step[hidden],
.free-trial-app-step[hidden] {
  display: none;
}

.free-trial-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff0f2;
}

.free-trial-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.free-trial-copy {
  margin-top: 24px;
}

.free-trial-copy span {
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.free-trial-copy h1 {
  margin: 9px 0 0;
  color: #111722;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 900;
}

.free-trial-copy p {
  max-width: 340px;
  margin: 11px 0 0;
  color: #727a88;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.free-trial-form {
  margin-top: 34px;
}

.free-trial-brand-field {
  margin-top: 18px;
}

.free-trial-brand-field[hidden] {
  display: none;
}

.free-trial-form label {
  display: block;
  margin: 0 0 9px;
  color: #252b35;
  font-size: 13px;
  font-weight: 850;
}

.free-trial-select {
  min-height: 58px;
  border: 1px solid #dfe2e8;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  color: var(--red);
  background: #ffffff;
  box-shadow: 0 9px 25px rgba(26, 32, 44, 0.055);
}

.free-trial-select:focus-within {
  border-color: rgba(240, 0, 22, 0.65);
  box-shadow: 0 0 0 3px rgba(240, 0, 22, 0.08);
}

.free-trial-select svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  pointer-events: none;
}

.free-trial-select select {
  min-width: 0;
  width: 100%;
  height: 56px;
  border: 0;
  outline: 0;
  appearance: none;
  color: #1c212b;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.free-trial-input-field {
  margin-bottom: 18px;
}

.free-trial-select input {
  min-width: 0;
  width: 100%;
  height: 56px;
  border: 0;
  outline: 0;
  color: #1c212b;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.free-trial-select input::placeholder {
  color: #b6bbc5;
}

.free-trial-helper {
  margin: 10px 3px 0;
  color: #838a96;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 650;
}

.free-trial-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 12px 25px rgba(240, 0, 22, 0.2);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.free-trial-submit svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.free-trial-submit:disabled {
  color: #a3a8b1;
  background: #e5e7eb;
  box-shadow: none;
  cursor: default;
}

.free-trial-app-step {
  text-align: center;
}

.free-trial-app-eyebrow {
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.free-trial-app-step h1 {
  margin: 10px 0 20px;
  color: #111722;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 900;
}

.free-trial-app-image {
  width: min(58vw, 220px);
  aspect-ratio: 1;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(15, 18, 25, 0.2);
}

.free-trial-app-step p {
  max-width: 330px;
  margin: 22px auto 0;
  color: #596271;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.free-trial-app-step .free-trial-submit {
  margin-top: 28px;
}

.free-trial-credentials {
  margin-top: 18px;
  border: 1px solid rgba(240, 0, 22, 0.14);
  border-radius: 16px;
  padding: 17px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(26, 32, 44, 0.07);
  text-align: left;
}

.free-trial-credentials[hidden] {
  display: none;
}

.free-trial-credentials-title {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.free-trial-credentials dl {
  margin: 0;
}

.free-trial-credentials dl div {
  min-height: 43px;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eceef2;
}

.free-trial-credentials dl div:first-child {
  border-top: 0;
}

.free-trial-credentials dt,
.free-trial-credentials dd {
  margin: 0;
}

.free-trial-credentials dt {
  color: #7a8290;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.free-trial-credentials dd {
  min-width: 0;
  color: #171c26;
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.free-trial-credentials dd.pending {
  color: #969ca7;
  font-size: 12px;
  font-weight: 700;
}

.free-trial-change-selection {
  min-height: 40px;
  border: 0;
  margin-top: 10px;
  padding: 0 14px;
  color: #747c89;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

/* Extrato: composição limpa e proporcional para telas móveis. */
.boali-go-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  padding: calc(16px + env(safe-area-inset-top)) 18px 20px;
  color: #141923;
  background:
    radial-gradient(circle at 100% 0%, rgba(240, 0, 22, 0.08), transparent 13rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.boali-go-content svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boali-go-header {
  position: relative;
  min-height: 92px;
  display: grid;
  place-items: center;
}

.boali-go-back {
  top: 4px;
  left: 0;
  color: #151923;
  background: #ffffff;
}

.boali-go-page-logo {
  width: min(178px, 46vw);
  height: auto;
  display: block;
  object-fit: contain;
}

.boali-go-main {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  align-content: start;
  padding-top: 14px;
}

.boali-go-card {
  display: grid;
  gap: 14px;
  border: 1px solid #eceef2;
  border-radius: 20px;
  padding: 22px 18px 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(26, 32, 44, 0.08);
}

.boali-go-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: #ef0017;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.boali-go-card h1 {
  margin: 0;
  color: #121722;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.boali-go-card h1 strong {
  color: #ef0017;
}

.boali-go-card p {
  margin: -5px 0 0;
  color: #6f7684;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.boali-go-form {
  display: grid;
  gap: 10px;
}

.boali-go-form label {
  color: #151923;
  font-size: 11px;
  font-weight: 850;
}

.boali-go-phone-field {
  min-height: 48px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  background: #ffffff;
}

.boali-go-phone-field:focus-within {
  border-color: #ef0017;
  box-shadow: 0 0 0 3px rgba(239, 0, 23, 0.1);
}

.boali-go-phone-field svg {
  width: 19px;
  height: 19px;
  justify-self: center;
  color: #ef0017;
  stroke-width: 2.1;
}

.boali-go-phone-field input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: #141923;
  background: transparent;
  font-size: 13px;
  font-weight: 750;
}

.boali-go-phone-field input::placeholder {
  color: #b3b8c2;
}

.boali-go-submit {
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  background: #ef0017;
  box-shadow: 0 12px 24px rgba(239, 0, 23, 0.2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.3px;
}

.boali-go-submit svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.boali-go-result {
  border: 1px solid rgba(0, 151, 93, 0.2);
  border-radius: 14px;
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #e9fbf2;
}

.boali-go-result[hidden] {
  display: none;
}

.boali-go-result span {
  color: #08743f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.boali-go-result strong {
  color: #111722;
  font-size: 20px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

@media (max-height: 720px) {
  .boali-go-content {
    padding-top: calc(10px + env(safe-area-inset-top));
  }

  .boali-go-header {
    min-height: 78px;
  }

  .boali-go-page-logo {
    width: min(154px, 42vw);
  }

  .boali-go-main {
    padding-top: 8px;
  }
}

body[data-route="extract"] .extract-content {
  padding: 14px 18px 0;
  background: #f7f8fb;
}

body[data-route="extract"] .extract-topbar {
  grid-template-columns: 42px 1fr 42px;
  min-height: 54px;
}

body[data-route="extract"] .extract-back-button,
body[data-route="extract"] .extract-refresh-button {
  width: 40px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-route="extract"] .extract-back-button svg,
body[data-route="extract"] .extract-refresh-button svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.2;
}

body[data-route="extract"] .extract-refresh-button {
  position: relative;
  color: #151923;
}

body[data-route="extract"] .extract-refresh-button::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  width: 8px;
  height: 8px;
  border: 2px solid #f7f8fb;
  border-radius: 50%;
  background: var(--red);
}

body[data-route="extract"] .extract-logo {
  width: 66px;
  height: 54px;
}

body[data-route="extract"] .extract-heading {
  margin-top: 14px;
}

body[data-route="extract"] .extract-heading span {
  color: #747b89;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

body[data-route="extract"] .extract-heading span strong {
  font-weight: 800;
}

body[data-route="extract"] .extract-heading h1 {
  margin-top: 7px;
  font-size: 30px;
  font-weight: 900;
}

body[data-route="extract"] .extract-heading p {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 650;
}

body[data-route="extract"] .extract-main {
  padding-top: 16px;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}

body[data-route="extract"] .extract-balance-card {
  min-height: 164px;
  border-radius: 18px;
  padding: 20px;
  background: #c90017;
  box-shadow: 0 16px 32px rgba(126, 0, 15, 0.18);
}

body[data-route="extract"] .extract-balance-card::after {
  right: 20px;
  bottom: -22px;
  font-size: 122px;
  color: rgba(255, 255, 255, 0.06);
}

body[data-route="extract"] .extract-balance-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body[data-route="extract"] .extract-balance-heading > span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

body[data-route="extract"] .extract-balance-heading button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

body[data-route="extract"] .extract-balance-heading svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

body[data-route="extract"] .extract-balance-card > strong {
  margin-top: 13px;
  font-size: 29px;
  line-height: 1;
  font-weight: 600;
}

body[data-route="extract"] .extract-balance-caption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 650;
}

body[data-route="extract"] .extract-balance-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 12px;
}

body[data-route="extract"] .extract-balance-footer small {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 10.5px;
  font-weight: 600;
}

body[data-route="extract"] .extract-balance-footer button {
  min-height: 28px;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: #ffffff;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

body[data-route="extract"] .extract-balance-footer svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

body[data-route="extract"] .extract-summary-cards {
  gap: 10px;
  margin-top: 12px;
}

body[data-route="extract"] .extract-summary-cards article {
  min-height: 82px;
  border-radius: 14px;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 13px;
  box-shadow: 0 10px 25px rgba(26, 32, 44, 0.07);
}

body[data-route="extract"] .extract-summary-icon {
  width: 36px;
  height: 36px;
}

body[data-route="extract"] .extract-summary-icon svg {
  width: 21px;
  height: 21px;
}

body[data-route="extract"] .extract-summary-cards small {
  font-size: 10.5px;
  font-weight: 700;
}

body[data-route="extract"] .extract-summary-cards strong {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 750;
}

body[data-route="extract"] .extract-ledger {
  overflow: hidden;
  gap: 0;
  margin-top: 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(26, 32, 44, 0.07);
}

body[data-route="extract"] .extract-ledger-section {
  border-radius: 0;
  padding: 15px;
  box-shadow: none;
}

body[data-route="extract"] .extract-ledger-section + .extract-ledger-section {
  border-top: 1px solid #eceef3;
}

body[data-route="extract"] .extract-ledger-section > header {
  margin-bottom: 11px;
}

body[data-route="extract"] .extract-ledger-section header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 850;
}

body[data-route="extract"] .extract-ledger-section header > strong {
  min-width: 28px;
  height: 28px;
  font-size: 12px;
}

body[data-route="extract"] .extract-empty-state {
  min-height: 86px;
  border-radius: 12px;
  padding: 16px;
  font-size: 12px;
  background: #fcfcfd;
}

body[data-route="extract"] .extract-movement-item {
  border-radius: 12px;
  padding: 11px;
}

body[data-route="extract"] .extract-bottom-nav {
  border-radius: 20px 20px 0 0;
}

@media (max-width: 380px) {
  body[data-route="extract"] .extract-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  body[data-route="extract"] .extract-balance-card > strong {
    font-size: 26px;
  }

  body[data-route="extract"] .extract-summary-cards article {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 11px;
  }

  body[data-route="extract"] .extract-summary-icon {
    width: 32px;
    height: 32px;
  }
}
