/* 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:var(--tn-logo-red);--brand-deep:color-mix(in srgb,var(--tn-logo-red) 35%,black);--brand-silver:#cacaca;--brand-edge:color-mix(in srgb,var(--tn-logo-red) 31%,white);--brand-text:color-mix(in srgb,var(--tn-logo-red) 48%,black);--brand-muted:#5d5d5d;--brand-surface:color-mix(in srgb,var(--tn-logo-red) 4%,white);--brand-metal:linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--tn-logo-red) 13%,white) 45%,color-mix(in srgb,var(--tn-logo-red) 2%,white) 70%,color-mix(in srgb,var(--tn-logo-red) 21%,white) 100%)}
html body{background-color:color-mix(in srgb,var(--tn-logo-red) 10%,white)!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 #868686!important;box-shadow:8px 0 35px color-mix(in srgb,var(--tn-logo-red) 12.55%,transparent);color:color-mix(in srgb,var(--tn-logo-red) 7%,white)!important}
body :is(.tn-sidebar,.sidebar) :is(a,summary,.brand,.tn-app-label){color:color-mix(in srgb,var(--tn-logo-red) 7%,white)!important}
body :is(.tn-sidebar,.sidebar) :is(.tn-menu-section,.tn-menu-contact,.nav-divider,.workspace-label){color:color-mix(in srgb,var(--tn-logo-red) 33%,white)!important}
body :is(.tn-sidebar,.sidebar) nav a{background:transparent;border-color:#80808055}
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:color-mix(in srgb,var(--tn-logo-red) 48%,black);box-shadow:0 3px 18px color-mix(in srgb,var(--tn-logo-red) 6.27%,transparent)}
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('/Platform/brand-circuit.svg?v=logo-red-1')!important;background-size:cover!important;background-position:center!important;color:color-mix(in srgb,var(--tn-logo-red) 4%,white)!important;border:1px solid var(--tn-logo-red)!important;border-bottom:3px solid var(--brand-accent)!important;border-radius:22px;box-shadow:0 16px 45px color-mix(in srgb,var(--tn-logo-red) 14.9%,transparent);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:color-mix(in srgb,var(--tn-logo-red) 17%,white)!important}
body :is(.hero,.page-hero,.overview-hero,.closing) a:not(.button){color:color-mix(in srgb,var(--tn-logo-red) 12%,white)}
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 color-mix(in srgb,var(--tn-logo-red) 7.06%,transparent)!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%,color-mix(in srgb,var(--tn-logo-red) 20%,black)))!important;border:1px solid color-mix(in srgb,var(--brand-accent) 40%,color-mix(in srgb,var(--tn-logo-red) 14%,white))!important;box-shadow:inset 0 1px 0 #ffffff55,0 5px 15px color-mix(in srgb,var(--tn-logo-red) 14.51%,transparent);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 color-mix(in srgb,var(--tn-logo-red) 20.78%,transparent)}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-color:var(--tn-logo-red);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('/Platform/brand-circuit.svg?v=logo-red-1') center bottom/cover;color:color-mix(in srgb,var(--tn-logo-red) 11%,white)!important;border-top:1px solid var(--tn-logo-red);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:color-mix(in srgb,var(--tn-logo-red) 19%,white)!important}
body>footer nav a{background:color-mix(in srgb,var(--tn-logo-red) 72.16%,transparent);border-color:#8d8d8d}
body :is(.tn-company-flyer,.tn-photo-hero figure,.field>img){border:1px solid #b0b0b0;box-shadow:0 12px 35px color-mix(in srgb,var(--tn-logo-red) 14.51%,transparent)}
@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('/Platform/brand-circuit.svg?v=logo-red-1')!important;background-size:cover!important;background-position:center 35%!important;color:color-mix(in srgb,var(--tn-logo-red) 5%,white)!important;border-bottom:1px solid #aeaeae}
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:color-mix(in srgb,var(--tn-logo-red) 10%,white)!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:color-mix(in srgb,var(--tn-logo-red) 9%,white)!important;background:color-mix(in srgb,var(--tn-logo-red) 73.33%,transparent);border-color:color-mix(in srgb,var(--tn-logo-red) 40.0%,transparent)}
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('/Platform/brand-circuit.svg?v=logo-red-1')!important;background-position:center 70%!important;background-size:cover!important;color:color-mix(in srgb,var(--tn-logo-red) 10%,white)!important;border-top:1px solid #aeaeae}
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:color-mix(in srgb,var(--tn-logo-red) 14%,white)!important}

/* Marketing artwork edition: shared leather texture, circuits and silver sweep. */
html{color-scheme:dark}
html body{--brand-text:color-mix(in srgb,var(--tn-logo-red) 6%,white);--brand-muted:color-mix(in srgb,var(--tn-logo-red) 31%,white);--brand-edge:#7b7b7b;--brand-surface:color-mix(in srgb,var(--tn-logo-red) 29%,black);--brand-metal:linear-gradient(135deg,color-mix(in srgb,var(--tn-logo-red) 39%,black),color-mix(in srgb,var(--tn-logo-red) 22%,black));color:color-mix(in srgb,var(--tn-logo-red) 7%,white)!important;background-color:var(--brand-deep)!important;background-image:linear-gradient(color-mix(in srgb,var(--tn-logo-red) 61.18%,transparent),color-mix(in srgb,var(--tn-logo-red) 78.82%,transparent)),url('/Platform/brand-card-background.png')!important;background-blend-mode:normal,luminosity!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:color-mix(in srgb,var(--tn-logo-red) 7%,white)!important}
body :is(h1,h2,h3,h4,h5,h6){color:color-mix(in srgb,var(--tn-logo-red) 4%,white)}
body :is(p,li,label,small,.small,.muted,.subtitle,.description,.eyebrow){color:color-mix(in srgb,var(--tn-logo-red) 27%,white)}
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,color-mix(in srgb,var(--tn-logo-red) 78.82%,transparent) 6%,color-mix(in srgb,var(--tn-logo-red) 65.88%,transparent) 66%,color-mix(in srgb,var(--tn-logo-red) 25.1%,transparent)),url('/Platform/brand-card-background.png')!important;background-size:100% 100%!important;background-position:center 42%!important;background-blend-mode:normal,luminosity!important;color:color-mix(in srgb,var(--tn-logo-red) 6%,white)!important;border:1px solid #888888!important;border-top:2px solid color-mix(in srgb,var(--brand-accent) 65%,color-mix(in srgb,var(--tn-logo-red) 15%,white))!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:color-mix(in srgb,var(--tn-logo-red) 4%,white)!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:color-mix(in srgb,var(--tn-logo-red) 27%,white)!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:color-mix(in srgb,var(--tn-logo-red) 23%,white)}
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,color-mix(in srgb,var(--tn-logo-red) 78.82%,transparent),color-mix(in srgb,var(--tn-logo-red) 53.33%,transparent)),url('/Platform/brand-card-background.png')!important;background-size:100% 100%!important;background-position:center 58%!important;background-blend-mode:normal,luminosity!important;color:color-mix(in srgb,var(--tn-logo-red) 7%,white)!important}
body :is(.tn-sidebar,.sidebar){background-color:var(--brand-deep)!important;background-image:linear-gradient(color-mix(in srgb,var(--tn-logo-red) 72.94%,transparent),color-mix(in srgb,var(--tn-logo-red) 91.76%,transparent)),url('/Platform/brand-card-background.png')!important;background-position:center!important;background-size:auto,auto 100%!important;background-blend-mode:normal,luminosity!important}
body :is(.tn-sidebar,.sidebar) nav a{background-image:linear-gradient(95deg,color-mix(in srgb,var(--tn-logo-red) 78.82%,transparent),color-mix(in srgb,var(--tn-logo-red) 86.67%,transparent)),url('/Platform/brand-circuit.svg?v=logo-red-1')!important;background-size:100% 100%!important;border:1px solid #7a7a7a55}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:color-mix(in srgb,var(--tn-logo-red) 29%,black)!important;color:color-mix(in srgb,var(--tn-logo-red) 6%,white)!important;border:1px solid #868686!important;caret-color:#fff;color-scheme:dark}
body :is(input,textarea)::placeholder{color:var(--tn-logo-red)!important;opacity:1}
body option{background:color-mix(in srgb,var(--tn-logo-red) 29%,black);color:color-mix(in srgb,var(--tn-logo-red) 6%,white)}
body :is(table,.data-table,.table-wrap,.list-row,.work-row,.invoice-row,.equipment-row,.request-row){background-color:color-mix(in srgb,var(--tn-logo-red) 29%,black);color:color-mix(in srgb,var(--tn-logo-red) 11%,white);border-color:#606060}
body :is(th,td){color:inherit;border-color:#606060}
body :is(.chapters,.controls,.stage-top,.tour-description,.timeline-event,.info-strip,.quick-links,.review-summary){background-color:color-mix(in srgb,var(--tn-logo-red) 36%,black);color:color-mix(in srgb,var(--tn-logo-red) 11%,white);border-color:#828282}
body .chapters button{color:color-mix(in srgb,var(--tn-logo-red) 20%,white);background:color-mix(in srgb,var(--tn-logo-red) 37%,black);border-color:var(--tn-logo-red)}
body .chapters button[aria-current=step]{background:var(--brand-accent);color:#fff}
body :is(.badge,.pill,.tag){background-color:color-mix(in srgb,var(--tn-logo-red) 56%,black);color:color-mix(in srgb,var(--tn-logo-red) 11%,white);border-color:#7e7e7e}
/* Preserve legible drawing sheets and document previews. */
body :is(.paper,.document-preview,.doc-preview,.plan-canvas,.drawing-canvas){background-color:#fff!important;color:color-mix(in srgb,var(--tn-logo-red) 38%,black)!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:color-mix(in srgb,var(--tn-logo-red) 38%,black)!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}}

/* Connect keeps the original red artwork. */
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:color-mix(in srgb,var(--tn-logo-red) 15%,white)!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){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,var(--tn-logo-red))!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,.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,color-mix(in srgb,var(--tn-logo-red) 37%,black)) url('/Platform/brand-circuit.svg?v=logo-red-1') center/cover!important;color:color-mix(in srgb,var(--tn-logo-red) 7%,white)!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:color-mix(in srgb,var(--tn-logo-red) 7%,white)!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;}
