:root{color:#1f2937;background:#f8fafc;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;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:#1d4ed8}.app-shell{min-height:100vh}.app-header{border-bottom:1px solid #e5e7eb;background:#fff}.app-header__content,.app-main{width:min(1120px,calc(100% - 32px));margin:0 auto}.app-header__content{display:flex;align-items:center;justify-content:space-between;min-height:64px}.app-header__brand{color:#111827;font-size:18px;font-weight:700;text-decoration:none}.app-nav{display:flex;align-items:center;gap:16px}.link-button{border:0;background:transparent;color:#1d4ed8;cursor:pointer;font:inherit;padding:0;text-decoration:underline}.app-main{padding:32px 0}.page-card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:24px;box-shadow:0 1px 2px #0f172a0f}.page-eyebrow{margin:0 0 8px;color:#64748b;font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.page-title{margin:0 0 12px;color:#0f172a;font-size:32px;line-height:1.2}.page-description{margin:0;color:#475569;font-size:16px;line-height:1.6}.page-card--spaced{margin-top:24px}.dashboard-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;border:1px solid rgb(37 99 235 / .18);border-radius:24px;background:radial-gradient(circle at top right,rgb(59 130 246 / .22),transparent 34%),linear-gradient(135deg,#fff,#eff6ff);padding:32px;box-shadow:0 20px 45px #0f172a14}.dashboard-hero__action{text-decoration:none;white-space:nowrap}.dashboard-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin:24px 0}.metric-card{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:18px;box-shadow:0 10px 24px #0f172a0f}.metric-card--success{border-color:#bbf7d0;background:#f0fdf4}.metric-card--danger{border-color:#fecaca;background:#fef2f2}.metric-card--info{border-color:#bfdbfe;background:#eff6ff}.metric-card__label{color:#64748b;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.metric-card__value{color:#0f172a;font-size:32px;line-height:1}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:24px}.dashboard-panel{min-height:300px}.status-distribution{display:grid;gap:16px;margin-top:24px}.status-distribution__row{display:grid;grid-template-columns:minmax(160px,.5fr) minmax(160px,1fr) 48px;align-items:center;gap:12px}.status-distribution__label{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#475569;font-weight:700}.status-distribution__track{height:12px;overflow:hidden;border-radius:999px;background:#e2e8f0}.status-distribution__bar{display:block;height:100%;border-radius:inherit;background:#64748b}.status-distribution__bar--succeeded{background:#22c55e}.status-distribution__bar--failed,.status-distribution__bar--failed_tests,.status-distribution__bar--infra_error,.status-distribution__bar--timed_out{background:#ef4444}.status-distribution__bar--running,.status-distribution__bar--queued,.status-distribution__bar--discovered{background:#3b82f6}.status-distribution__percent{color:#64748b;font-size:13px;font-weight:700;text-align:right}.run-trend{display:flex;align-items:end;gap:10px;min-height:160px;margin-top:32px;border-bottom:1px solid #cbd5e1;padding:0 4px 12px}.run-trend__point{width:100%;min-width:12px;border-radius:999px 999px 4px 4px;background:#64748b;transition:opacity .12s ease,transform .12s ease}.run-trend__point:hover{opacity:.78;transform:translateY(-2px)}.run-trend__point--succeeded{background:#22c55e}.run-trend__point--failed,.run-trend__point--failed_tests,.run-trend__point--infra_error,.run-trend__point--timed_out{background:#ef4444}.run-trend__point--running,.run-trend__point--queued,.run-trend__point--discovered{background:#3b82f6}.placeholder-list{margin:24px 0 0;padding-left:20px;color:#475569}.section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-header h2{margin:0;color:#0f172a;font-size:24px}.artifact-filters{display:flex;flex-wrap:wrap;gap:16px;margin:24px 0}.artifact-filters label{display:grid;gap:6px;color:#334155;font-size:14px;font-weight:600}.artifact-filters select{min-width:180px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:8px 10px;color:#0f172a}.artifact-result-count,.empty-state{color:#475569}.artifact-video-warning{border:1px solid #fed7aa;border-radius:12px;background:#fff7ed;color:#9a3412;padding:12px}.session-summary{display:grid;gap:4px;margin:0 0 16px;border:1px solid #dbeafe;border-radius:12px;background:#eff6ff;color:#1e3a8a;font-size:13px;padding:12px}.auth-state{display:grid;gap:8px;margin:0 0 16px;border-radius:12px;font-size:14px;padding:12px}.auth-state--loading,.auth-state--authenticated{border:1px solid #dbeafe;background:#eff6ff;color:#1e3a8a}.auth-state--unauthenticated{border:1px solid #fed7aa;background:#fff7ed;color:#9a3412}.auth-state--error{border:1px solid #fecaca;background:#fef2f2;color:#991b1b}.artifact-table-wrapper{overflow-x:auto}.artifact-table{width:100%;border-collapse:collapse;font-size:14px}.artifact-table th,.artifact-table td{border-bottom:1px solid #e2e8f0;padding:12px;text-align:left;vertical-align:top}.artifact-table th{color:#475569;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.artifact-table code{color:#334155;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;overflow-wrap:anywhere}.artifact-table__row--selected{background:#eff6ff}.artifact-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.artifact-status--available{background:#dcfce7;color:#166534}.artifact-status--missing,.artifact-status--expired{background:#fef3c7;color:#92400e}.artifact-status--deleted,.artifact-status--corrupted{background:#fee2e2;color:#991b1b}.run-status{display:inline-flex;align-items:center;border-radius:999px;background:#e2e8f0;color:#334155;padding:4px 10px;font-size:12px;font-weight:700}.run-status--succeeded{background:#dcfce7;color:#166534}.run-status--failed,.run-status--failed_tests,.run-status--infra_error,.run-status--timed_out{background:#fee2e2;color:#991b1b}.run-status--running,.run-status--queued,.run-status--discovered{background:#dbeafe;color:#1e40af}.artifact-actions{display:grid;gap:6px}.artifact-table .artifact-actions{margin-top:8px}.artifact-action-button{display:inline-flex;align-items:center;justify-content:center;width:fit-content;border:1px solid #1d4ed8;border-radius:10px;background:#1d4ed8;color:#fff;cursor:pointer;font-weight:700;padding:7px 12px}.artifact-action-button:disabled{border-color:#cbd5e1;background:#e2e8f0;color:#64748b;cursor:not-allowed}.artifact-action-button--secondary{border-color:#cbd5e1;background:#fff;color:#1d4ed8}.artifact-action-button--secondary:disabled{color:#64748b}.artifact-action-error{margin:0;color:#b91c1c;font-size:13px}.run-detail-id{display:grid;gap:6px;margin:20px 0 0;color:#64748b;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.run-detail-id code{color:#0f172a;font-size:14px;font-weight:500;text-transform:none;letter-spacing:0;overflow-wrap:anywhere}.run-detail-id strong{color:#0f172a;font-size:18px;text-transform:none;letter-spacing:0}.run-detail-back-link{display:inline-flex;margin-top:18px;font-weight:700}.run-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:24px}.run-summary-item{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc;padding:14px}.run-summary-item span:first-child{color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.run-summary-item strong{display:grid;gap:4px;color:#0f172a;font-size:14px;font-weight:700;overflow-wrap:anywhere}.artifact-preview{display:grid;gap:20px}.artifact-preview__media{overflow:auto;border:1px solid #e2e8f0;border-radius:16px;background:linear-gradient(45deg,#f8fafc 25%,transparent 25%),linear-gradient(-45deg,#f8fafc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#f8fafc 75%),linear-gradient(-45deg,transparent 75%,#f8fafc 75%);background-color:#fff;background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;padding:16px}.artifact-preview__media img,.artifact-preview__media video{display:block;max-width:100%;max-height:620px;margin:0 auto;border-radius:10px;background:#000}.artifact-preview__text{display:grid;gap:12px}.artifact-preview__text pre{max-height:520px;overflow:auto;border:1px solid #e2e8f0;border-radius:14px;background:#0f172a;color:#e2e8f0;font-size:13px;line-height:1.5;padding:16px;white-space:pre-wrap}.artifact-preview__trace{display:grid;gap:12px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#1e3a8a;padding:16px}@media(max-width:900px){.dashboard-hero,.app-header__content,.section-header{align-items:stretch;flex-direction:column}.dashboard-kpis,.dashboard-grid,.run-summary-grid,.status-distribution__row{grid-template-columns:1fr}.status-distribution__percent{text-align:left}}
