/* Component colour pairs: keep light panels readable inside dark pages. */
html[data-restime-shell]:not([data-theme=contrast]) .skip-link{background:#fff;color:#13241e}
html[data-restime-shell] main :is(p,li){line-height:1.65}
html[data-restime-shell] :is(.hero-lead,.hero-intro,.section-intro>p,.section-heading>p,.marketing-hero-copy>p){max-width:65ch}
html[data-restime-shell] :is(.eyebrow,.kicker,.marketing-kicker,.section-kicker){font-size:12px;line-height:1.5}
html[data-restime-shell] :is(.feature-grid,.process-grid,.pricing-grid,.module-grid,.industry-grid)>*{min-width:0}
html[data-restime-shell] :is(.feature-card,.step-card,.process-grid article,.feature-grid article) p{font-size:16px;line-height:1.65}
html[data-restime-shell] :is(.hero-actions,.sales-prompt-actions,.final-cta-buttons){gap:16px}
html[data-restime-shell] :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #45bb88;outline-offset:5px}
html[data-restime-shell] :is(.hero-fineprint,.hero-proof span,.hero-proof li,.estimate-note,.source-note){font-size:14px;line-height:1.6}
html[data-restime-shell] :is(.hero-proof,.hero-fineprint){text-wrap:pretty}
html[data-restime-shell=restime-booking-services][data-theme=dark] :is(.button.primary,.button.mint,.included-grid article>span){color:#13241e}
html[data-restime-shell=restime-booking-services][data-theme=dark] :is(.kicker,.eyebrow,.sales-prompt-eyebrow,.pricing-number,.system-flow b){color:#a8e4c8}
html[data-restime-shell=restime-booking-services][data-theme=dark] :is(.sales-prompt.is-mint,.sales-prompt.is-light){background:#203b2e;color:#f4f7f4}
html[data-restime-shell=restime-booking-services][data-theme=dark] :is(.flow-grid article>span,.showcase-tabs button span){color:#a8e4c8}
html[data-restime-shell=restime-compress][data-theme=dark] :is(.media-number,.feature-card>span,.eyebrow){color:#a8e4c8}
html[data-restime-shell=restime-compress][data-theme=dark] :is(.primary-button--light,.variant-card__head em,.blog-callout){background:#a8e4c8;color:#13241e}
html[data-restime-shell=restime-compress][data-theme=dark] .cta-section{background:#184d39}
html[data-restime-shell=program-pre-dokumenty-do-excell][data-theme=dark] :is(.marketing-formats span,.preview-toolbar em,.process-grid article>span){background:#a8e4c8;color:#13241e}
html[data-restime-shell=program-pre-dokumenty-do-excell][data-theme=dark] :is(.marketing-kicker,.preview-total strong){color:#a8e4c8}
html[data-restime-shell=restime-invoice]:not([data-theme=contrast]) .contact-section :is(.eyebrow,h2 span){color:#105239}
/* CRM and Web deliberately retain pale content sections. */
html[data-restime-shell=restime-crm]:not([data-theme=contrast]){--muted:#4e655a}
html[data-restime-shell=restime-web]:not([data-theme=contrast]) .check{color:#a8e4c8;background:#20553f}
html[data-restime-shell=restime-web][data-theme=dark] :is(.hero-fineprint,.hero-bonus>span,.hero-proof span),
html[data-restime-shell=restime-crm][data-theme=dark] :is(.hero-lead,.hero-proof span,.orbit-node small,.orbit-center small){color:#c4d5cb}
html[data-restime-shell=restime-web][data-theme=light] :is(.hero-fineprint,.hero-bonus>span,.hero-proof span),
html[data-restime-shell=restime-crm][data-theme=light] :is(.hero-lead,.hero-proof span){color:#4e655a}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] :is(.hero-price-note,.window-bar,.format-pills span,.separation-diagram>span,.section-report,.contact-panel-actions a,.contact-email,.workspace-help-strip){background:#14261f;color:#f2f8f5}
html[data-restime-shell=ai-smart-social-networks]:not([data-theme=contrast]) :is(.button-light,.avatar,.float-icon,.separation-diagram>i,.report-next>span,.cookie-button-primary){color:#13241e}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] :is(.comparison-kicker,.eyebrow){color:#a8e4c8}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] .market-price-total em{color:#ffb9a9}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] .source-note{color:#b6c9c0}
html[data-restime-shell=ai-smart-social-networks]:not([data-theme=contrast]) .campaign-warning{background:#fff4d8;color:#594313;--ink:#352b16;--muted:#594313}
html[data-restime-shell=ai-smart-social-networks]:not([data-theme=contrast]) .campaign-warning>span{background:#795411;color:#fff}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] .hero-price-note strong{color:#f2f8f5}
html[data-restime-shell=eds]:not([data-theme=contrast]) :is(.eds-app-stats small,.eds-app-stats span,.eds-app-panel-title>span,.eds-data-head span,.eds-menu-drawer__title small){color:#4c6256}
@media(max-width:700px){
 html[data-restime-shell] :is(.section,.marketing-section){padding-top:56px;padding-bottom:56px}
 html[data-restime-shell] :is(.hero-actions,.final-cta-buttons){flex-wrap:wrap}
 html[data-restime-shell] :is(.button,.primary-button,.marketing-primary,.marketing-secondary){min-height:48px;white-space:normal;overflow-wrap:anywhere;text-align:center}
 html[data-restime-shell] :is(.sales-prompt-actions,.hero-actions)>*{min-width:0;max-width:100%}
 html[data-restime-shell] :is(.feature-card,.step-card,.process-grid article,.feature-grid article){padding:24px}
 html[data-restime-shell] :is(h1,h2,h3){overflow-wrap:anywhere;text-wrap:pretty}
 html[data-restime-shell] :is(.hero-proof span,.hero-proof li){flex-wrap:wrap}
}
html[data-restime-shell=restime-booking-services][data-theme=dark] :is(.booking-mode-grid article>span,.module-group-list button>span){color:#a8e4c8}
html[data-restime-shell=eds][data-theme=dark] summary>span{color:#a8e4c8}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] :is(.hero-price-note small,.workspace-help-strip strong){color:#c4d5cb}
html[data-restime-shell=ai-smart-social-networks]:not([data-theme=contrast]) .float-icon-coral{color:#fff}
html[data-restime-shell=ai-smart-social-networks]:not([data-theme=contrast]) :is(.public-variant-status>span,.workspace-success>i){background:#176c4d}
html[data-restime-shell=restime-booking-services]:not([data-theme=contrast]) :is(.booking-mode-grid article>span,.module-group-list button>span){color:#a8e4c8}
html[data-restime-shell=restime-booking-services][data-theme=light] .sales-prompt.is-light{background:#f4f8f5;color:#13241e}
html[data-restime-shell=restime-booking-services][data-theme=light] .system-flow b{color:#a8e4c8}
html[data-restime-shell=eds][data-theme=light] .eds-price>span{color:#4c6256}
html[data-restime-shell=restime-compress][data-theme=light] .step-card>span{color:#176044}
html[data-restime-shell=program-pre-dokumenty-do-excell][data-theme=light] :is(.marketing-hero-copy>p,.marketing-formats small,.preview-document small,.marketing-proof span,.process-grid p,.feature-grid p,.marketing-section-heading>p,.marketing-cta p){color:#4e655a}
html[data-restime-shell=program-pre-dokumenty-do-excell][data-theme=light] .feature-grid article>span{color:#176044}
html[data-restime-shell=ai-smart-social-networks][data-theme=light] :is(.avatar,.float-icon,.separation-diagram>i,.report-next>span){color:#fff}
html[data-restime-shell=ai-smart-social-networks][data-theme=light] :is(.product-heading,.campaign-preview) strong{color:#13241e}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] .ai-prompt button{color:#13241e}
html[data-restime-shell=ai-smart-social-networks][data-theme=dark] .float-icon-coral{color:#fff}
html[data-restime-shell=ai-smart-social-networks]:not([data-theme=contrast]) .workspace-showcase h2{color:#f4f8f5}
html[data-restime-shell=ai-smart-social-networks][data-theme=light] :is(.work-value-grid p,.work-value-grid span,.source-note){color:#425c50}
html[data-restime-shell=restime-redesign]:not([data-theme=contrast]) .form-captcha-note{color:#d9eee3;font-size:13px}
html[data-restime-shell=restime-booking-services]:not([data-theme=contrast]) .module-group-list button.is-active small{color:#e0f3e8;font-size:13px}
