.admin-shell {
  background: #f5f7fb;
  min-height: 100vh;
  padding: 32px;
}

/* Saweria-inspired public landing refresh. Scoped to public landing/header/footer. */
.jp-landing {
  --landing-ink: #17120c;
  --landing-muted: #614d38;
  --landing-yellow: #ffd947;
  --landing-yellow-soft: #fff2a6;
  --landing-pink: #ff8db3;
  --landing-pink-soft: #ffd5e3;
  --landing-mint: #9ef2d0;
  --landing-blue: #3b64ff;
  --landing-paper: #fffdf2;
  background: var(--landing-paper);
  color: var(--landing-ink);
}

.jp-dynamic-landing {
  background:
    linear-gradient(90deg, rgba(23, 18, 12, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 18, 12, .04) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--landing-paper);
}

.jp-landing-container {
  width: min(1168px, calc(100% - 36px));
}

.jp-home-hero,
.jp-landing-hero {
  position: relative;
  padding: 82px 0 96px;
  border-bottom: 4px solid var(--landing-ink);
  background:
    radial-gradient(circle at 16% 17%, rgba(255, 141, 179, .55) 0 86px, transparent 87px),
    radial-gradient(circle at 90% 18%, rgba(158, 242, 208, .8) 0 96px, transparent 97px),
    linear-gradient(135deg, #ffd947 0%, #fff2a6 58%, #ffe06a 100%);
}

.jp-home-hero::before {
  position: absolute;
  inset: 18px;
  border: 3px dashed rgba(23, 18, 12, .28);
  border-radius: 28px;
  content: "";
  pointer-events: none;
}

.jp-home-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: 58px;
}

.jp-landing-pill {
  gap: 10px;
  padding: 10px 15px;
  border: 3px solid var(--landing-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--landing-ink);
  box-shadow: 5px 5px 0 var(--landing-ink);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jp-landing-pill span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--landing-ink);
  background: var(--landing-pink);
  box-shadow: none;
}

.jp-home-copy h1,
.jp-landing-hero h1 {
  max-width: 760px;
  margin: 26px 0 18px;
  color: var(--landing-ink);
  letter-spacing: 0;
  text-transform: uppercase;
}

.jp-home-copy h1 em,
.jp-landing-hero h1 em {
  display: inline;
  color: var(--landing-pink);
  font-style: normal;
  text-shadow: 3px 3px 0 var(--landing-ink);
}

.jp-home-copy > p,
.jp-landing-heading p,
.jp-landing-book-body p,
.jp-home-cards p,
.jp-landing-steps p,
.jp-home-trust-card blockquote {
  color: var(--landing-muted);
}

.jp-home-copy > p {
  max-width: 610px;
  font-size: 18px;
  font-weight: 700;
}

.jp-home-facts,
.jp-landing-proof {
  color: var(--landing-ink);
}

.jp-home-facts span,
.jp-landing-proof span {
  padding: 9px 12px;
  border: 2px solid var(--landing-ink);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 3px 3px 0 rgba(23, 18, 12, .22);
}

.jp-home-facts span::before,
.jp-landing-proof span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--landing-blue);
  box-shadow: none;
  content: "";
}

.jp-landing-actions {
  gap: 14px;
  margin-top: 30px;
}

.jp-landing-btn {
  min-height: 52px;
  padding: 0 24px;
  border: 3px solid var(--landing-ink);
  border-radius: 14px;
  background: #fff;
  color: var(--landing-ink);
  box-shadow: 6px 6px 0 var(--landing-ink);
  font-weight: 950;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.jp-landing-btn:hover,
.jp-landing-btn:focus {
  transform: translate(3px, 3px);
  color: var(--landing-ink);
  box-shadow: 3px 3px 0 var(--landing-ink);
}

.jp-landing-btn.is-primary {
  border-color: var(--landing-ink);
  background: var(--landing-pink);
  color: var(--landing-ink);
  box-shadow: 6px 6px 0 var(--landing-ink);
}

.jp-landing-btn.is-light {
  border-color: var(--landing-ink);
  background: #fff;
  color: var(--landing-ink);
}

.jp-home-demo {
  position: relative;
  padding: 16px 0 42px;
}

.jp-home-demo::before,
.jp-home-demo::after {
  position: absolute;
  z-index: 0;
  border: 3px solid var(--landing-ink);
  content: "";
}

.jp-home-demo::before {
  right: -20px;
  top: -22px;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: var(--landing-mint);
  transform: rotate(10deg);
}

.jp-home-demo::after {
  left: -24px;
  bottom: 8px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--landing-pink);
}

.jp-landing-demo-card,
.jp-home-hero-image,
.jp-home-trust-card,
.jp-home-trust-image {
  position: relative;
  z-index: 1;
  border: 4px solid var(--landing-ink);
  border-radius: 24px;
  background: #fff;
  box-shadow: 12px 12px 0 var(--landing-ink);
}

.jp-landing-demo-card {
  overflow: hidden;
  padding: 28px;
}

.jp-landing-demo-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 15px;
  background: repeating-linear-gradient(90deg, var(--landing-pink) 0 26px, var(--landing-yellow) 26px 52px, var(--landing-mint) 52px 78px);
  content: "";
}

.jp-landing-demo-head {
  align-items: center;
  color: var(--landing-ink);
}

.jp-landing-demo-head span {
  border: 2px solid var(--landing-ink);
  background: var(--landing-yellow-soft);
  color: var(--landing-ink);
}

.jp-landing-progress {
  height: 12px;
  border: 2px solid var(--landing-ink);
  border-radius: 999px;
  background: #fff3c9;
}

.jp-landing-progress i {
  background: var(--landing-blue);
}

.jp-landing-question {
  color: var(--landing-ink);
  font-weight: 950;
}

.jp-landing-options span {
  min-height: 54px;
  border: 3px solid var(--landing-ink);
  border-radius: 14px;
  background: #fffdf2;
  color: var(--landing-ink);
  font-weight: 850;
}

.jp-landing-options b {
  border: 2px solid var(--landing-ink);
  background: #fff;
  color: var(--landing-ink);
}

.jp-landing-options .is-selected {
  border-color: var(--landing-ink);
  background: var(--landing-mint);
  color: var(--landing-ink);
}

.jp-landing-options .is-selected b {
  background: var(--landing-blue);
  color: #fff;
}

.jp-landing-score {
  left: -34px;
  bottom: -24px;
  border: 4px solid var(--landing-ink);
  border-radius: 20px;
  background: var(--landing-pink-soft);
  box-shadow: 8px 8px 0 var(--landing-ink);
  color: var(--landing-ink);
}

.jp-landing-score small {
  color: var(--landing-ink);
}

.jp-landing-score span {
  color: var(--landing-muted);
}

.jp-landing-section {
  padding: 88px 0;
  background: var(--landing-paper);
}

.jp-landing-section.is-soft,
.jp-home-problem,
.jp-home-trust {
  background:
    linear-gradient(90deg, rgba(23, 18, 12, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    #fff7ce;
}

.jp-landing-heading > span,
.jp-landing-cta > div > span,
.jp-home-mini span,
.jp-home-trust-card > span {
  color: var(--landing-blue);
  letter-spacing: .12em;
}

.jp-landing-heading h2,
.jp-landing-cta h2,
.jp-home-mini h2,
.jp-home-trust-card h2 {
  color: var(--landing-ink);
  letter-spacing: 0;
  text-transform: uppercase;
}

.jp-landing-books {
  gap: 26px;
}

.jp-landing-book,
.jp-home-cards article,
.jp-landing-steps article {
  border: 4px solid var(--landing-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--landing-ink);
}

.jp-landing-book:hover {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--landing-ink);
}

.jp-landing-book-cover {
  height: 245px;
  border-bottom: 4px solid var(--landing-ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 141, 179, .45), transparent 28%),
    linear-gradient(145deg, #fff4ba, #ffd947);
}

.jp-landing-book-cover span {
  top: 14px;
  left: 14px;
  border: 2px solid var(--landing-ink);
  border-radius: 999px;
  background: var(--landing-blue);
  color: #fff;
}

.jp-landing-book-body small,
.jp-landing-book-body strong,
.jp-home-trust-card > span {
  color: var(--landing-blue);
}

.jp-home-cards article {
  background: #fffdf2;
}

.jp-home-cards b {
  border: 3px solid var(--landing-ink);
  background: var(--landing-pink);
  color: var(--landing-ink);
}

.jp-home-mini,
.jp-landing-cta {
  border-top: 4px solid var(--landing-ink);
  border-bottom: 4px solid var(--landing-ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .28) 0 90px, transparent 91px),
    linear-gradient(135deg, var(--landing-pink) 0%, #ffb3cf 50%, var(--landing-yellow) 100%);
  color: var(--landing-ink);
}

.jp-home-mini p,
.jp-landing-cta p {
  color: var(--landing-muted);
  font-weight: 750;
}

.jp-home-checklist span {
  border: 3px solid var(--landing-ink);
  border-radius: 15px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--landing-ink);
  color: var(--landing-ink);
}

.jp-home-checklist span::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  place-items: center;
  border: 2px solid var(--landing-ink);
  border-radius: 50%;
  background: var(--landing-mint);
  color: var(--landing-ink);
  content: "OK";
}

.jp-home-trust-card {
  background: #fff;
}

.jp-home-trust-image {
  overflow: hidden;
  background: var(--landing-yellow-soft);
}

.jp-site-header {
  background: var(--landing-yellow);
  border-bottom: 4px solid #17120c;
  padding: 10px clamp(10px, 2vw, 18px);
}

.jp-site-nav {
  max-width: 1180px;
  border: 3px solid #17120c;
  background: #fffdf2;
  box-shadow: 6px 6px 0 #17120c;
}

.jp-site-logo {
  width: auto;
  min-width: 46px;
  height: 46px;
  padding: 0 13px;
  border: 3px solid #17120c;
  border-radius: 999px;
  background: #ff8db3;
}

.jp-site-logo-text {
  color: #17120c;
}

.jp-site-logo-mark {
  background: #fffdf2;
}

.jp-site-logo-mark::before {
  background: #3b64ff;
}

.jp-site-logo-mark i {
  background: #17120c;
}

.jp-site-links a {
  color: #17120c;
}

.jp-site-links a:hover,
.jp-site-links a:focus,
.jp-site-links a.is-active {
  color: #17120c;
}

.jp-site-links a.is-active {
  background: #9ef2d0;
  box-shadow: inset 0 0 0 2px #17120c;
}

.jp-site-account {
  border: 3px solid #17120c;
  background: #ffd947;
  color: #17120c;
  box-shadow: 4px 4px 0 #17120c;
}

.jp-site-account-dropdown {
  border: 3px solid #17120c;
  background: #fffdf2;
  box-shadow: 5px 5px 0 #17120c;
}

.jp-site-account-dropdown a,
.jp-site-account-dropdown button {
  color: #17120c;
}

.jp-site-account-dropdown a:hover,
.jp-site-account-dropdown a:focus,
.jp-site-account-dropdown button:hover,
.jp-site-account-dropdown button:focus {
  background: #9ef2d0;
  color: #17120c;
}

.jp-site-footer {
  border-top: 4px solid #17120c;
  background: #fff2a6;
  color: #614d38;
}

.jp-site-footer-logo span {
  border: 3px solid #17120c;
  background: #ff8db3;
  color: #17120c;
  box-shadow: 4px 4px 0 #17120c;
}

.jp-site-footer-logo strong,
.jp-site-footer-col h3 {
  color: #17120c;
}

.jp-site-footer-logo strong em,
.jp-site-footer-col a:hover,
.jp-site-footer-bottom a {
  color: #3b64ff;
}

.jp-site-footer-bottom {
  border-top: 3px solid rgba(23, 18, 12, .22);
}

@media (max-width: 991.98px) {
  .jp-site-links {
    border-right: 4px solid #17120c;
    background: #fff2a6;
    box-shadow: 12px 0 0 #17120c, 18px 0 42px rgba(0, 0, 0, .22);
  }

  .jp-site-menu-head {
    border-bottom-color: rgba(23, 18, 12, .24);
    color: #17120c;
  }

  .jp-site-menu-close,
  .jp-site-menu-toggle {
    border: 3px solid #17120c;
    background: #fff;
  }

  .jp-site-links a {
    border: 3px solid #17120c;
    background: #fff;
    color: #17120c;
  }

  .jp-site-links a.is-active {
    background: #9ef2d0;
  }
}

@media (max-width: 900px) {
  .jp-home-hero-grid,
  .jp-home-split,
  .jp-home-mini-grid {
    grid-template-columns: 1fr;
  }

  .jp-home-hero {
    padding: 66px 0 84px;
  }

  .jp-home-demo {
    width: min(580px, 100%);
    margin: 0 auto;
  }

  .jp-landing-score {
    left: -10px;
  }
}

