*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f6f7fb;color:#18202a}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.portal-top{height:68px;background:#fff;border-bottom:1px solid #e6e8ee;display:flex;align-items:center;padding:0 26px;gap:18px;position:sticky;top:0;z-index:20}.portal-brand{font-weight:900;color:#4f46e5;font-size:20px}.portal-top .spacer{flex:1}.portal-user{font-size:13px;color:#667085}.portal-btn{border:0;border-radius:9px;padding:9px 13px;cursor:pointer;font-weight:700;background:#4f46e5;color:#fff}.portal-btn.secondary{background:#fff;color:#4f46e5;border:1px solid #d9def8}.portal-btn.danger{background:#fff;color:#dc2626;border:1px solid #fecaca}.portal-shell{max-width:1440px;margin:0 auto;padding:26px}.portal-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.portal-side{background:#fff;border:1px solid #e6e8ee;border-radius:16px;padding:12px;height:max-content;position:sticky;top:88px}.portal-side button{width:100%;border:0;background:transparent;text-align:left;padding:11px 12px;border-radius:9px;color:#596273;cursor:pointer;margin:2px 0}.portal-side button.active{background:#eef0ff;color:#4f46e5;font-weight:800}.portal-main{min-width:0}.portal-view{display:none}.portal-view.active{display:block}.portal-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.portal-title h1{margin:0;font-size:28px}.portal-title p{margin:5px 0 0;color:#7b8492}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.stat{background:#fff;border:1px solid #e6e8ee;border-radius:14px;padding:16px}.stat small{color:#7b8492}.stat strong{display:block;font-size:26px;margin-top:8px}.card{background:#fff;border:1px solid #e6e8ee;border-radius:16px;padding:18px;margin-bottom:16px}.card h2,.card h3{margin:0 0 12px}.muted{color:#7b8492;font-size:13px}.table-wrap{overflow:auto}.portal-table{width:100%;border-collapse:collapse;font-size:13px}.portal-table th,.portal-table td{padding:11px;border-bottom:1px solid #eef0f4;text-align:left;vertical-align:top}.portal-table th{color:#697386;font-weight:700;background:#fafbfc}.badge{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:11px;font-weight:700;background:#eef2ff;color:#4f46e5}.badge.green{background:#ecfdf5;color:#047857}.badge.orange{background:#fff7ed;color:#c2410c}.badge.red{background:#fef2f2;color:#b91c1c}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:#667085;font-weight:700}.field input,.field select,.field textarea{border:1px solid #dfe3ea;border-radius:9px;padding:10px 11px;background:#fff;outline:0}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8b88ff;box-shadow:0 0 0 3px rgba(79,70,229,.08)}.action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.empty{padding:28px;text-align:center;color:#8a93a2;border:1px dashed #dfe3ea;border-radius:12px}.review-grid{display:grid;grid-template-columns:1fr 320px;gap:14px}.review-detail{white-space:pre-wrap;background:#f8fafc;border-radius:10px;padding:12px;font-size:12px;max-height:300px;overflow:auto}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-hero{padding:70px;background:linear-gradient(135deg,#111827,#3730a3);color:#fff;display:flex;flex-direction:column;justify-content:center}.auth-hero h1{font-size:48px;line-height:1.12;margin:10px 0 18px}.auth-hero p{max-width:600px;line-height:1.8;color:#dbe4ff}.auth-panel{display:grid;place-items:center;padding:40px}.auth-card{width:min(560px,100%);background:#fff;border:1px solid #e6e8ee;border-radius:20px;padding:28px;box-shadow:0 18px 55px rgba(17,24,39,.08)}.auth-tabs{display:flex;background:#f3f4f6;border-radius:10px;padding:4px;margin-bottom:20px}.auth-tabs button{flex:1;border:0;background:transparent;padding:9px;border-radius:8px;cursor:pointer}.auth-tabs button.active{background:#fff;color:#4f46e5;font-weight:800;box-shadow:0 2px 8px rgba(0,0,0,.05)}.auth-form{display:none}.auth-form.active{display:block}.error{color:#b91c1c;background:#fef2f2;border-radius:8px;padding:9px;font-size:12px;display:none;margin:10px 0}.progress-bar{height:8px;border-radius:999px;background:#eef0f4;overflow:hidden}.progress-bar>i{display:block;height:100%;background:#4f46e5}.project-card{border:1px solid #e6e8ee;border-radius:12px;padding:14px;margin:10px 0}.project-head{display:flex;justify-content:space-between;gap:12px}.project-head h3{margin:0}.score{font-size:24px;font-weight:900;color:#4f46e5}@media(max-width:1000px){.stats{grid-template-columns:repeat(2,1fr)}.portal-grid{grid-template-columns:1fr}.portal-side{position:static;display:flex;overflow:auto}.portal-side button{width:auto;white-space:nowrap}.review-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-hero{display:none}}@media(max-width:640px){.portal-shell{padding:14px}.stats,.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.portal-top{padding:0 14px}.portal-user{display:none}}
