.rust-lab .lab-main{background:#fff}.rust-welcome{gap:42px}.rust-welcome h1{letter-spacing:-.065em;font-size:clamp(38px,4vw,59px)}.rust-hero-art{background-color:#f4f5ed;background-image:linear-gradient(#bec5ad35 1px,#0000 1px),linear-gradient(90deg,#bec5ad35 1px,#0000 1px);background-position:0 0;background-repeat:repeat;background-size:30px 30px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;border:1px solid #d9decb;border-radius:5px;flex-direction:column;justify-content:space-between;align-self:center;min-width:0;padding:25px;display:flex;position:relative;overflow:hidden}.rust-hero-art>span{letter-spacing:.05em;color:#788364;font:11px/1.7 monospace}.rust-amp{color:#f85c30;text-align:center;padding:25px 0;font:180px/1.15 Georgia,serif;position:relative}.rust-amp>span{color:#dae4cd;background:#192114;padding:10px;font:15px monospace;position:absolute;bottom:20%;right:3%}.rust-build-status{color:#647350;border-top:1px solid #c5cfb3;padding-top:16px;font:11px/1.9 monospace}.rust-build-status>span{color:#f85c30;margin:0 8px}.rust-build-status i{background:#749a4e;border-radius:50%;width:6px;height:6px;margin-right:7px;display:inline-block}.rust-start-note{grid-template-columns:1fr 1fr;gap:35px;padding:30px 0 45px;display:grid}.rust-start-note span{color:#8b6248;font:12px monospace}.rust-start-note p{color:#79816c;margin:12px 0;font-size:15px;line-height:1.8}.rust-ownership{background:#161d11;border:1px solid #39472b;border-radius:5px;margin:20px 0 65px;overflow:hidden}.rust-studio-heading{letter-spacing:.05em;color:#c9d3b9;border-bottom:1px solid #38432d;justify-content:space-between;gap:15px;padding:17px 22px;font:11px monospace;display:flex}.rust-studio-heading>span:last-child{color:#859475}.rust-scenario-tabs{gap:8px;padding:14px 16px;display:flex}.rust-scenario-tabs button{color:#a6b492;cursor:pointer;background:0 0;border:1px solid #39472b;border-radius:3px;flex:1;padding:13px 8px;font:14px DM Sans,sans-serif}.rust-scenario-tabs button[aria-pressed=true]{color:#ffb18b;background:#ff60341a;border-color:#b17043}.rust-ownership-grid{grid-template-columns:1.3fr 1fr;gap:20px;min-width:0;padding:8px 20px 20px;display:grid}.rust-ownership .lab-code{min-width:0;margin:0}.rust-ownership .lab-code pre{min-height:170px}.rust-memory{color:#e1e8d5;background:#1d2715;border:1px solid #3c4b2c;min-width:0;padding:18px}.rust-memory>span{color:#9cae87;font:11px monospace}.rust-buffer{color:#ffab7c;text-align:center;background:#ee632914;border:1px dashed #d66b3d;margin:19px 0;padding:12px;font:26px monospace}.rust-bindings{gap:12px;display:flex}.rust-bindings>span{color:#7b876c;flex:1;min-width:0;font:15px monospace}.rust-bindings>span.available{color:#e4efd5}.rust-bindings small{color:inherit;margin-top:6px;font:11px DM Sans,sans-serif;display:block}.rust-memory dl{border-top:1px solid #3d4a2d;margin:20px 0 0;padding-top:12px;font-size:12px}.rust-memory dl>div{justify-content:space-between;gap:10px;margin:6px 0;display:flex}.rust-memory dt{color:#9cae87}.rust-memory dd{text-align:right;margin:0}.rust-trace-note{background:#202a16;border-top:1px solid #38432d;min-height:132px;padding:22px 24px}.rust-trace-note b{color:#ffb18b;font-size:16px;font-weight:500}.rust-trace-note p{color:#c3ceb2;margin:10px 0 0;font-size:15px;line-height:1.8}.rust-trace-controls{border-bottom:1px solid #38432d;align-items:center;gap:10px;padding:18px 22px;display:flex}.rust-trace-controls button{color:#d6e1c3;cursor:pointer;background:0 0;border:1px solid #52633d;border-radius:3px;padding:11px 14px;font:13px DM Sans,sans-serif}.rust-trace-controls button:last-child{color:#15180e;background:#ff6034;border-color:#ff6034}.rust-trace-controls button:disabled{opacity:.4;cursor:default}.rust-trace-controls>span{color:#92a27c;margin-left:auto;font:12px monospace}.rust-compiler-trap{color:#d4dec3;padding:18px 22px}.rust-compiler-trap summary{cursor:pointer;justify-content:space-between;gap:10px;font-size:14px;display:flex}.rust-compiler-trap .lab-code{margin:20px 0}.rust-compiler-trap p{color:#c3ceb2;font-size:14px;line-height:1.8}.rust-prerequisites{background:#fbfcf7;border:1px solid #d9decb;border-radius:4px;margin:25px 0 35px;padding:22px}.rust-prerequisites>div{flex-wrap:wrap;gap:12px 20px;margin-top:12px;display:flex}.rust-prerequisites a{color:#e95a2c;text-underline-offset:4px;font-size:14px;text-decoration:underline}.rust-cookbook-callout{background:#f6f7f0;border:1px solid #d9decb;grid-template-columns:1.3fr 1fr;align-items:center;gap:45px;margin:45px 0 10px;padding:35px;display:grid}.rust-cookbook-callout h2{letter-spacing:-.05em;margin:20px 0;font:34px/1.2 Space Grotesk,sans-serif}.rust-cookbook-callout h2 em{color:#f85c30;font:italic 36px Georgia,serif}.rust-cookbook-callout p{color:#727e61;margin:20px 0 25px;font-size:16px;line-height:1.8}.rust-recipe-stack{flex-direction:column;gap:12px;display:flex;transform:rotate(-3deg)}.rust-recipe-stack>span{color:#b6c49f;background:#1c2415;border:1px solid #3b4b2b;padding:22px;font:11px monospace;display:block}.rust-recipe-stack code{color:#ffad7c;margin-top:12px;font:15px monospace;display:block}.rust-article .lab-lesson-header h1{font-size:clamp(36px,4.3vw,60px)}.rust-cookbook-header{border-bottom:1px solid #d9decb;padding:50px 0 40px}.rust-cookbook-header h1{letter-spacing:-.06em;margin:25px 0;font:clamp(44px,5vw,69px)/1.05 Space Grotesk,sans-serif}.rust-cookbook-header h1 em{color:#f85c30;font-family:Georgia,serif;font-weight:400}.rust-cookbook-header p{color:#6e7b60;max-width:760px;margin:25px 0 30px;font-size:18px;line-height:1.9}.rust-recipe-tools{flex-wrap:wrap;justify-content:space-between;align-items:start;gap:20px;margin-top:30px;display:flex}.rust-recipe-tools .lab-course-filters{flex:1;margin:0}.rust-recipe-search{background:#f8faf2;border:1px solid #d1d8c3;align-items:center;gap:10px;min-width:240px;padding:11px 14px;display:flex}.rust-recipe-search>span{color:#dc6538;font-size:22px}.rust-recipe-search input{color:#29331f;background:0 0;border:0;outline:none;width:100%;min-width:0;font:14px DM Sans,sans-serif}.rust-result-count{color:#7f8c6b;margin:23px 0;font:12px monospace}.rust-recipe-grid{grid-template-columns:1fr 1fr;gap:22px;display:grid}.rust-recipe-card{background:#fcfdf8;border:1px solid #d9decb;flex-direction:column;min-width:0;padding:28px;transition:border-color .2s;display:flex}.rust-recipe-card:hover{border-color:#eb8c60}.rust-recipe-card>div{color:#8c966f;justify-content:space-between;gap:10px;font:11px monospace;display:flex}.rust-recipe-card h2{letter-spacing:-.045em;margin:24px 0 15px;font:29px/1.2 Space Grotesk,sans-serif}.rust-recipe-card p{color:#73815f;margin:0 0 25px;font-size:15px;line-height:1.8}.rust-recipe-card ul{flex-wrap:wrap;gap:7px;margin-top:auto;margin-bottom:25px;padding:0;list-style:none;display:flex}.rust-recipe-card li{color:#70805c;border:1px solid #d5ddc8;padding:6px;font:11px monospace}.rust-recipe-card>a{color:#dd5929;border-top:1px solid #d9decb;justify-content:space-between;padding-top:17px;font-size:14px;display:flex}.rust-empty{text-align:center;background:#f7f8f2;border:1px dashed #c1cbb0;padding:35px}.rust-empty h2{font-size:26px}.rust-empty p{color:#7f8c6b;font-size:16px}.rust-empty button{cursor:pointer;background:#ff6034;border:0;padding:13px 20px;font:15px DM Sans,sans-serif}.rust-cookbook-footnote{border-top:1px solid #d9decb;margin:55px 0 0;padding:30px 0}.rust-cookbook-footnote h2{letter-spacing:-.04em;font-size:27px}.rust-cookbook-footnote p{color:#73815f;margin:20px 0;font-size:16px;line-height:1.8}.rust-stack-list{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.rust-stack-list>span{color:#74805f;background:#f7f9f1;border:1px solid #d4dcc4;padding:8px 10px;font:12px monospace}.rust-expected{background:#eff3e7;border-left:3px solid #9fae82;margin:25px 0;padding:22px 25px}.rust-expected>span{color:#849569;font:11px monospace}.rust-expected p{margin:12px 0 0;font-size:15px;line-height:1.8}.rust-source-files>details{border:1px solid #d9decb;border-radius:3px;margin:14px 0;overflow:hidden}.rust-source-files>details>summary{cursor:pointer;color:#3e4b2d;overflow-wrap:anywhere;background:#f7f9f0;justify-content:space-between;gap:15px;padding:17px 20px;font:13px monospace;display:flex}.rust-source-files summary small{color:#8a9873;flex-shrink:0;font-size:11px}.rust-source-files summary small b{color:#e86a37;margin-left:10px}.rust-source-files .lab-code{border:0;border-radius:0;margin:0}.rust-source-files .lab-code pre{max-height:650px}.rust-recipe-limits{border-left:2px solid #d6dfc6;padding-left:23px}.rust-recipe-limits p{color:#74805f;font-size:16px;line-height:1.8}.rust-workbench-platforms{grid-template-columns:1fr 1fr;gap:25px;display:grid}.rust-workbench-platforms>div{background:#f9fbf4;border:1px solid #d9decb;padding:22px}.rust-workbench-platforms h3{font-size:22px}.rust-workbench-platforms p{font-size:15px}.rust-lab button:focus-visible,.rust-lab summary:focus-visible{outline-offset:3px;outline:2px solid #ff6034}@media (max-width:1200px){.rust-welcome{grid-template-columns:1fr}.rust-hero-art{display:none}.rust-ownership-grid{grid-template-columns:1fr 1fr}.rust-cookbook-callout{gap:28px;padding:28px}}@media (max-width:1000px){.rust-ownership-grid{grid-template-columns:1fr}.rust-memory{grid-template-columns:1fr 1fr;gap:14px;display:grid}.rust-memory>span{grid-column:1/-1}.rust-buffer{margin:0}.rust-memory dl{grid-column:1/-1;margin:0}.rust-cookbook-callout{grid-template-columns:1fr}.rust-recipe-stack,.rust-studio-heading>span:last-child{display:none}}@media (max-width:700px){.rust-recipe-grid{grid-template-columns:1fr}.rust-welcome h1{font-size:42px}.rust-workbench-platforms{grid-template-columns:1fr}.rust-start-note{gap:20px}.rust-cookbook-header{padding:35px 0}.rust-cookbook-header h1{font-size:48px}.rust-cookbook-header p{font-size:17px}.rust-recipe-search{width:100%}}@media (max-width:400px){.rust-welcome h1{font-size:36px}.rust-start-note{grid-template-columns:1fr;gap:16px}.rust-trace-controls{flex-wrap:wrap;gap:7px;padding:16px 12px}.rust-trace-controls button{padding:10px;font-size:12px}.rust-ownership-grid{padding:5px 12px 15px}.rust-memory{padding:15px}.rust-bindings{gap:6px}.rust-bindings>span{font-size:13px}.rust-studio-heading{padding:16px}.rust-scenario-tabs{padding:12px}.rust-scenario-tabs button{font-size:13px}.rust-trace-note{padding:20px}.rust-compiler-trap{padding:18px 15px}.rust-cookbook-header h1{font-size:42px}.rust-recipe-card{padding:23px}.rust-recipe-card>div{font-size:10px}.rust-cookbook-callout{padding:24px}.rust-cookbook-callout h2,.rust-cookbook-callout h2 em{font-size:30px}.rust-source-files>details>summary{padding:15px 12px;font-size:12px}.rust-source-files summary small{font-size:10px}.rust-recipe-tools .lab-course-filters button{font-size:12px}}@media (prefers-reduced-motion:reduce){.rust-recipe-card{transition:none}}
.rust-theory-lab{--py-ink:#272b24;--py-muted:#62695f;--py-line:#dedfd5;--py-accent:#bb5433;--py-paper:#fcfcf8}.rust-theory-lab .lab-main{background:var(--py-paper)}.rust-theory-lab .lab-sidebar-top h2{font-size:21px}.rust-guide-art{color:#f0ecd9;background:#373d2c;border-color:#343b29;box-shadow:12px 12px #e8e7da}.rust-guide-art strong{color:#f5eee4;letter-spacing:-.08em;font-family:Georgia,serif;font-size:clamp(105px,15vw,180px);font-weight:400}.rust-guide-art strong span{color:#ff9d67;letter-spacing:0;vertical-align:middle;margin-left:8px;font:700 23px/1 DM Sans,sans-serif;display:inline-block}.rust-guide-art small{color:#d4c9af}.rust-guide-overview .py-intro{border-left-color:var(--py-accent);background:#f7f3ea}.rust-guide-overview .py-intro p{color:#5d5c4f}.rust-guide-overview .py-primary{background:#30382d}.rust-guide-overview .py-primary:hover{background:#495847}.rust-guide-overview .py-primary span{color:#ffb18b}.rust-guide-article{max-width:820px}.rust-guide-article .py-body>section{padding-top:41px;padding-bottom:42px}.rust-guide-article .py-body p{line-height:1.86}.rust-guide-article .rust-guide-examples>p{color:var(--py-muted)}.rust-guide-example{border-top:1px solid var(--py-line);margin-top:42px;padding-top:35px}.rust-guide-example-number{color:var(--py-accent);letter-spacing:.13em;font:700 11px/1.5 DM Sans,sans-serif;display:block}.rust-guide-example h3{letter-spacing:-.04em;margin:10px 0 18px;font:600 clamp(22px,3vw,29px)/1.2 Space Grotesk,sans-serif}.rust-guide-example .lab-code{margin:25px 0 18px}.rust-guide-output{background:#eff1e9;border-left:3px solid #b1b99f;margin:0 0 22px;padding:17px 20px;overflow-x:auto}.rust-guide-output>span{color:#5b674f;letter-spacing:.12em;font:700 10px/1.5 DM Sans,sans-serif}.rust-guide-output pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0;font:13px/1.6 monospace}.rust-guide-example ol{color:#3e4c3d;margin:0 0 20px;padding-left:22px}.rust-guide-example li{margin:9px 0;padding-left:5px;font:15.5px/1.75 DM Sans,sans-serif}.rust-guide-example li::marker{color:var(--py-accent);font-weight:700}.rust-guide-article .rust-guide-boundary{color:#555445;background:#f7f3e9;border-left:3px solid #d5a176;margin:20px 0 0;padding:16px 18px;font-size:15px}.rust-guide-article .py-keep{background:#f6f4e9}.rust-guide-article .py-completion{margin-top:10px}@media (max-width:700px){.rust-guide-example{margin-top:34px;padding-top:29px}.rust-guide-example h3{font-size:23px}.rust-guide-example li{font-size:15px}.rust-guide-article .py-body>section{padding-top:31px;padding-bottom:32px}}
