:root{--bg:#eef2f6;--surface:#ffffff;--surface-strong:#fbfcfd;--surface-alt:#f5f7fa;--text:#102334;--muted:#57697b;--line:rgba(16,35,52,.14);--brand:#0B3C5D;--brand-strong:#082032;--brand-soft:#2F80ED;--success:#2F855A;--warning:#C77D2B;--danger:#C53030;--info:#2F80ED;--shadow:0 10px 24px rgba(15,23,42,.05);--shadow-soft:0 2px 8px rgba(15,23,42,.035);--panel-padding:20px;--panel-radius:10px;--control-radius:8px;--control-height:38px;--radius-small:6px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:14px;--space-5:16px;--space-6:20px;--space-7:24px;--space-8:32px;--text-xs:.76rem;--text-sm:.84rem;--text-base:.9rem;--text-lg:1rem;--text-xl:1.12rem;--text-2xl:clamp(1.45rem,1.8vw,1.7rem)}
*{box-sizing:border-box}html{font-size:15px}body{position:relative;margin:0;min-height:100vh;font-family:"Manrope",sans-serif;font-size:var(--text-base);line-height:1.55;letter-spacing:-.012em;color:var(--text);background:linear-gradient(135deg,rgba(4,10,24,.82),rgba(11,19,44,.52)),url("login-background.png") center/cover no-repeat fixed;transition:background .28s ease,color .28s ease}.hidden{display:none!important}body.modal-open{overflow:hidden}body::before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 18% 22%,rgba(79,176,255,.22),transparent 28%),radial-gradient(circle at 50% 78%,rgba(255,255,255,.08),transparent 26%),linear-gradient(180deg,rgba(255,255,255,.05),rgba(8,32,50,.35));pointer-events:none;z-index:0}body.app-shell-active{background:linear-gradient(180deg,#f8fbff 0%,#f4f7fb 52%,#eef3f9 100%)}body.app-shell-active::before{background:radial-gradient(circle at 16% 10%,rgba(47,128,237,.12),transparent 24%),radial-gradient(circle at 84% 18%,rgba(11,60,93,.08),transparent 22%),radial-gradient(circle at 50% 100%,rgba(255,255,255,.8),transparent 28%)}body.auth-shell-active{background:#2478cc}body.auth-shell-active::before{background:none}
.app-boot-screen{position:fixed;inset:0;z-index:10000;display:grid;place-content:center;justify-items:center;gap:8px;color:#eaf3ff;background:radial-gradient(circle at 50% 42%,rgba(47,128,237,.2),transparent 28%),#071421}.app-boot-mark{display:grid;width:48px;height:48px;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:12px;color:#fff;background:#176fd1;box-shadow:0 16px 36px rgba(0,0,0,.24);font-weight:800}.app-boot-screen strong{font-size:1.1rem;letter-spacing:.01em}.app-boot-screen small{color:#9db0c5}.app-booting #authShell,.app-booting #appShell{visibility:hidden}body.platform-admin-active{background:#edf2f7}body.platform-admin-active::before{background:radial-gradient(circle at 12% 8%,rgba(47,128,237,.1),transparent 24%)}body.platform-admin-active #platformModal{padding:18px;background:rgba(7,20,33,.72)}body.platform-admin-active #platformModal .modal-card{width:min(1480px,100%);max-height:calc(100vh - 36px)}
.auth-shell{position:relative;isolation:isolate;min-height:100vh;display:grid;place-items:center;padding:28px 16px;background:transparent}.auth-shell::before{content:"";position:absolute;inset:0;background:none;z-index:-1}.auth-wordmark{margin-bottom:20px;color:#fff;font-family:"Space Grotesk",sans-serif;font-size:clamp(1.8rem,3.8vw,2.45rem);font-weight:700;letter-spacing:-.04em;text-align:center}.auth-card,.panel,.hero,.modal-card{position:relative;overflow:hidden;backdrop-filter:blur(20px) saturate(1.08);background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(248,251,255,.78));border:1px solid rgba(255,255,255,.56);box-shadow:var(--shadow)}.auth-card::before,.panel::before,.hero::before,.modal-card::before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(255,255,255,.45),transparent 48%,rgba(47,128,237,.06) 100%);pointer-events:none}.auth-card{width:min(400px,100%);padding:22px 22px 18px;border-radius:10px;background:#fff;border:0;box-shadow:0 6px 18px rgba(12,24,44,.18)}.auth-card::before{display:none}.auth-brand{display:flex;justify-content:flex-end;margin-bottom:2px;min-height:0}.page-shell{position:relative;z-index:1;width:min(1480px,calc(100% - 32px));margin:var(--space-6) auto var(--space-8)}
.hero{display:flex;justify-content:space-between;gap:var(--space-6);padding:var(--panel-padding);border-radius:calc(var(--panel-radius) + 2px);margin-bottom:var(--space-6);background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(243,248,253,.74))}.hero-main{width:100%;display:grid;gap:var(--space-4)}.hero-title-row,.section-heading-inline,.list-entry{display:flex;justify-content:space-between;gap:var(--space-4)}.section-heading-inline{align-items:flex-start}.brand-lockup,.hero-actions{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.hero-actions{margin-left:auto;justify-content:flex-end}.logo-frame{width:64px;height:64px;border-radius:16px;background:rgba(255,255,255,.96);overflow:hidden;display:grid;place-items:center;box-shadow:0 8px 18px rgba(8,32,50,.1)}.logo-frame img{width:100%;height:100%;object-fit:contain}
.eyebrow{margin:0 0 var(--space-2);color:var(--brand);text-transform:uppercase;letter-spacing:.12em;font-size:var(--text-xs);font-weight:750}h1,h2,h3,h4{margin:0;font-family:"Space Grotesk",sans-serif;letter-spacing:-.03em}h1{font-size:var(--text-2xl);line-height:1.02}h2{font-size:clamp(1.12rem,1.45vw,1.34rem);line-height:1.14}h3{font-size:var(--text-lg);line-height:1.18}h4{font-size:.96rem;line-height:1.2}.hero-copy,.section-heading p,.hero-subtext,.system-notes li{color:var(--muted)}.hero-copy,.hero-subtext,.section-heading p,.report-summary,.attachment-preview,.empty-state,.report-log-item small,.platform-meta-chip{font-size:var(--text-sm)}.hero-copy,.section-heading p,.hero-subtext,.report-summary{line-height:1.58}.hero-card{min-width:168px;align-self:flex-start;padding:var(--space-5);border-radius:14px;background:linear-gradient(160deg,var(--brand),var(--brand-strong));color:#fff;display:grid;gap:var(--space-2)}.hero-card strong{font-size:2.1rem;line-height:1}
.auth-title{font-size:clamp(1.35rem,2vw,1.65rem);line-height:1.04;max-width:none}
.auth-card .eyebrow{display:none}
.auth-card .logo-frame{width:42px;height:42px;border-radius:10px;box-shadow:none}
.auth-card .hero-copy{max-width:31ch;margin:4px 0 2px;font-size:.9rem;line-height:1.45}
.auth-card .ticket-form{gap:14px}
.auth-card .field{gap:6px}
.auth-card .field span{font-size:.92rem;font-weight:800;color:#253443}
.auth-card input{min-height:44px;padding:12px 14px;border:3px solid #1e1f23;border-radius:10px;background:#fff;box-shadow:none}
.auth-card input:hover{background:#fff;border-color:#1e1f23}
.auth-card input:focus{border-color:#1e1f23;box-shadow:0 0 0 3px rgba(36,120,204,.14)}
.auth-card .btn{min-height:40px;border-radius:8px}
.auth-card .btn-primary{background:#7fb0e4;color:#fff;box-shadow:none}
.auth-card .btn-primary:hover{background:#6ea4dd}
.auth-card .form-actions{margin-top:4px}
.auth-card .app-footer{margin-top:16px;font-size:.78rem;gap:2px;color:#435363}
.auth-card .app-footer p:last-child{display:none}
.app-lead-title{font-size:clamp(1.48rem,2.05vw,1.95rem);line-height:1.08;max-width:16ch}
.platform-admin-title{font-size:clamp(1.33rem,2.24vw,2.17rem);line-height:1.02}
.platform-lead-title{font-size:clamp(1.33rem,2.38vw,2.24rem);line-height:1.08;max-width:14ch}
.module-mechanics .app-lead-title{font-size:clamp(1.33rem,2.38vw,2.24rem);line-height:1.08}
#systemNameHeading{font-size:clamp(1.28rem,1.7vw,1.7rem);line-height:1.04}
#tenantHeading{font-size:.9rem;line-height:1.48}
.layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.88fr);gap:var(--space-6)}.right-rail{display:grid;align-content:start;gap:var(--space-6)}.panel{border-radius:var(--panel-radius);padding:var(--panel-padding)}.panel-table{margin-top:var(--space-6)}.panel-side{display:grid;align-content:start;gap:var(--space-4)}.section-heading{margin-bottom:var(--space-4);padding-bottom:var(--space-3);border-bottom:1px solid rgba(16,35,52,.08);display:grid;gap:4px}.section-heading-inline>input[type="search"]{margin-left:auto;max-width:300px}
.ticket-form,.import-card{display:grid;gap:var(--space-4)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}.field{display:grid;gap:8px}.field-full{grid-column:1/-1}.field span{font-weight:650;font-size:.84rem;letter-spacing:-.01em;color:var(--brand-strong)}input,select,textarea,button{font:inherit}
input,select,textarea{width:100%;border:1px solid var(--line);border-radius:var(--control-radius);padding:10px 14px;background:rgba(255,255,255,.78);color:var(--text);transition:border-color .18s ease,box-shadow .18s ease,background-color .28s ease,color .28s ease}input::placeholder,textarea::placeholder{color:var(--muted)}input,select{min-height:var(--control-height)}input:hover,select:hover,textarea:hover{background:rgba(255,255,255,.92);border-color:rgba(16,35,52,.14)}input:focus,select:focus,textarea:focus{outline:none;border-color:rgba(47,128,237,.5);box-shadow:0 0 0 3px rgba(47,128,237,.12),0 8px 18px rgba(8,32,50,.05)}textarea{resize:vertical;line-height:1.58}.attachment-preview,.report-summary{min-height:44px;padding:12px 14px;border-radius:12px;border:1px solid rgba(16,35,52,.08);background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(47,128,237,.06));color:var(--muted);display:flex;align-items:center}
.money-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:var(--control-radius);background:rgba(255,255,255,.82);overflow:hidden;transition:border-color .18s ease,box-shadow .18s ease,background-color .28s ease,color .28s ease}
.money-field:focus-within{border-color:rgba(47,128,237,.46);box-shadow:0 0 0 4px rgba(47,128,237,.12),0 12px 24px rgba(8,32,50,.08)}
.money-prefix{display:grid;place-items:center;min-height:var(--control-height);padding:0 14px;border-right:1px solid rgba(8,32,50,.08);background:rgba(11,60,93,.08);font-weight:750;color:var(--brand-strong)}
.money-field input{border:0;border-radius:0;background:transparent;box-shadow:none}
.money-field input:focus{box-shadow:none}
.ticket-form.is-locked input:disabled,.ticket-form.is-locked select:disabled,.ticket-form.is-locked textarea:disabled{background:#e5e7eb;color:#6b7280;border-color:#cbd5e1;cursor:not-allowed}
.form-actions{display:flex;gap:var(--space-3);flex-wrap:wrap;justify-content:flex-end;align-items:center}.btn{border:1px solid transparent;border-radius:10px;min-height:var(--control-height);min-width:114px;padding:10px 14px;font-size:var(--text-sm);font-weight:750;letter-spacing:-.01em;cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .16s ease,box-shadow .18s ease,filter .18s ease;position:relative}.btn:hover{transform:translateY(-1px)}.btn:active{transform:translateY(1px) scale(.99);filter:saturate(1.03)}.btn:focus-visible,.mechanics-nav-btn:focus-visible,.settings-nav-btn:focus-visible,.settings-accordion summary:focus-visible,.interactive-row:focus-visible{outline:2px solid rgba(47,128,237,.62);outline-offset:2px}.btn-primary{background:#1f78e0;color:#fff;box-shadow:0 6px 14px rgba(31,120,224,.16)}.btn-primary:hover{background:#1868c2}.btn-secondary{background:rgba(255,255,255,.78);border-color:rgba(16,35,52,.12);color:var(--brand);box-shadow:0 2px 8px rgba(15,23,42,.035)}.btn-secondary:hover{background:rgba(244,249,255,.98);border-color:rgba(47,128,237,.28);color:var(--brand-strong)}.btn-danger{background:var(--danger);border-color:var(--danger);color:#fff;box-shadow:0 8px 18px rgba(197,48,48,.14)}.btn-danger:hover{background:#A61E1E;border-color:#A61E1E}.icon-btn{width:38px;height:38px;min-width:38px;min-height:38px;padding:0;display:grid;place-items:center}.icon-btn svg{width:16px;height:16px;stroke:currentColor}
.system-notes,.import-card,.settings-section,.list-card{padding:16px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(245,248,252,.72));border:1px solid rgba(16,35,52,.06);box-shadow:var(--shadow-soft)}.system-notes ul{margin:10px 0 0;padding-left:18px;display:grid;gap:var(--space-2)}.toast{min-height:20px;color:var(--brand-strong);font-weight:700;font-size:var(--text-sm)}
.palette-swatch-card{padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.96);border:1px solid rgba(8,32,50,.08);display:grid;gap:8px}
.palette-swatch-card i{display:block;width:100%;height:44px;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.palette-swatch-card strong{font-size:var(--text-sm);color:var(--brand-strong)}
.palette-swatch-card small{font-size:var(--text-xs);color:var(--muted);letter-spacing:.04em;text-transform:uppercase}
.dashboard-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.metric-card{padding:14px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(235,242,250,.76));border:1px solid rgba(255,255,255,.38);display:grid;gap:var(--space-2);box-shadow:var(--shadow-soft)}
.metric-card span{font-size:.74rem;font-weight:750;letter-spacing:.03em;text-transform:uppercase;color:var(--muted)}
.metric-card strong{font-size:1.72rem;line-height:1;font-family:"Space Grotesk",sans-serif}
.metric-card small{color:var(--muted)}
#leadSignedInAs{font-size:1.45rem}
#leadTenantName{font-size:1.45rem}
#leadReferenceMode{font-size:1.45rem}
#mechanicsLeadSignedInAs,#mechanicsLeadTenantName,#mechanicsLeadReferenceMode{font-size:inherit;line-height:1.25}
.activity-feed{display:grid;gap:10px;max-height:360px;overflow:auto;padding-right:4px}
.activity-summary{display:flex;justify-content:space-between;gap:var(--space-3);align-items:center;padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,rgba(11,60,93,.08),rgba(255,255,255,.94));border:1px solid rgba(11,60,93,.12)}
.activity-summary div{display:flex;align-items:center;gap:10px}
.activity-summary small{color:var(--muted)}
.activity-live-dot{width:8px;height:8px;border-radius:999px;background:var(--success);box-shadow:0 0 0 4px rgba(31,157,85,.12);display:inline-block}
.activity-item{padding:12px 14px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(239,243,249,.78));border:1px solid rgba(255,255,255,.34);display:grid;grid-template-columns:36px minmax(0,1fr);gap:12px;align-items:flex-start;box-shadow:var(--shadow-soft)}
.activity-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-weight:800;background:rgba(11,60,93,.08);color:var(--brand-strong)}
.activity-body{display:grid;gap:8px}
.activity-item-header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.activity-item-header strong{display:block;margin-top:2px;font-size:.94rem;line-height:1.3}
.activity-badge,.activity-meta span{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:rgba(8,32,50,.05);font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.activity-time{font-size:.76rem;font-weight:800;color:var(--brand-strong)}
.activity-item p,.activity-meta{margin:0;color:var(--muted)}
.activity-meta{display:flex;gap:8px;flex-wrap:wrap}
.activity-success{border-left:4px solid var(--success)}
.activity-success .activity-icon{background:rgba(47,133,90,.12);color:var(--success)}
.activity-info{border-left:4px solid var(--info)}
.activity-info .activity-icon{background:rgba(47,128,237,.12);color:var(--info)}
.activity-warning{border-left:4px solid var(--warning)}
.activity-warning .activity-icon{background:rgba(199,125,43,.12);color:var(--warning)}
.activity-neutral{border-left:4px solid rgba(11,60,93,.18)}
.activity-actions{margin-top:10px}
.app-footer{margin:var(--space-6) auto 0;text-align:center;color:rgba(255,255,255,.82);font-size:var(--text-sm);display:grid;gap:4px}
.app-footer p{margin:0}
.auth-footer{margin-top:var(--space-5);color:var(--brand-strong)}
body.app-shell-active .app-footer{color:var(--muted)}
.analytics-section{display:grid;gap:var(--space-5)}
.analytics-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3)}
.analytics-kpi-card{padding:18px 20px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(238,246,255,.9));border:1px solid rgba(8,32,50,.08);display:grid;gap:var(--space-2);box-shadow:0 12px 30px rgba(8,32,50,.06)}
.analytics-kpi-card span{font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.analytics-kpi-card strong{font-size:2rem;line-height:1;font-family:"Space Grotesk",sans-serif;color:var(--text)}
.analytics-kpi-card small{display:inline-flex;align-items:center;gap:8px;font-weight:800}
.analytics-delta-up{color:#15803d}
.analytics-delta-down{color:#b91c1c}
.analytics-delta-neutral{color:var(--muted)}
.analytics-legend{display:flex;gap:10px;flex-wrap:wrap}
.analytics-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(8,32,50,.05);font-size:.82rem;font-weight:700;color:var(--text)}
.analytics-swatch{width:12px;height:12px;border-radius:999px;display:inline-block}
.analytics-chart-wrap{position:relative;padding:14px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(238,246,255,.9));border:1px solid rgba(8,32,50,.08);overflow:hidden}
.analytics-chart-wrap svg{width:100%;height:auto;display:block}
.analytics-chart-bg{fill:rgba(255,255,255,.9)}
.analytics-axis-line{stroke:rgba(8,32,50,.22);stroke-width:1.5}
.analytics-grid-line{stroke:rgba(8,32,50,.08);stroke-width:1}
.analytics-axis-label{fill:var(--muted);font-size:12px;font-weight:700}
.analytics-axis-left{text-anchor:end}
.analytics-hit{cursor:pointer;transition:transform .15s ease,opacity .15s ease}
.analytics-hit:hover{opacity:.86}
.analytics-tooltip{position:absolute;min-width:180px;max-width:240px;padding:12px 14px;border-radius:16px;background:rgba(8,32,50,.94);color:#fff;display:grid;gap:4px;box-shadow:0 20px 40px rgba(8,32,50,.18);pointer-events:none;z-index:2}
.analytics-tooltip strong{font-size:.86rem;line-height:1.3}
.analytics-tooltip span{font-size:.78rem;color:rgba(255,255,255,.78)}
.table-wrap{overflow-x:auto;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.84),rgba(239,243,249,.72));border:1px solid rgba(255,255,255,.3);box-shadow:var(--shadow-soft)}table{width:100%;border-collapse:collapse;min-width:1040px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid rgba(8,32,50,.08);vertical-align:top}td{font-size:var(--text-sm);line-height:1.42}th{color:var(--muted);font-size:.73rem;text-transform:uppercase;letter-spacing:.04em;font-weight:750}.status-pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-weight:750;font-size:.72rem}.status-New{background:rgba(47,128,237,.12);color:var(--info)}.status-In-progress{background:rgba(199,125,43,.14);color:var(--warning)}.status-Pending-Close{background:rgba(47,128,237,.12);color:var(--info)}.status-Closed{background:rgba(47,133,90,.14);color:var(--success)}.status-Completed{background:rgba(47,133,90,.14);color:var(--success)}.status-Reopened{background:rgba(47,128,237,.12);color:var(--info)}.status-Duplicate{background:rgba(197,48,48,.12);color:var(--danger)}.link-button{color:var(--brand-strong);text-decoration:none;font-weight:750}.empty-state{text-align:center;color:var(--muted);padding:18px 12px}
.ticket-reference{display:inline-flex;align-items:baseline;gap:2px;font-weight:800;letter-spacing:.01em}
.ticket-reference-prefix{font-size:.58em;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}
.ticket-reference-number{font-size:1em;color:var(--brand-strong)}
.table-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-bottom:12px}.export-menu{display:flex;gap:8px;flex-wrap:wrap}
.activity-actions{margin-top:4px;margin-bottom:0}
.btn:disabled{opacity:.55;cursor:not-allowed}
.report-tabs{display:flex;gap:18px;align-items:center;padding:0 4px 12px;margin-bottom:12px;border-bottom:1px solid rgba(8,32,50,.08)}
.report-tab{padding:8px 2px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-weight:800;font-size:var(--text-sm);letter-spacing:-.01em;cursor:pointer;transition:color .18s ease,border-color .18s ease}
.report-tab:hover{color:var(--brand-strong)}
.report-tab.is-active{color:var(--brand);border-bottom-color:var(--brand-soft)}
.report-pane{display:grid;gap:var(--space-4);transition:opacity .2s ease,transform .2s ease}
.report-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.report-log-list{display:grid;gap:var(--space-3)}
.report-log-item{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:16px 18px;border-radius:16px;background:rgba(255,255,255,.92);border:1px solid rgba(8,32,50,.08)}
.report-log-item div{display:grid;gap:var(--space-2)}
.report-log-item strong{font-size:var(--text-base)}
.report-log-item small{color:var(--muted)}
.platform-tenant-list{display:grid;gap:var(--space-4)}
.platform-tenant-card{padding:20px;border-radius:20px;background:rgba(255,255,255,.9);border:1px solid rgba(8,32,50,.08);display:grid;gap:var(--space-4);box-shadow:var(--shadow-soft)}
.platform-tenant-card header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.platform-tenant-card h3{font-size:1.08rem}
.platform-tenant-meta{display:flex;gap:8px;flex-wrap:wrap}
.platform-tenant-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.platform-tenant-body{display:grid;gap:var(--space-4)}
.platform-meta-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(8,32,50,.05);font-size:.78rem;font-weight:800;color:var(--muted)}
.platform-inline-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3)}
.platform-tenant-details-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:var(--space-4)}
.platform-company-details,.platform-user-list{display:grid;gap:12px}
.platform-detail-row,.platform-user-card{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid rgba(8,32,50,.08)}
.platform-detail-row:last-child,.platform-user-card:last-child{border-bottom:0;padding-bottom:0}
.platform-detail-row span,.platform-user-card p{margin:0;color:var(--muted);font-size:var(--text-sm);line-height:1.45}
.platform-detail-row strong,.platform-user-card strong{font-size:var(--text-sm);line-height:1.45;color:var(--brand-strong);text-align:right}
.platform-user-card{flex-direction:column}
.platform-user-meta{display:flex;gap:8px;flex-wrap:wrap}
.required-label::after{content:" *";color:var(--danger);font-weight:800}
.field input.is-invalid,.field select.is-invalid,.field textarea.is-invalid{border-color:rgba(197,48,48,.7)!important;box-shadow:0 0 0 3px rgba(197,48,48,.12)}
.field-error-text{margin-top:6px;color:var(--danger);font-size:var(--text-xs);font-weight:700;line-height:1.45}
.customer-portal-shell{width:min(1320px,calc(100% - 32px))}
.customer-portal-main{display:grid;gap:var(--space-6)}
.customer-portal-intro{background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(235,242,250,.78))}
.customer-portal-title{font-size:clamp(1.3rem,2.4vw,2rem);line-height:1.08;max-width:16ch}
.customer-portal-caution{margin:14px 0 0;padding:14px 16px;border-radius:16px;border:1px solid rgba(197,48,48,.18);background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(197,48,48,.08));color:#b42318;font-weight:800;line-height:1.6}
.customer-portal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5)}
.customer-portal-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:var(--space-4)}
.customer-portal-stage{padding:14px;border-radius:18px;border:1px solid rgba(8,32,50,.08);background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(239,243,249,.78));display:grid;gap:6px}
.customer-portal-stage span{font-weight:800;font-size:var(--text-sm);color:var(--brand-strong)}
.customer-portal-stage small{color:var(--muted);font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.06em}
.customer-portal-stage.is-active{border-color:rgba(47,128,237,.34);box-shadow:0 12px 28px rgba(47,128,237,.16)}
.customer-portal-stage.is-complete{background:linear-gradient(180deg,rgba(47,133,90,.14),rgba(255,255,255,.88))}
.customer-portal-summary-grid,.customer-portal-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.customer-portal-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.customer-portal-detail{padding:14px 16px;border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(239,243,249,.78));border:1px solid rgba(8,32,50,.08);display:grid;gap:4px}
.customer-portal-detail span{font-size:var(--text-xs);font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.customer-portal-detail strong{font-size:var(--text-sm);line-height:1.45;color:var(--brand-strong)}
.customer-portal-financial-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:var(--space-4)}
.customer-portal-list{display:grid;gap:12px}
.customer-portal-list-item{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(8,32,50,.08)}
.customer-portal-list-item:last-child{border-bottom:0;padding-bottom:0}
.customer-portal-list-item p,.customer-portal-note{margin:4px 0 0;color:var(--muted);font-size:var(--text-sm);line-height:1.45}
.customer-portal-amounts{display:grid;gap:4px;text-align:right;font-size:var(--text-sm);font-weight:700;color:var(--brand-strong)}
.customer-portal-message.customer-portal-error .report-summary{border-color:rgba(197,48,48,.22);background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(197,48,48,.08));color:var(--danger)}
.customer-portal-message.customer-portal-warning .report-summary{border-color:rgba(197,48,48,.22);background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(197,48,48,.08));color:var(--danger);font-weight:800}
.customer-portal-approval{display:grid;gap:var(--space-4)}
.customer-portal-approval-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-portal-approval-groups{display:grid;gap:var(--space-4)}
.customer-portal-approval-group{display:grid;gap:var(--space-3);padding:18px;border-radius:20px;border:1px solid rgba(8,32,50,.08);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(240,245,251,.84));box-shadow:var(--shadow-soft)}
.customer-portal-approval-group header{display:flex;justify-content:space-between;gap:var(--space-3);align-items:flex-start}
.customer-portal-approval-group h3{font-size:1rem;color:var(--brand-strong)}
.customer-portal-approval-group header span{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(8,32,50,.05);font-size:var(--text-xs);font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.customer-portal-approval-group-list{display:grid;gap:var(--space-3)}
.customer-portal-approval-item{display:grid;gap:var(--space-3);padding:18px;border-radius:18px;border:1px solid rgba(8,32,50,.08);background:rgba(255,255,255,.92)}
.customer-portal-approval-item-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:flex-start}
.customer-portal-approval-copy{display:grid;gap:6px}
.customer-portal-approval-copy strong{font-size:.98rem;color:var(--brand-strong)}
.customer-portal-approval-copy p,.customer-portal-approval-copy small{margin:0;color:var(--muted);line-height:1.55}
.customer-portal-approval-item-row>b{font-family:"Space Grotesk",sans-serif;font-size:1rem;color:var(--brand-strong);white-space:nowrap}
.customer-portal-approval-check{display:inline-flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;border:1px solid rgba(8,32,50,.1);background:rgba(248,251,255,.92);font-size:var(--text-sm);font-weight:800;color:var(--brand-strong);cursor:pointer}
.customer-portal-approval-check input{margin:0;inline-size:18px;block-size:18px;accent-color:var(--brand-soft)}
.customer-portal-line-items{display:grid;gap:10px;padding:14px;border-radius:16px;background:linear-gradient(180deg,rgba(248,251,255,.92),rgba(235,242,250,.78));border:1px solid rgba(8,32,50,.06)}
.customer-portal-line-item{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;font-size:var(--text-sm);color:var(--muted)}
.customer-portal-line-item strong{color:var(--brand-strong);white-space:nowrap}
.customer-portal-approval-media,.inspection-review-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px}
.customer-portal-approval-media figure,.inspection-review-media figure{margin:0;display:grid;gap:8px}
.customer-portal-approval-media img,.inspection-review-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:16px;border:1px solid rgba(8,32,50,.08);background:#edf3f9}
.customer-portal-approval-media figcaption,.inspection-review-media figcaption{font-size:var(--text-xs);line-height:1.45;color:var(--muted)}
.customer-portal-approval-confirmation{display:grid;gap:var(--space-4);padding:18px;border-radius:20px;border:1px solid rgba(47,128,237,.14);background:linear-gradient(180deg,rgba(247,250,255,.96),rgba(238,245,252,.84))}
.customer-portal-approval-confirmation strong{font-size:.98rem;color:var(--brand-strong)}
.customer-portal-approval-confirmation p{margin:6px 0 0;color:var(--muted);line-height:1.58}
.customer-portal-approval-actions{justify-content:flex-start}
.customer-portal-inline-error{color:var(--danger)!important}
.customer-portal-approval[data-approval-status="approved"] .customer-portal-approval-confirmation{border-color:rgba(47,133,90,.18);background:linear-gradient(180deg,rgba(245,253,248,.96),rgba(230,245,235,.84))}
.customer-portal-approval[data-approval-status="declined"] .customer-portal-approval-confirmation,.customer-portal-approval[data-approval-status="revoked"] .customer-portal-approval-confirmation{border-color:rgba(197,48,48,.18);background:linear-gradient(180deg,rgba(255,249,249,.96),rgba(250,235,235,.84))}
.platform-billing-table table{min-width:980px}.platform-plan-section{margin-top:var(--space-5);display:grid;gap:var(--space-4)}.platform-plan-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-5)}.platform-plan-card{padding:22px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(237,244,251,.9));border:1px solid rgba(8,32,50,.08);box-shadow:var(--shadow-soft);display:grid;gap:var(--space-4)}.platform-plan-card header{display:flex;justify-content:space-between;gap:var(--space-3);align-items:flex-start}.platform-plan-card h4{margin:4px 0 0;font-family:"Space Grotesk",sans-serif;font-size:1.2rem;line-height:1.1}.platform-plan-card header strong{font-family:"Space Grotesk",sans-serif;font-size:1.35rem;color:var(--brand-strong)}.platform-plan-eyebrow{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(47,128,237,.12);color:#1f5fb8;font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.platform-plan-card.is-featured{border-color:rgba(47,128,237,.32);box-shadow:0 18px 44px rgba(47,128,237,.16)}.platform-plan-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.platform-plan-list li{display:flex;justify-content:space-between;gap:var(--space-3);padding-bottom:10px;border-bottom:1px solid rgba(8,32,50,.08);font-size:var(--text-sm)}.platform-plan-list li:last-child{padding-bottom:0;border-bottom:0}.platform-plan-list span{color:var(--muted)}.platform-plan-list strong{font-size:var(--text-sm)}.platform-plan-card p{margin:0;font-size:var(--text-sm);color:var(--muted);line-height:1.55}
.platform-page-shell{width:min(1640px,calc(100% - 40px))}
.platform-main{display:grid;gap:var(--space-5)}
.platform-slab{padding:clamp(22px,2.5vw,34px)}
.platform-access-slab{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(244,248,252,.92))}
.platform-lead-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.82fr);gap:clamp(18px,2.6vw,32px);align-items:start}
.platform-lead-copy{display:grid;gap:var(--space-3);max-width:760px}
.platform-lead-copy h2{max-width:14ch}
.platform-access-card{padding:22px;border-radius:16px;background:rgba(255,255,255,.9);border:1px solid rgba(8,32,50,.08);box-shadow:var(--shadow-soft);display:grid;gap:var(--space-4)}
.platform-tabs-slab{display:grid;gap:var(--space-6)}
.platform-report-tabs{padding-bottom:18px;margin-bottom:4px;justify-content:flex-start;gap:28px}
.platform-pane{gap:var(--space-5)}
.platform-pane-heading{max-width:760px}
.platform-overview-intro{display:grid;gap:var(--space-4)}
.platform-summary-banner{max-width:920px;padding:18px 20px;border-style:solid;background:linear-gradient(135deg,rgba(11,60,93,.08),rgba(255,255,255,.95))}
.platform-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}
.platform-content-card{padding:20px;border-radius:16px;background:rgba(255,255,255,.86);border:1px solid rgba(8,32,50,.07);box-shadow:var(--shadow-soft)}
.platform-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4)}
.platform-billing-filters{grid-template-columns:repeat(2,minmax(0,260px));gap:var(--space-4)}
.platform-wide-table table{min-width:1320px}
.platform-feed-slab .activity-feed{max-width:1160px}
.app-page-shell{width:min(1560px,calc(100% - 28px))}
.app-main{display:grid;gap:var(--space-4)}
.app-slab{padding:clamp(18px,2vw,24px)}
.app-lead-slab{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(244,248,252,.92))}
.app-lead-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(380px,.92fr);gap:clamp(16px,2.2vw,24px);align-items:start}
.app-lead-copy{display:grid;gap:var(--space-3);max-width:760px}
.app-lead-copy h2{font-size:clamp(1.46rem,2.1vw,1.9rem);line-height:1.08;max-width:15ch}
.app-lead-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
.app-workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:var(--space-4);align-items:start}
.app-ticket-card,.app-content-card{padding:18px;border-radius:14px;background:rgba(255,255,255,.86);border:1px solid rgba(8,32,50,.07);box-shadow:var(--shadow-soft)}
.app-ticket-card{display:grid;gap:var(--space-4)}
.app-side-column{display:grid;gap:var(--space-4)}
.app-pane-heading{max-width:760px}
.app-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.app-dashboard-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.app-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.app-table-slab{display:grid;gap:var(--space-4)}
.app-warning-card{display:grid;gap:var(--space-4);border-color:rgba(217,119,6,.18);background:linear-gradient(180deg,rgba(245,247,250,.98),rgba(255,255,255,.92))}
.app-impersonation-banner{margin-bottom:var(--space-6);border-color:rgba(199,125,43,.22);background:linear-gradient(135deg,rgba(199,125,43,.12),rgba(255,255,255,.96))}
.app-wide-table table{min-width:1320px}
.it-pane-stack{display:flex;flex-direction:column;gap:var(--space-5)}
.it-pane-stack>.app-table-slab[data-it-pane="helpdesk"]{order:1}
.it-pane-stack>.app-workspace-slab[data-it-pane="helpdesk"]{order:2}
.app-table-slab[data-it-pane="assets"]>.settings-section:nth-of-type(1){order:2}
.app-table-slab[data-it-pane="assets"]>.settings-section:nth-of-type(2){order:1}
.mechanics-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mechanics-nav-slab{display:grid;gap:var(--space-4);margin-block:var(--space-3);position:relative;z-index:2;isolation:isolate}
.mechanics-nav{display:flex;flex-direction:column;gap:10px}
.mechanics-nav-btn{width:100%;text-align:left;border:1px solid rgba(16,35,52,.08);background:rgba(255,255,255,.72);color:var(--brand-strong);border-radius:12px;padding:13px 16px;font-weight:800;letter-spacing:-.01em;cursor:pointer;transition:transform .16s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease,color .18s ease}
.mechanics-nav-btn:hover{transform:translateY(-1px);background:rgba(245,249,255,.96);border-color:rgba(47,128,237,.22);box-shadow:0 8px 20px rgba(15,23,42,.05)}
.mechanics-nav-btn.is-active{background:rgba(47,128,237,.12);color:#135ab3;border-color:rgba(47,128,237,.26);box-shadow:inset 0 0 0 1px rgba(47,128,237,.08)}
.mechanics-pane-stack{display:grid;gap:var(--space-7);margin-top:var(--space-3)}
.mechanics-pane{display:grid;gap:var(--space-4)}
.mechanics-job-card-form-card{display:grid;gap:var(--space-4);margin-bottom:var(--space-5)}
.mechanics-inline-form{display:grid;gap:var(--space-4);margin-bottom:var(--space-5)}
.mechanics-pane[data-mechanics-pane="jobCards"] .table-wrap{order:1}
.mechanics-pane[data-mechanics-pane="jobCards"] .mechanics-job-card-form-card{order:2}
.mechanics-expanded-form{padding:24px 26px;border-radius:24px;border:1px solid rgba(11,60,93,.14);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(234,241,248,.9));box-shadow:0 20px 42px rgba(8,32,50,.1);scroll-margin-top:24px}
.mechanics-expanded-form .app-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.mechanics-expanded-form .field-full{grid-column:1/-1}
.mechanics-expanded-form .ticket-form textarea{min-height:108px}
.mechanics-expanded-form.is-open{outline:2px solid rgba(47,128,237,.16)}
.mechanics-add-btn{font-size:1.35rem;font-weight:900;line-height:1}
.table-actions-inline{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap}
.mechanics-report-toolbar{margin-bottom:var(--space-4)}
.mechanics-report-toolbar-grid{align-items:end}
.mechanics-report-toolbar-actions{justify-content:flex-start}
.mechanics-reports-stack{display:grid;gap:14px}
.mechanics-report-controls{margin-bottom:var(--space-5)}
.mechanics-report-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mechanics-report-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-6)}
.mechanics-analytics-grid{align-items:start}
.mechanics-analytics-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.mechanics-analytics-kpi{display:grid;gap:6px;padding:14px 16px;border-radius:14px;border:1px solid rgba(16,35,52,.08);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(243,247,252,.9));box-shadow:0 6px 18px rgba(15,23,42,.04)}
.mechanics-analytics-kpi span{font-size:.7rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#6d7f92}
.mechanics-analytics-kpi strong{font-family:"Space Grotesk",sans-serif;font-size:1.34rem;line-height:1.05;color:#102334}
.mechanics-analytics-kpi small{font-size:.78rem;line-height:1.45;color:#5b6b7c}
.mechanics-analytics-stack{display:grid;gap:12px}
.mechanics-analytics-note{padding:10px 12px;border-radius:10px;background:#f6f9fc;border:1px solid #dbe4ed;color:#57687a;font-size:.8rem;line-height:1.5}
.mechanics-analytics-empty{padding:16px 12px;border-radius:12px;background:#f8fafc;border:1px dashed #d8e1eb;color:#607080;font-size:.82rem;line-height:1.5;text-align:center}
.mechanics-analytics-upgrade{display:grid;gap:12px;padding:16px;border-radius:14px;background:linear-gradient(180deg,rgba(234,243,255,.9),rgba(255,255,255,.96));border:1px solid #cfe0f5}
.mechanics-analytics-upgrade strong{font-family:"Space Grotesk",sans-serif;font-size:1rem;color:#102334}
.mechanics-analytics-upgrade p{margin:0;color:#546273;font-size:.84rem;line-height:1.55}
.mechanics-analytics-bars{display:grid;gap:10px}
.mechanics-analytics-bar-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(120px,2fr) auto;gap:12px;align-items:center}
.mechanics-analytics-bar-label{min-width:0;font-size:.84rem;font-weight:700;color:#17324d}
.mechanics-analytics-bar-value{font-size:.8rem;font-weight:700;color:#57687a}
.mechanics-analytics-bar-track{position:relative;height:10px;border-radius:999px;background:#edf3f9;overflow:hidden}
.mechanics-analytics-bar-fill{position:absolute;inset:0 auto 0 0;border-radius:999px;background:linear-gradient(90deg,#2f80ed,#0b3c5d)}
.mechanics-analytics-bar-fill.is-warning{background:linear-gradient(90deg,#e5a24d,#c77d2b)}
.mechanics-analytics-bar-fill.is-success{background:linear-gradient(90deg,#49b37a,#2f855a)}
.mechanics-analytics-bar-fill.is-danger{background:linear-gradient(90deg,#dc6b6b,#c53030)}
.mechanics-analytics-pills{display:flex;flex-wrap:wrap;gap:8px}
.mechanics-analytics-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:#f6f9fc;border:1px solid #d8e1eb;color:#203447;font-size:.78rem;font-weight:700}
.mechanics-analytics-pill b{font-family:"Space Grotesk",sans-serif;font-size:.9rem;color:#102334}
.mechanics-graph-card{display:grid;gap:14px}
.mechanics-graph-header{display:grid;gap:4px}
.mechanics-graph-header strong{font-size:.92rem;line-height:1.3;color:#102334}
.mechanics-graph-header span{font-size:.8rem;line-height:1.5;color:#5d6d7f}
.mechanics-graph-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mechanics-graph-metric{display:grid;gap:4px;padding:10px 12px;border-radius:12px;background:#f8fbfd;border:1px solid #dbe4ed}
.mechanics-graph-metric span{font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#6c7d8f}
.mechanics-graph-metric strong{font-family:"Space Grotesk",sans-serif;font-size:1.14rem;line-height:1.05;color:#102334}
.mechanics-graph-metric small{font-size:.76rem;line-height:1.45;color:#5d6d7f}
.mechanics-graph-surface{padding:12px;border-radius:16px;background:linear-gradient(180deg,#fff,#f7fbfd);border:1px solid #dbe4ed}
.mechanics-line-chart{width:100%;height:auto;display:block}
.mechanics-chart-surface-bg{fill:rgba(255,255,255,.96)}
.mechanics-chart-grid-line{stroke:rgba(16,35,52,.08);stroke-width:1}
.mechanics-chart-axis-line{stroke:rgba(16,35,52,.18);stroke-width:1.3}
.mechanics-chart-axis-label{fill:#728397;font-size:11px;font-weight:700}
.mechanics-chart-axis-left{text-anchor:end}
.mechanics-chart-point{stroke:#fff;stroke-width:2}
.mechanics-chart-legend{display:flex;flex-wrap:wrap;gap:10px}
.mechanics-chart-legend-item{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:#f5f8fb;border:1px solid #dbe4ed;color:#193249;font-size:.76rem;font-weight:700}
.mechanics-chart-legend-item i{display:inline-block;width:10px;height:10px;border-radius:999px}
.mechanics-ranked-chart{display:grid;gap:10px}
.mechanics-ranked-row{display:grid;gap:6px}
.mechanics-ranked-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.mechanics-ranked-label{font-size:.84rem;font-weight:700;color:#17324d}
.mechanics-ranked-value{font-size:.8rem;color:#57687a}
.mechanics-ranked-track{position:relative;height:6px;border-radius:999px;background:#edf3f9;overflow:hidden}
.mechanics-ranked-fill{position:absolute;inset:0 auto 0 0;border-radius:999px;background:linear-gradient(90deg,#2f80ed,#0b3c5d)}
.mechanics-ranked-fill.is-warning{background:linear-gradient(90deg,#e5a24d,#c77d2b)}
.mechanics-ranked-fill.is-success{background:linear-gradient(90deg,#49b37a,#2f855a)}
.mechanics-ranked-fill.is-danger{background:linear-gradient(90deg,#dc6b6b,#c53030)}
.mechanics-ranked-fill.is-magenta{background:linear-gradient(90deg,#d946ef,#c026d3)}
.mechanics-ranked-row small{font-size:.75rem;line-height:1.4;color:#6a7b8c}
.mechanics-analytics-trend{display:grid;gap:10px}
.mechanics-analytics-trend-row{display:grid;grid-template-columns:92px minmax(0,1fr) auto auto;gap:10px;align-items:center}
.mechanics-analytics-trend-row span{font-size:.78rem;color:#5b6b7c;font-weight:700}
.mechanics-analytics-trend-bars{display:grid;gap:6px}
.mechanics-analytics-trend-chip{display:inline-flex;align-items:center;gap:6px;font-size:.75rem;font-weight:700;color:#17324d}
.mechanics-analytics-trend-chip i{display:inline-block;width:10px;height:10px;border-radius:999px;background:#2f80ed}
.mechanics-analytics-trend-chip i.closed{background:#2f855a}
.mechanics-analytics-inline-list{display:grid;gap:8px}
.mechanics-analytics-inline-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid rgba(16,35,52,.08)}
.mechanics-analytics-inline-row:last-child{border-bottom:0;padding-bottom:0}
.mechanics-analytics-inline-row strong{font-size:.86rem;line-height:1.35;color:#102334}
.mechanics-analytics-inline-row span{font-size:.79rem;line-height:1.45;color:#5c6d7f}
.mechanics-analytics-inline-row b{font-size:.84rem;color:#17324d}
.mechanics-summary{margin-top:var(--space-4);max-width:780px;padding:18px 20px;border-radius:18px;background:linear-gradient(135deg,rgba(11,60,93,.08),rgba(255,255,255,.94));border:1px solid rgba(11,60,93,.12)}
.inspection-finding-builder{display:grid;gap:var(--space-4);padding:20px;border-radius:20px;border:1px solid rgba(8,32,50,.08);background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(241,246,252,.84))}
.inspection-finding-builder.is-locked{background:linear-gradient(180deg,rgba(248,250,252,.96),rgba(239,243,249,.84))}
.inspection-finding-builder-header,.inspection-finding-media-toolbar,.inspection-history-item-head{display:flex;justify-content:space-between;gap:var(--space-4);align-items:flex-start}
.inspection-finding-builder-header p,.inspection-history-summary,.inspection-history-note{font-size:var(--text-sm);line-height:1.58}
.inspection-finding-builder-header p{margin:6px 0 0;color:var(--muted);max-width:56ch}
.inspection-finding-stack,.inspection-review-content,.inspection-review-group-list,.inspection-review-history{display:grid;gap:var(--space-4)}
.inspection-finding-card,.inspection-review-card,.inspection-history-item{display:grid;gap:var(--space-3);padding:18px;border-radius:18px;border:1px solid rgba(8,32,50,.08);background:rgba(255,255,255,.92);box-shadow:var(--shadow-soft)}
.inspection-finding-card-header{display:flex;justify-content:space-between;gap:var(--space-3);align-items:flex-start}
.inspection-finding-card-header div,.inspection-review-card-top>div{display:grid;gap:6px}
.inspection-finding-card-header strong,.inspection-review-card strong,.inspection-history-item strong{font-size:.98rem;color:var(--brand-strong)}
.inspection-finding-card-header span,.inspection-review-card span,.inspection-history-item p,.inspection-audit-entry span,.inspection-audit-empty{color:var(--muted)}
.inspection-finding-media{display:grid;gap:var(--space-3)}
.inspection-finding-media-actions,.inspection-review-actions,.inspection-review-badges,.inspection-history-meta{display:flex;gap:10px;flex-wrap:wrap}
.inspection-finding-media-list{display:grid;gap:12px}
.inspection-media-chip{display:grid;grid-template-columns:108px minmax(0,1fr) auto;gap:12px;align-items:flex-start;padding:12px;border-radius:16px;border:1px solid rgba(8,32,50,.08);background:linear-gradient(180deg,rgba(248,251,255,.96),rgba(239,244,250,.82))}
.inspection-media-chip img{width:108px;height:84px;object-fit:cover;border-radius:14px;border:1px solid rgba(8,32,50,.08);background:#edf3f9}
.inspection-media-fields{display:grid;gap:10px}
.inspection-review-panel,.inspection-review-group,.inspection-review-request-history{display:grid;gap:var(--space-4)}
.inspection-review-group>header{display:flex;justify-content:space-between;gap:var(--space-3);align-items:flex-start}
.inspection-review-group>header span,.inspection-history-meta span,.inspection-audit-entry{padding:8px 10px;border-radius:999px;background:rgba(8,32,50,.05);font-size:var(--text-xs);font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.inspection-review-card-top{display:flex;justify-content:space-between;gap:var(--space-4);align-items:flex-start}
.inspection-review-card-top>b{font-family:"Space Grotesk",sans-serif;font-size:1rem;color:var(--brand-strong);white-space:nowrap}
.inspection-review-badges{margin-bottom:2px}
.inspection-severity-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:var(--text-xs);font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.severity-safety{background:rgba(197,48,48,.12);color:#9f1f1f}
.severity-needs-attention-soon{background:rgba(199,125,43,.15);color:#a76317}
.severity-monitor{background:rgba(47,128,237,.12);color:#1f5fb8}
.inspection-history-item-head div{display:grid;gap:6px}
.inspection-history-item-head div>span{font-size:var(--text-sm);line-height:1.45;color:var(--muted)}
.inspection-history-meta span{color:var(--muted)}
.inspection-history-summary,.inspection-history-note{margin:0}
.inspection-history-summary{color:var(--brand-strong);font-weight:700}
.inspection-audit-trail{display:grid;gap:10px;padding-top:10px;border-top:1px solid rgba(8,32,50,.08)}
.inspection-audit-entry{display:grid;gap:4px;border-radius:14px;background:linear-gradient(180deg,rgba(248,251,255,.94),rgba(239,244,250,.8));text-transform:none;letter-spacing:0;font-weight:700}
.inspection-audit-entry strong{font-size:var(--text-sm)}
.inspection-audit-entry span,.inspection-audit-empty{font-size:var(--text-xs);line-height:1.45}
.inspection-audit-empty{padding:10px 12px;border-radius:14px;background:rgba(8,32,50,.04)}
.mechanics-stage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.mechanics-stage-card{display:grid;gap:10px;min-height:160px}
.mechanics-stage-card h3{margin:0;font-family:"Space Grotesk",sans-serif;font-size:1.05rem;color:var(--brand-strong)}
.mechanics-stage-card p{margin:0;color:var(--muted);line-height:1.6}
.module-mechanics .hero-copy{max-width:920px}
.module-mechanics .app-table-slab .table-wrap{background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(238,244,250,.78))}
.app-lead-copy .hero-copy,.platform-lead-copy .hero-copy{margin:0;max-width:58ch}
.app-lead-copy .eyebrow,.platform-lead-copy .eyebrow{margin-bottom:0}
.status-Diagnosing,.status-Vehicle-Intake,.status-Inspection,.status-Assigned,.status-Awaiting-Approval,.status-Awaiting-Parts,.status-Draft,.status-Confirmed,.status-Scheduled{background:rgba(47,128,237,.12);color:var(--info)}
.status-Repair,.status-Checked-in,.status-Partial,.status-Ordered,.status-In-Repair{background:rgba(199,125,43,.14);color:var(--warning)}
.status-Ready-for-Collection,.status-Collected,.status-Approved,.status-Paid,.status-Received,.status-Completed,.status-Available{background:rgba(47,133,90,.14);color:var(--success)}
.status-Cancelled,.status-Offline,.status-Maintenance,.status-Occupied{background:rgba(197,48,48,.12);color:var(--danger)}
.status-approved,.status-reviewed{background:rgba(47,133,90,.14);color:#22643f}
.status-partially-approved,.status-callback-requested{background:rgba(199,125,43,.15);color:#a76317}
.status-declined,.status-revoked,.status-expired{background:rgba(197,48,48,.12);color:#9f1f1f}
.status-pending,.status-viewed,.status-sent,.status-draft,.status-sent-for-approval{background:rgba(47,128,237,.12);color:#1f5fb8}
.platform-status-good{color:var(--success)}
.platform-status-warn{color:var(--warning)}
.platform-status-danger{color:var(--danger)}
.panel,.settings-accordion,.metric-card,.activity-item,.report-log-item,.analytics-kpi-card,.platform-tenant-card{transition:transform .18s ease,box-shadow .22s ease,background-color .28s ease,border-color .28s ease,color .28s ease}
.panel:hover,.settings-accordion:hover,.metric-card:hover,.activity-item:hover,.report-log-item:hover,.analytics-kpi-card:hover,.platform-tenant-card:hover{transform:translateY(-1px);box-shadow:0 14px 32px rgba(15,23,42,.08)}
.mechanics-pane .settings-section,.mechanics-pane .table-wrap,.mechanics-pane .app-content-card{position:relative;z-index:1}
.theme-dark{--bg:#061321;--surface:rgba(8,32,50,.82);--surface-strong:#0B1F31;--surface-alt:#10283D;--text:#ECF4FF;--muted:#9BB0C8;--line:rgba(170,196,226,.18);--shadow:0 24px 60px rgba(0,0,0,.35);--shadow-soft:0 12px 30px rgba(0,0,0,.22)}
.theme-dark body,.theme-dark{background:radial-gradient(circle at top left,rgba(11,60,93,.2),transparent 26%),radial-gradient(circle at top right,rgba(47,128,237,.1),transparent 24%),linear-gradient(180deg,#061321 0%,#082032 100%)}
.theme-dark .auth-card,.theme-dark .panel,.theme-dark .hero,.theme-dark .modal-card,.theme-dark .settings-accordion,.theme-dark .metric-card,.theme-dark .activity-item,.theme-dark .report-log-item,.theme-dark .analytics-kpi-card,.theme-dark .report-tab,.theme-dark .report-summary,.theme-dark .attachment-preview,.theme-dark .platform-tenant-card{border-color:rgba(170,196,226,.12)}
.theme-dark .logo-frame{background:#0f1b2d}
.theme-dark .btn-secondary{background:rgba(12,28,50,.9);color:#8fc0ff;border-color:var(--brand-soft);box-shadow:0 6px 18px rgba(0,0,0,.18)}
.theme-dark .btn-secondary:hover{background:#163459;color:#cfe3ff;border-color:#60a5fa}
.theme-dark .report-tab{background:transparent}
.theme-dark .analytics-chart-bg{fill:rgba(9,18,31,.88)}
.theme-dark .activity-badge,.theme-dark .activity-meta span,.theme-dark .analytics-chip,.theme-dark .platform-meta-chip{background:rgba(255,255,255,.06)}
.theme-dark .mechanics-analytics-kpi{background:linear-gradient(180deg,rgba(10,28,45,.96),rgba(13,34,54,.92));border-color:rgba(170,196,226,.14)}
.theme-dark .mechanics-analytics-kpi span,.theme-dark .mechanics-analytics-bar-value,.theme-dark .mechanics-analytics-trend-row span{color:#93a7bd}
.theme-dark .mechanics-analytics-kpi strong,.theme-dark .mechanics-analytics-inline-row strong,.theme-dark .mechanics-analytics-pill b{color:#ecf4ff}
.theme-dark .mechanics-analytics-kpi small,.theme-dark .mechanics-analytics-note,.theme-dark .mechanics-analytics-empty,.theme-dark .mechanics-analytics-inline-row span,.theme-dark .mechanics-analytics-pill{color:#a8bbd0}
.theme-dark .mechanics-analytics-note,.theme-dark .mechanics-analytics-empty,.theme-dark .mechanics-analytics-pill,.theme-dark .mechanics-analytics-upgrade{background:rgba(255,255,255,.04);border-color:rgba(170,196,226,.12)}
.theme-dark .mechanics-analytics-bar-track{background:rgba(255,255,255,.08)}
.theme-dark .mechanics-graph-header strong,.theme-dark .mechanics-graph-metric strong{color:#eef4fb}
.theme-dark .mechanics-graph-header span,.theme-dark .mechanics-graph-metric small,.theme-dark .mechanics-ranked-row small,.theme-dark .mechanics-chart-axis-label,.theme-dark .mechanics-ranked-value{color:#9dafbf}
.theme-dark .mechanics-graph-metric span{color:#8fa3b8}
.theme-dark .mechanics-graph-metric,.theme-dark .mechanics-graph-surface,.theme-dark .mechanics-chart-legend-item{background:#111c26;border-color:#293846}
.theme-dark .mechanics-chart-surface-bg{fill:rgba(17,28,38,.96)}
.theme-dark .mechanics-chart-grid-line{stroke:rgba(170,196,226,.1)}
.theme-dark .mechanics-chart-axis-line{stroke:rgba(170,196,226,.18)}
.theme-dark .mechanics-chart-point{stroke:#111c26}
.theme-dark .mechanics-chart-legend-item,.theme-dark .mechanics-ranked-label{color:#dce8f7}
.theme-dark .mechanics-ranked-track{background:rgba(255,255,255,.08)}
.theme-dark .customer-portal-approval-group,.theme-dark .customer-portal-approval-item,.theme-dark .customer-portal-approval-confirmation,.theme-dark .inspection-finding-builder,.theme-dark .inspection-finding-card,.theme-dark .inspection-media-chip,.theme-dark .inspection-review-card,.theme-dark .inspection-history-item,.theme-dark .inspection-audit-entry,.theme-dark .inspection-audit-empty{background:linear-gradient(180deg,rgba(11,31,49,.96),rgba(8,24,39,.9));border-color:rgba(170,196,226,.14)}
.theme-dark .customer-portal-approval-group header span,.theme-dark .customer-portal-approval-check,.theme-dark .customer-portal-line-items,.theme-dark .inspection-review-group>header span,.theme-dark .inspection-history-meta span{background:rgba(255,255,255,.05);border-color:rgba(170,196,226,.12);color:#b8cadb}
.theme-dark .customer-portal-approval-copy strong,.theme-dark .customer-portal-approval-item-row>b,.theme-dark .customer-portal-line-item strong,.theme-dark .customer-portal-approval-confirmation strong,.theme-dark .inspection-finding-card-header strong,.theme-dark .inspection-review-card strong,.theme-dark .inspection-review-card-top>b,.theme-dark .inspection-history-item strong,.theme-dark .inspection-audit-entry strong{color:#ecf4ff}
.theme-dark .customer-portal-approval-copy p,.theme-dark .customer-portal-approval-copy small,.theme-dark .customer-portal-approval-confirmation p,.theme-dark .customer-portal-line-item,.theme-dark .inspection-finding-builder-header p,.theme-dark .inspection-finding-card-header span,.theme-dark .inspection-review-card span,.theme-dark .inspection-history-item p,.theme-dark .inspection-history-item-head div>span,.theme-dark .inspection-audit-entry span,.theme-dark .inspection-audit-empty{color:#a8bbd0}
.theme-dark .customer-portal-approval-media img,.theme-dark .inspection-review-media img,.theme-dark .inspection-media-chip img{background:#0b1f31;border-color:rgba(170,196,226,.12)}
.theme-dark .customer-portal-inline-error{color:#f5a3a3!important}

@media (max-width:1024px){
  .mechanics-graph-metrics{grid-template-columns:1fr}
  .customer-portal-approval-kpis{grid-template-columns:1fr}
}

@media (max-width:720px){
  .mechanics-chart-legend{gap:8px}
  .mechanics-ranked-head{flex-direction:column}
  .customer-portal-approval-item-row,.inspection-finding-builder-header,.inspection-finding-media-toolbar,.inspection-review-actions,.inspection-review-card-top,.inspection-history-item-head{grid-template-columns:1fr;flex-direction:column}
  .customer-portal-approval-item-row>b,.inspection-review-card-top>b{white-space:normal}
  .inspection-media-chip{grid-template-columns:1fr}
  .inspection-media-chip img{width:100%;height:180px}
}
.theme-dark .mechanics-analytics-inline-row{border-bottom-color:rgba(170,196,226,.12)}
.theme-dark .mechanics-analytics-bar-label,.theme-dark .mechanics-analytics-trend-chip,.theme-dark .mechanics-analytics-inline-row b,.theme-dark .mechanics-analytics-upgrade strong{color:#dce8f7}
.theme-dark .ticket-form.is-locked input:disabled,.theme-dark .ticket-form.is-locked select:disabled,.theme-dark .ticket-form.is-locked textarea:disabled{background:#1c2635;color:#7f8da1;border-color:#314055}
.modal{position:fixed;inset:0;background:rgba(8,32,50,.32);backdrop-filter:blur(10px);display:grid;place-items:center;padding:14px;z-index:20}.modal-card{width:min(960px,100%);max-height:calc(100vh - 28px);overflow-y:auto;border-radius:16px;padding:20px}.settings-modal-card{width:min(1100px,100%)}.settings-modal-heading{margin-bottom:var(--space-5)}.settings-layout{display:grid;grid-template-columns:minmax(220px,252px) minmax(0,1fr);gap:var(--space-5);align-items:start}.settings-sidebar{position:sticky;top:0;display:grid;gap:var(--space-4)}.settings-sidebar-card{padding:14px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(245,248,252,.7));border:1px solid rgba(16,35,52,.06);box-shadow:var(--shadow-soft);display:grid;gap:12px}.settings-nav-list,.settings-hint-list{display:grid;gap:8px}.settings-nav-btn{width:100%;display:flex;justify-content:space-between;gap:10px;align-items:flex-start;text-align:left;padding:11px 13px;border-radius:10px;border:1px solid rgba(16,35,52,.06);background:rgba(255,255,255,.72);color:var(--text);cursor:pointer;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .16s ease}.settings-nav-btn:hover{transform:translateY(-1px);background:rgba(247,251,255,.98);border-color:rgba(47,128,237,.2);box-shadow:0 6px 14px rgba(15,23,42,.035)}.settings-nav-btn.is-active{background:rgba(47,128,237,.12);border-color:rgba(47,128,237,.24);color:#135ab3}.settings-nav-btn strong,.settings-hint-row strong{display:block;font-family:"Space Grotesk",sans-serif;font-size:.92rem;line-height:1.15}.settings-nav-btn span,.settings-hint-row span{display:block;color:var(--muted);font-size:.82rem;line-height:1.45}.settings-hint-row{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid rgba(16,35,52,.08)}.settings-hint-row:last-child{border-bottom:0;padding-bottom:0}.settings-content{min-width:0}.settings-stack{display:grid;gap:14px}.settings-accordion{border:1px solid rgba(16,35,52,.08);border-radius:14px;background:rgba(255,255,255,.74);overflow:hidden}.settings-accordion summary{list-style:none;cursor:pointer;padding:14px 16px;font-family:"Space Grotesk",sans-serif;font-size:.96rem;font-weight:700;display:flex;align-items:center;justify-content:space-between;gap:12px}.settings-accordion summary div{display:grid;gap:3px}.settings-accordion summary span{font-family:"Manrope",sans-serif;font-size:.84rem;font-weight:550;letter-spacing:-.01em;color:var(--muted);line-height:1.45}.settings-accordion summary::-webkit-details-marker{display:none}.settings-accordion summary::after{content:"+";font-size:1.1rem;color:var(--brand-strong)}.settings-accordion[open] summary::after{content:"-"} .settings-accordion .settings-section{border:0;border-top:1px solid rgba(16,35,52,.08);border-radius:0;background:transparent}.list-entry{align-items:flex-start;padding:12px 0;border-bottom:1px solid rgba(16,35,52,.08)}.list-entry:last-child{border-bottom:0}.list-entry strong{font-size:var(--text-base);line-height:1.35}.list-entry span{font-size:var(--text-sm);line-height:1.5;color:var(--muted)}.profile-actions{justify-content:flex-end;align-self:flex-start;min-width:max-content;margin-top:0}.layout-compact{--panel-padding:20px;--panel-radius:16px}
.interactive-row{cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease}
.interactive-row:hover{background-color:rgba(47,128,237,.05)}
.interactive-row:focus-visible{outline:2px solid rgba(47,128,237,.48);outline-offset:-2px;background-color:rgba(47,128,237,.08)}
#itWorkspaceShell,#mechanicsWorkspaceShell{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:var(--space-5);align-items:start}
#itWorkspaceShell>.app-lead-slab,#mechanicsWorkspaceShell>.app-lead-slab{grid-column:1/-1}
#itWorkspaceShell>.mechanics-nav-slab,#mechanicsWorkspaceShell>.mechanics-nav-slab{position:sticky;top:28px;align-self:start}
#itWorkspaceShell>.it-pane-stack,#mechanicsWorkspaceShell>.mechanics-pane-stack{min-width:0;display:grid;gap:var(--space-5)}
@media (max-width:1200px){.platform-lead-grid,.platform-kpi-grid,.platform-form-grid,.platform-plan-grid,.app-lead-grid,.app-lead-metrics,.app-workspace-grid,.mechanics-stage-grid,.mechanics-report-grid,.mechanics-report-panels,.platform-tenant-details-grid,.customer-portal-grid,.customer-portal-summary-grid,.customer-portal-columns,.customer-portal-detail-grid,.settings-layout{grid-template-columns:1fr}#itWorkspaceShell,#mechanicsWorkspaceShell{grid-template-columns:1fr}#itWorkspaceShell>.mechanics-nav-slab,#mechanicsWorkspaceShell>.mechanics-nav-slab{position:static}}
@media (max-width:1024px){.layout,.dashboard-grid,.analytics-kpis,.report-kpis,.platform-inline-grid,.platform-plan-grid,.platform-kpi-grid,.platform-form-grid,.platform-billing-filters,.app-dashboard-grid,.app-dashboard-range,.app-form-grid,.mechanics-report-grid,.mechanics-report-panels,.mechanics-analytics-kpi-grid,.platform-tenant-details-grid,.customer-portal-grid,.customer-portal-summary-grid,.customer-portal-columns,.customer-portal-detail-grid,.customer-portal-progress,.customer-portal-financial-kpis{grid-template-columns:1fr}.hero{flex-direction:column}.platform-page-shell,.app-page-shell,.customer-portal-shell{width:min(100% - 24px,1640px)}}@media (max-width:720px){.page-shell{width:min(100% - 20px,1400px);margin:12px auto 28px}.form-grid,.hero-title-row,.dashboard-range,.platform-inline-grid,.platform-form-grid,.platform-billing-filters,.app-form-grid,.app-dashboard-range,.platform-tenant-details-grid,.customer-portal-grid,.customer-portal-summary-grid,.customer-portal-columns,.customer-portal-detail-grid,.customer-portal-progress,.customer-portal-financial-kpis{grid-template-columns:1fr;flex-direction:column}.panel,.hero,.auth-card,.modal-card,.platform-slab,.platform-access-card,.app-slab,.app-content-card{padding:18px;border-radius:22px}.form-actions,.hero-actions,.activity-item-header,.activity-summary,.report-tabs,.report-log-item,.platform-tenant-card header,.platform-plan-card header,.customer-portal-list-item,.mechanics-analytics-inline-row{flex-direction:column}.activity-item{grid-template-columns:1fr}.analytics-kpis,.report-kpis,.platform-kpi-grid,.platform-plan-grid,.app-dashboard-grid,.mechanics-report-grid,.mechanics-report-panels,.mechanics-analytics-kpi-grid{grid-template-columns:1fr}.customer-portal-amounts{text-align:left}.settings-nav-btn,.mechanics-nav-btn{padding:12px 14px}.mechanics-analytics-bar-row,.mechanics-analytics-trend-row{grid-template-columns:1fr}.mechanics-report-toolbar-actions{justify-content:stretch}}

/* Enterprise workshop shell overrides */
body.app-shell-active.module-mechanics{background:radial-gradient(circle at top left,rgba(79,129,189,.08),transparent 28%),linear-gradient(180deg,#f4f6f8 0%,#eef2f6 100%);color:#15202b;overflow:hidden}
[hidden]{display:none !important}
body.app-shell-active.module-mechanics .app-page-shell{width:min(100% - 20px,1760px);height:calc(100vh - 20px);margin:10px auto;display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden}
.auth-brand .logo-fallback{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,var(--brand),#0f4c81);color:#fff;font-size:1.15rem;font-weight:800;letter-spacing:-.02em}
body.app-shell-active.module-mechanics .hero{display:none}
body.app-shell-active.module-mechanics .hero-main{display:grid;gap:10px}
body.app-shell-active.module-mechanics .hero-copy{display:none}
body.app-shell-active.module-mechanics .hero-title-row{align-items:center}
body.app-shell-active.module-mechanics .brand-lockup{gap:12px}
body.app-shell-active.module-mechanics .brand-lockup h1{font-size:1.15rem;line-height:1.1}
body.app-shell-active.module-mechanics .hero-subtext{font-size:.9rem;color:#52606d}
body.app-shell-active.module-mechanics .hero-actions{gap:8px}
body.app-shell-active.module-mechanics .app-main{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;min-height:0;overflow:hidden}
body.app-shell-active.module-mechanics #mechanicsWorkspaceShell{display:block}
body.app-shell-active.module-mechanics #mechanicsWorkspaceShell{min-height:0}
body.app-shell-active.module-mechanics .mechanics-enterprise-shell{display:grid;grid-template-columns:248px minmax(0,1fr);gap:14px;align-items:stretch;height:100%;min-height:0}
body.app-shell-active.module-mechanics .mechanics-sidebar{position:sticky;top:0;display:grid;gap:14px;align-content:start;max-height:100%;overflow:auto;padding:14px;border:1px solid #d8e0ea;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.035)}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand-copy{display:grid;gap:4px;min-width:0}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand-copy strong{font-size:.96rem;line-height:1.2;color:#102334}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand-copy span{font-size:.74rem;color:#5b6876}
body.app-shell-active.module-mechanics .mechanics-sidebar-label,.logo-fallback{display:inline-flex;align-items:center;justify-content:center}
body.app-shell-active.module-mechanics .mechanics-sidebar-label{font-size:.7rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:#667788}
body.app-shell-active.module-mechanics .mechanics-sidebar-logo,.logo-fallback{width:42px;height:42px;border-radius:12px}
body.app-shell-active.module-mechanics .mechanics-sidebar-logo img{width:100%;height:100%;object-fit:cover;border-radius:12px}
body.app-shell-active.module-mechanics .logo-fallback{background:linear-gradient(135deg,var(--brand),#0f4c81);color:#fff;font-size:.95rem;font-weight:800;letter-spacing:-.02em}
body.app-shell-active.module-mechanics .mechanics-nav{display:grid;gap:4px}
body.app-shell-active.module-mechanics .mechanics-nav-btn{justify-content:flex-start;padding:10px 12px;border-radius:10px;border:1px solid transparent;background:transparent;color:#203040;font-size:.94rem;font-weight:650;min-height:0}
body.app-shell-active.module-mechanics .mechanics-nav-btn:hover{background:#f4f7fb;border-color:#d8e0ea;transform:none}
body.app-shell-active.module-mechanics .mechanics-nav-btn.is-active{background:#eaf3ff;border-color:#bfd4f6;color:#134c8d;box-shadow:none}
body.app-shell-active.module-mechanics .mechanics-sidebar-meta{display:grid;gap:8px;padding-top:4px;border-top:1px solid #e5ebf1}
body.app-shell-active.module-mechanics .mechanics-sidebar-stat{display:grid;gap:3px}
body.app-shell-active.module-mechanics .mechanics-sidebar-stat span{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#708090}
body.app-shell-active.module-mechanics .mechanics-sidebar-stat strong{font-size:.88rem;color:#102334}
body.app-shell-active.module-mechanics .mechanics-content-shell{display:grid;gap:14px;min-width:0;min-height:0;overflow:auto;padding-right:4px}
body.app-shell-active.module-mechanics .mechanics-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #d8e0ea;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,23,42,.035)}
body.app-shell-active.module-mechanics .mechanics-page-kicker{margin:0 0 4px;font-size:.7rem;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:#5e768f}
body.app-shell-active.module-mechanics #mechanicsPageTitle{margin:0;font-size:1.56rem;line-height:1.08;color:#102334}
body.app-shell-active.module-mechanics .mechanics-page-subtitle{margin:5px 0 0;font-size:.9rem;line-height:1.45;color:#546273;max-width:680px}
body.app-shell-active.module-mechanics .mechanics-header-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.app-shell-active.module-mechanics .mechanics-pane-stack{display:grid;gap:14px;min-width:0}
body.app-shell-active.module-mechanics .section-heading-inline{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
body.app-shell-active.module-mechanics .panel,body.app-shell-active.module-mechanics .app-slab,body.app-shell-active.module-mechanics .app-content-card,body.app-shell-active.module-mechanics .settings-section,body.app-shell-active.module-mechanics .list-card,body.app-shell-active.module-mechanics .system-notes,body.app-shell-active.module-mechanics .import-card{padding:14px 16px;border-radius:12px;background:#fff;border:1px solid #d8e0ea;box-shadow:0 2px 10px rgba(15,23,42,.03)}
body.app-shell-active.module-mechanics .panel:hover,
body.app-shell-active.module-mechanics .settings-accordion:hover,
body.app-shell-active.module-mechanics .metric-card:hover,
body.app-shell-active.module-mechanics .activity-item:hover,
body.app-shell-active.module-mechanics .report-log-item:hover,
body.app-shell-active.module-mechanics .analytics-kpi-card:hover,
body.app-shell-active.module-mechanics .platform-tenant-card:hover{
  transform:none;
  box-shadow:none;
}
body.app-shell-active.module-mechanics .section-heading h2{font-size:1rem;line-height:1.25;color:#102334}
body.app-shell-active.module-mechanics .section-heading p,body.app-shell-active.module-mechanics .field span,body.app-shell-active.module-mechanics .list-entry span,body.app-shell-active.module-mechanics .report-summary,body.app-shell-active.module-mechanics .empty-state{color:#546273}
body.app-shell-active.module-mechanics .field span{font-size:.8rem;font-weight:650;letter-spacing:0}
body.app-shell-active.module-mechanics .ticket-form input,body.app-shell-active.module-mechanics .ticket-form select,body.app-shell-active.module-mechanics .ticket-form textarea,body.app-shell-active.module-mechanics input[type="search"],body.app-shell-active.module-mechanics input[type="date"],body.app-shell-active.module-mechanics input[type="text"]{min-height:40px;border:1px solid #cdd6e1;border-radius:9px;background:#fff;color:#15202b;box-shadow:none}
body.app-shell-active.module-mechanics .ticket-form textarea{min-height:96px}
body.app-shell-active.module-mechanics .ticket-form input:focus,body.app-shell-active.module-mechanics .ticket-form select:focus,body.app-shell-active.module-mechanics .ticket-form textarea:focus{border-color:#7cabeb;box-shadow:0 0 0 3px rgba(47,128,237,.12)}
body.app-shell-active.module-mechanics .btn{min-height:38px;min-width:108px;padding:9px 14px;border-radius:9px;font-size:.86rem;font-weight:700;box-shadow:none}
body.app-shell-active.module-mechanics .btn:hover{transform:none}
body.app-shell-active.module-mechanics .btn-primary{background:#1f78e0;border-color:#1f78e0;box-shadow:0 6px 14px rgba(31,120,224,.15)}
body.app-shell-active.module-mechanics .btn-secondary{background:#fff;border-color:#cfd8e3;color:#17324d}
body.app-shell-active.module-mechanics .mechanics-kpi-strip,body.app-shell-active.module-mechanics .mechanics-report-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
body.app-shell-active.module-mechanics .metric-card{padding:11px 12px 10px;border-radius:10px;background:#fdfefe;border:1px solid #d8e0ea;box-shadow:none}
body.app-shell-active.module-mechanics .metric-card span{font-size:.68rem;letter-spacing:.04em;color:#6e7f91}
body.app-shell-active.module-mechanics .metric-card strong{font-family:"Manrope",sans-serif;font-size:1.42rem;color:#102334}
body.app-shell-active.module-mechanics .metric-card small{font-size:.74rem;color:#607080}
body.app-shell-active.module-mechanics .mechanics-dashboard-summary{display:grid;gap:8px}
body.app-shell-active.module-mechanics .mechanics-dashboard-summary .btn{width:auto}
body.app-shell-active.module-mechanics .mechanics-queue-panel{padding:0;overflow:hidden}
body.app-shell-active.module-mechanics .mechanics-queue-panel .section-heading{padding:16px 18px 0}
body.app-shell-active.module-mechanics .mechanics-dashboard-table{margin-top:10px}
body.app-shell-active.module-mechanics .mechanics-secondary-grid,body.app-shell-active.module-mechanics .mechanics-report-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.app-shell-active.module-mechanics .mechanics-secondary-list{padding:4px 0}
body.app-shell-active.module-mechanics .table-wrap{border:1px solid #dbe3ec;border-radius:12px;background:#fff}
body.app-shell-active.module-mechanics table{width:100%;border-collapse:collapse}
body.app-shell-active.module-mechanics .app-wide-table table{min-width:1180px}
body.app-shell-active.module-mechanics th{padding:10px 12px;background:#f6f8fb;border-bottom:1px solid #d8e0ea;font-size:.71rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#5b6b7b}
body.app-shell-active.module-mechanics td{padding:10px 12px;border-bottom:1px solid #e8edf3;font-size:.84rem;color:#1a2733;vertical-align:top}
body.app-shell-active.module-mechanics tr:last-child td{border-bottom:0}
body.app-shell-active.module-mechanics .interactive-row:hover{background:#f7fbff}
body.app-shell-active.module-mechanics .status-pill{border-radius:999px;padding:4px 8px;font-size:.69rem;font-weight:750;letter-spacing:.02em}
body.app-shell-active.module-mechanics .list-entry{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #e8edf3}
body.app-shell-active.module-mechanics .list-entry strong{font-size:.88rem;color:#102334}
body.app-shell-active.module-mechanics .list-entry small{font-size:.74rem;color:#6d7b8a}
body.app-shell-active.module-mechanics .mechanics-report-controls .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.app-shell-active.module-mechanics .mechanics-report-controls .form-actions{justify-content:flex-start}
body.app-shell-active.module-mechanics .report-summary{padding:10px 12px;border-radius:9px;background:#f6f8fb;border:1px solid #dde5ee}
@media (max-width:1366px){body.app-shell-active.module-mechanics .mechanics-enterprise-shell{grid-template-columns:228px minmax(0,1fr)}body.app-shell-active.module-mechanics .mechanics-kpi-strip,body.app-shell-active.module-mechanics .mechanics-report-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1080px){body.app-shell-active.module-mechanics{overflow:auto}body.app-shell-active.module-mechanics .app-page-shell{height:auto;margin:10px auto 18px;display:block;overflow:visible}body.app-shell-active.module-mechanics .app-main{grid-template-rows:none;min-height:auto;overflow:visible}body.app-shell-active.module-mechanics #mechanicsWorkspaceShell{min-height:auto}body.app-shell-active.module-mechanics .mechanics-enterprise-shell{grid-template-columns:1fr;height:auto;min-height:auto}body.app-shell-active.module-mechanics .mechanics-sidebar{position:static;max-height:none;overflow:visible}body.app-shell-active.module-mechanics .mechanics-content-shell{min-height:auto;overflow:visible;padding-right:0}body.app-shell-active.module-mechanics .mechanics-secondary-grid,body.app-shell-active.module-mechanics .mechanics-report-panels,body.app-shell-active.module-mechanics .mechanics-report-controls .form-grid{grid-template-columns:1fr}}
@media (max-width:720px){body.app-shell-active.module-mechanics .hero-title-row,body.app-shell-active.module-mechanics .mechanics-header,body.app-shell-active.module-mechanics .mechanics-header-actions{flex-direction:column}body.app-shell-active.module-mechanics .mechanics-kpi-strip,body.app-shell-active.module-mechanics .mechanics-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.app-shell-active.module-mechanics .panel,body.app-shell-active.module-mechanics .app-slab,body.app-shell-active.module-mechanics .app-content-card,body.app-shell-active.module-mechanics .settings-section{padding:14px}}

html{scroll-behavior:smooth}
body{overscroll-behavior-y:none}
*{scrollbar-width:thin;scrollbar-color:rgba(126,150,179,.72) transparent}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:rgba(126,150,179,.58);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
*::-webkit-scrollbar-thumb:hover{background:rgba(97,123,154,.78);border:2px solid transparent;background-clip:padding-box}

.toast-container{position:fixed;right:18px;bottom:18px;z-index:40;display:grid;gap:8px;max-width:min(320px,calc(100vw - 28px));pointer-events:none}
.toast-item{display:grid;gap:4px;padding:10px 12px;border-radius:12px;border:1px solid rgba(16,35,52,.1);background:rgba(255,255,255,.96);box-shadow:0 14px 30px rgba(15,23,42,.11);color:#102334;pointer-events:auto;transform:translateY(0);opacity:1;transition:opacity .2s ease,transform .2s ease}
.toast-item.is-exiting{opacity:0;transform:translateY(6px)}
.toast-item strong{font-family:"Space Grotesk",sans-serif;font-size:.92rem;line-height:1.1}
.toast-item span{font-size:.84rem;line-height:1.45;color:#536476}
.toast-item.toast-success{border-color:rgba(47,133,90,.2)}
.toast-item.toast-success strong{color:#22643f}
.toast-item.toast-error{border-color:rgba(197,48,48,.2)}
.toast-item.toast-error strong{color:#9f1f1f}
.toast-item.toast-info{border-color:rgba(47,128,237,.18)}
.toast-item.toast-warning{border-color:rgba(199,125,43,.22)}

.modal{overscroll-behavior:contain}
.modal-panel{background:#fff;border:1px solid #d8e0ea;box-shadow:0 18px 42px rgba(15,23,42,.14)}
.modal-panel::before{display:none}
.modal-panel-small{width:min(460px,100%)}
.modal-panel-medium{width:min(680px,100%)}
.modal-panel-large{width:min(920px,100%)}
.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:14px;border-bottom:1px solid #e5ebf1}
.modal-header h2{font-size:1.18rem;line-height:1.12;color:#102334}
.modal-header p{margin:5px 0 0;font-size:.88rem;line-height:1.5;color:#5d6d7d;max-width:52ch}
.modal-body{padding-top:16px;max-height:calc(100vh - 156px);overflow:auto;overscroll-behavior:contain}
.modal-close{border:1px solid #cfd8e3;border-radius:9px;min-height:38px;padding:9px 12px;background:#fff;color:#17324d;font-weight:750;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
.modal-close:hover{background:#f6f9fc;border-color:#b9c8d9}
.modal-close:focus-visible{outline:2px solid rgba(47,128,237,.62);outline-offset:2px}
.modal-body .settings-section,.modal-body .app-content-card,.modal-body .mechanics-inline-form,.modal-body .mechanics-job-card-form-card{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
.modal-body .section-heading{padding-bottom:12px;margin-bottom:14px}
.modal-body .form-actions{position:sticky;bottom:-2px;padding-top:14px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 36%)}
.modal-panel.is-loading{cursor:progress}
.modal-panel.is-loading .modal-body{opacity:.72}
.modal-panel.is-loading .btn,.modal-panel.is-loading .modal-close{pointer-events:none}

.appearance-preview{margin-top:16px;padding:16px;border-radius:14px;border:1px solid #d8e0ea;background:linear-gradient(180deg,#fafcff,#f3f7fb)}
.appearance-preview-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(220px,.95fr);gap:14px}
.appearance-preview-card{display:grid;gap:8px;padding:14px;border-radius:12px;border:1px solid rgba(16,35,52,.08);background:#fff;box-shadow:0 4px 12px rgba(15,23,42,.04)}
.appearance-preview-kicker{font-size:.68rem;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#5f7388}
.appearance-preview-card strong{font-family:"Space Grotesk",sans-serif;font-size:1rem;color:#102334}
.appearance-preview-card p{margin:0;color:#586979;font-size:.84rem;line-height:1.5}
.appearance-preview-actions{display:flex;gap:10px;flex-wrap:wrap}
.appearance-preview-list{display:grid;gap:10px}
.appearance-preview-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;border:1px solid rgba(16,35,52,.08);background:#fff}
.appearance-preview-row div{display:grid;gap:4px}
.appearance-preview-row strong{font-size:.9rem;color:#102334}
.appearance-preview-row span{font-size:.8rem;line-height:1.4;color:#5d6d7d}
.appearance-preview-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(31,120,224,.12);color:#135ab3;font-size:.7rem;font-weight:750;letter-spacing:.03em;text-transform:uppercase}

body.app-shell-active.module-mechanics .mechanics-pane .table-wrap{max-height:min(56vh,560px);overflow:auto;overscroll-behavior:contain;scroll-behavior:smooth}
body.app-shell-active.module-mechanics .mechanics-pane[data-mechanics-pane="jobCards"] .table-wrap{max-height:min(58vh,620px)}
body.app-shell-active.module-mechanics .mechanics-pane .table-wrap thead th{position:sticky;top:0;z-index:2}
body.app-shell-active.module-mechanics .mechanics-pane .table-wrap tbody tr{transition:background-color .16s ease}
body.app-shell-active.module-mechanics .mechanics-pane .table-wrap tbody tr:hover{background:#f8fbff}
body.app-shell-active.module-mechanics .mechanics-pane .table-wrap tbody tr:focus-within{background:#f2f8ff}
body.app-shell-active.module-mechanics .mechanics-pane .list-card,body.app-shell-active.module-mechanics .activity-feed{max-height:min(48vh,460px);overflow:auto;overscroll-behavior:contain}
body.app-shell-active.module-mechanics .mechanics-pane .empty-state{padding:20px 12px}
body.app-shell-active.module-mechanics .mechanics-job-card-form-card.hidden,body.app-shell-active.module-mechanics .mechanics-inline-form.hidden{display:none!important}

body.density-compact{--panel-padding:20px;--panel-radius:12px;--control-height:38px;--space-5:16px;--space-6:20px}
body.density-dense{--panel-padding:16px;--panel-radius:10px;--control-height:36px;--space-3:10px;--space-4:12px;--space-5:12px;--space-6:16px;--text-sm:.84rem;--text-base:.9rem}
body.density-dense .field{gap:7px}
body.density-dense .btn{min-height:34px;padding:7px 12px}
body.table-density-compact th,body.table-density-compact td{padding:10px 12px}

body.card-style-soft .panel,body.card-style-soft .app-slab,body.card-style-soft .app-content-card,body.card-style-soft .settings-section,body.card-style-soft .list-card,body.card-style-soft .system-notes,body.card-style-soft .import-card,body.card-style-soft .mechanics-sidebar,body.card-style-soft .mechanics-header,body.card-style-soft .metric-card,body.card-style-soft .appearance-preview-card,body.card-style-soft .appearance-preview-row{border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.08)}
body.card-style-minimal .panel,body.card-style-minimal .app-slab,body.card-style-minimal .app-content-card,body.card-style-minimal .settings-section,body.card-style-minimal .list-card,body.card-style-minimal .system-notes,body.card-style-minimal .import-card,body.card-style-minimal .mechanics-sidebar,body.card-style-minimal .mechanics-header,body.card-style-minimal .metric-card,body.card-style-minimal .appearance-preview-card,body.card-style-minimal .appearance-preview-row{background:#fff;box-shadow:none;border-color:#dde4ec}
body.card-style-minimal .table-wrap{box-shadow:none}

body.sidebar-compact.app-shell-active.module-mechanics .mechanics-enterprise-shell{grid-template-columns:216px minmax(0,1fr)}
body.sidebar-compact.app-shell-active.module-mechanics .mechanics-sidebar{padding:14px}
body.sidebar-compact.app-shell-active.module-mechanics .mechanics-sidebar-brand-copy span,body.sidebar-compact.app-shell-active.module-mechanics .mechanics-sidebar-meta{display:none}
body.sidebar-auto.app-shell-active.module-mechanics .mechanics-enterprise-shell{grid-template-columns:minmax(220px,248px) minmax(0,1fr)}

body.brand-name-only .logo-frame,body.brand-name-only .auth-brand .logo-frame,body.brand-name-only .mechanics-sidebar-logo{display:none!important}
body.brand-name-only .logo-fallback,body.brand-name-only #authLogoFallback,body.brand-name-only #mechanicsSidebarLogoFallback{display:none!important}
body.brand-initials .logo-frame,body.brand-initials .auth-brand .logo-frame,body.brand-initials .mechanics-sidebar-logo{display:none!important}
body.brand-initials .logo-fallback,body.brand-initials #authLogoFallback,body.brand-initials #mechanicsSidebarLogoFallback{display:inline-flex!important}

.status-Inspection-Pending,.status-Vehicle-Intake,.status-Inspection,.status-Diagnosing,.status-Awaiting-Approval,.status-Draft,.status-Confirmed,.status-Scheduled{background:rgba(47,128,237,.12);color:#1659ac}
.status-Awaiting-Parts,.status-Repair,.status-In-Repair,.status-Checked-in,.status-Partial,.status-Ordered{background:rgba(199,125,43,.15);color:#955d1d}
.status-Quality-Check,.status-Ready-for-Collection,.status-Collected,.status-Approved,.status-Paid,.status-Received,.status-Completed,.status-Available{background:rgba(47,133,90,.16);color:#22643f}
.status-Cancelled,.status-Declined,.status-Offline,.status-Maintenance,.status-Occupied{background:rgba(197,48,48,.13);color:#9f1f1f}

.theme-dark .toast-item{background:rgba(8,32,50,.96);border-color:rgba(170,196,226,.14);box-shadow:0 20px 40px rgba(0,0,0,.3);color:#ecf4ff}
.theme-dark .toast-item span{color:#b9cadb}
.theme-dark .modal-panel{background:#0b1f31;border-color:rgba(170,196,226,.16)}
.theme-dark .modal-header{border-bottom-color:rgba(170,196,226,.12)}
.theme-dark .modal-header h2{color:#ecf4ff}
.theme-dark .modal-header p{color:#9bb0c8}
.theme-dark .modal-close{background:#10283d;border-color:rgba(170,196,226,.18);color:#cfe3ff}
.theme-dark .modal-close:hover{background:#13324b}
.theme-dark .modal-body .form-actions{background:linear-gradient(180deg,rgba(11,31,49,0),#0b1f31 36%)}
.theme-dark .appearance-preview{border-color:rgba(170,196,226,.12);background:linear-gradient(180deg,rgba(12,28,50,.92),rgba(8,32,50,.82))}
.theme-dark .appearance-preview-card,.theme-dark .appearance-preview-row{background:rgba(9,24,40,.9);border-color:rgba(170,196,226,.12)}

@media (max-width:960px){
  .appearance-preview-grid{grid-template-columns:1fr}
  .toast-container{left:16px;right:16px;bottom:16px;max-width:none}
}

@media (max-width:720px){
  .modal{padding:12px}
  .modal-card,.modal-panel{width:100%;max-height:calc(100vh - 24px);border-radius:20px;padding:18px}
  .modal-body{max-height:calc(100vh - 148px)}
  .modal-header,.appearance-preview-row{flex-direction:column;align-items:flex-start}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* Unified premium dark workshop shell */
body.app-shell-active.module-mechanics.theme-dark{
  color:#e9f2fb;
  background:
    radial-gradient(circle at 14% 12%, rgba(95,168,255,.14), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(28,138,91,.12), transparent 18%),
    linear-gradient(180deg,#071827 0%, #0b2238 42%, #0d2940 100%);
}
body.app-shell-active.module-mechanics.theme-dark::before{
  background:
    radial-gradient(circle at 18% 22%, rgba(100,175,255,.14), transparent 24%),
    radial-gradient(circle at 78% 76%, rgba(255,255,255,.05), transparent 20%);
}
body.app-shell-active.module-mechanics.theme-dark .app-page-shell{
  width:min(100% - 20px,1760px);
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar,
body.app-shell-active.module-mechanics.theme-dark .mechanics-header,
body.app-shell-active.module-mechanics.theme-dark .panel,
body.app-shell-active.module-mechanics.theme-dark .app-slab,
body.app-shell-active.module-mechanics.theme-dark .app-content-card,
body.app-shell-active.module-mechanics.theme-dark .settings-section,
body.app-shell-active.module-mechanics.theme-dark .list-card,
body.app-shell-active.module-mechanics.theme-dark .system-notes,
body.app-shell-active.module-mechanics.theme-dark .import-card,
body.app-shell-active.module-mechanics.theme-dark .metric-card,
body.app-shell-active.module-mechanics.theme-dark .appearance-preview-card,
body.app-shell-active.module-mechanics.theme-dark .appearance-preview-row,
body.app-shell-active.module-mechanics.theme-dark .settings-sidebar-card,
body.app-shell-active.module-mechanics.theme-dark .settings-accordion,
body.app-shell-active.module-mechanics.theme-dark .modal-panel,
body.app-shell-active.module-mechanics.theme-dark .modal-card{
  background:linear-gradient(180deg,rgba(9,25,41,.96),rgba(11,31,49,.92));
  border-color:rgba(123,155,188,.18);
  box-shadow:0 18px 36px rgba(0,0,0,.22);
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar{
  background:linear-gradient(180deg,rgba(9,25,41,.98),rgba(10,29,46,.95));
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-brand-copy strong,
body.app-shell-active.module-mechanics.theme-dark #mechanicsPageTitle,
body.app-shell-active.module-mechanics.theme-dark .section-heading h2,
body.app-shell-active.module-mechanics.theme-dark .list-entry strong,
body.app-shell-active.module-mechanics.theme-dark .appearance-preview-row strong,
body.app-shell-active.module-mechanics.theme-dark .appearance-preview-card strong{
  color:#f4f8fc;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-brand-copy span,
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-label,
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-stat span,
body.app-shell-active.module-mechanics.theme-dark .mechanics-page-kicker,
body.app-shell-active.module-mechanics.theme-dark .mechanics-page-subtitle,
body.app-shell-active.module-mechanics.theme-dark .section-heading p,
body.app-shell-active.module-mechanics.theme-dark .field span,
body.app-shell-active.module-mechanics.theme-dark .report-summary,
body.app-shell-active.module-mechanics.theme-dark .empty-state,
body.app-shell-active.module-mechanics.theme-dark .list-entry span,
body.app-shell-active.module-mechanics.theme-dark .list-entry small,
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn span,
body.app-shell-active.module-mechanics.theme-dark .settings-accordion summary span,
body.app-shell-active.module-mechanics.theme-dark .appearance-preview-card p,
body.app-shell-active.module-mechanics.theme-dark .appearance-preview-row span,
body.app-shell-active.module-mechanics.theme-dark .app-footer{
  color:#9fb4c9;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-nav-btn,
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn{
  background:rgba(255,255,255,.03);
  border-color:rgba(123,155,188,.12);
  color:#dbe8f5;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-nav-btn:hover,
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(77,154,231,.28);
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-nav-btn.is-active,
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn.is-active{
  background:linear-gradient(180deg,rgba(47,128,237,.18),rgba(30,138,91,.18));
  border-color:rgba(103,196,143,.28);
  color:#f2f8ff;
  box-shadow:inset 0 0 0 1px rgba(123,201,163,.12);
}
body.app-shell-active.module-mechanics.theme-dark .btn-primary{
  background:linear-gradient(180deg,#2f80ed,#1e8a5b);
  border-color:transparent;
  color:#fff;
  box-shadow:0 10px 20px rgba(30,138,91,.18);
}
body.app-shell-active.module-mechanics.theme-dark .btn-secondary,
body.app-shell-active.module-mechanics.theme-dark .modal-close{
  background:rgba(255,255,255,.04);
  border-color:rgba(123,155,188,.18);
  color:#dbe8f5;
}
body.app-shell-active.module-mechanics.theme-dark .btn-secondary:hover,
body.app-shell-active.module-mechanics.theme-dark .modal-close:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(123,201,163,.24);
}
body.app-shell-active.module-mechanics.theme-dark input,
body.app-shell-active.module-mechanics.theme-dark select,
body.app-shell-active.module-mechanics.theme-dark textarea,
body.app-shell-active.module-mechanics.theme-dark .money-field{
  background:rgba(5,19,32,.88);
  border-color:rgba(123,155,188,.18);
  color:#edf5ff;
}
body.app-shell-active.module-mechanics.theme-dark input::placeholder,
body.app-shell-active.module-mechanics.theme-dark textarea::placeholder{
  color:#8ea5bc;
}
body.app-shell-active.module-mechanics.theme-dark input:hover,
body.app-shell-active.module-mechanics.theme-dark select:hover,
body.app-shell-active.module-mechanics.theme-dark textarea:hover{
  background:rgba(7,24,39,.94);
  border-color:rgba(123,155,188,.28);
}
body.app-shell-active.module-mechanics.theme-dark input:focus,
body.app-shell-active.module-mechanics.theme-dark select:focus,
body.app-shell-active.module-mechanics.theme-dark textarea:focus,
body.app-shell-active.module-mechanics.theme-dark .money-field:focus-within{
  border-color:rgba(103,196,143,.46);
  box-shadow:0 0 0 3px rgba(103,196,143,.12);
}
body.app-shell-active.module-mechanics.theme-dark .money-prefix{
  background:rgba(47,128,237,.14);
  border-right-color:rgba(123,155,188,.18);
  color:#dbe8f5;
}
body.app-shell-active.module-mechanics.theme-dark .table-wrap{
  background:linear-gradient(180deg,rgba(6,21,35,.98),rgba(9,25,41,.94));
  border-color:rgba(123,155,188,.18);
  box-shadow:none;
}
body.app-shell-active.module-mechanics.theme-dark th{
  background:rgba(255,255,255,.04);
  border-bottom-color:rgba(123,155,188,.18);
  color:#9fb7ce;
}
body.app-shell-active.module-mechanics.theme-dark td{
  border-bottom-color:rgba(123,155,188,.1);
  color:#edf5ff;
}
body.app-shell-active.module-mechanics.theme-dark .interactive-row:hover,
body.app-shell-active.module-mechanics.theme-dark .mechanics-pane .table-wrap tbody tr:hover{
  background:rgba(255,255,255,.04);
}
body.app-shell-active.module-mechanics.theme-dark .metric-card{
  background:linear-gradient(180deg,rgba(8,24,39,.98),rgba(13,34,53,.9));
}
body.app-shell-active.module-mechanics.theme-dark .metric-card strong{
  color:#f4f8fc;
}
body.app-shell-active.module-mechanics.theme-dark .report-summary,
body.app-shell-active.module-mechanics.theme-dark .attachment-preview,
body.app-shell-active.module-mechanics.theme-dark .mechanics-summary{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(47,128,237,.08));
  border-color:rgba(123,155,188,.16);
}
body.app-shell-active.module-mechanics.theme-dark .settings-accordion summary::after{
  color:#dbe8f5;
}
body.app-shell-active.module-mechanics.theme-dark .settings-accordion .settings-section,
body.app-shell-active.module-mechanics.theme-dark .modal-header{
  border-top-color:rgba(123,155,188,.14);
  border-bottom-color:rgba(123,155,188,.14);
}
body.app-shell-active.module-mechanics.theme-dark .appearance-preview{
  border-color:rgba(123,155,188,.18);
  background:linear-gradient(180deg,rgba(9,25,41,.96),rgba(11,31,49,.92));
}
body.app-shell-active.module-mechanics.theme-dark .app-footer{
  margin-top:18px;
}

/* Login redesign */
body.auth-shell-active{
  background:
    radial-gradient(circle at 12% 18%, rgba(100, 175, 255, .22), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255,255,255,.08), transparent 18%),
    linear-gradient(135deg, #071827 0%, #0b2238 46%, #12385b 100%);
}
body.auth-shell-active::before{
  background:
    radial-gradient(circle at 18% 26%, rgba(107, 182, 255, .2), transparent 24%),
    radial-gradient(circle at 78% 78%, rgba(255,255,255,.08), transparent 22%);
}
.auth-shell{
  width:100%;
  padding:24px;
}
.auth-layout{
  width:min(1180px,100%);
  min-height:min(760px,calc(100vh - 48px));
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,440px);
  gap:24px;
  align-items:stretch;
}
.auth-panel{
  position:relative;
  z-index:1;
}
.auth-brand-panel{
  display:grid;
}
.auth-brand-panel-inner{
  height:100%;
  display:grid;
  align-content:space-between;
  gap:24px;
  padding:36px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(10,28,46,.76),rgba(9,23,37,.62));
  box-shadow:0 24px 54px rgba(0,0,0,.18);
  backdrop-filter:blur(18px);
}
.auth-brand-mark{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  align-items:center;
}
.auth-brand-logo-frame,
.auth-brand-logo-fallback{
  width:64px;
  height:64px;
  border-radius:18px;
}
.auth-brand-logo-frame{
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}
.auth-brand-logo-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.auth-brand-logo-fallback{
  background:linear-gradient(145deg,var(--brand),var(--brand-soft));
  color:#fff;
  font-size:1.22rem;
  font-weight:800;
  letter-spacing:-.03em;
}
.auth-brand-copy{
  display:grid;
  gap:6px;
  min-width:0;
}
.auth-kicker{
  margin:0;
  font-size:.72rem;
  font-weight:750;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(219,234,254,.84);
}
.auth-wordmark{
  margin:0;
  color:#fff;
  font-family:"Space Grotesk",sans-serif;
  font-size:clamp(1.85rem,3.1vw,2.4rem);
  line-height:1.02;
  letter-spacing:-.04em;
  text-align:left;
}
.auth-panel-subtitle{
  margin:0;
  font-size:1rem;
  color:rgba(221,232,245,.9);
  line-height:1.45;
  max-width:30ch;
}
.auth-panel-copy{
  margin:0;
  max-width:46ch;
  font-size:.96rem;
  line-height:1.65;
  color:rgba(226,236,247,.84);
}
.auth-feature-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.auth-feature-item{
  display:grid;
  gap:4px;
  padding:14px 15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.06);
}
.auth-feature-item strong{
  font-size:.9rem;
  font-weight:700;
  color:#fff;
}
.auth-feature-item span{
  font-size:.82rem;
  line-height:1.5;
  color:rgba(221,232,245,.78);
}
.auth-panel-footer{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:.8rem;
  color:rgba(221,232,245,.72);
}
.auth-form-panel{
  display:grid;
  align-items:center;
}
.auth-card{
  width:min(430px,100%);
  justify-self:end;
  padding:30px 30px 24px;
  border-radius:18px;
  border:1px solid rgba(214,223,234,.95);
  background:rgba(255,255,255,.97);
  box-shadow:0 24px 48px rgba(8,24,40,.14);
}
.auth-card .auth-brand{
  margin-bottom:18px;
  justify-content:flex-start;
}
.auth-card-brand{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
}
.auth-card-logo-frame,
.auth-card-logo-fallback{
  width:44px;
  height:44px;
  border-radius:12px;
}
.auth-card-logo-frame{
  background:#fff;
  box-shadow:0 4px 10px rgba(8,24,40,.08);
}
.auth-card-logo-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.auth-card-logo-fallback{
  background:linear-gradient(145deg,var(--brand),var(--brand-soft));
  color:#fff;
  font-size:.98rem;
  font-weight:800;
  letter-spacing:-.02em;
}
.auth-card-brand-copy{
  display:grid;
  gap:4px;
}
.auth-card-brand-copy strong{
  font-size:.98rem;
  color:#102334;
  line-height:1.2;
}
.auth-title{
  font-size:1.42rem;
  line-height:1.08;
  margin-bottom:6px;
}
.auth-card-copy{
  margin:0 0 18px;
  font-size:.9rem;
  line-height:1.55;
  color:#5b6c7d;
}
.auth-form{
  gap:14px;
}
.auth-form .field{
  gap:7px;
}
.auth-form .field span{
  font-size:.82rem;
  font-weight:650;
  color:#213547;
}
.auth-password-field{
  position:relative;
}
.auth-password-field input{
  padding-right:64px;
}
.auth-password-toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:#46627f;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer;
  padding:4px 6px;
  border-radius:8px;
}
.auth-password-toggle:hover{
  background:#eef4fb;
  color:#17324d;
}
.auth-password-toggle:focus-visible{
  outline:2px solid rgba(47,128,237,.46);
  outline-offset:2px;
}
.auth-message{
  min-height:20px;
  font-size:.84rem;
  line-height:1.45;
  color:#5b6c7d;
}
.auth-message.is-error{
  color:#a32727;
}
.auth-message.is-success{
  color:#22643f;
}
.auth-form-actions{
  justify-content:stretch;
}
.auth-form-actions .btn{
  width:100%;
  min-width:0;
}
#loginSubmitButton.is-loading{
  opacity:.86;
  cursor:progress;
}
.auth-support{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #e6edf4;
  font-size:.8rem;
  color:#667788;
}
.auth-support-label{
  font-weight:700;
  color:#24384c;
}
.auth-support a{
  color:var(--brand);
  text-decoration:none;
  font-weight:650;
}
.auth-support a:hover{
  color:var(--brand-strong);
}
.auth-footer{
  margin-top:16px;
  text-align:left;
  color:#667788;
  font-size:.78rem;
}
.auth-footer p:last-child{
  display:block;
}
body.auth-shell-active .auth-card input,
body.auth-shell-active .auth-card select{
  min-height:42px;
  border:1px solid #cfd9e4;
  border-radius:10px;
  background:#fff;
  box-shadow:none;
}
body.auth-shell-active .auth-card input:hover,
body.auth-shell-active .auth-card select:hover{
  border-color:#b8c8d8;
  background:#fff;
}
body.auth-shell-active .auth-card input:focus,
body.auth-shell-active .auth-card select:focus{
  border-color:#7cabeb;
  box-shadow:0 0 0 3px rgba(47,128,237,.12);
}
body.auth-shell-active .auth-card .btn{
  min-height:42px;
  border-radius:10px;
  font-size:.88rem;
}
body.auth-shell-active .auth-card .btn-primary{
  background:linear-gradient(180deg,var(--brand-soft),var(--brand));
  border-color:transparent;
}
body.auth-shell-active .auth-card .btn-primary:hover{
  filter:brightness(.98);
}
html[data-theme-resolved="light"] body.auth-shell-active{
  background:
    radial-gradient(circle at 12% 14%, rgba(47,128,237,.12), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(30,138,91,.08), transparent 16%),
    linear-gradient(180deg,#eef4fb 0%, #e6edf6 52%, #dde7f1 100%);
}
html[data-theme-resolved="light"] body.auth-shell-active::before{
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.82), transparent 24%),
    radial-gradient(circle at 82% 80%, rgba(47,128,237,.08), transparent 22%);
}
html[data-theme-resolved="light"] .auth-brand-panel-inner{
  background:linear-gradient(180deg,rgba(232,239,247,.96),rgba(221,232,243,.92));
  border-color:rgba(123,155,188,.18);
  box-shadow:0 24px 54px rgba(15,23,42,.08);
}
html[data-theme-resolved="light"] .auth-wordmark,
html[data-theme-resolved="light"] .auth-feature-item strong{
  color:#102334;
}
html[data-theme-resolved="light"] .auth-panel-subtitle,
html[data-theme-resolved="light"] .auth-panel-copy,
html[data-theme-resolved="light"] .auth-feature-item span,
html[data-theme-resolved="light"] .auth-panel-footer,
html[data-theme-resolved="light"] .auth-kicker{
  color:#55697d;
}
html[data-theme-resolved="light"] .auth-feature-item{
  background:rgba(255,255,255,.58);
  border-color:rgba(123,155,188,.16);
}
html[data-theme-resolved="light"] .auth-card{
  background:rgba(255,255,255,.98);
}
html[data-interface-density="compact"] .auth-brand-panel-inner{
  padding:30px;
  gap:20px;
}
html[data-interface-density="compact"] .auth-card{
  padding:26px 26px 22px;
}
html[data-interface-density="compact"] .auth-form{
  gap:12px;
}
html[data-interface-density="compact"] body.auth-shell-active .auth-card input,
html[data-interface-density="compact"] body.auth-shell-active .auth-card select,
html[data-interface-density="compact"] body.auth-shell-active .auth-card .btn{
  min-height:40px;
}
html[data-interface-density="dense"] .auth-brand-panel-inner{
  padding:26px;
  gap:18px;
}
html[data-interface-density="dense"] .auth-card{
  padding:24px 24px 20px;
}
html[data-interface-density="dense"] .auth-form{
  gap:10px;
}
html[data-interface-density="dense"] body.auth-shell-active .auth-card input,
html[data-interface-density="dense"] body.auth-shell-active .auth-card select,
html[data-interface-density="dense"] body.auth-shell-active .auth-card .btn{
  min-height:38px;
}
html[data-card-style="soft"] .auth-brand-panel-inner,
html[data-card-style="soft"] .auth-card{
  box-shadow:0 28px 56px rgba(15,23,42,.14);
}
html[data-card-style="minimal"] .auth-brand-panel-inner,
html[data-card-style="minimal"] .auth-card{
  box-shadow:none;
}
html[data-card-style="minimal"] .auth-brand-panel-inner{
  border-color:rgba(123,155,188,.14);
}
html[data-card-style="minimal"] .auth-card{
  border-color:rgba(214,223,234,.86);
}

@media (max-width:1024px){
  .auth-layout{
    grid-template-columns:1fr;
    min-height:auto;
  }
  .auth-brand-panel{
    order:2;
  }
  .auth-form-panel{
    order:1;
  }
  .auth-card{
    justify-self:center;
  }
  .auth-brand-panel-inner{
    padding:24px;
  }
}

@media (max-width:720px){
  .auth-shell{
    padding:16px;
  }
  .auth-layout{
    gap:16px;
  }
  .auth-brand-panel{
    display:none;
  }
  .auth-card{
    width:100%;
    padding:24px 20px 20px;
    border-radius:16px;
  }
}

/* Enterprise operations refinement */
body.app-shell-active.module-mechanics{
  background:linear-gradient(180deg,#edf1f5 0%,#e7edf3 100%);
  color:#16222d;
}
body.app-shell-active.module-mechanics::before{
  background:
    radial-gradient(circle at 12% 10%,rgba(78,117,160,.08),transparent 18%),
    linear-gradient(180deg,rgba(255,255,255,.52),rgba(231,237,243,0));
}
body.app-shell-active.module-mechanics .app-page-shell{
  width:min(100% - 16px,1780px);
  height:calc(100vh - 16px);
  margin:8px auto;
}
body.app-shell-active.module-mechanics .mechanics-enterprise-shell{
  grid-template-columns:232px minmax(0,1fr);
  gap:10px;
}
body.app-shell-active.module-mechanics .mechanics-sidebar,
body.app-shell-active.module-mechanics .mechanics-header,
body.app-shell-active.module-mechanics .panel,
body.app-shell-active.module-mechanics .app-slab,
body.app-shell-active.module-mechanics .app-content-card,
body.app-shell-active.module-mechanics .settings-section,
body.app-shell-active.module-mechanics .list-card,
body.app-shell-active.module-mechanics .system-notes,
body.app-shell-active.module-mechanics .import-card,
body.app-shell-active.module-mechanics .metric-card,
body.app-shell-active.module-mechanics .settings-sidebar-card,
body.app-shell-active.module-mechanics .settings-accordion,
body.app-shell-active.module-mechanics .modal-panel,
body.app-shell-active.module-mechanics .modal-card,
body.app-shell-active.module-mechanics .inspection-finding-card,
body.app-shell-active.module-mechanics .inspection-review-card,
body.app-shell-active.module-mechanics .inspection-history-item,
body.app-shell-active.module-mechanics .inspection-media-chip,
body.app-shell-active.module-mechanics .inspection-audit-empty{
  border-radius:8px;
  box-shadow:none;
}
body.app-shell-active.module-mechanics .mechanics-sidebar{
  padding:12px;
  gap:12px;
  background:#edf2f6;
  border:1px solid #cfd7e1;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand{
  gap:10px;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-logo,
body.app-shell-active.module-mechanics .logo-fallback{
  width:40px;
  height:40px;
  border-radius:10px;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand-copy strong{
  font-size:.92rem;
  font-weight:700;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-brand-copy span{
  font-size:.73rem;
  color:#5d6c7c;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-label{
  font-size:.64rem;
  letter-spacing:.08em;
  color:#66788a;
}
body.app-shell-active.module-mechanics .mechanics-nav{
  gap:2px;
}
body.app-shell-active.module-mechanics .mechanics-nav-btn{
  min-height:34px;
  padding:8px 10px;
  border-radius:7px;
  border:1px solid transparent;
  background:transparent;
  color:#243546;
  font-size:.87rem;
  font-weight:600;
}
body.app-shell-active.module-mechanics .mechanics-nav-btn:hover{
  background:#e5ecf4;
  border-color:#d0dae5;
}
body.app-shell-active.module-mechanics .mechanics-nav-btn.is-active{
  background:#dce7f3;
  border-color:#b9cadb;
  color:#133858;
  box-shadow:inset 3px 0 0 #1f78e0;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-meta{
  gap:6px;
  padding-top:8px;
  border-top:1px solid #d7dee7;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-stat span{
  font-size:.65rem;
  color:#6d7d8d;
}
body.app-shell-active.module-mechanics .mechanics-sidebar-stat strong{
  font-size:.84rem;
}
body.app-shell-active.module-mechanics .mechanics-content-shell{
  gap:10px;
  padding-right:0;
}
body.app-shell-active.module-mechanics .mechanics-header{
  align-items:center;
  padding:12px 14px;
  border:1px solid #d3dbe5;
  background:#f7f9fb;
}
body.app-shell-active.module-mechanics .mechanics-page-kicker{
  margin:0 0 3px;
  font-size:.66rem;
  letter-spacing:.08em;
  color:#66788a;
}
body.app-shell-active.module-mechanics #mechanicsPageTitle{
  font-size:1.54rem;
  line-height:1.06;
  font-weight:700;
}
body.app-shell-active.module-mechanics .mechanics-page-subtitle{
  margin:4px 0 0;
  font-size:.86rem;
  line-height:1.45;
  color:#5a6a79;
  max-width:72ch;
}
body.app-shell-active.module-mechanics .mechanics-header-actions{
  gap:6px;
}
body.app-shell-active.module-mechanics .panel,
body.app-shell-active.module-mechanics .app-slab,
body.app-shell-active.module-mechanics .app-content-card,
body.app-shell-active.module-mechanics .settings-section,
body.app-shell-active.module-mechanics .list-card,
body.app-shell-active.module-mechanics .system-notes,
body.app-shell-active.module-mechanics .import-card{
  padding:12px 14px;
  background:#fbfcfd;
  border:1px solid #d8e0e8;
}
body.app-shell-active.module-mechanics .section-heading{
  margin-bottom:12px;
  padding-bottom:10px;
  border-bottom:1px solid #e0e7ee;
}
body.app-shell-active.module-mechanics .section-heading h2{
  font-size:1.04rem;
  font-weight:650;
  letter-spacing:-.018em;
}
body.app-shell-active.module-mechanics .section-heading p,
body.app-shell-active.module-mechanics .field span,
body.app-shell-active.module-mechanics .list-entry span,
body.app-shell-active.module-mechanics .report-summary,
body.app-shell-active.module-mechanics .empty-state{
  color:#5c6c7b;
}
body.app-shell-active.module-mechanics .field span{
  font-size:.78rem;
  font-weight:650;
}
body.app-shell-active.module-mechanics input,
body.app-shell-active.module-mechanics select,
body.app-shell-active.module-mechanics textarea,
body.app-shell-active.module-mechanics .money-field{
  border-color:#c8d2dd;
  border-radius:7px;
  background:#fff;
  box-shadow:none;
}
body.app-shell-active.module-mechanics input,
body.app-shell-active.module-mechanics select{
  min-height:36px;
}
body.app-shell-active.module-mechanics textarea{
  line-height:1.5;
}
body.app-shell-active.module-mechanics input:hover,
body.app-shell-active.module-mechanics select:hover,
body.app-shell-active.module-mechanics textarea:hover,
body.app-shell-active.module-mechanics .money-field:hover{
  border-color:#b9c6d3;
}
body.app-shell-active.module-mechanics input:focus,
body.app-shell-active.module-mechanics select:focus,
body.app-shell-active.module-mechanics textarea:focus,
body.app-shell-active.module-mechanics .money-field:focus-within{
  border-color:#4f88d6;
  box-shadow:0 0 0 2px rgba(79,136,214,.16);
}
body.app-shell-active.module-mechanics .money-prefix{
  background:#f2f5f8;
  border-right-color:#d3dbe4;
  color:#33485d;
}
body.app-shell-active.module-mechanics .btn{
  min-height:34px;
  min-width:0;
  padding:8px 12px;
  border-radius:7px;
  font-size:.83rem;
  font-weight:650;
  box-shadow:none;
}
body.app-shell-active.module-mechanics .btn-primary{
  background:#1968c9;
  border-color:#1968c9;
}
body.app-shell-active.module-mechanics .btn-primary:hover{
  background:#1459ac;
  border-color:#1459ac;
}
body.app-shell-active.module-mechanics .btn-secondary{
  background:#fbfcfd;
  border-color:#c7d1dc;
  color:#1b3147;
}
body.app-shell-active.module-mechanics .btn-secondary:hover{
  background:#f1f5f8;
  border-color:#b8c4d1;
  color:#13283c;
}
body.app-shell-active.module-mechanics .table-action-btn{
  min-height:30px;
  padding:6px 10px;
  font-size:.76rem;
  font-weight:700;
  white-space:nowrap;
}
body.app-shell-active.module-mechanics .icon-btn{
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
}
body.app-shell-active.module-mechanics .mechanics-kpi-strip,
body.app-shell-active.module-mechanics .mechanics-report-grid{
  gap:10px;
}
body.app-shell-active.module-mechanics .metric-card{
  padding:10px 11px;
  background:#fff;
  border:1px solid #d6dee8;
}
body.app-shell-active.module-mechanics .metric-card span{
  font-size:.65rem;
  letter-spacing:.06em;
  color:#6a7b8c;
}
body.app-shell-active.module-mechanics .metric-card strong{
  font-size:1.3rem;
  line-height:1.04;
  font-family:"Manrope",sans-serif;
}
body.app-shell-active.module-mechanics .metric-card small{
  font-size:.72rem;
}
body.app-shell-active.module-mechanics .mechanics-summary,
body.app-shell-active.module-mechanics .report-summary,
body.app-shell-active.module-mechanics .attachment-preview{
  padding:10px 12px;
  border-radius:7px;
  background:#f3f6f9;
  border:1px solid #d7dfe7;
}
body.app-shell-active.module-mechanics .table-wrap{
  border-radius:8px;
  border:1px solid #d1dbe5;
  background:#fff;
}
body.app-shell-active.module-mechanics .app-wide-table table{
  min-width:1140px;
}
body.app-shell-active.module-mechanics th{
  padding:9px 12px;
  background:#eaf0f5;
  border-bottom:1px solid #ccd6e1;
  color:#32485c;
  font-size:.74rem;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}
body.app-shell-active.module-mechanics td{
  padding:9px 12px;
  border-bottom:1px solid #e2e8ef;
  color:#182735;
  font-size:.83rem;
  line-height:1.4;
}
body.app-shell-active.module-mechanics td small{
  color:#637485;
}
body.app-shell-active.module-mechanics .interactive-row:hover,
body.app-shell-active.module-mechanics .mechanics-pane .table-wrap tbody tr:hover{
  background:#f2f6fa;
}
body.app-shell-active.module-mechanics .interactive-row:focus-visible{
  outline:2px solid rgba(79,136,214,.4);
  background:#ecf3f9;
}
body.app-shell-active.module-mechanics .status-pill{
  padding:3px 8px;
  font-size:.68rem;
  font-weight:700;
}
body.app-shell-active.module-mechanics .table-actions-inline{
  gap:6px;
}
body.app-shell-active.module-mechanics .mechanics-queue-panel .section-heading{
  padding:12px 14px 0;
}
body.app-shell-active.module-mechanics .mechanics-secondary-list{
  padding:0;
}
body.app-shell-active.module-mechanics .mechanics-job-card-form-card,
body.app-shell-active.module-mechanics .mechanics-inline-form{
  margin-bottom:12px;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-summary-card{
  padding:12px 14px;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-summary-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-kpi{
  display:grid;
  gap:4px;
  padding:10px 11px;
  border:1px solid #d6dee8;
  border-radius:7px;
  background:#fff;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-kpi span{
  font-size:.65rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#6a7b8c;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-kpi strong{
  font-size:1.22rem;
  line-height:1.04;
  color:#122334;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-summary{
  margin-top:10px;
  max-width:none;
}
body.app-shell-active.module-mechanics .mechanics-jobcards-grid{
  border-top:1px solid #e1e8ef;
}
body.app-shell-active.module-mechanics .settings-sidebar-card{
  padding:12px;
  background:#f8fafc;
  border:1px solid #d8e0e8;
}
body.app-shell-active.module-mechanics .settings-nav-btn{
  padding:10px 12px;
  border-radius:7px;
  border-color:#d5dde6;
  background:#fff;
  box-shadow:none;
}
body.app-shell-active.module-mechanics .settings-nav-btn:hover{
  transform:none;
  background:#f3f6f9;
  border-color:#c2ceda;
}
body.app-shell-active.module-mechanics .settings-nav-btn.is-active{
  background:#e3edf7;
  border-color:#bdd0e2;
  color:#123657;
}
body.app-shell-active.module-mechanics .settings-accordion{
  background:#fbfcfd;
  border-color:#d7dfe7;
}
body.app-shell-active.module-mechanics .settings-accordion summary{
  padding:12px 14px;
  font-size:.92rem;
}
body.app-shell-active.module-mechanics .settings-accordion summary span{
  font-size:.8rem;
}
body.app-shell-active.module-mechanics .settings-accordion .settings-section{
  border-top:1px solid #dde5ed;
}
body.app-shell-active.module-mechanics .inspection-finding-card,
body.app-shell-active.module-mechanics .inspection-review-card,
body.app-shell-active.module-mechanics .inspection-history-item,
body.app-shell-active.module-mechanics .inspection-media-chip,
body.app-shell-active.module-mechanics .customer-portal-approval-group,
body.app-shell-active.module-mechanics .customer-portal-approval-item,
body.app-shell-active.module-mechanics .customer-portal-approval-confirmation{
  border-radius:8px;
  box-shadow:none;
}
.modal{
  background:rgba(15,23,42,.48);
  backdrop-filter:none;
}
.modal-card,
.modal-panel{
  border-radius:10px;
  padding:18px;
  box-shadow:0 24px 44px rgba(15,23,42,.14);
  border-color:#cad4de;
  background:#fbfcfd;
}
.modal-header{
  padding-bottom:12px;
  border-bottom-color:#dbe4ec;
}
.modal-header h2{
  font-size:1.06rem;
}
.modal-header p{
  font-size:.84rem;
  color:#5c6d7d;
}
.modal-close{
  min-height:34px;
  padding:8px 10px;
  border-radius:7px;
}
.modal-body{
  padding-top:14px;
}
.modal-body .form-actions{
  padding-top:12px;
  background:linear-gradient(180deg,rgba(251,252,253,0),#fbfcfd 30%);
}
body.app-shell-active.module-mechanics .app-footer{
  display:none;
}
body.app-shell-active.module-mechanics.theme-dark{
  color:#e6eef6;
  background:linear-gradient(180deg,#0c151e 0%,#101b25 100%);
}
body.app-shell-active.module-mechanics.theme-dark::before{
  background:
    radial-gradient(circle at 12% 12%,rgba(84,140,209,.12),transparent 18%),
    linear-gradient(180deg,rgba(255,255,255,.02),rgba(0,0,0,0));
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar,
body.app-shell-active.module-mechanics.theme-dark .mechanics-header,
body.app-shell-active.module-mechanics.theme-dark .panel,
body.app-shell-active.module-mechanics.theme-dark .app-slab,
body.app-shell-active.module-mechanics.theme-dark .app-content-card,
body.app-shell-active.module-mechanics.theme-dark .settings-section,
body.app-shell-active.module-mechanics.theme-dark .list-card,
body.app-shell-active.module-mechanics.theme-dark .system-notes,
body.app-shell-active.module-mechanics.theme-dark .import-card,
body.app-shell-active.module-mechanics.theme-dark .metric-card,
body.app-shell-active.module-mechanics.theme-dark .settings-sidebar-card,
body.app-shell-active.module-mechanics.theme-dark .settings-accordion,
body.app-shell-active.module-mechanics.theme-dark .modal-panel,
body.app-shell-active.module-mechanics.theme-dark .modal-card,
body.app-shell-active.module-mechanics.theme-dark .mechanics-jobcards-kpi,
body.app-shell-active.module-mechanics.theme-dark .customer-portal-approval-group,
body.app-shell-active.module-mechanics.theme-dark .customer-portal-approval-item,
body.app-shell-active.module-mechanics.theme-dark .customer-portal-approval-confirmation,
body.app-shell-active.module-mechanics.theme-dark .inspection-finding-card,
body.app-shell-active.module-mechanics.theme-dark .inspection-review-card,
body.app-shell-active.module-mechanics.theme-dark .inspection-history-item,
body.app-shell-active.module-mechanics.theme-dark .inspection-media-chip,
body.app-shell-active.module-mechanics.theme-dark .inspection-audit-empty{
  background:#121d27;
  border-color:#293846;
  box-shadow:none;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar{
  background:#0e1822;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-header{
  background:#101b26;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-brand-copy strong,
body.app-shell-active.module-mechanics.theme-dark #mechanicsPageTitle,
body.app-shell-active.module-mechanics.theme-dark .section-heading h2,
body.app-shell-active.module-mechanics.theme-dark .mechanics-jobcards-kpi strong{
  color:#eef4fb;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-brand-copy span,
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-label,
body.app-shell-active.module-mechanics.theme-dark .mechanics-sidebar-stat span,
body.app-shell-active.module-mechanics.theme-dark .mechanics-page-kicker,
body.app-shell-active.module-mechanics.theme-dark .mechanics-page-subtitle,
body.app-shell-active.module-mechanics.theme-dark .section-heading p,
body.app-shell-active.module-mechanics.theme-dark .field span,
body.app-shell-active.module-mechanics.theme-dark .report-summary,
body.app-shell-active.module-mechanics.theme-dark .empty-state,
body.app-shell-active.module-mechanics.theme-dark td small,
body.app-shell-active.module-mechanics.theme-dark .mechanics-jobcards-kpi span{
  color:#9dafbf;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-nav-btn{
  color:#d7e2ed;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-nav-btn:hover{
  background:#152330;
  border-color:#284050;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-nav-btn.is-active{
  background:#182a39;
  border-color:#37556f;
  color:#ffffff;
  box-shadow:inset 3px 0 0 #67a7ff;
}
body.app-shell-active.module-mechanics.theme-dark input,
body.app-shell-active.module-mechanics.theme-dark select,
body.app-shell-active.module-mechanics.theme-dark textarea,
body.app-shell-active.module-mechanics.theme-dark .money-field{
  background:#0f1821;
  border-color:#2a3b49;
  color:#edf4fb;
}
body.app-shell-active.module-mechanics.theme-dark input:hover,
body.app-shell-active.module-mechanics.theme-dark select:hover,
body.app-shell-active.module-mechanics.theme-dark textarea:hover,
body.app-shell-active.module-mechanics.theme-dark .money-field:hover{
  border-color:#365061;
}
body.app-shell-active.module-mechanics.theme-dark input:focus,
body.app-shell-active.module-mechanics.theme-dark select:focus,
body.app-shell-active.module-mechanics.theme-dark textarea:focus,
body.app-shell-active.module-mechanics.theme-dark .money-field:focus-within{
  border-color:#67a7ff;
  box-shadow:0 0 0 2px rgba(103,167,255,.22);
}
body.app-shell-active.module-mechanics.theme-dark .money-prefix{
  background:#15222e;
  border-right-color:#2b3d4b;
  color:#d6e1ec;
}
body.app-shell-active.module-mechanics.theme-dark .btn-primary{
  background:#2f7fe4;
  border-color:#2f7fe4;
}
body.app-shell-active.module-mechanics.theme-dark .btn-primary:hover{
  background:#276ec6;
  border-color:#276ec6;
}
body.app-shell-active.module-mechanics.theme-dark .btn-secondary,
body.app-shell-active.module-mechanics.theme-dark .modal-close{
  background:#141f2b;
  border-color:#334455;
  color:#dce7f2;
}
body.app-shell-active.module-mechanics.theme-dark .btn-secondary:hover,
body.app-shell-active.module-mechanics.theme-dark .modal-close:hover{
  background:#192633;
  border-color:#42576c;
  color:#f2f7fc;
}
body.app-shell-active.module-mechanics.theme-dark .table-wrap{
  background:#101a24;
  border-color:#293846;
}
body.app-shell-active.module-mechanics.theme-dark th{
  background:#172431;
  border-bottom-color:#2b3a48;
  color:#cad7e4;
}
body.app-shell-active.module-mechanics.theme-dark td{
  color:#e8eff6;
  border-bottom-color:#1f2d39;
}
body.app-shell-active.module-mechanics.theme-dark .interactive-row:hover,
body.app-shell-active.module-mechanics.theme-dark .mechanics-pane .table-wrap tbody tr:hover{
  background:#16222d;
}
body.app-shell-active.module-mechanics.theme-dark .mechanics-summary,
body.app-shell-active.module-mechanics.theme-dark .report-summary,
body.app-shell-active.module-mechanics.theme-dark .attachment-preview{
  background:#111c26;
  border-color:#293846;
}
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn{
  background:#101a24;
  border-color:#2b3b48;
}
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn:hover{
  background:#14202b;
  border-color:#375061;
}
body.app-shell-active.module-mechanics.theme-dark .settings-nav-btn.is-active{
  background:#172635;
  border-color:#3a5871;
  color:#edf4fb;
}
body.app-shell-active.module-mechanics.theme-dark .settings-accordion .settings-section,
body.app-shell-active.module-mechanics.theme-dark .modal-header{
  border-top-color:#24323f;
  border-bottom-color:#24323f;
}
.theme-dark .modal{
  background:rgba(5,10,16,.72);
}
.theme-dark .modal-card,
.theme-dark .modal-panel{
  background:#101a24;
  border-color:#2a3947;
}
.theme-dark .modal-body .form-actions{
  background:linear-gradient(180deg,rgba(16,26,36,0),#101a24 30%);
}
@media (max-width:1366px){
  body.app-shell-active.module-mechanics .mechanics-enterprise-shell{
    grid-template-columns:220px minmax(0,1fr);
  }
  body.app-shell-active.module-mechanics .mechanics-jobcards-summary-strip{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (max-width:720px){
  body.app-shell-active.module-mechanics .mechanics-jobcards-summary-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body.app-shell-active.module-mechanics .panel,
  body.app-shell-active.module-mechanics .app-slab,
  body.app-shell-active.module-mechanics .app-content-card,
  body.app-shell-active.module-mechanics .settings-section{
    padding:12px;
  }
  .modal-card,
  .modal-panel{
    border-radius:8px;
    padding:16px;
  }
}

/* Windows 11 benchmark refinement */
body,
input,
select,
textarea,
button{
  font-family:"Segoe UI Variable Text","Segoe UI",Manrope,sans-serif;
}

h1,
h2,
h3,
h4,
.auth-wordmark,
.auth-title,
.app-lead-title,
.platform-admin-title,
.platform-lead-title,
#mechanicsPageTitle{
  font-family:"Segoe UI Variable Display","Segoe UI",Manrope,sans-serif;
  letter-spacing:-.025em;
}

body.auth-shell-active{
  background:
    linear-gradient(112deg,rgba(3,15,28,.8) 0%,rgba(7,25,44,.58) 44%,rgba(11,43,74,.3) 100%),
    url("login-background.png") center/cover no-repeat fixed;
}

body.auth-shell-active::before{
  background:
    radial-gradient(circle at 16% 18%,rgba(133,196,255,.2),transparent 26%),
    radial-gradient(circle at 82% 20%,rgba(255,255,255,.12),transparent 18%),
    radial-gradient(circle at 70% 82%,rgba(123,174,255,.14),transparent 24%);
}

.auth-layout{
  width:min(1240px,100%);
  min-height:min(780px,calc(100vh - 48px));
  grid-template-columns:minmax(0,1.14fr) minmax(360px,400px);
  gap:28px;
}

.auth-brand-panel-inner{
  position:relative;
  overflow:hidden;
  padding:42px;
  border-radius:32px;
  border:1px solid rgba(255,255,255,.16);
  background:linear-gradient(180deg,rgba(8,25,43,.72),rgba(8,25,43,.54));
  box-shadow:0 28px 72px rgba(0,0,0,.24);
  backdrop-filter:blur(22px) saturate(1.08);
}

.auth-brand-panel-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,rgba(255,255,255,.12),transparent 38%),
    radial-gradient(circle at 84% 16%,rgba(134,189,255,.16),transparent 24%);
  pointer-events:none;
}

.auth-brand-mark,
.auth-panel-copy,
.auth-feature-list,
.auth-panel-footer{
  position:relative;
  z-index:1;
}

.auth-wordmark{
  font-size:clamp(2rem,3vw,2.65rem);
  font-weight:680;
}

.auth-panel-subtitle{
  font-size:1rem;
  line-height:1.55;
}

.auth-panel-copy{
  max-width:50ch;
  font-size:.95rem;
}

.auth-feature-list{
  gap:14px;
}

.auth-feature-item{
  padding:16px 17px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.065);
}

.auth-feature-item strong{
  font-size:.88rem;
  font-weight:650;
}

.auth-feature-item span{
  font-size:.81rem;
}

.auth-card{
  width:min(400px,100%);
  padding:28px 28px 24px;
  border-radius:24px;
  border:1px solid rgba(214,223,234,.94);
  background:linear-gradient(180deg,rgba(255,255,255,.985),rgba(247,250,255,.96));
  box-shadow:0 24px 62px rgba(8,24,40,.18);
}

.auth-card .auth-brand{
  margin-bottom:16px;
}

.auth-card-logo-frame,
.auth-card-logo-fallback{
  width:42px;
  height:42px;
  border-radius:14px;
}

.auth-title{
  font-size:1.42rem;
  font-weight:660;
}

.auth-card-copy{
  margin:0 0 16px;
  font-size:.88rem;
  line-height:1.55;
}

.auth-form{
  gap:12px;
}

.auth-form .field span{
  font-size:.79rem;
  font-weight:620;
  color:#2c3e51;
}

body.auth-shell-active .auth-card input,
body.auth-shell-active .auth-card select{
  min-height:44px;
  border:1px solid #cfd7e2;
  border-radius:14px;
  background:rgba(255,255,255,.98);
}

body.auth-shell-active .auth-card input:focus,
body.auth-shell-active .auth-card select:focus{
  border-color:#75a8eb;
  box-shadow:0 0 0 4px rgba(47,128,237,.12);
}

.auth-password-toggle{
  right:12px;
  padding:5px 8px;
  border-radius:10px;
  font-size:.74rem;
}

.auth-form-actions .btn{
  min-height:44px;
  border-radius:14px;
}

.auth-form-actions .btn-primary{
  background:linear-gradient(180deg,#1f78e0,#1867c5);
  border-color:#1867c5;
  box-shadow:0 14px 28px rgba(31,120,224,.22);
}

.auth-form-actions .btn-primary:hover{
  background:linear-gradient(180deg,#1c71d5,#155eaf);
  border-color:#155eaf;
}

.auth-support{
  margin-top:16px;
}

.auth-footer{
  margin-top:18px;
}

body.app-shell-active:not(.theme-dark){
  background:linear-gradient(180deg,#f4f7fb 0%,#eef3f8 100%);
}

body.app-shell-active:not(.theme-dark)::before{
  background:
    radial-gradient(circle at 14% 10%,rgba(120,160,214,.12),transparent 22%),
    radial-gradient(circle at 86% 18%,rgba(255,255,255,.8),transparent 20%),
    linear-gradient(180deg,rgba(255,255,255,.3),rgba(238,243,248,0));
}

body.app-shell-active:not(.theme-dark) .hero,
body.app-shell-active:not(.theme-dark) .panel,
body.app-shell-active:not(.theme-dark) .app-slab,
body.app-shell-active:not(.theme-dark) .app-content-card,
body.app-shell-active:not(.theme-dark) .settings-section,
body.app-shell-active:not(.theme-dark) .list-card,
body.app-shell-active:not(.theme-dark) .system-notes,
body.app-shell-active:not(.theme-dark) .import-card,
body.app-shell-active:not(.theme-dark) .metric-card,
body.app-shell-active:not(.theme-dark) .settings-sidebar-card,
body.app-shell-active:not(.theme-dark) .settings-accordion,
body.app-shell-active:not(.theme-dark) .modal-card,
body.app-shell-active:not(.theme-dark) .modal-panel,
body.app-shell-active:not(.theme-dark) .appearance-preview,
body.app-shell-active:not(.theme-dark) .appearance-preview-card,
body.app-shell-active:not(.theme-dark) .appearance-preview-row{
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,251,255,.94));
  border:1px solid rgba(180,194,210,.46);
  border-radius:24px;
  box-shadow:0 10px 28px rgba(15,23,42,.06);
}

body.app-shell-active:not(.theme-dark) .hero{
  padding:24px 28px;
  border-radius:30px;
}

body.app-shell-active:not(.theme-dark) .eyebrow,
body.app-shell-active:not(.theme-dark) .metric-card span,
body.app-shell-active:not(.theme-dark) th,
body.app-shell-active:not(.theme-dark) .mechanics-page-kicker{
  letter-spacing:.08em;
}

body.app-shell-active:not(.theme-dark) .section-heading h2,
body.app-shell-active:not(.theme-dark) .hero h1,
body.app-shell-active:not(.theme-dark) .app-lead-copy h2{
  font-weight:660;
}

body.app-shell-active:not(.theme-dark) .section-heading p,
body.app-shell-active:not(.theme-dark) .hero-copy,
body.app-shell-active:not(.theme-dark) .hero-subtext,
body.app-shell-active:not(.theme-dark) .report-summary,
body.app-shell-active:not(.theme-dark) .empty-state,
body.app-shell-active:not(.theme-dark) .field span,
body.app-shell-active:not(.theme-dark) .list-entry span{
  color:#5d6f82;
}

body.app-shell-active:not(.theme-dark) input,
body.app-shell-active:not(.theme-dark) select,
body.app-shell-active:not(.theme-dark) textarea,
body.app-shell-active:not(.theme-dark) .money-field{
  border-radius:14px;
  border-color:#cfd8e2;
  background:rgba(255,255,255,.98);
}

body.app-shell-active:not(.theme-dark) input:focus,
body.app-shell-active:not(.theme-dark) select:focus,
body.app-shell-active:not(.theme-dark) textarea:focus,
body.app-shell-active:not(.theme-dark) .money-field:focus-within{
  border-color:#76a9ea;
  box-shadow:0 0 0 4px rgba(47,128,237,.1);
}

body.app-shell-active:not(.theme-dark) .btn{
  min-height:40px;
  border-radius:14px;
  font-weight:640;
}

body.app-shell-active:not(.theme-dark) .btn-secondary{
  background:rgba(255,255,255,.96);
  border-color:#ccd7e2;
  color:#18334e;
}

body.app-shell-active:not(.theme-dark) .btn-secondary:hover{
  background:#f6faff;
  border-color:#b6c8dd;
}

body.app-shell-active:not(.theme-dark) .table-wrap{
  border-radius:24px;
  border:1px solid rgba(180,194,210,.46);
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.94));
  box-shadow:0 10px 28px rgba(15,23,42,.05);
}

body.app-shell-active:not(.theme-dark) th{
  background:#f3f7fb;
  border-bottom-color:#dce5ef;
  color:#58697a;
  font-size:.72rem;
  font-weight:680;
}

body.app-shell-active:not(.theme-dark) td{
  border-bottom-color:#e5edf4;
}

body.app-shell-active:not(.theme-dark) .settings-nav-btn,
body.app-shell-active:not(.theme-dark) .mechanics-nav-btn{
  border-radius:16px;
}

body.app-shell-active:not(.theme-dark) .settings-nav-btn:hover,
body.app-shell-active:not(.theme-dark) .interactive-row:hover,
body.app-shell-active:not(.theme-dark) .appearance-preview-row:hover,
body.app-shell-active:not(.theme-dark) .table-wrap tbody tr:hover{
  background:#eef5fd;
}

body.app-shell-active.module-mechanics:not(.theme-dark){
  background:linear-gradient(180deg,#f2f5f9 0%,#ebf1f6 100%);
  color:#182736;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .app-page-shell{
  width:min(1780px,calc(100% - 18px));
  height:calc(100vh - 18px);
  margin:9px auto;
  overflow:hidden;
}

body.app-shell-active.module-mechanics:not(.theme-dark) #mechanicsWorkspaceShell{
  height:100%;
  min-height:0;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-enterprise-shell{
  display:grid;
  grid-template-columns:minmax(256px,286px) minmax(0,1fr);
  gap:18px;
  height:100%;
  min-height:0;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar{
  position:relative;
  align-self:stretch;
  display:grid;
  gap:18px;
  align-content:start;
  padding:22px 18px 18px;
  max-height:none;
  overflow:auto;
  border-radius:30px;
  border:1px solid rgba(182,194,209,.58);
  background:linear-gradient(180deg,rgba(248,251,255,.96),rgba(241,246,251,.94));
  box-shadow:0 18px 44px rgba(15,23,42,.06);
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-brand{
  gap:14px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-logo,
body.app-shell-active.module-mechanics:not(.theme-dark) .logo-fallback{
  width:56px;
  height:56px;
  border-radius:18px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-brand-copy strong{
  font-size:1.05rem;
  font-weight:680;
  color:#1a2d40;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-brand-copy span{
  font-size:.8rem;
  color:#687b8e;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-section{
  display:grid;
  gap:12px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-label{
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.1em;
  color:#6d7f93;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-nav{
  gap:6px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-nav-btn{
  min-height:46px;
  padding:10px 14px;
  border:1px solid transparent;
  border-radius:16px;
  background:transparent;
  color:#22374b;
  font-size:.92rem;
  font-weight:620;
  justify-content:flex-start;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-nav-btn:hover{
  background:rgba(255,255,255,.74);
  border-color:rgba(182,194,209,.64);
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-nav-btn.is-active{
  background:linear-gradient(180deg,#e8f1ff,#dceaff);
  border-color:#bfd2e9;
  color:#0f457f;
  box-shadow:inset 3px 0 0 #2f80ed;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-meta{
  gap:10px;
  padding-top:18px;
  border-top:1px solid #dbe4ed;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-stat{
  padding:10px 12px;
  border-radius:16px;
  border:1px solid #dde5ee;
  background:rgba(255,255,255,.66);
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-stat span{
  font-size:.69rem;
  color:#738497;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar-stat strong{
  font-size:.9rem;
  color:#1c3045;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-content-shell{
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:18px;
  min-width:0;
  min-height:0;
  overflow:hidden;
  padding-right:2px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:20px;
  padding:24px 28px;
  border-radius:30px;
  border:1px solid rgba(182,194,209,.58);
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,255,.95));
  box-shadow:0 16px 38px rgba(15,23,42,.06);
}

body.app-shell-active.module-mechanics:not(.theme-dark) #mechanicsPageTitle{
  font-size:clamp(2rem,2.8vw,2.55rem);
  font-weight:680;
  line-height:1.02;
  color:#152a3f;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-page-kicker{
  margin:0 0 8px;
  font-size:.8rem;
  font-weight:700;
  color:#68809b;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-page-subtitle{
  margin:8px 0 0;
  max-width:58ch;
  font-size:.95rem;
  line-height:1.55;
  color:#5d7186;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-header-actions{
  gap:10px;
  align-self:center;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-pane-stack{
  min-height:0;
  margin-top:0;
  overflow:auto;
  padding-right:6px;
  gap:18px;
  align-content:start;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .panel,
body.app-shell-active.module-mechanics:not(.theme-dark) .app-slab,
body.app-shell-active.module-mechanics:not(.theme-dark) .app-content-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .settings-section,
body.app-shell-active.module-mechanics:not(.theme-dark) .list-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .system-notes,
body.app-shell-active.module-mechanics:not(.theme-dark) .import-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .metric-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .settings-sidebar-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .settings-accordion,
body.app-shell-active.module-mechanics:not(.theme-dark) .modal-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .modal-panel,
body.app-shell-active.module-mechanics:not(.theme-dark) .inspection-finding-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .inspection-review-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .inspection-history-item,
body.app-shell-active.module-mechanics:not(.theme-dark) .inspection-media-chip,
body.app-shell-active.module-mechanics:not(.theme-dark) .inspection-audit-empty,
body.app-shell-active.module-mechanics:not(.theme-dark) .customer-portal-approval-group,
body.app-shell-active.module-mechanics:not(.theme-dark) .customer-portal-approval-item,
body.app-shell-active.module-mechanics:not(.theme-dark) .customer-portal-approval-confirmation{
  padding:20px 22px;
  border-radius:24px;
  border:1px solid rgba(182,194,209,.48);
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,255,.95));
  box-shadow:0 12px 30px rgba(15,23,42,.05);
}

body.app-shell-active.module-mechanics:not(.theme-dark) .section-heading{
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px solid #e0e8f0;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .section-heading h2{
  font-size:1.18rem;
  font-weight:660;
  color:#183046;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .section-heading p,
body.app-shell-active.module-mechanics:not(.theme-dark) .field span,
body.app-shell-active.module-mechanics:not(.theme-dark) .list-entry span,
body.app-shell-active.module-mechanics:not(.theme-dark) .report-summary,
body.app-shell-active.module-mechanics:not(.theme-dark) .empty-state{
  color:#627487;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .field span{
  font-size:.79rem;
  font-weight:620;
}

body.app-shell-active.module-mechanics:not(.theme-dark) input,
body.app-shell-active.module-mechanics:not(.theme-dark) select,
body.app-shell-active.module-mechanics:not(.theme-dark) textarea,
body.app-shell-active.module-mechanics:not(.theme-dark) .money-field{
  min-height:42px;
  border:1px solid #d1dbe5;
  border-radius:14px;
  background:#fff;
}

body.app-shell-active.module-mechanics:not(.theme-dark) textarea{
  min-height:104px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .money-prefix{
  background:#f4f7fb;
  border-right-color:#d6e0ea;
  color:#36506a;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .btn{
  min-height:40px;
  padding:10px 15px;
  border-radius:14px;
  font-size:.86rem;
  font-weight:640;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .btn-primary{
  background:linear-gradient(180deg,#2f80ed,#1f6fd8);
  border-color:#1f6fd8;
  box-shadow:0 14px 28px rgba(47,128,237,.18);
}

body.app-shell-active.module-mechanics:not(.theme-dark) .btn-primary:hover{
  background:linear-gradient(180deg,#2775dc,#1a62be);
  border-color:#1a62be;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .btn-secondary{
  background:rgba(255,255,255,.96);
  border-color:#ced9e4;
  color:#1d3651;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .btn-secondary:hover{
  background:#f5f9fd;
  border-color:#b9cadc;
  color:#173049;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-kpi-strip,
body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-report-grid{
  gap:12px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .metric-card{
  padding:14px 15px;
  border-radius:18px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .metric-card span{
  font-size:.7rem;
  color:#6c7f92;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .metric-card strong{
  font-family:"Segoe UI Variable Display","Segoe UI",Manrope,sans-serif;
  font-size:1.5rem;
  color:#183045;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .metric-card small{
  font-size:.76rem;
  color:#63778b;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-jobcards-summary-card{
  padding:18px 20px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-jobcards-summary-strip{
  gap:10px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-jobcards-kpi{
  padding:12px 13px;
  border-radius:18px;
  border:1px solid #dbe4ed;
  background:#fff;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-jobcards-kpi span{
  font-size:.68rem;
  color:#6d8196;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-jobcards-kpi strong{
  font-family:"Segoe UI Variable Display","Segoe UI",Manrope,sans-serif;
  font-size:1.26rem;
  color:#193147;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-summary,
body.app-shell-active.module-mechanics:not(.theme-dark) .report-summary,
body.app-shell-active.module-mechanics:not(.theme-dark) .attachment-preview{
  padding:12px 14px;
  border-radius:16px;
  background:#f5f8fc;
  border:1px solid #dde6ef;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .table-wrap{
  border-radius:22px;
  border:1px solid #d7e0e9;
  background:#fff;
  box-shadow:none;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .app-wide-table table{
  min-width:1160px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) th{
  padding:12px 14px;
  background:#f3f7fb;
  border-bottom:1px solid #dbe4ed;
  color:#5a6b7d;
  font-size:.72rem;
  font-weight:680;
  letter-spacing:.08em;
}

body.app-shell-active.module-mechanics:not(.theme-dark) td{
  padding:12px 14px;
  border-bottom:1px solid #e7edf4;
  color:#1d3246;
  font-size:.84rem;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .interactive-row:hover,
body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-pane .table-wrap tbody tr:hover{
  background:#eef5fd;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .settings-sidebar-card{
  padding:16px;
  border-radius:22px;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .settings-nav-btn{
  padding:13px 14px;
  border-radius:16px;
  border-color:#d9e2eb;
  background:#fff;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .settings-nav-btn.is-active{
  background:linear-gradient(180deg,#e8f1ff,#dceaff);
  border-color:#bfd2e9;
  color:#0f457f;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .settings-accordion{
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.95));
}

body.app-shell-active.module-mechanics:not(.theme-dark) .settings-accordion summary{
  padding:16px 18px;
  font-size:.96rem;
  font-weight:650;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .settings-accordion .settings-section{
  border-top:1px solid #e1e8f0;
}

body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-pane .list-card,
body.app-shell-active.module-mechanics:not(.theme-dark) .activity-feed{
  max-height:min(46vh,480px);
}

@media (max-width:1024px){
  .auth-layout{
    grid-template-columns:1fr;
  }
  .auth-card{
    justify-self:center;
  }
}

@media (max-width:1080px){
  body.app-shell-active.module-mechanics:not(.theme-dark){
    overflow:auto;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .app-page-shell{
    height:auto;
    overflow:visible;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) #mechanicsWorkspaceShell,
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-enterprise-shell,
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-content-shell{
    height:auto;
    min-height:auto;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-enterprise-shell{
    grid-template-columns:1fr;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-content-shell,
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-pane-stack{
    overflow:visible;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar{
    border-radius:24px;
  }
}

@media (max-width:720px){
  .auth-shell{
    padding:16px;
  }
  .auth-brand-panel{
    display:none;
  }
  .auth-card{
    padding:24px 20px 20px;
    border-radius:20px;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-header{
    grid-template-columns:1fr;
    padding:20px 18px;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-header-actions{
    justify-content:flex-start;
    flex-wrap:wrap;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-sidebar,
  body.app-shell-active.module-mechanics:not(.theme-dark) .panel,
  body.app-shell-active.module-mechanics:not(.theme-dark) .app-slab,
  body.app-shell-active.module-mechanics:not(.theme-dark) .app-content-card,
  body.app-shell-active.module-mechanics:not(.theme-dark) .settings-section{
    padding:16px;
  }
  body.app-shell-active.module-mechanics:not(.theme-dark) .mechanics-jobcards-summary-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


