:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#f7f8fc;--surface:#fff;--container:#eef0f8;--high:#e7eaf4;--text:#252936;--muted:#646b7d;--line:#e3e6ef;--primary:#465ac4;--on-primary:#fff;--primary-soft:#e9edff;--on-soft:#33459c;--error:#a63840;--error-soft:#fcecef;--success:#31735b;--success-soft:#e5f5ed;color:var(--text);background:var(--background);font-synthesis:none;-webkit-font-smoothing:antialiased;font-family:Segoe UI,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:280px;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button,a,input,summary{outline-offset:4px}:focus-visible{outline:3px solid var(--primary)}.icon{flex-shrink:0;width:22px;height:22px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.app-header,.app-main,.app-footer{width:min(1120px,100% - 80px);margin-inline:auto}.app-header{justify-content:space-between;align-items:center;gap:20px;min-height:116px;display:flex}.brand{align-items:center;gap:13px;text-decoration:none;display:inline-flex}.brand-icon{background:var(--primary);width:48px;height:48px;color:var(--on-primary);border-radius:17px;place-items:center;display:grid;transform:rotate(-5deg)}.brand-icon .icon{width:26px;height:26px;transform:rotate(5deg)}.brand strong{letter-spacing:-1.2px;font-size:28px;font-weight:750;line-height:1.1;display:block}.brand-dot{color:var(--primary)}.brand-caption{color:var(--muted);margin-top:5px;font-size:12px;display:block}.auth-actions{align-items:center;gap:20px;display:flex}.admin-label{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:flex}.online-dot{background:var(--success);border-radius:50%;width:7px;height:7px}.session-check{color:var(--muted);font-size:13px}.button{background:0 0;border:1px solid #0000;border-radius:100px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:10px 19px;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;transition:background .15s,box-shadow .15s;display:inline-flex}.button .icon{width:19px;height:19px}.button:hover{box-shadow:inset 0 0 0 100px #465ac40a}.button.primary{background:var(--primary);color:var(--on-primary);padding-inline:21px;box-shadow:0 3px 9px #465ac418}.button.primary:hover{filter:brightness(1.07)}.button.tonal{background:var(--primary-soft);color:var(--on-soft)}.button.outlined{border-color:var(--line);color:var(--primary);background:var(--surface)}.button.text-button{color:var(--primary);padding-inline:12px}.button.danger-text{color:var(--error)}.button.danger-text:hover{background:var(--error-soft);box-shadow:none}.button.danger{background:var(--error);color:#fff}.icon-button{width:42px;height:42px;color:var(--muted);background:0 0;border:0;border-radius:50%;place-items:center;display:inline-grid}.icon-button:hover{background:var(--container)}.demo-banner{border:1px solid var(--line);background:var(--surface);color:var(--muted);border-radius:18px;align-items:center;gap:14px;padding:16px 20px;display:flex}.demo-banner>.icon{color:var(--primary)}.demo-banner strong{color:var(--text);font-size:12px}.demo-banner p{margin:3px 0 0;font-size:12px;line-height:1.6}.session-banner,.notice{border-radius:16px;align-items:center;gap:12px;margin-top:16px;padding:10px 16px;font-size:14px;display:flex}.session-banner{background:var(--primary-soft);color:var(--on-soft);justify-content:space-between}.notice{background:var(--success-soft);color:var(--success)}.notice .icon-button{margin-left:auto}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin:0 0 25px;display:flex}.section-heading h1,.section-heading h2{letter-spacing:-1.2px;margin:0;font-size:clamp(27px,4vw,36px);font-weight:650;line-height:1.2}.section-heading p{color:var(--muted);margin:9px 0 0;font-size:14px;line-height:1.6}.section-heading .eyebrow{color:var(--primary);text-transform:uppercase;letter-spacing:1.4px;margin:0 0 10px;font-size:11px;font-weight:700}.downloads-section{margin-top:40px}.library-section{margin-top:46px}.library-heading h1{font-size:clamp(32px,5vw,43px)}.refresh-button{background:var(--high);color:var(--on-soft);width:46px;height:46px}.download-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.download-card{border:1px solid var(--line);background:var(--surface);border-radius:23px;flex-direction:column;min-width:0;padding:23px 24px 17px;display:flex}.download-card.has-error{border-color:color-mix(in srgb, var(--error) 20%, var(--line))}.card-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.status{color:var(--on-soft);background:var(--primary-soft);border-radius:50px;align-items:center;gap:7px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-flex}.status-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.status-failed{background:var(--error-soft);color:var(--error)}.status-completed{background:var(--success-soft);color:var(--success)}.status-canceled,.status-deleted,.status-queued{background:var(--container);color:var(--muted)}.attempt-label{color:var(--muted);font-size:11px}.download-card h3{overflow-wrap:anywhere;margin:18px 0 4px;font-size:18px;font-weight:600;line-height:1.4}.source-url{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:12px;overflow:hidden}.card-date{color:var(--muted);align-items:center;gap:6px;margin:14px 0 0;font-size:11px;display:flex}.card-date .icon{width:14px;height:14px}.progress{background:var(--primary-soft);border-radius:5px;height:5px;margin:21px 0 0;overflow:hidden}.progress span{background:var(--primary);border-radius:inherit;height:100%;display:block}.progress.indeterminate span{width:30%;animation:1.6s ease-in-out infinite progress}@keyframes progress{0%{transform:translate(-100%)}to{transform:translate(440%)}}.progress-caption{color:var(--muted);text-align:right;margin:6px 0 0;font-size:11px}.download-error{color:var(--error);background:var(--error-soft);border-radius:12px;gap:8px;margin-top:17px;padding:12px;font-size:12px;line-height:1.6;display:flex}.download-error>.icon{width:17px;height:17px;margin-top:2px}.download-error p{margin:0}details{margin-top:7px;font-size:11px}summary{cursor:pointer}details p{overflow-wrap:anywhere;margin-top:8px!important}.card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:3px;margin:auto -7px -4px;padding-top:18px;display:flex}.card-actions .button{min-height:38px;padding-inline:11px;font-size:11px}.library-panel{border:1px solid var(--line);background:var(--surface);border-radius:24px;overflow:hidden}.library-summary{background:color-mix(in srgb, var(--container) 60%, var(--surface));border-bottom:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;font-size:12px;display:flex}.library-summary>span{align-items:center;gap:10px;display:inline-flex}.library-summary>span:first-child{color:var(--text);font-weight:600}.library-summary .icon{width:19px;height:19px;color:var(--primary)}.library-summary strong{color:var(--text);font-weight:600}.count-pill{min-width:24px;height:24px;color:var(--on-soft);background:var(--primary-soft);border-radius:9px;place-items:center;padding-inline:8px;font-size:11px;display:grid}.file-list{margin:0;padding:0 24px;list-style:none}.file-row{border-bottom:1px solid var(--line);align-items:center;gap:18px;padding:23px 0;display:flex}.file-row:last-child{border-bottom:0}.file-symbol{border-radius:16px;flex-shrink:0;place-items:center;width:54px;height:60px;display:grid}.file-symbol .icon{width:26px;height:26px}.color-0{background:var(--primary-soft);color:var(--primary)}.color-1{background:var(--success-soft);color:var(--success)}.color-2{background:var(--container);color:var(--muted)}.file-info{flex:1;min-width:0}.file-info h3{overflow-wrap:anywhere;margin:0 0 8px;font-size:15px;font-weight:600;line-height:1.4}.file-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:9px;font-size:11px;display:flex}.meta-divider{background:var(--muted);border-radius:50%;width:3px;height:3px}.file-actions{align-items:center;gap:9px;display:flex}.delete-button:hover{color:var(--error);background:var(--error-soft)}.download-button{white-space:nowrap}.empty-state,.loading-state{text-align:center;color:var(--muted);padding:50px 24px}.empty-state>.icon{width:42px;height:42px;color:var(--primary);margin-bottom:8px}.empty-state h3{color:var(--text);margin:12px 0;font-size:20px;font-weight:600}.empty-state p{font-size:14px;line-height:1.6}.load-error{color:var(--error);background:var(--error-soft);border-radius:15px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;padding:12px 16px;font-size:13px;display:flex}.app-footer{color:var(--muted);justify-content:space-between;align-items:center;margin-top:28px;padding-block:32px;font-size:11px;display:flex}.app-footer>span:first-child{font-size:15px;font-weight:700}.dialog{border:1px solid var(--line);width:min(480px,100% - 32px);color:var(--text);background:var(--surface);border-radius:26px;max-height:calc(100dvh - 40px);padding:25px 27px;overflow-y:auto;box-shadow:0 18px 70px #121a3430}.dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#131b344f}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.dialog-heading h2{letter-spacing:-.5px;margin:0;font-size:22px;font-weight:600}.dialog-heading .icon-button{flex-shrink:0;margin-right:-10px}.dialog-description{color:var(--muted);margin:12px 0 24px;font-size:13px;line-height:1.8}.dialog-symbol{background:var(--primary-soft);width:50px;height:50px;color:var(--primary);border-radius:18px;place-items:center;margin-top:16px;display:grid}.field{color:var(--muted);margin-top:19px;font-size:12px;font-weight:500;display:block}.field input{border:1px solid var(--line);background:var(--background);width:100%;height:51px;color:var(--text);border-radius:12px;margin-top:8px;padding:12px 14px;font-size:15px}.field input[aria-invalid=true]{border-color:var(--error)}.field-hint{color:var(--muted);margin:12px 0;font-size:11px;line-height:1.7}.form-error{background:var(--error-soft);color:var(--error);border-radius:12px;margin-top:16px;padding:12px 15px;font-size:13px;line-height:1.7}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:27px;display:flex}.confirmation-name,.history-name{background:var(--container);overflow-wrap:anywhere;border-radius:13px;padding:14px 16px;font-size:14px;line-height:1.6}.attempts{padding:0;list-style:none}.attempts>li{border-bottom:1px solid var(--line);gap:14px;padding:16px 0;display:flex}.attempt-marker{background:var(--primary-soft);width:34px;height:34px;color:var(--on-soft);border-radius:50%;flex-shrink:0;place-items:center;font-size:12px;display:grid}.attempts h3{margin:0;font-size:14px}.attempts p{color:var(--muted);margin:6px 0;font-size:12px}.attempts time{color:var(--muted);font-size:11px}@media (width>=900px){.login-dialog{margin:0;position:fixed;top:90px;left:auto;right:max(40px,50vw - 560px)}}@media (width<=700px){.app-header,.app-main,.app-footer{width:calc(100% - 32px)}.app-header{gap:12px;min-height:96px}.brand{gap:9px}.brand-icon{border-radius:15px;width:42px;height:42px}.brand strong{font-size:25px}.brand-caption,.admin-label{display:none}.auth-actions{gap:0}.auth-actions .button{padding-inline:14px;font-size:12px}.demo-banner{align-items:flex-start;gap:10px;padding:13px 15px}.demo-banner>.icon{width:18px;height:18px;margin-top:2px}.section-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.section-heading p{font-size:12px}.section-heading>.button{margin-top:22px;padding-inline:14px;font-size:12px}.downloads-section{margin-top:30px}.download-grid{grid-template-columns:1fr}.download-card{padding:20px}.library-section{margin-top:34px}.library-summary{padding:16px;font-size:11px}.library-summary>span{gap:7px}.file-list{padding:0 16px}.file-row{flex-wrap:wrap;gap:12px;padding:19px 0}.file-symbol{border-radius:13px;width:44px;height:50px}.file-info{flex-basis:calc(100% - 60px)}.file-actions{justify-content:flex-end;width:100%;margin-top:2px}.file-info h3{font-size:14px}.file-meta{gap:7px;font-size:10px}.app-footer{gap:16px;margin-top:10px;font-size:10px}.app-footer>span:last-child{text-align:right}.dialog{padding:21px}.dialog-heading h2{font-size:20px}}@media (width<=360px){.section-heading{flex-wrap:wrap}.section-heading>.button{margin-top:0}.library-summary>span:last-child{flex-direction:column;align-items:flex-end;gap:3px}.card-actions{gap:0}}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#12141c;--surface:#1c1f2a;--container:#232735;--high:#30364a;--text:#e4e6f0;--muted:#a0a7bc;--line:#303443;--primary:#b5c0ff;--on-primary:#202e75;--primary-soft:#2d3761;--on-soft:#c3cdff;--error:#ffb2b7;--error-soft:#48262d;--success:#9cdbbb;--success-soft:#203b32}.button.danger{color:#4b1720}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}.progress.indeterminate span{transform:translate(110%)}}.library-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.field input[type=file]{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.file-picker{border:1px solid var(--line);background:var(--container);border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px;display:flex}.selected-file-name{overflow-wrap:anywhere;flex:1;min-width:100px;font-size:13px;line-height:1.6}.dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.history-dialog{width:min(760px,100% - 32px)}.attempt-content{flex:1;min-width:0}.attempt-heading,.stage-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.execution-status{color:var(--muted);background:var(--container);white-space:nowrap;border-radius:20px;padding:4px 9px;font-size:11px}.execution-status.status-failed{color:var(--error);background:var(--error-soft)}.execution-status.status-succeeded{color:var(--success);background:var(--success-soft)}.history-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;margin:16px 0;font-size:12px;display:grid}.history-facts dt{color:var(--muted);margin-bottom:4px}.history-facts dd{overflow-wrap:anywhere;margin:0}.history-facts.compact{gap:8px 16px;margin:10px 0}.stage-list{gap:10px;margin:16px 0 0;padding:0;list-style:none;display:grid}.stage-list>li{border:1px solid var(--line);border-radius:12px;min-width:0;padding:12px;display:block}.stage-heading h4{margin:0;font-size:13px}.attempts .history-error{color:var(--error)}.attempts .history-explanation,.attempts .stage-reuse{color:var(--on-soft);background:var(--primary-soft);border-radius:8px;padding:8px 10px;line-height:1.6}.diagnostics{margin:10px 0;font-size:12px}.diagnostics summary{cursor:pointer;color:var(--muted)}.diagnostics p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.resume-hint{color:var(--muted);font-size:12px}@media (width<=480px){.history-facts{grid-template-columns:1fr}.attempts>li{gap:10px}.history-dialog{padding:18px}.stage-list>li{padding:10px}.library-heading{flex-wrap:wrap;align-items:flex-start;gap:16px}.library-actions{justify-content:flex-end;width:100%}}
