
:root{--cg-bg:#f5f7fb;--cg-ink:#16304d;--cg-muted:#667b92;--cg-border:#dce6f3;--cg-blue:#2764e9;--cg-cream:#f8f2c7;--cg-stop:#b8e4e3;--cg-start:#a3dcd6}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--cg-bg);color:var(--cg-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
button{font:inherit}a{color:inherit;text-decoration:none}
.cg-top{height:64px;background:#fff;border-bottom:1px solid var(--cg-border);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 24px}
.cg-back,.cg-copy{width:max-content;border:1px solid #d7e3f2;border-radius:10px;background:white;padding:9px 13px;color:#245aab;font-weight:750;cursor:pointer}
.cg-copy{justify-self:end}.cg-heading{text-align:center}.cg-heading strong{display:block;font-size:17px}.cg-heading span{display:block;color:var(--cg-muted);font-size:12px}
.cg-page{padding:18px}.cg-shell{max-width:1180px;margin:auto}.cg-tool-card{background:white;border:1px solid var(--cg-border);border-radius:18px;padding:18px;box-shadow:0 9px 26px rgba(27,59,105,.055)}
.cg-headline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.cg-kicker{font-size:10px;font-weight:850;letter-spacing:.13em;color:#316ddd;margin:0 0 4px}.cg-headline h1{font-size:26px;line-height:1.15;margin:0;letter-spacing:-.035em}.cg-intro{color:var(--cg-muted);font-size:13px;line-height:1.4;margin:5px 0 0}
.cg-mini-legend{display:flex;flex-wrap:wrap;gap:7px}.cg-mini-legend span{display:flex;align-items:center;gap:6px;color:#506e8d;font-size:11px;font-weight:650}.swatch{width:10px;height:10px;border-radius:3px;display:inline-block}.swatch.start{background:var(--cg-start)}.swatch.stop{background:var(--cg-stop)}
.cg-columns{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;align-items:start}
.cg-table-column{min-width:0}
.cg-board-wrap{position:relative;padding:30px 0 0 0}
.cg-axis{position:absolute;color:#586e89;font-size:10px;font-weight:750;text-align:center}.axis-top{left:29px;right:24px;top:7px}.axis-left{top:1px;left:0;width:100px;text-align:left}.axis-right{top:1px;right:0;width:80px;text-align:right}
.cg-board{display:grid;grid-template-columns:29px repeat(4,minmax(0,1fr)) 24px;grid-template-rows:28px repeat(4,108px);border:1px solid #a6c5e8;border-radius:8px;overflow:hidden;background:#fff}
.cg-top-left,.cg-second-head,.cg-first-head,.cg-third-rail,.cg-cell{border-right:1px solid #a6c5e8;border-bottom:1px solid #a6c5e8}
.cg-top-left{background:#f8fbff}.cg-second-head,.cg-first-head{display:flex;justify-content:center;align-items:center;font-weight:850;color:#254468;background:#fff}.cg-second-head{font-size:20px}.cg-first-head{font-size:23px}.cg-third-rail{background:#f8fbff}.cg-third-rail .rail-stack{height:100%;display:grid;grid-template-rows:repeat(4,1fr);align-items:center;justify-items:center;font-size:12px;font-weight:800;color:#476584}
.cg-cell{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));background:var(--cg-cream);min-width:0;min-height:0}.cg-cell.is-special{background:#f9f4d7}
.cg-codon{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:0;padding:2px;border:0;border-bottom:1px solid rgba(115,130,145,.2);background:transparent;color:#263e57;cursor:pointer}.cg-codon:last-child{border-bottom:0}.cg-codon:hover{background:#ddebfc}.cg-codon.active{outline:2px solid #3477ee;outline-offset:-2px;z-index:1;background:#e3efff}.cg-codon:focus-visible{outline:2px solid #2764e9;outline-offset:-2px}.cg-codon.stop{background:var(--cg-stop)}.cg-codon.start{background:var(--cg-start)}.cg-codon.stop.active,.cg-codon.start.active{box-shadow:inset 0 0 0 2px #3073e3}.cg-aa{font-size:12px;line-height:1;font-weight:760;white-space:nowrap}
.cg-under-table{font-size:11px;margin:7px 0 0;text-align:center;color:#788ca2}
.cg-details{min-width:0;border:1px solid var(--cg-border);background:#fbfdff;border-radius:15px;padding:18px;min-height:0}.cg-details-eyebrow{font-size:10px;letter-spacing:.14em;font-weight:900;color:#2c6be1;margin:0 0 13px}.cg-detail-lead{display:flex;align-items:center;gap:12px;min-width:0}.cg-codon-box{width:77px;height:77px;flex:none;border-radius:13px;background:#ecf4ff;border:1px solid #cadefb;display:grid;place-items:center;font-size:25px;letter-spacing:.02em;font-weight:900;color:#245aab}.cg-detail-heading{min-width:0}.cg-detail-heading h2{font-size:21px;line-height:1.2;margin:0;overflow-wrap:anywhere}.cg-detail-heading p{font-size:12px;color:var(--cg-muted);margin:6px 0 0}.cg-detail-description{font-size:13px;line-height:1.55;color:#4e6680;margin:15px 0}.cg-info-list{display:grid;gap:7px;margin:0}.cg-info-list>div{border-top:1px solid #e0e9f4;padding:8px 0;display:grid;grid-template-columns:116px minmax(0,1fr);align-items:start;gap:8px}.cg-info-list dt{font-weight:800;color:#698099;font-size:11px}.cg-info-list dd{font-size:12px;font-weight:650;line-height:1.35;margin:0;overflow-wrap:anywhere}
.cg-toast[hidden]{display:none!important}.cg-toast{position:fixed;right:12px;bottom:12px;padding:11px 14px;background:#173658;color:white;border-radius:10px;font-size:12px}
.embedded body{background:transparent}.embedded .cg-top{display:none}.embedded .cg-page{padding:4px}.embedded .cg-tool-card{padding:10px;border-radius:13px}.embedded .cg-headline{margin-bottom:8px}.embedded .cg-kicker{display:none}.embedded .cg-headline h1{font-size:19px}.embedded .cg-intro{font-size:11px}.embedded .cg-mini-legend{display:none}.embedded .cg-columns{gap:10px}.embedded .cg-board{grid-template-rows:24px repeat(4,96px)}.embedded .cg-board-wrap{padding-top:23px}.embedded .cg-axis{top:0}.embedded .cg-details{padding:11px}.embedded .cg-detail-description{margin:10px 0}.embedded .cg-info-list{gap:3px}.embedded .cg-info-list>div{padding:6px 0}
@media(max-width:740px){.cg-top{height:60px;padding:0 12px;grid-template-columns:1fr auto}.cg-heading{display:none}.cg-back span{display:none}.cg-page{padding:8px}.cg-tool-card{padding:10px}.cg-headline h1{font-size:22px}.cg-intro{font-size:11px}.cg-mini-legend{display:none}.cg-columns{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:7px}.cg-board-wrap{padding-top:26px}.cg-axis{font-size:8px}.cg-board{grid-template-columns:16px repeat(4,minmax(0,1fr)) 14px;grid-template-rows:18px repeat(4,76px)}.cg-second-head{font-size:13px}.cg-first-head{font-size:14px}.cg-third-rail .rail-stack{font-size:8px}.cg-aa{font-size:8px}.cg-under-table{font-size:9px}.cg-details{padding:8px;border-radius:10px}.cg-details-eyebrow{font-size:8px;margin-bottom:7px}.cg-detail-lead{gap:5px}.cg-codon-box{width:40px;height:40px;border-radius:8px;font-size:15px}.cg-detail-heading h2{font-size:12px}.cg-detail-heading p{font-size:9px}.cg-detail-description{font-size:10px;line-height:1.4;margin:8px 0}.cg-info-list{gap:1px}.cg-info-list>div{grid-template-columns:1fr;gap:3px;padding:4px 0}.cg-info-list dt{font-size:8px}.cg-info-list dd{font-size:9px}.embedded .cg-board{grid-template-rows:18px repeat(4,76px)}}
