:root{--bg:#f6f7f9;--panel:#fff;--ink:#20242d;--muted:#747986;--line:#e8eaf0;--accent:#e63946;--radius:18px;--shadow:0 18px 60px #1d29331a;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}body{margin:0;background:var(--bg)}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;transition:background .16s,transform .16s}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:42px;letter-spacing:-1.6px;line-height:1.12;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:15px}p{line-height:1.65}.muted{color:var(--muted)}.micro{font-size:12px;color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:#8d929d;margin-bottom:15px}.primary,.secondary,.icon-button,.text-button,.filter,.nav{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px}.primary{background:#242832;color:white;border-radius:11px;padding:12px 18px;font-weight:650;min-height:44px;white-space:nowrap}.primary:hover{background:#10141c;transform:translateY(-1px)}.primary span{font-size:19px;font-weight:400}.secondary{background:white;color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:11px 15px;min-height:42px}.secondary:hover{background:#f6f7f9}.small{font-size:12px;padding:8px 12px;min-height:36px}.icon-button{height:42px;width:42px;border:1px solid var(--line);background:white;border-radius:12px;font-size:23px}.text-button{background:none;color:var(--muted);padding:0;justify-content:flex-start}.workspace{display:grid;grid-template-columns:218px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;padding:31px 20px 25px;background:white;border-right:1px solid var(--line);display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:730;letter-spacing:-.5px}.brand small{display:block;font-size:8px;letter-spacing:2.6px;font-weight:600;margin-top:6px;color:#818591}.brandmark{display:flex;width:43px;height:43px;flex-shrink:0;background:#252a34;color:white;border-radius:13px;align-items:center;justify-content:center;font-weight:800;font-size:25px;letter-spacing:-2px}.brandmark span{color:var(--accent);font-size:24px;align-self:flex-end;margin-bottom:6px;line-height:1}.nav-label{font-size:9px;letter-spacing:1.8px;color:#a0a4ac;font-weight:700;margin:52px 10px 15px}.sidebar nav{display:grid;gap:7px}.nav{min-height:47px;width:100%;justify-content:flex-start;padding:10px 15px;border-radius:11px;background:none;color:#7b818b;font-weight:550}.nav span{width:22px;font-size:23px;font-weight:400}.nav.active{color:#242832;background:#f2f3f6}.sidebar-bottom{margin-top:auto;display:grid;gap:17px;padding:0 9px}.sidebar-bottom p{font-size:11px;color:#9095a0;margin:0;line-height:1.8}.worker-status{font-size:11px;display:flex;gap:8px;align-items:center}.dot{width:7px;height:7px;border-radius:50%;background:#d29a46;flex-shrink:0}.dot.ok{background:#4ba180}main{min-width:0;padding:0 45px 34px;max-width:1750px}.topbar{height:101px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.topbar>.eyebrow{margin:0;font-size:9px}.top-actions{display:flex;gap:10px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:39px 0 25px;gap:20px}.page-heading .eyebrow{font-size:9px;margin-bottom:13px}.page-heading p:last-child{margin:0}.tag{font-size:10px;line-height:1.35;padding:7px 10px;border-radius:8px;white-space:normal;max-width:100%;display:inline-block;font-weight:650}.tag.neutral{background:white;border:1px solid var(--line);color:#808694;white-space:nowrap}.tag.queued,.tag.running,.tag.delivery_pending,.tag.delivering{background:#fff2df;color:#997137}.tag.ready,.tag.delivered{background:#eaf5ee;color:#3b795c}.tag.failed,.tag.delivery_failed{background:#fdebec;color:#b14d52}.tag.cancelled{background:#eff0f3;color:#868b96}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:30px 0 39px}.stats article{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:22px 24px}.stats span{font-size:12px;color:#777e8b}.stats strong{display:block;font-size:33px;letter-spacing:-1px;font-weight:650;margin:16px 0 7px}.stats small{font-size:10px;color:#a0a5af}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 20px}.section-heading h2{font-size:17px;margin:0;white-space:nowrap}.section-heading h2 span{color:#a3a8b1;font-size:12px;font-weight:500;margin-left:7px}.filters{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#eef0f4}.filter{background:transparent;color:#969ba5;padding:7px 11px;border-radius:7px;font-size:11px;white-space:nowrap}.filter.active{background:white;color:#3e4552;box-shadow:0 2px 4px #25304708}.job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.job-card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0;text-align:left;padding:0;color:inherit}.job-card:hover{box-shadow:0 9px 25px #2530470d;transform:translateY(-2px)}.card-visual{height:171px;background:#edf0f4;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}.card-visual img{width:100%;height:100%;object-fit:cover;object-position:center 35%}.placeholder{font-size:40px;font-weight:300;color:#bcc3cd}.card-type{position:absolute;top:12px;left:12px;background:#ffffffec;color:#586170;font-size:9px;font-weight:750;letter-spacing:.6px;padding:6px 8px;border-radius:6px}.card-body{padding:18px}.card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.card-city{font-size:10px;color:#8e95a1;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.card-body h3{font-size:14px;line-height:1.4;margin-bottom:10px;overflow-wrap:anywhere}.card-stage{color:#9bA1ac;font-size:10px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.progress{height:3px;background:#eff0f3;width:100%;border:0;display:block;margin-top:14px;border-radius:10px}.progress::-webkit-progress-bar{background:#eff0f3;border-radius:10px}.progress::-webkit-progress-value{background:#d7a773;border-radius:10px}.progress::-moz-progress-bar{background:#d7a773}.footer-note{font-size:11px;color:#a1a6b0;margin:27px 0 0}.empty{padding:65px 25px;text-align:center;background:white;border:1px dashed #d9dde5;border-radius:20px}.empty-icon{font-size:46px;color:#b4bcc9;margin-bottom:20px}.empty h2{font-size:22px}.empty p{font-size:13px;color:#9096a1}.empty button{margin-top:15px}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.template-card{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}.template-icon{height:105px;width:100%;border-radius:12px;background:linear-gradient(135deg,#f1f3f7,#e7ebf0);display:flex;align-items:center;justify-content:center;font-size:35px;color:#8e99ab;margin-bottom:24px}.template-card p{font-size:12px;color:#939ba6;margin-bottom:22px}.template-card button{margin-top:auto}.notice{font-size:12px;padding:20px 23px;border:1px solid var(--line);border-radius:14px;background:white;color:#888f9a;margin:25px 0;line-height:1.9}.notice strong{color:#414b5a}.flow{display:flex;gap:22px;align-items:center;margin:30px 0}.flow div{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;flex:1}.flow span{font-size:11px;color:#b8bec8}.flow h3{margin:16px 0 4px;font-size:18px}.flow p{margin:0;font-size:12px;color:#9399a4}.flow b{color:#bbc0c9;font-size:21px}.connection-card{padding:28px;background:white;border:1px solid var(--line);border-radius:18px}.diagnostics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:22px 0}.diagnostic{border-bottom:1px solid var(--line);padding:14px 0;display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:10px}.diagnostic b{font-weight:500;color:#7d8795}.login-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:radial-gradient(at 30% 5%,#edf0f5,transparent 60%)}.login-card{background:white;border:1px solid var(--line);border-radius:25px;width:440px;padding:42px;box-shadow:0 20px 70px #30384808}.login-card .brandmark{margin-bottom:30px}.login-card h1{font-size:37px}.login-card .muted{font-size:13px;margin-bottom:25px}.login-card button{width:100%;margin:7px 0 6px}.login-card>.micro{margin:18px 0 0}.error{color:#b94149;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.error:empty{display:none}label{display:flex;flex-direction:column;font-size:12px;gap:8px;color:#646d7a;margin:0 0 17px;font-weight:550}label small{font-size:10px;line-height:1.6;color:#a0a6b1;font-weight:400}input,select,textarea{width:100%;border:1px solid #e0e4eb;background:white;color:#283142;border-radius:9px;padding:11px 12px;min-height:44px;font-size:13px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid #909eb5;outline-offset:3px}input[type=color]{padding:5px}input[type=file]{font-size:11px;padding:10px;background:#fafbfc}input::placeholder,textarea::placeholder{color:#b1b6c0}textarea{resize:vertical}dialog{border:1px solid var(--line);padding:0;border-radius:22px;box-shadow:var(--shadow);max-height:92dvh;background:white;color:var(--ink)}dialog::backdrop{background:#18202d69;backdrop-filter:blur(3px)}.large-dialog{width:min(800px,94vw)}.large-dialog form{display:flex;flex-direction:column;max-height:92dvh}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:26px 29px 21px;border-bottom:1px solid var(--line);flex-shrink:0;gap:12px}.dialog-heading h2{margin:0;font-size:23px}.dialog-heading .eyebrow{font-size:8px;margin:0 0 9px}.dialog-heading .icon-button{border:0;background:#f4f5f8}.dialog-content{padding:24px 29px;overflow-y:auto;overscroll-behavior:contain;min-height:0}.dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:19px 29px;border-top:1px solid var(--line);background:#fcfcfd;flex-shrink:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.block-label{display:flex;align-items:center;justify-content:space-between;margin:15px 0}.block-label h3{margin:0}.block-label span{font-size:10px;color:#a1a8b3}.dropzone{background:#fafbfc;border:1px dashed #d5dbe5;border-radius:13px;text-align:center;padding:20px;cursor:pointer;gap:8px;position:relative}.dropzone>span{font-size:26px;color:#8f9caf}.dropzone strong{font-size:12px}.dropzone input{max-width:100%;font-size:11px;min-height:35px;padding:5px;margin-top:8px;border:0;background:none;text-align:center}.advanced{border:1px solid var(--line);padding:15px 17px;border-radius:11px;margin-bottom:19px;font-size:12px;color:#697586}.advanced summary{cursor:pointer;font-weight:600}.advanced[open] summary{margin-bottom:20px}.advanced label:last-child{margin-bottom:0}.checkbox{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:12px;line-height:1.6}.checkbox input{width:16px;min-height:16px;margin:2px 0 0;accent-color:#283142;flex-shrink:0}.rights{margin-top:24px;background:#f7f8fa;padding:14px;border-radius:10px}.special-fields{background:#f8f9fb;padding:20px;border-radius:13px;margin:15px 0 24px}.program-row{border-bottom:1px solid var(--line);padding-bottom:4px;margin-bottom:17px}.program-row .form-grid{grid-template-columns:100px 1fr;gap:12px}.source-row{background:#f7f8fa;border:1px solid var(--line);border-radius:11px;margin:0 0 11px;padding:13px;min-width:0}.source-row-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}.source-row-head strong{font-size:11px;overflow-wrap:anywhere;flex:1;min-width:0;font-weight:550}.source-row-head button{background:white;border:1px solid var(--line);width:30px;height:30px;border-radius:7px;color:#7c8796;flex-shrink:0}.scene-fields{display:grid;grid-template-columns:1fr 80px 80px;gap:10px}.scene-fields label{font-size:10px;margin:0}.scene-fields input{padding:8px;min-height:35px;font-size:11px}.detail-dialog{width:min(770px,94vw)}#detail-media{max-height:52vh;background:#111720;border-radius:13px;display:flex;justify-content:center;overflow:hidden;margin-bottom:24px}#detail-media:empty{display:none}#detail-media img,#detail-media video{max-width:100%;max-height:52vh;object-fit:contain}#detail-info{font-size:12px;line-height:1.8;color:#788393}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.detail-actions a{display:inline-flex;align-items:center;justify-content:center}.detail-actions .danger{color:#b7494f}.detail-dialog pre{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#252e3d;color:white;padding:13px 19px;border-radius:12px;font-size:12px;box-shadow:var(--shadow);z-index:20;max-width:90vw;line-height:1.5}#load-more{display:flex;margin:25px auto 0}
@media(min-width:1500px){.job-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.card-visual{height:195px}}@media(max-width:1150px){main{padding:0 27px 30px}.workspace{grid-template-columns:185px 1fr}.sidebar{padding:28px 15px}.job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats article{padding:20px 16px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar>.eyebrow{font-size:8px;letter-spacing:1px}.section-heading{align-items:flex-start;flex-direction:column}.stats{gap:10px}.flow{gap:10px}.flow div{padding:20px}.flow h3{font-size:15px}}@media(max-width:760px){h1{font-size:33px;letter-spacing:-1px}.workspace{display:block;padding-bottom:78px}.sidebar{position:fixed;inset:auto 0 0;height:66px;z-index:5;border-right:0;border-top:1px solid var(--line);padding:6px 14px;background:#fffffffa;backdrop-filter:blur(10px)}.sidebar .brand,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.nav{height:53px;min-height:0;font-size:10px;display:flex;flex-direction:column;gap:4px;justify-content:center;padding:6px}.nav span{width:auto;font-size:22px;line-height:1}.nav.active{background:#f3f4f7}.topbar{height:79px;gap:9px}.topbar>.eyebrow{max-width:100px;font-size:8px;line-height:1.7;letter-spacing:1.5px}.top-actions{gap:8px}.topbar .primary{font-size:11px;padding:10px 12px;gap:5px;min-height:40px}.topbar .primary span{font-size:17px}.topbar .icon-button{width:35px;height:40px;font-size:20px}.page-heading{margin:30px 0 20px}.page-heading>.tag{display:none}.page-heading .eyebrow{font-size:8px;letter-spacing:1.6px}.page-heading .muted{font-size:12px;max-width:270px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0 27px}.stats article{padding:18px 19px;border-radius:15px}.stats span{font-size:10px}.stats strong{font-size:28px;margin:12px 0 5px}.stats small{font-size:9px}.job-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.card-visual{height:122px}.card-body{padding:12px}.card-top{gap:6px;flex-direction:column;align-items:flex-start;margin-bottom:10px}.card-body h3{font-size:12px}.card-city{font-size:9px}.tag{font-size:8px;padding:5px 7px}.card-type{font-size:8px;top:9px;left:9px;padding:5px 6px}.card-stage{font-size:9px}.job-card{border-radius:13px}.filters{padding:3px;width:100%;gap:2px;justify-content:space-between}.filter{font-size:10px;padding:7px 10px;flex:1}.section-heading{gap:16px;margin-bottom:16px}.section-heading h2{font-size:16px}main{padding:0 18px 24px}.footer-note{font-size:10px;line-height:1.9;margin-top:24px}.empty{padding:38px 19px}.empty h2{font-size:19px}.empty p{font-size:12px}.template-grid{grid-template-columns:1fr}.template-card{padding:21px}.template-icon{height:86px}.flow{flex-direction:column;gap:12px}.flow div{width:100%;padding:20px}.flow b{transform:rotate(90deg);font-size:18px}.flow span{float:right}.flow h3{margin:0 0 4px}.diagnostics{grid-template-columns:1fr}.connection-card{padding:21px}.connection-card h2{font-size:18px}.connection-card .muted{font-size:12px}.connection-card button{width:100%;font-size:11px}.notice{font-size:11px;padding:17px}.large-dialog,.detail-dialog{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;margin:0;border:0;border-radius:0}.large-dialog form{max-height:100dvh;height:100dvh}.dialog-heading{padding:21px 18px 18px}.dialog-heading h2{font-size:20px}.dialog-heading .icon-button{width:36px;height:36px;font-size:24px}.dialog-content{padding:20px 18px;flex:1}.dialog-footer{padding:14px 18px;gap:10px}.dialog-footer .micro{max-width:120px;font-size:9px}.dialog-footer .primary{font-size:11px;padding:11px 13px}.form-grid{gap:0 12px}.form-grid label{font-size:11px}.form-grid input,.form-grid select{font-size:12px}.dropzone{padding:18px 12px}.dropzone small{font-size:9px}.scene-fields{grid-template-columns:1fr 65px 65px;gap:8px}.source-row{padding:11px}.scene-fields label{font-size:9px}.source-row-head strong{font-size:10px}.special-fields{padding:17px 13px}.program-row .form-grid{grid-template-columns:75px 1fr}.detail-dialog{display:flex;flex-direction:column}.detail-dialog:not([open]){display:none}.detail-actions .secondary{font-size:11px;flex:1}.login-card{padding:29px;border-radius:22px;width:100%;max-width:400px}.login-card h1{font-size:33px}.toast{bottom:85px;font-size:11px}.special-fields .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.pagination{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0}.pagination button{min-height:44px}

.search-jobs{display:block;margin:0 0 20px;max-width:640px}.search-jobs span{display:block;margin-bottom:8px;font-size:12px;color:#626a75}.search-jobs input{width:100%;min-height:44px}#composition-summary{margin:12px 0 18px;overflow-wrap:anywhere}

/* Keep the page beneath a native modal from scrolling. */
body:has(dialog[open]){overflow:hidden}
