/* Shared with the Mini App: native system type, 22px cards and pill controls. */
:root{
 --ui-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
 --ui-display:var(--ui-font);--ui-radius-lg:22px;--ui-radius:14px;--ui-card-r:22px;--ui-row-r:14px;
 --ui-shadow:none;--ui-shadow-sm:none;--ui-accent:#6be0ff;--ui-accent-text:#74e1ff;--ui-accent-ink:#021430;
}
html:root body.jg-site{background:var(--ui-bg)!important;color:var(--ui-text)!important;font-family:var(--ui-font)!important}
html:root body.jg-site::before,html:root body.jg-site .wall{display:none!important;content:none!important}
html:root body.jg-site :is(h1,h2,h3,.brand,.product-cover-title,.product-price strong,.config-bundle-title,.profile-name,.profile-balance strong,.fx-title),
html:root body.jg-site :is(h1,h2,h3,.brand,.product-cover-title,.product-price strong,.config-bundle-title,.profile-name,.profile-balance strong,.fx-title) *{
 font-family:var(--ui-font)!important;font-weight:700!important;letter-spacing:-.01em!important;text-shadow:none!important;filter:none!important}
html:root body.jg-site :is(.wrap,main){max-width:1040px}
html:root body.jg-site .wrap{width:min(1040px,calc(100% - 40px))!important;margin-left:auto!important;margin-right:auto!important}
html:root body.jg-site main h1{font-size:36px!important;line-height:1.12!important}
html:root body.jg-site :is(.section-heading h2,.faq-heading h2,.ui-final h2){font-size:28px!important;line-height:1.15!important}
html:root body.jg-site :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--ui-accent)!important;outline-offset:3px!important}
html:root body.jg-site :is(.button,.text-button,.fx-row,.product-card,.official-card,.config-card){transition:background-color .12s,border-color .12s,color .12s!important;transform:none!important}
html:root body.jg-site :is(.jg-revealing,.product-card,.config-card,.official-card){opacity:1!important;animation:none!important}

/* App bar. */
html:root body.jg-site>.site-header{width:min(1040px,calc(100% - 40px))!important;max-width:1040px!important;margin:16px auto 0!important;padding:0!important;border:0!important;border-radius:0!important;background:var(--ui-bg)!important;box-shadow:none!important}
html:root body.jg-site>.site-header .nav.wrap{width:100%!important;padding:8px 0!important;min-height:48px!important}
html:root body.jg-site .brand{border:0!important;gap:10px!important;font-size:19px!important;line-height:1.2!important;font-weight:700!important}
html:root body.jg-site .brand img{width:32px!important;height:32px!important;border:0!important;border-radius:9px!important;box-shadow:none!important}
html:root body.jg-site .shared-language{border:0!important;padding-left:0!important}
html:root body.jg-site :is(.shared-language-trigger,.header-channel-link){min-height:36px!important;background:var(--ui-surface)!important;border:0!important;box-shadow:none!important;color:var(--ui-text-2)!important;border-radius:999px!important}
html:root body.jg-site .nav-links{gap:6px!important}
html:root body.jg-site .nav-links .nav-link{min-height:38px!important;padding:0 14px!important;color:var(--ui-text-3)!important;font-size:14px!important;font-weight:600!important}
html:root body.jg-site .nav-links .nav-link[aria-current=page]{color:var(--ui-text)!important;background:var(--ui-surface-3)!important}
html:root body.jg-site :is(.shared-language-options,.language-options){border-radius:18px!important;background:var(--ui-surface-2)!important;box-shadow:none!important;border-color:var(--ui-border)!important}

