:root{font-family:"Segoe UI",Arial,sans-serif;color:#203442;background:#f3f5f5;font-synthesis:none;--ink:#142b3a;--blue:#205bcb;--muted:#75838e;--border:#dde4e7;--green:#16806a}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--blue)}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-weight:650;letter-spacing:-1.3px}h2{font-size:18px;font-weight:650}p{line-height:1.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8db6ff;outline-offset:3px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:750;letter-spacing:-.7px}.brand-light{color:#fff}.brand-thin{font-weight:350}.brand-mark{width:34px;height:34px;display:grid;place-items:center;background:#447edb;color:#fff;border-radius:10px;font-size:24px;font-weight:750;box-shadow:inset 0 0 0 1px #ffffff20}
.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:#a7bed1;margin-bottom:18px}.eyebrow.dark{color:#6e8291;font-size:10px;letter-spacing:1.8px;margin-bottom:10px}.muted{color:var(--muted);font-size:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:45px;padding:11px 20px;border:1px solid transparent;border-radius:9px;font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.primary{background:var(--blue);color:#fff;box-shadow:0 4px 10px #205bcb15}.primary:hover{background:#164db7}.secondary{background:#fff;border-color:var(--border);color:#304b5e}.secondary:hover{background:#f4f7fa}.danger-button{background:#fff1ef;color:#a6372b;border:1px solid #f0d1cb}.small-button{min-height:32px;padding:6px 11px;font-size:12px;border-radius:6px}.full{width:100%}
label{display:block;font-size:12px;font-weight:650;color:#425867;margin-bottom:18px}input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;background:#fff;border:1px solid #d6e0e5;border-radius:8px;min-height:44px;padding:10px 12px;color:#233c4e;margin-top:7px;font-size:14px}input::placeholder,textarea::placeholder{color:#a0adb6}label small,.field-hint{display:block;font-weight:400;font-size:11px;color:#84919b;line-height:1.5;margin-top:7px}.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-weight:450;font-size:12px;line-height:1.6;margin:15px 0}.checkbox-label input{accent-color:var(--blue);width:16px;height:16px;flex:none;margin-top:2px}.error-box{background:#fff0ed;border:1px solid #f2cec7;color:#a33729;padding:14px 16px;border-radius:9px;font-size:13px;line-height:1.65;white-space:pre-wrap;margin:16px 0}.notice{background:#fff8e9;border:1px solid #f1e4c9;color:#8b6a26;padding:13px 16px;border-radius:9px;font-size:12px;line-height:1.7;margin-top:15px}
.auth-layout{display:grid;grid-template-columns:48% 52%;min-height:100vh;background:#fff}.auth-story{background:var(--ink);color:#fff;padding:42px 9%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff0a;border-radius:50%;left:20%;top:60%;pointer-events:none;box-shadow:0 0 0 70px #ffffff02,0 0 0 140px #ffffff01}.story-content{margin:auto 0;padding:80px 0;z-index:1}.story-content h1{font-size:clamp(40px,4.8vw,66px);line-height:1.12;margin-bottom:27px;letter-spacing:-2px}.story-content h1 span{color:#91baf8}.story-content p{font-size:14px;color:#a9bbc8;max-width:345px;line-height:1.85}.source-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.source-pills span{font-size:11px;border:1px solid #ffffff24;padding:7px 11px;border-radius:6px;color:#cfdae3}.story-rule{height:1px;background:#ffffff16;margin:42px 0 23px}.story-footer{display:flex;gap:18px;color:#8cabbf;font-size:10px;line-height:1.6}.story-bottom{font-size:11px;color:#7896ac;padding:5px 0 0}.auth-form-area{display:grid;place-items:center;padding:55px 40px;background:#fbfcfc}.auth-card{width:100%;max-width:370px}.auth-card h2{font-size:29px;letter-spacing:-.7px;margin-bottom:12px}.auth-card>.muted{line-height:1.7;max-width:330px}.tabs{display:flex;border-bottom:1px solid var(--border);gap:26px}.tabs button{padding:13px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:#8d9aa3;font-size:13px}.tabs button.active{border-color:var(--blue);color:var(--blue);font-weight:650}.auth-tabs{margin:26px 0}.auth-footnote{color:#96a1a9;font-size:11px;line-height:1.75;margin:22px 0 0}.auth-card .button{margin-top:8px}
.workspace{min-height:100vh;display:flex}.sidebar{background:var(--ink);color:#b8c8d3;width:242px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:29px 18px 21px;z-index:20}.sidebar .brand{font-size:20px;margin:0 10px 41px}.sidebar .brand-mark{width:30px;height:30px;font-size:21px}.nav-caption{font-size:9px;letter-spacing:1.5px;color:#6c8b9f;margin:0 12px 12px}.nav-button{border:0;background:transparent;color:#a5b9c7;display:flex;align-items:center;gap:11px;width:100%;padding:13px 12px;font-size:12px;text-align:left;border-radius:8px;margin-bottom:3px}.nav-button:hover{background:#ffffff07;color:#fff}.nav-button.active{background:#2a4b63;color:#fff;box-shadow:inset 3px 0 #78a5f3}.nav-symbol{font-size:19px;font-weight:400;width:22px;text-align:center;color:#81a2b9}#admin-nav{margin-top:31px}.sidebar-bottom{margin-top:auto;padding-top:30px}.engine-indicator{display:flex;align-items:center;gap:11px;padding:16px 12px;border-top:1px solid #ffffff10;font-size:11px;color:#c2d1dc}.engine-indicator small{display:block;margin-top:5px;font-size:10px;color:#718fa3}.status-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#3cb79a;box-shadow:0 0 0 4px #3cb79a12}.status-dot.offline{background:#db9661;box-shadow:0 0 0 4px #db966115}.logout-button{width:100%;padding:13px 11px;background:transparent;border:0;text-align:left;font-size:11px;color:#86a1b3}.workspace-body{margin-left:242px;width:calc(100% - 242px);display:flex;flex-direction:column}.topbar{height:75px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.topbar-label{font-size:9px;letter-spacing:1.8px;color:#8c9aa4;font-weight:650}.user-chip{display:flex;gap:11px;align-items:center;font-size:12px;color:#536a7b}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#e7eef9;color:#456eab;font-weight:700}.user-chip small{display:block;font-size:10px;color:#94a2ad;margin-top:3px}.main-content{padding:38px 40px 52px;max-width:1430px;width:100%;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:29px;margin-bottom:9px}.page-heading p{margin-bottom:0;font-size:12px}.workspace-footer{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:19px 40px;font-size:10px;color:#a0aab1;margin-top:auto}.steps{display:flex;align-items:center;gap:22px;font-size:11px;color:#8e9da7;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:18px 0;margin-bottom:28px}.steps b{font-size:10px;font-weight:650;color:#a4b2bc;margin-right:7px}.steps i{font-style:normal;color:#c3cdd4}.steps .current,.steps .current b{color:var(--blue)}.section-label{display:flex;align-items:center;gap:10px;margin-bottom:17px}.section-label>span{background:#e8edf1;color:#8497a6;font-size:9px;width:23px;height:23px;border-radius:5px;display:grid;place-items:center;font-weight:700}.section-label h2{font-size:14px;letter-spacing:-.1px;margin:0}
.mode-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mode-card{padding:19px 16px;text-align:left;border:1px solid #dce4e8;border-radius:10px;background:#fff;position:relative;color:#233c4d;min-height:117px}.mode-card:hover{border-color:#8aafde}.mode-card.selected{border:2px solid var(--blue);padding:18px 15px;background:#f4f8ff;box-shadow:0 3px 8px #254d8510}.mode-card strong{display:block;font-size:17px;letter-spacing:-.5px;margin-bottom:8px}.mode-card small{font-size:10px;color:#889aa8;display:block;line-height:1.5}.mode-card .choice{position:absolute;right:13px;top:15px;width:13px;height:13px;border:1px solid #d8e1e7;border-radius:50%;background:#fff}.mode-card.selected .choice{border:4px solid var(--blue)}.mode-badge{font-size:8px;padding:3px 6px;border-radius:4px;color:#98783a;background:#fff3d9;margin-top:9px;display:inline-block}.conversion-columns{display:grid;grid-template-columns:1fr 1.02fr;gap:22px;margin-top:27px;align-items:start}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px}.dropzone{border:1px dashed #bfd0dd;border-radius:9px;min-height:218px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px 15px;text-align:center;background:#fafcfd;cursor:pointer;position:relative;gap:9px;margin-bottom:18px}.dropzone:hover,.dropzone.drag{background:#eff5ff;border-color:#678fc2}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-icon{display:grid;place-items:center;width:42px;height:42px;color:#7194b4;font-size:25px;background:#eaf0f6;border-radius:11px;margin-bottom:5px}.dropzone strong{font-size:13px;overflow-wrap:anywhere;max-width:100%;font-weight:650}.dropzone>span:not(.upload-icon){font-size:11px;color:#a0acb5;font-weight:400}.dropzone small{font-size:10px;color:#879ead;font-weight:400}.upload-privacy{display:flex;gap:10px;color:#9aaab5;font-size:12px}.upload-privacy p{font-size:10px;margin:0;line-height:1.8}.result-note{border-top:1px solid #edf0f2;margin-top:20px;padding-top:20px}.result-note strong{font-size:11px}.result-note p{font-size:11px;color:#889ba8;line-height:1.8;margin:9px 0 0}.options-panel label{font-size:11px}.options-panel input:not([type=checkbox]){font-size:12px;min-height:40px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.advanced{border-top:1px solid #edf0f2;padding-top:15px;margin-top:20px}.advanced summary{font-size:11px;color:#637f93;cursor:pointer;margin-bottom:15px}.advanced>small{font-size:10px;color:#90a0ac}.launch-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#eaf0f4;border:1px solid #dce5ec;border-radius:11px;padding:20px 23px;margin-top:24px}.launch-bar p{margin:0;line-height:1.6}.launch-bar strong{display:block;font-size:12px;font-weight:650}.launch-bar p span{display:block;color:#8396a5;font-size:10px;margin-top:4px}.launch-bar .button{min-width:235px}
.empty{background:#fff;border:1px solid var(--border);padding:54px 30px;text-align:center;border-radius:12px;color:#91a0aa;font-size:13px}.empty strong{display:block;font-size:17px;color:#5b7283;margin-bottom:12px}.job-list{display:grid;gap:16px}.job-card{background:#fff;border:1px solid var(--border);border-radius:11px;padding:23px}.job-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.job-title{font-size:14px;font-weight:650;overflow-wrap:anywhere;margin-bottom:6px}.job-subtitle{font-size:10px;color:#92a0aa;line-height:1.7}.badge{display:inline-block;font-size:10px;border-radius:5px;padding:5px 8px;white-space:nowrap;background:#edf1f5;color:#728999}.badge.completed,.badge.available{background:#e7f6ef;color:#2b8561}.badge.failed,.badge.revoked,.badge.blocked{background:#fbece8;color:#b46a59}.badge.running,.badge.activated{background:#eaf0fc;color:#4c78bd}.badge.queued,.badge.uploading,.badge.expired{background:#fff3de;color:#ad843e}.job-stage{margin:19px 0 7px;font-size:12px;color:#678193}.job-card progress{display:block;width:100%;height:6px;accent-color:var(--blue);margin:10px 0 18px;border:0;border-radius:10px}.job-card progress::-webkit-progress-bar{background:#edf2f5;border-radius:10px}.job-card progress::-webkit-progress-value{background:#487bcf;border-radius:10px}.job-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:18px}.job-actions label{margin:0 0 0 auto;font-size:11px;font-weight:400;display:flex;align-items:center;gap:7px;color:#6f8391}.job-warning{font-size:11px;color:#9a8151;background:#fff8e9;border-radius:7px;padding:11px 13px;margin-top:15px;line-height:1.7}.job-error{font-size:12px;color:#a34b3c;background:#fff1ee;border-radius:7px;padding:13px 15px;margin-top:15px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.job-detail{font-size:10px;color:#8294a1;margin-top:17px}.job-detail summary{cursor:pointer}.job-detail dl{display:grid;grid-template-columns:150px 1fr;gap:8px;margin:14px 0 0;font-size:11px}.job-detail dt{color:#98a5ae}.job-detail dd{margin:0;overflow-wrap:anywhere;color:#607a8c}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:24px}.metric{padding:23px;background:#fff;border:1px solid var(--border);border-radius:10px}.metric-label{font-size:10px;color:#90a0ab}.metric-value{font-size:33px;color:#294b63;font-weight:650;line-height:1.2;margin-top:13px;letter-spacing:-1px}.metric small{font-size:10px;color:#92a2ad}.toolbar{background:#fff;border:1px solid var(--border);border-radius:11px;padding:21px 23px;margin-bottom:22px}.toolbar h2{font-size:15px;margin-bottom:18px}.toolbar-grid{display:grid;grid-template-columns:80px 1fr 1fr 145px;gap:14px;align-items:start}.toolbar label{font-size:10px;margin:0}.toolbar input,.toolbar select{font-size:12px!important;min-height:39px!important}.toolbar-actions{display:flex;gap:10px;margin-top:19px;flex-wrap:wrap;align-items:center}.toolbar .field-hint{margin-bottom:0}.table-panel{border:1px solid var(--border);border-radius:10px;background:#fff;overflow:auto}.table-panel h2{font-size:14px;padding:22px 22px 0;margin-bottom:15px}table{width:100%;border-collapse:collapse;text-align:left;min-width:660px;font-size:11px}th{padding:14px 17px;background:#f9fbfc;border-bottom:1px solid #e7edf1;font-size:9px;font-weight:600;letter-spacing:.4px;color:#9aabb7;white-space:nowrap}td{padding:16px 17px;border-bottom:1px solid #edf1f3;color:#5d7688;line-height:1.7;vertical-align:top}tr:last-child td{border-bottom:0}td strong{font-size:11px;color:#3b586c;font-weight:600;display:block}td small{font-size:9px;color:#9aa9b4;display:block}code{font-size:10px;background:#f0f4f7;padding:4px 6px;border-radius:4px;white-space:nowrap}.filter-bar{display:flex;gap:12px;margin-bottom:18px;flex-wrap:wrap;align-items:center}.filter-bar input,.filter-bar select{width:auto;min-width:160px;margin:0!important;min-height:39px!important;font-size:12px!important}.filter-bar input{flex:1}.table-action{border:0;background:transparent;color:#4e78b5;font-size:10px;padding:3px 0;white-space:nowrap}.table-action.danger{color:#b0796b}.audit-detail{max-width:440px;overflow-wrap:anywhere}.modal{border:1px solid var(--border);border-radius:15px;max-width:620px;width:calc(100% - 40px);padding:26px;box-shadow:0 25px 90px #10293e33;color:var(--ink)}.modal::backdrop{background:#10293e66}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.modal-heading h2{margin-bottom:12px}.icon-button{border:0;background:transparent;font-size:25px;color:#889eac;padding:0 5px}.modal textarea{font-family:Consolas,monospace;font-size:12px;margin:8px 0 20px;white-space:pre;resize:vertical}.modal>.muted{font-size:12px}#notification{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#183d50;color:#fff;padding:14px 24px;border-radius:9px;box-shadow:0 8px 30px #183d5033;font-size:12px;z-index:100;max-width:90%;text-align:center}
@media(min-width:1500px){.main-content{padding-top:45px;padding-bottom:65px}.mode-card{min-height:125px}.auth-story{padding-left:14%;padding-right:12%}}
@media(max-width:1100px){.sidebar{width:215px}.workspace-body{margin-left:215px;width:calc(100% - 215px)}.main-content{padding:30px 25px}.topbar{padding:0 25px}.mode-grid{gap:9px}.mode-card{padding:17px 12px}.mode-card.selected{padding:16px 11px}.mode-card strong{font-size:15px}.panel{padding:19px}.toolbar-grid{grid-template-columns:75px 1fr 1fr}.toolbar-grid label:last-child{grid-column:2/4}.launch-bar{align-items:flex-start}.launch-bar .button{min-width:205px}.story-footer{flex-direction:column;gap:5px}}
@media(max-width:820px){.auth-layout{grid-template-columns:1fr}.auth-story{padding:25px 7%}.story-content{padding:32px 0 0}.story-content h1{font-size:38px}.story-content h1 br{display:none}.story-content p{max-width:100%;font-size:13px}.source-pills{margin:20px 0 25px}.story-rule,.story-footer,.story-bottom{display:none}.auth-form-area{padding:35px 7% 50px}.auth-card{max-width:460px}.sidebar{position:relative;width:100%;padding:18px;inset:auto}.sidebar .brand{margin:0 0 15px}.sidebar nav{display:flex;flex-wrap:wrap;gap:5px}.nav-button{width:auto;padding:9px 10px;font-size:11px;margin:0}.nav-caption,.sidebar-bottom .engine-indicator{display:none}#admin-nav{margin-top:12px}.sidebar-bottom{padding:0;position:absolute;right:12px;top:14px}.logout-button{font-size:10px;width:auto}.workspace{display:block}.workspace-body{margin:0;width:100%}.topbar{height:59px;padding:0 22px}.topbar-label{font-size:8px}.main-content{padding:28px 20px}.mode-grid{grid-template-columns:repeat(2,1fr)}.conversion-columns{grid-template-columns:1fr}.dropzone{min-height:185px}.launch-bar{flex-direction:column}.launch-bar .button{width:100%}.steps{gap:10px;font-size:9px;justify-content:space-between}.steps b{margin-right:3px}.page-heading h1{font-size:25px}.metrics{grid-template-columns:repeat(2,1fr)}.toolbar-grid{grid-template-columns:1fr 1fr}.toolbar-grid label:last-child{grid-column:auto}.workspace-footer{padding:18px 20px;font-size:9px}.job-actions label{margin:7px 0;width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
