:root{--bg:#111827;--panel-bg:#1f2937cc;--border:#374151;--text:#f3f4f6;--text-muted:#9ca3af;--primary:#3b82f6;--primary-hover:#2563eb;--danger:#ef4444;--success:#10b981}body{background-color:var(--bg);color:var(--text);min-height:100vh;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}.container{max-width:1000px;margin:0 auto;padding:24px}.panel{background:var(--panel-bg);border:1px solid var(--border);border-radius:8px;margin-bottom:24px;padding:24px}.btn{background:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:6px;padding:8px 16px;font-size:14px;display:inline-block}.btn:hover{background:var(--primary-hover);text-decoration:none}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-danger{background:var(--danger)}.btn-danger:hover{background:#dc2626}.header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;display:flex}.app-header{border-bottom:1px solid var(--border);flex-direction:column;gap:.75rem;margin-bottom:1.5rem;padding-bottom:1rem;display:flex}.header-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;display:grid}.brand{min-width:0}.account-actions{white-space:nowrap;justify-content:flex-end;justify-self:end;align-items:center;gap:.75rem;min-width:0;max-width:100%;display:flex}.account-menu{justify-self:end;position:relative}.account-icon-button{border-radius:999px;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;padding:0;display:inline-flex}.account-avatar{border-radius:999px;justify-content:center;align-items:center;width:1.8rem;height:1.8rem;display:inline-flex;overflow:hidden}.account-avatar-img{object-fit:cover;width:100%;height:100%}.account-avatar-fallback{background:#ffffff24;border-radius:999px;justify-content:center;align-items:center;width:100%;height:100%;font-weight:700;display:inline-flex}.account-menu-popover{z-index:20;border:1px solid var(--border);background:var(--bg);border-radius:.75rem;min-width:14rem;max-width:min(20rem,100vw - 2rem);padding:.5rem;position:absolute;top:calc(100% + .5rem);right:0;box-shadow:0 12px 32px #00000040}.account-menu-email{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid var(--border);margin-bottom:.5rem;padding:.5rem .75rem;font-size:.9rem;overflow:hidden}.account-menu-popover a,.account-menu-popover button{text-align:left;width:100%;color:var(--text);cursor:pointer;background:0 0;border:none;border-radius:.5rem;padding:.5rem .75rem;font-size:.95rem;text-decoration:none;display:block}.account-menu-popover a:hover,.account-menu-popover button:hover{background:#ffffff1a}.account-menu-popover button.text-danger{color:var(--danger)}.status-row{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}@media (width<=720px){.header-main{grid-template-columns:minmax(0,1fr) max-content!important;align-items:center!important}.account-menu-popover{max-width:calc(100vw - 2rem);right:0}}.site-description{color:var(--text-muted);margin:.25rem 0 1.25rem;font-size:.95rem;line-height:1.6}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);padding:12px}th{color:var(--text-muted);font-weight:400}.settings-page{max-width:800px;margin:0 auto;padding:24px}.settings-card{background:var(--panel-bg);border:1px solid var(--border);border-radius:12px;margin-bottom:24px;padding:32px;box-shadow:0 10px 15px -3px #0000004d,0 4px 6px -2px #00000026}.settings-section{margin-bottom:24px}.settings-section-title{color:var(--text);margin-top:0;margin-bottom:8px;font-size:1.25rem;font-weight:600}.settings-section-desc{color:var(--text-muted);margin-bottom:16px;font-size:.875rem}.form-group{margin-bottom:20px}.form-label{color:var(--text);margin-bottom:8px;font-size:.875rem;font-weight:500;display:block}.form-label-flex{justify-content:space-between;align-items:center;display:flex}.form-input,.form-select{box-sizing:border-box;border:1px solid var(--border);width:100%;color:var(--text);background:#11182799;border-radius:6px;padding:10px 12px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.form-input:focus,.form-select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 2px #3b82f64d}.form-help{color:var(--text-muted);margin-top:6px;font-size:.75rem}.button{cursor:pointer;border:none;border-radius:6px;justify-content:center;align-items:center;padding:8px 16px;font-size:.875rem;font-weight:500;transition:all .2s;display:inline-flex}.button:disabled{opacity:.5;cursor:not-allowed}.button-primary{background:var(--primary);color:#fff}.button-primary:hover:not(:disabled){background:var(--primary-hover)}.button-secondary{border:1px solid var(--border);color:var(--text);background:0 0}.button-secondary:hover:not(:disabled){background:#ffffff0d;border-color:#4b5563}.button-danger{color:var(--danger);background:#ef444426;border:1px solid #ef44444d}.button-danger:hover:not(:disabled){background:#ef444440;border-color:#ef444480}.button-icon{color:var(--text-muted);background:0 0;border:1px solid #0000;padding:6px 10px}.button-icon:hover:not(:disabled){color:var(--text);background:#ffffff0d}.provider-list{flex-direction:column;gap:16px;margin-top:20px;display:flex}.provider-card{border:1px solid var(--border);background:#11182799;border-radius:8px;flex-direction:column;padding:16px;display:flex;position:relative}@media (width>=640px){.provider-card{flex-direction:row;justify-content:space-between;align-items:center}}.provider-card-left{flex:1;gap:16px;display:flex}.provider-order{flex-direction:column;justify-content:center;gap:4px;display:flex}.provider-info{flex:1}.provider-header{color:var(--text);align-items:center;gap:8px;margin-bottom:4px;font-size:1.125rem;font-weight:600;display:flex}.provider-meta{color:var(--text-muted);font-size:.875rem;line-height:1.5}.provider-meta-row{gap:8px;display:flex}.provider-meta-label{color:#6b7280;width:70px}.provider-actions{gap:8px;margin-top:16px;display:flex}@media (width>=640px){.provider-actions{align-items:center;margin-top:0}}.status-badge{text-transform:uppercase;letter-spacing:.025em;border-radius:9999px;align-items:center;padding:2px 8px;font-size:.75rem;font-weight:500;display:inline-flex}.status-success{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.status-warning{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b4d}.status-danger{color:#f87171;background:#ef444426;border:1px solid #ef44444d}.status-disabled{color:#9ca3af;background:#6b728026;border:1px solid #6b72804d}.alert{border-radius:6px;margin-bottom:20px;padding:12px 16px;font-size:.875rem}.alert-success{color:#34d399;background:#10b9811a;border:1px solid #10b98133}.alert-error{color:#f87171;background:#ef44441a;border:1px solid #ef444433}.modal-backdrop{z-index:1000;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0009;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.modal-content{background:var(--bg);border:1px solid var(--border);border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0006}.modal-header{border-bottom:1px solid var(--border);padding:20px 24px}.modal-header h2{margin:0;font-size:1.25rem}.modal-body{padding:24px}.modal-footer{border-top:1px solid var(--border);background:#1118274d;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.flex-center-between{justify-content:space-between;align-items:center;display:flex}.job-list{flex-direction:column;gap:.75rem;display:flex;container-type:inline-size}.job-card{border:1px solid var(--border);background:#0003;border-radius:.75rem;grid-template-columns:minmax(16rem,1fr) 7rem 13rem max-content;align-items:center;gap:.75rem;max-width:100%;padding:.9rem 1rem;display:grid;overflow:hidden}.job-card-main{min-width:0}.job-filename{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:min(52ch,100%);font-weight:600;display:block;overflow:hidden}.job-status-cell{white-space:nowrap;flex-direction:column;justify-content:center;align-items:flex-start;display:flex}.job-created-cell{white-space:nowrap;color:var(--text-muted)}.job-actions{white-space:nowrap;justify-content:flex-end;gap:.5rem;min-width:0;display:flex}@container (width<=58rem){.job-card{grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:"filename actions""status actions""created actions"}.job-card-main{grid-area:filename}.job-status-cell{grid-area:status}.job-created-cell{grid-area:created}.job-actions{grid-area:actions;place-self:center end}}@container (width<=42rem){.job-card{grid-template-columns:1fr;grid-template-areas:"filename""status""created""actions"}.job-actions{white-space:normal;flex-wrap:wrap;justify-self:start}}.job-summary-grid{grid-template-columns:minmax(0,1fr) max-content max-content;align-items:start;gap:16px;display:grid}.job-summary-item{min-width:0}.job-summary-filename{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:500;display:block;overflow:hidden}.job-summary-status{white-space:nowrap}@media (width<=640px){.job-summary-grid{grid-template-columns:1fr}.job-summary-status{justify-self:start}}.log-card,.live-log,.live-log details,.live-log summary,.live-log pre{box-sizing:border-box;max-width:100%}.live-log{width:100%;overflow:hidden}.live-log details{width:100%}.live-log summary{cursor:pointer;word-break:break-word;width:100%}.live-log pre,pre.log-tail{white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;border-radius:.5rem;width:100%;margin:0;padding:.75rem;overflow-x:auto}.brand-title{white-space:nowrap;word-break:keep-all;overflow-wrap:normal;font-size:clamp(2rem,9vw,3rem);line-height:1.05}.account-actions,.guest-actions,.header-auth{justify-content:flex-end;align-items:center;display:flex}.guest-auth-button{white-space:nowrap;align-items:center;gap:.4rem;max-width:52vw;padding:.4rem .75rem;display:inline-flex}.guest-auth-chip{opacity:.9;border-radius:999px;padding:.15rem .4rem;font-size:.75rem}.guest-auth-label{font-weight:700}.turnstile-container{max-width:100%;overflow:hidden}.turnstile-container iframe{max-width:100%}@media (width<=640px){.guest-auth-button{max-width:48vw;padding-inline:.7rem;font-size:.95rem}.guest-auth-chip{font-size:.7rem}.app-shell,.page,.main-content{box-sizing:border-box;width:100%;max-width:none;padding-inline:1rem}.header-main{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;display:grid}.brand-title{text-align:left;white-space:nowrap;font-size:clamp(1.75rem,7vw,2.25rem);line-height:1}.app-header{gap:.35rem;margin-bottom:.75rem;padding-bottom:.5rem}.intro-text{margin-bottom:.75rem;font-size:.95rem;line-height:1.6}.account-actions,.guest-actions,.header-auth{flex-wrap:nowrap;justify-content:flex-end;justify-self:end;align-items:center;display:flex}.account-menu-button,.account-icon-button{flex:none;width:2.75rem;height:2.75rem}.login-button{white-space:nowrap;width:auto;max-width:52vw;padding-inline:.9rem;font-size:.95rem}.header-links,.header-sub,.status-row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:.5rem .75rem;display:flex}.card,.upload-card,.job-list-card,.panel{box-sizing:border-box;width:100%;max-width:none}.upload-card{box-sizing:border-box;width:100%;max-width:100%;overflow:hidden;padding:1rem!important}.upload-title{font-size:1.5rem;margin-bottom:.75rem!important}.dropzone{display:none}.mobile-file-picker{box-sizing:border-box;width:100%;max-width:100%;margin:.75rem 0 1rem;display:block}.primary-file-button,.file-select-button,label.primary-file-button{box-sizing:border-box;text-align:center;border-radius:1rem;justify-content:center;align-items:center;width:100%;max-width:100%;min-height:4rem;padding:1rem;font-size:1.15rem;font-weight:800;display:flex}.file-help-text{opacity:.8;text-align:center;margin-top:.4rem;font-size:.85rem}}@media (width>=641px){.mobile-file-picker{display:none}}
