/* SME 0.44.0 — Titanium + Carbon Fiber design, approved 2026-11-03.
   Employee portal presentation only. Existing markup, flow, ticket actions,
   scroll anchoring, status grouping, dashboard controls and map routes stay intact.
   Exactly one decorative orange: Kubota #f26a21. Red is for faults only.
   This is the final visual layer, loaded after neutral-contrast-0.43.0.css. */
body.sme-premium-ui:not(.customer-portal-mode){
 --brand:#f26a21;--brand-dark:#f26a21;
 --sme-premium-orange:#f26a21;--sme-premium-soft:#f26a21;
 --sme-titanium:#bcbcc0;--sme-steel:#858589;
 --sme-carbon:#151517;--sme-charcoal:#222225;--sme-ice:#f6f6f8;
 --sme-racing-red:#d83b3b;--sme-premium-muted:#cfd0d4;
 --sme-premium-border:#59595e;--sme-premium-surface:#222225;
 --sme-premium-elevated:#303034;--sme-premium-ink:#f6f6f8;
 --sme-text-1:#f6f6f8;--sme-text-2:#dddddf;--sme-text-3:#c8c8cd;
 --edge:#59595e;--line:#55555b;--success:#bcbcc0;--warn:#f26a21;--danger:#d83b3b;
 color:#f6f6f8!important
}
/* Carbon only in the global chrome and selected feature panels, not every list. */
body.sme-premium-ui:not(.customer-portal-mode) .topbar{
 background:repeating-linear-gradient(135deg,rgba(255,255,255,.018) 0 1px,transparent 1px 5px),
 repeating-linear-gradient(45deg,rgba(255,255,255,.01) 0 1px,transparent 1px 5px),
 linear-gradient(105deg,#111113,#222225 65%,#171719)!important;
 border-bottom:1px solid #67676a!important;
 box-shadow:0 4px 24px rgba(0,0,0,.34)!important
}
body.sme-premium-ui:not(.customer-portal-mode) .sidebar{
 background:repeating-linear-gradient(135deg,rgba(255,255,255,.009) 0 1px,transparent 1px 6px),
 linear-gradient(160deg,#1c1c1e,#111113 80%)!important;
 border-right:1px solid #55555a!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.brand-mark,.side-logo,.boot-mark){
 background:#f26a21!important;color:#151517!important;
 box-shadow:inset 0 0 0 1px rgba(0,0,0,.19),0 5px 15px rgba(0,0,0,.26)!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.brand-title,.user-copy b,.side-name){color:#f6f6f8!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.brand-sub,.user-copy span,.sidebar-foot,.top-search kbd){color:#d2d2d5!important}
body.sme-premium-ui:not(.customer-portal-mode) .nav-item{color:#e4e4e7!important}
body.sme-premium-ui:not(.customer-portal-mode) .nav-item.active{
 background:#f26a21!important;color:#151517!important;
 box-shadow:inset 0 0 0 1px rgba(0,0,0,.16),0 3px 12px rgba(0,0,0,.2)!important
}
body.sme-premium-ui:not(.customer-portal-mode) .nav-item.active :is(.nav-label,.nav-icon,.nav-badge){color:#151517!important}
body.sme-premium-ui:not(.customer-portal-mode) .nav-item.active::before,
body.sme-premium-ui:not(.customer-portal-mode) .nav-item:is(.admin-nav,.creator-nav).active::before{background:transparent!important}
body.sme-premium-ui:not(.customer-portal-mode) .nav-item:not(.active):hover{
 background:#353538!important;color:#fff!important
}
body.sme-premium-ui:not(.customer-portal-mode) .nav-badge{
 background:#f26a21!important;color:#151517!important
}
/* An ice-white identity against charcoal, no old blue-gray page tints. */
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) .content{
 background:radial-gradient(ellipse 46rem 16rem at 96% 0,rgba(242,106,33,.035),transparent 82%),#111113!important
}
body.sme-premium-ui:not(.customer-portal-mode) .page-head{
 background:repeating-linear-gradient(135deg,rgba(255,255,255,.011) 0 1px,transparent 1px 6px),
 linear-gradient(110deg,#29292c,#171719 65%)!important;
 border-left:3px solid #f26a21!important;
 box-shadow:0 7px 21px rgba(0,0,0,.18)!important
}
body.sme-premium-ui:not(.customer-portal-mode) .page-head::after{
 background:linear-gradient(90deg,transparent,#717176,transparent)!important;
 box-shadow:none!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.title,.page-head .title,.eyebrow,.page-head .subtitle){color:#f6f6f8!important}
body.sme-premium-ui:not(.customer-portal-mode) .eyebrow{color:#f26a21!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.panel,.dash-card,.dash-widget,.card,.section,.health-section,.creator-panel,.creator-control,.manager-action-card,.writer-brief,.parts-panel,.tech-department,.comm-layout,.comm-detail,.dispatch-live-board,.dispatch-board-col,.file-folder,.access-intro,.team-intro,.hbs-recon-panel,.launch-card){
 background:#202023!important;background-image:none!important;
 border-color:#5b5b60!important;color:#f6f6f8!important;
 box-shadow:0 10px 25px rgba(0,0,0,.24)!important
}
/* Brushed titanium bars: dark text on silver, including legacy !important headings. */
body.sme-premium-ui:not(.customer-portal-mode) :is(
 .panel-head,.dash-card-head,.dash-widget-head,.section-title,
 .creator-panel-head,.tech-department-header,.tech-status-head,
 .dispatch-live-board-title,.dispatch-board-head,
 .planner-head,.health-title,.hbs-recon-head,.comm-detail-head,
 .parts-status-group-row th
){
 background:linear-gradient(112deg,#c5c5c8 0%,#8c8c90 48%,#b7b7ba 100%)!important;
 background-image:linear-gradient(112deg,#c5c5c8,#8c8c90 48%,#b7b7ba)!important;
 border-color:#66666b!important;color:#171719!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(
 .panel-head,.dash-card-head,.dash-widget-head,.section-title,
 .creator-panel-head,.tech-department-header,.tech-status-head,
 .dispatch-live-board-title,.dispatch-board-head,
 .planner-head,.health-title,.hbs-recon-head,.comm-detail-head,
 .parts-status-group-row th
) :is(.panel-title,.dash-card-title,.dash-widget-title,.section-title,b,strong,h1,h2,h3,h4,.parts-status-group-name,.tech-department-name){
 color:#171719!important;text-shadow:none!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(
 .panel-head,.dash-card-head,.dash-widget-head,.creator-panel-head,
 .tech-department-header,.tech-status-head,
 .health-title,.hbs-recon-head,.comm-detail-head
) :is(.muted,.panel-sub,.dash-card-sub,.dash-widget-sub,small){
 color:#303034!important;opacity:1!important
}
/* Action buttons use one exact orange and dark text for contrast. */
body.sme-premium-ui:not(.customer-portal-mode) :is(.btn-primary,.btn.btn-primary,.pill-btn.active){
 background:#f26a21!important;background-image:none!important;
 border-color:#f26a21!important;color:#151517!important;
 text-shadow:none!important
}
/* The legacy experience layer has a higher-specificity .app .content button rule. */
body.sme-premium-ui:not(.customer-portal-mode) .app .content :is(.btn-primary,.btn.btn-primary,.pill-btn.active){
 background:#f26a21!important;background-image:none!important;
 border-color:#f26a21!important;color:#151517!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.btn-primary,.btn.btn-primary,.pill-btn.active):hover{
 background:#f26a21!important;border-color:#f26a21!important;
 box-shadow:0 0 0 2px rgba(242,106,33,.27)!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.btn-danger,.btn.btn-danger){
 background:#652728!important;border-color:#d83b3b!important;color:#fff!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.btn:not(.btn-primary):not(.btn-danger),.top-action,.pill-btn:not(.active)){
 background:linear-gradient(115deg,#414145,#303034)!important;
 border-color:#69696f!important;color:#f6f6f8!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.btn:not(.btn-primary):not(.btn-danger),.top-action,.pill-btn:not(.active)):hover{
 border-color:#f26a21!important;color:#fff!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.input,.select,.textarea,input[type="text"],input[type="search"],input[type="email"],input[type="tel"],input[type="number"],input[type="date"],input[type="time"],select,textarea){
 background:#1a1a1c!important;border-color:#75757a!important;color:#f6f6f8!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.input,.select,.textarea,input,select,textarea):focus-visible{
 border-color:#f26a21!important;outline:2px solid #f26a21!important
}
/* Carbon KPI tiles, always neutral except a genuine red fault. */
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi,.dash-kpi,.dash-widget [data-metric],.store-strip-card){
 background:repeating-linear-gradient(135deg,rgba(255,255,255,.013) 0 1px,transparent 1px 6px),
 linear-gradient(130deg,#343438,#202023)!important;
 border-color:#66666a!important;color:#f6f6f8!important;
 box-shadow:0 5px 16px rgba(0,0,0,.16)!important
}
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi,.dash-kpi)::before{background:#f26a21!important}
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi.alert,.dash-kpi.alert)::before,
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi.alert,.dash-kpi.alert)::after{background:#d83b3b!important}
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi,.dash-kpi) :is(.kpi-value,.dash-kpi-value,.kpi-count,.dash-kpi-count){color:#f6f6f8!important}
body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi,.dash-kpi) :is(.kpi-label,.kpi-note,.dash-kpi-label,.dash-kpi-note){color:#dedee1!important;opacity:1!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.command-flow-panel,.creator-control,.sme-service-journey){
 background:repeating-linear-gradient(135deg,rgba(255,255,255,.015) 0 1px,transparent 1px 6px),
 linear-gradient(115deg,#28282c,#171719)!important;
 border-color:#67676c!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.dashboard-grid [data-dashboard-widget="kpi_summary"],.role-category-page > .role-category-kpis){
 background:repeating-linear-gradient(135deg,rgba(255,255,255,.012) 0 1px,transparent 1px 6px),
 linear-gradient(110deg,#27272a,#1d1d1f)!important;
 border-color:#69696d!important
}
body.sme-premium-ui.sme-route-work:not(.customer-portal-mode) .role-category-page > .role-category-kpis{
 border:2px solid #f26a21!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important
}
body.sme-premium-ui:not(.customer-portal-mode) .role-category-overview-title{color:#f6f6f8!important}
/* Tables: silver headings, dark readable rows; never touch grid sizing or scroll. */
body.sme-premium-ui:not(.customer-portal-mode) :is(.table-wrap thead th,.dash-table thead th,.parts-responsive-table thead th,.service-status-table thead th,thead th){
 background:linear-gradient(115deg,#b8b8bc,#8a8a8f)!important;
 color:#151517!important;border-color:#65656a!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.table-wrap tbody tr:not(.service-status-category-row):not(.service-status-sub-row),.dash-table tbody tr){
 background:#1c1c1e!important;color:#f3f3f5!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.table-wrap tbody tr:not(.service-status-category-row):not(.service-status-sub-row),.dash-table tbody tr):hover{
 background:#303034!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.table-wrap td,.dash-table td,.parts-responsive-table td){
 color:#ededf0!important;border-color:#414146!important
}
/* Management and Work List keep category organization and one orange stripe. */
body.sme-premium-ui:not(.customer-portal-mode) .role-category-panel{
 --category-accent:#99999e;background:#232326!important;
 border-color:#5c5c62!important
}
body.sme-premium-ui:not(.customer-portal-mode) .role-category-panel[data-role-tone="teal"],
body.sme-premium-ui:not(.customer-portal-mode) .role-category-panel[data-role-tone="amber"]{
 --category-accent:#99999e
}
body.sme-premium-ui:not(.customer-portal-mode) .role-category-panel:not(.role-category-has-title)::before,
body.sme-premium-ui:not(.customer-portal-mode) .role-category-page .role-category-panel.role-category-has-title>.panel-head{
 background:linear-gradient(110deg,#c2c2c5,#89898d 52%,#b6b6b9)!important;
 color:#151517!important;border-color:#66666a!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-category{
 --status-accent:#9d9da1!important;--status-rgb:157,157,161!important;
 background:#252527!important;border-color:#65656a!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-category[data-tone="orange"]{
 --status-accent:#f26a21!important;--status-rgb:242,106,33!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-category-head{
 background:linear-gradient(110deg,#c1c1c4,#85858a)!important;
 border-color:#717176!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-category-head h3{color:#161618!important}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-category-count{
 background:#333337!important;border-color:#6b6b70!important;color:#f5f5f7!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-stage{
 background:#303034!important;border-color:#606066!important;color:#f6f6f8!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-stage-count{color:#f6f6f8!important}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-grouped-table .service-status-category-row>th{
 background:linear-gradient(110deg,#c1c1c5,#8c8c91)!important;
 color:#171719!important;border-left:3px solid transparent!important;
 border-top:1px solid #707075!important;
 box-shadow:inset 3px 0 #f26a21!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-grouped-table .service-status-category-row>th :is(.service-status-table-label,.service-status-group-name){color:#171719!important}
body.sme-premium-ui:not(.customer-portal-mode) .service-status-grouped-table .service-status-sub-row>th{
 background:#39393d!important;color:#f4f4f6!important;
 border-left:3px solid transparent!important;box-shadow:none!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-mobile-category-head{
 background:linear-gradient(110deg,#bdbdc0,#88888d)!important;
 color:#171719!important;border-left-color:#f26a21!important
}
body.sme-premium-ui:not(.customer-portal-mode) .service-mobile-status-head{
 background:#39393c!important;color:#f5f5f7!important
}
/* Technician status panels, Parts queue, and shopping-list legibility. */
body.sme-premium-ui:not(.customer-portal-mode) :is(.tech-department,.tech-status-section,.parts-panel,.parts-transfer-card,.parts-conversation-card){
 background:#222225!important;border-color:#5c5c61!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.tech-department-header,.tech-status-head,.parts-status-group-row th) :is(b,strong,h2,h3,.tech-department-title,.parts-status-group-name){color:#18181a!important}
body.sme-premium-ui:not(.customer-portal-mode) .parts-status-group-row th{
 border-top:2px solid #f26a21!important
}
body.sme-premium-ui:not(.customer-portal-mode) .parts-status-group-count{
 background:#3b3b3f!important;border-color:#6c6c70!important;color:#f6f6f8!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.parts-status-group-row,.tech-department-header,.tech-status-head) :is(.tech-department-total,.tech-status-count){
 background:#353538!important;color:#f6f6f8!important;border-color:#69696d!important
}
/* Dispatch routes stay color-coded by their saved planned-route identity.
   Never recolor SVG path, map marker, polyline, or route-card color variables. */
body.sme-premium-ui:not(.customer-portal-mode) :is(.dispatch-live-board,.dispatch-board-col,.dispatch-mobile-card,.planner-stop-card,.dispatch-planner){
 background:#202023!important;border-color:#5c5c60!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.dispatch-live-board-title,.dispatch-board-head,.planner-head) :is(b,strong,h2,h3){color:#151517!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.comm-thread,.comm-detail,.comm-compose,.comm-layout,.comm-template-card){
 background:#222225!important;border-color:#59595e!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.comm-thread.active,.comm-thread[aria-selected="true"]){
 background:#37373a!important;box-shadow:inset 4px 0 #f26a21!important;
 border-color:#f26a21!important
}
body.sme-premium-ui:not(.customer-portal-mode) .comm-detail-head :is(b,strong,.comm-detail-name){color:#161618!important}
body.sme-premium-ui:not(.customer-portal-mode) .comm-thread :is(b,strong){color:#f6f6f8!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.comm-thread-preview,.comm-thread-meta){color:#d5d5d9!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.modal-head,.drawer-head){
 background:linear-gradient(110deg,#414145,#2f2f33)!important;
 color:#f6f6f8!important;border-color:#66666b!important
}
/* Racing red denotes a genuine problem, not ordinary notifications or progress. */
body.sme-premium-ui:not(.customer-portal-mode) :is(.badge.alert,.badge.danger,.status.error,.status.alert){
 color:#fff!important;background:#7b2629!important;border-color:#d83b3b!important
}
/* Legacy nested badge rules cannot reintroduce green, blue or peach text. */
body.sme-premium-ui:not(.customer-portal-mode) .app .content :is(.badge.alert,.badge.danger,.status.error,.status.alert){
 color:#fff!important;background:#7b2629!important;border-color:#d83b3b!important
}
body.sme-premium-ui:not(.customer-portal-mode) .app .content :is(.badge.good,.badge.info,.badge.warn,.badge.pending){
 color:#f6f6f8!important;background:#3a3a3d!important;border-color:#6d6d72!important
}
body.sme-premium-ui:not(.customer-portal-mode) .sme-initials{
 background:#f26a21!important;background-image:none!important;color:#151517!important
}
body.sme-premium-ui:not(.customer-portal-mode) .sme-equipment-glyph{
 background:#323236!important;color:#f26a21!important;border-color:#626267!important
}
body.sme-premium-ui:not(.customer-portal-mode) .ticket-next-label{color:#f26a21!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.priority-dot.yes,.critical-dot){background:#d83b3b!important}
body.sme-premium-ui:not(.customer-portal-mode) :is(.badge.good,.badge.info){
 background:#3a3a3d!important;color:#f6f6f8!important;border-color:#6d6d72!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.badge.warn,.badge.pending){
 background:#39393c!important;color:#f6f6f8!important;border-color:#6e6e73!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.metric-row .bar>i,.command-meter-row i){
 background:#f26a21!important
}
body.sme-premium-ui:not(.customer-portal-mode) :is(.company-strip .store-strip-card small,.results-foot,.subcell,.muted,.field-hint,.help-text){
 color:#d0d0d4!important;opacity:1!important
}
@media(prefers-reduced-motion:reduce){
 body.sme-premium-ui:not(.customer-portal-mode):not(.command-wallboard) :is(.kpi,.dash-kpi,.panel,.card,.dash-card){
  transition:none!important
 }
}
