:root{color:#1f2933;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.app-shell{width:min(1280px,calc(100vw - 32px));margin:0 auto;padding:28px 0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.toolbar h1{margin:0;font-size:28px;line-height:1.2}.toolbar p{margin:8px 0 0;color:#637083}.layout{display:grid;grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:20px;align-items:start}.panel{background:#fff;border:1px solid #d9e0e8;border-radius:8px;box-shadow:0 10px 28px #1f29330f}.form-panel{padding:20px}.field{display:grid;gap:8px;margin-bottom:16px}.field span,.output-fieldset legend{color:#52606d;font-size:13px;font-weight:700}textarea,select{width:100%;border:1px solid #cbd5df;border-radius:6px;background:#fbfcfd;color:#1f2933;outline:none}textarea{min-height:150px;padding:12px;resize:vertical}select{height:42px;padding:0 10px}textarea:focus,select:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e1f}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.option-row{display:flex;flex-wrap:wrap;gap:16px;margin:2px 0 18px}.toggle{display:inline-flex;align-items:center;gap:8px;color:#384554}.output-fieldset{border:0;padding:0;margin:0 0 18px}.output-fieldset legend{margin-bottom:10px}.output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.output-option{display:grid;grid-template-columns:18px 20px 1fr;gap:9px;align-items:center;min-height:58px;padding:10px;border:1px solid #d9e0e8;border-radius:6px;background:#fbfcfd}.output-option span{display:grid;gap:2px;min-width:0}.output-option strong{font-size:14px;color:#283747}.output-option small{overflow:hidden;color:#728196;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.primary-button,.secondary-button,.icon-button,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer}.primary-button{width:100%;min-height:44px;border-radius:6px;background:#0f766e;color:#fff;font-weight:800}.primary-button:disabled{cursor:not-allowed;opacity:.7}.secondary-button{min-height:38px;padding:0 12px;border:1px solid #cbd5df;border-radius:6px;background:#fff;color:#384554;font-weight:700}.secondary-button:disabled{cursor:not-allowed;opacity:.7}.icon-button{width:40px;height:40px;border:1px solid #cbd5df;border-radius:6px;background:#fff;color:#384554}.text-button{padding:0;background:transparent;color:#52606d}.text-button.danger{color:#a23434}.error-line{display:flex;align-items:center;gap:8px;margin-bottom:14px;color:#a23434;font-size:14px}.cookies-panel{display:grid;gap:10px;margin:0 0 18px;padding:12px;border:1px solid #d9e0e8;border-radius:6px;background:#fbfcfd}.cookies-header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#52606d;font-size:13px;font-weight:700}.cookies-header span{display:inline-flex;align-items:center;gap:7px}.cookies-header strong{color:#a23434;font-size:12px}.cookies-header strong.ok{color:#0f766e}.cookies-panel textarea{min-height:92px;font-size:12px}.jobs-panel{min-height:520px;padding:18px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px}.section-title h2{margin:0;font-size:20px}.section-title span{color:#728196;font-size:13px}.jobs-list{display:grid;gap:12px}.empty-state{display:grid;place-items:center;gap:10px;min-height:320px;color:#728196}.job-card{display:grid;gap:12px;padding:14px;border:1px solid #d9e0e8;border-left:4px solid #7b8794;border-radius:8px;background:#fbfcfd}.job-card.completed{border-left-color:#0f766e}.job-card.failed{border-left-color:#b42318}.job-header{display:flex;justify-content:space-between;gap:14px}.job-header h3{margin:0;color:#1f2933;font-size:16px;line-height:1.35}.job-header p{margin:4px 0 0;color:#728196;font-size:12px}.status-pill{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;min-width:max-content;padding:5px 9px;border-radius:999px;background:#eef3f7;color:#384554;font-size:12px;font-weight:700}.job-meta{display:flex;flex-wrap:wrap;gap:8px}.job-meta span{padding:4px 8px;border-radius:999px;background:#eef3f7;color:#52606d;font-size:12px}.download-list{display:grid;gap:8px}.download-link{display:grid;grid-template-columns:22px 1fr 20px;align-items:center;gap:9px;min-height:42px;padding:9px 10px;border:1px solid #bfd8d4;border-radius:6px;background:#eefaf8;color:#0f766e;font-weight:700}.download-link span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.job-error{max-height:120px;margin:0;overflow:auto;padding:10px;border-radius:6px;background:#fff1f1;color:#8a1f1f;font-size:12px;white-space:pre-wrap}.job-actions{display:flex;justify-content:space-between;gap:12px;color:#52606d;font-size:13px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.app-shell{width:min(100vw - 20px,720px);padding:18px 0}.toolbar{align-items:flex-start}.layout,.form-grid,.output-grid{grid-template-columns:1fr}.job-header{display:grid}}
