:root{--nb-keyword:#9650b0;--nb-string:#267249;--nb-number:#296cb3}
@media(prefers-color-scheme:dark){html:not([data-theme=light]):not([data-theme=dark]){--nb-keyword:#d597ed;--nb-string:#90c698;--nb-number:#86baf0}}
.notebook-filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:24px}.notebook-filters label{flex:1;min-width:180px;margin:0}.notebook-filters label:first-child{flex:2}.notebook-card{display:flex;flex-direction:column;min-width:0}.notebook-card h2{font-size:23px;line-height:1.35;margin:20px 0 8px;overflow-wrap:anywhere}.notebook-card h2 a{color:inherit}.notebook-card-top{display:flex;align-items:center;justify-content:space-between}.notebook-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#fff1dc;color:#b16907;font-size:25px}.notebook-meta{display:flex;gap:10px;flex-wrap:wrap;color:#81788d;font-size:12px;margin:16px 0}.notebook-card .variant-bottom{margin-top:auto;padding-top:12px}.notebook-pagination{display:flex;align-items:center;justify-content:center;gap:18px;margin:24px 0}.notebook-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;align-items:start}.notebook-outline{position:sticky;top:20px;padding:18px}.notebook-outline nav{display:grid;gap:4px;max-height:50vh;overflow:auto;margin:12px -6px}.notebook-outline nav a{display:block;padding:9px 8px;border-radius:6px;color:inherit;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.notebook-outline nav a:hover{background:var(--soft);color:var(--purple)}.notebook-outline nav small{display:block;opacity:.65;font-size:11px;line-height:1.5}.notebook-outline .muted,.notebook-outline details{font-size:12px;line-height:1.6}.notebook-delete-link{display:block;font-size:12px;margin-top:22px;color:#b6465b}.notebook-editor,.notebook-document{min-width:0}.notebook-settings details{margin-top:16px}.notebook-settings details summary{cursor:pointer;font-size:13px;color:#796a8f}.notebook-settings details[open] summary{margin-bottom:14px}.notebook-document{border:1px solid #e2dfeb;background:var(--surface);border-radius:14px;padding:20px}.notebook-document-bar{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e6e2ec;padding-bottom:18px;margin-bottom:22px;font-size:14px}.notebook-document-bar .composer-counter{margin-left:auto}.notebook-document-bar .button{font-size:12px;padding:8px 12px}.notebook-editor .content-block{border:1px solid #e1ddea;border-radius:7px;margin:14px 0;scroll-margin-top:24px}.notebook-editor .content-block:focus-within{border-left:3px solid #e5a13b;box-shadow:0 0 0 2px #e5a13b15}.notebook-editor .content-block-head{background:var(--surface);gap:8px;padding:6px 9px}.notebook-editor .block-grip{font-size:19px}.notebook-editor .block-kind select{font-size:12px}.notebook-editor .rich-editor{font-size:16px;line-height:1.8;min-height:130px}.notebook-editor .rich-toolbar{padding:4px 8px;position:static}.notebook-editor .rich-toolbar button{font-size:12px}.notebook-editor .block-actions button{font-size:12px}.notebook-editor .block-writing>.source-label{display:none}.notebook-editor .insert-here{font-size:11px;padding:6px}.notebook-editor .block-palette{background:var(--paper);border-style:solid;padding:10px}.notebook-editor .block-palette button{font-size:12px}.notebook-editor .block-palette>span{color:#65516f}.notebook-save p{font-size:12px;line-height:1.7}.notebook-code-input{display:flex;min-width:0;position:relative;background:var(--surface)}.notebook-code-input .block-text-source{flex:1;min-width:0;line-height:24px!important;padding:14px 12px!important;min-height:190px;white-space:pre;overflow:auto;background:transparent!important;color:var(--ink)!important;tab-size:4;box-shadow:none!important;font-size:14px!important}.notebook-line-numbers{width:44px;min-width:44px;margin:0;padding:14px 8px 14px 0;text-align:right;font:14px/24px Consolas,monospace;color:#a39aaf;border-right:1px solid #e7e4ed;max-height:190px;overflow:hidden;user-select:none;background:transparent}.notebook-code-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding:8px 12px;background:var(--surface);border-bottom:1px solid #e6e4ec;font-size:11px}.notebook-code-tools span{margin-right:auto;color:#786f85}.notebook-code-tools button{border:1px solid #dcd6e6;border-radius:5px;padding:4px 8px;background:var(--paper);color:#675773;font-size:11px;cursor:pointer}.notebook-code-status{display:block;padding:0 12px;font-size:12px;color:#83663c}.notebook-code-status:empty{display:none}.notebook-editor [data-kind]:not([data-kind=code]) .notebook-code-input,.notebook-editor [data-kind]:not([data-kind=code]) .notebook-code-tools,.notebook-editor [data-kind]:not([data-kind=code]) .notebook-code-status{display:none}.notebook-reader{display:grid;gap:12px}.notebook-cell{display:flex;min-width:0;scroll-margin-top:24px}.notebook-cell-gutter{min-width:44px;text-align:center;font:12px/1.6 Consolas,monospace;color:#ada4b9;padding-top:19px}.notebook-cell-body{flex:1;min-width:0;background:var(--paper);border:1px solid #e7e3ed;border-radius:7px;padding:20px}.notebook-cell-text .notebook-cell-body{border-color:transparent;background:transparent}.notebook-cell .rich-content{font-size:16px;line-height:1.8}.notebook-cell .rich-content>:last-child{margin-bottom:0}.notebook-cell figure{margin:0}.notebook-cell img{max-width:100%;height:auto;display:block;margin:auto;border-radius:5px}.notebook-cell video{width:100%;max-height:500px;border-radius:5px;background:#1e1b26}.notebook-cell figcaption{font-size:12px;line-height:1.6;text-align:center;color:#837a90;margin-top:10px}.notebook-cell-code .notebook-cell-body{padding:0;background:var(--surface);overflow:hidden}.notebook-code-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;font:12px/1.5 Consolas,monospace;color:#84798f;border-bottom:1px solid #e6e3eb}.notebook-code-heading button{border:0;background:transparent;color:#725296;font:12px/1.5 inherit;cursor:pointer}.notebook-code pre{white-space:pre;overflow:auto;margin:0;padding:18px;font:14px/1.8 Consolas,monospace;background:transparent!important;color:var(--ink);border-radius:0}.notebook-code code{font:inherit}.nb-token-keyword{color:var(--nb-keyword);font-weight:600}.nb-token-string{color:var(--nb-string)}.nb-token-comment{color:#8e8697;font-style:italic}.nb-token-number{color:var(--nb-number)}.notebook-cell-divider .notebook-cell-body{border:0;padding:5px 0;background:transparent}.notebook-cell hr{border:0;border-top:1px solid #ddd7e7}.notebook-heading-tools{display:flex;gap:10px;flex-wrap:wrap}.notebook-embedded{border:1px solid #e6e2ec;background:var(--surface);border-radius:12px;padding:18px;min-width:0}.notebook-embedded-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 20px 44px}.notebook-embedded-heading h2{margin:6px 0;font-size:22px}.notebook-embedded-heading>a{font-size:12px;white-space:nowrap}.notebook-delete{max-width:780px}
html[data-theme=dark] .notebook-document,html[data-theme=dark] .notebook-embedded{background:#191724;border-color:#393244}html[data-theme=dark] .notebook-cell-body,html[data-theme=dark] .notebook-editor .block-palette{background:#211d2c;border-color:#3d344a}html[data-theme=dark] .notebook-cell-text .notebook-cell-body{background:transparent;border-color:transparent}html[data-theme=dark] .notebook-editor .content-block-head,html[data-theme=dark] .notebook-code-input,html[data-theme=dark] .notebook-code-tools,html[data-theme=dark] .notebook-cell-code .notebook-cell-body{background:#272332}html[data-theme=dark] .notebook-code pre,html[data-theme=dark] .notebook-code-input .block-text-source{color:#e9e2f2!important}html[data-theme=dark] .notebook-code-tools button{background:#332b41;border-color:#51405f;color:#e1d4ed}html[data-theme=dark] .nb-token-keyword{color:#d597ed}html[data-theme=dark] .nb-token-string{color:#90c698}html[data-theme=dark] .nb-token-number{color:#86baf0}html[data-theme=dark] .notebook-outline nav a:hover{background:#32253e}html[data-theme=dark] .notebook-mark{background:#402c1a;color:#e6b371}
@media(max-width:1100px){.notebook-workspace{grid-template-columns:180px minmax(0,1fr);gap:16px}.notebook-outline{padding:14px}.notebook-document{padding:14px}}
@media(max-width:850px){.notebook-workspace{grid-template-columns:minmax(0,1fr)}.notebook-outline{position:static}.notebook-outline nav{max-height:130px;display:flex;flex-wrap:wrap;margin:0;gap:5px}.notebook-outline nav a{padding:6px 9px;background:var(--surface);font-size:11px}.notebook-outline nav small{display:none}.notebook-outline details{margin-top:8px}.notebook-outline h3{font-size:14px;margin:0 0 8px}.notebook-delete-link{margin-top:10px}.notebook-view .notebook-outline{display:none}}
@media(max-width:550px){.notebook-document{padding:10px;border-radius:9px}.notebook-cell-gutter{min-width:26px;font-size:10px}.notebook-cell-body{padding:12px}.notebook-cell .rich-content{font-size:15px}.notebook-embedded{padding:8px}.notebook-embedded-heading{margin-left:26px;align-items:start;flex-direction:column}.notebook-code pre{padding:12px;font-size:12px}.notebook-document-bar{gap:7px;flex-wrap:wrap;font-size:12px}.notebook-document-bar .notebook-mark{width:26px;height:26px;font-size:20px}.notebook-editor .block-actions button{padding:5px}.notebook-code-input .block-text-source{font-size:12px!important;padding:10px!important}.notebook-line-numbers{min-width:32px;width:32px;padding-top:10px;font-size:12px}.notebook-card h2{font-size:21px}}
@media print{.sidebar,.topbar,footer,.skip-link,.back-link,.notebook-outline,.notebook-heading-tools,.notebook-code-heading button{display:none!important}.main-shell{margin:0!important;padding:0!important}.notebook-workspace{display:block}.notebook-document,.notebook-cell-body{background:#fff!important;color:#000!important;border-color:#ddd!important}.notebook-code pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#000!important}.notebook-cell{break-inside:avoid}.notebook-cell video{display:none}.notebook-document{padding:0;border:0}.page-heading h1{font-size:28px}}

.notebook-workspace>form.stack{display:grid;gap:18px}.notebook-save .editor-actions{display:flex;flex-wrap:wrap;gap:10px}
.notebook-code-heading button{color:var(--purple)}.notebook-code-tools span,.notebook-settings details summary,.notebook-cell figcaption,.notebook-meta{color:var(--muted)}
