:root{font-family:"Segoe UI","Microsoft YaHei",sans-serif;color:#171717;background:#f7f7f7}*{box-sizing:border-box}body{margin:0;display:flex;min-height:100vh}aside{width:240px;background:white;border-right:1px solid #e8e8e8;padding:24px;display:flex;flex-direction:column}aside h2{font-size:17px}aside p,small,.muted{color:#777}nav{display:grid;gap:7px;margin-top:25px}button:disabled{opacity:.55;cursor:wait}button{border:0;border-radius:8px;padding:11px 14px;background:#171717;color:white;cursor:pointer;font-weight:600}nav button{background:white;color:#444;text-align:left}nav button:hover,nav button.active{background:#efefef;color:black}#logout{margin-top:auto;background:white;color:#444;border:1px solid #ddd}main{flex:1;padding:32px;max-width:1200px;width:100%}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}h1{font-size:25px;margin:6px 0}h2{font-size:18px}.card{background:white;border:1px solid #e8e8e8;border-radius:14px;padding:24px}.hidden{display:none}#logout.hidden{display:none}.messages{height:42vh;overflow:auto;background:#fafafa;border:1px solid #eee;border-radius:8px;margin:20px 0;padding:15px}.record{padding:12px 0;border-bottom:1px solid #eee}.record:last-child{border:0}form{display:grid;gap:12px}input,select,textarea{font:inherit;border:1px solid #ddd;border-radius:8px;padding:12px;width:100%}.login{display:grid;place-items:center}.login-card{width:min(420px,calc(100vw - 28px))}#error{color:#aa2222}#toast{position:fixed;bottom:20px;right:20px;background:#222;color:white;padding:14px;border-radius:8px}@media(max-width:760px){body{display:block}aside{width:auto;padding:14px}nav{display:flex;overflow:auto}nav button{white-space:nowrap}#logout{display:block;margin:10px 0 0}main{padding:16px}.messages{height:45vh}}
#openai-token-once{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f7f7;padding:12px;border-radius:8px}#openai button{margin:8px 8px 8px 0}#openai-models{max-height:45vh;overflow:auto}
.overview-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin-bottom:16px}.metric{display:grid;gap:4px;background:white;border:1px solid #e8e8e8;border-radius:12px;padding:16px}.metric strong{font-size:24px}.metric span{color:#666;font-size:13px}#command>.card{margin-bottom:16px}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.project-card{border:1px solid #e8e8e8;border-radius:12px;padding:16px;background:#fff}.project-card p{margin:10px 0 0;font-size:14px}.project-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-head span{font-size:12px;color:#666;white-space:nowrap}.review-box{display:grid;gap:8px;margin:16px 0;padding:16px;border:1px solid #ddd;border-radius:10px}.review-box button{justify-self:start}.review-box #request-changes{background:#fff;color:#222;border:1px solid #ccc}