@media (max-width: 600px) {
  .jp-home-hero::before {
    inset: 10px;
    border-radius: 20px;
  }

  .jp-home-copy h1,
  .jp-landing-hero h1 {
    font-size: 36px;
  }

  .jp-home-copy > p {
    font-size: 16px;
  }

  .jp-home-facts span,
  .jp-landing-proof span {
    width: 100%;
  }

  .jp-landing-actions .jp-landing-btn {
    width: 100%;
  }

  .jp-landing-demo-card {
    padding: 22px;
  }

  .jp-landing-score {
    position: relative;
    left: auto;
    bottom: auto;
    width: 88%;
    margin: -10px auto 0;
  }

  .jp-site-logo-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Saweria-inspired login page. */
.login-page.login-saweria {
  --login-ink: #17120c;
  --login-muted: #614d38;
  --login-yellow: #ffd947;
  --login-yellow-soft: #fff2a6;
  --login-pink: #ff8db3;
  --login-pink-soft: #ffd5e3;
  --login-mint: #9ef2d0;
  --login-blue: #3b64ff;
  position: relative;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 104px 24px 44px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 141, 179, .78) 0 92px, transparent 93px),
    radial-gradient(circle at 88% 20%, rgba(158, 242, 208, .9) 0 105px, transparent 106px),
    radial-gradient(circle at 74% 88%, rgba(59, 100, 255, .18) 0 110px, transparent 111px),
    linear-gradient(90deg, rgba(23, 18, 12, .055) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 18, 12, .045) 1px, transparent 1px) 0 0 / 34px 34px,
    #fff2a6;
  color: var(--login-ink);
}

.login-page.login-saweria::before {
  position: absolute;
  inset: 22px;
  border: 3px dashed rgba(23, 18, 12, .3);
  border-radius: 30px;
  content: "";
  pointer-events: none;
}

.login-brand {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 16px 0 10px;
  border: 3px solid var(--login-ink);
  border-radius: 999px;
  background: #fffdf2;
  box-shadow: 5px 5px 0 var(--login-ink);
  color: var(--login-ink);
  text-decoration: none;
  transform: translateX(-50%);
}

.login-brand span {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 2px solid var(--login-ink);
  border-radius: 50%;
  background: var(--login-pink);
}

.login-brand span::before {
  position: absolute;
  top: 7px;
  left: 12px;
  width: 12px;
  height: 19px;
  border-radius: 70% 70% 70% 18%;
  background: var(--login-blue);
  content: "";
  transform: rotate(36deg);
}

.login-brand i {
  position: absolute;
  bottom: 8px;
  left: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--login-ink);
}

.login-brand strong {
  color: var(--login-ink);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: minmax(0, .95fr) minmax(340px, .82fr);
  gap: 28px;
  align-items: stretch;
}

.login-showcase,
.login-card {
  border: 4px solid var(--login-ink);
  border-radius: 24px;
  background: #fffdf2;
  box-shadow: 12px 12px 0 var(--login-ink);
}

.login-showcase {
  position: relative;
  display: flex;
  min-height: 490px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 34px;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .52) 0 82px, transparent 83px),
    linear-gradient(135deg, var(--login-yellow) 0%, #ffe66f 48%, var(--login-pink) 100%);
}

.login-showcase::before,
.login-showcase::after {
  position: absolute;
  border: 3px solid var(--login-ink);
  content: "";
}

.login-showcase::before {
  right: 34px;
  top: 36px;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: var(--login-mint);
  transform: rotate(10deg);
}

.login-showcase::after {
  right: 112px;
  bottom: 112px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--login-pink-soft);
}

.login-showcase .practice-eyebrow,
.login-card .practice-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 3px solid var(--login-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--login-blue);
  box-shadow: 4px 4px 0 var(--login-ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}

.login-showcase h1 {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin: 0 0 18px;
  color: var(--login-ink);
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .96;
  text-transform: uppercase;
}

.login-showcase > p {
  position: relative;
  z-index: 1;
  max-width: 440px;
  margin: 0;
  color: var(--login-muted);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.65;
}

.login-ticket {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 300px;
  gap: 4px;
  padding: 22px;
  border: 4px solid var(--login-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--login-ink);
}

.login-ticket::before {
  position: absolute;
  inset: 0 0 auto;
  height: 13px;
  background: repeating-linear-gradient(90deg, var(--login-pink) 0 24px, var(--login-yellow) 24px 48px, var(--login-mint) 48px 72px);
  content: "";
}

.login-ticket span {
  color: var(--login-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
}

.login-ticket strong {
  color: var(--login-ink);
  font-size: 54px;
  font-weight: 950;
  line-height: 1;
}

.login-ticket small {
  color: var(--login-muted);
  font-weight: 850;
}

.login-card {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 32px;
  width: 100%;
}

.login-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 16px;
  border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(90deg, var(--login-pink) 0 28px, var(--login-yellow) 28px 56px, var(--login-mint) 56px 84px);
  content: "";
}

.login-card-head {
  padding-top: 8px;
}

