*,:after,:before{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#0f1117;color:#e2e8f0;min-height:100vh}.container{max-width:860px;margin:0 auto;padding:2rem 1rem}h1{font-size:2rem;font-weight:700;margin-bottom:.25rem}.subtitle{color:#64748b;margin-bottom:2rem;font-size:.95rem}.card{background:#1e2130;border:1px solid #2d3148;border-radius:12px;padding:1.5rem;margin-bottom:1rem;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;transition:border-color .15s}.card:hover{border-color:#4f6ef7}.card-info{flex:1 1}.card-name{font-size:1.05rem;font-weight:600;margin-bottom:.25rem}.card-desc{color:#94a3b8;font-size:.9rem;margin-bottom:.5rem}.badge{display:inline-block;padding:.15rem .6rem;border-radius:999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.badge-active{background:#064e3b;color:#34d399}.badge-draft{background:#1e3a5f;color:#60a5fa}.card-actions{display:flex;gap:.5rem;flex-shrink:0}button{border:none;border-radius:8px;padding:.45rem 1rem;font-size:.85rem;font-weight:600;cursor:pointer;transition:opacity .15s}button:hover{opacity:.8}button:disabled{opacity:.4;cursor:not-allowed}.btn-primary{background:#4f6ef7;color:#fff}.btn-danger{background:#7f1d1d;color:#fca5a5}.btn-ghost{background:#2d3148;color:#94a3b8}.form-box{background:#1e2130;border:1px solid #2d3148;border-radius:12px;padding:1.5rem;margin-bottom:2rem}.form-box h2{font-size:1.1rem;color:#94a3b8}.auth-box,.form-box h2{margin-bottom:1rem}.auth-row{display:flex;justify-content:space-between;align-items:center;gap:1rem}.auth-toggle{gap:.5rem}.auth-toggle,.form-row{display:flex;margin-bottom:.75rem}.form-row{gap:.75rem;flex-wrap:wrap}input,select,textarea{background:#0f1117;border:1px solid #2d3148;border-radius:8px;color:#e2e8f0;padding:.55rem .85rem;font-size:.9rem;flex:1 1;min-width:0}input:focus,select:focus,textarea:focus{outline:none;border-color:#4f6ef7}textarea{resize:vertical;min-height:70px}.empty{text-align:center;color:#475569;padding:3rem}.error{color:#f87171;font-size:.85rem;margin-top:.5rem}.top-bar{display:flex;gap:.75rem;margin-bottom:1.5rem;align-items:center}.top-bar input{max-width:260px}.count{color:#64748b;font-size:.85rem;margin-left:auto}