/* Moozonian Developer Studio v1 — scoped UI to avoid search tab regressions */
.moo-dev-studio,.moo-dev-results{--md-bg:#0c1220;--md-panel:#131c2d;--md-panel-2:#101829;--md-line:#26334a;--md-muted:#8fa1be;--md-text:#ebf1fd;--md-purple:#977bff;--md-teal:#63d5ce;color:var(--md-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;box-sizing:border-box;font-size:14px}
.moo-dev-studio *,.moo-dev-results *{box-sizing:border-box}
.moo-dev-studio{margin:18px 0 28px;isolation:isolate;max-width:100%;width:100%}
.moo-dev-studio button,.moo-dev-studio input,.moo-dev-studio select,.moo-dev-studio textarea{font:inherit}
.moo-dev-studio button{cursor:pointer}
.moo-dev-studio a{text-decoration:none;color:inherit}
.moo-dev-shell{border:1px solid #2c3951;border-radius:19px;overflow:hidden;background:radial-gradient(circle at 69% -20%,#242448 0,transparent 37%),#0b1220;box-shadow:0 25px 70px #040a1680}
.moo-dev-topbar{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 24px;border-bottom:1px solid var(--md-line);background:#101827d9}
.moo-dev-brand{display:flex;align-items:center;gap:10px;font-weight:820;font-size:21px;white-space:nowrap;letter-spacing:-.8px}
.moo-dev-brand-icon{display:flex;align-items:center;justify-content:center;height:37px;width:37px;background:linear-gradient(135deg,#906fff,#5e9dff);border-radius:10px;color:white;font-size:16px;box-shadow:0 5px 20px #785be650}
.moo-dev-brand-accent{color:#9d8cfc}.moo-dev-brand small{font-size:10px;letter-spacing:1.5px;color:#8c9bb8;margin-left:5px}
.moo-dev-topnav{display:flex;gap:26px;color:#a7b4ce;font-size:12px;font-weight:650}.moo-dev-topnav a:hover{color:white}
.moo-dev-topstatus{color:#b9cae5;font-size:11px;display:flex;align-items:center;gap:8px;white-space:nowrap;background:#1a2840;border:1px solid #34415a;border-radius:100px;padding:8px 12px}.moo-dev-status-dot{height:7px;width:7px;background:#f0bf78;border-radius:50%}.moo-dev-status-dot.is-online{background:#55deab;box-shadow:0 0 10px #55deab99}.moo-dev-status-dot.is-offline{background:#f786a0}
.moo-dev-layout{display:grid;grid-template-columns:232px minmax(0,1fr);min-width:0}
.moo-dev-sidebar{padding:22px 13px;background:#0f1828;border-right:1px solid #273148;display:flex;flex-direction:column;gap:5px}.moo-dev-side-label{font-size:10px;letter-spacing:1.5px;color:#7689a8;padding:8px 12px 11px;font-weight:800}.moo-dev-side-link{border:1px solid transparent;background:transparent;color:#abbad2;font-size:12px;display:flex;align-items:center;gap:10px;padding:10px 11px;width:100%;text-align:left;border-radius:9px;font-weight:650;transition:.15s}.moo-dev-side-link>span:first-child{width:20px;text-align:center;font-size:16px;color:#8c9bc8}.moo-dev-side-link:hover{background:#1c2a43;color:#e9efff}.moo-dev-side-link.is-selected{background:#302950;border-color:#4e4179;color:#d9cfff}.moo-dev-side-link.is-selected>span:first-child{color:#ac92ff}.moo-dev-external{margin-left:auto;color:#7b8eac}.moo-dev-side-divider{border-top:1px solid #26334a;margin:16px 8px 10px}.moo-dev-side-footer{margin-top:auto;padding:16px 12px;border:1px solid #34425d;border-radius:12px;background:linear-gradient(145deg,#1b2545,#141e30);display:flex;flex-direction:column;gap:5px;min-width:0}.moo-dev-side-footer-icon{font-size:21px;color:#ac90ff}.moo-dev-side-footer strong{font-size:11px;overflow-wrap:anywhere}.moo-dev-side-footer small{color:#91a6c2;font-size:11px}
.moo-dev-main{min-width:0;padding:34px clamp(16px,3vw,42px) 35px}.moo-dev-hero{padding:0 0 28px}.moo-dev-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#a9a1ff;letter-spacing:1.7px;font-size:10px;font-weight:800}.moo-dev-eyebrow-dot{height:7px;width:7px;border-radius:50%;background:#ab91ff;box-shadow:0 0 12px #b79cff88}.moo-dev-hero h1{font-size:clamp(31px,4.2vw,49px);font-weight:840;line-height:1.15;letter-spacing:-1.7px;margin:14px 0 11px;color:#f7f9ff}.moo-dev-hero h1 span{background:linear-gradient(90deg,#977ffc,#5fcbd9);-webkit-background-clip:text;background-clip:text;color:transparent}.moo-dev-hero>p{max-width:670px;color:#aab9d2;font-size:13.5px;line-height:1.7;margin:0}
.moo-dev-gpu-strip{margin-top:21px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}.moo-dev-gpu-strip>span:first-child{font-size:9px;font-weight:800;letter-spacing:1px;color:#778ca8;margin-right:4px}.moo-dev-gpu-chip,.moo-dev-model-chip{background:#17253a;border:1px solid #314058;padding:6px 10px;border-radius:7px;font-size:10.5px;font-weight:650;color:#a9bfdc;display:inline-flex;align-items:center;gap:7px}.moo-dev-gpu-chip i{height:6px;width:6px;background:#edb66b;border-radius:50%}.moo-dev-gpu-chip.is-online i{background:#5bdba9;box-shadow:0 0 7px #5bdba999}.moo-dev-gpu-chip.is-offline i{background:#f57988}.moo-dev-model-chip{color:#b9a7ff;background:#222442;border-color:#48406f}
.moo-dev-composer,.moo-dev-output{background:#121b2d;border:1px solid #2f405c;border-radius:14px;overflow:hidden;box-shadow:0 12px 30px #0002}.moo-dev-composer-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #283650}.moo-dev-composer-head>div{display:flex;align-items:center;gap:9px;font-size:14px}.moo-dev-composer-icon,.moo-dev-output-icon{background:#383064;padding:6px 8px;border-radius:7px;color:#baa6ff;font-size:14px}.moo-dev-composer-label{font-size:11px;color:#8da0bc}
.moo-dev-taskbar{display:flex;flex-wrap:wrap;gap:6px;padding:15px 18px 6px}.moo-dev-taskbar button{background:#19263a;border:1px solid #30425d;border-radius:7px;color:#a9bdd9;font-size:11.2px;font-weight:650;padding:8px 10px;white-space:nowrap}.moo-dev-taskbar button.is-active,.moo-dev-taskbar button:hover{background:#3b3261;border-color:#635296;color:#ede5ff}.moo-dev-fieldlabel{display:block;font-size:12px;font-weight:750;color:#e3eaf7;margin:16px 20px 9px}.moo-dev-composer textarea{display:block;width:calc(100% - 40px);height:156px;min-height:120px;resize:vertical;margin:0 20px;border:1px solid #354967;background:#0c1526;color:#eaf2ff;border-radius:10px;padding:15px;font:12.5px/1.65 "SFMono-Regular",Consolas,"Liberation Mono",monospace;outline:none}.moo-dev-composer textarea:focus,.moo-dev-fields input:focus,.moo-dev-fields select:focus{border-color:#997bfa;box-shadow:0 0 0 3px #9a78f91b}.moo-dev-composer textarea::placeholder{color:#8291ac}
.moo-dev-fields{display:grid;grid-template-columns:1.45fr .8fr 1.15fr;gap:11px;padding:15px 20px}.moo-dev-fields label{color:#a7b9d4;font-size:10.5px;font-weight:700;display:flex;flex-direction:column;gap:7px;min-width:0}.moo-dev-fields select,.moo-dev-fields input{width:100%;min-width:0;background:#0d1628;border:1px solid #354762;border-radius:8px;color:#e7effc;height:38px;padding:0 10px;font-size:11.3px;outline:none}.moo-dev-fields select option{color:#111827;background:white}
.moo-dev-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 19px}.moo-dev-composer-actions>span{color:#8599b9;font-size:10px;line-height:1.5}.moo-dev-composer-actions button{display:flex;align-items:center;justify-content:center;gap:13px;border:0;background:linear-gradient(110deg,#8164ea,#5c82e7);color:#fff;border-radius:8px;padding:12px 17px;box-shadow:0 7px 25px #6d68ea44;font-size:11.5px;font-weight:800;white-space:nowrap;transition:transform .2s,opacity .2s}.moo-dev-composer-actions button:hover{transform:translateY(-1px);filter:brightness(1.08)}.moo-dev-composer-actions button:disabled{opacity:.55;cursor:wait;transform:none}.moo-dev-feedback{padding:0 20px 0;color:#a8bee5;font-size:11.5px;min-height:0;line-height:1.5}.moo-dev-feedback:not(:empty){padding-bottom:17px}.moo-dev-feedback.is-error{color:#ffa2b2}
.moo-dev-output{margin-top:22px}.moo-dev-output[hidden]{display:none!important}.moo-dev-output-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 17px;border-bottom:1px solid #29354c}.moo-dev-output-header>div:first-child{display:flex;align-items:center;gap:9px;min-width:0}.moo-dev-output-header strong{font-size:12.5px}.moo-dev-output-header small{font-size:10px;color:#8da1c0}.moo-dev-output-actions{display:flex;gap:7px;flex-wrap:wrap}.moo-dev-output-actions button{border-radius:7px;color:#d2ddf3;background:#1e2b40;border:1px solid #394e6b;padding:8px 10px;font-size:10.5px;font-weight:650}.moo-dev-output-actions button:hover{background:#303b61}.moo-dev-summary{margin:0;padding:11px 17px;color:#a9bad1;border-bottom:1px solid #29354c;font-size:11.5px;line-height:1.55}.moo-dev-editor{display:grid;grid-template-columns:174px minmax(0,1fr);min-height:275px;max-height:560px}.moo-dev-files{border-right:1px solid #29384f;padding:12px 7px;background:#101827;overflow:auto}.moo-dev-file{display:block;width:100%;text-align:left;border:0;background:transparent;color:#a4b6d0;font-size:10.5px;border-radius:6px;padding:9px 8px;word-break:break-all}.moo-dev-file:hover,.moo-dev-file.is-active{background:#272e4c;color:#dedbff}.moo-dev-codepane{min-width:0;overflow:auto}.moo-dev-codebar{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#151e30;padding:11px 15px;border-bottom:1px solid #26364c;color:#b3c4e0;font-size:10px}.moo-dev-code-language{color:#8c9fbe}.moo-dev-code{background:#0e1623;margin:0;color:#e4e9f4;padding:18px;white-space:pre;min-height:260px;max-height:486px;overflow:auto;font:12px/1.65 "SFMono-Regular",Consolas,Menlo,monospace}.moo-dev-code code{font:inherit;white-space:inherit}
.moo-dev-ideas{margin-top:31px}.moo-dev-ideas>div:first-child strong{font-size:16px}.moo-dev-ideas>div:first-child p{color:#8d9fb9;font-size:11.5px;margin:6px 0 16px}.moo-dev-ideas-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.moo-dev-ideas-grid button{text-align:left;border:1px solid #2a3a52;background:#151f31;border-radius:10px;color:#a796ff;padding:15px 11px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;font-size:18px}.moo-dev-ideas-grid button:hover{border-color:#7861c6;transform:translateY(-1px)}.moo-dev-ideas-grid strong{color:#e7edfa;font-size:11px;line-height:1.4}.moo-dev-ideas-grid small{color:#8ca1bc;font-size:10px}
.moo-dev-resources{background:#0c1525;padding:32px clamp(20px,4vw,44px) 38px;border-top:1px solid #27344b}.moo-dev-resources h2{font-size:22px;margin:9px 0 8px;color:#f0f5fe;letter-spacing:-.5px}.moo-dev-resources p{font-size:12px;color:#96a9c3;margin:0 0 22px}.moo-dev-resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.moo-dev-resource-grid a{border:1px solid #30405a;background:#141f32;border-radius:10px;min-height:115px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;position:relative;transition:border-color .2s,transform .2s}.moo-dev-resource-grid a:hover{border-color:#7766d5;transform:translateY(-2px)}.moo-dev-resource-grid a>span{font-size:18px;color:#9ba6ff;font-weight:800}.moo-dev-resource-grid strong{font-size:11.5px;color:#edf1fc;margin-top:5px}.moo-dev-resource-grid small{font-size:10px;color:#8ea1bc}.moo-dev-resource-grid b{position:absolute;right:13px;top:13px;color:#7488a9;font-size:13px}
.moo-dev-results{margin:0 0 40px;padding:25px clamp(12px,3vw,32px);border:1px solid #27364d;border-radius:15px;background:#101a2b}.moo-dev-results-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #2b3a52;padding-bottom:21px;margin-bottom:15px}.moo-dev-results-heading h2{margin:7px 0 5px;font-size:23px;letter-spacing:-.6px;color:#f5f7fd}.moo-dev-results-heading p{margin:0;color:#8ca0bc;font-size:12px;line-height:1.5}.moo-dev-results-query{font-size:11px;padding:8px 10px;border:1px solid #30425d;border-radius:7px;color:#9eabd2;max-width:35%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.moo-dev-result{padding:15px 8px;border-bottom:1px solid #283a52}.moo-dev-result:last-child{border:0}.moo-dev-result-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:10px;color:#7799b3}.moo-dev-source{color:#b4a8ff;background:#252342;border-radius:5px;padding:4px 6px}.moo-dev-result h3{font-size:15.5px;line-height:1.4;font-weight:740;margin:9px 0 5px}.moo-dev-result h3 a{color:#bad5ff}.moo-dev-result h3 a:hover{color:#e8dcff;text-decoration:underline}.moo-dev-result p{font-size:12px;color:#94a8c2;line-height:1.65;margin:0;overflow-wrap:anywhere}.moo-dev-empty{padding:30px 14px;color:#93a8c1;font-size:12px;line-height:1.7}
@media(max-width:1140px){.moo-dev-topnav{gap:14px}.moo-dev-layout{grid-template-columns:190px minmax(0,1fr)}.moo-dev-sidebar{padding:17px 8px}.moo-dev-resource-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.moo-dev-ideas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.moo-dev-layout{display:block}.moo-dev-sidebar{border-right:0;border-bottom:1px solid #29394e;padding:12px;display:flex;flex-direction:row;overflow-x:auto;align-items:center}.moo-dev-sidebar .moo-dev-side-label,.moo-dev-sidebar .moo-dev-side-divider,.moo-dev-sidebar .moo-dev-side-footer,.moo-dev-sidebar a.moo-dev-side-link{display:none}.moo-dev-side-link{white-space:nowrap;width:auto;flex-shrink:0;padding:9px 10px}.moo-dev-main{padding:26px 18px}.moo-dev-topnav{display:none}.moo-dev-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.moo-dev-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.moo-dev-fields label:last-child{grid-column:1/-1}.moo-dev-output-header{align-items:flex-start;flex-direction:column}.moo-dev-hero h1{letter-spacing:-1px}}
@media(max-width:520px){.moo-dev-studio{margin:8px 0 17px}.moo-dev-shell{border-radius:12px}.moo-dev-topbar{padding:11px 13px}.moo-dev-brand{font-size:18px}.moo-dev-brand small{display:none}.moo-dev-topstatus{font-size:10px;padding:8px}.moo-dev-gpu-strip{gap:6px}.moo-dev-composer-head{padding:13px}.moo-dev-composer-label{display:none}.moo-dev-taskbar{padding:10px}.moo-dev-fieldlabel{margin-left:13px}.moo-dev-composer textarea{margin:0 12px;width:calc(100% - 24px)}.moo-dev-fields{padding:13px 12px;gap:9px}.moo-dev-composer-actions{padding:0 12px 16px;align-items:stretch;flex-direction:column}.moo-dev-composer-actions button{width:100%}.moo-dev-ideas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.moo-dev-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.moo-dev-resources{padding:25px 13px}.moo-dev-editor{grid-template-columns:1fr}.moo-dev-files{display:flex;border-right:0;border-bottom:1px solid #27364e;padding:6px;overflow-x:auto;gap:6px}.moo-dev-file{width:auto;white-space:nowrap}.moo-dev-results-heading{flex-direction:column;align-items:flex-start}.moo-dev-results-query{max-width:100%}}
@media(prefers-reduced-motion:reduce){.moo-dev-studio *, .moo-dev-results *{transition:none!important;scroll-behavior:auto!important}}
