/* QRONEO uses a fixed dark appearance on every screen. */
html[data-theme=dark]{--q-navy:#001827;--q-navy-raised:#122d40;--q-ink:#e8eef5;--q-blue:#9dc5eb;--q-muted:#a7b8c9;--q-line:#2b3c4e;--q-paper:#09131f;--q-pale:#1d3043;--q-surface:#111f2e;--q-surface-raised:#172737;--q-field:#0c1926;--q-control:#22374b;--q-control-text:#d2e4f6;--q-strong:#edf3f9;--q-text:#c4d1df;--q-subtle:#a7b8c9;--q-border:#31465b;--q-action:#c6dcef;--q-action-text:#0a1b2c;--q-focus:#9dc5eb;--q-error-bg:#321e25;--q-error-text:#f2b6ad;--q-error-border:#80504d;--w-ink:var(--q-strong);--w-teal:var(--q-blue);--w-paper:var(--q-paper);--w-muted:var(--q-subtle);--w-line:var(--q-line);--ink:var(--q-strong);--accent:var(--q-blue);--lime:var(--q-pale);background:var(--q-paper);color:var(--q-text);color-scheme:dark}
html[data-theme=dark] body{background:var(--q-paper);color:var(--q-text)}
html[data-theme=dark] :is(h1,h2,h3,h4,h5,h6){color:var(--q-strong)}
html[data-theme=dark] :is(a,button,input,select,textarea):focus-visible{outline-color:var(--q-focus)}
html[data-theme=dark] :is(input,select,textarea){background-color:var(--q-field);color:var(--q-strong);border-color:var(--q-border)}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#91a5ba;opacity:1}
html[data-theme=dark] :is(input[type=checkbox],input[type=radio]){accent-color:#a8ccec}
html[data-theme=dark] input[readonly]{background:var(--q-surface-raised)}
html[data-theme=dark] :is(.button,.workspace-body .button,.form-panel .button){background:var(--q-action);border-color:var(--q-action);color:var(--q-action-text)}
html[data-theme=dark] .button:hover{background:#e0edf9;border-color:#e0edf9;color:#081b2c}
html[data-theme=dark] .w-header{background:#09131ff2;border-color:var(--q-line)}
html[data-theme=dark] :is(.w-header .w-logo img,.auth-mobile-brand img){filter:brightness(0) invert(1)}
html[data-theme=dark] :is(.w-navigation a,.w-login,.w-page-rail a,.w-text-link,.w-included-list,.w-site em,.w-pricing-details em){color:var(--q-blue)}
html[data-theme=dark] :is(.w-navigation a:hover,.w-navigation a[aria-current],.w-faq summary){color:var(--q-strong)}
html[data-theme=dark] .w-menu-toggle{color:var(--q-strong);background:var(--q-surface)}
html[data-theme=dark] .w-menu-toggle span{background:var(--q-strong)}
html[data-theme=dark] .site-menu-open .w-navigation{background:var(--q-surface);border-color:var(--q-line);box-shadow:0 16px 35px #0005}
html[data-theme=dark] :is(.w-team-copy p,.w-workflow-heading p,.w-section-heading p,.w-page-content,.w-page-hero>div>p,.w-page-rail,.w-pricing-unit>span,.w-range-labels,.w-calculator>p,.w-faq details>p,.w-faq summary>span){color:var(--q-subtle)}
html[data-theme=dark] :is(.w-feature-stage,.w-calculator,.w-product-window,.w-product-frame,.w-window-main,.w-window-recent,.w-day,.w-panel-link,.w-page-rail){background:var(--q-surface);border-color:var(--q-line);color:var(--q-text);box-shadow:none}
html[data-theme=dark] :is(.w-workflow-steps>div,.w-feature-line,.w-feature-line>span,.w-workflow,.w-feature-tabs>button,.w-feature-tabs>button:last-child,.w-feature-line,.w-team-section,.w-pricing-details,.w-faq details,.w-faq details:last-child,.w-page-rail,.w-integration-overview>div,.w-week-entry,.w-project-example,.w-project-cost,.w-receipt-example,.w-seat-picker){border-color:var(--q-line)}
html[data-theme=dark] :is(.w-feature-line,.w-workflow-steps p,.w-week-top>span,.w-week-entry small,.w-project-example p,.w-project-breakdown>div,.w-project-cost,.w-receipt-example p,.w-feature-tabs button>span:nth-child(2)>span,.w-window-caption,.w-window-head,.w-window-project p,.w-window-recent p,.w-window-recent small,.w-window-recent span,.w-window-nav,.w-week-top>span,.w-chart-scale,.w-day>span,.w-week-top>p){color:var(--q-subtle)}
html[data-theme=dark] :is(.w-feature-tabs strong,.w-feature-tabs button[aria-selected=true] strong,.w-project-breakdown b,.w-project-cost>strong,.w-window-head strong,.w-window-recent b,.w-week-entry>strong,.w-tool-lines strong){color:var(--q-strong)}
html[data-theme=dark] :is(.w-window-head,.w-window-nav,.w-window-project,.w-window-caption,.w-project-example>span,.w-seat-picker>button,.w-document-art.image,.w-tool-mark,.w-integration-overview>div){background:var(--q-surface-raised);border-color:var(--q-line);color:var(--q-blue)}
html[data-theme=dark] :is(.w-window-nav>a,.w-window-nav>span,.w-window-nav button){color:var(--q-subtle)}
html[data-theme=dark] :is(.w-window-nav .active,.w-window-nav .selected){background:var(--q-control);color:var(--q-strong)}
html[data-theme=dark] :is(.w-project-breakdown i,.w-day>i){background:var(--q-control)}
html[data-theme=dark] .w-project-breakdown i:after{background:#8aafd0}
html[data-theme=dark] .w-seat-picker input{background:transparent;color:var(--q-strong)}
html[data-theme=dark] .w-integration-overview span{color:var(--q-subtle)}
html[data-theme=dark] :is(.w-hero-shell,.w-connect-section,.w-footer){color:#d7e4f0}
html[data-theme=dark] :is(.w-hero-shell h1,.w-connect-section h2,.w-connect-section h3,.w-footer h2){color:#fff}
html[data-theme=dark] .w-hero-shell h1 em{color:#bdcfe0}
html[data-theme=dark] :is(.w-session-main time,.w-focus-session h3){color:#fff}
html[data-theme=dark] .w-hero-shell .w-hero-actions .button{background:#fff;color:#001827;border-color:#fff}
/* Editorial archive, article, related content and home teasers. */
html[data-theme=dark] :is(.iics-magazine,.iics-article,.iics-prose){color:var(--q-text)}
html[data-theme=dark] :is(.iics-card,.iics-article-header,.iics-related){background:transparent}
html[data-theme=dark] :is(.iics-blog-heading p,.iics-search label,.iics-standfirst,.iics-card-copy>p:not(.iics-byline),.iics-card-meta,.iics-article-meta,.iics-breadcrumb,.iics-toc a,.iics-toc,.w-blog-section-head p,.w-blog-cards p){color:var(--q-subtle)}
html[data-theme=dark] :is(.iics-search input,.iics-search button,.iics-categories a,.iics-prose a,.iics-pagination a,.iics-toc h2,.w-blog-cards .w-text-link){color:var(--q-blue)}
html[data-theme=dark] :is(.iics-categories a:hover,.iics-categories a[aria-current],.iics-pagination .current){color:var(--q-strong);border-color:var(--q-blue)}
html[data-theme=dark] :is(.iics-categories,.iics-toc,.iics-related,.iics-sources,.iics-prose th,.iics-prose td,.iics-search,.iics-pagination a,.iics-pagination span,.w-blog-section){border-color:var(--q-line)}
html[data-theme=dark] :is(.iics-prose th,.iics-prose blockquote,.iics-factbox,.iics-process,.iics-layout-technology .iics-article-header){background:var(--q-surface);color:var(--q-text)}
html[data-theme=dark] :is(.iics-card-image,.iics-article-cover,.w-blog-card-image){background:var(--q-surface-raised)}
/* Auth and every private workspace module. */
html[data-theme=dark] :is(.workspace-body,.auth-form-side,.auth-layout){background:var(--q-paper)}
html[data-theme=dark] .workspace-topbar{background:#09131ff2;border-color:var(--q-line)}
html[data-theme=dark] :is(.workspace-breadcrumb,.workspace-breadcrumb b,.workspace-page-heading p,.auth-intro,.auth-top,.auth-bottom,.auth-card .checkbox-label,.auth-secondary-link,.field-help){color:var(--q-subtle)}
html[data-theme=dark] :is(.workspace-panel,.wad-stat-grid>div,.wad-integration,.wad-overview-projects,.wad-overview-entries,.workspace-stats article,.workspace-subscription){background:var(--q-surface);border-color:var(--q-line);box-shadow:none;color:var(--q-text)}
html[data-theme=dark] :is(.workspace-body .workspace-panel>p,.workspace-panel>p,.wad-empty,.ait-help,.ait-empty,.ait-self-note,.wad-record p,.wad-overview-entry span,.wad-overview-entry small,.wad-overview-project small,.wad-overview-empty,.workspace-footer,.workspace-subscription p,.subscription-details dt,.subscription-details dd){color:var(--q-subtle)}
html[data-theme=dark] :is(.workspace-menu-button,.wad-actions button,.wad-pagination button,.ait-member-actions button,.ait-pagination button,.quiet-button,.wad-actions a){background:var(--q-control);border-color:var(--q-border);color:var(--q-control-text)}
html[data-theme=dark] :is(.workspace-table td,.workspace-table th,.wad-record,.wad-overview-panel-head,.wad-overview-entry,.wad-overview-project,.wad-overview-entries,.ait-member-actions,.ait-member,.ait-role-matrix td,.ait-role-matrix th){border-color:var(--q-line)}
html[data-theme=dark] :is(.workspace-table td,.wad-record h3,.wad-record strong,.wad-overview-entry strong,.wad-overview-entry h3,.wad-overview-panel-head h2,.wad-overview-project strong){color:var(--q-strong)}
html[data-theme=dark] :is(.workspace-table th,.wad-form label,.ait-form label,.ait-invoice label,.auth-card label){color:var(--q-subtle)}
html[data-theme=dark] :is(.workspace-body input:not([type=checkbox]):not([type=radio]),.workspace-body select,.workspace-body textarea,.auth-card input:not([type=checkbox]):not([type=hidden])){background:var(--q-field);border-color:var(--q-border);color:var(--q-strong)}
html[data-theme=dark] .workspace-body input[readonly]{background:var(--q-surface-raised)}
html[data-theme=dark] :is(.wad-dashboard-timer,.auth-story){background:radial-gradient(ellipse at 65% 25%,#112e45,#001827 72%)}
html[data-theme=dark] .wad-dashboard-timer .button{background:#fff;color:#001827;border-color:#fff}
html[data-theme=dark] .workspace-body .wad-dashboard-select{background:transparent;color:#e1ebf3;border-color:#536c80}
html[data-theme=dark] .wad-dashboard-timer .wad-dashboard-select option{background:var(--q-field);color:var(--q-strong)}
html[data-theme=dark] .auth-card .auth-submit{background:var(--q-action)!important;border-color:var(--q-action)!important;color:var(--q-action-text)!important}
html[data-theme=dark] :is(.auth-card a,.workspace-panel a,.ait-role-matrix a){color:var(--q-blue)}
html[data-theme=dark] :is(.ait-notice,.auth-notice,.wad-notice,[data-wad-notice],.workspace-notice){background:#1b3045;color:#c7ddf0;border-color:#3e5c76}
html[data-theme=dark] :is(.ait-notice.is-error,[data-wad-notice].is-error){background:var(--q-error-bg);color:var(--q-error-text);border-color:var(--q-error-border)}
/* Connections, dialogs and payroll. */
html[data-theme=dark] :is(.qri-intro,.qpay-summary,.qpay-hint,.qri-setup-hint){background:#1b3045;color:var(--q-text);border-color:#7097bb}
html[data-theme=dark] :is(.qri-provider,.qri-dialog,.qri-browser-footer){background:var(--q-surface);color:var(--q-text);border-color:var(--q-line)}
html[data-theme=dark] :is(.qri-connection,.qri-project-status,.qri-resource,.qpay-provider,.qpay-person,.qpay-history-row,.qpay-browser-footer){border-color:var(--q-line)}
html[data-theme=dark] :is(.qri-dialog-head button,.qri-actions button,.qri-more button,.qri-breadcrumb button,.qpay-person button,.qpay-history-row button){background:var(--q-control);border-color:var(--q-border);color:var(--q-control-text)}
html[data-theme=dark] :is(.qri-resource>button,.qri-form label,.qpay-form label,.qpay-person label){color:var(--q-text)}
html[data-theme=dark] :is(.qri-project-status span,.qri-sync-status,.qri-scope-note,.qpay-note,.qpay-history-row p){color:var(--q-subtle)}
html[data-theme=dark] :is(.qri-error,.qpay-errors){background:var(--q-error-bg);color:var(--q-error-text);border-color:var(--q-error-border)}
html[data-theme=dark] :is(.qri-search,.qri-form input,.qri-form select,.qpay-form input,.qpay-form select,.qpay-person input){background:var(--q-field);border-color:var(--q-border);color:var(--q-strong)}
html[data-theme=dark] .qri-dialog a{color:var(--q-blue)}
html[data-theme=dark] .qri-dialog::backdrop{background:#000b}
/* WooCommerce checkout, validation and address suggestions. */
html[data-theme=dark] :is(.ai-checkout-main,.ai-checkout-main .woocommerce form.checkout,.ai-checkout-details,.ai-checkout-summary,.ai-checkout-main .woocommerce #order_review){background:var(--q-surface);color:var(--q-text);border-color:var(--q-line)}
html[data-theme=dark] :is(.ai-checkout-plan,.ai-checkout-main .ai-checkout-plan){background:var(--q-surface-raised);border-color:var(--q-line);color:var(--q-text)}
html[data-theme=dark] :is(.ai-checkout-plan h2,.ai-checkout-main h3,.ai-checkout .shop_table .product-name,.ai-checkout .shop_table .amount){color:var(--q-strong)}
html[data-theme=dark] :is(.ai-checkout .woocommerce label,.ai-checkout .optional,.ai-checkout-plan p,.ai-checkout-plan-bottom>span,.ai-checkout-trail,.ai-checkout-trail a,.ai-checkout-secure,.ai-checkout .shop_table th,.ai-checkout .product-quantity,.ai-checkout .subscription-price,.ai-checkout .first-payment-date small,.ai-checkout .woocommerce-privacy-policy-text,.ai-checkout .ai-checkout-account-note p,.ai-checkout-help,.ai-checkout .woocommerce-password-hint){color:var(--q-subtle)}
html[data-theme=dark] :is(.ai-checkout input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),.ai-checkout select,.ai-checkout textarea,.ai-checkout .select2-selection--single,.select2-dropdown,.select2-search__field){background:var(--q-field);color:var(--q-strong);border-color:var(--q-border)}
html[data-theme=dark] :is(.ai-checkout .shop_table th,.ai-checkout .shop_table td,.ai-checkout #payment,.ai-checkout .woocommerce-account-fields,.ai-checkout-plan-bottom,.ai-checkout-help){border-color:var(--q-line)}
html[data-theme=dark] :is(.ai-checkout .payment_box,.ai-checkout .woocommerce-info,.ai-checkout .woocommerce-input-wrapper>strong,.ai-checkout .woocommerce-password-strength){background:var(--q-surface-raised);color:var(--q-text);border-color:var(--q-line)}
html[data-theme=dark] :is(.ai-checkout-help a,.ai-checkout-signin a,.ai-checkout-plan-bottom a){color:var(--q-blue)}
html[data-theme=dark] .ai-checkout #place_order{background:var(--q-action);border-color:var(--q-action);color:var(--q-action-text)}
html[data-theme=dark] .ai-checkout #place_order:disabled{background:#293e52;color:#a8bdcf;border-color:#3c5267}
html[data-theme=dark] :is(.woocommerce-error,.woocommerce-NoticeGroup-checkout .woocommerce-error,.ai-password-confirm-error){background:var(--q-error-bg);color:var(--q-error-text);border-color:var(--q-error-border)}
html[data-theme=dark] .select2-results__option--highlighted{background:var(--q-control);color:var(--q-strong)}
html[data-theme=dark] .skip-link{background:var(--q-surface);color:var(--q-strong)}
@media(max-width:1180px){.w-header-inner{gap:18px}.w-header-actions{gap:12px}.w-navigation{gap:18px}.q-appearance-toggle{padding:9px 10px}.w-header .w-logo img{width:160px}}
@media(max-width:1000px){.w-header-inner>.q-appearance{margin-left:auto}.w-header-actions{margin-left:0}.w-header-inner{gap:14px}}
@media(max-width:600px){.q-appearance-toggle{padding:8px 10px;font-size:11px;gap:6px;min-height:38px}.q-appearance-toggle>svg{width:16px;height:16px}.workspace-topbar .q-appearance-toggle{padding:8px}.workspace-breadcrumb{min-width:0;overflow:hidden;white-space:nowrap}.workspace-breadcrumb b{overflow:hidden;text-overflow:ellipsis}.auth-top{gap:12px}.w-header .w-logo img{width:142px}.w-header-inner{gap:12px}.w-header-inner>.q-appearance{order:2}.w-header-inner>.w-menu-toggle{order:3;margin-left:0}.w-header-actions{order:4}.q-appearance-menu{min-width:180px}}
@media(prefers-reduced-motion:no-preference){.q-appearance-toggle{transition:background-color .15s,color .15s,border-color .15s}}
/* Explicit nested text colors from the original light layouts. */
html[data-theme=dark] :is(.w-workday,.w-page-media){background:var(--q-paper);border-color:var(--q-line)}
html[data-theme=dark] :is(.w-feature-line>span,.w-window-head>span:last-child,.w-window-project>div>span,.w-seat-picker>label>span,.w-workflow-steps>li>span){color:var(--q-subtle)}
html[data-theme=dark] :is(.w-included-list li,.w-faq details a,.wad-overview-panel-head>a,.wad-overview-empty a){color:var(--q-blue)}
html[data-theme=dark] :is(.w-page-content p,.w-page-content li,.w-page-content p:first-child){color:var(--q-text)}
html[data-theme=dark] :is(.w-page-content strong,.w-page-content h2,.w-page-content h3,.ait-members strong){color:var(--q-strong)}
html[data-theme=dark] :is(.w-page-content a,.w-page-content a strong){color:var(--q-blue)}
html[data-theme=dark] .ait-members small{color:var(--q-subtle)}
html[data-theme=dark] .workspace-panel a.button{color:var(--q-action-text)}
html[data-theme=dark] :is(.iic-dialog,.iic-settings){background:var(--q-surface);color:var(--q-text);border-color:var(--q-line)}
html[data-theme=dark] :is(.iic-dialog h2,.iic-dialog h3,.iic-category label){color:var(--q-strong)!important}
html[data-theme=dark] .iic-dialog p{color:var(--q-subtle)!important}
html[data-theme=dark] :is(.iic-details,.iic-category,.iic-category section){background:var(--q-surface-raised);border-color:var(--q-line)}
html[data-theme=dark] .iic-details summary{color:var(--q-strong)}
html[data-theme=dark] :is(.w-day strong,.w-day small,.w-total>span,.w-total>small,.w-week-top span,.w-feature-panel .w-panel-link){color:var(--q-subtle)}
html[data-theme=dark] .w-role-lines>div>span{color:var(--q-subtle)}
html[data-theme=dark] :is(.iic-actions button,.iic-open,.iic-launcher){background:var(--q-control)!important;color:var(--q-strong)!important;border-color:var(--q-border)!important}html[data-theme=dark] :is(.iic-actions button,.iic-open,.iic-launcher):hover{background:var(--q-surface-raised)!important}html[data-theme=dark] .iic-bottom a{color:var(--q-blue)}html[data-theme=dark] .iic-category code{background:var(--q-field);color:var(--q-text)}html[data-theme=dark] .w-footer-bottom .iic-open{min-height:0;padding:0!important;background:transparent!important;border:0!important;font:inherit!important;text-decoration:underline;text-underline-offset:3px}
html[data-theme=dark] .iic-launcher{display:none!important}.qroneo-essential-only{max-width:720px}.qroneo-essential-only .iic-actions{grid-template-columns:1fr}.qroneo-essential-only .iic-actions button{max-width:260px}
