.python-card-preview{min-width:0}.python-card-stage{min-width:0;color:var(--term-tone-ink);font-variant-numeric:tabular-nums;gap:8px;display:grid}.python-card-head{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.python-card-title{color:var(--term-tone-ink);font-size:13.5px;font-weight:700;line-height:1.4}.python-card-badge{background:var(--term-tone-soft);color:var(--term-tone-accent);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:2px 8px;font-size:12px;font-weight:650}.python-card-row{background:var(--term-tone-stage);border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 8px;padding:8px 11px;display:flex;box-shadow:inset 0 1px #ffffff8c}html[data-lg-theme=dark] .python-card-row{box-shadow:inset 0 1px #ffffff14}.python-card-row.is-featured{background:var(--term-tone-soft)}.python-card-label{color:var(--term-tone-accent);white-space:nowrap;flex-shrink:0;font-size:12px;font-weight:700}.python-card-code{color:var(--term-tone-ink);font-family:var(--font-mono);font-size:12px;font-weight:600}.python-card-pill{white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:11.5px;font-weight:650}.python-card-pill.is-pass{background:var(--pass-wash);color:var(--pass-ink)}.python-card-pill.is-warn{background:var(--warn-wash);color:var(--warn-ink)}.term-interactive-demo.python-demo{background:var(--term-tone-bg);-webkit-backdrop-filter:blur(14px)saturate(175%);box-shadow:var(--lg-rim), var(--lg-elevation-sm);color:var(--term-tone-ink);font-variant-numeric:tabular-nums;border:0;border-radius:22px;gap:16px;padding:clamp(16px,3vw,24px);display:grid}.term-interactive-demo.python-demo button{background:var(--term-tone-stage);min-height:38px;box-shadow:var(--lg-rim), 0 1px 4px #0f172a0f;color:var(--term-tone-ink);cursor:pointer;transition:background-color .16s ease, color .16s ease, transform .15s var(--lg-spring), box-shadow .16s ease;border:0;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:650}.term-interactive-demo.python-demo button:hover:not(:disabled):not([aria-pressed=true]){background:var(--term-tone-soft);color:var(--term-tone-ink)}.term-interactive-demo.python-demo button:active:not(:disabled){transform:scale(.96)}.term-interactive-demo.python-demo button:focus-visible{outline:2px solid var(--term-tone-accent);outline-offset:2px}.term-interactive-demo.python-demo button:disabled{opacity:.52;cursor:default;box-shadow:none}.python-topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.python-task-tabs,.python-mode-switch{background:var(--term-tone-stage);border-radius:16px;flex-wrap:wrap;gap:6px;padding:4px;display:flex;box-shadow:inset 0 1px 2px #0f172a0d}.term-interactive-demo.python-demo .python-tab-btn,.term-interactive-demo.python-demo .python-mode-btn{min-height:34px;box-shadow:none;background:0 0;border-radius:12px;padding:6px 12px;font-size:12.5px}.term-interactive-demo.python-demo .python-tab-btn[aria-pressed=true],.term-interactive-demo.python-demo .python-mode-btn[aria-pressed=true]{background:var(--term-tone-accent);color:var(--term-tone-accent-ink);box-shadow:inset 0 1px #ffffff47,0 3px 10px #0f172a29}.python-pipeline{background:var(--term-tone-stage);border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;margin:0;padding:10px 14px;list-style:none;display:flex;box-shadow:inset 0 1px 2px #0f172a0a}.python-pipe-step{background:var(--term-tone-soft);color:var(--term-tone-muted);border-radius:999px;align-items:center;gap:7px;padding:4px 10px 4px 6px;font-size:12.5px;font-weight:650;transition:background-color .18s,color .18s;display:inline-flex}.python-pipe-dot{background:var(--term-tone-stage);width:20px;height:20px;font-family:var(--font-mono);border-radius:50%;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:inline-flex}.python-pipe-step.is-done{background:var(--pass-wash);color:var(--pass-ink)}.python-pipe-step.is-fail{background:var(--fail-wash);color:var(--fail-ink)}.python-pipe-step.is-idle{background:var(--paper-well);color:var(--term-tone-muted);opacity:.72}.python-pipe-arrow{color:var(--term-tone-muted);opacity:.65;font-size:13px}.python-workbench{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:16px;display:grid}.python-pane{background:var(--term-tone-stage);border:0;border-radius:18px;gap:12px;min-width:0;padding:16px;display:grid;box-shadow:inset 0 1px 2px #0f172a0a,0 1px #ffffffa6}html[data-lg-theme=dark] .python-pane{box-shadow:inset 0 1px #ffffff14,inset 0 1px 3px #00000059}.python-pane-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.python-pane-head strong{color:var(--term-tone-ink);font-size:14px;font-weight:700}.python-pane-head small{color:var(--term-tone-muted);font-size:12px}.python-exit-pill{border-radius:999px;padding:3px 10px;font-size:11.5px;font-weight:700}.python-exit-pill.is-ok{background:var(--pass-wash);color:var(--pass-ink)}.python-exit-pill.is-error{background:var(--fail-wash);color:var(--fail-ink)}.python-code-surface{background:var(--term-tone-bg);border-radius:14px;grid-template-columns:28px minmax(0,1fr);transition:box-shadow .16s;display:grid;overflow:hidden;box-shadow:inset 0 1px 3px #0f172a0f}.python-code-surface.is-ok{box-shadow:inset 0 0 0 1.5px var(--pass-ink)}.python-code-surface.is-error{box-shadow:inset 0 0 0 1.5px var(--fail-ink)}.python-gutter{text-align:right;font-family:var(--font-mono);color:var(--term-tone-muted);opacity:.65;-webkit-user-select:none;user-select:none;background:var(--paper-well);flex-direction:column;padding:11px 6px 11px 0;font-size:12px;line-height:1.6;display:flex}.python-code-pre{font-family:var(--font-mono);color:var(--term-tone-ink);white-space:pre;margin:0;padding:11px 12px;font-size:12.5px;line-height:1.6;overflow-x:auto}.python-why-note{color:var(--term-tone-muted);margin:0;font-size:12.5px;line-height:1.58}.python-why-note strong{color:var(--term-tone-ink)}.python-action-bar{flex-wrap:wrap;gap:8px;display:flex}.term-interactive-demo.python-demo .python-btn-primary{background:var(--term-tone-accent);min-height:38px;color:var(--term-tone-accent-ink);padding:8px 16px;font-size:13px;box-shadow:inset 0 1px #ffffff47,0 3px 10px #0f172a29}.term-interactive-demo.python-demo .python-btn-primary:hover:not(:disabled){filter:brightness(1.06);background:var(--term-tone-accent);color:var(--term-tone-accent-ink)}.term-interactive-demo.python-demo .python-btn-ghost{background:var(--term-tone-soft);min-height:38px;box-shadow:none;padding:8px 14px;font-size:12.5px}.python-terminal-box{background:var(--term-tone-bg);box-shadow:var(--lg-rim);font-family:var(--font-mono);border-radius:14px;gap:6px;padding:12px 14px;transition:background-color .18s;display:grid}.python-terminal-box.is-ok{background:var(--pass-wash);color:var(--pass-ink)}.python-terminal-box.is-error{background:var(--fail-wash);color:var(--fail-ink)}.python-terminal-cmd{opacity:.82;font-size:11.5px;font-weight:700}.python-terminal-box pre{white-space:pre-wrap;overflow-wrap:break-word;margin:0;font-family:inherit;font-size:12px;line-height:1.55}.python-artifact-card{background:var(--term-tone-bg);box-shadow:var(--lg-rim);border:0;border-radius:16px;gap:10px;padding:14px 15px;transition:background-color .2s;display:grid}.python-artifact-card.is-ok{background:var(--term-tone-bg)}.python-artifact-card.is-error{background:var(--warn-wash)}.python-artifact-card header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.python-artifact-card header span{color:var(--term-tone-muted);font-weight:650}.python-artifact-card header b{background:var(--term-tone-stage);border-radius:999px;padding:2px 9px;font-size:11.5px;font-weight:700}.python-artifact-card.is-ok header b{color:var(--pass-ink)}.python-artifact-card.is-error header b{color:var(--warn-ink)}.python-photo-list{gap:7px;margin:0;padding:0;list-style:none;display:grid}.python-photo-list li{background:var(--term-tone-stage);border-radius:10px;flex-wrap:wrap;align-items:center;gap:6px 8px;padding:7px 10px;font-size:12px;display:flex}.python-file-old{font-family:var(--font-mono);color:var(--term-tone-muted);text-decoration:line-through}.python-file-arrow{color:var(--term-tone-accent);font-weight:700}.python-file-new{font-family:var(--font-mono);color:var(--term-tone-ink);font-weight:700}.python-photo-list small{color:var(--term-tone-muted);margin-left:auto;font-size:11.5px}.python-expense-list{gap:10px;display:grid}.python-expense-row{gap:5px;display:grid}.python-expense-meta{justify-content:space-between;align-items:baseline;gap:8px;font-size:12.5px;display:flex}.python-expense-meta span{color:var(--term-tone-muted);font-weight:600}.python-expense-meta strong{font-family:var(--font-mono);color:var(--term-tone-ink);font-weight:700}.python-bar-track{background:var(--term-tone-soft);border-radius:999px;height:7px;overflow:hidden}.python-bar-fill{background:var(--term-tone-accent);border-radius:999px;height:100%;transition:width .22s;display:block}.python-expense-total{border-top:1px dashed var(--rule-strong);justify-content:space-between;align-items:baseline;gap:8px;padding-top:8px;font-size:13px;display:flex}.python-expense-total span{color:var(--term-tone-muted);font-weight:650}.python-expense-total strong{font-family:var(--font-mono);color:var(--pass-ink);font-size:14.5px;font-weight:750}.python-ai-summary{gap:8px;display:grid}.python-ai-meta{font-family:var(--font-mono);color:var(--term-tone-muted);flex-wrap:wrap;gap:6px 12px;font-size:11.5px;display:flex}.python-ai-bullets{color:var(--term-tone-ink);gap:6px;margin:0;padding-left:18px;font-size:12.5px;line-height:1.55;display:grid}.python-fallback-body{justify-items:start;gap:10px;display:grid}.python-fallback-body p{color:var(--warn-ink);margin:0;font-size:12.5px;line-height:1.55}.python-demo-status{background:var(--term-tone-stage);color:var(--term-tone-muted);border-radius:12px;margin:0;padding:11px 14px;font-size:13px;line-height:1.55}.python-demo-status strong{color:var(--term-tone-ink)}.python-lead{margin:14px 0 10px;line-height:1.65}@media (max-width:760px){.python-workbench{grid-template-columns:1fr}.python-action-bar button{flex:auto}}@media (prefers-reduced-motion:reduce){.term-interactive-demo.python-demo *{transition:none!important;animation:none!important}}
