/* V34: global visual consistency and accessible theme contrast.
   Applied last, after the original component styles. No auth/billing behavior changed. */
html.theme-light{color-scheme:light;--fld-on:#172541;--fld-secondary:#435573;--fld-border:#bfcae0;--fld-card:#fff}
html:not(.theme-light){color-scheme:dark;--fld-on:#f6f7ff;--fld-secondary:#bfc9e4;--fld-border:#586289;--fld-card:#151b36}
html.theme-light body,html.theme-light .site-shell{background:#f5f7ff;color:#192947}
html.theme-light :is(.contact-section,.pricing-block,.reviews-inline,.footer,.workspace-shell,.app-view){color:#192947}
html.theme-light :is(.contact-form,.neural-price,.ws-card,.ws-order,.portal-card,.v32-summary>div,.v30-auth-card){background:#fff!important;color:#192947!important;border-color:#cbd5e9!important}
html.theme-light :is(.neural-price,.contact-form,.pricing-block,.contact-section,.reviews-inline,.footer,.v30-auth-page,.v30-auth-story,.v30-auth-card,.workspace-shell,.workspace-content,.ws-card,.ws-order,.portal-card,.modal,.fld-service-detail) :is(h1,h2,h3,h4,h5,legend,label,strong){color:#142440!important}
html.theme-light :is(.neural-price,.contact-form,.pricing-block,.contact-section,.reviews-inline,.footer,.v30-auth-page,.v30-auth-story,.workspace-shell,.workspace-content,.ws-card,.ws-order,.portal-card) :is(p,li,small,dd,dt){color:#405476!important}
html.theme-light :is(.contact-form,.workspace-shell,.ws-card,.ws-order,.modal,.wizard-shell) :is(input:not([type=checkbox]),select,textarea){background:#fff!important;color:#172744!important;border:1px solid #aebfdb!important;opacity:1!important}
html.theme-light :is(input,textarea)::placeholder{color:#637492!important;opacity:1}
html.theme-light :is(.contact-form,.ws-card,.ws-order,.workspace-content) :is(label,legend,label span){color:#1d3051!important}
html.theme-light :is(.contact-form,.workspace-content,.ws-card,.ws-order,.v30-auth-card) :is(button,a):focus-visible{outline:3px solid #288cf5;outline-offset:3px}
/* Price cards: visible text before hover, in BOTH EN / Urdu. */
html.theme-light #pricingGrid .fld-service-card :is(.price-label,.popular-label){color:#6253bd!important}
html.theme-light #pricingGrid .fld-service-card :is(.price-amount small,.price-amount span){color:#465d7b!important}
html.theme-light #pricingGrid .fld-service-card .price-amount strong{color:#172746!important}
html.theme-light #pricingGrid .fld-service-card .fld-details-btn{color:#20355c!important;background:#f8faff!important;border:1px solid #7967b9!important;opacity:1!important;visibility:visible!important}
html.theme-light #pricingGrid .fld-service-card .fld-details-btn:hover{color:#fff!important;background:#322569!important}
html.theme-light #pricingGrid .fld-service-card .price-action{background:linear-gradient(105deg,#2879dc,#793be2)!important;color:#fff!important;border:1px solid transparent!important;opacity:1!important;visibility:visible!important;font-weight:750!important}
html.theme-light #pricingGrid .fld-service-card .price-action:hover{background:linear-gradient(105deg,#145cbd,#6221c0)!important;color:#fff!important}
html:not(.theme-light) #pricingGrid .fld-details-btn{color:#f6f7ff!important;border-color:#887acc!important}
html:not(.theme-light) #pricingGrid .price-action{color:#fff!important}
#pricingGrid .fld-service-actions button{font-weight:700;min-height:46px;line-height:1.35;padding:10px 15px;border-radius:11px}
/* Details modal generated at runtime: do not force dark card backgrounds in light mode. */
html.theme-light .fld-service-detail{color:#162745!important}
html.theme-light .fld-service-detail>p,html.theme-light .fld-detail-note{color:#425574!important}
html.theme-light .fld-detail-columns section{background:#f5f7ff!important;border-color:#cbd5e8!important}
html.theme-light .fld-detail-columns :is(li,p){color:#384d6d!important}
html.theme-light .fld-detail-price{color:#5b2fba!important}
html.theme-light .fld-detail-price small{color:#596a86!important}
/* Fix unreadable login story and washed-out legal links. */
html.theme-light .v30-auth-page{--v30-white:#172542!important;color:#172542!important}
html.theme-light .v30-auth-story h1{color:#172542!important}
html.theme-light .v30-auth-story>p,html.theme-light .v30-auth-features>div{color:#435676!important}
html.theme-light .v30-auth-card{background:linear-gradient(145deg,#ffffff,#f1f4fc)!important;box-shadow:0 22px 60px #172c581a!important}
html.theme-light .v30-auth-card :is(h2,.v30-login-note,.v30-auth-legal),html.theme-light .v30-auth-card>p{color:#243451!important}
html.theme-light .v30-google-btn{color:#172542!important;background:#fff!important;border-color:#9badd0!important}
html.theme-light .v30-google-btn:hover{color:#172542!important;background:#e9efff!important}
html.theme-light .v30-auth-legal a{color:#254eaf!important}
/* Payment instructions must not become navy-on-navy in light mode. */
html.theme-light :is(.v26-payment-box,.qr-payment,.ws-card) :is(.notice,.payment-notice,.v26-pay-instructions){background:#eaf0ff!important;color:#213758!important}
html.theme-light :is(.v26-payment-box,.qr-payment,.ws-card) :is(.notice,.payment-notice,.v26-pay-instructions) *{color:#213758!important}
html.theme-light .ws-card .mini-action,html.theme-light .ws-order .mini-action{color:#18305a!important;background:#e8efff!important;border:1px solid #9eb2da!important}
html.theme-light .ws-card .mini-action:hover,html.theme-light .ws-order .mini-action:hover{color:#fff!important;background:#2b58ac!important}
/* Contact: clear labels, typed fields, text, and result alert. */
html.theme-light .contact-section .contact-heading h2{color:#142440!important}
html.theme-light .contact-form label span{color:#1a2c4a!important;opacity:1!important}
html.theme-light .contact-form :is(input,select,textarea){color:#192b47!important;background:#fff!important;border-color:#aabbd7!important}
html.theme-light .contact-form :is(input,select,textarea):focus{border-color:#397dea!important;outline:2px solid #c3d7ff!important;outline-offset:1px}
html.theme-light .contact-section .contact-method a{color:#2456b8!important}
html.theme-light #contactResult{color:#1d4374!important}
/* Keep the illustration visually aligned with a light-themed homepage. */
html.theme-light .dev-window{background:#f9fbff!important;border:1px solid #bdcbea!important;box-shadow:0 28px 70px #172e5b23!important}
html.theme-light .dev-window-bar{background:#eaf0ff!important;color:#425a80!important;border-bottom-color:#d4ddf1!important}
html.theme-light .dev-window-bottom{background:#eaf0ff!important;color:#425a80!important;border-top-color:#d4ddf1!important}
html.theme-light .dev-code-panel{background:#ecf2ff!important;border-right-color:#ccd9ed!important}
html.theme-light .dev-panel-title,html.theme-light .dev-console{background:#e4edfc!important;color:#405a80!important}
html.theme-light .dev-code-lines{color:#2d4164!important}
html.theme-light .dev-code-lines .ln{color:#7789a5!important}
html.theme-light .dev-code-lines .kw{color:#7945ac!important}
html.theme-light .dev-code-lines .var,html.theme-light .dev-code-lines .fn{color:#1760a6!important}
html.theme-light .dev-code-lines .str{color:#146e54!important}
html.theme-light .dev-preview-panel{background:#e2eafb!important}
html.theme-light .dev-preview-body{background:radial-gradient(circle at 85% 80%,#d4d7ff,#f3f5ff 63%,#e6eeff)!important}
html.theme-light .dev-preview-body :is(.preview-logo,.preview-headline){color:#203159!important}
html.theme-light .dev-preview-body :is(.preview-nav,.preview-desc){color:#425777!important}
html.theme-light .dev-preview-body .preview-overline{color:#3051a7!important}
html.theme-light .preview-cta{background:#2d529e!important;color:#fff!important}
html.theme-light .dev-floating-card{background:#f5f8ffef!important;border-color:#bdcbea!important;color:#243758!important;box-shadow:0 12px 35px #1b377b25!important}
html.theme-light .dev-floating-card :is(strong,small){color:#243758!important}
/* Compact adaptable controls without cutting Urdu words or touch targets. */
@media(max-width:760px){#pricingGrid.pricing-grid{grid-template-columns:repeat(1,minmax(0,1fr))!important;gap:16px!important}#pricingGrid .fld-service-card{padding:22px!important}#pricingGrid .fld-service-actions button{min-height:44px;font-size:14px}.contact-grid{grid-template-columns:1fr!important}.v30-auth-grid{grid-template-columns:1fr!important}.fld-detail-columns{grid-template-columns:1fr!important}}
@media(max-width:430px){.hero-actions .btn{min-height:44px!important;font-size:13px!important;padding:10px 14px!important}.contact-form{padding:20px 16px!important}.v30-auth-card{padding:24px 18px!important}.fld-service-detail{padding:0 2px!important}}
@media(prefers-reduced-motion:reduce){#pricingGrid button,.dev-window{transition:none!important}}
