/* Scoped improvements to the approved code-workspace component. */
.try-page .crumb{font-size:13px;padding-block:15px}.try-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:4px 0 24px}.try-kicker{display:block;font-size:12px;font-weight:650;letter-spacing:.08em;color:#4f78b8;margin-bottom:7px}.try-heading h1{font-size:26px;line-height:1.4;letter-spacing:-.02em}.try-heading p{font-size:14px;line-height:1.8;color:#7a8ba3;margin:8px 0 0}.try-back{display:inline-flex;flex:none;align-items:center;padding:10px 14px;border:1px solid #dce5f3;border-radius:8px;font-size:13px;color:#47678c;background:white}.try-back:hover{color:#2563eb;border-color:#a5c4f8}
.try-page .learning-workspace{--try-pane-height:clamp(380px,calc(100dvh - 340px),680px);border-radius:14px;box-shadow:0 6px 24px #25497406}.try-page .learning-toolbar{background:white;padding:12px 16px}.try-page .source-tabs{padding:4px;background:#f0f4fa;border-radius:9px;gap:2px}.try-page .source-tabs button{color:#78879d;font-weight:600;font-size:13px;padding:8px 15px;border-radius:6px}.try-page .source-tabs button[aria-selected=true]{background:white;color:#245bc7;box-shadow:0 1px 5px #34558015}.try-page .learning-toolbar .button{min-height:38px;padding:8px 14px;border-radius:7px;font-size:13px}.try-page .learning-toolbar .button.primary{display:inline-flex;gap:8px;align-items:center}.try-page .learning-toolbar .button.primary>span{font-size:10px}.try-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;letter-spacing:.02em;color:#98acc8}.try-editor-heading button{padding:2px 5px;color:#a9bdd7;font-size:11px;letter-spacing:0}.try-editor-heading button:hover{color:white}.try-page .editor-label{padding:14px 18px 0;background:#172238}.try-page .editor-label textarea{background:transparent;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;font-size:14px;padding:15px 0 18px}.try-page .editor-label textarea.no-wrap{white-space:pre;overflow-wrap:normal}.try-page .preview-toolbar{background:#f8fafd;color:#778aa5;font-size:12px}.try-page .preview-toolbar strong{display:flex;align-items:center;gap:8px;color:#3d5979;font-size:13px;font-weight:600}.try-status-dot{width:7px;height:7px;border-radius:50%;background:#51b896}.try-page .preview-stage{background:#fff}.try-page .run-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:11px 16px;font-size:12px;color:#73859f;background:#f8fafd;line-height:1.6}.try-page .run-status kbd{font:11px system-ui;white-space:nowrap;color:#8a9ab1}.try-page #run-console{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.try-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;margin:20px 0 44px}.try-notes.try-notes-project{align-items:stretch}.try-details{border:1px solid #e1e8f2;border-radius:12px;background:white;min-width:0;overflow:hidden;display:flex;flex-direction:column}.try-details>summary{display:flex;align-items:center;gap:10px;padding:14px 18px;font-size:14px;font-weight:650;color:#2c4263;cursor:pointer;list-style:none;background:#fafcff}.try-details>summary::-webkit-details-marker{display:none}.try-details>summary::after{content:"";flex:none;width:7px;height:7px;margin-left:2px;border-right:1.7px solid #8a9bb2;border-bottom:1.7px solid #8a9bb2;transform:rotate(45deg);transition:transform .16s ease}.try-details[open]>summary::after{transform:rotate(-135deg) translate(-1px,-1px)}.try-details>summary>span{margin-left:auto;font-size:11px;font-weight:500;color:#6c82a3;background:#eef4fc;padding:2px 8px;border-radius:999px;line-height:1.5}.try-details>div{border-top:1px solid #edf1f6;padding:16px 18px;color:#5c708e;font-size:13px;line-height:1.85;overflow-wrap:anywhere;flex:1}.try-details p{margin:0 0 10px}.try-details p:last-child{margin-bottom:0}.try-details code{font:12.5px/1.5 Consolas,monospace;background:#f1f5fc;color:#23406d;padding:2px 6px;border-radius:5px}.try-details ul,.try-details ol{padding-left:18px;margin:0}.try-details li+li{margin-top:8px}.try-details section{margin:0}.try-details h2,.try-details h3{font-size:14px;margin:0 0 10px}.try-details .registered-downloads{display:flex;flex-direction:column;gap:12px}.try-details .registered-download{padding-bottom:10px;border-bottom:1px dashed #e6edf7}.try-details .registered-download:last-child{padding-bottom:0;border-bottom:0}.try-details .registered-download p{margin:0 0 5px}.try-details .registered-download small{display:block;font-size:11.5px;color:#8394ad;line-height:1.6}
.try-head-actions{display:flex;align-items:center;gap:10px;flex:none}.try-head-dl{padding:9px 15px;font-size:13px;border-radius:8px;white-space:nowrap}
.try-project-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.try-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:12px;line-height:1.6;background:#f1f5fc;color:#4a6386;border:1px solid #e1eaf7}.try-badge-lang{background:#eaf2ff;color:#1d56c4;border-color:#c9ddfe;font-weight:650}.try-badge-file{font-family:Consolas,monospace;color:#334c70;background:#f6f8fc}
.try-project-card{border:1px solid #dce6f4;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(24,49,92,.05)}
.try-project-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#f7faff;border-bottom:1px solid #e4ecf7;flex-wrap:wrap}
.try-project-file{display:flex;align-items:center;gap:9px;min-width:0;font-size:13px;color:#273f63}.try-project-file strong{font-family:Consolas,monospace;font-weight:600;overflow-wrap:anywhere}.try-line-count{font-size:11px;color:#788ca8;background:#eaf1fc;padding:2px 8px;border-radius:999px;white-space:nowrap}
.try-project-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.try-bar-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border:1px solid #d7e3f4;border-radius:7px;background:#fff;color:#3e597e;font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s,background .15s}
.try-bar-btn:hover{border-color:#9fc0f7;color:#2563eb;background:#f5f9ff}.try-bar-btn .icon{width:14px;height:14px}
.try-project-code{background:#0f172a;margin:0}.try-project-code pre{margin:0;padding:20px 24px;max-height:540px;overflow:auto;font:14px/1.8 Consolas,Monaco,monospace;color:#e5eefc;tab-size:2}.try-project-code pre.wrap-code{white-space:pre-wrap;overflow-wrap:break-word;word-break:normal}.try-project-code pre:not(.wrap-code){white-space:pre;overflow-wrap:normal}.try-project-code pre>code{font:inherit;color:inherit;white-space:inherit;overflow-wrap:inherit}
.try-project-foot{padding:11px 18px;background:#f8fafd;border-top:1px solid #e8eff8;font-size:12.5px;color:#6b7f9c;line-height:1.7}.try-project-foot strong{color:#355075;font-weight:600}
.try-archive-card{border:1px solid #dce6f4;border-radius:14px;background:linear-gradient(180deg,#f9fbff 0%,#fff 100%);padding:24px 26px;box-shadow:0 8px 26px rgba(24,49,92,.05)}
.try-archive-main{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.try-archive-main h2{margin:0 0 8px;font-size:18px;color:#1e3556}
.try-archive-main p{margin:0;max-width:720px;font-size:14px;line-height:1.8;color:#526885}
.try-archive-meta{margin-top:8px!important;font-size:12.5px!important;color:#788ca8!important}
.try-archive-meta code{font:12px/1.5 Consolas,monospace;background:#eef4fc;color:#27446f;padding:2px 7px;border-radius:5px}
.try-archive-cta{flex:none}
@media(max-width:1050px){.try-page .learning-toolbar{flex-direction:row;align-items:center}.try-page .try-toolbar-actions{gap:6px}.try-page .learning-toolbar .button{padding:8px 10px}.try-notes{grid-template-columns:1fr}}
@media(max-width:900px){.try-page .learning-toolbar{flex-direction:column;align-items:stretch}.try-page .source-tabs{align-self:flex-start}.try-page .try-toolbar-actions{justify-content:flex-end}.try-page .editor-label{height:340px}.try-page .preview-stage{height:370px}}
@media(max-width:600px){.try-heading{align-items:flex-start;gap:10px;margin-bottom:18px}.try-heading h1{font-size:21px}.try-heading p{font-size:13px}.try-back{font-size:12px;padding:8px;white-space:nowrap}.try-kicker{font-size:11px}.try-page .learning-toolbar{padding:11px}.try-page .source-tabs button{padding:7px 13px}.try-page .try-toolbar-actions{justify-content:space-between;flex-wrap:wrap}.try-page .run-status{display:block;padding:11px 13px}.try-page .run-status kbd{display:none}.try-page .editor-label{padding-inline:13px}.try-page .editor-label textarea{font-size:13px}.try-notes{margin-top:15px}}
