/* Shared Light Theme - auto-loaded by toggleTheme() */
body.light{--bg:#f8fafc;--bg2:#ffffff;--card:rgba(255,255,255,.95);--card-border:rgba(0,0,0,.08);--text:#1e293b;--text2:#475569;--text3:#94a3b8;--primary:#6366f1;--primary-light:rgba(99,102,241,.1);--hover:rgba(0,0,0,.04);--shadow:0 1px 3px rgba(0,0,0,.08);--bg-surface:#fff;--glow:none;--t-bg:#f8fafc;--t-bg2:#fff;--t-card:rgba(255,255,255,.95);--t-card-border:rgba(0,0,0,.08);--t-text:#1e293b;--t-text2:#475569;--t-text3:#94a3b8;--t-input-bg:#f8fafc;--t-input-border:rgba(0,0,0,.1);--t-shadow:rgba(0,0,0,.08);--t-body-bg:#f0f4f8;--t-tag-bg:rgba(99,102,241,.06);--t-tag-border:rgba(99,102,241,.12);--t-tag-text:#4f46e5;--t-accent-border:rgba(99,102,241,.15)}
body.light .header,body.light .top-bar,body.light .top{background:rgba(255,255,255,.92);border-bottom:1px solid rgba(0,0,0,.06)}
body.light h1,body.light h2,body.light h3{color:#0f172a}
body.light .card{background:rgba(255,255,255,.95);border-color:rgba(0,0,0,.06);box-shadow:0 1px 3px rgba(0,0,0,.05)}
body.light .card:hover{box-shadow:0 4px 12px rgba(0,0,0,.08)}
body.light .card-name{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light .card-company{color:#334155}
body.light .card-job{color:#334155}
body.light .card-score{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light .btn{border-color:rgba(0,0,0,.1);color:#475569}
body.light .btn:hover{background:rgba(0,0,0,.04)}
body.light .btn-primary{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.light .btn-follow,body.light .btn-schedule{background:rgba(16,185,129,.08);color:#059669!important;-webkit-text-fill-color:#059669!important;border-color:rgba(16,185,129,.2)}
body.light .btn-reject,body.light .btn-fail{background:rgba(239,68,68,.08);color:#dc2626!important;-webkit-text-fill-color:#dc2626!important;border-color:rgba(239,68,68,.2)}
body.light .btn-wait,body.light .btn-warn{background:rgba(245,158,11,.08);color:#d97706!important;-webkit-text-fill-color:#d97706!important;border-color:rgba(245,158,11,.2)}
body.light input,body.light select,body.light textarea{background:#f8fafc;border-color:rgba(0,0,0,.1);color:#1e293b}
body.light input::placeholder,body.light textarea::placeholder{color:#94a3b8}
body.light label{color:#475569}
body.light .modal,body.light .modal-overlay{background:rgba(0,0,0,.3)}
body.light .modal-content{background:#fff;color:#1e293b;box-shadow:0 20px 60px rgba(0,0,0,.12)}
body.light .modal-content h3{color:#0f172a}
body.light .modal-content label{color:#475569}
body.light .modal-content input,body.light .modal-content select,body.light .modal-content textarea{background:#f8fafc;border-color:rgba(0,0,0,.1);color:#1e293b}
body.light .dcfm-overlay{background:rgba(0,0,0,.3)}
body.light .dcfm-modal{background:#fff;color:#1e293b}
body.light .dcfm-modal h3{color:#0f172a}
body.light .dcfm-modal p{color:#475569}
body.light .rrm-overlay{background:rgba(0,0,0,.3)}
body.light .rrm-modal{background:#fff;color:#1e293b}
body.light .rrm-modal h3{color:#0f172a}
body.light .obm-overlay{background:rgba(0,0,0,.3)}
body.light .obm-modal{background:#fff;color:#1e293b}
body.light .obm-modal h3{color:#0f172a}
body.light .toast{background:rgba(255,255,255,.95);color:#1e293b;box-shadow:0 4px 12px rgba(0,0,0,.1)}
body.light .search-box input{background:rgba(0,0,0,.03);border-color:rgba(0,0,0,.08);color:#1e293b}
body.light .search-box input::placeholder{color:#94a3b8}
body.light .empty{color:#94a3b8}
body.light .login-box{background:#fff;border-color:rgba(0,0,0,.06);box-shadow:0 8px 30px rgba(0,0,0,.08)}
body.light .login-logo h1{color:#0f172a}
body.light .login-logo p{color:#64748b}
body.light .login-field input{background:#f8fafc;border-color:rgba(0,0,0,.1);color:#1e293b}
body.light .login-field input::placeholder{color:#94a3b8}
body.light .login-field label{color:#475569}
body.light .login-err{color:#dc2626}
body.light .login-btn{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.light .nw{background:#fff;border-color:rgba(0,0,0,.06);box-shadow:0 8px 24px rgba(0,0,0,.1)}
body.light .ni{border-color:rgba(0,0,0,.04)}
body.light .ni:hover{background:rgba(0,0,0,.02)}
body.light .nt{color:#1e293b}
body.light .nm{color:#475569}
body.light .ntm{color:#94a3b8}
body.light .score-high{color:#059669!important;-webkit-text-fill-color:#059669!important}
body.light .score-mid{color:#d97706!important;-webkit-text-fill-color:#d97706!important}
body.light .score-low{color:#dc2626!important;-webkit-text-fill-color:#dc2626!important}
body.light .tag{color:#334155;border-color:rgba(0,0,0,.1);background:rgba(0,0,0,.03)}
body.light .mgmt-nav{border-color:rgba(0,0,0,.08);color:#475569}
body.light .mgmt-nav:hover{background:rgba(0,0,0,.04)}
body.light .mgmt-nav.on{background:var(--primary);color:#fff}
body.light .header-btn{color:#475569;border-color:rgba(0,0,0,.08)}
body.light .header-btn:hover{color:#1e293b;background:rgba(0,0,0,.04)}
body.light .pdf-ov{background:rgba(0,0,0,.5)}
body.light .pdf-ov-bar{background:#fff;border-color:rgba(0,0,0,.06);color:#1e293b}
body.light .pdf-ov-bar button{color:#1e293b}
body.light ::-webkit-scrollbar-track{background:#f1f5f9}
body.light ::-webkit-scrollbar-thumb{background:#cbd5e1}
body.light table{color:#1e293b}
body.light th{color:#475569;border-color:rgba(0,0,0,.08)}
body.light td{color:#1e293b;border-color:rgba(0,0,0,.06)}
body.light .stat b,body.light .stat .val{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light .stat .lbl{color:#475569}
body.light .si .n{background:none;-webkit-background-clip:unset;-webkit-text-fill-color:#0f172a;color:#0f172a}
body.light .si .l{color:#475569}
body.light .si.on{background:var(--primary);color:#fff}
body.light .si.on .n{background:none;-webkit-background-clip:unset;-webkit-text-fill-color:#fff;color:#fff}
body.light .si.on .l{color:rgba(255,255,255,.8)}
body.light .upload-zone{background:#f8fafc;border-color:rgba(0,0,0,.1)}
body.light .upload-zone h3{color:#0f172a}
body.light .upload-zone p{color:#64748b}
body.light .upload-row{border-color:rgba(0,0,0,.06)}
body.light .upload-row input,body.light .upload-row select{background:#f8fafc;border-color:rgba(0,0,0,.1);color:#1e293b}
body.light .job-nav-item{color:#475569;border-color:rgba(0,0,0,.06)}
body.light .job-nav-item.on{color:#fff!important;-webkit-text-fill-color:#fff!important}
body.light .section-title{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important}
body.light .form-group label{color:#475569}
body.light .form-group input,body.light .form-group select,body.light .form-group textarea{background:#f8fafc;border-color:rgba(0,0,0,.1);color:#1e293b}
body.light .cal-day{background:#f8fafc;border-color:rgba(0,0,0,.06)}
body.light .cal-day .dn{color:#334155}
body.light .cal-day .dc{color:#475569}
body.light .cal-day.today{border-color:var(--primary);background:rgba(99,102,241,.04)}

/* Nuclear overrides for dynamically-built modals in sub-pages */
body.light .modal-content *,body.light .obm-modal *,body.light .rrm-modal *,body.light .dcfm-modal *{color:#1e293b!important;border-color:rgba(0,0,0,.1)!important}
body.light .modal-content h3,body.light .obm-modal h3,body.light .rrm-modal h3,body.light .dcfm-modal h3{color:#0f172a!important}
body.light .modal-content input,body.light .modal-content select,body.light .modal-content textarea{background:#f8fafc!important;color:#1e293b!important;border-color:rgba(0,0,0,.1)!important}
body.light .modal-content button{color:#475569!important;border-color:rgba(0,0,0,.1)!important;background:rgba(0,0,0,.02)!important}
body.light .modal-content .btn-primary{color:#fff!important;-webkit-text-fill-color:#fff!important;background:var(--primary)!important}
body.light .modal-content table{color:#1e293b!important}
body.light .modal-content th{color:#475569!important}
body.light .modal-content td{color:#1e293b!important}
