html{background:#050505}a{color:#ffb4b4}:root{color:#fafafa;font-synthesis:none;text-rendering:optimizelegibility;background:#050505;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:#050505;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{color:#fafafa;cursor:pointer;background:#242424e6;border:1px solid #94a3b83d;border-radius:12px;justify-content:center;align-items:center;gap:.45rem;padding:.7rem .9rem;transition:transform .16s,border-color .16s,background .16s;display:inline-flex}button:hover{border-color:#e00000b8;transform:translateY(-1px)}.button-link{color:#ffd6d6;background:#d000001f;border:1px solid #d0000052;border-radius:12px;align-items:center;gap:.45rem;padding:.7rem .9rem;font-weight:800;text-decoration:none;display:inline-flex}.button-link:hover{border-color:#e00000b8;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed;transform:none}.full-width{width:100%}.primary{background:linear-gradient(#c40000,#8f0000);border:none;font-weight:700;box-shadow:0 12px 24px #8f000052}.app-shell{max-width:1480px;margin:0 auto;padding:2rem}.hero{background:linear-gradient(135deg,#111111fa,#181818b8);border:1px solid #94a3b82e;border-radius:28px;justify-content:space-between;align-items:flex-start;gap:1rem;padding:2rem;display:flex;box-shadow:0 24px 80px #00000052}.brand-logo{object-fit:contain;filter:drop-shadow(0 12px 24px #00000057);width:min(390px,100%);height:auto;display:block}.brand-logo-header{margin:0 0 18px}.brand-logo-login{width:min(360px,100%);margin:0 auto 1.2rem}h1{letter-spacing:-.06em;margin:.25rem 0;font-size:clamp(2rem,5vw,4rem)}h2{letter-spacing:-.04em;align-items:center;gap:.6rem;margin:.5rem 0 0;font-size:clamp(1.5rem,3vw,2.5rem);display:flex}h3{align-items:center;gap:.5rem;margin-top:0;display:flex}p{color:#d4d4d8;line-height:1.6}.eyebrow,.mode-pill{color:#ffb4b4;text-transform:uppercase;letter-spacing:.08em;align-items:center;gap:.4rem;font-size:.78rem;font-weight:800;display:inline-flex}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.6rem;display:flex}.mode-pill{color:#ffd6d6;text-transform:none;letter-spacing:0;background:#d000001f;border:1px solid #d0000052;border-radius:999px;padding:.55rem .75rem}.stats-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.stat{background:#181818e0;border:1px solid #94a3b829;border-radius:22px;gap:.4rem;min-height:132px;padding:1.2rem;display:grid}.stat svg{color:#d00000}.stat span{color:#a1a1aa}.stat strong{font-size:2rem}.focus-strip{grid-template-columns:minmax(260px,.72fr) 1fr;align-items:start;gap:1.5rem;margin-bottom:1.2rem;display:grid}.focus-strip h2{font-size:clamp(1.25rem,2vw,2rem)}.focus-strip p{margin-bottom:0}.focus-strip ol{gap:.55rem;margin:0;display:grid}.focus-strip li{background:#0c0c0cb8;border:1px solid #94a3b81f;border-radius:14px;padding:.75rem .9rem}.content-grid{grid-template-columns:390px 1fr;align-items:start;gap:1.2rem;display:grid}.panel{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#181818e0;border:1px solid #94a3b829;border-radius:24px;padding:1rem;box-shadow:0 16px 50px #00000040}.panel-title{align-items:center;gap:.5rem;font-weight:900;display:flex}.sidebar{position:sticky;top:1rem}.sidebar-head{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.project-list{gap:.65rem;margin-top:1rem;display:grid}.project-row{text-align:left;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:.25rem;width:100%}.project-row span{font-weight:800}.project-row small{color:#a1a1aa}.project-row.selected{background:#d000001f;border-color:#d00000}.form-panel{gap:.8rem;margin:1rem 0;display:grid}label{color:#d4d4d8;gap:.35rem;font-weight:700;display:grid}input,textarea,select{color:#fafafa;background:#0d0d0d;border:1px solid #94a3b840;border-radius:12px;outline:none;width:100%;padding:.75rem}input:focus,textarea:focus,select:focus{border-color:#d00000;box-shadow:0 0 0 3px #d0000024}textarea{resize:vertical;min-height:88px}.form-row{grid-template-columns:1fr 1fr;gap:.8rem;display:grid}.form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.actions{gap:.6rem;display:flex}.project-detail{gap:1.15rem;padding:1.5rem;display:grid}.project-header{justify-content:space-between;gap:1rem;display:flex}.owner{color:#ffb4b4;font-weight:800}.badge{background:#94a3b829;border-radius:999px;margin-right:.45rem;padding:.38rem .6rem;font-size:.78rem;font-weight:900;display:inline-flex}.badge.active{color:#86efac;background:#16a34a26}.badge.planning{color:#ffd6d6;background:#d000001f}.badge.blocked{color:#fca5a5;background:#dc262626}.badge.done{color:#c4b5fd;background:#6b72802e}.priority-high{color:#fdba74}.priority-medium{color:#ffb4b4}.priority-low{color:#d4d4d8}.goal-box{background:#d0000014;border:1px solid #d000003d;border-radius:18px;align-items:flex-start;gap:.8rem;padding:1rem;display:flex}.detail-columns{grid-template-columns:1fr 1fr;gap:1rem;display:grid}li{color:#d4d4d8;margin:.45rem 0;line-height:1.45}.notes,.muted{color:#a1a1aa}.small{font-size:.82rem}.editor-card{background:#0c0c0cb8;border:1px solid #d000002e;border-radius:18px;gap:.9rem;padding:1rem;display:grid}.editor-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.editor-head p{margin:.25rem 0 0}.timeline{gap:.75rem;display:grid}.timeline div{background:#0c0c0cb8;border-left:3px solid #d00000;border-radius:12px;padding:.85rem}.timeline span{color:#ffb4b4;font-size:.82rem}.timeline p{margin:.25rem 0 0}.error{color:#fecaca;background:#7f1d1d6b;border:1px solid #f871714d;border-radius:14px;align-items:center;gap:.6rem;margin:1rem 0;padding:.9rem;display:flex}.center,.login-shell{place-items:center;min-height:100vh;padding:2rem;display:grid}.login-card{text-align:center;background:#181818eb;border:1px solid #94a3b82e;border-radius:28px;max-width:520px;padding:2rem;box-shadow:0 24px 80px #0006}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:330px 1fr}}@media (width<=960px){.hero,.project-header,.editor-head{flex-direction:column}.stats-grid,.content-grid,.detail-columns,.focus-strip,.form-row.three{grid-template-columns:1fr}.sidebar{position:static}.app-shell{padding:1rem}.brand-logo{width:min(320px,100%)}}.section-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.section-head h2{margin-top:0}.wrap{flex-wrap:wrap}.ai-spend-panel{gap:1rem;margin:1.3rem 0;display:grid}.ai-stat-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:1rem;display:grid}.stat.compact{min-height:96px}.stat.compact strong{font-size:1.45rem}.nested-form{background:#0c0c0cb8;border:1px solid #d000002e;border-radius:18px;gap:.8rem;padding:1rem;display:grid}.ai-table-wrap{border:1px solid #94a3b824;border-radius:18px;overflow-x:auto}.ai-table{border-collapse:collapse;width:100%;min-width:1080px}.ai-table th,.ai-table td{text-align:left;border-bottom:1px solid #94a3b81f;padding:.8rem}.ai-table th{color:#ffb4b4;text-transform:uppercase;letter-spacing:.08em;background:#0c0c0cd1;font-size:.78rem}.ai-table td span{color:#a1a1aa}.over-budget{color:#fca5a5;font-weight:900}.recent-usage{gap:.65rem;display:grid}.usage-row{background:#0c0c0cb8;border-left:3px solid #d00000;border-radius:12px;padding:.85rem}.usage-row span{color:#ffb4b4;font-size:.82rem}.usage-row strong{float:right;color:#86efac}.usage-row p{margin:.25rem 0 0}@media (width<=960px){.section-head{flex-direction:column}.ai-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.ai-stat-grid,.form-row{grid-template-columns:1fr}}
