/* JFH-CODE Nebula Deck subscription window.
   No global palette changes; no fake balance, countdown or checkout. */
:root{--ju-night:#081e2e;--ju-panel:#0c293b;--ju-raised:#143d53;--ju-line:#36627a;--ju-signal:#79d7ff;--ju-mint:#a6eed7;--ju-ink:#effaff;--ju-muted:#afcadb}
.ju-root{display:contents}
.ju-root *, .ju-root *:before,.ju-root *:after,.ju-credit-host *, .ju-credit-host *:before,.ju-credit-host *:after{box-sizing:border-box}
.ju-root button,.ju-credit-host button,.ju-toolbar-upgrade{font:inherit;cursor:pointer}
.ju-root button:focus-visible,.ju-credit-host button:focus-visible,.ju-toolbar-upgrade:focus-visible{outline:2px solid #a7eaff;outline-offset:3px}
.ju-root [hidden]{display:none!important}
.ju-dialog{position:fixed;inset:0;width:min(920px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);margin:auto;padding:0;overflow:auto;overscroll-behavior:contain;
  border:1px solid #51809d;border-radius:18px;background:#0a2436;color:var(--ju-ink);box-shadow:0 26px 100px #000b,0 0 38px #3f9fd621;
  color-scheme:dark;scrollbar-color:#37647a #0a2435;font:12px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
.ju-dialog::backdrop{background:#010d19cf;backdrop-filter:blur(7px)}
.ju-dialog .ju-modal-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#092132;border-bottom:1px solid #34576f;padding:13px 21px;position:sticky;top:0;z-index:5}
.ju-dialog .ju-modal-brand{display:flex;align-items:center;gap:8px;font-size:11px}
.ju-dialog .ju-modal-brand strong{color:#f0fbff;font-weight:850;white-space:nowrap}
.ju-dialog .ju-modal-brand>span:last-child{font:750 9px ui-monospace,Consolas,monospace;color:#9bc8da;letter-spacing:.5px}
.ju-dialog .ju-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#78d6ff;color:#09293b;font-size:20px;flex-shrink:0}
.ju-dialog .ju-modal-right{display:flex;align-items:center;gap:12px}
.ju-dialog .ju-modal-right>span{font:750 8px ui-monospace,Consolas,monospace;color:#91bbd2;letter-spacing:.4px;white-space:nowrap}
.ju-dialog .ju-close{height:34px;width:34px;display:grid;place-items:center;border:1px solid #446982;border-radius:8px;background:#193f54;color:#d6f0ff;font-size:20px;line-height:1}
.ju-dialog .ju-close:hover{background:#285b73}
.ju-dialog .ju-modal-content{padding:23px 26px 19px}
.ju-dialog .ju-hero{display:grid;grid-template-columns:minmax(0,1fr) 125px;align-items:center;gap:14px}
.ju-dialog .ju-eyebrow{font:850 9px ui-monospace,Consolas,monospace;letter-spacing:1.25px;color:#8adcff}
.ju-dialog .ju-hero h2{font-weight:850;font-size:clamp(25px,4vw,37px);line-height:1.09;letter-spacing:-1.3px;color:#f1fcff;margin:10px 0}
.ju-dialog .ju-hero h2 em{font-style:normal;color:#8bdbff}
.ju-dialog .ju-hero p{font-size:11px;color:#acc8d9;max-width:600px;line-height:1.7;margin:0}
.ju-dialog .ju-orbit{position:relative;height:118px;width:125px;display:grid;place-items:center;isolation:isolate}
.ju-dialog .ju-orbit:before{content:"";position:absolute;width:90px;height:90px;background:#76dfff36;filter:blur(19px);border-radius:50%;animation:ju-pulse 4.5s ease-in-out infinite}
.ju-dialog .ju-ring{position:absolute;width:120px;height:58px;border:1px solid #85dbffb8;border-radius:50%;animation:ju-spin 14s linear infinite;transform:rotate(-26deg)}
.ju-dialog .ju-ring-two{width:116px;height:40px;border-color:#94f2d29a;animation-duration:21s;animation-direction:reverse}
.ju-dialog .ju-ring:after{content:"";position:absolute;top:10px;right:8px;height:5px;width:5px;border-radius:50%;background:#c1eefa;box-shadow:0 0 9px #8ddfff}
.ju-dialog .ju-core{position:relative;z-index:1;display:grid;place-items:center;width:70px;height:70px;border-radius:50%;font:500 31px system-ui;color:#f9feff;border:1px solid #a1e9ffae;background:radial-gradient(circle at 28% 18%,#eaffff,#77ccf4 20%,#195c80 52%,#09273d 83%);box-shadow:inset -10px -11px 18px #061a2d,0 0 27px #54baff69}
.ju-dialog .ju-account-context{display:flex;align-items:center;gap:11px;background:#12354a;border:1px solid #3a637b;color:#c1ddec;padding:12px 14px;border-radius:10px;font-size:11px;line-height:1.6;margin:19px 0 15px}
.ju-dialog .ju-context-icon{height:29px;width:29px;display:grid;place-items:center;flex-shrink:0;color:#8ee1ff;background:#1b536e;border-radius:8px;font-size:19px}

.ju-dialog .ju-account-context{align-items:flex-start}
.ju-dialog .ju-account-copy{display:grid;gap:4px;min-width:0;flex:1}
.ju-dialog .ju-account-copy>small{color:#93d6ef;font:850 9px/1.5 ui-monospace,Consolas,monospace;letter-spacing:.7px}
.ju-dialog .ju-account-copy>p{margin:0;color:#c1ddec;font-size:11px;line-height:1.55}
.ju-dialog .ju-refresh-timer{display:flex;align-items:baseline;justify-content:space-between;gap:9px;
 border-top:1px solid #34647a;padding-top:9px;margin-top:6px;flex-wrap:wrap}
.ju-dialog .ju-refresh-timer strong{color:#a0e9ff;font:850 clamp(17px,2.5vw,25px)/1.3 ui-monospace,Consolas,monospace;
 letter-spacing:.15px;font-variant-numeric:tabular-nums}
.ju-dialog .ju-refresh-timer>span{color:#bbd6e5;font-size:10px;line-height:1.6}
.ju-credit-host .ju-pop-date{display:block;margin-top:5px;color:#9fcde2;font:10px/1.5 system-ui}
.ju-credit-host .ju-pop-next strong{font:800 14px/1.5 ui-monospace,Consolas,monospace;color:#b1ecff;font-variant-numeric:tabular-nums}
@media(max-width:550px){
 .ju-dialog .ju-refresh-timer strong{font-size:18px}
 .ju-dialog .ju-refresh-timer{display:grid;justify-content:start}
}

.ju-dialog .ju-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ju-dialog .ju-plan{appearance:none;display:flex;flex-direction:column;gap:10px;min-width:0;min-height:235px;padding:18px 17px 17px;
 background:#0e2a3d;color:#eaf9ff;border:1px solid #395e77;border-radius:12px;text-align:left;transition:transform .18s,background .18s,border-color .18s,box-shadow .18s}
.ju-dialog .ju-plan:hover{border-color:#86dbfd;transform:translateY(-2px)}
.ju-dialog .ju-plan[aria-pressed=true]{border-color:#8bdfff;background:linear-gradient(135deg,#17455c,#0c2a3b);box-shadow:0 10px 24px #04152248,inset 0 0 0 1px #8bdfff2a}
.ju-dialog .ju-plan-top{display:flex;justify-content:space-between;align-items:center;gap:9px}
.ju-dialog .ju-plan-top strong{font-size:15px;font-weight:850;color:#f5fbff;letter-spacing:-.25px}
.ju-dialog .ju-plan-top small{font:800 8px ui-monospace,Consolas,monospace;color:#a4c6d8;letter-spacing:.5px;white-space:nowrap}
.ju-dialog .ju-plan-top .ju-pro-flag{border-radius:99px;background:#b2efdb;color:#0b4b45;padding:4px 8px}
.ju-dialog .ju-price{font-size:30px;line-height:1.05;letter-spacing:-.8px;font-weight:850;color:#f3fbff}
.ju-dialog .ju-price small{font-size:11px;letter-spacing:0;font-weight:500;color:#afcddb}
.ju-dialog .ju-plan-tagline{font-size:10px;color:#a9c7d8;margin-top:-3px}
.ju-dialog .ju-benefits{margin-top:auto;display:grid;gap:8px}
.ju-dialog .ju-benefits>span{display:flex;align-items:flex-start;gap:8px;font-size:10px;line-height:1.55;color:#c9e3f0}
.ju-dialog .ju-benefits i{font-style:normal;color:#9fedcf;font-weight:900}
.ju-dialog .ju-compare-control{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 2px 10px}
.ju-dialog .ju-compare-control>span{color:#a8c7d7;font-size:10px;line-height:1.5}
.ju-dialog .ju-compare-control button{flex-shrink:0;border:0;background:transparent;color:#86ddff;font-size:10px;font-weight:800;padding:6px 3px}
.ju-dialog .ju-details{border:1px solid #345b72;border-radius:10px;background:#082234;padding:8px 13px 11px;margin-bottom:12px}
.ju-dialog .ju-detail-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.76fr) minmax(0,1.06fr);gap:9px;align-items:center;border-bottom:1px solid #2c4d62;padding:9px 2px;color:#c6e0ed;font-size:10px;line-height:1.5}
.ju-dialog .ju-detail-row strong{color:#f3faff}
.ju-dialog .ju-detail-row:last-of-type{border:0}
.ju-dialog .ju-detail-row span:nth-child(3){color:#abf2d8}
.ju-dialog #ju-policy-note{margin:8px 0 0;color:#92b8cd;font-size:10px;line-height:1.55}
.ju-dialog .ju-provider-note{display:flex;align-items:flex-start;gap:11px;background:#0d293a;border:1px solid #365b70;border-radius:10px;padding:12px 14px}
.ju-dialog .ju-provider-note>span{font-size:20px;color:#89d9ff;line-height:1.2}
.ju-dialog .ju-provider-note p{font-size:11px;color:#b1cede;line-height:1.65;margin:0}
.ju-dialog .ju-provider-note strong{color:#e4f8ff}
.ju-dialog .ju-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}
.ju-dialog .ju-secondary,.ju-dialog .ju-primary{padding:12px 18px;min-height:44px;border-radius:9px;font-size:11px;font-weight:850;line-height:1.4;text-align:center}
.ju-dialog .ju-secondary{background:#164057;border:1px solid #4a7790;color:#e0f4ff}
.ju-dialog .ju-secondary:hover{background:#225b77;border-color:#65acd0}
.ju-dialog .ju-primary{background:linear-gradient(110deg,#76d0fe,#ade9ff);color:#062c41;border:1px solid #a7e8ff;box-shadow:0 7px 23px #61bcf52b}
.ju-dialog .ju-primary:hover{background:#b9edff}
.ju-dialog .ju-dialog-foot{padding:0 26px 17px;color:#8bb6c7;font:9px/1.5 ui-monospace,Consolas,monospace;text-align:center}
.ju-dialog .ju-checkout{display:grid;justify-items:center;text-align:center;gap:13px;padding-top:29px}
.ju-dialog .ju-checkout-glyph{display:grid;place-items:center;width:77px;height:77px;border-radius:21px;background:#16475f;color:#8be3ff;border:1px solid #5189a3;font-size:33px}
.ju-dialog .ju-checkout h2{font-size:27px;letter-spacing:-.8px;margin:0;color:#f2faff}
.ju-dialog .ju-checkout>p{font-size:12px;color:#b8d2e0;line-height:1.65;max-width:490px;margin:0}
.ju-dialog .ju-checkout-summary{width:min(100%,450px);display:grid;gap:9px;background:#102d41;border:1px solid #3c647a;border-radius:11px;padding:17px;text-align:left;margin:10px 0}
.ju-dialog .ju-checkout-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#bdd8e5;font-size:11px}
.ju-dialog .ju-checkout-summary strong{color:#f1faff;text-align:right}
.ju-dialog .ju-checkout-summary strong.ju-no-payment{color:#b0edd6}
.ju-dialog .ju-checkout-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.ju-credit-host{position:relative;z-index:30;font:11px/1.5 system-ui,-apple-system,Segoe UI,sans-serif;color:#e6f7ff}
.ju-credit-host .ju-credit-trigger{display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;
  border:1px solid #3d6f87;border-radius:99px;background:#0f2c40;color:#cfe9f6;padding:9px 12px;font-size:10px;font-weight:750;line-height:1.3}
.ju-credit-host .ju-credit-trigger:hover{background:#19455b;border-color:#80cbef}
.ju-credit-host .ju-credit-dot{display:block;height:6px;width:6px;flex:none;border-radius:50%;background:#efc47b;box-shadow:0 0 8px #efc47b55}
.ju-credit-host .ju-credit-popover{display:none;position:absolute;z-index:100;right:0;top:calc(100% + 10px);width:min(315px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:15px;background:#0d2b40;border:1px solid #4b849f;border-radius:12px;box-shadow:0 26px 60px #010a19d9;color:#eef9ff}
.ju-credit-host:hover .ju-credit-popover,.ju-credit-host:focus-within .ju-credit-popover,.ju-credit-host[data-pinned=true] .ju-credit-popover{display:block}
.ju-credit-host .ju-pop-title{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#edfaff;font-size:13px;font-weight:850}
.ju-credit-host .ju-pop-plan{border:1px solid #3b6c83;background:#14384d;color:#a8d9f0;border-radius:99px;padding:4px 7px;font:700 8px ui-monospace,Consolas,monospace}
.ju-credit-host .ju-credit-popover p{font-size:10px;color:#adcddd;line-height:1.7;margin:9px 0}
.ju-credit-host .ju-pop-next{padding:11px 12px;background:#082233;border:1px solid #315970;border-radius:9px}
.ju-credit-host .ju-pop-next small{display:block;color:#90bfd4;font:800 9px ui-monospace,Consolas,monospace}
.ju-credit-host .ju-pop-next strong{display:block;margin-top:5px;font-size:12px;line-height:1.4;color:#e4f6ff}
.ju-credit-host .ju-pop-upgrade{width:100%;margin-top:5px;background:#195878;border:1px solid #4c94b6;color:#e4faff;border-radius:8px;padding:9px;font-size:10px;font-weight:800}
.ju-credit-host .ju-pop-upgrade:hover{background:#246b8b}
.ju-toolbar-upgrade{background:#1c536d;border:1px solid #4d91b2;color:#f0fbff;border-radius:9px;padding:9px 12px;font-size:10px;font-weight:800;line-height:1.3;white-space:nowrap}
.ju-toolbar-upgrade:hover{background:#2a7091}
#jfh-onboarding[data-stage=intro] .ju-credit-host{display:none}
#jfh-onboarding .ju-credit-host .ju-credit-trigger{font-size:10px}
#jfh-onboarding .ju-credit-host .ju-credit-popover{z-index:110}
#jfh-onboarding .jo-header-right{overflow:visible}
#jfh-onboarding .jo-app-top{overflow:visible}
@keyframes ju-spin{from{transform:rotate(-26deg)}to{transform:rotate(334deg)}}
@keyframes ju-pulse{50%{opacity:.52;transform:scale(1.18)}}
@media(max-width:800px){
 .ju-dialog{width:min(620px,calc(100vw - 20px));max-height:calc(100dvh - 16px)}
 .ju-dialog .ju-modal-content{padding:17px 16px}
 .ju-dialog .ju-modal-bar{padding:11px 14px}
 .ju-dialog .ju-plans{grid-template-columns:1fr;gap:9px}
 .ju-dialog .ju-plan{min-height:180px;padding:14px 15px;gap:7px}
 .ju-dialog .ju-benefits{gap:5px}
 .ju-dialog .ju-orbit{transform:scale(.8);transform-origin:center}
 .ju-dialog .ju-hero h2{font-size:29px}
 .ju-dialog .ju-dialog-foot{padding:0 13px 13px}
}
@media(max-width:550px){
 .ju-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:13px}
 .ju-dialog .ju-hero{grid-template-columns:minmax(0,1fr) 76px;gap:5px}
 .ju-dialog .ju-hero h2{font-size:25px}
 .ju-dialog .ju-orbit{width:76px;height:88px;transform:none}
 .ju-dialog .ju-ring{width:76px;height:36px}
 .ju-dialog .ju-ring-two{width:72px;height:25px}
 .ju-dialog .ju-core{width:49px;height:49px;font-size:21px}
 .ju-dialog .ju-modal-brand>span:last-child,.ju-dialog .ju-modal-right>span{display:none}
 .ju-dialog .ju-plan{min-height:160px}
 .ju-dialog .ju-compare-control{flex-direction:column;align-items:flex-start;gap:3px}
 .ju-dialog .ju-actions{flex-direction:column-reverse;align-items:stretch}
 .ju-dialog .ju-actions button{width:100%}
 .ju-dialog .ju-detail-row{gap:7px;font-size:9px}
 .ju-dialog .ju-checkout h2{font-size:23px}
 .ju-dialog .ju-checkout-actions{flex-direction:column;width:100%}
 .ju-dialog .ju-checkout-actions button{width:100%}
 .masthead .header-context{display:none}
 .masthead .header-meta{gap:5px}
 .masthead .ju-credit-trigger{padding:7px 8px}
 .masthead .ju-toolbar-upgrade{padding:7px 8px}
 .masthead .ju-credit-host .ju-credit-trigger span:last-child{display:none}
 #jfh-onboarding .ju-credit-host .ju-credit-trigger{font-size:0;padding:7px 8px}
 #jfh-onboarding .ju-credit-host .ju-credit-trigger .ju-credit-dot{width:8px;height:8px}
 #jfh-onboarding .ju-credit-host .ju-credit-trigger span:last-child{display:none}
 #jfh-onboarding .jo-header-right{gap:5px}
}
@media(prefers-reduced-motion:reduce){
 .ju-dialog .ju-ring,.ju-dialog .ju-orbit:before{animation:none!important}
 .ju-dialog .ju-plan{transition:none!important;transform:none!important}
}
