/* Final review: readable cabinet controls in both themes, with the approved accents. */
#modal{background:#fff}
.modal-close{background:#f5f7fb;color:#303b55}
.modal-close:hover{background:var(--polet-yellow);color:#171b31}
.checkout-plan{background:#f5f7fb;border-color:#e2e7ef}
.checkout-modal .lead,.checkout-field small,.checkout-plan span,.checkout-total>div:first-child,.payment-email,.payment-screen .lead,.payment-screen .payment-timer{color:#626b7d}
.checkout-field>span,.checkout-plan strong,.payment-email strong{color:#171b31}
.countries-hero img{mask-image:none;object-fit:contain;opacity:1}
.knowledge-base-copy small,.knowledge-base-copy>span{color:#626b7d}
.knowledge-base-panel>b,.card-support-link,.dialog-back,.flow-back{color:#2447b8}
.currency,.guideNumber,.flow-state-icon:not(.success){background:var(--polet-yellow);color:#171b31}
.statusPending{background:var(--polet-yellow);color:#171b31}
.statusFailed{background:#ffedef;color:#a82d3e}
.history-type-tabs button[aria-pressed=true]{background:var(--polet-yellow);color:#171b31;border-color:var(--polet-yellow)}
.history-controls label,#reveal-hint{color:#626b7d}
.opAmount.in{color:#23794c}
.tabbar a{color:#626b7d}
.opTitle .pending-operation{margin-left:8px}
.below>.helpPanel{align-self:start;min-height:0;height:auto}
.cardWorkspace{background:#fff;border-color:#e2e7ef}
.card-back[data-back=plus]{background:linear-gradient(135deg,#315ec6,#214695);color:#fff}
.card-back #otp-message{color:#e3edff}
.cardChip[aria-pressed=true]{background:#f5f7fb;border-color:#2459e7}
.cardChip small{color:#626b7d}
.cardTools button{background:#f5f7fb;color:#303b55;border-color:#e2e7ef}
.cardTools button:hover,.cardTools button[aria-pressed=true]{background:#eaf0ff;color:#2447b8;border-color:#b8caf7}
.helpPanel .helpIcon{background:var(--polet-yellow);color:#171b31}
.empty-issue-tile{background:#f8faff;border-color:#dbe3f0;color:#171b31;box-shadow:none}
.empty-issue-tile:hover{border-color:#91acf0;box-shadow:0 8px 22px #2234540d}
.empty-esim-promo{background:linear-gradient(115deg,#2e62d6,#2459e7);border-color:#2459e7;box-shadow:0 12px 28px #2459e71a}
.empty-esim-promo small,.empty-esim-promo em{color:#fff}
.empty-esim-promo>b{background:var(--polet-yellow);color:#171b31}
.empty-esim-icon{background:var(--polet-yellow);color:#171b31;border-color:var(--polet-yellow);box-shadow:5px 8px 0 #173f9f,14px 20px 24px #14326840}
.pending-issue{background:#f5f7fb;border-color:#dfe5ef;color:#171b31}
.pending-issue p{color:#626b7d}
.esim-product{background:#eef4ff;border-color:#dbe4f5}
.esim-copy h2{color:#171b31}
.esim-copy>p,.esim-copy ul,.esim-copy li,.esim-world{color:#546177}
.esim-copy li:before{color:#2459e7}
.esim-badge{background:var(--polet-yellow);color:#171b31}
.esim-chip{background:radial-gradient(ellipse at 8% 0,#9fc9ff,transparent 62%),linear-gradient(135deg,#6197f0,#2e5cc8 65%,#2246a0);border-color:#b7d0f8;box-shadow:inset 0 1px 3px #fff8,3px 4px 0 #21499f,20px 30px 40px #22345426;color:#fff}
.esim-chip>svg{color:var(--polet-yellow)}
.esim-status{color:#2447b8}
#esim-dialog .fineprint{margin-top:12px}
.esim-terms div,.guideShot{border-color:#e2e7ef}
.topup-quote{background:#f5f7fb;color:#171b31}
.topup-quote dt{color:#626b7d}
.dark .demo-banner{background:#202637;color:#bcc5d8}
.dark .eyebrow,.dark .cardChip small,.dark .switcherHeading span:last-child,.dark .cardTapHint{color:#b8c2d6}
.dark .cardWorkspace,.dark .empty-home .empty-card-workspace{background:#222b3b;border-color:#3b465a}
.dark .knowledge-base-panel,.dark .empty-issue-tile{background:#222b3b;border-color:#3b465a;color:#f4f6fc}
.dark .knowledge-base-copy small,.dark .knowledge-base-copy>span{color:#bcc5d8}
.dark .knowledge-base-panel>b,.dark .card-support-link,.dark .dialog-back,.dark .flow-back{color:#a8c4ff}
.dark .cardChip[aria-pressed=true],.dark .cardTools button{background:#2c374c;border-color:#4d6080;color:#f4f6fc}
.dark .cardChip[aria-pressed=true]{border-color:var(--polet-yellow)}
.dark .cardTools button:hover,.dark .cardTools button[aria-pressed=true]{background:#364869;color:#fff;border-color:#86aaff}
.dark .polet-plan,.dark .polet-plan.pp-plus{background:#fff;border-color:#e0e5ef;color:#171b31}
.dark .polet-plan.pp-premium{border-color:var(--polet-yellow)}
.dark .polet-plan h3,.dark .polet-plan .pp-price,.dark .polet-plan .pp-terms dd{color:#171b31}
.dark .polet-plan .pp-description,.dark .polet-plan .pp-terms dt,.dark .polet-plan .pp-price small{color:#626b7d}
.dark .polet-plan .pp-terms>div{border-color:#e2e7ef}
.dark .esim-product{background:#222b3b;border-color:#3b465a}
.dark .esim-copy h2{color:#f4f6fc}
.dark .esim-copy>p,.dark .esim-copy li,.dark .esim-world{color:#bcc5d8}
.dark .esim-badge{background:var(--polet-yellow);color:#171b31}
.dark .topup-quote{background:#2c374c;color:#f4f6fc}
.dark .topup-quote dt{color:#bcc5d8}
.dark .pending-issue{background:#222b3b;color:#f4f6fc;border-color:#3b465a}
.dark .pending-issue p{color:#bcc5d8}
.dark .tabbar a[aria-current=page],.dark .tabbar a[aria-current=page] svg{color:var(--polet-yellow)}
.dark .tabbar a,.dark .history-controls label{color:#bcc5d8}
.dark .tabbar a[aria-current=page]{color:var(--polet-yellow)}
.dark .fineprint,.dark #issue-promo-status,.dark #cab-promo-status{color:#bcc5d8}
.demo-banner,.shell .caption,.shell .lead,.shell .syncNote{color:#626b7d}
.shell{--muted:#626b7d}
.pp-price .pp-old-price{color:#6b7080}
.pp-wallets.available i{background:#23794c;color:#fff}
.esim-chip{--duck-eye:#315cc4}
.dark .caption,.dark .lead,.dark .syncNote,.dark #reveal-hint{color:#bcc5d8}
/* Keep every desktop tariff action visible at intermediate laptop heights. */
@media(min-width:761px) and (min-height:801px) and (max-height:950px){
 .pp-visual{height:120px;margin-block:3px}.pp-visual>.bank-card{width:185px}
 .pp-perks{gap:5px;margin-bottom:8px}.pp-perks>span{min-height:27px;padding-block:4px}
 #issue .issue-promo{margin-bottom:12px}
}
/* Keep the demo exit legible without changing the shared accent palette. */
button.demo-badge{background:#edf2ff;color:#2447b8;border-color:#c8d6f7}
button.demo-badge:hover{background:#e0eaff;color:#1743a5}
.dark button.demo-badge{background:#2c374c;color:#f4f6fc;border-color:#7186a8}
.dark button.demo-badge:hover{background:#364869;color:#fff}
/* Compact the mobile cabinet storefront above the fixed bottom navigation. */
@media(max-width:760px) and (max-height:900px){
 body[data-view=issue] .content{padding-top:8px}
 #issue>.head{flex-wrap:nowrap;align-items:center;gap:10px;margin-bottom:7px}
 #issue>.head h1{font-size:24px!important;white-space:nowrap}
 #issue>.head .preview-open{max-width:102px;flex:0 1 102px;white-space:normal;text-align:right;font-size:11px;line-height:15px;padding:0}
 #cabinet-plans .polet-plan{padding-block:12px}
 #cabinet-plans .pp-visual{height:clamp(56px,calc(100dvh - 768px - env(safe-area-inset-bottom)),84px);padding:2px;margin:2px 0 4px}
 #cabinet-plans .pp-visual>.bank-card{width:clamp(88px,calc(100dvh - 726px - env(safe-area-inset-bottom)),125px)}
 #cabinet-plans .pp-description{margin:3px 0 5px!important}
 #cabinet-plans .pp-perks{gap:3px;margin-bottom:5px}
 #cabinet-plans .pp-perks>span{min-height:24px;padding-block:3px}
 #cabinet-plans .pp-brands{margin-bottom:5px}
 #cabinet-plans .pp-brands>span,#cabinet-plans .pp-more{height:28px}
 #cabinet-plans .pp-wallets{margin-bottom:5px}
 #cabinet-plans .pp-terms{margin-bottom:6px!important}
 #cabinet-plans .pp-terms>div{padding-block:3px}
 #cabinet-plans .pp-bottom{gap:7px}
 #cabinet-plans .pp-price{gap:4px}
}

@media(max-width:760px) and (max-height:800px){
 #cabinet-plans .polet-plan{padding-block:10px}
 #cabinet-plans .pp-terms>div{padding-block:2px}
 #cabinet-plans .pp-bottom{gap:6px}
}

/* Lesya review: larger hero service marks and one NFC scale in every card context. */
.hero-service-orbit .orbit-service{width:60px;height:60px;border-radius:18px}
.hero-service-orbit .orbit-service img{left:18%;top:18%;width:64%;height:64%;max-width:64%;max-height:64%}
.bank-card>.contactless{width:10%;height:21%;line-height:0}
.bank-card>.contactless,#modal .bank-card>.contactless{color:#fff}
.bank-card>.contactless>svg.ui-icon,#modal .bank-card>.contactless>svg.ui-icon{display:block;width:100%;height:100%;aspect-ratio:auto}
/* Cabinet filter chips must not add padding or a minimum height to card artwork. */
.bank-card>.chip{min-height:0;padding:0}
@media(max-width:1050px){.hero-service-orbit .orbit-service{width:50px;height:50px;border-radius:15px}}
@media(max-width:760px){.hero-service-orbit .orbit-service{width:40px;height:40px;border-radius:12px}}
@media(max-width:760px) and (max-height:620px){.hero-service-orbit .orbit-service{width:35px;height:35px;border-radius:11px}}

/* Restore the hero hierarchy and keep cabinet navigation within a compact pill. */
@media(min-width:761px){.brief-hero h1{font-size:clamp(38px,4.4vw,62px);line-height:1.08}}
@media(max-width:760px){.brief-hero h1{font-size:clamp(30px,8.2vw,40px);line-height:1.08}}
.topbar .nav a{height:40px;justify-content:center;padding:0 13px;border:1px solid transparent;border-radius:12px;line-height:1.2}
.topbar .nav a[aria-current=page]{border-color:var(--polet-yellow)}

/* Lesya review: only the benefit words use the approved yellow. */
.brief-utp-highlight{color:var(--polet-yellow)}
.brief-utp-price{white-space:nowrap}

/* Distinguish the hero payment marks from the pale page background. */
.brief-service-row>.brief-pay-logo{background:#e5edff;box-shadow:inset 0 0 0 1.5px #9db8f4,0 5px 14px #2459e71a}
