:root{--lime: #d9e021;--leaf: #7ac943;--green: #1c8828;--forest: #156615;--cyan: #21d1f7;--sky: #3fa9f5;--gray: #666666;--teal: #0dbaa5;--deep-blue: #0090bf;--text-primary: #2c2c2a;--text-secondary: #5f5e5a;--text-muted: #888780;--border: #e3e2dc;--border-strong: #cfcdc4;--surface-page: #f7f6f2;--surface-card: #ffffff;--danger: #a32d2d;--radius: 8px;--brand-gradient: linear-gradient(135deg, #0b3d59 0%, #0090bf 45%, #0dbaa5 80%, #21d1f7 100%);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:var(--text-primary)}*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:var(--brand-gradient);background-attachment:fixed}.app{max-width:860px;margin:0 auto;padding:2rem 1.5rem 4rem}.shell{background:var(--surface-card);border-radius:20px;box-shadow:0 20px 60px #041e2859;margin-bottom:2rem}.auth-viewport{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.auth-card{width:100%;max-width:380px;background:var(--surface-card);border-radius:16px;padding:2.25rem 2rem 2rem;box-shadow:0 20px 60px #041e2859;text-align:center}.auth-logo{height:28px;margin:0 auto 1.25rem;display:block}.auth-brand{font-size:28px;font-weight:700;letter-spacing:.02em;color:var(--deep-blue);margin:0 0 4px}.auth-subtitle{font-size:13px;color:var(--text-secondary);margin:0 0 1.5rem}.auth-card .stack{text-align:left}.btn-brand{border:none;color:#fff;height:44px;font-weight:500;background:linear-gradient(90deg,var(--deep-blue),var(--teal))}.btn-brand:hover{filter:brightness(1.05)}.btn-brand:disabled{background:var(--border-strong);filter:none;cursor:not-allowed}label{display:block;font-size:13px;color:var(--text-secondary);margin-bottom:5px}input,textarea{width:100%;font:inherit;font-size:14px;padding:8px 11px;border:.5px solid var(--border-strong);border-radius:var(--radius);background:var(--surface-card);color:var(--text-primary)}input:focus,textarea:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 2px #0dbaa526}textarea{min-height:64px;resize:vertical}.card{background:var(--surface-card);border:.5px solid var(--border);border-radius:12px;padding:1rem 1.25rem;overflow:hidden}.card-bar{height:3px;margin:-1rem -1.25rem 1rem}.card-title{font-size:13px;font-weight:500;margin:0 0 12px;text-transform:uppercase;letter-spacing:.03em;color:var(--deep-blue)}.stack{display:grid;grid-template-columns:1fr;gap:12px}button{font:inherit;cursor:pointer}.btn{width:100%;height:40px;border-radius:var(--radius);border:.5px solid var(--border-strong);background:var(--surface-card);color:var(--text-primary);font-size:14px}.btn:hover{background:var(--surface-page)}.btn-primary{border:none;background:var(--teal);color:#fff;height:44px;font-weight:500}.btn-primary:hover{background:#0aa392}.btn-primary:disabled{background:var(--border-strong);cursor:not-allowed}.btn-download{border:none;background:var(--deep-blue);color:#fff;height:44px;font-weight:500}.btn-download:hover{background:#007ba3}.tabs{display:flex;gap:6px;background:#eeece5;padding:5px;border-radius:12px;margin-bottom:1.5rem}.tab{flex:1;border:none;background:transparent;border-radius:8px;height:40px;font-size:14px;color:var(--text-secondary)}.tab.on{background:var(--surface-card);color:var(--deep-blue);box-shadow:inset 0 0 0 1px #0dbaa566}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0b1e288c;display:flex;align-items:center;justify-content:center;padding:2rem;z-index:1000}.modal{background:var(--surface-card);border-radius:16px;width:min(960px,100%);max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #041e2873}.modal-header{display:flex;align-items:center;gap:12px;flex-shrink:0;padding:1rem 1.25rem;border-bottom:.5px solid var(--border)}.modal-title{font-size:16px;font-weight:500;margin:0}.modal-close{margin-left:auto;width:auto;height:auto;border:none;background:none;font-size:22px;line-height:1;color:var(--text-secondary);padding:0}.modal-close:hover{color:var(--text-primary)}.modal-body{padding:1.25rem;overflow-y:auto}.modal-footer{padding:1rem 1.25rem;border-top:.5px solid var(--border);flex-shrink:0}.pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:1rem}.pagination button{width:auto;height:32px;padding:0 14px}.pagination span{font-size:13px;color:var(--text-secondary)}.row{border:.5px solid var(--border);border-left:3px solid var(--green);border-radius:0 8px 8px 0;margin-bottom:8px;overflow:hidden}.row.fail{border-left-color:var(--danger)}.row-head{display:flex;align-items:center;gap:10px;padding:11px 14px;cursor:pointer;background:var(--surface-card)}.row-name{font-size:14px;font-weight:500}.row-msg{font-size:13px}.row-detail{padding:12px 14px;background:var(--surface-page);border-top:.5px solid var(--border);font-size:13px;color:var(--text-secondary);font-family:ui-monospace,Menlo,Consolas,monospace;line-height:1.6}.dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.muted{color:var(--text-muted)}.divider{display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:13px;margin:12px 0}.divider span{flex:1;height:.5px;background:var(--border)}.workspace-layout{display:flex;min-height:100vh;align-items:flex-start}.sidebar{width:300px;flex-shrink:0;padding:2rem .75rem 2rem 1.25rem;display:flex;flex-direction:column;gap:6px}.sidebar-brand{padding-bottom:1.25rem;margin-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.12)}.sidebar-brand-name{color:#fff;font-size:28px;font-weight:700;letter-spacing:.01em;line-height:1.2}.sidebar-brand-sub{color:#ffffff80;font-size:13px;margin-top:5px}.sidebar-section-label{font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#ffffff59;padding:.5rem 4px .25rem}.sidebar-item{display:flex;flex-direction:row;align-items:center;gap:14px;width:100%;text-align:left;background:#ffffff12;border:1px solid rgba(255,255,255,.1);border-left:3px solid transparent;font:inherit;color:#ffffffbf;padding:16px 18px;border-radius:10px;cursor:pointer;transition:all .18s}.item-icon{width:20px;height:20px;flex-shrink:0;opacity:.8}.item-text{display:flex;flex-direction:column;gap:4px}.sidebar-item .item-label{font-size:15px;font-weight:600;letter-spacing:.01em}.sidebar-item .item-desc{font-size:12px;font-weight:400;opacity:.6;line-height:1.4}.sidebar-item:hover{background:#ffffff21;border-color:#fff3;border-left-color:#fff6;color:#fff}.sidebar-item.active{background:#ffffff2b;border-color:#ffffff26;border-left-color:var(--leaf);color:#fff;box-shadow:0 4px 16px #00000026}.workspace-content{flex:1;padding:2rem 2rem 2rem 0;overflow-y:auto}.studio-drop{border:2px dashed var(--border-strong);border-radius:10px;padding:40px 20px;text-align:center;cursor:pointer;background:var(--surface-page);transition:border-color .2s,background .2s}.studio-drop:hover,.studio-drop.over{border-color:var(--teal);background:#f0faf9}.studio-drop-icon{font-size:2rem;color:var(--border-strong);margin-bottom:10px}.studio-success{background:#f0faf5;border:.5px solid #b3dfc7;border-radius:8px;padding:14px 18px;margin-top:12px}.studio-item{font-size:13px;color:var(--green);padding:2px 0}.studio-item:before{content:"✓  ";font-weight:700}.spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