/* Buttons, panels and fields follow the Mini App. */
html:root body.jg-site :is(.button,.site-header .account-link){min-height:48px!important;padding:0 24px!important;border:0!important;border-radius:999px!important;background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important;font-size:15px!important;font-weight:700!important;box-shadow:none!important;line-height:1.2!important}
html:root body.jg-site :is(.button,.site-header .account-link):hover{background:var(--ui-volt-1)!important;box-shadow:none!important;transform:none!important}
html:root body.jg-site .site-header .account-link{min-height:38px!important;padding:0 18px!important;font-size:14px!important}
html:root body.jg-site :is(.hero-more,.button.subtle,.button.quiet,.config-purchased),html:root body.jg-account .button:not(.primary){background:var(--ui-surface-3)!important;border:0!important;color:var(--ui-text)!important;box-shadow:none!important}
html:root body.jg-site :is(.hero-more,.button.subtle,.button.quiet):hover,html:root body.jg-account .button:not(.primary):hover{background:var(--ui-surface-2)!important;color:var(--ui-text)!important}
html:root body.jg-site :is(.button:disabled,button:disabled){cursor:not-allowed}
html:root body.jg-site :is(.feature-tabs,.panel,.login,.official-card,.official-note,.official-english,.fx-list,.fx-detail,.activation-card,.glass,.catalog-message,.jg-origin-head,.config-card,.home-channel,.seller-listing,.seller-stats article){
 background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;border-radius:22px!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html:root body.jg-site :is(input,select,textarea){background:var(--ui-surface-3)!important;border:1px solid transparent!important;border-radius:14px!important;box-shadow:none!important;color:var(--ui-text)!important}
html:root body.jg-site :is(input,select,textarea):focus{border-color:var(--ui-accent)!important}
html:root body.jg-site input[type=checkbox],html:root body.jg-site input[type=radio]{accent-color:var(--ui-accent)}

/* Home: two calm cards, keeping the real product preview. */
html:root body.jg-home main{width:100%!important;max-width:none!important;margin:0!important}
html:root body.jg-home .hero{margin:0!important;padding:24px 0 0!important}
html:root body.jg-home .hero-layout{display:grid!important;row-gap:16px!important;padding:0!important;grid-template-rows:auto!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;align-items:stretch!important;gap:16px!important}
html:root body.jg-home .hero-copy{height:auto!important;min-height:0!important;display:flex;flex-direction:column;align-items:flex-start;max-width:none!important;margin:0!important;padding:28px!important;border:1px solid var(--ui-border)!important;border-radius:22px!important;background:linear-gradient(135deg,var(--ui-surface-3),var(--ui-surface))!important}
html:root body.jg-home main h1{font-size:36px!important;line-height:1.12!important;letter-spacing:-.02em!important;margin:0!important;max-width:16em}
html:root body.jg-home .hero-description{font-size:15px!important;line-height:1.5!important;margin-top:14px!important;max-width:32em!important}
html:root body.jg-home .hero-actions{width:100%;display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;margin-top:24px!important}
html:root body.jg-home .hero-actions .button{width:100%;padding:0 12px!important;min-height:48px!important;font-size:15px!important}
html:root body.jg-home .hero-emblem{height:auto!important;min-height:0!important;display:flex!important;align-items:center;min-width:0;margin:0!important;padding:14px;border:1px solid var(--ui-border);border-radius:22px;background:var(--ui-surface)}
html:root body.jg-home .ui-shot{width:100%;border-radius:14px;box-shadow:none;transform:none!important;transition:none!important}
html:root body.jg-home .ui-shot::after{display:none;content:none}
html:root body.jg-home .ui-sources{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:20px;padding-top:16px;border-top:1px solid var(--ui-border)}
html:root body.jg-home .ui-source{display:flex;flex-direction:column;justify-content:center;gap:7px;min-width:0;min-height:58px;padding:6px 2px;border:0;background:transparent!important;font-size:11px;font-weight:600;text-align:center;white-space:normal}
html:root body.jg-home .ui-source svg{width:20px;height:20px;padding:8px;box-sizing:content-box;border-radius:11px;background:var(--ui-surface-3);color:var(--ui-accent)}
html:root body.jg-site .section{padding-top:36px!important}
html:root body.jg-home .section.features{padding-top:36px!important}
html:root body.jg-site .section-heading{margin-bottom:18px!important;gap:8px!important}
html:root body.jg-site .section-description,html:root body.jg-site .home-support-description{font-size:15px!important;color:var(--ui-text-3)!important}
html:root body.jg-site .ui-final{margin:36px 0!important;padding:24px!important;border:1px solid var(--ui-border)!important;border-radius:22px;background:var(--ui-surface);gap:16px}
html:root body.jg-site .ui-final h2{font-size:26px!important}

/* Feature picker, segmented filters and FAQ rows. */
html:root body.jg-site :is(.fx-filter,.config-filter,.cfg-chip,.jg-origin-btn){border:0!important;border-radius:999px!important;background:var(--ui-surface-3)!important;color:var(--ui-text-2)!important;box-shadow:none!important;font-size:14px!important;font-weight:600!important}
html:root body.jg-site :is(.fx-filter[aria-pressed=true],.config-filter[aria-pressed=true],.cfg-chip[aria-pressed=true],.jg-origin-btn[aria-selected=true]){background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important;box-shadow:none!important}
html:root body.jg-site .fx-row{border-radius:14px!important;font-size:14px!important;min-height:44px!important}
html:root body.jg-site .fx-row[aria-pressed=true]{background:var(--ui-surface-3)!important;box-shadow:none!important}
html:root body.jg-site .fx-detail{padding:24px!important}
html:root body.jg-site .fx-title{font-size:26px!important;line-height:1.15!important}
html:root body.jg-site .fx-eyebrow{font-size:12px!important;color:var(--ui-accent-text)!important}
html:root body.jg-site .faq-list{border:1px solid var(--ui-border);border-radius:22px;padding:4px 16px;background:var(--ui-surface);gap:0!important}
html:root body.jg-site .faq-list details{margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid var(--ui-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html:root body.jg-site .faq-list details:last-child{border-bottom:0!important}
html:root body.jg-site .faq-list summary{padding:18px 0!important;font-size:15px!important;font-weight:600!important}
html:root body.jg-site .faq-list details p{font-size:14px!important;color:var(--ui-text-2)!important;padding:0 0 18px!important}

/* Plan catalog: the Mini App's tariff rows in a single card. */
html:root body.jg-products main{width:min(1040px,calc(100% - 40px))!important;margin:28px auto 48px!important;padding:0!important}
html:root body.jg-products .store-heading{text-align:left!important;margin:0 0 20px!important}
html:root body.jg-products .store-heading h1{font-size:30px!important;margin:0 0 8px!important}
html:root body.jg-products .store-heading p{font-size:15px!important;color:var(--ui-text-3)!important;margin:0!important}
html:root body.jg-products .product-categories{display:flex!important;width:100%;max-width:none!important;margin:0 0 16px!important;padding:6px!important;background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;gap:4px!important}
html:root body.jg-products .product-categories button{flex:1 1 0!important;min-width:0!important;min-height:46px!important;padding:6px 12px!important;background:transparent!important;color:var(--ui-text-3)!important;font-size:14px!important;font-weight:600!important}
html:root body.jg-products .product-categories button[aria-selected=true]{background:var(--ui-surface-3)!important;color:var(--ui-text)!important;box-shadow:none!important}
html:root body.jg-products .catalog-plan-group{padding:22px 20px 8px;background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:22px}
html:root body.jg-products .catalog-plan-heading{margin:0 0 16px!important;font-size:24px!important;line-height:1.2!important}
html:root body.jg-products .plan-row-grid{display:block!important;width:100%!important;max-width:none!important;margin:0!important;gap:0!important;background:var(--ui-surface-3);border-radius:14px;overflow:hidden}
html:root body.jg-products .plan-row-grid .product-card,html:root body.jg-products .plan-row-grid .product-card.best{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(160px,auto) 120px;align-items:center;gap:16px!important;margin:0!important;padding:16px!important;border:0!important;border-bottom:1px solid var(--ui-border)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;opacity:1!important}
html:root body.jg-products .plan-row-grid .product-card:last-child{border-bottom:0!important}
html:root body.jg-products .plan-row-grid .product-art.photo-cover{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:44px!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;overflow:visible!important;aspect-ratio:auto!important;box-shadow:none!important}
html:root body.jg-products .plan-row-grid .product-art.photo-cover::before,html:root body.jg-products .plan-row-grid .product-art.photo-cover::after{content:none!important;display:none!important}
html:root body.jg-products .plan-row-grid .product-cover-title{display:flex!important;justify-content:flex-start!important;gap:6px!important;margin:0!important;padding:0!important;font-size:24px!important;line-height:1.2!important;white-space:nowrap}
html:root body.jg-products .plan-row-grid .product-cover-title span{font-size:14px!important;font-weight:500!important;color:var(--ui-text-2)!important;text-shadow:none!important}
html:root body.jg-products .plan-row-grid .product-badge{position:static!important;display:inline-flex!important;flex:none;align-items:center;min-height:22px;padding:3px 8px!important;background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important;border-radius:6px!important;box-shadow:none!important;font-size:10px!important;font-weight:700!important;line-height:1.2!important}
html:root body.jg-products .plan-row-grid .product-info h2{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;margin:0!important;padding:0!important}
html:root body.jg-products .plan-row-grid .product-price{min-height:0!important;display:flex!important;gap:8px!important;justify-content:flex-start!important;align-items:center!important}
html:root body.jg-products .plan-row-grid .product-price strong{font-size:24px!important;font-weight:700!important;color:var(--ui-accent-text)!important;line-height:1.2!important;white-space:nowrap}
html:root body.jg-products .plan-row-grid .jg-site-coin{display:inline-grid!important;place-items:center;min-width:24px;height:20px;padding:0 4px!important;margin-left:5px!important;border-radius:6px!important;background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important;font-size:10px!important;vertical-align:middle!important;-webkit-text-fill-color:var(--ui-accent-ink)!important}
html:root body.jg-products .plan-row-grid .ui-plan-facts{margin:0!important;font-size:11px!important;gap:4px}
html:root body.jg-products .plan-row-grid .ui-save{padding:3px 7px!important}
html:root body.jg-products .plan-row-grid .product-card>.button{width:100%!important;min-height:42px!important;margin:0!important;padding:0 14px!important;font-size:14px!important}
html:root body.jg-products .plan-row-grid .product-info .muted{font-size:12px!important;margin:4px 0 0!important}
html:root body.jg-site .config-product-grid{gap:14px!important}
html:root body.jg-site .config-product-grid .product-card{padding:18px!important;border:1px solid var(--ui-border)!important;border-radius:22px!important;background:var(--ui-surface)!important;box-shadow:none!important}
html:root body.jg-site .config-product-grid .product-price strong{font-size:26px!important}

/* Account, sheets, contacts and documents. */
html:root body.jg-account .tabs{background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;border-radius:999px!important;padding:6px!important;gap:4px!important}
html:root body.jg-account .tab{min-height:46px!important;color:var(--ui-text-3)!important;font-size:14px!important;font-weight:600!important}
html:root body.jg-account .tab.active{background:var(--ui-surface-3)!important;color:var(--ui-text)!important;box-shadow:none!important}
html:root body.jg-account .panel{padding:22px!important}
html:root body.jg-account .profile-balance strong{font-size:28px!important;color:var(--ui-text)!important}
html:root body.jg-account :is(.profile-balance,.plan-row,.device-row,.session-row){border-color:var(--ui-border)!important}
html:root body.jg-account :is(.plan-row,.device-row,.session-row){padding:14px!important;background:var(--ui-surface-3)!important;border-radius:14px!important;margin-bottom:8px}
html:root body.jg-account .subscription-panel{background:linear-gradient(135deg,var(--ui-surface-3),var(--ui-surface-2))!important;border-color:var(--ui-border-2)!important}
html:root body.jg-account .login{max-width:440px!important;padding:28px!important}
html:root body.jg-account .login h1{font-size:28px!important}
html:root body.jg-account .login-logo{width:52px!important;height:52px!important;border-radius:14px!important;box-shadow:none!important}
html:root body.jg-account :is(dialog,#modal,.fx-modal){border:1px solid var(--ui-border)!important;border-radius:28px!important;background:var(--ui-surface-2)!important;box-shadow:0 24px 80px #01040b80!important}
html:root body.jg-account :is(.modal-close,.topup-method-icon,.amount-presets button){background:var(--ui-surface-3)!important;border:0!important;color:var(--ui-text-2)!important;border-radius:999px!important;box-shadow:none!important}
html:root body.jg-account :is(.topup-method,.ui-gift-plan,.checkout-summary,.login-code){background:var(--ui-surface-3)!important;border:1px solid var(--ui-border)!important;border-radius:14px!important;box-shadow:none!important}
html:root body.jg-account .ui-gift-plan:has(input:checked),html:root body.jg-account .topup-method:has(input:checked){background:var(--ui-volt-soft)!important;border-color:var(--ui-accent)!important}
html:root body.jg-site .official-intro{padding:24px!important;background:var(--ui-surface)!important;border:1px solid var(--ui-border)!important;border-radius:22px!important;gap:24px!important;grid-template-columns:minmax(0,1fr) 96px!important;align-items:center!important}
html:root body.jg-site .official-logo{width:96px!important;height:96px!important;border-radius:22px!important;box-shadow:none!important;transform:none!important}
html:root body.jg-site .official-grid{gap:14px!important}
html:root body.jg-site .official-card{padding:22px!important}
html:root body.jg-site .official-card strong{font-size:22px!important}
html:root body.jg-site .official-note{padding:22px!important}
html:root body.jg-legal main{padding:28px!important;max-width:780px!important;line-height:1.6!important}
html:root body.jg-legal main h1{font-size:30px!important}
html:root body.jg-legal main :is(p,li){font-size:15px!important;line-height:1.7!important}
html:root body.jg-site .site-footer{border:0!important;padding-top:8px!important;margin-top:28px!important;font-size:13px!important}

@media(max-width:900px){
 html:root body.jg-home .hero-layout{display:grid!important;row-gap:16px!important;padding:0!important;grid-template-rows:auto!important;grid-template-columns:1fr!important}
 html:root body.jg-home .hero-emblem{padding:12px!important;max-width:none!important}
 html:root body.jg-products .plan-row-grid .product-card{grid-template-columns:minmax(0,1fr) auto 100px;gap:12px!important}
 html:root body.jg-products .plan-row-grid .product-art.photo-cover{flex-wrap:wrap;gap:6px!important}
 html:root body.jg-products .plan-row-grid .product-price{flex-direction:column;align-items:flex-start!important;gap:4px!important}
}
@media(max-width:640px){
 html:root body.jg-site .wrap{width:calc(100% - 28px)!important}
 html:root body.jg-site>.site-header{width:calc(100% - 28px)!important;margin-top:8px!important}
 html:root body.jg-site>.site-header .nav.wrap{width:100%!important;gap:10px!important}
 html:root body.jg-site .nav-toggle{width:38px!important;height:38px!important;border:0!important;border-radius:999px!important;background:var(--ui-surface)!important;box-shadow:none!important}
 html:root body.jg-site>.site-header .jg-header-nav[data-menu-open] .nav-links{border-radius:22px!important;background:var(--ui-surface-2)!important;border:1px solid var(--ui-border)!important;box-shadow:none!important}
 html:root body.jg-home .hero{padding-top:16px!important}
 html:root body.jg-home .hero-copy{padding:22px!important}
 html:root body.jg-home main h1{font-size:30px!important}
 html:root body.jg-site :is(.section-heading h2,.faq-heading h2){font-size:26px!important}
 html:root body.jg-home .hero-emblem{padding:10px!important}
 html:root body.jg-site .section{padding-top:28px!important}
 html:root body.jg-products main{width:calc(100% - 28px)!important;margin-top:20px!important}
 html:root body.jg-products .product-categories button{font-size:13px!important;padding:6px!important;min-height:44px!important}
 html:root body.jg-products .catalog-plan-group{padding:20px 12px 12px}
 html:root body.jg-products .catalog-plan-heading{font-size:22px!important;margin-left:4px!important}
 html:root body.jg-products .plan-row-grid .product-card{grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding:14px!important}
 html:root body.jg-products .plan-row-grid .product-cover-title{font-size:22px!important}
 html:root body.jg-products .plan-row-grid .product-price strong{font-size:22px!important}
 html:root body.jg-products .plan-row-grid .product-card>.button{grid-column:1/-1!important;min-height:42px!important}
 html:root body.jg-products .plan-row-grid .product-info{text-align:right}
 html:root body.jg-products .plan-row-grid .product-price{align-items:flex-end!important}
 html:root body.jg-site .ui-final{padding:22px!important}
 html:root body.jg-site .official-intro{grid-template-columns:minmax(0,1fr)!important;padding:22px!important}
 html:root body.jg-site .official-logo{display:none!important}
 html:root body.jg-legal main{padding:22px!important;width:calc(100% - 28px)!important}
 html:root body.jg-account .login{padding:24px 20px!important}
}
html:root body.jg-site .official-card::after{color:var(--ui-accent)!important}
html:root body.jg-site .official-lead{font-size:17px!important;color:var(--ui-text-2)!important;line-height:1.5!important}
html:root body.jg-site .fx-modal{border:1px solid var(--ui-border)!important;border-radius:28px!important;background:var(--ui-surface-2)!important;box-shadow:none!important}
html:root body.jg-site>.site-header .jg-header-nav .header-channel-link{border:0!important;background:var(--ui-surface-3)!important;color:var(--ui-text-2)!important;box-shadow:none!important}
html:root body.jg-account .status.frozen{background:#7dd3fc1a!important;color:#7dd3fc!important;border-color:#7dd3fc40!important}
html:root body.jg-account .status.off{background:#ff76761a!important;color:#ff7676!important;border-color:#ff767655!important}
html:root body.jg-site .jg-origin-switch{padding:6px!important;border:1px solid var(--ui-border)!important;border-radius:999px!important;background:var(--ui-surface)!important;box-shadow:none!important;gap:4px!important}
html:root body.jg-site .jg-origin-switch button{min-height:38px!important;border:0!important;border-radius:999px!important;background:transparent!important;color:var(--ui-text-3)!important;box-shadow:none!important;font-weight:600!important}
html:root body.jg-site .jg-origin-switch button[aria-pressed=true]{background:var(--ui-surface-3)!important;color:var(--ui-text)!important;box-shadow:none!important}
html:root body.jg-site .cfg-sort{border:0!important;border-radius:14px!important;background:var(--ui-surface)!important;box-shadow:none!important}

/* Fixed tariff columns: price widths do not depend on savings labels. */
html:root body.jg-products .catalog-plan-group{padding:24px!important}
html:root body.jg-products .catalog-plan-heading{margin:0 0 20px!important}
html:root body.jg-products .plan-row-grid :is(.product-card,.product-card.best){grid-template-columns:minmax(0,1fr) 228px 120px!important;gap:20px!important;min-height:80px!important;padding:18px 20px!important}
html:root body.jg-products .plan-row-grid .product-info{min-width:0!important;width:100%!important;text-align:left!important}
html:root body.jg-products .plan-row-grid .product-price{display:grid!important;grid-template-columns:132px 84px!important;grid-template-rows:auto!important;align-items:center!important;justify-content:start!important;gap:12px!important;width:228px!important}
html:root body.jg-products .plan-row-grid .product-price strong{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;align-items:center!important;gap:8px!important;width:132px!important;text-align:right!important;font-variant-numeric:tabular-nums!important;line-height:1.2!important}
html:root body.jg-products .plan-row-grid .jg-site-coin{width:24px!important;min-width:24px!important;height:20px!important;margin:0!important;justify-self:end!important;align-self:center!important}
html:root body.jg-products .plan-row-grid .ui-plan-facts{grid-column:2!important;display:block!important;width:84px!important;margin:0!important;padding:0!important;text-align:left!important;white-space:nowrap!important}
html:root body.jg-products .plan-row-grid .ui-plan-facts .ui-save{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:22px!important;margin:0!important;padding:3px 7px!important;line-height:1.2!important}
html:root body.jg-products .plan-row-grid .product-card>.button{width:120px!important;min-height:44px!important;justify-self:end!important}
@media(max-width:900px){
 html:root body.jg-products .plan-row-grid :is(.product-card,.product-card.best){grid-template-columns:minmax(0,1fr) 208px 100px!important;gap:16px!important;padding:16px!important}
 html:root body.jg-products .plan-row-grid .product-price{grid-template-columns:124px 76px!important;gap:8px!important;width:208px!important}
 html:root body.jg-products .plan-row-grid .product-price strong{width:124px!important}
 html:root body.jg-products .plan-row-grid .ui-plan-facts{width:76px!important;font-size:10px!important}
 html:root body.jg-products .plan-row-grid .product-card>.button{width:100px!important}
}
@media(max-width:640px){
 html:root body.jg-products .catalog-plan-group{padding:20px 12px 12px!important}
 html:root body.jg-products .catalog-plan-heading{margin:0 4px 16px!important}
 html:root body.jg-products .plan-row-grid :is(.product-card,.product-card.best){grid-template-columns:minmax(0,1fr) 124px!important;gap:12px!important;padding:14px!important;min-height:128px!important}
 html:root body.jg-products .plan-row-grid .product-price{grid-template-columns:124px!important;grid-template-rows:27px 22px!important;gap:4px!important;width:124px!important;justify-items:end!important}
 html:root body.jg-products .plan-row-grid .product-price strong{grid-column:1!important;grid-row:1!important;width:124px!important}
 html:root body.jg-products .plan-row-grid .ui-plan-facts{grid-column:1!important;grid-row:2!important;justify-self:end!important;width:max-content!important;text-align:right!important}
 html:root body.jg-products .plan-row-grid .product-card>.button{width:100%!important;grid-column:1/-1!important;justify-self:stretch!important}
}

html:root body.jg-products .plan-row-grid .catalog-price-label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
html:root body.jg-products .plan-row-grid .product-price>strong{grid-column:1!important;grid-row:1!important}
html:root body.jg-products .plan-row-grid .ui-plan-facts{grid-row:1!important}
html:root body.jg-products .plan-row-grid :is(.product-card,.product-card.best){height:84px!important}
@media(max-width:640px){
 html:root body.jg-products .plan-row-grid .ui-plan-facts{grid-row:2!important}
 html:root body.jg-products .plan-row-grid :is(.product-card,.product-card.best){height:136px!important}
}
@media(max-width:640px){
 html:root body.jg-products .plan-row-grid .product-art.photo-cover{align-self:start!important;min-height:27px!important}
 html:root body.jg-products .plan-row-grid .product-info{align-self:start!important}
}

/* Legal pages also load without the storefront's global border-box reset. */
html:root body.jg-site.jg-legal main{box-sizing:border-box!important;min-width:0!important;width:min(780px,calc(100% - 40px))!important;max-width:780px!important;margin:24px auto!important;overflow-wrap:anywhere!important}
html:root body.jg-site.jg-legal main *,html:root body.jg-site.jg-legal main *::before,html:root body.jg-site.jg-legal main *::after{box-sizing:border-box}
@media(max-width:640px){html:root body.jg-site.jg-legal main{width:calc(100% - 28px)!important}}

/* Shared border-box sizing; login must shrink to its parent on phones. */
html:root body.jg-site,html:root body.jg-site *,html:root body.jg-site *::before,html:root body.jg-site *::after{box-sizing:border-box}
html:root body.jg-site.jg-account #login-screen.login{box-sizing:border-box!important;width:100%!important;max-width:min(440px,100%)!important;min-width:0!important;margin-left:auto!important;margin-right:auto!important}
