:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f6f7f9;color:#16202a}*{box-sizing:border-box}body{margin:0}button,.button,input,textarea{font:inherit}button,.button{align-items:center;background:#175cd3;border:0;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;gap:8px;min-height:40px;padding:0 14px;text-decoration:none}button:disabled,.disabled{cursor:not-allowed;opacity:.45}.ghost{background:#eef2f7;color:#223449}.danger{background:#b42318}.shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.login-page{align-items:center;background:#101828;display:flex;min-height:100vh;justify-content:center;padding:20px}.login-box{background:#fff;border-radius:8px;display:grid;gap:14px;max-width:420px;padding:24px;width:100%}.login-brand{color:#101828;margin-bottom:8px}.login-box label{display:grid;font-weight:700;gap:8px}.login-box input{border:1px solid #cbd5e1;border-radius:8px;padding:11px}.error-text{color:#b42318;font-weight:700}.sidebar{background:#101828;color:#fff;padding:22px}.brand{align-items:center;display:flex;gap:12px;margin-bottom:30px}.brand-mark{align-items:center;background:#7dd3fc;border-radius:8px;color:#0b2239;display:inline-flex;font-weight:800;height:42px;justify-content:center;width:42px}.brand small{color:#cbd5e1;display:block;margin-top:2px}.nav{background:transparent;color:#d0d5dd;justify-content:flex-start;margin-bottom:8px;width:100%}.nav.active,.nav:hover{background:#243247;color:#fff}.main{min-width:0;padding:28px}.workspace{display:grid;gap:18px;margin:0 auto;max-width:1180px}.topbar{align-items:center;display:flex;gap:16px;justify-content:space-between}h1,h2,p{margin:0}h1{font-size:28px}h2{font-size:17px}p,.muted{color:#64748b}.panel{background:#fff;border:1px solid #d9e2ec;border-radius:8px;display:grid;gap:14px;padding:18px}.panel-header,.deploy-panel{align-items:center;display:flex;gap:12px;justify-content:space-between}.actions{display:flex;flex-wrap:wrap;gap:10px}.execution-progress{gap:12px}.progress-header{align-items:center;display:flex;gap:12px;justify-content:space-between}.progress-state{border-radius:999px;display:inline-flex;font-size:13px;font-weight:800;padding:7px 11px;white-space:nowrap}.progress-state.idle{background:#e0f2fe;color:#075985}.progress-state.running{background:#fef3c7;color:#92400e}.progress-state.success{background:#dcfce7;color:#166534}.progress-state.error{background:#fee2e2;color:#991b1b}.progress-track{background:#e5eaf1;border-radius:999px;height:10px;overflow:hidden;position:relative}.progress-bar{border-radius:inherit;height:100%;transition:width .18s ease}.execution-progress.idle .progress-bar{background:#7dd3fc;width:12%}.execution-progress.running .progress-bar{animation:progress-slide 1.15s ease-in-out infinite;background:linear-gradient(90deg,#f59e0b,#f97316);width:38%}.execution-progress.success .progress-bar{background:#22c55e;width:100%}.execution-progress.error .progress-bar{background:#dc2626;width:100%}@keyframes progress-slide{0%{transform:translate(-110%)}to{transform:translate(280%)}}.request-box,.prompt-editor,.settings input{border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:12px;width:100%}.request-box{min-height:150px;resize:vertical}.prompt-editor{font-family:SFMono-Regular,Consolas,monospace;min-height:320px;resize:vertical}.log-viewer{background:#0b1220;border-radius:8px;color:#c7d2fe;min-height:190px;overflow:auto;padding:14px}.log-viewer pre{margin:0 0 6px;white-space:pre-wrap}.status{border-radius:999px;display:inline-flex;font-size:13px;font-weight:700;padding:7px 11px;white-space:nowrap}.status.idle,.status.prompt_ready{background:#e0f2fe;color:#075985}.status.generating,.status.executing_dev,.status.deploying_prod,.status.rolling_back{background:#fef3c7;color:#92400e}.status.ready_for_test,.status.deployed,.status.rolled_back{background:#dcfce7;color:#166534}.status.error{background:#fee2e2;color:#991b1b}.history-list{gap:10px}.history-item{align-items:center;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:12px;justify-content:space-between;padding:12px}.history-item small{color:#64748b;display:block;margin-top:5px}.settings label{display:grid;font-weight:700;gap:8px}.info-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.info-grid span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:12px}.guide-hero{background:linear-gradient(135deg,#fff,#f8fbff)}.guide-steps{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.guide-step{align-items:flex-start;display:grid;gap:14px;grid-template-columns:auto 1fr}.guide-icon{align-items:center;background:#e0f2fe;border-radius:8px;color:#075985;display:inline-flex;height:42px;justify-content:center;width:42px}.guide-notes ul{display:grid;gap:8px;margin:0;padding-left:20px}.guide-notes code{background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;padding:2px 6px}.guide-recovery{align-items:flex-start;display:flex;gap:12px}.guide-recovery svg{color:#b42318;flex:0 0 auto}@media (max-width: 820px){.shell{grid-template-columns:1fr}.sidebar{position:static}.panel-header,.deploy-panel,.progress-header,.topbar{align-items:flex-start;flex-direction:column}.info-grid,.guide-steps{grid-template-columns:1fr}}
