.pyc,.pyc-seo,.pyc-toast{--pyc-error:#dc2626;--pyc-warning:#d97706;--pyc-success:var(--primary);--pyc-primary-soft:color-mix(in srgb, var(--primary) 12%, transparent)}:root[data-theme=dark] .pyc,:root[data-theme=dark] .pyc-seo,:root[data-theme=dark] .pyc-toast{--pyc-error:#f87171;--pyc-warning:#fbbf24;--pyc-success:var(--accent);--pyc-primary-soft:color-mix(in srgb, var(--accent) 16%, transparent)}.pyc{padding-block:1.5rem 2rem}.pyc-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:.75rem;margin-bottom:1rem;display:flex}.pyc-title{margin-bottom:.15em;font-size:clamp(1.6rem,3vw + .5rem,2.2rem)}.pyc-lead{margin:0;font-size:.95rem}.pyc-btn{border-radius:var(--radius-pill);min-height:2.1rem;color:var(--text);font-family:var(--font-body);cursor:pointer;background:0 0;border:1.5px solid #0000;justify-content:center;align-items:center;gap:.35rem;padding:.3rem .85rem;font-size:.85rem;font-weight:500;line-height:1.2;transition:background .15s,border-color .15s,color .15s;display:inline-flex}.pyc-btn:disabled{opacity:.5;cursor:not-allowed}.pyc-btn--primary{background:var(--primary);border-color:var(--primary);color:#fff;font-family:var(--font-brand);font-weight:700}.pyc-btn--primary:not(:disabled):hover{background:var(--primary-hover);border-color:var(--primary-hover)}:root[data-theme=dark] .pyc-btn--primary{background:var(--accent);border-color:var(--accent);color:var(--bg-dark)}.pyc-btn--outline{border-color:var(--border);background:var(--surface)}.pyc-btn--outline:not(:disabled):hover,.pyc-btn--ghost:not(:disabled):hover{background:var(--pyc-primary-soft);color:var(--primary)}:root[data-theme=dark] .pyc-btn--outline:not(:disabled):hover,:root[data-theme=dark] .pyc-btn--ghost:not(:disabled):hover{color:var(--accent)}.pyc-btn--xs{min-height:1.6rem;padding:.1rem .6rem;font-size:.75rem}.pyc-toggle[aria-pressed=true]{background:var(--pyc-primary-soft);color:var(--primary)}:root[data-theme=dark] .pyc-toggle[aria-pressed=true]{color:var(--accent)}.pyc-kbd{opacity:.8;border:1px solid;border-radius:6px;margin-inline-start:.25rem;padding:.05em .4em;font-size:.72em;display:inline-block}.pyc-field{border:1.5px solid var(--border);background:var(--surface);min-height:2.1rem;color:var(--text);font-family:var(--font-body);border-radius:10px;padding:.3rem .7rem;font-size:.85rem}.pyc-field:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--primary)}.pyc-pkg{width:11rem;font-family:var(--font-code)}.pyc-toolbar{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding:.6rem .75rem;display:flex}.pyc-group{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.pyc-group--end{margin-inline-start:auto}.pyc-label{color:var(--text-muted);font-size:.78rem}.pyc-font-size{text-align:center;font-variant-numeric:tabular-nums;min-width:1.5rem;color:var(--text-muted);font-size:.8rem}.pyc-alert{border-radius:var(--radius-card);border:1px solid color-mix(in srgb, var(--pyc-warning) 40%, transparent);background:color-mix(in srgb, var(--pyc-warning) 10%, transparent);color:var(--pyc-warning);margin:.75rem 0 0;padding:.6rem .9rem;font-size:.875rem}.pyc-hint{margin:.75rem 0 0;font-size:.8rem}.pyc-status{border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--surface);color:var(--text-muted);align-items:center;gap:.5rem;padding:.3rem .8rem;font-size:.78rem;display:inline-flex}.pyc-dot{background:var(--text-muted);border-radius:9999px;width:.5rem;height:.5rem}.pyc-status[data-state=loading] .pyc-dot{background:var(--pyc-warning);animation:1s ease-in-out infinite pyc-pulse}.pyc-status[data-state=ready] .pyc-dot{background:var(--pyc-success)}.pyc-status[data-state=running] .pyc-dot{background:var(--primary);animation:.8s ease-in-out infinite pyc-pulse}.pyc-status[data-state=error]{color:var(--pyc-error)}.pyc-status[data-state=error] .pyc-dot{background:var(--pyc-error)}@keyframes pyc-pulse{50%{opacity:.25}}.pyc-split{--pyc-editor-w:55%;--pyc-font-size:14px;grid-template-columns:var(--pyc-editor-w) 6px minmax(0, 1fr);border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);height:clamp(420px,100dvh - 17rem,900px);box-shadow:var(--card-shadow);margin-top:.75rem;display:grid;overflow:hidden}.pyc-pane{flex-direction:column;min-width:0;min-height:0;display:flex}.pyc-pane-head{border-bottom:1px solid var(--border);background:var(--code-bg);font-family:var(--font-code);color:var(--text-muted);flex:none;justify-content:space-between;align-items:center;gap:.5rem;padding:.35rem .75rem;font-size:.72rem;display:flex}.pyc-pane-tools{align-items:center;gap:.5rem;display:flex}.pyc-time{font-variant-numeric:tabular-nums;color:var(--primary)}:root[data-theme=dark] .pyc-time{color:var(--accent)}.pyc-divider{background:var(--border);cursor:col-resize;touch-action:none;transition:background .15s}.pyc-divider:hover,.pyc-divider:focus-visible{background:var(--primary);outline:none}@media (width<=767px){.pyc-split{grid-template-rows:1fr 6px 1fr;grid-template-columns:minmax(0,1fr);height:auto}.pyc-pane{height:42vh}.pyc-divider{cursor:default}}.pyc-editor{flex:1;min-height:0}.pyc-editor .cm-editor{height:100%;font-family:var(--font-code)}.pyc-editor .cm-scroller{font-family:var(--font-code);overflow:auto}:root[data-theme=dark] .pyc-editor .cm-editor,:root[data-theme=dark] .pyc-editor .cm-gutters{background:var(--surface)}:root[data-theme=dark] .pyc-editor .cm-activeLine,:root[data-theme=dark] .pyc-editor .cm-activeLineGutter{background:var(--code-bg)}.pyc-console{min-height:0;font-family:var(--font-code);font-size:var(--pyc-font-size);white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;color:var(--text);flex:1;padding:.75rem;line-height:1.55;overflow:auto}.pyc-stderr{color:var(--pyc-error)}.pyc-system{color:var(--text-muted);font-style:italic}.pyc-stdin{color:var(--primary)}:root[data-theme=dark] .pyc-stdin{color:var(--accent)}.pyc-img{background:#fff;border-radius:8px;max-width:100%;margin:.5rem 0;display:block}.pyc-input-row{border-top:1px solid var(--primary);background:var(--pyc-primary-soft);flex:none;align-items:center;gap:.5rem;padding:.45rem .6rem;display:flex}.pyc-input-prompt{color:var(--primary);font-family:var(--font-code)}.pyc-input{border:1.5px solid var(--border);background:var(--surface);min-width:0;color:var(--text);font-family:var(--font-code);font-size:var(--pyc-font-size);border-radius:8px;flex:1;padding:.35rem .5rem}.pyc-input:focus{outline:2px solid var(--accent);outline-offset:1px}.pyc-seo{flex-direction:column;gap:3rem;max-width:60rem;padding-block:2rem 4rem;display:flex}.pyc-seo-section>.tag{margin-bottom:.6rem}.pyc-seo-section h2{margin-bottom:.9rem}.pyc-byline{flex-wrap:wrap;gap:.4rem;margin:-.4rem 0 1rem;font-size:.85rem;display:flex}.pyc-byline a{font-weight:500}.pyc-figure{border-radius:var(--radius-card);border:1px solid var(--border);box-shadow:var(--card-shadow);margin:0 0 1.25rem;overflow:hidden}.pyc-figure img{width:100%;height:auto;display:block}.pyc-seo-text{font-size:1.05rem;line-height:1.9}.pyc-seo-text p:last-child{margin-bottom:0}.pyc-card-title{font-family:var(--font-body);margin:0 0 .25rem;font-size:.95rem;font-weight:700}.pyc-card-text{margin:0;font-size:.9rem;line-height:1.7}.pyc-features{grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.pyc-steps{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.pyc-steps>li{align-items:flex-start;gap:.85rem;display:flex}.pyc-step-num{background:var(--pyc-primary-soft);width:2rem;height:2rem;color:var(--primary);font-family:var(--font-code);border-radius:9999px;flex:none;place-items:center;font-size:.85rem;font-weight:600;display:grid}:root[data-theme=dark] .pyc-step-num{color:var(--accent)}.pyc-examples-row{margin:1rem 0 0;font-size:.9rem}.pyc-example-link{cursor:pointer;font-family:var(--font-body);border:0;margin:.15rem .1rem}.pyc-example-link:hover{background:var(--primary);color:#fff}.pyc-table-wrap{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);overflow-x:auto}.pyc-table{border-collapse:collapse;width:100%;min-width:40rem;font-size:.875rem}.pyc-table th,.pyc-table td{border-bottom:1px solid var(--border);text-align:start;vertical-align:top;padding:.6rem .85rem}.pyc-table thead th{background:var(--code-bg);color:var(--text-muted);font-size:.78rem;font-weight:700}.pyc-table tbody th{color:var(--heading);white-space:nowrap;font-weight:700}.pyc-table tbody td:first-of-type{color:var(--primary);font-weight:500}:root[data-theme=dark] .pyc-table tbody td:first-of-type{color:var(--accent)}.pyc-table tr:last-child th,.pyc-table tr:last-child td{border-bottom:0}.pyc-note{margin:.9rem 0 0;font-size:.9rem}.pyc-faq{flex-direction:column;gap:.5rem;display:flex}.pyc-faq details{padding:0}.pyc-faq details summary{cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;padding:.85rem 1.1rem;list-style:none;display:flex}.pyc-faq details summary::-webkit-details-marker{display:none}.pyc-faq details summary h3{font-family:var(--font-body);color:var(--heading);margin:0;font-size:.95rem;font-weight:700}.pyc-faq-chev{color:var(--text-muted);flex:none;transition:transform .2s}.pyc-faq details[open] .pyc-faq-chev{transform:rotate(180deg)}.pyc-faq details>p{color:var(--text-muted);margin:0;padding:0 1.1rem 1rem;font-size:.925rem;line-height:1.85}.pyc-en h2{font-family:var(--font-body);font-weight:700}.pyc-cta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;padding:1.5rem;display:flex}.pyc-cta-title{margin-bottom:.25rem;font-size:1.25rem}.pyc-cta-text{margin:0;font-size:.9rem}.pyc-cta-text a{text-underline-offset:3px;text-decoration:underline}.pyc-toast{z-index:60;border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface);color:var(--text);box-shadow:var(--card-shadow);padding:.5rem .9rem;font-size:.85rem;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%)}
