.lab-columns {display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px}
.lab-editor,.lab-response,.desk-window {border:1px solid #dadee4;border-radius:12px;overflow:hidden;background:#fff;color:#252a32}
.lab-bar,.lab-tools,.lab-response-head,.desk-title,.desk-select {display:flex;gap:5px;align-items:center;padding:10px 12px;border-bottom:1px solid #e4e6eb}
.lab-tools,.lab-response-head,.desk-title {justify-content:space-between}
.lab-tools {background:#fafbfc}.lab-languages{display:flex;gap:4px}
.home-lab button,.home-desk button,.home-faq-support button {cursor:pointer;border:1px solid transparent;border-radius:6px;background:transparent;color:#515762;padding:7px 11px;font:inherit;font-size:13px}
.home-lab button[aria-pressed=true],.home-desk button[aria-pressed=true],.home-lab .lab-run {background:#1c2027;color:white}
.lab-editor pre {padding:20px;margin:0;overflow:auto;height:315px;white-space:pre;line-height:1.65;font-size:13px;font-family:Consolas,monospace;tab-size:4;overscroll-behavior:contain}
.lab-editor .token.string {color:#116554}.lab-editor .token.keyword,.lab-editor .token.boolean{color:#7a42a0}.lab-editor .token.comment{color:#69717d}.lab-editor .token.function{color:#185488}
.lab-response {display:flex;flex-direction:column}.lab-response-head {min-height:51px}
.lab-response-head small{color:#687180}
.lab-output {padding:18px;display:flex;flex:1;flex-direction:column;align-items:stretch;gap:12px;min-width:0}
.lab-output p,.desk-chat p {font-size:14px;line-height:1.7;margin:0}
.lab-output .lab-question,.desk-chat .lab-question {align-self:flex-end;background:#23262e;color:#fff;border-radius:10px 10px 2px 10px;padding:10px 14px}
.lab-output .lab-answer {background:#f1f3f5;padding:12px 14px;border-radius:2px 10px 10px 10px;color:#272c34}
.lab-output img,.lab-output video {width:100%;object-fit:cover;max-height:225px;border-radius:8px}.lab-output audio{width:100%}
.home-lab .lab-run {align-self:flex-end;margin:0 14px 14px}.lab-run:disabled{opacity:.4}
.home-setup-more {border-top:1px solid #dae0e6;margin-top:-42px;margin-bottom:48px}.home-setup-more>summary{padding:14px 0;color:#4b5360;cursor:pointer;font-size:14px}.home-setup-more .home-build{width:100%;padding:20px 0}
.home-desk{padding-block:35px 72px}.desk-back {position:relative;isolation:isolate;overflow:hidden;padding:clamp(24px,5vw,64px);border-radius:14px;background:#d5dce4}
.desk-back:before {content:"";position:absolute;z-index:-2;inset:-22%;transform:rotate(-9deg);background:url('/portal/home-previews.webp') center/75% auto repeat;opacity:.57}
.desk-back:after {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(130deg,#f5eff385,#e2e9f24f 52%,#e3e5e779)}
.desk-window {max-width:820px;margin:auto;border-color:#fffd;background:#f8f9fbdc;backdrop-filter:blur(20px);box-shadow:0 15px 48px #1723323d}
.desk-title {padding:12px 18px;font-weight:650}.desk-title a {font-size:12px;font-weight:400;color:#596371}
.desk-select {padding:8px 12px}.desk-chat {min-height:215px;display:flex;flex-direction:column;gap:15px;padding:20px}
.desk-answer {align-self:start;max-width:87%;padding:13px 16px;border-radius:8px;background:#ffffffed;font-size:14px}.desk-answer p{margin:5px 0}
.desk-answer a,.faq-help-box>button{font-size:13px;font-weight:600;text-decoration:none;color:#283b56}
.desk-source {display:flex;align-items:center;justify-content:space-between;gap:5px;border-top:1px solid #1a25321c;padding-top:9px}
.desk-source a {color:#505966;font:12px/1.4 Consolas,monospace;overflow-wrap:anywhere}
.home-desk .desk-source button {border:1px solid #d6dce4;background:#fff;color:#242c36;white-space:nowrap}
.desk-window form,.faq-help-box form {display:flex;gap:6px;border:1px solid #d2d7de;border-radius:8px;background:#fff;padding:4px;margin:0 14px 14px}
.desk-window input,.faq-help-box input{min-width:0;flex:1;padding:7px;border:0;background:transparent;color:#232731;font:inherit;font-size:14px}
.home-desk form button,.faq-help-box form button{background:#20242c;color:#fff;font-size:16px}
.desk-suggest {display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:15px}.desk-suggest button{background:#fffffff2;color:#252830;border:1px solid #d5d8df}
#home-page .home-questions {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;align-items:stretch}
.home-questions>div:first-child {grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.home-questions .home-faq {align-self:start;border-radius:12px;overflow:hidden;border:1px solid #dfe2e7;background:white}
.home-questions .home-faq details {border:0;border-bottom:1px solid #e4e6eb;border-radius:0}
.home-questions .home-faq summary {padding:17px 18px;font-size:14px}
.home-questions .home-faq details p {padding:0 18px 16px}
.home-faq-support {position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:end;border-radius:12px;min-height:350px;background:#263340 url('/portal/home-help-film.webp') center/cover}
.home-faq-support video {position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover}
.faq-help-box {margin:16px;padding:16px;border:1px solid #ffffff4d;border-radius:10px;backdrop-filter:blur(13px);background:#0b1423bd;color:white}
.faq-help-box h3{margin:0 0 10px;font-size:19px}.faq-help-box form{margin:0}.faq-help-box p{color:#fff;font-size:13px;margin:8px 0}
.home-faq-support .faq-help-box h3 {color:white}
@media(prefers-reduced-motion:no-preference){
  .desk-chat > *,.lab-output > * {animation:home-sample-enter .28s ease-out both}
  .desk-chat > :nth-child(2),.lab-output > :nth-child(2){animation-delay:.1s}
  .home-questions details[open] p {animation:home-sample-enter .22s ease-out}
  @keyframes home-sample-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
}
.home-faq-support .faq-help-box>button{color:white;padding-left:0}
@media(max-width:740px){.lab-columns,#home-page .home-questions{grid-template-columns:1fr}.lab-editor pre{height:260px}.home-lab .lab-response{min-height:240px}.home-desk{padding-bottom:42px}.desk-back{padding:12px}.desk-chat{min-height:200px;padding:12px}.desk-suggest button{font-size:11px;padding:6px}.home-setup-more{margin-top:-20px}.home-faq-support{min-height:265px}.home-questions>div:first-child{display:block}.home-board-heading h2{font-size:25px}}
