:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15243b;background:#f3f7fc;font-synthesis:none;text-rendering:optimizeLegibility;--header-height: 68px;--footer-height: 42px;--sidebar-width: 272px;--primary: #176fd1;--primary-dark: #0b4f9f;--primary-soft: #e9f3ff;--navy: #071b3d;--navy-light: #0e346a;--text: #15243b;--muted: #728198;--border: #dde7f3;--background: #f3f7fc;--card: #ffffff;--danger: #b93a3a}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}body{overflow:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}.loginPage{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(420px,.8fr);background:#f7faff}.loginPresentation{position:relative;min-height:100vh;padding:42px clamp(40px,6vw,100px);display:flex;flex-direction:column;color:#fff;overflow:hidden;background:radial-gradient(circle at 75% 12%,rgba(70,158,255,.42),transparent 28%),radial-gradient(circle at 18% 80%,rgba(39,116,207,.34),transparent 32%),linear-gradient(145deg,#061a3b,#0a3975 60%,#0759ae)}.loginPresentation:after{content:"";position:absolute;width:520px;height:520px;right:-210px;bottom:-230px;border:70px solid rgba(255,255,255,.06);border-radius:50%}.loginBrand{position:relative;z-index:1;display:flex;align-items:center;gap:14px}.loginBrandIcon{width:58px;height:58px;display:grid;place-items:center;border-radius:18px;color:#fff;background:#ffffff24;border:1px solid rgba(255,255,255,.18)}.loginBrand strong,.loginBrand span{display:block}.loginBrand strong{font-size:22px}.loginBrand span{margin-top:3px;font-size:13px;opacity:.76}.loginHero{position:relative;z-index:1;max-width:760px;margin:auto 0;padding:60px 0}.loginEyebrow,.pageEyebrow,.passwordEyebrow{color:#78bfff;font-size:12px;font-weight:800;letter-spacing:.14em}.loginHero h1{max-width:720px;margin:18px 0;font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-.045em}.loginHero p{max-width:680px;margin:0;color:#ffffffbf;font-size:18px;line-height:1.7}.loginFeatureGrid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.loginFeatureGrid article{padding:16px;border-radius:16px;background:#ffffff14;border:1px solid rgba(255,255,255,.12)}.loginFeatureGrid strong,.loginFeatureGrid span{display:block}.loginFeatureGrid strong{font-size:13px}.loginFeatureGrid span{margin-top:5px;font-size:12px;line-height:1.5;opacity:.66}.loginFormArea{min-height:100vh;display:grid;place-items:center;padding:40px}.loginCard{width:min(100%,440px);padding:38px;border:1px solid var(--border);border-radius:24px;background:#fff;box-shadow:0 26px 70px #20416921}.loginCardHeader{margin-bottom:28px}.loginCardHeader>span{color:var(--primary);font-size:12px;font-weight:800;letter-spacing:.1em}.loginCardHeader h2{margin:9px 0 7px;font-size:30px;letter-spacing:-.035em}.loginCardHeader p{margin:0;color:var(--muted)}.fieldLabel{display:block;margin-bottom:18px;color:#34445b;font-size:13px;font-weight:700}.inputGroup{height:50px;margin-top:8px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid #d7e2ef;border-radius:13px;background:#fbfdff;transition:.18s ease}.inputGroup:focus-within{border-color:#65a7ee;box-shadow:0 0 0 4px #176fd11a;background:#fff}.inputGroup svg{flex:none;color:#74849a}.inputGroup input{width:100%;min-width:0;border:0;outline:0;color:var(--text);background:transparent}.inputGroup input::placeholder{color:#a1adbd}.passwordToggle{padding:4px;display:grid;place-items:center;border:0;color:#76869b;background:transparent}.primaryButton,.secondaryButton{min-height:48px;width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:13px;font-weight:800;transition:.18s ease}.primaryButton{border:0;color:#fff;background:linear-gradient(135deg,#176fd1,#0759ae);box-shadow:0 12px 24px #176fd138}.primaryButton:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 30px #176fd147}.primaryButton:disabled{cursor:wait;opacity:.68}.secondaryButton{margin-top:10px;border:1px solid var(--border);color:#52647d;background:#fff}.loginButton{margin-top:3px}.formError{margin-bottom:16px;padding:12px 14px;color:#a73737;font-size:13px;border:1px solid #f0c3c3;border-radius:12px;background:#fff1f1}.loginFooter{margin-top:24px;padding-top:18px;display:flex;justify-content:space-between;color:#98a5b5;font-size:11px;border-top:1px solid #edf2f7}.passwordPage{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(circle at 80% 10%,rgba(28,119,218,.14),transparent 30%),var(--background)}.passwordCard{width:min(100%,500px);padding:40px;border:1px solid var(--border);border-radius:24px;background:#fff;box-shadow:0 24px 70px #193a6221}.passwordIcon{width:62px;height:62px;margin-bottom:20px;display:grid;place-items:center;color:var(--primary);border-radius:18px;background:var(--primary-soft)}.passwordEyebrow{color:var(--primary)}.passwordCard h1{margin:8px 0;font-size:31px}.passwordCard>p{margin:0 0 28px;color:var(--muted);line-height:1.7}.appShell{height:100vh;overflow:hidden;background:var(--background)}.appHeader{position:fixed;top:0;left:0;right:0;height:var(--header-height);padding:0 24px;display:flex;align-items:center;gap:12px;z-index:40;border-bottom:1px solid var(--border);background:#fff}.appBrand{display:flex;align-items:center;gap:11px}.appBrandIcon{width:42px;height:42px;display:grid;place-items:center;color:#fff;border-radius:13px;background:linear-gradient(135deg,#176fd1,#0b5eb6)}.appBrand strong,.appBrand span{display:block}.appBrand strong{font-size:16px}.appBrand span{margin-top:1px;color:var(--muted);font-size:11px}.headerSpacer{flex:1}.headerIconButton,.mobileMenuButton{width:40px;height:40px;display:grid;place-items:center;color:#5f7188;border:1px solid var(--border);border-radius:12px;background:#fff}.mobileMenuButton{display:none}.userMenu{position:relative}.userMenuButton{min-height:46px;padding:5px 9px 5px 6px;display:flex;align-items:center;gap:9px;border:1px solid var(--border);border-radius:14px;background:#fff}.userAvatar,.sidebarAvatar{display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(135deg,#176fd1,#0a57ac)}.userAvatar{width:34px;height:34px;font-size:11px;border-radius:11px}.userMenuText{min-width:130px;text-align:left}.userMenuText strong,.userMenuText span{display:block}.userMenuText strong{max-width:190px;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.userMenuText span{margin-top:2px;color:var(--muted);font-size:10px}.userDropdown{position:absolute;top:calc(100% + 9px);right:0;width:245px;padding:8px;z-index:80;border:1px solid var(--border);border-radius:15px;background:#fff;box-shadow:0 18px 50px #1b35552b}.userDropdownInfo{padding:10px;border-bottom:1px solid #edf2f7}.userDropdownInfo strong,.userDropdownInfo span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.userDropdownInfo strong{font-size:12px}.userDropdownInfo span{margin-top:4px;color:var(--muted);font-size:11px}.userDropdown button{width:100%;margin-top:6px;padding:10px;display:flex;align-items:center;gap:9px;color:var(--danger);border:0;border-radius:10px;background:transparent}.userDropdown button:hover{background:#fff0f0}.appSidebar{position:fixed;top:var(--header-height);left:0;bottom:var(--footer-height);width:var(--sidebar-width);display:flex;flex-direction:column;z-index:30;color:#dceaff;background:radial-gradient(circle at 15% 10%,rgba(53,136,229,.24),transparent 30%),linear-gradient(180deg,var(--navy),var(--navy-light))}.sidebarHeader{min-height:71px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08)}.sidebarHeader strong,.sidebarHeader span{display:block}.sidebarHeader strong{font-size:14px;letter-spacing:.05em}.sidebarHeader span{margin-top:3px;font-size:11px;opacity:.66}.sidebarHeader button{display:none;border:0;color:#fff;background:transparent}.sidebarNav{flex:1;padding:11px 10px;overflow-y:auto;scrollbar-width:thin}.sidebarLink{min-height:43px;margin:2px 0;padding:0 12px;display:flex;align-items:center;gap:11px;color:#d8e7fb;font-size:13px;text-decoration:none;border-radius:11px;transition:.16s ease}.sidebarLink:hover{color:#fff;background:#ffffff14}.sidebarLinkActive{color:#fff;background:linear-gradient(90deg,#2a85e76b,#2a85e729);box-shadow:inset 3px 0 #55adff,inset 0 0 0 1px #ffffff0d}.sidebarFooter{min-height:67px;padding:11px 14px;display:flex;align-items:center;gap:10px;border-top:1px solid rgba(255,255,255,.08)}.sidebarAvatar{width:38px;height:38px;flex:none;border-radius:12px}.sidebarFooter strong,.sidebarFooter span{display:block}.sidebarFooter strong{max-width:180px;overflow:hidden;font-size:12px;white-space:nowrap;text-overflow:ellipsis}.sidebarFooter span{margin-top:2px;font-size:10px;opacity:.65}.appContent{position:fixed;top:var(--header-height);right:0;bottom:var(--footer-height);left:var(--sidebar-width);overflow-y:auto}.appFooter{position:fixed;left:0;right:0;bottom:0;height:var(--footer-height);padding:0 20px;display:flex;align-items:center;justify-content:space-between;z-index:40;color:#8492a6;font-size:11px;border-top:1px solid var(--border);background:#fff}.pageContent{min-height:100%;padding:26px}.pageHeader{margin-bottom:22px;display:flex;align-items:flex-end;justify-content:space-between}.pageEyebrow{color:var(--primary)}.pageHeader h1{margin:5px 0;font-size:29px;letter-spacing:-.035em}.pageHeader p{margin:0;color:var(--muted)}.dashboardCards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.metricCard{min-height:108px;padding:18px;display:flex;align-items:center;gap:14px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 10px 30px #1a395f0f}.metricIcon{width:46px;height:46px;display:grid;place-items:center;flex:none;color:var(--primary);border-radius:14px;background:var(--primary-soft)}.metricCard span,.metricCard strong{display:block}.metricCard span{color:var(--muted);font-size:12px}.metricCard strong{margin-top:3px;font-size:25px}.dashboardGrid{margin-top:16px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:16px}.contentPanel{padding:20px;border:1px solid var(--border);border-radius:18px;background:#fff;box-shadow:0 10px 30px #1a395f0d}.panelHeader h2{margin:0;font-size:17px}.panelHeader p{margin:5px 0 0;color:var(--muted);font-size:12px}.emptyState{min-height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#94a1b2;text-align:center}.emptyState svg{margin-bottom:13px;color:#89b8e8}.emptyState strong,.emptyState span{display:block}.emptyState strong{color:#55677f}.emptyState span{max-width:430px;margin-top:6px;font-size:12px;line-height:1.6}.emptyState.compact{min-height:270px}.modulePlaceholder{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.modulePlaceholder svg{color:#7eb4eb}.modulePlaceholder h2{margin:17px 0 5px}.modulePlaceholder p{max-width:540px;margin:0;color:var(--muted);line-height:1.7}.loadingPage{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:var(--muted);background:var(--background)}.loadingSpinner{width:38px;height:38px;border:4px solid #d9e7f5;border-top-color:var(--primary);border-radius:50%;animation:spin .75s linear infinite}.sidebarOverlay{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.dashboardCards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboardGrid{grid-template-columns:1fr}}@media(max-width:860px){body{overflow:hidden}.loginPage{grid-template-columns:1fr}.loginPresentation{display:none}.loginFormArea{padding:22px}.mobileMenuButton{display:grid}.appBrand span,.userMenuText{display:none}.appSidebar{transform:translate(-100%);transition:transform .2s ease}.appSidebarOpen{transform:translate(0)}.sidebarHeader button{display:grid}.sidebarOverlay{position:fixed;inset:var(--header-height) 0 var(--footer-height);display:block;z-index:20;border:0;background:#030f227a}.appContent{left:0}}@media(max-width:620px){.appHeader{padding:0 13px}.appBrand strong{font-size:14px}.userMenuButton{padding-right:6px}.userMenuButton>svg{display:none}.pageContent{padding:18px 14px}.pageHeader h1{font-size:25px}.dashboardCards{grid-template-columns:1fr}.appFooter{justify-content:center}.appFooter span:last-child{display:none}.passwordCard,.loginCard{padding:27px 22px}}.companyPageHeader{align-items:center}.primaryActionButton,.secondaryActionButton{min-height:43px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;font-weight:800}.primaryActionButton{color:#fff;border:0;background:linear-gradient(135deg,var(--primary),var(--primary-dark));box-shadow:0 10px 22px #176fd133}.secondaryActionButton{color:#52647d;border:1px solid var(--border);background:#fff}.companyPanel{padding:0;overflow:hidden}.companyFilters{padding:17px 18px;display:flex;gap:12px;border-bottom:1px solid var(--border)}.companySearch{min-height:43px;flex:1;display:flex;align-items:center;gap:9px;padding:0 13px;border:1px solid var(--border);border-radius:12px;background:#fbfdff}.companySearch svg{color:#8796a9}.companySearch input{width:100%;border:0;outline:0;background:transparent}.companyFilters select{min-width:180px;padding:0 12px;color:var(--text);border:1px solid var(--border);border-radius:12px;background:#fff}.companyTableWrap{overflow-x:auto}.companyTable{width:100%;min-width:980px;border-collapse:collapse}.companyTable th,.companyTable td{padding:15px 17px;text-align:left;border-bottom:1px solid #edf2f7}.companyTable th{color:#697a90;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;background:#fbfdff}.companyTable td{color:#45566d;font-size:13px;vertical-align:middle}.companyIdentity{display:flex;align-items:center;gap:11px}.companyLogo{width:40px;height:40px;display:grid;place-items:center;flex:none;color:var(--primary);border-radius:12px;background:var(--primary-soft)}.companyIdentity strong,.companyIdentity span,.companyIdentity small{display:block}.companyIdentity strong{color:var(--text);font-size:13px}.companyIdentity span{margin-top:2px;color:#6f8096;font-size:11px}.companyIdentity small{margin-top:2px;color:#9aa6b5;font-size:10px}.principalBadge{margin-left:4px;padding:5px 8px;display:inline-flex!important;align-items:center;gap:4px;color:#8b6409!important;font-size:10px!important;font-weight:800;border-radius:999px;background:#fff4cf}.statusBadge{padding:6px 9px;display:inline-flex;border-radius:999px;font-size:10px;font-weight:800}.statusActive{color:#147447;background:#e6f8ef}.statusInactive{color:#a14949;background:#fff0f0}.tableActions{display:flex;gap:6px}.tableActions button{width:34px;height:34px;display:grid;place-items:center;color:#61738a;border:1px solid var(--border);border-radius:9px;background:#fff}.tableActions button:hover{color:var(--primary);border-color:#b9d7f7;background:#f2f8ff}.tableActions .dangerAction:hover{color:#b93a3a;border-color:#efc6c6;background:#fff2f2}.tableMessage{padding:45px;color:var(--muted);text-align:center}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;padding:24px;display:grid;place-items:center;z-index:200;background:#04132a8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.companyModal{width:min(100%,780px);max-height:calc(100vh - 48px);overflow-y:auto;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:0 30px 90px #04132a47}.modalHeader{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border)}.modalHeader h2{margin:5px 0 0;font-size:23px}.modalHeader>button{width:38px;height:38px;display:grid;place-items:center;color:#6f8096;border:1px solid var(--border);border-radius:11px;background:#fff}.companyModal form{padding:21px 22px 22px}.companyFormGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.fullField{grid-column:1 / -1}.checkboxField{margin:2px 0 19px;display:flex;align-items:center;gap:9px;color:#4d6078;font-size:13px;font-weight:700}.checkboxField input{width:17px;height:17px;accent-color:var(--primary)}.modalFooter{padding-top:18px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #edf2f7}@media(max-width:680px){.companyPageHeader{align-items:stretch;flex-direction:column;gap:15px}.companyFilters{flex-direction:column}.companyFilters select{min-height:43px}.companyFormGrid{grid-template-columns:1fr}.fullField{grid-column:auto}.modalOverlay{padding:10px}}
