/* Card-inspired brand system: texture, circuits, metallic edges, sweeping bands.
   Structural layout, access controls and application behavior remain owned by each app. */
:root{--brand-accent:#2075e8;--brand-deep:#102238;--brand-silver:#bdcad7;--brand-edge:#c3cfdb;--brand-text:#183047;--brand-muted:#465d73;--brand-surface:#f4f8fc;--brand-metal:linear-gradient(135deg,#fff 0%,#e3eaf1 45%,#fafcfe 70%,#d4dfe9 100%)}
html body{background-color:#e9eff5!important;background-image:radial-gradient(ellipse at 85% 0%,color-mix(in srgb,var(--brand-accent) 12%,transparent),transparent 45%),repeating-linear-gradient(135deg,#ffffff18 0 1px,transparent 1px 4px)!important}
body :is(h1,h2,h3,h4){text-wrap:balance}body :is(p,li){text-wrap:pretty}
body :is(.tn-sidebar,.sidebar){background:linear-gradient(165deg,color-mix(in srgb,var(--brand-accent) 18%,var(--brand-deep)),var(--brand-deep) 55%)!important;border-right:1px solid #71869b!important;box-shadow:8px 0 35px #06142620;color:#edf4fc!important}
body :is(.tn-sidebar,.sidebar) :is(a,summary,.brand,.tn-app-label){color:#edf4fc!important}
body :is(.tn-sidebar,.sidebar) :is(.tn-menu-section,.tn-menu-contact,.nav-divider,.workspace-label){color:#bacbdc!important}
body :is(.tn-sidebar,.sidebar) nav a{background:transparent;border-color:#64829c55}
body :is(.tn-sidebar,.sidebar) nav a:is(:hover,[aria-current=page],.active){background:color-mix(in srgb,var(--brand-accent) 35%,var(--brand-deep))!important;border-color:var(--brand-silver)!important;color:#fff!important}
body :is(.topbar,.tn-platform-header){border-bottom:1px solid var(--brand-silver);background:var(--brand-metal)!important;color:#183047;box-shadow:0 3px 18px #10243810}
body :is(.hero,.page-hero,.overview-hero,.tn-photo-hero,.enterprise-masthead,.closing,.contact-hero,.login-hero){background-color:var(--brand-deep)!important;background-image:linear-gradient(90deg,var(--brand-deep),transparent),url('/brand-circuit.svg')!important;background-size:cover!important;background-position:center!important;color:#f4f8ff!important;border:1px solid #9baec4!important;border-bottom:3px solid var(--brand-accent)!important;border-radius:22px;box-shadow:0 16px 45px #0b203526;padding:clamp(24px,4vw,52px)}
body :is(.hero,.page-hero,.overview-hero,.tn-photo-hero,.enterprise-masthead,.closing,.contact-hero,.login-hero) :is(h1,h2,h3,strong){color:#fff!important}
body :is(.hero,.page-hero,.overview-hero,.tn-photo-hero,.enterprise-masthead,.closing,.contact-hero,.login-hero) :is(p,.small,.eyebrow,figcaption){color:#d5e5f5!important}
body :is(.hero,.page-hero,.overview-hero,.closing) a:not(.button){color:#d8eaff}
body :is(.card,.feature-card,.client-card,.stat-card,.pricing-card,.capability-card,.service-card,.app-card,.panel,.metric-card,.summary-card,.stat,.kpi,.example-job,.tour-shell,.stage,.suite-grid>article,.grid>article,.glass,.device-card,.property-card,.system-card,.connected-summary,.support-banner){background:var(--brand-metal)!important;border:1px solid var(--brand-edge)!important;border-top:3px solid var(--brand-accent)!important;border-radius:18px!important;color:var(--brand-text)!important;box-shadow:inset 0 1px 0 #fff,0 8px 28px #10243812!important}
body :is(.card,.feature-card,.client-card,.stat-card,.pricing-card,.capability-card,.service-card,.app-card,.panel,.metric-card,.summary-card,.stat,.kpi,.example-job,.tour-shell,.suite-grid>article,.grid>article,.glass,.device-card,.property-card,.system-card,.connected-summary,.support-banner) :is(h2,h3,h4,strong){color:var(--brand-text)}
body :is(.card,.feature-card,.client-card,.stat-card,.pricing-card,.capability-card,.service-card,.app-card,.panel,.metric-card,.summary-card,.example-job,.tour-shell,.suite-grid>article,.grid>article,.glass,.device-card,.property-card,.system-card,.connected-summary,.support-banner) p{color:var(--brand-muted)!important}
body :is(.button,.btn-primary,.primary-button,button.primary,a.primary){background:linear-gradient(135deg,color-mix(in srgb,var(--brand-accent) 80%,#fff),var(--brand-accent) 40%,color-mix(in srgb,var(--brand-accent) 70%,#071420))!important;border:1px solid color-mix(in srgb,var(--brand-accent) 40%,#dce9f5)!important;box-shadow:inset 0 1px 0 #ffffff55,0 5px 15px #07142025;color:#fff!important;border-radius:11px;transition:box-shadow .18s ease,filter .18s ease}
body :is(.button,.btn-primary,.primary-button):hover{filter:brightness(1.1);box-shadow:0 7px 23px #07142035}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:#9fb2c6;border-radius:9px}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--brand-accent);outline-offset:4px}
body :is(.tour .chapters button[aria-current=step],.tour .controls button){border-color:var(--brand-accent);box-shadow:inset 0 1px 0 #ffffff70}
body .tour .timeline>span{background:var(--brand-accent)}
body>footer,body>.app-shell>footer{background:var(--brand-deep) url('/brand-circuit.svg') center bottom/cover;color:#e3edf7!important;border-top:1px solid #a4b8cd;border-bottom:4px solid var(--brand-accent);border-radius:20px 20px 0 0}
body>footer :is(a,p),body>.app-shell>footer :is(a,p){color:#d3e2f1!important}
body>footer nav a{background:#112438b8;border-color:#738ba7}
body :is(.tn-company-flyer,.tn-photo-hero figure,.field>img){border:1px solid #9dafc2;box-shadow:0 12px 35px #07142025}
@media(max-width:700px){body :is(.hero,.page-hero,.overview-hero,.tn-photo-hero,.enterprise-masthead,.closing){padding:24px 18px;border-radius:16px}body .tn-photo-hero{gap:20px}body :is(.card,.panel){border-radius:13px!important}}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{html body{background:#fff!important;color:#111!important}body :is(.hero,.page-hero,.overview-hero,.closing,.card,.panel,.grid>article){background:#fff!important;box-shadow:none!important;color:#111!important}body :is(.hero,.page-hero,.overview-hero,.closing) :is(h1,h2,h3,p,.small,.eyebrow){color:#111!important}}

/* Circuit traces in every page header and footer, with calm text contrast. */
body :is(header,.topbar,.tn-platform-header,.page-header,.app-header,.workspace-header,.main-header,.dashboard-header,.shell-header,.chat-header,.chat-topbar,.top-bar,.overview-header,.site-header,.homepage-header,.tecknation-page-header,.hr-header,.doc-header){background-color:var(--brand-deep)!important;background-image:linear-gradient(90deg,color-mix(in srgb,var(--brand-deep) 88%,transparent),color-mix(in srgb,var(--brand-deep) 42%,transparent)),url('/brand-circuit.svg')!important;background-size:cover!important;background-position:center 35%!important;color:#f3f7fc!important;border-bottom:1px solid #9aaec2}
body :is(header,.topbar,.tn-platform-header,.page-header,.app-header,.workspace-header,.main-header,.dashboard-header,.shell-header,.chat-header,.chat-topbar,.top-bar,.overview-header,.site-header,.homepage-header,.tecknation-page-header,.hr-header,.doc-header) :is(h1,h2,h3,p,.breadcrumb,.eyebrow,.brand,.subheading){color:#e4effa!important}
body :is(header,.topbar,.tn-platform-header,.page-header,.app-header,.workspace-header,.main-header,.dashboard-header,.shell-header,.chat-header,.chat-topbar,.top-bar,.overview-header,.site-header,.homepage-header,.tecknation-page-header,.hr-header,.doc-header) nav a{color:#e6f1fc!important;background:#12263bbb;border-color:#8ca4bb66}
body :is(footer,.footer,.app-footer,.site-footer,.business-footer,.tn-business-footer,.page-footer,.document-footer,.tn-page-footer,.tn-menu-footer,.doc-footer,.legal-footer,.ai-footer){background-color:var(--brand-deep)!important;background-image:linear-gradient(90deg,color-mix(in srgb,var(--brand-deep) 78%,transparent),color-mix(in srgb,var(--brand-deep) 25%,transparent)),url('/brand-circuit.svg')!important;background-position:center 70%!important;background-size:cover!important;color:#e5eff9!important;border-top:1px solid #9aaec2}
body :is(footer,.footer,.app-footer,.site-footer,.business-footer,.tn-business-footer,.page-footer,.document-footer,.tn-page-footer,.tn-menu-footer,.doc-footer,.legal-footer,.ai-footer) :is(a,p,span,small){color:#dce8f5!important}

/* Marketing artwork edition: shared leather texture, circuits and silver sweep. */
html{color-scheme:dark}
html body{--brand-text:#f1f5fb;--brand-muted:#c1cedc;--brand-edge:#657b91;--brand-surface:#121b27;--brand-metal:linear-gradient(135deg,#182635,#0d141e);color:#eef4fb!important;background-color:var(--brand-deep)!important;background-image:linear-gradient(#0710199c,#071019c9),url('/brand-card-background-blue.png')!important;background-blend-mode:normal,normal!important;background-size:auto,1500px auto!important;background-position:center top!important;background-repeat:repeat,repeat!important}
body :is(main,.main-shell,.app-main,.main-content,.content-area,.business-suite,.overview-access,.veyra-showcase,.veyra-context,.veyra-app-note){background-color:transparent!important;color:#eef4fb!important}
body :is(h1,h2,h3,h4,h5,h6){color:#f4f7fc}
body :is(p,li,label,small,.small,.muted,.subtitle,.description,.eyebrow){color:#c6d3e2}
body main>section:not(.hero):not(.tn-photo-hero):not(.overview-hero):not(.page-hero){border-radius:18px}
body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal){background-color:var(--brand-deep)!important;background-image:linear-gradient(105deg,#0a1119c9 6%,#0b121ba8 66%,#0b121b40),url('/brand-card-background-blue.png')!important;background-size:100% 100%!important;background-position:center 42%!important;background-blend-mode:normal,normal!important;color:#f1f5fb!important;border:1px solid #71889e!important;border-top:2px solid color-mix(in srgb,var(--brand-accent) 65%,#dce7f2)!important;box-shadow:inset 0 1px 0 #ffffff17,0 10px 30px #0005!important}
body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal) :is(h1,h2,h3,h4,h5,h6,strong,b,dt){color:#f4f7fc!important}
body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal) :is(p,li,label,small,.small,.muted,dd,.description,.eyebrow){color:#c6d3e2!important}
body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal) a:not(.button):not(.primary):not(.btn){color:#b8dcff}
body :is(header,footer,.topbar,.tn-platform-header,.page-header,.app-header,.workspace-header,.main-header,.dashboard-header,.shell-header,.chat-header,.chat-topbar,.top-bar,.overview-header,.site-header,.homepage-header,.tecknation-page-header,.hr-header,.doc-header,.footer,.app-footer,.site-footer,.business-footer,.tn-business-footer,.page-footer,.document-footer,.tn-page-footer,.tn-menu-footer,.doc-footer,.legal-footer,.ai-footer){background-color:var(--brand-deep)!important;background-image:linear-gradient(90deg,#071019c9,#07101988),url('/brand-card-background-blue.png')!important;background-size:100% 100%!important;background-position:center 58%!important;background-blend-mode:normal,normal!important;color:#edf4fc!important}
body :is(.tn-sidebar,.sidebar){background-color:var(--brand-deep)!important;background-image:linear-gradient(#0b1722ba,#08121bea),url('/brand-card-background-blue.png')!important;background-position:center!important;background-size:auto,auto 100%!important;background-blend-mode:normal,normal!important}
body :is(.tn-sidebar,.sidebar) nav a{background-image:linear-gradient(95deg,#0b1722c9,#0b1722dd),url('/brand-circuit.svg')!important;background-size:100% 100%!important;border:1px solid #617a9255}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:#101c29!important;color:#f0f5fb!important;border:1px solid #71869c!important;caret-color:#fff;color-scheme:dark}
body :is(input,textarea)::placeholder{color:#aabbcd!important;opacity:1}
body option{background:#101c29;color:#f0f5fb}
body :is(table,.data-table,.table-wrap,.list-row,.work-row,.invoice-row,.equipment-row,.request-row){background-color:#101c29;color:#e5edf6;border-color:#496077}
body :is(th,td){color:inherit;border-color:#496077}
body :is(.chapters,.controls,.stage-top,.tour-description,.timeline-event,.info-strip,.quick-links,.review-summary){background-color:#142333;color:#e4edf7;border-color:#6b839a}
body .chapters button{color:#d1dfed;background:#132235;border-color:#496b91}
body .chapters button[aria-current=step]{background:var(--brand-accent);color:#fff}
body :is(.badge,.pill,.tag){background-color:#22384c;color:#e3eef8;border-color:#617f9c}
/* Preserve legible drawing sheets and document previews. */
body :is(.paper,.document-preview,.doc-preview,.plan-canvas,.drawing-canvas){background-color:#fff!important;color:#142237!important;background-image:none!important}
body :is(.paper,.document-preview,.doc-preview,.plan-canvas,.drawing-canvas) :is(p,li,h1,h2,h3,h4,strong,b,label,small,td,th){color:#142237!important}
@media(max-width:700px){html body{background-size:auto,1000px auto!important}body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal){background-position:center 35%!important}}
@media print{html{color-scheme:light}html body,body main,body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal){background:#fff!important;color:#111!important;box-shadow:none!important}body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal) :is(p,li,h1,h2,h3,h4,strong,b,label,small){color:#111!important}}

/* Blue circuit artwork preserves the matching branded finish. */
html body,body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal),body :is(header,footer,.topbar,.page-footer){background-blend-mode:normal,normal!important}

body :is(.breadcrumb,.breadcrumb span,.header-clock,.header-clock span){color:#d9e7f5!important}
body :is(.card,.panel,.glass,[class$="-card"],article){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Black lettering on white UI surfaces. */
html body [data-tn-white-text][data-tn-white-text][data-tn-white-text][data-tn-white-text]{color:#000!important;-webkit-text-fill-color:#000!important}
html body [data-tn-white-text]::placeholder{color:#000!important;-webkit-text-fill-color:#000!important;opacity:1}
html body :is(.paper,.document-preview,.doc-preview,.plan-canvas,.drawing-canvas){color:#000!important}
html body :is(.paper,.document-preview,.doc-preview,.plan-canvas,.drawing-canvas) :is(p,li,h1,h2,h3,h4,strong,b,label,small,td,th){color:#000!important}

/* White box interiors with black lettering; retain branded outer chrome. */
html body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal,.composer,.message,.chat-message,.empty,.invoice,.room,.review-summary,.info-strip,.quick-links,.list-row,.work-row,.invoice-row,.equipment-row,.request-row,.badge,.pill,.tag){background:#fff!important;color:#000!important;color-scheme:light;box-shadow:0 8px 24px #0002!important}
html body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal,.composer,.message,.chat-message,.empty,.invoice,.room,.review-summary,.info-strip,.quick-links,.list-row,.work-row,.invoice-row,.equipment-row,.request-row,.badge,.pill,.tag) :is(h1,h2,h3,h4,h5,h6,p,li,label,small,.small,.muted,.subtitle,.description,.eyebrow,span,strong,b,dt,dd,a,figcaption){color:#000!important}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),textarea,select,option,table,.data-table,.table-wrap,th,td,.button,.btn,.btn-primary,.primary-button,button.primary,a.primary){background:#fff!important;color:#000!important;color-scheme:light;caret-color:#000}
html body :is(input,textarea)::placeholder{color:#444!important;opacity:1}
html body :is(.button,.btn,.btn-primary,.primary-button,button.primary,a.primary){border-color:var(--brand-accent,#2075e8)!important}
/* Photo captions keep their own opaque reading surface. */
html body :is(.hero-photo figcaption,.hero-copy,.tn-photo-hero figcaption,.field-copy){background:#fff!important;color:#000!important;border-radius:12px}
html body :is(.hero-photo figcaption,.hero-copy,.tn-photo-hero figcaption,.field-copy) :is(h1,h2,h3,p,span,strong,small,em){color:#000!important}
html body article.hero:has(>.hero-shade)>.hero-copy{margin:20px;max-width:calc(100% - 40px)}

html body :is(article,.card,[class$="-card"],[class*="-card "],[data-slot="card"],.panel,[class$="-panel"],[class*="-panel "],.box,[class$="-box"],.tile,.widget,[class$="-widget"],fieldset,.glass,.stat,.kpi,.metric,.band,.example-job,.tour-shell,.stage,.stage-top,.tour-description,.connected-summary,.support-banner,.tn-flyer-section,.tn-company-flyer,.closing,.enterprise-masthead,.overview-workflow,.feature,.feature-grid>div,.stats>div,.stats>article,.suite-grid>article,.grid>article,.hero,.page-hero,.overview-hero,.tn-photo-hero,.connection-hero,.billing-hero,.contact-panel,main>section,.product-preview,.preview-body,.preview-top,.preview-stats,.feature-strip,.workflow,.trades,.capability-update,.financing-preview,.field-story,.overview-features,.overview-account,.overview-capabilities,.veyra-feature-grid>div,.veyra-category,.workspace-story,.tecknation-referral,dialog,[role="dialog"],.custom-modal,.composer,.message,.chat-message,.empty,.invoice,.room,.review-summary,.info-strip,.quick-links,.list-row,.work-row,.invoice-row,.equipment-row,.request-row,.badge,.pill,.tag) :is(header,footer,button,.chapters,.controls,.stage-top,.tour-description,.timeline-event,.info-strip,.quick-links,.review-summary){background:#fff!important;color:#000!important}
html body .hero-copy{padding:clamp(20px,3vw,34px)}
/* Navigation keeps its original dark circuit branding. */
html body :is(.sidebar,.tn-sidebar,#pvAppSidebar) :is(.card,.access-card,.widget,[class$="-widget"],.tn-business-footer){background:var(--brand-deep,#102238) url('/brand-circuit.svg') center/cover!important;color:#eef4fb!important}
html body :is(.sidebar,.tn-sidebar,#pvAppSidebar) :is(.card,.access-card,.widget,[class$="-widget"],.tn-business-footer) :is(p,a,span,b,strong,small,h2,h3){color:#eef4fb!important}

/* Boxed labels must occupy layout space, including their padding. */
html body :is(.veyra-category,.veyra-badge,.eyebrow,.app-eyebrow,.kicker){display:table;max-width:100%;box-sizing:border-box;white-space:normal;line-height:1.5;margin-block:0 16px;}
html body .veyra-category{padding:10px 14px!important;border-radius:8px;}
html body :is(.veyra-category,.veyra-badge,.eyebrow,.app-eyebrow,.kicker)+:is(h1,h2,h3,h4,p){margin-top:0!important;}
html body :is(.badge,.pill,.tag){display:inline-block;vertical-align:middle;line-height:1.5;max-width:100%;box-sizing:border-box;}
