
:root{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:#1d2d42;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;letter-spacing:-.035em}h1{font-size:27px}h2{font-size:21px}h3{font-size:16px}.muted{color:#8191a4}.small{font-size:12px}.tiny{font-size:11px}.strong{font-weight:700}.app{display:flex;min-height:100vh}.sidebar{background:#102943;color:#e5edf8;width:245px;min-width:245px;position:sticky;top:0;height:100vh;padding:23px 15px;display:flex;flex-direction:column;gap:19px}.brand{display:flex;align-items:center;gap:11px;padding:7px 9px 20px;border-bottom:1px solid #34506b}.brandmark{background:#fff;color:#16375b;width:40px;height:40px;border-radius:13px;display:grid;place-items:center;font-weight:900;font-size:18px}.brand strong{font:800 15px Inter,system-ui}.brand small{display:block;color:#a6bad1;margin-top:3px;font-size:10px;letter-spacing:1.6px}.nav{display:grid;gap:5px;overflow:auto}.nav a{display:flex;gap:12px;align-items:center;padding:12px 13px;border-radius:11px;color:#bacde0;font-size:13px;font-weight:600;transition:.2s}.nav a:hover,.nav a.active{background:#28496a;color:#fff;transform:translateX(2px)}.nav .ico{font-size:18px;width:22px;text-align:center}.sidefoot{margin-top:auto;border-top:1px solid #34506b;padding:16px 7px;display:grid;gap:13px}.sidefoot button{border:none;background:transparent;color:#c7d7e7;text-align:left}.main{flex:1;min-width:0}.topbar{height:78px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;border-bottom:1px solid #e9edf3;position:sticky;top:0;z-index:10}.avatar{background:#eaf1fa;color:#274f7c;display:grid;place-items:center;font-weight:800;width:38px;height:38px;border-radius:12px}.topuser{display:flex;gap:11px;align-items:center}.content{padding:28px 32px 80px;max-width:1600px;margin:auto}.headline{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:23px;flex-wrap:wrap}.headline p{color:#8896a5;font-size:13px;margin-top:6px}.eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#6181a8;font-weight:800;margin-bottom:8px}.btn{border:1px solid #dce5ef;border-radius:10px;padding:11px 16px;background:#fff;color:#1c3552;font-weight:700;font-size:12px;transition:.2s;display:inline-flex;align-items:center;gap:7px;justify-content:center}.btn:hover,.clickable:hover{transform:translateY(-2px);box-shadow:0 8px 24px #1c35521a}.btn.primary{background:#1e4f81;color:white;border-color:#1e4f81}.btn.red{background:#fff2f3;color:#b34c54}.btn.sm{padding:8px 12px}.btn:disabled{opacity:.55;cursor:not-allowed}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.card{background:#fff;border:1px solid #e8edf4;border-radius:17px;box-shadow:0 3px 16px #28466908;padding:22px}.clickable{cursor:pointer;transition:transform .18s,box-shadow .18s}.stats{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:16px;margin-bottom:24px}.stat{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:120px}.stat .number{font:800 29px Inter,system-ui;color:#183a61;margin-top:13px}.stat .caption{font-size:12px;font-weight:700;color:#8391a3}.stat .glyph{background:#edf5ff;color:#346ba3;width:39px;height:39px;display:grid;place-items:center;border-radius:12px;font-size:20px}.layout2{display:grid;grid-template-columns:1.4fr 1fr;gap:18px}.mb{margin-bottom:20px}.sectiontitle{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.tablewrap{overflow:auto}.table{border-collapse:collapse;width:100%;white-space:nowrap;font-size:12px}.table th{text-align:left;color:#8795a5;font-size:11px;text-transform:uppercase;letter-spacing:.6px;padding:13px 12px;border-bottom:1px solid #e7edf4}.table td{padding:15px 12px;border-bottom:1px solid #eff2f6}.table tbody tr:hover{background:#f5f9ff;cursor:pointer}.table tbody tr:last-child td{border-bottom:none}.pill{font-size:11px;font-weight:700;padding:6px 9px;border-radius:20px;background:#edf3f9;color:#456384;display:inline-block}.pill.green{background:#e3f7ec;color:#287f56}.pill.red{background:#ffeded;color:#af4854}.pill.amber{background:#fff3de;color:#9f712c}.pill.blue{background:#e9f1ff;color:#386eac}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:grid;gap:7px;font-size:12px;color:#53667e;font-weight:700}.field input,.field select,.field textarea,.search{width:100%;border:1px solid #dfe7f0;border-radius:10px;padding:11px 12px;background:#fff;color:#263d58;outline:none;font-weight:500;min-height:41px}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{border-color:#4686c5;box-shadow:0 0 0 3px #4c91d21b}.field textarea{min-height:95px;resize:vertical}.field.full{grid-column:1/-1}.filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-bottom:18px}.filters .field{min-width:140px;max-width:230px;flex:1}.filters .search{min-width:215px;max-width:330px}.badge{font-size:11px;background:#eaf1fa;color:#365b81;padding:5px 10px;border-radius:30px}.empty{padding:35px 16px;color:#8b98a8;text-align:center;font-size:13px}.modalbg{position:fixed;inset:0;background:#0c233bb0;display:flex;align-items:center;justify-content:center;padding:20px;z-index:50;animation:fade .15s}.modal{background:#fff;border-radius:20px;padding:26px;width:min(700px,100%);max-height:92vh;overflow:auto;box-shadow:0 25px 90px #0004;animation:rise .2s}.modalhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.x{border:0;background:#f0f3f7;width:32px;height:32px;border-radius:8px;font-size:20px}.modalactions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.timeline{border-left:2px solid #e2eaf3;margin-left:7px;padding-left:22px;display:grid;gap:19px}.event{position:relative}.event:before{content:'';position:absolute;left:-30px;top:4px;background:#6b95c3;width:12px;height:12px;border:3px solid white;border-radius:100%;box-shadow:0 0 0 1px #b5c7d9}.event p{margin-top:7px;font-size:13px;line-height:1.6}.detailgrid{display:grid;grid-template-columns:1.1fr .9fr;gap:19px}.stack{display:grid;gap:16px}.chiprow{display:flex;gap:8px;flex-wrap:wrap}.kv{display:grid;grid-template-columns:120px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid #edf1f6;font-size:12px}.kv:last-child{border:0}.kv span:first-child{color:#8191a3}.bars{display:grid;gap:14px}.barrow{display:grid;grid-template-columns:150px 1fr 28px;align-items:center;gap:12px;font-size:12px}.bartrack{height:8px;border-radius:9px;background:#edf2f8;overflow:hidden}.barfill{height:100%;border-radius:9px;background:linear-gradient(90deg,#2e6da5,#69aacb)}.loginpage{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.loginhero{background:linear-gradient(135deg,#102a48,#215481);padding:13%;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.loginhero h1{font-size:clamp(35px,4vw,60px);line-height:1.15}.loginform{display:flex;align-items:center;justify-content:center;padding:35px}.loginbox{width:min(410px,100%);display:grid;gap:19px}.loginbox h2{font-size:30px}.error{color:#bd4141;background:#fff1f1;border-radius:9px;padding:12px;font-size:12px}.success{color:#25754e;background:#ecf9f0;border-radius:9px;padding:12px;font-size:12px}.loginbox .btn{width:100%;padding:14px}.mobilemenu{display:none}.kanban{display:flex;gap:14px;overflow:auto;padding-bottom:14px}.kanban-col{min-width:230px;flex:1;background:#f0f4f9;border-radius:13px;padding:12px}.kanbanhead{font-weight:800;font-size:12px;display:flex;justify-content:space-between;margin-bottom:12px}.dealtile{background:#fff;border:1px solid #e8edf4;border-radius:10px;padding:14px;margin-bottom:9px;cursor:pointer;box-shadow:0 3px 10px #28466909}.dealtile:hover{border-color:#8ea9c6}.dealtile strong{display:block;margin:4px 0 7px}.pager{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:18px;font-size:12px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tabs button{border:1px solid #dee7f1;border-radius:9px;background:#fff;padding:10px 13px;color:#67798c;font-size:12px;font-weight:700}.tabs button.active{background:#1e4f81;color:#fff}.spinner{width:22px;height:22px;border:3px solid #dce9f6;border-top-color:#2d6497;border-radius:100%;animation:spin .8s linear infinite;margin:50px auto}#toast{position:fixed;bottom:22px;right:24px;z-index:99;background:#173853;color:#fff;border-radius:12px;padding:13px 18px;box-shadow:0 10px 30px #17385344;display:none;font-size:13px}.notice{padding:11px 14px;border:1px solid #f4e1b4;background:#fff9e9;border-radius:10px;color:#977134;font-size:12px}.mwrap{display:flex;align-items:center;gap:12px}.progressdot{width:8px;height:8px;background:#32aa7b;border-radius:50%}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1160px){.stats{grid-template-columns:repeat(2,1fr)}.layout2{grid-template-columns:1fr}.detailgrid{grid-template-columns:1fr}}@media(max-width:800px){.sidebar{position:fixed;z-index:30;left:-260px;transition:left .2s}.sidebar.show{left:0}.topbar{padding:0 17px;height:65px}.content{padding:22px 16px}.mobilemenu{display:block;border:0;background:none;font-size:22px;color:#173a61}.loginpage{grid-template-columns:1fr}.loginhero{min-height:230px;padding:30px}.loginhero h1{font-size:32px}.loginform{padding:40px 22px}.formgrid{grid-template-columns:1fr}.stats{gap:10px}.card{padding:16px}.stat{min-height:105px}.stat .number{font-size:23px}}@media(max-width:420px){.stats{grid-template-columns:1fr 1fr}.stat{display:block}.stat .glyph{display:none}.filters .field{max-width:none}.headline h1{font-size:23px}}
