.python-dialog{width:min(1120px,96vw);max-width:96vw;height:min(900px,95dvh);max-height:95dvh;margin:auto;padding:0;border:1px solid #d9e1f3;border-radius:18px;background:#fff;color:#1d2b4e;box-shadow:0 25px 100px #1b294d44;overflow:auto;font:13px/1.6 Montserrat,Arial,sans-serif}.python-dialog::backdrop{background:#16213f88}.python-head{display:flex;align-items:center;gap:20px;padding:18px 22px;border-bottom:1px solid #e4e9f4}.python-head h2{margin:2px 0 0;font-size:22px}.python-head .eyebrow{font-size:9px}#python-clock{margin-left:auto;font-size:12px;color:#617093}.python-notice{padding:10px 22px;background:#f1f4fb;color:#53617e;font-size:11px}.python-notice.is-recording{background:#fff7e7;color:#866019}.python-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 22px}.python-toolbar label{display:flex;align-items:center;gap:8px;font-size:11px}.python-toolbar select{max-width:300px;border:1px solid #d8e1f2;border-radius:7px;padding:8px;background:#fff;color:#25365a;font:inherit}.python-filename{color:#8390ac;margin-right:auto;font:12px Consolas,monospace}.python-dialog .btn{min-height:36px;font-size:11px;padding:8px 14px;white-space:nowrap}.python-dialog button:disabled{opacity:.5;cursor:not-allowed}.python-editor{display:flex;margin:0 22px;min-height:250px;height:34vh;border:1px solid #223957;border-radius:10px;background:#17233b;overflow:hidden}.python-gutter{flex:0 0 46px;margin:0;padding:14px 10px;color:#7486a5;text-align:right;overflow:hidden;user-select:none;font:14px/1.65 Consolas,ui-monospace,monospace}#python-source{display:block;flex:1;min-width:0;height:100%;padding:14px 12px 14px 0;border:0;outline:0;background:transparent;color:#edf3ff;resize:none;white-space:pre;tab-size:4;font:14px/1.65 Consolas,ui-monospace,monospace;overflow:auto}#python-source:focus{box-shadow:inset 0 0 0 1px #6382ff}.python-io{display:grid;grid-template-columns:1fr 1.6fr;gap:16px;padding:16px 22px}.python-io>label{font-size:11px;font-weight:600}.python-io textarea{display:block;width:100%;box-sizing:border-box;min-height:100px;margin-top:8px;padding:10px;border:1px solid #d7e0f1;border-radius:7px;background:#fafbfe;resize:vertical;font:12px/1.6 Consolas,monospace}.python-output-head{display:flex;gap:12px;justify-content:space-between;font-size:11px}#python-run-status{font-weight:400;color:#6e7b98}.python-io pre{margin:8px 0 0;max-height:160px;min-height:48px;overflow:auto;white-space:pre;padding:10px;border:1px solid #e0e6f2;border-radius:7px;background:#f8faff;color:#293f64;font:12px/1.6 Consolas,monospace}.python-io pre:empty{display:none}.python-error{color:#b33b4d!important}.python-files{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:0 22px 14px}.python-files input[type=file]{position:absolute;width:1px;height:1px;opacity:0}.python-files small{font-size:10px;color:#73819c}.python-files>span{font-size:11px;overflow-wrap:anywhere}.python-foot{display:flex;align-items:center;gap:12px;padding:14px 22px;border-top:1px solid #e3e9f3}.python-foot>span{font-size:11px;margin-right:auto}.python-review-source{max-height:520px;min-height:150px;max-width:100%;overflow:auto;padding:18px;border-radius:10px;background:#17233b;color:#edf3ff;font:13px/1.65 Consolas,monospace;white-space:pre}.code-review-summary{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.code-review-summary span{padding:7px 12px;background:#edf2ff;border-radius:8px;font-size:11px}.code-review input[type=range]{width:100%;accent-color:#4266ec}.code-review details{margin:18px 0;border:1px solid #e2e8f4;border-radius:10px;padding:12px}.code-review summary{cursor:pointer;font-size:12px;font-weight:600}.code-review pre{max-width:100%;max-height:350px;overflow:auto}.code-paste-row{background:#fff7e7}.python-run-review pre{padding:10px;background:#f7f9ff;font:12px/1.6 Consolas,monospace}.code-review .account-table td pre{max-width:500px;max-height:100px;white-space:pre-wrap;overflow-wrap:anywhere}.code-recording-choice{margin:18px 0}.code-recording-choice input{accent-color:#4266ec}.code-recording-choice small{display:block;margin-top:7px;font-size:10px;line-height:1.7;color:#7684a1}.code-review-link{display:block;margin-top:8px;font-size:10px;color:#4266ec}
@media(max-width:680px){.python-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0}.python-head{padding:12px;gap:8px;flex-wrap:wrap}.python-head .eyebrow{display:none}.python-head h2{font-size:18px}#python-clock{font-size:10px}.python-notice{padding:10px 12px}.python-toolbar{padding:12px;gap:8px}.python-toolbar select{max-width:220px}.python-filename{display:none}.python-editor{margin:0 12px;height:36vh;min-height:230px}.python-gutter{flex-basis:33px;padding-left:4px;padding-right:6px}#python-source,.python-gutter{font-size:13px}.python-io{grid-template-columns:1fr;padding:12px;gap:12px}.python-files{padding:0 12px 12px}.python-foot{padding:12px;flex-wrap:wrap}.python-foot>span{flex-basis:100%}.code-review-summary{gap:6px}.code-review .account-table{min-width:650px}}

.code-recording-choice{display:block!important;font-size:12px}.code-recording-choice input{margin-right:7px;vertical-align:middle}
