.cg-in-demo{border-radius:var(--radius-card);background:var(--color-bg-secondary);justify-content:center;align-items:center;gap:.75rem;max-width:22rem;margin:1.25rem auto 0;padding:1rem;display:flex}.cg-in-arrow{width:1.5rem;height:1.5rem;color:var(--color-text-secondary);flex:none}.cg-in-pad{width:6.5rem;height:4.25rem;font-family:var(--font-ui,inherit);border-radius:.875rem;place-items:center;font-size:.875rem;font-weight:700;display:grid;position:relative}.cg-in-pad.is-wait{color:#6b4e1f;background:#f3e6cf}.cg-in-pad.is-go{color:#fff;background:#25b7b0}.cg-in-tap{background:#fff;border-radius:50%;width:.9rem;height:.9rem;animation:1.6s ease-out infinite cg-in-pulse;position:absolute;bottom:.5rem;right:.6rem;box-shadow:0 0 0 5px #ffffff59}@keyframes cg-in-pulse{0%{box-shadow:0 0 #fff9}to{box-shadow:0 0 0 10px #fff0}}.cg-in-panel{letter-spacing:.04em;background:#1f2738;border-radius:.875rem;place-items:center;width:6.5rem;height:4.25rem;font-size:1.2rem;font-weight:800;display:grid}.cg-in-ink{color:#ff6b6b}.cg-in-chip{border:2px solid var(--color-brand-ink);background:var(--color-card);min-height:2.75rem;color:var(--color-text);font-family:var(--font-ui,inherit);border-radius:999px;align-items:center;gap:.4rem;padding:0 .75rem;font-size:.9rem;font-weight:600;display:inline-flex}.cg-in-swatch{background:#ff6b6b;border-radius:50%;width:.9rem;height:.9rem;box-shadow:0 0 0 2px #28324a}.cg-in-check{width:1rem;height:1rem;color:var(--color-brand-ink)}.cg-in-tiles{gap:.3rem;display:flex}.cg-in-tile{background:var(--color-card);border:1px solid var(--color-border);width:2rem;height:2.5rem;color:var(--color-text);font-variant-numeric:tabular-nums;border-radius:.5rem;place-items:center;font-size:1.15rem;font-weight:800;display:grid}.cg-in-tile.is-answer{border-color:var(--color-brand-ink);color:var(--color-brand-ink)}.cg-in-tile.is-empty{border-style:dashed;border-color:var(--color-brand-ink);background:0 0}.cg-in-matrix{width:5.5rem;height:5.5rem;color:var(--color-text)}.cg-in-piece{width:2.25rem;height:2.25rem;color:var(--color-brand-ink)}.cg-in-cell{fill:var(--color-card);stroke:var(--color-border);stroke-width:1px}.cg-in-cell.is-missing{fill:#0000;stroke:var(--color-brand-ink);stroke-dasharray:3 3;stroke-width:1.5px}.cg-in-cell.is-answer{stroke:var(--color-brand-ink);stroke-width:2px}.cg-in-q{fill:var(--color-brand-ink);font-size:16px;font-weight:800}.cg-in-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;max-width:22rem;margin:1.25rem auto 0;display:grid}.cg-in-fact{border-radius:var(--radius-card);border:1px solid var(--color-border);padding:.6rem .25rem}.cg-in-fact b{color:var(--color-text);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.25rem;font-weight:800;line-height:1.2;display:block}.cg-in-fact span{color:var(--color-text-secondary);margin-top:.1rem;font-size:.75rem;display:block}.cg-in-steps{text-align:left;counter-reset:cg-in;flex-direction:column;gap:.6rem;max-width:22rem;margin:1.25rem auto 0;padding:0;list-style:none;display:flex}.cg-in-steps li{color:var(--color-text);counter-increment:cg-in;align-items:flex-start;gap:.65rem;font-size:.95rem;line-height:1.4;display:flex}.cg-in-steps li:before{content:counter(cg-in);background:var(--color-mint-1);width:1.5rem;height:1.5rem;color:var(--color-brand-ink);border-radius:50%;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}@media (prefers-reduced-motion:reduce){.cg-in-tap{animation:none}}.cg-st{--st-red:#ff6b6b;--st-blue:#5b9bff;--st-green:#3ddc84;--st-yellow:#ffd43b;--st-panel:#1f2738;--st-panel-text:#f1ead9}:root.dark .cg-st{--st-panel:#141a26}.cg-st-panel{border-radius:var(--radius-card);border:1px solid var(--color-border);background:var(--st-panel);min-height:clamp(200px,36vh,280px);color:var(--st-panel-text);-webkit-user-select:none;user-select:none;place-items:center;display:grid;position:relative;overflow:hidden}.cg-st-panel.is-right{box-shadow:inset 0 0 0 3px #3ddc848c}.cg-st-panel.is-wrong{box-shadow:inset 0 0 0 3px #ff6b6b99}.cg-st-word{letter-spacing:.04em;text-transform:uppercase;font-size:clamp(40px,11vw,72px);font-weight:900;line-height:1}.cg-st-fix{opacity:.75;font-size:40px;font-weight:300}.cg-st-msg{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:0 20px;display:flex}.cg-st-msg-main{font-size:clamp(20px,4.6vw,28px);font-weight:800}.cg-st-msg-sub{font-family:var(--font-ui,inherit);opacity:.85;max-width:40ch;font-size:14px}.cg-st-start{border-radius:var(--radius-button);color:#08221f;min-height:48px;font-family:var(--font-ui,inherit);font-size:var(--text-body);cursor:pointer;background:#25b7b0;margin-top:6px;padding:0 24px;font-weight:700}.cg-st-start:focus-visible{outline:3px solid var(--st-panel-text);outline-offset:3px}.cg-st-ink-0{color:var(--st-red)}.cg-st-ink-1{color:var(--st-blue)}.cg-st-ink-2{color:var(--st-green)}.cg-st-ink-3{color:var(--st-yellow)}.cg-st-progress{background:var(--color-bg-secondary);border-radius:999px;height:6px;overflow:hidden}.cg-st-progress>span{border-radius:inherit;background:var(--color-brand-ink);height:100%;transition:width .16s ease-out;display:block}.cg-st-keys{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (width>=560px){.cg-st-keys{grid-template-columns:repeat(4,minmax(0,1fr))}}.cg-st-key{border-radius:var(--radius-choice);border:2px solid var(--color-border);background:var(--color-card);min-height:64px;color:var(--color-text);font-family:var(--font-ui,inherit);font-size:var(--text-body);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;justify-content:center;align-items:center;gap:10px;padding:0 12px;font-weight:700;transition:transform 60ms ease-out,border-color 60ms linear;display:flex;position:relative}.cg-st-key:hover{border-color:var(--color-brand-ink)}.cg-st-key:active,.cg-st-key.is-pressed{border-color:var(--color-brand-ink);transform:scale(.97)}.cg-st-key:focus-visible{outline:3px solid var(--color-brand-ink);outline-offset:2px}.cg-st-key[disabled]{cursor:default}.cg-st-swatch{width:22px;height:22px;box-shadow:0 0 0 3px var(--st-panel);background:currentColor;border-radius:999px;flex:none}.cg-st-swatch.cg-st-ink-0{color:var(--st-red)}.cg-st-swatch.cg-st-ink-1{color:var(--st-blue)}.cg-st-swatch.cg-st-ink-2{color:var(--st-green)}.cg-st-swatch.cg-st-ink-3{color:var(--st-yellow)}.cg-st-keynum{color:var(--color-text-secondary);font-size:11px;font-weight:600;position:absolute;top:5px;right:8px}.cg-st-bars{flex-direction:column;gap:14px;display:flex}.cg-st-bar-row{grid-template-columns:minmax(0,9.5rem) minmax(0,1fr);align-items:center;gap:12px;display:grid}.cg-st-bar-label{font-family:var(--font-ui,inherit);font-size:var(--text-small);color:var(--color-text);flex-direction:column;gap:4px;font-weight:600;display:flex}.cg-st-chip{background:var(--st-panel);letter-spacing:.04em;border-radius:6px;align-self:flex-start;padding:2px 8px;font-size:12px;font-weight:900}.cg-st-chip.is-neutral{color:var(--st-panel-text)}.cg-st-track{background:var(--color-bg-secondary);border-radius:8px;height:30px;position:relative}.cg-st-fill{min-width:3.5rem;font-family:var(--font-ui,inherit);font-variant-numeric:tabular-nums;color:#fff;border-radius:8px;justify-content:flex-end;align-items:center;padding-right:8px;font-size:13px;font-weight:700;display:flex;position:absolute;inset:0 auto 0 0}.cg-st-fill.is-congruent{background:#00776f}.cg-st-fill.is-neutral{background:#5f6b80}.cg-st-fill.is-incongruent{background:#3d6be0}:root.dark .cg-st-fill.is-congruent{color:#04201e;background:#1faaa2}:root.dark .cg-st-fill.is-neutral{color:#10151f;background:#8792a6}:root.dark .cg-st-fill.is-incongruent{color:#0c1630;background:#6b8ff0}@media (prefers-reduced-motion:reduce){.cg-st-key,.cg-st-progress>span{transition:none}}.cg-st-sr{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.cg-mem-stage{border-radius:var(--radius-card);background:var(--color-bg-secondary);-webkit-user-select:none;user-select:none;place-items:center;min-height:clamp(150px,26vh,200px);display:grid;position:relative}.cg-mem-digit{color:var(--color-brand-ink);font-variant-numeric:tabular-nums;font-size:clamp(4.5rem,18vw,7rem);font-weight:800;line-height:1;animation:.16s ease-out cg-mem-pop}@keyframes cg-mem-pop{0%{opacity:.2;transform:scale(.82)}to{opacity:1;transform:scale(1)}}.cg-mem-status{font-size:var(--text-body);color:var(--color-text-secondary);text-align:center;padding:0 1rem;font-weight:600}.cg-mem-status.is-ok{color:var(--color-brand-ink)}.cg-mem-status.is-wrong{color:var(--color-text)}.cg-mem-answer{font-size:var(--text-small);color:var(--color-text-secondary);letter-spacing:.08em;margin-top:.35rem;font-weight:500;display:block}.cg-mem-slots{flex-wrap:wrap;justify-content:center;gap:6px;min-height:46px;display:flex}.cg-mem-slot{border:1px solid var(--color-border);width:34px;height:44px;color:var(--color-text);font-variant-numeric:tabular-nums;border-radius:10px;place-items:center;font-size:1.4rem;font-weight:800;display:grid}.cg-mem-slot.is-filled{border-color:var(--color-brand-ink);background:var(--color-mint-1,var(--color-bg-secondary));color:var(--color-brand-ink)}.cg-mem-slot.is-next{border-width:2px;border-color:var(--color-brand)}.cg-mem-keypad{grid-template-columns:repeat(3,1fr);gap:8px;max-width:300px;margin:0 auto;display:grid}.cg-mem-key{border-radius:var(--radius-button);border:1px solid var(--color-border);background:var(--color-card);min-height:54px;color:var(--color-text);font-variant-numeric:tabular-nums;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-size:1.45rem;font-weight:700;transition:background-color 80ms linear,transform 80ms ease-out}.cg-mem-key:active,.cg-mem-key.is-pressed{background:var(--color-brand-support);transform:scale(.96)}.cg-mem-key:disabled{opacity:.45}.cg-mem-key.is-wide{min-height:44px;font-size:var(--text-body-sm);color:var(--color-text-secondary);grid-column:span 3;font-weight:600}.cg-mem-key:focus-visible,.cg-mem-block:focus-visible{outline:3px solid var(--color-brand-secondary);outline-offset:2px}.cg-mem-board{aspect-ratio:5/4;border-radius:var(--radius-card);background:var(--color-bg-secondary);touch-action:manipulation;width:100%;max-width:420px;margin:0 auto;position:relative}.cg-mem-block{border:1px solid var(--color-border);background:var(--color-card);width:16%;height:20%;box-shadow:0 2px 0 var(--color-border);-webkit-tap-highlight-color:transparent;border-radius:12px;transition:background-color 90ms linear,transform 90ms ease-out;position:absolute}.cg-mem-block:disabled{cursor:default}.cg-mem-block.is-lit{background:var(--color-brand);border-color:var(--color-brand-ink);transform:scale(1.06)}.cg-mem-block.is-tapped{background:var(--color-brand-support);border-color:var(--color-brand-ink)}.cg-mem-block.is-tapped.is-lit{background:var(--color-brand)}.cg-mem-block .cg-mem-order{color:var(--color-brand-ink);font-size:.85rem;font-weight:800}.cg-mem-board.is-ok{box-shadow:inset 0 0 0 2px var(--color-brand)}.cg-mem-board.is-wrong{box-shadow:inset 0 0 0 2px var(--color-border)}.cg-mem-parts{gap:6px;display:flex}.cg-mem-part{background:var(--color-border);border-radius:999px;width:26px;height:6px}.cg-mem-part.is-done{background:var(--color-brand-ink)}.cg-mem-part.is-current{background:var(--color-brand)}.cg-mem-preview{color:var(--color-brand-ink);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:10px;font-size:1.9rem;font-weight:800;display:flex}.cg-mem-preview .is-arrow{color:var(--color-text-secondary);font-size:1.3rem}.cg-mem-preview-board{aspect-ratio:5/4;background:var(--color-bg-secondary);border-radius:12px;width:150px;margin:0 auto;position:relative}.cg-mem-preview-board span{background:var(--color-card);border:1px solid var(--color-border);border-radius:5px;width:16%;height:20%;position:absolute}.cg-mem-preview-board span.is-lit{background:var(--color-brand);border-color:var(--color-brand-ink)}.cg-mem-scale{flex-direction:column;gap:14px;display:flex}.cg-mem-row{grid-template-columns:7.5rem 1fr;align-items:center;gap:10px;display:grid}.cg-mem-rowlabel{font-size:var(--text-small);color:var(--color-text);font-weight:600;line-height:1.2}.cg-mem-track{background:var(--color-bg-secondary);border-radius:999px;height:30px;position:relative}.cg-mem-band{background:var(--color-brand-support);opacity:.75;border-radius:999px;position:absolute;top:4px;bottom:4px}.cg-mem-mean{background:var(--color-brand-ink);opacity:.6;width:2px;margin-left:-1px;position:absolute;top:2px;bottom:2px}.cg-mem-you{background:var(--color-brand-secondary);border:3px solid var(--color-card);width:22px;height:22px;box-shadow:0 0 0 1px var(--color-brand-secondary);border-radius:50%;margin:-11px 0 0 -11px;position:absolute;top:50%}.cg-mem-axis{height:18px;font-size:var(--text-breadcrumb);color:var(--color-text-secondary);font-variant-numeric:tabular-nums;margin-left:calc(7.5rem + 10px);position:relative}.cg-mem-axis span{position:absolute;transform:translate(-50%)}.cg-mem-key-you,.cg-mem-key-band{vertical-align:middle;margin-right:4px;display:inline-block}.cg-mem-key-you{background:var(--color-brand-secondary);border-radius:50%;width:12px;height:12px}.cg-mem-key-band{background:var(--color-brand-support);border-radius:999px;width:22px;height:10px}.cg-mem-ladder{flex-wrap:wrap;gap:4px;display:flex}.cg-mem-step{border:1px solid var(--color-border);text-align:center;min-width:30px;font-size:var(--text-breadcrumb);font-variant-numeric:tabular-nums;color:var(--color-text-secondary);border-radius:8px;padding:2px 6px;font-weight:700}.cg-mem-step.is-ok{border-color:var(--color-brand-ink);background:var(--color-brand-support);color:var(--color-brand-ink)}@media (width<=420px){.cg-mem-row{grid-template-columns:5.6rem 1fr}.cg-mem-axis{margin-left:calc(5.6rem + 10px)}.cg-mem-slot{width:30px;height:40px}}@media (prefers-reduced-motion:reduce){.cg-mem-digit{animation:none}.cg-mem-block,.cg-mem-key{transition:none}}.cg-mx{--mx-bg:var(--color-card);--mx-gap:6px}:where(.cg-mx) figure,:where(.cg-mx) ol{margin:0;padding:0;list-style:none}.cg-mx [tabindex="-1"]:focus{outline:none}.cg-mx-progress{background:var(--color-bg-secondary);border-radius:999px;height:4px;overflow:hidden}.cg-mx-progress>span{background:var(--color-brand);height:100%;transition:width .3s;display:block}.cg-mx-matrix{gap:var(--mx-gap);width:100%;max-width:336px;padding:var(--mx-gap);background:var(--color-bg-secondary);border-radius:18px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 auto;display:grid}.cg-mx-cell{--mx-bg:var(--color-card);aspect-ratio:1;background:var(--mx-bg);color:var(--color-text);border-radius:12px;justify-content:center;align-items:center;display:flex}.cg-mx-cell.is-gap{outline:2px dashed var(--color-brand-ink);outline-offset:-2px}.cg-mx-cell.is-gap.has-solution{box-shadow:inset 0 0 0 4px color-mix(in srgb, var(--color-brand) 25%, transparent);outline-style:solid}.cg-mx-q{color:var(--color-brand-ink);font-size:clamp(1.6rem,7vw,2.4rem);font-weight:800}.cg-mx-svg{width:100%;height:100%;display:block}.cg-mx-shape{stroke:currentColor;stroke-width:3px;stroke-linejoin:round}.cg-mx-f0{fill:var(--mx-bg)}.cg-mx-f2{fill:currentColor}.cg-mx-line{stroke:var(--color-brand-ink);stroke-width:4px;stroke-linecap:round}.cg-mx-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:420px;margin-left:auto;margin-right:auto;display:grid}.cg-mx-options.is-six{grid-template-columns:repeat(3,minmax(0,1fr));max-width:336px}.cg-mx-opt{--mx-bg:var(--color-card);aspect-ratio:1;border:2px solid var(--color-border);background:var(--mx-bg);color:var(--color-text);cursor:pointer;touch-action:manipulation;border-radius:12px;padding:4px;transition:border-color .15s,transform .15s,box-shadow .15s;display:flex;position:relative}@media (hover:hover){.cg-mx-opt:not(:disabled):hover{border-color:var(--color-brand);transform:translateY(-1px)}}.cg-mx-opt:focus-visible{outline:3px solid var(--color-brand-secondary);outline-offset:2px}.cg-mx-opt[aria-pressed=true]{border-color:var(--color-brand-ink);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-brand) 35%, transparent)}.cg-mx-opt.is-correct{border-color:var(--color-brand-ink);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-brand) 45%, transparent)}.cg-mx-opt.is-wrong{border-color:var(--color-brand-secondary);box-shadow:none}.cg-mx-opt.is-dim{opacity:.35;cursor:default}.cg-mx-num{color:var(--color-text-secondary);font-size:.7rem;font-weight:700;line-height:1;position:absolute;top:3px;left:6px}.cg-mx-feedback{border-radius:var(--radius-card);background:var(--color-mint-1);padding:14px 16px}:root.dark .cg-mx-feedback{background:var(--color-bg-secondary)}@media (hover:none){.cg-mx-keys{display:none}}.cg-mx-tier{background:var(--color-bg-secondary);border-radius:12px;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.cg-mx-tier-name{font-size:var(--text-small);color:var(--color-text)}.cg-mx-dots{gap:5px;display:inline-flex}.cg-mx-dot{border:2px solid var(--color-brand-ink);background:0 0;border-radius:999px;width:14px;height:14px}.cg-mx-dot.is-on{background:var(--color-brand-ink)}.cg-mx-review{border:1px solid var(--color-border);background:var(--color-card);border-radius:12px}.cg-mx-review>summary{cursor:pointer;font-size:var(--text-small);color:var(--color-text);align-items:center;gap:10px;padding:10px 14px;list-style:none;display:flex}.cg-mx-review>summary::-webkit-details-marker{display:none}.cg-mx-review>summary:after{content:"";border-right:2px solid var(--color-text-secondary);border-bottom:2px solid var(--color-text-secondary);width:8px;height:8px;margin-left:4px;transition:transform .15s;transform:rotate(45deg)}.cg-mx-review[open]>summary:after{transform:rotate(-135deg)}.cg-mx-review-tier{color:var(--color-text-secondary)}.cg-mx-badge{font-size:var(--text-breadcrumb);border-radius:999px;padding:2px 8px;font-weight:700}.cg-mx-badge.is-right{background:var(--color-mint-1);color:var(--color-brand-ink)}:root.dark .cg-mx-badge.is-right{background:var(--color-brand-support)}.cg-mx-badge.is-wrong{background:color-mix(in srgb, var(--color-brand-secondary) 16%, transparent);color:var(--color-brand-secondary)}.cg-mx-badge.is-skipped{background:var(--color-bg-secondary);color:var(--color-text-secondary)}.cg-mx-review-body{padding:4px 14px 14px}.cg-mx-review-figs{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.cg-mx-review-cap{font-size:var(--text-breadcrumb);text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-secondary);margin-bottom:6px;font-weight:700}.cg-mx-matrix.is-mini{--mx-gap:3px;border-radius:10px;width:180px;max-width:100%;margin:0}.cg-mx-matrix.is-mini .cg-mx-cell{border-radius:6px}.cg-mx-matrix.is-mini .cg-mx-cell.is-gap.has-solution{box-shadow:none}.cg-mx-cell.is-pick{border:2px solid var(--color-brand-secondary);width:58px}
