:root{color:#17202a;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:#0f6b8f;font-weight:650;text-decoration:none}a:hover{text-decoration:underline}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(135deg,#21313beb,#14222beb),#21313b}.auth-panel{display:grid;gap:16px;width:min(420px,100%);padding:24px;border:1px solid #dbe3e8;border-radius:8px;background:#fff;box-shadow:0 18px 48px #0817202e}.auth-brand{display:flex;align-items:center;gap:12px;padding-bottom:4px;color:#17202a}.auth-brand strong,.auth-brand span{display:block}.auth-brand strong{font-size:20px;line-height:1.2}.auth-brand span{margin-top:3px;color:#5f6f7a;font-size:13px;font-weight:650}.auth-lock{padding:10px 12px;border:1px solid #ffd4d8;border-radius:7px;color:#9f2d35;background:#fff0f1;font-size:13px;font-weight:750}.auth-submit{width:100%}.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:26px;padding:22px 16px;color:#f8fafc;background:#21313b}.brand{display:flex;align-items:center;gap:12px;min-height:44px}.brand strong,.brand span{display:block}.brand strong{font-size:18px;line-height:1.2}.brand span{margin-top:3px;color:#b8c8d2;font-size:12px}.nav-list{display:grid;gap:6px}.nav-button,.primary-button,.ghost-button,.link-button,.danger-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid transparent;border-radius:7px;font-weight:700;cursor:pointer}.nav-button{justify-content:flex-start;width:100%;padding:10px 12px;color:#dbe6ec;background:transparent}.nav-button:hover,.nav-button.active{color:#fff;background:#314853}.content{min-width:0;padding:28px}.page{display:grid;gap:18px;max-width:1280px;margin:0 auto}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.page-header h1{margin:0;font-size:28px;line-height:1.15;letter-spacing:0}.page-header p{margin:7px 0 0;max-width:720px;color:#5f6f7a}.header-actions{display:flex;align-items:center;gap:10px}.panel{min-width:0;padding:18px;border:1px solid #dbe3e8;border-radius:8px;background:#fff;box-shadow:0 1px 2px #1425330d}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:15px;font-weight:800}.workbench-grid{display:grid;grid-template-columns:minmax(320px,.95fr) minmax(320px,1fr);gap:18px}.logs-panel{grid-column:1 / -1}.composer{display:grid;gap:10px}label{display:grid;gap:7px;color:#344650;font-size:13px;font-weight:800}input,select,textarea{width:100%;border:1px solid #c8d3da;border-radius:7px;color:#17202a;background:#fff;outline:none}input,select{min-height:40px;padding:8px 10px}textarea{min-height:148px;padding:11px 12px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#0f83a8;box-shadow:0 0 0 3px #0f83a824}.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.engine-toggle{display:inline-grid;grid-template-columns:repeat(2,minmax(88px,1fr));gap:4px;width:min(240px,100%);padding:4px;border:1px solid #d7e1e7;border-radius:7px;background:#eef3f6}.engine-toggle button{min-height:32px;border:0;border-radius:5px;color:#52646e;background:transparent;font-weight:800;cursor:pointer}.engine-toggle button.selected{color:#fff;background:#0f6b8f}.primary-button{padding:0 14px;color:#fff;background:#0f6b8f}.primary-button:disabled{cursor:not-allowed;opacity:.65}.ghost-button,.link-button{padding:0 12px;color:#22333d;background:#eef3f6;border-color:#d7e1e7}.danger-button{padding:0 12px;color:#9f2d35;background:#fff0f1;border-color:#ffd4d8}.danger-button:disabled{cursor:not-allowed;opacity:.65}.icon-button{width:34px;min-height:34px;color:#43535c;background:#f2f5f7;border-color:#dbe3e8}.inline-error,.callout.danger{color:#9f2d35}.callout{padding:12px 14px;border-radius:7px;font-weight:650;background:#fff0f1;border:1px solid #ffd4d8}.summary-stack{display:grid;gap:13px}.key-value{display:grid;gap:4px}.key-value span,.muted{color:#6b7b85;font-size:12px;font-weight:650}.key-value strong{min-width:0;overflow-wrap:anywhere;font-size:14px}.progress-block{display:grid;gap:7px}.progress-label{display:flex;justify-content:space-between;color:#52646e;font-size:12px;font-weight:800}.progress-track{height:9px;overflow:hidden;border-radius:99px;background:#e6edf1}.progress-track span{display:block;height:100%;border-radius:inherit;background:#2a9d72}.status-badge{display:inline-flex;align-items:center;gap:5px;width:max-content;min-height:26px;padding:0 9px;border-radius:999px;color:#475761;background:#edf2f5;font-size:12px;font-weight:800}.status-succeeded,.status-success{color:#1e6e50;background:#e7f5ee}.status-running{color:#0f6b8f;background:#e5f3f8}.status-failed,.status-error{color:#9f2d35;background:#fff0f1}.log-stream{display:grid;gap:1px;max-height:360px;overflow:auto;border:1px solid #dce5ea;border-radius:7px;background:#f7fafb}.log-line{display:grid;grid-template-columns:96px 64px minmax(0,1fr);gap:10px;padding:9px 11px;border-bottom:1px solid #e4ebef;color:#26343c;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.log-line:last-child{border-bottom:0}.log-line time,.log-line span{color:#6f7f88}.log-line p{margin:0;overflow-wrap:anywhere}.level-error p,.level-error span{color:#9f2d35}.empty-state{display:flex;align-items:center;justify-content:center;gap:8px;min-height:128px;padding:18px;color:#6b7b85;text-align:center}.table-panel{padding:0;overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:13px 14px;border-bottom:1px solid #e4ebef;text-align:left;vertical-align:top;white-space:nowrap}th{color:#52646e;background:#f7fafb;font-size:12px;font-weight:900}td{font-size:14px}.prompt-cell{min-width:280px;max-width:480px;white-space:normal}.task-actions{display:flex;flex-wrap:wrap;gap:8px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.providers-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(360px,1.2fr);gap:18px}.provider-items{display:grid;gap:8px}.provider-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:12px;border:1px solid #dbe3e8;border-radius:7px;color:#17202a;background:#fff;text-align:left;cursor:pointer}.provider-item.selected,.provider-item:hover{border-color:#0f83a8;background:#f0f8fb}.provider-item strong,.provider-item small{display:block}.provider-item small{margin-top:4px;color:#687984}.status-dot{width:10px;height:10px;flex:0 0 auto;border-radius:999px;background:#b8c4cb}.status-dot.enabled{background:#2a9d72}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .full{grid-column:1 / -1}.check-row{display:flex;align-items:center;gap:9px}.check-row input{width:18px;min-height:18px}.key-state{display:inline-flex;align-items:center;gap:8px;margin:14px 0;padding:9px 10px;border-radius:7px;color:#43535c;background:#f3f6f8;font-size:13px;font-weight:700}.reports-page{max-width:none}.report-controls{display:flex;align-items:end;gap:12px}.report-controls label{width:min(520px,100%)}.report-frame-wrap{min-height:calc(100vh - 220px);overflow:hidden;border:1px solid #dbe3e8;border-radius:8px;background:#fff}.report-frame-wrap iframe{display:block;width:100%;height:calc(100vh - 220px);min-height:520px;border:0}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:10;padding:12px}.brand{display:none}.nav-list{grid-template-columns:repeat(4,minmax(0,1fr))}.nav-button{justify-content:center;padding:9px 6px}.nav-button span{display:none}.content{padding:18px 14px}.page-header,.report-controls{align-items:stretch;flex-direction:column}.workbench-grid,.providers-grid,.form-grid{grid-template-columns:1fr}.log-line{grid-template-columns:1fr;gap:4px}}
