@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/instrument-sans-400.ttf') format('truetype')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:500;font-display:swap;src:url('assets/fonts/instrument-sans-500.ttf') format('truetype')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/instrument-sans-600.ttf') format('truetype')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/instrument-sans-700.ttf') format('truetype')}
body,body *{font-family:'Instrument Sans',system-ui,-apple-system,sans-serif!important}
html{color-scheme:light}
.theme-control{display:inline-flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface);color:var(--ink);font-size:12px;font-weight:600;min-height:42px;cursor:pointer}
.theme-switch{display:block!important;position:relative;flex:0 0 34px;width:34px!important;height:20px!important;border-radius:20px;background:#c7d0ca}
.theme-switch::after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:white;transition:transform .15s}
[data-theme-toggle][aria-checked=true] .theme-switch{background:#35e77b}
[data-theme-toggle][aria-checked=true] .theme-switch::after{transform:translateX(14px);background:#102a1a}
.auth-panel{position:relative}.auth-theme-control{position:absolute;top:20px;right:20px}.appearance-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px;padding-bottom:20px;border-bottom:1px solid var(--line)}.appearance-row strong{display:block}.appearance-row p{color:var(--muted);font-size:12px;margin:6px 0 0}
.mobile-topbar .theme-control{margin-left:auto;padding:8px;min-height:36px;gap:6px;font-size:10px}.mobile-topbar .mobile-help-button{margin-left:8px}.mobile-account-list [data-theme-toggle]{width:100%;display:flex;border:0;border-radius:0;padding:16px}.mobile-account-list [data-theme-toggle] .theme-switch{margin-left:auto}
html[data-theme=dark]{color-scheme:dark;--ink:#edf5ef;--navy:#101512;--navy-soft:#19221c;--cyan:#35e77b;--cyan-deep:#35e77b;--blue:#35e77b;--violet:#b6edc8;--paper:#101512;--surface:#19221c;--line:#2c3930;--muted:#aab7ae;--shadow:0 15px 40px #00000020;--dark-panel:#19221c;--dark-soft:#202d24;--dark-green:#173825}
html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] :is(.topbar,.workspace,.mobile-navigation,.mobile-topbar,.auth-panel,.auth-shell,#mobile-plan-footer){background:var(--paper);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.panel,.empty-surface,.fixed-plan-card,.plan-config,.coverage-dialog,.trial-dialog,.info-dialog,dialog,.destination-search,.mobile-destination-list,.mobile-destination-row,.mobile-account-list,.mobile-account-list button,.mobile-active-plan,.support-option,.support-ticket-row,.support-bubble.assistant,.planner-country-results,.checkout-status-card,.credit-note){background:var(--dark-panel);color:var(--ink);border-color:var(--line);box-shadow:none}
html[data-theme=dark] :is(.catalog-toolbar,.coverage-summary,.mobile-planner-link,.mobile-profile-card){background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(input,select,textarea,.secondary-button,.duration-chip,.usage-option,.support-topic,.auth-tabs,.explore-switch,.catalog-tabs){background:var(--dark-soft);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.auth-tab.active,.catalog-tab.active,.explore-switch button[aria-selected=true]){background:#35433a;color:#ffffff;box-shadow:none}
html[data-theme=dark] :is(.mobile-trial-offer,.mobile-preview-banner,.catalog-trial-banner,.trial-eligibility.eligible,.support-human-note,.support-bubble.customer,.support-ticket-confirmation,.trial-product-summary>span,.esim-facts>div,.coverage-list span,.planner-trip-summary,.planner-selected-countries>button,.duration-chip.active,.fixed-plan-card.mobile-selected-plan){background:var(--dark-green);color:var(--ink);border-color:#34744a}
html[data-theme=dark] :is(.mobile-destination-row:hover,.planner-country-results>button:hover){background:var(--dark-soft)}
html[data-theme=dark] :is(.mobile-heading p,.page-head p,.catalog-intro p,.fixed-plan-card p,.fixed-plan-card small,.mobile-destination-row small,.mobile-profile-card small,.mobile-account-list small,.mobile-planner-link small,.mobile-trial-offer p,.mobile-preview-note,.mobile-list-heading,.mobile-plan-meta,.mobile-active-plan>p,.checkout-disclosure,#mobile-plan-footer small,.credit-currency-label,.coverage-summary small,.mobile-data-left){color:var(--muted)}
html[data-theme=dark] :is(.mobile-eyebrow,.mobile-trial-offer .mobile-eyebrow,.mobile-section-heading button,.mobile-back-link,.mobile-planner-link>span:last-child,.mobile-trial-offer #mobile-trial-start,.mobile-profile-card button,.mobile-example-help,.coverage-link,.eyebrow.ink,.text-button,.account-item-icon,.mobile-navigation button.active){color:#35e77b}
html[data-theme=dark] :is(.mobile-data-left strong,.coverage-summary strong,.fixed-plan-card>strong,.price-summary strong,.page-head h1,.mobile-heading h1,.catalog-intro h2){color:var(--ink)}
html[data-theme=dark] :is(.mobile-destination-row+.mobile-destination-row,.mobile-account-list button+button,.appearance-row,.mobile-planner-link){border-color:var(--line)}
html[data-theme=dark] :is(.country-code,.coverage-summary>span,.mobile-avatar,.account-item-icon,.empty-visual,.metric-icon,.reusable-badge,.fixed-badge,.result-badge){background:var(--dark-green);color:#72efa1}
html[data-theme=dark] :is(.mobile-wordmark,.sidebar>.brand,.auth-story>.brand){background:transparent;border-radius:0;padding:0}
html[data-theme=dark] :is(.mobile-wordmark img,.teliny-logo,.auth-panel>img){filter:brightness(0) invert(1)}
html[data-theme=dark] .mobile-navigation button{color:#aab7ae}
html[data-theme=dark] .mobile-navigation button.active{color:#35e77b}
html[data-theme=dark] .mobile-help-button{color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .wallet-card{color:#102a1a}.wallet-card strong{color:#102a1a}
html[data-theme=dark] .primary-button{background:#35e77b;color:#102a1a;border-color:#35e77b}
html[data-theme=dark] .theme-control{background:var(--dark-panel);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#aab7ae;opacity:1}
html[data-theme=dark] :is(.catalog-tab,.explore-switch button,.auth-tab,.dismiss-trial){color:#aab7ae}
html[data-theme=dark] :is(.catalog-tab.active,.explore-switch button[aria-selected=true],.auth-tab.active){color:#edf5ef}
.mobile-appearance-switch{width:100%;margin-bottom:8px}
html[data-theme=dark] :is(.connection-empty,.plan-preview,.region-explore-card,.region-card,.service-coming-soon,.trial-esim-card,.trial-esim-main,.esim-card,.support-thread-message,.coverage-empty){background:var(--dark-panel);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.icon-button,.status-pill.neutral,.checkout-preview-tools button,.support-chat-topics button){background:var(--dark-soft);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .light-button{background:#edf5ef;color:#102a1a}
html[data-theme=dark] :is(.mini-globe,.status-pill.trial-ready){background:var(--dark-green);color:#72efa1}
html[data-theme=dark] :is(.planner-trip-summary small,.support-ticket-row b){color:var(--muted)}
html[data-theme=dark] .plan-ribbon.max{color:#102a1a}
@media(max-width:600px){.topbar-actions .theme-control>span:first-child{display:none}.appearance-row{gap:12px}.mobile-topbar .theme-control .theme-switch{flex-basis:28px;width:28px!important}.mobile-topbar [aria-checked=true] .theme-switch::after{transform:translateX(8px)}}
@media(prefers-reduced-motion:reduce){.theme-switch::after{transition:none}}
