:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#1b2430;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.loginPage{background:linear-gradient(135deg,#e6eef4,#f7f2e8);place-items:center;min-height:100vh;padding:24px;display:grid}.loginPanel{background:#fff;border:1px solid #dce3ea;border-radius:8px;gap:18px;width:min(420px,100%);padding:28px;display:grid;box-shadow:0 18px 45px #1f2a371f}.brandLine{align-items:center;gap:14px;display:flex}h1,h2,h3,p{margin:0}h1{font-size:26px}h2{font-size:24px}h3{text-transform:uppercase;letter-spacing:0;color:#526173;margin-bottom:12px;font-size:15px}p,.muted{color:#687789}label{color:#526173;gap:8px;font-size:14px;display:grid}input,textarea,select{color:#1b2430;background:#fff;border:1px solid #cbd5df;border-radius:6px;width:100%;min-height:42px;padding:9px 11px}input:focus,textarea:focus,select:focus{border-color:#2f80c0;outline:2px solid #8bb8e8}.primaryButton,.secondaryButton,.iconButton,.sidebar button,.personRow{border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:38px;display:inline-flex}.primaryButton{color:#fff;background:#1f6f9f;padding:9px 14px}.secondaryButton{color:#27465c;background:#eef3f7;padding:9px 14px}.primaryButton:disabled{opacity:.6}.iconButton{color:#27465c;background:#eef3f7;width:38px}.errorBox,.successBox{border-radius:6px;padding:10px 12px;font-size:14px}.errorBox{color:#9c2a2a;background:#fff0f0;border:1px solid #f1b9b9}.successBox{color:#1f6a35;background:#eef9f1;border:1px solid #b8dfc3}.appShell{grid-template-columns:260px 1fr;min-height:100vh;display:grid}.sidebar{color:#e7edf3;background:#17212d;grid-template-rows:auto 1fr auto;gap:22px;padding:20px;display:grid}.sideBrand{align-items:center;gap:10px;font-size:18px;font-weight:700;display:flex}.sidebar nav{align-content:start;gap:8px;display:grid}.sidebar button{color:#d7e0e8;background:0 0;justify-content:flex-start;padding:9px 10px}.sidebar button.active,.sidebar button:hover{background:#253345}.userBox{border-top:1px solid #314153;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding-top:16px;display:grid}.userBox strong,.userBox span{display:block}.userBox span{color:#aebdcc;font-size:13px}.workspace{min-width:0;padding:22px}.twoPane{grid-template-columns:390px 1fr;gap:18px;height:calc(100vh - 44px);display:grid}.listPane,.detailPane,.page{background:#fff;border:1px solid #dce3ea;border-radius:8px}.listPane{grid-template-rows:auto auto 1fr;min-width:0;display:grid;overflow:hidden}.paneHeader,.pageHeader,.detailHeader{border-bottom:1px solid #e4eaf0;justify-content:space-between;align-items:center;gap:14px;padding:18px;display:flex}.searchRow{border:1px solid #d2dce5;border-radius:6px;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin:14px;padding:0 10px;display:grid}.searchRow input{border:0;outline:0}.personList{padding:0 10px 12px;overflow:auto}.personRow{text-align:left;background:#fff;border-color:#e1e7ee;justify-items:start;width:100%;min-height:82px;margin-bottom:8px;padding:12px;display:grid}.personRow.selected{background:#eef7fc;border-color:#1f6f9f}.personRow span,.personRow small{color:#687789}.peoplePage{grid-template-rows:auto auto auto 1fr;display:grid;overflow:hidden}.peopleToolbar{border-bottom:1px solid #e4eaf0;padding:14px 18px}.peopleSearch{max-width:620px;margin:0}.tableShell{overflow:auto}.peopleTableShell{min-height:0}.dataTable{width:100%;margin:0}.peopleTable{table-layout:fixed}.peopleTable th,.peopleTable td{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.peopleTable th:first-child,.peopleTable td:first-child{width:24%}.peopleTable th:nth-child(2),.peopleTable td:nth-child(2),.peopleTable th:nth-child(3),.peopleTable td:nth-child(3),.peopleTable th:nth-child(5),.peopleTable td:nth-child(5){width:15%}.peopleTable th:nth-child(4),.peopleTable td:nth-child(4){width:21%}.peopleTable th:nth-child(6),.peopleTable td:nth-child(6){width:10%}.clickableRow{cursor:pointer}.clickableRow:hover{background:#f4f8fb}.tableMessage{padding:12px 18px 0}.detailPane{overflow:auto}.detailHeader{align-items:flex-start}.detailHeaderActions{align-items:center;gap:8px;min-width:0;display:flex}.statusBadge{color:#27465c;white-space:nowrap;background:#f4f8fb;border:1px solid #cbd5df;border-radius:999px;padding:5px 10px}.statusBadge.compact{text-overflow:ellipsis;vertical-align:middle;max-width:100%;padding:3px 8px;display:inline-block;overflow:hidden}.modalOverlay{z-index:50;background:#17212d73;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modalPanel{background:#fff;border-radius:8px;width:min(980px,100%);max-height:min(860px,100vh - 48px);position:relative;overflow:hidden;box-shadow:0 24px 60px #17212d47}.personModal .detailPane{border:0;border-radius:0;max-height:min(860px,100vh - 48px)}.personModal .detailHeader{padding-right:68px}.personEditForm{display:grid}.formMessage{padding:14px 18px 0}.editGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.editGrid textarea{resize:vertical;min-height:92px}.formActions{justify-content:flex-end;gap:10px;padding:14px 18px;display:flex}.stickyActions{background:#fff;border-top:1px solid #edf1f5;position:sticky;bottom:0}.modalClose{z-index:2;position:absolute;top:12px;right:12px}.auditTable{table-layout:fixed}.auditTable th,.auditTable td{text-overflow:ellipsis;overflow:hidden}.auditTable th:first-child,.auditTable td:first-child{width:180px}.auditTable th:nth-child(2),.auditTable td:nth-child(2),.auditTable th:nth-child(3),.auditTable td:nth-child(3),.auditTable th:nth-child(4),.auditTable td:nth-child(4){width:220px}.sectionGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}section{border-bottom:1px solid #edf1f5;padding:18px}.kv,.sourceRow{grid-template-columns:150px 1fr;align-items:start;gap:12px;min-height:34px;margin-bottom:8px;display:grid}.kv span,.sourceRow span{color:#687789}.timeline{gap:10px;display:grid}.timelineItem{border:1px solid #e1e7ee;border-radius:6px;gap:4px;padding:12px;display:grid}.page{min-height:calc(100vh - 44px)}.inlineForm{grid-template-columns:1.5fr 1fr 160px auto;align-items:center;gap:10px;padding:18px;display:grid}table{border-collapse:collapse;background:#fff;width:calc(100% - 36px);margin:18px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e4eaf0;padding:11px 10px}th{color:#526173;text-transform:uppercase;letter-spacing:0;font-size:13px}.emptyState{color:#687789;place-items:center;min-height:160px;padding:20px;display:grid}@media (width<=920px){.appShell{grid-template-columns:1fr}.sidebar{grid-template-rows:auto auto auto}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.twoPane,.sectionGrid,.editGrid,.inlineForm{grid-template-columns:1fr}.twoPane{height:auto}.kv,.sourceRow{grid-template-columns:1fr}.peopleTable{min-width:760px}.modalOverlay{padding:10px}.modalPanel,.personModal .detailPane{max-height:calc(100vh - 20px)}}.projectsGrid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;padding:20px;display:grid}.projectCard{background:var(--bg-card,#fff);border:1px solid var(--border,#e2e8f0);border-radius:10px;flex-direction:column;gap:10px;padding:18px;display:flex}.projectCardHeader{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.projectCardHeader strong{font-size:15px;display:block}.projectCardHeader .muted{color:var(--text-muted,#64748b);word-break:break-all;font-size:12px}.projectCardMeta{color:var(--text-muted,#64748b);gap:12px;font-size:12px;display:flex}.projectCardStats{flex-wrap:wrap;gap:12px;font-size:13px;display:flex}.projectCardActions{margin-top:4px}.statusPending{color:#64748b;background:#f1f5f9}.statusActive{color:#166534;background:#dcfce7}.statusInactive{color:#991b1b;background:#fee2e2}.statusNew{color:#1e40af;background:#dbeafe}.statusWorking{color:#854d0e;background:#fef9c3}.statusWarm{color:#9a3412;background:#ffedd5}.statusClosed{color:#475569;background:#f1f5f9}.filterSelect,.filterInput{border:1px solid var(--border,#e2e8f0);background:var(--bg-input,#fff);height:36px;color:var(--text,#0f172a);border-radius:6px;padding:0 10px;font-size:13px}.filterSelect:focus,.filterInput:focus{border-color:var(--accent,#1f6f9f);outline:none}.analyticsBlock{background:var(--bg-subtle,#f8fafc);border-bottom:1px solid var(--border,#e2e8f0);flex-wrap:wrap;gap:32px;padding:16px 20px;display:flex}.analyticsSection{flex-direction:column;gap:8px;min-width:200px;display:flex}.analyticsSection strong{text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted,#64748b);margin-bottom:4px;font-size:12px}.analyticsRow{align-items:center;gap:8px;font-size:13px;display:flex}.analyticsBar{background:var(--border,#e2e8f0);border-radius:4px;flex:1;min-width:60px;height:8px;overflow:hidden}.analyticsBarFill{background:var(--accent,#1f6f9f);border-radius:4px;min-width:2px;height:100%}.secondaryButton{cursor:pointer;height:36px;color:var(--text,#0f172a);border:1px solid var(--border,#e2e8f0);background:0 0;border-radius:6px;align-items:center;gap:6px;padding:0 14px;font-size:13px;font-weight:500;transition:background .15s;display:inline-flex}.secondaryButton:hover{background:var(--bg-subtle,#f8fafc)}
