/* JustSearch Social AI - Blue Aura Visual Skin v1.0.1.
 * Deliberately restricted to .jh-shell and .jsai-app to protect WP admin,
 * other shortcodes, themes and operational controls.
 * Public-home Core CSS is printed AFTER wp_head(): !important on overrides
 * is intentional to avoid changing the public Core plugin.
 */
.jh-shell, .jsai-app {
  --jsai-aura-navy:#0d1238;
  --jsai-aura-blue:#0878f9;
  --jsai-aura-cyan:#12d7ef;
  --jsai-aura-violet:#7626f5;
  --jsai-aura-muted:#667391;
  --jsai-aura-soft:#f7f9ff;
  --jsai-aura-line:#e1eaf9;
  --jsai-aura-gradient:linear-gradient(104deg,#0878f9 0%,#1861f5 43%,#7626f5 100%);
  --jsai-aura-shadow:0 12px 32px rgba(21,66,166,.10);
  --ink:#0d1238;
  --blue:#0878f9;
  --violet:#7626f5;
  --purple:#7626f5;
  --pink:#0878f9;
  --muted:#667391;
  --line:#e1eaf9;
  --bg:#f7f9ff;
  accent-color:#0878f9;
}
.jh-shell {
  color:#0d1238!important;
  background:#fff!important;
  box-shadow:0 6px 60px rgba(11,38,101,.08)!important;
}
.jh-shell :is(a,button,input,textarea,select):focus-visible,
.jsai-app :is(a,button,input,textarea,select):focus-visible {
  outline:3px solid rgba(18,215,239,.65);
  outline-offset:2px;
}
/* Public homepage header: crisp icon + original text; no second wordmark. */
.jh-shell .jh-head {
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #e5ebfb!important;
  box-shadow:0 3px 18px rgba(12,37,101,.045)!important;
}
.jh-shell .jh-brand {gap:10px!important}
.jh-shell .jh-brand img {
  border-radius:10px!important;
  object-fit:contain!important;
  padding:0!important;
  background:transparent!important;
}
.jh-shell .jh-brand b {color:#0d1238!important;letter-spacing:-.6px}
.jh-shell .jh-brand small {color:#1269eb!important;letter-spacing:.07em;font-weight:850}
.jh-shell .jh-login {
  border-color:#dbe6fb!important;background:#f7faff!important;color:#203975!important;
}
.jh-shell .jh-register,
.jh-shell .jh-generate,
.jh-shell .jh-download,
.jh-shell .jh-plan.active a {
  background:var(--jsai-aura-gradient)!important;
  color:#fff!important;
  border:0!important;
  box-shadow:0 9px 24px rgba(12,105,238,.18)!important;
}
.jh-shell .jh-hero {
  background:radial-gradient(circle at 88% 5%,rgba(18,215,239,.16),transparent 42%),
             radial-gradient(circle at 7% 4%,rgba(118,38,245,.10),transparent 41%),
             linear-gradient(160deg,#ffffff 8%,#f4f9ff 100%)!important;
}
.jh-shell .jh-hero h1 {color:#0d1238!important}
.jh-shell .jh-hero h1 span,
.jh-shell .jh-section .jh-section-head h2 span {
  background:var(--jsai-aura-gradient)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.jh-shell .jh-create {
  border:1px solid #dce8fb!important;
  background:#fff!important;
  box-shadow:0 14px 40px rgba(22,91,194,.10)!important;
}
.jh-shell .jh-create textarea {color:#0d1238!important}
.jh-shell .jh-whatsapp {background:#f8fbff!important;border-color:#d9e5f7!important;color:#0d1238!important}
.jh-shell .jh-whatsapp:focus {border-color:#0878f9!important;box-shadow:0 0 0 4px rgba(8,120,249,.09)!important}
.jh-shell .jh-voice {color:#174ad4!important;background:#eef3ff!important;border-color:#dfe8ff!important}
.jh-shell .jh-voice.listening {background:#ddecff!important}
.jh-shell .jh-upload-btn {color:#144795!important;background:#f2f9ff!important;border-color:#dceafe!important}
.jh-shell .jh-trust span,
.jh-shell .jh-process span {border-color:#e1eafa!important;background:#f0f6ff!important;color:#245baf!important}
.jh-shell .jh-home-tutorial-btn {
  border-color:#d5e4ff!important;color:#1764ce!important;
  background:linear-gradient(105deg,#f3f9ff,#f5f1ff)!important;
  box-shadow:0 5px 20px rgba(10,104,242,.07)!important;
}
.jh-shell .jh-section h2 {color:#0d1238!important}
.jh-shell .jh-section-head a,
.jh-shell .jh-gallery-more {color:#176bec!important}
.jh-shell .jh-demo-fallback {background:linear-gradient(140deg,#0c2455,#086de8 57%,#7626f5)!important}
.jh-shell .jh-demo-fallback b {color:#1455a9!important}
.jh-shell .jh-demo-dots button.active {background:var(--jsai-aura-gradient)!important}
.jh-shell .jh-gallery-card {background:#f0f6ff!important;box-shadow:0 9px 25px rgba(9,66,157,.08)!important}
.jh-shell .jh-gallery-card em {color:#195ac7!important}
.jh-shell .jh-plan {
  border-color:#e0e9f9!important;
  box-shadow:0 7px 24px rgba(10,67,161,.04);
}
/* User-selected pricing plan now follows the updated brand colors. */
.jh-shell .jh-plan.active {
  border:2px solid #7626f5!important;
  box-shadow:0 14px 30px rgba(71,73,213,.13)!important;
}
.jh-shell .jh-plan strong {color:#185ad4!important}
.jh-shell .jh-plan em {background:#7626f5!important;color:#fff!important}
/* Homepage sections keep the blue/cyan/violet identity. */
.jh-shell .jh-flow i {
  background:linear-gradient(145deg,#e8f6ff 0%,#f0edff 100%)!important;
  border:1px solid #e0ebff!important;
}
.jh-shell .jh-pricing {
  background:linear-gradient(180deg,#fff 0%,#f7faff 100%)!important;
}
.jh-shell .jh-plan:not(.active) a {
  background:#edf5ff!important;
  color:#1855a2!important;
  border:1px solid #d7e7ff!important;
}
.jh-shell .jh-plan:not(.active) a:hover,
.jh-shell .jh-plan:not(.active) a:focus-visible {
  background:#e2eeff!important;
}
.jh-shell .jh-final {
  background:linear-gradient(115deg,#e5f8ff 0%,#edefff 51%,#f4eaff 100%)!important;
  border:1px solid #e1ebff!important;
}
.jh-shell .jh-final h2 span {
  color:#0b74f3!important;
  background:var(--jsai-aura-gradient)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.jh-shell .jh-final a {
  background:var(--jsai-aura-gradient)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(23,97,232,.17)!important;
}
/* A full-width, vertical mobile list eliminates half-hidden pricing cards.
   Leaves Core pricing data, links and the selection JS unchanged. */
@media (max-width:520px) {
  .jh-shell .jh-pricing .jh-price-grid {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:20px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    scrollbar-width:auto!important;
    padding:16px 0 6px!important;
    margin:0!important;
  }
  .jh-shell .jh-pricing .jh-plan {
    min-width:0!important;
    width:100%!important;
    min-height:0!important;
    height:auto!important;
    flex:auto!important;
    padding:20px 18px 16px!important;
    opacity:1!important;
    transform:none!important;
    scroll-snap-align:none!important;
    border-radius:20px!important;
  }
  .jh-shell .jh-pricing .jh-plan.active {
    transform:none!important;
    box-shadow:0 12px 30px rgba(54,86,208,.12)!important;
  }
  .jh-shell .jh-pricing .jh-plan>b {
    font-size:17px!important;
    margin-top:4px!important;
  }
  .jh-shell .jh-pricing .jh-plan strong {
    margin:6px 0 4px!important;
    font-size:31px!important;
  }
  .jh-shell .jh-pricing .jh-plan span {
    min-height:0!important;
    font-size:12px!important;
  }
  .jh-shell .jh-pricing .jh-plan ul {
    margin:10px 0 12px!important;
  }
  .jh-shell .jh-pricing .jh-plan li {
    font-size:12px!important;
    margin:6px 0!important;
  }
  .jh-shell .jh-pricing .jh-plan a {
    padding:12px 10px!important;
    font-size:13px!important;
    border-radius:12px!important;
  }
}
/* App and auth: all logo locations retain their original Core HTML. */
.jsai-app {
  background:#f7f9ff!important;
  color:#0d1238!important;
}
.jsai-app .auth-wrap {color:#0d1238}
.jsai-app .auth-visual {
  background:radial-gradient(circle at 90% 8%,rgba(20,213,248,.24),transparent 37%),
             linear-gradient(135deg,#eaf7ff 0%,#f0f1ff 55%,#eeeaff 100%)!important;
}
.jsai-app .auth-brand>img {
  object-fit:contain!important;
  border-radius:14px!important;
  box-shadow:0 8px 24px rgba(9,80,175,.11)!important;
  background:rgba(255,255,255,.72)!important;
}
.jsai-app .auth-copy h1 {color:#0d1238!important}
.jsai-app .auth-copy h1 em,
.jsai-app .word-brand span {
  background:var(--jsai-aura-gradient)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.jsai-app .auth-card-new,
.jsai-app .payment-card,
.jsai-app .status-card {
  background:#fff!important;
  border-color:#e0e8f8!important;
  box-shadow:var(--jsai-aura-shadow)!important;
}
.jsai-app .auth-card-new .seg button.active {color:#095ecf!important}
.jsai-app .auth-card-new :is(input,select,textarea):focus,
.jsai-app .business-form :is(input,select,textarea):focus {border-color:#0878f9!important;box-shadow:0 0 0 3px rgba(8,120,249,.11)!important}
.jsai-app .primary,
.jsai-app .auth-card-new .primary,
.jsai-app .business-save,
.jsai-app .brand-profile-card .business-save,
.jsai-app .submit-payment,
.jsai-app .studio-create-btn-main,
.jsai-app .studio-poster-btn,
.jsai-app .ai-generate,
.jsai-app .studio-tools .primary,
.jsai-app .studio-post-body .ai-action.publish {
  background:var(--jsai-aura-gradient)!important;
  color:#fff!important;
  box-shadow:0 9px 24px rgba(12,105,238,.16)!important;
}
.jsai-app .colorful-v120 .pro-header {
  background:rgba(255,255,255,.98)!important;
  border-color:#e3eafa!important;
  box-shadow:0 4px 22px rgba(21,60,138,.055)!important;
}
.jsai-app .colorful-v120 .pro-brand .jsai-logo {
  object-fit:contain!important;
  background:#fff!important;
  border-radius:12px!important;
  box-shadow:0 5px 15px rgba(9,92,197,.08)!important;
}
.jsai-app .colorful-v120 .pro-brand-copy strong {color:#0d1238!important}
.jsai-app .colorful-v120 .pro-brand-copy small {color:#3865a4!important}
.jsai-app .colorful-v120 .app-content {color:#0d1238!important}
.jsai-app .home-hero {
  background:radial-gradient(circle at 93% 10%,rgba(18,215,239,.22),transparent 34%),
             linear-gradient(120deg,#cdefff 0%,#e0eaff 50%,#eee0ff 100%)!important;
  border:1px solid #d7e9ff!important;
  box-shadow:0 15px 34px rgba(24,88,174,.10)!important;
}
.jsai-app .home-hero:before {background:rgba(18,215,239,.25)!important}
.jsai-app .home-hero>img {mix-blend-mode:normal!important;object-fit:contain!important;border-radius:24px!important}
.jsai-app .home-hero .hero-copy h1 {color:#0d1238!important}
.jsai-app .quick-card.sub {background:linear-gradient(135deg,#edfff9,#fff)!important;border-color:#d8f5e9!important}
.jsai-app .quick-card.next {background:linear-gradient(135deg,#eef4ff,#fff)!important;border-color:#e0eafd!important}
.jsai-app .colorful-v120 .app-bottom button.on,
.jsai-app .app-bottom button.on {color:#0967ed!important}
.jsai-app .colorful-v120 .app-bottom button.on i,
.jsai-app .app-bottom button.on i {background:var(--jsai-aura-gradient)!important;color:#fff!important;box-shadow:0 5px 18px rgba(8,120,249,.23)!important}
.jsai-app .home-create-grid button:first-child {background:linear-gradient(145deg,#e5f1ff,#f2edff)!important}
.jsai-app .jsai-tutorial-btn,
.jsai-app .studio-idea-suggest-btn {border-color:#daebff!important;background:#f1f8ff!important;color:#125fc8!important}
.jsai-app .jsai-tutorial-modal-card {background:#fff!important;color:#0d1238!important}
.jsai-app .studio-post-card,
.jsai-app .ai-poster-card {border-color:#e0eafb!important;box-shadow:0 8px 22px rgba(10,67,160,.065)!important}
.jsai-app .ai-action.download {background:#e7f2ff!important;color:#135bd0!important}
.jsai-app .studio-google button {background:var(--jsai-aura-gradient)!important;color:#fff!important}
/* Respect contrast across light and dark blocks; never globally recolor all text. */
@media (max-width:420px) {
  .jh-shell .jh-head {padding-left:12px!important;padding-right:12px!important}
  .jh-shell .jh-brand img {width:40px!important;height:40px!important}
  .jh-shell .jh-brand b {font-size:17px!important}
  .jh-shell .jh-brand small {font-size:10px!important}
  .jh-shell .jh-hero h1 {font-size:clamp(34px,9.6vw,42px)!important}
  .jsai-app .colorful-v120 .pro-brand .jsai-logo {width:44px!important;height:44px!important}
}
@media (prefers-reduced-motion:reduce) {
  .jh-shell .jh-gallery-card, .jsai-app button {transition:none!important}
}
