:root{color-scheme:light;--ink:#251d35;--muted:#6b6376;--purple:#493374;--border:#e5dfed;--bg:#f8f7fa}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 Tahoma,Arial,sans-serif}
header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.65rem clamp(1rem,5vw,4rem);background:white;border-bottom:1px solid var(--border);font-weight:700}
header img{width:133px;height:auto;display:block}main{margin:auto;max-width:1300px;padding:clamp(1rem,4vw,2rem)}
.solo{max-width:555px;margin:1.25rem auto}.content{min-width:0}.solo .content{background:white;border:1px solid var(--border);border-radius:20px;padding:clamp(1rem,4vw,2rem)}
h1{font-size:clamp(1.5rem,3.5vw,2.35rem);line-height:1.25;margin:.2rem 0 .75rem}h2{font-size:1.2rem;margin:.9rem 0 .6rem}h3{font-size:1.05rem}.muted,small{color:var(--muted)}
a{color:var(--purple);font-weight:700}form{display:grid;gap:.5rem;max-width:100%}label{display:grid;gap:.25rem;font-weight:700;min-width:0}
input,select,button{font:inherit;min-height:42px;width:100%;padding:.45rem .65rem;border:1px solid #d8cfe4;border-radius:10px;color:var(--ink);background:white;min-width:0}
button{background:var(--purple);color:white;border:0;cursor:pointer;font-weight:700}button.secondary{background:#eee9f5;color:var(--purple)}.check{display:flex;align-items:center;gap:.6rem;font-weight:400}
input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--purple)}:focus-visible{outline:2px solid #7657a9;outline-offset:2px}
.dashboard{display:grid;grid-template-columns:minmax(160px,210px) minmax(0,1fr);gap:1rem}
aside,.mobile>div{background:#312343;color:white;border-radius:15px;padding:.9rem;align-self:start}
nav{display:grid;gap:.4rem;margin-top:.6rem}nav a{display:block;color:white;text-decoration:none;background:#ffffff15;border-radius:8px;padding:.45rem .55rem}
nav button{background:#ffffff15;text-align:right}.mobile{display:none}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,228px),1fr));gap:.75rem}
article,.list li{padding:.8rem 1rem;background:white;border:1px solid var(--border);border-radius:12px;overflow-wrap:anywhere}
.list{padding:0;list-style:none;display:grid;gap:.55rem}.list small{display:block}.list form{margin-top:.5rem;max-width:245px}
.tag{display:inline-block;margin-inline:.4rem;padding:.1rem .5rem;background:#eae5f2;color:var(--purple);border-radius:30px;white-space:nowrap}
.alert,.success{padding:.65rem .8rem;border-radius:10px;background:#fce8ec;color:#80253c}.success{background:#e4f3eb;color:#235840}
iframe{display:block;width:100%;height:80vh;min-height:550px;border:1px solid var(--border);border-radius:12px;background:white}
.certificate{border:5px double var(--purple);padding:clamp(1rem,5vw,4rem);background-position:center;background-size:cover}
.cert-logo{width:140px;max-width:100%;height:auto}.cert-seal{width:90px;max-width:100%;height:auto}.recipient{font-weight:700}
@media(max-width:650px){.dashboard{grid-template-columns:minmax(0,1fr)}aside{display:none}.mobile{display:block}.mobile summary{cursor:pointer;width:max-content;border:1px solid var(--border);background:white;border-radius:9px;padding:.3rem .6rem}.mobile>div{position:fixed;top:.75rem;bottom:.75rem;inset-inline-start:.75rem;width:min(70vw,240px);overflow:auto;z-index:5}.mobile[open] summary{position:fixed;inset-inline-start:min(73vw,250px);top:.75rem;z-index:6}.solo{margin:.4rem auto}.certificate{overflow-wrap:anywhere}}
@media print{body{background:white}header,aside,.mobile,main>section>h1,main>section>p{display:none!important}.dashboard{display:block;padding:0}.certificate{break-inside:avoid;print-color-adjust:exact}}
