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

.ap {
  background: #f6f7f9;
  color: #142b49;
  font: 14px/1.5 "Inter", "Segoe UI", sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
.ap h1,
.ap h2,
.ap h3,
.ap p {
  font-family: "Inter", "Segoe UI", sans-serif;
}
.ap p {
  line-height: 1.7;
}
.ap :where(a) {
  color: inherit;
}
.ap :where(button) {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.ap a:focus-visible,
.ap button:focus-visible,
.ap input:focus-visible {
  outline: 3px solid #668cff;
  outline-offset: 2px;
}

.ap-shell {
  display: grid;
  grid-template-columns: 228px 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}
@media (max-width: 800px) {
  .ap-shell {
    grid-template-columns: 1fr;
  }
}

.ap-side {
  align-self: start;
  background: #fff;
  border-right: 1px solid #e7ebf0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  padding: 34px 16px 24px;
  position: sticky;
  top: 0;
}
@media (max-width: 800px) {
  .ap-side {
    height: auto;
    padding: 15px;
    position: static;
  }
}

.ap-brand {
  align-items: center;
  color: #142b49;
  display: flex;
  font-size: 24px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 1.3px;
  padding-left: 10px;
  text-decoration: none;
}
.ap-brand__logo {
  display: block;
  height: auto;
  width: 44px;
}
.ap-brand__tag {
  color: #8190a6;
  font-size: 9px;
  letter-spacing: 2.1px;
  margin: 8px 0 43px 10px;
}
@media (max-width: 800px) {
  .ap-brand__tag {
    display: none;
  }
}

.ap-nav {
  display: flex;
  flex-direction: column;
}
@media (max-width: 800px) {
  .ap-nav {
    flex-direction: row;
    margin-top: 14px;
    overflow-x: auto;
  }
}
.ap-nav__link {
  align-items: center;
  border-radius: 9px;
  color: #64758b;
  display: flex;
  font-size: 13px;
  font-weight: 500;
  gap: 13px;
  margin: 7px 0;
  min-height: 49px;
  padding: 12px 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
@media (max-width: 800px) {
  .ap-nav__link {
    flex: none;
    margin: 0 4px 0 0;
    min-height: 44px;
    white-space: nowrap;
  }
}
.ap-nav__link:hover {
  background: #f4f6fa;
  color: #183859;
}
.ap-nav__link.is-active {
  background: #fff1bb;
  box-shadow: inset 3px 0 #e4b62a;
  color: #5e4c16;
  font-weight: 650;
}
.ap-nav__link.is-active .ap-nav__icon {
  color: #977316;
}
.ap-nav__icon {
  color: #8292a7;
  display: inline-flex;
  height: 20px;
  width: 20px;
}
.ap-nav__icon svg {
  height: 100%;
  width: 100%;
}
@media (max-width: 800px) {
  .ap-nav__icon {
    display: none;
  }
}

.ap-side__foot {
  margin-top: auto;
  padding-top: 60px;
}
@media (max-width: 800px) {
  .ap-side__foot {
    display: none;
  }
}

.ap-help {
  background: #f7f8fa;
  border-radius: 12px;
  color: #71839b;
  font-size: 11px;
  padding: 18px;
}
.ap-help b {
  color: #36516f;
}
.ap-help p {
  font-size: 11px;
  margin: 10px 0 0;
}
.ap-help__wa {
  align-items: center;
  background: #1f7a52;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 7px;
  justify-content: center;
  margin-top: 12px;
  padding: 9px 12px;
  text-decoration: none;
  transition: background 0.15s;
  width: 100%;
}
.ap-help__wa:hover {
  background: #186342;
}
.ap-help__wa svg {
  flex: none;
  height: 15px;
  width: 15px;
}

.ap-person {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding: 0 5px;
}
.ap-person b {
  font-size: 11px;
  font-weight: 650;
}
.ap-person small {
  color: #68788e;
  display: block;
  font-size: 10px;
  margin-top: 2px;
}

.ap-logout {
  background: transparent;
  border: 1px solid #dde5ef;
  border-radius: 9px;
  color: #4a5a72;
  font-size: 12px;
  font-weight: 600;
  margin-top: 16px;
  min-height: 40px;
  width: 100%;
}
.ap-logout:hover {
  background: #f4f7fb;
}

.ap-avatar {
  background: #eef2f8;
  border-radius: 50%;
  color: #213e60;
  flex: none;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 11px 9px;
  text-align: center;
  min-width: 38px;
}

.ap-main {
  min-width: 0;
}

.ap-top {
  align-items: center;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.7215686275);
  border-bottom: 1px solid #e6eaf0;
  color: #617187;
  display: flex;
  font-size: 12px;
  height: 68px;
  justify-content: space-between;
  padding: 0 36px;
  position: sticky;
  top: 0;
  z-index: 5;
}
@media (max-width: 800px) {
  .ap-top {
    height: 60px;
    padding: 0 16px;
  }
}
.ap-top__right {
  align-items: center;
  display: flex;
  gap: 20px;
}
.ap-top__right a {
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
}
@media (max-width: 800px) {
  .ap-top__right a {
    display: none;
  }
}

.ap-content {
  margin: 0 auto;
  max-width: 1370px;
  padding: 39px 40px 50px;
}
@media (max-width: 1100px) {
  .ap-content {
    padding: 30px 25px;
  }
}
@media (max-width: 800px) {
  .ap-content {
    padding: 26px 17px 40px;
  }
}

.ap-guest-page {
  min-height: 100vh;
  min-height: 100dvh;
}

.ap-submit-loading {
  cursor: wait !important;
  opacity: 0.72;
  pointer-events: none;
}
.ap-submit-loading::before {
  animation: ap-submit-spin 0.75s linear infinite;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  display: inline-block;
  flex: none;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  width: 15px;
}

.ap-submit-error {
  color: #bc3029;
  font-size: 12px;
  margin: 8px 0 0;
}

@keyframes ap-submit-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ap-submit-loading::before {
    animation: none;
  }
}
.ap-guest-header {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e6eaf0;
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
}
.ap-guest-header__tag {
  color: #8190a6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-left: 2px;
}
.ap-guest-header__catalog {
  color: #51647c;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.ap-guest-header__catalog:hover {
  color: #142b49;
}

.ap-guest-main {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  padding: 48px 20px;
}

.ap-auth {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(22, 49, 78, 0.08);
  max-width: 540px;
  padding: 38px;
  width: 100%;
}
@media (max-width: 560px) {
  .ap-auth {
    border-radius: 14px;
    padding: 27px 20px;
  }
}
.ap-auth__header {
  text-align: center;
}
.ap-auth__header h1 {
  color: #142b49;
  font-size: 26px;
  line-height: 1.25;
  margin: 9px 0 10px;
}
.ap-auth__header p {
  color: #68788e;
  font-size: 13px;
  margin: 0;
}
.ap-auth__steps {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.ap-auth__steps li {
  align-items: center;
  color: #8996a8;
  display: flex;
  flex: 1;
  font-size: 10px;
  font-weight: 600;
  gap: 6px;
  line-height: 1.25;
}
.ap-auth__steps span {
  align-items: center;
  background: #edf1f6;
  border-radius: 50%;
  color: #718196;
  display: inline-flex;
  flex: none;
  font-size: 10px;
  font-weight: 800;
  height: 22px;
  justify-content: center;
  width: 22px;
}
.ap-auth__steps .is-current {
  color: #314f70;
}
.ap-auth__steps .is-current span {
  background: #ffce32;
  color: #142b49;
}
.ap-auth__fields {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.ap-auth__name-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 480px) {
  .ap-auth__name-fields {
    grid-template-columns: 1fr;
  }
}
.ap-auth__submit, .ap-auth__secondary {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  justify-content: center;
  min-height: 50px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  width: 100%;
}
.ap-auth__submit:hover, .ap-auth__secondary:hover {
  transform: translateY(-1px);
}
.ap-auth__submit {
  background: #142b49;
  color: #fff;
  margin-top: 3px;
}
.ap-auth__submit:hover {
  background: #0f233c;
}
.ap-auth__secondary {
  background: #fff;
  border: 1px solid #d8e1ec;
  color: #51647c;
}
.ap-auth__secondary:hover {
  background: #f7f9fc;
  border-color: #becbdb;
}
.ap-auth__remember {
  align-items: center;
  color: #52647b;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  gap: 8px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ap-auth__remember input {
  accent-color: #142b49;
  height: 16px;
  margin: 0;
  width: 16px;
}
.ap-auth__security {
  align-items: center;
  border-top: 1px solid #edf1f5;
  color: #8391a3;
  display: flex;
  font-size: 11px;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 17px;
}
.ap-auth__security i {
  color: #12785b;
}
.ap-auth__switch {
  color: #65768b;
  font-size: 12px;
  margin: 18px 0 0;
  text-align: center;
}
.ap-auth__switch a {
  color: #1e5e9d;
  font-weight: 700;
  text-decoration: none;
}
.ap-auth__switch a:hover {
  text-decoration: underline;
}
.ap-auth__notice {
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 22px;
  padding: 12px 14px;
}
.ap-auth__notice--success {
  background: #e9f7f0;
  color: #0d6a4a;
}
.ap-auth__actions {
  margin-top: 24px;
}
.ap-auth__actions + .ap-auth__actions {
  margin-top: 11px;
}

.ap-onboarding {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(22, 49, 78, 0.08);
  max-width: 760px;
  padding: 40px;
  width: 100%;
}
@media (max-width: 560px) {
  .ap-onboarding {
    padding: 28px 20px;
  }
}
.ap-onboarding h1 {
  color: #142b49;
  font-size: 27px;
  line-height: 1.3;
  margin: 10px 0 0;
}
.ap-onboarding h2 {
  color: #142b49;
  font-size: 19px;
  line-height: 1.35;
  margin: 0;
}
.ap-onboarding--status {
  max-width: 560px;
}
.ap-onboarding__intro {
  color: #68788e;
  margin: 8px 0 0;
}
.ap-onboarding__action {
  margin-top: 22px;
}
.ap-onboarding__logout {
  margin-top: 12px;
}
.ap-onboarding__alert {
  border-radius: 10px;
  margin-top: 18px;
  padding: 12px 14px;
}
.ap-onboarding__alert--error {
  background: #fdecea;
  color: #a92822;
}

.ap-profile-status {
  align-items: flex-start;
  background: #fef3c7;
  border-radius: 12px;
  color: #9a4d07;
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 16px;
}
.ap-profile-status > i {
  flex: none;
  font-size: 18px;
  margin-top: 2px;
}
.ap-profile-status p {
  font-size: 13px;
  line-height: 1.5;
  margin: 4px 0 0;
}
.ap-profile-status__title {
  font-size: 14px !important;
  font-weight: 700;
  margin-top: 0 !important;
}
.ap-profile-status--en_revision {
  background: #e8f0ff;
  color: #204f9b;
}
.ap-profile-status--aprobado {
  background: #e8f6ee;
  color: #0b6b3a;
}
.ap-profile-status--rechazado {
  background: #fdecea;
  color: #a92822;
}
.ap-profile-status--deshabilitado {
  background: #edf0f4;
  color: #4a5a72;
}

.ap-field__label {
  color: #445b76;
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 7px;
}
.ap-field__control {
  display: flex;
}
.ap-field__input {
  background: #fff;
  border: 1px solid #b9c7d8;
  border-radius: 10px;
  color: #152b46;
  flex: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  height: 47px;
  min-width: 0;
  outline: 0;
  padding: 0 13px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ap-field__input::-moz-placeholder {
  color: #9aa6b5;
  font-weight: 400;
}
.ap-field__input::placeholder {
  color: #9aa6b5;
  font-weight: 400;
}
.ap-field__input:focus {
  border-color: #4c80c4;
  box-shadow: 0 0 0 3px rgba(76, 128, 196, 0.13);
}
.ap-field__toggle {
  align-items: center;
  background: #f4f7fa;
  border: 1px solid #b9c7d8;
  border-left: 0;
  border-radius: 0 10px 10px 0;
  color: #53677f;
  display: flex;
  justify-content: center;
  width: 48px;
}
.ap-field__toggle:hover {
  background: #eaf0f6;
}
.ap-field__control.has-toggle .ap-field__input {
  border-radius: 10px 0 0 10px;
}
.ap-field__message {
  color: #8190a3;
  font-size: 11px;
  margin: 6px 0 0;
}
.ap-field__message--error {
  color: #bc3029;
  font-weight: 600;
}
.ap-field.has-error .ap-field__input,
.ap-field.has-error .ap-field__toggle {
  border-color: #d24942;
}

.ap-eyebrow {
  color: #8190a6;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.ap-mini {
  color: #8a96a5;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
}

.ap-label {
  color: #465d77;
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 8px;
}

.ap-hint {
  color: #68788e;
  font-size: 12px;
  margin: 4px 0;
}

.ap-big {
  font-size: 43px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -1.8px;
  line-height: 1.2;
  margin: 8px 0 6px;
}

.ap-empty {
  color: #68788e;
  padding: 32px 0;
  text-align: center;
}

.ap-error {
  color: #b3261e;
  font-size: 12px;
  margin-top: 8px;
}

.ap-welcome {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  margin-bottom: 30px;
}
@media (max-width: 800px) {
  .ap-welcome {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 23px;
  }
}
.ap-welcome h1 {
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1.3;
  margin: 10px 0;
}
@media (max-width: 800px) {
  .ap-welcome h1 {
    font-size: 27px;
    letter-spacing: -0.9px;
    line-height: 1.2;
  }
}
.ap-welcome p {
  color: #7c8999;
  font-size: 12px;
  margin: 7px 0;
}

.ap-chip {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 30px;
  color: #6b7a8c;
  font-size: 10px;
  padding: 9px 14px;
  white-space: nowrap;
}
.ap-chip i {
  background: #53a07c;
  border-radius: 50%;
  display: inline-block;
  height: 6px;
  margin-left: 8px;
  width: 6px;
}
@media (max-width: 800px) {
  .ap-chip {
    display: none;
  }
}

.ap-btn {
  align-items: center;
  border-radius: 9px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  gap: 8px;
  justify-content: center;
  line-height: 1.4;
  min-height: 43px;
  padding: 12px 17px;
  text-decoration: none;
  transition: background 0.15s, filter 0.15s;
}
.ap-btn:hover {
  filter: brightness(0.97);
}
.ap-btn--yellow {
  background: #ffd448;
  color: #273143;
}
.ap-btn--navy {
  background: #142b49;
  color: #fff;
}
.ap-btn--ghost {
  background: transparent;
  border: 1px solid #dde5ef;
  color: #26415f;
  font-size: 10px;
  min-height: 36px;
}

.ap-launch {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.65fr 1fr;
}
@media (max-width: 800px) {
  .ap-launch {
    gap: 14px;
    grid-template-columns: 1fr;
  }
}
.ap-launch__card {
  background: #173453;
  border-radius: 18px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding: 29px 31px;
  position: relative;
}
@media (max-width: 800px) {
  .ap-launch__card {
    border-radius: 15px;
    padding: 25px 22px;
  }
}
.ap-launch__card .ap-mini {
  color: #afc2d5;
}
.ap-launch__card h2 {
  color: #fff;
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 22px 0 14px;
  position: relative;
  z-index: 1;
}
@media (max-width: 800px) {
  .ap-launch__card h2 {
    font-size: 26px;
    letter-spacing: -0.8px;
  }
}
.ap-launch__card p {
  color: #b9c9d9;
  font-size: 12px;
  margin: 0 0 26px;
}
.ap-launch__bottom {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 17px;
  position: relative;
  z-index: 1;
}
.ap-launch__bottom a {
  color: #d2deeb;
  font-size: 10px;
  padding: 3px 0;
  text-decoration: none;
}
.ap-launch__bottom a:hover {
  text-decoration: underline;
}
.ap-launch__bottom span {
  color: #96adc5;
  font-size: 9px;
}

.ap-share {
  background: rgba(255, 255, 255, 0.0392156863);
  border: 1px solid rgba(255, 255, 255, 0.1333333333);
  border-radius: 11px;
  padding: 12px 13px;
  position: relative;
  z-index: 1;
}
.ap-share > span {
  color: #9fb4cb;
  display: block;
  font-size: 9px;
  margin-bottom: 6px;
}
.ap-share > div {
  align-items: center;
  display: flex;
  gap: 12px;
}
@media (max-width: 800px) {
  .ap-share > div {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }
}
.ap-share input {
  background: none;
  border: 0;
  color: #edf3fa;
  font: 12px "Inter", "Segoe UI", sans-serif;
  min-height: 30px;
  min-width: 0;
  padding: 0;
  width: 100%;
}
.ap-share button {
  align-items: center;
  background: #fff;
  border-radius: 7px;
  color: #1c3653;
  display: flex;
  font-size: 11px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
  padding: 10px 13px;
  white-space: nowrap;
}
.ap-share button svg {
  height: 13px;
  width: 13px;
}

.ap-orb {
  border: 1px solid rgba(255, 255, 255, 0.0352941176);
  border-radius: 50%;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.ap-orb--one {
  border-width: 45px;
  height: 350px;
  right: -190px;
  top: -125px;
  width: 350px;
}
.ap-orb--two {
  border-width: 30px;
  bottom: -150px;
  height: 250px;
  right: -150px;
  width: 250px;
}

.ap-balance {
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  padding: 29px 28px;
}
@media (max-width: 800px) {
  .ap-balance {
    border-radius: 15px;
    padding: 23px;
  }
}
.ap-balance__label {
  color: #778698;
  font-size: 12px;
  margin-top: 27px;
}
.ap-balance__amount {
  font-size: 43px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -1.8px;
  line-height: 1.2;
  margin: 8px 0 12px;
}
.ap-balance__pending {
  align-items: center;
  color: #8190a2;
  display: flex;
  font-size: 11px;
  gap: 7px;
}
.ap-balance__bottom {
  margin-top: auto;
  padding-top: 23px;
}
.ap-balance__bottom p {
  color: #8290a1;
  font-size: 10px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.ap-balance__bottom .ap-btn {
  width: 100%;
}

.ap-dot {
  background: #e5b95a;
  border-radius: 50%;
  height: 5px;
  width: 5px;
}

.ap-strip {
  align-items: center;
  border-bottom: 1px solid #e2e7ee;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 33px;
  padding: 25px 6px 27px;
}
@media (max-width: 800px) {
  .ap-strip {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 26px;
    padding: 23px 2px;
  }
}
.ap-strip > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ap-strip span {
  color: #8190a3;
  font-size: 10px;
}
.ap-strip b {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.7px;
}
.ap-strip b small {
  color: inherit;
  font-size: 15px;
  margin-left: 2px;
}
.ap-strip__link {
  align-items: center;
  color: #456383;
  display: flex;
  font-size: 11px;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.ap-strip__link svg {
  height: 15px;
  width: 15px;
}
@media (max-width: 800px) {
  .ap-strip__link {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    grid-column: 1/-1;
    justify-content: center;
  }
}

.ap-section-heading {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ap-section-heading--spaced {
  margin-top: 32px;
}
@media (max-width: 800px) {
  .ap-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
.ap-section-heading h2 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 7px 0;
}

.ap-discovery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .ap-discovery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .ap-discovery {
    gap: 13px;
    grid-template-columns: 1fr;
  }
}

.ap-card {
  background: #fff;
  border: 1px solid #e4e9ef;
  border-radius: 13px;
  color: #1f3651;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ap-card:hover {
  box-shadow: 0 8px 22px rgba(21, 57, 88, 0.0431372549);
  transform: translateY(-3px);
}
.ap-card__art {
  background: linear-gradient(120deg, var(--accent, #7a5320), #152d43);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 128px;
  overflow: hidden;
  padding: 18px 20px;
  position: relative;
}
.ap-card__art > span {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.0862745098);
  border-radius: 4px;
  font-size: 8px;
  letter-spacing: 1px;
  padding: 4px 7px;
  text-transform: uppercase;
}
.ap-card__art > svg {
  bottom: -13px;
  height: 110px;
  opacity: 0.1;
  position: absolute;
  right: -12px;
  stroke-width: 1;
  transform: rotate(-15deg);
  width: 110px;
}
.ap-card__art strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.35;
  margin-top: 15px;
  z-index: 1;
}
.ap-card__copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
}
.ap-card__copy h3 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  min-height: 39px;
}
.ap-card__share {
  align-items: center;
  background: transparent;
  border-top: 1px solid #eef1f5;
  color: #7e8f9c;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  margin-top: auto;
  padding: 12px 0 0;
  text-align: left;
}
.ap-card__share span {
  color: #218363;
  font-size: 12px;
  font-weight: 600;
}
.ap-card__share i {
  color: #56738e;
  font-style: normal;
}
.ap-card__share:hover i {
  text-decoration: underline;
}

.ap-panel {
  background: #fff;
  border: 1px solid #e5e9ee;
  border-radius: 15px;
  padding: 25px;
}
@media (max-width: 800px) {
  .ap-panel {
    border-radius: 13px;
    padding: 21px 17px;
  }
}
.ap-panel--spaced {
  margin-top: 24px;
}
.ap-panel__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 18px;
}

.ap-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1100px) {
  .ap-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .ap-stats {
    gap: 10px;
  }
}

.ap-stat {
  --tone: #142b49;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 15px;
  padding: 21px;
}
.ap-stat.is-available {
  --tone: #12785b;
}
.ap-stat.is-pending {
  --tone: #d99a1f;
}
.ap-stat.is-reserved {
  --tone: #3b6fb6;
}
.ap-stat.is-reversed {
  --tone: #bb5d6a;
}
.ap-stat__label {
  align-items: center;
  color: #6b7c92;
  display: flex;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}
.ap-stat__label::before {
  background: var(--tone);
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}
.ap-stat__value {
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 12px 0 6px;
}
@media (max-width: 800px) {
  .ap-stat__value {
    font-size: 22px;
  }
}
.ap-stat__note {
  color: #8190a3;
  font-size: 11px;
  line-height: 1.6;
  margin: 0;
}

.ap-inline {
  display: flex;
  gap: 10px;
}
@media (max-width: 800px) {
  .ap-inline {
    flex-direction: column;
  }
}

.ap-input {
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 9px;
  color: #29415d;
  flex: 1;
  font: 13px "Inter", "Segoe UI", sans-serif;
  min-height: 44px;
  min-width: 0;
  padding: 11px 13px;
  transition: border 0.15s, box-shadow 0.15s;
  width: 100%;
}
.ap-input[readonly] {
  background: #f6f8fb;
  color: #5c708a;
}
.ap-input:focus {
  border-color: #6b90ba;
  box-shadow: 0 0 0 3px rgba(67, 123, 179, 0.0705882353);
  outline: none;
}
.ap-input--sm {
  font-size: 11px;
  min-height: 36px;
}
@media (max-width: 800px) {
  .ap-input {
    font-size: 16px;
    min-height: 47px;
  }
}

.ap-form {
  margin-top: 20px;
  max-width: 520px;
}

.ap-alert {
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 22px;
  padding: 14px 18px;
}
.ap-alert a {
  font-weight: 650;
  margin-left: 6px;
}
.ap-alert--ok {
  background: #eaf6f0;
  border: 1px solid #c3e4d4;
  color: #1d6b50;
}
.ap-alert--warn {
  background: #fff9e7;
  border: 1px solid #f0e4bc;
  color: #8a7236;
  margin: 16px 0 0;
}

.ap-table-wrap {
  overflow-x: auto;
}

.ap-table {
  border-collapse: collapse;
  font-size: 12px;
  min-width: 560px;
  width: 100%;
}
.ap-table th {
  background: #f7f9fc;
  border-bottom: 1px solid #edf1f6;
  color: #7e8da2;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.65px;
  padding: 15px 12px;
  text-align: left;
  text-transform: uppercase;
}
.ap-table td {
  border-bottom: 1px solid #edf1f6;
  color: #36516f;
  font-variant-numeric: tabular-nums;
  line-height: 1.65;
  padding: 17px 12px;
}
.ap-table .is-num {
  text-align: right;
}

.ap-badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 11px;
  font-weight: 550;
  padding: 5px 9px;
}
.ap-badge--ok {
  background: #eaf6f0;
  color: #248264;
}
.ap-badge--pending {
  background: #fff5db;
  color: #a17613;
}
.ap-badge--info {
  background: #e8f0fb;
  color: #2f5d9e;
}
.ap-badge--cancel {
  background: #fceef0;
  color: #bb5d6a;
}

.ap-pager {
  margin-top: 20px;
}
.ap-pager nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
.ap-pager svg {
  height: 18px;
  width: 18px;
}
.ap-pager a,
.ap-pager span[aria-current] > span {
  font-size: 12px;
}
.ap-pager p {
  color: #68788e;
  font-size: 12px;
  margin: 0;
}
.ap-pager .hidden {
  display: none;
}

.ap-toast {
  background: #142b49;
  border-radius: 11px;
  bottom: 25px;
  box-shadow: 0 8px 32px rgba(18, 43, 73, 0.1882352941);
  color: #fff;
  font-size: 12px;
  left: 50%;
  opacity: 0;
  padding: 13px 25px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 20;
}
.ap-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
  .ap * {
    transition: none !important;
  }
}
/* ---------- Product catalog: search, filters, cards ---------- */
.ap-sr {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.ap-catalog-tools {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.ap-search {
  max-width: 680px;
}

.ap-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-filter {
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 9px;
  color: #4a5f78;
  cursor: pointer;
  font: 600 12px Inter, sans-serif;
  min-height: 40px;
  padding: 0 16px;
  transition: background 0.15s, color 0.15s;
}

.ap-filter:hover {
  border-color: #b9c8da;
}

.ap-filter.is-active {
  background: #1b3a5c;
  border-color: #1b3a5c;
  color: #fff;
}

.ap-filter:focus-visible {
  outline: 2px solid #437bb3;
  outline-offset: 2px;
}

.ap-count {
  color: #7e8f9c;
  font-size: 11px;
  margin: 0;
}

.ap-card[hidden], .ap-empty[hidden] {
  display: none;
}

.ap-card {
  border-radius: 16px;
}

.ap-card__art {
  min-height: 150px;
  padding: 20px 22px;
}

.ap-card__art--has-image {
  min-height: 180px;
}

.ap-card__art--has-image > svg,
.ap-card__art--has-image > strong {
  display: none;
}

.ap-card__art--has-image > span {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  position: relative;
  z-index: 1;
}

.ap-card__img {
  height: 100%;
  inset: 0;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.ap-card__art > span {
  background: #fff;
  border-radius: 999px;
  color: #1b3a5c;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 11px;
}

.ap-card__art strong {
  color: rgba(255, 255, 255, 0.7019607843);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.ap-card__copy {
  gap: 12px;
  padding: 20px 22px 22px;
}

.ap-card__kind {
  color: #7e8f9c;
  font-size: 11px;
  margin: 0;
}

.ap-card__copy h3 {
  color: #14304d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  min-height: 41px;
}

.ap-card__price {
  color: #14304d;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 4px 0 0;
}

.ap-card__price small {
  color: #7e8f9c;
  font-size: 11px;
  font-weight: 600;
}

.ap-card__gain {
  background: #eaf6ef;
  border-radius: 8px;
  color: #1f7a52;
  font-size: 11.5px;
  margin: 0;
  padding: 11px 13px;
}

.ap-btn--block {
  width: 100%;
}

.ap-card__copy .ap-btn {
  min-height: 46px;
  width: 100%;
}

.ap-footnote {
  color: #7e8f9c;
  font-size: 11px;
  margin: 16px 0 0;
}

/* ---------- Catalog: server-side search, type tabs, pager ---------- */
.ap-search {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-search .ap-input {
  flex: 1 1 220px;
}

.ap-search .ap-select {
  flex: 0 1 220px;
  min-width: 180px;
}

.ap-search .ap-btn {
  flex: none;
}

.ap-filter {
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.ap-count a {
  color: #26415f;
  font-weight: 600;
}

.ap-pager {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 26px;
}

.ap-pager__item {
  align-items: center;
  background: #fff;
  border: 1px solid #dce4ee;
  border-radius: 9px;
  color: #26415f;
  display: inline-flex;
  font: 600 12px Inter, sans-serif;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0 13px;
  text-decoration: none;
}

a.ap-pager__item:hover {
  border-color: #b9c8da;
}

.ap-pager__item.is-active {
  background: #1b3a5c;
  border-color: #1b3a5c;
  color: #fff;
}

.ap-pager__item.is-disabled {
  color: #a9b6c4;
}

.ap-pager__gap {
  color: #7e8f9c;
  padding: 0 4px;
}

.ap-profile {
  margin: 0 auto;
  max-width: 1040px;
}
.ap-profile__title {
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 10px 0 8px;
}
.ap-profile__lead {
  color: #68788e;
  font-size: 13px;
  margin: 0 0 26px;
}
.ap-profile__card {
  margin-left: auto;
  max-width: 760px;
  padding: 25px;
}
.ap-profile__status {
  margin-bottom: 22px;
}
.ap-profile__grid {
  display: grid;
  gap: 18px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
@media (max-width: 800px) {
  .ap-profile__grid {
    grid-template-columns: 1fr;
  }
}
.ap-profile__field {
  margin: 0;
}
.ap-profile__field dd {
  margin: 0;
}
.ap-profile__docs-title {
  margin: 24px 0 8px;
}
.ap-profile__doc {
  margin: 0;
}
.ap-profile__upload {
  align-items: stretch;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
@media (max-width: 800px) {
  .ap-profile__upload {
    flex-direction: column;
  }
}
.ap-profile__upload .ap-btn {
  flex: none;
}
.ap-profile__docs {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ap-input--static {
  align-items: center;
  background: #f6f8fb;
  color: #29415d;
  display: flex;
  font-weight: 550;
  justify-content: space-between;
  word-break: break-word;
}

.ap-alert--error {
  background: #fdecea;
  border: 1px solid #f5c6c2;
  color: #b3261e;
}

.ap-sales {
  margin: 0 auto;
  max-width: 1370px;
}
.ap-sales__title {
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 10px 0 8px;
}
.ap-sales__lead {
  color: #68788e;
  font-size: 13px;
  margin: 0 0 26px;
}
.ap-sales__panel {
  padding: 28px;
}
.ap-sales__totals {
  margin: 18px 0 14px;
}

.ap-filters {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 6px;
}
.ap-filters__field {
  flex: 1 1 180px;
  min-width: 0;
}
.ap-filters__field--wide {
  flex: 2 1 240px;
}
.ap-filters__field .ap-label {
  margin-bottom: 6px;
}
.ap-filters__actions {
  display: flex;
  gap: 10px;
}
@media (max-width: 800px) {
  .ap-filters__actions {
    width: 100%;
  }
  .ap-filters__actions .ap-btn {
    flex: 1;
  }
}

.ap-btn--outline {
  background: #fff;
  border: 1px solid #dce4ee;
  color: #26415f;
}

.ap-stats--four {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .ap-stats--four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 800px) {
  .ap-stats--four {
    grid-template-columns: 1fr;
  }
}

.ap-cell-sub {
  color: #8190a3;
  display: block;
  font-size: 12px;
  margin-top: 4px;
}

.ap-proof-link {
  background: #fff1bb;
  border: 1px solid #ffce32;
  border-radius: 6px;
  color: #142b49;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  padding: 4px 10px;
}
.ap-proof-link:hover, .ap-proof-link:focus {
  background: #ffce32;
  color: #142b49;
}
.ap-proof-link:focus-visible {
  outline: 2px solid #142b49;
  outline-offset: 2px;
}

.release-countdown {
  align-items: baseline;
  display: inline-flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  gap: 4px 6px;
  line-height: 1.4;
}
.release-countdown__date {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
}

.ap-stat__release,
.ap-balance__next {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 3px;
}

.ap-stat__release {
  border-top: 1px dashed #e5eaf2;
  color: #8a5a00;
  margin-top: 10px;
  padding-top: 10px;
}

.ap-balance__next {
  margin-top: 8px;
}