/* MITA Studio shell theme. The actual V2 design tokens in tokens.css are unchanged. */
.studio{--studio-bg:#0d1117;--studio-sidebar:#10161e;--studio-panel:#161d27;--studio-elevated:#1c2532;--studio-border:#2c3949;--studio-text:#e6edf3;--studio-muted:#9caec2;--studio-accent:#36bbf7;--studio-mono:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;background:var(--studio-bg);color:var(--studio-text);font-family:Inter,'Segoe UI',Arial,sans-serif}
.studio .app{background:var(--studio-bg)}.studio .sidebar{background:var(--studio-sidebar);border-color:var(--studio-border);padding:20px 14px}.studio .brand-link{padding:7px 10px}.studio .logo{width:110px;filter:brightness(0) invert(1);opacity:.94;margin-bottom:24px}.studio .eyebrow{font-family:var(--studio-mono);color:var(--studio-muted);font-size:11px;letter-spacing:.07em}.studio .nav{gap:2px}.studio .nav a{color:#c0cedc;border-radius:6px;font-family:var(--studio-mono);font-size:12px;padding:10px 12px;border:1px solid transparent}.studio .nav a:hover{background:#1c2734;color:#fff}.studio .nav a[aria-current=page]{background:#1c3440;color:#73d7ff;border-color:#315b6b;box-shadow:inset 3px 0 #36bbf7}.studio .search-input{background:#192330;border:1px solid #36495a;color:var(--studio-text);font-family:var(--studio-mono);font-size:12px;min-height:40px}.studio .search-input::placeholder{color:#a4b4c4}.studio .search-results{background:#18222f;border-color:#405167;box-shadow:0 18px 35px #0009}.studio .search-result{color:var(--studio-text);border-color:#344355}.studio .search-result small{color:#9cb2c6}.studio .search-result:hover,.studio .search-result.selected{background:#263748}.studio .search-empty{color:var(--studio-muted)}
.studio .main{padding:0;min-width:0}.studio-toolbar{min-height:44px;padding:11px 28px;border-bottom:1px solid var(--studio-border);background:#121a23;display:flex;align-items:center;justify-content:space-between;gap:10px;font-family:var(--studio-mono);font-size:11px;letter-spacing:.02em}.studio-path{color:#a8bcd0}.studio-branch{color:#32c671}.studio .content{padding:28px;max-width:1500px}.studio .top{padding-bottom:22px;border-bottom:1px solid var(--studio-border);margin-bottom:24px}.studio h1{font-size:clamp(1.55rem,2.4vw,2rem);letter-spacing:-.025em}.studio h2{font-size:1.05rem}.studio h3{font-size:.92rem}.studio p,.studio .help,.studio .checklist{color:var(--studio-muted)}.studio .tag{background:#192b37;border-color:#345065;color:#b4e5ff;font-family:var(--studio-mono);font-size:10px;border-radius:5px;letter-spacing:.03em}.studio .section{background:var(--studio-panel);border:1px solid var(--studio-border);box-shadow:none;border-radius:10px}.studio .section-head{padding-bottom:16px;border-bottom:1px solid var(--studio-border)}.studio .catalogue-card{background:#1a2633;border-color:#334457;border-radius:8px;color:#f1f6fc}.studio .catalogue-card:hover{background:#24384a;border-color:#36bbf7}.studio .catalogue-card span{color:var(--studio-muted)}.studio .note{background:#2b271e;border-color:#f7be39;color:#e4d4a6}.studio .props th,.studio .props td{border-color:#314052}.studio .props th{color:#a8c0d5}.studio .props td{color:#dce7f2}.studio .props td:first-child,.studio .props td:nth-child(2){font-family:var(--studio-mono);font-size:12px}.studio .code,.studio code{font-family:var(--studio-mono)}.studio .code{background:#0a1018;border:1px solid #33465c;color:#9ce8ca;line-height:1.7}.studio .field label{color:#d7e5f1}.studio .field .select,.studio .field .input{background:#101923;border:1px solid #415269;color:#e9f1f9}.studio .stack{color:#d7e5f1}.studio .stack input{accent-color:#36bbf7}.studio .guidance{background:#1b2937;border-color:#36475a;color:#e4edf6}.studio .swatch{border-color:#3d4d5d}.studio .swatch-label{background:#192532;color:#eaf3fb}.studio .swatch-label code{color:#afc4d8}.studio footer{color:#8ea2b8;font-family:var(--studio-mono);font-size:11px}.studio .section a{color:#6ed3ff}
/* Crucial isolation: previews always use the real MITA V2 light tokens, not Studio dark theme. */
.studio .component-surface{--surface:#fff;--canvas:#f5f7fa;--surface-muted:#f0f4f7;--text:#1e293b;--text-muted:#64748b;--border:#dce3e9;--primary:#207ea6;--primary-hover:#176687;--danger:#c8394a;--focus:#126fbd;color:var(--text);background:var(--canvas);border-color:var(--border);color-scheme:light}
.studio .component-surface .btn{font-family:var(--font-family)}
.studio .preview:not(.component-surface),.studio .viewport-frame:not(.component-surface){background:#101923;border-color:#405269}
.studio .preview:not(.component-surface) .btn,.studio .preview:not(.component-surface) .input,.studio .preview:not(.component-surface) .select,.studio .preview:not(.component-surface) .alert{color-scheme:light}
.studio .asset-preview{background-image:linear-gradient(45deg,#f3f5f7 25%,transparent 25%),linear-gradient(-45deg,#f3f5f7 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f3f5f7 75%),linear-gradient(-45deg,transparent 75%,#f3f5f7 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
.studio .viewport-label{font-family:var(--studio-mono);color:#b3c4d7}.studio .guidance strong{color:#c7f1ff}
@media(max-width:900px){.studio .content{padding:20px}.studio-toolbar{padding:11px 20px}}
@media(max-width:640px){.studio .sidebar{padding:12px}.studio .logo{width:100px;margin-bottom:0}.studio .sidebar .nav{gap:6px}.studio .sidebar .nav a{border:1px solid #2c3949}.studio .content{padding:14px}.studio-toolbar{padding:10px 14px;flex-wrap:wrap}.studio .section{padding:16px}.studio .top{gap:12px}}
