:root{color:#172033;background:#f6f7f8;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{transition:border-color .14s ease,background-color .14s ease,color .14s ease,box-shadow .14s ease}.app{min-height:100vh;padding:28px;background:#f6f7f8}.workspace{width:min(1400px,100%);margin:0 auto}.developer-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;width:min(1400px,100%);margin:18px auto 0;border-top:1px solid #d8dee4;padding:16px 4px 0;color:#64748b;font-size:13px;text-align:center}.dashboard-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.dashboard-header h1{margin:0;color:#111827;font-size:28px;line-height:1.12;letter-spacing:0}.dashboard-header p,.section-card-header p,.batch-action-row p,.panel-title p,.batch-preview p,.guide-card p{margin:5px 0 0;color:#64748b;font-size:14px}.status-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.status-badge{min-height:34px;display:inline-flex;align-items:center;gap:8px;border:1px solid #d8dee4;border-radius:999px;padding:0 11px;color:#475569;background:#fff;white-space:nowrap}.status-badge span,.step-label,.preview-label{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700;letter-spacing:0;text-transform:uppercase}.status-badge strong{color:#111827;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:13px}.status-badge[data-tone=success]{border-color:#b7d8c6;color:#166534;background:#f3faf6}.status-badge[data-tone=warning]{border-color:#e7d29c;color:#92400e;background:#fffaf0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,9fr) minmax(300px,3fr);gap:20px;align-items:start}.primary-stack,.guide-stack{display:grid;gap:16px}.guide-sidebar{position:sticky;top:24px;min-width:0}.section-card,.guide-card{border:1px solid #d8dee4;border-radius:12px;background:#fff}.section-card{padding:16px}.section-card:before,.guide-card:before{content:"";display:block;height:2px;margin:-16px -16px 14px;border-radius:12px 12px 0 0;background:#334155}.section-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.section-card-header h2,.guide-card h2{margin:3px 0 0;color:#111827;font-size:17px;line-height:1.25;letter-spacing:0}.section-actions,.credential-form,.single-input-row,.batch-action-row,.batch-actions,.actions,.task-toolbar,.batch-stats{display:flex;flex-wrap:wrap;gap:8px}.section-actions{justify-content:flex-end}.step-label,.preview-label{display:inline-flex;align-items:center;color:#475569}.section-form{margin:0}.credential-form{align-items:flex-end}.credential-fields-form{display:grid;gap:12px}.credential-fields-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cookie-extra-field textarea{min-height:76px}.credential-submit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;background:#f9fafb}.credential-submit-row p{margin:0;color:#64748b;font-size:13px}.credential-ready{display:flex;align-items:center;gap:12px;border:1px solid #b7d8c6;border-radius:12px;padding:14px;color:#166534;background:#f3faf6}.credential-ready-icon{width:34px;height:34px;display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px;color:#fff;background:#47745d;font-weight:800}.credential-ready strong{display:block;color:#14532d;font-size:15px}.credential-ready p{margin:3px 0 0;color:#47745d;font-size:13px}.single-input-row{align-items:flex-end}.single-input-row .wide{flex:1 1 460px}.field{display:flex;min-width:0;flex-direction:column;gap:6px}.field span{color:#334155;font-size:13px;font-weight:600}.field small{color:#64748b;font-size:12px}input,textarea,select{width:100%;min-height:40px;border:1px solid #cfd7df;border-radius:10px;padding:0 11px;color:#111827;background:#fff}textarea{min-height:112px;padding:10px 11px;line-height:1.55;resize:vertical}input::placeholder,textarea::placeholder{color:#94a3b8}input:focus,textarea:focus,select:focus{border-color:#6ba986;outline:none;box-shadow:0 0 0 3px #56916f24}.action-button,.actions a,.batch-actions a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfd7df;border-radius:10px;padding:0 13px;color:#172033;background:#fff;cursor:pointer;font-weight:600;text-decoration:none;white-space:nowrap}.action-button.primary{border-color:#172033;color:#fff;background:#172033}.action-button.secondary:hover:not(:disabled),.action-button.ghost:hover:not(:disabled),.actions a:hover,.batch-actions a:hover{border-color:#94a3b8;background:#f8fafc}.action-button.primary:hover:not(:disabled){border-color:#254b38;background:#254b38}.action-button.ghost{border-color:transparent;color:#64748b;background:transparent}.action-button:disabled,.actions a[aria-disabled=true],.batch-actions a[aria-disabled=true]{cursor:not-allowed;opacity:.5}.mode-switch{display:inline-flex;width:min(420px,100%);gap:4px;margin-bottom:12px;border:1px solid #d8dee4;border-radius:10px;padding:4px;background:#f9fafb}.mode-switch button{flex:1 1 0;min-height:34px;border:1px solid transparent;border-radius:8px;color:#64748b;background:transparent;cursor:pointer;font-size:13px;font-weight:700}.mode-switch button:hover{color:#172033;background:#fff}.mode-switch button[aria-selected=true]{border-color:#cfd7df;color:#111827;background:#fff}.settings-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.settings-strip .field,.toggle-field{min-width:0;border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#f9fafb}.metric-field input{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:16px}.toggle-field{display:flex;align-items:center;justify-content:center;gap:8px}.toggle-field input{width:16px;min-height:16px;accent-color:#47745d}.toggle-field span{color:#334155;font-size:13px;font-weight:600}.batch-form{display:grid;gap:12px}.batch-action-row{align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f9fafb}.batch-action-row p{margin:0}.batch-meta-grid{display:grid;grid-template-columns:minmax(0,1fr) 140px 140px;gap:10px}.batch-input-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:10px}.batch-input-grid textarea{min-height:150px}.batch-preview{min-height:150px;border:1px solid #e5e7eb;border-radius:10px;padding:12px;background:#f9fafb}.batch-preview strong{display:block;margin-top:7px;color:#111827;font-size:16px}.tag-list,.error-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.tag{border:1px solid #bdd7c8;border-radius:999px;padding:3px 7px;color:#166534;background:#f3faf6;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px}.error-list{color:#b42318;font-size:13px}.notice{border:1px solid #e7d29c;border-radius:10px;padding:10px 12px;color:#7c4a03;background:#fffaf0;font-size:14px}.results-layout{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.4fr);gap:12px}.results-panel{min-height:420px;overflow:hidden;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.panel-title h3{margin:0;color:#111827;font-size:15px;line-height:1.3}.task-toolbar{justify-content:flex-end}.task-toolbar select{width:170px}.batch-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #e5e7eb;background:#fff}.batch-stats span{color:#475569;font-size:13px}.task-list,.comment-list{display:flex;flex-direction:column;gap:8px;padding:12px}.task{min-height:auto;width:100%;display:flex;align-items:flex-start;flex-direction:column;gap:5px;border-radius:10px;padding:10px;text-align:left}.task.active{border-color:#8ebaa1;background:#f3faf6}.task strong{color:#111827;line-height:1.4}.task small,.task em{color:#64748b;font-size:12px}.task em{color:#b42318;font-style:normal}.status{border:1px solid #d8dee4;border-radius:999px;padding:2px 7px;color:#475569;background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700}.status.running{border-color:#9cc7df;color:#075985;background:#f1f8fc}.status.success{border-color:#bdd7c8;color:#166534;background:#f3faf6}.status.failed,.status.stopped{border-color:#efb5b5;color:#991b1b;background:#fff5f5}.search{width:calc(100% - 24px);margin:12px 12px 0}.comment{border:1px solid #e5e7eb;border-radius:10px;padding:11px;background:#fff}.comment p{margin:0;color:#172033;line-height:1.65;white-space:pre-wrap;word-break:break-word}.comment footer{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:9px;color:#64748b;font-size:12px}.comment footer span{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 12px 12px;color:#64748b;font-size:13px}.empty-state{margin:0;border:1px dashed #cfd7df;border-radius:10px;padding:14px;color:#64748b;background:#f9fafb;font-size:14px}.guide-card{padding:14px;color:#334155}.guide-card:before{margin:-14px -14px 12px;background:#94a3b8}.guide-card h2{font-size:16px}.guide-card ol,.guide-card ul{margin:12px 0 0;padding:0;list-style:none}.guide-card ol{display:grid;gap:12px}.guide-card li{min-width:0}.guide-card ol li{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px;align-items:start}.guide-card ol li>span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;border:1px solid #d8dee4;border-radius:8px;color:#64748b;background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:11px;font-weight:700}.guide-card strong{color:#172033;font-size:14px}.guide-card p{font-size:13px}.guide-card ul{display:grid;gap:8px}.guide-card ul li{border-left:2px solid #cfd7df;padding-left:9px;color:#64748b;font-size:13px}.guide-card.subtle{background:#fbfcfd}@media(max-width:1023px){.dashboard-grid{grid-template-columns:1fr}.guide-sidebar{position:static}.guide-stack{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.settings-strip,.credential-fields-grid,.batch-meta-grid,.batch-input-grid,.results-layout{grid-template-columns:1fr}.results-panel{min-height:auto}}@media(max-width:767px){.app{padding:18px}.developer-footer{margin-top:14px}.dashboard-header,.section-card-header,.credential-submit-row,.batch-action-row,.batch-detail,.panel-title{align-items:stretch;flex-direction:column}.status-row,.section-actions,.task-toolbar,.batch-actions,.actions{justify-content:flex-start}.credential-form,.single-input-row,.guide-stack{display:grid;grid-template-columns:1fr}.action-button,.actions a,.batch-actions a,.task-toolbar select{width:100%}}
