:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#25313b;background:#f2f5f7;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}.hidden{display:none!important}.auth{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#13191e,#43515c);padding:20px}.auth-card{width:min(420px,100%);padding:28px;background:#fff;border-radius:15px;text-align:center;box-shadow:0 20px 60px #0004}.auth-logo{height:155px;max-width:190px;object-fit:contain}.auth-card h1{font-size:24px;margin:5px}.auth-card p{color:#64717b}.auth-card form{text-align:left}label{display:block;font-weight:650;margin:12px 0 7px}input,select,textarea{display:block;width:100%;margin-top:5px;border:1px solid #cbd3da;background:#fff;color:#25313b;border-radius:8px;padding:10px}textarea{min-height:85px;resize:vertical}button{border:0;border-radius:8px;padding:10px 15px;font-weight:650}.primary{background:#27343e;color:white}.primary:hover{background:#465763}.secondary{background:white;border:1px solid #cbd3da;color:#27343e}.secondary:hover{background:#eef2f5}.compact{padding:7px 10px;font-size:12px}.full{width:100%;margin-top:14px}.app{display:flex;min-height:100vh}.sidebar{background:#1b2228;color:white;width:235px;flex-shrink:0;padding:14px 11px}.brand{display:flex;align-items:center;gap:11px;padding:10px 7px 23px;border-bottom:1px solid #3b4349;margin-bottom:14px}.brand img{width:66px;height:66px;object-fit:contain;background:white;border-radius:7px}.brand strong{font-size:13px}.brand small{display:block;color:#acb7c0;font-size:11px}.sidebar nav button{display:block;width:100%;text-align:left;background:transparent;color:#c7d1d9;margin:3px 0}.sidebar nav button.active,.sidebar nav button:hover{background:#3b4852;color:white}.workspace{flex:1;min-width:0}.top{background:#fff;border-bottom:1px solid #e0e5e9;padding:17px 25px;display:flex;align-items:center;justify-content:space-between;gap:10px}.top small{display:block;color:#7a8791}.account{display:flex;align-items:center;gap:12px}.account span{color:#56636d;font-size:12px}main{max-width:1400px;margin:auto;padding:25px}.heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:18px}h1{font-size:24px;margin:0 0 4px}h2{font-size:17px;margin:0 0 14px}.muted{color:#6b7984}.panel,.stat{background:#fff;border:1px solid #e0e6eb;border-radius:11px;padding:18px;margin-bottom:15px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stat .number{font-size:30px;font-weight:750;margin-top:6px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detailcols{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:14px}.toolbar input{max-width:330px}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{padding:11px;text-align:left;border-bottom:1px solid #e9edf0;white-space:nowrap}th{font-size:12px;color:#677784;background:#f8fafb}tr[data-id]:hover{background:#f1f5f7;cursor:pointer}.pill{border-radius:20px;padding:3px 9px;background:#e9edf0;font-size:12px;font-weight:650;display:inline-block}.pill.New,.pill.Critical{background:#ffe3e3;color:#a02b2b}.pill.Assigned,.pill.InProgress,.pill.FollowUpRequired{background:#fff0d7;color:#91600b}.pill.AwaitingReview,.pill.WithVendor{background:#e3eafa;color:#3c5694}.pill.Closed,.pill.Completed,.pill.Active{background:#e0f3e7;color:#1a704b}.notice{background:#eef3f7;border-radius:8px;padding:11px;margin:10px 0;color:#435764}.error{background:#fff0ef;color:#9e2b2b}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.formgrid .wide{grid-column:1/-1}.entry{border-bottom:1px solid #e7ecef;padding:10px 0}.entry small{color:#78858e}.entry p{margin:5px 0;white-space:pre-wrap}.modal{position:fixed;inset:0;background:#0e151bb8;display:grid;place-items:center;padding:14px;z-index:10}.modal-inner{background:#fff;border-radius:12px;padding:20px;width:min(620px,100%);max-height:92vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:center}.toast{position:fixed;right:15px;bottom:15px;background:#25343e;color:white;padding:12px 17px;border-radius:9px;max-width:420px;box-shadow:0 8px 30px #0004}.small{font-size:12px}.inline{display:inline-block;width:auto}.checkboxline{display:flex;gap:9px;align-items:center}.checkboxline input{width:auto;margin:0}.empty{padding:22px;text-align:center;color:#78858e}@media(max-width:950px){.stats{grid-template-columns:repeat(2,1fr)}.sidebar{width:190px}.detailcols,.columns{grid-template-columns:1fr}}@media(max-width:650px){.app{display:block}.sidebar{width:100%;display:flex;overflow-x:auto;padding:7px}.brand{min-width:160px;padding:3px;border:0;margin:0}.brand img{width:42px;height:42px}.sidebar nav{display:flex;align-items:center}.sidebar nav button{white-space:nowrap;width:auto}.top{padding:12px}main{padding:13px}.stat{padding:12px}.formgrid{grid-template-columns:1fr}.formgrid .wide{grid-column:auto}}
