:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#0f172a;background:#f8fafc}*{box-sizing:border-box}body{margin:0}#root{min-height:100vh}.layout{max-width:980px;margin:0 auto;padding:1.5rem}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.tabs{display:flex;gap:1rem;margin-bottom:1.5rem}.tabs a{text-decoration:none;color:#0f172a;font-weight:600}.content{display:flex;flex-direction:column;gap:1rem}.auth-card,.panel{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:1rem}.auth-card{max-width:420px;margin:3rem auto}form{display:flex;flex-direction:column;gap:.75rem}label{display:flex;flex-direction:column;gap:.4rem;font-weight:500}input{border:1px solid #cbd5e1;border-radius:6px;padding:.6rem .75rem;font-size:.95rem}button{border:0;background:#1d4ed8;color:#fff;border-radius:6px;padding:.6rem .75rem;font-size:.95rem;font-weight:600;cursor:pointer}button:disabled{opacity:.55;cursor:wait}.error{color:#b91c1c}.success{color:#166534}.warning{color:#92400e}.helper{margin-top:.75rem}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.packs{display:flex;flex-direction:column;gap:.5rem}.balance{font-size:1.6rem;font-weight:700}.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.7rem}.list li{display:flex;align-items:center;justify-content:space-between;gap:.8rem;border-bottom:1px solid #e2e8f0;padding-bottom:.6rem}.model-selector{display:flex;flex-direction:column;gap:.4rem}.model-option{display:flex;flex-direction:row;align-items:center;gap:.5rem}.usage-pie{width:180px;height:180px;border-radius:50%;border:1px solid #cbd5e1;margin:0 auto 1rem}.resource-actions{display:flex;flex-direction:column;gap:.4rem;min-width:120px}.panel-header-row{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.panel-header-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.quickstart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}@media (max-width: 900px){.quickstart-grid{grid-template-columns:1fr}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000}.modal-dialog{width:min(900px,100%);max-height:90vh;overflow:auto}.modal-actions{display:flex;gap:.5rem}