.login-card h2 {
  margin: 0 0 10px;
  color: var(--login-ink);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.login-card p,
.login-card small {
  color: var(--login-muted);
}

.login-card-head > p:last-child {
  margin: 0;
  font-weight: 750;
  line-height: 1.6;
}

.login-error {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 3px solid var(--login-ink);
  border-radius: 14px;
  background: var(--login-pink-soft);
  color: #7f1d1d;
  box-shadow: 4px 4px 0 var(--login-ink);
}

.login-success {
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 3px solid var(--login-ink);
  border-radius: 14px;
  background: var(--login-mint);
  color: #064e3b;
  box-shadow: 4px 4px 0 var(--login-ink);
}

.login-form {
  gap: 17px;
  margin: 24px 0 18px;
}

.login-form label {
  color: var(--login-ink);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.login-form input {
  min-height: 52px;
  border: 3px solid var(--login-ink);
  border-radius: 14px;
  background: #fff;
  color: var(--login-ink);
  font-weight: 800;
  box-shadow: 4px 4px 0 rgba(23, 18, 12, .18);
}

.login-form input::placeholder {
  color: rgba(97, 77, 56, .62);
}

.login-form input:focus {
  border-color: var(--login-ink);
  box-shadow: 4px 4px 0 var(--login-blue);
  outline: none;
}

.login-form button {
  min-height: 54px;
  border: 3px solid var(--login-ink);
  border-radius: 14px;
  background: var(--login-pink);
  color: var(--login-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  box-shadow: 6px 6px 0 var(--login-ink);
  transition: transform .16s ease, box-shadow .16s ease;
}

.login-form button:hover,
.login-form button:focus {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--login-ink);
}

.login-card > small {
  display: block;
  padding: 12px 14px;
  border: 3px dashed rgba(23, 18, 12, .26);
  border-radius: 14px;
  background: rgba(255, 217, 71, .35);
  font-weight: 800;
}

.login-card > small strong {
  color: var(--login-ink);
}

.login-alt-link {
  margin: 10px 0 0;
  color: var(--login-muted);
  font-weight: 850;
  text-align: center;
}

.login-alt-link a {
  color: var(--login-blue);
  font-weight: 950;
}

.jp-home-pricing {
  background: #f7f9fc;
}

.jp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.jp-pricing-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 22px;
  padding: 30px;
  border: 1px solid #dfe7f2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.jp-pricing-card.is-highlight {
  border-color: #2563eb;
  box-shadow: 0 22px 60px rgba(37, 99, 235, .18);
}

.jp-pricing-head small {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}

.jp-pricing-head h3 {
  margin: 8px 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 950;
}

.jp-pricing-head p,
.jp-pricing-price span,
.jp-pricing-card li {
  color: #64748b;
}

.jp-pricing-price strong {
  color: #0f172a;
  font-size: 34px;
  font-weight: 950;
}

.jp-pricing-card ul {
  display: grid;
  flex: 1;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jp-pricing-card li {
  padding-left: 20px;
  position: relative;
  font-weight: 750;
}

.jp-pricing-card li::before {
  position: absolute;
  left: 0;
  color: #16a34a;
  content: "+";
}

.jp-landing-sentence {
  margin: -10px 0 22px;
  padding: 14px 16px;
  border: 3px solid var(--landing-ink, #17120c);
  border-radius: 14px;
  background: #fff2a6;
  color: var(--landing-ink, #17120c);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.55;
}

.jp-landing-options em {
  min-width: 0;
  color: inherit;
  font-style: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .login-page.login-saweria {
    padding-top: 96px;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-showcase {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .login-page.login-saweria {
    padding: 92px 16px 34px;
  }

  .login-page.login-saweria::before {
    inset: 10px;
    border-radius: 22px;
  }

  .login-brand {
    top: 20px;
    max-width: calc(100% - 32px);
  }

  .login-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .login-showcase,
  .login-card {
    border-radius: 20px;
    box-shadow: 7px 7px 0 var(--login-ink);
  }

  .login-showcase {
    min-height: 310px;
    padding: 24px;
  }

  .login-showcase h1 {
    font-size: 42px;
  }

  .login-showcase > p {
    font-size: 16px;
  }

  .login-ticket {
    max-width: 100%;
  }

  .login-card {
    padding: 26px 22px 22px;
  }
}

/* Public article pages and admin HTML preview. */
.article-page {
  --article-ink: #17120c;
  --article-muted: #614d38;
  --article-yellow: #ffd947;
  --article-paper: #fffdf2;
  --article-pink: #ff8db3;
  --article-mint: #9ef2d0;
  --article-blue: #3b64ff;
  background:
    linear-gradient(90deg, rgba(23, 18, 12, .04) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 18, 12, .035) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--article-paper);
  color: var(--article-ink);
  min-height: 100vh;
}

.article-container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.article-hero {
  border-bottom: 4px solid var(--article-ink);
  background:
    radial-gradient(circle at 14% 26%, rgba(255, 141, 179, .55) 0 86px, transparent 87px),
    radial-gradient(circle at 86% 18%, rgba(158, 242, 208, .75) 0 92px, transparent 93px),
    linear-gradient(135deg, #ffd947, #fff2a6);
  padding: 70px 0;
}

.article-hero span,
.article-badge {
  display: inline-flex;
  width: fit-content;
  border: 3px solid var(--article-ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--article-ink);
  color: var(--article-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .06em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.article-hero h1 {
  margin: 22px 0 14px;
  max-width: 780px;
  color: var(--article-ink);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.article-hero p {
  max-width: 680px;
  color: var(--article-muted);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.7;
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
  padding: 46px 0;
}

.article-list {
  display: grid;
  gap: 24px;
}

.article-card,
.article-detail-card,
.article-widget,
.article-faq details {
  border: 4px solid var(--article-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--article-ink);
}

.article-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
}

.article-card-image {
  display: grid;
  min-height: 220px;
  place-items: center;
  border-right: 4px solid var(--article-ink);
  background: linear-gradient(135deg, var(--article-yellow), #fff2a6);
  color: var(--article-ink);
  font-size: 24px;
  font-weight: 950;
  text-decoration: none;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
}

.article-card-body small,
.article-meta,
.article-card-foot span {
  color: var(--article-muted);
  font-size: 13px;
  font-weight: 850;
}

.article-card h2,
.article-detail-card h1,
.article-widget h3,
.article-faq h2 {
  color: var(--article-ink);
  letter-spacing: 0;
}

.article-card h2 {
  margin: 10px 0;
  font-size: 27px;
  font-weight: 950;
  line-height: 1.12;
}

.article-card h2 a,
.article-card-foot a,
.article-mini-link,
.article-widget.is-blue a,
.article-share a {
  color: inherit;
  text-decoration: none;
}

.article-card p {
  color: var(--article-muted);
  line-height: 1.7;
}

.article-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.article-card-foot a,
.article-widget.is-blue a,
.article-share a {
  border: 3px solid var(--article-ink);
  border-radius: 12px;
  background: var(--article-pink);
  box-shadow: 4px 4px 0 var(--article-ink);
  color: var(--article-ink);
  font-weight: 950;
  padding: 10px 14px;
}

.article-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 96px;
}

.article-widget {
  padding: 20px;
}

.article-widget h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 950;
}

.article-search input {
  width: 100%;
  min-height: 48px;
  border: 3px solid var(--article-ink);
  border-radius: 12px;
  padding: 0 13px;
  font-weight: 800;
}

.article-mini-link {
  display: block;
  border-top: 2px solid rgba(23, 18, 12, .12);
  color: var(--article-ink);
  font-weight: 850;
  line-height: 1.45;
  padding: 12px 0;
}

.article-widget.is-blue {
  background: var(--article-blue);
  color: #fff;
}

.article-widget.is-blue h3,
.article-widget.is-blue p {
  color: #fff;
}

.article-widget.is-blue a {
  display: inline-flex;
  background: #fff;
}

.article-detail-card {
  overflow: hidden;
  padding: 34px;
}

.article-detail-card h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.04;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.article-cover {
  display: block;
  width: calc(100% + 68px);
  max-height: 430px;
  margin: 0 -34px 30px;
  border-top: 4px solid var(--article-ink);
  border-bottom: 4px solid var(--article-ink);
  object-fit: cover;
}

.article-content {
  color: #22180f;
  font-size: 17px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.article-content h2,
.article-content h3 {
  color: var(--article-ink);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 28px 0 12px;
}

.article-content img {
  max-width: 100%;
  border: 3px solid var(--article-ink);
  border-radius: 16px;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 2px solid rgba(23, 18, 12, .16);
  border-bottom: 2px solid rgba(23, 18, 12, .16);
  padding: 22px 0;
}

.article-share span {
  margin-right: auto;
  color: var(--article-muted);
  font-weight: 900;
}

.article-faq {
  padding: 36px 0 70px;
}

.article-faq h2 {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 950;
}

.article-faq details {
  padding: 0;
  box-shadow: 5px 5px 0 var(--article-ink);
}

.article-faq details + details {
  margin-top: 14px;
}

.article-faq summary {
  cursor: pointer;
  font-weight: 950;
  list-style: none;
  padding: 18px 20px;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq details > div {
  border-top: 3px solid var(--article-ink);
  color: var(--article-muted);
  line-height: 1.75;
  padding: 16px 20px;
}

.article-empty {
  border: 4px solid var(--article-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--article-ink);
  font-weight: 900;
  padding: 28px;
}

.admin-html-preview {
  min-height: 220px;
  max-height: 520px;
  overflow: auto;
  border: 3px solid #232323;
  border-radius: 14px;
  background: #fffdf2;
  box-shadow: 5px 5px 0 #232323;
  padding: 20px;
}

.admin-html-preview img {
  max-width: 100%;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card-image {
    border-right: 0;
    border-bottom: 4px solid var(--article-ink);
  }
}

@media (max-width: 600px) {
  .article-container {
    width: min(100% - 28px, 1120px);
  }

  .article-hero {
    padding: 54px 0;
  }

  .article-hero h1,
  .article-detail-card h1 {
    font-size: 36px;
  }

  .article-detail-card {
    padding: 24px;
  }

  .article-cover {
    width: calc(100% + 48px);
    margin-right: -24px;
    margin-left: -24px;
  }

  .article-share {
    align-items: stretch;
    flex-direction: column;
  }

  .article-share span {
    margin-right: 0;
  }
}

/* Public landing page. Every selector is scoped so dashboard layouts stay intact. */
.jp-landing {
  --landing-blue: #2563eb;
  --landing-navy: #172033;
  --landing-muted: #65718a;
  background: #fff;
  color: var(--landing-navy);
  font-family: Inter, Arial, sans-serif;
}

.jp-landing *, .jp-landing *::before, .jp-landing *::after { box-sizing: border-box; }
.jp-landing-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.jp-landing-hero { overflow: hidden; padding: 92px 0 110px; background: radial-gradient(circle at 82% 38%, #dbeafe 0, transparent 31%), linear-gradient(135deg, #fff 0%, #f7faff 100%); }
.jp-landing-hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 78px; }
.jp-landing-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid #bfdbfe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 13px; font-weight: 800; }
.jp-landing-pill span { width: 9px; height: 9px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 0 5px #dbeafe; }
.jp-landing-hero h1 { max-width: 650px; margin: 25px 0 22px; font-size: clamp(42px, 5.1vw, 68px); line-height: 1.06; letter-spacing: -.045em; font-weight: 900; }
.jp-landing-hero h1 em { color: var(--landing-blue); font-style: normal; }
.jp-landing-hero-copy > p { max-width: 610px; margin: 0; color: var(--landing-muted); font-size: 18px; line-height: 1.75; }
.jp-landing-facts, .jp-landing-proof { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; color: #536078; font-size: 14px; font-weight: 750; }
.jp-landing-facts span::before { content: "✓"; margin-right: 8px; color: var(--landing-blue); font-weight: 900; }
.jp-landing-proof span::before { content: "●"; margin-right: 7px; color: #22c55e; font-size: 9px; vertical-align: 2px; }
.jp-landing-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.jp-landing-btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid #d8dfeb; border-radius: 12px; background: #fff; color: #25324a; text-decoration: none; font-size: 15px; font-weight: 850; box-shadow: 0 5px 14px rgba(15, 23, 42, .06); transition: .2s ease; }
.jp-landing-btn:hover { transform: translateY(-2px); color: var(--landing-blue); box-shadow: 0 10px 25px rgba(15, 23, 42, .11); }
.jp-landing-btn.is-primary { border-color: var(--landing-blue); background: var(--landing-blue); color: #fff; box-shadow: 0 12px 28px rgba(37, 99, 235, .25); }
.jp-landing-demo { position: relative; padding: 18px 0 40px; }
.jp-landing-demo::before { position: absolute; inset: -30px; content: ""; border-radius: 50%; background: rgba(37, 99, 235, .07); filter: blur(35px); }
.jp-landing-demo-card { position: relative; padding: 30px; border: 1px solid #e6ebf3; border-radius: 26px; background: #fff; box-shadow: 0 28px 70px rgba(34, 57, 97, .15); }
.jp-landing-demo-head { display: flex; justify-content: space-between; gap: 20px; color: #64748b; font-size: 13px; font-weight: 800; }
.jp-landing-demo-head span { padding: 7px 12px; border-radius: 999px; background: #eff6ff; color: #2563eb; }
.jp-landing-progress { height: 7px; margin: 22px 0 29px; border-radius: 9px; background: #edf1f7; overflow: hidden; }
.jp-landing-progress i { display: block; width: 30%; height: 100%; border-radius: inherit; background: var(--landing-blue); }
.jp-landing-question { margin: 0 0 24px; color: #202b3f; font-size: 20px; line-height: 1.7; font-weight: 800; }
.jp-landing-question u { color: var(--landing-blue); text-decoration-thickness: 2px; }
.jp-landing-options { display: grid; gap: 11px; }
.jp-landing-options span { display: flex; align-items: center; gap: 13px; min-height: 53px; padding: 9px 13px; border: 2px solid #eef1f5; border-radius: 13px; color: #4a556b; font-weight: 750; }
.jp-landing-options b { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: #f1f5f9; color: #718096; font-size: 13px; }
.jp-landing-options .is-selected { border-color: #3b82f6; background: #eff6ff; color: #1e40af; }
.jp-landing-options .is-selected b { background: #2563eb; color: #fff; }
.jp-landing-score { position: absolute; z-index: 2; left: -45px; bottom: -22px; width: 225px; padding: 20px 23px; border: 1px solid #eef2f7; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px rgba(15, 23, 42, .2); }
.jp-landing-score small, .jp-landing-score span { display: block; font-size: 11px; font-weight: 900; }
.jp-landing-score small { color: #2563eb; }.jp-landing-score strong { display: block; margin: 4px 0; font-size: 47px; line-height: 1; }.jp-landing-score strong em { color: #8a96aa; font-size: 20px; font-style: normal; }.jp-landing-score span { color: #59657a; }
.jp-landing-section { padding: 95px 0; }.jp-landing-section.is-soft { background: #f7f9fc; }
.jp-landing-heading { max-width: 720px; margin: 0 auto 45px; text-align: center; }.jp-landing-heading > span, .jp-landing-cta > div > span { color: #2563eb; font-size: 12px; font-weight: 900; letter-spacing: .13em; }.jp-landing-heading h2, .jp-landing-cta h2 { margin: 10px 0 13px; font-size: clamp(31px, 4vw, 46px); line-height: 1.12; letter-spacing: -.035em; font-weight: 900; }.jp-landing-heading p { margin: 0; color: var(--landing-muted); line-height: 1.75; }
.jp-landing-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }.jp-landing-book { overflow: hidden; border: 1px solid #e4e9f1; border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 9px 30px rgba(15, 23, 42, .07); transition: .22s ease; }.jp-landing-book:hover { transform: translateY(-6px); color: inherit; box-shadow: 0 18px 42px rgba(15, 23, 42, .13); }.jp-landing-book-cover { position: relative; display: grid; height: 245px; place-items: center; overflow: hidden; background: linear-gradient(145deg, #eff6ff, #dbeafe); }.jp-landing-book-cover img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }.jp-landing-book-cover span { position: absolute; top: 15px; left: 15px; padding: 6px 9px; border-radius: 7px; background: #2563eb; color: #fff; font-size: 10px; font-weight: 900; }.jp-landing-book-body { padding: 23px; }.jp-landing-book-body small { color: #2563eb; font-weight: 850; }.jp-landing-book-body h3 { margin: 8px 0 5px; font-size: 22px; font-weight: 900; }.jp-landing-book-body p { min-height: 46px; margin: 0 0 18px; color: var(--landing-muted); }.jp-landing-book-body strong { color: #2563eb; font-size: 14px; }.jp-landing-book-body strong i { margin-left: 4px; font-style: normal; }
.jp-landing-empty { padding: 35px; border-radius: 16px; background: #fff7ed; color: #9a3412; text-align: center; font-weight: 750; }
.jp-landing-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }.jp-landing-steps article { padding: 30px; border: 1px solid #e5eaf1; border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(15, 23, 42, .05); }.jp-landing-steps b { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #eff6ff; color: #2563eb; }.jp-landing-steps h3 { margin: 20px 0 8px; font-size: 20px; font-weight: 900; }.jp-landing-steps p { margin: 0; color: var(--landing-muted); line-height: 1.7; }
.jp-landing-cta { padding: 85px 0; background: linear-gradient(135deg, #1d4ed8, #2563eb 55%, #3b82f6); color: #fff; text-align: center; }.jp-landing-cta > div > span { color: #bfdbfe; }.jp-landing-cta h2 { max-width: 760px; margin-right: auto; margin-left: auto; }.jp-landing-cta p { margin: 0 auto 27px; color: #dbeafe; font-size: 17px; }.jp-landing-btn.is-light { border-color: #fff; color: #1d4ed8; }

@media (max-width: 900px) { .jp-landing-hero { padding: 68px 0 90px; }.jp-landing-hero-grid { grid-template-columns: 1fr; gap: 58px; }.jp-landing-demo { width: min(580px, 100%); margin: auto; }.jp-landing-books { grid-template-columns: repeat(2, 1fr); }.jp-landing-score { left: -12px; }.jp-landing-steps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .jp-landing-container { width: min(100% - 28px, 1160px); }.jp-landing-hero { padding-top: 50px; }.jp-landing-hero h1 { font-size: 42px; }.jp-landing-hero-copy > p { font-size: 16px; }.jp-landing-actions .jp-landing-btn { width: 100%; }.jp-landing-proof { display: grid; gap: 9px; }.jp-landing-demo-card { padding: 20px; }.jp-landing-score { position: relative; left: auto; bottom: auto; width: 85%; margin: -12px auto 0; }.jp-landing-section { padding: 70px 0; }.jp-landing-books { grid-template-columns: 1fr; }.jp-landing-book-cover { height: 225px; } }
@media (max-width: 760px) { .jp-pricing-grid { grid-template-columns: 1fr; } }

.jp-site-logo { gap: 10px; text-decoration: none; }
.jp-site-logo-img { max-width: 180px; max-height: 42px; object-fit: contain; }
.jp-site-logo-text { color: #111827; font-size: 18px; font-weight: 950; letter-spacing: -.03em; }
.jp-home-hero { background: radial-gradient(circle at 84% 25%, rgba(37, 99, 235, .16), transparent 30%), linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); }
.jp-home-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); align-items: center; gap: 72px; }
.jp-home-copy h1 { max-width: 720px; margin: 24px 0 18px; color: #142033; font-size: clamp(42px, 5vw, 68px); line-height: 1.08; letter-spacing: -.055em; font-weight: 950; }
.jp-home-copy h1 em { color: #2563eb; font-style: normal; }
.jp-home-copy > p { max-width: 650px; margin: 0; color: #64748b; font-size: 18px; line-height: 1.75; }
.jp-home-facts { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 24px; color: #526178; font-weight: 850; }
.jp-home-facts span { display: inline-flex; align-items: center; gap: 8px; }
.jp-home-facts span::before { width: 8px; height: 8px; border-radius: 50%; background: #2563eb; content: ""; box-shadow: 0 0 0 5px #dbeafe; }
.jp-home-demo { position: relative; }
.jp-home-hero-image { overflow: hidden; border: 1px solid #e4e9f2; border-radius: 30px; background: #fff; box-shadow: 0 30px 80px rgba(15, 23, 42, .16); }
.jp-home-hero-image img { display: block; width: 100%; min-height: 390px; object-fit: cover; }
.jp-landing-score strong { font-size: 42px; }
.jp-landing-heading.is-left { margin-right: 0; margin-left: 0; text-align: left; }
.jp-home-split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 48px; }
.jp-home-problem { background: #fff; }
.jp-home-cards { display: grid; gap: 18px; }
.jp-home-cards article { display: grid; grid-template-columns: 52px 1fr; gap: 0 18px; padding: 22px; border: 1px solid #eef2f7; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px rgba(15, 23, 42, .06); }
.jp-home-cards b { grid-row: span 2; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 999px; background: #fee2e2; color: #ef4444; font-weight: 950; }
.jp-home-cards h3 { margin: 0 0 6px; color: #172033; font-size: 18px; font-weight: 950; }
.jp-home-cards p { margin: 0; color: #64748b; line-height: 1.65; }
.jp-home-mini { padding: 80px 0; background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; }
.jp-home-mini-grid { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: 44px; }
.jp-home-mini span, .jp-home-trust-card > span { font-size: 12px; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.jp-home-mini h2, .jp-home-trust-card h2 { margin: 10px 0 14px; font-size: clamp(31px, 4vw, 48px); line-height: 1.1; font-weight: 950; letter-spacing: -.04em; }
.jp-home-mini p { max-width: 620px; color: #dbeafe; line-height: 1.75; }
.jp-home-checklist { display: grid; gap: 12px; }
.jp-home-checklist span { padding: 16px 18px; border: 1px solid rgba(255,255,255,.26); border-radius: 16px; background: rgba(255,255,255,.1); font-weight: 850; }
.jp-home-checklist span::before { margin-right: 9px; color: #bbf7d0; content: "OK"; font-size: 11px; font-weight: 950; }
.jp-home-trust { background: #fff; }
.jp-home-trust-card { padding: 34px; border-radius: 28px; background: #f8fafc; }
.jp-home-trust-card > span { color: #2563eb; }
.jp-home-trust-card blockquote { margin: 22px 0; color: #334155; font-size: 18px; line-height: 1.75; font-weight: 750; }
.jp-home-trust-card strong { color: #0f172a; }
.jp-home-trust-image { overflow: hidden; min-height: 330px; border-radius: 28px; background: #eff6ff; box-shadow: 0 22px 60px rgba(15, 23, 42, .12); }
.jp-home-trust-image img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.jp-site-footer { border-top: 1px solid #eef2f7; background: #f8fafc; color: #51617a; }
.jp-site-footer-container { width: min(1400px, calc(100% - 96px)); margin: 0 auto; padding: 72px 0 50px; }
.jp-site-footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: 78px; }
.jp-site-footer-brand { max-width: 320px; }
.jp-site-footer-logo { display: inline-flex; align-items: center; gap: 14px; color: #111827; text-decoration: none; }
.jp-site-footer-logo span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: #2563eb; color: #fff; font-size: 18px; font-weight: 950; box-shadow: 0 12px 24px rgba(37, 99, 235, .22); }
.jp-site-footer-logo strong { color: #0f172a; font-size: 22px; font-weight: 950; letter-spacing: -.04em; }
.jp-site-footer-logo strong em { color: #dc2626; font-style: normal; }
.jp-site-footer-logo img { max-width: 220px; max-height: 48px; object-fit: contain; }
.jp-site-footer-brand p { margin: 24px 0 0; color: #51617a; font-size: 16px; line-height: 1.75; }
.jp-site-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.jp-site-footer-col h3 { margin: 0 0 8px; color: #0f172a; font-size: 16px; font-weight: 950; }
.jp-site-footer-col a { color: #51617a; font-size: 16px; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.jp-site-footer-col a:hover { color: #2563eb; transform: translateX(3px); }
.jp-site-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding-top: 34px; border-top: 1px solid #dbe3ef; }
.jp-site-footer-bottom p, .jp-site-footer-bottom small { margin: 0; color: #51617a; font-size: 15px; line-height: 1.7; }
.jp-site-footer-bottom a { color: #2563eb; text-decoration: none; }
.jp-site-footer-bottom a:hover { text-decoration: underline; }
.jp-site-footer-bottom small { color: #97a3b6; text-align: right; }

.admin-setting-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 22px; }
.admin-setting-panel, .admin-landing-section-card { border: 1px solid #dfe7f2; border-radius: 18px; background: #fff; padding: 22px; box-shadow: 0 8px 22px rgba(15, 23, 42, .04); }
.admin-setting-panel.is-wide { grid-row: span 3; }
.admin-setting-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.admin-setting-heading h2 { margin: 0; color: #172033; font-size: 18px; font-weight: 950; }
.admin-setting-heading p { margin: 2px 0 0; color: #6b7280; }
.admin-setting-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #eaf1ff; color: #2563eb; font-size: 12px; font-weight: 950; }
.admin-upload-row { display: flex; gap: 10px; }
.admin-upload-row .form-control { min-width: 0; }
.admin-image-preview { display: flex; min-height: 96px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #e4ebf5; border-radius: 14px; background: #f8fafc; padding: 12px; }
.admin-image-preview img { max-width: 100%; max-height: 180px; object-fit: contain; }
.admin-favicon-preview { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px; border: 1px solid #e4ebf5; border-radius: 12px; background: #f8fafc; }
.admin-favicon-preview img { width: 34px; height: 34px; object-fit: contain; }
.admin-favicon-preview span { min-width: 0; overflow: hidden; color: #64748b; text-overflow: ellipsis; white-space: nowrap; }
.admin-landing-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; color: #64748b; font-weight: 800; }
.admin-landing-section-card + .admin-landing-section-card { margin-top: 20px; }
.admin-landing-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-landing-section-head small { color: #2563eb; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.admin-landing-section-head h2 { margin: 3px 0 0; color: #172033; font-size: 22px; font-weight: 950; }
.admin-toggle-row { display: inline-flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #dfe7f2; border-radius: 999px; background: #f8fafc; color: #334155; font-weight: 850; }
.admin-footer-setting-panel { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .jp-home-hero-grid, .jp-home-split, .jp-home-mini-grid, .admin-setting-grid { grid-template-columns: 1fr; }
  .jp-home-demo { max-width: 560px; margin: 0 auto; }
  .admin-setting-panel.is-wide { grid-row: auto; }
  .jp-site-footer-container { width: min(100% - 40px, 1160px); }
  .jp-site-footer-grid { grid-template-columns: 1fr 1fr; gap: 42px; }
  .jp-site-footer-bottom { align-items: flex-start; flex-direction: column; }
  .jp-site-footer-bottom small { text-align: left; }
}

@media (max-width: 600px) {
  .jp-home-copy h1 { font-size: 38px; }
  .jp-home-hero-grid { gap: 42px; }
  .jp-home-hero-image img { min-height: 260px; }
  .jp-home-cards article { grid-template-columns: 1fr; }
  .jp-home-cards b { grid-row: auto; margin-bottom: 12px; }
  .admin-upload-row, .admin-landing-toolbar, .admin-landing-section-head { flex-direction: column; align-items: stretch; }
  .jp-site-footer-container { width: min(100% - 28px, 1160px); padding: 52px 0 38px; }
  .jp-site-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .jp-site-footer-col { gap: 13px; }
  .jp-site-footer-bottom { margin-top: 44px; padding-top: 24px; }
}

.admin-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 24px;
  max-width: 1180px;
}

.admin-top h1 {
  font-weight: 800;
  margin: 0;
}

.admin-eyebrow {
  color: #605dff;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jp-site-header {
  background: #f3f4f8;
  padding: 8px clamp(8px, 2vw, 18px);
  position: sticky;
  top: 0;
  z-index: 1800;
}

.jp-site-nav {
  align-items: center;
  background: #030303;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  display: grid;
  gap: clamp(10px, 2vw, 24px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 58px;
  padding: 8px;
}

.jp-site-logo,
.jp-site-account,
.jp-site-links a {
  text-decoration: none;
}

.jp-site-logo {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.jp-site-logo-mark {
  background: #eef2ff;
  border-radius: 50%;
  display: inline-flex;
  height: 28px;
  position: relative;
  width: 28px;
}

.jp-site-logo-mark::before {
  background: #2457ff;
  border-radius: 70% 70% 70% 18%;
  content: "";
  height: 17px;
  left: 9px;
  position: absolute;
  top: 5px;
  transform: rotate(36deg);
  width: 11px;
}

.jp-site-logo-mark i {
  background: #123bdc;
  border-radius: 50%;
  bottom: 7px;
  display: block;
  height: 7px;
  left: 10px;
  position: absolute;
  width: 7px;
}

.jp-site-links {
  align-items: center;
  display: flex;
  gap: clamp(8px, 2vw, 24px);
  justify-content: center;
  min-width: 0;
}

.jp-site-links a {
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  padding: 12px 4px;
  white-space: nowrap;
}

.jp-site-links a:hover,
.jp-site-links a:focus,
.jp-site-links a.is-active {
  color: #ffffff;
}

.jp-site-links a.is-active {
  background: rgba(255, 255, 255, .14);
  padding-left: 14px;
  padding-right: 14px;
}

.jp-site-account {
  background: #fff;
  border: 0;
  border-radius: 999px;
  color: #222;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 850;
  justify-content: center;
  max-width: 190px;
  overflow: hidden;
  padding: 13px 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jp-site-account-menu {
  justify-self: end;
  position: relative;
}

.jp-site-account span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.jp-site-account i {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 8px;
  margin-top: 2px;
}

.jp-site-account-dropdown {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  display: none;
  min-width: 170px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 1830;
}

.jp-site-account-menu.is-account-open .jp-site-account-dropdown {
  display: grid;
  gap: 6px;
}

.jp-site-account-dropdown a,
.jp-site-account-dropdown button {
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #222;
  display: block;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  padding: 12px 13px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.jp-site-account-dropdown a:hover,
.jp-site-account-dropdown a:focus,
.jp-site-account-dropdown button:hover,
.jp-site-account-dropdown button:focus {
  background: rgba(0, 0, 0, .08);
  color: #111;
}

.jp-site-account-dropdown form {
  margin: 0;
}

.jp-site-account:hover,
.jp-site-account:focus {
  color: #111;
}

.jp-site-menu-toggle,
.jp-site-menu-close,
.jp-site-backdrop {
  display: none;
}

.jp-site-menu-head {
  display: none;
}

.not-found-page {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .66)),
    repeating-linear-gradient(45deg, #f2eadf 0, #f2eadf 14px, #fffaf4 14px, #fffaf4 30px);
  display: flex;
  min-height: calc(100vh - 74px);
  padding: clamp(28px, 6vw, 72px) 18px;
}

.not-found-panel {
  background: rgba(255, 255, 255, .94);
  border: 3px solid #232323;
  border-radius: 18px;
  box-shadow: 10px 12px 0 #232323;
  margin: 0 auto;
  max-width: 760px;
  padding: clamp(28px, 5vw, 54px);
  text-align: center;
  width: 100%;
}

.not-found-code {
  color: #605dff;
  font-size: clamp(4rem, 15vw, 9rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .9;
}

.not-found-eyebrow {
  color: #40506c;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .12em;
  margin: 16px 0 10px;
  text-transform: uppercase;
}

.not-found-panel h1 {
  color: #172033;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 auto 14px;
  max-width: 620px;
}

.not-found-copy {
  color: #40506c;
  font-size: 1rem;
  font-weight: 750;
  margin: 0 auto 18px;
  max-width: 560px;
}

.not-found-path {
  background: #fffaf4;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 10px;
  color: #e43f7a;
  display: inline-block;
  font-family: Consolas, Monaco, monospace;
  font-size: .95rem;
  font-weight: 850;
  margin-bottom: 22px;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 8px 12px;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.admin-aio-shell {
  background: #fbf6ef;
  color: #232323;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: 0;
}

.admin-aio-titlebar {
  align-items: center;
  background: #fffaf4;
  border-bottom: 4px solid #222;
  display: flex;
  gap: 24px;
  min-height: 76px;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-aio-dots {
  align-items: center;
  display: flex;
  gap: 12px;
}

.admin-aio-dots span {
  border: 3px solid #262626;
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .16);
  display: block;
  height: 22px;
  width: 22px;
}

.admin-aio-dots span:nth-child(1) {
  background: #f7a7bd;
}

.admin-aio-dots span:nth-child(2) {
  background: #a9ead2;
}

.admin-aio-dots span:nth-child(3) {
  background: #c8b8ff;
}

.admin-aio-brand {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-aio-brand strong {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 900;
  letter-spacing: .05em;
}

.admin-aio-brand span {
  background: #f7f2ec;
  border: 3px solid #303030;
  border-radius: 999px;
  color: #777;
  font-weight: 800;
  padding: 4px 14px;
}

.admin-aio-status {
  align-items: center;
  background: #b6efd2;
  border: 3px solid #333;
  border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .18);
  color: #31735b;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  padding: 8px 18px;
}

.admin-aio-status i {
  background: #16c784;
  border-radius: 50%;
  display: block;
  height: 12px;
  width: 12px;
}

.admin-aio-menu-toggle,
.admin-aio-sidebar-backdrop {
  display: none;
}

body.admin-aio-sidebar-lock {
  overflow: hidden;
}

.admin-aio-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  min-height: calc(100vh - 76px);
}

.admin-aio-sidebar {
  background: #fffaf4;
  border-right: 4px solid #222;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px 18px;
}

.admin-aio-group p {
  color: #8f8a84;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.user-sidebar-divider {
  border-top: 2px solid #d8d0c7;
  margin: 0 2px 18px;
}

.admin-aio-group form {
  margin: 0;
}

.admin-aio-group-hidden {
  display: none;
}

.admin-aio-tool {
  align-items: center;
  background: #fff;
  border: 4px solid #232323;
  border-radius: 10px;
  box-shadow: 6px 7px 0 #232323;
  color: #252525;
  display: grid;
  gap: 16px;
  grid-template-columns: 56px 1fr auto;
  margin-bottom: 14px;
  min-height: 72px;
  padding: 10px 14px;
  text-align: left;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
  width: 100%;
}

.admin-aio-tool:hover,
.admin-aio-tool:focus {
  box-shadow: 3px 4px 0 #232323;
  color: #111;
  transform: translate(3px, 3px);
}

.admin-aio-tool strong {
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 850;
}

.admin-aio-tool i {
  border: 3px solid #292929;
  border-radius: 50%;
  display: block;
  height: 15px;
  width: 15px;
}

.admin-aio-icon {
  align-items: center;
  border: 3px solid #232323;
  border-radius: 10px;
  display: inline-flex;
  font-size: 26px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  width: 52px;
}

.admin-aio-icon-mint {
  background: #baf2df;
}

.admin-aio-icon-purple {
  background: #c7adff;
}

.admin-aio-icon-blue {
  background: #bdeeff;
}

.admin-aio-icon-yellow {
  background: #ffd7a6;
}

.admin-aio-icon-green {
  background: #aaf0c4;
}

.admin-aio-icon-red {
  background: #ff9fa8;
}

.admin-aio-stamp {
  color: #d74040;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  margin-top: auto;
  padding: 24px 20px;
  text-shadow: 2px 2px 0 #222;
  transform: rotate(-4deg);
}

.admin-aio-stamp small {
  color: #222;
  display: block;
  font-size: 11px;
  letter-spacing: .04em;
  margin-top: 6px;
  text-shadow: none;
}

.admin-aio-preview {
  min-width: 0;
}

.admin-aio-preview-head {
  align-items: center;
  background: #fffaf4;
  border-bottom: 4px solid #222;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 20px 32px;
}

.admin-aio-preview-head strong {
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 900;
  letter-spacing: .04em;
}

.admin-aio-preview-head span {
  color: #777;
  font-weight: 800;
}

.admin-aio-preview-body {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .65) 0 22px, rgba(232, 222, 211, .48) 22px 44px),
    #efe6dc;
  min-height: calc(100vh - 152px);
  padding: 34px;
}

.admin-aio-table-card {
  background: rgba(255, 250, 244, .92);
  border: 3px solid rgba(34, 34, 34, .14);
  border-radius: 18px;
  box-shadow: 12px 14px 0 rgba(35, 35, 35, .12);
  overflow: hidden;
}

.admin-aio-table {
  margin: 0;
}

.admin-aio-table thead th {
  background: #fffaf4;
  border-bottom: 3px solid #222;
  color: #111;
  font-size: 13px;
  letter-spacing: .08em;
  padding: 16px;
  text-transform: uppercase;
}

.admin-aio-table tbody td {
  background: rgba(255, 255, 255, .72);
  border-color: rgba(35, 35, 35, .1);
  padding: 16px;
}

.admin-aio-table code {
  color: #d63384;
  white-space: normal;
  word-break: break-word;
}

.admin-aio-empty {
  background: rgba(255, 255, 255, .7);
  font-size: 18px;
  font-weight: 800;
  padding: 28px;
}

.admin-aio-badge {
  border: 3px solid #232323;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  min-width: 72px;
  padding: 6px 14px;
  justify-content: center;
}

.admin-aio-badge.is-show {
  background: #b6efd2;
  color: #166346;
}

.admin-aio-badge.is-hide {
  background: #e5e7eb;
  color: #4b5563;
}

.admin-aio-row-actions {
  white-space: nowrap;
}

.admin-aio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.admin-aio-tool-inline {
  max-width: 360px;
}

.admin-aio-form-card {
  background: rgba(255, 250, 244, .94);
  border: 3px solid rgba(34, 34, 34, .14);
  border-radius: 18px;
  box-shadow: 12px 14px 0 rgba(35, 35, 35, .12);
  padding: 24px;
}

.admin-aio-dashboard-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-business-summary {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 34px;
}

.admin-business-card {
  background: #fffaf4;
  border: 4px solid #232323;
  border-radius: 17px;
  box-shadow: 7px 8px 0 #232323;
  color: #232323;
  display: flex;
  flex-direction: column;
  min-height: 172px;
  padding: 20px;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.admin-business-card:hover {
  box-shadow: 4px 5px 0 #232323;
  color: #111;
  transform: translate(3px, 3px);
}

.admin-business-card small {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-business-card > strong {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 950;
  letter-spacing: -.04em;
  line-height: 1;
  margin: 17px 0 12px;
}

.admin-business-card > strong.is-money {
  font-size: clamp(25px, 2.6vw, 40px);
  overflow-wrap: anywhere;
}

.admin-business-card span {
  color: #586274;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  margin-top: auto;
}

.admin-business-card span b { color: #15803d; }
.admin-business-card.is-free { background: #e0f2fe; }
.admin-business-card.is-active { background: #dcfce7; }
.admin-business-card.is-mpv { background: #ede9fe; }
.admin-business-card.is-revenue { background: #fef3c7; }

.admin-report-split {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.admin-aio-section-label {
  color: #8f8a84;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .15em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.admin-package-selection-bar {
  align-items: center;
  background: #eff6ff;
  border: 3px solid #232323;
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: space-between;
  padding: 14px 18px;
}

.admin-package-selection-bar > span { color: #526076; font-weight: 750; }
.admin-package-selection-bar + .admin-aio-table-card { border-top-left-radius: 0; border-top-right-radius: 0; }

.user-book-cover-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 260px));
  justify-content: center;
}

.user-book-cover-card {
  aspect-ratio: 3 / 4.25;
  background: #eef2f7;
  border: 4px solid #232323;
  border-radius: 16px;
  box-shadow: 8px 9px 0 #232323;
  color: #111;
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}

.user-book-cover-card:hover { box-shadow: 4px 5px 0 #232323; color: #111; transform: translate(4px, 4px); }
.user-book-cover-card.is-locked { filter: saturate(.75); }
.user-book-cover-card.is-locked::after {
  background: #ffcf32;
  border: 2px solid #232323;
  border-radius: 999px;
  box-shadow: 3px 4px 0 #232323;
  content: "Upgrade";
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
}
.user-book-cover-card > img { height: 100%; object-fit: cover; width: 100%; }
.user-book-cover-fallback { align-items: center; background: linear-gradient(145deg, #dbeafe, #bfdbfe); display: flex; height: 100%; justify-content: center; }
.user-book-cover-fallback strong { font-size: 52px; font-weight: 950; }
.user-book-level, .user-book-progress { position: absolute; z-index: 2; }
.user-book-level { background: #2563eb; border: 2px solid #fff; border-radius: 9px; color: #fff; font-size: 15px; font-weight: 950; left: 12px; padding: 6px 10px; top: 12px; }
.user-book-progress { background: rgba(17, 24, 39, .88); bottom: 0; color: #fff; font-size: 12px; font-weight: 800; left: 0; padding: 10px 12px; right: 0; text-align: center; }

.dashboard-chapter-reader {
  background: #f8fafc;
  overflow: hidden;
}

.dashboard-chapter-summary {
  align-items: center;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 17px;
  display: grid;
  gap: 14px 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 16px;
  padding: 20px 22px;
}

.dashboard-chapter-number {
  align-items: center;
  background: #e8efff;
  border-radius: 14px;
  color: #2563eb;
  display: flex;
  font-size: 24px;
  font-weight: 950;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.dashboard-chapter-summary-copy { display: grid; gap: 5px; }
.dashboard-chapter-summary-copy strong { font-size: 18px; font-weight: 950; }
.dashboard-chapter-summary-copy span { color: #64748b; font-size: 13px; font-weight: 750; }
.dashboard-chapter-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.dashboard-chapter-actions .is-bookmarked { background: #eff6ff; border-color: #2563eb; color: #1d4ed8; }
.dashboard-chapter-progress { background: #e9eef5; border-radius: 99px; grid-column: 1 / -1; height: 9px; position: relative; }
.dashboard-chapter-progress i { background: #2563eb; border-radius: inherit; display: block; height: 100%; transition: width .25s ease; }
.dashboard-chapter-progress b { color: #2563eb; font-size: 12px; position: absolute; right: -2px; top: 15px; }

.dashboard-chapter-tabs {
  background: #fff;
  border-bottom: 1px solid #dce4ef;
  border-top: 1px solid #dce4ef;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 15px 18px;
  scrollbar-width: thin;
}

.dashboard-chapter-tabs button,
.dashboard-chapter-tabs a {
  background: #fff;
  border: 1px solid #d5deea;
  border-radius: 999px;
  color: #334155;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 16px;
  text-decoration: none;
}

.dashboard-chapter-tabs button.is-active,
.dashboard-chapter-tabs button:hover,
.dashboard-chapter-tabs a:hover {
  border-color: #2563eb;
  color: #1d4ed8;
}

.dashboard-reader-head {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #dce4ef;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 13px 18px;
}

.dashboard-reader-head > strong { color: #334155; font-weight: 850; }
.dashboard-reader-head > div { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; }
.dashboard-chapter-frame { background: #fff; border: 0; display: block; height: max(720px, 75vh); width: 100%; }

@media (max-width: 760px) {
  .dashboard-chapter-summary { grid-template-columns: auto minmax(0, 1fr); margin: 10px; padding: 15px; }
  .dashboard-chapter-actions { grid-column: 1 / -1; justify-content: stretch; }
  .dashboard-chapter-actions .btn { flex: 1; }
  .dashboard-reader-head { align-items: flex-start; flex-direction: column; }
  .dashboard-chapter-frame { height: 72vh; }
}

.admin-package-result {
  background: #dbeafe;
  border: 4px solid #232323;
  border-radius: 18px;
  box-shadow: 8px 9px 0 #232323;
  display: grid;
  gap: 7px;
  margin-bottom: 28px;
  padding: 22px;
}
.admin-package-result small { color: #1d4ed8; font-weight: 950; letter-spacing: .14em; }
.admin-package-result strong { font-size: clamp(44px, 6vw, 76px); font-weight: 950; line-height: 1; }
.admin-package-result span { color: #415875; font-weight: 800; }
.admin-package-quiz-form { display: grid; gap: 20px; }
.admin-package-question { background: #fffaf4; border: 3px solid #232323; border-radius: 17px; padding: 20px; }
.admin-package-question.is-answer-correct { border-color: #16a34a; }
.admin-package-question.is-answer-wrong { border-color: #dc2626; }
.admin-package-question-head { align-items: center; display: flex; justify-content: space-between; margin-bottom: 15px; }
.admin-package-question-head strong { font-size: 18px; font-weight: 950; }
.admin-package-question-head span { background: #e0f2fe; border-radius: 99px; color: #1d4ed8; font-size: 11px; font-weight: 900; padding: 5px 9px; text-transform: uppercase; }
.admin-package-instruction { color: #64748b; font-weight: 750; margin: 0 0 12px; }
.admin-package-translation { background: #eff6ff; border-left: 4px solid #2563eb; border-radius: 8px; color: #1e3a5f; line-height: 1.55; margin: 9px 0 13px; padding: 9px 12px; white-space: pre-wrap; }
.admin-option-translation { color: #1d4ed8; display: block; font-size: 12px; font-weight: 750; margin-top: 5px; }
.admin-package-prompt { font-size: 18px; font-weight: 850; line-height: 1.65; margin-bottom: 14px; white-space: pre-wrap; }
.admin-package-media { display: block; margin: 12px auto; max-height: 420px; max-width: 100%; object-fit: contain; }
.admin-package-options { display: grid; gap: 11px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.admin-package-option { align-items: center; background: #fff; border: 2px solid #dce3ed; border-radius: 13px; cursor: pointer; display: grid; gap: 10px; grid-template-columns: auto auto minmax(0, 1fr); padding: 13px; }
.admin-package-option:has(input:checked) { background: #dbeafe; border-color: #2563eb; }
.admin-package-option.is-correct { background: #dcfce7; border-color: #16a34a; }
.admin-package-option.is-wrong { background: #fee2e2; border-color: #dc2626; }
.admin-package-option b { align-items: center; background: #eef2f7; border-radius: 50%; display: flex; height: 30px; justify-content: center; width: 30px; }
.admin-package-option img, .admin-package-option audio { grid-column: 3; max-height: 180px; max-width: 100%; }

@media (max-width: 700px) {
  .admin-package-options { grid-template-columns: 1fr; }
}

.admin-aio-dashboard-card {
  background: rgba(255, 250, 244, .94);
  border: 4px solid #232323;
  border-radius: 18px;
  box-shadow: 8px 9px 0 #232323;
  color: #232323;
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 22px;
  text-decoration: none;
}

.admin-aio-dashboard-card:hover {
  color: #111;
  transform: translate(3px, 3px);
  box-shadow: 5px 6px 0 #232323;
}

.admin-aio-dashboard-card small {
  color: #8f8a84;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.admin-aio-dashboard-card strong {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 950;
  line-height: 1;
}

.admin-aio-dashboard-card strong.admin-subscription-date {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.08;
}

.admin-aio-dashboard-card span {
  color: #5b6575;
  font-weight: 700;
}

.admin-aio-alert {
  border: 3px solid rgba(35, 35, 35, .14);
  border-radius: 12px;
  font-weight: 800;
}

.admin-user-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
}

.admin-user-create {
  display: grid;
}

.admin-user-card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-user-card-head small {
  color: #8f8a84;
  display: block;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.admin-user-card-head strong {
  display: block;
  font-size: 28px;
  font-weight: 950;
}

.admin-user-switch {
  align-items: center;
  display: inline-flex;
  font-weight: 850;
  gap: 9px;
}

.admin-user-switch input {
  accent-color: #605dff;
  height: 18px;
  width: 18px;
}

.admin-user-table-card {
  min-width: 0;
}

.admin-super-admin-card {
  align-items: center;
  background: #fef3c7;
  border: 3px solid #232323;
  border-radius: 14px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px;
}

.admin-super-admin-card small,
.admin-permission-box > strong {
  color: #8f8a84;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-super-admin-card strong {
  display: block;
  font-size: 21px;
  font-weight: 950;
}

.admin-super-admin-card span,
.admin-super-admin-card b,
.admin-permission-box > span {
  color: #586274;
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.admin-super-admin-card b {
  max-width: 290px;
}

.admin-user-table td {
  vertical-align: top;
}

.admin-user-date {
  color: #7b8495;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
}

.admin-user-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 170px;
}

.admin-user-stats span {
  background: #fffaf4;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 999px;
  color: #5b6575;
  font-size: 12px;
  font-weight: 850;
  padding: 5px 10px;
}

.admin-user-stats strong {
  color: #232323;
}

.admin-user-inline-form,
.admin-user-password-form {
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.admin-user-inline-form {
  grid-template-columns: minmax(110px, 1fr) minmax(130px, 1fr) minmax(120px, 1fr) minmax(110px, auto) auto;
}

.admin-user-password-form {
  grid-template-columns: minmax(150px, 1fr) auto;
}

.admin-user-switch-compact {
  align-self: center;
  white-space: nowrap;
}

.admin-permission-box {
  background: #f8fafc;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 12px;
  padding: 13px;
}

.admin-permission-box-inline {
  grid-column: 1 / -1;
}

.admin-permission-grid {
  display: grid;
  gap: 8px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.admin-permission-grid label {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  font-size: 12px;
  font-weight: 850;
}

.admin-permission-grid input {
  accent-color: #605dff;
}

@media (max-width: 900px) {
  .admin-report-split {
    grid-template-columns: 1fr;
  }

  .admin-super-admin-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-permission-grid {
    grid-template-columns: 1fr;
  }
}

.admin-subscription-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-subscription-form,
.admin-subscription-inline,
.admin-package-inline,
.admin-gateway-form {
  display: grid;
  gap: 10px;
}

.admin-check-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-check-row label {
  align-items: center;
  display: inline-flex;
  font-weight: 850;
  gap: 7px;
  margin: 0;
}

.admin-check-row input {
  accent-color: #605dff;
}

.admin-access-builder {
  background: #fffaf4;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 10px;
}

.admin-access-builder-compact {
  padding: 8px;
}

.admin-access-builder-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.admin-access-builder-head strong {
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-access-builder-head label,
.admin-access-row {
  align-items: center;
  color: #40506c;
  display: flex;
  font-weight: 850;
  gap: 8px;
  margin: 0;
}

.admin-access-builder input[type="checkbox"] {
  accent-color: #605dff;
}

.admin-access-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-access-row {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(95px, auto) minmax(90px, 1fr);
  padding: 8px;
}

.admin-access-row span {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  white-space: nowrap;
}

.admin-readable-access {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.admin-readable-access span {
  background: #fffaf4;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 10px;
  color: #40506c;
  font-weight: 800;
  padding: 8px 10px;
}

.admin-readable-access strong {
  color: #111827;
  display: block;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-subscription-inline {
  min-width: 260px;
}

.admin-package-inline {
  grid-template-columns: minmax(120px, 1fr) minmax(140px, 1fr) 100px 90px 72px minmax(140px, 1fr) auto auto;
}

.admin-gateway-form {
  grid-template-columns: 1fr;
  min-width: min(100%, 760px);
}

.admin-gateway-topline,
.admin-gateway-credentials,
.admin-gateway-methods {
  display: grid;
  gap: 10px;
}

.admin-gateway-topline {
  align-items: end;
  grid-template-columns: minmax(150px, 210px) auto minmax(220px, 1fr);
}

.admin-gateway-topline label,
.admin-gateway-credentials label {
  color: #40506c;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 5px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-gateway-credentials {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.admin-gateway-webhook {
  background: #fffaf4;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 10px;
  color: #40506c;
  font-size: 12px;
  font-weight: 850;
  padding: 8px 10px;
}

.admin-gateway-methods {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}

.admin-gateway-method {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(35, 35, 35, .14);
  border-radius: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0;
  padding: 8px 10px;
}

.admin-gateway-method input {
  accent-color: #605dff;
}

.admin-gateway-method span {
  color: #232323;
  font-size: 12px;
  font-weight: 900;
}

.admin-gateway-method code {
  background: #fffaf4;
  border-radius: 999px;
  color: #d63384;
  font-size: 11px;
  padding: 2px 6px;
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
}

.checkout-panel {
  background: rgba(255, 250, 244, .94);
  border: 3px solid rgba(34, 34, 34, .14);
  border-radius: 18px;
  box-shadow: 12px 14px 0 rgba(35, 35, 35, .12);
  display: grid;
  gap: 18px;
  padding: 24px;
}

.checkout-panel-head {
  display: grid;
  gap: 6px;
}

.checkout-panel-head small {
  color: #8f8a84;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.checkout-panel-head strong {
  color: #232323;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  line-height: 1;
}

.checkout-panel-head span {
  color: #5b6575;
  font-weight: 750;
}

.checkout-summary-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checkout-summary-list div {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(35, 35, 35, .12);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.checkout-summary-list dt {
  color: #7b8495;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-summary-list dd {
  color: #232323;
  font-weight: 900;
  margin: 0;
  text-align: right;
}

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

.checkout-method-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-method {
  cursor: pointer;
  display: block;
  margin: 0;
}

.checkout-method input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.checkout-method span {
  background: #fff;
  border: 3px solid rgba(35, 35, 35, .18);
  border-radius: 12px;
  display: grid;
  gap: 8px;
  min-height: 86px;
  padding: 14px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.checkout-method input:checked + span {
  border-color: #232323;
  box-shadow: 5px 6px 0 #232323;
  transform: translate(-2px, -2px);
}

.checkout-method strong {
  color: #232323;
  font-size: 14px;
  font-weight: 950;
}

.checkout-method code {
  background: #fffaf4;
  border-radius: 999px;
  color: #d63384;
  justify-self: start;
  padding: 3px 8px;
}

.checkout-submit {
  min-height: 46px;
}

.payment-code-card,
.payment-qr-card {
  align-items: center;
  background: #fff;
  border: 3px solid rgba(35, 35, 35, .16);
  border-radius: 16px;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 20px;
  text-align: center;
}

.payment-code-card small {
  color: #8f8a84;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.payment-code-card strong {
  color: #232323;
  font-family: Consolas, Monaco, monospace;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 950;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

.payment-qr-card img {
  background: #fff;
  border: 2px solid rgba(35, 35, 35, .12);
  border-radius: 12px;
  display: block;
  height: auto;
  max-width: min(100%, 320px);
  padding: 10px;
  width: 100%;
}

.simulation-admin-group-grid {
  margin-top: 4px;
}

.simulation-admin-section {
  margin-top: 28px;
  scroll-margin-top: 24px;
}

.simulation-admin-section-head {
  border: 3px solid #232323;
  border-radius: 8px 8px 0 0;
  box-shadow: none;
  margin-bottom: 0;
}

.simulation-admin-section .admin-aio-table-card {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.admin-practice-editor {
  display: grid;
  gap: 18px;
}

.admin-practice-question {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  padding: 18px;
}

.admin-practice-question-head {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 180px;
  margin-bottom: 16px;
}

.admin-practice-question-head strong {
  color: #415875;
  font-size: 1.05rem;
  font-weight: 850;
}

.admin-practice-option-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.admin-practice-option {
  background: #f9fafc;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  padding: 14px;
}

.admin-practice-option > strong {
  color: #415875;
  display: block;
  margin-bottom: 10px;
}

.admin-answer-guide {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #36516f;
  display: grid;
  font-size: 12px;
  font-weight: 750;
  gap: 6px;
  min-height: 38px;
  padding: 8px 10px;
}

.admin-answer-guide label {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 6px;
  margin: 0;
}

.admin-field-help {
  color: #6b7280;
  display: block;
  font-weight: 650;
  line-height: 1.45;
  margin-top: 7px;
}

.admin-translation-field {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 10px;
}

.admin-translation-field > small {
  color: #1d4ed8;
  display: block;
  font-size: 11px;
  font-weight: 750;
  margin-top: 6px;
}

.question-bank-answer-card {
  border: 3px solid #dbe2eb;
  box-shadow: 0 5px 14px rgba(15, 23, 42, .05);
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.question-bank-answer-card.is-correct {
  background: #dbeafe;
  border-color: #2563eb;
  box-shadow: 0 8px 22px rgba(37, 99, 235, .2);
}

.admin-option-answer-picker {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe2eb;
  border-radius: 11px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
}

.admin-option-answer-picker > input {
  height: 18px;
  margin: 0;
  width: 18px;
}

.admin-option-answer-check {
  align-items: center;
  background: #e5e7eb;
  border-radius: 50%;
  color: transparent;
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 16px;
  font-weight: 950;
  height: 28px;
  justify-content: center;
}

.admin-option-answer-picker strong,
.admin-option-answer-picker small { display: block; }
.admin-option-answer-picker strong { color: #27364a; font-weight: 900; }
.admin-option-answer-picker small { color: #6b7280; font-size: 11px; font-weight: 700; }
.question-bank-answer-card.is-correct .admin-option-answer-picker { border-color: #60a5fa; }
.question-bank-answer-card.is-correct .admin-option-answer-check { background: #2563eb; color: #fff; }
.question-bank-answer-card.is-correct .admin-option-answer-picker small { color: #1d4ed8; }

.admin-login-shell {
  align-items: center;
  background:
    radial-gradient(circle at 15% 10%, rgba(96, 93, 255, .16), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(35, 189, 182, .18), transparent 26%),
    #f5f7fb;
  display: flex;
  min-height: 100vh;
  padding: 24px;
}

.admin-login-card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(35, 40, 70, .12);
  margin: auto;
  max-width: 420px;
  padding: 28px;
  width: 100%;
}

.admin-login-card h1 {
  font-weight: 800;
  margin: 0 0 6px;
}

.publish-toggle-form {
  margin: 0;
}

.publish-switch {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  gap: 10px;
  margin: 0;
}

.publish-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.publish-slider {
  background: #d1d5db;
  border-radius: 999px;
  height: 28px;
  position: relative;
  transition: background .2s ease;
  width: 52px;
}

.publish-slider::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .22);
  content: "";
  height: 22px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform .2s ease;
  width: 22px;
}

.publish-switch input:checked + .publish-slider {
  background: #23bdb6;
}

.publish-switch input:checked + .publish-slider::after {
  transform: translateX(24px);
}

.publish-switch strong {
  color: #374151;
  font-size: .9rem;
  min-width: 36px;
}

.admin-card {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(35, 40, 70, .06);
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.admin-subcard {
  background: #f9fafc;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 18px;
}

.admin-row {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr auto;
  margin-bottom: 10px;
}

.admin-row-4 {
  grid-template-columns: 1fr 1fr 1.3fr auto;
}

.admin-row-5 {
  grid-template-columns: .8fr 1.4fr 1.4fr .6fr auto;
}

.admin-stack-row {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
}

.admin-stack-row textarea {
  min-height: 100px;
}

.section-sort-list {
  display: grid;
  gap: 12px;
}

.section-sort-item {
  align-items: center;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  padding: 14px;
}

.section-sort-item.is-dragging {
  opacity: .55;
}

.section-drag-handle {
  align-items: center;
  background: #f3f4ff;
  border-radius: 10px;
  color: #605dff;
  cursor: grab;
  display: flex;
  font-size: 20px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.section-sort-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-sort-actions {
  white-space: nowrap;
}

.code-area {
  font-family: Consolas, "Courier New", monospace;
  min-height: 180px;
}

.code-area-large {
  min-height: 360px;
}

.admin-example {
  background: #111827;
  border-radius: 12px;
  color: #d1d5db;
  padding: 16px;
  white-space: pre-wrap;
}

.ubt-key-grid {
  display: grid;
  gap: 10px;
}

.ubt-question-editor-grid {
  display: grid;
  gap: 14px;
}

.ubt-question-editor {
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 14px;
  overflow: hidden;
}

.ubt-question-editor summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  list-style: none;
  padding: 16px 18px;
}

.ubt-question-editor summary::-webkit-details-marker {
  display: none;
}

.ubt-question-editor summary strong {
  color: #415875;
  display: block;
}

.ubt-question-editor summary small {
  color: #8da0b8;
  display: block;
  margin-top: 3px;
  word-break: break-word;
}

.ubt-question-form {
  border-top: 1px solid #e8ebf2;
  padding: 18px;
}

.ubt-option-editor-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ubt-option-editor {
  background: #f9fafc;
  border: 1px solid #e8ebf2;
  border-radius: 12px;
  padding: 14px;
}

.ubt-option-editor h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.ubt-key-row {
  align-items: center;
  background: #fff;
  border: 1px solid #e8ebf2;
  border-radius: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: 140px 150px 1fr;
  padding: 12px;
}

.dynamic-cover {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

@media (max-width: 991.98px) {
  body.jp-site-menu-lock {
    overflow: hidden;
  }

  .jp-site-header {
    padding: 6px;
  }

  .jp-site-nav {
    border-radius: 999px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 8px;
  }

  .jp-site-links {
    align-items: stretch;
    background: #050505;
    border-right: 4px solid #232323;
    box-shadow: 18px 0 40px rgba(0, 0, 0, .26);
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
    left: 0;
    max-width: 340px;
    padding: 18px;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
    width: min(84vw, 340px);
    z-index: 1810;
  }

  .jp-site-header.is-menu-open .jp-site-links {
    transform: translateX(0);
  }

  .jp-site-menu-head {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 14px;
  }

  .jp-site-menu-head strong {
    font-size: 20px;
    font-weight: 950;
  }

  .jp-site-menu-close {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    color: #111;
    display: inline-flex;
    font-size: 20px;
    font-weight: 950;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
  }

  .jp-site-links a {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 15px 16px;
  }

  .jp-site-links a.is-active {
    background: #fff;
    color: #111;
    padding: 15px 16px;
  }

  .jp-site-account {
    justify-self: end;
    max-width: min(48vw, 220px);
  }

  .jp-site-account-menu {
    justify-self: end;
  }

  .jp-site-account-dropdown {
    right: 0;
  }

  .jp-site-menu-toggle {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    height: 42px;
    justify-content: center;
    width: 42px;
  }

  .jp-site-menu-toggle span {
    background: #111;
    border-radius: 999px;
    display: block;
    height: 2px;
    width: 18px;
  }

  .jp-site-backdrop {
    background: rgba(0, 0, 0, .46);
    border: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .2s ease;
    z-index: 1805;
  }

  .jp-site-header.is-menu-open .jp-site-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .admin-aio-titlebar,
  .admin-aio-preview-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .admin-aio-titlebar:has(.admin-aio-menu-toggle) {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
  }

  .admin-aio-titlebar:has(.admin-aio-menu-toggle) .admin-aio-dots {
    display: none;
  }

  .admin-aio-titlebar:has(.admin-aio-menu-toggle) .admin-aio-brand {
    flex: 1;
    gap: 6px;
    min-width: 0;
  }

  .admin-aio-titlebar:has(.admin-aio-menu-toggle) .admin-aio-brand strong {
    font-size: 18px;
  }

  .admin-aio-titlebar:has(.admin-aio-menu-toggle) .admin-aio-brand span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-aio-titlebar:has(.admin-aio-menu-toggle) .admin-aio-status {
    display: none;
  }

  .admin-aio-menu-toggle {
    align-items: center;
    background: #fff;
    border: 3px solid #232323;
    border-radius: 10px;
    box-shadow: 4px 4px 0 #232323;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 48px;
  }

  .admin-aio-menu-toggle span {
    background: #232323;
    border-radius: 999px;
    display: block;
    height: 3px;
    width: 22px;
  }

  .admin-aio-workspace {
    grid-template-columns: 1fr;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-sidebar {
    border-bottom: 0;
    border-right: 4px solid #222;
    bottom: 0;
    left: 0;
    max-width: min(84vw, 340px);
    overflow-y: auto;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform .22s ease;
    width: 100%;
    z-index: 1850;
  }

  .admin-aio-shell.is-sidebar-open .admin-aio-sidebar {
    transform: translateX(0);
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-sidebar-backdrop {
    background: rgba(0, 0, 0, .46);
    border: 0;
    bottom: 0;
    display: block;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity .2s ease;
    z-index: 1840;
  }

  .admin-aio-shell.is-sidebar-open .admin-aio-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-aio-preview-body {
    padding: 16px;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .table-responsive {
    overflow: visible;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table {
    border-collapse: separate;
    border-spacing: 0 12px;
    display: block;
    min-width: 0;
    width: 100%;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table thead {
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody,
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tr,
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table td {
    display: block;
    width: 100%;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tr {
    background: rgba(255, 255, 255, .9);
    border: 3px solid rgba(35, 35, 35, .16);
    border-radius: 14px;
    box-shadow: 5px 6px 0 rgba(35, 35, 35, .12);
    overflow: hidden;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tr + tr {
    margin-top: 12px;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td {
    align-items: start;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(35, 35, 35, .08);
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
    padding: 12px 14px;
    text-align: left !important;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td > * {
    min-width: 0;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td strong,
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td span,
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td code {
    overflow-wrap: anywhere;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td::before {
    color: #8f8a84;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-transform: uppercase;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td:last-child {
    border-bottom: 0;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td[data-label=""] {
    grid-template-columns: 1fr;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td:not([data-label]),
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td[data-label=""] {
    grid-template-columns: 1fr;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td:not([data-label])::before,
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table tbody td[data-label=""]::before,
  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table .admin-aio-empty::before {
    display: none;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-table .admin-aio-empty {
    display: block;
    text-align: center !important;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-row-actions .btn {
    width: 100%;
  }

  .admin-aio-shell:has(.admin-aio-menu-toggle) .admin-aio-row-actions .btn + .btn {
    margin-top: 8px;
  }

  .admin-aio-tool {
    box-shadow: 4px 5px 0 #232323;
  }

  .admin-row,
  .admin-row-4,
  .admin-row-5,
  .ubt-key-row,
  .admin-practice-question-head,
  .admin-practice-option-grid,
  .admin-aio-dashboard-grid,
  .admin-business-summary,
  .admin-user-layout,
  .admin-user-inline-form,
  .admin-user-password-form,
  .admin-subscription-grid,
  .admin-package-inline,
  .admin-gateway-form,
  .admin-gateway-topline,
  .admin-gateway-credentials,
  .admin-gateway-methods,
  .checkout-layout,
  .checkout-method-grid,
  .admin-access-grid,
  .admin-access-row {
    grid-template-columns: 1fr;
  }

  .ubt-option-editor-grid {
    grid-template-columns: 1fr;
  }

  .section-sort-item {
    grid-template-columns: 1fr;
  }

  .section-sort-actions {
    white-space: normal;
  }

  .admin-aio-row-actions {
    white-space: normal;
  }
}

/* Final public landing theme override: bright, outlined, playful. */
.jp-landing {
  --landing-ink: #17120c;
  --landing-muted: #614d38;
  --landing-yellow: #ffd947;
  --landing-yellow-soft: #fff2a6;
  --landing-pink: #ff8db3;
  --landing-pink-soft: #ffd5e3;
  --landing-mint: #9ef2d0;
  --landing-blue: #3b64ff;
  --landing-paper: #fffdf2;
  background: var(--landing-paper);
  color: var(--landing-ink);
}

.jp-dynamic-landing {
  background:
    linear-gradient(90deg, rgba(23, 18, 12, .05) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(23, 18, 12, .04) 1px, transparent 1px) 0 0 / 34px 34px,
    var(--landing-paper);
}

.jp-landing-container { width: min(1168px, calc(100% - 36px)); }

.jp-home-hero,
.jp-landing-hero {
  position: relative;
  padding: 82px 0 96px;
  border-bottom: 4px solid var(--landing-ink);
  background:
    radial-gradient(circle at 16% 17%, rgba(255, 141, 179, .55) 0 86px, transparent 87px),
    radial-gradient(circle at 90% 18%, rgba(158, 242, 208, .8) 0 96px, transparent 97px),
    linear-gradient(135deg, #ffd947 0%, #fff2a6 58%, #ffe06a 100%);
}

.jp-home-hero::before {
  position: absolute;
  inset: 18px;
  border: 3px dashed rgba(23, 18, 12, .28);
  border-radius: 28px;
  content: "";
  pointer-events: none;
}

.jp-home-hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .88fr);
  gap: 58px;
}

.jp-landing-pill,
.jp-home-facts span,
.jp-landing-proof span {
  border: 2px solid var(--landing-ink);
  background: rgba(255, 255, 255, .76);
  color: var(--landing-ink);
  box-shadow: 3px 3px 0 rgba(23, 18, 12, .24);
}

.jp-landing-pill {
  gap: 10px;
  padding: 10px 15px;
  border-width: 3px;
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--landing-ink);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jp-landing-pill span,
.jp-home-facts span::before,
.jp-landing-proof span::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--landing-pink);
  box-shadow: none;
  content: "";
}

.jp-home-copy h1,
.jp-landing-hero h1,
.jp-landing-heading h2,
.jp-landing-cta h2,
.jp-home-mini h2,
.jp-home-trust-card h2 {
  color: var(--landing-ink);
  letter-spacing: 0;
  text-transform: uppercase;
}

.jp-home-copy h1,
.jp-landing-hero h1 { max-width: 760px; margin: 26px 0 18px; }

.jp-home-copy h1 em,
.jp-landing-hero h1 em {
  color: var(--landing-pink);
  font-style: normal;
  text-shadow: 3px 3px 0 var(--landing-ink);
}

.jp-home-copy > p,
.jp-landing-heading p,
.jp-landing-book-body p,
.jp-home-cards p,
.jp-landing-steps p,
.jp-home-mini p,
.jp-landing-cta p,
.jp-home-trust-card blockquote {
  color: var(--landing-muted);
}

.jp-home-copy > p { max-width: 610px; font-weight: 750; }
.jp-home-facts, .jp-landing-proof { color: var(--landing-ink); }
.jp-home-facts span, .jp-landing-proof span { padding: 9px 12px; border-radius: 999px; }

.jp-landing-btn {
  min-height: 52px;
  border: 3px solid var(--landing-ink);
  border-radius: 14px;
  background: #fff;
  color: var(--landing-ink);
  box-shadow: 6px 6px 0 var(--landing-ink);
  font-weight: 950;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.jp-landing-btn:hover,
.jp-landing-btn:focus {
  transform: translate(3px, 3px);
  color: var(--landing-ink);
  box-shadow: 3px 3px 0 var(--landing-ink);
}

.jp-landing-btn.is-primary {
  border-color: var(--landing-ink);
  background: var(--landing-pink);
  color: var(--landing-ink);
  box-shadow: 6px 6px 0 var(--landing-ink);
}

.jp-landing-btn.is-light {
  border-color: var(--landing-ink);
  color: var(--landing-ink);
}

.jp-home-demo { position: relative; padding: 16px 0 42px; }
.jp-home-demo::before,
.jp-home-demo::after {
  position: absolute;
  z-index: 0;
  border: 3px solid var(--landing-ink);
  content: "";
}

.jp-home-demo::before {
  right: -20px;
  top: -22px;
  width: 92px;
  height: 92px;
  border-radius: 28px;
  background: var(--landing-mint);
  transform: rotate(10deg);
}

.jp-home-demo::after {
  left: -24px;
  bottom: 8px;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: var(--landing-pink);
}

.jp-landing-demo-card,
.jp-home-hero-image,
.jp-landing-book,
.jp-home-cards article,
.jp-landing-steps article,
.jp-home-trust-card,
.jp-home-trust-image {
  position: relative;
  z-index: 1;
  border: 4px solid var(--landing-ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 8px 0 var(--landing-ink);
}

.jp-landing-demo-card,
.jp-home-hero-image,
.jp-home-trust-card,
.jp-home-trust-image {
  border-radius: 24px;
  box-shadow: 12px 12px 0 var(--landing-ink);
}

.jp-landing-demo-card { overflow: hidden; padding: 28px; }
.jp-landing-demo-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 15px;
  background: repeating-linear-gradient(90deg, var(--landing-pink) 0 26px, var(--landing-yellow) 26px 52px, var(--landing-mint) 52px 78px);
  content: "";
}

.jp-landing-demo-head { align-items: center; color: var(--landing-ink); }
.jp-landing-demo-head span {
  border: 2px solid var(--landing-ink);
  background: var(--landing-yellow-soft);
  color: var(--landing-ink);
}

.jp-landing-progress {
  height: 12px;
  border: 2px solid var(--landing-ink);
  border-radius: 999px;
  background: #fff3c9;
}

.jp-landing-progress i { background: var(--landing-blue); }
.jp-landing-question { color: var(--landing-ink); font-weight: 950; }

.jp-landing-options span {
  min-height: 54px;
  border: 3px solid var(--landing-ink);
  border-radius: 14px;
  background: #fffdf2;
  color: var(--landing-ink);
  font-weight: 850;
}

.jp-landing-options b {
  border: 2px solid var(--landing-ink);
  background: #fff;
  color: var(--landing-ink);
}

.jp-landing-options .is-selected {
  border-color: var(--landing-ink);
  background: var(--landing-mint);
  color: var(--landing-ink);
}

.jp-landing-options .is-selected b { background: var(--landing-blue); color: #fff; }

.jp-landing-score {
  left: -34px;
  bottom: -24px;
  border: 4px solid var(--landing-ink);
  border-radius: 20px;
  background: var(--landing-pink-soft);
  box-shadow: 8px 8px 0 var(--landing-ink);
  color: var(--landing-ink);
}

.jp-landing-score small,
.jp-landing-score span { color: var(--landing-ink); }

.jp-landing-section { padding: 88px 0; background: var(--landing-paper); }
.jp-landing-section.is-soft,
.jp-home-problem,
.jp-home-trust {
  background:
    linear-gradient(90deg, rgba(23, 18, 12, .04) 1px, transparent 1px) 0 0 / 28px 28px,
    #fff7ce;
}

.jp-landing-heading > span,
.jp-landing-cta > div > span,
.jp-home-mini span,
.jp-home-trust-card > span,
.jp-landing-book-body small,
.jp-landing-book-body strong {
  color: var(--landing-blue);
}

.jp-landing-book:hover {
  transform: translate(4px, 4px);
  color: inherit;
  box-shadow: 4px 4px 0 var(--landing-ink);
}

.jp-landing-book-cover {
  border-bottom: 4px solid var(--landing-ink);
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 141, 179, .45), transparent 28%),
    linear-gradient(145deg, #fff4ba, #ffd947);
}

.jp-landing-book-cover span {
  border: 2px solid var(--landing-ink);
  border-radius: 999px;
  background: var(--landing-blue);
  color: #fff;
}

.jp-home-cards article { background: #fffdf2; }
.jp-home-cards b {
  border: 3px solid var(--landing-ink);
  background: var(--landing-pink);
  color: var(--landing-ink);
}

.jp-home-mini,
.jp-landing-cta {
  border-top: 4px solid var(--landing-ink);
  border-bottom: 4px solid var(--landing-ink);
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .28) 0 90px, transparent 91px),
    linear-gradient(135deg, var(--landing-pink) 0%, #ffb3cf 50%, var(--landing-yellow) 100%);
  color: var(--landing-ink);
}

.jp-home-checklist span {
  border: 3px solid var(--landing-ink);
  border-radius: 15px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--landing-ink);
  color: var(--landing-ink);
}

.jp-home-checklist span::before {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  place-items: center;
  border: 2px solid var(--landing-ink);
  border-radius: 50%;
  background: var(--landing-mint);
  color: var(--landing-ink);
  content: "OK";
}

.jp-site-header {
  background: #ffd947;
  border-bottom: 4px solid #17120c;
  padding: 10px clamp(10px, 2vw, 18px);
}

.jp-site-nav {
  max-width: 1180px;
  border: 3px solid #17120c;
  background: #fffdf2;
  box-shadow: 6px 6px 0 #17120c;
}

.jp-site-logo {
  width: auto;
  min-width: 46px;
  height: 46px;
  padding: 0 13px;
  border: 3px solid #17120c;
  border-radius: 999px;
  background: #ff8db3;
}

.jp-site-logo-text,
.jp-site-links a,
.jp-site-links a:hover,
.jp-site-links a:focus,
.jp-site-links a.is-active,
.jp-site-account:hover,
.jp-site-account:focus {
  color: #17120c;
}

.jp-site-logo-mark { background: #fffdf2; }
.jp-site-logo-mark::before { background: #3b64ff; }
.jp-site-logo-mark i { background: #17120c; }
.jp-site-links a.is-active {
  background: #9ef2d0;
  box-shadow: inset 0 0 0 2px #17120c;
}

.jp-site-account {
  border: 3px solid #17120c;
  background: #ffd947;
  color: #17120c;
  box-shadow: 4px 4px 0 #17120c;
}

.jp-site-account-dropdown {
  border: 3px solid #17120c;
  background: #fffdf2;
  box-shadow: 5px 5px 0 #17120c;
}

.jp-site-account-dropdown a,
.jp-site-account-dropdown button {
  color: #17120c;
}

.jp-site-account-dropdown a:hover,
.jp-site-account-dropdown a:focus,
.jp-site-account-dropdown button:hover,
.jp-site-account-dropdown button:focus {
  background: #9ef2d0;
  color: #17120c;
}

.jp-site-footer {
  border-top: 4px solid #17120c;
  background: #fff2a6;
  color: #614d38;
}

.jp-site-footer-logo span {
  border: 3px solid #17120c;
  background: #ff8db3;
  color: #17120c;
  box-shadow: 4px 4px 0 #17120c;
}

.jp-site-footer-logo strong,
.jp-site-footer-col h3 { color: #17120c; }
.jp-site-footer-logo strong em,
.jp-site-footer-col a:hover,
.jp-site-footer-bottom a { color: #3b64ff; }
.jp-site-footer-bottom { border-top: 3px solid rgba(23, 18, 12, .22); }

.jp-home-result-demo,
.landing-result-section {
  background: #fff;
  padding: 84px 0 78px;
}

.jp-home-result-demo .jp-landing-heading span,
.landing-result-heading span {
  color: #2457ff;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .24em;
}

.jp-home-result-demo .jp-landing-heading h2,
.landing-result-heading h1 {
  color: #06122a;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.jp-home-result-demo .jp-landing-heading p,
.landing-result-heading p {
  color: #536b8a;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.jp-result-showcase {
  align-items: center;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  margin: 46px auto 0;
  max-width: 980px;
}

.jp-result-side {
  display: grid;
  gap: 18px;
}

.jp-result-detail-card,
.jp-result-tip-card,
.jp-result-main-card,
.jp-mini-start-card,
.landing-tryout-start,
.landing-quiz-card {
  background: #fff;
  border: 1px solid #e4ebf5;
  box-shadow: 0 20px 42px rgba(15, 23, 42, .08);
}

.jp-result-detail-card {
  border-radius: 20px;
  padding: 26px;
}

.jp-result-detail-card h3 {
  align-items: center;
  color: #06122a;
  display: flex;
  font-size: 14px;
  font-weight: 950;
  gap: 10px;
  margin: 0 0 28px;
}

.jp-result-detail-card h3 i {
  background: #edf4ff;
  border-radius: 50%;
  height: 24px;
  position: relative;
  width: 24px;
}

.jp-result-detail-card h3 i::after {
  color: #2457ff;
  content: "□";
  font-size: 12px;
  left: 7px;
  position: absolute;
  top: 3px;
}

.jp-result-score-line,
.jp-result-category {
  align-items: center;
  color: #0f1d35;
  display: flex;
  font-size: 14px;
  font-weight: 850;
  justify-content: space-between;
  margin-top: 18px;
}

.jp-result-score-line strong {
  color: #2457ff;
  font-size: 26px;
  font-weight: 950;
}

.jp-result-category b {
  border: 2px solid #c8d3e3;
  border-radius: 50%;
  height: 17px;
  position: relative;
  width: 17px;
}

.jp-result-category.is-ok b {
  border-color: #00b981;
}

.jp-result-category.is-ok b::after {
  color: #00b981;
  content: "OK";
  font-size: 8px;
  left: 1px;
  position: absolute;
  top: 1px;
}

.jp-result-category.is-warn b {
  border-color: #f59e0b;
}

.jp-result-category.is-warn b::after {
  color: #f59e0b;
  content: "!";
  font-size: 12px;
  font-weight: 950;
  left: 5px;
  position: absolute;
  top: -2px;
}

.jp-result-tip-card {
  background: #2f66e8;
  border: 0;
  border-radius: 20px;
  color: #fff;
  padding: 28px;
}

.jp-result-tip-card strong,
.jp-result-tip-card p {
  color: #fff;
}

.jp-result-tip-card strong {
  display: block;
  font-weight: 950;
  margin-bottom: 18px;
}

.jp-result-tip-card p {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.6;
  margin: 0;
}

.jp-result-main-card {
  border-radius: 24px;
  min-height: 540px;
  padding: 42px clamp(24px, 5vw, 78px);
  text-align: center;
}

.jp-result-level {
  background: #edf4ff;
  border-radius: 999px;
  color: #2457ff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 30px;
  padding: 9px 18px;
}

.jp-result-main-card > small {
  color: #6a7890;
  display: block;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .22em;
  margin-bottom: 26px;
}

.jp-score-ring {
  align-items: center;
  background:
    radial-gradient(circle, #fff 0 55%, transparent 56%),
    conic-gradient(#2f66e8 calc(var(--score) * 1%), #edf1f7 0);
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  height: 138px;
  justify-content: center;
  margin-bottom: 30px;
  width: 138px;
}

.jp-score-ring strong {
  color: #050816;
  font-size: 52px;
  font-weight: 950;
  line-height: .9;
}

.jp-score-ring span {
  color: #c8d3e3;
  font-size: 18px;
  font-weight: 950;
}

.jp-result-readiness {
  margin: 0 auto 34px;
  max-width: 330px;
}

.jp-result-readiness div {
  display: flex;
  font-size: 12px;
  font-weight: 950;
  justify-content: space-between;
  margin-bottom: 8px;
}

.jp-result-readiness strong {
  color: #2457ff;
}

.jp-result-readiness i {
  background: #eef2f7;
  border-radius: 999px;
  display: block;
  height: 10px;
  overflow: hidden;
}

.jp-result-readiness em {
  background: #2f66e8;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.jp-result-main-card blockquote {
  background: #f6f8fb;
  border-radius: 20px;
  color: #050816;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.55;
  margin: 0 auto 32px;
  max-width: 430px;
  padding: 26px 34px;
}

.jp-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.jp-mini-start-card {
  border-radius: 14px;
  margin: 42px auto 0;
  max-width: 560px;
  padding: 34px 28px;
  text-align: center;
}

.jp-mini-start-card h3,
.landing-tryout-start h1 {
  color: #071126;
  font-size: 28px;
  font-weight: 950;
  margin: 0 0 12px;
}

.jp-mini-start-card p,
.landing-tryout-start p {
  color: #536b8a;
  margin-bottom: 18px;
}

.jp-mini-start-card div,
.landing-tryout-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 22px;
}

.jp-mini-start-card div span,
.landing-tryout-meta span {
  background: #edf4ff;
  border-radius: 999px;
  color: #2457ff;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
}

.jp-mini-start-card small,
.landing-tryout-start small {
  color: #7a8aa3;
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-top: 18px;
}

.jp-mini-all-link,
.landing-tryout-all {
  background: #2f66e8;
  border-radius: 999px;
  color: #fff;
  display: table;
  font-weight: 900;
  margin: 28px auto 0;
  padding: 13px 24px;
  text-decoration: none;
}

.landing-tryout-page {
  background: #f8fafc;
  min-height: calc(100vh - 82px);
  padding: 42px 16px 90px;
}

.landing-tryout-alert {
  background: #fff2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #b91c1c;
  font-weight: 850;
  margin: 0 auto 18px;
  max-width: 560px;
  padding: 14px 16px;
}

.landing-tryout-start {
  border-radius: 14px;
  margin: 0 auto;
  max-width: 560px;
  padding: 34px 28px;
  text-align: center;
}

.landing-tryout-primary {
  background: #2f66e8;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(47, 102, 232, .25);
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 950;
  padding: 16px 34px;
  text-decoration: none;
}

.landing-tryout-primary.is-disabled {
  background: #94a3b8;
}

.landing-quiz-card {
  border-radius: 12px;
  margin: 0 auto;
  max-width: 560px;
  overflow: hidden;
}

.landing-quiz-top {
  align-items: center;
  border-bottom: 1px solid #dbe3ef;
  display: flex;
  justify-content: space-between;
  padding: 20px 26px;
}

.landing-quiz-top strong,
.landing-quiz-top span {
  color: #2457ff;
  font-weight: 950;
}

.landing-quiz-top i {
  background: #eef2f7;
  border-radius: 999px;
  display: block;
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  width: 170px;
}

.landing-quiz-top em {
  background: #2f66e8;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.landing-quiz-question {
  display: none;
  padding: 28px 26px 18px;
}

.landing-quiz-question.is-active {
  display: block;
}

.landing-quiz-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.landing-quiz-tags span {
  background: #edf4ff;
  border-radius: 999px;
  color: #2457ff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.landing-quiz-instruction {
  color: #536b8a;
  margin-bottom: 10px;
}

.landing-quiz-question h2 {
  color: #071126;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.55;
  margin-bottom: 20px;
}

.landing-quiz-options {
  display: grid;
  gap: 10px;
}

.landing-quiz-options label {
  align-items: center;
  border: 1px solid #dbe3ef;
  border-radius: 9px;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: auto auto minmax(0, 1fr);
  min-height: 58px;
  padding: 12px 14px;
}

.landing-quiz-question.is-revealed .landing-quiz-options label {
  cursor: default;
  pointer-events: none;
}

.landing-quiz-options label.is-correct {
  background: #ecfdf3;
  border-color: #22c55e;
  box-shadow: 0 0 0 1px #22c55e;
}

.landing-quiz-options label.is-wrong {
  background: #fff1f2;
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef4444;
}

.landing-quiz-options label.is-muted {
  opacity: .48;
}

.landing-quiz-options input {
  margin: 0;
}

.landing-quiz-options b {
  align-items: center;
  background: #f2f5fa;
  border-radius: 50%;
  color: #607089;
  display: inline-flex;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.landing-quiz-options label.is-correct b {
  background: #16a34a;
  color: #fff;
}

.landing-quiz-options label.is-wrong b {
  background: #ef4444;
  color: #fff;
}

.landing-quiz-options span {
  color: #071126;
  font-weight: 750;
}

.landing-quiz-options img,
.landing-quiz-media {
  border-radius: 10px;
  max-width: 100%;
}

.landing-quiz-explanation {
  background: #eaf3ff;
  border: 1px solid #c9ddff;
  border-radius: 8px;
  color: #1241b6;
  display: none;
  font-size: 14px;
  line-height: 1.65;
  margin-top: 18px;
  padding: 13px 16px;
}

.landing-quiz-question.is-revealed .landing-quiz-explanation {
  display: block;
}

.landing-quiz-next {
  background: #8fb0fb;
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: 950;
  margin: 0 26px 26px;
  padding: 15px;
  width: calc(100% - 52px);
}

.landing-result-heading {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

@media (max-width: 900px) {
  .jp-result-showcase {
    grid-template-columns: 1fr;
  }

  .jp-result-main-card {
    min-height: auto;
  }
}

@media (max-width: 991.98px) {
  .jp-site-links {
    border-right: 4px solid #17120c;
    background: #fff2a6;
    box-shadow: 12px 0 0 #17120c, 18px 0 42px rgba(0, 0, 0, .22);
  }

  .jp-site-menu-head { border-bottom-color: rgba(23, 18, 12, .24); color: #17120c; }
  .jp-site-menu-close,
  .jp-site-menu-toggle {
    border: 3px solid #17120c;
    background: #fff;
  }

  .jp-site-links a {
    border: 3px solid #17120c;
    background: #fff;
    color: #17120c;
  }

  .jp-site-links a.is-active { background: #9ef2d0; }
}

@media (max-width: 900px) {
  .jp-home-hero-grid,
  .jp-home-split,
  .jp-home-mini-grid { grid-template-columns: 1fr; }
  .jp-home-hero { padding: 66px 0 84px; }
  .jp-home-demo { width: min(580px, 100%); margin: 0 auto; }
  .jp-landing-score { left: -10px; }
}

@media (max-width: 600px) {
  .jp-home-hero::before { inset: 10px; border-radius: 20px; }
  .jp-home-copy h1,
  .jp-landing-hero h1 { font-size: 36px; }
  .jp-home-copy > p { font-size: 16px; }
  .jp-home-facts span,
  .jp-landing-proof span,
  .jp-landing-actions .jp-landing-btn { width: 100%; }
  .jp-landing-demo-card { padding: 22px; }
  .jp-landing-score {
    position: relative;
    left: auto;
    bottom: auto;
    width: 88%;
    margin: -10px auto 0;
  }
  .jp-site-logo-text {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
