:root{--bg1:#0ea5e9;--bg2:#a78bfa;--ink:#0f172a;--paper:#fff;--accent:#f59e0b;--ok:#22c55e;--danger:#ef4444;--muted:#475569}
*{box-sizing:border-box}html,body{height:100%}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto;background:linear-gradient(120deg,var(--bg1),var(--bg2));color:var(--ink)}
.container{max-width:1100px;margin:0 auto;padding:16px}header{position:sticky;top:0;background:rgba(255,255,255,.85);backdrop-filter:blur(8px);border-bottom:1px dashed rgba(15,23,42,.15);z-index:20}
.brand{display:flex;align-items:center;gap:12px}.brand .logo{width:40px;height:40px;border-radius:12px;background:conic-gradient(from 0deg,#f472b6,#22d3ee,#fb923c,#a3e635,#f472b6);box-shadow:0 8px 24px rgba(0,0,0,.15)}
h1{font-size:20px;margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.card{background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.9));border:2px solid #fff;border-radius:16px;padding:14px;box-shadow:0 6px 16px rgba(0,0,0,.15)}
.card .cover{width:100%;height:160px;border-radius:12px;background:#e2e8f0;object-fit:cover;border:1px solid #e5e7eb}
.tag{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2ff;margin:2px;font-size:12px;border:1px dashed #c7d2fe}
.btn{appearance:none;border:none;background:#0ea5e9;color:#fff;font-weight:700;border-radius:12px;padding:10px 12px;cursor:pointer}
.btn.ghost{background:#fff;color:#0ea5e9;border:2px dashed #0ea5e9}.nav{display:flex;gap:8px;flex-wrap:wrap}
footer{color:#0f172a99;padding:20px 0}.badge{display:inline-flex;align-items:center;gap:6px;background:#fff;border:2px solid #94a3b8;border-radius:12px;padding:6px 10px}
.passport{background:#11355b;color:#fff;border-radius:16px;border:3px solid #fff;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.passport .cover{display:grid;place-items:center;padding:30px;background:repeating-linear-gradient(45deg,#143e6a,#143e6a 12px,#124064 12px,#124064 24px)}
.emblem{width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#11355b;font-weight:900;border:4px solid #11355b}
.stamp{display:inline-block;border:6px double #ef4444;color:#ef4444;border-radius:50%;padding:8px 14px;font-weight:900;transform:rotate(-10deg);opacity:0;transition:.5s}
.stamp.visible{opacity:1;transform:rotate(-6deg) scale(1.05)}
.progress{height:10px;background:#e5e7eb;border-radius:999px;overflow:hidden}.progress>div{height:100%;background:#22c55e;width:0%;transition:.4s}
.checklist label{display:flex;align-items:center;gap:10px;margin:6px 0;padding:8px;border:1px dashed #cbd5e1;border-radius:10px;background:#fff;color:#0f172a}
.kids-border{border:4px dashed #fff;border-radius:16px;padding:12px;background:rgba(255,255,255,.15)}
.table{width:100%;border-collapse:collapse;background:#fff;color:#0f172a;border-radius:12px;overflow:hidden}
.table th,.table td{border:1px solid #e5e7eb;padding:8px 10px;text-align:left}
.hint{font-size:12px;color:#0f172a99}
.diploma-sheet{width:900px;height:640px;background:#fbfaf5;color:#1f2937;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;border:10px double #7c3e2a;border-radius:16px;position:relative;padding:40px;box-shadow:0 10px 30px rgba(0,0,0,.15)}
.diploma-header{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:16px;color:#7c3e2a}
.diploma-emblem{width:72px;height:72px;border-radius:50%;background:#7c3e2a;color:#fff;display:grid;place-items:center;font-size:34px;font-weight:900;box-shadow: inset 0 0 0 6px #fff}
.diploma-title{font-size:32px;font-weight:900;letter-spacing:1px}
.diploma-body{font-size:22px;line-height:1.5;margin-top:10px}
.diploma-body b{color:#0f172a}
.diploma-footer{position:absolute;left:40px;right:40px;bottom:30px;display:flex;justify-content:space-between;align-items:flex-end}
.diploma-sign{text-align:center;color:#7c3e2a;border-top:3px solid #7c3e2a;padding-top:6px;width:280px;font-weight:700}
.diploma-stamp{position:absolute;right:60px;bottom:80px;display:inline-block;border:8px double #ef4444;color:#ef4444;border-radius:50%;padding:22px 28px;font-weight:900;font-size:28px;transform: rotate(-12deg);opacity:0.85;text-transform:uppercase;box-shadow: 0 0 0 6px rgba(239,68,68,.25)}
