*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:linear-gradient(135deg,#f6f4ff,#eef8ff);color:#17213c}
.top{height:70px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 28px;box-shadow:0 3px 15px #382e7812;position:sticky;top:0;z-index:10}
.brand{font-size:22px;font-weight:900;color:#5c42d8;text-decoration:none}.top a.link{color:#5c42d8;text-decoration:none;font-weight:800}
.wrap{max-width:1080px;margin:auto;padding:32px 18px 60px}.hero{background:linear-gradient(135deg,#eeeaff,#edf9ff);border-radius:28px;padding:30px;margin-bottom:20px}.hero h1{margin:8px 0;font-size:34px}.hero p{color:#687086}
.card{background:#fff;border:1px solid #e7e4f4;border-radius:20px;padding:20px;margin:14px 0;box-shadow:0 8px 25px #45398a0d}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:#6547df;color:#fff;text-decoration:none;font-weight:900;padding:11px 15px;border-radius:12px;cursor:pointer}.btn.light{background:#f0edff;color:#5c43cb}.btn.red{background:#fff0f0;color:#c94450}
input,select,textarea{width:100%;padding:12px 13px;border:1px solid #daddec;border-radius:11px;font:inherit;background:#fff}textarea{min-height:110px}label{font-weight:800;font-size:13px;display:block;margin:12px 0 6px}
.status{display:inline-block;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:900}.pending{background:#fff5da;color:#a66d00}.approved{background:#eaf8ef;color:#21874b}.rejected{background:#fff0f0;color:#c8424d}
.note-card h3{margin:5px 0}.meta{font-size:12px;color:#7a8193;line-height:1.7}.empty{text-align:center;padding:35px;color:#7d8394;background:#fafaff;border-radius:16px}
.filters{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:9px;align-items:end}.alert{padding:13px;border-radius:11px;margin:12px 0}.ok{background:#eaf8ef;border-left:5px solid #38a765}.err{background:#fff0f0;border-left:5px solid #df4c58}
table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid #eceef4;text-align:left;font-size:13px}th{color:#697083}
@media(max-width:800px){.grid{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}.top{padding:0 15px}}@media(max-width:520px){.filters{grid-template-columns:1fr}.hero h1{font-size:27px}}