/* CIG Academy shared styles. Scoped to .cig-* so nothing else on the site changes. */
.cig-rank{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;background:var(--card,#171d27);border:1px solid var(--line,#2b3342);border-radius:12px;padding:12px 16px;margin:0 0 26px;font-size:.95rem;color:var(--muted,#9aa1ad)}
.cig-rank b{color:#fff}
.cig-rank .cig-badge{background:#ffd400;color:#0e1116;font-weight:800;border-radius:999px;padding:3px 12px;letter-spacing:.04em;font-size:.82rem;text-transform:uppercase}
.cig-rank .cig-bar{flex:1 1 140px;min-width:120px;height:8px;border-radius:99px;background:#232b38;overflow:hidden}
.cig-rank .cig-bar i{display:block;height:100%;background:linear-gradient(90deg,#ffd400,#ff5a1f);width:0;transition:width .5s}
.cig-box{background:var(--card,#171d27);border:1px solid var(--line,#2b3342);border-radius:14px;padding:22px;margin:30px 0}
.cig-box h3{margin:0 0 6px;color:#fff;font-size:1.15rem}
.cig-box .cig-sub{color:var(--muted,#9aa1ad);margin:0 0 14px;font-size:.95rem}
.cig-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#ff5a1f;margin-bottom:6px}
.cig-btn{appearance:none;border:0;border-radius:9px;padding:10px 16px;font:inherit;font-weight:700;cursor:pointer;background:#ffd400;color:#0e1116}
.cig-btn:hover{filter:brightness(1.08)}
.cig-btn.alt{background:#232b38;color:#f1f3f7;border:1px solid #2b3342}
.cig-btn[disabled]{opacity:.45;cursor:not-allowed}
.cig-opts{display:grid;gap:10px;margin:14px 0}
.cig-opt{display:block;width:100%;text-align:left;background:#10151d;border:1px solid #2b3342;color:#e8ebf1;border-radius:10px;padding:12px 14px;font:inherit;cursor:pointer}
.cig-opt:hover:not([disabled]){border-color:#ffd400}
.cig-opt.ok{border-color:#3ddc84;background:rgba(61,220,132,.10)}
.cig-opt.bad{border-color:#ff5252;background:rgba(255,82,82,.10)}
.cig-fb{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#10151d;border-left:4px solid #ffd400;color:#dfe3ea}
.cig-fb.ok{border-left-color:#3ddc84}.cig-fb.bad{border-left-color:#ff5252}
.cig-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.cig-meter{font-family:ui-monospace,Consolas,monospace;background:#0b1a12;color:#3ddc84;border:2px solid #1f3a2b;border-radius:10px;padding:10px 16px;font-size:1.6rem;min-width:150px;text-align:center}
.cig-meter small{display:block;font-size:.7rem;color:#7fa690;letter-spacing:.08em}
.cig-keys{display:flex;gap:8px;flex-wrap:wrap}
.cig-key{padding:8px 14px;border-radius:8px;border:1px solid #2b3342;background:#10151d;color:#e8ebf1;font-weight:700;cursor:pointer}
.cig-key.on{background:#ffd400;color:#0e1116;border-color:#ffd400}
.cig-wires{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:14px 0}
.cig-wire{border:1px solid #2b3342;border-radius:10px;padding:10px;background:#10151d;cursor:pointer;color:#e8ebf1;text-align:left;font:inherit}
.cig-wire:hover{border-color:#ffd400}
.cig-wire .sw{display:block;height:8px;border-radius:4px;margin-bottom:8px}
.cig-wire small{color:#9aa1ad;display:block;margin-top:2px}
.cig-wire.picked{outline:2px solid #ffd400}
.cig-assign{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:14px 0}
.cig-assign label{display:block;color:#fff;font-weight:700;font-size:.9rem;margin-bottom:4px}
.cig-assign select,.cig-vd input{width:100%;background:#10151d;color:#f1f3f7;border:1px solid #2b3342;border-radius:8px;padding:9px;font:inherit}
.cig-score{display:flex;gap:16px;flex-wrap:wrap;color:#9aa1ad;font-size:.95rem;margin:6px 0 10px}
.cig-score b{color:#ffd400}
details.cig-rev{background:#10151d;border:1px solid #2b3342;border-radius:10px;padding:12px 14px;margin:16px 0}
details.cig-rev summary{cursor:pointer;font-weight:700;color:#ffd400}
details.cig-rev[open] summary{margin-bottom:8px}
.cig-tests{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
.cig-log{background:#0b0f15;border:1px solid #232b38;border-radius:10px;padding:10px 12px;min-height:44px;font-family:ui-monospace,Consolas,monospace;font-size:.9rem;color:#c8ced8;white-space:pre-wrap}
.cig-vd .cig-vd-out{font-weight:800;font-size:1.05rem;margin-top:12px}
.cig-ladder{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:18px 0;padding:0;list-style:none}
.cig-ladder li{background:var(--card,#171d27);border:1px solid var(--line,#2b3342);border-radius:12px;padding:14px;text-align:center}
.cig-ladder b{display:block;color:#ffd400;font-size:1.05rem}
.cig-ladder span{color:#9aa1ad;font-size:.9rem}
.cig-prog{list-style:none;padding:0;margin:14px 0}
.cig-prog li{padding:10px 0;border-bottom:1px solid #232b38;display:flex;gap:10px;align-items:baseline}
.cig-prog .cig-chk{flex:0 0 22px;height:22px;border-radius:6px;border:2px solid #3a4456;display:inline-block;text-align:center;line-height:18px;font-size:.9rem;color:transparent}
.cig-prog li.done .cig-chk{background:#3ddc84;border-color:#3ddc84;color:#0e1116;font-weight:900}
.cig-note{font-size:.88rem;color:#9aa1ad}
@media(max-width:560px){.cig-box{padding:16px}.cig-meter{font-size:1.3rem}}
.cig-fig{margin:26px 0}.cig-fig img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid #2b3342}
.cig-fig figcaption{font-size:.88rem;color:#9aa1ad;margin-top:8px}
.cig-example{background:#12171f;border:1px dashed #3a4456;border-left:4px solid #ff5a1f;border-radius:12px;padding:16px 18px;margin:26px 0}
.cig-example h3{margin:2px 0 8px;color:#fff;font-size:1.05rem}.cig-example p{margin:0}
.cig-sign{margin:40px 0 0;padding:18px 0 0;border-top:1px solid #2b3342;color:#9aa1ad;line-height:1.6}.cig-sign b{color:#ffd400}
.cig-pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:30px 0 0}
.cig-cta-row{display:flex;flex-wrap:wrap;gap:12px;margin:22px 0}
.cig-built{display:inline-block;margin:0 0 18px;padding:6px 12px;border:1px solid #3a4456;border-radius:999px;color:#ffd400;font-weight:800;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase}
.cig-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:20px 0}
.cig-card{background:#171d27;border:1px solid #2b3342;border-radius:14px;padding:16px}.cig-card h3{margin:0 0 6px;font-size:1.05rem}.cig-card p{margin:0;color:#9aa1ad;font-size:.95rem}
